Files
vibe-registry/examples/qa-orchestrator/registry/schemas/test-case-fields.ts
T
hellow-da-sb 8c93bde5f6 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:* 依赖)
2026-09-03 00:48:10 +08:00

18 lines
621 B
TypeScript

/**
* 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' },
],
})