@framingui/mcp-server 0.6.15 → 0.6.17
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/README.md +14 -6
- package/dist/cli/agent-md-templates.js +3 -3
- package/dist/commands/slash-command-registry.d.ts.map +1 -1
- package/dist/commands/slash-command-registry.js +11 -8
- package/dist/commands/slash-command-registry.js.map +1 -1
- package/dist/index.js +28 -17
- package/dist/index.js.map +1 -1
- package/dist/prompts/getting-started.d.ts.map +1 -1
- package/dist/prompts/getting-started.js +6 -1
- package/dist/prompts/getting-started.js.map +1 -1
- package/dist/prompts/screen-workflow.d.ts +1 -1
- package/dist/prompts/screen-workflow.d.ts.map +1 -1
- package/dist/prompts/screen-workflow.js +46 -63
- package/dist/prompts/screen-workflow.js.map +1 -1
- package/dist/schemas/mcp-schemas.d.ts +847 -504
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/schemas/mcp-schemas.js +53 -0
- 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 +114 -15
- package/dist/tools/get-screen-generation-context.js.map +1 -1
- package/dist/tools/preview-component.js +1 -1
- package/dist/tools/preview-component.js.map +1 -1
- package/dist/tools/preview-screen-template.d.ts.map +1 -1
- package/dist/tools/preview-screen-template.js +1 -0
- package/dist/tools/preview-screen-template.js.map +1 -1
- package/dist/tools/validate-environment.d.ts.map +1 -1
- package/dist/tools/validate-environment.js +55 -1
- package/dist/tools/validate-environment.js.map +1 -1
- package/dist/tools/validate-screen-definition.d.ts.map +1 -1
- package/dist/tools/validate-screen-definition.js +6 -0
- package/dist/tools/validate-screen-definition.js.map +1 -1
- package/package.json +1 -1
|
@@ -88,16 +88,16 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
88
88
|
componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
description: string;
|
|
91
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right"
|
|
91
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
92
92
|
themeId: string;
|
|
93
|
-
iconLibrary?: string | undefined;
|
|
94
93
|
componentHints?: string[] | undefined;
|
|
94
|
+
iconLibrary?: string | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
description: string;
|
|
97
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right"
|
|
97
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
98
98
|
themeId: string;
|
|
99
|
-
iconLibrary?: string | undefined;
|
|
100
99
|
componentHints?: string[] | undefined;
|
|
100
|
+
iconLibrary?: string | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
103
103
|
/**
|
|
@@ -124,9 +124,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
124
124
|
page: string;
|
|
125
125
|
}>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
category: string;
|
|
127
128
|
templateId: string;
|
|
128
129
|
templateName: string;
|
|
129
|
-
category: string;
|
|
130
130
|
confidence: number;
|
|
131
131
|
matchedKeywords: string[];
|
|
132
132
|
layoutRecommendation: {
|
|
@@ -135,9 +135,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
135
135
|
page: string;
|
|
136
136
|
};
|
|
137
137
|
}, {
|
|
138
|
+
category: string;
|
|
138
139
|
templateId: string;
|
|
139
140
|
templateName: string;
|
|
140
|
-
category: string;
|
|
141
141
|
confidence: number;
|
|
142
142
|
matchedKeywords: string[];
|
|
143
143
|
layoutRecommendation: {
|
|
@@ -173,11 +173,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
173
173
|
}>, "many">;
|
|
174
174
|
timestamp: z.ZodNumber;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right"
|
|
176
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
177
|
+
name: string;
|
|
177
178
|
themeId: string;
|
|
178
179
|
iconLibrary: string;
|
|
179
180
|
id: string;
|
|
180
|
-
name: string;
|
|
181
181
|
components: {
|
|
182
182
|
type: string;
|
|
183
183
|
props?: Record<string, unknown>;
|
|
@@ -186,11 +186,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
186
186
|
}[];
|
|
187
187
|
timestamp: number;
|
|
188
188
|
}, {
|
|
189
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right"
|
|
189
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
190
|
+
name: string;
|
|
190
191
|
themeId: string;
|
|
191
192
|
iconLibrary: string;
|
|
192
193
|
id: string;
|
|
193
|
-
name: string;
|
|
194
194
|
components: {
|
|
195
195
|
type: string;
|
|
196
196
|
props?: Record<string, unknown>;
|
|
@@ -219,9 +219,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
219
219
|
page: string;
|
|
220
220
|
}>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
category: string;
|
|
222
223
|
templateId: string;
|
|
223
224
|
templateName: string;
|
|
224
|
-
category: string;
|
|
225
225
|
confidence: number;
|
|
226
226
|
matchedKeywords: string[];
|
|
227
227
|
layoutRecommendation: {
|
|
@@ -230,9 +230,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
230
230
|
page: string;
|
|
231
231
|
};
|
|
232
232
|
}, {
|
|
233
|
+
category: string;
|
|
233
234
|
templateId: string;
|
|
234
235
|
templateName: string;
|
|
235
|
-
category: string;
|
|
236
236
|
confidence: number;
|
|
237
237
|
matchedKeywords: string[];
|
|
238
238
|
layoutRecommendation: {
|
|
@@ -244,13 +244,12 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
244
244
|
error: z.ZodOptional<z.ZodString>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
success: boolean;
|
|
247
|
-
error?: string | undefined;
|
|
248
247
|
blueprint?: {
|
|
249
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right"
|
|
248
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
249
|
+
name: string;
|
|
250
250
|
themeId: string;
|
|
251
251
|
iconLibrary: string;
|
|
252
252
|
id: string;
|
|
253
|
-
name: string;
|
|
254
253
|
components: {
|
|
255
254
|
type: string;
|
|
256
255
|
props?: Record<string, unknown>;
|
|
@@ -259,10 +258,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
259
258
|
}[];
|
|
260
259
|
timestamp: number;
|
|
261
260
|
} | undefined;
|
|
261
|
+
error?: string | undefined;
|
|
262
262
|
templateRecommendations?: {
|
|
263
|
+
category: string;
|
|
263
264
|
templateId: string;
|
|
264
265
|
templateName: string;
|
|
265
|
-
category: string;
|
|
266
266
|
confidence: number;
|
|
267
267
|
matchedKeywords: string[];
|
|
268
268
|
layoutRecommendation: {
|
|
@@ -273,13 +273,12 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
273
273
|
}[] | undefined;
|
|
274
274
|
}, {
|
|
275
275
|
success: boolean;
|
|
276
|
-
error?: string | undefined;
|
|
277
276
|
blueprint?: {
|
|
278
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right"
|
|
277
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
278
|
+
name: string;
|
|
279
279
|
themeId: string;
|
|
280
280
|
iconLibrary: string;
|
|
281
281
|
id: string;
|
|
282
|
-
name: string;
|
|
283
282
|
components: {
|
|
284
283
|
type: string;
|
|
285
284
|
props?: Record<string, unknown>;
|
|
@@ -288,10 +287,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
288
287
|
}[];
|
|
289
288
|
timestamp: number;
|
|
290
289
|
} | undefined;
|
|
290
|
+
error?: string | undefined;
|
|
291
291
|
templateRecommendations?: {
|
|
292
|
+
category: string;
|
|
292
293
|
templateId: string;
|
|
293
294
|
templateName: string;
|
|
294
|
-
category: string;
|
|
295
295
|
confidence: number;
|
|
296
296
|
matchedKeywords: string[];
|
|
297
297
|
layoutRecommendation: {
|
|
@@ -318,14 +318,14 @@ export declare const ThemeMetaSchema: z.ZodObject<{
|
|
|
318
318
|
brandTone: z.ZodString;
|
|
319
319
|
schemaVersion: z.ZodString;
|
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
id: string;
|
|
322
321
|
name: string;
|
|
322
|
+
id: string;
|
|
323
323
|
brandTone: string;
|
|
324
324
|
schemaVersion: string;
|
|
325
325
|
description?: string | undefined;
|
|
326
326
|
}, {
|
|
327
|
-
id: string;
|
|
328
327
|
name: string;
|
|
328
|
+
id: string;
|
|
329
329
|
brandTone: string;
|
|
330
330
|
schemaVersion: string;
|
|
331
331
|
description?: string | undefined;
|
|
@@ -343,14 +343,14 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
343
343
|
brandTone: z.ZodString;
|
|
344
344
|
schemaVersion: z.ZodString;
|
|
345
345
|
}, "strip", z.ZodTypeAny, {
|
|
346
|
-
id: string;
|
|
347
346
|
name: string;
|
|
347
|
+
id: string;
|
|
348
348
|
brandTone: string;
|
|
349
349
|
schemaVersion: string;
|
|
350
350
|
description?: string | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
id: string;
|
|
353
352
|
name: string;
|
|
353
|
+
id: string;
|
|
354
354
|
brandTone: string;
|
|
355
355
|
schemaVersion: string;
|
|
356
356
|
description?: string | undefined;
|
|
@@ -360,25 +360,25 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
success: boolean;
|
|
362
362
|
error?: string | undefined;
|
|
363
|
+
count?: number | undefined;
|
|
363
364
|
themes?: {
|
|
364
|
-
id: string;
|
|
365
365
|
name: string;
|
|
366
|
+
id: string;
|
|
366
367
|
brandTone: string;
|
|
367
368
|
schemaVersion: string;
|
|
368
369
|
description?: string | undefined;
|
|
369
370
|
}[] | undefined;
|
|
370
|
-
count?: number | undefined;
|
|
371
371
|
}, {
|
|
372
372
|
success: boolean;
|
|
373
373
|
error?: string | undefined;
|
|
374
|
+
count?: number | undefined;
|
|
374
375
|
themes?: {
|
|
375
|
-
id: string;
|
|
376
376
|
name: string;
|
|
377
|
+
id: string;
|
|
377
378
|
brandTone: string;
|
|
378
379
|
schemaVersion: string;
|
|
379
380
|
description?: string | undefined;
|
|
380
381
|
}[] | undefined;
|
|
381
|
-
count?: number | undefined;
|
|
382
382
|
}>;
|
|
383
383
|
export type ListThemesOutput = z.infer<typeof ListThemesOutputSchema>;
|
|
384
384
|
/**
|
|
@@ -426,14 +426,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
426
426
|
component: z.ZodOptional<z.ZodUnknown>;
|
|
427
427
|
recipes: z.ZodOptional<z.ZodUnknown>;
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
|
+
component?: unknown;
|
|
429
430
|
atomic?: unknown;
|
|
430
431
|
semantic?: unknown;
|
|
431
|
-
component?: unknown;
|
|
432
432
|
recipes?: unknown;
|
|
433
433
|
}, {
|
|
434
|
+
component?: unknown;
|
|
434
435
|
atomic?: unknown;
|
|
435
436
|
semantic?: unknown;
|
|
436
|
-
component?: unknown;
|
|
437
437
|
recipes?: unknown;
|
|
438
438
|
}>;
|
|
439
439
|
stateLayer: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -441,14 +441,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
441
441
|
elevation: z.ZodOptional<z.ZodUnknown>;
|
|
442
442
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
-
id: string;
|
|
445
444
|
name: string;
|
|
445
|
+
id: string;
|
|
446
446
|
brandTone: string;
|
|
447
447
|
schemaVersion: string;
|
|
448
448
|
tokens: {
|
|
449
|
+
component?: unknown;
|
|
449
450
|
atomic?: unknown;
|
|
450
451
|
semantic?: unknown;
|
|
451
|
-
component?: unknown;
|
|
452
452
|
recipes?: unknown;
|
|
453
453
|
};
|
|
454
454
|
description?: string | undefined;
|
|
@@ -462,14 +462,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
462
462
|
elevation?: unknown;
|
|
463
463
|
typography?: unknown;
|
|
464
464
|
}, {
|
|
465
|
-
id: string;
|
|
466
465
|
name: string;
|
|
466
|
+
id: string;
|
|
467
467
|
brandTone: string;
|
|
468
468
|
schemaVersion: string;
|
|
469
469
|
tokens: {
|
|
470
|
+
component?: unknown;
|
|
470
471
|
atomic?: unknown;
|
|
471
472
|
semantic?: unknown;
|
|
472
|
-
component?: unknown;
|
|
473
473
|
recipes?: unknown;
|
|
474
474
|
};
|
|
475
475
|
description?: string | undefined;
|
|
@@ -487,16 +487,15 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
487
487
|
error: z.ZodOptional<z.ZodString>;
|
|
488
488
|
}, "strip", z.ZodTypeAny, {
|
|
489
489
|
success: boolean;
|
|
490
|
-
error?: string | undefined;
|
|
491
490
|
theme?: {
|
|
492
|
-
id: string;
|
|
493
491
|
name: string;
|
|
492
|
+
id: string;
|
|
494
493
|
brandTone: string;
|
|
495
494
|
schemaVersion: string;
|
|
496
495
|
tokens: {
|
|
496
|
+
component?: unknown;
|
|
497
497
|
atomic?: unknown;
|
|
498
498
|
semantic?: unknown;
|
|
499
|
-
component?: unknown;
|
|
500
499
|
recipes?: unknown;
|
|
501
500
|
};
|
|
502
501
|
description?: string | undefined;
|
|
@@ -510,19 +509,19 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
510
509
|
elevation?: unknown;
|
|
511
510
|
typography?: unknown;
|
|
512
511
|
} | undefined;
|
|
512
|
+
error?: string | undefined;
|
|
513
513
|
css?: string | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
success: boolean;
|
|
516
|
-
error?: string | undefined;
|
|
517
516
|
theme?: {
|
|
518
|
-
id: string;
|
|
519
517
|
name: string;
|
|
518
|
+
id: string;
|
|
520
519
|
brandTone: string;
|
|
521
520
|
schemaVersion: string;
|
|
522
521
|
tokens: {
|
|
522
|
+
component?: unknown;
|
|
523
523
|
atomic?: unknown;
|
|
524
524
|
semantic?: unknown;
|
|
525
|
-
component?: unknown;
|
|
526
525
|
recipes?: unknown;
|
|
527
526
|
};
|
|
528
527
|
description?: string | undefined;
|
|
@@ -536,6 +535,7 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
536
535
|
elevation?: unknown;
|
|
537
536
|
typography?: unknown;
|
|
538
537
|
} | undefined;
|
|
538
|
+
error?: string | undefined;
|
|
539
539
|
css?: string | undefined;
|
|
540
540
|
}>;
|
|
541
541
|
export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
|
|
@@ -553,10 +553,10 @@ export declare const ExportScreenInputSchema: z.ZodObject<{
|
|
|
553
553
|
blueprint: z.ZodUnknown;
|
|
554
554
|
format: z.ZodEnum<["jsx", "tsx", "vue"]>;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
format: "
|
|
556
|
+
format: "tsx" | "jsx" | "vue";
|
|
557
557
|
blueprint?: unknown;
|
|
558
558
|
}, {
|
|
559
|
-
format: "
|
|
559
|
+
format: "tsx" | "jsx" | "vue";
|
|
560
560
|
blueprint?: unknown;
|
|
561
561
|
}>;
|
|
562
562
|
export type ExportScreenInput = z.infer<typeof ExportScreenInputSchema>;
|
|
@@ -605,20 +605,20 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
605
605
|
themeId: z.ZodOptional<z.ZodString>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
607
|
includeCSS: boolean;
|
|
608
|
-
format: "
|
|
608
|
+
format: "tsx" | "jsx" | "vue";
|
|
609
609
|
tier: "tier1" | "tier2" | "auto";
|
|
610
610
|
themeId?: string | undefined;
|
|
611
611
|
blueprint?: unknown;
|
|
612
612
|
componentName?: string | undefined;
|
|
613
613
|
componentDescription?: string | undefined;
|
|
614
614
|
}, {
|
|
615
|
-
format: "
|
|
615
|
+
format: "tsx" | "jsx" | "vue";
|
|
616
616
|
themeId?: string | undefined;
|
|
617
|
-
blueprint?: unknown;
|
|
618
617
|
includeCSS?: boolean | undefined;
|
|
618
|
+
blueprint?: unknown;
|
|
619
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
619
620
|
componentName?: string | undefined;
|
|
620
621
|
componentDescription?: string | undefined;
|
|
621
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
622
622
|
}>;
|
|
623
623
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
624
624
|
/**
|
|
@@ -630,12 +630,12 @@ export declare const ComponentResolutionSchema: z.ZodObject<{
|
|
|
630
630
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
631
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
632
|
code: string;
|
|
633
|
-
componentName: string;
|
|
634
633
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
634
|
+
componentName: string;
|
|
635
635
|
}, {
|
|
636
636
|
code: string;
|
|
637
|
-
componentName: string;
|
|
638
637
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
638
|
+
componentName: string;
|
|
639
639
|
}>;
|
|
640
640
|
export type ComponentResolution = z.infer<typeof ComponentResolutionSchema>;
|
|
641
641
|
/**
|
|
@@ -655,12 +655,12 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
655
655
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
656
656
|
}, "strip", z.ZodTypeAny, {
|
|
657
657
|
code: string;
|
|
658
|
-
componentName: string;
|
|
659
658
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
659
|
+
componentName: string;
|
|
660
660
|
}, {
|
|
661
661
|
code: string;
|
|
662
|
-
componentName: string;
|
|
663
662
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
663
|
+
componentName: string;
|
|
664
664
|
}>, "many">>;
|
|
665
665
|
/** Tier used for resolution */
|
|
666
666
|
tierUsed: z.ZodOptional<z.ZodEnum<["tier1", "tier2", "auto"]>>;
|
|
@@ -671,8 +671,8 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
671
671
|
error?: string | undefined;
|
|
672
672
|
components?: {
|
|
673
673
|
code: string;
|
|
674
|
-
componentName: string;
|
|
675
674
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
675
|
+
componentName: string;
|
|
676
676
|
}[] | undefined;
|
|
677
677
|
css?: string | undefined;
|
|
678
678
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
@@ -682,8 +682,8 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
682
682
|
error?: string | undefined;
|
|
683
683
|
components?: {
|
|
684
684
|
code: string;
|
|
685
|
-
componentName: string;
|
|
686
685
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
686
|
+
componentName: string;
|
|
687
687
|
}[] | undefined;
|
|
688
688
|
css?: string | undefined;
|
|
689
689
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
@@ -740,33 +740,33 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
740
740
|
}>>;
|
|
741
741
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
external: string[];
|
|
744
743
|
internal: string[];
|
|
744
|
+
external: string[];
|
|
745
745
|
installCommands: {
|
|
746
746
|
npm: string;
|
|
747
747
|
yarn: string;
|
|
748
748
|
pnpm: string;
|
|
749
749
|
bun: string;
|
|
750
750
|
};
|
|
751
|
+
notes?: string[] | undefined;
|
|
751
752
|
compatibility?: {
|
|
752
753
|
react?: string | undefined;
|
|
753
754
|
node?: string | undefined;
|
|
754
755
|
} | undefined;
|
|
755
|
-
notes?: string[] | undefined;
|
|
756
756
|
}, {
|
|
757
|
-
external: string[];
|
|
758
757
|
internal: string[];
|
|
758
|
+
external: string[];
|
|
759
759
|
installCommands: {
|
|
760
760
|
npm: string;
|
|
761
761
|
yarn: string;
|
|
762
762
|
pnpm: string;
|
|
763
763
|
bun: string;
|
|
764
764
|
};
|
|
765
|
+
notes?: string[] | undefined;
|
|
765
766
|
compatibility?: {
|
|
766
767
|
react?: string | undefined;
|
|
767
768
|
node?: string | undefined;
|
|
768
769
|
} | undefined;
|
|
769
|
-
notes?: string[] | undefined;
|
|
770
770
|
}>;
|
|
771
771
|
export type Dependencies = z.infer<typeof DependenciesSchema>;
|
|
772
772
|
/**
|
|
@@ -807,33 +807,33 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
807
807
|
}>>;
|
|
808
808
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
external: string[];
|
|
811
810
|
internal: string[];
|
|
811
|
+
external: string[];
|
|
812
812
|
installCommands: {
|
|
813
813
|
npm: string;
|
|
814
814
|
yarn: string;
|
|
815
815
|
pnpm: string;
|
|
816
816
|
bun: string;
|
|
817
817
|
};
|
|
818
|
+
notes?: string[] | undefined;
|
|
818
819
|
compatibility?: {
|
|
819
820
|
react?: string | undefined;
|
|
820
821
|
node?: string | undefined;
|
|
821
822
|
} | undefined;
|
|
822
|
-
notes?: string[] | undefined;
|
|
823
823
|
}, {
|
|
824
|
-
external: string[];
|
|
825
824
|
internal: string[];
|
|
825
|
+
external: string[];
|
|
826
826
|
installCommands: {
|
|
827
827
|
npm: string;
|
|
828
828
|
yarn: string;
|
|
829
829
|
pnpm: string;
|
|
830
830
|
bun: string;
|
|
831
831
|
};
|
|
832
|
+
notes?: string[] | undefined;
|
|
832
833
|
compatibility?: {
|
|
833
834
|
react?: string | undefined;
|
|
834
835
|
node?: string | undefined;
|
|
835
836
|
} | undefined;
|
|
836
|
-
notes?: string[] | undefined;
|
|
837
837
|
}>>;
|
|
838
838
|
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
839
839
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -841,44 +841,44 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
841
841
|
success: boolean;
|
|
842
842
|
code?: string | undefined;
|
|
843
843
|
error?: string | undefined;
|
|
844
|
-
|
|
844
|
+
errors?: string[] | undefined;
|
|
845
845
|
dependencies?: {
|
|
846
|
-
external: string[];
|
|
847
846
|
internal: string[];
|
|
847
|
+
external: string[];
|
|
848
848
|
installCommands: {
|
|
849
849
|
npm: string;
|
|
850
850
|
yarn: string;
|
|
851
851
|
pnpm: string;
|
|
852
852
|
bun: string;
|
|
853
853
|
};
|
|
854
|
+
notes?: string[] | undefined;
|
|
854
855
|
compatibility?: {
|
|
855
856
|
react?: string | undefined;
|
|
856
857
|
node?: string | undefined;
|
|
857
858
|
} | undefined;
|
|
858
|
-
notes?: string[] | undefined;
|
|
859
859
|
} | undefined;
|
|
860
|
-
|
|
860
|
+
cssVariables?: string | undefined;
|
|
861
861
|
}, {
|
|
862
862
|
success: boolean;
|
|
863
863
|
code?: string | undefined;
|
|
864
864
|
error?: string | undefined;
|
|
865
|
-
|
|
865
|
+
errors?: string[] | undefined;
|
|
866
866
|
dependencies?: {
|
|
867
|
-
external: string[];
|
|
868
867
|
internal: string[];
|
|
868
|
+
external: string[];
|
|
869
869
|
installCommands: {
|
|
870
870
|
npm: string;
|
|
871
871
|
yarn: string;
|
|
872
872
|
pnpm: string;
|
|
873
873
|
bun: string;
|
|
874
874
|
};
|
|
875
|
+
notes?: string[] | undefined;
|
|
875
876
|
compatibility?: {
|
|
876
877
|
react?: string | undefined;
|
|
877
878
|
node?: string | undefined;
|
|
878
879
|
} | undefined;
|
|
879
|
-
notes?: string[] | undefined;
|
|
880
880
|
} | undefined;
|
|
881
|
-
|
|
881
|
+
cssVariables?: string | undefined;
|
|
882
882
|
}>;
|
|
883
883
|
export type GenerateScreenOutput = z.infer<typeof GenerateScreenOutputSchema>;
|
|
884
884
|
/**
|
|
@@ -903,12 +903,12 @@ export declare const ValidationSuggestionSchema: z.ZodObject<{
|
|
|
903
903
|
message: z.ZodString;
|
|
904
904
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
905
905
|
}, "strip", z.ZodTypeAny, {
|
|
906
|
-
message: string;
|
|
907
906
|
field: string;
|
|
907
|
+
message: string;
|
|
908
908
|
suggestion?: string | undefined;
|
|
909
909
|
}, {
|
|
910
|
-
message: string;
|
|
911
910
|
field: string;
|
|
911
|
+
message: string;
|
|
912
912
|
suggestion?: string | undefined;
|
|
913
913
|
}>;
|
|
914
914
|
export type ValidationSuggestion = z.infer<typeof ValidationSuggestionSchema>;
|
|
@@ -925,12 +925,12 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
|
|
|
925
925
|
message: z.ZodString;
|
|
926
926
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
927
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
|
-
message: string;
|
|
929
928
|
field: string;
|
|
929
|
+
message: string;
|
|
930
930
|
suggestion?: string | undefined;
|
|
931
931
|
}, {
|
|
932
|
-
message: string;
|
|
933
932
|
field: string;
|
|
933
|
+
message: string;
|
|
934
934
|
suggestion?: string | undefined;
|
|
935
935
|
}>, "many">>;
|
|
936
936
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -941,8 +941,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
|
|
|
941
941
|
errors?: string[] | undefined;
|
|
942
942
|
warnings?: string[] | undefined;
|
|
943
943
|
suggestions?: {
|
|
944
|
-
message: string;
|
|
945
944
|
field: string;
|
|
945
|
+
message: string;
|
|
946
946
|
suggestion?: string | undefined;
|
|
947
947
|
}[] | undefined;
|
|
948
948
|
}, {
|
|
@@ -952,8 +952,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
|
|
|
952
952
|
errors?: string[] | undefined;
|
|
953
953
|
warnings?: string[] | undefined;
|
|
954
954
|
suggestions?: {
|
|
955
|
-
message: string;
|
|
956
955
|
field: string;
|
|
956
|
+
message: string;
|
|
957
957
|
suggestion?: string | undefined;
|
|
958
958
|
}[] | undefined;
|
|
959
959
|
}>;
|
|
@@ -970,11 +970,11 @@ export declare const ListTokensInputSchema: z.ZodObject<{
|
|
|
970
970
|
tokenType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["shell", "page", "section", "all"]>>>;
|
|
971
971
|
filter: z.ZodOptional<z.ZodString>;
|
|
972
972
|
}, "strip", z.ZodTypeAny, {
|
|
973
|
-
tokenType: "
|
|
973
|
+
tokenType: "section" | "shell" | "page" | "all";
|
|
974
974
|
filter?: string | undefined;
|
|
975
975
|
}, {
|
|
976
976
|
filter?: string | undefined;
|
|
977
|
-
tokenType?: "
|
|
977
|
+
tokenType?: "section" | "shell" | "page" | "all" | undefined;
|
|
978
978
|
}>;
|
|
979
979
|
export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
|
|
980
980
|
/**
|
|
@@ -989,15 +989,15 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
989
989
|
type: z.ZodOptional<z.ZodString>;
|
|
990
990
|
}, "strip", z.ZodTypeAny, {
|
|
991
991
|
id: string;
|
|
992
|
-
type?: string | undefined;
|
|
993
992
|
description?: string | undefined;
|
|
993
|
+
type?: string | undefined;
|
|
994
994
|
name?: string | undefined;
|
|
995
995
|
platform?: string | undefined;
|
|
996
996
|
purpose?: string | undefined;
|
|
997
997
|
}, {
|
|
998
998
|
id: string;
|
|
999
|
-
type?: string | undefined;
|
|
1000
999
|
description?: string | undefined;
|
|
1000
|
+
type?: string | undefined;
|
|
1001
1001
|
name?: string | undefined;
|
|
1002
1002
|
platform?: string | undefined;
|
|
1003
1003
|
purpose?: string | undefined;
|
|
@@ -1017,15 +1017,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1017
1017
|
type: z.ZodOptional<z.ZodString>;
|
|
1018
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
1019
|
id: string;
|
|
1020
|
-
type?: string | undefined;
|
|
1021
1020
|
description?: string | undefined;
|
|
1021
|
+
type?: string | undefined;
|
|
1022
1022
|
name?: string | undefined;
|
|
1023
1023
|
platform?: string | undefined;
|
|
1024
1024
|
purpose?: string | undefined;
|
|
1025
1025
|
}, {
|
|
1026
1026
|
id: string;
|
|
1027
|
-
type?: string | undefined;
|
|
1028
1027
|
description?: string | undefined;
|
|
1028
|
+
type?: string | undefined;
|
|
1029
1029
|
name?: string | undefined;
|
|
1030
1030
|
platform?: string | undefined;
|
|
1031
1031
|
purpose?: string | undefined;
|
|
@@ -1039,15 +1039,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1039
1039
|
type: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1041
|
id: string;
|
|
1042
|
-
type?: string | undefined;
|
|
1043
1042
|
description?: string | undefined;
|
|
1043
|
+
type?: string | undefined;
|
|
1044
1044
|
name?: string | undefined;
|
|
1045
1045
|
platform?: string | undefined;
|
|
1046
1046
|
purpose?: string | undefined;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
id: string;
|
|
1049
|
-
type?: string | undefined;
|
|
1050
1049
|
description?: string | undefined;
|
|
1050
|
+
type?: string | undefined;
|
|
1051
1051
|
name?: string | undefined;
|
|
1052
1052
|
platform?: string | undefined;
|
|
1053
1053
|
purpose?: string | undefined;
|
|
@@ -1061,15 +1061,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1061
1061
|
type: z.ZodOptional<z.ZodString>;
|
|
1062
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1063
1063
|
id: string;
|
|
1064
|
-
type?: string | undefined;
|
|
1065
1064
|
description?: string | undefined;
|
|
1065
|
+
type?: string | undefined;
|
|
1066
1066
|
name?: string | undefined;
|
|
1067
1067
|
platform?: string | undefined;
|
|
1068
1068
|
purpose?: string | undefined;
|
|
1069
1069
|
}, {
|
|
1070
1070
|
id: string;
|
|
1071
|
-
type?: string | undefined;
|
|
1072
1071
|
description?: string | undefined;
|
|
1072
|
+
type?: string | undefined;
|
|
1073
1073
|
name?: string | undefined;
|
|
1074
1074
|
platform?: string | undefined;
|
|
1075
1075
|
purpose?: string | undefined;
|
|
@@ -1087,27 +1087,27 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1087
1087
|
error: z.ZodOptional<z.ZodString>;
|
|
1088
1088
|
}, "strip", z.ZodTypeAny, {
|
|
1089
1089
|
success: boolean;
|
|
1090
|
-
|
|
1091
|
-
shells?: {
|
|
1090
|
+
sections?: {
|
|
1092
1091
|
id: string;
|
|
1093
|
-
type?: string | undefined;
|
|
1094
1092
|
description?: string | undefined;
|
|
1093
|
+
type?: string | undefined;
|
|
1095
1094
|
name?: string | undefined;
|
|
1096
1095
|
platform?: string | undefined;
|
|
1097
1096
|
purpose?: string | undefined;
|
|
1098
1097
|
}[] | undefined;
|
|
1099
|
-
|
|
1098
|
+
error?: string | undefined;
|
|
1099
|
+
shells?: {
|
|
1100
1100
|
id: string;
|
|
1101
|
-
type?: string | undefined;
|
|
1102
1101
|
description?: string | undefined;
|
|
1102
|
+
type?: string | undefined;
|
|
1103
1103
|
name?: string | undefined;
|
|
1104
1104
|
platform?: string | undefined;
|
|
1105
1105
|
purpose?: string | undefined;
|
|
1106
1106
|
}[] | undefined;
|
|
1107
|
-
|
|
1107
|
+
pages?: {
|
|
1108
1108
|
id: string;
|
|
1109
|
-
type?: string | undefined;
|
|
1110
1109
|
description?: string | undefined;
|
|
1110
|
+
type?: string | undefined;
|
|
1111
1111
|
name?: string | undefined;
|
|
1112
1112
|
platform?: string | undefined;
|
|
1113
1113
|
purpose?: string | undefined;
|
|
@@ -1118,27 +1118,27 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1118
1118
|
} | undefined;
|
|
1119
1119
|
}, {
|
|
1120
1120
|
success: boolean;
|
|
1121
|
-
|
|
1122
|
-
shells?: {
|
|
1121
|
+
sections?: {
|
|
1123
1122
|
id: string;
|
|
1124
|
-
type?: string | undefined;
|
|
1125
1123
|
description?: string | undefined;
|
|
1124
|
+
type?: string | undefined;
|
|
1126
1125
|
name?: string | undefined;
|
|
1127
1126
|
platform?: string | undefined;
|
|
1128
1127
|
purpose?: string | undefined;
|
|
1129
1128
|
}[] | undefined;
|
|
1130
|
-
|
|
1129
|
+
error?: string | undefined;
|
|
1130
|
+
shells?: {
|
|
1131
1131
|
id: string;
|
|
1132
|
-
type?: string | undefined;
|
|
1133
1132
|
description?: string | undefined;
|
|
1133
|
+
type?: string | undefined;
|
|
1134
1134
|
name?: string | undefined;
|
|
1135
1135
|
platform?: string | undefined;
|
|
1136
1136
|
purpose?: string | undefined;
|
|
1137
1137
|
}[] | undefined;
|
|
1138
|
-
|
|
1138
|
+
pages?: {
|
|
1139
1139
|
id: string;
|
|
1140
|
-
type?: string | undefined;
|
|
1141
1140
|
description?: string | undefined;
|
|
1141
|
+
type?: string | undefined;
|
|
1142
1142
|
name?: string | undefined;
|
|
1143
1143
|
platform?: string | undefined;
|
|
1144
1144
|
purpose?: string | undefined;
|
|
@@ -1173,17 +1173,17 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1173
1173
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
1175
|
description: string;
|
|
1176
|
-
id: string;
|
|
1177
|
-
name: string;
|
|
1178
1176
|
version: string;
|
|
1177
|
+
name: string;
|
|
1178
|
+
id: string;
|
|
1179
1179
|
license: string;
|
|
1180
1180
|
totalIcons: number;
|
|
1181
1181
|
categories: string[];
|
|
1182
1182
|
}, {
|
|
1183
1183
|
description: string;
|
|
1184
|
-
id: string;
|
|
1185
|
-
name: string;
|
|
1186
1184
|
version: string;
|
|
1185
|
+
name: string;
|
|
1186
|
+
id: string;
|
|
1187
1187
|
license: string;
|
|
1188
1188
|
totalIcons: number;
|
|
1189
1189
|
categories: string[];
|
|
@@ -1204,17 +1204,17 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1204
1204
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1205
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1206
|
description: string;
|
|
1207
|
-
id: string;
|
|
1208
|
-
name: string;
|
|
1209
1207
|
version: string;
|
|
1208
|
+
name: string;
|
|
1209
|
+
id: string;
|
|
1210
1210
|
license: string;
|
|
1211
1211
|
totalIcons: number;
|
|
1212
1212
|
categories: string[];
|
|
1213
1213
|
}, {
|
|
1214
1214
|
description: string;
|
|
1215
|
-
id: string;
|
|
1216
|
-
name: string;
|
|
1217
1215
|
version: string;
|
|
1216
|
+
name: string;
|
|
1217
|
+
id: string;
|
|
1218
1218
|
license: string;
|
|
1219
1219
|
totalIcons: number;
|
|
1220
1220
|
categories: string[];
|
|
@@ -1224,29 +1224,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1224
1224
|
}, "strip", z.ZodTypeAny, {
|
|
1225
1225
|
success: boolean;
|
|
1226
1226
|
error?: string | undefined;
|
|
1227
|
-
count?: number | undefined;
|
|
1228
1227
|
libraries?: {
|
|
1229
1228
|
description: string;
|
|
1230
|
-
id: string;
|
|
1231
|
-
name: string;
|
|
1232
1229
|
version: string;
|
|
1230
|
+
name: string;
|
|
1231
|
+
id: string;
|
|
1233
1232
|
license: string;
|
|
1234
1233
|
totalIcons: number;
|
|
1235
1234
|
categories: string[];
|
|
1236
1235
|
}[] | undefined;
|
|
1236
|
+
count?: number | undefined;
|
|
1237
1237
|
}, {
|
|
1238
1238
|
success: boolean;
|
|
1239
1239
|
error?: string | undefined;
|
|
1240
|
-
count?: number | undefined;
|
|
1241
1240
|
libraries?: {
|
|
1242
1241
|
description: string;
|
|
1243
|
-
id: string;
|
|
1244
|
-
name: string;
|
|
1245
1242
|
version: string;
|
|
1243
|
+
name: string;
|
|
1244
|
+
id: string;
|
|
1246
1245
|
license: string;
|
|
1247
1246
|
totalIcons: number;
|
|
1248
1247
|
categories: string[];
|
|
1249
1248
|
}[] | undefined;
|
|
1249
|
+
count?: number | undefined;
|
|
1250
1250
|
}>;
|
|
1251
1251
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1252
1252
|
/**
|
|
@@ -1398,9 +1398,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1398
1398
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1399
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1400
1400
|
description: string;
|
|
1401
|
-
id: string;
|
|
1402
|
-
name: string;
|
|
1403
1401
|
version: string;
|
|
1402
|
+
name: string;
|
|
1403
|
+
id: string;
|
|
1404
1404
|
license: string;
|
|
1405
1405
|
totalIcons: number;
|
|
1406
1406
|
categories: string[];
|
|
@@ -1430,9 +1430,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1430
1430
|
iconSample?: string[] | undefined;
|
|
1431
1431
|
}, {
|
|
1432
1432
|
description: string;
|
|
1433
|
-
id: string;
|
|
1434
|
-
name: string;
|
|
1435
1433
|
version: string;
|
|
1434
|
+
name: string;
|
|
1435
|
+
id: string;
|
|
1436
1436
|
license: string;
|
|
1437
1437
|
totalIcons: number;
|
|
1438
1438
|
categories: string[];
|
|
@@ -1467,9 +1467,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1467
1467
|
error?: string | undefined;
|
|
1468
1468
|
library?: {
|
|
1469
1469
|
description: string;
|
|
1470
|
-
id: string;
|
|
1471
|
-
name: string;
|
|
1472
1470
|
version: string;
|
|
1471
|
+
name: string;
|
|
1472
|
+
id: string;
|
|
1473
1473
|
license: string;
|
|
1474
1474
|
totalIcons: number;
|
|
1475
1475
|
categories: string[];
|
|
@@ -1503,9 +1503,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1503
1503
|
error?: string | undefined;
|
|
1504
1504
|
library?: {
|
|
1505
1505
|
description: string;
|
|
1506
|
-
id: string;
|
|
1507
|
-
name: string;
|
|
1508
1506
|
version: string;
|
|
1507
|
+
name: string;
|
|
1508
|
+
id: string;
|
|
1509
1509
|
license: string;
|
|
1510
1510
|
totalIcons: number;
|
|
1511
1511
|
categories: string[];
|
|
@@ -1571,19 +1571,19 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1571
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1572
|
description: string;
|
|
1573
1573
|
category: "core" | "complex" | "advanced";
|
|
1574
|
-
id: string;
|
|
1575
1574
|
name: string;
|
|
1576
|
-
|
|
1575
|
+
id: string;
|
|
1577
1576
|
variantsCount: number;
|
|
1578
1577
|
hasSubComponents: boolean;
|
|
1578
|
+
tier: number;
|
|
1579
1579
|
}, {
|
|
1580
1580
|
description: string;
|
|
1581
1581
|
category: "core" | "complex" | "advanced";
|
|
1582
|
-
id: string;
|
|
1583
1582
|
name: string;
|
|
1584
|
-
|
|
1583
|
+
id: string;
|
|
1585
1584
|
variantsCount: number;
|
|
1586
1585
|
hasSubComponents: boolean;
|
|
1586
|
+
tier: number;
|
|
1587
1587
|
}>;
|
|
1588
1588
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1589
1589
|
/**
|
|
@@ -1602,19 +1602,19 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1602
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1603
1603
|
description: string;
|
|
1604
1604
|
category: "core" | "complex" | "advanced";
|
|
1605
|
-
id: string;
|
|
1606
1605
|
name: string;
|
|
1607
|
-
|
|
1606
|
+
id: string;
|
|
1608
1607
|
variantsCount: number;
|
|
1609
1608
|
hasSubComponents: boolean;
|
|
1609
|
+
tier: number;
|
|
1610
1610
|
}, {
|
|
1611
1611
|
description: string;
|
|
1612
1612
|
category: "core" | "complex" | "advanced";
|
|
1613
|
-
id: string;
|
|
1614
1613
|
name: string;
|
|
1615
|
-
|
|
1614
|
+
id: string;
|
|
1616
1615
|
variantsCount: number;
|
|
1617
1616
|
hasSubComponents: boolean;
|
|
1617
|
+
tier: number;
|
|
1618
1618
|
}>, "many">>;
|
|
1619
1619
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1620
1620
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1637,36 +1637,36 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1637
1637
|
components?: {
|
|
1638
1638
|
description: string;
|
|
1639
1639
|
category: "core" | "complex" | "advanced";
|
|
1640
|
-
id: string;
|
|
1641
1640
|
name: string;
|
|
1642
|
-
|
|
1641
|
+
id: string;
|
|
1643
1642
|
variantsCount: number;
|
|
1644
1643
|
hasSubComponents: boolean;
|
|
1644
|
+
tier: number;
|
|
1645
1645
|
}[] | undefined;
|
|
1646
|
-
count?: number | undefined;
|
|
1647
1646
|
categories?: {
|
|
1648
1647
|
core: number;
|
|
1649
1648
|
complex: number;
|
|
1650
1649
|
advanced: number;
|
|
1651
1650
|
} | undefined;
|
|
1651
|
+
count?: number | undefined;
|
|
1652
1652
|
}, {
|
|
1653
1653
|
success: boolean;
|
|
1654
1654
|
error?: string | undefined;
|
|
1655
1655
|
components?: {
|
|
1656
1656
|
description: string;
|
|
1657
1657
|
category: "core" | "complex" | "advanced";
|
|
1658
|
-
id: string;
|
|
1659
1658
|
name: string;
|
|
1660
|
-
|
|
1659
|
+
id: string;
|
|
1661
1660
|
variantsCount: number;
|
|
1662
1661
|
hasSubComponents: boolean;
|
|
1662
|
+
tier: number;
|
|
1663
1663
|
}[] | undefined;
|
|
1664
|
-
count?: number | undefined;
|
|
1665
1664
|
categories?: {
|
|
1666
1665
|
core: number;
|
|
1667
1666
|
complex: number;
|
|
1668
1667
|
advanced: number;
|
|
1669
1668
|
} | undefined;
|
|
1669
|
+
count?: number | undefined;
|
|
1670
1670
|
}>;
|
|
1671
1671
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1672
1672
|
/**
|
|
@@ -1697,15 +1697,15 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1697
1697
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1698
1698
|
description: z.ZodOptional<z.ZodString>;
|
|
1699
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1700
|
+
required: boolean;
|
|
1700
1701
|
type: string;
|
|
1701
1702
|
name: string;
|
|
1702
|
-
required: boolean;
|
|
1703
1703
|
description?: string | undefined;
|
|
1704
1704
|
defaultValue?: string | undefined;
|
|
1705
1705
|
}, {
|
|
1706
|
+
required: boolean;
|
|
1706
1707
|
type: string;
|
|
1707
1708
|
name: string;
|
|
1708
|
-
required: boolean;
|
|
1709
1709
|
description?: string | undefined;
|
|
1710
1710
|
defaultValue?: string | undefined;
|
|
1711
1711
|
}>;
|
|
@@ -1762,15 +1762,15 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1762
1762
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1763
1763
|
description: z.ZodOptional<z.ZodString>;
|
|
1764
1764
|
}, "strip", z.ZodTypeAny, {
|
|
1765
|
+
required: boolean;
|
|
1765
1766
|
type: string;
|
|
1766
1767
|
name: string;
|
|
1767
|
-
required: boolean;
|
|
1768
1768
|
description?: string | undefined;
|
|
1769
1769
|
defaultValue?: string | undefined;
|
|
1770
1770
|
}, {
|
|
1771
|
+
required: boolean;
|
|
1771
1772
|
type: string;
|
|
1772
1773
|
name: string;
|
|
1773
|
-
required: boolean;
|
|
1774
1774
|
description?: string | undefined;
|
|
1775
1775
|
defaultValue?: string | undefined;
|
|
1776
1776
|
}>, "many">;
|
|
@@ -1793,11 +1793,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1793
1793
|
internal: z.ZodArray<z.ZodString, "many">;
|
|
1794
1794
|
external: z.ZodArray<z.ZodString, "many">;
|
|
1795
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1796
|
-
external: string[];
|
|
1797
1796
|
internal: string[];
|
|
1798
|
-
}, {
|
|
1799
1797
|
external: string[];
|
|
1798
|
+
}, {
|
|
1800
1799
|
internal: string[];
|
|
1800
|
+
external: string[];
|
|
1801
1801
|
}>>;
|
|
1802
1802
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1803
1803
|
title: z.ZodString;
|
|
@@ -1816,133 +1816,133 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1816
1816
|
}, "strip", z.ZodTypeAny, {
|
|
1817
1817
|
description: string;
|
|
1818
1818
|
category: "core" | "complex" | "advanced";
|
|
1819
|
-
id: string;
|
|
1820
1819
|
name: string;
|
|
1821
|
-
|
|
1820
|
+
id: string;
|
|
1822
1821
|
importStatement: string;
|
|
1822
|
+
tier: number;
|
|
1823
1823
|
props: {
|
|
1824
|
+
required: boolean;
|
|
1824
1825
|
type: string;
|
|
1825
1826
|
name: string;
|
|
1826
|
-
required: boolean;
|
|
1827
1827
|
description?: string | undefined;
|
|
1828
1828
|
defaultValue?: string | undefined;
|
|
1829
1829
|
}[];
|
|
1830
|
-
|
|
1831
|
-
external: string[];
|
|
1832
|
-
internal: string[];
|
|
1833
|
-
} | undefined;
|
|
1830
|
+
accessibility?: string | undefined;
|
|
1834
1831
|
variants?: {
|
|
1835
1832
|
value: string;
|
|
1836
1833
|
name: string;
|
|
1837
1834
|
description?: string | undefined;
|
|
1838
1835
|
}[] | undefined;
|
|
1839
1836
|
subComponents?: string[] | undefined;
|
|
1837
|
+
dependencies?: {
|
|
1838
|
+
internal: string[];
|
|
1839
|
+
external: string[];
|
|
1840
|
+
} | undefined;
|
|
1840
1841
|
examples?: {
|
|
1841
1842
|
code: string;
|
|
1842
1843
|
title: string;
|
|
1843
1844
|
description?: string | undefined;
|
|
1844
1845
|
}[] | undefined;
|
|
1845
|
-
accessibility?: string | undefined;
|
|
1846
1846
|
}, {
|
|
1847
1847
|
description: string;
|
|
1848
1848
|
category: "core" | "complex" | "advanced";
|
|
1849
|
-
id: string;
|
|
1850
1849
|
name: string;
|
|
1851
|
-
|
|
1850
|
+
id: string;
|
|
1852
1851
|
importStatement: string;
|
|
1852
|
+
tier: number;
|
|
1853
1853
|
props: {
|
|
1854
|
+
required: boolean;
|
|
1854
1855
|
type: string;
|
|
1855
1856
|
name: string;
|
|
1856
|
-
required: boolean;
|
|
1857
1857
|
description?: string | undefined;
|
|
1858
1858
|
defaultValue?: string | undefined;
|
|
1859
1859
|
}[];
|
|
1860
|
-
|
|
1861
|
-
external: string[];
|
|
1862
|
-
internal: string[];
|
|
1863
|
-
} | undefined;
|
|
1860
|
+
accessibility?: string | undefined;
|
|
1864
1861
|
variants?: {
|
|
1865
1862
|
value: string;
|
|
1866
1863
|
name: string;
|
|
1867
1864
|
description?: string | undefined;
|
|
1868
1865
|
}[] | undefined;
|
|
1869
1866
|
subComponents?: string[] | undefined;
|
|
1867
|
+
dependencies?: {
|
|
1868
|
+
internal: string[];
|
|
1869
|
+
external: string[];
|
|
1870
|
+
} | undefined;
|
|
1870
1871
|
examples?: {
|
|
1871
1872
|
code: string;
|
|
1872
1873
|
title: string;
|
|
1873
1874
|
description?: string | undefined;
|
|
1874
1875
|
}[] | undefined;
|
|
1875
|
-
accessibility?: string | undefined;
|
|
1876
1876
|
}>>;
|
|
1877
1877
|
error: z.ZodOptional<z.ZodString>;
|
|
1878
1878
|
}, "strip", z.ZodTypeAny, {
|
|
1879
1879
|
success: boolean;
|
|
1880
|
-
error?: string | undefined;
|
|
1881
1880
|
component?: {
|
|
1882
1881
|
description: string;
|
|
1883
1882
|
category: "core" | "complex" | "advanced";
|
|
1884
|
-
id: string;
|
|
1885
1883
|
name: string;
|
|
1886
|
-
|
|
1884
|
+
id: string;
|
|
1887
1885
|
importStatement: string;
|
|
1886
|
+
tier: number;
|
|
1888
1887
|
props: {
|
|
1888
|
+
required: boolean;
|
|
1889
1889
|
type: string;
|
|
1890
1890
|
name: string;
|
|
1891
|
-
required: boolean;
|
|
1892
1891
|
description?: string | undefined;
|
|
1893
1892
|
defaultValue?: string | undefined;
|
|
1894
1893
|
}[];
|
|
1895
|
-
|
|
1896
|
-
external: string[];
|
|
1897
|
-
internal: string[];
|
|
1898
|
-
} | undefined;
|
|
1894
|
+
accessibility?: string | undefined;
|
|
1899
1895
|
variants?: {
|
|
1900
1896
|
value: string;
|
|
1901
1897
|
name: string;
|
|
1902
1898
|
description?: string | undefined;
|
|
1903
1899
|
}[] | undefined;
|
|
1904
1900
|
subComponents?: string[] | undefined;
|
|
1901
|
+
dependencies?: {
|
|
1902
|
+
internal: string[];
|
|
1903
|
+
external: string[];
|
|
1904
|
+
} | undefined;
|
|
1905
1905
|
examples?: {
|
|
1906
1906
|
code: string;
|
|
1907
1907
|
title: string;
|
|
1908
1908
|
description?: string | undefined;
|
|
1909
1909
|
}[] | undefined;
|
|
1910
|
-
accessibility?: string | undefined;
|
|
1911
1910
|
} | undefined;
|
|
1911
|
+
error?: string | undefined;
|
|
1912
1912
|
}, {
|
|
1913
1913
|
success: boolean;
|
|
1914
|
-
error?: string | undefined;
|
|
1915
1914
|
component?: {
|
|
1916
1915
|
description: string;
|
|
1917
1916
|
category: "core" | "complex" | "advanced";
|
|
1918
|
-
id: string;
|
|
1919
1917
|
name: string;
|
|
1920
|
-
|
|
1918
|
+
id: string;
|
|
1921
1919
|
importStatement: string;
|
|
1920
|
+
tier: number;
|
|
1922
1921
|
props: {
|
|
1922
|
+
required: boolean;
|
|
1923
1923
|
type: string;
|
|
1924
1924
|
name: string;
|
|
1925
|
-
required: boolean;
|
|
1926
1925
|
description?: string | undefined;
|
|
1927
1926
|
defaultValue?: string | undefined;
|
|
1928
1927
|
}[];
|
|
1929
|
-
|
|
1930
|
-
external: string[];
|
|
1931
|
-
internal: string[];
|
|
1932
|
-
} | undefined;
|
|
1928
|
+
accessibility?: string | undefined;
|
|
1933
1929
|
variants?: {
|
|
1934
1930
|
value: string;
|
|
1935
1931
|
name: string;
|
|
1936
1932
|
description?: string | undefined;
|
|
1937
1933
|
}[] | undefined;
|
|
1938
1934
|
subComponents?: string[] | undefined;
|
|
1935
|
+
dependencies?: {
|
|
1936
|
+
internal: string[];
|
|
1937
|
+
external: string[];
|
|
1938
|
+
} | undefined;
|
|
1939
1939
|
examples?: {
|
|
1940
1940
|
code: string;
|
|
1941
1941
|
title: string;
|
|
1942
1942
|
description?: string | undefined;
|
|
1943
1943
|
}[] | undefined;
|
|
1944
|
-
accessibility?: string | undefined;
|
|
1945
1944
|
} | undefined;
|
|
1945
|
+
error?: string | undefined;
|
|
1946
1946
|
}>;
|
|
1947
1947
|
export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
|
|
1948
1948
|
/**
|
|
@@ -1958,10 +1958,10 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
1958
1958
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
1959
1959
|
search: z.ZodOptional<z.ZodString>;
|
|
1960
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
category: "
|
|
1961
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "all" | "feedback";
|
|
1962
1962
|
search?: string | undefined;
|
|
1963
1963
|
}, {
|
|
1964
|
-
category?: "
|
|
1964
|
+
category?: "form" | "dashboard" | "auth" | "marketing" | "all" | "feedback" | undefined;
|
|
1965
1965
|
search?: string | undefined;
|
|
1966
1966
|
}>;
|
|
1967
1967
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
@@ -1984,21 +1984,21 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1984
1984
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1985
1985
|
}, "strip", z.ZodTypeAny, {
|
|
1986
1986
|
description: string;
|
|
1987
|
-
category: "
|
|
1988
|
-
id: string;
|
|
1989
|
-
name: string;
|
|
1987
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
1990
1988
|
version: string;
|
|
1989
|
+
name: string;
|
|
1990
|
+
id: string;
|
|
1991
1991
|
requiredComponentsCount: number;
|
|
1992
|
-
layoutType: "
|
|
1992
|
+
layoutType: "sidebar" | "full" | "centered";
|
|
1993
1993
|
tags?: string[] | undefined;
|
|
1994
1994
|
}, {
|
|
1995
1995
|
description: string;
|
|
1996
|
-
category: "
|
|
1997
|
-
id: string;
|
|
1998
|
-
name: string;
|
|
1996
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
1999
1997
|
version: string;
|
|
1998
|
+
name: string;
|
|
1999
|
+
id: string;
|
|
2000
2000
|
requiredComponentsCount: number;
|
|
2001
|
-
layoutType: "
|
|
2001
|
+
layoutType: "sidebar" | "full" | "centered";
|
|
2002
2002
|
tags?: string[] | undefined;
|
|
2003
2003
|
}>;
|
|
2004
2004
|
export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
|
|
@@ -2018,21 +2018,21 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2018
2018
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2019
2019
|
}, "strip", z.ZodTypeAny, {
|
|
2020
2020
|
description: string;
|
|
2021
|
-
category: "
|
|
2022
|
-
id: string;
|
|
2023
|
-
name: string;
|
|
2021
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2024
2022
|
version: string;
|
|
2023
|
+
name: string;
|
|
2024
|
+
id: string;
|
|
2025
2025
|
requiredComponentsCount: number;
|
|
2026
|
-
layoutType: "
|
|
2026
|
+
layoutType: "sidebar" | "full" | "centered";
|
|
2027
2027
|
tags?: string[] | undefined;
|
|
2028
2028
|
}, {
|
|
2029
2029
|
description: string;
|
|
2030
|
-
category: "
|
|
2031
|
-
id: string;
|
|
2032
|
-
name: string;
|
|
2030
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2033
2031
|
version: string;
|
|
2032
|
+
name: string;
|
|
2033
|
+
id: string;
|
|
2034
2034
|
requiredComponentsCount: number;
|
|
2035
|
-
layoutType: "
|
|
2035
|
+
layoutType: "sidebar" | "full" | "centered";
|
|
2036
2036
|
tags?: string[] | undefined;
|
|
2037
2037
|
}>, "many">>;
|
|
2038
2038
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2043,15 +2043,15 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2043
2043
|
marketing: z.ZodNumber;
|
|
2044
2044
|
feedback: z.ZodNumber;
|
|
2045
2045
|
}, "strip", z.ZodTypeAny, {
|
|
2046
|
+
form: number;
|
|
2046
2047
|
dashboard: number;
|
|
2047
2048
|
auth: number;
|
|
2048
|
-
form: number;
|
|
2049
2049
|
marketing: number;
|
|
2050
2050
|
feedback: number;
|
|
2051
2051
|
}, {
|
|
2052
|
+
form: number;
|
|
2052
2053
|
dashboard: number;
|
|
2053
2054
|
auth: number;
|
|
2054
|
-
form: number;
|
|
2055
2055
|
marketing: number;
|
|
2056
2056
|
feedback: number;
|
|
2057
2057
|
}>>;
|
|
@@ -2059,43 +2059,43 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2059
2059
|
}, "strip", z.ZodTypeAny, {
|
|
2060
2060
|
success: boolean;
|
|
2061
2061
|
error?: string | undefined;
|
|
2062
|
-
count?: number | undefined;
|
|
2063
2062
|
categories?: {
|
|
2063
|
+
form: number;
|
|
2064
2064
|
dashboard: number;
|
|
2065
2065
|
auth: number;
|
|
2066
|
-
form: number;
|
|
2067
2066
|
marketing: number;
|
|
2068
2067
|
feedback: number;
|
|
2069
2068
|
} | undefined;
|
|
2069
|
+
count?: number | undefined;
|
|
2070
2070
|
templates?: {
|
|
2071
2071
|
description: string;
|
|
2072
|
-
category: "
|
|
2073
|
-
id: string;
|
|
2074
|
-
name: string;
|
|
2072
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2075
2073
|
version: string;
|
|
2074
|
+
name: string;
|
|
2075
|
+
id: string;
|
|
2076
2076
|
requiredComponentsCount: number;
|
|
2077
|
-
layoutType: "
|
|
2077
|
+
layoutType: "sidebar" | "full" | "centered";
|
|
2078
2078
|
tags?: string[] | undefined;
|
|
2079
2079
|
}[] | undefined;
|
|
2080
2080
|
}, {
|
|
2081
2081
|
success: boolean;
|
|
2082
2082
|
error?: string | undefined;
|
|
2083
|
-
count?: number | undefined;
|
|
2084
2083
|
categories?: {
|
|
2084
|
+
form: number;
|
|
2085
2085
|
dashboard: number;
|
|
2086
2086
|
auth: number;
|
|
2087
|
-
form: number;
|
|
2088
2087
|
marketing: number;
|
|
2089
2088
|
feedback: number;
|
|
2090
2089
|
} | undefined;
|
|
2090
|
+
count?: number | undefined;
|
|
2091
2091
|
templates?: {
|
|
2092
2092
|
description: string;
|
|
2093
|
-
category: "
|
|
2094
|
-
id: string;
|
|
2095
|
-
name: string;
|
|
2093
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2096
2094
|
version: string;
|
|
2095
|
+
name: string;
|
|
2096
|
+
id: string;
|
|
2097
2097
|
requiredComponentsCount: number;
|
|
2098
|
-
layoutType: "
|
|
2098
|
+
layoutType: "sidebar" | "full" | "centered";
|
|
2099
2099
|
tags?: string[] | undefined;
|
|
2100
2100
|
}[] | undefined;
|
|
2101
2101
|
}>;
|
|
@@ -2127,34 +2127,34 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2127
2127
|
slot: z.ZodString;
|
|
2128
2128
|
required: z.ZodBoolean;
|
|
2129
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2130
|
-
id: string;
|
|
2131
|
-
name: string;
|
|
2132
2130
|
required: boolean;
|
|
2131
|
+
name: string;
|
|
2132
|
+
id: string;
|
|
2133
2133
|
slot: string;
|
|
2134
2134
|
}, {
|
|
2135
|
-
id: string;
|
|
2136
|
-
name: string;
|
|
2137
2135
|
required: boolean;
|
|
2136
|
+
name: string;
|
|
2137
|
+
id: string;
|
|
2138
2138
|
slot: string;
|
|
2139
2139
|
}>, "many">;
|
|
2140
2140
|
}, "strip", z.ZodTypeAny, {
|
|
2141
|
-
shell: string;
|
|
2142
|
-
page: string;
|
|
2143
2141
|
sections: {
|
|
2144
|
-
id: string;
|
|
2145
|
-
name: string;
|
|
2146
2142
|
required: boolean;
|
|
2143
|
+
name: string;
|
|
2144
|
+
id: string;
|
|
2147
2145
|
slot: string;
|
|
2148
2146
|
}[];
|
|
2149
|
-
}, {
|
|
2150
2147
|
shell: string;
|
|
2151
2148
|
page: string;
|
|
2149
|
+
}, {
|
|
2152
2150
|
sections: {
|
|
2153
|
-
id: string;
|
|
2154
|
-
name: string;
|
|
2155
2151
|
required: boolean;
|
|
2152
|
+
name: string;
|
|
2153
|
+
id: string;
|
|
2156
2154
|
slot: string;
|
|
2157
2155
|
}[];
|
|
2156
|
+
shell: string;
|
|
2157
|
+
page: string;
|
|
2158
2158
|
}>;
|
|
2159
2159
|
export type Skeleton = z.infer<typeof SkeletonSchema>;
|
|
2160
2160
|
/**
|
|
@@ -2165,12 +2165,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2165
2165
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2166
2166
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2167
2167
|
}, "strip", z.ZodTypeAny, {
|
|
2168
|
-
texts: string[];
|
|
2169
2168
|
optional: string[];
|
|
2169
|
+
texts: string[];
|
|
2170
2170
|
slots: string[];
|
|
2171
2171
|
}, {
|
|
2172
|
-
texts: string[];
|
|
2173
2172
|
optional: string[];
|
|
2173
|
+
texts: string[];
|
|
2174
2174
|
slots: string[];
|
|
2175
2175
|
}>;
|
|
2176
2176
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2183,71 +2183,71 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2183
2183
|
gap: z.ZodString;
|
|
2184
2184
|
columns: z.ZodNumber;
|
|
2185
2185
|
}, "strip", z.ZodTypeAny, {
|
|
2186
|
+
columns: number;
|
|
2186
2187
|
padding: string;
|
|
2187
2188
|
gap: string;
|
|
2188
|
-
columns: number;
|
|
2189
2189
|
}, {
|
|
2190
|
+
columns: number;
|
|
2190
2191
|
padding: string;
|
|
2191
2192
|
gap: string;
|
|
2192
|
-
columns: number;
|
|
2193
2193
|
}>;
|
|
2194
2194
|
tablet: z.ZodObject<{
|
|
2195
2195
|
padding: z.ZodString;
|
|
2196
2196
|
gap: z.ZodString;
|
|
2197
2197
|
columns: z.ZodNumber;
|
|
2198
2198
|
}, "strip", z.ZodTypeAny, {
|
|
2199
|
+
columns: number;
|
|
2199
2200
|
padding: string;
|
|
2200
2201
|
gap: string;
|
|
2201
|
-
columns: number;
|
|
2202
2202
|
}, {
|
|
2203
|
+
columns: number;
|
|
2203
2204
|
padding: string;
|
|
2204
2205
|
gap: string;
|
|
2205
|
-
columns: number;
|
|
2206
2206
|
}>;
|
|
2207
2207
|
desktop: z.ZodObject<{
|
|
2208
2208
|
padding: z.ZodString;
|
|
2209
2209
|
gap: z.ZodString;
|
|
2210
2210
|
columns: z.ZodNumber;
|
|
2211
2211
|
}, "strip", z.ZodTypeAny, {
|
|
2212
|
+
columns: number;
|
|
2212
2213
|
padding: string;
|
|
2213
2214
|
gap: string;
|
|
2214
|
-
columns: number;
|
|
2215
2215
|
}, {
|
|
2216
|
+
columns: number;
|
|
2216
2217
|
padding: string;
|
|
2217
2218
|
gap: string;
|
|
2218
|
-
columns: number;
|
|
2219
2219
|
}>;
|
|
2220
2220
|
}, "strip", z.ZodTypeAny, {
|
|
2221
2221
|
mobile: {
|
|
2222
|
+
columns: number;
|
|
2222
2223
|
padding: string;
|
|
2223
2224
|
gap: string;
|
|
2224
|
-
columns: number;
|
|
2225
2225
|
};
|
|
2226
2226
|
tablet: {
|
|
2227
|
+
columns: number;
|
|
2227
2228
|
padding: string;
|
|
2228
2229
|
gap: string;
|
|
2229
|
-
columns: number;
|
|
2230
2230
|
};
|
|
2231
2231
|
desktop: {
|
|
2232
|
+
columns: number;
|
|
2232
2233
|
padding: string;
|
|
2233
2234
|
gap: string;
|
|
2234
|
-
columns: number;
|
|
2235
2235
|
};
|
|
2236
2236
|
}, {
|
|
2237
2237
|
mobile: {
|
|
2238
|
+
columns: number;
|
|
2238
2239
|
padding: string;
|
|
2239
2240
|
gap: string;
|
|
2240
|
-
columns: number;
|
|
2241
2241
|
};
|
|
2242
2242
|
tablet: {
|
|
2243
|
+
columns: number;
|
|
2243
2244
|
padding: string;
|
|
2244
2245
|
gap: string;
|
|
2245
|
-
columns: number;
|
|
2246
2246
|
};
|
|
2247
2247
|
desktop: {
|
|
2248
|
+
columns: number;
|
|
2248
2249
|
padding: string;
|
|
2249
2250
|
gap: string;
|
|
2250
|
-
columns: number;
|
|
2251
2251
|
};
|
|
2252
2252
|
}>;
|
|
2253
2253
|
export type ResponsiveLayout = z.infer<typeof ResponsiveLayoutSchema>;
|
|
@@ -2271,34 +2271,34 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2271
2271
|
slot: z.ZodString;
|
|
2272
2272
|
required: z.ZodBoolean;
|
|
2273
2273
|
}, "strip", z.ZodTypeAny, {
|
|
2274
|
-
id: string;
|
|
2275
|
-
name: string;
|
|
2276
2274
|
required: boolean;
|
|
2275
|
+
name: string;
|
|
2276
|
+
id: string;
|
|
2277
2277
|
slot: string;
|
|
2278
2278
|
}, {
|
|
2279
|
-
id: string;
|
|
2280
|
-
name: string;
|
|
2281
2279
|
required: boolean;
|
|
2280
|
+
name: string;
|
|
2281
|
+
id: string;
|
|
2282
2282
|
slot: string;
|
|
2283
2283
|
}>, "many">;
|
|
2284
2284
|
}, "strip", z.ZodTypeAny, {
|
|
2285
|
-
shell: string;
|
|
2286
|
-
page: string;
|
|
2287
2285
|
sections: {
|
|
2288
|
-
id: string;
|
|
2289
|
-
name: string;
|
|
2290
2286
|
required: boolean;
|
|
2287
|
+
name: string;
|
|
2288
|
+
id: string;
|
|
2291
2289
|
slot: string;
|
|
2292
2290
|
}[];
|
|
2293
|
-
}, {
|
|
2294
2291
|
shell: string;
|
|
2295
2292
|
page: string;
|
|
2293
|
+
}, {
|
|
2296
2294
|
sections: {
|
|
2297
|
-
id: string;
|
|
2298
|
-
name: string;
|
|
2299
2295
|
required: boolean;
|
|
2296
|
+
name: string;
|
|
2297
|
+
id: string;
|
|
2300
2298
|
slot: string;
|
|
2301
2299
|
}[];
|
|
2300
|
+
shell: string;
|
|
2301
|
+
page: string;
|
|
2302
2302
|
}>;
|
|
2303
2303
|
layout: z.ZodObject<{
|
|
2304
2304
|
type: z.ZodEnum<["centered", "sidebar", "full"]>;
|
|
@@ -2308,109 +2308,109 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2308
2308
|
gap: z.ZodString;
|
|
2309
2309
|
columns: z.ZodNumber;
|
|
2310
2310
|
}, "strip", z.ZodTypeAny, {
|
|
2311
|
+
columns: number;
|
|
2311
2312
|
padding: string;
|
|
2312
2313
|
gap: string;
|
|
2313
|
-
columns: number;
|
|
2314
2314
|
}, {
|
|
2315
|
+
columns: number;
|
|
2315
2316
|
padding: string;
|
|
2316
2317
|
gap: string;
|
|
2317
|
-
columns: number;
|
|
2318
2318
|
}>;
|
|
2319
2319
|
tablet: z.ZodObject<{
|
|
2320
2320
|
padding: z.ZodString;
|
|
2321
2321
|
gap: z.ZodString;
|
|
2322
2322
|
columns: z.ZodNumber;
|
|
2323
2323
|
}, "strip", z.ZodTypeAny, {
|
|
2324
|
+
columns: number;
|
|
2324
2325
|
padding: string;
|
|
2325
2326
|
gap: string;
|
|
2326
|
-
columns: number;
|
|
2327
2327
|
}, {
|
|
2328
|
+
columns: number;
|
|
2328
2329
|
padding: string;
|
|
2329
2330
|
gap: string;
|
|
2330
|
-
columns: number;
|
|
2331
2331
|
}>;
|
|
2332
2332
|
desktop: z.ZodObject<{
|
|
2333
2333
|
padding: z.ZodString;
|
|
2334
2334
|
gap: z.ZodString;
|
|
2335
2335
|
columns: z.ZodNumber;
|
|
2336
2336
|
}, "strip", z.ZodTypeAny, {
|
|
2337
|
+
columns: number;
|
|
2337
2338
|
padding: string;
|
|
2338
2339
|
gap: string;
|
|
2339
|
-
columns: number;
|
|
2340
2340
|
}, {
|
|
2341
|
+
columns: number;
|
|
2341
2342
|
padding: string;
|
|
2342
2343
|
gap: string;
|
|
2343
|
-
columns: number;
|
|
2344
2344
|
}>;
|
|
2345
2345
|
}, "strip", z.ZodTypeAny, {
|
|
2346
2346
|
mobile: {
|
|
2347
|
+
columns: number;
|
|
2347
2348
|
padding: string;
|
|
2348
2349
|
gap: string;
|
|
2349
|
-
columns: number;
|
|
2350
2350
|
};
|
|
2351
2351
|
tablet: {
|
|
2352
|
+
columns: number;
|
|
2352
2353
|
padding: string;
|
|
2353
2354
|
gap: string;
|
|
2354
|
-
columns: number;
|
|
2355
2355
|
};
|
|
2356
2356
|
desktop: {
|
|
2357
|
+
columns: number;
|
|
2357
2358
|
padding: string;
|
|
2358
2359
|
gap: string;
|
|
2359
|
-
columns: number;
|
|
2360
2360
|
};
|
|
2361
2361
|
}, {
|
|
2362
2362
|
mobile: {
|
|
2363
|
+
columns: number;
|
|
2363
2364
|
padding: string;
|
|
2364
2365
|
gap: string;
|
|
2365
|
-
columns: number;
|
|
2366
2366
|
};
|
|
2367
2367
|
tablet: {
|
|
2368
|
+
columns: number;
|
|
2368
2369
|
padding: string;
|
|
2369
2370
|
gap: string;
|
|
2370
|
-
columns: number;
|
|
2371
2371
|
};
|
|
2372
2372
|
desktop: {
|
|
2373
|
+
columns: number;
|
|
2373
2374
|
padding: string;
|
|
2374
2375
|
gap: string;
|
|
2375
|
-
columns: number;
|
|
2376
2376
|
};
|
|
2377
2377
|
}>>;
|
|
2378
2378
|
}, "strip", z.ZodTypeAny, {
|
|
2379
|
-
type: "
|
|
2379
|
+
type: "sidebar" | "full" | "centered";
|
|
2380
2380
|
responsive?: {
|
|
2381
2381
|
mobile: {
|
|
2382
|
+
columns: number;
|
|
2382
2383
|
padding: string;
|
|
2383
2384
|
gap: string;
|
|
2384
|
-
columns: number;
|
|
2385
2385
|
};
|
|
2386
2386
|
tablet: {
|
|
2387
|
+
columns: number;
|
|
2387
2388
|
padding: string;
|
|
2388
2389
|
gap: string;
|
|
2389
|
-
columns: number;
|
|
2390
2390
|
};
|
|
2391
2391
|
desktop: {
|
|
2392
|
+
columns: number;
|
|
2392
2393
|
padding: string;
|
|
2393
2394
|
gap: string;
|
|
2394
|
-
columns: number;
|
|
2395
2395
|
};
|
|
2396
2396
|
} | undefined;
|
|
2397
2397
|
}, {
|
|
2398
|
-
type: "
|
|
2398
|
+
type: "sidebar" | "full" | "centered";
|
|
2399
2399
|
responsive?: {
|
|
2400
2400
|
mobile: {
|
|
2401
|
+
columns: number;
|
|
2401
2402
|
padding: string;
|
|
2402
2403
|
gap: string;
|
|
2403
|
-
columns: number;
|
|
2404
2404
|
};
|
|
2405
2405
|
tablet: {
|
|
2406
|
+
columns: number;
|
|
2406
2407
|
padding: string;
|
|
2407
2408
|
gap: string;
|
|
2408
|
-
columns: number;
|
|
2409
2409
|
};
|
|
2410
2410
|
desktop: {
|
|
2411
|
+
columns: number;
|
|
2411
2412
|
padding: string;
|
|
2412
2413
|
gap: string;
|
|
2413
|
-
columns: number;
|
|
2414
2414
|
};
|
|
2415
2415
|
} | undefined;
|
|
2416
2416
|
}>;
|
|
@@ -2419,12 +2419,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2419
2419
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2420
2420
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2421
2421
|
}, "strip", z.ZodTypeAny, {
|
|
2422
|
-
texts: string[];
|
|
2423
2422
|
optional: string[];
|
|
2423
|
+
texts: string[];
|
|
2424
2424
|
slots: string[];
|
|
2425
2425
|
}, {
|
|
2426
|
-
texts: string[];
|
|
2427
2426
|
optional: string[];
|
|
2427
|
+
texts: string[];
|
|
2428
2428
|
slots: string[];
|
|
2429
2429
|
}>;
|
|
2430
2430
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2447,44 +2447,44 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2447
2447
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2448
2448
|
}, "strip", z.ZodTypeAny, {
|
|
2449
2449
|
description: string;
|
|
2450
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2450
2451
|
layout: {
|
|
2451
|
-
type: "
|
|
2452
|
+
type: "sidebar" | "full" | "centered";
|
|
2452
2453
|
responsive?: {
|
|
2453
2454
|
mobile: {
|
|
2455
|
+
columns: number;
|
|
2454
2456
|
padding: string;
|
|
2455
2457
|
gap: string;
|
|
2456
|
-
columns: number;
|
|
2457
2458
|
};
|
|
2458
2459
|
tablet: {
|
|
2460
|
+
columns: number;
|
|
2459
2461
|
padding: string;
|
|
2460
2462
|
gap: string;
|
|
2461
|
-
columns: number;
|
|
2462
2463
|
};
|
|
2463
2464
|
desktop: {
|
|
2465
|
+
columns: number;
|
|
2464
2466
|
padding: string;
|
|
2465
2467
|
gap: string;
|
|
2466
|
-
columns: number;
|
|
2467
2468
|
};
|
|
2468
2469
|
} | undefined;
|
|
2469
2470
|
};
|
|
2470
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2471
|
-
id: string;
|
|
2472
|
-
name: string;
|
|
2473
2471
|
version: string;
|
|
2472
|
+
name: string;
|
|
2473
|
+
id: string;
|
|
2474
2474
|
importStatement: string;
|
|
2475
2475
|
skeleton: {
|
|
2476
|
-
shell: string;
|
|
2477
|
-
page: string;
|
|
2478
2476
|
sections: {
|
|
2479
|
-
id: string;
|
|
2480
|
-
name: string;
|
|
2481
2477
|
required: boolean;
|
|
2478
|
+
name: string;
|
|
2479
|
+
id: string;
|
|
2482
2480
|
slot: string;
|
|
2483
2481
|
}[];
|
|
2482
|
+
shell: string;
|
|
2483
|
+
page: string;
|
|
2484
2484
|
};
|
|
2485
2485
|
customizable: {
|
|
2486
|
-
texts: string[];
|
|
2487
2486
|
optional: string[];
|
|
2487
|
+
texts: string[];
|
|
2488
2488
|
slots: string[];
|
|
2489
2489
|
};
|
|
2490
2490
|
requiredComponents: string[];
|
|
@@ -2498,44 +2498,44 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2498
2498
|
} | undefined;
|
|
2499
2499
|
}, {
|
|
2500
2500
|
description: string;
|
|
2501
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2501
2502
|
layout: {
|
|
2502
|
-
type: "
|
|
2503
|
+
type: "sidebar" | "full" | "centered";
|
|
2503
2504
|
responsive?: {
|
|
2504
2505
|
mobile: {
|
|
2506
|
+
columns: number;
|
|
2505
2507
|
padding: string;
|
|
2506
2508
|
gap: string;
|
|
2507
|
-
columns: number;
|
|
2508
2509
|
};
|
|
2509
2510
|
tablet: {
|
|
2511
|
+
columns: number;
|
|
2510
2512
|
padding: string;
|
|
2511
2513
|
gap: string;
|
|
2512
|
-
columns: number;
|
|
2513
2514
|
};
|
|
2514
2515
|
desktop: {
|
|
2516
|
+
columns: number;
|
|
2515
2517
|
padding: string;
|
|
2516
2518
|
gap: string;
|
|
2517
|
-
columns: number;
|
|
2518
2519
|
};
|
|
2519
2520
|
} | undefined;
|
|
2520
2521
|
};
|
|
2521
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2522
|
-
id: string;
|
|
2523
|
-
name: string;
|
|
2524
2522
|
version: string;
|
|
2523
|
+
name: string;
|
|
2524
|
+
id: string;
|
|
2525
2525
|
importStatement: string;
|
|
2526
2526
|
skeleton: {
|
|
2527
|
-
shell: string;
|
|
2528
|
-
page: string;
|
|
2529
2527
|
sections: {
|
|
2530
|
-
id: string;
|
|
2531
|
-
name: string;
|
|
2532
2528
|
required: boolean;
|
|
2529
|
+
name: string;
|
|
2530
|
+
id: string;
|
|
2533
2531
|
slot: string;
|
|
2534
2532
|
}[];
|
|
2533
|
+
shell: string;
|
|
2534
|
+
page: string;
|
|
2535
2535
|
};
|
|
2536
2536
|
customizable: {
|
|
2537
|
-
texts: string[];
|
|
2538
2537
|
optional: string[];
|
|
2538
|
+
texts: string[];
|
|
2539
2539
|
slots: string[];
|
|
2540
2540
|
};
|
|
2541
2541
|
requiredComponents: string[];
|
|
@@ -2554,44 +2554,44 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2554
2554
|
error?: string | undefined;
|
|
2555
2555
|
template?: {
|
|
2556
2556
|
description: string;
|
|
2557
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2557
2558
|
layout: {
|
|
2558
|
-
type: "
|
|
2559
|
+
type: "sidebar" | "full" | "centered";
|
|
2559
2560
|
responsive?: {
|
|
2560
2561
|
mobile: {
|
|
2562
|
+
columns: number;
|
|
2561
2563
|
padding: string;
|
|
2562
2564
|
gap: string;
|
|
2563
|
-
columns: number;
|
|
2564
2565
|
};
|
|
2565
2566
|
tablet: {
|
|
2567
|
+
columns: number;
|
|
2566
2568
|
padding: string;
|
|
2567
2569
|
gap: string;
|
|
2568
|
-
columns: number;
|
|
2569
2570
|
};
|
|
2570
2571
|
desktop: {
|
|
2572
|
+
columns: number;
|
|
2571
2573
|
padding: string;
|
|
2572
2574
|
gap: string;
|
|
2573
|
-
columns: number;
|
|
2574
2575
|
};
|
|
2575
2576
|
} | undefined;
|
|
2576
2577
|
};
|
|
2577
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2578
|
-
id: string;
|
|
2579
|
-
name: string;
|
|
2580
2578
|
version: string;
|
|
2579
|
+
name: string;
|
|
2580
|
+
id: string;
|
|
2581
2581
|
importStatement: string;
|
|
2582
2582
|
skeleton: {
|
|
2583
|
-
shell: string;
|
|
2584
|
-
page: string;
|
|
2585
2583
|
sections: {
|
|
2586
|
-
id: string;
|
|
2587
|
-
name: string;
|
|
2588
2584
|
required: boolean;
|
|
2585
|
+
name: string;
|
|
2586
|
+
id: string;
|
|
2589
2587
|
slot: string;
|
|
2590
2588
|
}[];
|
|
2589
|
+
shell: string;
|
|
2590
|
+
page: string;
|
|
2591
2591
|
};
|
|
2592
2592
|
customizable: {
|
|
2593
|
-
texts: string[];
|
|
2594
2593
|
optional: string[];
|
|
2594
|
+
texts: string[];
|
|
2595
2595
|
slots: string[];
|
|
2596
2596
|
};
|
|
2597
2597
|
requiredComponents: string[];
|
|
@@ -2609,44 +2609,44 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2609
2609
|
error?: string | undefined;
|
|
2610
2610
|
template?: {
|
|
2611
2611
|
description: string;
|
|
2612
|
+
category: "form" | "dashboard" | "auth" | "marketing" | "feedback";
|
|
2612
2613
|
layout: {
|
|
2613
|
-
type: "
|
|
2614
|
+
type: "sidebar" | "full" | "centered";
|
|
2614
2615
|
responsive?: {
|
|
2615
2616
|
mobile: {
|
|
2617
|
+
columns: number;
|
|
2616
2618
|
padding: string;
|
|
2617
2619
|
gap: string;
|
|
2618
|
-
columns: number;
|
|
2619
2620
|
};
|
|
2620
2621
|
tablet: {
|
|
2622
|
+
columns: number;
|
|
2621
2623
|
padding: string;
|
|
2622
2624
|
gap: string;
|
|
2623
|
-
columns: number;
|
|
2624
2625
|
};
|
|
2625
2626
|
desktop: {
|
|
2627
|
+
columns: number;
|
|
2626
2628
|
padding: string;
|
|
2627
2629
|
gap: string;
|
|
2628
|
-
columns: number;
|
|
2629
2630
|
};
|
|
2630
2631
|
} | undefined;
|
|
2631
2632
|
};
|
|
2632
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2633
|
-
id: string;
|
|
2634
|
-
name: string;
|
|
2635
2633
|
version: string;
|
|
2634
|
+
name: string;
|
|
2635
|
+
id: string;
|
|
2636
2636
|
importStatement: string;
|
|
2637
2637
|
skeleton: {
|
|
2638
|
-
shell: string;
|
|
2639
|
-
page: string;
|
|
2640
2638
|
sections: {
|
|
2641
|
-
id: string;
|
|
2642
|
-
name: string;
|
|
2643
2639
|
required: boolean;
|
|
2640
|
+
name: string;
|
|
2641
|
+
id: string;
|
|
2644
2642
|
slot: string;
|
|
2645
2643
|
}[];
|
|
2644
|
+
shell: string;
|
|
2645
|
+
page: string;
|
|
2646
2646
|
};
|
|
2647
2647
|
customizable: {
|
|
2648
|
-
texts: string[];
|
|
2649
2648
|
optional: string[];
|
|
2649
|
+
texts: string[];
|
|
2650
2650
|
slots: string[];
|
|
2651
2651
|
};
|
|
2652
2652
|
requiredComponents: string[];
|
|
@@ -2697,72 +2697,192 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2697
2697
|
slot: z.ZodString;
|
|
2698
2698
|
required: z.ZodBoolean;
|
|
2699
2699
|
}, "strip", z.ZodTypeAny, {
|
|
2700
|
-
id: string;
|
|
2701
|
-
name: string;
|
|
2702
2700
|
required: boolean;
|
|
2701
|
+
name: string;
|
|
2702
|
+
id: string;
|
|
2703
2703
|
slot: string;
|
|
2704
2704
|
}, {
|
|
2705
|
-
id: string;
|
|
2706
|
-
name: string;
|
|
2707
2705
|
required: boolean;
|
|
2706
|
+
name: string;
|
|
2707
|
+
id: string;
|
|
2708
2708
|
slot: string;
|
|
2709
2709
|
}>, "many">;
|
|
2710
2710
|
}, "strip", z.ZodTypeAny, {
|
|
2711
|
-
shell: string;
|
|
2712
|
-
page: string;
|
|
2713
2711
|
sections: {
|
|
2714
|
-
id: string;
|
|
2715
|
-
name: string;
|
|
2716
2712
|
required: boolean;
|
|
2713
|
+
name: string;
|
|
2714
|
+
id: string;
|
|
2717
2715
|
slot: string;
|
|
2718
2716
|
}[];
|
|
2719
|
-
}, {
|
|
2720
2717
|
shell: string;
|
|
2721
2718
|
page: string;
|
|
2719
|
+
}, {
|
|
2722
2720
|
sections: {
|
|
2723
|
-
id: string;
|
|
2724
|
-
name: string;
|
|
2725
2721
|
required: boolean;
|
|
2722
|
+
name: string;
|
|
2723
|
+
id: string;
|
|
2726
2724
|
slot: string;
|
|
2727
2725
|
}[];
|
|
2726
|
+
shell: string;
|
|
2727
|
+
page: string;
|
|
2728
2728
|
}>>;
|
|
2729
2729
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2730
2730
|
}, "strip", z.ZodTypeAny, {
|
|
2731
|
+
category: string;
|
|
2731
2732
|
templateId: string;
|
|
2732
2733
|
templateName: string;
|
|
2733
|
-
category: string;
|
|
2734
2734
|
confidence: number;
|
|
2735
2735
|
matchedKeywords: string[];
|
|
2736
2736
|
skeleton?: {
|
|
2737
|
-
shell: string;
|
|
2738
|
-
page: string;
|
|
2739
2737
|
sections: {
|
|
2740
|
-
id: string;
|
|
2741
|
-
name: string;
|
|
2742
2738
|
required: boolean;
|
|
2739
|
+
name: string;
|
|
2740
|
+
id: string;
|
|
2743
2741
|
slot: string;
|
|
2744
2742
|
}[];
|
|
2743
|
+
shell: string;
|
|
2744
|
+
page: string;
|
|
2745
2745
|
} | undefined;
|
|
2746
2746
|
requiredComponents?: string[] | undefined;
|
|
2747
2747
|
}, {
|
|
2748
|
+
category: string;
|
|
2748
2749
|
templateId: string;
|
|
2749
2750
|
templateName: string;
|
|
2750
|
-
category: string;
|
|
2751
2751
|
confidence: number;
|
|
2752
2752
|
matchedKeywords: string[];
|
|
2753
2753
|
skeleton?: {
|
|
2754
|
-
shell: string;
|
|
2755
|
-
page: string;
|
|
2756
2754
|
sections: {
|
|
2757
|
-
id: string;
|
|
2758
|
-
name: string;
|
|
2759
2755
|
required: boolean;
|
|
2756
|
+
name: string;
|
|
2757
|
+
id: string;
|
|
2760
2758
|
slot: string;
|
|
2761
2759
|
}[];
|
|
2760
|
+
shell: string;
|
|
2761
|
+
page: string;
|
|
2762
2762
|
} | undefined;
|
|
2763
2763
|
requiredComponents?: string[] | undefined;
|
|
2764
2764
|
}>;
|
|
2765
2765
|
export type ContextTemplateMatch = z.infer<typeof ContextTemplateMatchSchema>;
|
|
2766
|
+
export declare const TemplateHintSchema: z.ZodObject<{
|
|
2767
|
+
templateId: z.ZodString;
|
|
2768
|
+
templateName: z.ZodString;
|
|
2769
|
+
category: z.ZodString;
|
|
2770
|
+
confidence: z.ZodNumber;
|
|
2771
|
+
matchedKeywords: z.ZodArray<z.ZodString, "many">;
|
|
2772
|
+
}, "strip", z.ZodTypeAny, {
|
|
2773
|
+
category: string;
|
|
2774
|
+
templateId: string;
|
|
2775
|
+
templateName: string;
|
|
2776
|
+
confidence: number;
|
|
2777
|
+
matchedKeywords: string[];
|
|
2778
|
+
}, {
|
|
2779
|
+
category: string;
|
|
2780
|
+
templateId: string;
|
|
2781
|
+
templateName: string;
|
|
2782
|
+
confidence: number;
|
|
2783
|
+
matchedKeywords: string[];
|
|
2784
|
+
}>;
|
|
2785
|
+
export type TemplateHint = z.infer<typeof TemplateHintSchema>;
|
|
2786
|
+
export declare const ComponentPlanItemSchema: z.ZodObject<{
|
|
2787
|
+
type: z.ZodString;
|
|
2788
|
+
reason: z.ZodString;
|
|
2789
|
+
source: z.ZodEnum<["default", "template", "category", "theme"]>;
|
|
2790
|
+
}, "strip", z.ZodTypeAny, {
|
|
2791
|
+
type: string;
|
|
2792
|
+
reason: string;
|
|
2793
|
+
source: "category" | "theme" | "default" | "template";
|
|
2794
|
+
}, {
|
|
2795
|
+
type: string;
|
|
2796
|
+
reason: string;
|
|
2797
|
+
source: "category" | "theme" | "default" | "template";
|
|
2798
|
+
}>;
|
|
2799
|
+
export type ComponentPlanItem = z.infer<typeof ComponentPlanItemSchema>;
|
|
2800
|
+
export declare const SectionPlanItemSchema: z.ZodObject<{
|
|
2801
|
+
id: z.ZodString;
|
|
2802
|
+
pattern: z.ZodString;
|
|
2803
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
purpose: z.ZodString;
|
|
2805
|
+
suggestedComponents: z.ZodArray<z.ZodString, "many">;
|
|
2806
|
+
}, "strip", z.ZodTypeAny, {
|
|
2807
|
+
pattern: string;
|
|
2808
|
+
id: string;
|
|
2809
|
+
purpose: string;
|
|
2810
|
+
suggestedComponents: string[];
|
|
2811
|
+
slot?: string | undefined;
|
|
2812
|
+
}, {
|
|
2813
|
+
pattern: string;
|
|
2814
|
+
id: string;
|
|
2815
|
+
purpose: string;
|
|
2816
|
+
suggestedComponents: string[];
|
|
2817
|
+
slot?: string | undefined;
|
|
2818
|
+
}>;
|
|
2819
|
+
export type SectionPlanItem = z.infer<typeof SectionPlanItemSchema>;
|
|
2820
|
+
export declare const DefinitionStarterSchema: z.ZodObject<{
|
|
2821
|
+
id: z.ZodString;
|
|
2822
|
+
shell: z.ZodString;
|
|
2823
|
+
page: z.ZodString;
|
|
2824
|
+
themeId: z.ZodOptional<z.ZodString>;
|
|
2825
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
2826
|
+
id: z.ZodString;
|
|
2827
|
+
pattern: z.ZodString;
|
|
2828
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2829
|
+
components: z.ZodArray<z.ZodObject<{
|
|
2830
|
+
type: z.ZodString;
|
|
2831
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2832
|
+
}, "strip", z.ZodTypeAny, {
|
|
2833
|
+
type: string;
|
|
2834
|
+
props?: Record<string, unknown> | undefined;
|
|
2835
|
+
}, {
|
|
2836
|
+
type: string;
|
|
2837
|
+
props?: Record<string, unknown> | undefined;
|
|
2838
|
+
}>, "many">;
|
|
2839
|
+
}, "strip", z.ZodTypeAny, {
|
|
2840
|
+
pattern: string;
|
|
2841
|
+
id: string;
|
|
2842
|
+
components: {
|
|
2843
|
+
type: string;
|
|
2844
|
+
props?: Record<string, unknown> | undefined;
|
|
2845
|
+
}[];
|
|
2846
|
+
slot?: string | undefined;
|
|
2847
|
+
}, {
|
|
2848
|
+
pattern: string;
|
|
2849
|
+
id: string;
|
|
2850
|
+
components: {
|
|
2851
|
+
type: string;
|
|
2852
|
+
props?: Record<string, unknown> | undefined;
|
|
2853
|
+
}[];
|
|
2854
|
+
slot?: string | undefined;
|
|
2855
|
+
}>, "many">;
|
|
2856
|
+
}, "strip", z.ZodTypeAny, {
|
|
2857
|
+
sections: {
|
|
2858
|
+
pattern: string;
|
|
2859
|
+
id: string;
|
|
2860
|
+
components: {
|
|
2861
|
+
type: string;
|
|
2862
|
+
props?: Record<string, unknown> | undefined;
|
|
2863
|
+
}[];
|
|
2864
|
+
slot?: string | undefined;
|
|
2865
|
+
}[];
|
|
2866
|
+
shell: string;
|
|
2867
|
+
page: string;
|
|
2868
|
+
id: string;
|
|
2869
|
+
themeId?: string | undefined;
|
|
2870
|
+
}, {
|
|
2871
|
+
sections: {
|
|
2872
|
+
pattern: string;
|
|
2873
|
+
id: string;
|
|
2874
|
+
components: {
|
|
2875
|
+
type: string;
|
|
2876
|
+
props?: Record<string, unknown> | undefined;
|
|
2877
|
+
}[];
|
|
2878
|
+
slot?: string | undefined;
|
|
2879
|
+
}[];
|
|
2880
|
+
shell: string;
|
|
2881
|
+
page: string;
|
|
2882
|
+
id: string;
|
|
2883
|
+
themeId?: string | undefined;
|
|
2884
|
+
}>;
|
|
2885
|
+
export type DefinitionStarter = z.infer<typeof DefinitionStarterSchema>;
|
|
2766
2886
|
/**
|
|
2767
2887
|
* Component info for generation context
|
|
2768
2888
|
*/
|
|
@@ -2779,15 +2899,15 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2779
2899
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2780
2900
|
description: z.ZodOptional<z.ZodString>;
|
|
2781
2901
|
}, "strip", z.ZodTypeAny, {
|
|
2902
|
+
required: boolean;
|
|
2782
2903
|
type: string;
|
|
2783
2904
|
name: string;
|
|
2784
|
-
required: boolean;
|
|
2785
2905
|
description?: string | undefined;
|
|
2786
2906
|
defaultValue?: string | undefined;
|
|
2787
2907
|
}, {
|
|
2908
|
+
required: boolean;
|
|
2788
2909
|
type: string;
|
|
2789
2910
|
name: string;
|
|
2790
|
-
required: boolean;
|
|
2791
2911
|
description?: string | undefined;
|
|
2792
2912
|
defaultValue?: string | undefined;
|
|
2793
2913
|
}>, "many">;
|
|
@@ -2807,13 +2927,13 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2807
2927
|
}, "strip", z.ZodTypeAny, {
|
|
2808
2928
|
description: string;
|
|
2809
2929
|
category: "core" | "complex" | "advanced";
|
|
2810
|
-
id: string;
|
|
2811
2930
|
name: string;
|
|
2931
|
+
id: string;
|
|
2812
2932
|
importStatement: string;
|
|
2813
2933
|
props: {
|
|
2934
|
+
required: boolean;
|
|
2814
2935
|
type: string;
|
|
2815
2936
|
name: string;
|
|
2816
|
-
required: boolean;
|
|
2817
2937
|
description?: string | undefined;
|
|
2818
2938
|
defaultValue?: string | undefined;
|
|
2819
2939
|
}[];
|
|
@@ -2825,13 +2945,13 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2825
2945
|
}, {
|
|
2826
2946
|
description: string;
|
|
2827
2947
|
category: "core" | "complex" | "advanced";
|
|
2828
|
-
id: string;
|
|
2829
2948
|
name: string;
|
|
2949
|
+
id: string;
|
|
2830
2950
|
importStatement: string;
|
|
2831
2951
|
props: {
|
|
2952
|
+
required: boolean;
|
|
2832
2953
|
type: string;
|
|
2833
2954
|
name: string;
|
|
2834
|
-
required: boolean;
|
|
2835
2955
|
description?: string | undefined;
|
|
2836
2956
|
defaultValue?: string | undefined;
|
|
2837
2957
|
}[];
|
|
@@ -2870,22 +2990,22 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2870
2990
|
children?: string | unknown[] | undefined;
|
|
2871
2991
|
}>, "many">;
|
|
2872
2992
|
}, "strip", z.ZodTypeAny, {
|
|
2993
|
+
pattern: string;
|
|
2873
2994
|
id: string;
|
|
2874
2995
|
components: {
|
|
2875
2996
|
type: string;
|
|
2876
2997
|
props?: Record<string, unknown> | undefined;
|
|
2877
2998
|
children?: string | unknown[] | undefined;
|
|
2878
2999
|
}[];
|
|
2879
|
-
pattern: string;
|
|
2880
3000
|
slot?: string | undefined;
|
|
2881
3001
|
}, {
|
|
3002
|
+
pattern: string;
|
|
2882
3003
|
id: string;
|
|
2883
3004
|
components: {
|
|
2884
3005
|
type: string;
|
|
2885
3006
|
props?: Record<string, unknown> | undefined;
|
|
2886
3007
|
children?: string | unknown[] | undefined;
|
|
2887
3008
|
}[];
|
|
2888
|
-
pattern: string;
|
|
2889
3009
|
slot?: string | undefined;
|
|
2890
3010
|
}>, "many">;
|
|
2891
3011
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2905,22 +3025,22 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2905
3025
|
author?: string | undefined;
|
|
2906
3026
|
}>>;
|
|
2907
3027
|
}, "strip", z.ZodTypeAny, {
|
|
2908
|
-
shell: string;
|
|
2909
|
-
page: string;
|
|
2910
|
-
id: string;
|
|
2911
3028
|
sections: {
|
|
3029
|
+
pattern: string;
|
|
2912
3030
|
id: string;
|
|
2913
3031
|
components: {
|
|
2914
3032
|
type: string;
|
|
2915
3033
|
props?: Record<string, unknown> | undefined;
|
|
2916
3034
|
children?: string | unknown[] | undefined;
|
|
2917
3035
|
}[];
|
|
2918
|
-
pattern: string;
|
|
2919
3036
|
slot?: string | undefined;
|
|
2920
3037
|
}[];
|
|
3038
|
+
shell: string;
|
|
3039
|
+
page: string;
|
|
3040
|
+
id: string;
|
|
2921
3041
|
description?: string | undefined;
|
|
2922
|
-
themeId?: string | undefined;
|
|
2923
3042
|
name?: string | undefined;
|
|
3043
|
+
themeId?: string | undefined;
|
|
2924
3044
|
metadata?: {
|
|
2925
3045
|
version?: string | undefined;
|
|
2926
3046
|
created?: string | undefined;
|
|
@@ -2928,22 +3048,22 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2928
3048
|
author?: string | undefined;
|
|
2929
3049
|
} | undefined;
|
|
2930
3050
|
}, {
|
|
2931
|
-
shell: string;
|
|
2932
|
-
page: string;
|
|
2933
|
-
id: string;
|
|
2934
3051
|
sections: {
|
|
3052
|
+
pattern: string;
|
|
2935
3053
|
id: string;
|
|
2936
3054
|
components: {
|
|
2937
3055
|
type: string;
|
|
2938
3056
|
props?: Record<string, unknown> | undefined;
|
|
2939
3057
|
children?: string | unknown[] | undefined;
|
|
2940
3058
|
}[];
|
|
2941
|
-
pattern: string;
|
|
2942
3059
|
slot?: string | undefined;
|
|
2943
3060
|
}[];
|
|
3061
|
+
shell: string;
|
|
3062
|
+
page: string;
|
|
3063
|
+
id: string;
|
|
2944
3064
|
description?: string | undefined;
|
|
2945
|
-
themeId?: string | undefined;
|
|
2946
3065
|
name?: string | undefined;
|
|
3066
|
+
themeId?: string | undefined;
|
|
2947
3067
|
metadata?: {
|
|
2948
3068
|
version?: string | undefined;
|
|
2949
3069
|
created?: string | undefined;
|
|
@@ -2983,22 +3103,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2983
3103
|
children?: string | unknown[] | undefined;
|
|
2984
3104
|
}>, "many">;
|
|
2985
3105
|
}, "strip", z.ZodTypeAny, {
|
|
3106
|
+
pattern: string;
|
|
2986
3107
|
id: string;
|
|
2987
3108
|
components: {
|
|
2988
3109
|
type: string;
|
|
2989
3110
|
props?: Record<string, unknown> | undefined;
|
|
2990
3111
|
children?: string | unknown[] | undefined;
|
|
2991
3112
|
}[];
|
|
2992
|
-
pattern: string;
|
|
2993
3113
|
slot?: string | undefined;
|
|
2994
3114
|
}, {
|
|
3115
|
+
pattern: string;
|
|
2995
3116
|
id: string;
|
|
2996
3117
|
components: {
|
|
2997
3118
|
type: string;
|
|
2998
3119
|
props?: Record<string, unknown> | undefined;
|
|
2999
3120
|
children?: string | unknown[] | undefined;
|
|
3000
3121
|
}[];
|
|
3001
|
-
pattern: string;
|
|
3002
3122
|
slot?: string | undefined;
|
|
3003
3123
|
}>, "many">;
|
|
3004
3124
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3018,22 +3138,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3018
3138
|
author?: string | undefined;
|
|
3019
3139
|
}>>;
|
|
3020
3140
|
}, "strip", z.ZodTypeAny, {
|
|
3021
|
-
shell: string;
|
|
3022
|
-
page: string;
|
|
3023
|
-
id: string;
|
|
3024
3141
|
sections: {
|
|
3142
|
+
pattern: string;
|
|
3025
3143
|
id: string;
|
|
3026
3144
|
components: {
|
|
3027
3145
|
type: string;
|
|
3028
3146
|
props?: Record<string, unknown> | undefined;
|
|
3029
3147
|
children?: string | unknown[] | undefined;
|
|
3030
3148
|
}[];
|
|
3031
|
-
pattern: string;
|
|
3032
3149
|
slot?: string | undefined;
|
|
3033
3150
|
}[];
|
|
3151
|
+
shell: string;
|
|
3152
|
+
page: string;
|
|
3153
|
+
id: string;
|
|
3034
3154
|
description?: string | undefined;
|
|
3035
|
-
themeId?: string | undefined;
|
|
3036
3155
|
name?: string | undefined;
|
|
3156
|
+
themeId?: string | undefined;
|
|
3037
3157
|
metadata?: {
|
|
3038
3158
|
version?: string | undefined;
|
|
3039
3159
|
created?: string | undefined;
|
|
@@ -3041,22 +3161,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3041
3161
|
author?: string | undefined;
|
|
3042
3162
|
} | undefined;
|
|
3043
3163
|
}, {
|
|
3044
|
-
shell: string;
|
|
3045
|
-
page: string;
|
|
3046
|
-
id: string;
|
|
3047
3164
|
sections: {
|
|
3165
|
+
pattern: string;
|
|
3048
3166
|
id: string;
|
|
3049
3167
|
components: {
|
|
3050
3168
|
type: string;
|
|
3051
3169
|
props?: Record<string, unknown> | undefined;
|
|
3052
3170
|
children?: string | unknown[] | undefined;
|
|
3053
3171
|
}[];
|
|
3054
|
-
pattern: string;
|
|
3055
3172
|
slot?: string | undefined;
|
|
3056
3173
|
}[];
|
|
3174
|
+
shell: string;
|
|
3175
|
+
page: string;
|
|
3176
|
+
id: string;
|
|
3057
3177
|
description?: string | undefined;
|
|
3058
|
-
themeId?: string | undefined;
|
|
3059
3178
|
name?: string | undefined;
|
|
3179
|
+
themeId?: string | undefined;
|
|
3060
3180
|
metadata?: {
|
|
3061
3181
|
version?: string | undefined;
|
|
3062
3182
|
created?: string | undefined;
|
|
@@ -3068,22 +3188,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3068
3188
|
description: string;
|
|
3069
3189
|
name: string;
|
|
3070
3190
|
definition: {
|
|
3071
|
-
shell: string;
|
|
3072
|
-
page: string;
|
|
3073
|
-
id: string;
|
|
3074
3191
|
sections: {
|
|
3192
|
+
pattern: string;
|
|
3075
3193
|
id: string;
|
|
3076
3194
|
components: {
|
|
3077
3195
|
type: string;
|
|
3078
3196
|
props?: Record<string, unknown> | undefined;
|
|
3079
3197
|
children?: string | unknown[] | undefined;
|
|
3080
3198
|
}[];
|
|
3081
|
-
pattern: string;
|
|
3082
3199
|
slot?: string | undefined;
|
|
3083
3200
|
}[];
|
|
3201
|
+
shell: string;
|
|
3202
|
+
page: string;
|
|
3203
|
+
id: string;
|
|
3084
3204
|
description?: string | undefined;
|
|
3085
|
-
themeId?: string | undefined;
|
|
3086
3205
|
name?: string | undefined;
|
|
3206
|
+
themeId?: string | undefined;
|
|
3087
3207
|
metadata?: {
|
|
3088
3208
|
version?: string | undefined;
|
|
3089
3209
|
created?: string | undefined;
|
|
@@ -3095,22 +3215,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3095
3215
|
description: string;
|
|
3096
3216
|
name: string;
|
|
3097
3217
|
definition: {
|
|
3098
|
-
shell: string;
|
|
3099
|
-
page: string;
|
|
3100
|
-
id: string;
|
|
3101
3218
|
sections: {
|
|
3219
|
+
pattern: string;
|
|
3102
3220
|
id: string;
|
|
3103
3221
|
components: {
|
|
3104
3222
|
type: string;
|
|
3105
3223
|
props?: Record<string, unknown> | undefined;
|
|
3106
3224
|
children?: string | unknown[] | undefined;
|
|
3107
3225
|
}[];
|
|
3108
|
-
pattern: string;
|
|
3109
3226
|
slot?: string | undefined;
|
|
3110
3227
|
}[];
|
|
3228
|
+
shell: string;
|
|
3229
|
+
page: string;
|
|
3230
|
+
id: string;
|
|
3111
3231
|
description?: string | undefined;
|
|
3112
|
-
themeId?: string | undefined;
|
|
3113
3232
|
name?: string | undefined;
|
|
3233
|
+
themeId?: string | undefined;
|
|
3114
3234
|
metadata?: {
|
|
3115
3235
|
version?: string | undefined;
|
|
3116
3236
|
created?: string | undefined;
|
|
@@ -3146,13 +3266,13 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3146
3266
|
message: z.ZodString;
|
|
3147
3267
|
example: z.ZodOptional<z.ZodString>;
|
|
3148
3268
|
}, "strip", z.ZodTypeAny, {
|
|
3269
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3149
3270
|
message: string;
|
|
3150
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3151
3271
|
priority: "high" | "medium" | "low";
|
|
3152
3272
|
example?: string | undefined;
|
|
3153
3273
|
}, {
|
|
3274
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3154
3275
|
message: string;
|
|
3155
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3156
3276
|
priority: "high" | "medium" | "low";
|
|
3157
3277
|
example?: string | undefined;
|
|
3158
3278
|
}>;
|
|
@@ -3169,14 +3289,14 @@ export declare const WorkflowStepSchema: z.ZodObject<{
|
|
|
3169
3289
|
example: z.ZodOptional<z.ZodString>;
|
|
3170
3290
|
}, "strip", z.ZodTypeAny, {
|
|
3171
3291
|
description: string;
|
|
3172
|
-
step: number;
|
|
3173
3292
|
action: string;
|
|
3293
|
+
step: number;
|
|
3174
3294
|
example?: string | undefined;
|
|
3175
3295
|
tool?: string | undefined;
|
|
3176
3296
|
}, {
|
|
3177
3297
|
description: string;
|
|
3178
|
-
step: number;
|
|
3179
3298
|
action: string;
|
|
3299
|
+
step: number;
|
|
3180
3300
|
example?: string | undefined;
|
|
3181
3301
|
tool?: string | undefined;
|
|
3182
3302
|
}>;
|
|
@@ -3196,14 +3316,14 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3196
3316
|
example: z.ZodOptional<z.ZodString>;
|
|
3197
3317
|
}, "strip", z.ZodTypeAny, {
|
|
3198
3318
|
description: string;
|
|
3199
|
-
step: number;
|
|
3200
3319
|
action: string;
|
|
3320
|
+
step: number;
|
|
3201
3321
|
example?: string | undefined;
|
|
3202
3322
|
tool?: string | undefined;
|
|
3203
3323
|
}, {
|
|
3204
3324
|
description: string;
|
|
3205
|
-
step: number;
|
|
3206
3325
|
action: string;
|
|
3326
|
+
step: number;
|
|
3207
3327
|
example?: string | undefined;
|
|
3208
3328
|
tool?: string | undefined;
|
|
3209
3329
|
}>, "many">;
|
|
@@ -3213,8 +3333,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3213
3333
|
title: string;
|
|
3214
3334
|
steps: {
|
|
3215
3335
|
description: string;
|
|
3216
|
-
step: number;
|
|
3217
3336
|
action: string;
|
|
3337
|
+
step: number;
|
|
3218
3338
|
example?: string | undefined;
|
|
3219
3339
|
tool?: string | undefined;
|
|
3220
3340
|
}[];
|
|
@@ -3224,8 +3344,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3224
3344
|
title: string;
|
|
3225
3345
|
steps: {
|
|
3226
3346
|
description: string;
|
|
3227
|
-
step: number;
|
|
3228
3347
|
action: string;
|
|
3348
|
+
step: number;
|
|
3229
3349
|
example?: string | undefined;
|
|
3230
3350
|
tool?: string | undefined;
|
|
3231
3351
|
}[];
|
|
@@ -3252,71 +3372,90 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3252
3372
|
slot: z.ZodString;
|
|
3253
3373
|
required: z.ZodBoolean;
|
|
3254
3374
|
}, "strip", z.ZodTypeAny, {
|
|
3255
|
-
id: string;
|
|
3256
|
-
name: string;
|
|
3257
3375
|
required: boolean;
|
|
3376
|
+
name: string;
|
|
3377
|
+
id: string;
|
|
3258
3378
|
slot: string;
|
|
3259
3379
|
}, {
|
|
3260
|
-
id: string;
|
|
3261
|
-
name: string;
|
|
3262
3380
|
required: boolean;
|
|
3381
|
+
name: string;
|
|
3382
|
+
id: string;
|
|
3263
3383
|
slot: string;
|
|
3264
3384
|
}>, "many">;
|
|
3265
3385
|
}, "strip", z.ZodTypeAny, {
|
|
3266
|
-
shell: string;
|
|
3267
|
-
page: string;
|
|
3268
3386
|
sections: {
|
|
3269
|
-
id: string;
|
|
3270
|
-
name: string;
|
|
3271
3387
|
required: boolean;
|
|
3388
|
+
name: string;
|
|
3389
|
+
id: string;
|
|
3272
3390
|
slot: string;
|
|
3273
3391
|
}[];
|
|
3274
|
-
}, {
|
|
3275
3392
|
shell: string;
|
|
3276
3393
|
page: string;
|
|
3394
|
+
}, {
|
|
3277
3395
|
sections: {
|
|
3278
|
-
id: string;
|
|
3279
|
-
name: string;
|
|
3280
3396
|
required: boolean;
|
|
3397
|
+
name: string;
|
|
3398
|
+
id: string;
|
|
3281
3399
|
slot: string;
|
|
3282
3400
|
}[];
|
|
3401
|
+
shell: string;
|
|
3402
|
+
page: string;
|
|
3283
3403
|
}>>;
|
|
3284
3404
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3285
3405
|
}, "strip", z.ZodTypeAny, {
|
|
3406
|
+
category: string;
|
|
3286
3407
|
templateId: string;
|
|
3287
3408
|
templateName: string;
|
|
3288
|
-
category: string;
|
|
3289
3409
|
confidence: number;
|
|
3290
3410
|
matchedKeywords: string[];
|
|
3291
3411
|
skeleton?: {
|
|
3292
|
-
shell: string;
|
|
3293
|
-
page: string;
|
|
3294
3412
|
sections: {
|
|
3295
|
-
id: string;
|
|
3296
|
-
name: string;
|
|
3297
3413
|
required: boolean;
|
|
3414
|
+
name: string;
|
|
3415
|
+
id: string;
|
|
3298
3416
|
slot: string;
|
|
3299
3417
|
}[];
|
|
3418
|
+
shell: string;
|
|
3419
|
+
page: string;
|
|
3300
3420
|
} | undefined;
|
|
3301
3421
|
requiredComponents?: string[] | undefined;
|
|
3302
3422
|
}, {
|
|
3423
|
+
category: string;
|
|
3303
3424
|
templateId: string;
|
|
3304
3425
|
templateName: string;
|
|
3305
|
-
category: string;
|
|
3306
3426
|
confidence: number;
|
|
3307
3427
|
matchedKeywords: string[];
|
|
3308
3428
|
skeleton?: {
|
|
3309
|
-
shell: string;
|
|
3310
|
-
page: string;
|
|
3311
3429
|
sections: {
|
|
3312
|
-
id: string;
|
|
3313
|
-
name: string;
|
|
3314
3430
|
required: boolean;
|
|
3431
|
+
name: string;
|
|
3432
|
+
id: string;
|
|
3315
3433
|
slot: string;
|
|
3316
3434
|
}[];
|
|
3435
|
+
shell: string;
|
|
3436
|
+
page: string;
|
|
3317
3437
|
} | undefined;
|
|
3318
3438
|
requiredComponents?: string[] | undefined;
|
|
3319
3439
|
}>>;
|
|
3440
|
+
templateHints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3441
|
+
templateId: z.ZodString;
|
|
3442
|
+
templateName: z.ZodString;
|
|
3443
|
+
category: z.ZodString;
|
|
3444
|
+
confidence: z.ZodNumber;
|
|
3445
|
+
matchedKeywords: z.ZodArray<z.ZodString, "many">;
|
|
3446
|
+
}, "strip", z.ZodTypeAny, {
|
|
3447
|
+
category: string;
|
|
3448
|
+
templateId: string;
|
|
3449
|
+
templateName: string;
|
|
3450
|
+
confidence: number;
|
|
3451
|
+
matchedKeywords: string[];
|
|
3452
|
+
}, {
|
|
3453
|
+
category: string;
|
|
3454
|
+
templateId: string;
|
|
3455
|
+
templateName: string;
|
|
3456
|
+
confidence: number;
|
|
3457
|
+
matchedKeywords: string[];
|
|
3458
|
+
}>, "many">>;
|
|
3320
3459
|
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3321
3460
|
id: z.ZodString;
|
|
3322
3461
|
name: z.ZodString;
|
|
@@ -3330,15 +3469,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3330
3469
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3331
3470
|
description: z.ZodOptional<z.ZodString>;
|
|
3332
3471
|
}, "strip", z.ZodTypeAny, {
|
|
3472
|
+
required: boolean;
|
|
3333
3473
|
type: string;
|
|
3334
3474
|
name: string;
|
|
3335
|
-
required: boolean;
|
|
3336
3475
|
description?: string | undefined;
|
|
3337
3476
|
defaultValue?: string | undefined;
|
|
3338
3477
|
}, {
|
|
3478
|
+
required: boolean;
|
|
3339
3479
|
type: string;
|
|
3340
3480
|
name: string;
|
|
3341
|
-
required: boolean;
|
|
3342
3481
|
description?: string | undefined;
|
|
3343
3482
|
defaultValue?: string | undefined;
|
|
3344
3483
|
}>, "many">;
|
|
@@ -3358,13 +3497,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3358
3497
|
}, "strip", z.ZodTypeAny, {
|
|
3359
3498
|
description: string;
|
|
3360
3499
|
category: "core" | "complex" | "advanced";
|
|
3361
|
-
id: string;
|
|
3362
3500
|
name: string;
|
|
3501
|
+
id: string;
|
|
3363
3502
|
importStatement: string;
|
|
3364
3503
|
props: {
|
|
3504
|
+
required: boolean;
|
|
3365
3505
|
type: string;
|
|
3366
3506
|
name: string;
|
|
3367
|
-
required: boolean;
|
|
3368
3507
|
description?: string | undefined;
|
|
3369
3508
|
defaultValue?: string | undefined;
|
|
3370
3509
|
}[];
|
|
@@ -3376,22 +3515,119 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3376
3515
|
}, {
|
|
3377
3516
|
description: string;
|
|
3378
3517
|
category: "core" | "complex" | "advanced";
|
|
3518
|
+
name: string;
|
|
3519
|
+
id: string;
|
|
3520
|
+
importStatement: string;
|
|
3521
|
+
props: {
|
|
3522
|
+
required: boolean;
|
|
3523
|
+
type: string;
|
|
3524
|
+
name: string;
|
|
3525
|
+
description?: string | undefined;
|
|
3526
|
+
defaultValue?: string | undefined;
|
|
3527
|
+
}[];
|
|
3528
|
+
variants?: {
|
|
3529
|
+
value: string;
|
|
3530
|
+
name: string;
|
|
3531
|
+
description?: string | undefined;
|
|
3532
|
+
}[] | undefined;
|
|
3533
|
+
}>, "many">>;
|
|
3534
|
+
componentPlan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3535
|
+
type: z.ZodString;
|
|
3536
|
+
reason: z.ZodString;
|
|
3537
|
+
source: z.ZodEnum<["default", "template", "category", "theme"]>;
|
|
3538
|
+
}, "strip", z.ZodTypeAny, {
|
|
3539
|
+
type: string;
|
|
3540
|
+
reason: string;
|
|
3541
|
+
source: "category" | "theme" | "default" | "template";
|
|
3542
|
+
}, {
|
|
3543
|
+
type: string;
|
|
3544
|
+
reason: string;
|
|
3545
|
+
source: "category" | "theme" | "default" | "template";
|
|
3546
|
+
}>, "many">>;
|
|
3547
|
+
sectionPlan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3548
|
+
id: z.ZodString;
|
|
3549
|
+
pattern: z.ZodString;
|
|
3550
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
3551
|
+
purpose: z.ZodString;
|
|
3552
|
+
suggestedComponents: z.ZodArray<z.ZodString, "many">;
|
|
3553
|
+
}, "strip", z.ZodTypeAny, {
|
|
3554
|
+
pattern: string;
|
|
3555
|
+
id: string;
|
|
3556
|
+
purpose: string;
|
|
3557
|
+
suggestedComponents: string[];
|
|
3558
|
+
slot?: string | undefined;
|
|
3559
|
+
}, {
|
|
3560
|
+
pattern: string;
|
|
3561
|
+
id: string;
|
|
3562
|
+
purpose: string;
|
|
3563
|
+
suggestedComponents: string[];
|
|
3564
|
+
slot?: string | undefined;
|
|
3565
|
+
}>, "many">>;
|
|
3566
|
+
definitionStarter: z.ZodOptional<z.ZodObject<{
|
|
3567
|
+
id: z.ZodString;
|
|
3568
|
+
shell: z.ZodString;
|
|
3569
|
+
page: z.ZodString;
|
|
3570
|
+
themeId: z.ZodOptional<z.ZodString>;
|
|
3571
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3572
|
+
id: z.ZodString;
|
|
3573
|
+
pattern: z.ZodString;
|
|
3574
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
3575
|
+
components: z.ZodArray<z.ZodObject<{
|
|
3576
|
+
type: z.ZodString;
|
|
3577
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3578
|
+
}, "strip", z.ZodTypeAny, {
|
|
3579
|
+
type: string;
|
|
3580
|
+
props?: Record<string, unknown> | undefined;
|
|
3581
|
+
}, {
|
|
3582
|
+
type: string;
|
|
3583
|
+
props?: Record<string, unknown> | undefined;
|
|
3584
|
+
}>, "many">;
|
|
3585
|
+
}, "strip", z.ZodTypeAny, {
|
|
3586
|
+
pattern: string;
|
|
3587
|
+
id: string;
|
|
3588
|
+
components: {
|
|
3589
|
+
type: string;
|
|
3590
|
+
props?: Record<string, unknown> | undefined;
|
|
3591
|
+
}[];
|
|
3592
|
+
slot?: string | undefined;
|
|
3593
|
+
}, {
|
|
3594
|
+
pattern: string;
|
|
3595
|
+
id: string;
|
|
3596
|
+
components: {
|
|
3597
|
+
type: string;
|
|
3598
|
+
props?: Record<string, unknown> | undefined;
|
|
3599
|
+
}[];
|
|
3600
|
+
slot?: string | undefined;
|
|
3601
|
+
}>, "many">;
|
|
3602
|
+
}, "strip", z.ZodTypeAny, {
|
|
3603
|
+
sections: {
|
|
3604
|
+
pattern: string;
|
|
3605
|
+
id: string;
|
|
3606
|
+
components: {
|
|
3607
|
+
type: string;
|
|
3608
|
+
props?: Record<string, unknown> | undefined;
|
|
3609
|
+
}[];
|
|
3610
|
+
slot?: string | undefined;
|
|
3611
|
+
}[];
|
|
3612
|
+
shell: string;
|
|
3613
|
+
page: string;
|
|
3379
3614
|
id: string;
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3615
|
+
themeId?: string | undefined;
|
|
3616
|
+
}, {
|
|
3617
|
+
sections: {
|
|
3618
|
+
pattern: string;
|
|
3619
|
+
id: string;
|
|
3620
|
+
components: {
|
|
3621
|
+
type: string;
|
|
3622
|
+
props?: Record<string, unknown> | undefined;
|
|
3623
|
+
}[];
|
|
3624
|
+
slot?: string | undefined;
|
|
3388
3625
|
}[];
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
}>, "many">>;
|
|
3626
|
+
shell: string;
|
|
3627
|
+
page: string;
|
|
3628
|
+
id: string;
|
|
3629
|
+
themeId?: string | undefined;
|
|
3630
|
+
}>>;
|
|
3395
3631
|
schema: z.ZodOptional<z.ZodObject<{
|
|
3396
3632
|
screenDefinition: z.ZodUnknown;
|
|
3397
3633
|
description: z.ZodString;
|
|
@@ -3430,22 +3666,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3430
3666
|
children?: string | unknown[] | undefined;
|
|
3431
3667
|
}>, "many">;
|
|
3432
3668
|
}, "strip", z.ZodTypeAny, {
|
|
3669
|
+
pattern: string;
|
|
3433
3670
|
id: string;
|
|
3434
3671
|
components: {
|
|
3435
3672
|
type: string;
|
|
3436
3673
|
props?: Record<string, unknown> | undefined;
|
|
3437
3674
|
children?: string | unknown[] | undefined;
|
|
3438
3675
|
}[];
|
|
3439
|
-
pattern: string;
|
|
3440
3676
|
slot?: string | undefined;
|
|
3441
3677
|
}, {
|
|
3678
|
+
pattern: string;
|
|
3442
3679
|
id: string;
|
|
3443
3680
|
components: {
|
|
3444
3681
|
type: string;
|
|
3445
3682
|
props?: Record<string, unknown> | undefined;
|
|
3446
3683
|
children?: string | unknown[] | undefined;
|
|
3447
3684
|
}[];
|
|
3448
|
-
pattern: string;
|
|
3449
3685
|
slot?: string | undefined;
|
|
3450
3686
|
}>, "many">;
|
|
3451
3687
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3465,22 +3701,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3465
3701
|
author?: string | undefined;
|
|
3466
3702
|
}>>;
|
|
3467
3703
|
}, "strip", z.ZodTypeAny, {
|
|
3468
|
-
shell: string;
|
|
3469
|
-
page: string;
|
|
3470
|
-
id: string;
|
|
3471
3704
|
sections: {
|
|
3705
|
+
pattern: string;
|
|
3472
3706
|
id: string;
|
|
3473
3707
|
components: {
|
|
3474
3708
|
type: string;
|
|
3475
3709
|
props?: Record<string, unknown> | undefined;
|
|
3476
3710
|
children?: string | unknown[] | undefined;
|
|
3477
3711
|
}[];
|
|
3478
|
-
pattern: string;
|
|
3479
3712
|
slot?: string | undefined;
|
|
3480
3713
|
}[];
|
|
3714
|
+
shell: string;
|
|
3715
|
+
page: string;
|
|
3716
|
+
id: string;
|
|
3481
3717
|
description?: string | undefined;
|
|
3482
|
-
themeId?: string | undefined;
|
|
3483
3718
|
name?: string | undefined;
|
|
3719
|
+
themeId?: string | undefined;
|
|
3484
3720
|
metadata?: {
|
|
3485
3721
|
version?: string | undefined;
|
|
3486
3722
|
created?: string | undefined;
|
|
@@ -3488,22 +3724,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3488
3724
|
author?: string | undefined;
|
|
3489
3725
|
} | undefined;
|
|
3490
3726
|
}, {
|
|
3491
|
-
shell: string;
|
|
3492
|
-
page: string;
|
|
3493
|
-
id: string;
|
|
3494
3727
|
sections: {
|
|
3728
|
+
pattern: string;
|
|
3495
3729
|
id: string;
|
|
3496
3730
|
components: {
|
|
3497
3731
|
type: string;
|
|
3498
3732
|
props?: Record<string, unknown> | undefined;
|
|
3499
3733
|
children?: string | unknown[] | undefined;
|
|
3500
3734
|
}[];
|
|
3501
|
-
pattern: string;
|
|
3502
3735
|
slot?: string | undefined;
|
|
3503
3736
|
}[];
|
|
3737
|
+
shell: string;
|
|
3738
|
+
page: string;
|
|
3739
|
+
id: string;
|
|
3504
3740
|
description?: string | undefined;
|
|
3505
|
-
themeId?: string | undefined;
|
|
3506
3741
|
name?: string | undefined;
|
|
3742
|
+
themeId?: string | undefined;
|
|
3507
3743
|
metadata?: {
|
|
3508
3744
|
version?: string | undefined;
|
|
3509
3745
|
created?: string | undefined;
|
|
@@ -3515,22 +3751,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3515
3751
|
description: string;
|
|
3516
3752
|
name: string;
|
|
3517
3753
|
definition: {
|
|
3518
|
-
shell: string;
|
|
3519
|
-
page: string;
|
|
3520
|
-
id: string;
|
|
3521
3754
|
sections: {
|
|
3755
|
+
pattern: string;
|
|
3522
3756
|
id: string;
|
|
3523
3757
|
components: {
|
|
3524
3758
|
type: string;
|
|
3525
3759
|
props?: Record<string, unknown> | undefined;
|
|
3526
3760
|
children?: string | unknown[] | undefined;
|
|
3527
3761
|
}[];
|
|
3528
|
-
pattern: string;
|
|
3529
3762
|
slot?: string | undefined;
|
|
3530
3763
|
}[];
|
|
3764
|
+
shell: string;
|
|
3765
|
+
page: string;
|
|
3766
|
+
id: string;
|
|
3531
3767
|
description?: string | undefined;
|
|
3532
|
-
themeId?: string | undefined;
|
|
3533
3768
|
name?: string | undefined;
|
|
3769
|
+
themeId?: string | undefined;
|
|
3534
3770
|
metadata?: {
|
|
3535
3771
|
version?: string | undefined;
|
|
3536
3772
|
created?: string | undefined;
|
|
@@ -3542,22 +3778,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3542
3778
|
description: string;
|
|
3543
3779
|
name: string;
|
|
3544
3780
|
definition: {
|
|
3545
|
-
shell: string;
|
|
3546
|
-
page: string;
|
|
3547
|
-
id: string;
|
|
3548
3781
|
sections: {
|
|
3782
|
+
pattern: string;
|
|
3549
3783
|
id: string;
|
|
3550
3784
|
components: {
|
|
3551
3785
|
type: string;
|
|
3552
3786
|
props?: Record<string, unknown> | undefined;
|
|
3553
3787
|
children?: string | unknown[] | undefined;
|
|
3554
3788
|
}[];
|
|
3555
|
-
pattern: string;
|
|
3556
3789
|
slot?: string | undefined;
|
|
3557
3790
|
}[];
|
|
3791
|
+
shell: string;
|
|
3792
|
+
page: string;
|
|
3793
|
+
id: string;
|
|
3558
3794
|
description?: string | undefined;
|
|
3559
|
-
themeId?: string | undefined;
|
|
3560
3795
|
name?: string | undefined;
|
|
3796
|
+
themeId?: string | undefined;
|
|
3561
3797
|
metadata?: {
|
|
3562
3798
|
version?: string | undefined;
|
|
3563
3799
|
created?: string | undefined;
|
|
@@ -3585,16 +3821,17 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3585
3821
|
message: z.ZodString;
|
|
3586
3822
|
example: z.ZodOptional<z.ZodString>;
|
|
3587
3823
|
}, "strip", z.ZodTypeAny, {
|
|
3824
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3588
3825
|
message: string;
|
|
3589
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3590
3826
|
priority: "high" | "medium" | "low";
|
|
3591
3827
|
example?: string | undefined;
|
|
3592
3828
|
}, {
|
|
3829
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3593
3830
|
message: string;
|
|
3594
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3595
3831
|
priority: "high" | "medium" | "low";
|
|
3596
3832
|
example?: string | undefined;
|
|
3597
3833
|
}>, "many">>;
|
|
3834
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3598
3835
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
3599
3836
|
title: z.ZodString;
|
|
3600
3837
|
description: z.ZodString;
|
|
@@ -3606,14 +3843,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3606
3843
|
example: z.ZodOptional<z.ZodString>;
|
|
3607
3844
|
}, "strip", z.ZodTypeAny, {
|
|
3608
3845
|
description: string;
|
|
3609
|
-
step: number;
|
|
3610
3846
|
action: string;
|
|
3847
|
+
step: number;
|
|
3611
3848
|
example?: string | undefined;
|
|
3612
3849
|
tool?: string | undefined;
|
|
3613
3850
|
}, {
|
|
3614
3851
|
description: string;
|
|
3615
|
-
step: number;
|
|
3616
3852
|
action: string;
|
|
3853
|
+
step: number;
|
|
3617
3854
|
example?: string | undefined;
|
|
3618
3855
|
tool?: string | undefined;
|
|
3619
3856
|
}>, "many">;
|
|
@@ -3623,8 +3860,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3623
3860
|
title: string;
|
|
3624
3861
|
steps: {
|
|
3625
3862
|
description: string;
|
|
3626
|
-
step: number;
|
|
3627
3863
|
action: string;
|
|
3864
|
+
step: number;
|
|
3628
3865
|
example?: string | undefined;
|
|
3629
3866
|
tool?: string | undefined;
|
|
3630
3867
|
}[];
|
|
@@ -3634,8 +3871,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3634
3871
|
title: string;
|
|
3635
3872
|
steps: {
|
|
3636
3873
|
description: string;
|
|
3637
|
-
step: number;
|
|
3638
3874
|
action: string;
|
|
3875
|
+
step: number;
|
|
3639
3876
|
example?: string | undefined;
|
|
3640
3877
|
tool?: string | undefined;
|
|
3641
3878
|
}[];
|
|
@@ -3648,13 +3885,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3648
3885
|
components?: {
|
|
3649
3886
|
description: string;
|
|
3650
3887
|
category: "core" | "complex" | "advanced";
|
|
3651
|
-
id: string;
|
|
3652
3888
|
name: string;
|
|
3889
|
+
id: string;
|
|
3653
3890
|
importStatement: string;
|
|
3654
3891
|
props: {
|
|
3892
|
+
required: boolean;
|
|
3655
3893
|
type: string;
|
|
3656
3894
|
name: string;
|
|
3657
|
-
required: boolean;
|
|
3658
3895
|
description?: string | undefined;
|
|
3659
3896
|
defaultValue?: string | undefined;
|
|
3660
3897
|
}[];
|
|
@@ -3664,26 +3901,27 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3664
3901
|
description?: string | undefined;
|
|
3665
3902
|
}[] | undefined;
|
|
3666
3903
|
}[] | undefined;
|
|
3904
|
+
warnings?: string[] | undefined;
|
|
3667
3905
|
examples?: {
|
|
3668
3906
|
description: string;
|
|
3669
3907
|
name: string;
|
|
3670
3908
|
definition: {
|
|
3671
|
-
shell: string;
|
|
3672
|
-
page: string;
|
|
3673
|
-
id: string;
|
|
3674
3909
|
sections: {
|
|
3910
|
+
pattern: string;
|
|
3675
3911
|
id: string;
|
|
3676
3912
|
components: {
|
|
3677
3913
|
type: string;
|
|
3678
3914
|
props?: Record<string, unknown> | undefined;
|
|
3679
3915
|
children?: string | unknown[] | undefined;
|
|
3680
3916
|
}[];
|
|
3681
|
-
pattern: string;
|
|
3682
3917
|
slot?: string | undefined;
|
|
3683
3918
|
}[];
|
|
3919
|
+
shell: string;
|
|
3920
|
+
page: string;
|
|
3921
|
+
id: string;
|
|
3684
3922
|
description?: string | undefined;
|
|
3685
|
-
themeId?: string | undefined;
|
|
3686
3923
|
name?: string | undefined;
|
|
3924
|
+
themeId?: string | undefined;
|
|
3687
3925
|
metadata?: {
|
|
3688
3926
|
version?: string | undefined;
|
|
3689
3927
|
created?: string | undefined;
|
|
@@ -3693,23 +3931,57 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3693
3931
|
};
|
|
3694
3932
|
}[] | undefined;
|
|
3695
3933
|
templateMatch?: {
|
|
3934
|
+
category: string;
|
|
3696
3935
|
templateId: string;
|
|
3697
3936
|
templateName: string;
|
|
3698
|
-
category: string;
|
|
3699
3937
|
confidence: number;
|
|
3700
3938
|
matchedKeywords: string[];
|
|
3701
3939
|
skeleton?: {
|
|
3702
|
-
shell: string;
|
|
3703
|
-
page: string;
|
|
3704
3940
|
sections: {
|
|
3705
|
-
id: string;
|
|
3706
|
-
name: string;
|
|
3707
3941
|
required: boolean;
|
|
3942
|
+
name: string;
|
|
3943
|
+
id: string;
|
|
3708
3944
|
slot: string;
|
|
3709
3945
|
}[];
|
|
3946
|
+
shell: string;
|
|
3947
|
+
page: string;
|
|
3710
3948
|
} | undefined;
|
|
3711
3949
|
requiredComponents?: string[] | undefined;
|
|
3712
3950
|
} | undefined;
|
|
3951
|
+
templateHints?: {
|
|
3952
|
+
category: string;
|
|
3953
|
+
templateId: string;
|
|
3954
|
+
templateName: string;
|
|
3955
|
+
confidence: number;
|
|
3956
|
+
matchedKeywords: string[];
|
|
3957
|
+
}[] | undefined;
|
|
3958
|
+
componentPlan?: {
|
|
3959
|
+
type: string;
|
|
3960
|
+
reason: string;
|
|
3961
|
+
source: "category" | "theme" | "default" | "template";
|
|
3962
|
+
}[] | undefined;
|
|
3963
|
+
sectionPlan?: {
|
|
3964
|
+
pattern: string;
|
|
3965
|
+
id: string;
|
|
3966
|
+
purpose: string;
|
|
3967
|
+
suggestedComponents: string[];
|
|
3968
|
+
slot?: string | undefined;
|
|
3969
|
+
}[] | undefined;
|
|
3970
|
+
definitionStarter?: {
|
|
3971
|
+
sections: {
|
|
3972
|
+
pattern: string;
|
|
3973
|
+
id: string;
|
|
3974
|
+
components: {
|
|
3975
|
+
type: string;
|
|
3976
|
+
props?: Record<string, unknown> | undefined;
|
|
3977
|
+
}[];
|
|
3978
|
+
slot?: string | undefined;
|
|
3979
|
+
}[];
|
|
3980
|
+
shell: string;
|
|
3981
|
+
page: string;
|
|
3982
|
+
id: string;
|
|
3983
|
+
themeId?: string | undefined;
|
|
3984
|
+
} | undefined;
|
|
3713
3985
|
schema?: {
|
|
3714
3986
|
description: string;
|
|
3715
3987
|
screenDefinition?: unknown;
|
|
@@ -3720,8 +3992,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3720
3992
|
defaultClassName?: string | undefined;
|
|
3721
3993
|
}[] | undefined;
|
|
3722
3994
|
hints?: {
|
|
3995
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3723
3996
|
message: string;
|
|
3724
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3725
3997
|
priority: "high" | "medium" | "low";
|
|
3726
3998
|
example?: string | undefined;
|
|
3727
3999
|
}[] | undefined;
|
|
@@ -3730,8 +4002,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3730
4002
|
title: string;
|
|
3731
4003
|
steps: {
|
|
3732
4004
|
description: string;
|
|
3733
|
-
step: number;
|
|
3734
4005
|
action: string;
|
|
4006
|
+
step: number;
|
|
3735
4007
|
example?: string | undefined;
|
|
3736
4008
|
tool?: string | undefined;
|
|
3737
4009
|
}[];
|
|
@@ -3743,13 +4015,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3743
4015
|
components?: {
|
|
3744
4016
|
description: string;
|
|
3745
4017
|
category: "core" | "complex" | "advanced";
|
|
3746
|
-
id: string;
|
|
3747
4018
|
name: string;
|
|
4019
|
+
id: string;
|
|
3748
4020
|
importStatement: string;
|
|
3749
4021
|
props: {
|
|
4022
|
+
required: boolean;
|
|
3750
4023
|
type: string;
|
|
3751
4024
|
name: string;
|
|
3752
|
-
required: boolean;
|
|
3753
4025
|
description?: string | undefined;
|
|
3754
4026
|
defaultValue?: string | undefined;
|
|
3755
4027
|
}[];
|
|
@@ -3759,26 +4031,27 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3759
4031
|
description?: string | undefined;
|
|
3760
4032
|
}[] | undefined;
|
|
3761
4033
|
}[] | undefined;
|
|
4034
|
+
warnings?: string[] | undefined;
|
|
3762
4035
|
examples?: {
|
|
3763
4036
|
description: string;
|
|
3764
4037
|
name: string;
|
|
3765
4038
|
definition: {
|
|
3766
|
-
shell: string;
|
|
3767
|
-
page: string;
|
|
3768
|
-
id: string;
|
|
3769
4039
|
sections: {
|
|
4040
|
+
pattern: string;
|
|
3770
4041
|
id: string;
|
|
3771
4042
|
components: {
|
|
3772
4043
|
type: string;
|
|
3773
4044
|
props?: Record<string, unknown> | undefined;
|
|
3774
4045
|
children?: string | unknown[] | undefined;
|
|
3775
4046
|
}[];
|
|
3776
|
-
pattern: string;
|
|
3777
4047
|
slot?: string | undefined;
|
|
3778
4048
|
}[];
|
|
4049
|
+
shell: string;
|
|
4050
|
+
page: string;
|
|
4051
|
+
id: string;
|
|
3779
4052
|
description?: string | undefined;
|
|
3780
|
-
themeId?: string | undefined;
|
|
3781
4053
|
name?: string | undefined;
|
|
4054
|
+
themeId?: string | undefined;
|
|
3782
4055
|
metadata?: {
|
|
3783
4056
|
version?: string | undefined;
|
|
3784
4057
|
created?: string | undefined;
|
|
@@ -3788,23 +4061,57 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3788
4061
|
};
|
|
3789
4062
|
}[] | undefined;
|
|
3790
4063
|
templateMatch?: {
|
|
4064
|
+
category: string;
|
|
3791
4065
|
templateId: string;
|
|
3792
4066
|
templateName: string;
|
|
3793
|
-
category: string;
|
|
3794
4067
|
confidence: number;
|
|
3795
4068
|
matchedKeywords: string[];
|
|
3796
4069
|
skeleton?: {
|
|
3797
|
-
shell: string;
|
|
3798
|
-
page: string;
|
|
3799
4070
|
sections: {
|
|
3800
|
-
id: string;
|
|
3801
|
-
name: string;
|
|
3802
4071
|
required: boolean;
|
|
4072
|
+
name: string;
|
|
4073
|
+
id: string;
|
|
3803
4074
|
slot: string;
|
|
3804
4075
|
}[];
|
|
4076
|
+
shell: string;
|
|
4077
|
+
page: string;
|
|
3805
4078
|
} | undefined;
|
|
3806
4079
|
requiredComponents?: string[] | undefined;
|
|
3807
4080
|
} | undefined;
|
|
4081
|
+
templateHints?: {
|
|
4082
|
+
category: string;
|
|
4083
|
+
templateId: string;
|
|
4084
|
+
templateName: string;
|
|
4085
|
+
confidence: number;
|
|
4086
|
+
matchedKeywords: string[];
|
|
4087
|
+
}[] | undefined;
|
|
4088
|
+
componentPlan?: {
|
|
4089
|
+
type: string;
|
|
4090
|
+
reason: string;
|
|
4091
|
+
source: "category" | "theme" | "default" | "template";
|
|
4092
|
+
}[] | undefined;
|
|
4093
|
+
sectionPlan?: {
|
|
4094
|
+
pattern: string;
|
|
4095
|
+
id: string;
|
|
4096
|
+
purpose: string;
|
|
4097
|
+
suggestedComponents: string[];
|
|
4098
|
+
slot?: string | undefined;
|
|
4099
|
+
}[] | undefined;
|
|
4100
|
+
definitionStarter?: {
|
|
4101
|
+
sections: {
|
|
4102
|
+
pattern: string;
|
|
4103
|
+
id: string;
|
|
4104
|
+
components: {
|
|
4105
|
+
type: string;
|
|
4106
|
+
props?: Record<string, unknown> | undefined;
|
|
4107
|
+
}[];
|
|
4108
|
+
slot?: string | undefined;
|
|
4109
|
+
}[];
|
|
4110
|
+
shell: string;
|
|
4111
|
+
page: string;
|
|
4112
|
+
id: string;
|
|
4113
|
+
themeId?: string | undefined;
|
|
4114
|
+
} | undefined;
|
|
3808
4115
|
schema?: {
|
|
3809
4116
|
description: string;
|
|
3810
4117
|
screenDefinition?: unknown;
|
|
@@ -3815,8 +4122,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3815
4122
|
defaultClassName?: string | undefined;
|
|
3816
4123
|
}[] | undefined;
|
|
3817
4124
|
hints?: {
|
|
4125
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3818
4126
|
message: string;
|
|
3819
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3820
4127
|
priority: "high" | "medium" | "low";
|
|
3821
4128
|
example?: string | undefined;
|
|
3822
4129
|
}[] | undefined;
|
|
@@ -3825,8 +4132,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3825
4132
|
title: string;
|
|
3826
4133
|
steps: {
|
|
3827
4134
|
description: string;
|
|
3828
|
-
step: number;
|
|
3829
4135
|
action: string;
|
|
4136
|
+
step: number;
|
|
3830
4137
|
example?: string | undefined;
|
|
3831
4138
|
tool?: string | undefined;
|
|
3832
4139
|
}[];
|
|
@@ -3882,7 +4189,7 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
3882
4189
|
prettier?: boolean | undefined;
|
|
3883
4190
|
}>>;
|
|
3884
4191
|
}, "strip", z.ZodTypeAny, {
|
|
3885
|
-
outputFormat: "
|
|
4192
|
+
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
3886
4193
|
options?: {
|
|
3887
4194
|
typescript: boolean;
|
|
3888
4195
|
prettier: boolean;
|
|
@@ -3890,7 +4197,7 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
3890
4197
|
} | undefined;
|
|
3891
4198
|
screenDefinition?: unknown;
|
|
3892
4199
|
}, {
|
|
3893
|
-
outputFormat: "
|
|
4200
|
+
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
3894
4201
|
options?: {
|
|
3895
4202
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
3896
4203
|
typescript?: boolean | undefined;
|
|
@@ -4023,8 +4330,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4023
4330
|
value?: unknown;
|
|
4024
4331
|
}>, "many">>;
|
|
4025
4332
|
}, "strip", z.ZodTypeAny, {
|
|
4026
|
-
message: string;
|
|
4027
4333
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4334
|
+
message: string;
|
|
4028
4335
|
autoFix?: {
|
|
4029
4336
|
path: string;
|
|
4030
4337
|
op: "replace" | "add" | "remove";
|
|
@@ -4033,8 +4340,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4033
4340
|
affectedPath?: string | undefined;
|
|
4034
4341
|
suggestedChange?: string | undefined;
|
|
4035
4342
|
}, {
|
|
4036
|
-
message: string;
|
|
4037
4343
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4344
|
+
message: string;
|
|
4038
4345
|
autoFix?: {
|
|
4039
4346
|
path: string;
|
|
4040
4347
|
op: "replace" | "add" | "remove";
|
|
@@ -4130,8 +4437,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4130
4437
|
value?: unknown;
|
|
4131
4438
|
}>, "many">>;
|
|
4132
4439
|
}, "strip", z.ZodTypeAny, {
|
|
4133
|
-
message: string;
|
|
4134
4440
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4441
|
+
message: string;
|
|
4135
4442
|
autoFix?: {
|
|
4136
4443
|
path: string;
|
|
4137
4444
|
op: "replace" | "add" | "remove";
|
|
@@ -4140,8 +4447,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4140
4447
|
affectedPath?: string | undefined;
|
|
4141
4448
|
suggestedChange?: string | undefined;
|
|
4142
4449
|
}, {
|
|
4143
|
-
message: string;
|
|
4144
4450
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4451
|
+
message: string;
|
|
4145
4452
|
autoFix?: {
|
|
4146
4453
|
path: string;
|
|
4147
4454
|
op: "replace" | "add" | "remove";
|
|
@@ -4188,8 +4495,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4188
4495
|
recommendation?: string | undefined;
|
|
4189
4496
|
}[] | undefined;
|
|
4190
4497
|
suggestions?: {
|
|
4191
|
-
message: string;
|
|
4192
4498
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4499
|
+
message: string;
|
|
4193
4500
|
autoFix?: {
|
|
4194
4501
|
path: string;
|
|
4195
4502
|
op: "replace" | "add" | "remove";
|
|
@@ -4227,8 +4534,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4227
4534
|
recommendation?: string | undefined;
|
|
4228
4535
|
}[] | undefined;
|
|
4229
4536
|
suggestions?: {
|
|
4230
|
-
message: string;
|
|
4231
4537
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4538
|
+
message: string;
|
|
4232
4539
|
autoFix?: {
|
|
4233
4540
|
path: string;
|
|
4234
4541
|
op: "replace" | "add" | "remove";
|
|
@@ -4251,6 +4558,7 @@ export type ValidateScreenDefinitionOutput = z.infer<typeof ValidateScreenDefini
|
|
|
4251
4558
|
export declare const ValidateEnvironmentInputSchema: z.ZodObject<{
|
|
4252
4559
|
projectPath: z.ZodString;
|
|
4253
4560
|
requiredPackages: z.ZodArray<z.ZodString, "many">;
|
|
4561
|
+
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4254
4562
|
checkTailwind: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4255
4563
|
checkStyles: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4256
4564
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4258,9 +4566,11 @@ export declare const ValidateEnvironmentInputSchema: z.ZodObject<{
|
|
|
4258
4566
|
requiredPackages: string[];
|
|
4259
4567
|
checkTailwind: boolean;
|
|
4260
4568
|
checkStyles: boolean;
|
|
4569
|
+
sourceFiles?: string[] | undefined;
|
|
4261
4570
|
}, {
|
|
4262
4571
|
projectPath: string;
|
|
4263
4572
|
requiredPackages: string[];
|
|
4573
|
+
sourceFiles?: string[] | undefined;
|
|
4264
4574
|
checkTailwind?: boolean | undefined;
|
|
4265
4575
|
checkStyles?: boolean | undefined;
|
|
4266
4576
|
}>;
|
|
@@ -4322,7 +4632,7 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4322
4632
|
}, "strip", z.ZodTypeAny, {
|
|
4323
4633
|
issues: string[];
|
|
4324
4634
|
fixes: string[];
|
|
4325
|
-
styleContract: "
|
|
4635
|
+
styleContract: "host-utility" | "framingui-native" | "unknown" | "mixed";
|
|
4326
4636
|
cssFilesChecked: string[];
|
|
4327
4637
|
uiStylesImportFound: boolean;
|
|
4328
4638
|
definedVariables: string[];
|
|
@@ -4330,23 +4640,34 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4330
4640
|
}, {
|
|
4331
4641
|
issues: string[];
|
|
4332
4642
|
fixes: string[];
|
|
4333
|
-
styleContract: "
|
|
4643
|
+
styleContract: "host-utility" | "framingui-native" | "unknown" | "mixed";
|
|
4334
4644
|
cssFilesChecked: string[];
|
|
4335
4645
|
uiStylesImportFound: boolean;
|
|
4336
4646
|
definedVariables: string[];
|
|
4337
4647
|
missingVariables: string[];
|
|
4338
4648
|
}>>;
|
|
4649
|
+
codegen: z.ZodOptional<z.ZodObject<{
|
|
4650
|
+
checkedFiles: z.ZodArray<z.ZodString, "many">;
|
|
4651
|
+
issues: z.ZodArray<z.ZodString, "many">;
|
|
4652
|
+
fixes: z.ZodArray<z.ZodString, "many">;
|
|
4653
|
+
detectedComponents: z.ZodArray<z.ZodString, "many">;
|
|
4654
|
+
rawHtmlTags: z.ZodArray<z.ZodString, "many">;
|
|
4655
|
+
}, "strip", z.ZodTypeAny, {
|
|
4656
|
+
issues: string[];
|
|
4657
|
+
fixes: string[];
|
|
4658
|
+
checkedFiles: string[];
|
|
4659
|
+
detectedComponents: string[];
|
|
4660
|
+
rawHtmlTags: string[];
|
|
4661
|
+
}, {
|
|
4662
|
+
issues: string[];
|
|
4663
|
+
fixes: string[];
|
|
4664
|
+
checkedFiles: string[];
|
|
4665
|
+
detectedComponents: string[];
|
|
4666
|
+
rawHtmlTags: string[];
|
|
4667
|
+
}>>;
|
|
4339
4668
|
error: z.ZodOptional<z.ZodString>;
|
|
4340
4669
|
}, "strip", z.ZodTypeAny, {
|
|
4341
4670
|
success: boolean;
|
|
4342
|
-
error?: string | undefined;
|
|
4343
|
-
installCommands?: {
|
|
4344
|
-
npm: string;
|
|
4345
|
-
yarn: string;
|
|
4346
|
-
pnpm: string;
|
|
4347
|
-
bun: string;
|
|
4348
|
-
} | undefined;
|
|
4349
|
-
warnings?: string[] | undefined;
|
|
4350
4671
|
tailwind?: {
|
|
4351
4672
|
issues: string[];
|
|
4352
4673
|
configFound: boolean;
|
|
@@ -4355,27 +4676,34 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4355
4676
|
fixes: string[];
|
|
4356
4677
|
configPath?: string | undefined;
|
|
4357
4678
|
} | undefined;
|
|
4679
|
+
error?: string | undefined;
|
|
4680
|
+
warnings?: string[] | undefined;
|
|
4681
|
+
installCommands?: {
|
|
4682
|
+
npm: string;
|
|
4683
|
+
yarn: string;
|
|
4684
|
+
pnpm: string;
|
|
4685
|
+
bun: string;
|
|
4686
|
+
} | undefined;
|
|
4358
4687
|
installed?: Record<string, string> | undefined;
|
|
4359
4688
|
missing?: string[] | undefined;
|
|
4360
4689
|
styles?: {
|
|
4361
4690
|
issues: string[];
|
|
4362
4691
|
fixes: string[];
|
|
4363
|
-
styleContract: "
|
|
4692
|
+
styleContract: "host-utility" | "framingui-native" | "unknown" | "mixed";
|
|
4364
4693
|
cssFilesChecked: string[];
|
|
4365
4694
|
uiStylesImportFound: boolean;
|
|
4366
4695
|
definedVariables: string[];
|
|
4367
4696
|
missingVariables: string[];
|
|
4368
4697
|
} | undefined;
|
|
4698
|
+
codegen?: {
|
|
4699
|
+
issues: string[];
|
|
4700
|
+
fixes: string[];
|
|
4701
|
+
checkedFiles: string[];
|
|
4702
|
+
detectedComponents: string[];
|
|
4703
|
+
rawHtmlTags: string[];
|
|
4704
|
+
} | undefined;
|
|
4369
4705
|
}, {
|
|
4370
4706
|
success: boolean;
|
|
4371
|
-
error?: string | undefined;
|
|
4372
|
-
installCommands?: {
|
|
4373
|
-
npm: string;
|
|
4374
|
-
yarn: string;
|
|
4375
|
-
pnpm: string;
|
|
4376
|
-
bun: string;
|
|
4377
|
-
} | undefined;
|
|
4378
|
-
warnings?: string[] | undefined;
|
|
4379
4707
|
tailwind?: {
|
|
4380
4708
|
issues: string[];
|
|
4381
4709
|
configFound: boolean;
|
|
@@ -4384,17 +4712,32 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4384
4712
|
fixes: string[];
|
|
4385
4713
|
configPath?: string | undefined;
|
|
4386
4714
|
} | undefined;
|
|
4715
|
+
error?: string | undefined;
|
|
4716
|
+
warnings?: string[] | undefined;
|
|
4717
|
+
installCommands?: {
|
|
4718
|
+
npm: string;
|
|
4719
|
+
yarn: string;
|
|
4720
|
+
pnpm: string;
|
|
4721
|
+
bun: string;
|
|
4722
|
+
} | undefined;
|
|
4387
4723
|
installed?: Record<string, string> | undefined;
|
|
4388
4724
|
missing?: string[] | undefined;
|
|
4389
4725
|
styles?: {
|
|
4390
4726
|
issues: string[];
|
|
4391
4727
|
fixes: string[];
|
|
4392
|
-
styleContract: "
|
|
4728
|
+
styleContract: "host-utility" | "framingui-native" | "unknown" | "mixed";
|
|
4393
4729
|
cssFilesChecked: string[];
|
|
4394
4730
|
uiStylesImportFound: boolean;
|
|
4395
4731
|
definedVariables: string[];
|
|
4396
4732
|
missingVariables: string[];
|
|
4397
4733
|
} | undefined;
|
|
4734
|
+
codegen?: {
|
|
4735
|
+
issues: string[];
|
|
4736
|
+
fixes: string[];
|
|
4737
|
+
checkedFiles: string[];
|
|
4738
|
+
detectedComponents: string[];
|
|
4739
|
+
rawHtmlTags: string[];
|
|
4740
|
+
} | undefined;
|
|
4398
4741
|
}>;
|
|
4399
4742
|
export type ValidateEnvironmentOutput = z.infer<typeof ValidateEnvironmentOutputSchema>;
|
|
4400
4743
|
//# sourceMappingURL=mcp-schemas.d.ts.map
|