feat: vibe-registry M1 — 万物皆注册框架骨架
- core: registerLayout/Widget/Action(泛型)/Schema + 校验闸门 - definePage: 页面只管业务,结构来自注册表 - presets: admin / app-shell 预设布局(vr add 物化) - cli: vr list/add/update 防覆盖 - examples/qa-orchestrator: 实战编排验证(workspace:* 依赖)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* test-case-fields —— 测试用例字段 schema
|
||||
* 用例表格/表单的列定义来源(万物皆注册:连列都是注册的)
|
||||
*/
|
||||
import { registerSchema } from 'vibe-registry'
|
||||
|
||||
export const testCaseFields = registerSchema({
|
||||
kind: 'schema',
|
||||
id: 'test-case-fields',
|
||||
description: '测试用例字段:名称 / 优先级 / 状态 / 耗时',
|
||||
fields: [
|
||||
{ key: 'name', label: '用例名' },
|
||||
{ key: 'priority', label: '优先级', type: 'P0|P1|P2' },
|
||||
{ key: 'status', label: '状态', type: 'passed|failed|running|skipped' },
|
||||
{ key: 'durationMs', label: '耗时(ms)', type: 'number' },
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user