@framingui/mcp-server 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/auth/verify.d.ts +3 -2
- package/dist/auth/verify.d.ts.map +1 -1
- package/dist/auth/verify.js +7 -3
- package/dist/auth/verify.js.map +1 -1
- package/dist/cli/agent-md-templates.d.ts +1 -1
- package/dist/cli/agent-md-templates.js +4 -4
- package/dist/cli/credentials.d.ts +3 -5
- package/dist/cli/credentials.d.ts.map +1 -1
- package/dist/cli/credentials.js +20 -10
- package/dist/cli/credentials.js.map +1 -1
- package/dist/cli/guide-template.d.ts +2 -2
- package/dist/cli/guide-template.js +5 -5
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/init.js +21 -21
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/login.d.ts.map +1 -1
- package/dist/cli/login.js +5 -2
- 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.js +1 -1
- package/dist/cli/status.js.map +1 -1
- package/dist/data/examples/screen-examples.js +4 -4
- package/dist/data/examples/screen-examples.js.map +1 -1
- package/dist/generators/css-generator.js +1 -1
- package/dist/generators/css-generator.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/prompts/getting-started.d.ts +2 -2
- package/dist/prompts/getting-started.js +5 -5
- package/dist/prompts/screen-workflow.js +2 -2
- package/dist/schemas/mcp-schemas.d.ts +388 -376
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/schemas/mcp-schemas.js +6 -1
- package/dist/schemas/mcp-schemas.js.map +1 -1
- package/dist/storage/blueprint-storage.js +1 -1
- package/dist/storage/blueprint-storage.js.map +1 -1
- package/dist/tools/preview-theme.d.ts.map +1 -1
- package/dist/tools/preview-theme.js +3 -1
- package/dist/tools/preview-theme.js.map +1 -1
- package/dist/tools/whoami.d.ts.map +1 -1
- package/dist/tools/whoami.js +31 -0
- package/dist/tools/whoami.js.map +1 -1
- package/dist/utils/api-url.d.ts +17 -0
- package/dist/utils/api-url.d.ts.map +1 -0
- package/dist/utils/api-url.js +52 -0
- package/dist/utils/api-url.js.map +1 -0
- package/dist/utils/tailwind-config-reader.d.ts.map +1 -1
- package/dist/utils/tailwind-config-reader.js +5 -1
- package/dist/utils/tailwind-config-reader.js.map +1 -1
- package/dist/utils/url-utils.d.ts +18 -0
- package/dist/utils/url-utils.d.ts.map +1 -0
- package/dist/utils/url-utils.js +32 -0
- package/dist/utils/url-utils.js.map +1 -0
- package/package.json +3 -3
|
@@ -29,29 +29,41 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
29
29
|
expiresAt: string | null;
|
|
30
30
|
renewable: boolean;
|
|
31
31
|
}>>;
|
|
32
|
+
is_trial: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
trial_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
trial_days_left: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
message: z.ZodOptional<z.ZodString>;
|
|
32
36
|
error: z.ZodOptional<z.ZodString>;
|
|
33
37
|
}, "strip", z.ZodTypeAny, {
|
|
34
38
|
success: boolean;
|
|
35
39
|
error?: string | undefined;
|
|
36
40
|
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
37
41
|
isMaster?: boolean | undefined;
|
|
42
|
+
message?: string | undefined;
|
|
38
43
|
licensedThemes?: string[] | undefined;
|
|
39
44
|
totalThemes?: number | undefined;
|
|
40
45
|
mcpSupport?: {
|
|
41
46
|
expiresAt: string | null;
|
|
42
47
|
renewable: boolean;
|
|
43
48
|
} | undefined;
|
|
49
|
+
is_trial?: boolean | undefined;
|
|
50
|
+
trial_expires_at?: string | null | undefined;
|
|
51
|
+
trial_days_left?: number | null | undefined;
|
|
44
52
|
}, {
|
|
45
53
|
success: boolean;
|
|
46
54
|
error?: string | undefined;
|
|
47
55
|
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
48
56
|
isMaster?: boolean | undefined;
|
|
57
|
+
message?: string | undefined;
|
|
49
58
|
licensedThemes?: string[] | undefined;
|
|
50
59
|
totalThemes?: number | undefined;
|
|
51
60
|
mcpSupport?: {
|
|
52
61
|
expiresAt: string | null;
|
|
53
62
|
renewable: boolean;
|
|
54
63
|
} | undefined;
|
|
64
|
+
is_trial?: boolean | undefined;
|
|
65
|
+
trial_expires_at?: string | null | undefined;
|
|
66
|
+
trial_days_left?: number | null | undefined;
|
|
55
67
|
}>;
|
|
56
68
|
export type WhoamiOutput = z.infer<typeof WhoamiOutputSchema>;
|
|
57
69
|
/**
|
|
@@ -78,14 +90,14 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
78
90
|
description: string;
|
|
79
91
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
80
92
|
themeId: string;
|
|
81
|
-
iconLibrary?: string | undefined;
|
|
82
93
|
componentHints?: string[] | undefined;
|
|
94
|
+
iconLibrary?: string | undefined;
|
|
83
95
|
}, {
|
|
84
96
|
description: string;
|
|
85
97
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
86
98
|
themeId: string;
|
|
87
|
-
iconLibrary?: string | undefined;
|
|
88
99
|
componentHints?: string[] | undefined;
|
|
100
|
+
iconLibrary?: string | undefined;
|
|
89
101
|
}>;
|
|
90
102
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
91
103
|
/**
|
|
@@ -112,9 +124,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
112
124
|
page: string;
|
|
113
125
|
}>;
|
|
114
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
category: string;
|
|
115
128
|
templateId: string;
|
|
116
129
|
templateName: string;
|
|
117
|
-
category: string;
|
|
118
130
|
confidence: number;
|
|
119
131
|
matchedKeywords: string[];
|
|
120
132
|
layoutRecommendation: {
|
|
@@ -123,9 +135,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
123
135
|
page: string;
|
|
124
136
|
};
|
|
125
137
|
}, {
|
|
138
|
+
category: string;
|
|
126
139
|
templateId: string;
|
|
127
140
|
templateName: string;
|
|
128
|
-
category: string;
|
|
129
141
|
confidence: number;
|
|
130
142
|
matchedKeywords: string[];
|
|
131
143
|
layoutRecommendation: {
|
|
@@ -161,11 +173,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
161
173
|
}>, "many">;
|
|
162
174
|
timestamp: z.ZodNumber;
|
|
163
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
name: string;
|
|
164
177
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
165
178
|
themeId: string;
|
|
166
179
|
iconLibrary: string;
|
|
167
180
|
id: string;
|
|
168
|
-
name: string;
|
|
169
181
|
components: {
|
|
170
182
|
type: string;
|
|
171
183
|
props?: Record<string, unknown>;
|
|
@@ -174,11 +186,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
174
186
|
}[];
|
|
175
187
|
timestamp: number;
|
|
176
188
|
}, {
|
|
189
|
+
name: string;
|
|
177
190
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
178
191
|
themeId: string;
|
|
179
192
|
iconLibrary: string;
|
|
180
193
|
id: string;
|
|
181
|
-
name: string;
|
|
182
194
|
components: {
|
|
183
195
|
type: string;
|
|
184
196
|
props?: Record<string, unknown>;
|
|
@@ -207,9 +219,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
207
219
|
page: string;
|
|
208
220
|
}>;
|
|
209
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
category: string;
|
|
210
223
|
templateId: string;
|
|
211
224
|
templateName: string;
|
|
212
|
-
category: string;
|
|
213
225
|
confidence: number;
|
|
214
226
|
matchedKeywords: string[];
|
|
215
227
|
layoutRecommendation: {
|
|
@@ -218,9 +230,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
218
230
|
page: string;
|
|
219
231
|
};
|
|
220
232
|
}, {
|
|
233
|
+
category: string;
|
|
221
234
|
templateId: string;
|
|
222
235
|
templateName: string;
|
|
223
|
-
category: string;
|
|
224
236
|
confidence: number;
|
|
225
237
|
matchedKeywords: string[];
|
|
226
238
|
layoutRecommendation: {
|
|
@@ -234,11 +246,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
234
246
|
success: boolean;
|
|
235
247
|
error?: string | undefined;
|
|
236
248
|
blueprint?: {
|
|
249
|
+
name: string;
|
|
237
250
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
238
251
|
themeId: string;
|
|
239
252
|
iconLibrary: string;
|
|
240
253
|
id: string;
|
|
241
|
-
name: string;
|
|
242
254
|
components: {
|
|
243
255
|
type: string;
|
|
244
256
|
props?: Record<string, unknown>;
|
|
@@ -248,9 +260,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
248
260
|
timestamp: number;
|
|
249
261
|
} | undefined;
|
|
250
262
|
templateRecommendations?: {
|
|
263
|
+
category: string;
|
|
251
264
|
templateId: string;
|
|
252
265
|
templateName: string;
|
|
253
|
-
category: string;
|
|
254
266
|
confidence: number;
|
|
255
267
|
matchedKeywords: string[];
|
|
256
268
|
layoutRecommendation: {
|
|
@@ -263,11 +275,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
263
275
|
success: boolean;
|
|
264
276
|
error?: string | undefined;
|
|
265
277
|
blueprint?: {
|
|
278
|
+
name: string;
|
|
266
279
|
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
267
280
|
themeId: string;
|
|
268
281
|
iconLibrary: string;
|
|
269
282
|
id: string;
|
|
270
|
-
name: string;
|
|
271
283
|
components: {
|
|
272
284
|
type: string;
|
|
273
285
|
props?: Record<string, unknown>;
|
|
@@ -277,9 +289,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
277
289
|
timestamp: number;
|
|
278
290
|
} | undefined;
|
|
279
291
|
templateRecommendations?: {
|
|
292
|
+
category: string;
|
|
280
293
|
templateId: string;
|
|
281
294
|
templateName: string;
|
|
282
|
-
category: string;
|
|
283
295
|
confidence: number;
|
|
284
296
|
matchedKeywords: string[];
|
|
285
297
|
layoutRecommendation: {
|
|
@@ -306,14 +318,14 @@ export declare const ThemeMetaSchema: z.ZodObject<{
|
|
|
306
318
|
brandTone: z.ZodString;
|
|
307
319
|
schemaVersion: z.ZodString;
|
|
308
320
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
id: string;
|
|
310
321
|
name: string;
|
|
322
|
+
id: string;
|
|
311
323
|
brandTone: string;
|
|
312
324
|
schemaVersion: string;
|
|
313
325
|
description?: string | undefined;
|
|
314
326
|
}, {
|
|
315
|
-
id: string;
|
|
316
327
|
name: string;
|
|
328
|
+
id: string;
|
|
317
329
|
brandTone: string;
|
|
318
330
|
schemaVersion: string;
|
|
319
331
|
description?: string | undefined;
|
|
@@ -331,14 +343,14 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
331
343
|
brandTone: z.ZodString;
|
|
332
344
|
schemaVersion: z.ZodString;
|
|
333
345
|
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
id: string;
|
|
335
346
|
name: string;
|
|
347
|
+
id: string;
|
|
336
348
|
brandTone: string;
|
|
337
349
|
schemaVersion: string;
|
|
338
350
|
description?: string | undefined;
|
|
339
351
|
}, {
|
|
340
|
-
id: string;
|
|
341
352
|
name: string;
|
|
353
|
+
id: string;
|
|
342
354
|
brandTone: string;
|
|
343
355
|
schemaVersion: string;
|
|
344
356
|
description?: string | undefined;
|
|
@@ -349,8 +361,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
349
361
|
success: boolean;
|
|
350
362
|
error?: string | undefined;
|
|
351
363
|
themes?: {
|
|
352
|
-
id: string;
|
|
353
364
|
name: string;
|
|
365
|
+
id: string;
|
|
354
366
|
brandTone: string;
|
|
355
367
|
schemaVersion: string;
|
|
356
368
|
description?: string | undefined;
|
|
@@ -360,8 +372,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
360
372
|
success: boolean;
|
|
361
373
|
error?: string | undefined;
|
|
362
374
|
themes?: {
|
|
363
|
-
id: string;
|
|
364
375
|
name: string;
|
|
376
|
+
id: string;
|
|
365
377
|
brandTone: string;
|
|
366
378
|
schemaVersion: string;
|
|
367
379
|
description?: string | undefined;
|
|
@@ -429,8 +441,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
429
441
|
elevation: z.ZodOptional<z.ZodUnknown>;
|
|
430
442
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
431
443
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
id: string;
|
|
433
444
|
name: string;
|
|
445
|
+
id: string;
|
|
434
446
|
brandTone: string;
|
|
435
447
|
schemaVersion: string;
|
|
436
448
|
tokens: {
|
|
@@ -450,8 +462,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
450
462
|
elevation?: unknown;
|
|
451
463
|
typography?: unknown;
|
|
452
464
|
}, {
|
|
453
|
-
id: string;
|
|
454
465
|
name: string;
|
|
466
|
+
id: string;
|
|
455
467
|
brandTone: string;
|
|
456
468
|
schemaVersion: string;
|
|
457
469
|
tokens: {
|
|
@@ -477,8 +489,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
477
489
|
success: boolean;
|
|
478
490
|
error?: string | undefined;
|
|
479
491
|
theme?: {
|
|
480
|
-
id: string;
|
|
481
492
|
name: string;
|
|
493
|
+
id: string;
|
|
482
494
|
brandTone: string;
|
|
483
495
|
schemaVersion: string;
|
|
484
496
|
tokens: {
|
|
@@ -503,8 +515,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
503
515
|
success: boolean;
|
|
504
516
|
error?: string | undefined;
|
|
505
517
|
theme?: {
|
|
506
|
-
id: string;
|
|
507
518
|
name: string;
|
|
519
|
+
id: string;
|
|
508
520
|
brandTone: string;
|
|
509
521
|
schemaVersion: string;
|
|
510
522
|
tokens: {
|
|
@@ -602,11 +614,11 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
602
614
|
}, {
|
|
603
615
|
format: "jsx" | "tsx" | "vue";
|
|
604
616
|
themeId?: string | undefined;
|
|
605
|
-
blueprint?: unknown;
|
|
606
617
|
includeCSS?: boolean | undefined;
|
|
618
|
+
blueprint?: unknown;
|
|
619
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
607
620
|
componentName?: string | undefined;
|
|
608
621
|
componentDescription?: string | undefined;
|
|
609
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
610
622
|
}>;
|
|
611
623
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
612
624
|
/**
|
|
@@ -728,33 +740,33 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
728
740
|
}>>;
|
|
729
741
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
730
742
|
}, "strip", z.ZodTypeAny, {
|
|
731
|
-
external: string[];
|
|
732
743
|
internal: string[];
|
|
744
|
+
external: string[];
|
|
733
745
|
installCommands: {
|
|
734
746
|
npm: string;
|
|
735
747
|
yarn: string;
|
|
736
748
|
pnpm: string;
|
|
737
749
|
bun: string;
|
|
738
750
|
};
|
|
751
|
+
notes?: string[] | undefined;
|
|
739
752
|
compatibility?: {
|
|
740
753
|
react?: string | undefined;
|
|
741
754
|
node?: string | undefined;
|
|
742
755
|
} | undefined;
|
|
743
|
-
notes?: string[] | undefined;
|
|
744
756
|
}, {
|
|
745
|
-
external: string[];
|
|
746
757
|
internal: string[];
|
|
758
|
+
external: string[];
|
|
747
759
|
installCommands: {
|
|
748
760
|
npm: string;
|
|
749
761
|
yarn: string;
|
|
750
762
|
pnpm: string;
|
|
751
763
|
bun: string;
|
|
752
764
|
};
|
|
765
|
+
notes?: string[] | undefined;
|
|
753
766
|
compatibility?: {
|
|
754
767
|
react?: string | undefined;
|
|
755
768
|
node?: string | undefined;
|
|
756
769
|
} | undefined;
|
|
757
|
-
notes?: string[] | undefined;
|
|
758
770
|
}>;
|
|
759
771
|
export type Dependencies = z.infer<typeof DependenciesSchema>;
|
|
760
772
|
/**
|
|
@@ -795,33 +807,33 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
795
807
|
}>>;
|
|
796
808
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
797
809
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
-
external: string[];
|
|
799
810
|
internal: string[];
|
|
811
|
+
external: string[];
|
|
800
812
|
installCommands: {
|
|
801
813
|
npm: string;
|
|
802
814
|
yarn: string;
|
|
803
815
|
pnpm: string;
|
|
804
816
|
bun: string;
|
|
805
817
|
};
|
|
818
|
+
notes?: string[] | undefined;
|
|
806
819
|
compatibility?: {
|
|
807
820
|
react?: string | undefined;
|
|
808
821
|
node?: string | undefined;
|
|
809
822
|
} | undefined;
|
|
810
|
-
notes?: string[] | undefined;
|
|
811
823
|
}, {
|
|
812
|
-
external: string[];
|
|
813
824
|
internal: string[];
|
|
825
|
+
external: string[];
|
|
814
826
|
installCommands: {
|
|
815
827
|
npm: string;
|
|
816
828
|
yarn: string;
|
|
817
829
|
pnpm: string;
|
|
818
830
|
bun: string;
|
|
819
831
|
};
|
|
832
|
+
notes?: string[] | undefined;
|
|
820
833
|
compatibility?: {
|
|
821
834
|
react?: string | undefined;
|
|
822
835
|
node?: string | undefined;
|
|
823
836
|
} | undefined;
|
|
824
|
-
notes?: string[] | undefined;
|
|
825
837
|
}>>;
|
|
826
838
|
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
827
839
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -829,44 +841,44 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
829
841
|
success: boolean;
|
|
830
842
|
error?: string | undefined;
|
|
831
843
|
code?: string | undefined;
|
|
832
|
-
|
|
844
|
+
errors?: string[] | undefined;
|
|
833
845
|
dependencies?: {
|
|
834
|
-
external: string[];
|
|
835
846
|
internal: string[];
|
|
847
|
+
external: string[];
|
|
836
848
|
installCommands: {
|
|
837
849
|
npm: string;
|
|
838
850
|
yarn: string;
|
|
839
851
|
pnpm: string;
|
|
840
852
|
bun: string;
|
|
841
853
|
};
|
|
854
|
+
notes?: string[] | undefined;
|
|
842
855
|
compatibility?: {
|
|
843
856
|
react?: string | undefined;
|
|
844
857
|
node?: string | undefined;
|
|
845
858
|
} | undefined;
|
|
846
|
-
notes?: string[] | undefined;
|
|
847
859
|
} | undefined;
|
|
848
|
-
|
|
860
|
+
cssVariables?: string | undefined;
|
|
849
861
|
}, {
|
|
850
862
|
success: boolean;
|
|
851
863
|
error?: string | undefined;
|
|
852
864
|
code?: string | undefined;
|
|
853
|
-
|
|
865
|
+
errors?: string[] | undefined;
|
|
854
866
|
dependencies?: {
|
|
855
|
-
external: string[];
|
|
856
867
|
internal: string[];
|
|
868
|
+
external: string[];
|
|
857
869
|
installCommands: {
|
|
858
870
|
npm: string;
|
|
859
871
|
yarn: string;
|
|
860
872
|
pnpm: string;
|
|
861
873
|
bun: string;
|
|
862
874
|
};
|
|
875
|
+
notes?: string[] | undefined;
|
|
863
876
|
compatibility?: {
|
|
864
877
|
react?: string | undefined;
|
|
865
878
|
node?: string | undefined;
|
|
866
879
|
} | undefined;
|
|
867
|
-
notes?: string[] | undefined;
|
|
868
880
|
} | undefined;
|
|
869
|
-
|
|
881
|
+
cssVariables?: string | undefined;
|
|
870
882
|
}>;
|
|
871
883
|
export type GenerateScreenOutput = z.infer<typeof GenerateScreenOutputSchema>;
|
|
872
884
|
/**
|
|
@@ -977,16 +989,16 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
977
989
|
type: z.ZodOptional<z.ZodString>;
|
|
978
990
|
}, "strip", z.ZodTypeAny, {
|
|
979
991
|
id: string;
|
|
980
|
-
type?: string | undefined;
|
|
981
992
|
description?: string | undefined;
|
|
982
993
|
name?: string | undefined;
|
|
994
|
+
type?: string | undefined;
|
|
983
995
|
platform?: string | undefined;
|
|
984
996
|
purpose?: string | undefined;
|
|
985
997
|
}, {
|
|
986
998
|
id: string;
|
|
987
|
-
type?: string | undefined;
|
|
988
999
|
description?: string | undefined;
|
|
989
1000
|
name?: string | undefined;
|
|
1001
|
+
type?: string | undefined;
|
|
990
1002
|
platform?: string | undefined;
|
|
991
1003
|
purpose?: string | undefined;
|
|
992
1004
|
}>;
|
|
@@ -1005,16 +1017,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1005
1017
|
type: z.ZodOptional<z.ZodString>;
|
|
1006
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1007
1019
|
id: string;
|
|
1008
|
-
type?: string | undefined;
|
|
1009
1020
|
description?: string | undefined;
|
|
1010
1021
|
name?: string | undefined;
|
|
1022
|
+
type?: string | undefined;
|
|
1011
1023
|
platform?: string | undefined;
|
|
1012
1024
|
purpose?: string | undefined;
|
|
1013
1025
|
}, {
|
|
1014
1026
|
id: string;
|
|
1015
|
-
type?: string | undefined;
|
|
1016
1027
|
description?: string | undefined;
|
|
1017
1028
|
name?: string | undefined;
|
|
1029
|
+
type?: string | undefined;
|
|
1018
1030
|
platform?: string | undefined;
|
|
1019
1031
|
purpose?: string | undefined;
|
|
1020
1032
|
}>, "many">>;
|
|
@@ -1027,16 +1039,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1027
1039
|
type: z.ZodOptional<z.ZodString>;
|
|
1028
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1029
1041
|
id: string;
|
|
1030
|
-
type?: string | undefined;
|
|
1031
1042
|
description?: string | undefined;
|
|
1032
1043
|
name?: string | undefined;
|
|
1044
|
+
type?: string | undefined;
|
|
1033
1045
|
platform?: string | undefined;
|
|
1034
1046
|
purpose?: string | undefined;
|
|
1035
1047
|
}, {
|
|
1036
1048
|
id: string;
|
|
1037
|
-
type?: string | undefined;
|
|
1038
1049
|
description?: string | undefined;
|
|
1039
1050
|
name?: string | undefined;
|
|
1051
|
+
type?: string | undefined;
|
|
1040
1052
|
platform?: string | undefined;
|
|
1041
1053
|
purpose?: string | undefined;
|
|
1042
1054
|
}>, "many">>;
|
|
@@ -1049,16 +1061,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1049
1061
|
type: z.ZodOptional<z.ZodString>;
|
|
1050
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1051
1063
|
id: string;
|
|
1052
|
-
type?: string | undefined;
|
|
1053
1064
|
description?: string | undefined;
|
|
1054
1065
|
name?: string | undefined;
|
|
1066
|
+
type?: string | undefined;
|
|
1055
1067
|
platform?: string | undefined;
|
|
1056
1068
|
purpose?: string | undefined;
|
|
1057
1069
|
}, {
|
|
1058
1070
|
id: string;
|
|
1059
|
-
type?: string | undefined;
|
|
1060
1071
|
description?: string | undefined;
|
|
1061
1072
|
name?: string | undefined;
|
|
1073
|
+
type?: string | undefined;
|
|
1062
1074
|
platform?: string | undefined;
|
|
1063
1075
|
purpose?: string | undefined;
|
|
1064
1076
|
}>, "many">>;
|
|
@@ -1078,25 +1090,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1078
1090
|
error?: string | undefined;
|
|
1079
1091
|
shells?: {
|
|
1080
1092
|
id: string;
|
|
1081
|
-
type?: string | undefined;
|
|
1082
1093
|
description?: string | undefined;
|
|
1083
1094
|
name?: string | undefined;
|
|
1095
|
+
type?: string | undefined;
|
|
1084
1096
|
platform?: string | undefined;
|
|
1085
1097
|
purpose?: string | undefined;
|
|
1086
1098
|
}[] | undefined;
|
|
1087
1099
|
pages?: {
|
|
1088
1100
|
id: string;
|
|
1089
|
-
type?: string | undefined;
|
|
1090
1101
|
description?: string | undefined;
|
|
1091
1102
|
name?: string | undefined;
|
|
1103
|
+
type?: string | undefined;
|
|
1092
1104
|
platform?: string | undefined;
|
|
1093
1105
|
purpose?: string | undefined;
|
|
1094
1106
|
}[] | undefined;
|
|
1095
1107
|
sections?: {
|
|
1096
1108
|
id: string;
|
|
1097
|
-
type?: string | undefined;
|
|
1098
1109
|
description?: string | undefined;
|
|
1099
1110
|
name?: string | undefined;
|
|
1111
|
+
type?: string | undefined;
|
|
1100
1112
|
platform?: string | undefined;
|
|
1101
1113
|
purpose?: string | undefined;
|
|
1102
1114
|
}[] | undefined;
|
|
@@ -1109,25 +1121,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1109
1121
|
error?: string | undefined;
|
|
1110
1122
|
shells?: {
|
|
1111
1123
|
id: string;
|
|
1112
|
-
type?: string | undefined;
|
|
1113
1124
|
description?: string | undefined;
|
|
1114
1125
|
name?: string | undefined;
|
|
1126
|
+
type?: string | undefined;
|
|
1115
1127
|
platform?: string | undefined;
|
|
1116
1128
|
purpose?: string | undefined;
|
|
1117
1129
|
}[] | undefined;
|
|
1118
1130
|
pages?: {
|
|
1119
1131
|
id: string;
|
|
1120
|
-
type?: string | undefined;
|
|
1121
1132
|
description?: string | undefined;
|
|
1122
1133
|
name?: string | undefined;
|
|
1134
|
+
type?: string | undefined;
|
|
1123
1135
|
platform?: string | undefined;
|
|
1124
1136
|
purpose?: string | undefined;
|
|
1125
1137
|
}[] | undefined;
|
|
1126
1138
|
sections?: {
|
|
1127
1139
|
id: string;
|
|
1128
|
-
type?: string | undefined;
|
|
1129
1140
|
description?: string | undefined;
|
|
1130
1141
|
name?: string | undefined;
|
|
1142
|
+
type?: string | undefined;
|
|
1131
1143
|
platform?: string | undefined;
|
|
1132
1144
|
purpose?: string | undefined;
|
|
1133
1145
|
}[] | undefined;
|
|
@@ -1160,18 +1172,18 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1160
1172
|
totalIcons: z.ZodNumber;
|
|
1161
1173
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1162
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
+
version: string;
|
|
1163
1176
|
description: string;
|
|
1164
|
-
id: string;
|
|
1165
1177
|
name: string;
|
|
1166
|
-
|
|
1178
|
+
id: string;
|
|
1167
1179
|
license: string;
|
|
1168
1180
|
totalIcons: number;
|
|
1169
1181
|
categories: string[];
|
|
1170
1182
|
}, {
|
|
1183
|
+
version: string;
|
|
1171
1184
|
description: string;
|
|
1172
|
-
id: string;
|
|
1173
1185
|
name: string;
|
|
1174
|
-
|
|
1186
|
+
id: string;
|
|
1175
1187
|
license: string;
|
|
1176
1188
|
totalIcons: number;
|
|
1177
1189
|
categories: string[];
|
|
@@ -1191,18 +1203,18 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1191
1203
|
totalIcons: z.ZodNumber;
|
|
1192
1204
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1193
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1206
|
+
version: string;
|
|
1194
1207
|
description: string;
|
|
1195
|
-
id: string;
|
|
1196
1208
|
name: string;
|
|
1197
|
-
|
|
1209
|
+
id: string;
|
|
1198
1210
|
license: string;
|
|
1199
1211
|
totalIcons: number;
|
|
1200
1212
|
categories: string[];
|
|
1201
1213
|
}, {
|
|
1214
|
+
version: string;
|
|
1202
1215
|
description: string;
|
|
1203
|
-
id: string;
|
|
1204
1216
|
name: string;
|
|
1205
|
-
|
|
1217
|
+
id: string;
|
|
1206
1218
|
license: string;
|
|
1207
1219
|
totalIcons: number;
|
|
1208
1220
|
categories: string[];
|
|
@@ -1212,29 +1224,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1212
1224
|
}, "strip", z.ZodTypeAny, {
|
|
1213
1225
|
success: boolean;
|
|
1214
1226
|
error?: string | undefined;
|
|
1215
|
-
count?: number | undefined;
|
|
1216
1227
|
libraries?: {
|
|
1228
|
+
version: string;
|
|
1217
1229
|
description: string;
|
|
1218
|
-
id: string;
|
|
1219
1230
|
name: string;
|
|
1220
|
-
|
|
1231
|
+
id: string;
|
|
1221
1232
|
license: string;
|
|
1222
1233
|
totalIcons: number;
|
|
1223
1234
|
categories: string[];
|
|
1224
1235
|
}[] | undefined;
|
|
1236
|
+
count?: number | undefined;
|
|
1225
1237
|
}, {
|
|
1226
1238
|
success: boolean;
|
|
1227
1239
|
error?: string | undefined;
|
|
1228
|
-
count?: number | undefined;
|
|
1229
1240
|
libraries?: {
|
|
1241
|
+
version: string;
|
|
1230
1242
|
description: string;
|
|
1231
|
-
id: string;
|
|
1232
1243
|
name: string;
|
|
1233
|
-
|
|
1244
|
+
id: string;
|
|
1234
1245
|
license: string;
|
|
1235
1246
|
totalIcons: number;
|
|
1236
1247
|
categories: string[];
|
|
1237
1248
|
}[] | undefined;
|
|
1249
|
+
count?: number | undefined;
|
|
1238
1250
|
}>;
|
|
1239
1251
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1240
1252
|
/**
|
|
@@ -1385,10 +1397,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1385
1397
|
defaultVariant: z.ZodOptional<z.ZodString>;
|
|
1386
1398
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1387
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1400
|
+
version: string;
|
|
1388
1401
|
description: string;
|
|
1389
|
-
id: string;
|
|
1390
1402
|
name: string;
|
|
1391
|
-
|
|
1403
|
+
id: string;
|
|
1392
1404
|
license: string;
|
|
1393
1405
|
totalIcons: number;
|
|
1394
1406
|
categories: string[];
|
|
@@ -1417,10 +1429,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1417
1429
|
defaultVariant?: string | undefined;
|
|
1418
1430
|
iconSample?: string[] | undefined;
|
|
1419
1431
|
}, {
|
|
1432
|
+
version: string;
|
|
1420
1433
|
description: string;
|
|
1421
|
-
id: string;
|
|
1422
1434
|
name: string;
|
|
1423
|
-
|
|
1435
|
+
id: string;
|
|
1424
1436
|
license: string;
|
|
1425
1437
|
totalIcons: number;
|
|
1426
1438
|
categories: string[];
|
|
@@ -1454,10 +1466,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1454
1466
|
success: boolean;
|
|
1455
1467
|
error?: string | undefined;
|
|
1456
1468
|
library?: {
|
|
1469
|
+
version: string;
|
|
1457
1470
|
description: string;
|
|
1458
|
-
id: string;
|
|
1459
1471
|
name: string;
|
|
1460
|
-
|
|
1472
|
+
id: string;
|
|
1461
1473
|
license: string;
|
|
1462
1474
|
totalIcons: number;
|
|
1463
1475
|
categories: string[];
|
|
@@ -1490,10 +1502,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1490
1502
|
success: boolean;
|
|
1491
1503
|
error?: string | undefined;
|
|
1492
1504
|
library?: {
|
|
1505
|
+
version: string;
|
|
1493
1506
|
description: string;
|
|
1494
|
-
id: string;
|
|
1495
1507
|
name: string;
|
|
1496
|
-
|
|
1508
|
+
id: string;
|
|
1497
1509
|
license: string;
|
|
1498
1510
|
totalIcons: number;
|
|
1499
1511
|
categories: string[];
|
|
@@ -1541,8 +1553,8 @@ export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
|
1541
1553
|
category: "all" | "core" | "complex" | "advanced";
|
|
1542
1554
|
search?: string | undefined;
|
|
1543
1555
|
}, {
|
|
1544
|
-
search?: string | undefined;
|
|
1545
1556
|
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1557
|
+
search?: string | undefined;
|
|
1546
1558
|
}>;
|
|
1547
1559
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
1548
1560
|
/**
|
|
@@ -1558,20 +1570,20 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1558
1570
|
tier: z.ZodNumber;
|
|
1559
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1560
1572
|
description: string;
|
|
1573
|
+
name: string;
|
|
1561
1574
|
category: "core" | "complex" | "advanced";
|
|
1562
1575
|
id: string;
|
|
1563
|
-
name: string;
|
|
1564
|
-
tier: number;
|
|
1565
1576
|
variantsCount: number;
|
|
1566
1577
|
hasSubComponents: boolean;
|
|
1578
|
+
tier: number;
|
|
1567
1579
|
}, {
|
|
1568
1580
|
description: string;
|
|
1581
|
+
name: string;
|
|
1569
1582
|
category: "core" | "complex" | "advanced";
|
|
1570
1583
|
id: string;
|
|
1571
|
-
name: string;
|
|
1572
|
-
tier: number;
|
|
1573
1584
|
variantsCount: number;
|
|
1574
1585
|
hasSubComponents: boolean;
|
|
1586
|
+
tier: number;
|
|
1575
1587
|
}>;
|
|
1576
1588
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1577
1589
|
/**
|
|
@@ -1589,20 +1601,20 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1589
1601
|
tier: z.ZodNumber;
|
|
1590
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1591
1603
|
description: string;
|
|
1604
|
+
name: string;
|
|
1592
1605
|
category: "core" | "complex" | "advanced";
|
|
1593
1606
|
id: string;
|
|
1594
|
-
name: string;
|
|
1595
|
-
tier: number;
|
|
1596
1607
|
variantsCount: number;
|
|
1597
1608
|
hasSubComponents: boolean;
|
|
1609
|
+
tier: number;
|
|
1598
1610
|
}, {
|
|
1599
1611
|
description: string;
|
|
1612
|
+
name: string;
|
|
1600
1613
|
category: "core" | "complex" | "advanced";
|
|
1601
1614
|
id: string;
|
|
1602
|
-
name: string;
|
|
1603
|
-
tier: number;
|
|
1604
1615
|
variantsCount: number;
|
|
1605
1616
|
hasSubComponents: boolean;
|
|
1617
|
+
tier: number;
|
|
1606
1618
|
}>, "many">>;
|
|
1607
1619
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1608
1620
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1624,37 +1636,37 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1624
1636
|
error?: string | undefined;
|
|
1625
1637
|
components?: {
|
|
1626
1638
|
description: string;
|
|
1639
|
+
name: string;
|
|
1627
1640
|
category: "core" | "complex" | "advanced";
|
|
1628
1641
|
id: string;
|
|
1629
|
-
name: string;
|
|
1630
|
-
tier: number;
|
|
1631
1642
|
variantsCount: number;
|
|
1632
1643
|
hasSubComponents: boolean;
|
|
1644
|
+
tier: number;
|
|
1633
1645
|
}[] | undefined;
|
|
1634
|
-
count?: number | undefined;
|
|
1635
1646
|
categories?: {
|
|
1636
1647
|
core: number;
|
|
1637
1648
|
complex: number;
|
|
1638
1649
|
advanced: number;
|
|
1639
1650
|
} | undefined;
|
|
1651
|
+
count?: number | undefined;
|
|
1640
1652
|
}, {
|
|
1641
1653
|
success: boolean;
|
|
1642
1654
|
error?: string | undefined;
|
|
1643
1655
|
components?: {
|
|
1644
1656
|
description: string;
|
|
1657
|
+
name: string;
|
|
1645
1658
|
category: "core" | "complex" | "advanced";
|
|
1646
1659
|
id: string;
|
|
1647
|
-
name: string;
|
|
1648
|
-
tier: number;
|
|
1649
1660
|
variantsCount: number;
|
|
1650
1661
|
hasSubComponents: boolean;
|
|
1662
|
+
tier: number;
|
|
1651
1663
|
}[] | undefined;
|
|
1652
|
-
count?: number | undefined;
|
|
1653
1664
|
categories?: {
|
|
1654
1665
|
core: number;
|
|
1655
1666
|
complex: number;
|
|
1656
1667
|
advanced: number;
|
|
1657
1668
|
} | undefined;
|
|
1669
|
+
count?: number | undefined;
|
|
1658
1670
|
}>;
|
|
1659
1671
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1660
1672
|
/**
|
|
@@ -1685,14 +1697,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1685
1697
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1686
1698
|
description: z.ZodOptional<z.ZodString>;
|
|
1687
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1688
|
-
type: string;
|
|
1689
1700
|
name: string;
|
|
1701
|
+
type: string;
|
|
1690
1702
|
required: boolean;
|
|
1691
1703
|
description?: string | undefined;
|
|
1692
1704
|
defaultValue?: string | undefined;
|
|
1693
1705
|
}, {
|
|
1694
|
-
type: string;
|
|
1695
1706
|
name: string;
|
|
1707
|
+
type: string;
|
|
1696
1708
|
required: boolean;
|
|
1697
1709
|
description?: string | undefined;
|
|
1698
1710
|
defaultValue?: string | undefined;
|
|
@@ -1706,12 +1718,12 @@ export declare const VariantSchema: z.ZodObject<{
|
|
|
1706
1718
|
value: z.ZodString;
|
|
1707
1719
|
description: z.ZodOptional<z.ZodString>;
|
|
1708
1720
|
}, "strip", z.ZodTypeAny, {
|
|
1709
|
-
value: string;
|
|
1710
1721
|
name: string;
|
|
1722
|
+
value: string;
|
|
1711
1723
|
description?: string | undefined;
|
|
1712
1724
|
}, {
|
|
1713
|
-
value: string;
|
|
1714
1725
|
name: string;
|
|
1726
|
+
value: string;
|
|
1715
1727
|
description?: string | undefined;
|
|
1716
1728
|
}>;
|
|
1717
1729
|
export type Variant = z.infer<typeof VariantSchema>;
|
|
@@ -1723,12 +1735,12 @@ export declare const UsageExampleSchema: z.ZodObject<{
|
|
|
1723
1735
|
code: z.ZodString;
|
|
1724
1736
|
description: z.ZodOptional<z.ZodString>;
|
|
1725
1737
|
}, "strip", z.ZodTypeAny, {
|
|
1726
|
-
code: string;
|
|
1727
1738
|
title: string;
|
|
1739
|
+
code: string;
|
|
1728
1740
|
description?: string | undefined;
|
|
1729
1741
|
}, {
|
|
1730
|
-
code: string;
|
|
1731
1742
|
title: string;
|
|
1743
|
+
code: string;
|
|
1732
1744
|
description?: string | undefined;
|
|
1733
1745
|
}>;
|
|
1734
1746
|
export type UsageExample = z.infer<typeof UsageExampleSchema>;
|
|
@@ -1750,14 +1762,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1750
1762
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1751
1763
|
description: z.ZodOptional<z.ZodString>;
|
|
1752
1764
|
}, "strip", z.ZodTypeAny, {
|
|
1753
|
-
type: string;
|
|
1754
1765
|
name: string;
|
|
1766
|
+
type: string;
|
|
1755
1767
|
required: boolean;
|
|
1756
1768
|
description?: string | undefined;
|
|
1757
1769
|
defaultValue?: string | undefined;
|
|
1758
1770
|
}, {
|
|
1759
|
-
type: string;
|
|
1760
1771
|
name: string;
|
|
1772
|
+
type: string;
|
|
1761
1773
|
required: boolean;
|
|
1762
1774
|
description?: string | undefined;
|
|
1763
1775
|
defaultValue?: string | undefined;
|
|
@@ -1767,12 +1779,12 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1767
1779
|
value: z.ZodString;
|
|
1768
1780
|
description: z.ZodOptional<z.ZodString>;
|
|
1769
1781
|
}, "strip", z.ZodTypeAny, {
|
|
1770
|
-
value: string;
|
|
1771
1782
|
name: string;
|
|
1783
|
+
value: string;
|
|
1772
1784
|
description?: string | undefined;
|
|
1773
1785
|
}, {
|
|
1774
|
-
value: string;
|
|
1775
1786
|
name: string;
|
|
1787
|
+
value: string;
|
|
1776
1788
|
description?: string | undefined;
|
|
1777
1789
|
}>, "many">>;
|
|
1778
1790
|
subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1781,83 +1793,83 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1781
1793
|
internal: z.ZodArray<z.ZodString, "many">;
|
|
1782
1794
|
external: z.ZodArray<z.ZodString, "many">;
|
|
1783
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1784
|
-
external: string[];
|
|
1785
1796
|
internal: string[];
|
|
1786
|
-
}, {
|
|
1787
1797
|
external: string[];
|
|
1798
|
+
}, {
|
|
1788
1799
|
internal: string[];
|
|
1800
|
+
external: string[];
|
|
1789
1801
|
}>>;
|
|
1790
1802
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1791
1803
|
title: z.ZodString;
|
|
1792
1804
|
code: z.ZodString;
|
|
1793
1805
|
description: z.ZodOptional<z.ZodString>;
|
|
1794
1806
|
}, "strip", z.ZodTypeAny, {
|
|
1795
|
-
code: string;
|
|
1796
1807
|
title: string;
|
|
1808
|
+
code: string;
|
|
1797
1809
|
description?: string | undefined;
|
|
1798
1810
|
}, {
|
|
1799
|
-
code: string;
|
|
1800
1811
|
title: string;
|
|
1812
|
+
code: string;
|
|
1801
1813
|
description?: string | undefined;
|
|
1802
1814
|
}>, "many">>;
|
|
1803
1815
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
1804
1816
|
}, "strip", z.ZodTypeAny, {
|
|
1817
|
+
description: string;
|
|
1818
|
+
name: string;
|
|
1819
|
+
category: "core" | "complex" | "advanced";
|
|
1820
|
+
id: string;
|
|
1821
|
+
importStatement: string;
|
|
1822
|
+
tier: number;
|
|
1805
1823
|
props: {
|
|
1806
|
-
type: string;
|
|
1807
1824
|
name: string;
|
|
1825
|
+
type: string;
|
|
1808
1826
|
required: boolean;
|
|
1809
1827
|
description?: string | undefined;
|
|
1810
1828
|
defaultValue?: string | undefined;
|
|
1811
1829
|
}[];
|
|
1812
|
-
description: string;
|
|
1813
|
-
category: "core" | "complex" | "advanced";
|
|
1814
|
-
id: string;
|
|
1815
|
-
name: string;
|
|
1816
|
-
tier: number;
|
|
1817
|
-
importStatement: string;
|
|
1818
|
-
dependencies?: {
|
|
1819
|
-
external: string[];
|
|
1820
|
-
internal: string[];
|
|
1821
|
-
} | undefined;
|
|
1822
1830
|
variants?: {
|
|
1823
|
-
value: string;
|
|
1824
1831
|
name: string;
|
|
1832
|
+
value: string;
|
|
1825
1833
|
description?: string | undefined;
|
|
1826
1834
|
}[] | undefined;
|
|
1827
1835
|
subComponents?: string[] | undefined;
|
|
1836
|
+
dependencies?: {
|
|
1837
|
+
internal: string[];
|
|
1838
|
+
external: string[];
|
|
1839
|
+
} | undefined;
|
|
1828
1840
|
examples?: {
|
|
1829
|
-
code: string;
|
|
1830
1841
|
title: string;
|
|
1842
|
+
code: string;
|
|
1831
1843
|
description?: string | undefined;
|
|
1832
1844
|
}[] | undefined;
|
|
1833
1845
|
accessibility?: string | undefined;
|
|
1834
1846
|
}, {
|
|
1847
|
+
description: string;
|
|
1848
|
+
name: string;
|
|
1849
|
+
category: "core" | "complex" | "advanced";
|
|
1850
|
+
id: string;
|
|
1851
|
+
importStatement: string;
|
|
1852
|
+
tier: number;
|
|
1835
1853
|
props: {
|
|
1836
|
-
type: string;
|
|
1837
1854
|
name: string;
|
|
1855
|
+
type: string;
|
|
1838
1856
|
required: boolean;
|
|
1839
1857
|
description?: string | undefined;
|
|
1840
1858
|
defaultValue?: string | undefined;
|
|
1841
1859
|
}[];
|
|
1842
|
-
description: string;
|
|
1843
|
-
category: "core" | "complex" | "advanced";
|
|
1844
|
-
id: string;
|
|
1845
|
-
name: string;
|
|
1846
|
-
tier: number;
|
|
1847
|
-
importStatement: string;
|
|
1848
|
-
dependencies?: {
|
|
1849
|
-
external: string[];
|
|
1850
|
-
internal: string[];
|
|
1851
|
-
} | undefined;
|
|
1852
1860
|
variants?: {
|
|
1853
|
-
value: string;
|
|
1854
1861
|
name: string;
|
|
1862
|
+
value: string;
|
|
1855
1863
|
description?: string | undefined;
|
|
1856
1864
|
}[] | undefined;
|
|
1857
1865
|
subComponents?: string[] | undefined;
|
|
1866
|
+
dependencies?: {
|
|
1867
|
+
internal: string[];
|
|
1868
|
+
external: string[];
|
|
1869
|
+
} | undefined;
|
|
1858
1870
|
examples?: {
|
|
1859
|
-
code: string;
|
|
1860
1871
|
title: string;
|
|
1872
|
+
code: string;
|
|
1861
1873
|
description?: string | undefined;
|
|
1862
1874
|
}[] | undefined;
|
|
1863
1875
|
accessibility?: string | undefined;
|
|
@@ -1867,32 +1879,32 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1867
1879
|
success: boolean;
|
|
1868
1880
|
error?: string | undefined;
|
|
1869
1881
|
component?: {
|
|
1882
|
+
description: string;
|
|
1883
|
+
name: string;
|
|
1884
|
+
category: "core" | "complex" | "advanced";
|
|
1885
|
+
id: string;
|
|
1886
|
+
importStatement: string;
|
|
1887
|
+
tier: number;
|
|
1870
1888
|
props: {
|
|
1871
|
-
type: string;
|
|
1872
1889
|
name: string;
|
|
1890
|
+
type: string;
|
|
1873
1891
|
required: boolean;
|
|
1874
1892
|
description?: string | undefined;
|
|
1875
1893
|
defaultValue?: string | undefined;
|
|
1876
1894
|
}[];
|
|
1877
|
-
description: string;
|
|
1878
|
-
category: "core" | "complex" | "advanced";
|
|
1879
|
-
id: string;
|
|
1880
|
-
name: string;
|
|
1881
|
-
tier: number;
|
|
1882
|
-
importStatement: string;
|
|
1883
|
-
dependencies?: {
|
|
1884
|
-
external: string[];
|
|
1885
|
-
internal: string[];
|
|
1886
|
-
} | undefined;
|
|
1887
1895
|
variants?: {
|
|
1888
|
-
value: string;
|
|
1889
1896
|
name: string;
|
|
1897
|
+
value: string;
|
|
1890
1898
|
description?: string | undefined;
|
|
1891
1899
|
}[] | undefined;
|
|
1892
1900
|
subComponents?: string[] | undefined;
|
|
1901
|
+
dependencies?: {
|
|
1902
|
+
internal: string[];
|
|
1903
|
+
external: string[];
|
|
1904
|
+
} | undefined;
|
|
1893
1905
|
examples?: {
|
|
1894
|
-
code: string;
|
|
1895
1906
|
title: string;
|
|
1907
|
+
code: string;
|
|
1896
1908
|
description?: string | undefined;
|
|
1897
1909
|
}[] | undefined;
|
|
1898
1910
|
accessibility?: string | undefined;
|
|
@@ -1901,32 +1913,32 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1901
1913
|
success: boolean;
|
|
1902
1914
|
error?: string | undefined;
|
|
1903
1915
|
component?: {
|
|
1916
|
+
description: string;
|
|
1917
|
+
name: string;
|
|
1918
|
+
category: "core" | "complex" | "advanced";
|
|
1919
|
+
id: string;
|
|
1920
|
+
importStatement: string;
|
|
1921
|
+
tier: number;
|
|
1904
1922
|
props: {
|
|
1905
|
-
type: string;
|
|
1906
1923
|
name: string;
|
|
1924
|
+
type: string;
|
|
1907
1925
|
required: boolean;
|
|
1908
1926
|
description?: string | undefined;
|
|
1909
1927
|
defaultValue?: string | undefined;
|
|
1910
1928
|
}[];
|
|
1911
|
-
description: string;
|
|
1912
|
-
category: "core" | "complex" | "advanced";
|
|
1913
|
-
id: string;
|
|
1914
|
-
name: string;
|
|
1915
|
-
tier: number;
|
|
1916
|
-
importStatement: string;
|
|
1917
|
-
dependencies?: {
|
|
1918
|
-
external: string[];
|
|
1919
|
-
internal: string[];
|
|
1920
|
-
} | undefined;
|
|
1921
1929
|
variants?: {
|
|
1922
|
-
value: string;
|
|
1923
1930
|
name: string;
|
|
1931
|
+
value: string;
|
|
1924
1932
|
description?: string | undefined;
|
|
1925
1933
|
}[] | undefined;
|
|
1926
1934
|
subComponents?: string[] | undefined;
|
|
1935
|
+
dependencies?: {
|
|
1936
|
+
internal: string[];
|
|
1937
|
+
external: string[];
|
|
1938
|
+
} | undefined;
|
|
1927
1939
|
examples?: {
|
|
1928
|
-
code: string;
|
|
1929
1940
|
title: string;
|
|
1941
|
+
code: string;
|
|
1930
1942
|
description?: string | undefined;
|
|
1931
1943
|
}[] | undefined;
|
|
1932
1944
|
accessibility?: string | undefined;
|
|
@@ -1946,11 +1958,11 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
1946
1958
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
1947
1959
|
search: z.ZodOptional<z.ZodString>;
|
|
1948
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1949
|
-
category: "
|
|
1961
|
+
category: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback";
|
|
1950
1962
|
search?: string | undefined;
|
|
1951
1963
|
}, {
|
|
1964
|
+
category?: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback" | undefined;
|
|
1952
1965
|
search?: string | undefined;
|
|
1953
|
-
category?: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback" | undefined;
|
|
1954
1966
|
}>;
|
|
1955
1967
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
1956
1968
|
/**
|
|
@@ -1971,20 +1983,20 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1971
1983
|
version: z.ZodString;
|
|
1972
1984
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1973
1985
|
}, "strip", z.ZodTypeAny, {
|
|
1986
|
+
version: string;
|
|
1974
1987
|
description: string;
|
|
1975
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1976
|
-
id: string;
|
|
1977
1988
|
name: string;
|
|
1978
|
-
|
|
1989
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1990
|
+
id: string;
|
|
1979
1991
|
requiredComponentsCount: number;
|
|
1980
1992
|
layoutType: "centered" | "sidebar" | "full";
|
|
1981
1993
|
tags?: string[] | undefined;
|
|
1982
1994
|
}, {
|
|
1995
|
+
version: string;
|
|
1983
1996
|
description: string;
|
|
1984
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1985
|
-
id: string;
|
|
1986
1997
|
name: string;
|
|
1987
|
-
|
|
1998
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1999
|
+
id: string;
|
|
1988
2000
|
requiredComponentsCount: number;
|
|
1989
2001
|
layoutType: "centered" | "sidebar" | "full";
|
|
1990
2002
|
tags?: string[] | undefined;
|
|
@@ -2005,20 +2017,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2005
2017
|
version: z.ZodString;
|
|
2006
2018
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2007
2019
|
}, "strip", z.ZodTypeAny, {
|
|
2020
|
+
version: string;
|
|
2008
2021
|
description: string;
|
|
2009
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2010
|
-
id: string;
|
|
2011
2022
|
name: string;
|
|
2012
|
-
|
|
2023
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2024
|
+
id: string;
|
|
2013
2025
|
requiredComponentsCount: number;
|
|
2014
2026
|
layoutType: "centered" | "sidebar" | "full";
|
|
2015
2027
|
tags?: string[] | undefined;
|
|
2016
2028
|
}, {
|
|
2029
|
+
version: string;
|
|
2017
2030
|
description: string;
|
|
2018
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2019
|
-
id: string;
|
|
2020
2031
|
name: string;
|
|
2021
|
-
|
|
2032
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2033
|
+
id: string;
|
|
2022
2034
|
requiredComponentsCount: number;
|
|
2023
2035
|
layoutType: "centered" | "sidebar" | "full";
|
|
2024
2036
|
tags?: string[] | undefined;
|
|
@@ -2031,14 +2043,14 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2031
2043
|
marketing: z.ZodNumber;
|
|
2032
2044
|
feedback: z.ZodNumber;
|
|
2033
2045
|
}, "strip", z.ZodTypeAny, {
|
|
2034
|
-
auth: number;
|
|
2035
2046
|
dashboard: number;
|
|
2047
|
+
auth: number;
|
|
2036
2048
|
form: number;
|
|
2037
2049
|
marketing: number;
|
|
2038
2050
|
feedback: number;
|
|
2039
2051
|
}, {
|
|
2040
|
-
auth: number;
|
|
2041
2052
|
dashboard: number;
|
|
2053
|
+
auth: number;
|
|
2042
2054
|
form: number;
|
|
2043
2055
|
marketing: number;
|
|
2044
2056
|
feedback: number;
|
|
@@ -2047,20 +2059,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2047
2059
|
}, "strip", z.ZodTypeAny, {
|
|
2048
2060
|
success: boolean;
|
|
2049
2061
|
error?: string | undefined;
|
|
2050
|
-
count?: number | undefined;
|
|
2051
2062
|
categories?: {
|
|
2052
|
-
auth: number;
|
|
2053
2063
|
dashboard: number;
|
|
2064
|
+
auth: number;
|
|
2054
2065
|
form: number;
|
|
2055
2066
|
marketing: number;
|
|
2056
2067
|
feedback: number;
|
|
2057
2068
|
} | undefined;
|
|
2069
|
+
count?: number | undefined;
|
|
2058
2070
|
templates?: {
|
|
2071
|
+
version: string;
|
|
2059
2072
|
description: string;
|
|
2060
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2061
|
-
id: string;
|
|
2062
2073
|
name: string;
|
|
2063
|
-
|
|
2074
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2075
|
+
id: string;
|
|
2064
2076
|
requiredComponentsCount: number;
|
|
2065
2077
|
layoutType: "centered" | "sidebar" | "full";
|
|
2066
2078
|
tags?: string[] | undefined;
|
|
@@ -2068,20 +2080,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2068
2080
|
}, {
|
|
2069
2081
|
success: boolean;
|
|
2070
2082
|
error?: string | undefined;
|
|
2071
|
-
count?: number | undefined;
|
|
2072
2083
|
categories?: {
|
|
2073
|
-
auth: number;
|
|
2074
2084
|
dashboard: number;
|
|
2085
|
+
auth: number;
|
|
2075
2086
|
form: number;
|
|
2076
2087
|
marketing: number;
|
|
2077
2088
|
feedback: number;
|
|
2078
2089
|
} | undefined;
|
|
2090
|
+
count?: number | undefined;
|
|
2079
2091
|
templates?: {
|
|
2092
|
+
version: string;
|
|
2080
2093
|
description: string;
|
|
2081
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2082
|
-
id: string;
|
|
2083
2094
|
name: string;
|
|
2084
|
-
|
|
2095
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2096
|
+
id: string;
|
|
2085
2097
|
requiredComponentsCount: number;
|
|
2086
2098
|
layoutType: "centered" | "sidebar" | "full";
|
|
2087
2099
|
tags?: string[] | undefined;
|
|
@@ -2115,33 +2127,33 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2115
2127
|
slot: z.ZodString;
|
|
2116
2128
|
required: z.ZodBoolean;
|
|
2117
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2118
|
-
slot: string;
|
|
2119
|
-
id: string;
|
|
2120
2130
|
name: string;
|
|
2121
2131
|
required: boolean;
|
|
2122
|
-
}, {
|
|
2123
|
-
slot: string;
|
|
2124
2132
|
id: string;
|
|
2133
|
+
slot: string;
|
|
2134
|
+
}, {
|
|
2125
2135
|
name: string;
|
|
2126
2136
|
required: boolean;
|
|
2137
|
+
id: string;
|
|
2138
|
+
slot: string;
|
|
2127
2139
|
}>, "many">;
|
|
2128
2140
|
}, "strip", z.ZodTypeAny, {
|
|
2129
2141
|
shell: string;
|
|
2130
2142
|
page: string;
|
|
2131
2143
|
sections: {
|
|
2132
|
-
slot: string;
|
|
2133
|
-
id: string;
|
|
2134
2144
|
name: string;
|
|
2135
2145
|
required: boolean;
|
|
2146
|
+
id: string;
|
|
2147
|
+
slot: string;
|
|
2136
2148
|
}[];
|
|
2137
2149
|
}, {
|
|
2138
2150
|
shell: string;
|
|
2139
2151
|
page: string;
|
|
2140
2152
|
sections: {
|
|
2141
|
-
slot: string;
|
|
2142
|
-
id: string;
|
|
2143
2153
|
name: string;
|
|
2144
2154
|
required: boolean;
|
|
2155
|
+
id: string;
|
|
2156
|
+
slot: string;
|
|
2145
2157
|
}[];
|
|
2146
2158
|
}>;
|
|
2147
2159
|
export type Skeleton = z.infer<typeof SkeletonSchema>;
|
|
@@ -2153,12 +2165,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2153
2165
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2154
2166
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2155
2167
|
}, "strip", z.ZodTypeAny, {
|
|
2156
|
-
texts: string[];
|
|
2157
2168
|
optional: string[];
|
|
2169
|
+
texts: string[];
|
|
2158
2170
|
slots: string[];
|
|
2159
2171
|
}, {
|
|
2160
|
-
texts: string[];
|
|
2161
2172
|
optional: string[];
|
|
2173
|
+
texts: string[];
|
|
2162
2174
|
slots: string[];
|
|
2163
2175
|
}>;
|
|
2164
2176
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2259,33 +2271,33 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2259
2271
|
slot: z.ZodString;
|
|
2260
2272
|
required: z.ZodBoolean;
|
|
2261
2273
|
}, "strip", z.ZodTypeAny, {
|
|
2262
|
-
slot: string;
|
|
2263
|
-
id: string;
|
|
2264
2274
|
name: string;
|
|
2265
2275
|
required: boolean;
|
|
2266
|
-
}, {
|
|
2267
|
-
slot: string;
|
|
2268
2276
|
id: string;
|
|
2277
|
+
slot: string;
|
|
2278
|
+
}, {
|
|
2269
2279
|
name: string;
|
|
2270
2280
|
required: boolean;
|
|
2281
|
+
id: string;
|
|
2282
|
+
slot: string;
|
|
2271
2283
|
}>, "many">;
|
|
2272
2284
|
}, "strip", z.ZodTypeAny, {
|
|
2273
2285
|
shell: string;
|
|
2274
2286
|
page: string;
|
|
2275
2287
|
sections: {
|
|
2276
|
-
slot: string;
|
|
2277
|
-
id: string;
|
|
2278
2288
|
name: string;
|
|
2279
2289
|
required: boolean;
|
|
2290
|
+
id: string;
|
|
2291
|
+
slot: string;
|
|
2280
2292
|
}[];
|
|
2281
2293
|
}, {
|
|
2282
2294
|
shell: string;
|
|
2283
2295
|
page: string;
|
|
2284
2296
|
sections: {
|
|
2285
|
-
slot: string;
|
|
2286
|
-
id: string;
|
|
2287
2297
|
name: string;
|
|
2288
2298
|
required: boolean;
|
|
2299
|
+
id: string;
|
|
2300
|
+
slot: string;
|
|
2289
2301
|
}[];
|
|
2290
2302
|
}>;
|
|
2291
2303
|
layout: z.ZodObject<{
|
|
@@ -2407,12 +2419,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2407
2419
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2408
2420
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2409
2421
|
}, "strip", z.ZodTypeAny, {
|
|
2410
|
-
texts: string[];
|
|
2411
2422
|
optional: string[];
|
|
2423
|
+
texts: string[];
|
|
2412
2424
|
slots: string[];
|
|
2413
2425
|
}, {
|
|
2414
|
-
texts: string[];
|
|
2415
2426
|
optional: string[];
|
|
2427
|
+
texts: string[];
|
|
2416
2428
|
slots: string[];
|
|
2417
2429
|
}>;
|
|
2418
2430
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2434,7 +2446,9 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2434
2446
|
updated: z.ZodString;
|
|
2435
2447
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2436
2448
|
}, "strip", z.ZodTypeAny, {
|
|
2449
|
+
version: string;
|
|
2437
2450
|
description: string;
|
|
2451
|
+
name: string;
|
|
2438
2452
|
layout: {
|
|
2439
2453
|
type: "centered" | "sidebar" | "full";
|
|
2440
2454
|
responsive?: {
|
|
@@ -2455,24 +2469,22 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2455
2469
|
};
|
|
2456
2470
|
} | undefined;
|
|
2457
2471
|
};
|
|
2458
|
-
category: "
|
|
2472
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2459
2473
|
id: string;
|
|
2460
|
-
name: string;
|
|
2461
|
-
version: string;
|
|
2462
2474
|
importStatement: string;
|
|
2463
2475
|
skeleton: {
|
|
2464
2476
|
shell: string;
|
|
2465
2477
|
page: string;
|
|
2466
2478
|
sections: {
|
|
2467
|
-
slot: string;
|
|
2468
|
-
id: string;
|
|
2469
2479
|
name: string;
|
|
2470
2480
|
required: boolean;
|
|
2481
|
+
id: string;
|
|
2482
|
+
slot: string;
|
|
2471
2483
|
}[];
|
|
2472
2484
|
};
|
|
2473
2485
|
customizable: {
|
|
2474
|
-
texts: string[];
|
|
2475
2486
|
optional: string[];
|
|
2487
|
+
texts: string[];
|
|
2476
2488
|
slots: string[];
|
|
2477
2489
|
};
|
|
2478
2490
|
requiredComponents: string[];
|
|
@@ -2485,7 +2497,9 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2485
2497
|
slots?: string[] | undefined;
|
|
2486
2498
|
} | undefined;
|
|
2487
2499
|
}, {
|
|
2500
|
+
version: string;
|
|
2488
2501
|
description: string;
|
|
2502
|
+
name: string;
|
|
2489
2503
|
layout: {
|
|
2490
2504
|
type: "centered" | "sidebar" | "full";
|
|
2491
2505
|
responsive?: {
|
|
@@ -2506,24 +2520,22 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2506
2520
|
};
|
|
2507
2521
|
} | undefined;
|
|
2508
2522
|
};
|
|
2509
|
-
category: "
|
|
2523
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2510
2524
|
id: string;
|
|
2511
|
-
name: string;
|
|
2512
|
-
version: string;
|
|
2513
2525
|
importStatement: string;
|
|
2514
2526
|
skeleton: {
|
|
2515
2527
|
shell: string;
|
|
2516
2528
|
page: string;
|
|
2517
2529
|
sections: {
|
|
2518
|
-
slot: string;
|
|
2519
|
-
id: string;
|
|
2520
2530
|
name: string;
|
|
2521
2531
|
required: boolean;
|
|
2532
|
+
id: string;
|
|
2533
|
+
slot: string;
|
|
2522
2534
|
}[];
|
|
2523
2535
|
};
|
|
2524
2536
|
customizable: {
|
|
2525
|
-
texts: string[];
|
|
2526
2537
|
optional: string[];
|
|
2538
|
+
texts: string[];
|
|
2527
2539
|
slots: string[];
|
|
2528
2540
|
};
|
|
2529
2541
|
requiredComponents: string[];
|
|
@@ -2541,7 +2553,9 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2541
2553
|
success: boolean;
|
|
2542
2554
|
error?: string | undefined;
|
|
2543
2555
|
template?: {
|
|
2556
|
+
version: string;
|
|
2544
2557
|
description: string;
|
|
2558
|
+
name: string;
|
|
2545
2559
|
layout: {
|
|
2546
2560
|
type: "centered" | "sidebar" | "full";
|
|
2547
2561
|
responsive?: {
|
|
@@ -2562,24 +2576,22 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2562
2576
|
};
|
|
2563
2577
|
} | undefined;
|
|
2564
2578
|
};
|
|
2565
|
-
category: "
|
|
2579
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2566
2580
|
id: string;
|
|
2567
|
-
name: string;
|
|
2568
|
-
version: string;
|
|
2569
2581
|
importStatement: string;
|
|
2570
2582
|
skeleton: {
|
|
2571
2583
|
shell: string;
|
|
2572
2584
|
page: string;
|
|
2573
2585
|
sections: {
|
|
2574
|
-
slot: string;
|
|
2575
|
-
id: string;
|
|
2576
2586
|
name: string;
|
|
2577
2587
|
required: boolean;
|
|
2588
|
+
id: string;
|
|
2589
|
+
slot: string;
|
|
2578
2590
|
}[];
|
|
2579
2591
|
};
|
|
2580
2592
|
customizable: {
|
|
2581
|
-
texts: string[];
|
|
2582
2593
|
optional: string[];
|
|
2594
|
+
texts: string[];
|
|
2583
2595
|
slots: string[];
|
|
2584
2596
|
};
|
|
2585
2597
|
requiredComponents: string[];
|
|
@@ -2596,7 +2608,9 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2596
2608
|
success: boolean;
|
|
2597
2609
|
error?: string | undefined;
|
|
2598
2610
|
template?: {
|
|
2611
|
+
version: string;
|
|
2599
2612
|
description: string;
|
|
2613
|
+
name: string;
|
|
2600
2614
|
layout: {
|
|
2601
2615
|
type: "centered" | "sidebar" | "full";
|
|
2602
2616
|
responsive?: {
|
|
@@ -2617,24 +2631,22 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2617
2631
|
};
|
|
2618
2632
|
} | undefined;
|
|
2619
2633
|
};
|
|
2620
|
-
category: "
|
|
2634
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2621
2635
|
id: string;
|
|
2622
|
-
name: string;
|
|
2623
|
-
version: string;
|
|
2624
2636
|
importStatement: string;
|
|
2625
2637
|
skeleton: {
|
|
2626
2638
|
shell: string;
|
|
2627
2639
|
page: string;
|
|
2628
2640
|
sections: {
|
|
2629
|
-
slot: string;
|
|
2630
|
-
id: string;
|
|
2631
2641
|
name: string;
|
|
2632
2642
|
required: boolean;
|
|
2643
|
+
id: string;
|
|
2644
|
+
slot: string;
|
|
2633
2645
|
}[];
|
|
2634
2646
|
};
|
|
2635
2647
|
customizable: {
|
|
2636
|
-
texts: string[];
|
|
2637
2648
|
optional: string[];
|
|
2649
|
+
texts: string[];
|
|
2638
2650
|
slots: string[];
|
|
2639
2651
|
};
|
|
2640
2652
|
requiredComponents: string[];
|
|
@@ -2685,67 +2697,67 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2685
2697
|
slot: z.ZodString;
|
|
2686
2698
|
required: z.ZodBoolean;
|
|
2687
2699
|
}, "strip", z.ZodTypeAny, {
|
|
2688
|
-
slot: string;
|
|
2689
|
-
id: string;
|
|
2690
2700
|
name: string;
|
|
2691
2701
|
required: boolean;
|
|
2692
|
-
}, {
|
|
2693
|
-
slot: string;
|
|
2694
2702
|
id: string;
|
|
2703
|
+
slot: string;
|
|
2704
|
+
}, {
|
|
2695
2705
|
name: string;
|
|
2696
2706
|
required: boolean;
|
|
2707
|
+
id: string;
|
|
2708
|
+
slot: string;
|
|
2697
2709
|
}>, "many">;
|
|
2698
2710
|
}, "strip", z.ZodTypeAny, {
|
|
2699
2711
|
shell: string;
|
|
2700
2712
|
page: string;
|
|
2701
2713
|
sections: {
|
|
2702
|
-
slot: string;
|
|
2703
|
-
id: string;
|
|
2704
2714
|
name: string;
|
|
2705
2715
|
required: boolean;
|
|
2716
|
+
id: string;
|
|
2717
|
+
slot: string;
|
|
2706
2718
|
}[];
|
|
2707
2719
|
}, {
|
|
2708
2720
|
shell: string;
|
|
2709
2721
|
page: string;
|
|
2710
2722
|
sections: {
|
|
2711
|
-
slot: string;
|
|
2712
|
-
id: string;
|
|
2713
2723
|
name: string;
|
|
2714
2724
|
required: boolean;
|
|
2725
|
+
id: string;
|
|
2726
|
+
slot: string;
|
|
2715
2727
|
}[];
|
|
2716
2728
|
}>>;
|
|
2717
2729
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2718
2730
|
}, "strip", z.ZodTypeAny, {
|
|
2731
|
+
category: string;
|
|
2719
2732
|
templateId: string;
|
|
2720
2733
|
templateName: string;
|
|
2721
|
-
category: string;
|
|
2722
2734
|
confidence: number;
|
|
2723
2735
|
matchedKeywords: string[];
|
|
2724
2736
|
skeleton?: {
|
|
2725
2737
|
shell: string;
|
|
2726
2738
|
page: string;
|
|
2727
2739
|
sections: {
|
|
2728
|
-
slot: string;
|
|
2729
|
-
id: string;
|
|
2730
2740
|
name: string;
|
|
2731
2741
|
required: boolean;
|
|
2742
|
+
id: string;
|
|
2743
|
+
slot: string;
|
|
2732
2744
|
}[];
|
|
2733
2745
|
} | undefined;
|
|
2734
2746
|
requiredComponents?: string[] | undefined;
|
|
2735
2747
|
}, {
|
|
2748
|
+
category: string;
|
|
2736
2749
|
templateId: string;
|
|
2737
2750
|
templateName: string;
|
|
2738
|
-
category: string;
|
|
2739
2751
|
confidence: number;
|
|
2740
2752
|
matchedKeywords: string[];
|
|
2741
2753
|
skeleton?: {
|
|
2742
2754
|
shell: string;
|
|
2743
2755
|
page: string;
|
|
2744
2756
|
sections: {
|
|
2745
|
-
slot: string;
|
|
2746
|
-
id: string;
|
|
2747
2757
|
name: string;
|
|
2748
2758
|
required: boolean;
|
|
2759
|
+
id: string;
|
|
2760
|
+
slot: string;
|
|
2749
2761
|
}[];
|
|
2750
2762
|
} | undefined;
|
|
2751
2763
|
requiredComponents?: string[] | undefined;
|
|
@@ -2767,14 +2779,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2767
2779
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2768
2780
|
description: z.ZodOptional<z.ZodString>;
|
|
2769
2781
|
}, "strip", z.ZodTypeAny, {
|
|
2770
|
-
type: string;
|
|
2771
2782
|
name: string;
|
|
2783
|
+
type: string;
|
|
2772
2784
|
required: boolean;
|
|
2773
2785
|
description?: string | undefined;
|
|
2774
2786
|
defaultValue?: string | undefined;
|
|
2775
2787
|
}, {
|
|
2776
|
-
type: string;
|
|
2777
2788
|
name: string;
|
|
2789
|
+
type: string;
|
|
2778
2790
|
required: boolean;
|
|
2779
2791
|
description?: string | undefined;
|
|
2780
2792
|
defaultValue?: string | undefined;
|
|
@@ -2784,48 +2796,48 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2784
2796
|
value: z.ZodString;
|
|
2785
2797
|
description: z.ZodOptional<z.ZodString>;
|
|
2786
2798
|
}, "strip", z.ZodTypeAny, {
|
|
2787
|
-
value: string;
|
|
2788
2799
|
name: string;
|
|
2800
|
+
value: string;
|
|
2789
2801
|
description?: string | undefined;
|
|
2790
2802
|
}, {
|
|
2791
|
-
value: string;
|
|
2792
2803
|
name: string;
|
|
2804
|
+
value: string;
|
|
2793
2805
|
description?: string | undefined;
|
|
2794
2806
|
}>, "many">>;
|
|
2795
2807
|
}, "strip", z.ZodTypeAny, {
|
|
2808
|
+
description: string;
|
|
2809
|
+
name: string;
|
|
2810
|
+
category: "core" | "complex" | "advanced";
|
|
2811
|
+
id: string;
|
|
2812
|
+
importStatement: string;
|
|
2796
2813
|
props: {
|
|
2797
|
-
type: string;
|
|
2798
2814
|
name: string;
|
|
2815
|
+
type: string;
|
|
2799
2816
|
required: boolean;
|
|
2800
2817
|
description?: string | undefined;
|
|
2801
2818
|
defaultValue?: string | undefined;
|
|
2802
2819
|
}[];
|
|
2803
|
-
description: string;
|
|
2804
|
-
category: "core" | "complex" | "advanced";
|
|
2805
|
-
id: string;
|
|
2806
|
-
name: string;
|
|
2807
|
-
importStatement: string;
|
|
2808
2820
|
variants?: {
|
|
2809
|
-
value: string;
|
|
2810
2821
|
name: string;
|
|
2822
|
+
value: string;
|
|
2811
2823
|
description?: string | undefined;
|
|
2812
2824
|
}[] | undefined;
|
|
2813
2825
|
}, {
|
|
2826
|
+
description: string;
|
|
2827
|
+
name: string;
|
|
2828
|
+
category: "core" | "complex" | "advanced";
|
|
2829
|
+
id: string;
|
|
2830
|
+
importStatement: string;
|
|
2814
2831
|
props: {
|
|
2815
|
-
type: string;
|
|
2816
2832
|
name: string;
|
|
2833
|
+
type: string;
|
|
2817
2834
|
required: boolean;
|
|
2818
2835
|
description?: string | undefined;
|
|
2819
2836
|
defaultValue?: string | undefined;
|
|
2820
2837
|
}[];
|
|
2821
|
-
description: string;
|
|
2822
|
-
category: "core" | "complex" | "advanced";
|
|
2823
|
-
id: string;
|
|
2824
|
-
name: string;
|
|
2825
|
-
importStatement: string;
|
|
2826
2838
|
variants?: {
|
|
2827
|
-
value: string;
|
|
2828
2839
|
name: string;
|
|
2840
|
+
value: string;
|
|
2829
2841
|
description?: string | undefined;
|
|
2830
2842
|
}[] | undefined;
|
|
2831
2843
|
}>;
|
|
@@ -2858,22 +2870,22 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2858
2870
|
children?: string | unknown[] | undefined;
|
|
2859
2871
|
}>, "many">;
|
|
2860
2872
|
}, "strip", z.ZodTypeAny, {
|
|
2873
|
+
pattern: string;
|
|
2861
2874
|
id: string;
|
|
2862
2875
|
components: {
|
|
2863
2876
|
type: string;
|
|
2864
2877
|
props?: Record<string, unknown> | undefined;
|
|
2865
2878
|
children?: string | unknown[] | undefined;
|
|
2866
2879
|
}[];
|
|
2867
|
-
pattern: string;
|
|
2868
2880
|
slot?: string | undefined;
|
|
2869
2881
|
}, {
|
|
2882
|
+
pattern: string;
|
|
2870
2883
|
id: string;
|
|
2871
2884
|
components: {
|
|
2872
2885
|
type: string;
|
|
2873
2886
|
props?: Record<string, unknown> | undefined;
|
|
2874
2887
|
children?: string | unknown[] | undefined;
|
|
2875
2888
|
}[];
|
|
2876
|
-
pattern: string;
|
|
2877
2889
|
slot?: string | undefined;
|
|
2878
2890
|
}>, "many">;
|
|
2879
2891
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2897,18 +2909,18 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2897
2909
|
page: string;
|
|
2898
2910
|
id: string;
|
|
2899
2911
|
sections: {
|
|
2912
|
+
pattern: string;
|
|
2900
2913
|
id: string;
|
|
2901
2914
|
components: {
|
|
2902
2915
|
type: string;
|
|
2903
2916
|
props?: Record<string, unknown> | undefined;
|
|
2904
2917
|
children?: string | unknown[] | undefined;
|
|
2905
2918
|
}[];
|
|
2906
|
-
pattern: string;
|
|
2907
2919
|
slot?: string | undefined;
|
|
2908
2920
|
}[];
|
|
2909
2921
|
description?: string | undefined;
|
|
2910
|
-
themeId?: string | undefined;
|
|
2911
2922
|
name?: string | undefined;
|
|
2923
|
+
themeId?: string | undefined;
|
|
2912
2924
|
metadata?: {
|
|
2913
2925
|
version?: string | undefined;
|
|
2914
2926
|
created?: string | undefined;
|
|
@@ -2920,18 +2932,18 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2920
2932
|
page: string;
|
|
2921
2933
|
id: string;
|
|
2922
2934
|
sections: {
|
|
2935
|
+
pattern: string;
|
|
2923
2936
|
id: string;
|
|
2924
2937
|
components: {
|
|
2925
2938
|
type: string;
|
|
2926
2939
|
props?: Record<string, unknown> | undefined;
|
|
2927
2940
|
children?: string | unknown[] | undefined;
|
|
2928
2941
|
}[];
|
|
2929
|
-
pattern: string;
|
|
2930
2942
|
slot?: string | undefined;
|
|
2931
2943
|
}[];
|
|
2932
2944
|
description?: string | undefined;
|
|
2933
|
-
themeId?: string | undefined;
|
|
2934
2945
|
name?: string | undefined;
|
|
2946
|
+
themeId?: string | undefined;
|
|
2935
2947
|
metadata?: {
|
|
2936
2948
|
version?: string | undefined;
|
|
2937
2949
|
created?: string | undefined;
|
|
@@ -2971,22 +2983,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2971
2983
|
children?: string | unknown[] | undefined;
|
|
2972
2984
|
}>, "many">;
|
|
2973
2985
|
}, "strip", z.ZodTypeAny, {
|
|
2986
|
+
pattern: string;
|
|
2974
2987
|
id: string;
|
|
2975
2988
|
components: {
|
|
2976
2989
|
type: string;
|
|
2977
2990
|
props?: Record<string, unknown> | undefined;
|
|
2978
2991
|
children?: string | unknown[] | undefined;
|
|
2979
2992
|
}[];
|
|
2980
|
-
pattern: string;
|
|
2981
2993
|
slot?: string | undefined;
|
|
2982
2994
|
}, {
|
|
2995
|
+
pattern: string;
|
|
2983
2996
|
id: string;
|
|
2984
2997
|
components: {
|
|
2985
2998
|
type: string;
|
|
2986
2999
|
props?: Record<string, unknown> | undefined;
|
|
2987
3000
|
children?: string | unknown[] | undefined;
|
|
2988
3001
|
}[];
|
|
2989
|
-
pattern: string;
|
|
2990
3002
|
slot?: string | undefined;
|
|
2991
3003
|
}>, "many">;
|
|
2992
3004
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3010,18 +3022,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3010
3022
|
page: string;
|
|
3011
3023
|
id: string;
|
|
3012
3024
|
sections: {
|
|
3025
|
+
pattern: string;
|
|
3013
3026
|
id: string;
|
|
3014
3027
|
components: {
|
|
3015
3028
|
type: string;
|
|
3016
3029
|
props?: Record<string, unknown> | undefined;
|
|
3017
3030
|
children?: string | unknown[] | undefined;
|
|
3018
3031
|
}[];
|
|
3019
|
-
pattern: string;
|
|
3020
3032
|
slot?: string | undefined;
|
|
3021
3033
|
}[];
|
|
3022
3034
|
description?: string | undefined;
|
|
3023
|
-
themeId?: string | undefined;
|
|
3024
3035
|
name?: string | undefined;
|
|
3036
|
+
themeId?: string | undefined;
|
|
3025
3037
|
metadata?: {
|
|
3026
3038
|
version?: string | undefined;
|
|
3027
3039
|
created?: string | undefined;
|
|
@@ -3033,18 +3045,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3033
3045
|
page: string;
|
|
3034
3046
|
id: string;
|
|
3035
3047
|
sections: {
|
|
3048
|
+
pattern: string;
|
|
3036
3049
|
id: string;
|
|
3037
3050
|
components: {
|
|
3038
3051
|
type: string;
|
|
3039
3052
|
props?: Record<string, unknown> | undefined;
|
|
3040
3053
|
children?: string | unknown[] | undefined;
|
|
3041
3054
|
}[];
|
|
3042
|
-
pattern: string;
|
|
3043
3055
|
slot?: string | undefined;
|
|
3044
3056
|
}[];
|
|
3045
3057
|
description?: string | undefined;
|
|
3046
|
-
themeId?: string | undefined;
|
|
3047
3058
|
name?: string | undefined;
|
|
3059
|
+
themeId?: string | undefined;
|
|
3048
3060
|
metadata?: {
|
|
3049
3061
|
version?: string | undefined;
|
|
3050
3062
|
created?: string | undefined;
|
|
@@ -3060,18 +3072,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3060
3072
|
page: string;
|
|
3061
3073
|
id: string;
|
|
3062
3074
|
sections: {
|
|
3075
|
+
pattern: string;
|
|
3063
3076
|
id: string;
|
|
3064
3077
|
components: {
|
|
3065
3078
|
type: string;
|
|
3066
3079
|
props?: Record<string, unknown> | undefined;
|
|
3067
3080
|
children?: string | unknown[] | undefined;
|
|
3068
3081
|
}[];
|
|
3069
|
-
pattern: string;
|
|
3070
3082
|
slot?: string | undefined;
|
|
3071
3083
|
}[];
|
|
3072
3084
|
description?: string | undefined;
|
|
3073
|
-
themeId?: string | undefined;
|
|
3074
3085
|
name?: string | undefined;
|
|
3086
|
+
themeId?: string | undefined;
|
|
3075
3087
|
metadata?: {
|
|
3076
3088
|
version?: string | undefined;
|
|
3077
3089
|
created?: string | undefined;
|
|
@@ -3087,18 +3099,18 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3087
3099
|
page: string;
|
|
3088
3100
|
id: string;
|
|
3089
3101
|
sections: {
|
|
3102
|
+
pattern: string;
|
|
3090
3103
|
id: string;
|
|
3091
3104
|
components: {
|
|
3092
3105
|
type: string;
|
|
3093
3106
|
props?: Record<string, unknown> | undefined;
|
|
3094
3107
|
children?: string | unknown[] | undefined;
|
|
3095
3108
|
}[];
|
|
3096
|
-
pattern: string;
|
|
3097
3109
|
slot?: string | undefined;
|
|
3098
3110
|
}[];
|
|
3099
3111
|
description?: string | undefined;
|
|
3100
|
-
themeId?: string | undefined;
|
|
3101
3112
|
name?: string | undefined;
|
|
3113
|
+
themeId?: string | undefined;
|
|
3102
3114
|
metadata?: {
|
|
3103
3115
|
version?: string | undefined;
|
|
3104
3116
|
created?: string | undefined;
|
|
@@ -3134,14 +3146,14 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3134
3146
|
message: z.ZodString;
|
|
3135
3147
|
example: z.ZodOptional<z.ZodString>;
|
|
3136
3148
|
}, "strip", z.ZodTypeAny, {
|
|
3137
|
-
message: string;
|
|
3138
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3139
3149
|
priority: "high" | "medium" | "low";
|
|
3150
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3151
|
+
message: string;
|
|
3140
3152
|
example?: string | undefined;
|
|
3141
3153
|
}, {
|
|
3142
|
-
message: string;
|
|
3143
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3144
3154
|
priority: "high" | "medium" | "low";
|
|
3155
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3156
|
+
message: string;
|
|
3145
3157
|
example?: string | undefined;
|
|
3146
3158
|
}>;
|
|
3147
3159
|
export type GenerationHint = z.infer<typeof GenerationHintSchema>;
|
|
@@ -3240,67 +3252,67 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3240
3252
|
slot: z.ZodString;
|
|
3241
3253
|
required: z.ZodBoolean;
|
|
3242
3254
|
}, "strip", z.ZodTypeAny, {
|
|
3243
|
-
slot: string;
|
|
3244
|
-
id: string;
|
|
3245
3255
|
name: string;
|
|
3246
3256
|
required: boolean;
|
|
3247
|
-
}, {
|
|
3248
|
-
slot: string;
|
|
3249
3257
|
id: string;
|
|
3258
|
+
slot: string;
|
|
3259
|
+
}, {
|
|
3250
3260
|
name: string;
|
|
3251
3261
|
required: boolean;
|
|
3262
|
+
id: string;
|
|
3263
|
+
slot: string;
|
|
3252
3264
|
}>, "many">;
|
|
3253
3265
|
}, "strip", z.ZodTypeAny, {
|
|
3254
3266
|
shell: string;
|
|
3255
3267
|
page: string;
|
|
3256
3268
|
sections: {
|
|
3257
|
-
slot: string;
|
|
3258
|
-
id: string;
|
|
3259
3269
|
name: string;
|
|
3260
3270
|
required: boolean;
|
|
3271
|
+
id: string;
|
|
3272
|
+
slot: string;
|
|
3261
3273
|
}[];
|
|
3262
3274
|
}, {
|
|
3263
3275
|
shell: string;
|
|
3264
3276
|
page: string;
|
|
3265
3277
|
sections: {
|
|
3266
|
-
slot: string;
|
|
3267
|
-
id: string;
|
|
3268
3278
|
name: string;
|
|
3269
3279
|
required: boolean;
|
|
3280
|
+
id: string;
|
|
3281
|
+
slot: string;
|
|
3270
3282
|
}[];
|
|
3271
3283
|
}>>;
|
|
3272
3284
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3273
3285
|
}, "strip", z.ZodTypeAny, {
|
|
3286
|
+
category: string;
|
|
3274
3287
|
templateId: string;
|
|
3275
3288
|
templateName: string;
|
|
3276
|
-
category: string;
|
|
3277
3289
|
confidence: number;
|
|
3278
3290
|
matchedKeywords: string[];
|
|
3279
3291
|
skeleton?: {
|
|
3280
3292
|
shell: string;
|
|
3281
3293
|
page: string;
|
|
3282
3294
|
sections: {
|
|
3283
|
-
slot: string;
|
|
3284
|
-
id: string;
|
|
3285
3295
|
name: string;
|
|
3286
3296
|
required: boolean;
|
|
3297
|
+
id: string;
|
|
3298
|
+
slot: string;
|
|
3287
3299
|
}[];
|
|
3288
3300
|
} | undefined;
|
|
3289
3301
|
requiredComponents?: string[] | undefined;
|
|
3290
3302
|
}, {
|
|
3303
|
+
category: string;
|
|
3291
3304
|
templateId: string;
|
|
3292
3305
|
templateName: string;
|
|
3293
|
-
category: string;
|
|
3294
3306
|
confidence: number;
|
|
3295
3307
|
matchedKeywords: string[];
|
|
3296
3308
|
skeleton?: {
|
|
3297
3309
|
shell: string;
|
|
3298
3310
|
page: string;
|
|
3299
3311
|
sections: {
|
|
3300
|
-
slot: string;
|
|
3301
|
-
id: string;
|
|
3302
3312
|
name: string;
|
|
3303
3313
|
required: boolean;
|
|
3314
|
+
id: string;
|
|
3315
|
+
slot: string;
|
|
3304
3316
|
}[];
|
|
3305
3317
|
} | undefined;
|
|
3306
3318
|
requiredComponents?: string[] | undefined;
|
|
@@ -3318,14 +3330,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3318
3330
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3319
3331
|
description: z.ZodOptional<z.ZodString>;
|
|
3320
3332
|
}, "strip", z.ZodTypeAny, {
|
|
3321
|
-
type: string;
|
|
3322
3333
|
name: string;
|
|
3334
|
+
type: string;
|
|
3323
3335
|
required: boolean;
|
|
3324
3336
|
description?: string | undefined;
|
|
3325
3337
|
defaultValue?: string | undefined;
|
|
3326
3338
|
}, {
|
|
3327
|
-
type: string;
|
|
3328
3339
|
name: string;
|
|
3340
|
+
type: string;
|
|
3329
3341
|
required: boolean;
|
|
3330
3342
|
description?: string | undefined;
|
|
3331
3343
|
defaultValue?: string | undefined;
|
|
@@ -3335,48 +3347,48 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3335
3347
|
value: z.ZodString;
|
|
3336
3348
|
description: z.ZodOptional<z.ZodString>;
|
|
3337
3349
|
}, "strip", z.ZodTypeAny, {
|
|
3338
|
-
value: string;
|
|
3339
3350
|
name: string;
|
|
3351
|
+
value: string;
|
|
3340
3352
|
description?: string | undefined;
|
|
3341
3353
|
}, {
|
|
3342
|
-
value: string;
|
|
3343
3354
|
name: string;
|
|
3355
|
+
value: string;
|
|
3344
3356
|
description?: string | undefined;
|
|
3345
3357
|
}>, "many">>;
|
|
3346
3358
|
}, "strip", z.ZodTypeAny, {
|
|
3359
|
+
description: string;
|
|
3360
|
+
name: string;
|
|
3361
|
+
category: "core" | "complex" | "advanced";
|
|
3362
|
+
id: string;
|
|
3363
|
+
importStatement: string;
|
|
3347
3364
|
props: {
|
|
3348
|
-
type: string;
|
|
3349
3365
|
name: string;
|
|
3366
|
+
type: string;
|
|
3350
3367
|
required: boolean;
|
|
3351
3368
|
description?: string | undefined;
|
|
3352
3369
|
defaultValue?: string | undefined;
|
|
3353
3370
|
}[];
|
|
3354
|
-
description: string;
|
|
3355
|
-
category: "core" | "complex" | "advanced";
|
|
3356
|
-
id: string;
|
|
3357
|
-
name: string;
|
|
3358
|
-
importStatement: string;
|
|
3359
3371
|
variants?: {
|
|
3360
|
-
value: string;
|
|
3361
3372
|
name: string;
|
|
3373
|
+
value: string;
|
|
3362
3374
|
description?: string | undefined;
|
|
3363
3375
|
}[] | undefined;
|
|
3364
3376
|
}, {
|
|
3377
|
+
description: string;
|
|
3378
|
+
name: string;
|
|
3379
|
+
category: "core" | "complex" | "advanced";
|
|
3380
|
+
id: string;
|
|
3381
|
+
importStatement: string;
|
|
3365
3382
|
props: {
|
|
3366
|
-
type: string;
|
|
3367
3383
|
name: string;
|
|
3384
|
+
type: string;
|
|
3368
3385
|
required: boolean;
|
|
3369
3386
|
description?: string | undefined;
|
|
3370
3387
|
defaultValue?: string | undefined;
|
|
3371
3388
|
}[];
|
|
3372
|
-
description: string;
|
|
3373
|
-
category: "core" | "complex" | "advanced";
|
|
3374
|
-
id: string;
|
|
3375
|
-
name: string;
|
|
3376
|
-
importStatement: string;
|
|
3377
3389
|
variants?: {
|
|
3378
|
-
value: string;
|
|
3379
3390
|
name: string;
|
|
3391
|
+
value: string;
|
|
3380
3392
|
description?: string | undefined;
|
|
3381
3393
|
}[] | undefined;
|
|
3382
3394
|
}>, "many">>;
|
|
@@ -3418,22 +3430,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3418
3430
|
children?: string | unknown[] | undefined;
|
|
3419
3431
|
}>, "many">;
|
|
3420
3432
|
}, "strip", z.ZodTypeAny, {
|
|
3433
|
+
pattern: string;
|
|
3421
3434
|
id: string;
|
|
3422
3435
|
components: {
|
|
3423
3436
|
type: string;
|
|
3424
3437
|
props?: Record<string, unknown> | undefined;
|
|
3425
3438
|
children?: string | unknown[] | undefined;
|
|
3426
3439
|
}[];
|
|
3427
|
-
pattern: string;
|
|
3428
3440
|
slot?: string | undefined;
|
|
3429
3441
|
}, {
|
|
3442
|
+
pattern: string;
|
|
3430
3443
|
id: string;
|
|
3431
3444
|
components: {
|
|
3432
3445
|
type: string;
|
|
3433
3446
|
props?: Record<string, unknown> | undefined;
|
|
3434
3447
|
children?: string | unknown[] | undefined;
|
|
3435
3448
|
}[];
|
|
3436
|
-
pattern: string;
|
|
3437
3449
|
slot?: string | undefined;
|
|
3438
3450
|
}>, "many">;
|
|
3439
3451
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3457,18 +3469,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3457
3469
|
page: string;
|
|
3458
3470
|
id: string;
|
|
3459
3471
|
sections: {
|
|
3472
|
+
pattern: string;
|
|
3460
3473
|
id: string;
|
|
3461
3474
|
components: {
|
|
3462
3475
|
type: string;
|
|
3463
3476
|
props?: Record<string, unknown> | undefined;
|
|
3464
3477
|
children?: string | unknown[] | undefined;
|
|
3465
3478
|
}[];
|
|
3466
|
-
pattern: string;
|
|
3467
3479
|
slot?: string | undefined;
|
|
3468
3480
|
}[];
|
|
3469
3481
|
description?: string | undefined;
|
|
3470
|
-
themeId?: string | undefined;
|
|
3471
3482
|
name?: string | undefined;
|
|
3483
|
+
themeId?: string | undefined;
|
|
3472
3484
|
metadata?: {
|
|
3473
3485
|
version?: string | undefined;
|
|
3474
3486
|
created?: string | undefined;
|
|
@@ -3480,18 +3492,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3480
3492
|
page: string;
|
|
3481
3493
|
id: string;
|
|
3482
3494
|
sections: {
|
|
3495
|
+
pattern: string;
|
|
3483
3496
|
id: string;
|
|
3484
3497
|
components: {
|
|
3485
3498
|
type: string;
|
|
3486
3499
|
props?: Record<string, unknown> | undefined;
|
|
3487
3500
|
children?: string | unknown[] | undefined;
|
|
3488
3501
|
}[];
|
|
3489
|
-
pattern: string;
|
|
3490
3502
|
slot?: string | undefined;
|
|
3491
3503
|
}[];
|
|
3492
3504
|
description?: string | undefined;
|
|
3493
|
-
themeId?: string | undefined;
|
|
3494
3505
|
name?: string | undefined;
|
|
3506
|
+
themeId?: string | undefined;
|
|
3495
3507
|
metadata?: {
|
|
3496
3508
|
version?: string | undefined;
|
|
3497
3509
|
created?: string | undefined;
|
|
@@ -3507,18 +3519,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3507
3519
|
page: string;
|
|
3508
3520
|
id: string;
|
|
3509
3521
|
sections: {
|
|
3522
|
+
pattern: string;
|
|
3510
3523
|
id: string;
|
|
3511
3524
|
components: {
|
|
3512
3525
|
type: string;
|
|
3513
3526
|
props?: Record<string, unknown> | undefined;
|
|
3514
3527
|
children?: string | unknown[] | undefined;
|
|
3515
3528
|
}[];
|
|
3516
|
-
pattern: string;
|
|
3517
3529
|
slot?: string | undefined;
|
|
3518
3530
|
}[];
|
|
3519
3531
|
description?: string | undefined;
|
|
3520
|
-
themeId?: string | undefined;
|
|
3521
3532
|
name?: string | undefined;
|
|
3533
|
+
themeId?: string | undefined;
|
|
3522
3534
|
metadata?: {
|
|
3523
3535
|
version?: string | undefined;
|
|
3524
3536
|
created?: string | undefined;
|
|
@@ -3534,18 +3546,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3534
3546
|
page: string;
|
|
3535
3547
|
id: string;
|
|
3536
3548
|
sections: {
|
|
3549
|
+
pattern: string;
|
|
3537
3550
|
id: string;
|
|
3538
3551
|
components: {
|
|
3539
3552
|
type: string;
|
|
3540
3553
|
props?: Record<string, unknown> | undefined;
|
|
3541
3554
|
children?: string | unknown[] | undefined;
|
|
3542
3555
|
}[];
|
|
3543
|
-
pattern: string;
|
|
3544
3556
|
slot?: string | undefined;
|
|
3545
3557
|
}[];
|
|
3546
3558
|
description?: string | undefined;
|
|
3547
|
-
themeId?: string | undefined;
|
|
3548
3559
|
name?: string | undefined;
|
|
3560
|
+
themeId?: string | undefined;
|
|
3549
3561
|
metadata?: {
|
|
3550
3562
|
version?: string | undefined;
|
|
3551
3563
|
created?: string | undefined;
|
|
@@ -3573,14 +3585,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3573
3585
|
message: z.ZodString;
|
|
3574
3586
|
example: z.ZodOptional<z.ZodString>;
|
|
3575
3587
|
}, "strip", z.ZodTypeAny, {
|
|
3576
|
-
message: string;
|
|
3577
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3578
3588
|
priority: "high" | "medium" | "low";
|
|
3589
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3590
|
+
message: string;
|
|
3579
3591
|
example?: string | undefined;
|
|
3580
3592
|
}, {
|
|
3581
|
-
message: string;
|
|
3582
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3583
3593
|
priority: "high" | "medium" | "low";
|
|
3594
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3595
|
+
message: string;
|
|
3584
3596
|
example?: string | undefined;
|
|
3585
3597
|
}>, "many">>;
|
|
3586
3598
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -3634,21 +3646,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3634
3646
|
success: boolean;
|
|
3635
3647
|
error?: string | undefined;
|
|
3636
3648
|
components?: {
|
|
3649
|
+
description: string;
|
|
3650
|
+
name: string;
|
|
3651
|
+
category: "core" | "complex" | "advanced";
|
|
3652
|
+
id: string;
|
|
3653
|
+
importStatement: string;
|
|
3637
3654
|
props: {
|
|
3638
|
-
type: string;
|
|
3639
3655
|
name: string;
|
|
3656
|
+
type: string;
|
|
3640
3657
|
required: boolean;
|
|
3641
3658
|
description?: string | undefined;
|
|
3642
3659
|
defaultValue?: string | undefined;
|
|
3643
3660
|
}[];
|
|
3644
|
-
description: string;
|
|
3645
|
-
category: "core" | "complex" | "advanced";
|
|
3646
|
-
id: string;
|
|
3647
|
-
name: string;
|
|
3648
|
-
importStatement: string;
|
|
3649
3661
|
variants?: {
|
|
3650
|
-
value: string;
|
|
3651
3662
|
name: string;
|
|
3663
|
+
value: string;
|
|
3652
3664
|
description?: string | undefined;
|
|
3653
3665
|
}[] | undefined;
|
|
3654
3666
|
}[] | undefined;
|
|
@@ -3660,18 +3672,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3660
3672
|
page: string;
|
|
3661
3673
|
id: string;
|
|
3662
3674
|
sections: {
|
|
3675
|
+
pattern: string;
|
|
3663
3676
|
id: string;
|
|
3664
3677
|
components: {
|
|
3665
3678
|
type: string;
|
|
3666
3679
|
props?: Record<string, unknown> | undefined;
|
|
3667
3680
|
children?: string | unknown[] | undefined;
|
|
3668
3681
|
}[];
|
|
3669
|
-
pattern: string;
|
|
3670
3682
|
slot?: string | undefined;
|
|
3671
3683
|
}[];
|
|
3672
3684
|
description?: string | undefined;
|
|
3673
|
-
themeId?: string | undefined;
|
|
3674
3685
|
name?: string | undefined;
|
|
3686
|
+
themeId?: string | undefined;
|
|
3675
3687
|
metadata?: {
|
|
3676
3688
|
version?: string | undefined;
|
|
3677
3689
|
created?: string | undefined;
|
|
@@ -3681,19 +3693,19 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3681
3693
|
};
|
|
3682
3694
|
}[] | undefined;
|
|
3683
3695
|
templateMatch?: {
|
|
3696
|
+
category: string;
|
|
3684
3697
|
templateId: string;
|
|
3685
3698
|
templateName: string;
|
|
3686
|
-
category: string;
|
|
3687
3699
|
confidence: number;
|
|
3688
3700
|
matchedKeywords: string[];
|
|
3689
3701
|
skeleton?: {
|
|
3690
3702
|
shell: string;
|
|
3691
3703
|
page: string;
|
|
3692
3704
|
sections: {
|
|
3693
|
-
slot: string;
|
|
3694
|
-
id: string;
|
|
3695
3705
|
name: string;
|
|
3696
3706
|
required: boolean;
|
|
3707
|
+
id: string;
|
|
3708
|
+
slot: string;
|
|
3697
3709
|
}[];
|
|
3698
3710
|
} | undefined;
|
|
3699
3711
|
requiredComponents?: string[] | undefined;
|
|
@@ -3708,9 +3720,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3708
3720
|
defaultClassName?: string | undefined;
|
|
3709
3721
|
}[] | undefined;
|
|
3710
3722
|
hints?: {
|
|
3711
|
-
message: string;
|
|
3712
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3713
3723
|
priority: "high" | "medium" | "low";
|
|
3724
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3725
|
+
message: string;
|
|
3714
3726
|
example?: string | undefined;
|
|
3715
3727
|
}[] | undefined;
|
|
3716
3728
|
workflow?: {
|
|
@@ -3729,21 +3741,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3729
3741
|
success: boolean;
|
|
3730
3742
|
error?: string | undefined;
|
|
3731
3743
|
components?: {
|
|
3744
|
+
description: string;
|
|
3745
|
+
name: string;
|
|
3746
|
+
category: "core" | "complex" | "advanced";
|
|
3747
|
+
id: string;
|
|
3748
|
+
importStatement: string;
|
|
3732
3749
|
props: {
|
|
3733
|
-
type: string;
|
|
3734
3750
|
name: string;
|
|
3751
|
+
type: string;
|
|
3735
3752
|
required: boolean;
|
|
3736
3753
|
description?: string | undefined;
|
|
3737
3754
|
defaultValue?: string | undefined;
|
|
3738
3755
|
}[];
|
|
3739
|
-
description: string;
|
|
3740
|
-
category: "core" | "complex" | "advanced";
|
|
3741
|
-
id: string;
|
|
3742
|
-
name: string;
|
|
3743
|
-
importStatement: string;
|
|
3744
3756
|
variants?: {
|
|
3745
|
-
value: string;
|
|
3746
3757
|
name: string;
|
|
3758
|
+
value: string;
|
|
3747
3759
|
description?: string | undefined;
|
|
3748
3760
|
}[] | undefined;
|
|
3749
3761
|
}[] | undefined;
|
|
@@ -3755,18 +3767,18 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3755
3767
|
page: string;
|
|
3756
3768
|
id: string;
|
|
3757
3769
|
sections: {
|
|
3770
|
+
pattern: string;
|
|
3758
3771
|
id: string;
|
|
3759
3772
|
components: {
|
|
3760
3773
|
type: string;
|
|
3761
3774
|
props?: Record<string, unknown> | undefined;
|
|
3762
3775
|
children?: string | unknown[] | undefined;
|
|
3763
3776
|
}[];
|
|
3764
|
-
pattern: string;
|
|
3765
3777
|
slot?: string | undefined;
|
|
3766
3778
|
}[];
|
|
3767
3779
|
description?: string | undefined;
|
|
3768
|
-
themeId?: string | undefined;
|
|
3769
3780
|
name?: string | undefined;
|
|
3781
|
+
themeId?: string | undefined;
|
|
3770
3782
|
metadata?: {
|
|
3771
3783
|
version?: string | undefined;
|
|
3772
3784
|
created?: string | undefined;
|
|
@@ -3776,19 +3788,19 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3776
3788
|
};
|
|
3777
3789
|
}[] | undefined;
|
|
3778
3790
|
templateMatch?: {
|
|
3791
|
+
category: string;
|
|
3779
3792
|
templateId: string;
|
|
3780
3793
|
templateName: string;
|
|
3781
|
-
category: string;
|
|
3782
3794
|
confidence: number;
|
|
3783
3795
|
matchedKeywords: string[];
|
|
3784
3796
|
skeleton?: {
|
|
3785
3797
|
shell: string;
|
|
3786
3798
|
page: string;
|
|
3787
3799
|
sections: {
|
|
3788
|
-
slot: string;
|
|
3789
|
-
id: string;
|
|
3790
3800
|
name: string;
|
|
3791
3801
|
required: boolean;
|
|
3802
|
+
id: string;
|
|
3803
|
+
slot: string;
|
|
3792
3804
|
}[];
|
|
3793
3805
|
} | undefined;
|
|
3794
3806
|
requiredComponents?: string[] | undefined;
|
|
@@ -3803,9 +3815,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3803
3815
|
defaultClassName?: string | undefined;
|
|
3804
3816
|
}[] | undefined;
|
|
3805
3817
|
hints?: {
|
|
3806
|
-
message: string;
|
|
3807
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3808
3818
|
priority: "high" | "medium" | "low";
|
|
3819
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3820
|
+
message: string;
|
|
3809
3821
|
example?: string | undefined;
|
|
3810
3822
|
}[] | undefined;
|
|
3811
3823
|
workflow?: {
|
|
@@ -3870,21 +3882,21 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
3870
3882
|
prettier?: boolean | undefined;
|
|
3871
3883
|
}>>;
|
|
3872
3884
|
}, "strip", z.ZodTypeAny, {
|
|
3873
|
-
outputFormat: "
|
|
3885
|
+
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
3886
|
+
screenDefinition?: unknown;
|
|
3874
3887
|
options?: {
|
|
3875
3888
|
typescript: boolean;
|
|
3876
3889
|
prettier: boolean;
|
|
3877
3890
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
3878
3891
|
} | undefined;
|
|
3879
|
-
screenDefinition?: unknown;
|
|
3880
3892
|
}, {
|
|
3881
|
-
outputFormat: "
|
|
3893
|
+
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
3894
|
+
screenDefinition?: unknown;
|
|
3882
3895
|
options?: {
|
|
3883
3896
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
3884
3897
|
typescript?: boolean | undefined;
|
|
3885
3898
|
prettier?: boolean | undefined;
|
|
3886
3899
|
} | undefined;
|
|
3887
|
-
screenDefinition?: unknown;
|
|
3888
3900
|
}>;
|
|
3889
3901
|
export type GenerateScreenInput = z.infer<typeof GenerateScreenInputSchema>;
|
|
3890
3902
|
/**
|
|
@@ -4011,8 +4023,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4011
4023
|
value?: unknown;
|
|
4012
4024
|
}>, "many">>;
|
|
4013
4025
|
}, "strip", z.ZodTypeAny, {
|
|
4014
|
-
message: string;
|
|
4015
4026
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4027
|
+
message: string;
|
|
4016
4028
|
autoFix?: {
|
|
4017
4029
|
path: string;
|
|
4018
4030
|
op: "replace" | "add" | "remove";
|
|
@@ -4021,8 +4033,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4021
4033
|
affectedPath?: string | undefined;
|
|
4022
4034
|
suggestedChange?: string | undefined;
|
|
4023
4035
|
}, {
|
|
4024
|
-
message: string;
|
|
4025
4036
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4037
|
+
message: string;
|
|
4026
4038
|
autoFix?: {
|
|
4027
4039
|
path: string;
|
|
4028
4040
|
op: "replace" | "add" | "remove";
|
|
@@ -4118,8 +4130,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4118
4130
|
value?: unknown;
|
|
4119
4131
|
}>, "many">>;
|
|
4120
4132
|
}, "strip", z.ZodTypeAny, {
|
|
4121
|
-
message: string;
|
|
4122
4133
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4134
|
+
message: string;
|
|
4123
4135
|
autoFix?: {
|
|
4124
4136
|
path: string;
|
|
4125
4137
|
op: "replace" | "add" | "remove";
|
|
@@ -4128,8 +4140,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4128
4140
|
affectedPath?: string | undefined;
|
|
4129
4141
|
suggestedChange?: string | undefined;
|
|
4130
4142
|
}, {
|
|
4131
|
-
message: string;
|
|
4132
4143
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4144
|
+
message: string;
|
|
4133
4145
|
autoFix?: {
|
|
4134
4146
|
path: string;
|
|
4135
4147
|
op: "replace" | "add" | "remove";
|
|
@@ -4176,8 +4188,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4176
4188
|
recommendation?: string | undefined;
|
|
4177
4189
|
}[] | undefined;
|
|
4178
4190
|
suggestions?: {
|
|
4179
|
-
message: string;
|
|
4180
4191
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4192
|
+
message: string;
|
|
4181
4193
|
autoFix?: {
|
|
4182
4194
|
path: string;
|
|
4183
4195
|
op: "replace" | "add" | "remove";
|
|
@@ -4215,8 +4227,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4215
4227
|
recommendation?: string | undefined;
|
|
4216
4228
|
}[] | undefined;
|
|
4217
4229
|
suggestions?: {
|
|
4218
|
-
message: string;
|
|
4219
4230
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4231
|
+
message: string;
|
|
4220
4232
|
autoFix?: {
|
|
4221
4233
|
path: string;
|
|
4222
4234
|
op: "replace" | "add" | "remove";
|
|
@@ -4300,13 +4312,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4300
4312
|
}, "strip", z.ZodTypeAny, {
|
|
4301
4313
|
success: boolean;
|
|
4302
4314
|
error?: string | undefined;
|
|
4303
|
-
installCommands?: {
|
|
4304
|
-
npm: string;
|
|
4305
|
-
yarn: string;
|
|
4306
|
-
pnpm: string;
|
|
4307
|
-
bun: string;
|
|
4308
|
-
} | undefined;
|
|
4309
|
-
warnings?: string[] | undefined;
|
|
4310
4315
|
tailwind?: {
|
|
4311
4316
|
issues: string[];
|
|
4312
4317
|
configFound: boolean;
|
|
@@ -4315,18 +4320,18 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4315
4320
|
fixes: string[];
|
|
4316
4321
|
configPath?: string | undefined;
|
|
4317
4322
|
} | undefined;
|
|
4318
|
-
|
|
4319
|
-
missing?: string[] | undefined;
|
|
4320
|
-
}, {
|
|
4321
|
-
success: boolean;
|
|
4322
|
-
error?: string | undefined;
|
|
4323
|
+
warnings?: string[] | undefined;
|
|
4323
4324
|
installCommands?: {
|
|
4324
4325
|
npm: string;
|
|
4325
4326
|
yarn: string;
|
|
4326
4327
|
pnpm: string;
|
|
4327
4328
|
bun: string;
|
|
4328
4329
|
} | undefined;
|
|
4329
|
-
|
|
4330
|
+
installed?: Record<string, string> | undefined;
|
|
4331
|
+
missing?: string[] | undefined;
|
|
4332
|
+
}, {
|
|
4333
|
+
success: boolean;
|
|
4334
|
+
error?: string | undefined;
|
|
4330
4335
|
tailwind?: {
|
|
4331
4336
|
issues: string[];
|
|
4332
4337
|
configFound: boolean;
|
|
@@ -4335,6 +4340,13 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4335
4340
|
fixes: string[];
|
|
4336
4341
|
configPath?: string | undefined;
|
|
4337
4342
|
} | undefined;
|
|
4343
|
+
warnings?: string[] | undefined;
|
|
4344
|
+
installCommands?: {
|
|
4345
|
+
npm: string;
|
|
4346
|
+
yarn: string;
|
|
4347
|
+
pnpm: string;
|
|
4348
|
+
bun: string;
|
|
4349
|
+
} | undefined;
|
|
4338
4350
|
installed?: Record<string, string> | undefined;
|
|
4339
4351
|
missing?: string[] | undefined;
|
|
4340
4352
|
}>;
|