@framingui/mcp-server 0.5.6 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/cache.test.d.ts +6 -0
- package/dist/__tests__/cache.test.d.ts.map +1 -0
- package/dist/__tests__/cache.test.js +86 -0
- package/dist/__tests__/cache.test.js.map +1 -0
- package/dist/__tests__/data-client.test.d.ts +13 -0
- package/dist/__tests__/data-client.test.d.ts.map +1 -0
- package/dist/__tests__/data-client.test.js +323 -0
- package/dist/__tests__/data-client.test.js.map +1 -0
- package/dist/api/data-client.d.ts +82 -0
- package/dist/api/data-client.d.ts.map +1 -1
- package/dist/api/data-client.js +198 -0
- package/dist/api/data-client.js.map +1 -1
- package/dist/auth/cache.d.ts +5 -0
- package/dist/auth/cache.d.ts.map +1 -1
- package/dist/auth/cache.js +11 -0
- package/dist/auth/cache.js.map +1 -1
- package/dist/data/template-matcher.d.ts +7 -1
- package/dist/data/template-matcher.d.ts.map +1 -1
- package/dist/data/template-matcher.js +18 -5
- package/dist/data/template-matcher.js.map +1 -1
- package/dist/generators/core-resolver.d.ts +7 -13
- package/dist/generators/core-resolver.d.ts.map +1 -1
- package/dist/generators/core-resolver.js +7 -84
- package/dist/generators/core-resolver.js.map +1 -1
- package/dist/generators/css-generator.d.ts +8 -26
- package/dist/generators/css-generator.d.ts.map +1 -1
- package/dist/generators/css-generator.js +17 -265
- package/dist/generators/css-generator.js.map +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/index.d.ts.map +1 -1
- package/dist/generators/index.js +4 -2
- package/dist/generators/index.js.map +1 -1
- package/dist/schemas/mcp-schemas.d.ts +385 -385
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/tools/export-screen.d.ts.map +1 -1
- package/dist/tools/export-screen.js +6 -9
- package/dist/tools/export-screen.js.map +1 -1
- package/dist/tools/get-screen-generation-context.d.ts +1 -0
- package/dist/tools/get-screen-generation-context.d.ts.map +1 -1
- package/dist/tools/get-screen-generation-context.js +34 -23
- package/dist/tools/get-screen-generation-context.js.map +1 -1
- package/dist/tools/list-components.d.ts +2 -1
- package/dist/tools/list-components.d.ts.map +1 -1
- package/dist/tools/list-components.js +20 -14
- package/dist/tools/list-components.js.map +1 -1
- package/dist/tools/list-screen-templates.d.ts +2 -1
- package/dist/tools/list-screen-templates.d.ts.map +1 -1
- package/dist/tools/list-screen-templates.js +23 -25
- package/dist/tools/list-screen-templates.js.map +1 -1
- package/dist/tools/list-tokens.d.ts +2 -1
- package/dist/tools/list-tokens.d.ts.map +1 -1
- package/dist/tools/list-tokens.js +8 -37
- package/dist/tools/list-tokens.js.map +1 -1
- package/dist/tools/preview-component.d.ts +1 -0
- package/dist/tools/preview-component.d.ts.map +1 -1
- package/dist/tools/preview-component.js +21 -23
- package/dist/tools/preview-component.js.map +1 -1
- package/dist/tools/preview-screen-template.d.ts +1 -0
- package/dist/tools/preview-screen-template.d.ts.map +1 -1
- package/dist/tools/preview-screen-template.js +5 -3
- package/dist/tools/preview-screen-template.js.map +1 -1
- package/dist/tools/validate-screen-definition.d.ts.map +1 -1
- package/dist/tools/validate-screen-definition.js +49 -12
- package/dist/tools/validate-screen-definition.js.map +1 -1
- package/package.json +2 -4
|
@@ -36,9 +36,10 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
36
36
|
error: z.ZodOptional<z.ZodString>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
success: boolean;
|
|
39
|
+
error?: string | undefined;
|
|
40
|
+
message?: string | undefined;
|
|
39
41
|
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
40
42
|
isMaster?: boolean | undefined;
|
|
41
|
-
message?: string | undefined;
|
|
42
43
|
licensedThemes?: string[] | undefined;
|
|
43
44
|
totalThemes?: number | undefined;
|
|
44
45
|
mcpSupport?: {
|
|
@@ -48,12 +49,12 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
48
49
|
is_trial?: boolean | undefined;
|
|
49
50
|
trial_expires_at?: string | null | undefined;
|
|
50
51
|
trial_days_left?: number | null | undefined;
|
|
51
|
-
error?: string | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
success: boolean;
|
|
54
|
+
error?: string | undefined;
|
|
55
|
+
message?: string | undefined;
|
|
54
56
|
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
55
57
|
isMaster?: boolean | undefined;
|
|
56
|
-
message?: string | undefined;
|
|
57
58
|
licensedThemes?: string[] | undefined;
|
|
58
59
|
totalThemes?: number | undefined;
|
|
59
60
|
mcpSupport?: {
|
|
@@ -63,7 +64,6 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
63
64
|
is_trial?: boolean | undefined;
|
|
64
65
|
trial_expires_at?: string | null | undefined;
|
|
65
66
|
trial_days_left?: number | null | undefined;
|
|
66
|
-
error?: string | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
export type WhoamiOutput = z.infer<typeof WhoamiOutputSchema>;
|
|
69
69
|
/**
|
|
@@ -88,16 +88,16 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
88
88
|
componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
description: string;
|
|
91
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "
|
|
91
|
+
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
92
92
|
themeId: string;
|
|
93
|
-
componentHints?: string[] | undefined;
|
|
94
93
|
iconLibrary?: string | undefined;
|
|
94
|
+
componentHints?: string[] | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
description: string;
|
|
97
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "
|
|
97
|
+
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
98
98
|
themeId: string;
|
|
99
|
-
componentHints?: string[] | undefined;
|
|
100
99
|
iconLibrary?: string | undefined;
|
|
100
|
+
componentHints?: string[] | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
103
103
|
/**
|
|
@@ -115,13 +115,13 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
115
115
|
page: z.ZodString;
|
|
116
116
|
description: z.ZodString;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
description: string;
|
|
119
118
|
shell: string;
|
|
120
119
|
page: string;
|
|
121
|
-
}, {
|
|
122
120
|
description: string;
|
|
121
|
+
}, {
|
|
123
122
|
shell: string;
|
|
124
123
|
page: string;
|
|
124
|
+
description: string;
|
|
125
125
|
}>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
category: string;
|
|
@@ -130,9 +130,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
130
130
|
confidence: number;
|
|
131
131
|
matchedKeywords: string[];
|
|
132
132
|
layoutRecommendation: {
|
|
133
|
-
description: string;
|
|
134
133
|
shell: string;
|
|
135
134
|
page: string;
|
|
135
|
+
description: string;
|
|
136
136
|
};
|
|
137
137
|
}, {
|
|
138
138
|
category: string;
|
|
@@ -141,9 +141,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
141
141
|
confidence: number;
|
|
142
142
|
matchedKeywords: string[];
|
|
143
143
|
layoutRecommendation: {
|
|
144
|
-
description: string;
|
|
145
144
|
shell: string;
|
|
146
145
|
page: string;
|
|
146
|
+
description: string;
|
|
147
147
|
};
|
|
148
148
|
}>;
|
|
149
149
|
export type TemplateRecommendation = z.infer<typeof TemplateRecommendationSchema>;
|
|
@@ -173,11 +173,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
173
173
|
}>, "many">;
|
|
174
174
|
timestamp: z.ZodNumber;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
id: string;
|
|
176
177
|
name: string;
|
|
177
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "
|
|
178
|
+
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
178
179
|
themeId: string;
|
|
179
180
|
iconLibrary: string;
|
|
180
|
-
id: string;
|
|
181
181
|
components: {
|
|
182
182
|
type: string;
|
|
183
183
|
props?: Record<string, unknown>;
|
|
@@ -186,11 +186,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
186
186
|
}[];
|
|
187
187
|
timestamp: number;
|
|
188
188
|
}, {
|
|
189
|
+
id: string;
|
|
189
190
|
name: string;
|
|
190
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "
|
|
191
|
+
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
191
192
|
themeId: string;
|
|
192
193
|
iconLibrary: string;
|
|
193
|
-
id: string;
|
|
194
194
|
components: {
|
|
195
195
|
type: string;
|
|
196
196
|
props?: Record<string, unknown>;
|
|
@@ -210,13 +210,13 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
210
210
|
page: z.ZodString;
|
|
211
211
|
description: z.ZodString;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
description: string;
|
|
214
213
|
shell: string;
|
|
215
214
|
page: string;
|
|
216
|
-
}, {
|
|
217
215
|
description: string;
|
|
216
|
+
}, {
|
|
218
217
|
shell: string;
|
|
219
218
|
page: string;
|
|
219
|
+
description: string;
|
|
220
220
|
}>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
category: string;
|
|
@@ -225,9 +225,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
225
225
|
confidence: number;
|
|
226
226
|
matchedKeywords: string[];
|
|
227
227
|
layoutRecommendation: {
|
|
228
|
-
description: string;
|
|
229
228
|
shell: string;
|
|
230
229
|
page: string;
|
|
230
|
+
description: string;
|
|
231
231
|
};
|
|
232
232
|
}, {
|
|
233
233
|
category: string;
|
|
@@ -236,20 +236,21 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
236
236
|
confidence: number;
|
|
237
237
|
matchedKeywords: string[];
|
|
238
238
|
layoutRecommendation: {
|
|
239
|
-
description: string;
|
|
240
239
|
shell: string;
|
|
241
240
|
page: string;
|
|
241
|
+
description: string;
|
|
242
242
|
};
|
|
243
243
|
}>, "many">>;
|
|
244
244
|
error: z.ZodOptional<z.ZodString>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
success: boolean;
|
|
247
|
+
error?: string | undefined;
|
|
247
248
|
blueprint?: {
|
|
249
|
+
id: string;
|
|
248
250
|
name: string;
|
|
249
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "
|
|
251
|
+
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
250
252
|
themeId: string;
|
|
251
253
|
iconLibrary: string;
|
|
252
|
-
id: string;
|
|
253
254
|
components: {
|
|
254
255
|
type: string;
|
|
255
256
|
props?: Record<string, unknown>;
|
|
@@ -258,7 +259,6 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
258
259
|
}[];
|
|
259
260
|
timestamp: number;
|
|
260
261
|
} | undefined;
|
|
261
|
-
error?: string | undefined;
|
|
262
262
|
templateRecommendations?: {
|
|
263
263
|
category: string;
|
|
264
264
|
templateId: string;
|
|
@@ -266,19 +266,20 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
266
266
|
confidence: number;
|
|
267
267
|
matchedKeywords: string[];
|
|
268
268
|
layoutRecommendation: {
|
|
269
|
-
description: string;
|
|
270
269
|
shell: string;
|
|
271
270
|
page: string;
|
|
271
|
+
description: string;
|
|
272
272
|
};
|
|
273
273
|
}[] | undefined;
|
|
274
274
|
}, {
|
|
275
275
|
success: boolean;
|
|
276
|
+
error?: string | undefined;
|
|
276
277
|
blueprint?: {
|
|
278
|
+
id: string;
|
|
277
279
|
name: string;
|
|
278
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "
|
|
280
|
+
layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
|
|
279
281
|
themeId: string;
|
|
280
282
|
iconLibrary: string;
|
|
281
|
-
id: string;
|
|
282
283
|
components: {
|
|
283
284
|
type: string;
|
|
284
285
|
props?: Record<string, unknown>;
|
|
@@ -287,7 +288,6 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
287
288
|
}[];
|
|
288
289
|
timestamp: number;
|
|
289
290
|
} | undefined;
|
|
290
|
-
error?: string | undefined;
|
|
291
291
|
templateRecommendations?: {
|
|
292
292
|
category: string;
|
|
293
293
|
templateId: string;
|
|
@@ -295,9 +295,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
295
295
|
confidence: number;
|
|
296
296
|
matchedKeywords: string[];
|
|
297
297
|
layoutRecommendation: {
|
|
298
|
-
description: string;
|
|
299
298
|
shell: string;
|
|
300
299
|
page: string;
|
|
300
|
+
description: string;
|
|
301
301
|
};
|
|
302
302
|
}[] | undefined;
|
|
303
303
|
}>;
|
|
@@ -318,14 +318,14 @@ export declare const ThemeMetaSchema: z.ZodObject<{
|
|
|
318
318
|
brandTone: z.ZodString;
|
|
319
319
|
schemaVersion: z.ZodString;
|
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
name: string;
|
|
322
321
|
id: string;
|
|
322
|
+
name: string;
|
|
323
323
|
brandTone: string;
|
|
324
324
|
schemaVersion: string;
|
|
325
325
|
description?: string | undefined;
|
|
326
326
|
}, {
|
|
327
|
-
name: string;
|
|
328
327
|
id: string;
|
|
328
|
+
name: string;
|
|
329
329
|
brandTone: string;
|
|
330
330
|
schemaVersion: string;
|
|
331
331
|
description?: string | undefined;
|
|
@@ -343,14 +343,14 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
343
343
|
brandTone: z.ZodString;
|
|
344
344
|
schemaVersion: z.ZodString;
|
|
345
345
|
}, "strip", z.ZodTypeAny, {
|
|
346
|
-
name: string;
|
|
347
346
|
id: string;
|
|
347
|
+
name: string;
|
|
348
348
|
brandTone: string;
|
|
349
349
|
schemaVersion: string;
|
|
350
350
|
description?: string | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
name: string;
|
|
353
352
|
id: string;
|
|
353
|
+
name: string;
|
|
354
354
|
brandTone: string;
|
|
355
355
|
schemaVersion: string;
|
|
356
356
|
description?: string | undefined;
|
|
@@ -360,25 +360,25 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
success: boolean;
|
|
362
362
|
error?: string | undefined;
|
|
363
|
-
count?: number | undefined;
|
|
364
363
|
themes?: {
|
|
365
|
-
name: string;
|
|
366
364
|
id: string;
|
|
365
|
+
name: string;
|
|
367
366
|
brandTone: string;
|
|
368
367
|
schemaVersion: string;
|
|
369
368
|
description?: string | undefined;
|
|
370
369
|
}[] | undefined;
|
|
370
|
+
count?: number | undefined;
|
|
371
371
|
}, {
|
|
372
372
|
success: boolean;
|
|
373
373
|
error?: string | undefined;
|
|
374
|
-
count?: number | undefined;
|
|
375
374
|
themes?: {
|
|
376
|
-
name: string;
|
|
377
375
|
id: string;
|
|
376
|
+
name: string;
|
|
378
377
|
brandTone: string;
|
|
379
378
|
schemaVersion: string;
|
|
380
379
|
description?: string | undefined;
|
|
381
380
|
}[] | undefined;
|
|
381
|
+
count?: number | undefined;
|
|
382
382
|
}>;
|
|
383
383
|
export type ListThemesOutput = z.infer<typeof ListThemesOutputSchema>;
|
|
384
384
|
/**
|
|
@@ -441,8 +441,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
441
441
|
elevation: z.ZodOptional<z.ZodUnknown>;
|
|
442
442
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
-
name: string;
|
|
445
444
|
id: string;
|
|
445
|
+
name: string;
|
|
446
446
|
brandTone: string;
|
|
447
447
|
schemaVersion: string;
|
|
448
448
|
tokens: {
|
|
@@ -462,8 +462,8 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
462
462
|
elevation?: unknown;
|
|
463
463
|
typography?: unknown;
|
|
464
464
|
}, {
|
|
465
|
-
name: string;
|
|
466
465
|
id: string;
|
|
466
|
+
name: string;
|
|
467
467
|
brandTone: string;
|
|
468
468
|
schemaVersion: string;
|
|
469
469
|
tokens: {
|
|
@@ -487,9 +487,10 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
487
487
|
error: z.ZodOptional<z.ZodString>;
|
|
488
488
|
}, "strip", z.ZodTypeAny, {
|
|
489
489
|
success: boolean;
|
|
490
|
+
error?: string | undefined;
|
|
490
491
|
theme?: {
|
|
491
|
-
name: string;
|
|
492
492
|
id: string;
|
|
493
|
+
name: string;
|
|
493
494
|
brandTone: string;
|
|
494
495
|
schemaVersion: string;
|
|
495
496
|
tokens: {
|
|
@@ -509,13 +510,13 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
509
510
|
elevation?: unknown;
|
|
510
511
|
typography?: unknown;
|
|
511
512
|
} | undefined;
|
|
512
|
-
error?: string | undefined;
|
|
513
513
|
css?: string | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
success: boolean;
|
|
516
|
+
error?: string | undefined;
|
|
516
517
|
theme?: {
|
|
517
|
-
name: string;
|
|
518
518
|
id: string;
|
|
519
|
+
name: string;
|
|
519
520
|
brandTone: string;
|
|
520
521
|
schemaVersion: string;
|
|
521
522
|
tokens: {
|
|
@@ -535,7 +536,6 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
535
536
|
elevation?: unknown;
|
|
536
537
|
typography?: unknown;
|
|
537
538
|
} | undefined;
|
|
538
|
-
error?: string | undefined;
|
|
539
539
|
css?: string | undefined;
|
|
540
540
|
}>;
|
|
541
541
|
export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
|
|
@@ -569,12 +569,12 @@ export declare const ExportScreenOutputSchema: z.ZodObject<{
|
|
|
569
569
|
error: z.ZodOptional<z.ZodString>;
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
571
571
|
success: boolean;
|
|
572
|
-
code?: string | undefined;
|
|
573
572
|
error?: string | undefined;
|
|
573
|
+
code?: string | undefined;
|
|
574
574
|
}, {
|
|
575
575
|
success: boolean;
|
|
576
|
-
code?: string | undefined;
|
|
577
576
|
error?: string | undefined;
|
|
577
|
+
code?: string | undefined;
|
|
578
578
|
}>;
|
|
579
579
|
/**
|
|
580
580
|
* Export component resolution tier
|
|
@@ -614,11 +614,11 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
614
614
|
}, {
|
|
615
615
|
format: "jsx" | "tsx" | "vue";
|
|
616
616
|
themeId?: string | undefined;
|
|
617
|
-
includeCSS?: boolean | undefined;
|
|
618
617
|
blueprint?: unknown;
|
|
619
|
-
|
|
618
|
+
includeCSS?: boolean | undefined;
|
|
620
619
|
componentName?: string | undefined;
|
|
621
620
|
componentDescription?: string | undefined;
|
|
621
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
622
622
|
}>;
|
|
623
623
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
624
624
|
/**
|
|
@@ -630,12 +630,12 @@ export declare const ComponentResolutionSchema: z.ZodObject<{
|
|
|
630
630
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
631
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
632
|
code: string;
|
|
633
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
634
633
|
componentName: string;
|
|
634
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
635
635
|
}, {
|
|
636
636
|
code: string;
|
|
637
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
638
637
|
componentName: string;
|
|
638
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
639
639
|
}>;
|
|
640
640
|
export type ComponentResolution = z.infer<typeof ComponentResolutionSchema>;
|
|
641
641
|
/**
|
|
@@ -655,35 +655,35 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
655
655
|
source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
|
|
656
656
|
}, "strip", z.ZodTypeAny, {
|
|
657
657
|
code: string;
|
|
658
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
659
658
|
componentName: string;
|
|
659
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
660
660
|
}, {
|
|
661
661
|
code: string;
|
|
662
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
663
662
|
componentName: string;
|
|
663
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
664
664
|
}>, "many">>;
|
|
665
665
|
/** Tier used for resolution */
|
|
666
666
|
tierUsed: z.ZodOptional<z.ZodEnum<["tier1", "tier2", "auto"]>>;
|
|
667
667
|
error: z.ZodOptional<z.ZodString>;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
669
|
success: boolean;
|
|
670
|
-
code?: string | undefined;
|
|
671
670
|
error?: string | undefined;
|
|
671
|
+
code?: string | undefined;
|
|
672
672
|
components?: {
|
|
673
673
|
code: string;
|
|
674
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
675
674
|
componentName: string;
|
|
675
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
676
676
|
}[] | undefined;
|
|
677
677
|
css?: string | undefined;
|
|
678
678
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
679
679
|
}, {
|
|
680
680
|
success: boolean;
|
|
681
|
-
code?: string | undefined;
|
|
682
681
|
error?: string | undefined;
|
|
682
|
+
code?: string | undefined;
|
|
683
683
|
components?: {
|
|
684
684
|
code: string;
|
|
685
|
-
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
686
685
|
componentName: string;
|
|
686
|
+
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
687
687
|
}[] | undefined;
|
|
688
688
|
css?: string | undefined;
|
|
689
689
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
@@ -698,11 +698,11 @@ export declare const ErrorResponseSchema: z.ZodObject<{
|
|
|
698
698
|
success: z.ZodLiteral<false>;
|
|
699
699
|
error: z.ZodString;
|
|
700
700
|
}, "strip", z.ZodTypeAny, {
|
|
701
|
-
success: false;
|
|
702
701
|
error: string;
|
|
703
|
-
}, {
|
|
704
702
|
success: false;
|
|
703
|
+
}, {
|
|
705
704
|
error: string;
|
|
705
|
+
success: false;
|
|
706
706
|
}>;
|
|
707
707
|
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
708
708
|
/**
|
|
@@ -740,33 +740,33 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
740
740
|
}>>;
|
|
741
741
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
internal: string[];
|
|
744
743
|
external: string[];
|
|
744
|
+
internal: string[];
|
|
745
745
|
installCommands: {
|
|
746
746
|
npm: string;
|
|
747
747
|
yarn: string;
|
|
748
748
|
pnpm: string;
|
|
749
749
|
bun: string;
|
|
750
750
|
};
|
|
751
|
-
notes?: string[] | undefined;
|
|
752
751
|
compatibility?: {
|
|
753
752
|
react?: string | undefined;
|
|
754
753
|
node?: string | undefined;
|
|
755
754
|
} | undefined;
|
|
755
|
+
notes?: string[] | undefined;
|
|
756
756
|
}, {
|
|
757
|
-
internal: string[];
|
|
758
757
|
external: string[];
|
|
758
|
+
internal: string[];
|
|
759
759
|
installCommands: {
|
|
760
760
|
npm: string;
|
|
761
761
|
yarn: string;
|
|
762
762
|
pnpm: string;
|
|
763
763
|
bun: string;
|
|
764
764
|
};
|
|
765
|
-
notes?: string[] | undefined;
|
|
766
765
|
compatibility?: {
|
|
767
766
|
react?: string | undefined;
|
|
768
767
|
node?: string | undefined;
|
|
769
768
|
} | undefined;
|
|
769
|
+
notes?: string[] | undefined;
|
|
770
770
|
}>;
|
|
771
771
|
export type Dependencies = z.infer<typeof DependenciesSchema>;
|
|
772
772
|
/**
|
|
@@ -807,78 +807,78 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
807
807
|
}>>;
|
|
808
808
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
internal: string[];
|
|
811
810
|
external: string[];
|
|
811
|
+
internal: string[];
|
|
812
812
|
installCommands: {
|
|
813
813
|
npm: string;
|
|
814
814
|
yarn: string;
|
|
815
815
|
pnpm: string;
|
|
816
816
|
bun: string;
|
|
817
817
|
};
|
|
818
|
-
notes?: string[] | undefined;
|
|
819
818
|
compatibility?: {
|
|
820
819
|
react?: string | undefined;
|
|
821
820
|
node?: string | undefined;
|
|
822
821
|
} | undefined;
|
|
822
|
+
notes?: string[] | undefined;
|
|
823
823
|
}, {
|
|
824
|
-
internal: string[];
|
|
825
824
|
external: string[];
|
|
825
|
+
internal: string[];
|
|
826
826
|
installCommands: {
|
|
827
827
|
npm: string;
|
|
828
828
|
yarn: string;
|
|
829
829
|
pnpm: string;
|
|
830
830
|
bun: string;
|
|
831
831
|
};
|
|
832
|
-
notes?: string[] | undefined;
|
|
833
832
|
compatibility?: {
|
|
834
833
|
react?: string | undefined;
|
|
835
834
|
node?: string | undefined;
|
|
836
835
|
} | undefined;
|
|
836
|
+
notes?: string[] | undefined;
|
|
837
837
|
}>>;
|
|
838
838
|
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
839
839
|
error: z.ZodOptional<z.ZodString>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
841
|
success: boolean;
|
|
842
|
-
code?: string | undefined;
|
|
843
842
|
error?: string | undefined;
|
|
844
|
-
|
|
843
|
+
code?: string | undefined;
|
|
844
|
+
cssVariables?: string | undefined;
|
|
845
845
|
dependencies?: {
|
|
846
|
-
internal: string[];
|
|
847
846
|
external: string[];
|
|
847
|
+
internal: string[];
|
|
848
848
|
installCommands: {
|
|
849
849
|
npm: string;
|
|
850
850
|
yarn: string;
|
|
851
851
|
pnpm: string;
|
|
852
852
|
bun: string;
|
|
853
853
|
};
|
|
854
|
-
notes?: string[] | undefined;
|
|
855
854
|
compatibility?: {
|
|
856
855
|
react?: string | undefined;
|
|
857
856
|
node?: string | undefined;
|
|
858
857
|
} | undefined;
|
|
858
|
+
notes?: string[] | undefined;
|
|
859
859
|
} | undefined;
|
|
860
|
-
|
|
860
|
+
errors?: string[] | undefined;
|
|
861
861
|
}, {
|
|
862
862
|
success: boolean;
|
|
863
|
-
code?: string | undefined;
|
|
864
863
|
error?: string | undefined;
|
|
865
|
-
|
|
864
|
+
code?: string | undefined;
|
|
865
|
+
cssVariables?: string | undefined;
|
|
866
866
|
dependencies?: {
|
|
867
|
-
internal: string[];
|
|
868
867
|
external: string[];
|
|
868
|
+
internal: string[];
|
|
869
869
|
installCommands: {
|
|
870
870
|
npm: string;
|
|
871
871
|
yarn: string;
|
|
872
872
|
pnpm: string;
|
|
873
873
|
bun: string;
|
|
874
874
|
};
|
|
875
|
-
notes?: string[] | undefined;
|
|
876
875
|
compatibility?: {
|
|
877
876
|
react?: string | undefined;
|
|
878
877
|
node?: string | undefined;
|
|
879
878
|
} | undefined;
|
|
879
|
+
notes?: string[] | undefined;
|
|
880
880
|
} | undefined;
|
|
881
|
-
|
|
881
|
+
errors?: string[] | undefined;
|
|
882
882
|
}>;
|
|
883
883
|
export type GenerateScreenOutput = z.infer<typeof GenerateScreenOutputSchema>;
|
|
884
884
|
/**
|
|
@@ -936,8 +936,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
|
|
|
936
936
|
error: z.ZodOptional<z.ZodString>;
|
|
937
937
|
}, "strip", z.ZodTypeAny, {
|
|
938
938
|
success: boolean;
|
|
939
|
-
valid?: boolean | undefined;
|
|
940
939
|
error?: string | undefined;
|
|
940
|
+
valid?: boolean | undefined;
|
|
941
941
|
errors?: string[] | undefined;
|
|
942
942
|
warnings?: string[] | undefined;
|
|
943
943
|
suggestions?: {
|
|
@@ -947,8 +947,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
|
|
|
947
947
|
}[] | undefined;
|
|
948
948
|
}, {
|
|
949
949
|
success: boolean;
|
|
950
|
-
valid?: boolean | undefined;
|
|
951
950
|
error?: string | undefined;
|
|
951
|
+
valid?: boolean | undefined;
|
|
952
952
|
errors?: string[] | undefined;
|
|
953
953
|
warnings?: string[] | undefined;
|
|
954
954
|
suggestions?: {
|
|
@@ -970,11 +970,11 @@ export declare const ListTokensInputSchema: z.ZodObject<{
|
|
|
970
970
|
tokenType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["shell", "page", "section", "all"]>>>;
|
|
971
971
|
filter: z.ZodOptional<z.ZodString>;
|
|
972
972
|
}, "strip", z.ZodTypeAny, {
|
|
973
|
-
tokenType: "
|
|
973
|
+
tokenType: "all" | "shell" | "page" | "section";
|
|
974
974
|
filter?: string | undefined;
|
|
975
975
|
}, {
|
|
976
976
|
filter?: string | undefined;
|
|
977
|
-
tokenType?: "
|
|
977
|
+
tokenType?: "all" | "shell" | "page" | "section" | undefined;
|
|
978
978
|
}>;
|
|
979
979
|
export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
|
|
980
980
|
/**
|
|
@@ -989,15 +989,15 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
989
989
|
type: z.ZodOptional<z.ZodString>;
|
|
990
990
|
}, "strip", z.ZodTypeAny, {
|
|
991
991
|
id: string;
|
|
992
|
-
description?: string | undefined;
|
|
993
992
|
name?: string | undefined;
|
|
993
|
+
description?: string | undefined;
|
|
994
994
|
type?: string | undefined;
|
|
995
995
|
platform?: string | undefined;
|
|
996
996
|
purpose?: string | undefined;
|
|
997
997
|
}, {
|
|
998
998
|
id: string;
|
|
999
|
-
description?: string | undefined;
|
|
1000
999
|
name?: string | undefined;
|
|
1000
|
+
description?: string | undefined;
|
|
1001
1001
|
type?: string | undefined;
|
|
1002
1002
|
platform?: string | undefined;
|
|
1003
1003
|
purpose?: string | undefined;
|
|
@@ -1017,15 +1017,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1017
1017
|
type: z.ZodOptional<z.ZodString>;
|
|
1018
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
1019
|
id: string;
|
|
1020
|
-
description?: string | undefined;
|
|
1021
1020
|
name?: string | undefined;
|
|
1021
|
+
description?: string | undefined;
|
|
1022
1022
|
type?: string | undefined;
|
|
1023
1023
|
platform?: string | undefined;
|
|
1024
1024
|
purpose?: string | undefined;
|
|
1025
1025
|
}, {
|
|
1026
1026
|
id: string;
|
|
1027
|
-
description?: string | undefined;
|
|
1028
1027
|
name?: string | undefined;
|
|
1028
|
+
description?: string | undefined;
|
|
1029
1029
|
type?: string | undefined;
|
|
1030
1030
|
platform?: string | undefined;
|
|
1031
1031
|
purpose?: string | undefined;
|
|
@@ -1039,15 +1039,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1039
1039
|
type: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1041
|
id: string;
|
|
1042
|
-
description?: string | undefined;
|
|
1043
1042
|
name?: string | undefined;
|
|
1043
|
+
description?: string | undefined;
|
|
1044
1044
|
type?: string | undefined;
|
|
1045
1045
|
platform?: string | undefined;
|
|
1046
1046
|
purpose?: string | undefined;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
id: string;
|
|
1049
|
-
description?: string | undefined;
|
|
1050
1049
|
name?: string | undefined;
|
|
1050
|
+
description?: string | undefined;
|
|
1051
1051
|
type?: string | undefined;
|
|
1052
1052
|
platform?: string | undefined;
|
|
1053
1053
|
purpose?: string | undefined;
|
|
@@ -1061,15 +1061,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1061
1061
|
type: z.ZodOptional<z.ZodString>;
|
|
1062
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1063
1063
|
id: string;
|
|
1064
|
-
description?: string | undefined;
|
|
1065
1064
|
name?: string | undefined;
|
|
1065
|
+
description?: string | undefined;
|
|
1066
1066
|
type?: string | undefined;
|
|
1067
1067
|
platform?: string | undefined;
|
|
1068
1068
|
purpose?: string | undefined;
|
|
1069
1069
|
}, {
|
|
1070
1070
|
id: string;
|
|
1071
|
-
description?: string | undefined;
|
|
1072
1071
|
name?: string | undefined;
|
|
1072
|
+
description?: string | undefined;
|
|
1073
1073
|
type?: string | undefined;
|
|
1074
1074
|
platform?: string | undefined;
|
|
1075
1075
|
purpose?: string | undefined;
|
|
@@ -1090,24 +1090,24 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1090
1090
|
error?: string | undefined;
|
|
1091
1091
|
shells?: {
|
|
1092
1092
|
id: string;
|
|
1093
|
-
description?: string | undefined;
|
|
1094
1093
|
name?: string | undefined;
|
|
1094
|
+
description?: string | undefined;
|
|
1095
1095
|
type?: string | undefined;
|
|
1096
1096
|
platform?: string | undefined;
|
|
1097
1097
|
purpose?: string | undefined;
|
|
1098
1098
|
}[] | undefined;
|
|
1099
1099
|
pages?: {
|
|
1100
1100
|
id: string;
|
|
1101
|
-
description?: string | undefined;
|
|
1102
1101
|
name?: string | undefined;
|
|
1102
|
+
description?: string | undefined;
|
|
1103
1103
|
type?: string | undefined;
|
|
1104
1104
|
platform?: string | undefined;
|
|
1105
1105
|
purpose?: string | undefined;
|
|
1106
1106
|
}[] | undefined;
|
|
1107
1107
|
sections?: {
|
|
1108
1108
|
id: string;
|
|
1109
|
-
description?: string | undefined;
|
|
1110
1109
|
name?: string | undefined;
|
|
1110
|
+
description?: string | undefined;
|
|
1111
1111
|
type?: string | undefined;
|
|
1112
1112
|
platform?: string | undefined;
|
|
1113
1113
|
purpose?: string | undefined;
|
|
@@ -1121,24 +1121,24 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1121
1121
|
error?: string | undefined;
|
|
1122
1122
|
shells?: {
|
|
1123
1123
|
id: string;
|
|
1124
|
-
description?: string | undefined;
|
|
1125
1124
|
name?: string | undefined;
|
|
1125
|
+
description?: string | undefined;
|
|
1126
1126
|
type?: string | undefined;
|
|
1127
1127
|
platform?: string | undefined;
|
|
1128
1128
|
purpose?: string | undefined;
|
|
1129
1129
|
}[] | undefined;
|
|
1130
1130
|
pages?: {
|
|
1131
1131
|
id: string;
|
|
1132
|
-
description?: string | undefined;
|
|
1133
1132
|
name?: string | undefined;
|
|
1133
|
+
description?: string | undefined;
|
|
1134
1134
|
type?: string | undefined;
|
|
1135
1135
|
platform?: string | undefined;
|
|
1136
1136
|
purpose?: string | undefined;
|
|
1137
1137
|
}[] | undefined;
|
|
1138
1138
|
sections?: {
|
|
1139
1139
|
id: string;
|
|
1140
|
-
description?: string | undefined;
|
|
1141
1140
|
name?: string | undefined;
|
|
1141
|
+
description?: string | undefined;
|
|
1142
1142
|
type?: string | undefined;
|
|
1143
1143
|
platform?: string | undefined;
|
|
1144
1144
|
purpose?: string | undefined;
|
|
@@ -1172,18 +1172,18 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1172
1172
|
totalIcons: z.ZodNumber;
|
|
1173
1173
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
version: string;
|
|
1176
|
-
description: string;
|
|
1177
|
-
name: string;
|
|
1178
1175
|
id: string;
|
|
1176
|
+
name: string;
|
|
1177
|
+
description: string;
|
|
1178
|
+
version: string;
|
|
1179
1179
|
license: string;
|
|
1180
1180
|
totalIcons: number;
|
|
1181
1181
|
categories: string[];
|
|
1182
1182
|
}, {
|
|
1183
|
-
version: string;
|
|
1184
|
-
description: string;
|
|
1185
|
-
name: string;
|
|
1186
1183
|
id: string;
|
|
1184
|
+
name: string;
|
|
1185
|
+
description: string;
|
|
1186
|
+
version: string;
|
|
1187
1187
|
license: string;
|
|
1188
1188
|
totalIcons: number;
|
|
1189
1189
|
categories: string[];
|
|
@@ -1203,18 +1203,18 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1203
1203
|
totalIcons: z.ZodNumber;
|
|
1204
1204
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1205
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1206
|
-
version: string;
|
|
1207
|
-
description: string;
|
|
1208
|
-
name: string;
|
|
1209
1206
|
id: string;
|
|
1207
|
+
name: string;
|
|
1208
|
+
description: string;
|
|
1209
|
+
version: string;
|
|
1210
1210
|
license: string;
|
|
1211
1211
|
totalIcons: number;
|
|
1212
1212
|
categories: string[];
|
|
1213
1213
|
}, {
|
|
1214
|
-
version: string;
|
|
1215
|
-
description: string;
|
|
1216
|
-
name: string;
|
|
1217
1214
|
id: string;
|
|
1215
|
+
name: string;
|
|
1216
|
+
description: string;
|
|
1217
|
+
version: string;
|
|
1218
1218
|
license: string;
|
|
1219
1219
|
totalIcons: number;
|
|
1220
1220
|
categories: string[];
|
|
@@ -1224,29 +1224,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1224
1224
|
}, "strip", z.ZodTypeAny, {
|
|
1225
1225
|
success: boolean;
|
|
1226
1226
|
error?: string | undefined;
|
|
1227
|
+
count?: number | undefined;
|
|
1227
1228
|
libraries?: {
|
|
1228
|
-
version: string;
|
|
1229
|
-
description: string;
|
|
1230
|
-
name: string;
|
|
1231
1229
|
id: string;
|
|
1230
|
+
name: string;
|
|
1231
|
+
description: string;
|
|
1232
|
+
version: string;
|
|
1232
1233
|
license: string;
|
|
1233
1234
|
totalIcons: number;
|
|
1234
1235
|
categories: string[];
|
|
1235
1236
|
}[] | undefined;
|
|
1236
|
-
count?: number | undefined;
|
|
1237
1237
|
}, {
|
|
1238
1238
|
success: boolean;
|
|
1239
1239
|
error?: string | undefined;
|
|
1240
|
+
count?: number | undefined;
|
|
1240
1241
|
libraries?: {
|
|
1241
|
-
version: string;
|
|
1242
|
-
description: string;
|
|
1243
|
-
name: string;
|
|
1244
1242
|
id: string;
|
|
1243
|
+
name: string;
|
|
1244
|
+
description: string;
|
|
1245
|
+
version: string;
|
|
1245
1246
|
license: string;
|
|
1246
1247
|
totalIcons: number;
|
|
1247
1248
|
categories: string[];
|
|
1248
1249
|
}[] | undefined;
|
|
1249
|
-
count?: number | undefined;
|
|
1250
1250
|
}>;
|
|
1251
1251
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1252
1252
|
/**
|
|
@@ -1397,10 +1397,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1397
1397
|
defaultVariant: z.ZodOptional<z.ZodString>;
|
|
1398
1398
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1399
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1400
|
-
version: string;
|
|
1401
|
-
description: string;
|
|
1402
|
-
name: string;
|
|
1403
1400
|
id: string;
|
|
1401
|
+
name: string;
|
|
1402
|
+
description: string;
|
|
1403
|
+
version: string;
|
|
1404
1404
|
license: string;
|
|
1405
1405
|
totalIcons: number;
|
|
1406
1406
|
categories: string[];
|
|
@@ -1429,10 +1429,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1429
1429
|
defaultVariant?: string | undefined;
|
|
1430
1430
|
iconSample?: string[] | undefined;
|
|
1431
1431
|
}, {
|
|
1432
|
-
version: string;
|
|
1433
|
-
description: string;
|
|
1434
|
-
name: string;
|
|
1435
1432
|
id: string;
|
|
1433
|
+
name: string;
|
|
1434
|
+
description: string;
|
|
1435
|
+
version: string;
|
|
1436
1436
|
license: string;
|
|
1437
1437
|
totalIcons: number;
|
|
1438
1438
|
categories: string[];
|
|
@@ -1466,10 +1466,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1466
1466
|
success: boolean;
|
|
1467
1467
|
error?: string | undefined;
|
|
1468
1468
|
library?: {
|
|
1469
|
-
version: string;
|
|
1470
|
-
description: string;
|
|
1471
|
-
name: string;
|
|
1472
1469
|
id: string;
|
|
1470
|
+
name: string;
|
|
1471
|
+
description: string;
|
|
1472
|
+
version: string;
|
|
1473
1473
|
license: string;
|
|
1474
1474
|
totalIcons: number;
|
|
1475
1475
|
categories: string[];
|
|
@@ -1502,10 +1502,10 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1502
1502
|
success: boolean;
|
|
1503
1503
|
error?: string | undefined;
|
|
1504
1504
|
library?: {
|
|
1505
|
-
version: string;
|
|
1506
|
-
description: string;
|
|
1507
|
-
name: string;
|
|
1508
1505
|
id: string;
|
|
1506
|
+
name: string;
|
|
1507
|
+
description: string;
|
|
1508
|
+
version: string;
|
|
1509
1509
|
license: string;
|
|
1510
1510
|
totalIcons: number;
|
|
1511
1511
|
categories: string[];
|
|
@@ -1569,21 +1569,21 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1569
1569
|
hasSubComponents: z.ZodBoolean;
|
|
1570
1570
|
tier: z.ZodNumber;
|
|
1571
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1572
|
-
description: string;
|
|
1573
|
-
name: string;
|
|
1574
1572
|
category: "core" | "complex" | "advanced";
|
|
1575
1573
|
id: string;
|
|
1574
|
+
name: string;
|
|
1575
|
+
description: string;
|
|
1576
|
+
tier: number;
|
|
1576
1577
|
variantsCount: number;
|
|
1577
1578
|
hasSubComponents: boolean;
|
|
1578
|
-
tier: number;
|
|
1579
1579
|
}, {
|
|
1580
|
-
description: string;
|
|
1581
|
-
name: string;
|
|
1582
1580
|
category: "core" | "complex" | "advanced";
|
|
1583
1581
|
id: string;
|
|
1582
|
+
name: string;
|
|
1583
|
+
description: string;
|
|
1584
|
+
tier: number;
|
|
1584
1585
|
variantsCount: number;
|
|
1585
1586
|
hasSubComponents: boolean;
|
|
1586
|
-
tier: number;
|
|
1587
1587
|
}>;
|
|
1588
1588
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1589
1589
|
/**
|
|
@@ -1600,21 +1600,21 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1600
1600
|
hasSubComponents: z.ZodBoolean;
|
|
1601
1601
|
tier: z.ZodNumber;
|
|
1602
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1603
|
-
description: string;
|
|
1604
|
-
name: string;
|
|
1605
1603
|
category: "core" | "complex" | "advanced";
|
|
1606
1604
|
id: string;
|
|
1605
|
+
name: string;
|
|
1606
|
+
description: string;
|
|
1607
|
+
tier: number;
|
|
1607
1608
|
variantsCount: number;
|
|
1608
1609
|
hasSubComponents: boolean;
|
|
1609
|
-
tier: number;
|
|
1610
1610
|
}, {
|
|
1611
|
-
description: string;
|
|
1612
|
-
name: string;
|
|
1613
1611
|
category: "core" | "complex" | "advanced";
|
|
1614
1612
|
id: string;
|
|
1613
|
+
name: string;
|
|
1614
|
+
description: string;
|
|
1615
|
+
tier: number;
|
|
1615
1616
|
variantsCount: number;
|
|
1616
1617
|
hasSubComponents: boolean;
|
|
1617
|
-
tier: number;
|
|
1618
1618
|
}>, "many">>;
|
|
1619
1619
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1620
1620
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1635,38 +1635,38 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1635
1635
|
success: boolean;
|
|
1636
1636
|
error?: string | undefined;
|
|
1637
1637
|
components?: {
|
|
1638
|
-
description: string;
|
|
1639
|
-
name: string;
|
|
1640
1638
|
category: "core" | "complex" | "advanced";
|
|
1641
1639
|
id: string;
|
|
1640
|
+
name: string;
|
|
1641
|
+
description: string;
|
|
1642
|
+
tier: number;
|
|
1642
1643
|
variantsCount: number;
|
|
1643
1644
|
hasSubComponents: boolean;
|
|
1644
|
-
tier: number;
|
|
1645
1645
|
}[] | undefined;
|
|
1646
|
+
count?: number | undefined;
|
|
1646
1647
|
categories?: {
|
|
1647
1648
|
core: number;
|
|
1648
1649
|
complex: number;
|
|
1649
1650
|
advanced: number;
|
|
1650
1651
|
} | undefined;
|
|
1651
|
-
count?: number | undefined;
|
|
1652
1652
|
}, {
|
|
1653
1653
|
success: boolean;
|
|
1654
1654
|
error?: string | undefined;
|
|
1655
1655
|
components?: {
|
|
1656
|
-
description: string;
|
|
1657
|
-
name: string;
|
|
1658
1656
|
category: "core" | "complex" | "advanced";
|
|
1659
1657
|
id: string;
|
|
1658
|
+
name: string;
|
|
1659
|
+
description: string;
|
|
1660
|
+
tier: number;
|
|
1660
1661
|
variantsCount: number;
|
|
1661
1662
|
hasSubComponents: boolean;
|
|
1662
|
-
tier: number;
|
|
1663
1663
|
}[] | undefined;
|
|
1664
|
+
count?: number | undefined;
|
|
1664
1665
|
categories?: {
|
|
1665
1666
|
core: number;
|
|
1666
1667
|
complex: number;
|
|
1667
1668
|
advanced: number;
|
|
1668
1669
|
} | undefined;
|
|
1669
|
-
count?: number | undefined;
|
|
1670
1670
|
}>;
|
|
1671
1671
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1672
1672
|
/**
|
|
@@ -1735,12 +1735,12 @@ export declare const UsageExampleSchema: z.ZodObject<{
|
|
|
1735
1735
|
code: z.ZodString;
|
|
1736
1736
|
description: z.ZodOptional<z.ZodString>;
|
|
1737
1737
|
}, "strip", z.ZodTypeAny, {
|
|
1738
|
-
title: string;
|
|
1739
1738
|
code: string;
|
|
1739
|
+
title: string;
|
|
1740
1740
|
description?: string | undefined;
|
|
1741
1741
|
}, {
|
|
1742
|
-
title: string;
|
|
1743
1742
|
code: string;
|
|
1743
|
+
title: string;
|
|
1744
1744
|
description?: string | undefined;
|
|
1745
1745
|
}>;
|
|
1746
1746
|
export type UsageExample = z.infer<typeof UsageExampleSchema>;
|
|
@@ -1793,33 +1793,31 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1793
1793
|
internal: z.ZodArray<z.ZodString, "many">;
|
|
1794
1794
|
external: z.ZodArray<z.ZodString, "many">;
|
|
1795
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1796
|
-
internal: string[];
|
|
1797
1796
|
external: string[];
|
|
1798
|
-
}, {
|
|
1799
1797
|
internal: string[];
|
|
1798
|
+
}, {
|
|
1800
1799
|
external: string[];
|
|
1800
|
+
internal: string[];
|
|
1801
1801
|
}>>;
|
|
1802
1802
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1803
1803
|
title: z.ZodString;
|
|
1804
1804
|
code: z.ZodString;
|
|
1805
1805
|
description: z.ZodOptional<z.ZodString>;
|
|
1806
1806
|
}, "strip", z.ZodTypeAny, {
|
|
1807
|
-
title: string;
|
|
1808
1807
|
code: string;
|
|
1808
|
+
title: string;
|
|
1809
1809
|
description?: string | undefined;
|
|
1810
1810
|
}, {
|
|
1811
|
-
title: string;
|
|
1812
1811
|
code: string;
|
|
1812
|
+
title: string;
|
|
1813
1813
|
description?: string | undefined;
|
|
1814
1814
|
}>, "many">>;
|
|
1815
1815
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
1816
1816
|
}, "strip", z.ZodTypeAny, {
|
|
1817
|
-
description: string;
|
|
1818
|
-
name: string;
|
|
1819
1817
|
category: "core" | "complex" | "advanced";
|
|
1820
1818
|
id: string;
|
|
1821
|
-
|
|
1822
|
-
|
|
1819
|
+
name: string;
|
|
1820
|
+
description: string;
|
|
1823
1821
|
props: {
|
|
1824
1822
|
name: string;
|
|
1825
1823
|
type: string;
|
|
@@ -1827,29 +1825,29 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1827
1825
|
description?: string | undefined;
|
|
1828
1826
|
defaultValue?: string | undefined;
|
|
1829
1827
|
}[];
|
|
1828
|
+
tier: number;
|
|
1829
|
+
importStatement: string;
|
|
1830
|
+
dependencies?: {
|
|
1831
|
+
external: string[];
|
|
1832
|
+
internal: string[];
|
|
1833
|
+
} | undefined;
|
|
1830
1834
|
variants?: {
|
|
1831
1835
|
name: string;
|
|
1832
1836
|
value: string;
|
|
1833
1837
|
description?: string | undefined;
|
|
1834
1838
|
}[] | undefined;
|
|
1835
1839
|
subComponents?: string[] | undefined;
|
|
1836
|
-
dependencies?: {
|
|
1837
|
-
internal: string[];
|
|
1838
|
-
external: string[];
|
|
1839
|
-
} | undefined;
|
|
1840
1840
|
examples?: {
|
|
1841
|
-
title: string;
|
|
1842
1841
|
code: string;
|
|
1842
|
+
title: string;
|
|
1843
1843
|
description?: string | undefined;
|
|
1844
1844
|
}[] | undefined;
|
|
1845
1845
|
accessibility?: string | undefined;
|
|
1846
1846
|
}, {
|
|
1847
|
-
description: string;
|
|
1848
|
-
name: string;
|
|
1849
1847
|
category: "core" | "complex" | "advanced";
|
|
1850
1848
|
id: string;
|
|
1851
|
-
|
|
1852
|
-
|
|
1849
|
+
name: string;
|
|
1850
|
+
description: string;
|
|
1853
1851
|
props: {
|
|
1854
1852
|
name: string;
|
|
1855
1853
|
type: string;
|
|
@@ -1857,19 +1855,21 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1857
1855
|
description?: string | undefined;
|
|
1858
1856
|
defaultValue?: string | undefined;
|
|
1859
1857
|
}[];
|
|
1858
|
+
tier: number;
|
|
1859
|
+
importStatement: string;
|
|
1860
|
+
dependencies?: {
|
|
1861
|
+
external: string[];
|
|
1862
|
+
internal: string[];
|
|
1863
|
+
} | undefined;
|
|
1860
1864
|
variants?: {
|
|
1861
1865
|
name: string;
|
|
1862
1866
|
value: string;
|
|
1863
1867
|
description?: string | undefined;
|
|
1864
1868
|
}[] | undefined;
|
|
1865
1869
|
subComponents?: string[] | undefined;
|
|
1866
|
-
dependencies?: {
|
|
1867
|
-
internal: string[];
|
|
1868
|
-
external: string[];
|
|
1869
|
-
} | undefined;
|
|
1870
1870
|
examples?: {
|
|
1871
|
-
title: string;
|
|
1872
1871
|
code: string;
|
|
1872
|
+
title: string;
|
|
1873
1873
|
description?: string | undefined;
|
|
1874
1874
|
}[] | undefined;
|
|
1875
1875
|
accessibility?: string | undefined;
|
|
@@ -1879,12 +1879,10 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1879
1879
|
success: boolean;
|
|
1880
1880
|
error?: string | undefined;
|
|
1881
1881
|
component?: {
|
|
1882
|
-
description: string;
|
|
1883
|
-
name: string;
|
|
1884
1882
|
category: "core" | "complex" | "advanced";
|
|
1885
1883
|
id: string;
|
|
1886
|
-
|
|
1887
|
-
|
|
1884
|
+
name: string;
|
|
1885
|
+
description: string;
|
|
1888
1886
|
props: {
|
|
1889
1887
|
name: string;
|
|
1890
1888
|
type: string;
|
|
@@ -1892,19 +1890,21 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1892
1890
|
description?: string | undefined;
|
|
1893
1891
|
defaultValue?: string | undefined;
|
|
1894
1892
|
}[];
|
|
1893
|
+
tier: number;
|
|
1894
|
+
importStatement: string;
|
|
1895
|
+
dependencies?: {
|
|
1896
|
+
external: string[];
|
|
1897
|
+
internal: string[];
|
|
1898
|
+
} | undefined;
|
|
1895
1899
|
variants?: {
|
|
1896
1900
|
name: string;
|
|
1897
1901
|
value: string;
|
|
1898
1902
|
description?: string | undefined;
|
|
1899
1903
|
}[] | undefined;
|
|
1900
1904
|
subComponents?: string[] | undefined;
|
|
1901
|
-
dependencies?: {
|
|
1902
|
-
internal: string[];
|
|
1903
|
-
external: string[];
|
|
1904
|
-
} | undefined;
|
|
1905
1905
|
examples?: {
|
|
1906
|
-
title: string;
|
|
1907
1906
|
code: string;
|
|
1907
|
+
title: string;
|
|
1908
1908
|
description?: string | undefined;
|
|
1909
1909
|
}[] | undefined;
|
|
1910
1910
|
accessibility?: string | undefined;
|
|
@@ -1913,12 +1913,10 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1913
1913
|
success: boolean;
|
|
1914
1914
|
error?: string | undefined;
|
|
1915
1915
|
component?: {
|
|
1916
|
-
description: string;
|
|
1917
|
-
name: string;
|
|
1918
1916
|
category: "core" | "complex" | "advanced";
|
|
1919
1917
|
id: string;
|
|
1920
|
-
|
|
1921
|
-
|
|
1918
|
+
name: string;
|
|
1919
|
+
description: string;
|
|
1922
1920
|
props: {
|
|
1923
1921
|
name: string;
|
|
1924
1922
|
type: string;
|
|
@@ -1926,19 +1924,21 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1926
1924
|
description?: string | undefined;
|
|
1927
1925
|
defaultValue?: string | undefined;
|
|
1928
1926
|
}[];
|
|
1927
|
+
tier: number;
|
|
1928
|
+
importStatement: string;
|
|
1929
|
+
dependencies?: {
|
|
1930
|
+
external: string[];
|
|
1931
|
+
internal: string[];
|
|
1932
|
+
} | undefined;
|
|
1929
1933
|
variants?: {
|
|
1930
1934
|
name: string;
|
|
1931
1935
|
value: string;
|
|
1932
1936
|
description?: string | undefined;
|
|
1933
1937
|
}[] | undefined;
|
|
1934
1938
|
subComponents?: string[] | undefined;
|
|
1935
|
-
dependencies?: {
|
|
1936
|
-
internal: string[];
|
|
1937
|
-
external: string[];
|
|
1938
|
-
} | undefined;
|
|
1939
1939
|
examples?: {
|
|
1940
|
-
title: string;
|
|
1941
1940
|
code: string;
|
|
1941
|
+
title: string;
|
|
1942
1942
|
description?: string | undefined;
|
|
1943
1943
|
}[] | undefined;
|
|
1944
1944
|
accessibility?: string | undefined;
|
|
@@ -1958,10 +1958,10 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
1958
1958
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
1959
1959
|
search: z.ZodOptional<z.ZodString>;
|
|
1960
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
category: "
|
|
1961
|
+
category: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback";
|
|
1962
1962
|
search?: string | undefined;
|
|
1963
1963
|
}, {
|
|
1964
|
-
category?: "
|
|
1964
|
+
category?: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback" | undefined;
|
|
1965
1965
|
search?: string | undefined;
|
|
1966
1966
|
}>;
|
|
1967
1967
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
@@ -1983,20 +1983,20 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1983
1983
|
version: z.ZodString;
|
|
1984
1984
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1985
1985
|
}, "strip", z.ZodTypeAny, {
|
|
1986
|
-
|
|
1987
|
-
description: string;
|
|
1988
|
-
name: string;
|
|
1989
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1986
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1990
1987
|
id: string;
|
|
1988
|
+
name: string;
|
|
1989
|
+
description: string;
|
|
1990
|
+
version: string;
|
|
1991
1991
|
requiredComponentsCount: number;
|
|
1992
1992
|
layoutType: "centered" | "sidebar" | "full";
|
|
1993
1993
|
tags?: string[] | undefined;
|
|
1994
1994
|
}, {
|
|
1995
|
-
|
|
1996
|
-
description: string;
|
|
1997
|
-
name: string;
|
|
1998
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1995
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1999
1996
|
id: string;
|
|
1997
|
+
name: string;
|
|
1998
|
+
description: string;
|
|
1999
|
+
version: string;
|
|
2000
2000
|
requiredComponentsCount: number;
|
|
2001
2001
|
layoutType: "centered" | "sidebar" | "full";
|
|
2002
2002
|
tags?: string[] | undefined;
|
|
@@ -2017,20 +2017,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2017
2017
|
version: z.ZodString;
|
|
2018
2018
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2019
2019
|
}, "strip", z.ZodTypeAny, {
|
|
2020
|
-
|
|
2021
|
-
description: string;
|
|
2022
|
-
name: string;
|
|
2023
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2020
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2024
2021
|
id: string;
|
|
2022
|
+
name: string;
|
|
2023
|
+
description: string;
|
|
2024
|
+
version: string;
|
|
2025
2025
|
requiredComponentsCount: number;
|
|
2026
2026
|
layoutType: "centered" | "sidebar" | "full";
|
|
2027
2027
|
tags?: string[] | undefined;
|
|
2028
2028
|
}, {
|
|
2029
|
-
|
|
2030
|
-
description: string;
|
|
2031
|
-
name: string;
|
|
2032
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2029
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2033
2030
|
id: string;
|
|
2031
|
+
name: string;
|
|
2032
|
+
description: string;
|
|
2033
|
+
version: string;
|
|
2034
2034
|
requiredComponentsCount: number;
|
|
2035
2035
|
layoutType: "centered" | "sidebar" | "full";
|
|
2036
2036
|
tags?: string[] | undefined;
|
|
@@ -2043,14 +2043,14 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2043
2043
|
marketing: z.ZodNumber;
|
|
2044
2044
|
feedback: z.ZodNumber;
|
|
2045
2045
|
}, "strip", z.ZodTypeAny, {
|
|
2046
|
-
auth: number;
|
|
2047
2046
|
dashboard: number;
|
|
2047
|
+
auth: number;
|
|
2048
2048
|
form: number;
|
|
2049
2049
|
marketing: number;
|
|
2050
2050
|
feedback: number;
|
|
2051
2051
|
}, {
|
|
2052
|
-
auth: number;
|
|
2053
2052
|
dashboard: number;
|
|
2053
|
+
auth: number;
|
|
2054
2054
|
form: number;
|
|
2055
2055
|
marketing: number;
|
|
2056
2056
|
feedback: number;
|
|
@@ -2059,20 +2059,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2059
2059
|
}, "strip", z.ZodTypeAny, {
|
|
2060
2060
|
success: boolean;
|
|
2061
2061
|
error?: string | undefined;
|
|
2062
|
+
count?: number | undefined;
|
|
2062
2063
|
categories?: {
|
|
2063
|
-
auth: number;
|
|
2064
2064
|
dashboard: number;
|
|
2065
|
+
auth: number;
|
|
2065
2066
|
form: number;
|
|
2066
2067
|
marketing: number;
|
|
2067
2068
|
feedback: number;
|
|
2068
2069
|
} | undefined;
|
|
2069
|
-
count?: number | undefined;
|
|
2070
2070
|
templates?: {
|
|
2071
|
-
|
|
2072
|
-
description: string;
|
|
2073
|
-
name: string;
|
|
2074
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2071
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2075
2072
|
id: string;
|
|
2073
|
+
name: string;
|
|
2074
|
+
description: string;
|
|
2075
|
+
version: string;
|
|
2076
2076
|
requiredComponentsCount: number;
|
|
2077
2077
|
layoutType: "centered" | "sidebar" | "full";
|
|
2078
2078
|
tags?: string[] | undefined;
|
|
@@ -2080,20 +2080,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2080
2080
|
}, {
|
|
2081
2081
|
success: boolean;
|
|
2082
2082
|
error?: string | undefined;
|
|
2083
|
+
count?: number | undefined;
|
|
2083
2084
|
categories?: {
|
|
2084
|
-
auth: number;
|
|
2085
2085
|
dashboard: number;
|
|
2086
|
+
auth: number;
|
|
2086
2087
|
form: number;
|
|
2087
2088
|
marketing: number;
|
|
2088
2089
|
feedback: number;
|
|
2089
2090
|
} | undefined;
|
|
2090
|
-
count?: number | undefined;
|
|
2091
2091
|
templates?: {
|
|
2092
|
-
|
|
2093
|
-
description: string;
|
|
2094
|
-
name: string;
|
|
2095
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2092
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2096
2093
|
id: string;
|
|
2094
|
+
name: string;
|
|
2095
|
+
description: string;
|
|
2096
|
+
version: string;
|
|
2097
2097
|
requiredComponentsCount: number;
|
|
2098
2098
|
layoutType: "centered" | "sidebar" | "full";
|
|
2099
2099
|
tags?: string[] | undefined;
|
|
@@ -2127,33 +2127,33 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2127
2127
|
slot: z.ZodString;
|
|
2128
2128
|
required: z.ZodBoolean;
|
|
2129
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2130
|
-
name: string;
|
|
2131
|
-
required: boolean;
|
|
2132
2130
|
id: string;
|
|
2133
|
-
slot: string;
|
|
2134
|
-
}, {
|
|
2135
2131
|
name: string;
|
|
2132
|
+
slot: string;
|
|
2136
2133
|
required: boolean;
|
|
2134
|
+
}, {
|
|
2137
2135
|
id: string;
|
|
2136
|
+
name: string;
|
|
2138
2137
|
slot: string;
|
|
2138
|
+
required: boolean;
|
|
2139
2139
|
}>, "many">;
|
|
2140
2140
|
}, "strip", z.ZodTypeAny, {
|
|
2141
2141
|
shell: string;
|
|
2142
2142
|
page: string;
|
|
2143
2143
|
sections: {
|
|
2144
|
-
name: string;
|
|
2145
|
-
required: boolean;
|
|
2146
2144
|
id: string;
|
|
2145
|
+
name: string;
|
|
2147
2146
|
slot: string;
|
|
2147
|
+
required: boolean;
|
|
2148
2148
|
}[];
|
|
2149
2149
|
}, {
|
|
2150
2150
|
shell: string;
|
|
2151
2151
|
page: string;
|
|
2152
2152
|
sections: {
|
|
2153
|
-
name: string;
|
|
2154
|
-
required: boolean;
|
|
2155
2153
|
id: string;
|
|
2154
|
+
name: string;
|
|
2156
2155
|
slot: string;
|
|
2156
|
+
required: boolean;
|
|
2157
2157
|
}[];
|
|
2158
2158
|
}>;
|
|
2159
2159
|
export type Skeleton = z.infer<typeof SkeletonSchema>;
|
|
@@ -2165,12 +2165,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2165
2165
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2166
2166
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2167
2167
|
}, "strip", z.ZodTypeAny, {
|
|
2168
|
-
optional: string[];
|
|
2169
2168
|
texts: string[];
|
|
2169
|
+
optional: string[];
|
|
2170
2170
|
slots: string[];
|
|
2171
2171
|
}, {
|
|
2172
|
-
optional: string[];
|
|
2173
2172
|
texts: string[];
|
|
2173
|
+
optional: string[];
|
|
2174
2174
|
slots: string[];
|
|
2175
2175
|
}>;
|
|
2176
2176
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2271,33 +2271,33 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2271
2271
|
slot: z.ZodString;
|
|
2272
2272
|
required: z.ZodBoolean;
|
|
2273
2273
|
}, "strip", z.ZodTypeAny, {
|
|
2274
|
-
name: string;
|
|
2275
|
-
required: boolean;
|
|
2276
2274
|
id: string;
|
|
2277
|
-
slot: string;
|
|
2278
|
-
}, {
|
|
2279
2275
|
name: string;
|
|
2276
|
+
slot: string;
|
|
2280
2277
|
required: boolean;
|
|
2278
|
+
}, {
|
|
2281
2279
|
id: string;
|
|
2280
|
+
name: string;
|
|
2282
2281
|
slot: string;
|
|
2282
|
+
required: boolean;
|
|
2283
2283
|
}>, "many">;
|
|
2284
2284
|
}, "strip", z.ZodTypeAny, {
|
|
2285
2285
|
shell: string;
|
|
2286
2286
|
page: string;
|
|
2287
2287
|
sections: {
|
|
2288
|
-
name: string;
|
|
2289
|
-
required: boolean;
|
|
2290
2288
|
id: string;
|
|
2289
|
+
name: string;
|
|
2291
2290
|
slot: string;
|
|
2291
|
+
required: boolean;
|
|
2292
2292
|
}[];
|
|
2293
2293
|
}, {
|
|
2294
2294
|
shell: string;
|
|
2295
2295
|
page: string;
|
|
2296
2296
|
sections: {
|
|
2297
|
-
name: string;
|
|
2298
|
-
required: boolean;
|
|
2299
2297
|
id: string;
|
|
2298
|
+
name: string;
|
|
2300
2299
|
slot: string;
|
|
2300
|
+
required: boolean;
|
|
2301
2301
|
}[];
|
|
2302
2302
|
}>;
|
|
2303
2303
|
layout: z.ZodObject<{
|
|
@@ -2419,12 +2419,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2419
2419
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2420
2420
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2421
2421
|
}, "strip", z.ZodTypeAny, {
|
|
2422
|
-
optional: string[];
|
|
2423
2422
|
texts: string[];
|
|
2423
|
+
optional: string[];
|
|
2424
2424
|
slots: string[];
|
|
2425
2425
|
}, {
|
|
2426
|
-
optional: string[];
|
|
2427
2426
|
texts: string[];
|
|
2427
|
+
optional: string[];
|
|
2428
2428
|
slots: string[];
|
|
2429
2429
|
}>;
|
|
2430
2430
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2446,9 +2446,10 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2446
2446
|
updated: z.ZodString;
|
|
2447
2447
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2448
2448
|
}, "strip", z.ZodTypeAny, {
|
|
2449
|
-
|
|
2450
|
-
|
|
2449
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2450
|
+
id: string;
|
|
2451
2451
|
name: string;
|
|
2452
|
+
description: string;
|
|
2452
2453
|
layout: {
|
|
2453
2454
|
type: "centered" | "sidebar" | "full";
|
|
2454
2455
|
responsive?: {
|
|
@@ -2469,22 +2470,21 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2469
2470
|
};
|
|
2470
2471
|
} | undefined;
|
|
2471
2472
|
};
|
|
2472
|
-
|
|
2473
|
-
id: string;
|
|
2473
|
+
version: string;
|
|
2474
2474
|
importStatement: string;
|
|
2475
2475
|
skeleton: {
|
|
2476
2476
|
shell: string;
|
|
2477
2477
|
page: string;
|
|
2478
2478
|
sections: {
|
|
2479
|
-
name: string;
|
|
2480
|
-
required: boolean;
|
|
2481
2479
|
id: string;
|
|
2480
|
+
name: string;
|
|
2482
2481
|
slot: string;
|
|
2482
|
+
required: boolean;
|
|
2483
2483
|
}[];
|
|
2484
2484
|
};
|
|
2485
2485
|
customizable: {
|
|
2486
|
-
optional: string[];
|
|
2487
2486
|
texts: string[];
|
|
2487
|
+
optional: string[];
|
|
2488
2488
|
slots: string[];
|
|
2489
2489
|
};
|
|
2490
2490
|
requiredComponents: string[];
|
|
@@ -2497,9 +2497,10 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2497
2497
|
slots?: string[] | undefined;
|
|
2498
2498
|
} | undefined;
|
|
2499
2499
|
}, {
|
|
2500
|
-
|
|
2501
|
-
|
|
2500
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2501
|
+
id: string;
|
|
2502
2502
|
name: string;
|
|
2503
|
+
description: string;
|
|
2503
2504
|
layout: {
|
|
2504
2505
|
type: "centered" | "sidebar" | "full";
|
|
2505
2506
|
responsive?: {
|
|
@@ -2520,22 +2521,21 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2520
2521
|
};
|
|
2521
2522
|
} | undefined;
|
|
2522
2523
|
};
|
|
2523
|
-
|
|
2524
|
-
id: string;
|
|
2524
|
+
version: string;
|
|
2525
2525
|
importStatement: string;
|
|
2526
2526
|
skeleton: {
|
|
2527
2527
|
shell: string;
|
|
2528
2528
|
page: string;
|
|
2529
2529
|
sections: {
|
|
2530
|
-
name: string;
|
|
2531
|
-
required: boolean;
|
|
2532
2530
|
id: string;
|
|
2531
|
+
name: string;
|
|
2533
2532
|
slot: string;
|
|
2533
|
+
required: boolean;
|
|
2534
2534
|
}[];
|
|
2535
2535
|
};
|
|
2536
2536
|
customizable: {
|
|
2537
|
-
optional: string[];
|
|
2538
2537
|
texts: string[];
|
|
2538
|
+
optional: string[];
|
|
2539
2539
|
slots: string[];
|
|
2540
2540
|
};
|
|
2541
2541
|
requiredComponents: string[];
|
|
@@ -2553,9 +2553,10 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2553
2553
|
success: boolean;
|
|
2554
2554
|
error?: string | undefined;
|
|
2555
2555
|
template?: {
|
|
2556
|
-
|
|
2557
|
-
|
|
2556
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2557
|
+
id: string;
|
|
2558
2558
|
name: string;
|
|
2559
|
+
description: string;
|
|
2559
2560
|
layout: {
|
|
2560
2561
|
type: "centered" | "sidebar" | "full";
|
|
2561
2562
|
responsive?: {
|
|
@@ -2576,22 +2577,21 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2576
2577
|
};
|
|
2577
2578
|
} | undefined;
|
|
2578
2579
|
};
|
|
2579
|
-
|
|
2580
|
-
id: string;
|
|
2580
|
+
version: string;
|
|
2581
2581
|
importStatement: string;
|
|
2582
2582
|
skeleton: {
|
|
2583
2583
|
shell: string;
|
|
2584
2584
|
page: string;
|
|
2585
2585
|
sections: {
|
|
2586
|
-
name: string;
|
|
2587
|
-
required: boolean;
|
|
2588
2586
|
id: string;
|
|
2587
|
+
name: string;
|
|
2589
2588
|
slot: string;
|
|
2589
|
+
required: boolean;
|
|
2590
2590
|
}[];
|
|
2591
2591
|
};
|
|
2592
2592
|
customizable: {
|
|
2593
|
-
optional: string[];
|
|
2594
2593
|
texts: string[];
|
|
2594
|
+
optional: string[];
|
|
2595
2595
|
slots: string[];
|
|
2596
2596
|
};
|
|
2597
2597
|
requiredComponents: string[];
|
|
@@ -2608,9 +2608,10 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2608
2608
|
success: boolean;
|
|
2609
2609
|
error?: string | undefined;
|
|
2610
2610
|
template?: {
|
|
2611
|
-
|
|
2612
|
-
|
|
2611
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2612
|
+
id: string;
|
|
2613
2613
|
name: string;
|
|
2614
|
+
description: string;
|
|
2614
2615
|
layout: {
|
|
2615
2616
|
type: "centered" | "sidebar" | "full";
|
|
2616
2617
|
responsive?: {
|
|
@@ -2631,22 +2632,21 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2631
2632
|
};
|
|
2632
2633
|
} | undefined;
|
|
2633
2634
|
};
|
|
2634
|
-
|
|
2635
|
-
id: string;
|
|
2635
|
+
version: string;
|
|
2636
2636
|
importStatement: string;
|
|
2637
2637
|
skeleton: {
|
|
2638
2638
|
shell: string;
|
|
2639
2639
|
page: string;
|
|
2640
2640
|
sections: {
|
|
2641
|
-
name: string;
|
|
2642
|
-
required: boolean;
|
|
2643
2641
|
id: string;
|
|
2642
|
+
name: string;
|
|
2644
2643
|
slot: string;
|
|
2644
|
+
required: boolean;
|
|
2645
2645
|
}[];
|
|
2646
2646
|
};
|
|
2647
2647
|
customizable: {
|
|
2648
|
-
optional: string[];
|
|
2649
2648
|
texts: string[];
|
|
2649
|
+
optional: string[];
|
|
2650
2650
|
slots: string[];
|
|
2651
2651
|
};
|
|
2652
2652
|
requiredComponents: string[];
|
|
@@ -2697,33 +2697,33 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2697
2697
|
slot: z.ZodString;
|
|
2698
2698
|
required: z.ZodBoolean;
|
|
2699
2699
|
}, "strip", z.ZodTypeAny, {
|
|
2700
|
-
name: string;
|
|
2701
|
-
required: boolean;
|
|
2702
2700
|
id: string;
|
|
2703
|
-
slot: string;
|
|
2704
|
-
}, {
|
|
2705
2701
|
name: string;
|
|
2702
|
+
slot: string;
|
|
2706
2703
|
required: boolean;
|
|
2704
|
+
}, {
|
|
2707
2705
|
id: string;
|
|
2706
|
+
name: string;
|
|
2708
2707
|
slot: string;
|
|
2708
|
+
required: boolean;
|
|
2709
2709
|
}>, "many">;
|
|
2710
2710
|
}, "strip", z.ZodTypeAny, {
|
|
2711
2711
|
shell: string;
|
|
2712
2712
|
page: string;
|
|
2713
2713
|
sections: {
|
|
2714
|
-
name: string;
|
|
2715
|
-
required: boolean;
|
|
2716
2714
|
id: string;
|
|
2715
|
+
name: string;
|
|
2717
2716
|
slot: string;
|
|
2717
|
+
required: boolean;
|
|
2718
2718
|
}[];
|
|
2719
2719
|
}, {
|
|
2720
2720
|
shell: string;
|
|
2721
2721
|
page: string;
|
|
2722
2722
|
sections: {
|
|
2723
|
-
name: string;
|
|
2724
|
-
required: boolean;
|
|
2725
2723
|
id: string;
|
|
2724
|
+
name: string;
|
|
2726
2725
|
slot: string;
|
|
2726
|
+
required: boolean;
|
|
2727
2727
|
}[];
|
|
2728
2728
|
}>>;
|
|
2729
2729
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2737,10 +2737,10 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2737
2737
|
shell: string;
|
|
2738
2738
|
page: string;
|
|
2739
2739
|
sections: {
|
|
2740
|
-
name: string;
|
|
2741
|
-
required: boolean;
|
|
2742
2740
|
id: string;
|
|
2741
|
+
name: string;
|
|
2743
2742
|
slot: string;
|
|
2743
|
+
required: boolean;
|
|
2744
2744
|
}[];
|
|
2745
2745
|
} | undefined;
|
|
2746
2746
|
requiredComponents?: string[] | undefined;
|
|
@@ -2754,10 +2754,10 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2754
2754
|
shell: string;
|
|
2755
2755
|
page: string;
|
|
2756
2756
|
sections: {
|
|
2757
|
-
name: string;
|
|
2758
|
-
required: boolean;
|
|
2759
2757
|
id: string;
|
|
2758
|
+
name: string;
|
|
2760
2759
|
slot: string;
|
|
2760
|
+
required: boolean;
|
|
2761
2761
|
}[];
|
|
2762
2762
|
} | undefined;
|
|
2763
2763
|
requiredComponents?: string[] | undefined;
|
|
@@ -2805,11 +2805,10 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2805
2805
|
description?: string | undefined;
|
|
2806
2806
|
}>, "many">>;
|
|
2807
2807
|
}, "strip", z.ZodTypeAny, {
|
|
2808
|
-
description: string;
|
|
2809
|
-
name: string;
|
|
2810
2808
|
category: "core" | "complex" | "advanced";
|
|
2811
2809
|
id: string;
|
|
2812
|
-
|
|
2810
|
+
name: string;
|
|
2811
|
+
description: string;
|
|
2813
2812
|
props: {
|
|
2814
2813
|
name: string;
|
|
2815
2814
|
type: string;
|
|
@@ -2817,17 +2816,17 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2817
2816
|
description?: string | undefined;
|
|
2818
2817
|
defaultValue?: string | undefined;
|
|
2819
2818
|
}[];
|
|
2819
|
+
importStatement: string;
|
|
2820
2820
|
variants?: {
|
|
2821
2821
|
name: string;
|
|
2822
2822
|
value: string;
|
|
2823
2823
|
description?: string | undefined;
|
|
2824
2824
|
}[] | undefined;
|
|
2825
2825
|
}, {
|
|
2826
|
-
description: string;
|
|
2827
|
-
name: string;
|
|
2828
2826
|
category: "core" | "complex" | "advanced";
|
|
2829
2827
|
id: string;
|
|
2830
|
-
|
|
2828
|
+
name: string;
|
|
2829
|
+
description: string;
|
|
2831
2830
|
props: {
|
|
2832
2831
|
name: string;
|
|
2833
2832
|
type: string;
|
|
@@ -2835,6 +2834,7 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2835
2834
|
description?: string | undefined;
|
|
2836
2835
|
defaultValue?: string | undefined;
|
|
2837
2836
|
}[];
|
|
2837
|
+
importStatement: string;
|
|
2838
2838
|
variants?: {
|
|
2839
2839
|
name: string;
|
|
2840
2840
|
value: string;
|
|
@@ -2870,22 +2870,22 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2870
2870
|
children?: string | unknown[] | undefined;
|
|
2871
2871
|
}>, "many">;
|
|
2872
2872
|
}, "strip", z.ZodTypeAny, {
|
|
2873
|
-
pattern: string;
|
|
2874
2873
|
id: string;
|
|
2875
2874
|
components: {
|
|
2876
2875
|
type: string;
|
|
2877
2876
|
props?: Record<string, unknown> | undefined;
|
|
2878
2877
|
children?: string | unknown[] | undefined;
|
|
2879
2878
|
}[];
|
|
2879
|
+
pattern: string;
|
|
2880
2880
|
slot?: string | undefined;
|
|
2881
2881
|
}, {
|
|
2882
|
-
pattern: string;
|
|
2883
2882
|
id: string;
|
|
2884
2883
|
components: {
|
|
2885
2884
|
type: string;
|
|
2886
2885
|
props?: Record<string, unknown> | undefined;
|
|
2887
2886
|
children?: string | unknown[] | undefined;
|
|
2888
2887
|
}[];
|
|
2888
|
+
pattern: string;
|
|
2889
2889
|
slot?: string | undefined;
|
|
2890
2890
|
}>, "many">;
|
|
2891
2891
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2905,21 +2905,21 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2905
2905
|
author?: string | undefined;
|
|
2906
2906
|
}>>;
|
|
2907
2907
|
}, "strip", z.ZodTypeAny, {
|
|
2908
|
+
id: string;
|
|
2908
2909
|
shell: string;
|
|
2909
2910
|
page: string;
|
|
2910
|
-
id: string;
|
|
2911
2911
|
sections: {
|
|
2912
|
-
pattern: string;
|
|
2913
2912
|
id: string;
|
|
2914
2913
|
components: {
|
|
2915
2914
|
type: string;
|
|
2916
2915
|
props?: Record<string, unknown> | undefined;
|
|
2917
2916
|
children?: string | unknown[] | undefined;
|
|
2918
2917
|
}[];
|
|
2918
|
+
pattern: string;
|
|
2919
2919
|
slot?: string | undefined;
|
|
2920
2920
|
}[];
|
|
2921
|
-
description?: string | undefined;
|
|
2922
2921
|
name?: string | undefined;
|
|
2922
|
+
description?: string | undefined;
|
|
2923
2923
|
themeId?: string | undefined;
|
|
2924
2924
|
metadata?: {
|
|
2925
2925
|
version?: string | undefined;
|
|
@@ -2928,21 +2928,21 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2928
2928
|
author?: string | undefined;
|
|
2929
2929
|
} | undefined;
|
|
2930
2930
|
}, {
|
|
2931
|
+
id: string;
|
|
2931
2932
|
shell: string;
|
|
2932
2933
|
page: string;
|
|
2933
|
-
id: string;
|
|
2934
2934
|
sections: {
|
|
2935
|
-
pattern: string;
|
|
2936
2935
|
id: string;
|
|
2937
2936
|
components: {
|
|
2938
2937
|
type: string;
|
|
2939
2938
|
props?: Record<string, unknown> | undefined;
|
|
2940
2939
|
children?: string | unknown[] | undefined;
|
|
2941
2940
|
}[];
|
|
2941
|
+
pattern: string;
|
|
2942
2942
|
slot?: string | undefined;
|
|
2943
2943
|
}[];
|
|
2944
|
-
description?: string | undefined;
|
|
2945
2944
|
name?: string | undefined;
|
|
2945
|
+
description?: string | undefined;
|
|
2946
2946
|
themeId?: string | undefined;
|
|
2947
2947
|
metadata?: {
|
|
2948
2948
|
version?: string | undefined;
|
|
@@ -2983,22 +2983,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2983
2983
|
children?: string | unknown[] | undefined;
|
|
2984
2984
|
}>, "many">;
|
|
2985
2985
|
}, "strip", z.ZodTypeAny, {
|
|
2986
|
-
pattern: string;
|
|
2987
2986
|
id: string;
|
|
2988
2987
|
components: {
|
|
2989
2988
|
type: string;
|
|
2990
2989
|
props?: Record<string, unknown> | undefined;
|
|
2991
2990
|
children?: string | unknown[] | undefined;
|
|
2992
2991
|
}[];
|
|
2992
|
+
pattern: string;
|
|
2993
2993
|
slot?: string | undefined;
|
|
2994
2994
|
}, {
|
|
2995
|
-
pattern: string;
|
|
2996
2995
|
id: string;
|
|
2997
2996
|
components: {
|
|
2998
2997
|
type: string;
|
|
2999
2998
|
props?: Record<string, unknown> | undefined;
|
|
3000
2999
|
children?: string | unknown[] | undefined;
|
|
3001
3000
|
}[];
|
|
3001
|
+
pattern: string;
|
|
3002
3002
|
slot?: string | undefined;
|
|
3003
3003
|
}>, "many">;
|
|
3004
3004
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3018,21 +3018,21 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3018
3018
|
author?: string | undefined;
|
|
3019
3019
|
}>>;
|
|
3020
3020
|
}, "strip", z.ZodTypeAny, {
|
|
3021
|
+
id: string;
|
|
3021
3022
|
shell: string;
|
|
3022
3023
|
page: string;
|
|
3023
|
-
id: string;
|
|
3024
3024
|
sections: {
|
|
3025
|
-
pattern: string;
|
|
3026
3025
|
id: string;
|
|
3027
3026
|
components: {
|
|
3028
3027
|
type: string;
|
|
3029
3028
|
props?: Record<string, unknown> | undefined;
|
|
3030
3029
|
children?: string | unknown[] | undefined;
|
|
3031
3030
|
}[];
|
|
3031
|
+
pattern: string;
|
|
3032
3032
|
slot?: string | undefined;
|
|
3033
3033
|
}[];
|
|
3034
|
-
description?: string | undefined;
|
|
3035
3034
|
name?: string | undefined;
|
|
3035
|
+
description?: string | undefined;
|
|
3036
3036
|
themeId?: string | undefined;
|
|
3037
3037
|
metadata?: {
|
|
3038
3038
|
version?: string | undefined;
|
|
@@ -3041,21 +3041,21 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3041
3041
|
author?: string | undefined;
|
|
3042
3042
|
} | undefined;
|
|
3043
3043
|
}, {
|
|
3044
|
+
id: string;
|
|
3044
3045
|
shell: string;
|
|
3045
3046
|
page: string;
|
|
3046
|
-
id: string;
|
|
3047
3047
|
sections: {
|
|
3048
|
-
pattern: string;
|
|
3049
3048
|
id: string;
|
|
3050
3049
|
components: {
|
|
3051
3050
|
type: string;
|
|
3052
3051
|
props?: Record<string, unknown> | undefined;
|
|
3053
3052
|
children?: string | unknown[] | undefined;
|
|
3054
3053
|
}[];
|
|
3054
|
+
pattern: string;
|
|
3055
3055
|
slot?: string | undefined;
|
|
3056
3056
|
}[];
|
|
3057
|
-
description?: string | undefined;
|
|
3058
3057
|
name?: string | undefined;
|
|
3058
|
+
description?: string | undefined;
|
|
3059
3059
|
themeId?: string | undefined;
|
|
3060
3060
|
metadata?: {
|
|
3061
3061
|
version?: string | undefined;
|
|
@@ -3065,24 +3065,24 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3065
3065
|
} | undefined;
|
|
3066
3066
|
}>;
|
|
3067
3067
|
}, "strip", z.ZodTypeAny, {
|
|
3068
|
-
description: string;
|
|
3069
3068
|
name: string;
|
|
3069
|
+
description: string;
|
|
3070
3070
|
definition: {
|
|
3071
|
+
id: string;
|
|
3071
3072
|
shell: string;
|
|
3072
3073
|
page: string;
|
|
3073
|
-
id: string;
|
|
3074
3074
|
sections: {
|
|
3075
|
-
pattern: string;
|
|
3076
3075
|
id: string;
|
|
3077
3076
|
components: {
|
|
3078
3077
|
type: string;
|
|
3079
3078
|
props?: Record<string, unknown> | undefined;
|
|
3080
3079
|
children?: string | unknown[] | undefined;
|
|
3081
3080
|
}[];
|
|
3081
|
+
pattern: string;
|
|
3082
3082
|
slot?: string | undefined;
|
|
3083
3083
|
}[];
|
|
3084
|
-
description?: string | undefined;
|
|
3085
3084
|
name?: string | undefined;
|
|
3085
|
+
description?: string | undefined;
|
|
3086
3086
|
themeId?: string | undefined;
|
|
3087
3087
|
metadata?: {
|
|
3088
3088
|
version?: string | undefined;
|
|
@@ -3092,24 +3092,24 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3092
3092
|
} | undefined;
|
|
3093
3093
|
};
|
|
3094
3094
|
}, {
|
|
3095
|
-
description: string;
|
|
3096
3095
|
name: string;
|
|
3096
|
+
description: string;
|
|
3097
3097
|
definition: {
|
|
3098
|
+
id: string;
|
|
3098
3099
|
shell: string;
|
|
3099
3100
|
page: string;
|
|
3100
|
-
id: string;
|
|
3101
3101
|
sections: {
|
|
3102
|
-
pattern: string;
|
|
3103
3102
|
id: string;
|
|
3104
3103
|
components: {
|
|
3105
3104
|
type: string;
|
|
3106
3105
|
props?: Record<string, unknown> | undefined;
|
|
3107
3106
|
children?: string | unknown[] | undefined;
|
|
3108
3107
|
}[];
|
|
3108
|
+
pattern: string;
|
|
3109
3109
|
slot?: string | undefined;
|
|
3110
3110
|
}[];
|
|
3111
|
-
description?: string | undefined;
|
|
3112
3111
|
name?: string | undefined;
|
|
3112
|
+
description?: string | undefined;
|
|
3113
3113
|
themeId?: string | undefined;
|
|
3114
3114
|
metadata?: {
|
|
3115
3115
|
version?: string | undefined;
|
|
@@ -3146,14 +3146,14 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3146
3146
|
message: z.ZodString;
|
|
3147
3147
|
example: z.ZodOptional<z.ZodString>;
|
|
3148
3148
|
}, "strip", z.ZodTypeAny, {
|
|
3149
|
-
priority: "high" | "medium" | "low";
|
|
3150
3149
|
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3151
3150
|
message: string;
|
|
3151
|
+
priority: "high" | "medium" | "low";
|
|
3152
3152
|
example?: string | undefined;
|
|
3153
3153
|
}, {
|
|
3154
|
-
priority: "high" | "medium" | "low";
|
|
3155
3154
|
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3156
3155
|
message: string;
|
|
3156
|
+
priority: "high" | "medium" | "low";
|
|
3157
3157
|
example?: string | undefined;
|
|
3158
3158
|
}>;
|
|
3159
3159
|
export type GenerationHint = z.infer<typeof GenerationHintSchema>;
|
|
@@ -3252,33 +3252,33 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3252
3252
|
slot: z.ZodString;
|
|
3253
3253
|
required: z.ZodBoolean;
|
|
3254
3254
|
}, "strip", z.ZodTypeAny, {
|
|
3255
|
-
name: string;
|
|
3256
|
-
required: boolean;
|
|
3257
3255
|
id: string;
|
|
3258
|
-
slot: string;
|
|
3259
|
-
}, {
|
|
3260
3256
|
name: string;
|
|
3257
|
+
slot: string;
|
|
3261
3258
|
required: boolean;
|
|
3259
|
+
}, {
|
|
3262
3260
|
id: string;
|
|
3261
|
+
name: string;
|
|
3263
3262
|
slot: string;
|
|
3263
|
+
required: boolean;
|
|
3264
3264
|
}>, "many">;
|
|
3265
3265
|
}, "strip", z.ZodTypeAny, {
|
|
3266
3266
|
shell: string;
|
|
3267
3267
|
page: string;
|
|
3268
3268
|
sections: {
|
|
3269
|
-
name: string;
|
|
3270
|
-
required: boolean;
|
|
3271
3269
|
id: string;
|
|
3270
|
+
name: string;
|
|
3272
3271
|
slot: string;
|
|
3272
|
+
required: boolean;
|
|
3273
3273
|
}[];
|
|
3274
3274
|
}, {
|
|
3275
3275
|
shell: string;
|
|
3276
3276
|
page: string;
|
|
3277
3277
|
sections: {
|
|
3278
|
-
name: string;
|
|
3279
|
-
required: boolean;
|
|
3280
3278
|
id: string;
|
|
3279
|
+
name: string;
|
|
3281
3280
|
slot: string;
|
|
3281
|
+
required: boolean;
|
|
3282
3282
|
}[];
|
|
3283
3283
|
}>>;
|
|
3284
3284
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3292,10 +3292,10 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3292
3292
|
shell: string;
|
|
3293
3293
|
page: string;
|
|
3294
3294
|
sections: {
|
|
3295
|
-
name: string;
|
|
3296
|
-
required: boolean;
|
|
3297
3295
|
id: string;
|
|
3296
|
+
name: string;
|
|
3298
3297
|
slot: string;
|
|
3298
|
+
required: boolean;
|
|
3299
3299
|
}[];
|
|
3300
3300
|
} | undefined;
|
|
3301
3301
|
requiredComponents?: string[] | undefined;
|
|
@@ -3309,10 +3309,10 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3309
3309
|
shell: string;
|
|
3310
3310
|
page: string;
|
|
3311
3311
|
sections: {
|
|
3312
|
-
name: string;
|
|
3313
|
-
required: boolean;
|
|
3314
3312
|
id: string;
|
|
3313
|
+
name: string;
|
|
3315
3314
|
slot: string;
|
|
3315
|
+
required: boolean;
|
|
3316
3316
|
}[];
|
|
3317
3317
|
} | undefined;
|
|
3318
3318
|
requiredComponents?: string[] | undefined;
|
|
@@ -3356,11 +3356,10 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3356
3356
|
description?: string | undefined;
|
|
3357
3357
|
}>, "many">>;
|
|
3358
3358
|
}, "strip", z.ZodTypeAny, {
|
|
3359
|
-
description: string;
|
|
3360
|
-
name: string;
|
|
3361
3359
|
category: "core" | "complex" | "advanced";
|
|
3362
3360
|
id: string;
|
|
3363
|
-
|
|
3361
|
+
name: string;
|
|
3362
|
+
description: string;
|
|
3364
3363
|
props: {
|
|
3365
3364
|
name: string;
|
|
3366
3365
|
type: string;
|
|
@@ -3368,17 +3367,17 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3368
3367
|
description?: string | undefined;
|
|
3369
3368
|
defaultValue?: string | undefined;
|
|
3370
3369
|
}[];
|
|
3370
|
+
importStatement: string;
|
|
3371
3371
|
variants?: {
|
|
3372
3372
|
name: string;
|
|
3373
3373
|
value: string;
|
|
3374
3374
|
description?: string | undefined;
|
|
3375
3375
|
}[] | undefined;
|
|
3376
3376
|
}, {
|
|
3377
|
-
description: string;
|
|
3378
|
-
name: string;
|
|
3379
3377
|
category: "core" | "complex" | "advanced";
|
|
3380
3378
|
id: string;
|
|
3381
|
-
|
|
3379
|
+
name: string;
|
|
3380
|
+
description: string;
|
|
3382
3381
|
props: {
|
|
3383
3382
|
name: string;
|
|
3384
3383
|
type: string;
|
|
@@ -3386,6 +3385,7 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3386
3385
|
description?: string | undefined;
|
|
3387
3386
|
defaultValue?: string | undefined;
|
|
3388
3387
|
}[];
|
|
3388
|
+
importStatement: string;
|
|
3389
3389
|
variants?: {
|
|
3390
3390
|
name: string;
|
|
3391
3391
|
value: string;
|
|
@@ -3430,22 +3430,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3430
3430
|
children?: string | unknown[] | undefined;
|
|
3431
3431
|
}>, "many">;
|
|
3432
3432
|
}, "strip", z.ZodTypeAny, {
|
|
3433
|
-
pattern: string;
|
|
3434
3433
|
id: string;
|
|
3435
3434
|
components: {
|
|
3436
3435
|
type: string;
|
|
3437
3436
|
props?: Record<string, unknown> | undefined;
|
|
3438
3437
|
children?: string | unknown[] | undefined;
|
|
3439
3438
|
}[];
|
|
3439
|
+
pattern: string;
|
|
3440
3440
|
slot?: string | undefined;
|
|
3441
3441
|
}, {
|
|
3442
|
-
pattern: string;
|
|
3443
3442
|
id: string;
|
|
3444
3443
|
components: {
|
|
3445
3444
|
type: string;
|
|
3446
3445
|
props?: Record<string, unknown> | undefined;
|
|
3447
3446
|
children?: string | unknown[] | undefined;
|
|
3448
3447
|
}[];
|
|
3448
|
+
pattern: string;
|
|
3449
3449
|
slot?: string | undefined;
|
|
3450
3450
|
}>, "many">;
|
|
3451
3451
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3465,21 +3465,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3465
3465
|
author?: string | undefined;
|
|
3466
3466
|
}>>;
|
|
3467
3467
|
}, "strip", z.ZodTypeAny, {
|
|
3468
|
+
id: string;
|
|
3468
3469
|
shell: string;
|
|
3469
3470
|
page: string;
|
|
3470
|
-
id: string;
|
|
3471
3471
|
sections: {
|
|
3472
|
-
pattern: string;
|
|
3473
3472
|
id: string;
|
|
3474
3473
|
components: {
|
|
3475
3474
|
type: string;
|
|
3476
3475
|
props?: Record<string, unknown> | undefined;
|
|
3477
3476
|
children?: string | unknown[] | undefined;
|
|
3478
3477
|
}[];
|
|
3478
|
+
pattern: string;
|
|
3479
3479
|
slot?: string | undefined;
|
|
3480
3480
|
}[];
|
|
3481
|
-
description?: string | undefined;
|
|
3482
3481
|
name?: string | undefined;
|
|
3482
|
+
description?: string | undefined;
|
|
3483
3483
|
themeId?: string | undefined;
|
|
3484
3484
|
metadata?: {
|
|
3485
3485
|
version?: string | undefined;
|
|
@@ -3488,21 +3488,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3488
3488
|
author?: string | undefined;
|
|
3489
3489
|
} | undefined;
|
|
3490
3490
|
}, {
|
|
3491
|
+
id: string;
|
|
3491
3492
|
shell: string;
|
|
3492
3493
|
page: string;
|
|
3493
|
-
id: string;
|
|
3494
3494
|
sections: {
|
|
3495
|
-
pattern: string;
|
|
3496
3495
|
id: string;
|
|
3497
3496
|
components: {
|
|
3498
3497
|
type: string;
|
|
3499
3498
|
props?: Record<string, unknown> | undefined;
|
|
3500
3499
|
children?: string | unknown[] | undefined;
|
|
3501
3500
|
}[];
|
|
3501
|
+
pattern: string;
|
|
3502
3502
|
slot?: string | undefined;
|
|
3503
3503
|
}[];
|
|
3504
|
-
description?: string | undefined;
|
|
3505
3504
|
name?: string | undefined;
|
|
3505
|
+
description?: string | undefined;
|
|
3506
3506
|
themeId?: string | undefined;
|
|
3507
3507
|
metadata?: {
|
|
3508
3508
|
version?: string | undefined;
|
|
@@ -3512,24 +3512,24 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3512
3512
|
} | undefined;
|
|
3513
3513
|
}>;
|
|
3514
3514
|
}, "strip", z.ZodTypeAny, {
|
|
3515
|
-
description: string;
|
|
3516
3515
|
name: string;
|
|
3516
|
+
description: string;
|
|
3517
3517
|
definition: {
|
|
3518
|
+
id: string;
|
|
3518
3519
|
shell: string;
|
|
3519
3520
|
page: string;
|
|
3520
|
-
id: string;
|
|
3521
3521
|
sections: {
|
|
3522
|
-
pattern: string;
|
|
3523
3522
|
id: string;
|
|
3524
3523
|
components: {
|
|
3525
3524
|
type: string;
|
|
3526
3525
|
props?: Record<string, unknown> | undefined;
|
|
3527
3526
|
children?: string | unknown[] | undefined;
|
|
3528
3527
|
}[];
|
|
3528
|
+
pattern: string;
|
|
3529
3529
|
slot?: string | undefined;
|
|
3530
3530
|
}[];
|
|
3531
|
-
description?: string | undefined;
|
|
3532
3531
|
name?: string | undefined;
|
|
3532
|
+
description?: string | undefined;
|
|
3533
3533
|
themeId?: string | undefined;
|
|
3534
3534
|
metadata?: {
|
|
3535
3535
|
version?: string | undefined;
|
|
@@ -3539,24 +3539,24 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3539
3539
|
} | undefined;
|
|
3540
3540
|
};
|
|
3541
3541
|
}, {
|
|
3542
|
-
description: string;
|
|
3543
3542
|
name: string;
|
|
3543
|
+
description: string;
|
|
3544
3544
|
definition: {
|
|
3545
|
+
id: string;
|
|
3545
3546
|
shell: string;
|
|
3546
3547
|
page: string;
|
|
3547
|
-
id: string;
|
|
3548
3548
|
sections: {
|
|
3549
|
-
pattern: string;
|
|
3550
3549
|
id: string;
|
|
3551
3550
|
components: {
|
|
3552
3551
|
type: string;
|
|
3553
3552
|
props?: Record<string, unknown> | undefined;
|
|
3554
3553
|
children?: string | unknown[] | undefined;
|
|
3555
3554
|
}[];
|
|
3555
|
+
pattern: string;
|
|
3556
3556
|
slot?: string | undefined;
|
|
3557
3557
|
}[];
|
|
3558
|
-
description?: string | undefined;
|
|
3559
3558
|
name?: string | undefined;
|
|
3559
|
+
description?: string | undefined;
|
|
3560
3560
|
themeId?: string | undefined;
|
|
3561
3561
|
metadata?: {
|
|
3562
3562
|
version?: string | undefined;
|
|
@@ -3585,14 +3585,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3585
3585
|
message: z.ZodString;
|
|
3586
3586
|
example: z.ZodOptional<z.ZodString>;
|
|
3587
3587
|
}, "strip", z.ZodTypeAny, {
|
|
3588
|
-
priority: "high" | "medium" | "low";
|
|
3589
3588
|
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3590
3589
|
message: string;
|
|
3590
|
+
priority: "high" | "medium" | "low";
|
|
3591
3591
|
example?: string | undefined;
|
|
3592
3592
|
}, {
|
|
3593
|
-
priority: "high" | "medium" | "low";
|
|
3594
3593
|
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3595
3594
|
message: string;
|
|
3595
|
+
priority: "high" | "medium" | "low";
|
|
3596
3596
|
example?: string | undefined;
|
|
3597
3597
|
}>, "many">>;
|
|
3598
3598
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -3646,11 +3646,10 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3646
3646
|
success: boolean;
|
|
3647
3647
|
error?: string | undefined;
|
|
3648
3648
|
components?: {
|
|
3649
|
-
description: string;
|
|
3650
|
-
name: string;
|
|
3651
3649
|
category: "core" | "complex" | "advanced";
|
|
3652
3650
|
id: string;
|
|
3653
|
-
|
|
3651
|
+
name: string;
|
|
3652
|
+
description: string;
|
|
3654
3653
|
props: {
|
|
3655
3654
|
name: string;
|
|
3656
3655
|
type: string;
|
|
@@ -3658,6 +3657,7 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3658
3657
|
description?: string | undefined;
|
|
3659
3658
|
defaultValue?: string | undefined;
|
|
3660
3659
|
}[];
|
|
3660
|
+
importStatement: string;
|
|
3661
3661
|
variants?: {
|
|
3662
3662
|
name: string;
|
|
3663
3663
|
value: string;
|
|
@@ -3665,24 +3665,24 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3665
3665
|
}[] | undefined;
|
|
3666
3666
|
}[] | undefined;
|
|
3667
3667
|
examples?: {
|
|
3668
|
-
description: string;
|
|
3669
3668
|
name: string;
|
|
3669
|
+
description: string;
|
|
3670
3670
|
definition: {
|
|
3671
|
+
id: string;
|
|
3671
3672
|
shell: string;
|
|
3672
3673
|
page: string;
|
|
3673
|
-
id: string;
|
|
3674
3674
|
sections: {
|
|
3675
|
-
pattern: string;
|
|
3676
3675
|
id: string;
|
|
3677
3676
|
components: {
|
|
3678
3677
|
type: string;
|
|
3679
3678
|
props?: Record<string, unknown> | undefined;
|
|
3680
3679
|
children?: string | unknown[] | undefined;
|
|
3681
3680
|
}[];
|
|
3681
|
+
pattern: string;
|
|
3682
3682
|
slot?: string | undefined;
|
|
3683
3683
|
}[];
|
|
3684
|
-
description?: string | undefined;
|
|
3685
3684
|
name?: string | undefined;
|
|
3685
|
+
description?: string | undefined;
|
|
3686
3686
|
themeId?: string | undefined;
|
|
3687
3687
|
metadata?: {
|
|
3688
3688
|
version?: string | undefined;
|
|
@@ -3702,10 +3702,10 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3702
3702
|
shell: string;
|
|
3703
3703
|
page: string;
|
|
3704
3704
|
sections: {
|
|
3705
|
-
name: string;
|
|
3706
|
-
required: boolean;
|
|
3707
3705
|
id: string;
|
|
3706
|
+
name: string;
|
|
3708
3707
|
slot: string;
|
|
3708
|
+
required: boolean;
|
|
3709
3709
|
}[];
|
|
3710
3710
|
} | undefined;
|
|
3711
3711
|
requiredComponents?: string[] | undefined;
|
|
@@ -3720,9 +3720,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3720
3720
|
defaultClassName?: string | undefined;
|
|
3721
3721
|
}[] | undefined;
|
|
3722
3722
|
hints?: {
|
|
3723
|
-
priority: "high" | "medium" | "low";
|
|
3724
3723
|
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3725
3724
|
message: string;
|
|
3725
|
+
priority: "high" | "medium" | "low";
|
|
3726
3726
|
example?: string | undefined;
|
|
3727
3727
|
}[] | undefined;
|
|
3728
3728
|
workflow?: {
|
|
@@ -3741,11 +3741,10 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3741
3741
|
success: boolean;
|
|
3742
3742
|
error?: string | undefined;
|
|
3743
3743
|
components?: {
|
|
3744
|
-
description: string;
|
|
3745
|
-
name: string;
|
|
3746
3744
|
category: "core" | "complex" | "advanced";
|
|
3747
3745
|
id: string;
|
|
3748
|
-
|
|
3746
|
+
name: string;
|
|
3747
|
+
description: string;
|
|
3749
3748
|
props: {
|
|
3750
3749
|
name: string;
|
|
3751
3750
|
type: string;
|
|
@@ -3753,6 +3752,7 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3753
3752
|
description?: string | undefined;
|
|
3754
3753
|
defaultValue?: string | undefined;
|
|
3755
3754
|
}[];
|
|
3755
|
+
importStatement: string;
|
|
3756
3756
|
variants?: {
|
|
3757
3757
|
name: string;
|
|
3758
3758
|
value: string;
|
|
@@ -3760,24 +3760,24 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3760
3760
|
}[] | undefined;
|
|
3761
3761
|
}[] | undefined;
|
|
3762
3762
|
examples?: {
|
|
3763
|
-
description: string;
|
|
3764
3763
|
name: string;
|
|
3764
|
+
description: string;
|
|
3765
3765
|
definition: {
|
|
3766
|
+
id: string;
|
|
3766
3767
|
shell: string;
|
|
3767
3768
|
page: string;
|
|
3768
|
-
id: string;
|
|
3769
3769
|
sections: {
|
|
3770
|
-
pattern: string;
|
|
3771
3770
|
id: string;
|
|
3772
3771
|
components: {
|
|
3773
3772
|
type: string;
|
|
3774
3773
|
props?: Record<string, unknown> | undefined;
|
|
3775
3774
|
children?: string | unknown[] | undefined;
|
|
3776
3775
|
}[];
|
|
3776
|
+
pattern: string;
|
|
3777
3777
|
slot?: string | undefined;
|
|
3778
3778
|
}[];
|
|
3779
|
-
description?: string | undefined;
|
|
3780
3779
|
name?: string | undefined;
|
|
3780
|
+
description?: string | undefined;
|
|
3781
3781
|
themeId?: string | undefined;
|
|
3782
3782
|
metadata?: {
|
|
3783
3783
|
version?: string | undefined;
|
|
@@ -3797,10 +3797,10 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3797
3797
|
shell: string;
|
|
3798
3798
|
page: string;
|
|
3799
3799
|
sections: {
|
|
3800
|
-
name: string;
|
|
3801
|
-
required: boolean;
|
|
3802
3800
|
id: string;
|
|
3801
|
+
name: string;
|
|
3803
3802
|
slot: string;
|
|
3803
|
+
required: boolean;
|
|
3804
3804
|
}[];
|
|
3805
3805
|
} | undefined;
|
|
3806
3806
|
requiredComponents?: string[] | undefined;
|
|
@@ -3815,9 +3815,9 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3815
3815
|
defaultClassName?: string | undefined;
|
|
3816
3816
|
}[] | undefined;
|
|
3817
3817
|
hints?: {
|
|
3818
|
-
priority: "high" | "medium" | "low";
|
|
3819
3818
|
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3820
3819
|
message: string;
|
|
3820
|
+
priority: "high" | "medium" | "low";
|
|
3821
3821
|
example?: string | undefined;
|
|
3822
3822
|
}[] | undefined;
|
|
3823
3823
|
workflow?: {
|
|
@@ -3882,21 +3882,21 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
3882
3882
|
prettier?: boolean | undefined;
|
|
3883
3883
|
}>>;
|
|
3884
3884
|
}, "strip", z.ZodTypeAny, {
|
|
3885
|
-
outputFormat: "css-in-js" | "tailwind"
|
|
3886
|
-
screenDefinition?: unknown;
|
|
3885
|
+
outputFormat: "react" | "css-in-js" | "tailwind";
|
|
3887
3886
|
options?: {
|
|
3888
3887
|
typescript: boolean;
|
|
3889
3888
|
prettier: boolean;
|
|
3890
3889
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
3891
3890
|
} | undefined;
|
|
3892
|
-
}, {
|
|
3893
|
-
outputFormat: "css-in-js" | "tailwind" | "react";
|
|
3894
3891
|
screenDefinition?: unknown;
|
|
3892
|
+
}, {
|
|
3893
|
+
outputFormat: "react" | "css-in-js" | "tailwind";
|
|
3895
3894
|
options?: {
|
|
3896
3895
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
3897
3896
|
typescript?: boolean | undefined;
|
|
3898
3897
|
prettier?: boolean | undefined;
|
|
3899
3898
|
} | undefined;
|
|
3899
|
+
screenDefinition?: unknown;
|
|
3900
3900
|
}>;
|
|
3901
3901
|
export type GenerateScreenInput = z.infer<typeof GenerateScreenInputSchema>;
|
|
3902
3902
|
/**
|
|
@@ -4166,8 +4166,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4166
4166
|
error: z.ZodOptional<z.ZodString>;
|
|
4167
4167
|
}, "strip", z.ZodTypeAny, {
|
|
4168
4168
|
success: boolean;
|
|
4169
|
-
valid?: boolean | undefined;
|
|
4170
4169
|
error?: string | undefined;
|
|
4170
|
+
valid?: boolean | undefined;
|
|
4171
4171
|
errors?: {
|
|
4172
4172
|
code: string;
|
|
4173
4173
|
path: string;
|
|
@@ -4205,8 +4205,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4205
4205
|
}[] | undefined;
|
|
4206
4206
|
}, {
|
|
4207
4207
|
success: boolean;
|
|
4208
|
-
valid?: boolean | undefined;
|
|
4209
4208
|
error?: string | undefined;
|
|
4209
|
+
valid?: boolean | undefined;
|
|
4210
4210
|
errors?: {
|
|
4211
4211
|
code: string;
|
|
4212
4212
|
path: string;
|
|
@@ -4311,6 +4311,14 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4311
4311
|
error: z.ZodOptional<z.ZodString>;
|
|
4312
4312
|
}, "strip", z.ZodTypeAny, {
|
|
4313
4313
|
success: boolean;
|
|
4314
|
+
error?: string | undefined;
|
|
4315
|
+
installCommands?: {
|
|
4316
|
+
npm: string;
|
|
4317
|
+
yarn: string;
|
|
4318
|
+
pnpm: string;
|
|
4319
|
+
bun: string;
|
|
4320
|
+
} | undefined;
|
|
4321
|
+
warnings?: string[] | undefined;
|
|
4314
4322
|
tailwind?: {
|
|
4315
4323
|
issues: string[];
|
|
4316
4324
|
configFound: boolean;
|
|
@@ -4319,18 +4327,18 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4319
4327
|
fixes: string[];
|
|
4320
4328
|
configPath?: string | undefined;
|
|
4321
4329
|
} | undefined;
|
|
4330
|
+
installed?: Record<string, string> | undefined;
|
|
4331
|
+
missing?: string[] | undefined;
|
|
4332
|
+
}, {
|
|
4333
|
+
success: boolean;
|
|
4322
4334
|
error?: string | undefined;
|
|
4323
|
-
warnings?: string[] | undefined;
|
|
4324
4335
|
installCommands?: {
|
|
4325
4336
|
npm: string;
|
|
4326
4337
|
yarn: string;
|
|
4327
4338
|
pnpm: string;
|
|
4328
4339
|
bun: string;
|
|
4329
4340
|
} | undefined;
|
|
4330
|
-
|
|
4331
|
-
missing?: string[] | undefined;
|
|
4332
|
-
}, {
|
|
4333
|
-
success: boolean;
|
|
4341
|
+
warnings?: string[] | undefined;
|
|
4334
4342
|
tailwind?: {
|
|
4335
4343
|
issues: string[];
|
|
4336
4344
|
configFound: boolean;
|
|
@@ -4339,14 +4347,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4339
4347
|
fixes: string[];
|
|
4340
4348
|
configPath?: string | undefined;
|
|
4341
4349
|
} | undefined;
|
|
4342
|
-
error?: string | undefined;
|
|
4343
|
-
warnings?: string[] | undefined;
|
|
4344
|
-
installCommands?: {
|
|
4345
|
-
npm: string;
|
|
4346
|
-
yarn: string;
|
|
4347
|
-
pnpm: string;
|
|
4348
|
-
bun: string;
|
|
4349
|
-
} | undefined;
|
|
4350
4350
|
installed?: Record<string, string> | undefined;
|
|
4351
4351
|
missing?: string[] | undefined;
|
|
4352
4352
|
}>;
|