@tekton-ui/mcp-server 0.3.4 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/agent-md-templates.d.ts.map +1 -1
- package/dist/cli/agent-md-templates.js +34 -53
- package/dist/cli/agent-md-templates.js.map +1 -1
- package/dist/cli/guide-template.d.ts.map +1 -1
- package/dist/cli/guide-template.js +8 -10
- package/dist/cli/guide-template.js.map +1 -1
- package/dist/data/component-props.d.ts +30 -0
- package/dist/data/component-props.d.ts.map +1 -0
- package/dist/data/component-props.js +537 -0
- package/dist/data/component-props.js.map +1 -0
- package/dist/index.js +28 -86
- package/dist/index.js.map +1 -1
- package/dist/prompts/getting-started.d.ts.map +1 -1
- package/dist/prompts/getting-started.js +8 -9
- package/dist/prompts/getting-started.js.map +1 -1
- package/dist/prompts/screen-workflow.d.ts +2 -2
- package/dist/prompts/screen-workflow.d.ts.map +1 -1
- package/dist/prompts/screen-workflow.js +64 -61
- package/dist/prompts/screen-workflow.js.map +1 -1
- package/dist/schemas/mcp-schemas.d.ts +628 -652
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/schemas/mcp-schemas.js +14 -40
- package/dist/schemas/mcp-schemas.js.map +1 -1
- package/dist/tools/get-screen-generation-context.d.ts.map +1 -1
- package/dist/tools/get-screen-generation-context.js +22 -13
- package/dist/tools/get-screen-generation-context.js.map +1 -1
- package/dist/tools/preview-component.d.ts.map +1 -1
- package/dist/tools/preview-component.js +2 -117
- package/dist/tools/preview-component.js.map +1 -1
- package/dist/tools/validate-screen-definition.d.ts.map +1 -1
- package/dist/tools/validate-screen-definition.js +96 -0
- package/dist/tools/validate-screen-definition.js.map +1 -1
- package/dist/tools/whoami.d.ts.map +1 -1
- package/dist/tools/whoami.js +9 -1
- package/dist/tools/whoami.js.map +1 -1
- package/package.json +1 -1
|
@@ -76,16 +76,16 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
76
76
|
componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
description: string;
|
|
79
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
79
80
|
themeId: string;
|
|
80
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
81
|
-
componentHints?: string[] | undefined;
|
|
82
81
|
iconLibrary?: string | undefined;
|
|
82
|
+
componentHints?: string[] | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
description: string;
|
|
85
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
85
86
|
themeId: string;
|
|
86
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
87
|
-
componentHints?: string[] | undefined;
|
|
88
87
|
iconLibrary?: string | undefined;
|
|
88
|
+
componentHints?: string[] | undefined;
|
|
89
89
|
}>;
|
|
90
90
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
91
91
|
/**
|
|
@@ -112,9 +112,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
112
112
|
page: string;
|
|
113
113
|
}>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
category: string;
|
|
116
115
|
templateId: string;
|
|
117
116
|
templateName: string;
|
|
117
|
+
category: string;
|
|
118
118
|
confidence: number;
|
|
119
119
|
matchedKeywords: string[];
|
|
120
120
|
layoutRecommendation: {
|
|
@@ -123,9 +123,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
123
123
|
page: string;
|
|
124
124
|
};
|
|
125
125
|
}, {
|
|
126
|
-
category: string;
|
|
127
126
|
templateId: string;
|
|
128
127
|
templateName: string;
|
|
128
|
+
category: string;
|
|
129
129
|
confidence: number;
|
|
130
130
|
matchedKeywords: string[];
|
|
131
131
|
layoutRecommendation: {
|
|
@@ -161,30 +161,30 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
161
161
|
}>, "many">;
|
|
162
162
|
timestamp: z.ZodNumber;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
165
|
+
themeId: string;
|
|
166
|
+
iconLibrary: string;
|
|
164
167
|
id: string;
|
|
165
168
|
name: string;
|
|
166
|
-
themeId: string;
|
|
167
169
|
components: {
|
|
168
170
|
type: string;
|
|
169
171
|
props?: Record<string, unknown>;
|
|
170
172
|
children?: (unknown | string)[];
|
|
171
173
|
slot?: string;
|
|
172
174
|
}[];
|
|
173
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
174
|
-
iconLibrary: string;
|
|
175
175
|
timestamp: number;
|
|
176
176
|
}, {
|
|
177
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
178
|
+
themeId: string;
|
|
179
|
+
iconLibrary: string;
|
|
177
180
|
id: string;
|
|
178
181
|
name: string;
|
|
179
|
-
themeId: string;
|
|
180
182
|
components: {
|
|
181
183
|
type: string;
|
|
182
184
|
props?: Record<string, unknown>;
|
|
183
185
|
children?: (unknown | string)[];
|
|
184
186
|
slot?: string;
|
|
185
187
|
}[];
|
|
186
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
187
|
-
iconLibrary: string;
|
|
188
188
|
timestamp: number;
|
|
189
189
|
}>>;
|
|
190
190
|
templateRecommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -207,9 +207,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
207
207
|
page: string;
|
|
208
208
|
}>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
category: string;
|
|
211
210
|
templateId: string;
|
|
212
211
|
templateName: string;
|
|
212
|
+
category: string;
|
|
213
213
|
confidence: number;
|
|
214
214
|
matchedKeywords: string[];
|
|
215
215
|
layoutRecommendation: {
|
|
@@ -218,9 +218,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
218
218
|
page: string;
|
|
219
219
|
};
|
|
220
220
|
}, {
|
|
221
|
-
category: string;
|
|
222
221
|
templateId: string;
|
|
223
222
|
templateName: string;
|
|
223
|
+
category: string;
|
|
224
224
|
confidence: number;
|
|
225
225
|
matchedKeywords: string[];
|
|
226
226
|
layoutRecommendation: {
|
|
@@ -232,25 +232,25 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
232
232
|
error: z.ZodOptional<z.ZodString>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
234
|
success: boolean;
|
|
235
|
+
error?: string | undefined;
|
|
235
236
|
blueprint?: {
|
|
237
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
238
|
+
themeId: string;
|
|
239
|
+
iconLibrary: string;
|
|
236
240
|
id: string;
|
|
237
241
|
name: string;
|
|
238
|
-
themeId: string;
|
|
239
242
|
components: {
|
|
240
243
|
type: string;
|
|
241
244
|
props?: Record<string, unknown>;
|
|
242
245
|
children?: (unknown | string)[];
|
|
243
246
|
slot?: string;
|
|
244
247
|
}[];
|
|
245
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
246
|
-
iconLibrary: string;
|
|
247
248
|
timestamp: number;
|
|
248
249
|
} | undefined;
|
|
249
|
-
error?: string | undefined;
|
|
250
250
|
templateRecommendations?: {
|
|
251
|
-
category: string;
|
|
252
251
|
templateId: string;
|
|
253
252
|
templateName: string;
|
|
253
|
+
category: string;
|
|
254
254
|
confidence: number;
|
|
255
255
|
matchedKeywords: string[];
|
|
256
256
|
layoutRecommendation: {
|
|
@@ -261,25 +261,25 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
261
261
|
}[] | undefined;
|
|
262
262
|
}, {
|
|
263
263
|
success: boolean;
|
|
264
|
+
error?: string | undefined;
|
|
264
265
|
blueprint?: {
|
|
266
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
267
|
+
themeId: string;
|
|
268
|
+
iconLibrary: string;
|
|
265
269
|
id: string;
|
|
266
270
|
name: string;
|
|
267
|
-
themeId: string;
|
|
268
271
|
components: {
|
|
269
272
|
type: string;
|
|
270
273
|
props?: Record<string, unknown>;
|
|
271
274
|
children?: (unknown | string)[];
|
|
272
275
|
slot?: string;
|
|
273
276
|
}[];
|
|
274
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
275
|
-
iconLibrary: string;
|
|
276
277
|
timestamp: number;
|
|
277
278
|
} | undefined;
|
|
278
|
-
error?: string | undefined;
|
|
279
279
|
templateRecommendations?: {
|
|
280
|
-
category: string;
|
|
281
280
|
templateId: string;
|
|
282
281
|
templateName: string;
|
|
282
|
+
category: string;
|
|
283
283
|
confidence: number;
|
|
284
284
|
matchedKeywords: string[];
|
|
285
285
|
layoutRecommendation: {
|
|
@@ -348,7 +348,6 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
349
|
success: boolean;
|
|
350
350
|
error?: string | undefined;
|
|
351
|
-
count?: number | undefined;
|
|
352
351
|
themes?: {
|
|
353
352
|
id: string;
|
|
354
353
|
name: string;
|
|
@@ -356,10 +355,10 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
356
355
|
schemaVersion: string;
|
|
357
356
|
description?: string | undefined;
|
|
358
357
|
}[] | undefined;
|
|
358
|
+
count?: number | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
success: boolean;
|
|
361
361
|
error?: string | undefined;
|
|
362
|
-
count?: number | undefined;
|
|
363
362
|
themes?: {
|
|
364
363
|
id: string;
|
|
365
364
|
name: string;
|
|
@@ -367,6 +366,7 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
367
366
|
schemaVersion: string;
|
|
368
367
|
description?: string | undefined;
|
|
369
368
|
}[] | undefined;
|
|
369
|
+
count?: number | undefined;
|
|
370
370
|
}>;
|
|
371
371
|
export type ListThemesOutput = z.infer<typeof ListThemesOutputSchema>;
|
|
372
372
|
/**
|
|
@@ -411,14 +411,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
411
411
|
component: z.ZodOptional<z.ZodUnknown>;
|
|
412
412
|
recipes: z.ZodOptional<z.ZodUnknown>;
|
|
413
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
|
-
component?: unknown;
|
|
415
414
|
atomic?: unknown;
|
|
416
415
|
semantic?: unknown;
|
|
416
|
+
component?: unknown;
|
|
417
417
|
recipes?: unknown;
|
|
418
418
|
}, {
|
|
419
|
-
component?: unknown;
|
|
420
419
|
atomic?: unknown;
|
|
421
420
|
semantic?: unknown;
|
|
421
|
+
component?: unknown;
|
|
422
422
|
recipes?: unknown;
|
|
423
423
|
}>;
|
|
424
424
|
stateLayer: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -431,9 +431,9 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
431
431
|
brandTone: string;
|
|
432
432
|
schemaVersion: string;
|
|
433
433
|
tokens: {
|
|
434
|
-
component?: unknown;
|
|
435
434
|
atomic?: unknown;
|
|
436
435
|
semantic?: unknown;
|
|
436
|
+
component?: unknown;
|
|
437
437
|
recipes?: unknown;
|
|
438
438
|
};
|
|
439
439
|
description?: string | undefined;
|
|
@@ -452,9 +452,9 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
452
452
|
brandTone: string;
|
|
453
453
|
schemaVersion: string;
|
|
454
454
|
tokens: {
|
|
455
|
-
component?: unknown;
|
|
456
455
|
atomic?: unknown;
|
|
457
456
|
semantic?: unknown;
|
|
457
|
+
component?: unknown;
|
|
458
458
|
recipes?: unknown;
|
|
459
459
|
};
|
|
460
460
|
description?: string | undefined;
|
|
@@ -471,15 +471,16 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
471
471
|
error: z.ZodOptional<z.ZodString>;
|
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
|
473
473
|
success: boolean;
|
|
474
|
+
error?: string | undefined;
|
|
474
475
|
theme?: {
|
|
475
476
|
id: string;
|
|
476
477
|
name: string;
|
|
477
478
|
brandTone: string;
|
|
478
479
|
schemaVersion: string;
|
|
479
480
|
tokens: {
|
|
480
|
-
component?: unknown;
|
|
481
481
|
atomic?: unknown;
|
|
482
482
|
semantic?: unknown;
|
|
483
|
+
component?: unknown;
|
|
483
484
|
recipes?: unknown;
|
|
484
485
|
};
|
|
485
486
|
description?: string | undefined;
|
|
@@ -493,18 +494,18 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
493
494
|
elevation?: unknown;
|
|
494
495
|
typography?: unknown;
|
|
495
496
|
} | undefined;
|
|
496
|
-
error?: string | undefined;
|
|
497
497
|
}, {
|
|
498
498
|
success: boolean;
|
|
499
|
+
error?: string | undefined;
|
|
499
500
|
theme?: {
|
|
500
501
|
id: string;
|
|
501
502
|
name: string;
|
|
502
503
|
brandTone: string;
|
|
503
504
|
schemaVersion: string;
|
|
504
505
|
tokens: {
|
|
505
|
-
component?: unknown;
|
|
506
506
|
atomic?: unknown;
|
|
507
507
|
semantic?: unknown;
|
|
508
|
+
component?: unknown;
|
|
508
509
|
recipes?: unknown;
|
|
509
510
|
};
|
|
510
511
|
description?: string | undefined;
|
|
@@ -518,7 +519,6 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
518
519
|
elevation?: unknown;
|
|
519
520
|
typography?: unknown;
|
|
520
521
|
} | undefined;
|
|
521
|
-
error?: string | undefined;
|
|
522
522
|
}>;
|
|
523
523
|
export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
|
|
524
524
|
/**
|
|
@@ -586,21 +586,21 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
586
586
|
/** Theme ID for CSS generation */
|
|
587
587
|
themeId: z.ZodOptional<z.ZodString>;
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
-
tier: "tier1" | "tier2" | "auto";
|
|
590
589
|
format: "jsx" | "tsx" | "vue";
|
|
591
590
|
includeCSS: boolean;
|
|
591
|
+
tier: "tier1" | "tier2" | "auto";
|
|
592
592
|
themeId?: string | undefined;
|
|
593
593
|
blueprint?: unknown;
|
|
594
594
|
componentName?: string | undefined;
|
|
595
595
|
componentDescription?: string | undefined;
|
|
596
596
|
}, {
|
|
597
597
|
format: "jsx" | "tsx" | "vue";
|
|
598
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
599
598
|
themeId?: string | undefined;
|
|
600
599
|
blueprint?: unknown;
|
|
601
600
|
componentName?: string | undefined;
|
|
602
601
|
componentDescription?: string | undefined;
|
|
603
602
|
includeCSS?: boolean | undefined;
|
|
603
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
604
604
|
}>;
|
|
605
605
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
606
606
|
/**
|
|
@@ -650,23 +650,23 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
650
650
|
}, "strip", z.ZodTypeAny, {
|
|
651
651
|
success: boolean;
|
|
652
652
|
code?: string | undefined;
|
|
653
|
+
error?: string | undefined;
|
|
653
654
|
components?: {
|
|
654
655
|
code: string;
|
|
655
656
|
componentName: string;
|
|
656
657
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
657
658
|
}[] | undefined;
|
|
658
|
-
error?: string | undefined;
|
|
659
659
|
css?: string | undefined;
|
|
660
660
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
661
661
|
}, {
|
|
662
662
|
success: boolean;
|
|
663
663
|
code?: string | undefined;
|
|
664
|
+
error?: string | undefined;
|
|
664
665
|
components?: {
|
|
665
666
|
code: string;
|
|
666
667
|
componentName: string;
|
|
667
668
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
668
669
|
}[] | undefined;
|
|
669
|
-
error?: string | undefined;
|
|
670
670
|
css?: string | undefined;
|
|
671
671
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
672
672
|
}>;
|
|
@@ -687,71 +687,6 @@ export declare const ErrorResponseSchema: z.ZodObject<{
|
|
|
687
687
|
error: string;
|
|
688
688
|
}>;
|
|
689
689
|
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
690
|
-
/**
|
|
691
|
-
* Output format for code generation
|
|
692
|
-
*/
|
|
693
|
-
export declare const OutputFormatSchema: z.ZodEnum<["css-in-js", "tailwind", "react"]>;
|
|
694
|
-
export type OutputFormat = z.infer<typeof OutputFormatSchema>;
|
|
695
|
-
/**
|
|
696
|
-
* CSS Framework options for CSS-in-JS format
|
|
697
|
-
*/
|
|
698
|
-
export declare const CSSFrameworkSchema: z.ZodEnum<["styled-components", "emotion"]>;
|
|
699
|
-
export type CSSFramework = z.infer<typeof CSSFrameworkSchema>;
|
|
700
|
-
/**
|
|
701
|
-
* Generation options for generate_screen tool
|
|
702
|
-
*/
|
|
703
|
-
export declare const GenerationOptionsSchema: z.ZodObject<{
|
|
704
|
-
cssFramework: z.ZodOptional<z.ZodEnum<["styled-components", "emotion"]>>;
|
|
705
|
-
typescript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
706
|
-
prettier: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
707
|
-
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
typescript: boolean;
|
|
709
|
-
prettier: boolean;
|
|
710
|
-
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
711
|
-
}, {
|
|
712
|
-
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
713
|
-
typescript?: boolean | undefined;
|
|
714
|
-
prettier?: boolean | undefined;
|
|
715
|
-
}>;
|
|
716
|
-
export type GenerationOptions = z.infer<typeof GenerationOptionsSchema>;
|
|
717
|
-
/**
|
|
718
|
-
* Generate Screen Input Schema
|
|
719
|
-
* SPEC-LAYOUT-002: Generate production code from screen definition
|
|
720
|
-
*/
|
|
721
|
-
export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
722
|
-
screenDefinition: z.ZodUnknown;
|
|
723
|
-
outputFormat: z.ZodEnum<["css-in-js", "tailwind", "react"]>;
|
|
724
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
725
|
-
cssFramework: z.ZodOptional<z.ZodEnum<["styled-components", "emotion"]>>;
|
|
726
|
-
typescript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
727
|
-
prettier: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
728
|
-
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
typescript: boolean;
|
|
730
|
-
prettier: boolean;
|
|
731
|
-
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
732
|
-
}, {
|
|
733
|
-
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
734
|
-
typescript?: boolean | undefined;
|
|
735
|
-
prettier?: boolean | undefined;
|
|
736
|
-
}>>;
|
|
737
|
-
}, "strip", z.ZodTypeAny, {
|
|
738
|
-
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
739
|
-
options?: {
|
|
740
|
-
typescript: boolean;
|
|
741
|
-
prettier: boolean;
|
|
742
|
-
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
743
|
-
} | undefined;
|
|
744
|
-
screenDefinition?: unknown;
|
|
745
|
-
}, {
|
|
746
|
-
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
747
|
-
options?: {
|
|
748
|
-
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
749
|
-
typescript?: boolean | undefined;
|
|
750
|
-
prettier?: boolean | undefined;
|
|
751
|
-
} | undefined;
|
|
752
|
-
screenDefinition?: unknown;
|
|
753
|
-
}>;
|
|
754
|
-
export type GenerateScreenInput = z.infer<typeof GenerateScreenInputSchema>;
|
|
755
690
|
/**
|
|
756
691
|
* Dependencies structure for generated code
|
|
757
692
|
* SPEC-MCP-005: Automatic dependency extraction and environment validation
|
|
@@ -816,118 +751,6 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
816
751
|
notes?: string[] | undefined;
|
|
817
752
|
}>;
|
|
818
753
|
export type Dependencies = z.infer<typeof DependenciesSchema>;
|
|
819
|
-
/**
|
|
820
|
-
* Generate Screen Output Schema
|
|
821
|
-
*/
|
|
822
|
-
export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
823
|
-
success: z.ZodBoolean;
|
|
824
|
-
code: z.ZodOptional<z.ZodString>;
|
|
825
|
-
cssVariables: z.ZodOptional<z.ZodString>;
|
|
826
|
-
dependencies: z.ZodOptional<z.ZodObject<{
|
|
827
|
-
external: z.ZodArray<z.ZodString, "many">;
|
|
828
|
-
internal: z.ZodArray<z.ZodString, "many">;
|
|
829
|
-
installCommands: z.ZodObject<{
|
|
830
|
-
npm: z.ZodString;
|
|
831
|
-
yarn: z.ZodString;
|
|
832
|
-
pnpm: z.ZodString;
|
|
833
|
-
bun: z.ZodString;
|
|
834
|
-
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
npm: string;
|
|
836
|
-
yarn: string;
|
|
837
|
-
pnpm: string;
|
|
838
|
-
bun: string;
|
|
839
|
-
}, {
|
|
840
|
-
npm: string;
|
|
841
|
-
yarn: string;
|
|
842
|
-
pnpm: string;
|
|
843
|
-
bun: string;
|
|
844
|
-
}>;
|
|
845
|
-
compatibility: z.ZodOptional<z.ZodObject<{
|
|
846
|
-
react: z.ZodOptional<z.ZodString>;
|
|
847
|
-
node: z.ZodOptional<z.ZodString>;
|
|
848
|
-
}, "strip", z.ZodTypeAny, {
|
|
849
|
-
react?: string | undefined;
|
|
850
|
-
node?: string | undefined;
|
|
851
|
-
}, {
|
|
852
|
-
react?: string | undefined;
|
|
853
|
-
node?: string | undefined;
|
|
854
|
-
}>>;
|
|
855
|
-
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
856
|
-
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
external: string[];
|
|
858
|
-
internal: string[];
|
|
859
|
-
installCommands: {
|
|
860
|
-
npm: string;
|
|
861
|
-
yarn: string;
|
|
862
|
-
pnpm: string;
|
|
863
|
-
bun: string;
|
|
864
|
-
};
|
|
865
|
-
compatibility?: {
|
|
866
|
-
react?: string | undefined;
|
|
867
|
-
node?: string | undefined;
|
|
868
|
-
} | undefined;
|
|
869
|
-
notes?: string[] | undefined;
|
|
870
|
-
}, {
|
|
871
|
-
external: string[];
|
|
872
|
-
internal: string[];
|
|
873
|
-
installCommands: {
|
|
874
|
-
npm: string;
|
|
875
|
-
yarn: string;
|
|
876
|
-
pnpm: string;
|
|
877
|
-
bun: string;
|
|
878
|
-
};
|
|
879
|
-
compatibility?: {
|
|
880
|
-
react?: string | undefined;
|
|
881
|
-
node?: string | undefined;
|
|
882
|
-
} | undefined;
|
|
883
|
-
notes?: string[] | undefined;
|
|
884
|
-
}>>;
|
|
885
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
886
|
-
error: z.ZodOptional<z.ZodString>;
|
|
887
|
-
}, "strip", z.ZodTypeAny, {
|
|
888
|
-
success: boolean;
|
|
889
|
-
code?: string | undefined;
|
|
890
|
-
error?: string | undefined;
|
|
891
|
-
cssVariables?: string | undefined;
|
|
892
|
-
dependencies?: {
|
|
893
|
-
external: string[];
|
|
894
|
-
internal: string[];
|
|
895
|
-
installCommands: {
|
|
896
|
-
npm: string;
|
|
897
|
-
yarn: string;
|
|
898
|
-
pnpm: string;
|
|
899
|
-
bun: string;
|
|
900
|
-
};
|
|
901
|
-
compatibility?: {
|
|
902
|
-
react?: string | undefined;
|
|
903
|
-
node?: string | undefined;
|
|
904
|
-
} | undefined;
|
|
905
|
-
notes?: string[] | undefined;
|
|
906
|
-
} | undefined;
|
|
907
|
-
errors?: string[] | undefined;
|
|
908
|
-
}, {
|
|
909
|
-
success: boolean;
|
|
910
|
-
code?: string | undefined;
|
|
911
|
-
error?: string | undefined;
|
|
912
|
-
cssVariables?: string | undefined;
|
|
913
|
-
dependencies?: {
|
|
914
|
-
external: string[];
|
|
915
|
-
internal: string[];
|
|
916
|
-
installCommands: {
|
|
917
|
-
npm: string;
|
|
918
|
-
yarn: string;
|
|
919
|
-
pnpm: string;
|
|
920
|
-
bun: string;
|
|
921
|
-
};
|
|
922
|
-
compatibility?: {
|
|
923
|
-
react?: string | undefined;
|
|
924
|
-
node?: string | undefined;
|
|
925
|
-
} | undefined;
|
|
926
|
-
notes?: string[] | undefined;
|
|
927
|
-
} | undefined;
|
|
928
|
-
errors?: string[] | undefined;
|
|
929
|
-
}>;
|
|
930
|
-
export type GenerateScreenOutput = z.infer<typeof GenerateScreenOutputSchema>;
|
|
931
754
|
/**
|
|
932
755
|
* Validate Screen Input Schema
|
|
933
756
|
*/
|
|
@@ -1017,11 +840,11 @@ export declare const ListTokensInputSchema: z.ZodObject<{
|
|
|
1017
840
|
tokenType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["shell", "page", "section", "all"]>>>;
|
|
1018
841
|
filter: z.ZodOptional<z.ZodString>;
|
|
1019
842
|
}, "strip", z.ZodTypeAny, {
|
|
1020
|
-
tokenType: "shell" | "page" | "
|
|
843
|
+
tokenType: "shell" | "page" | "section" | "all";
|
|
1021
844
|
filter?: string | undefined;
|
|
1022
845
|
}, {
|
|
1023
846
|
filter?: string | undefined;
|
|
1024
|
-
tokenType?: "shell" | "page" | "
|
|
847
|
+
tokenType?: "shell" | "page" | "section" | "all" | undefined;
|
|
1025
848
|
}>;
|
|
1026
849
|
export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
|
|
1027
850
|
/**
|
|
@@ -1036,16 +859,16 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
1036
859
|
type: z.ZodOptional<z.ZodString>;
|
|
1037
860
|
}, "strip", z.ZodTypeAny, {
|
|
1038
861
|
id: string;
|
|
1039
|
-
name?: string | undefined;
|
|
1040
|
-
description?: string | undefined;
|
|
1041
862
|
type?: string | undefined;
|
|
863
|
+
description?: string | undefined;
|
|
864
|
+
name?: string | undefined;
|
|
1042
865
|
platform?: string | undefined;
|
|
1043
866
|
purpose?: string | undefined;
|
|
1044
867
|
}, {
|
|
1045
868
|
id: string;
|
|
1046
|
-
name?: string | undefined;
|
|
1047
|
-
description?: string | undefined;
|
|
1048
869
|
type?: string | undefined;
|
|
870
|
+
description?: string | undefined;
|
|
871
|
+
name?: string | undefined;
|
|
1049
872
|
platform?: string | undefined;
|
|
1050
873
|
purpose?: string | undefined;
|
|
1051
874
|
}>;
|
|
@@ -1064,16 +887,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1064
887
|
type: z.ZodOptional<z.ZodString>;
|
|
1065
888
|
}, "strip", z.ZodTypeAny, {
|
|
1066
889
|
id: string;
|
|
1067
|
-
name?: string | undefined;
|
|
1068
|
-
description?: string | undefined;
|
|
1069
890
|
type?: string | undefined;
|
|
891
|
+
description?: string | undefined;
|
|
892
|
+
name?: string | undefined;
|
|
1070
893
|
platform?: string | undefined;
|
|
1071
894
|
purpose?: string | undefined;
|
|
1072
895
|
}, {
|
|
1073
896
|
id: string;
|
|
1074
|
-
name?: string | undefined;
|
|
1075
|
-
description?: string | undefined;
|
|
1076
897
|
type?: string | undefined;
|
|
898
|
+
description?: string | undefined;
|
|
899
|
+
name?: string | undefined;
|
|
1077
900
|
platform?: string | undefined;
|
|
1078
901
|
purpose?: string | undefined;
|
|
1079
902
|
}>, "many">>;
|
|
@@ -1086,16 +909,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1086
909
|
type: z.ZodOptional<z.ZodString>;
|
|
1087
910
|
}, "strip", z.ZodTypeAny, {
|
|
1088
911
|
id: string;
|
|
1089
|
-
name?: string | undefined;
|
|
1090
|
-
description?: string | undefined;
|
|
1091
912
|
type?: string | undefined;
|
|
913
|
+
description?: string | undefined;
|
|
914
|
+
name?: string | undefined;
|
|
1092
915
|
platform?: string | undefined;
|
|
1093
916
|
purpose?: string | undefined;
|
|
1094
917
|
}, {
|
|
1095
918
|
id: string;
|
|
1096
|
-
name?: string | undefined;
|
|
1097
|
-
description?: string | undefined;
|
|
1098
919
|
type?: string | undefined;
|
|
920
|
+
description?: string | undefined;
|
|
921
|
+
name?: string | undefined;
|
|
1099
922
|
platform?: string | undefined;
|
|
1100
923
|
purpose?: string | undefined;
|
|
1101
924
|
}>, "many">>;
|
|
@@ -1108,16 +931,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1108
931
|
type: z.ZodOptional<z.ZodString>;
|
|
1109
932
|
}, "strip", z.ZodTypeAny, {
|
|
1110
933
|
id: string;
|
|
1111
|
-
name?: string | undefined;
|
|
1112
|
-
description?: string | undefined;
|
|
1113
934
|
type?: string | undefined;
|
|
935
|
+
description?: string | undefined;
|
|
936
|
+
name?: string | undefined;
|
|
1114
937
|
platform?: string | undefined;
|
|
1115
938
|
purpose?: string | undefined;
|
|
1116
939
|
}, {
|
|
1117
940
|
id: string;
|
|
1118
|
-
name?: string | undefined;
|
|
1119
|
-
description?: string | undefined;
|
|
1120
941
|
type?: string | undefined;
|
|
942
|
+
description?: string | undefined;
|
|
943
|
+
name?: string | undefined;
|
|
1121
944
|
platform?: string | undefined;
|
|
1122
945
|
purpose?: string | undefined;
|
|
1123
946
|
}>, "many">>;
|
|
@@ -1134,42 +957,28 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1134
957
|
error: z.ZodOptional<z.ZodString>;
|
|
1135
958
|
}, "strip", z.ZodTypeAny, {
|
|
1136
959
|
success: boolean;
|
|
1137
|
-
sections?: {
|
|
1138
|
-
id: string;
|
|
1139
|
-
name?: string | undefined;
|
|
1140
|
-
description?: string | undefined;
|
|
1141
|
-
type?: string | undefined;
|
|
1142
|
-
platform?: string | undefined;
|
|
1143
|
-
purpose?: string | undefined;
|
|
1144
|
-
}[] | undefined;
|
|
1145
|
-
metadata?: {
|
|
1146
|
-
total: number;
|
|
1147
|
-
filtered?: number | undefined;
|
|
1148
|
-
} | undefined;
|
|
1149
960
|
error?: string | undefined;
|
|
1150
961
|
shells?: {
|
|
1151
962
|
id: string;
|
|
1152
|
-
name?: string | undefined;
|
|
1153
|
-
description?: string | undefined;
|
|
1154
963
|
type?: string | undefined;
|
|
964
|
+
description?: string | undefined;
|
|
965
|
+
name?: string | undefined;
|
|
1155
966
|
platform?: string | undefined;
|
|
1156
967
|
purpose?: string | undefined;
|
|
1157
968
|
}[] | undefined;
|
|
1158
969
|
pages?: {
|
|
1159
970
|
id: string;
|
|
1160
|
-
name?: string | undefined;
|
|
1161
|
-
description?: string | undefined;
|
|
1162
971
|
type?: string | undefined;
|
|
972
|
+
description?: string | undefined;
|
|
973
|
+
name?: string | undefined;
|
|
1163
974
|
platform?: string | undefined;
|
|
1164
975
|
purpose?: string | undefined;
|
|
1165
976
|
}[] | undefined;
|
|
1166
|
-
}, {
|
|
1167
|
-
success: boolean;
|
|
1168
977
|
sections?: {
|
|
1169
978
|
id: string;
|
|
1170
|
-
name?: string | undefined;
|
|
1171
|
-
description?: string | undefined;
|
|
1172
979
|
type?: string | undefined;
|
|
980
|
+
description?: string | undefined;
|
|
981
|
+
name?: string | undefined;
|
|
1173
982
|
platform?: string | undefined;
|
|
1174
983
|
purpose?: string | undefined;
|
|
1175
984
|
}[] | undefined;
|
|
@@ -1177,23 +986,37 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1177
986
|
total: number;
|
|
1178
987
|
filtered?: number | undefined;
|
|
1179
988
|
} | undefined;
|
|
989
|
+
}, {
|
|
990
|
+
success: boolean;
|
|
1180
991
|
error?: string | undefined;
|
|
1181
992
|
shells?: {
|
|
1182
993
|
id: string;
|
|
1183
|
-
name?: string | undefined;
|
|
1184
|
-
description?: string | undefined;
|
|
1185
994
|
type?: string | undefined;
|
|
995
|
+
description?: string | undefined;
|
|
996
|
+
name?: string | undefined;
|
|
1186
997
|
platform?: string | undefined;
|
|
1187
998
|
purpose?: string | undefined;
|
|
1188
999
|
}[] | undefined;
|
|
1189
1000
|
pages?: {
|
|
1190
1001
|
id: string;
|
|
1191
|
-
|
|
1002
|
+
type?: string | undefined;
|
|
1192
1003
|
description?: string | undefined;
|
|
1004
|
+
name?: string | undefined;
|
|
1005
|
+
platform?: string | undefined;
|
|
1006
|
+
purpose?: string | undefined;
|
|
1007
|
+
}[] | undefined;
|
|
1008
|
+
sections?: {
|
|
1009
|
+
id: string;
|
|
1193
1010
|
type?: string | undefined;
|
|
1011
|
+
description?: string | undefined;
|
|
1012
|
+
name?: string | undefined;
|
|
1194
1013
|
platform?: string | undefined;
|
|
1195
1014
|
purpose?: string | undefined;
|
|
1196
1015
|
}[] | undefined;
|
|
1016
|
+
metadata?: {
|
|
1017
|
+
total: number;
|
|
1018
|
+
filtered?: number | undefined;
|
|
1019
|
+
} | undefined;
|
|
1197
1020
|
}>;
|
|
1198
1021
|
export type ListTokensOutput = z.infer<typeof ListTokensOutputSchema>;
|
|
1199
1022
|
/**
|
|
@@ -1219,17 +1042,17 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1219
1042
|
totalIcons: z.ZodNumber;
|
|
1220
1043
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1221
1044
|
}, "strip", z.ZodTypeAny, {
|
|
1045
|
+
description: string;
|
|
1222
1046
|
id: string;
|
|
1223
1047
|
name: string;
|
|
1224
|
-
description: string;
|
|
1225
1048
|
version: string;
|
|
1226
1049
|
license: string;
|
|
1227
1050
|
totalIcons: number;
|
|
1228
1051
|
categories: string[];
|
|
1229
1052
|
}, {
|
|
1053
|
+
description: string;
|
|
1230
1054
|
id: string;
|
|
1231
1055
|
name: string;
|
|
1232
|
-
description: string;
|
|
1233
1056
|
version: string;
|
|
1234
1057
|
license: string;
|
|
1235
1058
|
totalIcons: number;
|
|
@@ -1250,17 +1073,17 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1250
1073
|
totalIcons: z.ZodNumber;
|
|
1251
1074
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1252
1075
|
}, "strip", z.ZodTypeAny, {
|
|
1076
|
+
description: string;
|
|
1253
1077
|
id: string;
|
|
1254
1078
|
name: string;
|
|
1255
|
-
description: string;
|
|
1256
1079
|
version: string;
|
|
1257
1080
|
license: string;
|
|
1258
1081
|
totalIcons: number;
|
|
1259
1082
|
categories: string[];
|
|
1260
1083
|
}, {
|
|
1084
|
+
description: string;
|
|
1261
1085
|
id: string;
|
|
1262
1086
|
name: string;
|
|
1263
|
-
description: string;
|
|
1264
1087
|
version: string;
|
|
1265
1088
|
license: string;
|
|
1266
1089
|
totalIcons: number;
|
|
@@ -1271,29 +1094,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1271
1094
|
}, "strip", z.ZodTypeAny, {
|
|
1272
1095
|
success: boolean;
|
|
1273
1096
|
error?: string | undefined;
|
|
1097
|
+
count?: number | undefined;
|
|
1274
1098
|
libraries?: {
|
|
1099
|
+
description: string;
|
|
1275
1100
|
id: string;
|
|
1276
1101
|
name: string;
|
|
1277
|
-
description: string;
|
|
1278
1102
|
version: string;
|
|
1279
1103
|
license: string;
|
|
1280
1104
|
totalIcons: number;
|
|
1281
1105
|
categories: string[];
|
|
1282
1106
|
}[] | undefined;
|
|
1283
|
-
count?: number | undefined;
|
|
1284
1107
|
}, {
|
|
1285
1108
|
success: boolean;
|
|
1286
1109
|
error?: string | undefined;
|
|
1110
|
+
count?: number | undefined;
|
|
1287
1111
|
libraries?: {
|
|
1112
|
+
description: string;
|
|
1288
1113
|
id: string;
|
|
1289
1114
|
name: string;
|
|
1290
|
-
description: string;
|
|
1291
1115
|
version: string;
|
|
1292
1116
|
license: string;
|
|
1293
1117
|
totalIcons: number;
|
|
1294
1118
|
categories: string[];
|
|
1295
1119
|
}[] | undefined;
|
|
1296
|
-
count?: number | undefined;
|
|
1297
1120
|
}>;
|
|
1298
1121
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1299
1122
|
/**
|
|
@@ -1317,15 +1140,15 @@ export declare const IconSizeMappingSchema: z.ZodObject<{
|
|
|
1317
1140
|
lg: z.ZodNumber;
|
|
1318
1141
|
xl: z.ZodOptional<z.ZodNumber>;
|
|
1319
1142
|
}, "strip", z.ZodTypeAny, {
|
|
1320
|
-
lg: number;
|
|
1321
1143
|
sm: number;
|
|
1322
1144
|
md: number;
|
|
1145
|
+
lg: number;
|
|
1323
1146
|
xs?: number | undefined;
|
|
1324
1147
|
xl?: number | undefined;
|
|
1325
1148
|
}, {
|
|
1326
|
-
lg: number;
|
|
1327
1149
|
sm: number;
|
|
1328
1150
|
md: number;
|
|
1151
|
+
lg: number;
|
|
1329
1152
|
xs?: number | undefined;
|
|
1330
1153
|
xl?: number | undefined;
|
|
1331
1154
|
}>;
|
|
@@ -1369,15 +1192,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1369
1192
|
lg: z.ZodNumber;
|
|
1370
1193
|
xl: z.ZodOptional<z.ZodNumber>;
|
|
1371
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
-
lg: number;
|
|
1373
1195
|
sm: number;
|
|
1374
1196
|
md: number;
|
|
1197
|
+
lg: number;
|
|
1375
1198
|
xs?: number | undefined;
|
|
1376
1199
|
xl?: number | undefined;
|
|
1377
1200
|
}, {
|
|
1378
|
-
lg: number;
|
|
1379
1201
|
sm: number;
|
|
1380
1202
|
md: number;
|
|
1203
|
+
lg: number;
|
|
1381
1204
|
xs?: number | undefined;
|
|
1382
1205
|
xl?: number | undefined;
|
|
1383
1206
|
}>;
|
|
@@ -1444,18 +1267,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1444
1267
|
defaultVariant: z.ZodOptional<z.ZodString>;
|
|
1445
1268
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1446
1269
|
}, "strip", z.ZodTypeAny, {
|
|
1270
|
+
description: string;
|
|
1447
1271
|
id: string;
|
|
1448
1272
|
name: string;
|
|
1449
|
-
description: string;
|
|
1450
1273
|
version: string;
|
|
1451
1274
|
license: string;
|
|
1452
1275
|
totalIcons: number;
|
|
1453
1276
|
categories: string[];
|
|
1454
1277
|
website: string;
|
|
1455
1278
|
sizeMapping: {
|
|
1456
|
-
lg: number;
|
|
1457
1279
|
sm: number;
|
|
1458
1280
|
md: number;
|
|
1281
|
+
lg: number;
|
|
1459
1282
|
xs?: number | undefined;
|
|
1460
1283
|
xl?: number | undefined;
|
|
1461
1284
|
};
|
|
@@ -1476,18 +1299,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1476
1299
|
defaultVariant?: string | undefined;
|
|
1477
1300
|
iconSample?: string[] | undefined;
|
|
1478
1301
|
}, {
|
|
1302
|
+
description: string;
|
|
1479
1303
|
id: string;
|
|
1480
1304
|
name: string;
|
|
1481
|
-
description: string;
|
|
1482
1305
|
version: string;
|
|
1483
1306
|
license: string;
|
|
1484
1307
|
totalIcons: number;
|
|
1485
1308
|
categories: string[];
|
|
1486
1309
|
website: string;
|
|
1487
1310
|
sizeMapping: {
|
|
1488
|
-
lg: number;
|
|
1489
1311
|
sm: number;
|
|
1490
1312
|
md: number;
|
|
1313
|
+
lg: number;
|
|
1491
1314
|
xs?: number | undefined;
|
|
1492
1315
|
xl?: number | undefined;
|
|
1493
1316
|
};
|
|
@@ -1513,18 +1336,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1513
1336
|
success: boolean;
|
|
1514
1337
|
error?: string | undefined;
|
|
1515
1338
|
library?: {
|
|
1339
|
+
description: string;
|
|
1516
1340
|
id: string;
|
|
1517
1341
|
name: string;
|
|
1518
|
-
description: string;
|
|
1519
1342
|
version: string;
|
|
1520
1343
|
license: string;
|
|
1521
1344
|
totalIcons: number;
|
|
1522
1345
|
categories: string[];
|
|
1523
1346
|
website: string;
|
|
1524
1347
|
sizeMapping: {
|
|
1525
|
-
lg: number;
|
|
1526
1348
|
sm: number;
|
|
1527
1349
|
md: number;
|
|
1350
|
+
lg: number;
|
|
1528
1351
|
xs?: number | undefined;
|
|
1529
1352
|
xl?: number | undefined;
|
|
1530
1353
|
};
|
|
@@ -1549,18 +1372,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1549
1372
|
success: boolean;
|
|
1550
1373
|
error?: string | undefined;
|
|
1551
1374
|
library?: {
|
|
1375
|
+
description: string;
|
|
1552
1376
|
id: string;
|
|
1553
1377
|
name: string;
|
|
1554
|
-
description: string;
|
|
1555
1378
|
version: string;
|
|
1556
1379
|
license: string;
|
|
1557
1380
|
totalIcons: number;
|
|
1558
1381
|
categories: string[];
|
|
1559
1382
|
website: string;
|
|
1560
1383
|
sizeMapping: {
|
|
1561
|
-
lg: number;
|
|
1562
1384
|
sm: number;
|
|
1563
1385
|
md: number;
|
|
1386
|
+
lg: number;
|
|
1564
1387
|
xs?: number | undefined;
|
|
1565
1388
|
xl?: number | undefined;
|
|
1566
1389
|
};
|
|
@@ -1597,10 +1420,10 @@ export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
|
1597
1420
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["core", "complex", "advanced", "all"]>>>;
|
|
1598
1421
|
search: z.ZodOptional<z.ZodString>;
|
|
1599
1422
|
}, "strip", z.ZodTypeAny, {
|
|
1600
|
-
category: "
|
|
1423
|
+
category: "all" | "core" | "complex" | "advanced";
|
|
1601
1424
|
search?: string | undefined;
|
|
1602
1425
|
}, {
|
|
1603
|
-
category?: "
|
|
1426
|
+
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1604
1427
|
search?: string | undefined;
|
|
1605
1428
|
}>;
|
|
1606
1429
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
@@ -1616,21 +1439,21 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1616
1439
|
hasSubComponents: z.ZodBoolean;
|
|
1617
1440
|
tier: z.ZodNumber;
|
|
1618
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1442
|
+
description: string;
|
|
1443
|
+
category: "core" | "complex" | "advanced";
|
|
1619
1444
|
id: string;
|
|
1620
1445
|
name: string;
|
|
1621
|
-
|
|
1622
|
-
description: string;
|
|
1446
|
+
tier: number;
|
|
1623
1447
|
variantsCount: number;
|
|
1624
1448
|
hasSubComponents: boolean;
|
|
1625
|
-
tier: number;
|
|
1626
1449
|
}, {
|
|
1450
|
+
description: string;
|
|
1451
|
+
category: "core" | "complex" | "advanced";
|
|
1627
1452
|
id: string;
|
|
1628
1453
|
name: string;
|
|
1629
|
-
|
|
1630
|
-
description: string;
|
|
1454
|
+
tier: number;
|
|
1631
1455
|
variantsCount: number;
|
|
1632
1456
|
hasSubComponents: boolean;
|
|
1633
|
-
tier: number;
|
|
1634
1457
|
}>;
|
|
1635
1458
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1636
1459
|
/**
|
|
@@ -1647,21 +1470,21 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1647
1470
|
hasSubComponents: z.ZodBoolean;
|
|
1648
1471
|
tier: z.ZodNumber;
|
|
1649
1472
|
}, "strip", z.ZodTypeAny, {
|
|
1473
|
+
description: string;
|
|
1474
|
+
category: "core" | "complex" | "advanced";
|
|
1650
1475
|
id: string;
|
|
1651
1476
|
name: string;
|
|
1652
|
-
|
|
1653
|
-
description: string;
|
|
1477
|
+
tier: number;
|
|
1654
1478
|
variantsCount: number;
|
|
1655
1479
|
hasSubComponents: boolean;
|
|
1656
|
-
tier: number;
|
|
1657
1480
|
}, {
|
|
1481
|
+
description: string;
|
|
1482
|
+
category: "core" | "complex" | "advanced";
|
|
1658
1483
|
id: string;
|
|
1659
1484
|
name: string;
|
|
1660
|
-
|
|
1661
|
-
description: string;
|
|
1485
|
+
tier: number;
|
|
1662
1486
|
variantsCount: number;
|
|
1663
1487
|
hasSubComponents: boolean;
|
|
1664
|
-
tier: number;
|
|
1665
1488
|
}>, "many">>;
|
|
1666
1489
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1667
1490
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1680,40 +1503,40 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1680
1503
|
error: z.ZodOptional<z.ZodString>;
|
|
1681
1504
|
}, "strip", z.ZodTypeAny, {
|
|
1682
1505
|
success: boolean;
|
|
1506
|
+
error?: string | undefined;
|
|
1683
1507
|
components?: {
|
|
1508
|
+
description: string;
|
|
1509
|
+
category: "core" | "complex" | "advanced";
|
|
1684
1510
|
id: string;
|
|
1685
1511
|
name: string;
|
|
1686
|
-
|
|
1687
|
-
description: string;
|
|
1512
|
+
tier: number;
|
|
1688
1513
|
variantsCount: number;
|
|
1689
1514
|
hasSubComponents: boolean;
|
|
1690
|
-
tier: number;
|
|
1691
1515
|
}[] | undefined;
|
|
1692
|
-
|
|
1516
|
+
count?: number | undefined;
|
|
1693
1517
|
categories?: {
|
|
1694
1518
|
core: number;
|
|
1695
1519
|
complex: number;
|
|
1696
1520
|
advanced: number;
|
|
1697
1521
|
} | undefined;
|
|
1698
|
-
count?: number | undefined;
|
|
1699
1522
|
}, {
|
|
1700
1523
|
success: boolean;
|
|
1524
|
+
error?: string | undefined;
|
|
1701
1525
|
components?: {
|
|
1526
|
+
description: string;
|
|
1527
|
+
category: "core" | "complex" | "advanced";
|
|
1702
1528
|
id: string;
|
|
1703
1529
|
name: string;
|
|
1704
|
-
|
|
1705
|
-
description: string;
|
|
1530
|
+
tier: number;
|
|
1706
1531
|
variantsCount: number;
|
|
1707
1532
|
hasSubComponents: boolean;
|
|
1708
|
-
tier: number;
|
|
1709
1533
|
}[] | undefined;
|
|
1710
|
-
|
|
1534
|
+
count?: number | undefined;
|
|
1711
1535
|
categories?: {
|
|
1712
1536
|
core: number;
|
|
1713
1537
|
complex: number;
|
|
1714
1538
|
advanced: number;
|
|
1715
1539
|
} | undefined;
|
|
1716
|
-
count?: number | undefined;
|
|
1717
1540
|
}>;
|
|
1718
1541
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1719
1542
|
/**
|
|
@@ -1744,14 +1567,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1744
1567
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1745
1568
|
description: z.ZodOptional<z.ZodString>;
|
|
1746
1569
|
}, "strip", z.ZodTypeAny, {
|
|
1747
|
-
name: string;
|
|
1748
1570
|
type: string;
|
|
1571
|
+
name: string;
|
|
1749
1572
|
required: boolean;
|
|
1750
1573
|
description?: string | undefined;
|
|
1751
1574
|
defaultValue?: string | undefined;
|
|
1752
1575
|
}, {
|
|
1753
|
-
name: string;
|
|
1754
1576
|
type: string;
|
|
1577
|
+
name: string;
|
|
1755
1578
|
required: boolean;
|
|
1756
1579
|
description?: string | undefined;
|
|
1757
1580
|
defaultValue?: string | undefined;
|
|
@@ -1765,12 +1588,12 @@ export declare const VariantSchema: z.ZodObject<{
|
|
|
1765
1588
|
value: z.ZodString;
|
|
1766
1589
|
description: z.ZodOptional<z.ZodString>;
|
|
1767
1590
|
}, "strip", z.ZodTypeAny, {
|
|
1768
|
-
name: string;
|
|
1769
1591
|
value: string;
|
|
1592
|
+
name: string;
|
|
1770
1593
|
description?: string | undefined;
|
|
1771
1594
|
}, {
|
|
1772
|
-
name: string;
|
|
1773
1595
|
value: string;
|
|
1596
|
+
name: string;
|
|
1774
1597
|
description?: string | undefined;
|
|
1775
1598
|
}>;
|
|
1776
1599
|
export type Variant = z.infer<typeof VariantSchema>;
|
|
@@ -1809,14 +1632,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1809
1632
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1810
1633
|
description: z.ZodOptional<z.ZodString>;
|
|
1811
1634
|
}, "strip", z.ZodTypeAny, {
|
|
1812
|
-
name: string;
|
|
1813
1635
|
type: string;
|
|
1636
|
+
name: string;
|
|
1814
1637
|
required: boolean;
|
|
1815
1638
|
description?: string | undefined;
|
|
1816
1639
|
defaultValue?: string | undefined;
|
|
1817
1640
|
}, {
|
|
1818
|
-
name: string;
|
|
1819
1641
|
type: string;
|
|
1642
|
+
name: string;
|
|
1820
1643
|
required: boolean;
|
|
1821
1644
|
description?: string | undefined;
|
|
1822
1645
|
defaultValue?: string | undefined;
|
|
@@ -1826,12 +1649,12 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1826
1649
|
value: z.ZodString;
|
|
1827
1650
|
description: z.ZodOptional<z.ZodString>;
|
|
1828
1651
|
}, "strip", z.ZodTypeAny, {
|
|
1829
|
-
name: string;
|
|
1830
1652
|
value: string;
|
|
1653
|
+
name: string;
|
|
1831
1654
|
description?: string | undefined;
|
|
1832
1655
|
}, {
|
|
1833
|
-
name: string;
|
|
1834
1656
|
value: string;
|
|
1657
|
+
name: string;
|
|
1835
1658
|
description?: string | undefined;
|
|
1836
1659
|
}>, "many">>;
|
|
1837
1660
|
subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1861,135 +1684,135 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1861
1684
|
}>, "many">>;
|
|
1862
1685
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
1863
1686
|
}, "strip", z.ZodTypeAny, {
|
|
1687
|
+
description: string;
|
|
1688
|
+
category: "core" | "complex" | "advanced";
|
|
1864
1689
|
id: string;
|
|
1865
1690
|
name: string;
|
|
1866
|
-
category: "core" | "complex" | "advanced";
|
|
1867
|
-
description: string;
|
|
1868
1691
|
tier: number;
|
|
1692
|
+
importStatement: string;
|
|
1869
1693
|
props: {
|
|
1870
|
-
name: string;
|
|
1871
1694
|
type: string;
|
|
1695
|
+
name: string;
|
|
1872
1696
|
required: boolean;
|
|
1873
1697
|
description?: string | undefined;
|
|
1874
1698
|
defaultValue?: string | undefined;
|
|
1875
1699
|
}[];
|
|
1876
|
-
importStatement: string;
|
|
1877
|
-
accessibility?: string | undefined;
|
|
1878
1700
|
variants?: {
|
|
1879
|
-
name: string;
|
|
1880
1701
|
value: string;
|
|
1702
|
+
name: string;
|
|
1881
1703
|
description?: string | undefined;
|
|
1882
1704
|
}[] | undefined;
|
|
1705
|
+
subComponents?: string[] | undefined;
|
|
1883
1706
|
dependencies?: {
|
|
1884
1707
|
external: string[];
|
|
1885
1708
|
internal: string[];
|
|
1886
1709
|
} | undefined;
|
|
1887
|
-
subComponents?: string[] | undefined;
|
|
1888
1710
|
examples?: {
|
|
1889
1711
|
code: string;
|
|
1890
1712
|
title: string;
|
|
1891
1713
|
description?: string | undefined;
|
|
1892
1714
|
}[] | undefined;
|
|
1715
|
+
accessibility?: string | undefined;
|
|
1893
1716
|
}, {
|
|
1717
|
+
description: string;
|
|
1718
|
+
category: "core" | "complex" | "advanced";
|
|
1894
1719
|
id: string;
|
|
1895
1720
|
name: string;
|
|
1896
|
-
category: "core" | "complex" | "advanced";
|
|
1897
|
-
description: string;
|
|
1898
1721
|
tier: number;
|
|
1722
|
+
importStatement: string;
|
|
1899
1723
|
props: {
|
|
1900
|
-
name: string;
|
|
1901
1724
|
type: string;
|
|
1725
|
+
name: string;
|
|
1902
1726
|
required: boolean;
|
|
1903
1727
|
description?: string | undefined;
|
|
1904
1728
|
defaultValue?: string | undefined;
|
|
1905
1729
|
}[];
|
|
1906
|
-
importStatement: string;
|
|
1907
|
-
accessibility?: string | undefined;
|
|
1908
1730
|
variants?: {
|
|
1909
|
-
name: string;
|
|
1910
1731
|
value: string;
|
|
1732
|
+
name: string;
|
|
1911
1733
|
description?: string | undefined;
|
|
1912
1734
|
}[] | undefined;
|
|
1735
|
+
subComponents?: string[] | undefined;
|
|
1913
1736
|
dependencies?: {
|
|
1914
1737
|
external: string[];
|
|
1915
1738
|
internal: string[];
|
|
1916
1739
|
} | undefined;
|
|
1917
|
-
subComponents?: string[] | undefined;
|
|
1918
1740
|
examples?: {
|
|
1919
1741
|
code: string;
|
|
1920
1742
|
title: string;
|
|
1921
1743
|
description?: string | undefined;
|
|
1922
1744
|
}[] | undefined;
|
|
1745
|
+
accessibility?: string | undefined;
|
|
1923
1746
|
}>>;
|
|
1924
1747
|
error: z.ZodOptional<z.ZodString>;
|
|
1925
1748
|
}, "strip", z.ZodTypeAny, {
|
|
1926
1749
|
success: boolean;
|
|
1750
|
+
error?: string | undefined;
|
|
1927
1751
|
component?: {
|
|
1752
|
+
description: string;
|
|
1753
|
+
category: "core" | "complex" | "advanced";
|
|
1928
1754
|
id: string;
|
|
1929
1755
|
name: string;
|
|
1930
|
-
category: "core" | "complex" | "advanced";
|
|
1931
|
-
description: string;
|
|
1932
1756
|
tier: number;
|
|
1757
|
+
importStatement: string;
|
|
1933
1758
|
props: {
|
|
1934
|
-
name: string;
|
|
1935
1759
|
type: string;
|
|
1760
|
+
name: string;
|
|
1936
1761
|
required: boolean;
|
|
1937
1762
|
description?: string | undefined;
|
|
1938
1763
|
defaultValue?: string | undefined;
|
|
1939
1764
|
}[];
|
|
1940
|
-
importStatement: string;
|
|
1941
|
-
accessibility?: string | undefined;
|
|
1942
1765
|
variants?: {
|
|
1943
|
-
name: string;
|
|
1944
1766
|
value: string;
|
|
1767
|
+
name: string;
|
|
1945
1768
|
description?: string | undefined;
|
|
1946
1769
|
}[] | undefined;
|
|
1770
|
+
subComponents?: string[] | undefined;
|
|
1947
1771
|
dependencies?: {
|
|
1948
1772
|
external: string[];
|
|
1949
1773
|
internal: string[];
|
|
1950
1774
|
} | undefined;
|
|
1951
|
-
subComponents?: string[] | undefined;
|
|
1952
1775
|
examples?: {
|
|
1953
1776
|
code: string;
|
|
1954
1777
|
title: string;
|
|
1955
1778
|
description?: string | undefined;
|
|
1956
1779
|
}[] | undefined;
|
|
1780
|
+
accessibility?: string | undefined;
|
|
1957
1781
|
} | undefined;
|
|
1958
|
-
error?: string | undefined;
|
|
1959
1782
|
}, {
|
|
1960
1783
|
success: boolean;
|
|
1784
|
+
error?: string | undefined;
|
|
1961
1785
|
component?: {
|
|
1786
|
+
description: string;
|
|
1787
|
+
category: "core" | "complex" | "advanced";
|
|
1962
1788
|
id: string;
|
|
1963
1789
|
name: string;
|
|
1964
|
-
category: "core" | "complex" | "advanced";
|
|
1965
|
-
description: string;
|
|
1966
1790
|
tier: number;
|
|
1791
|
+
importStatement: string;
|
|
1967
1792
|
props: {
|
|
1968
|
-
name: string;
|
|
1969
1793
|
type: string;
|
|
1794
|
+
name: string;
|
|
1970
1795
|
required: boolean;
|
|
1971
1796
|
description?: string | undefined;
|
|
1972
1797
|
defaultValue?: string | undefined;
|
|
1973
1798
|
}[];
|
|
1974
|
-
importStatement: string;
|
|
1975
|
-
accessibility?: string | undefined;
|
|
1976
1799
|
variants?: {
|
|
1977
|
-
name: string;
|
|
1978
1800
|
value: string;
|
|
1801
|
+
name: string;
|
|
1979
1802
|
description?: string | undefined;
|
|
1980
1803
|
}[] | undefined;
|
|
1804
|
+
subComponents?: string[] | undefined;
|
|
1981
1805
|
dependencies?: {
|
|
1982
1806
|
external: string[];
|
|
1983
1807
|
internal: string[];
|
|
1984
1808
|
} | undefined;
|
|
1985
|
-
subComponents?: string[] | undefined;
|
|
1986
1809
|
examples?: {
|
|
1987
1810
|
code: string;
|
|
1988
1811
|
title: string;
|
|
1989
1812
|
description?: string | undefined;
|
|
1990
1813
|
}[] | undefined;
|
|
1814
|
+
accessibility?: string | undefined;
|
|
1991
1815
|
} | undefined;
|
|
1992
|
-
error?: string | undefined;
|
|
1993
1816
|
}>;
|
|
1994
1817
|
export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
|
|
1995
1818
|
/**
|
|
@@ -2005,10 +1828,10 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
2005
1828
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
2006
1829
|
search: z.ZodOptional<z.ZodString>;
|
|
2007
1830
|
}, "strip", z.ZodTypeAny, {
|
|
2008
|
-
category: "
|
|
1831
|
+
category: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback";
|
|
2009
1832
|
search?: string | undefined;
|
|
2010
1833
|
}, {
|
|
2011
|
-
category?: "
|
|
1834
|
+
category?: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback" | undefined;
|
|
2012
1835
|
search?: string | undefined;
|
|
2013
1836
|
}>;
|
|
2014
1837
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
@@ -2030,22 +1853,22 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
2030
1853
|
version: z.ZodString;
|
|
2031
1854
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2032
1855
|
}, "strip", z.ZodTypeAny, {
|
|
1856
|
+
description: string;
|
|
1857
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2033
1858
|
id: string;
|
|
2034
1859
|
name: string;
|
|
2035
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2036
|
-
description: string;
|
|
2037
1860
|
version: string;
|
|
2038
1861
|
requiredComponentsCount: number;
|
|
2039
|
-
layoutType: "
|
|
1862
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2040
1863
|
tags?: string[] | undefined;
|
|
2041
1864
|
}, {
|
|
1865
|
+
description: string;
|
|
1866
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2042
1867
|
id: string;
|
|
2043
1868
|
name: string;
|
|
2044
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2045
|
-
description: string;
|
|
2046
1869
|
version: string;
|
|
2047
1870
|
requiredComponentsCount: number;
|
|
2048
|
-
layoutType: "
|
|
1871
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2049
1872
|
tags?: string[] | undefined;
|
|
2050
1873
|
}>;
|
|
2051
1874
|
export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
|
|
@@ -2064,22 +1887,22 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2064
1887
|
version: z.ZodString;
|
|
2065
1888
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2066
1889
|
}, "strip", z.ZodTypeAny, {
|
|
1890
|
+
description: string;
|
|
1891
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2067
1892
|
id: string;
|
|
2068
1893
|
name: string;
|
|
2069
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2070
|
-
description: string;
|
|
2071
1894
|
version: string;
|
|
2072
1895
|
requiredComponentsCount: number;
|
|
2073
|
-
layoutType: "
|
|
1896
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2074
1897
|
tags?: string[] | undefined;
|
|
2075
1898
|
}, {
|
|
1899
|
+
description: string;
|
|
1900
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2076
1901
|
id: string;
|
|
2077
1902
|
name: string;
|
|
2078
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2079
|
-
description: string;
|
|
2080
1903
|
version: string;
|
|
2081
1904
|
requiredComponentsCount: number;
|
|
2082
|
-
layoutType: "
|
|
1905
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2083
1906
|
tags?: string[] | undefined;
|
|
2084
1907
|
}>, "many">>;
|
|
2085
1908
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2090,15 +1913,15 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2090
1913
|
marketing: z.ZodNumber;
|
|
2091
1914
|
feedback: z.ZodNumber;
|
|
2092
1915
|
}, "strip", z.ZodTypeAny, {
|
|
1916
|
+
dashboard: number;
|
|
2093
1917
|
auth: number;
|
|
2094
1918
|
form: number;
|
|
2095
|
-
dashboard: number;
|
|
2096
1919
|
marketing: number;
|
|
2097
1920
|
feedback: number;
|
|
2098
1921
|
}, {
|
|
1922
|
+
dashboard: number;
|
|
2099
1923
|
auth: number;
|
|
2100
1924
|
form: number;
|
|
2101
|
-
dashboard: number;
|
|
2102
1925
|
marketing: number;
|
|
2103
1926
|
feedback: number;
|
|
2104
1927
|
}>>;
|
|
@@ -2106,43 +1929,43 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2106
1929
|
}, "strip", z.ZodTypeAny, {
|
|
2107
1930
|
success: boolean;
|
|
2108
1931
|
error?: string | undefined;
|
|
1932
|
+
count?: number | undefined;
|
|
2109
1933
|
categories?: {
|
|
1934
|
+
dashboard: number;
|
|
2110
1935
|
auth: number;
|
|
2111
1936
|
form: number;
|
|
2112
|
-
dashboard: number;
|
|
2113
1937
|
marketing: number;
|
|
2114
1938
|
feedback: number;
|
|
2115
1939
|
} | undefined;
|
|
2116
|
-
count?: number | undefined;
|
|
2117
1940
|
templates?: {
|
|
1941
|
+
description: string;
|
|
1942
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2118
1943
|
id: string;
|
|
2119
1944
|
name: string;
|
|
2120
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2121
|
-
description: string;
|
|
2122
1945
|
version: string;
|
|
2123
1946
|
requiredComponentsCount: number;
|
|
2124
|
-
layoutType: "
|
|
1947
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2125
1948
|
tags?: string[] | undefined;
|
|
2126
1949
|
}[] | undefined;
|
|
2127
1950
|
}, {
|
|
2128
1951
|
success: boolean;
|
|
2129
1952
|
error?: string | undefined;
|
|
1953
|
+
count?: number | undefined;
|
|
2130
1954
|
categories?: {
|
|
1955
|
+
dashboard: number;
|
|
2131
1956
|
auth: number;
|
|
2132
1957
|
form: number;
|
|
2133
|
-
dashboard: number;
|
|
2134
1958
|
marketing: number;
|
|
2135
1959
|
feedback: number;
|
|
2136
1960
|
} | undefined;
|
|
2137
|
-
count?: number | undefined;
|
|
2138
1961
|
templates?: {
|
|
1962
|
+
description: string;
|
|
1963
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2139
1964
|
id: string;
|
|
2140
1965
|
name: string;
|
|
2141
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2142
|
-
description: string;
|
|
2143
1966
|
version: string;
|
|
2144
1967
|
requiredComponentsCount: number;
|
|
2145
|
-
layoutType: "
|
|
1968
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2146
1969
|
tags?: string[] | undefined;
|
|
2147
1970
|
}[] | undefined;
|
|
2148
1971
|
}>;
|
|
@@ -2176,13 +1999,13 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2176
1999
|
}, "strip", z.ZodTypeAny, {
|
|
2177
2000
|
id: string;
|
|
2178
2001
|
name: string;
|
|
2179
|
-
slot: string;
|
|
2180
2002
|
required: boolean;
|
|
2003
|
+
slot: string;
|
|
2181
2004
|
}, {
|
|
2182
2005
|
id: string;
|
|
2183
2006
|
name: string;
|
|
2184
|
-
slot: string;
|
|
2185
2007
|
required: boolean;
|
|
2008
|
+
slot: string;
|
|
2186
2009
|
}>, "many">;
|
|
2187
2010
|
}, "strip", z.ZodTypeAny, {
|
|
2188
2011
|
shell: string;
|
|
@@ -2190,8 +2013,8 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2190
2013
|
sections: {
|
|
2191
2014
|
id: string;
|
|
2192
2015
|
name: string;
|
|
2193
|
-
slot: string;
|
|
2194
2016
|
required: boolean;
|
|
2017
|
+
slot: string;
|
|
2195
2018
|
}[];
|
|
2196
2019
|
}, {
|
|
2197
2020
|
shell: string;
|
|
@@ -2199,8 +2022,8 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2199
2022
|
sections: {
|
|
2200
2023
|
id: string;
|
|
2201
2024
|
name: string;
|
|
2202
|
-
slot: string;
|
|
2203
2025
|
required: boolean;
|
|
2026
|
+
slot: string;
|
|
2204
2027
|
}[];
|
|
2205
2028
|
}>;
|
|
2206
2029
|
export type Skeleton = z.infer<typeof SkeletonSchema>;
|
|
@@ -2212,12 +2035,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2212
2035
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2213
2036
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2214
2037
|
}, "strip", z.ZodTypeAny, {
|
|
2215
|
-
optional: string[];
|
|
2216
2038
|
texts: string[];
|
|
2039
|
+
optional: string[];
|
|
2217
2040
|
slots: string[];
|
|
2218
2041
|
}, {
|
|
2219
|
-
optional: string[];
|
|
2220
2042
|
texts: string[];
|
|
2043
|
+
optional: string[];
|
|
2221
2044
|
slots: string[];
|
|
2222
2045
|
}>;
|
|
2223
2046
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2230,71 +2053,71 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2230
2053
|
gap: z.ZodString;
|
|
2231
2054
|
columns: z.ZodNumber;
|
|
2232
2055
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
-
columns: number;
|
|
2234
2056
|
padding: string;
|
|
2235
2057
|
gap: string;
|
|
2236
|
-
}, {
|
|
2237
2058
|
columns: number;
|
|
2059
|
+
}, {
|
|
2238
2060
|
padding: string;
|
|
2239
2061
|
gap: string;
|
|
2062
|
+
columns: number;
|
|
2240
2063
|
}>;
|
|
2241
2064
|
tablet: z.ZodObject<{
|
|
2242
2065
|
padding: z.ZodString;
|
|
2243
2066
|
gap: z.ZodString;
|
|
2244
2067
|
columns: z.ZodNumber;
|
|
2245
2068
|
}, "strip", z.ZodTypeAny, {
|
|
2246
|
-
columns: number;
|
|
2247
2069
|
padding: string;
|
|
2248
2070
|
gap: string;
|
|
2249
|
-
}, {
|
|
2250
2071
|
columns: number;
|
|
2072
|
+
}, {
|
|
2251
2073
|
padding: string;
|
|
2252
2074
|
gap: string;
|
|
2075
|
+
columns: number;
|
|
2253
2076
|
}>;
|
|
2254
2077
|
desktop: z.ZodObject<{
|
|
2255
2078
|
padding: z.ZodString;
|
|
2256
2079
|
gap: z.ZodString;
|
|
2257
2080
|
columns: z.ZodNumber;
|
|
2258
2081
|
}, "strip", z.ZodTypeAny, {
|
|
2259
|
-
columns: number;
|
|
2260
2082
|
padding: string;
|
|
2261
2083
|
gap: string;
|
|
2262
|
-
}, {
|
|
2263
2084
|
columns: number;
|
|
2085
|
+
}, {
|
|
2264
2086
|
padding: string;
|
|
2265
2087
|
gap: string;
|
|
2088
|
+
columns: number;
|
|
2266
2089
|
}>;
|
|
2267
2090
|
}, "strip", z.ZodTypeAny, {
|
|
2268
2091
|
mobile: {
|
|
2269
|
-
columns: number;
|
|
2270
2092
|
padding: string;
|
|
2271
2093
|
gap: string;
|
|
2094
|
+
columns: number;
|
|
2272
2095
|
};
|
|
2273
2096
|
tablet: {
|
|
2274
|
-
columns: number;
|
|
2275
2097
|
padding: string;
|
|
2276
2098
|
gap: string;
|
|
2099
|
+
columns: number;
|
|
2277
2100
|
};
|
|
2278
2101
|
desktop: {
|
|
2279
|
-
columns: number;
|
|
2280
2102
|
padding: string;
|
|
2281
2103
|
gap: string;
|
|
2104
|
+
columns: number;
|
|
2282
2105
|
};
|
|
2283
2106
|
}, {
|
|
2284
2107
|
mobile: {
|
|
2285
|
-
columns: number;
|
|
2286
2108
|
padding: string;
|
|
2287
2109
|
gap: string;
|
|
2110
|
+
columns: number;
|
|
2288
2111
|
};
|
|
2289
2112
|
tablet: {
|
|
2290
|
-
columns: number;
|
|
2291
2113
|
padding: string;
|
|
2292
2114
|
gap: string;
|
|
2115
|
+
columns: number;
|
|
2293
2116
|
};
|
|
2294
2117
|
desktop: {
|
|
2295
|
-
columns: number;
|
|
2296
2118
|
padding: string;
|
|
2297
2119
|
gap: string;
|
|
2120
|
+
columns: number;
|
|
2298
2121
|
};
|
|
2299
2122
|
}>;
|
|
2300
2123
|
export type ResponsiveLayout = z.infer<typeof ResponsiveLayoutSchema>;
|
|
@@ -2320,13 +2143,13 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2320
2143
|
}, "strip", z.ZodTypeAny, {
|
|
2321
2144
|
id: string;
|
|
2322
2145
|
name: string;
|
|
2323
|
-
slot: string;
|
|
2324
2146
|
required: boolean;
|
|
2147
|
+
slot: string;
|
|
2325
2148
|
}, {
|
|
2326
2149
|
id: string;
|
|
2327
2150
|
name: string;
|
|
2328
|
-
slot: string;
|
|
2329
2151
|
required: boolean;
|
|
2152
|
+
slot: string;
|
|
2330
2153
|
}>, "many">;
|
|
2331
2154
|
}, "strip", z.ZodTypeAny, {
|
|
2332
2155
|
shell: string;
|
|
@@ -2334,8 +2157,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2334
2157
|
sections: {
|
|
2335
2158
|
id: string;
|
|
2336
2159
|
name: string;
|
|
2337
|
-
slot: string;
|
|
2338
2160
|
required: boolean;
|
|
2161
|
+
slot: string;
|
|
2339
2162
|
}[];
|
|
2340
2163
|
}, {
|
|
2341
2164
|
shell: string;
|
|
@@ -2343,8 +2166,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2343
2166
|
sections: {
|
|
2344
2167
|
id: string;
|
|
2345
2168
|
name: string;
|
|
2346
|
-
slot: string;
|
|
2347
2169
|
required: boolean;
|
|
2170
|
+
slot: string;
|
|
2348
2171
|
}[];
|
|
2349
2172
|
}>;
|
|
2350
2173
|
layout: z.ZodObject<{
|
|
@@ -2355,109 +2178,109 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2355
2178
|
gap: z.ZodString;
|
|
2356
2179
|
columns: z.ZodNumber;
|
|
2357
2180
|
}, "strip", z.ZodTypeAny, {
|
|
2358
|
-
columns: number;
|
|
2359
2181
|
padding: string;
|
|
2360
2182
|
gap: string;
|
|
2361
|
-
}, {
|
|
2362
2183
|
columns: number;
|
|
2184
|
+
}, {
|
|
2363
2185
|
padding: string;
|
|
2364
2186
|
gap: string;
|
|
2187
|
+
columns: number;
|
|
2365
2188
|
}>;
|
|
2366
2189
|
tablet: z.ZodObject<{
|
|
2367
2190
|
padding: z.ZodString;
|
|
2368
2191
|
gap: z.ZodString;
|
|
2369
2192
|
columns: z.ZodNumber;
|
|
2370
2193
|
}, "strip", z.ZodTypeAny, {
|
|
2371
|
-
columns: number;
|
|
2372
2194
|
padding: string;
|
|
2373
2195
|
gap: string;
|
|
2374
|
-
}, {
|
|
2375
2196
|
columns: number;
|
|
2197
|
+
}, {
|
|
2376
2198
|
padding: string;
|
|
2377
2199
|
gap: string;
|
|
2200
|
+
columns: number;
|
|
2378
2201
|
}>;
|
|
2379
2202
|
desktop: z.ZodObject<{
|
|
2380
2203
|
padding: z.ZodString;
|
|
2381
2204
|
gap: z.ZodString;
|
|
2382
2205
|
columns: z.ZodNumber;
|
|
2383
2206
|
}, "strip", z.ZodTypeAny, {
|
|
2384
|
-
columns: number;
|
|
2385
2207
|
padding: string;
|
|
2386
2208
|
gap: string;
|
|
2387
|
-
}, {
|
|
2388
2209
|
columns: number;
|
|
2210
|
+
}, {
|
|
2389
2211
|
padding: string;
|
|
2390
2212
|
gap: string;
|
|
2213
|
+
columns: number;
|
|
2391
2214
|
}>;
|
|
2392
2215
|
}, "strip", z.ZodTypeAny, {
|
|
2393
2216
|
mobile: {
|
|
2394
|
-
columns: number;
|
|
2395
2217
|
padding: string;
|
|
2396
2218
|
gap: string;
|
|
2219
|
+
columns: number;
|
|
2397
2220
|
};
|
|
2398
2221
|
tablet: {
|
|
2399
|
-
columns: number;
|
|
2400
2222
|
padding: string;
|
|
2401
2223
|
gap: string;
|
|
2224
|
+
columns: number;
|
|
2402
2225
|
};
|
|
2403
2226
|
desktop: {
|
|
2404
|
-
columns: number;
|
|
2405
2227
|
padding: string;
|
|
2406
2228
|
gap: string;
|
|
2229
|
+
columns: number;
|
|
2407
2230
|
};
|
|
2408
2231
|
}, {
|
|
2409
2232
|
mobile: {
|
|
2410
|
-
columns: number;
|
|
2411
2233
|
padding: string;
|
|
2412
2234
|
gap: string;
|
|
2235
|
+
columns: number;
|
|
2413
2236
|
};
|
|
2414
2237
|
tablet: {
|
|
2415
|
-
columns: number;
|
|
2416
2238
|
padding: string;
|
|
2417
2239
|
gap: string;
|
|
2240
|
+
columns: number;
|
|
2418
2241
|
};
|
|
2419
2242
|
desktop: {
|
|
2420
|
-
columns: number;
|
|
2421
2243
|
padding: string;
|
|
2422
2244
|
gap: string;
|
|
2245
|
+
columns: number;
|
|
2423
2246
|
};
|
|
2424
2247
|
}>>;
|
|
2425
2248
|
}, "strip", z.ZodTypeAny, {
|
|
2426
|
-
type: "
|
|
2249
|
+
type: "centered" | "sidebar" | "full";
|
|
2427
2250
|
responsive?: {
|
|
2428
2251
|
mobile: {
|
|
2429
|
-
columns: number;
|
|
2430
2252
|
padding: string;
|
|
2431
2253
|
gap: string;
|
|
2254
|
+
columns: number;
|
|
2432
2255
|
};
|
|
2433
2256
|
tablet: {
|
|
2434
|
-
columns: number;
|
|
2435
2257
|
padding: string;
|
|
2436
2258
|
gap: string;
|
|
2259
|
+
columns: number;
|
|
2437
2260
|
};
|
|
2438
2261
|
desktop: {
|
|
2439
|
-
columns: number;
|
|
2440
2262
|
padding: string;
|
|
2441
2263
|
gap: string;
|
|
2264
|
+
columns: number;
|
|
2442
2265
|
};
|
|
2443
2266
|
} | undefined;
|
|
2444
2267
|
}, {
|
|
2445
|
-
type: "
|
|
2268
|
+
type: "centered" | "sidebar" | "full";
|
|
2446
2269
|
responsive?: {
|
|
2447
2270
|
mobile: {
|
|
2448
|
-
columns: number;
|
|
2449
2271
|
padding: string;
|
|
2450
2272
|
gap: string;
|
|
2273
|
+
columns: number;
|
|
2451
2274
|
};
|
|
2452
2275
|
tablet: {
|
|
2453
|
-
columns: number;
|
|
2454
2276
|
padding: string;
|
|
2455
2277
|
gap: string;
|
|
2278
|
+
columns: number;
|
|
2456
2279
|
};
|
|
2457
2280
|
desktop: {
|
|
2458
|
-
columns: number;
|
|
2459
2281
|
padding: string;
|
|
2460
2282
|
gap: string;
|
|
2283
|
+
columns: number;
|
|
2461
2284
|
};
|
|
2462
2285
|
} | undefined;
|
|
2463
2286
|
}>;
|
|
@@ -2466,12 +2289,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2466
2289
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2467
2290
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2468
2291
|
}, "strip", z.ZodTypeAny, {
|
|
2469
|
-
optional: string[];
|
|
2470
2292
|
texts: string[];
|
|
2293
|
+
optional: string[];
|
|
2471
2294
|
slots: string[];
|
|
2472
2295
|
}, {
|
|
2473
|
-
optional: string[];
|
|
2474
2296
|
texts: string[];
|
|
2297
|
+
optional: string[];
|
|
2475
2298
|
slots: string[];
|
|
2476
2299
|
}>;
|
|
2477
2300
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2493,50 +2316,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2493
2316
|
updated: z.ZodString;
|
|
2494
2317
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2495
2318
|
}, "strip", z.ZodTypeAny, {
|
|
2496
|
-
id: string;
|
|
2497
|
-
name: string;
|
|
2498
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2499
2319
|
description: string;
|
|
2500
|
-
skeleton: {
|
|
2501
|
-
shell: string;
|
|
2502
|
-
page: string;
|
|
2503
|
-
sections: {
|
|
2504
|
-
id: string;
|
|
2505
|
-
name: string;
|
|
2506
|
-
slot: string;
|
|
2507
|
-
required: boolean;
|
|
2508
|
-
}[];
|
|
2509
|
-
};
|
|
2510
|
-
version: string;
|
|
2511
|
-
created: string;
|
|
2512
|
-
updated: string;
|
|
2513
2320
|
layout: {
|
|
2514
|
-
type: "
|
|
2321
|
+
type: "centered" | "sidebar" | "full";
|
|
2515
2322
|
responsive?: {
|
|
2516
2323
|
mobile: {
|
|
2517
|
-
columns: number;
|
|
2518
2324
|
padding: string;
|
|
2519
2325
|
gap: string;
|
|
2326
|
+
columns: number;
|
|
2520
2327
|
};
|
|
2521
2328
|
tablet: {
|
|
2522
|
-
columns: number;
|
|
2523
2329
|
padding: string;
|
|
2524
2330
|
gap: string;
|
|
2331
|
+
columns: number;
|
|
2525
2332
|
};
|
|
2526
2333
|
desktop: {
|
|
2527
|
-
columns: number;
|
|
2528
2334
|
padding: string;
|
|
2529
2335
|
gap: string;
|
|
2336
|
+
columns: number;
|
|
2530
2337
|
};
|
|
2531
2338
|
} | undefined;
|
|
2532
2339
|
};
|
|
2340
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2341
|
+
id: string;
|
|
2342
|
+
name: string;
|
|
2343
|
+
version: string;
|
|
2533
2344
|
importStatement: string;
|
|
2345
|
+
skeleton: {
|
|
2346
|
+
shell: string;
|
|
2347
|
+
page: string;
|
|
2348
|
+
sections: {
|
|
2349
|
+
id: string;
|
|
2350
|
+
name: string;
|
|
2351
|
+
required: boolean;
|
|
2352
|
+
slot: string;
|
|
2353
|
+
}[];
|
|
2354
|
+
};
|
|
2534
2355
|
customizable: {
|
|
2535
|
-
optional: string[];
|
|
2536
2356
|
texts: string[];
|
|
2357
|
+
optional: string[];
|
|
2537
2358
|
slots: string[];
|
|
2538
2359
|
};
|
|
2539
2360
|
requiredComponents: string[];
|
|
2361
|
+
created: string;
|
|
2362
|
+
updated: string;
|
|
2540
2363
|
tags?: string[] | undefined;
|
|
2541
2364
|
exampleProps?: {
|
|
2542
2365
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2544,50 +2367,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2544
2367
|
slots?: string[] | undefined;
|
|
2545
2368
|
} | undefined;
|
|
2546
2369
|
}, {
|
|
2547
|
-
id: string;
|
|
2548
|
-
name: string;
|
|
2549
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2550
2370
|
description: string;
|
|
2551
|
-
skeleton: {
|
|
2552
|
-
shell: string;
|
|
2553
|
-
page: string;
|
|
2554
|
-
sections: {
|
|
2555
|
-
id: string;
|
|
2556
|
-
name: string;
|
|
2557
|
-
slot: string;
|
|
2558
|
-
required: boolean;
|
|
2559
|
-
}[];
|
|
2560
|
-
};
|
|
2561
|
-
version: string;
|
|
2562
|
-
created: string;
|
|
2563
|
-
updated: string;
|
|
2564
2371
|
layout: {
|
|
2565
|
-
type: "
|
|
2372
|
+
type: "centered" | "sidebar" | "full";
|
|
2566
2373
|
responsive?: {
|
|
2567
2374
|
mobile: {
|
|
2568
|
-
columns: number;
|
|
2569
2375
|
padding: string;
|
|
2570
2376
|
gap: string;
|
|
2377
|
+
columns: number;
|
|
2571
2378
|
};
|
|
2572
2379
|
tablet: {
|
|
2573
|
-
columns: number;
|
|
2574
2380
|
padding: string;
|
|
2575
2381
|
gap: string;
|
|
2382
|
+
columns: number;
|
|
2576
2383
|
};
|
|
2577
2384
|
desktop: {
|
|
2578
|
-
columns: number;
|
|
2579
2385
|
padding: string;
|
|
2580
2386
|
gap: string;
|
|
2387
|
+
columns: number;
|
|
2581
2388
|
};
|
|
2582
2389
|
} | undefined;
|
|
2583
2390
|
};
|
|
2391
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2392
|
+
id: string;
|
|
2393
|
+
name: string;
|
|
2394
|
+
version: string;
|
|
2584
2395
|
importStatement: string;
|
|
2396
|
+
skeleton: {
|
|
2397
|
+
shell: string;
|
|
2398
|
+
page: string;
|
|
2399
|
+
sections: {
|
|
2400
|
+
id: string;
|
|
2401
|
+
name: string;
|
|
2402
|
+
required: boolean;
|
|
2403
|
+
slot: string;
|
|
2404
|
+
}[];
|
|
2405
|
+
};
|
|
2585
2406
|
customizable: {
|
|
2586
|
-
optional: string[];
|
|
2587
2407
|
texts: string[];
|
|
2408
|
+
optional: string[];
|
|
2588
2409
|
slots: string[];
|
|
2589
2410
|
};
|
|
2590
2411
|
requiredComponents: string[];
|
|
2412
|
+
created: string;
|
|
2413
|
+
updated: string;
|
|
2591
2414
|
tags?: string[] | undefined;
|
|
2592
2415
|
exampleProps?: {
|
|
2593
2416
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2600,50 +2423,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2600
2423
|
success: boolean;
|
|
2601
2424
|
error?: string | undefined;
|
|
2602
2425
|
template?: {
|
|
2603
|
-
id: string;
|
|
2604
|
-
name: string;
|
|
2605
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2606
2426
|
description: string;
|
|
2607
|
-
skeleton: {
|
|
2608
|
-
shell: string;
|
|
2609
|
-
page: string;
|
|
2610
|
-
sections: {
|
|
2611
|
-
id: string;
|
|
2612
|
-
name: string;
|
|
2613
|
-
slot: string;
|
|
2614
|
-
required: boolean;
|
|
2615
|
-
}[];
|
|
2616
|
-
};
|
|
2617
|
-
version: string;
|
|
2618
|
-
created: string;
|
|
2619
|
-
updated: string;
|
|
2620
2427
|
layout: {
|
|
2621
|
-
type: "
|
|
2428
|
+
type: "centered" | "sidebar" | "full";
|
|
2622
2429
|
responsive?: {
|
|
2623
2430
|
mobile: {
|
|
2624
|
-
columns: number;
|
|
2625
2431
|
padding: string;
|
|
2626
2432
|
gap: string;
|
|
2433
|
+
columns: number;
|
|
2627
2434
|
};
|
|
2628
2435
|
tablet: {
|
|
2629
|
-
columns: number;
|
|
2630
2436
|
padding: string;
|
|
2631
2437
|
gap: string;
|
|
2438
|
+
columns: number;
|
|
2632
2439
|
};
|
|
2633
2440
|
desktop: {
|
|
2634
|
-
columns: number;
|
|
2635
2441
|
padding: string;
|
|
2636
2442
|
gap: string;
|
|
2443
|
+
columns: number;
|
|
2637
2444
|
};
|
|
2638
2445
|
} | undefined;
|
|
2639
2446
|
};
|
|
2447
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2448
|
+
id: string;
|
|
2449
|
+
name: string;
|
|
2450
|
+
version: string;
|
|
2640
2451
|
importStatement: string;
|
|
2452
|
+
skeleton: {
|
|
2453
|
+
shell: string;
|
|
2454
|
+
page: string;
|
|
2455
|
+
sections: {
|
|
2456
|
+
id: string;
|
|
2457
|
+
name: string;
|
|
2458
|
+
required: boolean;
|
|
2459
|
+
slot: string;
|
|
2460
|
+
}[];
|
|
2461
|
+
};
|
|
2641
2462
|
customizable: {
|
|
2642
|
-
optional: string[];
|
|
2643
2463
|
texts: string[];
|
|
2464
|
+
optional: string[];
|
|
2644
2465
|
slots: string[];
|
|
2645
2466
|
};
|
|
2646
2467
|
requiredComponents: string[];
|
|
2468
|
+
created: string;
|
|
2469
|
+
updated: string;
|
|
2647
2470
|
tags?: string[] | undefined;
|
|
2648
2471
|
exampleProps?: {
|
|
2649
2472
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2655,50 +2478,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2655
2478
|
success: boolean;
|
|
2656
2479
|
error?: string | undefined;
|
|
2657
2480
|
template?: {
|
|
2658
|
-
id: string;
|
|
2659
|
-
name: string;
|
|
2660
|
-
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2661
2481
|
description: string;
|
|
2662
|
-
skeleton: {
|
|
2663
|
-
shell: string;
|
|
2664
|
-
page: string;
|
|
2665
|
-
sections: {
|
|
2666
|
-
id: string;
|
|
2667
|
-
name: string;
|
|
2668
|
-
slot: string;
|
|
2669
|
-
required: boolean;
|
|
2670
|
-
}[];
|
|
2671
|
-
};
|
|
2672
|
-
version: string;
|
|
2673
|
-
created: string;
|
|
2674
|
-
updated: string;
|
|
2675
2482
|
layout: {
|
|
2676
|
-
type: "
|
|
2483
|
+
type: "centered" | "sidebar" | "full";
|
|
2677
2484
|
responsive?: {
|
|
2678
2485
|
mobile: {
|
|
2679
|
-
columns: number;
|
|
2680
2486
|
padding: string;
|
|
2681
2487
|
gap: string;
|
|
2488
|
+
columns: number;
|
|
2682
2489
|
};
|
|
2683
2490
|
tablet: {
|
|
2684
|
-
columns: number;
|
|
2685
2491
|
padding: string;
|
|
2686
2492
|
gap: string;
|
|
2493
|
+
columns: number;
|
|
2687
2494
|
};
|
|
2688
2495
|
desktop: {
|
|
2689
|
-
columns: number;
|
|
2690
2496
|
padding: string;
|
|
2691
2497
|
gap: string;
|
|
2498
|
+
columns: number;
|
|
2692
2499
|
};
|
|
2693
2500
|
} | undefined;
|
|
2694
2501
|
};
|
|
2502
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2503
|
+
id: string;
|
|
2504
|
+
name: string;
|
|
2505
|
+
version: string;
|
|
2695
2506
|
importStatement: string;
|
|
2507
|
+
skeleton: {
|
|
2508
|
+
shell: string;
|
|
2509
|
+
page: string;
|
|
2510
|
+
sections: {
|
|
2511
|
+
id: string;
|
|
2512
|
+
name: string;
|
|
2513
|
+
required: boolean;
|
|
2514
|
+
slot: string;
|
|
2515
|
+
}[];
|
|
2516
|
+
};
|
|
2696
2517
|
customizable: {
|
|
2697
|
-
optional: string[];
|
|
2698
2518
|
texts: string[];
|
|
2519
|
+
optional: string[];
|
|
2699
2520
|
slots: string[];
|
|
2700
2521
|
};
|
|
2701
2522
|
requiredComponents: string[];
|
|
2523
|
+
created: string;
|
|
2524
|
+
updated: string;
|
|
2702
2525
|
tags?: string[] | undefined;
|
|
2703
2526
|
exampleProps?: {
|
|
2704
2527
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2746,13 +2569,13 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2746
2569
|
}, "strip", z.ZodTypeAny, {
|
|
2747
2570
|
id: string;
|
|
2748
2571
|
name: string;
|
|
2749
|
-
slot: string;
|
|
2750
2572
|
required: boolean;
|
|
2573
|
+
slot: string;
|
|
2751
2574
|
}, {
|
|
2752
2575
|
id: string;
|
|
2753
2576
|
name: string;
|
|
2754
|
-
slot: string;
|
|
2755
2577
|
required: boolean;
|
|
2578
|
+
slot: string;
|
|
2756
2579
|
}>, "many">;
|
|
2757
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2758
2581
|
shell: string;
|
|
@@ -2760,8 +2583,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2760
2583
|
sections: {
|
|
2761
2584
|
id: string;
|
|
2762
2585
|
name: string;
|
|
2763
|
-
slot: string;
|
|
2764
2586
|
required: boolean;
|
|
2587
|
+
slot: string;
|
|
2765
2588
|
}[];
|
|
2766
2589
|
}, {
|
|
2767
2590
|
shell: string;
|
|
@@ -2769,15 +2592,15 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2769
2592
|
sections: {
|
|
2770
2593
|
id: string;
|
|
2771
2594
|
name: string;
|
|
2772
|
-
slot: string;
|
|
2773
2595
|
required: boolean;
|
|
2596
|
+
slot: string;
|
|
2774
2597
|
}[];
|
|
2775
2598
|
}>>;
|
|
2776
2599
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2777
2600
|
}, "strip", z.ZodTypeAny, {
|
|
2778
|
-
category: string;
|
|
2779
2601
|
templateId: string;
|
|
2780
2602
|
templateName: string;
|
|
2603
|
+
category: string;
|
|
2781
2604
|
confidence: number;
|
|
2782
2605
|
matchedKeywords: string[];
|
|
2783
2606
|
skeleton?: {
|
|
@@ -2786,15 +2609,15 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2786
2609
|
sections: {
|
|
2787
2610
|
id: string;
|
|
2788
2611
|
name: string;
|
|
2789
|
-
slot: string;
|
|
2790
2612
|
required: boolean;
|
|
2613
|
+
slot: string;
|
|
2791
2614
|
}[];
|
|
2792
2615
|
} | undefined;
|
|
2793
2616
|
requiredComponents?: string[] | undefined;
|
|
2794
2617
|
}, {
|
|
2795
|
-
category: string;
|
|
2796
2618
|
templateId: string;
|
|
2797
2619
|
templateName: string;
|
|
2620
|
+
category: string;
|
|
2798
2621
|
confidence: number;
|
|
2799
2622
|
matchedKeywords: string[];
|
|
2800
2623
|
skeleton?: {
|
|
@@ -2803,8 +2626,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2803
2626
|
sections: {
|
|
2804
2627
|
id: string;
|
|
2805
2628
|
name: string;
|
|
2806
|
-
slot: string;
|
|
2807
2629
|
required: boolean;
|
|
2630
|
+
slot: string;
|
|
2808
2631
|
}[];
|
|
2809
2632
|
} | undefined;
|
|
2810
2633
|
requiredComponents?: string[] | undefined;
|
|
@@ -2826,14 +2649,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2826
2649
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2827
2650
|
description: z.ZodOptional<z.ZodString>;
|
|
2828
2651
|
}, "strip", z.ZodTypeAny, {
|
|
2829
|
-
name: string;
|
|
2830
2652
|
type: string;
|
|
2653
|
+
name: string;
|
|
2831
2654
|
required: boolean;
|
|
2832
2655
|
description?: string | undefined;
|
|
2833
2656
|
defaultValue?: string | undefined;
|
|
2834
2657
|
}, {
|
|
2835
|
-
name: string;
|
|
2836
2658
|
type: string;
|
|
2659
|
+
name: string;
|
|
2837
2660
|
required: boolean;
|
|
2838
2661
|
description?: string | undefined;
|
|
2839
2662
|
defaultValue?: string | undefined;
|
|
@@ -2843,48 +2666,48 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2843
2666
|
value: z.ZodString;
|
|
2844
2667
|
description: z.ZodOptional<z.ZodString>;
|
|
2845
2668
|
}, "strip", z.ZodTypeAny, {
|
|
2846
|
-
name: string;
|
|
2847
2669
|
value: string;
|
|
2670
|
+
name: string;
|
|
2848
2671
|
description?: string | undefined;
|
|
2849
2672
|
}, {
|
|
2850
|
-
name: string;
|
|
2851
2673
|
value: string;
|
|
2674
|
+
name: string;
|
|
2852
2675
|
description?: string | undefined;
|
|
2853
2676
|
}>, "many">>;
|
|
2854
2677
|
}, "strip", z.ZodTypeAny, {
|
|
2678
|
+
description: string;
|
|
2679
|
+
category: "core" | "complex" | "advanced";
|
|
2855
2680
|
id: string;
|
|
2856
2681
|
name: string;
|
|
2857
|
-
|
|
2858
|
-
description: string;
|
|
2682
|
+
importStatement: string;
|
|
2859
2683
|
props: {
|
|
2860
|
-
name: string;
|
|
2861
2684
|
type: string;
|
|
2685
|
+
name: string;
|
|
2862
2686
|
required: boolean;
|
|
2863
2687
|
description?: string | undefined;
|
|
2864
2688
|
defaultValue?: string | undefined;
|
|
2865
2689
|
}[];
|
|
2866
|
-
importStatement: string;
|
|
2867
2690
|
variants?: {
|
|
2868
|
-
name: string;
|
|
2869
2691
|
value: string;
|
|
2692
|
+
name: string;
|
|
2870
2693
|
description?: string | undefined;
|
|
2871
2694
|
}[] | undefined;
|
|
2872
2695
|
}, {
|
|
2696
|
+
description: string;
|
|
2697
|
+
category: "core" | "complex" | "advanced";
|
|
2873
2698
|
id: string;
|
|
2874
2699
|
name: string;
|
|
2875
|
-
|
|
2876
|
-
description: string;
|
|
2700
|
+
importStatement: string;
|
|
2877
2701
|
props: {
|
|
2878
|
-
name: string;
|
|
2879
2702
|
type: string;
|
|
2703
|
+
name: string;
|
|
2880
2704
|
required: boolean;
|
|
2881
2705
|
description?: string | undefined;
|
|
2882
2706
|
defaultValue?: string | undefined;
|
|
2883
2707
|
}[];
|
|
2884
|
-
importStatement: string;
|
|
2885
2708
|
variants?: {
|
|
2886
|
-
name: string;
|
|
2887
2709
|
value: string;
|
|
2710
|
+
name: string;
|
|
2888
2711
|
description?: string | undefined;
|
|
2889
2712
|
}[] | undefined;
|
|
2890
2713
|
}>;
|
|
@@ -2918,21 +2741,21 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2918
2741
|
}>, "many">;
|
|
2919
2742
|
}, "strip", z.ZodTypeAny, {
|
|
2920
2743
|
id: string;
|
|
2921
|
-
pattern: string;
|
|
2922
2744
|
components: {
|
|
2923
2745
|
type: string;
|
|
2924
2746
|
props?: Record<string, unknown> | undefined;
|
|
2925
2747
|
children?: string | unknown[] | undefined;
|
|
2926
2748
|
}[];
|
|
2749
|
+
pattern: string;
|
|
2927
2750
|
slot?: string | undefined;
|
|
2928
2751
|
}, {
|
|
2929
2752
|
id: string;
|
|
2930
|
-
pattern: string;
|
|
2931
2753
|
components: {
|
|
2932
2754
|
type: string;
|
|
2933
2755
|
props?: Record<string, unknown> | undefined;
|
|
2934
2756
|
children?: string | unknown[] | undefined;
|
|
2935
2757
|
}[];
|
|
2758
|
+
pattern: string;
|
|
2936
2759
|
slot?: string | undefined;
|
|
2937
2760
|
}>, "many">;
|
|
2938
2761
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2942,60 +2765,60 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2942
2765
|
updated: z.ZodOptional<z.ZodString>;
|
|
2943
2766
|
}, "strip", z.ZodTypeAny, {
|
|
2944
2767
|
version?: string | undefined;
|
|
2945
|
-
author?: string | undefined;
|
|
2946
2768
|
created?: string | undefined;
|
|
2947
2769
|
updated?: string | undefined;
|
|
2770
|
+
author?: string | undefined;
|
|
2948
2771
|
}, {
|
|
2949
2772
|
version?: string | undefined;
|
|
2950
|
-
author?: string | undefined;
|
|
2951
2773
|
created?: string | undefined;
|
|
2952
2774
|
updated?: string | undefined;
|
|
2775
|
+
author?: string | undefined;
|
|
2953
2776
|
}>>;
|
|
2954
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2955
|
-
id: string;
|
|
2956
2778
|
shell: string;
|
|
2957
2779
|
page: string;
|
|
2780
|
+
id: string;
|
|
2958
2781
|
sections: {
|
|
2959
2782
|
id: string;
|
|
2960
|
-
pattern: string;
|
|
2961
2783
|
components: {
|
|
2962
2784
|
type: string;
|
|
2963
2785
|
props?: Record<string, unknown> | undefined;
|
|
2964
2786
|
children?: string | unknown[] | undefined;
|
|
2965
2787
|
}[];
|
|
2788
|
+
pattern: string;
|
|
2966
2789
|
slot?: string | undefined;
|
|
2967
2790
|
}[];
|
|
2968
|
-
name?: string | undefined;
|
|
2969
2791
|
description?: string | undefined;
|
|
2970
2792
|
themeId?: string | undefined;
|
|
2793
|
+
name?: string | undefined;
|
|
2971
2794
|
metadata?: {
|
|
2972
2795
|
version?: string | undefined;
|
|
2973
|
-
author?: string | undefined;
|
|
2974
2796
|
created?: string | undefined;
|
|
2975
2797
|
updated?: string | undefined;
|
|
2798
|
+
author?: string | undefined;
|
|
2976
2799
|
} | undefined;
|
|
2977
2800
|
}, {
|
|
2978
|
-
id: string;
|
|
2979
2801
|
shell: string;
|
|
2980
2802
|
page: string;
|
|
2803
|
+
id: string;
|
|
2981
2804
|
sections: {
|
|
2982
2805
|
id: string;
|
|
2983
|
-
pattern: string;
|
|
2984
2806
|
components: {
|
|
2985
2807
|
type: string;
|
|
2986
2808
|
props?: Record<string, unknown> | undefined;
|
|
2987
2809
|
children?: string | unknown[] | undefined;
|
|
2988
2810
|
}[];
|
|
2811
|
+
pattern: string;
|
|
2989
2812
|
slot?: string | undefined;
|
|
2990
2813
|
}[];
|
|
2991
|
-
name?: string | undefined;
|
|
2992
2814
|
description?: string | undefined;
|
|
2993
2815
|
themeId?: string | undefined;
|
|
2816
|
+
name?: string | undefined;
|
|
2994
2817
|
metadata?: {
|
|
2995
2818
|
version?: string | undefined;
|
|
2996
|
-
author?: string | undefined;
|
|
2997
2819
|
created?: string | undefined;
|
|
2998
2820
|
updated?: string | undefined;
|
|
2821
|
+
author?: string | undefined;
|
|
2999
2822
|
} | undefined;
|
|
3000
2823
|
}>;
|
|
3001
2824
|
export type ScreenDefinition = z.infer<typeof ScreenDefinitionSchema>;
|
|
@@ -3031,21 +2854,21 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3031
2854
|
}>, "many">;
|
|
3032
2855
|
}, "strip", z.ZodTypeAny, {
|
|
3033
2856
|
id: string;
|
|
3034
|
-
pattern: string;
|
|
3035
2857
|
components: {
|
|
3036
2858
|
type: string;
|
|
3037
2859
|
props?: Record<string, unknown> | undefined;
|
|
3038
2860
|
children?: string | unknown[] | undefined;
|
|
3039
2861
|
}[];
|
|
2862
|
+
pattern: string;
|
|
3040
2863
|
slot?: string | undefined;
|
|
3041
2864
|
}, {
|
|
3042
2865
|
id: string;
|
|
3043
|
-
pattern: string;
|
|
3044
2866
|
components: {
|
|
3045
2867
|
type: string;
|
|
3046
2868
|
props?: Record<string, unknown> | undefined;
|
|
3047
2869
|
children?: string | unknown[] | undefined;
|
|
3048
2870
|
}[];
|
|
2871
|
+
pattern: string;
|
|
3049
2872
|
slot?: string | undefined;
|
|
3050
2873
|
}>, "many">;
|
|
3051
2874
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3055,114 +2878,114 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3055
2878
|
updated: z.ZodOptional<z.ZodString>;
|
|
3056
2879
|
}, "strip", z.ZodTypeAny, {
|
|
3057
2880
|
version?: string | undefined;
|
|
3058
|
-
author?: string | undefined;
|
|
3059
2881
|
created?: string | undefined;
|
|
3060
2882
|
updated?: string | undefined;
|
|
2883
|
+
author?: string | undefined;
|
|
3061
2884
|
}, {
|
|
3062
2885
|
version?: string | undefined;
|
|
3063
|
-
author?: string | undefined;
|
|
3064
2886
|
created?: string | undefined;
|
|
3065
2887
|
updated?: string | undefined;
|
|
2888
|
+
author?: string | undefined;
|
|
3066
2889
|
}>>;
|
|
3067
2890
|
}, "strip", z.ZodTypeAny, {
|
|
3068
|
-
id: string;
|
|
3069
2891
|
shell: string;
|
|
3070
2892
|
page: string;
|
|
2893
|
+
id: string;
|
|
3071
2894
|
sections: {
|
|
3072
2895
|
id: string;
|
|
3073
|
-
pattern: string;
|
|
3074
2896
|
components: {
|
|
3075
2897
|
type: string;
|
|
3076
2898
|
props?: Record<string, unknown> | undefined;
|
|
3077
2899
|
children?: string | unknown[] | undefined;
|
|
3078
2900
|
}[];
|
|
2901
|
+
pattern: string;
|
|
3079
2902
|
slot?: string | undefined;
|
|
3080
2903
|
}[];
|
|
3081
|
-
name?: string | undefined;
|
|
3082
2904
|
description?: string | undefined;
|
|
3083
2905
|
themeId?: string | undefined;
|
|
2906
|
+
name?: string | undefined;
|
|
3084
2907
|
metadata?: {
|
|
3085
2908
|
version?: string | undefined;
|
|
3086
|
-
author?: string | undefined;
|
|
3087
2909
|
created?: string | undefined;
|
|
3088
2910
|
updated?: string | undefined;
|
|
2911
|
+
author?: string | undefined;
|
|
3089
2912
|
} | undefined;
|
|
3090
2913
|
}, {
|
|
3091
|
-
id: string;
|
|
3092
2914
|
shell: string;
|
|
3093
2915
|
page: string;
|
|
2916
|
+
id: string;
|
|
3094
2917
|
sections: {
|
|
3095
2918
|
id: string;
|
|
3096
|
-
pattern: string;
|
|
3097
2919
|
components: {
|
|
3098
2920
|
type: string;
|
|
3099
2921
|
props?: Record<string, unknown> | undefined;
|
|
3100
2922
|
children?: string | unknown[] | undefined;
|
|
3101
2923
|
}[];
|
|
2924
|
+
pattern: string;
|
|
3102
2925
|
slot?: string | undefined;
|
|
3103
2926
|
}[];
|
|
3104
|
-
name?: string | undefined;
|
|
3105
2927
|
description?: string | undefined;
|
|
3106
2928
|
themeId?: string | undefined;
|
|
2929
|
+
name?: string | undefined;
|
|
3107
2930
|
metadata?: {
|
|
3108
2931
|
version?: string | undefined;
|
|
3109
|
-
author?: string | undefined;
|
|
3110
2932
|
created?: string | undefined;
|
|
3111
2933
|
updated?: string | undefined;
|
|
2934
|
+
author?: string | undefined;
|
|
3112
2935
|
} | undefined;
|
|
3113
2936
|
}>;
|
|
3114
2937
|
}, "strip", z.ZodTypeAny, {
|
|
3115
|
-
name: string;
|
|
3116
2938
|
description: string;
|
|
2939
|
+
name: string;
|
|
3117
2940
|
definition: {
|
|
3118
|
-
id: string;
|
|
3119
2941
|
shell: string;
|
|
3120
2942
|
page: string;
|
|
2943
|
+
id: string;
|
|
3121
2944
|
sections: {
|
|
3122
2945
|
id: string;
|
|
3123
|
-
pattern: string;
|
|
3124
2946
|
components: {
|
|
3125
2947
|
type: string;
|
|
3126
2948
|
props?: Record<string, unknown> | undefined;
|
|
3127
2949
|
children?: string | unknown[] | undefined;
|
|
3128
2950
|
}[];
|
|
2951
|
+
pattern: string;
|
|
3129
2952
|
slot?: string | undefined;
|
|
3130
2953
|
}[];
|
|
3131
|
-
name?: string | undefined;
|
|
3132
2954
|
description?: string | undefined;
|
|
3133
2955
|
themeId?: string | undefined;
|
|
2956
|
+
name?: string | undefined;
|
|
3134
2957
|
metadata?: {
|
|
3135
2958
|
version?: string | undefined;
|
|
3136
|
-
author?: string | undefined;
|
|
3137
2959
|
created?: string | undefined;
|
|
3138
2960
|
updated?: string | undefined;
|
|
2961
|
+
author?: string | undefined;
|
|
3139
2962
|
} | undefined;
|
|
3140
2963
|
};
|
|
3141
2964
|
}, {
|
|
3142
|
-
name: string;
|
|
3143
2965
|
description: string;
|
|
2966
|
+
name: string;
|
|
3144
2967
|
definition: {
|
|
3145
|
-
id: string;
|
|
3146
2968
|
shell: string;
|
|
3147
2969
|
page: string;
|
|
2970
|
+
id: string;
|
|
3148
2971
|
sections: {
|
|
3149
2972
|
id: string;
|
|
3150
|
-
pattern: string;
|
|
3151
2973
|
components: {
|
|
3152
2974
|
type: string;
|
|
3153
2975
|
props?: Record<string, unknown> | undefined;
|
|
3154
2976
|
children?: string | unknown[] | undefined;
|
|
3155
2977
|
}[];
|
|
2978
|
+
pattern: string;
|
|
3156
2979
|
slot?: string | undefined;
|
|
3157
2980
|
}[];
|
|
3158
|
-
name?: string | undefined;
|
|
3159
2981
|
description?: string | undefined;
|
|
3160
2982
|
themeId?: string | undefined;
|
|
2983
|
+
name?: string | undefined;
|
|
3161
2984
|
metadata?: {
|
|
3162
2985
|
version?: string | undefined;
|
|
3163
|
-
author?: string | undefined;
|
|
3164
2986
|
created?: string | undefined;
|
|
3165
2987
|
updated?: string | undefined;
|
|
2988
|
+
author?: string | undefined;
|
|
3166
2989
|
} | undefined;
|
|
3167
2990
|
};
|
|
3168
2991
|
}>;
|
|
@@ -3193,13 +3016,13 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3193
3016
|
message: z.ZodString;
|
|
3194
3017
|
example: z.ZodOptional<z.ZodString>;
|
|
3195
3018
|
}, "strip", z.ZodTypeAny, {
|
|
3196
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3197
3019
|
message: string;
|
|
3020
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3198
3021
|
priority: "high" | "medium" | "low";
|
|
3199
3022
|
example?: string | undefined;
|
|
3200
3023
|
}, {
|
|
3201
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3202
3024
|
message: string;
|
|
3025
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3203
3026
|
priority: "high" | "medium" | "low";
|
|
3204
3027
|
example?: string | undefined;
|
|
3205
3028
|
}>;
|
|
@@ -3216,14 +3039,14 @@ export declare const WorkflowStepSchema: z.ZodObject<{
|
|
|
3216
3039
|
example: z.ZodOptional<z.ZodString>;
|
|
3217
3040
|
}, "strip", z.ZodTypeAny, {
|
|
3218
3041
|
description: string;
|
|
3219
|
-
action: string;
|
|
3220
3042
|
step: number;
|
|
3043
|
+
action: string;
|
|
3221
3044
|
example?: string | undefined;
|
|
3222
3045
|
tool?: string | undefined;
|
|
3223
3046
|
}, {
|
|
3224
3047
|
description: string;
|
|
3225
|
-
action: string;
|
|
3226
3048
|
step: number;
|
|
3049
|
+
action: string;
|
|
3227
3050
|
example?: string | undefined;
|
|
3228
3051
|
tool?: string | undefined;
|
|
3229
3052
|
}>;
|
|
@@ -3243,14 +3066,14 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3243
3066
|
example: z.ZodOptional<z.ZodString>;
|
|
3244
3067
|
}, "strip", z.ZodTypeAny, {
|
|
3245
3068
|
description: string;
|
|
3246
|
-
action: string;
|
|
3247
3069
|
step: number;
|
|
3070
|
+
action: string;
|
|
3248
3071
|
example?: string | undefined;
|
|
3249
3072
|
tool?: string | undefined;
|
|
3250
3073
|
}, {
|
|
3251
3074
|
description: string;
|
|
3252
|
-
action: string;
|
|
3253
3075
|
step: number;
|
|
3076
|
+
action: string;
|
|
3254
3077
|
example?: string | undefined;
|
|
3255
3078
|
tool?: string | undefined;
|
|
3256
3079
|
}>, "many">;
|
|
@@ -3260,8 +3083,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3260
3083
|
title: string;
|
|
3261
3084
|
steps: {
|
|
3262
3085
|
description: string;
|
|
3263
|
-
action: string;
|
|
3264
3086
|
step: number;
|
|
3087
|
+
action: string;
|
|
3265
3088
|
example?: string | undefined;
|
|
3266
3089
|
tool?: string | undefined;
|
|
3267
3090
|
}[];
|
|
@@ -3271,8 +3094,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3271
3094
|
title: string;
|
|
3272
3095
|
steps: {
|
|
3273
3096
|
description: string;
|
|
3274
|
-
action: string;
|
|
3275
3097
|
step: number;
|
|
3098
|
+
action: string;
|
|
3276
3099
|
example?: string | undefined;
|
|
3277
3100
|
tool?: string | undefined;
|
|
3278
3101
|
}[];
|
|
@@ -3301,13 +3124,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3301
3124
|
}, "strip", z.ZodTypeAny, {
|
|
3302
3125
|
id: string;
|
|
3303
3126
|
name: string;
|
|
3304
|
-
slot: string;
|
|
3305
3127
|
required: boolean;
|
|
3128
|
+
slot: string;
|
|
3306
3129
|
}, {
|
|
3307
3130
|
id: string;
|
|
3308
3131
|
name: string;
|
|
3309
|
-
slot: string;
|
|
3310
3132
|
required: boolean;
|
|
3133
|
+
slot: string;
|
|
3311
3134
|
}>, "many">;
|
|
3312
3135
|
}, "strip", z.ZodTypeAny, {
|
|
3313
3136
|
shell: string;
|
|
@@ -3315,8 +3138,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3315
3138
|
sections: {
|
|
3316
3139
|
id: string;
|
|
3317
3140
|
name: string;
|
|
3318
|
-
slot: string;
|
|
3319
3141
|
required: boolean;
|
|
3142
|
+
slot: string;
|
|
3320
3143
|
}[];
|
|
3321
3144
|
}, {
|
|
3322
3145
|
shell: string;
|
|
@@ -3324,15 +3147,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3324
3147
|
sections: {
|
|
3325
3148
|
id: string;
|
|
3326
3149
|
name: string;
|
|
3327
|
-
slot: string;
|
|
3328
3150
|
required: boolean;
|
|
3151
|
+
slot: string;
|
|
3329
3152
|
}[];
|
|
3330
3153
|
}>>;
|
|
3331
3154
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3332
3155
|
}, "strip", z.ZodTypeAny, {
|
|
3333
|
-
category: string;
|
|
3334
3156
|
templateId: string;
|
|
3335
3157
|
templateName: string;
|
|
3158
|
+
category: string;
|
|
3336
3159
|
confidence: number;
|
|
3337
3160
|
matchedKeywords: string[];
|
|
3338
3161
|
skeleton?: {
|
|
@@ -3341,15 +3164,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3341
3164
|
sections: {
|
|
3342
3165
|
id: string;
|
|
3343
3166
|
name: string;
|
|
3344
|
-
slot: string;
|
|
3345
3167
|
required: boolean;
|
|
3168
|
+
slot: string;
|
|
3346
3169
|
}[];
|
|
3347
3170
|
} | undefined;
|
|
3348
3171
|
requiredComponents?: string[] | undefined;
|
|
3349
3172
|
}, {
|
|
3350
|
-
category: string;
|
|
3351
3173
|
templateId: string;
|
|
3352
3174
|
templateName: string;
|
|
3175
|
+
category: string;
|
|
3353
3176
|
confidence: number;
|
|
3354
3177
|
matchedKeywords: string[];
|
|
3355
3178
|
skeleton?: {
|
|
@@ -3358,8 +3181,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3358
3181
|
sections: {
|
|
3359
3182
|
id: string;
|
|
3360
3183
|
name: string;
|
|
3361
|
-
slot: string;
|
|
3362
3184
|
required: boolean;
|
|
3185
|
+
slot: string;
|
|
3363
3186
|
}[];
|
|
3364
3187
|
} | undefined;
|
|
3365
3188
|
requiredComponents?: string[] | undefined;
|
|
@@ -3377,14 +3200,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3377
3200
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3378
3201
|
description: z.ZodOptional<z.ZodString>;
|
|
3379
3202
|
}, "strip", z.ZodTypeAny, {
|
|
3380
|
-
name: string;
|
|
3381
3203
|
type: string;
|
|
3204
|
+
name: string;
|
|
3382
3205
|
required: boolean;
|
|
3383
3206
|
description?: string | undefined;
|
|
3384
3207
|
defaultValue?: string | undefined;
|
|
3385
3208
|
}, {
|
|
3386
|
-
name: string;
|
|
3387
3209
|
type: string;
|
|
3210
|
+
name: string;
|
|
3388
3211
|
required: boolean;
|
|
3389
3212
|
description?: string | undefined;
|
|
3390
3213
|
defaultValue?: string | undefined;
|
|
@@ -3394,48 +3217,48 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3394
3217
|
value: z.ZodString;
|
|
3395
3218
|
description: z.ZodOptional<z.ZodString>;
|
|
3396
3219
|
}, "strip", z.ZodTypeAny, {
|
|
3397
|
-
name: string;
|
|
3398
3220
|
value: string;
|
|
3221
|
+
name: string;
|
|
3399
3222
|
description?: string | undefined;
|
|
3400
3223
|
}, {
|
|
3401
|
-
name: string;
|
|
3402
3224
|
value: string;
|
|
3225
|
+
name: string;
|
|
3403
3226
|
description?: string | undefined;
|
|
3404
3227
|
}>, "many">>;
|
|
3405
3228
|
}, "strip", z.ZodTypeAny, {
|
|
3229
|
+
description: string;
|
|
3230
|
+
category: "core" | "complex" | "advanced";
|
|
3406
3231
|
id: string;
|
|
3407
3232
|
name: string;
|
|
3408
|
-
|
|
3409
|
-
description: string;
|
|
3233
|
+
importStatement: string;
|
|
3410
3234
|
props: {
|
|
3411
|
-
name: string;
|
|
3412
3235
|
type: string;
|
|
3236
|
+
name: string;
|
|
3413
3237
|
required: boolean;
|
|
3414
3238
|
description?: string | undefined;
|
|
3415
3239
|
defaultValue?: string | undefined;
|
|
3416
3240
|
}[];
|
|
3417
|
-
importStatement: string;
|
|
3418
3241
|
variants?: {
|
|
3419
|
-
name: string;
|
|
3420
3242
|
value: string;
|
|
3243
|
+
name: string;
|
|
3421
3244
|
description?: string | undefined;
|
|
3422
3245
|
}[] | undefined;
|
|
3423
3246
|
}, {
|
|
3247
|
+
description: string;
|
|
3248
|
+
category: "core" | "complex" | "advanced";
|
|
3424
3249
|
id: string;
|
|
3425
3250
|
name: string;
|
|
3426
|
-
|
|
3427
|
-
description: string;
|
|
3251
|
+
importStatement: string;
|
|
3428
3252
|
props: {
|
|
3429
|
-
name: string;
|
|
3430
3253
|
type: string;
|
|
3254
|
+
name: string;
|
|
3431
3255
|
required: boolean;
|
|
3432
3256
|
description?: string | undefined;
|
|
3433
3257
|
defaultValue?: string | undefined;
|
|
3434
3258
|
}[];
|
|
3435
|
-
importStatement: string;
|
|
3436
3259
|
variants?: {
|
|
3437
|
-
name: string;
|
|
3438
3260
|
value: string;
|
|
3261
|
+
name: string;
|
|
3439
3262
|
description?: string | undefined;
|
|
3440
3263
|
}[] | undefined;
|
|
3441
3264
|
}>, "many">>;
|
|
@@ -3478,21 +3301,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3478
3301
|
}>, "many">;
|
|
3479
3302
|
}, "strip", z.ZodTypeAny, {
|
|
3480
3303
|
id: string;
|
|
3481
|
-
pattern: string;
|
|
3482
3304
|
components: {
|
|
3483
3305
|
type: string;
|
|
3484
3306
|
props?: Record<string, unknown> | undefined;
|
|
3485
3307
|
children?: string | unknown[] | undefined;
|
|
3486
3308
|
}[];
|
|
3309
|
+
pattern: string;
|
|
3487
3310
|
slot?: string | undefined;
|
|
3488
3311
|
}, {
|
|
3489
3312
|
id: string;
|
|
3490
|
-
pattern: string;
|
|
3491
3313
|
components: {
|
|
3492
3314
|
type: string;
|
|
3493
3315
|
props?: Record<string, unknown> | undefined;
|
|
3494
3316
|
children?: string | unknown[] | undefined;
|
|
3495
3317
|
}[];
|
|
3318
|
+
pattern: string;
|
|
3496
3319
|
slot?: string | undefined;
|
|
3497
3320
|
}>, "many">;
|
|
3498
3321
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3502,114 +3325,114 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3502
3325
|
updated: z.ZodOptional<z.ZodString>;
|
|
3503
3326
|
}, "strip", z.ZodTypeAny, {
|
|
3504
3327
|
version?: string | undefined;
|
|
3505
|
-
author?: string | undefined;
|
|
3506
3328
|
created?: string | undefined;
|
|
3507
3329
|
updated?: string | undefined;
|
|
3330
|
+
author?: string | undefined;
|
|
3508
3331
|
}, {
|
|
3509
3332
|
version?: string | undefined;
|
|
3510
|
-
author?: string | undefined;
|
|
3511
3333
|
created?: string | undefined;
|
|
3512
3334
|
updated?: string | undefined;
|
|
3335
|
+
author?: string | undefined;
|
|
3513
3336
|
}>>;
|
|
3514
3337
|
}, "strip", z.ZodTypeAny, {
|
|
3515
|
-
id: string;
|
|
3516
3338
|
shell: string;
|
|
3517
3339
|
page: string;
|
|
3340
|
+
id: string;
|
|
3518
3341
|
sections: {
|
|
3519
3342
|
id: string;
|
|
3520
|
-
pattern: string;
|
|
3521
3343
|
components: {
|
|
3522
3344
|
type: string;
|
|
3523
3345
|
props?: Record<string, unknown> | undefined;
|
|
3524
3346
|
children?: string | unknown[] | undefined;
|
|
3525
3347
|
}[];
|
|
3348
|
+
pattern: string;
|
|
3526
3349
|
slot?: string | undefined;
|
|
3527
3350
|
}[];
|
|
3528
|
-
name?: string | undefined;
|
|
3529
3351
|
description?: string | undefined;
|
|
3530
3352
|
themeId?: string | undefined;
|
|
3353
|
+
name?: string | undefined;
|
|
3531
3354
|
metadata?: {
|
|
3532
3355
|
version?: string | undefined;
|
|
3533
|
-
author?: string | undefined;
|
|
3534
3356
|
created?: string | undefined;
|
|
3535
3357
|
updated?: string | undefined;
|
|
3358
|
+
author?: string | undefined;
|
|
3536
3359
|
} | undefined;
|
|
3537
3360
|
}, {
|
|
3538
|
-
id: string;
|
|
3539
3361
|
shell: string;
|
|
3540
3362
|
page: string;
|
|
3363
|
+
id: string;
|
|
3541
3364
|
sections: {
|
|
3542
3365
|
id: string;
|
|
3543
|
-
pattern: string;
|
|
3544
3366
|
components: {
|
|
3545
3367
|
type: string;
|
|
3546
3368
|
props?: Record<string, unknown> | undefined;
|
|
3547
3369
|
children?: string | unknown[] | undefined;
|
|
3548
3370
|
}[];
|
|
3371
|
+
pattern: string;
|
|
3549
3372
|
slot?: string | undefined;
|
|
3550
3373
|
}[];
|
|
3551
|
-
name?: string | undefined;
|
|
3552
3374
|
description?: string | undefined;
|
|
3553
3375
|
themeId?: string | undefined;
|
|
3376
|
+
name?: string | undefined;
|
|
3554
3377
|
metadata?: {
|
|
3555
3378
|
version?: string | undefined;
|
|
3556
|
-
author?: string | undefined;
|
|
3557
3379
|
created?: string | undefined;
|
|
3558
3380
|
updated?: string | undefined;
|
|
3381
|
+
author?: string | undefined;
|
|
3559
3382
|
} | undefined;
|
|
3560
3383
|
}>;
|
|
3561
3384
|
}, "strip", z.ZodTypeAny, {
|
|
3562
|
-
name: string;
|
|
3563
3385
|
description: string;
|
|
3386
|
+
name: string;
|
|
3564
3387
|
definition: {
|
|
3565
|
-
id: string;
|
|
3566
3388
|
shell: string;
|
|
3567
3389
|
page: string;
|
|
3390
|
+
id: string;
|
|
3568
3391
|
sections: {
|
|
3569
3392
|
id: string;
|
|
3570
|
-
pattern: string;
|
|
3571
3393
|
components: {
|
|
3572
3394
|
type: string;
|
|
3573
3395
|
props?: Record<string, unknown> | undefined;
|
|
3574
3396
|
children?: string | unknown[] | undefined;
|
|
3575
3397
|
}[];
|
|
3398
|
+
pattern: string;
|
|
3576
3399
|
slot?: string | undefined;
|
|
3577
3400
|
}[];
|
|
3578
|
-
name?: string | undefined;
|
|
3579
3401
|
description?: string | undefined;
|
|
3580
3402
|
themeId?: string | undefined;
|
|
3403
|
+
name?: string | undefined;
|
|
3581
3404
|
metadata?: {
|
|
3582
3405
|
version?: string | undefined;
|
|
3583
|
-
author?: string | undefined;
|
|
3584
3406
|
created?: string | undefined;
|
|
3585
3407
|
updated?: string | undefined;
|
|
3408
|
+
author?: string | undefined;
|
|
3586
3409
|
} | undefined;
|
|
3587
3410
|
};
|
|
3588
3411
|
}, {
|
|
3589
|
-
name: string;
|
|
3590
3412
|
description: string;
|
|
3413
|
+
name: string;
|
|
3591
3414
|
definition: {
|
|
3592
|
-
id: string;
|
|
3593
3415
|
shell: string;
|
|
3594
3416
|
page: string;
|
|
3417
|
+
id: string;
|
|
3595
3418
|
sections: {
|
|
3596
3419
|
id: string;
|
|
3597
|
-
pattern: string;
|
|
3598
3420
|
components: {
|
|
3599
3421
|
type: string;
|
|
3600
3422
|
props?: Record<string, unknown> | undefined;
|
|
3601
3423
|
children?: string | unknown[] | undefined;
|
|
3602
3424
|
}[];
|
|
3425
|
+
pattern: string;
|
|
3603
3426
|
slot?: string | undefined;
|
|
3604
3427
|
}[];
|
|
3605
|
-
name?: string | undefined;
|
|
3606
3428
|
description?: string | undefined;
|
|
3607
3429
|
themeId?: string | undefined;
|
|
3430
|
+
name?: string | undefined;
|
|
3608
3431
|
metadata?: {
|
|
3609
3432
|
version?: string | undefined;
|
|
3610
|
-
author?: string | undefined;
|
|
3611
3433
|
created?: string | undefined;
|
|
3612
3434
|
updated?: string | undefined;
|
|
3435
|
+
author?: string | undefined;
|
|
3613
3436
|
} | undefined;
|
|
3614
3437
|
};
|
|
3615
3438
|
}>, "many">>;
|
|
@@ -3632,13 +3455,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3632
3455
|
message: z.ZodString;
|
|
3633
3456
|
example: z.ZodOptional<z.ZodString>;
|
|
3634
3457
|
}, "strip", z.ZodTypeAny, {
|
|
3635
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3636
3458
|
message: string;
|
|
3459
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3637
3460
|
priority: "high" | "medium" | "low";
|
|
3638
3461
|
example?: string | undefined;
|
|
3639
3462
|
}, {
|
|
3640
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3641
3463
|
message: string;
|
|
3464
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3642
3465
|
priority: "high" | "medium" | "low";
|
|
3643
3466
|
example?: string | undefined;
|
|
3644
3467
|
}>, "many">>;
|
|
@@ -3653,14 +3476,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3653
3476
|
example: z.ZodOptional<z.ZodString>;
|
|
3654
3477
|
}, "strip", z.ZodTypeAny, {
|
|
3655
3478
|
description: string;
|
|
3656
|
-
action: string;
|
|
3657
3479
|
step: number;
|
|
3480
|
+
action: string;
|
|
3658
3481
|
example?: string | undefined;
|
|
3659
3482
|
tool?: string | undefined;
|
|
3660
3483
|
}, {
|
|
3661
3484
|
description: string;
|
|
3662
|
-
action: string;
|
|
3663
3485
|
step: number;
|
|
3486
|
+
action: string;
|
|
3664
3487
|
example?: string | undefined;
|
|
3665
3488
|
tool?: string | undefined;
|
|
3666
3489
|
}>, "many">;
|
|
@@ -3670,8 +3493,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3670
3493
|
title: string;
|
|
3671
3494
|
steps: {
|
|
3672
3495
|
description: string;
|
|
3673
|
-
action: string;
|
|
3674
3496
|
step: number;
|
|
3497
|
+
action: string;
|
|
3675
3498
|
example?: string | undefined;
|
|
3676
3499
|
tool?: string | undefined;
|
|
3677
3500
|
}[];
|
|
@@ -3681,8 +3504,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3681
3504
|
title: string;
|
|
3682
3505
|
steps: {
|
|
3683
3506
|
description: string;
|
|
3684
|
-
action: string;
|
|
3685
3507
|
step: number;
|
|
3508
|
+
action: string;
|
|
3686
3509
|
example?: string | undefined;
|
|
3687
3510
|
tool?: string | undefined;
|
|
3688
3511
|
}[];
|
|
@@ -3691,58 +3514,58 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3691
3514
|
error: z.ZodOptional<z.ZodString>;
|
|
3692
3515
|
}, "strip", z.ZodTypeAny, {
|
|
3693
3516
|
success: boolean;
|
|
3517
|
+
error?: string | undefined;
|
|
3694
3518
|
components?: {
|
|
3519
|
+
description: string;
|
|
3520
|
+
category: "core" | "complex" | "advanced";
|
|
3695
3521
|
id: string;
|
|
3696
3522
|
name: string;
|
|
3697
|
-
|
|
3698
|
-
description: string;
|
|
3523
|
+
importStatement: string;
|
|
3699
3524
|
props: {
|
|
3700
|
-
name: string;
|
|
3701
3525
|
type: string;
|
|
3526
|
+
name: string;
|
|
3702
3527
|
required: boolean;
|
|
3703
3528
|
description?: string | undefined;
|
|
3704
3529
|
defaultValue?: string | undefined;
|
|
3705
3530
|
}[];
|
|
3706
|
-
importStatement: string;
|
|
3707
3531
|
variants?: {
|
|
3708
|
-
name: string;
|
|
3709
3532
|
value: string;
|
|
3533
|
+
name: string;
|
|
3710
3534
|
description?: string | undefined;
|
|
3711
3535
|
}[] | undefined;
|
|
3712
3536
|
}[] | undefined;
|
|
3713
|
-
error?: string | undefined;
|
|
3714
3537
|
examples?: {
|
|
3715
|
-
name: string;
|
|
3716
3538
|
description: string;
|
|
3539
|
+
name: string;
|
|
3717
3540
|
definition: {
|
|
3718
|
-
id: string;
|
|
3719
3541
|
shell: string;
|
|
3720
3542
|
page: string;
|
|
3543
|
+
id: string;
|
|
3721
3544
|
sections: {
|
|
3722
3545
|
id: string;
|
|
3723
|
-
pattern: string;
|
|
3724
3546
|
components: {
|
|
3725
3547
|
type: string;
|
|
3726
3548
|
props?: Record<string, unknown> | undefined;
|
|
3727
3549
|
children?: string | unknown[] | undefined;
|
|
3728
3550
|
}[];
|
|
3551
|
+
pattern: string;
|
|
3729
3552
|
slot?: string | undefined;
|
|
3730
3553
|
}[];
|
|
3731
|
-
name?: string | undefined;
|
|
3732
3554
|
description?: string | undefined;
|
|
3733
3555
|
themeId?: string | undefined;
|
|
3556
|
+
name?: string | undefined;
|
|
3734
3557
|
metadata?: {
|
|
3735
3558
|
version?: string | undefined;
|
|
3736
|
-
author?: string | undefined;
|
|
3737
3559
|
created?: string | undefined;
|
|
3738
3560
|
updated?: string | undefined;
|
|
3561
|
+
author?: string | undefined;
|
|
3739
3562
|
} | undefined;
|
|
3740
3563
|
};
|
|
3741
3564
|
}[] | undefined;
|
|
3742
3565
|
templateMatch?: {
|
|
3743
|
-
category: string;
|
|
3744
3566
|
templateId: string;
|
|
3745
3567
|
templateName: string;
|
|
3568
|
+
category: string;
|
|
3746
3569
|
confidence: number;
|
|
3747
3570
|
matchedKeywords: string[];
|
|
3748
3571
|
skeleton?: {
|
|
@@ -3751,8 +3574,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3751
3574
|
sections: {
|
|
3752
3575
|
id: string;
|
|
3753
3576
|
name: string;
|
|
3754
|
-
slot: string;
|
|
3755
3577
|
required: boolean;
|
|
3578
|
+
slot: string;
|
|
3756
3579
|
}[];
|
|
3757
3580
|
} | undefined;
|
|
3758
3581
|
requiredComponents?: string[] | undefined;
|
|
@@ -3767,8 +3590,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3767
3590
|
defaultClassName?: string | undefined;
|
|
3768
3591
|
}[] | undefined;
|
|
3769
3592
|
hints?: {
|
|
3770
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3771
3593
|
message: string;
|
|
3594
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3772
3595
|
priority: "high" | "medium" | "low";
|
|
3773
3596
|
example?: string | undefined;
|
|
3774
3597
|
}[] | undefined;
|
|
@@ -3777,8 +3600,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3777
3600
|
title: string;
|
|
3778
3601
|
steps: {
|
|
3779
3602
|
description: string;
|
|
3780
|
-
action: string;
|
|
3781
3603
|
step: number;
|
|
3604
|
+
action: string;
|
|
3782
3605
|
example?: string | undefined;
|
|
3783
3606
|
tool?: string | undefined;
|
|
3784
3607
|
}[];
|
|
@@ -3786,58 +3609,58 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3786
3609
|
} | undefined;
|
|
3787
3610
|
}, {
|
|
3788
3611
|
success: boolean;
|
|
3612
|
+
error?: string | undefined;
|
|
3789
3613
|
components?: {
|
|
3614
|
+
description: string;
|
|
3615
|
+
category: "core" | "complex" | "advanced";
|
|
3790
3616
|
id: string;
|
|
3791
3617
|
name: string;
|
|
3792
|
-
|
|
3793
|
-
description: string;
|
|
3618
|
+
importStatement: string;
|
|
3794
3619
|
props: {
|
|
3795
|
-
name: string;
|
|
3796
3620
|
type: string;
|
|
3621
|
+
name: string;
|
|
3797
3622
|
required: boolean;
|
|
3798
3623
|
description?: string | undefined;
|
|
3799
3624
|
defaultValue?: string | undefined;
|
|
3800
3625
|
}[];
|
|
3801
|
-
importStatement: string;
|
|
3802
3626
|
variants?: {
|
|
3803
|
-
name: string;
|
|
3804
3627
|
value: string;
|
|
3628
|
+
name: string;
|
|
3805
3629
|
description?: string | undefined;
|
|
3806
3630
|
}[] | undefined;
|
|
3807
3631
|
}[] | undefined;
|
|
3808
|
-
error?: string | undefined;
|
|
3809
3632
|
examples?: {
|
|
3810
|
-
name: string;
|
|
3811
3633
|
description: string;
|
|
3634
|
+
name: string;
|
|
3812
3635
|
definition: {
|
|
3813
|
-
id: string;
|
|
3814
3636
|
shell: string;
|
|
3815
3637
|
page: string;
|
|
3638
|
+
id: string;
|
|
3816
3639
|
sections: {
|
|
3817
3640
|
id: string;
|
|
3818
|
-
pattern: string;
|
|
3819
3641
|
components: {
|
|
3820
3642
|
type: string;
|
|
3821
3643
|
props?: Record<string, unknown> | undefined;
|
|
3822
3644
|
children?: string | unknown[] | undefined;
|
|
3823
3645
|
}[];
|
|
3646
|
+
pattern: string;
|
|
3824
3647
|
slot?: string | undefined;
|
|
3825
3648
|
}[];
|
|
3826
|
-
name?: string | undefined;
|
|
3827
3649
|
description?: string | undefined;
|
|
3828
3650
|
themeId?: string | undefined;
|
|
3651
|
+
name?: string | undefined;
|
|
3829
3652
|
metadata?: {
|
|
3830
3653
|
version?: string | undefined;
|
|
3831
|
-
author?: string | undefined;
|
|
3832
3654
|
created?: string | undefined;
|
|
3833
3655
|
updated?: string | undefined;
|
|
3656
|
+
author?: string | undefined;
|
|
3834
3657
|
} | undefined;
|
|
3835
3658
|
};
|
|
3836
3659
|
}[] | undefined;
|
|
3837
3660
|
templateMatch?: {
|
|
3838
|
-
category: string;
|
|
3839
3661
|
templateId: string;
|
|
3840
3662
|
templateName: string;
|
|
3663
|
+
category: string;
|
|
3841
3664
|
confidence: number;
|
|
3842
3665
|
matchedKeywords: string[];
|
|
3843
3666
|
skeleton?: {
|
|
@@ -3846,8 +3669,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3846
3669
|
sections: {
|
|
3847
3670
|
id: string;
|
|
3848
3671
|
name: string;
|
|
3849
|
-
slot: string;
|
|
3850
3672
|
required: boolean;
|
|
3673
|
+
slot: string;
|
|
3851
3674
|
}[];
|
|
3852
3675
|
} | undefined;
|
|
3853
3676
|
requiredComponents?: string[] | undefined;
|
|
@@ -3862,8 +3685,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3862
3685
|
defaultClassName?: string | undefined;
|
|
3863
3686
|
}[] | undefined;
|
|
3864
3687
|
hints?: {
|
|
3865
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3866
3688
|
message: string;
|
|
3689
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3867
3690
|
priority: "high" | "medium" | "low";
|
|
3868
3691
|
example?: string | undefined;
|
|
3869
3692
|
}[] | undefined;
|
|
@@ -3872,8 +3695,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3872
3695
|
title: string;
|
|
3873
3696
|
steps: {
|
|
3874
3697
|
description: string;
|
|
3875
|
-
action: string;
|
|
3876
3698
|
step: number;
|
|
3699
|
+
action: string;
|
|
3877
3700
|
example?: string | undefined;
|
|
3878
3701
|
tool?: string | undefined;
|
|
3879
3702
|
}[];
|
|
@@ -3896,6 +3719,24 @@ export declare const ValidateScreenDefinitionInputSchema: z.ZodObject<{
|
|
|
3896
3719
|
strict?: boolean | undefined;
|
|
3897
3720
|
}>;
|
|
3898
3721
|
export type ValidateScreenDefinitionInput = z.infer<typeof ValidateScreenDefinitionInputSchema>;
|
|
3722
|
+
/**
|
|
3723
|
+
* JSON Patch Operation Schema (RFC 6902 subset)
|
|
3724
|
+
* Auto-fix 패치를 위한 스키마
|
|
3725
|
+
*/
|
|
3726
|
+
export declare const JsonPatchOperationSchema: z.ZodObject<{
|
|
3727
|
+
op: z.ZodEnum<["replace", "add", "remove"]>;
|
|
3728
|
+
path: z.ZodString;
|
|
3729
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3730
|
+
}, "strip", z.ZodTypeAny, {
|
|
3731
|
+
path: string;
|
|
3732
|
+
op: "replace" | "add" | "remove";
|
|
3733
|
+
value?: unknown;
|
|
3734
|
+
}, {
|
|
3735
|
+
path: string;
|
|
3736
|
+
op: "replace" | "add" | "remove";
|
|
3737
|
+
value?: unknown;
|
|
3738
|
+
}>;
|
|
3739
|
+
export type JsonPatchOperation = z.infer<typeof JsonPatchOperationSchema>;
|
|
3899
3740
|
/**
|
|
3900
3741
|
* Validation error with path and suggestion
|
|
3901
3742
|
*/
|
|
@@ -3906,6 +3747,19 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
3906
3747
|
expected: z.ZodOptional<z.ZodString>;
|
|
3907
3748
|
received: z.ZodOptional<z.ZodString>;
|
|
3908
3749
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
3750
|
+
autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3751
|
+
op: z.ZodEnum<["replace", "add", "remove"]>;
|
|
3752
|
+
path: z.ZodString;
|
|
3753
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3754
|
+
}, "strip", z.ZodTypeAny, {
|
|
3755
|
+
path: string;
|
|
3756
|
+
op: "replace" | "add" | "remove";
|
|
3757
|
+
value?: unknown;
|
|
3758
|
+
}, {
|
|
3759
|
+
path: string;
|
|
3760
|
+
op: "replace" | "add" | "remove";
|
|
3761
|
+
value?: unknown;
|
|
3762
|
+
}>, "many">>;
|
|
3909
3763
|
}, "strip", z.ZodTypeAny, {
|
|
3910
3764
|
code: string;
|
|
3911
3765
|
path: string;
|
|
@@ -3913,6 +3767,11 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
3913
3767
|
expected?: string | undefined;
|
|
3914
3768
|
received?: string | undefined;
|
|
3915
3769
|
suggestion?: string | undefined;
|
|
3770
|
+
autoFix?: {
|
|
3771
|
+
path: string;
|
|
3772
|
+
op: "replace" | "add" | "remove";
|
|
3773
|
+
value?: unknown;
|
|
3774
|
+
}[] | undefined;
|
|
3916
3775
|
}, {
|
|
3917
3776
|
code: string;
|
|
3918
3777
|
path: string;
|
|
@@ -3920,6 +3779,11 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
3920
3779
|
expected?: string | undefined;
|
|
3921
3780
|
received?: string | undefined;
|
|
3922
3781
|
suggestion?: string | undefined;
|
|
3782
|
+
autoFix?: {
|
|
3783
|
+
path: string;
|
|
3784
|
+
op: "replace" | "add" | "remove";
|
|
3785
|
+
value?: unknown;
|
|
3786
|
+
}[] | undefined;
|
|
3923
3787
|
}>;
|
|
3924
3788
|
export type ValidationError = z.infer<typeof ValidationErrorSchema>;
|
|
3925
3789
|
/**
|
|
@@ -3950,14 +3814,37 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
3950
3814
|
message: z.ZodString;
|
|
3951
3815
|
affectedPath: z.ZodOptional<z.ZodString>;
|
|
3952
3816
|
suggestedChange: z.ZodOptional<z.ZodString>;
|
|
3817
|
+
autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3818
|
+
op: z.ZodEnum<["replace", "add", "remove"]>;
|
|
3819
|
+
path: z.ZodString;
|
|
3820
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3821
|
+
}, "strip", z.ZodTypeAny, {
|
|
3822
|
+
path: string;
|
|
3823
|
+
op: "replace" | "add" | "remove";
|
|
3824
|
+
value?: unknown;
|
|
3825
|
+
}, {
|
|
3826
|
+
path: string;
|
|
3827
|
+
op: "replace" | "add" | "remove";
|
|
3828
|
+
value?: unknown;
|
|
3829
|
+
}>, "many">>;
|
|
3953
3830
|
}, "strip", z.ZodTypeAny, {
|
|
3954
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3955
3831
|
message: string;
|
|
3832
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3833
|
+
autoFix?: {
|
|
3834
|
+
path: string;
|
|
3835
|
+
op: "replace" | "add" | "remove";
|
|
3836
|
+
value?: unknown;
|
|
3837
|
+
}[] | undefined;
|
|
3956
3838
|
affectedPath?: string | undefined;
|
|
3957
3839
|
suggestedChange?: string | undefined;
|
|
3958
3840
|
}, {
|
|
3959
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3960
3841
|
message: string;
|
|
3842
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3843
|
+
autoFix?: {
|
|
3844
|
+
path: string;
|
|
3845
|
+
op: "replace" | "add" | "remove";
|
|
3846
|
+
value?: unknown;
|
|
3847
|
+
}[] | undefined;
|
|
3961
3848
|
affectedPath?: string | undefined;
|
|
3962
3849
|
suggestedChange?: string | undefined;
|
|
3963
3850
|
}>;
|
|
@@ -3975,6 +3862,19 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
3975
3862
|
expected: z.ZodOptional<z.ZodString>;
|
|
3976
3863
|
received: z.ZodOptional<z.ZodString>;
|
|
3977
3864
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
3865
|
+
autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3866
|
+
op: z.ZodEnum<["replace", "add", "remove"]>;
|
|
3867
|
+
path: z.ZodString;
|
|
3868
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3869
|
+
}, "strip", z.ZodTypeAny, {
|
|
3870
|
+
path: string;
|
|
3871
|
+
op: "replace" | "add" | "remove";
|
|
3872
|
+
value?: unknown;
|
|
3873
|
+
}, {
|
|
3874
|
+
path: string;
|
|
3875
|
+
op: "replace" | "add" | "remove";
|
|
3876
|
+
value?: unknown;
|
|
3877
|
+
}>, "many">>;
|
|
3978
3878
|
}, "strip", z.ZodTypeAny, {
|
|
3979
3879
|
code: string;
|
|
3980
3880
|
path: string;
|
|
@@ -3982,6 +3882,11 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
3982
3882
|
expected?: string | undefined;
|
|
3983
3883
|
received?: string | undefined;
|
|
3984
3884
|
suggestion?: string | undefined;
|
|
3885
|
+
autoFix?: {
|
|
3886
|
+
path: string;
|
|
3887
|
+
op: "replace" | "add" | "remove";
|
|
3888
|
+
value?: unknown;
|
|
3889
|
+
}[] | undefined;
|
|
3985
3890
|
}, {
|
|
3986
3891
|
code: string;
|
|
3987
3892
|
path: string;
|
|
@@ -3989,6 +3894,11 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
3989
3894
|
expected?: string | undefined;
|
|
3990
3895
|
received?: string | undefined;
|
|
3991
3896
|
suggestion?: string | undefined;
|
|
3897
|
+
autoFix?: {
|
|
3898
|
+
path: string;
|
|
3899
|
+
op: "replace" | "add" | "remove";
|
|
3900
|
+
value?: unknown;
|
|
3901
|
+
}[] | undefined;
|
|
3992
3902
|
}>, "many">>;
|
|
3993
3903
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3994
3904
|
path: z.ZodString;
|
|
@@ -4011,17 +3921,53 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4011
3921
|
message: z.ZodString;
|
|
4012
3922
|
affectedPath: z.ZodOptional<z.ZodString>;
|
|
4013
3923
|
suggestedChange: z.ZodOptional<z.ZodString>;
|
|
3924
|
+
autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3925
|
+
op: z.ZodEnum<["replace", "add", "remove"]>;
|
|
3926
|
+
path: z.ZodString;
|
|
3927
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3928
|
+
}, "strip", z.ZodTypeAny, {
|
|
3929
|
+
path: string;
|
|
3930
|
+
op: "replace" | "add" | "remove";
|
|
3931
|
+
value?: unknown;
|
|
3932
|
+
}, {
|
|
3933
|
+
path: string;
|
|
3934
|
+
op: "replace" | "add" | "remove";
|
|
3935
|
+
value?: unknown;
|
|
3936
|
+
}>, "many">>;
|
|
4014
3937
|
}, "strip", z.ZodTypeAny, {
|
|
4015
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4016
3938
|
message: string;
|
|
3939
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3940
|
+
autoFix?: {
|
|
3941
|
+
path: string;
|
|
3942
|
+
op: "replace" | "add" | "remove";
|
|
3943
|
+
value?: unknown;
|
|
3944
|
+
}[] | undefined;
|
|
4017
3945
|
affectedPath?: string | undefined;
|
|
4018
3946
|
suggestedChange?: string | undefined;
|
|
4019
3947
|
}, {
|
|
4020
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4021
3948
|
message: string;
|
|
3949
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3950
|
+
autoFix?: {
|
|
3951
|
+
path: string;
|
|
3952
|
+
op: "replace" | "add" | "remove";
|
|
3953
|
+
value?: unknown;
|
|
3954
|
+
}[] | undefined;
|
|
4022
3955
|
affectedPath?: string | undefined;
|
|
4023
3956
|
suggestedChange?: string | undefined;
|
|
4024
3957
|
}>, "many">>;
|
|
3958
|
+
autoFixPatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3959
|
+
op: z.ZodEnum<["replace", "add", "remove"]>;
|
|
3960
|
+
path: z.ZodString;
|
|
3961
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3962
|
+
}, "strip", z.ZodTypeAny, {
|
|
3963
|
+
path: string;
|
|
3964
|
+
op: "replace" | "add" | "remove";
|
|
3965
|
+
value?: unknown;
|
|
3966
|
+
}, {
|
|
3967
|
+
path: string;
|
|
3968
|
+
op: "replace" | "add" | "remove";
|
|
3969
|
+
value?: unknown;
|
|
3970
|
+
}>, "many">>;
|
|
4025
3971
|
error: z.ZodOptional<z.ZodString>;
|
|
4026
3972
|
}, "strip", z.ZodTypeAny, {
|
|
4027
3973
|
success: boolean;
|
|
@@ -4034,6 +3980,11 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4034
3980
|
expected?: string | undefined;
|
|
4035
3981
|
received?: string | undefined;
|
|
4036
3982
|
suggestion?: string | undefined;
|
|
3983
|
+
autoFix?: {
|
|
3984
|
+
path: string;
|
|
3985
|
+
op: "replace" | "add" | "remove";
|
|
3986
|
+
value?: unknown;
|
|
3987
|
+
}[] | undefined;
|
|
4037
3988
|
}[] | undefined;
|
|
4038
3989
|
warnings?: {
|
|
4039
3990
|
code: string;
|
|
@@ -4042,11 +3993,21 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4042
3993
|
recommendation?: string | undefined;
|
|
4043
3994
|
}[] | undefined;
|
|
4044
3995
|
suggestions?: {
|
|
4045
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4046
3996
|
message: string;
|
|
3997
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3998
|
+
autoFix?: {
|
|
3999
|
+
path: string;
|
|
4000
|
+
op: "replace" | "add" | "remove";
|
|
4001
|
+
value?: unknown;
|
|
4002
|
+
}[] | undefined;
|
|
4047
4003
|
affectedPath?: string | undefined;
|
|
4048
4004
|
suggestedChange?: string | undefined;
|
|
4049
4005
|
}[] | undefined;
|
|
4006
|
+
autoFixPatches?: {
|
|
4007
|
+
path: string;
|
|
4008
|
+
op: "replace" | "add" | "remove";
|
|
4009
|
+
value?: unknown;
|
|
4010
|
+
}[] | undefined;
|
|
4050
4011
|
}, {
|
|
4051
4012
|
success: boolean;
|
|
4052
4013
|
valid?: boolean | undefined;
|
|
@@ -4058,6 +4019,11 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4058
4019
|
expected?: string | undefined;
|
|
4059
4020
|
received?: string | undefined;
|
|
4060
4021
|
suggestion?: string | undefined;
|
|
4022
|
+
autoFix?: {
|
|
4023
|
+
path: string;
|
|
4024
|
+
op: "replace" | "add" | "remove";
|
|
4025
|
+
value?: unknown;
|
|
4026
|
+
}[] | undefined;
|
|
4061
4027
|
}[] | undefined;
|
|
4062
4028
|
warnings?: {
|
|
4063
4029
|
code: string;
|
|
@@ -4066,11 +4032,21 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4066
4032
|
recommendation?: string | undefined;
|
|
4067
4033
|
}[] | undefined;
|
|
4068
4034
|
suggestions?: {
|
|
4069
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4070
4035
|
message: string;
|
|
4036
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4037
|
+
autoFix?: {
|
|
4038
|
+
path: string;
|
|
4039
|
+
op: "replace" | "add" | "remove";
|
|
4040
|
+
value?: unknown;
|
|
4041
|
+
}[] | undefined;
|
|
4071
4042
|
affectedPath?: string | undefined;
|
|
4072
4043
|
suggestedChange?: string | undefined;
|
|
4073
4044
|
}[] | undefined;
|
|
4045
|
+
autoFixPatches?: {
|
|
4046
|
+
path: string;
|
|
4047
|
+
op: "replace" | "add" | "remove";
|
|
4048
|
+
value?: unknown;
|
|
4049
|
+
}[] | undefined;
|
|
4074
4050
|
}>;
|
|
4075
4051
|
export type ValidateScreenDefinitionOutput = z.infer<typeof ValidateScreenDefinitionOutputSchema>;
|
|
4076
4052
|
/**
|
|
@@ -4140,14 +4116,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4140
4116
|
error: z.ZodOptional<z.ZodString>;
|
|
4141
4117
|
}, "strip", z.ZodTypeAny, {
|
|
4142
4118
|
success: boolean;
|
|
4143
|
-
tailwind?: {
|
|
4144
|
-
issues: string[];
|
|
4145
|
-
configFound: boolean;
|
|
4146
|
-
hasUiContentPath: boolean;
|
|
4147
|
-
hasAnimatePlugin: boolean;
|
|
4148
|
-
fixes: string[];
|
|
4149
|
-
configPath?: string | undefined;
|
|
4150
|
-
} | undefined;
|
|
4151
4119
|
error?: string | undefined;
|
|
4152
4120
|
installCommands?: {
|
|
4153
4121
|
npm: string;
|
|
@@ -4158,8 +4126,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4158
4126
|
warnings?: string[] | undefined;
|
|
4159
4127
|
installed?: Record<string, string> | undefined;
|
|
4160
4128
|
missing?: string[] | undefined;
|
|
4161
|
-
}, {
|
|
4162
|
-
success: boolean;
|
|
4163
4129
|
tailwind?: {
|
|
4164
4130
|
issues: string[];
|
|
4165
4131
|
configFound: boolean;
|
|
@@ -4168,6 +4134,8 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4168
4134
|
fixes: string[];
|
|
4169
4135
|
configPath?: string | undefined;
|
|
4170
4136
|
} | undefined;
|
|
4137
|
+
}, {
|
|
4138
|
+
success: boolean;
|
|
4171
4139
|
error?: string | undefined;
|
|
4172
4140
|
installCommands?: {
|
|
4173
4141
|
npm: string;
|
|
@@ -4178,6 +4146,14 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4178
4146
|
warnings?: string[] | undefined;
|
|
4179
4147
|
installed?: Record<string, string> | undefined;
|
|
4180
4148
|
missing?: string[] | undefined;
|
|
4149
|
+
tailwind?: {
|
|
4150
|
+
issues: string[];
|
|
4151
|
+
configFound: boolean;
|
|
4152
|
+
hasUiContentPath: boolean;
|
|
4153
|
+
hasAnimatePlugin: boolean;
|
|
4154
|
+
fixes: string[];
|
|
4155
|
+
configPath?: string | undefined;
|
|
4156
|
+
} | undefined;
|
|
4181
4157
|
}>;
|
|
4182
4158
|
export type ValidateEnvironmentOutput = z.infer<typeof ValidateEnvironmentOutputSchema>;
|
|
4183
4159
|
//# sourceMappingURL=mcp-schemas.d.ts.map
|