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