@framingui/mcp-server 0.5.0 → 0.5.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/LICENSE +21 -0
- package/README.md +4 -4
- package/dist/auth/guard.js +1 -1
- package/dist/auth/guard.js.map +1 -1
- package/dist/auth/theme-access.d.ts.map +1 -1
- package/dist/auth/theme-access.js +1 -0
- package/dist/auth/theme-access.js.map +1 -1
- package/dist/auth/verify.d.ts.map +1 -1
- package/dist/auth/verify.js +1 -1
- package/dist/auth/verify.js.map +1 -1
- package/dist/cli/agent-md-templates.js +8 -8
- package/dist/cli/credentials.d.ts +4 -2
- package/dist/cli/credentials.d.ts.map +1 -1
- package/dist/cli/credentials.js +27 -16
- package/dist/cli/credentials.js.map +1 -1
- package/dist/cli/guide-template.js +2 -2
- package/dist/cli/init.d.ts +1 -1
- package/dist/cli/init.js +2 -2
- package/dist/cli/login.d.ts +1 -1
- package/dist/cli/login.js +3 -3
- package/dist/cli/login.js.map +1 -1
- package/dist/cli/logout.d.ts +1 -1
- package/dist/cli/logout.js +1 -1
- package/dist/cli/status.d.ts +1 -1
- package/dist/cli/status.js +4 -4
- package/dist/cli/status.js.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/prompts/getting-started.js +1 -1
- package/dist/schemas/mcp-schemas.d.ts +601 -601
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/tools/preview-theme.js +1 -1
- package/dist/tools/preview-theme.js.map +1 -1
- package/dist/tools/whoami.js +1 -1
- package/dist/tools/whoami.js.map +1 -1
- package/package.json +19 -20
|
@@ -76,16 +76,16 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
76
76
|
componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
description: string;
|
|
79
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
79
80
|
themeId: string;
|
|
80
|
-
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
81
|
-
componentHints?: string[] | undefined;
|
|
82
81
|
iconLibrary?: string | undefined;
|
|
82
|
+
componentHints?: string[] | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
description: string;
|
|
85
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
85
86
|
themeId: string;
|
|
86
|
-
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
87
|
-
componentHints?: string[] | undefined;
|
|
88
87
|
iconLibrary?: string | undefined;
|
|
88
|
+
componentHints?: string[] | undefined;
|
|
89
89
|
}>;
|
|
90
90
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
91
91
|
/**
|
|
@@ -112,9 +112,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
112
112
|
page: string;
|
|
113
113
|
}>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
category: string;
|
|
116
115
|
templateId: string;
|
|
117
116
|
templateName: string;
|
|
117
|
+
category: string;
|
|
118
118
|
confidence: number;
|
|
119
119
|
matchedKeywords: string[];
|
|
120
120
|
layoutRecommendation: {
|
|
@@ -123,9 +123,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
123
123
|
page: string;
|
|
124
124
|
};
|
|
125
125
|
}, {
|
|
126
|
-
category: string;
|
|
127
126
|
templateId: string;
|
|
128
127
|
templateName: string;
|
|
128
|
+
category: string;
|
|
129
129
|
confidence: number;
|
|
130
130
|
matchedKeywords: string[];
|
|
131
131
|
layoutRecommendation: {
|
|
@@ -161,30 +161,30 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
161
161
|
}>, "many">;
|
|
162
162
|
timestamp: z.ZodNumber;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
|
|
164
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
165
165
|
themeId: string;
|
|
166
|
+
iconLibrary: string;
|
|
166
167
|
id: string;
|
|
168
|
+
name: string;
|
|
167
169
|
components: {
|
|
168
170
|
type: string;
|
|
169
171
|
props?: Record<string, unknown>;
|
|
170
172
|
children?: (unknown | string)[];
|
|
171
173
|
slot?: string;
|
|
172
174
|
}[];
|
|
173
|
-
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
174
|
-
iconLibrary: string;
|
|
175
175
|
timestamp: number;
|
|
176
176
|
}, {
|
|
177
|
-
|
|
177
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
178
178
|
themeId: string;
|
|
179
|
+
iconLibrary: string;
|
|
179
180
|
id: string;
|
|
181
|
+
name: string;
|
|
180
182
|
components: {
|
|
181
183
|
type: string;
|
|
182
184
|
props?: Record<string, unknown>;
|
|
183
185
|
children?: (unknown | string)[];
|
|
184
186
|
slot?: string;
|
|
185
187
|
}[];
|
|
186
|
-
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
187
|
-
iconLibrary: string;
|
|
188
188
|
timestamp: number;
|
|
189
189
|
}>>;
|
|
190
190
|
templateRecommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -207,9 +207,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
207
207
|
page: string;
|
|
208
208
|
}>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
category: string;
|
|
211
210
|
templateId: string;
|
|
212
211
|
templateName: string;
|
|
212
|
+
category: string;
|
|
213
213
|
confidence: number;
|
|
214
214
|
matchedKeywords: string[];
|
|
215
215
|
layoutRecommendation: {
|
|
@@ -218,9 +218,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
218
218
|
page: string;
|
|
219
219
|
};
|
|
220
220
|
}, {
|
|
221
|
-
category: string;
|
|
222
221
|
templateId: string;
|
|
223
222
|
templateName: string;
|
|
223
|
+
category: string;
|
|
224
224
|
confidence: number;
|
|
225
225
|
matchedKeywords: string[];
|
|
226
226
|
layoutRecommendation: {
|
|
@@ -234,23 +234,23 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
234
234
|
success: boolean;
|
|
235
235
|
error?: string | undefined;
|
|
236
236
|
blueprint?: {
|
|
237
|
-
|
|
237
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
238
238
|
themeId: string;
|
|
239
|
+
iconLibrary: string;
|
|
239
240
|
id: string;
|
|
241
|
+
name: string;
|
|
240
242
|
components: {
|
|
241
243
|
type: string;
|
|
242
244
|
props?: Record<string, unknown>;
|
|
243
245
|
children?: (unknown | string)[];
|
|
244
246
|
slot?: string;
|
|
245
247
|
}[];
|
|
246
|
-
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
247
|
-
iconLibrary: string;
|
|
248
248
|
timestamp: number;
|
|
249
249
|
} | undefined;
|
|
250
250
|
templateRecommendations?: {
|
|
251
|
-
category: string;
|
|
252
251
|
templateId: string;
|
|
253
252
|
templateName: string;
|
|
253
|
+
category: string;
|
|
254
254
|
confidence: number;
|
|
255
255
|
matchedKeywords: string[];
|
|
256
256
|
layoutRecommendation: {
|
|
@@ -263,23 +263,23 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
263
263
|
success: boolean;
|
|
264
264
|
error?: string | undefined;
|
|
265
265
|
blueprint?: {
|
|
266
|
-
|
|
266
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
267
267
|
themeId: string;
|
|
268
|
+
iconLibrary: string;
|
|
268
269
|
id: string;
|
|
270
|
+
name: string;
|
|
269
271
|
components: {
|
|
270
272
|
type: string;
|
|
271
273
|
props?: Record<string, unknown>;
|
|
272
274
|
children?: (unknown | string)[];
|
|
273
275
|
slot?: string;
|
|
274
276
|
}[];
|
|
275
|
-
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
276
|
-
iconLibrary: string;
|
|
277
277
|
timestamp: number;
|
|
278
278
|
} | undefined;
|
|
279
279
|
templateRecommendations?: {
|
|
280
|
-
category: string;
|
|
281
280
|
templateId: string;
|
|
282
281
|
templateName: string;
|
|
282
|
+
category: string;
|
|
283
283
|
confidence: number;
|
|
284
284
|
matchedKeywords: string[];
|
|
285
285
|
layoutRecommendation: {
|
|
@@ -306,14 +306,14 @@ export declare const ThemeMetaSchema: z.ZodObject<{
|
|
|
306
306
|
brandTone: z.ZodString;
|
|
307
307
|
schemaVersion: z.ZodString;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
name: string;
|
|
310
309
|
id: string;
|
|
310
|
+
name: string;
|
|
311
311
|
brandTone: string;
|
|
312
312
|
schemaVersion: string;
|
|
313
313
|
description?: string | undefined;
|
|
314
314
|
}, {
|
|
315
|
-
name: string;
|
|
316
315
|
id: string;
|
|
316
|
+
name: string;
|
|
317
317
|
brandTone: string;
|
|
318
318
|
schemaVersion: string;
|
|
319
319
|
description?: string | undefined;
|
|
@@ -331,14 +331,14 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
331
331
|
brandTone: z.ZodString;
|
|
332
332
|
schemaVersion: z.ZodString;
|
|
333
333
|
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
name: string;
|
|
335
334
|
id: string;
|
|
335
|
+
name: string;
|
|
336
336
|
brandTone: string;
|
|
337
337
|
schemaVersion: string;
|
|
338
338
|
description?: string | undefined;
|
|
339
339
|
}, {
|
|
340
|
-
name: string;
|
|
341
340
|
id: string;
|
|
341
|
+
name: string;
|
|
342
342
|
brandTone: string;
|
|
343
343
|
schemaVersion: string;
|
|
344
344
|
description?: string | undefined;
|
|
@@ -349,8 +349,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
349
349
|
success: boolean;
|
|
350
350
|
error?: string | undefined;
|
|
351
351
|
themes?: {
|
|
352
|
-
name: string;
|
|
353
352
|
id: string;
|
|
353
|
+
name: string;
|
|
354
354
|
brandTone: string;
|
|
355
355
|
schemaVersion: string;
|
|
356
356
|
description?: string | undefined;
|
|
@@ -360,8 +360,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
360
360
|
success: boolean;
|
|
361
361
|
error?: string | undefined;
|
|
362
362
|
themes?: {
|
|
363
|
-
name: string;
|
|
364
363
|
id: string;
|
|
364
|
+
name: string;
|
|
365
365
|
brandTone: string;
|
|
366
366
|
schemaVersion: string;
|
|
367
367
|
description?: string | undefined;
|
|
@@ -414,14 +414,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
414
414
|
component: z.ZodOptional<z.ZodUnknown>;
|
|
415
415
|
recipes: z.ZodOptional<z.ZodUnknown>;
|
|
416
416
|
}, "strip", z.ZodTypeAny, {
|
|
417
|
-
component?: unknown;
|
|
418
417
|
atomic?: unknown;
|
|
419
418
|
semantic?: unknown;
|
|
419
|
+
component?: unknown;
|
|
420
420
|
recipes?: unknown;
|
|
421
421
|
}, {
|
|
422
|
-
component?: unknown;
|
|
423
422
|
atomic?: unknown;
|
|
424
423
|
semantic?: unknown;
|
|
424
|
+
component?: unknown;
|
|
425
425
|
recipes?: unknown;
|
|
426
426
|
}>;
|
|
427
427
|
stateLayer: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -429,14 +429,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
429
429
|
elevation: z.ZodOptional<z.ZodUnknown>;
|
|
430
430
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
431
431
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
name: string;
|
|
433
432
|
id: string;
|
|
433
|
+
name: string;
|
|
434
434
|
brandTone: string;
|
|
435
435
|
schemaVersion: string;
|
|
436
436
|
tokens: {
|
|
437
|
-
component?: unknown;
|
|
438
437
|
atomic?: unknown;
|
|
439
438
|
semantic?: unknown;
|
|
439
|
+
component?: unknown;
|
|
440
440
|
recipes?: unknown;
|
|
441
441
|
};
|
|
442
442
|
description?: string | undefined;
|
|
@@ -450,14 +450,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
450
450
|
elevation?: unknown;
|
|
451
451
|
typography?: unknown;
|
|
452
452
|
}, {
|
|
453
|
-
name: string;
|
|
454
453
|
id: string;
|
|
454
|
+
name: string;
|
|
455
455
|
brandTone: string;
|
|
456
456
|
schemaVersion: string;
|
|
457
457
|
tokens: {
|
|
458
|
-
component?: unknown;
|
|
459
458
|
atomic?: unknown;
|
|
460
459
|
semantic?: unknown;
|
|
460
|
+
component?: unknown;
|
|
461
461
|
recipes?: unknown;
|
|
462
462
|
};
|
|
463
463
|
description?: string | undefined;
|
|
@@ -477,14 +477,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
477
477
|
success: boolean;
|
|
478
478
|
error?: string | undefined;
|
|
479
479
|
theme?: {
|
|
480
|
-
name: string;
|
|
481
480
|
id: string;
|
|
481
|
+
name: string;
|
|
482
482
|
brandTone: string;
|
|
483
483
|
schemaVersion: string;
|
|
484
484
|
tokens: {
|
|
485
|
-
component?: unknown;
|
|
486
485
|
atomic?: unknown;
|
|
487
486
|
semantic?: unknown;
|
|
487
|
+
component?: unknown;
|
|
488
488
|
recipes?: unknown;
|
|
489
489
|
};
|
|
490
490
|
description?: string | undefined;
|
|
@@ -503,14 +503,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
503
503
|
success: boolean;
|
|
504
504
|
error?: string | undefined;
|
|
505
505
|
theme?: {
|
|
506
|
-
name: string;
|
|
507
506
|
id: string;
|
|
507
|
+
name: string;
|
|
508
508
|
brandTone: string;
|
|
509
509
|
schemaVersion: string;
|
|
510
510
|
tokens: {
|
|
511
|
-
component?: unknown;
|
|
512
511
|
atomic?: unknown;
|
|
513
512
|
semantic?: unknown;
|
|
513
|
+
component?: unknown;
|
|
514
514
|
recipes?: unknown;
|
|
515
515
|
};
|
|
516
516
|
description?: string | undefined;
|
|
@@ -541,10 +541,10 @@ export declare const ExportScreenInputSchema: z.ZodObject<{
|
|
|
541
541
|
blueprint: z.ZodUnknown;
|
|
542
542
|
format: z.ZodEnum<["jsx", "tsx", "vue"]>;
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
|
-
format: "
|
|
544
|
+
format: "jsx" | "tsx" | "vue";
|
|
545
545
|
blueprint?: unknown;
|
|
546
546
|
}, {
|
|
547
|
-
format: "
|
|
547
|
+
format: "jsx" | "tsx" | "vue";
|
|
548
548
|
blueprint?: unknown;
|
|
549
549
|
}>;
|
|
550
550
|
export type ExportScreenInput = z.infer<typeof ExportScreenInputSchema>;
|
|
@@ -592,21 +592,21 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
592
592
|
/** Theme ID for CSS generation */
|
|
593
593
|
themeId: z.ZodOptional<z.ZodString>;
|
|
594
594
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
tier: "tier1" | "tier2" | "auto";
|
|
596
595
|
includeCSS: boolean;
|
|
597
|
-
format: "
|
|
596
|
+
format: "jsx" | "tsx" | "vue";
|
|
597
|
+
tier: "tier1" | "tier2" | "auto";
|
|
598
598
|
themeId?: string | undefined;
|
|
599
599
|
blueprint?: unknown;
|
|
600
600
|
componentName?: string | undefined;
|
|
601
601
|
componentDescription?: string | undefined;
|
|
602
602
|
}, {
|
|
603
|
-
format: "
|
|
603
|
+
format: "jsx" | "tsx" | "vue";
|
|
604
604
|
themeId?: string | undefined;
|
|
605
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
606
|
-
includeCSS?: boolean | undefined;
|
|
607
605
|
blueprint?: unknown;
|
|
606
|
+
includeCSS?: boolean | undefined;
|
|
608
607
|
componentName?: string | undefined;
|
|
609
608
|
componentDescription?: string | undefined;
|
|
609
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
610
610
|
}>;
|
|
611
611
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
612
612
|
/**
|
|
@@ -618,12 +618,12 @@ export declare const ComponentResolutionSchema: z.ZodObject<{
|
|
|
618
618
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
619
619
|
}, "strip", z.ZodTypeAny, {
|
|
620
620
|
code: string;
|
|
621
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
622
621
|
componentName: string;
|
|
622
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
623
623
|
}, {
|
|
624
624
|
code: string;
|
|
625
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
626
625
|
componentName: string;
|
|
626
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
627
627
|
}>;
|
|
628
628
|
export type ComponentResolution = z.infer<typeof ComponentResolutionSchema>;
|
|
629
629
|
/**
|
|
@@ -643,12 +643,12 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
643
643
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
644
644
|
}, "strip", z.ZodTypeAny, {
|
|
645
645
|
code: string;
|
|
646
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
647
646
|
componentName: string;
|
|
647
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
648
648
|
}, {
|
|
649
649
|
code: string;
|
|
650
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
651
650
|
componentName: string;
|
|
651
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
652
652
|
}>, "many">>;
|
|
653
653
|
/** Tier used for resolution */
|
|
654
654
|
tierUsed: z.ZodOptional<z.ZodEnum<["tier1", "tier2", "auto"]>>;
|
|
@@ -659,8 +659,8 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
659
659
|
code?: string | undefined;
|
|
660
660
|
components?: {
|
|
661
661
|
code: string;
|
|
662
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
663
662
|
componentName: string;
|
|
663
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
664
664
|
}[] | undefined;
|
|
665
665
|
css?: string | undefined;
|
|
666
666
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
@@ -670,8 +670,8 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
670
670
|
code?: string | undefined;
|
|
671
671
|
components?: {
|
|
672
672
|
code: string;
|
|
673
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
674
673
|
componentName: string;
|
|
674
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
675
675
|
}[] | undefined;
|
|
676
676
|
css?: string | undefined;
|
|
677
677
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
@@ -728,33 +728,33 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
728
728
|
}>>;
|
|
729
729
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
730
730
|
}, "strip", z.ZodTypeAny, {
|
|
731
|
-
internal: string[];
|
|
732
731
|
external: string[];
|
|
732
|
+
internal: string[];
|
|
733
733
|
installCommands: {
|
|
734
734
|
npm: string;
|
|
735
735
|
yarn: string;
|
|
736
736
|
pnpm: string;
|
|
737
737
|
bun: string;
|
|
738
738
|
};
|
|
739
|
-
notes?: string[] | undefined;
|
|
740
739
|
compatibility?: {
|
|
741
740
|
react?: string | undefined;
|
|
742
741
|
node?: string | undefined;
|
|
743
742
|
} | undefined;
|
|
743
|
+
notes?: string[] | undefined;
|
|
744
744
|
}, {
|
|
745
|
-
internal: string[];
|
|
746
745
|
external: string[];
|
|
746
|
+
internal: string[];
|
|
747
747
|
installCommands: {
|
|
748
748
|
npm: string;
|
|
749
749
|
yarn: string;
|
|
750
750
|
pnpm: string;
|
|
751
751
|
bun: string;
|
|
752
752
|
};
|
|
753
|
-
notes?: string[] | undefined;
|
|
754
753
|
compatibility?: {
|
|
755
754
|
react?: string | undefined;
|
|
756
755
|
node?: string | undefined;
|
|
757
756
|
} | undefined;
|
|
757
|
+
notes?: string[] | undefined;
|
|
758
758
|
}>;
|
|
759
759
|
export type Dependencies = z.infer<typeof DependenciesSchema>;
|
|
760
760
|
/**
|
|
@@ -795,33 +795,33 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
795
795
|
}>>;
|
|
796
796
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
797
797
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
-
internal: string[];
|
|
799
798
|
external: string[];
|
|
799
|
+
internal: string[];
|
|
800
800
|
installCommands: {
|
|
801
801
|
npm: string;
|
|
802
802
|
yarn: string;
|
|
803
803
|
pnpm: string;
|
|
804
804
|
bun: string;
|
|
805
805
|
};
|
|
806
|
-
notes?: string[] | undefined;
|
|
807
806
|
compatibility?: {
|
|
808
807
|
react?: string | undefined;
|
|
809
808
|
node?: string | undefined;
|
|
810
809
|
} | undefined;
|
|
810
|
+
notes?: string[] | undefined;
|
|
811
811
|
}, {
|
|
812
|
-
internal: string[];
|
|
813
812
|
external: string[];
|
|
813
|
+
internal: string[];
|
|
814
814
|
installCommands: {
|
|
815
815
|
npm: string;
|
|
816
816
|
yarn: string;
|
|
817
817
|
pnpm: string;
|
|
818
818
|
bun: string;
|
|
819
819
|
};
|
|
820
|
-
notes?: string[] | undefined;
|
|
821
820
|
compatibility?: {
|
|
822
821
|
react?: string | undefined;
|
|
823
822
|
node?: string | undefined;
|
|
824
823
|
} | undefined;
|
|
824
|
+
notes?: string[] | undefined;
|
|
825
825
|
}>>;
|
|
826
826
|
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
827
827
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -829,44 +829,44 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
829
829
|
success: boolean;
|
|
830
830
|
error?: string | undefined;
|
|
831
831
|
code?: string | undefined;
|
|
832
|
-
|
|
832
|
+
cssVariables?: string | undefined;
|
|
833
833
|
dependencies?: {
|
|
834
|
-
internal: string[];
|
|
835
834
|
external: string[];
|
|
835
|
+
internal: string[];
|
|
836
836
|
installCommands: {
|
|
837
837
|
npm: string;
|
|
838
838
|
yarn: string;
|
|
839
839
|
pnpm: string;
|
|
840
840
|
bun: string;
|
|
841
841
|
};
|
|
842
|
-
notes?: string[] | undefined;
|
|
843
842
|
compatibility?: {
|
|
844
843
|
react?: string | undefined;
|
|
845
844
|
node?: string | undefined;
|
|
846
845
|
} | undefined;
|
|
846
|
+
notes?: string[] | undefined;
|
|
847
847
|
} | undefined;
|
|
848
|
-
|
|
848
|
+
errors?: string[] | undefined;
|
|
849
849
|
}, {
|
|
850
850
|
success: boolean;
|
|
851
851
|
error?: string | undefined;
|
|
852
852
|
code?: string | undefined;
|
|
853
|
-
|
|
853
|
+
cssVariables?: string | undefined;
|
|
854
854
|
dependencies?: {
|
|
855
|
-
internal: string[];
|
|
856
855
|
external: string[];
|
|
856
|
+
internal: string[];
|
|
857
857
|
installCommands: {
|
|
858
858
|
npm: string;
|
|
859
859
|
yarn: string;
|
|
860
860
|
pnpm: string;
|
|
861
861
|
bun: string;
|
|
862
862
|
};
|
|
863
|
-
notes?: string[] | undefined;
|
|
864
863
|
compatibility?: {
|
|
865
864
|
react?: string | undefined;
|
|
866
865
|
node?: string | undefined;
|
|
867
866
|
} | undefined;
|
|
867
|
+
notes?: string[] | undefined;
|
|
868
868
|
} | undefined;
|
|
869
|
-
|
|
869
|
+
errors?: string[] | undefined;
|
|
870
870
|
}>;
|
|
871
871
|
export type GenerateScreenOutput = z.infer<typeof GenerateScreenOutputSchema>;
|
|
872
872
|
/**
|
|
@@ -978,15 +978,15 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
978
978
|
}, "strip", z.ZodTypeAny, {
|
|
979
979
|
id: string;
|
|
980
980
|
type?: string | undefined;
|
|
981
|
-
name?: string | undefined;
|
|
982
981
|
description?: string | undefined;
|
|
982
|
+
name?: string | undefined;
|
|
983
983
|
platform?: string | undefined;
|
|
984
984
|
purpose?: string | undefined;
|
|
985
985
|
}, {
|
|
986
986
|
id: string;
|
|
987
987
|
type?: string | undefined;
|
|
988
|
-
name?: string | undefined;
|
|
989
988
|
description?: string | undefined;
|
|
989
|
+
name?: string | undefined;
|
|
990
990
|
platform?: string | undefined;
|
|
991
991
|
purpose?: string | undefined;
|
|
992
992
|
}>;
|
|
@@ -1006,15 +1006,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1006
1006
|
}, "strip", z.ZodTypeAny, {
|
|
1007
1007
|
id: string;
|
|
1008
1008
|
type?: string | undefined;
|
|
1009
|
-
name?: string | undefined;
|
|
1010
1009
|
description?: string | undefined;
|
|
1010
|
+
name?: string | undefined;
|
|
1011
1011
|
platform?: string | undefined;
|
|
1012
1012
|
purpose?: string | undefined;
|
|
1013
1013
|
}, {
|
|
1014
1014
|
id: string;
|
|
1015
1015
|
type?: string | undefined;
|
|
1016
|
-
name?: string | undefined;
|
|
1017
1016
|
description?: string | undefined;
|
|
1017
|
+
name?: string | undefined;
|
|
1018
1018
|
platform?: string | undefined;
|
|
1019
1019
|
purpose?: string | undefined;
|
|
1020
1020
|
}>, "many">>;
|
|
@@ -1028,15 +1028,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1028
1028
|
}, "strip", z.ZodTypeAny, {
|
|
1029
1029
|
id: string;
|
|
1030
1030
|
type?: string | undefined;
|
|
1031
|
-
name?: string | undefined;
|
|
1032
1031
|
description?: string | undefined;
|
|
1032
|
+
name?: string | undefined;
|
|
1033
1033
|
platform?: string | undefined;
|
|
1034
1034
|
purpose?: string | undefined;
|
|
1035
1035
|
}, {
|
|
1036
1036
|
id: string;
|
|
1037
1037
|
type?: string | undefined;
|
|
1038
|
-
name?: string | undefined;
|
|
1039
1038
|
description?: string | undefined;
|
|
1039
|
+
name?: string | undefined;
|
|
1040
1040
|
platform?: string | undefined;
|
|
1041
1041
|
purpose?: string | undefined;
|
|
1042
1042
|
}>, "many">>;
|
|
@@ -1050,15 +1050,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1050
1050
|
}, "strip", z.ZodTypeAny, {
|
|
1051
1051
|
id: string;
|
|
1052
1052
|
type?: string | undefined;
|
|
1053
|
-
name?: string | undefined;
|
|
1054
1053
|
description?: string | undefined;
|
|
1054
|
+
name?: string | undefined;
|
|
1055
1055
|
platform?: string | undefined;
|
|
1056
1056
|
purpose?: string | undefined;
|
|
1057
1057
|
}, {
|
|
1058
1058
|
id: string;
|
|
1059
1059
|
type?: string | undefined;
|
|
1060
|
-
name?: string | undefined;
|
|
1061
1060
|
description?: string | undefined;
|
|
1061
|
+
name?: string | undefined;
|
|
1062
1062
|
platform?: string | undefined;
|
|
1063
1063
|
purpose?: string | undefined;
|
|
1064
1064
|
}>, "many">>;
|
|
@@ -1076,42 +1076,27 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1076
1076
|
}, "strip", z.ZodTypeAny, {
|
|
1077
1077
|
success: boolean;
|
|
1078
1078
|
error?: string | undefined;
|
|
1079
|
-
sections?: {
|
|
1080
|
-
id: string;
|
|
1081
|
-
type?: string | undefined;
|
|
1082
|
-
name?: string | undefined;
|
|
1083
|
-
description?: string | undefined;
|
|
1084
|
-
platform?: string | undefined;
|
|
1085
|
-
purpose?: string | undefined;
|
|
1086
|
-
}[] | undefined;
|
|
1087
|
-
metadata?: {
|
|
1088
|
-
total: number;
|
|
1089
|
-
filtered?: number | undefined;
|
|
1090
|
-
} | undefined;
|
|
1091
1079
|
shells?: {
|
|
1092
1080
|
id: string;
|
|
1093
1081
|
type?: string | undefined;
|
|
1094
|
-
name?: string | undefined;
|
|
1095
1082
|
description?: string | undefined;
|
|
1083
|
+
name?: string | undefined;
|
|
1096
1084
|
platform?: string | undefined;
|
|
1097
1085
|
purpose?: string | undefined;
|
|
1098
1086
|
}[] | undefined;
|
|
1099
1087
|
pages?: {
|
|
1100
1088
|
id: string;
|
|
1101
1089
|
type?: string | undefined;
|
|
1102
|
-
name?: string | undefined;
|
|
1103
1090
|
description?: string | undefined;
|
|
1091
|
+
name?: string | undefined;
|
|
1104
1092
|
platform?: string | undefined;
|
|
1105
1093
|
purpose?: string | undefined;
|
|
1106
1094
|
}[] | undefined;
|
|
1107
|
-
}, {
|
|
1108
|
-
success: boolean;
|
|
1109
|
-
error?: string | undefined;
|
|
1110
1095
|
sections?: {
|
|
1111
1096
|
id: string;
|
|
1112
1097
|
type?: string | undefined;
|
|
1113
|
-
name?: string | undefined;
|
|
1114
1098
|
description?: string | undefined;
|
|
1099
|
+
name?: string | undefined;
|
|
1115
1100
|
platform?: string | undefined;
|
|
1116
1101
|
purpose?: string | undefined;
|
|
1117
1102
|
}[] | undefined;
|
|
@@ -1119,22 +1104,37 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1119
1104
|
total: number;
|
|
1120
1105
|
filtered?: number | undefined;
|
|
1121
1106
|
} | undefined;
|
|
1107
|
+
}, {
|
|
1108
|
+
success: boolean;
|
|
1109
|
+
error?: string | undefined;
|
|
1122
1110
|
shells?: {
|
|
1123
1111
|
id: string;
|
|
1124
1112
|
type?: string | undefined;
|
|
1125
|
-
name?: string | undefined;
|
|
1126
1113
|
description?: string | undefined;
|
|
1114
|
+
name?: string | undefined;
|
|
1127
1115
|
platform?: string | undefined;
|
|
1128
1116
|
purpose?: string | undefined;
|
|
1129
1117
|
}[] | undefined;
|
|
1130
1118
|
pages?: {
|
|
1131
1119
|
id: string;
|
|
1132
1120
|
type?: string | undefined;
|
|
1121
|
+
description?: string | undefined;
|
|
1133
1122
|
name?: string | undefined;
|
|
1123
|
+
platform?: string | undefined;
|
|
1124
|
+
purpose?: string | undefined;
|
|
1125
|
+
}[] | undefined;
|
|
1126
|
+
sections?: {
|
|
1127
|
+
id: string;
|
|
1128
|
+
type?: string | undefined;
|
|
1134
1129
|
description?: string | undefined;
|
|
1130
|
+
name?: string | undefined;
|
|
1135
1131
|
platform?: string | undefined;
|
|
1136
1132
|
purpose?: string | undefined;
|
|
1137
1133
|
}[] | undefined;
|
|
1134
|
+
metadata?: {
|
|
1135
|
+
total: number;
|
|
1136
|
+
filtered?: number | undefined;
|
|
1137
|
+
} | undefined;
|
|
1138
1138
|
}>;
|
|
1139
1139
|
export type ListTokensOutput = z.infer<typeof ListTokensOutputSchema>;
|
|
1140
1140
|
/**
|
|
@@ -1160,17 +1160,17 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1160
1160
|
totalIcons: z.ZodNumber;
|
|
1161
1161
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1162
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
-
name: string;
|
|
1164
1163
|
description: string;
|
|
1165
1164
|
id: string;
|
|
1165
|
+
name: string;
|
|
1166
1166
|
version: string;
|
|
1167
1167
|
license: string;
|
|
1168
1168
|
totalIcons: number;
|
|
1169
1169
|
categories: string[];
|
|
1170
1170
|
}, {
|
|
1171
|
-
name: string;
|
|
1172
1171
|
description: string;
|
|
1173
1172
|
id: string;
|
|
1173
|
+
name: string;
|
|
1174
1174
|
version: string;
|
|
1175
1175
|
license: string;
|
|
1176
1176
|
totalIcons: number;
|
|
@@ -1191,17 +1191,17 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1191
1191
|
totalIcons: z.ZodNumber;
|
|
1192
1192
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1193
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1194
|
-
name: string;
|
|
1195
1194
|
description: string;
|
|
1196
1195
|
id: string;
|
|
1196
|
+
name: string;
|
|
1197
1197
|
version: string;
|
|
1198
1198
|
license: string;
|
|
1199
1199
|
totalIcons: number;
|
|
1200
1200
|
categories: string[];
|
|
1201
1201
|
}, {
|
|
1202
|
-
name: string;
|
|
1203
1202
|
description: string;
|
|
1204
1203
|
id: string;
|
|
1204
|
+
name: string;
|
|
1205
1205
|
version: string;
|
|
1206
1206
|
license: string;
|
|
1207
1207
|
totalIcons: number;
|
|
@@ -1212,29 +1212,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1212
1212
|
}, "strip", z.ZodTypeAny, {
|
|
1213
1213
|
success: boolean;
|
|
1214
1214
|
error?: string | undefined;
|
|
1215
|
+
count?: number | undefined;
|
|
1215
1216
|
libraries?: {
|
|
1216
|
-
name: string;
|
|
1217
1217
|
description: string;
|
|
1218
1218
|
id: string;
|
|
1219
|
+
name: string;
|
|
1219
1220
|
version: string;
|
|
1220
1221
|
license: string;
|
|
1221
1222
|
totalIcons: number;
|
|
1222
1223
|
categories: string[];
|
|
1223
1224
|
}[] | undefined;
|
|
1224
|
-
count?: number | undefined;
|
|
1225
1225
|
}, {
|
|
1226
1226
|
success: boolean;
|
|
1227
1227
|
error?: string | undefined;
|
|
1228
|
+
count?: number | undefined;
|
|
1228
1229
|
libraries?: {
|
|
1229
|
-
name: string;
|
|
1230
1230
|
description: string;
|
|
1231
1231
|
id: string;
|
|
1232
|
+
name: string;
|
|
1232
1233
|
version: string;
|
|
1233
1234
|
license: string;
|
|
1234
1235
|
totalIcons: number;
|
|
1235
1236
|
categories: string[];
|
|
1236
1237
|
}[] | undefined;
|
|
1237
|
-
count?: number | undefined;
|
|
1238
1238
|
}>;
|
|
1239
1239
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1240
1240
|
/**
|
|
@@ -1279,13 +1279,13 @@ export declare const IconFrameworkConfigSchema: z.ZodObject<{
|
|
|
1279
1279
|
componentPattern: z.ZodString;
|
|
1280
1280
|
variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1281
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1282
|
-
importStatement: string;
|
|
1283
1282
|
packageName: string;
|
|
1283
|
+
importStatement: string;
|
|
1284
1284
|
componentPattern: string;
|
|
1285
1285
|
variants?: Record<string, string> | undefined;
|
|
1286
1286
|
}, {
|
|
1287
|
-
importStatement: string;
|
|
1288
1287
|
packageName: string;
|
|
1288
|
+
importStatement: string;
|
|
1289
1289
|
componentPattern: string;
|
|
1290
1290
|
variants?: Record<string, string> | undefined;
|
|
1291
1291
|
}>;
|
|
@@ -1329,13 +1329,13 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1329
1329
|
componentPattern: z.ZodString;
|
|
1330
1330
|
variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1331
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1332
|
-
importStatement: string;
|
|
1333
1332
|
packageName: string;
|
|
1333
|
+
importStatement: string;
|
|
1334
1334
|
componentPattern: string;
|
|
1335
1335
|
variants?: Record<string, string> | undefined;
|
|
1336
1336
|
}, {
|
|
1337
|
-
importStatement: string;
|
|
1338
1337
|
packageName: string;
|
|
1338
|
+
importStatement: string;
|
|
1339
1339
|
componentPattern: string;
|
|
1340
1340
|
variants?: Record<string, string> | undefined;
|
|
1341
1341
|
}>;
|
|
@@ -1345,39 +1345,39 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1345
1345
|
componentPattern: z.ZodString;
|
|
1346
1346
|
variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1347
1347
|
}, "strip", z.ZodTypeAny, {
|
|
1348
|
-
importStatement: string;
|
|
1349
1348
|
packageName: string;
|
|
1349
|
+
importStatement: string;
|
|
1350
1350
|
componentPattern: string;
|
|
1351
1351
|
variants?: Record<string, string> | undefined;
|
|
1352
1352
|
}, {
|
|
1353
|
-
importStatement: string;
|
|
1354
1353
|
packageName: string;
|
|
1354
|
+
importStatement: string;
|
|
1355
1355
|
componentPattern: string;
|
|
1356
1356
|
variants?: Record<string, string> | undefined;
|
|
1357
1357
|
}>;
|
|
1358
1358
|
}, "strip", z.ZodTypeAny, {
|
|
1359
|
-
|
|
1360
|
-
importStatement: string;
|
|
1359
|
+
vue: {
|
|
1361
1360
|
packageName: string;
|
|
1361
|
+
importStatement: string;
|
|
1362
1362
|
componentPattern: string;
|
|
1363
1363
|
variants?: Record<string, string> | undefined;
|
|
1364
1364
|
};
|
|
1365
|
-
|
|
1366
|
-
importStatement: string;
|
|
1365
|
+
react: {
|
|
1367
1366
|
packageName: string;
|
|
1367
|
+
importStatement: string;
|
|
1368
1368
|
componentPattern: string;
|
|
1369
1369
|
variants?: Record<string, string> | undefined;
|
|
1370
1370
|
};
|
|
1371
1371
|
}, {
|
|
1372
|
-
|
|
1373
|
-
importStatement: string;
|
|
1372
|
+
vue: {
|
|
1374
1373
|
packageName: string;
|
|
1374
|
+
importStatement: string;
|
|
1375
1375
|
componentPattern: string;
|
|
1376
1376
|
variants?: Record<string, string> | undefined;
|
|
1377
1377
|
};
|
|
1378
|
-
|
|
1379
|
-
importStatement: string;
|
|
1378
|
+
react: {
|
|
1380
1379
|
packageName: string;
|
|
1380
|
+
importStatement: string;
|
|
1381
1381
|
componentPattern: string;
|
|
1382
1382
|
variants?: Record<string, string> | undefined;
|
|
1383
1383
|
};
|
|
@@ -1385,14 +1385,14 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1385
1385
|
defaultVariant: z.ZodOptional<z.ZodString>;
|
|
1386
1386
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1387
1387
|
}, "strip", z.ZodTypeAny, {
|
|
1388
|
-
name: string;
|
|
1389
1388
|
description: string;
|
|
1390
1389
|
id: string;
|
|
1390
|
+
name: string;
|
|
1391
1391
|
version: string;
|
|
1392
1392
|
license: string;
|
|
1393
|
-
website: string;
|
|
1394
1393
|
totalIcons: number;
|
|
1395
1394
|
categories: string[];
|
|
1395
|
+
website: string;
|
|
1396
1396
|
sizeMapping: {
|
|
1397
1397
|
sm: number;
|
|
1398
1398
|
md: number;
|
|
@@ -1401,15 +1401,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1401
1401
|
xl?: number | undefined;
|
|
1402
1402
|
};
|
|
1403
1403
|
frameworks: {
|
|
1404
|
-
|
|
1405
|
-
importStatement: string;
|
|
1404
|
+
vue: {
|
|
1406
1405
|
packageName: string;
|
|
1406
|
+
importStatement: string;
|
|
1407
1407
|
componentPattern: string;
|
|
1408
1408
|
variants?: Record<string, string> | undefined;
|
|
1409
1409
|
};
|
|
1410
|
-
|
|
1411
|
-
importStatement: string;
|
|
1410
|
+
react: {
|
|
1412
1411
|
packageName: string;
|
|
1412
|
+
importStatement: string;
|
|
1413
1413
|
componentPattern: string;
|
|
1414
1414
|
variants?: Record<string, string> | undefined;
|
|
1415
1415
|
};
|
|
@@ -1417,14 +1417,14 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1417
1417
|
defaultVariant?: string | undefined;
|
|
1418
1418
|
iconSample?: string[] | undefined;
|
|
1419
1419
|
}, {
|
|
1420
|
-
name: string;
|
|
1421
1420
|
description: string;
|
|
1422
1421
|
id: string;
|
|
1422
|
+
name: string;
|
|
1423
1423
|
version: string;
|
|
1424
1424
|
license: string;
|
|
1425
|
-
website: string;
|
|
1426
1425
|
totalIcons: number;
|
|
1427
1426
|
categories: string[];
|
|
1427
|
+
website: string;
|
|
1428
1428
|
sizeMapping: {
|
|
1429
1429
|
sm: number;
|
|
1430
1430
|
md: number;
|
|
@@ -1433,15 +1433,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1433
1433
|
xl?: number | undefined;
|
|
1434
1434
|
};
|
|
1435
1435
|
frameworks: {
|
|
1436
|
-
|
|
1437
|
-
importStatement: string;
|
|
1436
|
+
vue: {
|
|
1438
1437
|
packageName: string;
|
|
1438
|
+
importStatement: string;
|
|
1439
1439
|
componentPattern: string;
|
|
1440
1440
|
variants?: Record<string, string> | undefined;
|
|
1441
1441
|
};
|
|
1442
|
-
|
|
1443
|
-
importStatement: string;
|
|
1442
|
+
react: {
|
|
1444
1443
|
packageName: string;
|
|
1444
|
+
importStatement: string;
|
|
1445
1445
|
componentPattern: string;
|
|
1446
1446
|
variants?: Record<string, string> | undefined;
|
|
1447
1447
|
};
|
|
@@ -1454,14 +1454,14 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1454
1454
|
success: boolean;
|
|
1455
1455
|
error?: string | undefined;
|
|
1456
1456
|
library?: {
|
|
1457
|
-
name: string;
|
|
1458
1457
|
description: string;
|
|
1459
1458
|
id: string;
|
|
1459
|
+
name: string;
|
|
1460
1460
|
version: string;
|
|
1461
1461
|
license: string;
|
|
1462
|
-
website: string;
|
|
1463
1462
|
totalIcons: number;
|
|
1464
1463
|
categories: string[];
|
|
1464
|
+
website: string;
|
|
1465
1465
|
sizeMapping: {
|
|
1466
1466
|
sm: number;
|
|
1467
1467
|
md: number;
|
|
@@ -1470,15 +1470,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1470
1470
|
xl?: number | undefined;
|
|
1471
1471
|
};
|
|
1472
1472
|
frameworks: {
|
|
1473
|
-
|
|
1474
|
-
importStatement: string;
|
|
1473
|
+
vue: {
|
|
1475
1474
|
packageName: string;
|
|
1475
|
+
importStatement: string;
|
|
1476
1476
|
componentPattern: string;
|
|
1477
1477
|
variants?: Record<string, string> | undefined;
|
|
1478
1478
|
};
|
|
1479
|
-
|
|
1480
|
-
importStatement: string;
|
|
1479
|
+
react: {
|
|
1481
1480
|
packageName: string;
|
|
1481
|
+
importStatement: string;
|
|
1482
1482
|
componentPattern: string;
|
|
1483
1483
|
variants?: Record<string, string> | undefined;
|
|
1484
1484
|
};
|
|
@@ -1490,14 +1490,14 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1490
1490
|
success: boolean;
|
|
1491
1491
|
error?: string | undefined;
|
|
1492
1492
|
library?: {
|
|
1493
|
-
name: string;
|
|
1494
1493
|
description: string;
|
|
1495
1494
|
id: string;
|
|
1495
|
+
name: string;
|
|
1496
1496
|
version: string;
|
|
1497
1497
|
license: string;
|
|
1498
|
-
website: string;
|
|
1499
1498
|
totalIcons: number;
|
|
1500
1499
|
categories: string[];
|
|
1500
|
+
website: string;
|
|
1501
1501
|
sizeMapping: {
|
|
1502
1502
|
sm: number;
|
|
1503
1503
|
md: number;
|
|
@@ -1506,15 +1506,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1506
1506
|
xl?: number | undefined;
|
|
1507
1507
|
};
|
|
1508
1508
|
frameworks: {
|
|
1509
|
-
|
|
1510
|
-
importStatement: string;
|
|
1509
|
+
vue: {
|
|
1511
1510
|
packageName: string;
|
|
1511
|
+
importStatement: string;
|
|
1512
1512
|
componentPattern: string;
|
|
1513
1513
|
variants?: Record<string, string> | undefined;
|
|
1514
1514
|
};
|
|
1515
|
-
|
|
1516
|
-
importStatement: string;
|
|
1515
|
+
react: {
|
|
1517
1516
|
packageName: string;
|
|
1517
|
+
importStatement: string;
|
|
1518
1518
|
componentPattern: string;
|
|
1519
1519
|
variants?: Record<string, string> | undefined;
|
|
1520
1520
|
};
|
|
@@ -1538,11 +1538,11 @@ export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
|
1538
1538
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["core", "complex", "advanced", "all"]>>>;
|
|
1539
1539
|
search: z.ZodOptional<z.ZodString>;
|
|
1540
1540
|
}, "strip", z.ZodTypeAny, {
|
|
1541
|
-
category: "
|
|
1541
|
+
category: "all" | "core" | "complex" | "advanced";
|
|
1542
1542
|
search?: string | undefined;
|
|
1543
1543
|
}, {
|
|
1544
|
-
category?: "core" | "complex" | "advanced" | "all" | undefined;
|
|
1545
1544
|
search?: string | undefined;
|
|
1545
|
+
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1546
1546
|
}>;
|
|
1547
1547
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
1548
1548
|
/**
|
|
@@ -1557,21 +1557,21 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1557
1557
|
hasSubComponents: z.ZodBoolean;
|
|
1558
1558
|
tier: z.ZodNumber;
|
|
1559
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1560
|
-
name: string;
|
|
1561
1560
|
description: string;
|
|
1562
1561
|
category: "core" | "complex" | "advanced";
|
|
1563
1562
|
id: string;
|
|
1563
|
+
name: string;
|
|
1564
|
+
tier: number;
|
|
1564
1565
|
variantsCount: number;
|
|
1565
1566
|
hasSubComponents: boolean;
|
|
1566
|
-
tier: number;
|
|
1567
1567
|
}, {
|
|
1568
|
-
name: string;
|
|
1569
1568
|
description: 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
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1577
1577
|
/**
|
|
@@ -1588,21 +1588,21 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1588
1588
|
hasSubComponents: z.ZodBoolean;
|
|
1589
1589
|
tier: z.ZodNumber;
|
|
1590
1590
|
}, "strip", z.ZodTypeAny, {
|
|
1591
|
-
name: string;
|
|
1592
1591
|
description: string;
|
|
1593
1592
|
category: "core" | "complex" | "advanced";
|
|
1594
1593
|
id: string;
|
|
1594
|
+
name: string;
|
|
1595
|
+
tier: number;
|
|
1595
1596
|
variantsCount: number;
|
|
1596
1597
|
hasSubComponents: boolean;
|
|
1597
|
-
tier: number;
|
|
1598
1598
|
}, {
|
|
1599
|
-
name: string;
|
|
1600
1599
|
description: 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
|
}>, "many">>;
|
|
1607
1607
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1608
1608
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1623,38 +1623,38 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1623
1623
|
success: boolean;
|
|
1624
1624
|
error?: string | undefined;
|
|
1625
1625
|
components?: {
|
|
1626
|
-
name: string;
|
|
1627
1626
|
description: string;
|
|
1628
1627
|
category: "core" | "complex" | "advanced";
|
|
1629
1628
|
id: string;
|
|
1629
|
+
name: string;
|
|
1630
|
+
tier: number;
|
|
1630
1631
|
variantsCount: number;
|
|
1631
1632
|
hasSubComponents: boolean;
|
|
1632
|
-
tier: number;
|
|
1633
1633
|
}[] | undefined;
|
|
1634
|
+
count?: number | undefined;
|
|
1634
1635
|
categories?: {
|
|
1635
1636
|
core: number;
|
|
1636
1637
|
complex: number;
|
|
1637
1638
|
advanced: number;
|
|
1638
1639
|
} | undefined;
|
|
1639
|
-
count?: number | undefined;
|
|
1640
1640
|
}, {
|
|
1641
1641
|
success: boolean;
|
|
1642
1642
|
error?: string | undefined;
|
|
1643
1643
|
components?: {
|
|
1644
|
-
name: string;
|
|
1645
1644
|
description: string;
|
|
1646
1645
|
category: "core" | "complex" | "advanced";
|
|
1647
1646
|
id: string;
|
|
1647
|
+
name: string;
|
|
1648
|
+
tier: number;
|
|
1648
1649
|
variantsCount: number;
|
|
1649
1650
|
hasSubComponents: boolean;
|
|
1650
|
-
tier: number;
|
|
1651
1651
|
}[] | undefined;
|
|
1652
|
+
count?: number | undefined;
|
|
1652
1653
|
categories?: {
|
|
1653
1654
|
core: number;
|
|
1654
1655
|
complex: number;
|
|
1655
1656
|
advanced: number;
|
|
1656
1657
|
} | undefined;
|
|
1657
|
-
count?: number | undefined;
|
|
1658
1658
|
}>;
|
|
1659
1659
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1660
1660
|
/**
|
|
@@ -1688,14 +1688,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1688
1688
|
type: string;
|
|
1689
1689
|
name: string;
|
|
1690
1690
|
required: boolean;
|
|
1691
|
-
defaultValue?: string | undefined;
|
|
1692
1691
|
description?: string | undefined;
|
|
1692
|
+
defaultValue?: string | undefined;
|
|
1693
1693
|
}, {
|
|
1694
1694
|
type: string;
|
|
1695
1695
|
name: string;
|
|
1696
1696
|
required: boolean;
|
|
1697
|
-
defaultValue?: string | undefined;
|
|
1698
1697
|
description?: string | undefined;
|
|
1698
|
+
defaultValue?: string | undefined;
|
|
1699
1699
|
}>;
|
|
1700
1700
|
export type PropDefinition = z.infer<typeof PropDefinitionSchema>;
|
|
1701
1701
|
/**
|
|
@@ -1753,14 +1753,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1753
1753
|
type: string;
|
|
1754
1754
|
name: string;
|
|
1755
1755
|
required: boolean;
|
|
1756
|
-
defaultValue?: string | undefined;
|
|
1757
1756
|
description?: string | undefined;
|
|
1757
|
+
defaultValue?: string | undefined;
|
|
1758
1758
|
}, {
|
|
1759
1759
|
type: string;
|
|
1760
1760
|
name: string;
|
|
1761
1761
|
required: boolean;
|
|
1762
|
-
defaultValue?: string | undefined;
|
|
1763
1762
|
description?: string | undefined;
|
|
1763
|
+
defaultValue?: string | undefined;
|
|
1764
1764
|
}>, "many">;
|
|
1765
1765
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1766
1766
|
name: z.ZodString;
|
|
@@ -1781,11 +1781,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1781
1781
|
internal: z.ZodArray<z.ZodString, "many">;
|
|
1782
1782
|
external: z.ZodArray<z.ZodString, "many">;
|
|
1783
1783
|
}, "strip", z.ZodTypeAny, {
|
|
1784
|
-
internal: string[];
|
|
1785
1784
|
external: string[];
|
|
1786
|
-
}, {
|
|
1787
1785
|
internal: string[];
|
|
1786
|
+
}, {
|
|
1788
1787
|
external: string[];
|
|
1788
|
+
internal: string[];
|
|
1789
1789
|
}>>;
|
|
1790
1790
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1791
1791
|
title: z.ZodString;
|
|
@@ -1802,134 +1802,134 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1802
1802
|
}>, "many">>;
|
|
1803
1803
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
1804
1804
|
}, "strip", z.ZodTypeAny, {
|
|
1805
|
-
name: string;
|
|
1806
|
-
description: string;
|
|
1807
|
-
category: "core" | "complex" | "advanced";
|
|
1808
|
-
id: string;
|
|
1809
1805
|
props: {
|
|
1810
1806
|
type: string;
|
|
1811
1807
|
name: string;
|
|
1812
1808
|
required: boolean;
|
|
1813
|
-
defaultValue?: string | undefined;
|
|
1814
1809
|
description?: string | undefined;
|
|
1810
|
+
defaultValue?: string | undefined;
|
|
1815
1811
|
}[];
|
|
1816
|
-
|
|
1812
|
+
description: string;
|
|
1813
|
+
category: "core" | "complex" | "advanced";
|
|
1814
|
+
id: string;
|
|
1815
|
+
name: string;
|
|
1817
1816
|
tier: number;
|
|
1817
|
+
importStatement: string;
|
|
1818
|
+
dependencies?: {
|
|
1819
|
+
external: string[];
|
|
1820
|
+
internal: string[];
|
|
1821
|
+
} | undefined;
|
|
1818
1822
|
variants?: {
|
|
1819
1823
|
value: string;
|
|
1820
1824
|
name: string;
|
|
1821
1825
|
description?: string | undefined;
|
|
1822
1826
|
}[] | undefined;
|
|
1823
|
-
accessibility?: string | undefined;
|
|
1824
1827
|
subComponents?: string[] | undefined;
|
|
1825
1828
|
examples?: {
|
|
1826
1829
|
code: string;
|
|
1827
1830
|
title: string;
|
|
1828
1831
|
description?: string | undefined;
|
|
1829
1832
|
}[] | undefined;
|
|
1830
|
-
|
|
1831
|
-
internal: string[];
|
|
1832
|
-
external: string[];
|
|
1833
|
-
} | undefined;
|
|
1833
|
+
accessibility?: string | undefined;
|
|
1834
1834
|
}, {
|
|
1835
|
-
name: string;
|
|
1836
|
-
description: string;
|
|
1837
|
-
category: "core" | "complex" | "advanced";
|
|
1838
|
-
id: string;
|
|
1839
1835
|
props: {
|
|
1840
1836
|
type: string;
|
|
1841
1837
|
name: string;
|
|
1842
1838
|
required: boolean;
|
|
1843
|
-
defaultValue?: string | undefined;
|
|
1844
1839
|
description?: string | undefined;
|
|
1840
|
+
defaultValue?: string | undefined;
|
|
1845
1841
|
}[];
|
|
1846
|
-
|
|
1842
|
+
description: string;
|
|
1843
|
+
category: "core" | "complex" | "advanced";
|
|
1844
|
+
id: string;
|
|
1845
|
+
name: string;
|
|
1847
1846
|
tier: number;
|
|
1847
|
+
importStatement: string;
|
|
1848
|
+
dependencies?: {
|
|
1849
|
+
external: string[];
|
|
1850
|
+
internal: string[];
|
|
1851
|
+
} | undefined;
|
|
1848
1852
|
variants?: {
|
|
1849
1853
|
value: string;
|
|
1850
1854
|
name: string;
|
|
1851
1855
|
description?: string | undefined;
|
|
1852
1856
|
}[] | undefined;
|
|
1853
|
-
accessibility?: string | undefined;
|
|
1854
1857
|
subComponents?: string[] | undefined;
|
|
1855
1858
|
examples?: {
|
|
1856
1859
|
code: string;
|
|
1857
1860
|
title: string;
|
|
1858
1861
|
description?: string | undefined;
|
|
1859
1862
|
}[] | undefined;
|
|
1860
|
-
|
|
1861
|
-
internal: string[];
|
|
1862
|
-
external: string[];
|
|
1863
|
-
} | undefined;
|
|
1863
|
+
accessibility?: string | undefined;
|
|
1864
1864
|
}>>;
|
|
1865
1865
|
error: z.ZodOptional<z.ZodString>;
|
|
1866
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1867
1867
|
success: boolean;
|
|
1868
1868
|
error?: string | undefined;
|
|
1869
1869
|
component?: {
|
|
1870
|
-
name: string;
|
|
1871
|
-
description: string;
|
|
1872
|
-
category: "core" | "complex" | "advanced";
|
|
1873
|
-
id: string;
|
|
1874
1870
|
props: {
|
|
1875
1871
|
type: string;
|
|
1876
1872
|
name: string;
|
|
1877
1873
|
required: boolean;
|
|
1878
|
-
defaultValue?: string | undefined;
|
|
1879
1874
|
description?: string | undefined;
|
|
1875
|
+
defaultValue?: string | undefined;
|
|
1880
1876
|
}[];
|
|
1881
|
-
|
|
1877
|
+
description: string;
|
|
1878
|
+
category: "core" | "complex" | "advanced";
|
|
1879
|
+
id: string;
|
|
1880
|
+
name: string;
|
|
1882
1881
|
tier: number;
|
|
1882
|
+
importStatement: string;
|
|
1883
|
+
dependencies?: {
|
|
1884
|
+
external: string[];
|
|
1885
|
+
internal: string[];
|
|
1886
|
+
} | undefined;
|
|
1883
1887
|
variants?: {
|
|
1884
1888
|
value: string;
|
|
1885
1889
|
name: string;
|
|
1886
1890
|
description?: string | undefined;
|
|
1887
1891
|
}[] | undefined;
|
|
1888
|
-
accessibility?: string | undefined;
|
|
1889
1892
|
subComponents?: string[] | undefined;
|
|
1890
1893
|
examples?: {
|
|
1891
1894
|
code: string;
|
|
1892
1895
|
title: string;
|
|
1893
1896
|
description?: string | undefined;
|
|
1894
1897
|
}[] | undefined;
|
|
1895
|
-
|
|
1896
|
-
internal: string[];
|
|
1897
|
-
external: string[];
|
|
1898
|
-
} | undefined;
|
|
1898
|
+
accessibility?: string | undefined;
|
|
1899
1899
|
} | undefined;
|
|
1900
1900
|
}, {
|
|
1901
1901
|
success: boolean;
|
|
1902
1902
|
error?: string | undefined;
|
|
1903
1903
|
component?: {
|
|
1904
|
-
name: string;
|
|
1905
|
-
description: string;
|
|
1906
|
-
category: "core" | "complex" | "advanced";
|
|
1907
|
-
id: string;
|
|
1908
1904
|
props: {
|
|
1909
1905
|
type: string;
|
|
1910
1906
|
name: string;
|
|
1911
1907
|
required: boolean;
|
|
1912
|
-
defaultValue?: string | undefined;
|
|
1913
1908
|
description?: string | undefined;
|
|
1909
|
+
defaultValue?: string | undefined;
|
|
1914
1910
|
}[];
|
|
1915
|
-
|
|
1911
|
+
description: string;
|
|
1912
|
+
category: "core" | "complex" | "advanced";
|
|
1913
|
+
id: string;
|
|
1914
|
+
name: string;
|
|
1916
1915
|
tier: number;
|
|
1916
|
+
importStatement: string;
|
|
1917
|
+
dependencies?: {
|
|
1918
|
+
external: string[];
|
|
1919
|
+
internal: string[];
|
|
1920
|
+
} | undefined;
|
|
1917
1921
|
variants?: {
|
|
1918
1922
|
value: string;
|
|
1919
1923
|
name: string;
|
|
1920
1924
|
description?: string | undefined;
|
|
1921
1925
|
}[] | undefined;
|
|
1922
|
-
accessibility?: string | undefined;
|
|
1923
1926
|
subComponents?: string[] | undefined;
|
|
1924
1927
|
examples?: {
|
|
1925
1928
|
code: string;
|
|
1926
1929
|
title: string;
|
|
1927
1930
|
description?: string | undefined;
|
|
1928
1931
|
}[] | undefined;
|
|
1929
|
-
|
|
1930
|
-
internal: string[];
|
|
1931
|
-
external: string[];
|
|
1932
|
-
} | undefined;
|
|
1932
|
+
accessibility?: string | undefined;
|
|
1933
1933
|
} | undefined;
|
|
1934
1934
|
}>;
|
|
1935
1935
|
export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
|
|
@@ -1946,11 +1946,11 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
1946
1946
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
1947
1947
|
search: z.ZodOptional<z.ZodString>;
|
|
1948
1948
|
}, "strip", z.ZodTypeAny, {
|
|
1949
|
-
category: "auth" | "dashboard" | "
|
|
1949
|
+
category: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback";
|
|
1950
1950
|
search?: string | undefined;
|
|
1951
1951
|
}, {
|
|
1952
|
-
category?: "auth" | "dashboard" | "form" | "feedback" | "marketing" | "all" | undefined;
|
|
1953
1952
|
search?: string | undefined;
|
|
1953
|
+
category?: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback" | undefined;
|
|
1954
1954
|
}>;
|
|
1955
1955
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
1956
1956
|
/**
|
|
@@ -1971,22 +1971,22 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1971
1971
|
version: z.ZodString;
|
|
1972
1972
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1973
1973
|
}, "strip", z.ZodTypeAny, {
|
|
1974
|
-
name: string;
|
|
1975
1974
|
description: string;
|
|
1976
|
-
category: "auth" | "dashboard" | "form" | "
|
|
1975
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1977
1976
|
id: string;
|
|
1977
|
+
name: string;
|
|
1978
1978
|
version: string;
|
|
1979
1979
|
requiredComponentsCount: number;
|
|
1980
|
-
layoutType: "
|
|
1980
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
1981
1981
|
tags?: string[] | undefined;
|
|
1982
1982
|
}, {
|
|
1983
|
-
name: string;
|
|
1984
1983
|
description: string;
|
|
1985
|
-
category: "auth" | "dashboard" | "form" | "
|
|
1984
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1986
1985
|
id: string;
|
|
1986
|
+
name: string;
|
|
1987
1987
|
version: string;
|
|
1988
1988
|
requiredComponentsCount: number;
|
|
1989
|
-
layoutType: "
|
|
1989
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
1990
1990
|
tags?: string[] | undefined;
|
|
1991
1991
|
}>;
|
|
1992
1992
|
export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
|
|
@@ -2005,22 +2005,22 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2005
2005
|
version: z.ZodString;
|
|
2006
2006
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2007
2007
|
}, "strip", z.ZodTypeAny, {
|
|
2008
|
-
name: string;
|
|
2009
2008
|
description: string;
|
|
2010
|
-
category: "auth" | "dashboard" | "form" | "
|
|
2009
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2011
2010
|
id: string;
|
|
2011
|
+
name: string;
|
|
2012
2012
|
version: string;
|
|
2013
2013
|
requiredComponentsCount: number;
|
|
2014
|
-
layoutType: "
|
|
2014
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2015
2015
|
tags?: string[] | undefined;
|
|
2016
2016
|
}, {
|
|
2017
|
-
name: string;
|
|
2018
2017
|
description: string;
|
|
2019
|
-
category: "auth" | "dashboard" | "form" | "
|
|
2018
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2020
2019
|
id: string;
|
|
2020
|
+
name: string;
|
|
2021
2021
|
version: string;
|
|
2022
2022
|
requiredComponentsCount: number;
|
|
2023
|
-
layoutType: "
|
|
2023
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2024
2024
|
tags?: string[] | undefined;
|
|
2025
2025
|
}>, "many">>;
|
|
2026
2026
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2034,56 +2034,56 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2034
2034
|
auth: number;
|
|
2035
2035
|
dashboard: number;
|
|
2036
2036
|
form: number;
|
|
2037
|
-
feedback: number;
|
|
2038
2037
|
marketing: number;
|
|
2038
|
+
feedback: number;
|
|
2039
2039
|
}, {
|
|
2040
2040
|
auth: number;
|
|
2041
2041
|
dashboard: number;
|
|
2042
2042
|
form: number;
|
|
2043
|
-
feedback: number;
|
|
2044
2043
|
marketing: number;
|
|
2044
|
+
feedback: number;
|
|
2045
2045
|
}>>;
|
|
2046
2046
|
error: z.ZodOptional<z.ZodString>;
|
|
2047
2047
|
}, "strip", z.ZodTypeAny, {
|
|
2048
2048
|
success: boolean;
|
|
2049
2049
|
error?: string | undefined;
|
|
2050
|
+
count?: number | undefined;
|
|
2050
2051
|
categories?: {
|
|
2051
2052
|
auth: number;
|
|
2052
2053
|
dashboard: number;
|
|
2053
2054
|
form: number;
|
|
2054
|
-
feedback: number;
|
|
2055
2055
|
marketing: number;
|
|
2056
|
+
feedback: number;
|
|
2056
2057
|
} | undefined;
|
|
2057
|
-
count?: number | undefined;
|
|
2058
2058
|
templates?: {
|
|
2059
|
-
name: string;
|
|
2060
2059
|
description: string;
|
|
2061
|
-
category: "auth" | "dashboard" | "form" | "
|
|
2060
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2062
2061
|
id: string;
|
|
2062
|
+
name: string;
|
|
2063
2063
|
version: string;
|
|
2064
2064
|
requiredComponentsCount: number;
|
|
2065
|
-
layoutType: "
|
|
2065
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2066
2066
|
tags?: string[] | undefined;
|
|
2067
2067
|
}[] | undefined;
|
|
2068
2068
|
}, {
|
|
2069
2069
|
success: boolean;
|
|
2070
2070
|
error?: string | undefined;
|
|
2071
|
+
count?: number | undefined;
|
|
2071
2072
|
categories?: {
|
|
2072
2073
|
auth: number;
|
|
2073
2074
|
dashboard: number;
|
|
2074
2075
|
form: number;
|
|
2075
|
-
feedback: number;
|
|
2076
2076
|
marketing: number;
|
|
2077
|
+
feedback: number;
|
|
2077
2078
|
} | undefined;
|
|
2078
|
-
count?: number | undefined;
|
|
2079
2079
|
templates?: {
|
|
2080
|
-
name: string;
|
|
2081
2080
|
description: string;
|
|
2082
|
-
category: "auth" | "dashboard" | "form" | "
|
|
2081
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2083
2082
|
id: string;
|
|
2083
|
+
name: string;
|
|
2084
2084
|
version: string;
|
|
2085
2085
|
requiredComponentsCount: number;
|
|
2086
|
-
layoutType: "
|
|
2086
|
+
layoutType: "centered" | "sidebar" | "full";
|
|
2087
2087
|
tags?: string[] | undefined;
|
|
2088
2088
|
}[] | undefined;
|
|
2089
2089
|
}>;
|
|
@@ -2115,34 +2115,34 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2115
2115
|
slot: z.ZodString;
|
|
2116
2116
|
required: z.ZodBoolean;
|
|
2117
2117
|
}, "strip", z.ZodTypeAny, {
|
|
2118
|
+
slot: string;
|
|
2119
|
+
id: string;
|
|
2118
2120
|
name: string;
|
|
2119
2121
|
required: boolean;
|
|
2120
|
-
id: string;
|
|
2121
|
-
slot: string;
|
|
2122
2122
|
}, {
|
|
2123
|
+
slot: string;
|
|
2124
|
+
id: string;
|
|
2123
2125
|
name: string;
|
|
2124
2126
|
required: boolean;
|
|
2125
|
-
id: string;
|
|
2126
|
-
slot: string;
|
|
2127
2127
|
}>, "many">;
|
|
2128
2128
|
}, "strip", z.ZodTypeAny, {
|
|
2129
|
+
shell: string;
|
|
2130
|
+
page: string;
|
|
2129
2131
|
sections: {
|
|
2132
|
+
slot: string;
|
|
2133
|
+
id: string;
|
|
2130
2134
|
name: string;
|
|
2131
2135
|
required: boolean;
|
|
2132
|
-
id: string;
|
|
2133
|
-
slot: string;
|
|
2134
2136
|
}[];
|
|
2137
|
+
}, {
|
|
2135
2138
|
shell: string;
|
|
2136
2139
|
page: string;
|
|
2137
|
-
}, {
|
|
2138
2140
|
sections: {
|
|
2141
|
+
slot: string;
|
|
2142
|
+
id: string;
|
|
2139
2143
|
name: string;
|
|
2140
2144
|
required: boolean;
|
|
2141
|
-
id: string;
|
|
2142
|
-
slot: string;
|
|
2143
2145
|
}[];
|
|
2144
|
-
shell: string;
|
|
2145
|
-
page: string;
|
|
2146
2146
|
}>;
|
|
2147
2147
|
export type Skeleton = z.infer<typeof SkeletonSchema>;
|
|
2148
2148
|
/**
|
|
@@ -2153,12 +2153,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2153
2153
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2154
2154
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2155
2155
|
}, "strip", z.ZodTypeAny, {
|
|
2156
|
-
optional: string[];
|
|
2157
2156
|
texts: string[];
|
|
2157
|
+
optional: string[];
|
|
2158
2158
|
slots: string[];
|
|
2159
2159
|
}, {
|
|
2160
|
-
optional: string[];
|
|
2161
2160
|
texts: string[];
|
|
2161
|
+
optional: string[];
|
|
2162
2162
|
slots: string[];
|
|
2163
2163
|
}>;
|
|
2164
2164
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2211,12 +2211,12 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2211
2211
|
gap: string;
|
|
2212
2212
|
columns: number;
|
|
2213
2213
|
};
|
|
2214
|
-
|
|
2214
|
+
tablet: {
|
|
2215
2215
|
padding: string;
|
|
2216
2216
|
gap: string;
|
|
2217
2217
|
columns: number;
|
|
2218
2218
|
};
|
|
2219
|
-
|
|
2219
|
+
desktop: {
|
|
2220
2220
|
padding: string;
|
|
2221
2221
|
gap: string;
|
|
2222
2222
|
columns: number;
|
|
@@ -2227,12 +2227,12 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2227
2227
|
gap: string;
|
|
2228
2228
|
columns: number;
|
|
2229
2229
|
};
|
|
2230
|
-
|
|
2230
|
+
tablet: {
|
|
2231
2231
|
padding: string;
|
|
2232
2232
|
gap: string;
|
|
2233
2233
|
columns: number;
|
|
2234
2234
|
};
|
|
2235
|
-
|
|
2235
|
+
desktop: {
|
|
2236
2236
|
padding: string;
|
|
2237
2237
|
gap: string;
|
|
2238
2238
|
columns: number;
|
|
@@ -2259,34 +2259,34 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2259
2259
|
slot: z.ZodString;
|
|
2260
2260
|
required: z.ZodBoolean;
|
|
2261
2261
|
}, "strip", z.ZodTypeAny, {
|
|
2262
|
+
slot: string;
|
|
2263
|
+
id: string;
|
|
2262
2264
|
name: string;
|
|
2263
2265
|
required: boolean;
|
|
2264
|
-
id: string;
|
|
2265
|
-
slot: string;
|
|
2266
2266
|
}, {
|
|
2267
|
+
slot: string;
|
|
2268
|
+
id: string;
|
|
2267
2269
|
name: string;
|
|
2268
2270
|
required: boolean;
|
|
2269
|
-
id: string;
|
|
2270
|
-
slot: string;
|
|
2271
2271
|
}>, "many">;
|
|
2272
2272
|
}, "strip", z.ZodTypeAny, {
|
|
2273
|
+
shell: string;
|
|
2274
|
+
page: string;
|
|
2273
2275
|
sections: {
|
|
2276
|
+
slot: string;
|
|
2277
|
+
id: string;
|
|
2274
2278
|
name: string;
|
|
2275
2279
|
required: boolean;
|
|
2276
|
-
id: string;
|
|
2277
|
-
slot: string;
|
|
2278
2280
|
}[];
|
|
2281
|
+
}, {
|
|
2279
2282
|
shell: string;
|
|
2280
2283
|
page: string;
|
|
2281
|
-
}, {
|
|
2282
2284
|
sections: {
|
|
2285
|
+
slot: string;
|
|
2286
|
+
id: string;
|
|
2283
2287
|
name: string;
|
|
2284
2288
|
required: boolean;
|
|
2285
|
-
id: string;
|
|
2286
|
-
slot: string;
|
|
2287
2289
|
}[];
|
|
2288
|
-
shell: string;
|
|
2289
|
-
page: string;
|
|
2290
2290
|
}>;
|
|
2291
2291
|
layout: z.ZodObject<{
|
|
2292
2292
|
type: z.ZodEnum<["centered", "sidebar", "full"]>;
|
|
@@ -2336,12 +2336,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2336
2336
|
gap: string;
|
|
2337
2337
|
columns: number;
|
|
2338
2338
|
};
|
|
2339
|
-
|
|
2339
|
+
tablet: {
|
|
2340
2340
|
padding: string;
|
|
2341
2341
|
gap: string;
|
|
2342
2342
|
columns: number;
|
|
2343
2343
|
};
|
|
2344
|
-
|
|
2344
|
+
desktop: {
|
|
2345
2345
|
padding: string;
|
|
2346
2346
|
gap: string;
|
|
2347
2347
|
columns: number;
|
|
@@ -2352,50 +2352,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2352
2352
|
gap: string;
|
|
2353
2353
|
columns: number;
|
|
2354
2354
|
};
|
|
2355
|
-
|
|
2355
|
+
tablet: {
|
|
2356
2356
|
padding: string;
|
|
2357
2357
|
gap: string;
|
|
2358
2358
|
columns: number;
|
|
2359
2359
|
};
|
|
2360
|
-
|
|
2360
|
+
desktop: {
|
|
2361
2361
|
padding: string;
|
|
2362
2362
|
gap: string;
|
|
2363
2363
|
columns: number;
|
|
2364
2364
|
};
|
|
2365
2365
|
}>>;
|
|
2366
2366
|
}, "strip", z.ZodTypeAny, {
|
|
2367
|
-
type: "
|
|
2367
|
+
type: "centered" | "sidebar" | "full";
|
|
2368
2368
|
responsive?: {
|
|
2369
2369
|
mobile: {
|
|
2370
2370
|
padding: string;
|
|
2371
2371
|
gap: string;
|
|
2372
2372
|
columns: number;
|
|
2373
2373
|
};
|
|
2374
|
-
|
|
2374
|
+
tablet: {
|
|
2375
2375
|
padding: string;
|
|
2376
2376
|
gap: string;
|
|
2377
2377
|
columns: number;
|
|
2378
2378
|
};
|
|
2379
|
-
|
|
2379
|
+
desktop: {
|
|
2380
2380
|
padding: string;
|
|
2381
2381
|
gap: string;
|
|
2382
2382
|
columns: number;
|
|
2383
2383
|
};
|
|
2384
2384
|
} | undefined;
|
|
2385
2385
|
}, {
|
|
2386
|
-
type: "
|
|
2386
|
+
type: "centered" | "sidebar" | "full";
|
|
2387
2387
|
responsive?: {
|
|
2388
2388
|
mobile: {
|
|
2389
2389
|
padding: string;
|
|
2390
2390
|
gap: string;
|
|
2391
2391
|
columns: number;
|
|
2392
2392
|
};
|
|
2393
|
-
|
|
2393
|
+
tablet: {
|
|
2394
2394
|
padding: string;
|
|
2395
2395
|
gap: string;
|
|
2396
2396
|
columns: number;
|
|
2397
2397
|
};
|
|
2398
|
-
|
|
2398
|
+
desktop: {
|
|
2399
2399
|
padding: string;
|
|
2400
2400
|
gap: string;
|
|
2401
2401
|
columns: number;
|
|
@@ -2407,12 +2407,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2407
2407
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2408
2408
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2409
2409
|
}, "strip", z.ZodTypeAny, {
|
|
2410
|
-
optional: string[];
|
|
2411
2410
|
texts: string[];
|
|
2411
|
+
optional: string[];
|
|
2412
2412
|
slots: string[];
|
|
2413
2413
|
}, {
|
|
2414
|
-
optional: string[];
|
|
2415
2414
|
texts: string[];
|
|
2415
|
+
optional: string[];
|
|
2416
2416
|
slots: string[];
|
|
2417
2417
|
}>;
|
|
2418
2418
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2434,101 +2434,101 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2434
2434
|
updated: z.ZodString;
|
|
2435
2435
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2436
2436
|
}, "strip", z.ZodTypeAny, {
|
|
2437
|
-
name: string;
|
|
2438
2437
|
description: string;
|
|
2439
|
-
category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
|
|
2440
|
-
id: string;
|
|
2441
|
-
version: string;
|
|
2442
|
-
created: string;
|
|
2443
|
-
updated: string;
|
|
2444
|
-
importStatement: string;
|
|
2445
|
-
skeleton: {
|
|
2446
|
-
sections: {
|
|
2447
|
-
name: string;
|
|
2448
|
-
required: boolean;
|
|
2449
|
-
id: string;
|
|
2450
|
-
slot: string;
|
|
2451
|
-
}[];
|
|
2452
|
-
shell: string;
|
|
2453
|
-
page: string;
|
|
2454
|
-
};
|
|
2455
|
-
requiredComponents: string[];
|
|
2456
2438
|
layout: {
|
|
2457
|
-
type: "
|
|
2439
|
+
type: "centered" | "sidebar" | "full";
|
|
2458
2440
|
responsive?: {
|
|
2459
2441
|
mobile: {
|
|
2460
2442
|
padding: string;
|
|
2461
2443
|
gap: string;
|
|
2462
2444
|
columns: number;
|
|
2463
2445
|
};
|
|
2464
|
-
|
|
2446
|
+
tablet: {
|
|
2465
2447
|
padding: string;
|
|
2466
2448
|
gap: string;
|
|
2467
2449
|
columns: number;
|
|
2468
2450
|
};
|
|
2469
|
-
|
|
2451
|
+
desktop: {
|
|
2470
2452
|
padding: string;
|
|
2471
2453
|
gap: string;
|
|
2472
2454
|
columns: number;
|
|
2473
2455
|
};
|
|
2474
2456
|
} | undefined;
|
|
2475
2457
|
};
|
|
2476
|
-
|
|
2477
|
-
optional: string[];
|
|
2478
|
-
texts: string[];
|
|
2479
|
-
slots: string[];
|
|
2480
|
-
};
|
|
2481
|
-
tags?: string[] | undefined;
|
|
2482
|
-
exampleProps?: {
|
|
2483
|
-
options?: Record<string, boolean> | undefined;
|
|
2484
|
-
texts?: Record<string, string> | undefined;
|
|
2485
|
-
slots?: string[] | undefined;
|
|
2486
|
-
} | undefined;
|
|
2487
|
-
}, {
|
|
2488
|
-
name: string;
|
|
2489
|
-
description: string;
|
|
2490
|
-
category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
|
|
2458
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2491
2459
|
id: string;
|
|
2460
|
+
name: string;
|
|
2492
2461
|
version: string;
|
|
2493
|
-
created: string;
|
|
2494
|
-
updated: string;
|
|
2495
2462
|
importStatement: string;
|
|
2496
2463
|
skeleton: {
|
|
2464
|
+
shell: string;
|
|
2465
|
+
page: string;
|
|
2497
2466
|
sections: {
|
|
2467
|
+
slot: string;
|
|
2468
|
+
id: string;
|
|
2498
2469
|
name: string;
|
|
2499
2470
|
required: boolean;
|
|
2500
|
-
id: string;
|
|
2501
|
-
slot: string;
|
|
2502
2471
|
}[];
|
|
2503
|
-
|
|
2504
|
-
|
|
2472
|
+
};
|
|
2473
|
+
customizable: {
|
|
2474
|
+
texts: string[];
|
|
2475
|
+
optional: string[];
|
|
2476
|
+
slots: string[];
|
|
2505
2477
|
};
|
|
2506
2478
|
requiredComponents: string[];
|
|
2479
|
+
created: string;
|
|
2480
|
+
updated: string;
|
|
2481
|
+
tags?: string[] | undefined;
|
|
2482
|
+
exampleProps?: {
|
|
2483
|
+
options?: Record<string, boolean> | undefined;
|
|
2484
|
+
texts?: Record<string, string> | undefined;
|
|
2485
|
+
slots?: string[] | undefined;
|
|
2486
|
+
} | undefined;
|
|
2487
|
+
}, {
|
|
2488
|
+
description: string;
|
|
2507
2489
|
layout: {
|
|
2508
|
-
type: "
|
|
2490
|
+
type: "centered" | "sidebar" | "full";
|
|
2509
2491
|
responsive?: {
|
|
2510
2492
|
mobile: {
|
|
2511
2493
|
padding: string;
|
|
2512
2494
|
gap: string;
|
|
2513
2495
|
columns: number;
|
|
2514
2496
|
};
|
|
2515
|
-
|
|
2497
|
+
tablet: {
|
|
2516
2498
|
padding: string;
|
|
2517
2499
|
gap: string;
|
|
2518
2500
|
columns: number;
|
|
2519
2501
|
};
|
|
2520
|
-
|
|
2502
|
+
desktop: {
|
|
2521
2503
|
padding: string;
|
|
2522
2504
|
gap: string;
|
|
2523
2505
|
columns: number;
|
|
2524
2506
|
};
|
|
2525
2507
|
} | undefined;
|
|
2526
2508
|
};
|
|
2509
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2510
|
+
id: string;
|
|
2511
|
+
name: string;
|
|
2512
|
+
version: string;
|
|
2513
|
+
importStatement: string;
|
|
2514
|
+
skeleton: {
|
|
2515
|
+
shell: string;
|
|
2516
|
+
page: string;
|
|
2517
|
+
sections: {
|
|
2518
|
+
slot: string;
|
|
2519
|
+
id: string;
|
|
2520
|
+
name: string;
|
|
2521
|
+
required: boolean;
|
|
2522
|
+
}[];
|
|
2523
|
+
};
|
|
2527
2524
|
customizable: {
|
|
2528
|
-
optional: string[];
|
|
2529
2525
|
texts: string[];
|
|
2526
|
+
optional: string[];
|
|
2530
2527
|
slots: string[];
|
|
2531
2528
|
};
|
|
2529
|
+
requiredComponents: string[];
|
|
2530
|
+
created: string;
|
|
2531
|
+
updated: string;
|
|
2532
2532
|
tags?: string[] | undefined;
|
|
2533
2533
|
exampleProps?: {
|
|
2534
2534
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2541,50 +2541,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2541
2541
|
success: boolean;
|
|
2542
2542
|
error?: string | undefined;
|
|
2543
2543
|
template?: {
|
|
2544
|
-
name: string;
|
|
2545
2544
|
description: string;
|
|
2546
|
-
category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
|
|
2547
|
-
id: string;
|
|
2548
|
-
version: string;
|
|
2549
|
-
created: string;
|
|
2550
|
-
updated: string;
|
|
2551
|
-
importStatement: string;
|
|
2552
|
-
skeleton: {
|
|
2553
|
-
sections: {
|
|
2554
|
-
name: string;
|
|
2555
|
-
required: boolean;
|
|
2556
|
-
id: string;
|
|
2557
|
-
slot: string;
|
|
2558
|
-
}[];
|
|
2559
|
-
shell: string;
|
|
2560
|
-
page: string;
|
|
2561
|
-
};
|
|
2562
|
-
requiredComponents: string[];
|
|
2563
2545
|
layout: {
|
|
2564
|
-
type: "
|
|
2546
|
+
type: "centered" | "sidebar" | "full";
|
|
2565
2547
|
responsive?: {
|
|
2566
2548
|
mobile: {
|
|
2567
2549
|
padding: string;
|
|
2568
2550
|
gap: string;
|
|
2569
2551
|
columns: number;
|
|
2570
2552
|
};
|
|
2571
|
-
|
|
2553
|
+
tablet: {
|
|
2572
2554
|
padding: string;
|
|
2573
2555
|
gap: string;
|
|
2574
2556
|
columns: number;
|
|
2575
2557
|
};
|
|
2576
|
-
|
|
2558
|
+
desktop: {
|
|
2577
2559
|
padding: string;
|
|
2578
2560
|
gap: string;
|
|
2579
2561
|
columns: number;
|
|
2580
2562
|
};
|
|
2581
2563
|
} | undefined;
|
|
2582
2564
|
};
|
|
2565
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2566
|
+
id: string;
|
|
2567
|
+
name: string;
|
|
2568
|
+
version: string;
|
|
2569
|
+
importStatement: string;
|
|
2570
|
+
skeleton: {
|
|
2571
|
+
shell: string;
|
|
2572
|
+
page: string;
|
|
2573
|
+
sections: {
|
|
2574
|
+
slot: string;
|
|
2575
|
+
id: string;
|
|
2576
|
+
name: string;
|
|
2577
|
+
required: boolean;
|
|
2578
|
+
}[];
|
|
2579
|
+
};
|
|
2583
2580
|
customizable: {
|
|
2584
|
-
optional: string[];
|
|
2585
2581
|
texts: string[];
|
|
2582
|
+
optional: string[];
|
|
2586
2583
|
slots: string[];
|
|
2587
2584
|
};
|
|
2585
|
+
requiredComponents: string[];
|
|
2586
|
+
created: string;
|
|
2587
|
+
updated: string;
|
|
2588
2588
|
tags?: string[] | undefined;
|
|
2589
2589
|
exampleProps?: {
|
|
2590
2590
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2596,50 +2596,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2596
2596
|
success: boolean;
|
|
2597
2597
|
error?: string | undefined;
|
|
2598
2598
|
template?: {
|
|
2599
|
-
name: string;
|
|
2600
2599
|
description: string;
|
|
2601
|
-
category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
|
|
2602
|
-
id: string;
|
|
2603
|
-
version: string;
|
|
2604
|
-
created: string;
|
|
2605
|
-
updated: string;
|
|
2606
|
-
importStatement: string;
|
|
2607
|
-
skeleton: {
|
|
2608
|
-
sections: {
|
|
2609
|
-
name: string;
|
|
2610
|
-
required: boolean;
|
|
2611
|
-
id: string;
|
|
2612
|
-
slot: string;
|
|
2613
|
-
}[];
|
|
2614
|
-
shell: string;
|
|
2615
|
-
page: string;
|
|
2616
|
-
};
|
|
2617
|
-
requiredComponents: string[];
|
|
2618
2600
|
layout: {
|
|
2619
|
-
type: "
|
|
2601
|
+
type: "centered" | "sidebar" | "full";
|
|
2620
2602
|
responsive?: {
|
|
2621
2603
|
mobile: {
|
|
2622
2604
|
padding: string;
|
|
2623
2605
|
gap: string;
|
|
2624
2606
|
columns: number;
|
|
2625
2607
|
};
|
|
2626
|
-
|
|
2608
|
+
tablet: {
|
|
2627
2609
|
padding: string;
|
|
2628
2610
|
gap: string;
|
|
2629
2611
|
columns: number;
|
|
2630
2612
|
};
|
|
2631
|
-
|
|
2613
|
+
desktop: {
|
|
2632
2614
|
padding: string;
|
|
2633
2615
|
gap: string;
|
|
2634
2616
|
columns: number;
|
|
2635
2617
|
};
|
|
2636
2618
|
} | undefined;
|
|
2637
2619
|
};
|
|
2620
|
+
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2621
|
+
id: string;
|
|
2622
|
+
name: string;
|
|
2623
|
+
version: string;
|
|
2624
|
+
importStatement: string;
|
|
2625
|
+
skeleton: {
|
|
2626
|
+
shell: string;
|
|
2627
|
+
page: string;
|
|
2628
|
+
sections: {
|
|
2629
|
+
slot: string;
|
|
2630
|
+
id: string;
|
|
2631
|
+
name: string;
|
|
2632
|
+
required: boolean;
|
|
2633
|
+
}[];
|
|
2634
|
+
};
|
|
2638
2635
|
customizable: {
|
|
2639
|
-
optional: string[];
|
|
2640
2636
|
texts: string[];
|
|
2637
|
+
optional: string[];
|
|
2641
2638
|
slots: string[];
|
|
2642
2639
|
};
|
|
2640
|
+
requiredComponents: string[];
|
|
2641
|
+
created: string;
|
|
2642
|
+
updated: string;
|
|
2643
2643
|
tags?: string[] | undefined;
|
|
2644
2644
|
exampleProps?: {
|
|
2645
2645
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2685,68 +2685,68 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2685
2685
|
slot: z.ZodString;
|
|
2686
2686
|
required: z.ZodBoolean;
|
|
2687
2687
|
}, "strip", z.ZodTypeAny, {
|
|
2688
|
+
slot: string;
|
|
2689
|
+
id: string;
|
|
2688
2690
|
name: string;
|
|
2689
2691
|
required: boolean;
|
|
2690
|
-
id: string;
|
|
2691
|
-
slot: string;
|
|
2692
2692
|
}, {
|
|
2693
|
+
slot: string;
|
|
2694
|
+
id: string;
|
|
2693
2695
|
name: string;
|
|
2694
2696
|
required: boolean;
|
|
2695
|
-
id: string;
|
|
2696
|
-
slot: string;
|
|
2697
2697
|
}>, "many">;
|
|
2698
2698
|
}, "strip", z.ZodTypeAny, {
|
|
2699
|
+
shell: string;
|
|
2700
|
+
page: string;
|
|
2699
2701
|
sections: {
|
|
2702
|
+
slot: string;
|
|
2703
|
+
id: string;
|
|
2700
2704
|
name: string;
|
|
2701
2705
|
required: boolean;
|
|
2702
|
-
id: string;
|
|
2703
|
-
slot: string;
|
|
2704
2706
|
}[];
|
|
2707
|
+
}, {
|
|
2705
2708
|
shell: string;
|
|
2706
2709
|
page: string;
|
|
2707
|
-
}, {
|
|
2708
2710
|
sections: {
|
|
2711
|
+
slot: string;
|
|
2712
|
+
id: string;
|
|
2709
2713
|
name: string;
|
|
2710
2714
|
required: boolean;
|
|
2711
|
-
id: string;
|
|
2712
|
-
slot: string;
|
|
2713
2715
|
}[];
|
|
2714
|
-
shell: string;
|
|
2715
|
-
page: string;
|
|
2716
2716
|
}>>;
|
|
2717
2717
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2718
2718
|
}, "strip", z.ZodTypeAny, {
|
|
2719
|
-
category: string;
|
|
2720
2719
|
templateId: string;
|
|
2721
2720
|
templateName: string;
|
|
2721
|
+
category: string;
|
|
2722
2722
|
confidence: number;
|
|
2723
2723
|
matchedKeywords: string[];
|
|
2724
2724
|
skeleton?: {
|
|
2725
|
+
shell: string;
|
|
2726
|
+
page: string;
|
|
2725
2727
|
sections: {
|
|
2728
|
+
slot: string;
|
|
2729
|
+
id: string;
|
|
2726
2730
|
name: string;
|
|
2727
2731
|
required: boolean;
|
|
2728
|
-
id: string;
|
|
2729
|
-
slot: string;
|
|
2730
2732
|
}[];
|
|
2731
|
-
shell: string;
|
|
2732
|
-
page: string;
|
|
2733
2733
|
} | undefined;
|
|
2734
2734
|
requiredComponents?: string[] | undefined;
|
|
2735
2735
|
}, {
|
|
2736
|
-
category: string;
|
|
2737
2736
|
templateId: string;
|
|
2738
2737
|
templateName: string;
|
|
2738
|
+
category: string;
|
|
2739
2739
|
confidence: number;
|
|
2740
2740
|
matchedKeywords: string[];
|
|
2741
2741
|
skeleton?: {
|
|
2742
|
+
shell: string;
|
|
2743
|
+
page: string;
|
|
2742
2744
|
sections: {
|
|
2745
|
+
slot: string;
|
|
2746
|
+
id: string;
|
|
2743
2747
|
name: string;
|
|
2744
2748
|
required: boolean;
|
|
2745
|
-
id: string;
|
|
2746
|
-
slot: string;
|
|
2747
2749
|
}[];
|
|
2748
|
-
shell: string;
|
|
2749
|
-
page: string;
|
|
2750
2750
|
} | undefined;
|
|
2751
2751
|
requiredComponents?: string[] | undefined;
|
|
2752
2752
|
}>;
|
|
@@ -2770,14 +2770,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2770
2770
|
type: string;
|
|
2771
2771
|
name: string;
|
|
2772
2772
|
required: boolean;
|
|
2773
|
-
defaultValue?: string | undefined;
|
|
2774
2773
|
description?: string | undefined;
|
|
2774
|
+
defaultValue?: string | undefined;
|
|
2775
2775
|
}, {
|
|
2776
2776
|
type: string;
|
|
2777
2777
|
name: string;
|
|
2778
2778
|
required: boolean;
|
|
2779
|
-
defaultValue?: string | undefined;
|
|
2780
2779
|
description?: string | undefined;
|
|
2780
|
+
defaultValue?: string | undefined;
|
|
2781
2781
|
}>, "many">;
|
|
2782
2782
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2783
2783
|
name: z.ZodString;
|
|
@@ -2793,17 +2793,17 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2793
2793
|
description?: string | undefined;
|
|
2794
2794
|
}>, "many">>;
|
|
2795
2795
|
}, "strip", z.ZodTypeAny, {
|
|
2796
|
-
name: string;
|
|
2797
|
-
description: string;
|
|
2798
|
-
category: "core" | "complex" | "advanced";
|
|
2799
|
-
id: string;
|
|
2800
2796
|
props: {
|
|
2801
2797
|
type: string;
|
|
2802
2798
|
name: string;
|
|
2803
2799
|
required: boolean;
|
|
2804
|
-
defaultValue?: string | undefined;
|
|
2805
2800
|
description?: string | undefined;
|
|
2801
|
+
defaultValue?: string | undefined;
|
|
2806
2802
|
}[];
|
|
2803
|
+
description: string;
|
|
2804
|
+
category: "core" | "complex" | "advanced";
|
|
2805
|
+
id: string;
|
|
2806
|
+
name: string;
|
|
2807
2807
|
importStatement: string;
|
|
2808
2808
|
variants?: {
|
|
2809
2809
|
value: string;
|
|
@@ -2811,17 +2811,17 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2811
2811
|
description?: string | undefined;
|
|
2812
2812
|
}[] | undefined;
|
|
2813
2813
|
}, {
|
|
2814
|
-
name: string;
|
|
2815
|
-
description: string;
|
|
2816
|
-
category: "core" | "complex" | "advanced";
|
|
2817
|
-
id: string;
|
|
2818
2814
|
props: {
|
|
2819
2815
|
type: string;
|
|
2820
2816
|
name: string;
|
|
2821
2817
|
required: boolean;
|
|
2822
|
-
defaultValue?: string | undefined;
|
|
2823
2818
|
description?: string | undefined;
|
|
2819
|
+
defaultValue?: string | undefined;
|
|
2824
2820
|
}[];
|
|
2821
|
+
description: string;
|
|
2822
|
+
category: "core" | "complex" | "advanced";
|
|
2823
|
+
id: string;
|
|
2824
|
+
name: string;
|
|
2825
2825
|
importStatement: string;
|
|
2826
2826
|
variants?: {
|
|
2827
2827
|
value: string;
|
|
@@ -2859,21 +2859,21 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2859
2859
|
}>, "many">;
|
|
2860
2860
|
}, "strip", z.ZodTypeAny, {
|
|
2861
2861
|
id: string;
|
|
2862
|
-
pattern: string;
|
|
2863
2862
|
components: {
|
|
2864
2863
|
type: string;
|
|
2865
2864
|
props?: Record<string, unknown> | undefined;
|
|
2866
2865
|
children?: string | unknown[] | undefined;
|
|
2867
2866
|
}[];
|
|
2867
|
+
pattern: string;
|
|
2868
2868
|
slot?: string | undefined;
|
|
2869
2869
|
}, {
|
|
2870
2870
|
id: string;
|
|
2871
|
-
pattern: string;
|
|
2872
2871
|
components: {
|
|
2873
2872
|
type: string;
|
|
2874
2873
|
props?: Record<string, unknown> | undefined;
|
|
2875
2874
|
children?: string | unknown[] | undefined;
|
|
2876
2875
|
}[];
|
|
2876
|
+
pattern: string;
|
|
2877
2877
|
slot?: string | undefined;
|
|
2878
2878
|
}>, "many">;
|
|
2879
2879
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2883,60 +2883,60 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2883
2883
|
updated: z.ZodOptional<z.ZodString>;
|
|
2884
2884
|
}, "strip", z.ZodTypeAny, {
|
|
2885
2885
|
version?: string | undefined;
|
|
2886
|
-
author?: string | undefined;
|
|
2887
2886
|
created?: string | undefined;
|
|
2888
2887
|
updated?: string | undefined;
|
|
2888
|
+
author?: string | undefined;
|
|
2889
2889
|
}, {
|
|
2890
2890
|
version?: string | undefined;
|
|
2891
|
-
author?: string | undefined;
|
|
2892
2891
|
created?: string | undefined;
|
|
2893
2892
|
updated?: string | undefined;
|
|
2893
|
+
author?: string | undefined;
|
|
2894
2894
|
}>>;
|
|
2895
2895
|
}, "strip", z.ZodTypeAny, {
|
|
2896
|
+
shell: string;
|
|
2897
|
+
page: string;
|
|
2898
|
+
id: string;
|
|
2896
2899
|
sections: {
|
|
2897
2900
|
id: string;
|
|
2898
|
-
pattern: string;
|
|
2899
2901
|
components: {
|
|
2900
2902
|
type: string;
|
|
2901
2903
|
props?: Record<string, unknown> | undefined;
|
|
2902
2904
|
children?: string | unknown[] | undefined;
|
|
2903
2905
|
}[];
|
|
2906
|
+
pattern: string;
|
|
2904
2907
|
slot?: string | undefined;
|
|
2905
2908
|
}[];
|
|
2906
|
-
id: string;
|
|
2907
|
-
shell: string;
|
|
2908
|
-
page: string;
|
|
2909
|
-
name?: string | undefined;
|
|
2910
2909
|
description?: string | undefined;
|
|
2911
2910
|
themeId?: string | undefined;
|
|
2911
|
+
name?: string | undefined;
|
|
2912
2912
|
metadata?: {
|
|
2913
2913
|
version?: string | undefined;
|
|
2914
|
-
author?: string | undefined;
|
|
2915
2914
|
created?: string | undefined;
|
|
2916
2915
|
updated?: string | undefined;
|
|
2916
|
+
author?: string | undefined;
|
|
2917
2917
|
} | undefined;
|
|
2918
2918
|
}, {
|
|
2919
|
+
shell: string;
|
|
2920
|
+
page: string;
|
|
2921
|
+
id: string;
|
|
2919
2922
|
sections: {
|
|
2920
2923
|
id: string;
|
|
2921
|
-
pattern: string;
|
|
2922
2924
|
components: {
|
|
2923
2925
|
type: string;
|
|
2924
2926
|
props?: Record<string, unknown> | undefined;
|
|
2925
2927
|
children?: string | unknown[] | undefined;
|
|
2926
2928
|
}[];
|
|
2929
|
+
pattern: string;
|
|
2927
2930
|
slot?: string | undefined;
|
|
2928
2931
|
}[];
|
|
2929
|
-
id: string;
|
|
2930
|
-
shell: string;
|
|
2931
|
-
page: string;
|
|
2932
|
-
name?: string | undefined;
|
|
2933
2932
|
description?: string | undefined;
|
|
2934
2933
|
themeId?: string | undefined;
|
|
2934
|
+
name?: string | undefined;
|
|
2935
2935
|
metadata?: {
|
|
2936
2936
|
version?: string | undefined;
|
|
2937
|
-
author?: string | undefined;
|
|
2938
2937
|
created?: string | undefined;
|
|
2939
2938
|
updated?: string | undefined;
|
|
2939
|
+
author?: string | undefined;
|
|
2940
2940
|
} | undefined;
|
|
2941
2941
|
}>;
|
|
2942
2942
|
export type ScreenDefinition = z.infer<typeof ScreenDefinitionSchema>;
|
|
@@ -2972,21 +2972,21 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2972
2972
|
}>, "many">;
|
|
2973
2973
|
}, "strip", z.ZodTypeAny, {
|
|
2974
2974
|
id: string;
|
|
2975
|
-
pattern: string;
|
|
2976
2975
|
components: {
|
|
2977
2976
|
type: string;
|
|
2978
2977
|
props?: Record<string, unknown> | undefined;
|
|
2979
2978
|
children?: string | unknown[] | undefined;
|
|
2980
2979
|
}[];
|
|
2980
|
+
pattern: string;
|
|
2981
2981
|
slot?: string | undefined;
|
|
2982
2982
|
}, {
|
|
2983
2983
|
id: string;
|
|
2984
|
-
pattern: string;
|
|
2985
2984
|
components: {
|
|
2986
2985
|
type: string;
|
|
2987
2986
|
props?: Record<string, unknown> | undefined;
|
|
2988
2987
|
children?: string | unknown[] | undefined;
|
|
2989
2988
|
}[];
|
|
2989
|
+
pattern: string;
|
|
2990
2990
|
slot?: string | undefined;
|
|
2991
2991
|
}>, "many">;
|
|
2992
2992
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2996,114 +2996,114 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2996
2996
|
updated: z.ZodOptional<z.ZodString>;
|
|
2997
2997
|
}, "strip", z.ZodTypeAny, {
|
|
2998
2998
|
version?: string | undefined;
|
|
2999
|
-
author?: string | undefined;
|
|
3000
2999
|
created?: string | undefined;
|
|
3001
3000
|
updated?: string | undefined;
|
|
3001
|
+
author?: string | undefined;
|
|
3002
3002
|
}, {
|
|
3003
3003
|
version?: string | undefined;
|
|
3004
|
-
author?: string | undefined;
|
|
3005
3004
|
created?: string | undefined;
|
|
3006
3005
|
updated?: string | undefined;
|
|
3006
|
+
author?: string | undefined;
|
|
3007
3007
|
}>>;
|
|
3008
3008
|
}, "strip", z.ZodTypeAny, {
|
|
3009
|
+
shell: string;
|
|
3010
|
+
page: string;
|
|
3011
|
+
id: string;
|
|
3009
3012
|
sections: {
|
|
3010
3013
|
id: string;
|
|
3011
|
-
pattern: string;
|
|
3012
3014
|
components: {
|
|
3013
3015
|
type: string;
|
|
3014
3016
|
props?: Record<string, unknown> | undefined;
|
|
3015
3017
|
children?: string | unknown[] | undefined;
|
|
3016
3018
|
}[];
|
|
3019
|
+
pattern: string;
|
|
3017
3020
|
slot?: string | undefined;
|
|
3018
3021
|
}[];
|
|
3019
|
-
id: string;
|
|
3020
|
-
shell: string;
|
|
3021
|
-
page: string;
|
|
3022
|
-
name?: string | undefined;
|
|
3023
3022
|
description?: string | undefined;
|
|
3024
3023
|
themeId?: string | undefined;
|
|
3024
|
+
name?: string | undefined;
|
|
3025
3025
|
metadata?: {
|
|
3026
3026
|
version?: string | undefined;
|
|
3027
|
-
author?: string | undefined;
|
|
3028
3027
|
created?: string | undefined;
|
|
3029
3028
|
updated?: string | undefined;
|
|
3029
|
+
author?: string | undefined;
|
|
3030
3030
|
} | undefined;
|
|
3031
3031
|
}, {
|
|
3032
|
+
shell: string;
|
|
3033
|
+
page: string;
|
|
3034
|
+
id: string;
|
|
3032
3035
|
sections: {
|
|
3033
3036
|
id: string;
|
|
3034
|
-
pattern: string;
|
|
3035
3037
|
components: {
|
|
3036
3038
|
type: string;
|
|
3037
3039
|
props?: Record<string, unknown> | undefined;
|
|
3038
3040
|
children?: string | unknown[] | undefined;
|
|
3039
3041
|
}[];
|
|
3042
|
+
pattern: string;
|
|
3040
3043
|
slot?: string | undefined;
|
|
3041
3044
|
}[];
|
|
3042
|
-
id: string;
|
|
3043
|
-
shell: string;
|
|
3044
|
-
page: string;
|
|
3045
|
-
name?: string | undefined;
|
|
3046
3045
|
description?: string | undefined;
|
|
3047
3046
|
themeId?: string | undefined;
|
|
3047
|
+
name?: string | undefined;
|
|
3048
3048
|
metadata?: {
|
|
3049
3049
|
version?: string | undefined;
|
|
3050
|
-
author?: string | undefined;
|
|
3051
3050
|
created?: string | undefined;
|
|
3052
3051
|
updated?: string | undefined;
|
|
3052
|
+
author?: string | undefined;
|
|
3053
3053
|
} | undefined;
|
|
3054
3054
|
}>;
|
|
3055
3055
|
}, "strip", z.ZodTypeAny, {
|
|
3056
|
-
name: string;
|
|
3057
3056
|
description: string;
|
|
3057
|
+
name: string;
|
|
3058
3058
|
definition: {
|
|
3059
|
+
shell: string;
|
|
3060
|
+
page: string;
|
|
3061
|
+
id: string;
|
|
3059
3062
|
sections: {
|
|
3060
3063
|
id: string;
|
|
3061
|
-
pattern: string;
|
|
3062
3064
|
components: {
|
|
3063
3065
|
type: string;
|
|
3064
3066
|
props?: Record<string, unknown> | undefined;
|
|
3065
3067
|
children?: string | unknown[] | undefined;
|
|
3066
3068
|
}[];
|
|
3069
|
+
pattern: string;
|
|
3067
3070
|
slot?: string | undefined;
|
|
3068
3071
|
}[];
|
|
3069
|
-
id: string;
|
|
3070
|
-
shell: string;
|
|
3071
|
-
page: string;
|
|
3072
|
-
name?: string | undefined;
|
|
3073
3072
|
description?: string | undefined;
|
|
3074
3073
|
themeId?: string | undefined;
|
|
3074
|
+
name?: string | undefined;
|
|
3075
3075
|
metadata?: {
|
|
3076
3076
|
version?: string | undefined;
|
|
3077
|
-
author?: string | undefined;
|
|
3078
3077
|
created?: string | undefined;
|
|
3079
3078
|
updated?: string | undefined;
|
|
3079
|
+
author?: string | undefined;
|
|
3080
3080
|
} | undefined;
|
|
3081
3081
|
};
|
|
3082
3082
|
}, {
|
|
3083
|
-
name: string;
|
|
3084
3083
|
description: string;
|
|
3084
|
+
name: string;
|
|
3085
3085
|
definition: {
|
|
3086
|
+
shell: string;
|
|
3087
|
+
page: string;
|
|
3088
|
+
id: string;
|
|
3086
3089
|
sections: {
|
|
3087
3090
|
id: string;
|
|
3088
|
-
pattern: string;
|
|
3089
3091
|
components: {
|
|
3090
3092
|
type: string;
|
|
3091
3093
|
props?: Record<string, unknown> | undefined;
|
|
3092
3094
|
children?: string | unknown[] | undefined;
|
|
3093
3095
|
}[];
|
|
3096
|
+
pattern: string;
|
|
3094
3097
|
slot?: string | undefined;
|
|
3095
3098
|
}[];
|
|
3096
|
-
id: string;
|
|
3097
|
-
shell: string;
|
|
3098
|
-
page: string;
|
|
3099
|
-
name?: string | undefined;
|
|
3100
3099
|
description?: string | undefined;
|
|
3101
3100
|
themeId?: string | undefined;
|
|
3101
|
+
name?: string | undefined;
|
|
3102
3102
|
metadata?: {
|
|
3103
3103
|
version?: string | undefined;
|
|
3104
|
-
author?: string | undefined;
|
|
3105
3104
|
created?: string | undefined;
|
|
3106
3105
|
updated?: string | undefined;
|
|
3106
|
+
author?: string | undefined;
|
|
3107
3107
|
} | undefined;
|
|
3108
3108
|
};
|
|
3109
3109
|
}>;
|
|
@@ -3135,12 +3135,12 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3135
3135
|
example: z.ZodOptional<z.ZodString>;
|
|
3136
3136
|
}, "strip", z.ZodTypeAny, {
|
|
3137
3137
|
message: string;
|
|
3138
|
-
category: "
|
|
3138
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3139
3139
|
priority: "high" | "medium" | "low";
|
|
3140
3140
|
example?: string | undefined;
|
|
3141
3141
|
}, {
|
|
3142
3142
|
message: string;
|
|
3143
|
-
category: "
|
|
3143
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3144
3144
|
priority: "high" | "medium" | "low";
|
|
3145
3145
|
example?: string | undefined;
|
|
3146
3146
|
}>;
|
|
@@ -3240,68 +3240,68 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3240
3240
|
slot: z.ZodString;
|
|
3241
3241
|
required: z.ZodBoolean;
|
|
3242
3242
|
}, "strip", z.ZodTypeAny, {
|
|
3243
|
+
slot: string;
|
|
3244
|
+
id: string;
|
|
3243
3245
|
name: string;
|
|
3244
3246
|
required: boolean;
|
|
3245
|
-
id: string;
|
|
3246
|
-
slot: string;
|
|
3247
3247
|
}, {
|
|
3248
|
+
slot: string;
|
|
3249
|
+
id: string;
|
|
3248
3250
|
name: string;
|
|
3249
3251
|
required: boolean;
|
|
3250
|
-
id: string;
|
|
3251
|
-
slot: string;
|
|
3252
3252
|
}>, "many">;
|
|
3253
3253
|
}, "strip", z.ZodTypeAny, {
|
|
3254
|
+
shell: string;
|
|
3255
|
+
page: string;
|
|
3254
3256
|
sections: {
|
|
3257
|
+
slot: string;
|
|
3258
|
+
id: string;
|
|
3255
3259
|
name: string;
|
|
3256
3260
|
required: boolean;
|
|
3257
|
-
id: string;
|
|
3258
|
-
slot: string;
|
|
3259
3261
|
}[];
|
|
3262
|
+
}, {
|
|
3260
3263
|
shell: string;
|
|
3261
3264
|
page: string;
|
|
3262
|
-
}, {
|
|
3263
3265
|
sections: {
|
|
3266
|
+
slot: string;
|
|
3267
|
+
id: string;
|
|
3264
3268
|
name: string;
|
|
3265
3269
|
required: boolean;
|
|
3266
|
-
id: string;
|
|
3267
|
-
slot: string;
|
|
3268
3270
|
}[];
|
|
3269
|
-
shell: string;
|
|
3270
|
-
page: string;
|
|
3271
3271
|
}>>;
|
|
3272
3272
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3273
3273
|
}, "strip", z.ZodTypeAny, {
|
|
3274
|
-
category: string;
|
|
3275
3274
|
templateId: string;
|
|
3276
3275
|
templateName: string;
|
|
3276
|
+
category: string;
|
|
3277
3277
|
confidence: number;
|
|
3278
3278
|
matchedKeywords: string[];
|
|
3279
3279
|
skeleton?: {
|
|
3280
|
+
shell: string;
|
|
3281
|
+
page: string;
|
|
3280
3282
|
sections: {
|
|
3283
|
+
slot: string;
|
|
3284
|
+
id: string;
|
|
3281
3285
|
name: string;
|
|
3282
3286
|
required: boolean;
|
|
3283
|
-
id: string;
|
|
3284
|
-
slot: string;
|
|
3285
3287
|
}[];
|
|
3286
|
-
shell: string;
|
|
3287
|
-
page: string;
|
|
3288
3288
|
} | undefined;
|
|
3289
3289
|
requiredComponents?: string[] | undefined;
|
|
3290
3290
|
}, {
|
|
3291
|
-
category: string;
|
|
3292
3291
|
templateId: string;
|
|
3293
3292
|
templateName: string;
|
|
3293
|
+
category: string;
|
|
3294
3294
|
confidence: number;
|
|
3295
3295
|
matchedKeywords: string[];
|
|
3296
3296
|
skeleton?: {
|
|
3297
|
+
shell: string;
|
|
3298
|
+
page: string;
|
|
3297
3299
|
sections: {
|
|
3300
|
+
slot: string;
|
|
3301
|
+
id: string;
|
|
3298
3302
|
name: string;
|
|
3299
3303
|
required: boolean;
|
|
3300
|
-
id: string;
|
|
3301
|
-
slot: string;
|
|
3302
3304
|
}[];
|
|
3303
|
-
shell: string;
|
|
3304
|
-
page: string;
|
|
3305
3305
|
} | undefined;
|
|
3306
3306
|
requiredComponents?: string[] | undefined;
|
|
3307
3307
|
}>>;
|
|
@@ -3321,14 +3321,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3321
3321
|
type: string;
|
|
3322
3322
|
name: string;
|
|
3323
3323
|
required: boolean;
|
|
3324
|
-
defaultValue?: string | undefined;
|
|
3325
3324
|
description?: string | undefined;
|
|
3325
|
+
defaultValue?: string | undefined;
|
|
3326
3326
|
}, {
|
|
3327
3327
|
type: string;
|
|
3328
3328
|
name: string;
|
|
3329
3329
|
required: boolean;
|
|
3330
|
-
defaultValue?: string | undefined;
|
|
3331
3330
|
description?: string | undefined;
|
|
3331
|
+
defaultValue?: string | undefined;
|
|
3332
3332
|
}>, "many">;
|
|
3333
3333
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3334
3334
|
name: z.ZodString;
|
|
@@ -3344,17 +3344,17 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3344
3344
|
description?: string | undefined;
|
|
3345
3345
|
}>, "many">>;
|
|
3346
3346
|
}, "strip", z.ZodTypeAny, {
|
|
3347
|
-
name: string;
|
|
3348
|
-
description: string;
|
|
3349
|
-
category: "core" | "complex" | "advanced";
|
|
3350
|
-
id: string;
|
|
3351
3347
|
props: {
|
|
3352
3348
|
type: string;
|
|
3353
3349
|
name: string;
|
|
3354
3350
|
required: boolean;
|
|
3355
|
-
defaultValue?: string | undefined;
|
|
3356
3351
|
description?: string | undefined;
|
|
3352
|
+
defaultValue?: string | undefined;
|
|
3357
3353
|
}[];
|
|
3354
|
+
description: string;
|
|
3355
|
+
category: "core" | "complex" | "advanced";
|
|
3356
|
+
id: string;
|
|
3357
|
+
name: string;
|
|
3358
3358
|
importStatement: string;
|
|
3359
3359
|
variants?: {
|
|
3360
3360
|
value: string;
|
|
@@ -3362,17 +3362,17 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3362
3362
|
description?: string | undefined;
|
|
3363
3363
|
}[] | undefined;
|
|
3364
3364
|
}, {
|
|
3365
|
-
name: string;
|
|
3366
|
-
description: string;
|
|
3367
|
-
category: "core" | "complex" | "advanced";
|
|
3368
|
-
id: string;
|
|
3369
3365
|
props: {
|
|
3370
3366
|
type: string;
|
|
3371
3367
|
name: string;
|
|
3372
3368
|
required: boolean;
|
|
3373
|
-
defaultValue?: string | undefined;
|
|
3374
3369
|
description?: string | undefined;
|
|
3370
|
+
defaultValue?: string | undefined;
|
|
3375
3371
|
}[];
|
|
3372
|
+
description: string;
|
|
3373
|
+
category: "core" | "complex" | "advanced";
|
|
3374
|
+
id: string;
|
|
3375
|
+
name: string;
|
|
3376
3376
|
importStatement: string;
|
|
3377
3377
|
variants?: {
|
|
3378
3378
|
value: string;
|
|
@@ -3419,21 +3419,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3419
3419
|
}>, "many">;
|
|
3420
3420
|
}, "strip", z.ZodTypeAny, {
|
|
3421
3421
|
id: string;
|
|
3422
|
-
pattern: string;
|
|
3423
3422
|
components: {
|
|
3424
3423
|
type: string;
|
|
3425
3424
|
props?: Record<string, unknown> | undefined;
|
|
3426
3425
|
children?: string | unknown[] | undefined;
|
|
3427
3426
|
}[];
|
|
3427
|
+
pattern: string;
|
|
3428
3428
|
slot?: string | undefined;
|
|
3429
3429
|
}, {
|
|
3430
3430
|
id: string;
|
|
3431
|
-
pattern: string;
|
|
3432
3431
|
components: {
|
|
3433
3432
|
type: string;
|
|
3434
3433
|
props?: Record<string, unknown> | undefined;
|
|
3435
3434
|
children?: string | unknown[] | undefined;
|
|
3436
3435
|
}[];
|
|
3436
|
+
pattern: string;
|
|
3437
3437
|
slot?: string | undefined;
|
|
3438
3438
|
}>, "many">;
|
|
3439
3439
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3443,114 +3443,114 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3443
3443
|
updated: z.ZodOptional<z.ZodString>;
|
|
3444
3444
|
}, "strip", z.ZodTypeAny, {
|
|
3445
3445
|
version?: string | undefined;
|
|
3446
|
-
author?: string | undefined;
|
|
3447
3446
|
created?: string | undefined;
|
|
3448
3447
|
updated?: string | undefined;
|
|
3448
|
+
author?: string | undefined;
|
|
3449
3449
|
}, {
|
|
3450
3450
|
version?: string | undefined;
|
|
3451
|
-
author?: string | undefined;
|
|
3452
3451
|
created?: string | undefined;
|
|
3453
3452
|
updated?: string | undefined;
|
|
3453
|
+
author?: string | undefined;
|
|
3454
3454
|
}>>;
|
|
3455
3455
|
}, "strip", z.ZodTypeAny, {
|
|
3456
|
+
shell: string;
|
|
3457
|
+
page: string;
|
|
3458
|
+
id: string;
|
|
3456
3459
|
sections: {
|
|
3457
3460
|
id: string;
|
|
3458
|
-
pattern: string;
|
|
3459
3461
|
components: {
|
|
3460
3462
|
type: string;
|
|
3461
3463
|
props?: Record<string, unknown> | undefined;
|
|
3462
3464
|
children?: string | unknown[] | undefined;
|
|
3463
3465
|
}[];
|
|
3466
|
+
pattern: string;
|
|
3464
3467
|
slot?: string | undefined;
|
|
3465
3468
|
}[];
|
|
3466
|
-
id: string;
|
|
3467
|
-
shell: string;
|
|
3468
|
-
page: string;
|
|
3469
|
-
name?: string | undefined;
|
|
3470
3469
|
description?: string | undefined;
|
|
3471
3470
|
themeId?: string | undefined;
|
|
3471
|
+
name?: string | undefined;
|
|
3472
3472
|
metadata?: {
|
|
3473
3473
|
version?: string | undefined;
|
|
3474
|
-
author?: string | undefined;
|
|
3475
3474
|
created?: string | undefined;
|
|
3476
3475
|
updated?: string | undefined;
|
|
3476
|
+
author?: string | undefined;
|
|
3477
3477
|
} | undefined;
|
|
3478
3478
|
}, {
|
|
3479
|
+
shell: string;
|
|
3480
|
+
page: string;
|
|
3481
|
+
id: string;
|
|
3479
3482
|
sections: {
|
|
3480
3483
|
id: string;
|
|
3481
|
-
pattern: string;
|
|
3482
3484
|
components: {
|
|
3483
3485
|
type: string;
|
|
3484
3486
|
props?: Record<string, unknown> | undefined;
|
|
3485
3487
|
children?: string | unknown[] | undefined;
|
|
3486
3488
|
}[];
|
|
3489
|
+
pattern: string;
|
|
3487
3490
|
slot?: string | undefined;
|
|
3488
3491
|
}[];
|
|
3489
|
-
id: string;
|
|
3490
|
-
shell: string;
|
|
3491
|
-
page: string;
|
|
3492
|
-
name?: string | undefined;
|
|
3493
3492
|
description?: string | undefined;
|
|
3494
3493
|
themeId?: string | undefined;
|
|
3494
|
+
name?: string | undefined;
|
|
3495
3495
|
metadata?: {
|
|
3496
3496
|
version?: string | undefined;
|
|
3497
|
-
author?: string | undefined;
|
|
3498
3497
|
created?: string | undefined;
|
|
3499
3498
|
updated?: string | undefined;
|
|
3499
|
+
author?: string | undefined;
|
|
3500
3500
|
} | undefined;
|
|
3501
3501
|
}>;
|
|
3502
3502
|
}, "strip", z.ZodTypeAny, {
|
|
3503
|
-
name: string;
|
|
3504
3503
|
description: string;
|
|
3504
|
+
name: string;
|
|
3505
3505
|
definition: {
|
|
3506
|
+
shell: string;
|
|
3507
|
+
page: string;
|
|
3508
|
+
id: string;
|
|
3506
3509
|
sections: {
|
|
3507
3510
|
id: string;
|
|
3508
|
-
pattern: string;
|
|
3509
3511
|
components: {
|
|
3510
3512
|
type: string;
|
|
3511
3513
|
props?: Record<string, unknown> | undefined;
|
|
3512
3514
|
children?: string | unknown[] | undefined;
|
|
3513
3515
|
}[];
|
|
3516
|
+
pattern: string;
|
|
3514
3517
|
slot?: string | undefined;
|
|
3515
3518
|
}[];
|
|
3516
|
-
id: string;
|
|
3517
|
-
shell: string;
|
|
3518
|
-
page: string;
|
|
3519
|
-
name?: string | undefined;
|
|
3520
3519
|
description?: string | undefined;
|
|
3521
3520
|
themeId?: string | undefined;
|
|
3521
|
+
name?: string | undefined;
|
|
3522
3522
|
metadata?: {
|
|
3523
3523
|
version?: string | undefined;
|
|
3524
|
-
author?: string | undefined;
|
|
3525
3524
|
created?: string | undefined;
|
|
3526
3525
|
updated?: string | undefined;
|
|
3526
|
+
author?: string | undefined;
|
|
3527
3527
|
} | undefined;
|
|
3528
3528
|
};
|
|
3529
3529
|
}, {
|
|
3530
|
-
name: string;
|
|
3531
3530
|
description: string;
|
|
3531
|
+
name: string;
|
|
3532
3532
|
definition: {
|
|
3533
|
+
shell: string;
|
|
3534
|
+
page: string;
|
|
3535
|
+
id: string;
|
|
3533
3536
|
sections: {
|
|
3534
3537
|
id: string;
|
|
3535
|
-
pattern: string;
|
|
3536
3538
|
components: {
|
|
3537
3539
|
type: string;
|
|
3538
3540
|
props?: Record<string, unknown> | undefined;
|
|
3539
3541
|
children?: string | unknown[] | undefined;
|
|
3540
3542
|
}[];
|
|
3543
|
+
pattern: string;
|
|
3541
3544
|
slot?: string | undefined;
|
|
3542
3545
|
}[];
|
|
3543
|
-
id: string;
|
|
3544
|
-
shell: string;
|
|
3545
|
-
page: string;
|
|
3546
|
-
name?: string | undefined;
|
|
3547
3546
|
description?: string | undefined;
|
|
3548
3547
|
themeId?: string | undefined;
|
|
3548
|
+
name?: string | undefined;
|
|
3549
3549
|
metadata?: {
|
|
3550
3550
|
version?: string | undefined;
|
|
3551
|
-
author?: string | undefined;
|
|
3552
3551
|
created?: string | undefined;
|
|
3553
3552
|
updated?: string | undefined;
|
|
3553
|
+
author?: string | undefined;
|
|
3554
3554
|
} | undefined;
|
|
3555
3555
|
};
|
|
3556
3556
|
}>, "many">>;
|
|
@@ -3574,12 +3574,12 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3574
3574
|
example: z.ZodOptional<z.ZodString>;
|
|
3575
3575
|
}, "strip", z.ZodTypeAny, {
|
|
3576
3576
|
message: string;
|
|
3577
|
-
category: "
|
|
3577
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3578
3578
|
priority: "high" | "medium" | "low";
|
|
3579
3579
|
example?: string | undefined;
|
|
3580
3580
|
}, {
|
|
3581
3581
|
message: string;
|
|
3582
|
-
category: "
|
|
3582
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3583
3583
|
priority: "high" | "medium" | "low";
|
|
3584
3584
|
example?: string | undefined;
|
|
3585
3585
|
}>, "many">>;
|
|
@@ -3634,17 +3634,17 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3634
3634
|
success: boolean;
|
|
3635
3635
|
error?: string | undefined;
|
|
3636
3636
|
components?: {
|
|
3637
|
-
name: string;
|
|
3638
|
-
description: string;
|
|
3639
|
-
category: "core" | "complex" | "advanced";
|
|
3640
|
-
id: string;
|
|
3641
3637
|
props: {
|
|
3642
3638
|
type: string;
|
|
3643
3639
|
name: string;
|
|
3644
3640
|
required: boolean;
|
|
3645
|
-
defaultValue?: string | undefined;
|
|
3646
3641
|
description?: string | undefined;
|
|
3642
|
+
defaultValue?: string | undefined;
|
|
3647
3643
|
}[];
|
|
3644
|
+
description: string;
|
|
3645
|
+
category: "core" | "complex" | "advanced";
|
|
3646
|
+
id: string;
|
|
3647
|
+
name: string;
|
|
3648
3648
|
importStatement: string;
|
|
3649
3649
|
variants?: {
|
|
3650
3650
|
value: string;
|
|
@@ -3652,56 +3652,56 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3652
3652
|
description?: string | undefined;
|
|
3653
3653
|
}[] | undefined;
|
|
3654
3654
|
}[] | undefined;
|
|
3655
|
-
templateMatch?: {
|
|
3656
|
-
category: string;
|
|
3657
|
-
templateId: string;
|
|
3658
|
-
templateName: string;
|
|
3659
|
-
confidence: number;
|
|
3660
|
-
matchedKeywords: string[];
|
|
3661
|
-
skeleton?: {
|
|
3662
|
-
sections: {
|
|
3663
|
-
name: string;
|
|
3664
|
-
required: boolean;
|
|
3665
|
-
id: string;
|
|
3666
|
-
slot: string;
|
|
3667
|
-
}[];
|
|
3668
|
-
shell: string;
|
|
3669
|
-
page: string;
|
|
3670
|
-
} | undefined;
|
|
3671
|
-
requiredComponents?: string[] | undefined;
|
|
3672
|
-
} | undefined;
|
|
3673
|
-
schema?: {
|
|
3674
|
-
description: string;
|
|
3675
|
-
screenDefinition?: unknown;
|
|
3676
|
-
} | undefined;
|
|
3677
3655
|
examples?: {
|
|
3678
|
-
name: string;
|
|
3679
3656
|
description: string;
|
|
3657
|
+
name: string;
|
|
3680
3658
|
definition: {
|
|
3659
|
+
shell: string;
|
|
3660
|
+
page: string;
|
|
3661
|
+
id: string;
|
|
3681
3662
|
sections: {
|
|
3682
3663
|
id: string;
|
|
3683
|
-
pattern: string;
|
|
3684
3664
|
components: {
|
|
3685
3665
|
type: string;
|
|
3686
3666
|
props?: Record<string, unknown> | undefined;
|
|
3687
3667
|
children?: string | unknown[] | undefined;
|
|
3688
3668
|
}[];
|
|
3669
|
+
pattern: string;
|
|
3689
3670
|
slot?: string | undefined;
|
|
3690
3671
|
}[];
|
|
3691
|
-
id: string;
|
|
3692
|
-
shell: string;
|
|
3693
|
-
page: string;
|
|
3694
|
-
name?: string | undefined;
|
|
3695
3672
|
description?: string | undefined;
|
|
3696
3673
|
themeId?: string | undefined;
|
|
3674
|
+
name?: string | undefined;
|
|
3697
3675
|
metadata?: {
|
|
3698
3676
|
version?: string | undefined;
|
|
3699
|
-
author?: string | undefined;
|
|
3700
3677
|
created?: string | undefined;
|
|
3701
3678
|
updated?: string | undefined;
|
|
3679
|
+
author?: string | undefined;
|
|
3702
3680
|
} | undefined;
|
|
3703
3681
|
};
|
|
3704
3682
|
}[] | undefined;
|
|
3683
|
+
templateMatch?: {
|
|
3684
|
+
templateId: string;
|
|
3685
|
+
templateName: string;
|
|
3686
|
+
category: string;
|
|
3687
|
+
confidence: number;
|
|
3688
|
+
matchedKeywords: string[];
|
|
3689
|
+
skeleton?: {
|
|
3690
|
+
shell: string;
|
|
3691
|
+
page: string;
|
|
3692
|
+
sections: {
|
|
3693
|
+
slot: string;
|
|
3694
|
+
id: string;
|
|
3695
|
+
name: string;
|
|
3696
|
+
required: boolean;
|
|
3697
|
+
}[];
|
|
3698
|
+
} | undefined;
|
|
3699
|
+
requiredComponents?: string[] | undefined;
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
schema?: {
|
|
3702
|
+
description: string;
|
|
3703
|
+
screenDefinition?: unknown;
|
|
3704
|
+
} | undefined;
|
|
3705
3705
|
themeRecipes?: {
|
|
3706
3706
|
variants: string[];
|
|
3707
3707
|
componentType: string;
|
|
@@ -3709,7 +3709,7 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3709
3709
|
}[] | undefined;
|
|
3710
3710
|
hints?: {
|
|
3711
3711
|
message: string;
|
|
3712
|
-
category: "
|
|
3712
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3713
3713
|
priority: "high" | "medium" | "low";
|
|
3714
3714
|
example?: string | undefined;
|
|
3715
3715
|
}[] | undefined;
|
|
@@ -3729,17 +3729,17 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3729
3729
|
success: boolean;
|
|
3730
3730
|
error?: string | undefined;
|
|
3731
3731
|
components?: {
|
|
3732
|
-
name: string;
|
|
3733
|
-
description: string;
|
|
3734
|
-
category: "core" | "complex" | "advanced";
|
|
3735
|
-
id: string;
|
|
3736
3732
|
props: {
|
|
3737
3733
|
type: string;
|
|
3738
3734
|
name: string;
|
|
3739
3735
|
required: boolean;
|
|
3740
|
-
defaultValue?: string | undefined;
|
|
3741
3736
|
description?: string | undefined;
|
|
3737
|
+
defaultValue?: string | undefined;
|
|
3742
3738
|
}[];
|
|
3739
|
+
description: string;
|
|
3740
|
+
category: "core" | "complex" | "advanced";
|
|
3741
|
+
id: string;
|
|
3742
|
+
name: string;
|
|
3743
3743
|
importStatement: string;
|
|
3744
3744
|
variants?: {
|
|
3745
3745
|
value: string;
|
|
@@ -3747,56 +3747,56 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3747
3747
|
description?: string | undefined;
|
|
3748
3748
|
}[] | undefined;
|
|
3749
3749
|
}[] | undefined;
|
|
3750
|
-
templateMatch?: {
|
|
3751
|
-
category: string;
|
|
3752
|
-
templateId: string;
|
|
3753
|
-
templateName: string;
|
|
3754
|
-
confidence: number;
|
|
3755
|
-
matchedKeywords: string[];
|
|
3756
|
-
skeleton?: {
|
|
3757
|
-
sections: {
|
|
3758
|
-
name: string;
|
|
3759
|
-
required: boolean;
|
|
3760
|
-
id: string;
|
|
3761
|
-
slot: string;
|
|
3762
|
-
}[];
|
|
3763
|
-
shell: string;
|
|
3764
|
-
page: string;
|
|
3765
|
-
} | undefined;
|
|
3766
|
-
requiredComponents?: string[] | undefined;
|
|
3767
|
-
} | undefined;
|
|
3768
|
-
schema?: {
|
|
3769
|
-
description: string;
|
|
3770
|
-
screenDefinition?: unknown;
|
|
3771
|
-
} | undefined;
|
|
3772
3750
|
examples?: {
|
|
3773
|
-
name: string;
|
|
3774
3751
|
description: string;
|
|
3752
|
+
name: string;
|
|
3775
3753
|
definition: {
|
|
3754
|
+
shell: string;
|
|
3755
|
+
page: string;
|
|
3756
|
+
id: string;
|
|
3776
3757
|
sections: {
|
|
3777
3758
|
id: string;
|
|
3778
|
-
pattern: string;
|
|
3779
3759
|
components: {
|
|
3780
3760
|
type: string;
|
|
3781
3761
|
props?: Record<string, unknown> | undefined;
|
|
3782
3762
|
children?: string | unknown[] | undefined;
|
|
3783
3763
|
}[];
|
|
3764
|
+
pattern: string;
|
|
3784
3765
|
slot?: string | undefined;
|
|
3785
3766
|
}[];
|
|
3786
|
-
id: string;
|
|
3787
|
-
shell: string;
|
|
3788
|
-
page: string;
|
|
3789
|
-
name?: string | undefined;
|
|
3790
3767
|
description?: string | undefined;
|
|
3791
3768
|
themeId?: string | undefined;
|
|
3769
|
+
name?: string | undefined;
|
|
3792
3770
|
metadata?: {
|
|
3793
3771
|
version?: string | undefined;
|
|
3794
|
-
author?: string | undefined;
|
|
3795
3772
|
created?: string | undefined;
|
|
3796
3773
|
updated?: string | undefined;
|
|
3774
|
+
author?: string | undefined;
|
|
3797
3775
|
} | undefined;
|
|
3798
3776
|
};
|
|
3799
3777
|
}[] | undefined;
|
|
3778
|
+
templateMatch?: {
|
|
3779
|
+
templateId: string;
|
|
3780
|
+
templateName: string;
|
|
3781
|
+
category: string;
|
|
3782
|
+
confidence: number;
|
|
3783
|
+
matchedKeywords: string[];
|
|
3784
|
+
skeleton?: {
|
|
3785
|
+
shell: string;
|
|
3786
|
+
page: string;
|
|
3787
|
+
sections: {
|
|
3788
|
+
slot: string;
|
|
3789
|
+
id: string;
|
|
3790
|
+
name: string;
|
|
3791
|
+
required: boolean;
|
|
3792
|
+
}[];
|
|
3793
|
+
} | undefined;
|
|
3794
|
+
requiredComponents?: string[] | undefined;
|
|
3795
|
+
} | undefined;
|
|
3796
|
+
schema?: {
|
|
3797
|
+
description: string;
|
|
3798
|
+
screenDefinition?: unknown;
|
|
3799
|
+
} | undefined;
|
|
3800
3800
|
themeRecipes?: {
|
|
3801
3801
|
variants: string[];
|
|
3802
3802
|
componentType: string;
|
|
@@ -3804,7 +3804,7 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3804
3804
|
}[] | undefined;
|
|
3805
3805
|
hints?: {
|
|
3806
3806
|
message: string;
|
|
3807
|
-
category: "
|
|
3807
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3808
3808
|
priority: "high" | "medium" | "low";
|
|
3809
3809
|
example?: string | undefined;
|
|
3810
3810
|
}[] | undefined;
|
|
@@ -3944,8 +3944,8 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
3944
3944
|
value?: unknown;
|
|
3945
3945
|
}>, "many">>;
|
|
3946
3946
|
}, "strip", z.ZodTypeAny, {
|
|
3947
|
-
path: string;
|
|
3948
3947
|
code: string;
|
|
3948
|
+
path: string;
|
|
3949
3949
|
message: string;
|
|
3950
3950
|
expected?: string | undefined;
|
|
3951
3951
|
received?: string | undefined;
|
|
@@ -3956,8 +3956,8 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
3956
3956
|
value?: unknown;
|
|
3957
3957
|
}[] | undefined;
|
|
3958
3958
|
}, {
|
|
3959
|
-
path: string;
|
|
3960
3959
|
code: string;
|
|
3960
|
+
path: string;
|
|
3961
3961
|
message: string;
|
|
3962
3962
|
expected?: string | undefined;
|
|
3963
3963
|
received?: string | undefined;
|
|
@@ -3978,13 +3978,13 @@ export declare const ValidationWarningSchema: z.ZodObject<{
|
|
|
3978
3978
|
message: z.ZodString;
|
|
3979
3979
|
recommendation: z.ZodOptional<z.ZodString>;
|
|
3980
3980
|
}, "strip", z.ZodTypeAny, {
|
|
3981
|
-
path: string;
|
|
3982
3981
|
code: string;
|
|
3982
|
+
path: string;
|
|
3983
3983
|
message: string;
|
|
3984
3984
|
recommendation?: string | undefined;
|
|
3985
3985
|
}, {
|
|
3986
|
-
path: string;
|
|
3987
3986
|
code: string;
|
|
3987
|
+
path: string;
|
|
3988
3988
|
message: string;
|
|
3989
3989
|
recommendation?: string | undefined;
|
|
3990
3990
|
}>;
|
|
@@ -4059,8 +4059,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4059
4059
|
value?: unknown;
|
|
4060
4060
|
}>, "many">>;
|
|
4061
4061
|
}, "strip", z.ZodTypeAny, {
|
|
4062
|
-
path: string;
|
|
4063
4062
|
code: string;
|
|
4063
|
+
path: string;
|
|
4064
4064
|
message: string;
|
|
4065
4065
|
expected?: string | undefined;
|
|
4066
4066
|
received?: string | undefined;
|
|
@@ -4071,8 +4071,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4071
4071
|
value?: unknown;
|
|
4072
4072
|
}[] | undefined;
|
|
4073
4073
|
}, {
|
|
4074
|
-
path: string;
|
|
4075
4074
|
code: string;
|
|
4075
|
+
path: string;
|
|
4076
4076
|
message: string;
|
|
4077
4077
|
expected?: string | undefined;
|
|
4078
4078
|
received?: string | undefined;
|
|
@@ -4089,13 +4089,13 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4089
4089
|
message: z.ZodString;
|
|
4090
4090
|
recommendation: z.ZodOptional<z.ZodString>;
|
|
4091
4091
|
}, "strip", z.ZodTypeAny, {
|
|
4092
|
-
path: string;
|
|
4093
4092
|
code: string;
|
|
4093
|
+
path: string;
|
|
4094
4094
|
message: string;
|
|
4095
4095
|
recommendation?: string | undefined;
|
|
4096
4096
|
}, {
|
|
4097
|
-
path: string;
|
|
4098
4097
|
code: string;
|
|
4098
|
+
path: string;
|
|
4099
4099
|
message: string;
|
|
4100
4100
|
recommendation?: string | undefined;
|
|
4101
4101
|
}>, "many">>;
|
|
@@ -4157,8 +4157,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4157
4157
|
valid?: boolean | undefined;
|
|
4158
4158
|
error?: string | undefined;
|
|
4159
4159
|
errors?: {
|
|
4160
|
-
path: string;
|
|
4161
4160
|
code: string;
|
|
4161
|
+
path: string;
|
|
4162
4162
|
message: string;
|
|
4163
4163
|
expected?: string | undefined;
|
|
4164
4164
|
received?: string | undefined;
|
|
@@ -4170,8 +4170,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4170
4170
|
}[] | undefined;
|
|
4171
4171
|
}[] | undefined;
|
|
4172
4172
|
warnings?: {
|
|
4173
|
-
path: string;
|
|
4174
4173
|
code: string;
|
|
4174
|
+
path: string;
|
|
4175
4175
|
message: string;
|
|
4176
4176
|
recommendation?: string | undefined;
|
|
4177
4177
|
}[] | undefined;
|
|
@@ -4196,8 +4196,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4196
4196
|
valid?: boolean | undefined;
|
|
4197
4197
|
error?: string | undefined;
|
|
4198
4198
|
errors?: {
|
|
4199
|
-
path: string;
|
|
4200
4199
|
code: string;
|
|
4200
|
+
path: string;
|
|
4201
4201
|
message: string;
|
|
4202
4202
|
expected?: string | undefined;
|
|
4203
4203
|
received?: string | undefined;
|
|
@@ -4209,8 +4209,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4209
4209
|
}[] | undefined;
|
|
4210
4210
|
}[] | undefined;
|
|
4211
4211
|
warnings?: {
|
|
4212
|
-
path: string;
|
|
4213
4212
|
code: string;
|
|
4213
|
+
path: string;
|
|
4214
4214
|
message: string;
|
|
4215
4215
|
recommendation?: string | undefined;
|
|
4216
4216
|
}[] | undefined;
|
|
@@ -4300,6 +4300,12 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4300
4300
|
}, "strip", z.ZodTypeAny, {
|
|
4301
4301
|
success: boolean;
|
|
4302
4302
|
error?: string | undefined;
|
|
4303
|
+
installCommands?: {
|
|
4304
|
+
npm: string;
|
|
4305
|
+
yarn: string;
|
|
4306
|
+
pnpm: string;
|
|
4307
|
+
bun: string;
|
|
4308
|
+
} | undefined;
|
|
4303
4309
|
warnings?: string[] | undefined;
|
|
4304
4310
|
tailwind?: {
|
|
4305
4311
|
issues: string[];
|
|
@@ -4309,17 +4315,17 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4309
4315
|
fixes: string[];
|
|
4310
4316
|
configPath?: string | undefined;
|
|
4311
4317
|
} | undefined;
|
|
4318
|
+
installed?: Record<string, string> | undefined;
|
|
4319
|
+
missing?: string[] | undefined;
|
|
4320
|
+
}, {
|
|
4321
|
+
success: boolean;
|
|
4322
|
+
error?: string | undefined;
|
|
4312
4323
|
installCommands?: {
|
|
4313
4324
|
npm: string;
|
|
4314
4325
|
yarn: string;
|
|
4315
4326
|
pnpm: string;
|
|
4316
4327
|
bun: string;
|
|
4317
4328
|
} | undefined;
|
|
4318
|
-
installed?: Record<string, string> | undefined;
|
|
4319
|
-
missing?: string[] | undefined;
|
|
4320
|
-
}, {
|
|
4321
|
-
success: boolean;
|
|
4322
|
-
error?: string | undefined;
|
|
4323
4329
|
warnings?: string[] | undefined;
|
|
4324
4330
|
tailwind?: {
|
|
4325
4331
|
issues: string[];
|
|
@@ -4329,12 +4335,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4329
4335
|
fixes: string[];
|
|
4330
4336
|
configPath?: string | undefined;
|
|
4331
4337
|
} | undefined;
|
|
4332
|
-
installCommands?: {
|
|
4333
|
-
npm: string;
|
|
4334
|
-
yarn: string;
|
|
4335
|
-
pnpm: string;
|
|
4336
|
-
bun: string;
|
|
4337
|
-
} | undefined;
|
|
4338
4338
|
installed?: Record<string, string> | undefined;
|
|
4339
4339
|
missing?: string[] | undefined;
|
|
4340
4340
|
}>;
|