Skip to content

Commit d6709ff

Browse files
Copilothotlong
andcommitted
refactor(ui): consolidate block.zod.ts into component.zod.ts
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 52dcb86 commit d6709ff

3 files changed

Lines changed: 2 additions & 108 deletions

File tree

packages/spec/src/ui/block.zod.ts

Lines changed: 0 additions & 106 deletions
This file was deleted.

packages/spec/src/ui/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export * from './report.zod';
1414
export * from './action.zod';
1515
export * from './page.zod';
1616
export * from './widget.zod';
17-
export * from './block.zod';
17+
export * from './component.zod';
1818
export * from './theme.zod';

packages/spec/src/ui/page.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const PageComponentSchema = z.object({
4141

4242
/** Configuration */
4343
label: z.string().optional(),
44-
properties: z.record(z.any()).describe('Component props passed to the widget. See block.zod.ts for schemas.'),
44+
properties: z.record(z.any()).describe('Component props passed to the widget. See component.zod.ts for schemas.'),
4545

4646
/** Visibility Rule */
4747
visibility: z.string().optional().describe('Visibility filter/formula')

0 commit comments

Comments
 (0)