@tekton-ui/mcp-server 0.3.0 → 0.3.2
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 +98 -51
- package/dist/auth/theme-access.d.ts +1 -1
- package/dist/auth/theme-access.d.ts.map +1 -1
- package/dist/auth/theme-access.js +7 -14
- package/dist/auth/theme-access.js.map +1 -1
- package/dist/cli/agent-md-templates.d.ts +16 -0
- package/dist/cli/agent-md-templates.d.ts.map +1 -0
- package/dist/cli/agent-md-templates.js +330 -0
- package/dist/cli/agent-md-templates.js.map +1 -0
- package/dist/cli/guide-template.d.ts +10 -0
- package/dist/cli/guide-template.d.ts.map +1 -0
- package/dist/cli/guide-template.js +197 -0
- package/dist/cli/guide-template.js.map +1 -0
- package/dist/cli/index.js +5 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init.d.ts +6 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +319 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/index.js +39 -1
- package/dist/index.js.map +1 -1
- package/dist/prompts/getting-started.d.ts +18 -0
- package/dist/prompts/getting-started.d.ts.map +1 -0
- package/dist/prompts/getting-started.js +94 -0
- package/dist/prompts/getting-started.js.map +1 -0
- package/dist/prompts/screen-workflow.d.ts +17 -0
- package/dist/prompts/screen-workflow.d.ts.map +1 -0
- package/dist/prompts/screen-workflow.js +228 -0
- package/dist/prompts/screen-workflow.js.map +1 -0
- package/dist/schemas/mcp-schemas.d.ts +369 -369
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -27,14 +27,14 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
27
27
|
description: string;
|
|
28
28
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
29
29
|
themeId: string;
|
|
30
|
-
componentHints?: string[] | undefined;
|
|
31
30
|
iconLibrary?: string | undefined;
|
|
31
|
+
componentHints?: string[] | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
description: string;
|
|
34
34
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
35
35
|
themeId: string;
|
|
36
|
-
componentHints?: string[] | undefined;
|
|
37
36
|
iconLibrary?: string | undefined;
|
|
37
|
+
componentHints?: string[] | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
40
40
|
/**
|
|
@@ -61,9 +61,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
61
61
|
page: string;
|
|
62
62
|
}>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
category: string;
|
|
65
64
|
templateId: string;
|
|
66
65
|
templateName: string;
|
|
66
|
+
category: string;
|
|
67
67
|
confidence: number;
|
|
68
68
|
matchedKeywords: string[];
|
|
69
69
|
layoutRecommendation: {
|
|
@@ -72,9 +72,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
72
72
|
page: string;
|
|
73
73
|
};
|
|
74
74
|
}, {
|
|
75
|
-
category: string;
|
|
76
75
|
templateId: string;
|
|
77
76
|
templateName: string;
|
|
77
|
+
category: string;
|
|
78
78
|
confidence: number;
|
|
79
79
|
matchedKeywords: string[];
|
|
80
80
|
layoutRecommendation: {
|
|
@@ -110,11 +110,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
110
110
|
}>, "many">;
|
|
111
111
|
timestamp: z.ZodNumber;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
name: string;
|
|
114
113
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
115
114
|
themeId: string;
|
|
116
115
|
iconLibrary: string;
|
|
117
116
|
id: string;
|
|
117
|
+
name: string;
|
|
118
118
|
components: {
|
|
119
119
|
type: string;
|
|
120
120
|
props?: Record<string, unknown>;
|
|
@@ -123,11 +123,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
123
123
|
}[];
|
|
124
124
|
timestamp: number;
|
|
125
125
|
}, {
|
|
126
|
-
name: string;
|
|
127
126
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
128
127
|
themeId: string;
|
|
129
128
|
iconLibrary: string;
|
|
130
129
|
id: string;
|
|
130
|
+
name: string;
|
|
131
131
|
components: {
|
|
132
132
|
type: string;
|
|
133
133
|
props?: Record<string, unknown>;
|
|
@@ -156,9 +156,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
156
156
|
page: string;
|
|
157
157
|
}>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
category: string;
|
|
160
159
|
templateId: string;
|
|
161
160
|
templateName: string;
|
|
161
|
+
category: string;
|
|
162
162
|
confidence: number;
|
|
163
163
|
matchedKeywords: string[];
|
|
164
164
|
layoutRecommendation: {
|
|
@@ -167,9 +167,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
167
167
|
page: string;
|
|
168
168
|
};
|
|
169
169
|
}, {
|
|
170
|
-
category: string;
|
|
171
170
|
templateId: string;
|
|
172
171
|
templateName: string;
|
|
172
|
+
category: string;
|
|
173
173
|
confidence: number;
|
|
174
174
|
matchedKeywords: string[];
|
|
175
175
|
layoutRecommendation: {
|
|
@@ -181,12 +181,13 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
181
181
|
error: z.ZodOptional<z.ZodString>;
|
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
|
183
183
|
success: boolean;
|
|
184
|
+
error?: string | undefined;
|
|
184
185
|
blueprint?: {
|
|
185
|
-
name: string;
|
|
186
186
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
187
187
|
themeId: string;
|
|
188
188
|
iconLibrary: string;
|
|
189
189
|
id: string;
|
|
190
|
+
name: string;
|
|
190
191
|
components: {
|
|
191
192
|
type: string;
|
|
192
193
|
props?: Record<string, unknown>;
|
|
@@ -196,9 +197,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
196
197
|
timestamp: number;
|
|
197
198
|
} | undefined;
|
|
198
199
|
templateRecommendations?: {
|
|
199
|
-
category: string;
|
|
200
200
|
templateId: string;
|
|
201
201
|
templateName: string;
|
|
202
|
+
category: string;
|
|
202
203
|
confidence: number;
|
|
203
204
|
matchedKeywords: string[];
|
|
204
205
|
layoutRecommendation: {
|
|
@@ -207,15 +208,15 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
207
208
|
page: string;
|
|
208
209
|
};
|
|
209
210
|
}[] | undefined;
|
|
210
|
-
error?: string | undefined;
|
|
211
211
|
}, {
|
|
212
212
|
success: boolean;
|
|
213
|
+
error?: string | undefined;
|
|
213
214
|
blueprint?: {
|
|
214
|
-
name: string;
|
|
215
215
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
216
216
|
themeId: string;
|
|
217
217
|
iconLibrary: string;
|
|
218
218
|
id: string;
|
|
219
|
+
name: string;
|
|
219
220
|
components: {
|
|
220
221
|
type: string;
|
|
221
222
|
props?: Record<string, unknown>;
|
|
@@ -225,9 +226,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
225
226
|
timestamp: number;
|
|
226
227
|
} | undefined;
|
|
227
228
|
templateRecommendations?: {
|
|
228
|
-
category: string;
|
|
229
229
|
templateId: string;
|
|
230
230
|
templateName: string;
|
|
231
|
+
category: string;
|
|
231
232
|
confidence: number;
|
|
232
233
|
matchedKeywords: string[];
|
|
233
234
|
layoutRecommendation: {
|
|
@@ -236,7 +237,6 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
236
237
|
page: string;
|
|
237
238
|
};
|
|
238
239
|
}[] | undefined;
|
|
239
|
-
error?: string | undefined;
|
|
240
240
|
}>;
|
|
241
241
|
export type GenerateBlueprintOutput = z.infer<typeof GenerateBlueprintOutputSchema>;
|
|
242
242
|
/**
|
|
@@ -255,14 +255,14 @@ export declare const ThemeMetaSchema: z.ZodObject<{
|
|
|
255
255
|
brandTone: z.ZodString;
|
|
256
256
|
schemaVersion: z.ZodString;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
name: string;
|
|
259
258
|
id: string;
|
|
259
|
+
name: string;
|
|
260
260
|
brandTone: string;
|
|
261
261
|
schemaVersion: string;
|
|
262
262
|
description?: string | undefined;
|
|
263
263
|
}, {
|
|
264
|
-
name: string;
|
|
265
264
|
id: string;
|
|
265
|
+
name: string;
|
|
266
266
|
brandTone: string;
|
|
267
267
|
schemaVersion: string;
|
|
268
268
|
description?: string | undefined;
|
|
@@ -280,14 +280,14 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
280
280
|
brandTone: z.ZodString;
|
|
281
281
|
schemaVersion: z.ZodString;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
name: string;
|
|
284
283
|
id: string;
|
|
284
|
+
name: string;
|
|
285
285
|
brandTone: string;
|
|
286
286
|
schemaVersion: string;
|
|
287
287
|
description?: string | undefined;
|
|
288
288
|
}, {
|
|
289
|
-
name: string;
|
|
290
289
|
id: string;
|
|
290
|
+
name: string;
|
|
291
291
|
brandTone: string;
|
|
292
292
|
schemaVersion: string;
|
|
293
293
|
description?: string | undefined;
|
|
@@ -297,25 +297,25 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
297
297
|
}, "strip", z.ZodTypeAny, {
|
|
298
298
|
success: boolean;
|
|
299
299
|
error?: string | undefined;
|
|
300
|
-
count?: number | undefined;
|
|
301
300
|
themes?: {
|
|
302
|
-
name: string;
|
|
303
301
|
id: string;
|
|
302
|
+
name: string;
|
|
304
303
|
brandTone: string;
|
|
305
304
|
schemaVersion: string;
|
|
306
305
|
description?: string | undefined;
|
|
307
306
|
}[] | undefined;
|
|
307
|
+
count?: number | undefined;
|
|
308
308
|
}, {
|
|
309
309
|
success: boolean;
|
|
310
310
|
error?: string | undefined;
|
|
311
|
-
count?: number | undefined;
|
|
312
311
|
themes?: {
|
|
313
|
-
name: string;
|
|
314
312
|
id: string;
|
|
313
|
+
name: string;
|
|
315
314
|
brandTone: string;
|
|
316
315
|
schemaVersion: string;
|
|
317
316
|
description?: string | undefined;
|
|
318
317
|
}[] | undefined;
|
|
318
|
+
count?: number | undefined;
|
|
319
319
|
}>;
|
|
320
320
|
export type ListThemesOutput = z.infer<typeof ListThemesOutputSchema>;
|
|
321
321
|
/**
|
|
@@ -375,8 +375,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
375
375
|
elevation: z.ZodOptional<z.ZodUnknown>;
|
|
376
376
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
377
377
|
}, "strip", z.ZodTypeAny, {
|
|
378
|
-
name: string;
|
|
379
378
|
id: string;
|
|
379
|
+
name: string;
|
|
380
380
|
brandTone: string;
|
|
381
381
|
schemaVersion: string;
|
|
382
382
|
tokens: {
|
|
@@ -396,8 +396,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
396
396
|
elevation?: unknown;
|
|
397
397
|
typography?: unknown;
|
|
398
398
|
}, {
|
|
399
|
-
name: string;
|
|
400
399
|
id: string;
|
|
400
|
+
name: string;
|
|
401
401
|
brandTone: string;
|
|
402
402
|
schemaVersion: string;
|
|
403
403
|
tokens: {
|
|
@@ -420,9 +420,10 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
420
420
|
error: z.ZodOptional<z.ZodString>;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
422
|
success: boolean;
|
|
423
|
+
error?: string | undefined;
|
|
423
424
|
theme?: {
|
|
424
|
-
name: string;
|
|
425
425
|
id: string;
|
|
426
|
+
name: string;
|
|
426
427
|
brandTone: string;
|
|
427
428
|
schemaVersion: string;
|
|
428
429
|
tokens: {
|
|
@@ -442,12 +443,12 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
442
443
|
elevation?: unknown;
|
|
443
444
|
typography?: unknown;
|
|
444
445
|
} | undefined;
|
|
445
|
-
error?: string | undefined;
|
|
446
446
|
}, {
|
|
447
447
|
success: boolean;
|
|
448
|
+
error?: string | undefined;
|
|
448
449
|
theme?: {
|
|
449
|
-
name: string;
|
|
450
450
|
id: string;
|
|
451
|
+
name: string;
|
|
451
452
|
brandTone: string;
|
|
452
453
|
schemaVersion: string;
|
|
453
454
|
tokens: {
|
|
@@ -467,7 +468,6 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
467
468
|
elevation?: unknown;
|
|
468
469
|
typography?: unknown;
|
|
469
470
|
} | undefined;
|
|
470
|
-
error?: string | undefined;
|
|
471
471
|
}>;
|
|
472
472
|
export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
|
|
473
473
|
/**
|
|
@@ -500,12 +500,12 @@ export declare const ExportScreenOutputSchema: z.ZodObject<{
|
|
|
500
500
|
error: z.ZodOptional<z.ZodString>;
|
|
501
501
|
}, "strip", z.ZodTypeAny, {
|
|
502
502
|
success: boolean;
|
|
503
|
-
code?: string | undefined;
|
|
504
503
|
error?: string | undefined;
|
|
504
|
+
code?: string | undefined;
|
|
505
505
|
}, {
|
|
506
506
|
success: boolean;
|
|
507
|
-
code?: string | undefined;
|
|
508
507
|
error?: string | undefined;
|
|
508
|
+
code?: string | undefined;
|
|
509
509
|
}>;
|
|
510
510
|
/**
|
|
511
511
|
* Export component resolution tier
|
|
@@ -536,8 +536,8 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
536
536
|
themeId: z.ZodOptional<z.ZodString>;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
538
|
format: "jsx" | "tsx" | "vue";
|
|
539
|
-
tier: "tier1" | "tier2" | "auto";
|
|
540
539
|
includeCSS: boolean;
|
|
540
|
+
tier: "tier1" | "tier2" | "auto";
|
|
541
541
|
themeId?: string | undefined;
|
|
542
542
|
blueprint?: unknown;
|
|
543
543
|
componentName?: string | undefined;
|
|
@@ -546,10 +546,10 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
546
546
|
format: "jsx" | "tsx" | "vue";
|
|
547
547
|
themeId?: string | undefined;
|
|
548
548
|
blueprint?: unknown;
|
|
549
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
550
549
|
componentName?: string | undefined;
|
|
551
550
|
componentDescription?: string | undefined;
|
|
552
551
|
includeCSS?: boolean | undefined;
|
|
552
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
553
553
|
}>;
|
|
554
554
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
555
555
|
/**
|
|
@@ -561,12 +561,12 @@ export declare const ComponentResolutionSchema: z.ZodObject<{
|
|
|
561
561
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
562
562
|
}, "strip", z.ZodTypeAny, {
|
|
563
563
|
code: string;
|
|
564
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
565
564
|
componentName: string;
|
|
565
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
566
566
|
}, {
|
|
567
567
|
code: string;
|
|
568
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
569
568
|
componentName: string;
|
|
569
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
570
570
|
}>;
|
|
571
571
|
export type ComponentResolution = z.infer<typeof ComponentResolutionSchema>;
|
|
572
572
|
/**
|
|
@@ -586,36 +586,36 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
586
586
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
587
587
|
}, "strip", z.ZodTypeAny, {
|
|
588
588
|
code: string;
|
|
589
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
590
589
|
componentName: string;
|
|
590
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
591
591
|
}, {
|
|
592
592
|
code: string;
|
|
593
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
594
593
|
componentName: string;
|
|
594
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
595
595
|
}>, "many">>;
|
|
596
596
|
/** Tier used for resolution */
|
|
597
597
|
tierUsed: z.ZodOptional<z.ZodEnum<["tier1", "tier2", "auto"]>>;
|
|
598
598
|
error: z.ZodOptional<z.ZodString>;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
600
|
success: boolean;
|
|
601
|
+
error?: string | undefined;
|
|
601
602
|
code?: string | undefined;
|
|
602
603
|
components?: {
|
|
603
604
|
code: string;
|
|
604
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
605
605
|
componentName: string;
|
|
606
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
606
607
|
}[] | undefined;
|
|
607
|
-
error?: string | undefined;
|
|
608
608
|
css?: string | undefined;
|
|
609
609
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
610
610
|
}, {
|
|
611
611
|
success: boolean;
|
|
612
|
+
error?: string | undefined;
|
|
612
613
|
code?: string | undefined;
|
|
613
614
|
components?: {
|
|
614
615
|
code: string;
|
|
615
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
616
616
|
componentName: string;
|
|
617
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
617
618
|
}[] | undefined;
|
|
618
|
-
error?: string | undefined;
|
|
619
619
|
css?: string | undefined;
|
|
620
620
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
621
621
|
}>;
|
|
@@ -629,11 +629,11 @@ export declare const ErrorResponseSchema: z.ZodObject<{
|
|
|
629
629
|
success: z.ZodLiteral<false>;
|
|
630
630
|
error: z.ZodString;
|
|
631
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
|
-
success: false;
|
|
633
632
|
error: string;
|
|
634
|
-
}, {
|
|
635
633
|
success: false;
|
|
634
|
+
}, {
|
|
636
635
|
error: string;
|
|
636
|
+
success: false;
|
|
637
637
|
}>;
|
|
638
638
|
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
639
639
|
/**
|
|
@@ -685,20 +685,20 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
685
685
|
}>>;
|
|
686
686
|
}, "strip", z.ZodTypeAny, {
|
|
687
687
|
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
688
|
-
screenDefinition?: unknown;
|
|
689
688
|
options?: {
|
|
690
689
|
typescript: boolean;
|
|
691
690
|
prettier: boolean;
|
|
692
691
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
693
692
|
} | undefined;
|
|
693
|
+
screenDefinition?: unknown;
|
|
694
694
|
}, {
|
|
695
695
|
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
696
|
-
screenDefinition?: unknown;
|
|
697
696
|
options?: {
|
|
698
697
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
699
698
|
typescript?: boolean | undefined;
|
|
700
699
|
prettier?: boolean | undefined;
|
|
701
700
|
} | undefined;
|
|
701
|
+
screenDefinition?: unknown;
|
|
702
702
|
}>;
|
|
703
703
|
export type GenerateScreenInput = z.infer<typeof GenerateScreenInputSchema>;
|
|
704
704
|
/**
|
|
@@ -835,8 +835,8 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
835
835
|
error: z.ZodOptional<z.ZodString>;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
837
837
|
success: boolean;
|
|
838
|
-
code?: string | undefined;
|
|
839
838
|
error?: string | undefined;
|
|
839
|
+
code?: string | undefined;
|
|
840
840
|
cssVariables?: string | undefined;
|
|
841
841
|
dependencies?: {
|
|
842
842
|
external: string[];
|
|
@@ -856,8 +856,8 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
856
856
|
errors?: string[] | undefined;
|
|
857
857
|
}, {
|
|
858
858
|
success: boolean;
|
|
859
|
-
code?: string | undefined;
|
|
860
859
|
error?: string | undefined;
|
|
860
|
+
code?: string | undefined;
|
|
861
861
|
cssVariables?: string | undefined;
|
|
862
862
|
dependencies?: {
|
|
863
863
|
external: string[];
|
|
@@ -985,16 +985,16 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
985
985
|
type: z.ZodOptional<z.ZodString>;
|
|
986
986
|
}, "strip", z.ZodTypeAny, {
|
|
987
987
|
id: string;
|
|
988
|
+
type?: string | undefined;
|
|
988
989
|
description?: string | undefined;
|
|
989
990
|
name?: string | undefined;
|
|
990
|
-
type?: string | undefined;
|
|
991
991
|
platform?: string | undefined;
|
|
992
992
|
purpose?: string | undefined;
|
|
993
993
|
}, {
|
|
994
994
|
id: string;
|
|
995
|
+
type?: string | undefined;
|
|
995
996
|
description?: string | undefined;
|
|
996
997
|
name?: string | undefined;
|
|
997
|
-
type?: string | undefined;
|
|
998
998
|
platform?: string | undefined;
|
|
999
999
|
purpose?: string | undefined;
|
|
1000
1000
|
}>;
|
|
@@ -1013,16 +1013,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1013
1013
|
type: z.ZodOptional<z.ZodString>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
1015
|
id: string;
|
|
1016
|
+
type?: string | undefined;
|
|
1016
1017
|
description?: string | undefined;
|
|
1017
1018
|
name?: string | undefined;
|
|
1018
|
-
type?: string | undefined;
|
|
1019
1019
|
platform?: string | undefined;
|
|
1020
1020
|
purpose?: string | undefined;
|
|
1021
1021
|
}, {
|
|
1022
1022
|
id: string;
|
|
1023
|
+
type?: string | undefined;
|
|
1023
1024
|
description?: string | undefined;
|
|
1024
1025
|
name?: string | undefined;
|
|
1025
|
-
type?: string | undefined;
|
|
1026
1026
|
platform?: string | undefined;
|
|
1027
1027
|
purpose?: string | undefined;
|
|
1028
1028
|
}>, "many">>;
|
|
@@ -1035,16 +1035,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1035
1035
|
type: z.ZodOptional<z.ZodString>;
|
|
1036
1036
|
}, "strip", z.ZodTypeAny, {
|
|
1037
1037
|
id: string;
|
|
1038
|
+
type?: string | undefined;
|
|
1038
1039
|
description?: string | undefined;
|
|
1039
1040
|
name?: string | undefined;
|
|
1040
|
-
type?: string | undefined;
|
|
1041
1041
|
platform?: string | undefined;
|
|
1042
1042
|
purpose?: string | undefined;
|
|
1043
1043
|
}, {
|
|
1044
1044
|
id: string;
|
|
1045
|
+
type?: string | undefined;
|
|
1045
1046
|
description?: string | undefined;
|
|
1046
1047
|
name?: string | undefined;
|
|
1047
|
-
type?: string | undefined;
|
|
1048
1048
|
platform?: string | undefined;
|
|
1049
1049
|
purpose?: string | undefined;
|
|
1050
1050
|
}>, "many">>;
|
|
@@ -1057,16 +1057,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1057
1057
|
type: z.ZodOptional<z.ZodString>;
|
|
1058
1058
|
}, "strip", z.ZodTypeAny, {
|
|
1059
1059
|
id: string;
|
|
1060
|
+
type?: string | undefined;
|
|
1060
1061
|
description?: string | undefined;
|
|
1061
1062
|
name?: string | undefined;
|
|
1062
|
-
type?: string | undefined;
|
|
1063
1063
|
platform?: string | undefined;
|
|
1064
1064
|
purpose?: string | undefined;
|
|
1065
1065
|
}, {
|
|
1066
1066
|
id: string;
|
|
1067
|
+
type?: string | undefined;
|
|
1067
1068
|
description?: string | undefined;
|
|
1068
1069
|
name?: string | undefined;
|
|
1069
|
-
type?: string | undefined;
|
|
1070
1070
|
platform?: string | undefined;
|
|
1071
1071
|
purpose?: string | undefined;
|
|
1072
1072
|
}>, "many">>;
|
|
@@ -1086,25 +1086,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1086
1086
|
error?: string | undefined;
|
|
1087
1087
|
shells?: {
|
|
1088
1088
|
id: string;
|
|
1089
|
+
type?: string | undefined;
|
|
1089
1090
|
description?: string | undefined;
|
|
1090
1091
|
name?: string | undefined;
|
|
1091
|
-
type?: string | undefined;
|
|
1092
1092
|
platform?: string | undefined;
|
|
1093
1093
|
purpose?: string | undefined;
|
|
1094
1094
|
}[] | undefined;
|
|
1095
1095
|
pages?: {
|
|
1096
1096
|
id: string;
|
|
1097
|
+
type?: string | undefined;
|
|
1097
1098
|
description?: string | undefined;
|
|
1098
1099
|
name?: string | undefined;
|
|
1099
|
-
type?: string | undefined;
|
|
1100
1100
|
platform?: string | undefined;
|
|
1101
1101
|
purpose?: string | undefined;
|
|
1102
1102
|
}[] | undefined;
|
|
1103
1103
|
sections?: {
|
|
1104
1104
|
id: string;
|
|
1105
|
+
type?: string | undefined;
|
|
1105
1106
|
description?: string | undefined;
|
|
1106
1107
|
name?: string | undefined;
|
|
1107
|
-
type?: string | undefined;
|
|
1108
1108
|
platform?: string | undefined;
|
|
1109
1109
|
purpose?: string | undefined;
|
|
1110
1110
|
}[] | undefined;
|
|
@@ -1117,25 +1117,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1117
1117
|
error?: string | undefined;
|
|
1118
1118
|
shells?: {
|
|
1119
1119
|
id: string;
|
|
1120
|
+
type?: string | undefined;
|
|
1120
1121
|
description?: string | undefined;
|
|
1121
1122
|
name?: string | undefined;
|
|
1122
|
-
type?: string | undefined;
|
|
1123
1123
|
platform?: string | undefined;
|
|
1124
1124
|
purpose?: string | undefined;
|
|
1125
1125
|
}[] | undefined;
|
|
1126
1126
|
pages?: {
|
|
1127
1127
|
id: string;
|
|
1128
|
+
type?: string | undefined;
|
|
1128
1129
|
description?: string | undefined;
|
|
1129
1130
|
name?: string | undefined;
|
|
1130
|
-
type?: string | undefined;
|
|
1131
1131
|
platform?: string | undefined;
|
|
1132
1132
|
purpose?: string | undefined;
|
|
1133
1133
|
}[] | undefined;
|
|
1134
1134
|
sections?: {
|
|
1135
1135
|
id: string;
|
|
1136
|
+
type?: string | undefined;
|
|
1136
1137
|
description?: string | undefined;
|
|
1137
1138
|
name?: string | undefined;
|
|
1138
|
-
type?: string | undefined;
|
|
1139
1139
|
platform?: string | undefined;
|
|
1140
1140
|
purpose?: string | undefined;
|
|
1141
1141
|
}[] | undefined;
|
|
@@ -1168,18 +1168,18 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1168
1168
|
totalIcons: z.ZodNumber;
|
|
1169
1169
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1170
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1171
|
-
version: string;
|
|
1172
1171
|
description: string;
|
|
1173
|
-
name: string;
|
|
1174
1172
|
id: string;
|
|
1173
|
+
name: string;
|
|
1174
|
+
version: string;
|
|
1175
1175
|
license: string;
|
|
1176
1176
|
totalIcons: number;
|
|
1177
1177
|
categories: string[];
|
|
1178
1178
|
}, {
|
|
1179
|
-
version: string;
|
|
1180
1179
|
description: string;
|
|
1181
|
-
name: string;
|
|
1182
1180
|
id: string;
|
|
1181
|
+
name: string;
|
|
1182
|
+
version: string;
|
|
1183
1183
|
license: string;
|
|
1184
1184
|
totalIcons: number;
|
|
1185
1185
|
categories: string[];
|
|
@@ -1199,18 +1199,18 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1199
1199
|
totalIcons: z.ZodNumber;
|
|
1200
1200
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1201
1201
|
}, "strip", z.ZodTypeAny, {
|
|
1202
|
-
version: string;
|
|
1203
1202
|
description: string;
|
|
1204
|
-
name: string;
|
|
1205
1203
|
id: string;
|
|
1204
|
+
name: string;
|
|
1205
|
+
version: string;
|
|
1206
1206
|
license: string;
|
|
1207
1207
|
totalIcons: number;
|
|
1208
1208
|
categories: string[];
|
|
1209
1209
|
}, {
|
|
1210
|
-
version: string;
|
|
1211
1210
|
description: string;
|
|
1212
|
-
name: string;
|
|
1213
1211
|
id: string;
|
|
1212
|
+
name: string;
|
|
1213
|
+
version: string;
|
|
1214
1214
|
license: string;
|
|
1215
1215
|
totalIcons: number;
|
|
1216
1216
|
categories: string[];
|
|
@@ -1220,29 +1220,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1220
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1221
|
success: boolean;
|
|
1222
1222
|
error?: string | undefined;
|
|
1223
|
+
count?: number | undefined;
|
|
1223
1224
|
libraries?: {
|
|
1224
|
-
version: string;
|
|
1225
1225
|
description: string;
|
|
1226
|
-
name: string;
|
|
1227
1226
|
id: string;
|
|
1227
|
+
name: string;
|
|
1228
|
+
version: string;
|
|
1228
1229
|
license: string;
|
|
1229
1230
|
totalIcons: number;
|
|
1230
1231
|
categories: string[];
|
|
1231
1232
|
}[] | undefined;
|
|
1232
|
-
count?: number | undefined;
|
|
1233
1233
|
}, {
|
|
1234
1234
|
success: boolean;
|
|
1235
1235
|
error?: string | undefined;
|
|
1236
|
+
count?: number | undefined;
|
|
1236
1237
|
libraries?: {
|
|
1237
|
-
version: string;
|
|
1238
1238
|
description: string;
|
|
1239
|
-
name: string;
|
|
1240
1239
|
id: string;
|
|
1240
|
+
name: string;
|
|
1241
|
+
version: string;
|
|
1241
1242
|
license: string;
|
|
1242
1243
|
totalIcons: number;
|
|
1243
1244
|
categories: string[];
|
|
1244
1245
|
}[] | undefined;
|
|
1245
|
-
count?: number | undefined;
|
|
1246
1246
|
}>;
|
|
1247
1247
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1248
1248
|
/**
|
|
@@ -1393,10 +1393,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1393
1393
|
defaultVariant: z.ZodOptional<z.ZodString>;
|
|
1394
1394
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1395
1395
|
}, "strip", z.ZodTypeAny, {
|
|
1396
|
-
version: string;
|
|
1397
1396
|
description: string;
|
|
1398
|
-
name: string;
|
|
1399
1397
|
id: string;
|
|
1398
|
+
name: string;
|
|
1399
|
+
version: string;
|
|
1400
1400
|
license: string;
|
|
1401
1401
|
totalIcons: number;
|
|
1402
1402
|
categories: string[];
|
|
@@ -1425,10 +1425,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1425
1425
|
defaultVariant?: string | undefined;
|
|
1426
1426
|
iconSample?: string[] | undefined;
|
|
1427
1427
|
}, {
|
|
1428
|
-
version: string;
|
|
1429
1428
|
description: string;
|
|
1430
|
-
name: string;
|
|
1431
1429
|
id: string;
|
|
1430
|
+
name: string;
|
|
1431
|
+
version: string;
|
|
1432
1432
|
license: string;
|
|
1433
1433
|
totalIcons: number;
|
|
1434
1434
|
categories: string[];
|
|
@@ -1462,10 +1462,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1462
1462
|
success: boolean;
|
|
1463
1463
|
error?: string | undefined;
|
|
1464
1464
|
library?: {
|
|
1465
|
-
version: string;
|
|
1466
1465
|
description: string;
|
|
1467
|
-
name: string;
|
|
1468
1466
|
id: string;
|
|
1467
|
+
name: string;
|
|
1468
|
+
version: string;
|
|
1469
1469
|
license: string;
|
|
1470
1470
|
totalIcons: number;
|
|
1471
1471
|
categories: string[];
|
|
@@ -1498,10 +1498,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1498
1498
|
success: boolean;
|
|
1499
1499
|
error?: string | undefined;
|
|
1500
1500
|
library?: {
|
|
1501
|
-
version: string;
|
|
1502
1501
|
description: string;
|
|
1503
|
-
name: string;
|
|
1504
1502
|
id: string;
|
|
1503
|
+
name: string;
|
|
1504
|
+
version: string;
|
|
1505
1505
|
license: string;
|
|
1506
1506
|
totalIcons: number;
|
|
1507
1507
|
categories: string[];
|
|
@@ -1549,8 +1549,8 @@ export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
|
1549
1549
|
category: "all" | "core" | "complex" | "advanced";
|
|
1550
1550
|
search?: string | undefined;
|
|
1551
1551
|
}, {
|
|
1552
|
-
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1553
1552
|
search?: string | undefined;
|
|
1553
|
+
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1554
1554
|
}>;
|
|
1555
1555
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
1556
1556
|
/**
|
|
@@ -1566,20 +1566,20 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1566
1566
|
tier: z.ZodNumber;
|
|
1567
1567
|
}, "strip", z.ZodTypeAny, {
|
|
1568
1568
|
description: string;
|
|
1569
|
-
name: string;
|
|
1570
1569
|
category: "core" | "complex" | "advanced";
|
|
1571
1570
|
id: string;
|
|
1571
|
+
name: string;
|
|
1572
|
+
tier: number;
|
|
1572
1573
|
variantsCount: number;
|
|
1573
1574
|
hasSubComponents: boolean;
|
|
1574
|
-
tier: number;
|
|
1575
1575
|
}, {
|
|
1576
1576
|
description: string;
|
|
1577
|
-
name: string;
|
|
1578
1577
|
category: "core" | "complex" | "advanced";
|
|
1579
1578
|
id: string;
|
|
1579
|
+
name: string;
|
|
1580
|
+
tier: number;
|
|
1580
1581
|
variantsCount: number;
|
|
1581
1582
|
hasSubComponents: boolean;
|
|
1582
|
-
tier: number;
|
|
1583
1583
|
}>;
|
|
1584
1584
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1585
1585
|
/**
|
|
@@ -1597,20 +1597,20 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1597
1597
|
tier: z.ZodNumber;
|
|
1598
1598
|
}, "strip", z.ZodTypeAny, {
|
|
1599
1599
|
description: string;
|
|
1600
|
-
name: string;
|
|
1601
1600
|
category: "core" | "complex" | "advanced";
|
|
1602
1601
|
id: string;
|
|
1602
|
+
name: string;
|
|
1603
|
+
tier: number;
|
|
1603
1604
|
variantsCount: number;
|
|
1604
1605
|
hasSubComponents: boolean;
|
|
1605
|
-
tier: number;
|
|
1606
1606
|
}, {
|
|
1607
1607
|
description: string;
|
|
1608
|
-
name: string;
|
|
1609
1608
|
category: "core" | "complex" | "advanced";
|
|
1610
1609
|
id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
tier: number;
|
|
1611
1612
|
variantsCount: number;
|
|
1612
1613
|
hasSubComponents: boolean;
|
|
1613
|
-
tier: number;
|
|
1614
1614
|
}>, "many">>;
|
|
1615
1615
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1616
1616
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1629,40 +1629,40 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1629
1629
|
error: z.ZodOptional<z.ZodString>;
|
|
1630
1630
|
}, "strip", z.ZodTypeAny, {
|
|
1631
1631
|
success: boolean;
|
|
1632
|
+
error?: string | undefined;
|
|
1632
1633
|
components?: {
|
|
1633
1634
|
description: string;
|
|
1634
|
-
name: string;
|
|
1635
1635
|
category: "core" | "complex" | "advanced";
|
|
1636
1636
|
id: string;
|
|
1637
|
+
name: string;
|
|
1638
|
+
tier: number;
|
|
1637
1639
|
variantsCount: number;
|
|
1638
1640
|
hasSubComponents: boolean;
|
|
1639
|
-
tier: number;
|
|
1640
1641
|
}[] | undefined;
|
|
1641
|
-
|
|
1642
|
+
count?: number | undefined;
|
|
1642
1643
|
categories?: {
|
|
1643
1644
|
core: number;
|
|
1644
1645
|
complex: number;
|
|
1645
1646
|
advanced: number;
|
|
1646
1647
|
} | undefined;
|
|
1647
|
-
count?: number | undefined;
|
|
1648
1648
|
}, {
|
|
1649
1649
|
success: boolean;
|
|
1650
|
+
error?: string | undefined;
|
|
1650
1651
|
components?: {
|
|
1651
1652
|
description: string;
|
|
1652
|
-
name: string;
|
|
1653
1653
|
category: "core" | "complex" | "advanced";
|
|
1654
1654
|
id: string;
|
|
1655
|
+
name: string;
|
|
1656
|
+
tier: number;
|
|
1655
1657
|
variantsCount: number;
|
|
1656
1658
|
hasSubComponents: boolean;
|
|
1657
|
-
tier: number;
|
|
1658
1659
|
}[] | undefined;
|
|
1659
|
-
|
|
1660
|
+
count?: number | undefined;
|
|
1660
1661
|
categories?: {
|
|
1661
1662
|
core: number;
|
|
1662
1663
|
complex: number;
|
|
1663
1664
|
advanced: number;
|
|
1664
1665
|
} | undefined;
|
|
1665
|
-
count?: number | undefined;
|
|
1666
1666
|
}>;
|
|
1667
1667
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1668
1668
|
/**
|
|
@@ -1693,14 +1693,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1693
1693
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1694
1694
|
description: z.ZodOptional<z.ZodString>;
|
|
1695
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
-
name: string;
|
|
1697
1696
|
type: string;
|
|
1697
|
+
name: string;
|
|
1698
1698
|
required: boolean;
|
|
1699
1699
|
description?: string | undefined;
|
|
1700
1700
|
defaultValue?: string | undefined;
|
|
1701
1701
|
}, {
|
|
1702
|
-
name: string;
|
|
1703
1702
|
type: string;
|
|
1703
|
+
name: string;
|
|
1704
1704
|
required: boolean;
|
|
1705
1705
|
description?: string | undefined;
|
|
1706
1706
|
defaultValue?: string | undefined;
|
|
@@ -1714,12 +1714,12 @@ export declare const VariantSchema: z.ZodObject<{
|
|
|
1714
1714
|
value: z.ZodString;
|
|
1715
1715
|
description: z.ZodOptional<z.ZodString>;
|
|
1716
1716
|
}, "strip", z.ZodTypeAny, {
|
|
1717
|
-
name: string;
|
|
1718
1717
|
value: string;
|
|
1718
|
+
name: string;
|
|
1719
1719
|
description?: string | undefined;
|
|
1720
1720
|
}, {
|
|
1721
|
-
name: string;
|
|
1722
1721
|
value: string;
|
|
1722
|
+
name: string;
|
|
1723
1723
|
description?: string | undefined;
|
|
1724
1724
|
}>;
|
|
1725
1725
|
export type Variant = z.infer<typeof VariantSchema>;
|
|
@@ -1731,12 +1731,12 @@ export declare const UsageExampleSchema: z.ZodObject<{
|
|
|
1731
1731
|
code: z.ZodString;
|
|
1732
1732
|
description: z.ZodOptional<z.ZodString>;
|
|
1733
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1734
|
-
title: string;
|
|
1735
1734
|
code: string;
|
|
1735
|
+
title: string;
|
|
1736
1736
|
description?: string | undefined;
|
|
1737
1737
|
}, {
|
|
1738
|
-
title: string;
|
|
1739
1738
|
code: string;
|
|
1739
|
+
title: string;
|
|
1740
1740
|
description?: string | undefined;
|
|
1741
1741
|
}>;
|
|
1742
1742
|
export type UsageExample = z.infer<typeof UsageExampleSchema>;
|
|
@@ -1758,14 +1758,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1758
1758
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1759
1759
|
description: z.ZodOptional<z.ZodString>;
|
|
1760
1760
|
}, "strip", z.ZodTypeAny, {
|
|
1761
|
-
name: string;
|
|
1762
1761
|
type: string;
|
|
1762
|
+
name: string;
|
|
1763
1763
|
required: boolean;
|
|
1764
1764
|
description?: string | undefined;
|
|
1765
1765
|
defaultValue?: string | undefined;
|
|
1766
1766
|
}, {
|
|
1767
|
-
name: string;
|
|
1768
1767
|
type: string;
|
|
1768
|
+
name: string;
|
|
1769
1769
|
required: boolean;
|
|
1770
1770
|
description?: string | undefined;
|
|
1771
1771
|
defaultValue?: string | undefined;
|
|
@@ -1775,12 +1775,12 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1775
1775
|
value: z.ZodString;
|
|
1776
1776
|
description: z.ZodOptional<z.ZodString>;
|
|
1777
1777
|
}, "strip", z.ZodTypeAny, {
|
|
1778
|
-
name: string;
|
|
1779
1778
|
value: string;
|
|
1779
|
+
name: string;
|
|
1780
1780
|
description?: string | undefined;
|
|
1781
1781
|
}, {
|
|
1782
|
-
name: string;
|
|
1783
1782
|
value: string;
|
|
1783
|
+
name: string;
|
|
1784
1784
|
description?: string | undefined;
|
|
1785
1785
|
}>, "many">>;
|
|
1786
1786
|
subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1800,72 +1800,72 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1800
1800
|
code: z.ZodString;
|
|
1801
1801
|
description: z.ZodOptional<z.ZodString>;
|
|
1802
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1803
|
-
title: string;
|
|
1804
1803
|
code: string;
|
|
1804
|
+
title: string;
|
|
1805
1805
|
description?: string | undefined;
|
|
1806
1806
|
}, {
|
|
1807
|
-
title: string;
|
|
1808
1807
|
code: string;
|
|
1808
|
+
title: string;
|
|
1809
1809
|
description?: string | undefined;
|
|
1810
1810
|
}>, "many">>;
|
|
1811
1811
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
1812
1812
|
}, "strip", z.ZodTypeAny, {
|
|
1813
|
-
description: string;
|
|
1814
|
-
name: string;
|
|
1815
|
-
category: "core" | "complex" | "advanced";
|
|
1816
|
-
id: string;
|
|
1817
|
-
importStatement: string;
|
|
1818
|
-
tier: number;
|
|
1819
1813
|
props: {
|
|
1820
|
-
name: string;
|
|
1821
1814
|
type: string;
|
|
1815
|
+
name: string;
|
|
1822
1816
|
required: boolean;
|
|
1823
1817
|
description?: string | undefined;
|
|
1824
1818
|
defaultValue?: string | undefined;
|
|
1825
1819
|
}[];
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1820
|
+
description: string;
|
|
1821
|
+
category: "core" | "complex" | "advanced";
|
|
1822
|
+
id: string;
|
|
1823
|
+
name: string;
|
|
1824
|
+
tier: number;
|
|
1825
|
+
importStatement: string;
|
|
1831
1826
|
dependencies?: {
|
|
1832
1827
|
external: string[];
|
|
1833
1828
|
internal: string[];
|
|
1834
1829
|
} | undefined;
|
|
1830
|
+
variants?: {
|
|
1831
|
+
value: string;
|
|
1832
|
+
name: string;
|
|
1833
|
+
description?: string | undefined;
|
|
1834
|
+
}[] | undefined;
|
|
1835
1835
|
subComponents?: string[] | undefined;
|
|
1836
1836
|
examples?: {
|
|
1837
|
-
title: string;
|
|
1838
1837
|
code: string;
|
|
1838
|
+
title: string;
|
|
1839
1839
|
description?: string | undefined;
|
|
1840
1840
|
}[] | undefined;
|
|
1841
1841
|
accessibility?: string | undefined;
|
|
1842
1842
|
}, {
|
|
1843
|
-
description: string;
|
|
1844
|
-
name: string;
|
|
1845
|
-
category: "core" | "complex" | "advanced";
|
|
1846
|
-
id: string;
|
|
1847
|
-
importStatement: string;
|
|
1848
|
-
tier: number;
|
|
1849
1843
|
props: {
|
|
1850
|
-
name: string;
|
|
1851
1844
|
type: string;
|
|
1845
|
+
name: string;
|
|
1852
1846
|
required: boolean;
|
|
1853
1847
|
description?: string | undefined;
|
|
1854
1848
|
defaultValue?: string | undefined;
|
|
1855
1849
|
}[];
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1850
|
+
description: string;
|
|
1851
|
+
category: "core" | "complex" | "advanced";
|
|
1852
|
+
id: string;
|
|
1853
|
+
name: string;
|
|
1854
|
+
tier: number;
|
|
1855
|
+
importStatement: string;
|
|
1861
1856
|
dependencies?: {
|
|
1862
1857
|
external: string[];
|
|
1863
1858
|
internal: string[];
|
|
1864
1859
|
} | undefined;
|
|
1860
|
+
variants?: {
|
|
1861
|
+
value: string;
|
|
1862
|
+
name: string;
|
|
1863
|
+
description?: string | undefined;
|
|
1864
|
+
}[] | undefined;
|
|
1865
1865
|
subComponents?: string[] | undefined;
|
|
1866
1866
|
examples?: {
|
|
1867
|
-
title: string;
|
|
1868
1867
|
code: string;
|
|
1868
|
+
title: string;
|
|
1869
1869
|
description?: string | undefined;
|
|
1870
1870
|
}[] | undefined;
|
|
1871
1871
|
accessibility?: string | undefined;
|
|
@@ -1875,32 +1875,32 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1875
1875
|
success: boolean;
|
|
1876
1876
|
error?: string | undefined;
|
|
1877
1877
|
component?: {
|
|
1878
|
-
description: string;
|
|
1879
|
-
name: string;
|
|
1880
|
-
category: "core" | "complex" | "advanced";
|
|
1881
|
-
id: string;
|
|
1882
|
-
importStatement: string;
|
|
1883
|
-
tier: number;
|
|
1884
1878
|
props: {
|
|
1885
|
-
name: string;
|
|
1886
1879
|
type: string;
|
|
1880
|
+
name: string;
|
|
1887
1881
|
required: boolean;
|
|
1888
1882
|
description?: string | undefined;
|
|
1889
1883
|
defaultValue?: string | undefined;
|
|
1890
1884
|
}[];
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1885
|
+
description: string;
|
|
1886
|
+
category: "core" | "complex" | "advanced";
|
|
1887
|
+
id: string;
|
|
1888
|
+
name: string;
|
|
1889
|
+
tier: number;
|
|
1890
|
+
importStatement: string;
|
|
1896
1891
|
dependencies?: {
|
|
1897
1892
|
external: string[];
|
|
1898
1893
|
internal: string[];
|
|
1899
1894
|
} | undefined;
|
|
1895
|
+
variants?: {
|
|
1896
|
+
value: string;
|
|
1897
|
+
name: string;
|
|
1898
|
+
description?: string | undefined;
|
|
1899
|
+
}[] | undefined;
|
|
1900
1900
|
subComponents?: string[] | undefined;
|
|
1901
1901
|
examples?: {
|
|
1902
|
-
title: string;
|
|
1903
1902
|
code: string;
|
|
1903
|
+
title: string;
|
|
1904
1904
|
description?: string | undefined;
|
|
1905
1905
|
}[] | undefined;
|
|
1906
1906
|
accessibility?: string | undefined;
|
|
@@ -1909,32 +1909,32 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1909
1909
|
success: boolean;
|
|
1910
1910
|
error?: string | undefined;
|
|
1911
1911
|
component?: {
|
|
1912
|
-
description: string;
|
|
1913
|
-
name: string;
|
|
1914
|
-
category: "core" | "complex" | "advanced";
|
|
1915
|
-
id: string;
|
|
1916
|
-
importStatement: string;
|
|
1917
|
-
tier: number;
|
|
1918
1912
|
props: {
|
|
1919
|
-
name: string;
|
|
1920
1913
|
type: string;
|
|
1914
|
+
name: string;
|
|
1921
1915
|
required: boolean;
|
|
1922
1916
|
description?: string | undefined;
|
|
1923
1917
|
defaultValue?: string | undefined;
|
|
1924
1918
|
}[];
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1919
|
+
description: string;
|
|
1920
|
+
category: "core" | "complex" | "advanced";
|
|
1921
|
+
id: string;
|
|
1922
|
+
name: string;
|
|
1923
|
+
tier: number;
|
|
1924
|
+
importStatement: string;
|
|
1930
1925
|
dependencies?: {
|
|
1931
1926
|
external: string[];
|
|
1932
1927
|
internal: string[];
|
|
1933
1928
|
} | undefined;
|
|
1929
|
+
variants?: {
|
|
1930
|
+
value: string;
|
|
1931
|
+
name: string;
|
|
1932
|
+
description?: string | undefined;
|
|
1933
|
+
}[] | undefined;
|
|
1934
1934
|
subComponents?: string[] | undefined;
|
|
1935
1935
|
examples?: {
|
|
1936
|
-
title: string;
|
|
1937
1936
|
code: string;
|
|
1937
|
+
title: string;
|
|
1938
1938
|
description?: string | undefined;
|
|
1939
1939
|
}[] | undefined;
|
|
1940
1940
|
accessibility?: string | undefined;
|
|
@@ -1954,11 +1954,11 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
1954
1954
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
1955
1955
|
search: z.ZodOptional<z.ZodString>;
|
|
1956
1956
|
}, "strip", z.ZodTypeAny, {
|
|
1957
|
-
category: "
|
|
1957
|
+
category: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback";
|
|
1958
1958
|
search?: string | undefined;
|
|
1959
1959
|
}, {
|
|
1960
|
-
category?: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback" | undefined;
|
|
1961
1960
|
search?: string | undefined;
|
|
1961
|
+
category?: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback" | undefined;
|
|
1962
1962
|
}>;
|
|
1963
1963
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
1964
1964
|
/**
|
|
@@ -1979,20 +1979,20 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1979
1979
|
version: z.ZodString;
|
|
1980
1980
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1981
1981
|
}, "strip", z.ZodTypeAny, {
|
|
1982
|
-
version: string;
|
|
1983
1982
|
description: string;
|
|
1984
|
-
|
|
1985
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1983
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1986
1984
|
id: string;
|
|
1985
|
+
name: string;
|
|
1986
|
+
version: string;
|
|
1987
1987
|
requiredComponentsCount: number;
|
|
1988
1988
|
layoutType: "centered" | "sidebar" | "full";
|
|
1989
1989
|
tags?: string[] | undefined;
|
|
1990
1990
|
}, {
|
|
1991
|
-
version: string;
|
|
1992
1991
|
description: string;
|
|
1993
|
-
|
|
1994
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1992
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1995
1993
|
id: string;
|
|
1994
|
+
name: string;
|
|
1995
|
+
version: string;
|
|
1996
1996
|
requiredComponentsCount: number;
|
|
1997
1997
|
layoutType: "centered" | "sidebar" | "full";
|
|
1998
1998
|
tags?: string[] | undefined;
|
|
@@ -2013,20 +2013,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2013
2013
|
version: z.ZodString;
|
|
2014
2014
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2015
2015
|
}, "strip", z.ZodTypeAny, {
|
|
2016
|
-
version: string;
|
|
2017
2016
|
description: string;
|
|
2018
|
-
|
|
2019
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2017
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2020
2018
|
id: string;
|
|
2019
|
+
name: string;
|
|
2020
|
+
version: string;
|
|
2021
2021
|
requiredComponentsCount: number;
|
|
2022
2022
|
layoutType: "centered" | "sidebar" | "full";
|
|
2023
2023
|
tags?: string[] | undefined;
|
|
2024
2024
|
}, {
|
|
2025
|
-
version: string;
|
|
2026
2025
|
description: string;
|
|
2027
|
-
|
|
2028
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2026
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2029
2027
|
id: string;
|
|
2028
|
+
name: string;
|
|
2029
|
+
version: string;
|
|
2030
2030
|
requiredComponentsCount: number;
|
|
2031
2031
|
layoutType: "centered" | "sidebar" | "full";
|
|
2032
2032
|
tags?: string[] | undefined;
|
|
@@ -2039,14 +2039,14 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2039
2039
|
marketing: z.ZodNumber;
|
|
2040
2040
|
feedback: z.ZodNumber;
|
|
2041
2041
|
}, "strip", z.ZodTypeAny, {
|
|
2042
|
-
dashboard: number;
|
|
2043
2042
|
auth: number;
|
|
2043
|
+
dashboard: number;
|
|
2044
2044
|
form: number;
|
|
2045
2045
|
marketing: number;
|
|
2046
2046
|
feedback: number;
|
|
2047
2047
|
}, {
|
|
2048
|
-
dashboard: number;
|
|
2049
2048
|
auth: number;
|
|
2049
|
+
dashboard: number;
|
|
2050
2050
|
form: number;
|
|
2051
2051
|
marketing: number;
|
|
2052
2052
|
feedback: number;
|
|
@@ -2055,20 +2055,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2055
2055
|
}, "strip", z.ZodTypeAny, {
|
|
2056
2056
|
success: boolean;
|
|
2057
2057
|
error?: string | undefined;
|
|
2058
|
+
count?: number | undefined;
|
|
2058
2059
|
categories?: {
|
|
2059
|
-
dashboard: number;
|
|
2060
2060
|
auth: number;
|
|
2061
|
+
dashboard: number;
|
|
2061
2062
|
form: number;
|
|
2062
2063
|
marketing: number;
|
|
2063
2064
|
feedback: number;
|
|
2064
2065
|
} | undefined;
|
|
2065
|
-
count?: number | undefined;
|
|
2066
2066
|
templates?: {
|
|
2067
|
-
version: string;
|
|
2068
2067
|
description: string;
|
|
2069
|
-
|
|
2070
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2068
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2071
2069
|
id: string;
|
|
2070
|
+
name: string;
|
|
2071
|
+
version: string;
|
|
2072
2072
|
requiredComponentsCount: number;
|
|
2073
2073
|
layoutType: "centered" | "sidebar" | "full";
|
|
2074
2074
|
tags?: string[] | undefined;
|
|
@@ -2076,20 +2076,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2076
2076
|
}, {
|
|
2077
2077
|
success: boolean;
|
|
2078
2078
|
error?: string | undefined;
|
|
2079
|
+
count?: number | undefined;
|
|
2079
2080
|
categories?: {
|
|
2080
|
-
dashboard: number;
|
|
2081
2081
|
auth: number;
|
|
2082
|
+
dashboard: number;
|
|
2082
2083
|
form: number;
|
|
2083
2084
|
marketing: number;
|
|
2084
2085
|
feedback: number;
|
|
2085
2086
|
} | undefined;
|
|
2086
|
-
count?: number | undefined;
|
|
2087
2087
|
templates?: {
|
|
2088
|
-
version: string;
|
|
2089
2088
|
description: string;
|
|
2090
|
-
|
|
2091
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2089
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2092
2090
|
id: string;
|
|
2091
|
+
name: string;
|
|
2092
|
+
version: string;
|
|
2093
2093
|
requiredComponentsCount: number;
|
|
2094
2094
|
layoutType: "centered" | "sidebar" | "full";
|
|
2095
2095
|
tags?: string[] | undefined;
|
|
@@ -2123,33 +2123,33 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2123
2123
|
slot: z.ZodString;
|
|
2124
2124
|
required: z.ZodBoolean;
|
|
2125
2125
|
}, "strip", z.ZodTypeAny, {
|
|
2126
|
+
slot: string;
|
|
2127
|
+
id: string;
|
|
2126
2128
|
name: string;
|
|
2127
2129
|
required: boolean;
|
|
2128
|
-
id: string;
|
|
2129
|
-
slot: string;
|
|
2130
2130
|
}, {
|
|
2131
|
+
slot: string;
|
|
2132
|
+
id: string;
|
|
2131
2133
|
name: string;
|
|
2132
2134
|
required: boolean;
|
|
2133
|
-
id: string;
|
|
2134
|
-
slot: string;
|
|
2135
2135
|
}>, "many">;
|
|
2136
2136
|
}, "strip", z.ZodTypeAny, {
|
|
2137
2137
|
shell: string;
|
|
2138
2138
|
page: string;
|
|
2139
2139
|
sections: {
|
|
2140
|
+
slot: string;
|
|
2141
|
+
id: string;
|
|
2140
2142
|
name: string;
|
|
2141
2143
|
required: boolean;
|
|
2142
|
-
id: string;
|
|
2143
|
-
slot: string;
|
|
2144
2144
|
}[];
|
|
2145
2145
|
}, {
|
|
2146
2146
|
shell: string;
|
|
2147
2147
|
page: string;
|
|
2148
2148
|
sections: {
|
|
2149
|
+
slot: string;
|
|
2150
|
+
id: string;
|
|
2149
2151
|
name: string;
|
|
2150
2152
|
required: boolean;
|
|
2151
|
-
id: string;
|
|
2152
|
-
slot: string;
|
|
2153
2153
|
}[];
|
|
2154
2154
|
}>;
|
|
2155
2155
|
export type Skeleton = z.infer<typeof SkeletonSchema>;
|
|
@@ -2161,12 +2161,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2161
2161
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2162
2162
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2163
2163
|
}, "strip", z.ZodTypeAny, {
|
|
2164
|
-
optional: string[];
|
|
2165
2164
|
texts: string[];
|
|
2165
|
+
optional: string[];
|
|
2166
2166
|
slots: string[];
|
|
2167
2167
|
}, {
|
|
2168
|
-
optional: string[];
|
|
2169
2168
|
texts: string[];
|
|
2169
|
+
optional: string[];
|
|
2170
2170
|
slots: string[];
|
|
2171
2171
|
}>;
|
|
2172
2172
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2267,33 +2267,33 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2267
2267
|
slot: z.ZodString;
|
|
2268
2268
|
required: z.ZodBoolean;
|
|
2269
2269
|
}, "strip", z.ZodTypeAny, {
|
|
2270
|
+
slot: string;
|
|
2271
|
+
id: string;
|
|
2270
2272
|
name: string;
|
|
2271
2273
|
required: boolean;
|
|
2272
|
-
id: string;
|
|
2273
|
-
slot: string;
|
|
2274
2274
|
}, {
|
|
2275
|
+
slot: string;
|
|
2276
|
+
id: string;
|
|
2275
2277
|
name: string;
|
|
2276
2278
|
required: boolean;
|
|
2277
|
-
id: string;
|
|
2278
|
-
slot: string;
|
|
2279
2279
|
}>, "many">;
|
|
2280
2280
|
}, "strip", z.ZodTypeAny, {
|
|
2281
2281
|
shell: string;
|
|
2282
2282
|
page: string;
|
|
2283
2283
|
sections: {
|
|
2284
|
+
slot: string;
|
|
2285
|
+
id: string;
|
|
2284
2286
|
name: string;
|
|
2285
2287
|
required: boolean;
|
|
2286
|
-
id: string;
|
|
2287
|
-
slot: string;
|
|
2288
2288
|
}[];
|
|
2289
2289
|
}, {
|
|
2290
2290
|
shell: string;
|
|
2291
2291
|
page: string;
|
|
2292
2292
|
sections: {
|
|
2293
|
+
slot: string;
|
|
2294
|
+
id: string;
|
|
2293
2295
|
name: string;
|
|
2294
2296
|
required: boolean;
|
|
2295
|
-
id: string;
|
|
2296
|
-
slot: string;
|
|
2297
2297
|
}[];
|
|
2298
2298
|
}>;
|
|
2299
2299
|
layout: z.ZodObject<{
|
|
@@ -2415,12 +2415,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2415
2415
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2416
2416
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2417
2417
|
}, "strip", z.ZodTypeAny, {
|
|
2418
|
-
optional: string[];
|
|
2419
2418
|
texts: string[];
|
|
2419
|
+
optional: string[];
|
|
2420
2420
|
slots: string[];
|
|
2421
2421
|
}, {
|
|
2422
|
-
optional: string[];
|
|
2423
2422
|
texts: string[];
|
|
2423
|
+
optional: string[];
|
|
2424
2424
|
slots: string[];
|
|
2425
2425
|
}>;
|
|
2426
2426
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2442,9 +2442,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2442
2442
|
updated: z.ZodString;
|
|
2443
2443
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2444
2444
|
}, "strip", z.ZodTypeAny, {
|
|
2445
|
-
version: string;
|
|
2446
2445
|
description: string;
|
|
2447
|
-
name: string;
|
|
2448
2446
|
layout: {
|
|
2449
2447
|
type: "centered" | "sidebar" | "full";
|
|
2450
2448
|
responsive?: {
|
|
@@ -2465,22 +2463,24 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2465
2463
|
};
|
|
2466
2464
|
} | undefined;
|
|
2467
2465
|
};
|
|
2468
|
-
category: "
|
|
2466
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2469
2467
|
id: string;
|
|
2468
|
+
name: string;
|
|
2469
|
+
version: string;
|
|
2470
2470
|
importStatement: string;
|
|
2471
2471
|
skeleton: {
|
|
2472
2472
|
shell: string;
|
|
2473
2473
|
page: string;
|
|
2474
2474
|
sections: {
|
|
2475
|
+
slot: string;
|
|
2476
|
+
id: string;
|
|
2475
2477
|
name: string;
|
|
2476
2478
|
required: boolean;
|
|
2477
|
-
id: string;
|
|
2478
|
-
slot: string;
|
|
2479
2479
|
}[];
|
|
2480
2480
|
};
|
|
2481
2481
|
customizable: {
|
|
2482
|
-
optional: string[];
|
|
2483
2482
|
texts: string[];
|
|
2483
|
+
optional: string[];
|
|
2484
2484
|
slots: string[];
|
|
2485
2485
|
};
|
|
2486
2486
|
requiredComponents: string[];
|
|
@@ -2493,9 +2493,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2493
2493
|
slots?: string[] | undefined;
|
|
2494
2494
|
} | undefined;
|
|
2495
2495
|
}, {
|
|
2496
|
-
version: string;
|
|
2497
2496
|
description: string;
|
|
2498
|
-
name: string;
|
|
2499
2497
|
layout: {
|
|
2500
2498
|
type: "centered" | "sidebar" | "full";
|
|
2501
2499
|
responsive?: {
|
|
@@ -2516,22 +2514,24 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2516
2514
|
};
|
|
2517
2515
|
} | undefined;
|
|
2518
2516
|
};
|
|
2519
|
-
category: "
|
|
2517
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2520
2518
|
id: string;
|
|
2519
|
+
name: string;
|
|
2520
|
+
version: string;
|
|
2521
2521
|
importStatement: string;
|
|
2522
2522
|
skeleton: {
|
|
2523
2523
|
shell: string;
|
|
2524
2524
|
page: string;
|
|
2525
2525
|
sections: {
|
|
2526
|
+
slot: string;
|
|
2527
|
+
id: string;
|
|
2526
2528
|
name: string;
|
|
2527
2529
|
required: boolean;
|
|
2528
|
-
id: string;
|
|
2529
|
-
slot: string;
|
|
2530
2530
|
}[];
|
|
2531
2531
|
};
|
|
2532
2532
|
customizable: {
|
|
2533
|
-
optional: string[];
|
|
2534
2533
|
texts: string[];
|
|
2534
|
+
optional: string[];
|
|
2535
2535
|
slots: string[];
|
|
2536
2536
|
};
|
|
2537
2537
|
requiredComponents: string[];
|
|
@@ -2549,9 +2549,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2549
2549
|
success: boolean;
|
|
2550
2550
|
error?: string | undefined;
|
|
2551
2551
|
template?: {
|
|
2552
|
-
version: string;
|
|
2553
2552
|
description: string;
|
|
2554
|
-
name: string;
|
|
2555
2553
|
layout: {
|
|
2556
2554
|
type: "centered" | "sidebar" | "full";
|
|
2557
2555
|
responsive?: {
|
|
@@ -2572,22 +2570,24 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2572
2570
|
};
|
|
2573
2571
|
} | undefined;
|
|
2574
2572
|
};
|
|
2575
|
-
category: "
|
|
2573
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2576
2574
|
id: string;
|
|
2575
|
+
name: string;
|
|
2576
|
+
version: string;
|
|
2577
2577
|
importStatement: string;
|
|
2578
2578
|
skeleton: {
|
|
2579
2579
|
shell: string;
|
|
2580
2580
|
page: string;
|
|
2581
2581
|
sections: {
|
|
2582
|
+
slot: string;
|
|
2583
|
+
id: string;
|
|
2582
2584
|
name: string;
|
|
2583
2585
|
required: boolean;
|
|
2584
|
-
id: string;
|
|
2585
|
-
slot: string;
|
|
2586
2586
|
}[];
|
|
2587
2587
|
};
|
|
2588
2588
|
customizable: {
|
|
2589
|
-
optional: string[];
|
|
2590
2589
|
texts: string[];
|
|
2590
|
+
optional: string[];
|
|
2591
2591
|
slots: string[];
|
|
2592
2592
|
};
|
|
2593
2593
|
requiredComponents: string[];
|
|
@@ -2604,9 +2604,7 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2604
2604
|
success: boolean;
|
|
2605
2605
|
error?: string | undefined;
|
|
2606
2606
|
template?: {
|
|
2607
|
-
version: string;
|
|
2608
2607
|
description: string;
|
|
2609
|
-
name: string;
|
|
2610
2608
|
layout: {
|
|
2611
2609
|
type: "centered" | "sidebar" | "full";
|
|
2612
2610
|
responsive?: {
|
|
@@ -2627,22 +2625,24 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2627
2625
|
};
|
|
2628
2626
|
} | undefined;
|
|
2629
2627
|
};
|
|
2630
|
-
category: "
|
|
2628
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2631
2629
|
id: string;
|
|
2630
|
+
name: string;
|
|
2631
|
+
version: string;
|
|
2632
2632
|
importStatement: string;
|
|
2633
2633
|
skeleton: {
|
|
2634
2634
|
shell: string;
|
|
2635
2635
|
page: string;
|
|
2636
2636
|
sections: {
|
|
2637
|
+
slot: string;
|
|
2638
|
+
id: string;
|
|
2637
2639
|
name: string;
|
|
2638
2640
|
required: boolean;
|
|
2639
|
-
id: string;
|
|
2640
|
-
slot: string;
|
|
2641
2641
|
}[];
|
|
2642
2642
|
};
|
|
2643
2643
|
customizable: {
|
|
2644
|
-
optional: string[];
|
|
2645
2644
|
texts: string[];
|
|
2645
|
+
optional: string[];
|
|
2646
2646
|
slots: string[];
|
|
2647
2647
|
};
|
|
2648
2648
|
requiredComponents: string[];
|
|
@@ -2693,67 +2693,67 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2693
2693
|
slot: z.ZodString;
|
|
2694
2694
|
required: z.ZodBoolean;
|
|
2695
2695
|
}, "strip", z.ZodTypeAny, {
|
|
2696
|
+
slot: string;
|
|
2697
|
+
id: string;
|
|
2696
2698
|
name: string;
|
|
2697
2699
|
required: boolean;
|
|
2698
|
-
id: string;
|
|
2699
|
-
slot: string;
|
|
2700
2700
|
}, {
|
|
2701
|
+
slot: string;
|
|
2702
|
+
id: string;
|
|
2701
2703
|
name: string;
|
|
2702
2704
|
required: boolean;
|
|
2703
|
-
id: string;
|
|
2704
|
-
slot: string;
|
|
2705
2705
|
}>, "many">;
|
|
2706
2706
|
}, "strip", z.ZodTypeAny, {
|
|
2707
2707
|
shell: string;
|
|
2708
2708
|
page: string;
|
|
2709
2709
|
sections: {
|
|
2710
|
+
slot: string;
|
|
2711
|
+
id: string;
|
|
2710
2712
|
name: string;
|
|
2711
2713
|
required: boolean;
|
|
2712
|
-
id: string;
|
|
2713
|
-
slot: string;
|
|
2714
2714
|
}[];
|
|
2715
2715
|
}, {
|
|
2716
2716
|
shell: string;
|
|
2717
2717
|
page: string;
|
|
2718
2718
|
sections: {
|
|
2719
|
+
slot: string;
|
|
2720
|
+
id: string;
|
|
2719
2721
|
name: string;
|
|
2720
2722
|
required: boolean;
|
|
2721
|
-
id: string;
|
|
2722
|
-
slot: string;
|
|
2723
2723
|
}[];
|
|
2724
2724
|
}>>;
|
|
2725
2725
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2726
2726
|
}, "strip", z.ZodTypeAny, {
|
|
2727
|
-
category: string;
|
|
2728
2727
|
templateId: string;
|
|
2729
2728
|
templateName: string;
|
|
2729
|
+
category: string;
|
|
2730
2730
|
confidence: number;
|
|
2731
2731
|
matchedKeywords: string[];
|
|
2732
2732
|
skeleton?: {
|
|
2733
2733
|
shell: string;
|
|
2734
2734
|
page: string;
|
|
2735
2735
|
sections: {
|
|
2736
|
+
slot: string;
|
|
2737
|
+
id: string;
|
|
2736
2738
|
name: string;
|
|
2737
2739
|
required: boolean;
|
|
2738
|
-
id: string;
|
|
2739
|
-
slot: string;
|
|
2740
2740
|
}[];
|
|
2741
2741
|
} | undefined;
|
|
2742
2742
|
requiredComponents?: string[] | undefined;
|
|
2743
2743
|
}, {
|
|
2744
|
-
category: string;
|
|
2745
2744
|
templateId: string;
|
|
2746
2745
|
templateName: string;
|
|
2746
|
+
category: string;
|
|
2747
2747
|
confidence: number;
|
|
2748
2748
|
matchedKeywords: string[];
|
|
2749
2749
|
skeleton?: {
|
|
2750
2750
|
shell: string;
|
|
2751
2751
|
page: string;
|
|
2752
2752
|
sections: {
|
|
2753
|
+
slot: string;
|
|
2754
|
+
id: string;
|
|
2753
2755
|
name: string;
|
|
2754
2756
|
required: boolean;
|
|
2755
|
-
id: string;
|
|
2756
|
-
slot: string;
|
|
2757
2757
|
}[];
|
|
2758
2758
|
} | undefined;
|
|
2759
2759
|
requiredComponents?: string[] | undefined;
|
|
@@ -2775,14 +2775,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2775
2775
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2776
2776
|
description: z.ZodOptional<z.ZodString>;
|
|
2777
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2778
|
-
name: string;
|
|
2779
2778
|
type: string;
|
|
2779
|
+
name: string;
|
|
2780
2780
|
required: boolean;
|
|
2781
2781
|
description?: string | undefined;
|
|
2782
2782
|
defaultValue?: string | undefined;
|
|
2783
2783
|
}, {
|
|
2784
|
-
name: string;
|
|
2785
2784
|
type: string;
|
|
2785
|
+
name: string;
|
|
2786
2786
|
required: boolean;
|
|
2787
2787
|
description?: string | undefined;
|
|
2788
2788
|
defaultValue?: string | undefined;
|
|
@@ -2792,48 +2792,48 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2792
2792
|
value: z.ZodString;
|
|
2793
2793
|
description: z.ZodOptional<z.ZodString>;
|
|
2794
2794
|
}, "strip", z.ZodTypeAny, {
|
|
2795
|
-
name: string;
|
|
2796
2795
|
value: string;
|
|
2796
|
+
name: string;
|
|
2797
2797
|
description?: string | undefined;
|
|
2798
2798
|
}, {
|
|
2799
|
-
name: string;
|
|
2800
2799
|
value: string;
|
|
2800
|
+
name: string;
|
|
2801
2801
|
description?: string | undefined;
|
|
2802
2802
|
}>, "many">>;
|
|
2803
2803
|
}, "strip", z.ZodTypeAny, {
|
|
2804
|
-
description: string;
|
|
2805
|
-
name: string;
|
|
2806
|
-
category: "core" | "complex" | "advanced";
|
|
2807
|
-
id: string;
|
|
2808
|
-
importStatement: string;
|
|
2809
2804
|
props: {
|
|
2810
|
-
name: string;
|
|
2811
2805
|
type: string;
|
|
2806
|
+
name: string;
|
|
2812
2807
|
required: boolean;
|
|
2813
2808
|
description?: string | undefined;
|
|
2814
2809
|
defaultValue?: string | undefined;
|
|
2815
2810
|
}[];
|
|
2811
|
+
description: string;
|
|
2812
|
+
category: "core" | "complex" | "advanced";
|
|
2813
|
+
id: string;
|
|
2814
|
+
name: string;
|
|
2815
|
+
importStatement: string;
|
|
2816
2816
|
variants?: {
|
|
2817
|
-
name: string;
|
|
2818
2817
|
value: string;
|
|
2818
|
+
name: string;
|
|
2819
2819
|
description?: string | undefined;
|
|
2820
2820
|
}[] | undefined;
|
|
2821
2821
|
}, {
|
|
2822
|
-
description: string;
|
|
2823
|
-
name: string;
|
|
2824
|
-
category: "core" | "complex" | "advanced";
|
|
2825
|
-
id: string;
|
|
2826
|
-
importStatement: string;
|
|
2827
2822
|
props: {
|
|
2828
|
-
name: string;
|
|
2829
2823
|
type: string;
|
|
2824
|
+
name: string;
|
|
2830
2825
|
required: boolean;
|
|
2831
2826
|
description?: string | undefined;
|
|
2832
2827
|
defaultValue?: string | undefined;
|
|
2833
2828
|
}[];
|
|
2829
|
+
description: string;
|
|
2830
|
+
category: "core" | "complex" | "advanced";
|
|
2831
|
+
id: string;
|
|
2832
|
+
name: string;
|
|
2833
|
+
importStatement: string;
|
|
2834
2834
|
variants?: {
|
|
2835
|
-
name: string;
|
|
2836
2835
|
value: string;
|
|
2836
|
+
name: string;
|
|
2837
2837
|
description?: string | undefined;
|
|
2838
2838
|
}[] | undefined;
|
|
2839
2839
|
}>;
|
|
@@ -2866,22 +2866,22 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2866
2866
|
children?: string | unknown[] | undefined;
|
|
2867
2867
|
}>, "many">;
|
|
2868
2868
|
}, "strip", z.ZodTypeAny, {
|
|
2869
|
-
pattern: string;
|
|
2870
2869
|
id: string;
|
|
2871
2870
|
components: {
|
|
2872
2871
|
type: string;
|
|
2873
2872
|
props?: Record<string, unknown> | undefined;
|
|
2874
2873
|
children?: string | unknown[] | undefined;
|
|
2875
2874
|
}[];
|
|
2875
|
+
pattern: string;
|
|
2876
2876
|
slot?: string | undefined;
|
|
2877
2877
|
}, {
|
|
2878
|
-
pattern: string;
|
|
2879
2878
|
id: string;
|
|
2880
2879
|
components: {
|
|
2881
2880
|
type: string;
|
|
2882
2881
|
props?: Record<string, unknown> | undefined;
|
|
2883
2882
|
children?: string | unknown[] | undefined;
|
|
2884
2883
|
}[];
|
|
2884
|
+
pattern: string;
|
|
2885
2885
|
slot?: string | undefined;
|
|
2886
2886
|
}>, "many">;
|
|
2887
2887
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2905,18 +2905,18 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2905
2905
|
page: string;
|
|
2906
2906
|
id: string;
|
|
2907
2907
|
sections: {
|
|
2908
|
-
pattern: string;
|
|
2909
2908
|
id: string;
|
|
2910
2909
|
components: {
|
|
2911
2910
|
type: string;
|
|
2912
2911
|
props?: Record<string, unknown> | undefined;
|
|
2913
2912
|
children?: string | unknown[] | undefined;
|
|
2914
2913
|
}[];
|
|
2914
|
+
pattern: string;
|
|
2915
2915
|
slot?: string | undefined;
|
|
2916
2916
|
}[];
|
|
2917
2917
|
description?: string | undefined;
|
|
2918
|
-
name?: string | undefined;
|
|
2919
2918
|
themeId?: string | undefined;
|
|
2919
|
+
name?: string | undefined;
|
|
2920
2920
|
metadata?: {
|
|
2921
2921
|
version?: string | undefined;
|
|
2922
2922
|
created?: string | undefined;
|
|
@@ -2928,18 +2928,18 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2928
2928
|
page: string;
|
|
2929
2929
|
id: string;
|
|
2930
2930
|
sections: {
|
|
2931
|
-
pattern: string;
|
|
2932
2931
|
id: string;
|
|
2933
2932
|
components: {
|
|
2934
2933
|
type: string;
|
|
2935
2934
|
props?: Record<string, unknown> | undefined;
|
|
2936
2935
|
children?: string | unknown[] | undefined;
|
|
2937
2936
|
}[];
|
|
2937
|
+
pattern: string;
|
|
2938
2938
|
slot?: string | undefined;
|
|
2939
2939
|
}[];
|
|
2940
2940
|
description?: string | undefined;
|
|
2941
|
-
name?: string | undefined;
|
|
2942
2941
|
themeId?: string | undefined;
|
|
2942
|
+
name?: string | undefined;
|
|
2943
2943
|
metadata?: {
|
|
2944
2944
|
version?: string | undefined;
|
|
2945
2945
|
created?: string | undefined;
|
|
@@ -2979,22 +2979,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2979
2979
|
children?: string | unknown[] | undefined;
|
|
2980
2980
|
}>, "many">;
|
|
2981
2981
|
}, "strip", z.ZodTypeAny, {
|
|
2982
|
-
pattern: string;
|
|
2983
2982
|
id: string;
|
|
2984
2983
|
components: {
|
|
2985
2984
|
type: string;
|
|
2986
2985
|
props?: Record<string, unknown> | undefined;
|
|
2987
2986
|
children?: string | unknown[] | undefined;
|
|
2988
2987
|
}[];
|
|
2988
|
+
pattern: string;
|
|
2989
2989
|
slot?: string | undefined;
|
|
2990
2990
|
}, {
|
|
2991
|
-
pattern: string;
|
|
2992
2991
|
id: string;
|
|
2993
2992
|
components: {
|
|
2994
2993
|
type: string;
|
|
2995
2994
|
props?: Record<string, unknown> | undefined;
|
|
2996
2995
|
children?: string | unknown[] | undefined;
|
|
2997
2996
|
}[];
|
|
2997
|
+
pattern: string;
|
|
2998
2998
|
slot?: string | undefined;
|
|
2999
2999
|
}>, "many">;
|
|
3000
3000
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3018,18 +3018,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3018
3018
|
page: string;
|
|
3019
3019
|
id: string;
|
|
3020
3020
|
sections: {
|
|
3021
|
-
pattern: string;
|
|
3022
3021
|
id: string;
|
|
3023
3022
|
components: {
|
|
3024
3023
|
type: string;
|
|
3025
3024
|
props?: Record<string, unknown> | undefined;
|
|
3026
3025
|
children?: string | unknown[] | undefined;
|
|
3027
3026
|
}[];
|
|
3027
|
+
pattern: string;
|
|
3028
3028
|
slot?: string | undefined;
|
|
3029
3029
|
}[];
|
|
3030
3030
|
description?: string | undefined;
|
|
3031
|
-
name?: string | undefined;
|
|
3032
3031
|
themeId?: string | undefined;
|
|
3032
|
+
name?: string | undefined;
|
|
3033
3033
|
metadata?: {
|
|
3034
3034
|
version?: string | undefined;
|
|
3035
3035
|
created?: string | undefined;
|
|
@@ -3041,18 +3041,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3041
3041
|
page: string;
|
|
3042
3042
|
id: string;
|
|
3043
3043
|
sections: {
|
|
3044
|
-
pattern: string;
|
|
3045
3044
|
id: string;
|
|
3046
3045
|
components: {
|
|
3047
3046
|
type: string;
|
|
3048
3047
|
props?: Record<string, unknown> | undefined;
|
|
3049
3048
|
children?: string | unknown[] | undefined;
|
|
3050
3049
|
}[];
|
|
3050
|
+
pattern: string;
|
|
3051
3051
|
slot?: string | undefined;
|
|
3052
3052
|
}[];
|
|
3053
3053
|
description?: string | undefined;
|
|
3054
|
-
name?: string | undefined;
|
|
3055
3054
|
themeId?: string | undefined;
|
|
3055
|
+
name?: string | undefined;
|
|
3056
3056
|
metadata?: {
|
|
3057
3057
|
version?: string | undefined;
|
|
3058
3058
|
created?: string | undefined;
|
|
@@ -3068,18 +3068,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3068
3068
|
page: string;
|
|
3069
3069
|
id: string;
|
|
3070
3070
|
sections: {
|
|
3071
|
-
pattern: string;
|
|
3072
3071
|
id: string;
|
|
3073
3072
|
components: {
|
|
3074
3073
|
type: string;
|
|
3075
3074
|
props?: Record<string, unknown> | undefined;
|
|
3076
3075
|
children?: string | unknown[] | undefined;
|
|
3077
3076
|
}[];
|
|
3077
|
+
pattern: string;
|
|
3078
3078
|
slot?: string | undefined;
|
|
3079
3079
|
}[];
|
|
3080
3080
|
description?: string | undefined;
|
|
3081
|
-
name?: string | undefined;
|
|
3082
3081
|
themeId?: string | undefined;
|
|
3082
|
+
name?: string | undefined;
|
|
3083
3083
|
metadata?: {
|
|
3084
3084
|
version?: string | undefined;
|
|
3085
3085
|
created?: string | undefined;
|
|
@@ -3095,18 +3095,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3095
3095
|
page: string;
|
|
3096
3096
|
id: string;
|
|
3097
3097
|
sections: {
|
|
3098
|
-
pattern: string;
|
|
3099
3098
|
id: string;
|
|
3100
3099
|
components: {
|
|
3101
3100
|
type: string;
|
|
3102
3101
|
props?: Record<string, unknown> | undefined;
|
|
3103
3102
|
children?: string | unknown[] | undefined;
|
|
3104
3103
|
}[];
|
|
3104
|
+
pattern: string;
|
|
3105
3105
|
slot?: string | undefined;
|
|
3106
3106
|
}[];
|
|
3107
3107
|
description?: string | undefined;
|
|
3108
|
-
name?: string | undefined;
|
|
3109
3108
|
themeId?: string | undefined;
|
|
3109
|
+
name?: string | undefined;
|
|
3110
3110
|
metadata?: {
|
|
3111
3111
|
version?: string | undefined;
|
|
3112
3112
|
created?: string | undefined;
|
|
@@ -3142,14 +3142,14 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3142
3142
|
message: z.ZodString;
|
|
3143
3143
|
example: z.ZodOptional<z.ZodString>;
|
|
3144
3144
|
}, "strip", z.ZodTypeAny, {
|
|
3145
|
-
priority: "high" | "medium" | "low";
|
|
3146
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3147
3145
|
message: string;
|
|
3146
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3147
|
+
priority: "high" | "medium" | "low";
|
|
3148
3148
|
example?: string | undefined;
|
|
3149
3149
|
}, {
|
|
3150
|
-
priority: "high" | "medium" | "low";
|
|
3151
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3152
3150
|
message: string;
|
|
3151
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3152
|
+
priority: "high" | "medium" | "low";
|
|
3153
3153
|
example?: string | undefined;
|
|
3154
3154
|
}>;
|
|
3155
3155
|
export type GenerationHint = z.infer<typeof GenerationHintSchema>;
|
|
@@ -3248,67 +3248,67 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3248
3248
|
slot: z.ZodString;
|
|
3249
3249
|
required: z.ZodBoolean;
|
|
3250
3250
|
}, "strip", z.ZodTypeAny, {
|
|
3251
|
+
slot: string;
|
|
3252
|
+
id: string;
|
|
3251
3253
|
name: string;
|
|
3252
3254
|
required: boolean;
|
|
3253
|
-
id: string;
|
|
3254
|
-
slot: string;
|
|
3255
3255
|
}, {
|
|
3256
|
+
slot: string;
|
|
3257
|
+
id: string;
|
|
3256
3258
|
name: string;
|
|
3257
3259
|
required: boolean;
|
|
3258
|
-
id: string;
|
|
3259
|
-
slot: string;
|
|
3260
3260
|
}>, "many">;
|
|
3261
3261
|
}, "strip", z.ZodTypeAny, {
|
|
3262
3262
|
shell: string;
|
|
3263
3263
|
page: string;
|
|
3264
3264
|
sections: {
|
|
3265
|
+
slot: string;
|
|
3266
|
+
id: string;
|
|
3265
3267
|
name: string;
|
|
3266
3268
|
required: boolean;
|
|
3267
|
-
id: string;
|
|
3268
|
-
slot: string;
|
|
3269
3269
|
}[];
|
|
3270
3270
|
}, {
|
|
3271
3271
|
shell: string;
|
|
3272
3272
|
page: string;
|
|
3273
3273
|
sections: {
|
|
3274
|
+
slot: string;
|
|
3275
|
+
id: string;
|
|
3274
3276
|
name: string;
|
|
3275
3277
|
required: boolean;
|
|
3276
|
-
id: string;
|
|
3277
|
-
slot: string;
|
|
3278
3278
|
}[];
|
|
3279
3279
|
}>>;
|
|
3280
3280
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3281
3281
|
}, "strip", z.ZodTypeAny, {
|
|
3282
|
-
category: string;
|
|
3283
3282
|
templateId: string;
|
|
3284
3283
|
templateName: string;
|
|
3284
|
+
category: string;
|
|
3285
3285
|
confidence: number;
|
|
3286
3286
|
matchedKeywords: string[];
|
|
3287
3287
|
skeleton?: {
|
|
3288
3288
|
shell: string;
|
|
3289
3289
|
page: string;
|
|
3290
3290
|
sections: {
|
|
3291
|
+
slot: string;
|
|
3292
|
+
id: string;
|
|
3291
3293
|
name: string;
|
|
3292
3294
|
required: boolean;
|
|
3293
|
-
id: string;
|
|
3294
|
-
slot: string;
|
|
3295
3295
|
}[];
|
|
3296
3296
|
} | undefined;
|
|
3297
3297
|
requiredComponents?: string[] | undefined;
|
|
3298
3298
|
}, {
|
|
3299
|
-
category: string;
|
|
3300
3299
|
templateId: string;
|
|
3301
3300
|
templateName: string;
|
|
3301
|
+
category: string;
|
|
3302
3302
|
confidence: number;
|
|
3303
3303
|
matchedKeywords: string[];
|
|
3304
3304
|
skeleton?: {
|
|
3305
3305
|
shell: string;
|
|
3306
3306
|
page: string;
|
|
3307
3307
|
sections: {
|
|
3308
|
+
slot: string;
|
|
3309
|
+
id: string;
|
|
3308
3310
|
name: string;
|
|
3309
3311
|
required: boolean;
|
|
3310
|
-
id: string;
|
|
3311
|
-
slot: string;
|
|
3312
3312
|
}[];
|
|
3313
3313
|
} | undefined;
|
|
3314
3314
|
requiredComponents?: string[] | undefined;
|
|
@@ -3326,14 +3326,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3326
3326
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3327
3327
|
description: z.ZodOptional<z.ZodString>;
|
|
3328
3328
|
}, "strip", z.ZodTypeAny, {
|
|
3329
|
-
name: string;
|
|
3330
3329
|
type: string;
|
|
3330
|
+
name: string;
|
|
3331
3331
|
required: boolean;
|
|
3332
3332
|
description?: string | undefined;
|
|
3333
3333
|
defaultValue?: string | undefined;
|
|
3334
3334
|
}, {
|
|
3335
|
-
name: string;
|
|
3336
3335
|
type: string;
|
|
3336
|
+
name: string;
|
|
3337
3337
|
required: boolean;
|
|
3338
3338
|
description?: string | undefined;
|
|
3339
3339
|
defaultValue?: string | undefined;
|
|
@@ -3343,48 +3343,48 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3343
3343
|
value: z.ZodString;
|
|
3344
3344
|
description: z.ZodOptional<z.ZodString>;
|
|
3345
3345
|
}, "strip", z.ZodTypeAny, {
|
|
3346
|
-
name: string;
|
|
3347
3346
|
value: string;
|
|
3347
|
+
name: string;
|
|
3348
3348
|
description?: string | undefined;
|
|
3349
3349
|
}, {
|
|
3350
|
-
name: string;
|
|
3351
3350
|
value: string;
|
|
3351
|
+
name: string;
|
|
3352
3352
|
description?: string | undefined;
|
|
3353
3353
|
}>, "many">>;
|
|
3354
3354
|
}, "strip", z.ZodTypeAny, {
|
|
3355
|
-
description: string;
|
|
3356
|
-
name: string;
|
|
3357
|
-
category: "core" | "complex" | "advanced";
|
|
3358
|
-
id: string;
|
|
3359
|
-
importStatement: string;
|
|
3360
3355
|
props: {
|
|
3361
|
-
name: string;
|
|
3362
3356
|
type: string;
|
|
3357
|
+
name: string;
|
|
3363
3358
|
required: boolean;
|
|
3364
3359
|
description?: string | undefined;
|
|
3365
3360
|
defaultValue?: string | undefined;
|
|
3366
3361
|
}[];
|
|
3362
|
+
description: string;
|
|
3363
|
+
category: "core" | "complex" | "advanced";
|
|
3364
|
+
id: string;
|
|
3365
|
+
name: string;
|
|
3366
|
+
importStatement: string;
|
|
3367
3367
|
variants?: {
|
|
3368
|
-
name: string;
|
|
3369
3368
|
value: string;
|
|
3369
|
+
name: string;
|
|
3370
3370
|
description?: string | undefined;
|
|
3371
3371
|
}[] | undefined;
|
|
3372
3372
|
}, {
|
|
3373
|
-
description: string;
|
|
3374
|
-
name: string;
|
|
3375
|
-
category: "core" | "complex" | "advanced";
|
|
3376
|
-
id: string;
|
|
3377
|
-
importStatement: string;
|
|
3378
3373
|
props: {
|
|
3379
|
-
name: string;
|
|
3380
3374
|
type: string;
|
|
3375
|
+
name: string;
|
|
3381
3376
|
required: boolean;
|
|
3382
3377
|
description?: string | undefined;
|
|
3383
3378
|
defaultValue?: string | undefined;
|
|
3384
3379
|
}[];
|
|
3380
|
+
description: string;
|
|
3381
|
+
category: "core" | "complex" | "advanced";
|
|
3382
|
+
id: string;
|
|
3383
|
+
name: string;
|
|
3384
|
+
importStatement: string;
|
|
3385
3385
|
variants?: {
|
|
3386
|
-
name: string;
|
|
3387
3386
|
value: string;
|
|
3387
|
+
name: string;
|
|
3388
3388
|
description?: string | undefined;
|
|
3389
3389
|
}[] | undefined;
|
|
3390
3390
|
}>, "many">>;
|
|
@@ -3426,22 +3426,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3426
3426
|
children?: string | unknown[] | undefined;
|
|
3427
3427
|
}>, "many">;
|
|
3428
3428
|
}, "strip", z.ZodTypeAny, {
|
|
3429
|
-
pattern: string;
|
|
3430
3429
|
id: string;
|
|
3431
3430
|
components: {
|
|
3432
3431
|
type: string;
|
|
3433
3432
|
props?: Record<string, unknown> | undefined;
|
|
3434
3433
|
children?: string | unknown[] | undefined;
|
|
3435
3434
|
}[];
|
|
3435
|
+
pattern: string;
|
|
3436
3436
|
slot?: string | undefined;
|
|
3437
3437
|
}, {
|
|
3438
|
-
pattern: string;
|
|
3439
3438
|
id: string;
|
|
3440
3439
|
components: {
|
|
3441
3440
|
type: string;
|
|
3442
3441
|
props?: Record<string, unknown> | undefined;
|
|
3443
3442
|
children?: string | unknown[] | undefined;
|
|
3444
3443
|
}[];
|
|
3444
|
+
pattern: string;
|
|
3445
3445
|
slot?: string | undefined;
|
|
3446
3446
|
}>, "many">;
|
|
3447
3447
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3465,18 +3465,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3465
3465
|
page: string;
|
|
3466
3466
|
id: string;
|
|
3467
3467
|
sections: {
|
|
3468
|
-
pattern: string;
|
|
3469
3468
|
id: string;
|
|
3470
3469
|
components: {
|
|
3471
3470
|
type: string;
|
|
3472
3471
|
props?: Record<string, unknown> | undefined;
|
|
3473
3472
|
children?: string | unknown[] | undefined;
|
|
3474
3473
|
}[];
|
|
3474
|
+
pattern: string;
|
|
3475
3475
|
slot?: string | undefined;
|
|
3476
3476
|
}[];
|
|
3477
3477
|
description?: string | undefined;
|
|
3478
|
-
name?: string | undefined;
|
|
3479
3478
|
themeId?: string | undefined;
|
|
3479
|
+
name?: string | undefined;
|
|
3480
3480
|
metadata?: {
|
|
3481
3481
|
version?: string | undefined;
|
|
3482
3482
|
created?: string | undefined;
|
|
@@ -3488,18 +3488,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3488
3488
|
page: string;
|
|
3489
3489
|
id: string;
|
|
3490
3490
|
sections: {
|
|
3491
|
-
pattern: string;
|
|
3492
3491
|
id: string;
|
|
3493
3492
|
components: {
|
|
3494
3493
|
type: string;
|
|
3495
3494
|
props?: Record<string, unknown> | undefined;
|
|
3496
3495
|
children?: string | unknown[] | undefined;
|
|
3497
3496
|
}[];
|
|
3497
|
+
pattern: string;
|
|
3498
3498
|
slot?: string | undefined;
|
|
3499
3499
|
}[];
|
|
3500
3500
|
description?: string | undefined;
|
|
3501
|
-
name?: string | undefined;
|
|
3502
3501
|
themeId?: string | undefined;
|
|
3502
|
+
name?: string | undefined;
|
|
3503
3503
|
metadata?: {
|
|
3504
3504
|
version?: string | undefined;
|
|
3505
3505
|
created?: string | undefined;
|
|
@@ -3515,18 +3515,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3515
3515
|
page: string;
|
|
3516
3516
|
id: string;
|
|
3517
3517
|
sections: {
|
|
3518
|
-
pattern: string;
|
|
3519
3518
|
id: string;
|
|
3520
3519
|
components: {
|
|
3521
3520
|
type: string;
|
|
3522
3521
|
props?: Record<string, unknown> | undefined;
|
|
3523
3522
|
children?: string | unknown[] | undefined;
|
|
3524
3523
|
}[];
|
|
3524
|
+
pattern: string;
|
|
3525
3525
|
slot?: string | undefined;
|
|
3526
3526
|
}[];
|
|
3527
3527
|
description?: string | undefined;
|
|
3528
|
-
name?: string | undefined;
|
|
3529
3528
|
themeId?: string | undefined;
|
|
3529
|
+
name?: string | undefined;
|
|
3530
3530
|
metadata?: {
|
|
3531
3531
|
version?: string | undefined;
|
|
3532
3532
|
created?: string | undefined;
|
|
@@ -3542,18 +3542,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3542
3542
|
page: string;
|
|
3543
3543
|
id: string;
|
|
3544
3544
|
sections: {
|
|
3545
|
-
pattern: string;
|
|
3546
3545
|
id: string;
|
|
3547
3546
|
components: {
|
|
3548
3547
|
type: string;
|
|
3549
3548
|
props?: Record<string, unknown> | undefined;
|
|
3550
3549
|
children?: string | unknown[] | undefined;
|
|
3551
3550
|
}[];
|
|
3551
|
+
pattern: string;
|
|
3552
3552
|
slot?: string | undefined;
|
|
3553
3553
|
}[];
|
|
3554
3554
|
description?: string | undefined;
|
|
3555
|
-
name?: string | undefined;
|
|
3556
3555
|
themeId?: string | undefined;
|
|
3556
|
+
name?: string | undefined;
|
|
3557
3557
|
metadata?: {
|
|
3558
3558
|
version?: string | undefined;
|
|
3559
3559
|
created?: string | undefined;
|
|
@@ -3581,14 +3581,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3581
3581
|
message: z.ZodString;
|
|
3582
3582
|
example: z.ZodOptional<z.ZodString>;
|
|
3583
3583
|
}, "strip", z.ZodTypeAny, {
|
|
3584
|
-
priority: "high" | "medium" | "low";
|
|
3585
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3586
3584
|
message: string;
|
|
3585
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3586
|
+
priority: "high" | "medium" | "low";
|
|
3587
3587
|
example?: string | undefined;
|
|
3588
3588
|
}, {
|
|
3589
|
-
priority: "high" | "medium" | "low";
|
|
3590
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3591
3589
|
message: string;
|
|
3590
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3591
|
+
priority: "high" | "medium" | "low";
|
|
3592
3592
|
example?: string | undefined;
|
|
3593
3593
|
}>, "many">>;
|
|
3594
3594
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -3640,26 +3640,26 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3640
3640
|
error: z.ZodOptional<z.ZodString>;
|
|
3641
3641
|
}, "strip", z.ZodTypeAny, {
|
|
3642
3642
|
success: boolean;
|
|
3643
|
+
error?: string | undefined;
|
|
3643
3644
|
components?: {
|
|
3644
|
-
description: string;
|
|
3645
|
-
name: string;
|
|
3646
|
-
category: "core" | "complex" | "advanced";
|
|
3647
|
-
id: string;
|
|
3648
|
-
importStatement: string;
|
|
3649
3645
|
props: {
|
|
3650
|
-
name: string;
|
|
3651
3646
|
type: string;
|
|
3647
|
+
name: string;
|
|
3652
3648
|
required: boolean;
|
|
3653
3649
|
description?: string | undefined;
|
|
3654
3650
|
defaultValue?: string | undefined;
|
|
3655
3651
|
}[];
|
|
3652
|
+
description: string;
|
|
3653
|
+
category: "core" | "complex" | "advanced";
|
|
3654
|
+
id: string;
|
|
3655
|
+
name: string;
|
|
3656
|
+
importStatement: string;
|
|
3656
3657
|
variants?: {
|
|
3657
|
-
name: string;
|
|
3658
3658
|
value: string;
|
|
3659
|
+
name: string;
|
|
3659
3660
|
description?: string | undefined;
|
|
3660
3661
|
}[] | undefined;
|
|
3661
3662
|
}[] | undefined;
|
|
3662
|
-
error?: string | undefined;
|
|
3663
3663
|
examples?: {
|
|
3664
3664
|
description: string;
|
|
3665
3665
|
name: string;
|
|
@@ -3668,18 +3668,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3668
3668
|
page: string;
|
|
3669
3669
|
id: string;
|
|
3670
3670
|
sections: {
|
|
3671
|
-
pattern: string;
|
|
3672
3671
|
id: string;
|
|
3673
3672
|
components: {
|
|
3674
3673
|
type: string;
|
|
3675
3674
|
props?: Record<string, unknown> | undefined;
|
|
3676
3675
|
children?: string | unknown[] | undefined;
|
|
3677
3676
|
}[];
|
|
3677
|
+
pattern: string;
|
|
3678
3678
|
slot?: string | undefined;
|
|
3679
3679
|
}[];
|
|
3680
3680
|
description?: string | undefined;
|
|
3681
|
-
name?: string | undefined;
|
|
3682
3681
|
themeId?: string | undefined;
|
|
3682
|
+
name?: string | undefined;
|
|
3683
3683
|
metadata?: {
|
|
3684
3684
|
version?: string | undefined;
|
|
3685
3685
|
created?: string | undefined;
|
|
@@ -3689,19 +3689,19 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3689
3689
|
};
|
|
3690
3690
|
}[] | undefined;
|
|
3691
3691
|
templateMatch?: {
|
|
3692
|
-
category: string;
|
|
3693
3692
|
templateId: string;
|
|
3694
3693
|
templateName: string;
|
|
3694
|
+
category: string;
|
|
3695
3695
|
confidence: number;
|
|
3696
3696
|
matchedKeywords: string[];
|
|
3697
3697
|
skeleton?: {
|
|
3698
3698
|
shell: string;
|
|
3699
3699
|
page: string;
|
|
3700
3700
|
sections: {
|
|
3701
|
+
slot: string;
|
|
3702
|
+
id: string;
|
|
3701
3703
|
name: string;
|
|
3702
3704
|
required: boolean;
|
|
3703
|
-
id: string;
|
|
3704
|
-
slot: string;
|
|
3705
3705
|
}[];
|
|
3706
3706
|
} | undefined;
|
|
3707
3707
|
requiredComponents?: string[] | undefined;
|
|
@@ -3716,9 +3716,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3716
3716
|
defaultClassName?: string | undefined;
|
|
3717
3717
|
}[] | undefined;
|
|
3718
3718
|
hints?: {
|
|
3719
|
-
priority: "high" | "medium" | "low";
|
|
3720
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3721
3719
|
message: string;
|
|
3720
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3721
|
+
priority: "high" | "medium" | "low";
|
|
3722
3722
|
example?: string | undefined;
|
|
3723
3723
|
}[] | undefined;
|
|
3724
3724
|
workflow?: {
|
|
@@ -3735,26 +3735,26 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3735
3735
|
} | undefined;
|
|
3736
3736
|
}, {
|
|
3737
3737
|
success: boolean;
|
|
3738
|
+
error?: string | undefined;
|
|
3738
3739
|
components?: {
|
|
3739
|
-
description: string;
|
|
3740
|
-
name: string;
|
|
3741
|
-
category: "core" | "complex" | "advanced";
|
|
3742
|
-
id: string;
|
|
3743
|
-
importStatement: string;
|
|
3744
3740
|
props: {
|
|
3745
|
-
name: string;
|
|
3746
3741
|
type: string;
|
|
3742
|
+
name: string;
|
|
3747
3743
|
required: boolean;
|
|
3748
3744
|
description?: string | undefined;
|
|
3749
3745
|
defaultValue?: string | undefined;
|
|
3750
3746
|
}[];
|
|
3747
|
+
description: string;
|
|
3748
|
+
category: "core" | "complex" | "advanced";
|
|
3749
|
+
id: string;
|
|
3750
|
+
name: string;
|
|
3751
|
+
importStatement: string;
|
|
3751
3752
|
variants?: {
|
|
3752
|
-
name: string;
|
|
3753
3753
|
value: string;
|
|
3754
|
+
name: string;
|
|
3754
3755
|
description?: string | undefined;
|
|
3755
3756
|
}[] | undefined;
|
|
3756
3757
|
}[] | undefined;
|
|
3757
|
-
error?: string | undefined;
|
|
3758
3758
|
examples?: {
|
|
3759
3759
|
description: string;
|
|
3760
3760
|
name: string;
|
|
@@ -3763,18 +3763,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3763
3763
|
page: string;
|
|
3764
3764
|
id: string;
|
|
3765
3765
|
sections: {
|
|
3766
|
-
pattern: string;
|
|
3767
3766
|
id: string;
|
|
3768
3767
|
components: {
|
|
3769
3768
|
type: string;
|
|
3770
3769
|
props?: Record<string, unknown> | undefined;
|
|
3771
3770
|
children?: string | unknown[] | undefined;
|
|
3772
3771
|
}[];
|
|
3772
|
+
pattern: string;
|
|
3773
3773
|
slot?: string | undefined;
|
|
3774
3774
|
}[];
|
|
3775
3775
|
description?: string | undefined;
|
|
3776
|
-
name?: string | undefined;
|
|
3777
3776
|
themeId?: string | undefined;
|
|
3777
|
+
name?: string | undefined;
|
|
3778
3778
|
metadata?: {
|
|
3779
3779
|
version?: string | undefined;
|
|
3780
3780
|
created?: string | undefined;
|
|
@@ -3784,19 +3784,19 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3784
3784
|
};
|
|
3785
3785
|
}[] | undefined;
|
|
3786
3786
|
templateMatch?: {
|
|
3787
|
-
category: string;
|
|
3788
3787
|
templateId: string;
|
|
3789
3788
|
templateName: string;
|
|
3789
|
+
category: string;
|
|
3790
3790
|
confidence: number;
|
|
3791
3791
|
matchedKeywords: string[];
|
|
3792
3792
|
skeleton?: {
|
|
3793
3793
|
shell: string;
|
|
3794
3794
|
page: string;
|
|
3795
3795
|
sections: {
|
|
3796
|
+
slot: string;
|
|
3797
|
+
id: string;
|
|
3796
3798
|
name: string;
|
|
3797
3799
|
required: boolean;
|
|
3798
|
-
id: string;
|
|
3799
|
-
slot: string;
|
|
3800
3800
|
}[];
|
|
3801
3801
|
} | undefined;
|
|
3802
3802
|
requiredComponents?: string[] | undefined;
|
|
@@ -3811,9 +3811,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3811
3811
|
defaultClassName?: string | undefined;
|
|
3812
3812
|
}[] | undefined;
|
|
3813
3813
|
hints?: {
|
|
3814
|
-
priority: "high" | "medium" | "low";
|
|
3815
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3816
3814
|
message: string;
|
|
3815
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3816
|
+
priority: "high" | "medium" | "low";
|
|
3817
3817
|
example?: string | undefined;
|
|
3818
3818
|
}[] | undefined;
|
|
3819
3819
|
workflow?: {
|
|
@@ -3900,13 +3900,13 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
3900
3900
|
affectedPath: z.ZodOptional<z.ZodString>;
|
|
3901
3901
|
suggestedChange: z.ZodOptional<z.ZodString>;
|
|
3902
3902
|
}, "strip", z.ZodTypeAny, {
|
|
3903
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3904
3903
|
message: string;
|
|
3904
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3905
3905
|
affectedPath?: string | undefined;
|
|
3906
3906
|
suggestedChange?: string | undefined;
|
|
3907
3907
|
}, {
|
|
3908
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3909
3908
|
message: string;
|
|
3909
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3910
3910
|
affectedPath?: string | undefined;
|
|
3911
3911
|
suggestedChange?: string | undefined;
|
|
3912
3912
|
}>;
|
|
@@ -3961,13 +3961,13 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
3961
3961
|
affectedPath: z.ZodOptional<z.ZodString>;
|
|
3962
3962
|
suggestedChange: z.ZodOptional<z.ZodString>;
|
|
3963
3963
|
}, "strip", z.ZodTypeAny, {
|
|
3964
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3965
3964
|
message: string;
|
|
3965
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3966
3966
|
affectedPath?: string | undefined;
|
|
3967
3967
|
suggestedChange?: string | undefined;
|
|
3968
3968
|
}, {
|
|
3969
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3970
3969
|
message: string;
|
|
3970
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3971
3971
|
affectedPath?: string | undefined;
|
|
3972
3972
|
suggestedChange?: string | undefined;
|
|
3973
3973
|
}>, "many">>;
|
|
@@ -3991,8 +3991,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
3991
3991
|
recommendation?: string | undefined;
|
|
3992
3992
|
}[] | undefined;
|
|
3993
3993
|
suggestions?: {
|
|
3994
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3995
3994
|
message: string;
|
|
3995
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3996
3996
|
affectedPath?: string | undefined;
|
|
3997
3997
|
suggestedChange?: string | undefined;
|
|
3998
3998
|
}[] | undefined;
|
|
@@ -4015,8 +4015,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4015
4015
|
recommendation?: string | undefined;
|
|
4016
4016
|
}[] | undefined;
|
|
4017
4017
|
suggestions?: {
|
|
4018
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4019
4018
|
message: string;
|
|
4019
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4020
4020
|
affectedPath?: string | undefined;
|
|
4021
4021
|
suggestedChange?: string | undefined;
|
|
4022
4022
|
}[] | undefined;
|
|
@@ -4089,6 +4089,7 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4089
4089
|
error: z.ZodOptional<z.ZodString>;
|
|
4090
4090
|
}, "strip", z.ZodTypeAny, {
|
|
4091
4091
|
success: boolean;
|
|
4092
|
+
error?: string | undefined;
|
|
4092
4093
|
tailwind?: {
|
|
4093
4094
|
issues: string[];
|
|
4094
4095
|
configFound: boolean;
|
|
@@ -4097,7 +4098,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4097
4098
|
fixes: string[];
|
|
4098
4099
|
configPath?: string | undefined;
|
|
4099
4100
|
} | undefined;
|
|
4100
|
-
error?: string | undefined;
|
|
4101
4101
|
installCommands?: {
|
|
4102
4102
|
npm: string;
|
|
4103
4103
|
yarn: string;
|
|
@@ -4109,6 +4109,7 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4109
4109
|
missing?: string[] | undefined;
|
|
4110
4110
|
}, {
|
|
4111
4111
|
success: boolean;
|
|
4112
|
+
error?: string | undefined;
|
|
4112
4113
|
tailwind?: {
|
|
4113
4114
|
issues: string[];
|
|
4114
4115
|
configFound: boolean;
|
|
@@ -4117,7 +4118,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4117
4118
|
fixes: string[];
|
|
4118
4119
|
configPath?: string | undefined;
|
|
4119
4120
|
} | undefined;
|
|
4120
|
-
error?: string | undefined;
|
|
4121
4121
|
installCommands?: {
|
|
4122
4122
|
npm: string;
|
|
4123
4123
|
yarn: string;
|