@framingui/mcp-server 0.6.26 → 0.6.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1 -2
- package/dist/__tests__/react-native-contract.test.d.ts +2 -0
- package/dist/__tests__/react-native-contract.test.d.ts.map +1 -0
- package/dist/__tests__/react-native-contract.test.js +50 -0
- package/dist/__tests__/react-native-contract.test.js.map +1 -0
- package/dist/auth/state.d.ts +5 -0
- package/dist/auth/state.d.ts.map +1 -1
- package/dist/auth/state.js +33 -0
- package/dist/auth/state.js.map +1 -1
- package/dist/cli/agent-md-templates.d.ts.map +1 -1
- package/dist/cli/agent-md-templates.js +54 -36
- package/dist/cli/agent-md-templates.js.map +1 -1
- package/dist/cli/guide-template.d.ts.map +1 -1
- package/dist/cli/guide-template.js +17 -35
- package/dist/cli/guide-template.js.map +1 -1
- package/dist/cli/init.d.ts +2 -3
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +33 -48
- package/dist/cli/init.js.map +1 -1
- package/dist/data/component-fallback-catalog.d.ts +26 -0
- package/dist/data/component-fallback-catalog.d.ts.map +1 -0
- package/dist/data/component-fallback-catalog.js +149 -0
- package/dist/data/component-fallback-catalog.js.map +1 -0
- package/dist/data/react-native-runtime-catalog.d.ts +24 -0
- package/dist/data/react-native-runtime-catalog.d.ts.map +1 -0
- package/dist/data/react-native-runtime-catalog.js +265 -0
- package/dist/data/react-native-runtime-catalog.js.map +1 -0
- package/dist/index.js +114 -47
- package/dist/index.js.map +1 -1
- package/dist/platform-support.d.ts +22 -0
- package/dist/platform-support.d.ts.map +1 -0
- package/dist/platform-support.js +148 -0
- package/dist/platform-support.js.map +1 -0
- package/dist/project-context-resolution.d.ts +7 -0
- package/dist/project-context-resolution.d.ts.map +1 -0
- package/dist/project-context-resolution.js +21 -0
- package/dist/project-context-resolution.js.map +1 -0
- package/dist/project-context-state.d.ts +12 -0
- package/dist/project-context-state.d.ts.map +1 -0
- package/dist/project-context-state.js +14 -0
- package/dist/project-context-state.js.map +1 -0
- package/dist/project-context.d.ts +15 -0
- package/dist/project-context.d.ts.map +1 -0
- package/dist/project-context.js +78 -0
- package/dist/project-context.js.map +1 -0
- package/dist/prompts/getting-started.d.ts.map +1 -1
- package/dist/prompts/getting-started.js +27 -7
- package/dist/prompts/getting-started.js.map +1 -1
- package/dist/prompts/screen-workflow.d.ts.map +1 -1
- package/dist/prompts/screen-workflow.js +53 -2
- package/dist/prompts/screen-workflow.js.map +1 -1
- package/dist/schemas/mcp-schemas.d.ts +1058 -528
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/schemas/mcp-schemas.js +98 -0
- package/dist/schemas/mcp-schemas.js.map +1 -1
- package/dist/tools/detect-project-context.d.ts +3 -0
- package/dist/tools/detect-project-context.d.ts.map +1 -0
- package/dist/tools/detect-project-context.js +36 -0
- package/dist/tools/detect-project-context.js.map +1 -0
- package/dist/tools/get-screen-generation-context.d.ts.map +1 -1
- package/dist/tools/get-screen-generation-context.js +118 -18
- package/dist/tools/get-screen-generation-context.js.map +1 -1
- package/dist/tools/list-components.d.ts.map +1 -1
- package/dist/tools/list-components.js +42 -3
- package/dist/tools/list-components.js.map +1 -1
- package/dist/tools/preview-component.d.ts.map +1 -1
- package/dist/tools/preview-component.js +57 -7
- package/dist/tools/preview-component.js.map +1 -1
- package/dist/tools/preview-theme.d.ts.map +1 -1
- package/dist/tools/preview-theme.js +20 -2
- package/dist/tools/preview-theme.js.map +1 -1
- package/dist/tools/theme-authority.js +1 -1
- package/dist/tools/theme-authority.js.map +1 -1
- package/dist/tools/validate-environment.d.ts.map +1 -1
- package/dist/tools/validate-environment.js +102 -9
- package/dist/tools/validate-environment.js.map +1 -1
- package/dist/tools/validate-screen-definition.d.ts.map +1 -1
- package/dist/tools/validate-screen-definition.js +41 -7
- package/dist/tools/validate-screen-definition.js.map +1 -1
- package/package.json +16 -17
|
@@ -36,7 +36,6 @@ 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
39
|
message?: string | undefined;
|
|
41
40
|
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
42
41
|
isMaster?: boolean | undefined;
|
|
@@ -49,9 +48,9 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
49
48
|
is_trial?: boolean | undefined;
|
|
50
49
|
trial_expires_at?: string | null | undefined;
|
|
51
50
|
trial_days_left?: number | null | undefined;
|
|
51
|
+
error?: string | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
success: boolean;
|
|
54
|
-
error?: string | undefined;
|
|
55
54
|
message?: string | undefined;
|
|
56
55
|
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
57
56
|
isMaster?: boolean | undefined;
|
|
@@ -64,6 +63,7 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
64
63
|
is_trial?: boolean | undefined;
|
|
65
64
|
trial_expires_at?: string | null | undefined;
|
|
66
65
|
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: "
|
|
91
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "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: "
|
|
97
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "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,35 +115,35 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
115
115
|
page: z.ZodString;
|
|
116
116
|
description: z.ZodString;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
description: string;
|
|
118
119
|
shell: string;
|
|
119
120
|
page: string;
|
|
120
|
-
description: string;
|
|
121
121
|
}, {
|
|
122
|
+
description: string;
|
|
122
123
|
shell: string;
|
|
123
124
|
page: string;
|
|
124
|
-
description: string;
|
|
125
125
|
}>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
category: string;
|
|
128
127
|
templateId: string;
|
|
129
128
|
templateName: string;
|
|
129
|
+
category: string;
|
|
130
130
|
confidence: number;
|
|
131
131
|
matchedKeywords: string[];
|
|
132
132
|
layoutRecommendation: {
|
|
133
|
+
description: string;
|
|
133
134
|
shell: string;
|
|
134
135
|
page: string;
|
|
135
|
-
description: string;
|
|
136
136
|
};
|
|
137
137
|
}, {
|
|
138
|
-
category: string;
|
|
139
138
|
templateId: string;
|
|
140
139
|
templateName: string;
|
|
140
|
+
category: string;
|
|
141
141
|
confidence: number;
|
|
142
142
|
matchedKeywords: string[];
|
|
143
143
|
layoutRecommendation: {
|
|
144
|
+
description: string;
|
|
144
145
|
shell: string;
|
|
145
146
|
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
|
-
|
|
177
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
176
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
178
177
|
themeId: string;
|
|
179
178
|
iconLibrary: string;
|
|
180
179
|
id: string;
|
|
180
|
+
name: string;
|
|
181
181
|
components: {
|
|
182
182
|
type: string;
|
|
183
183
|
props?: Record<string, unknown>;
|
|
@@ -186,11 +186,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
186
186
|
}[];
|
|
187
187
|
timestamp: number;
|
|
188
188
|
}, {
|
|
189
|
-
|
|
190
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
189
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
191
190
|
themeId: string;
|
|
192
191
|
iconLibrary: string;
|
|
193
192
|
id: string;
|
|
193
|
+
name: string;
|
|
194
194
|
components: {
|
|
195
195
|
type: string;
|
|
196
196
|
props?: Record<string, unknown>;
|
|
@@ -210,35 +210,35 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
210
210
|
page: z.ZodString;
|
|
211
211
|
description: z.ZodString;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
description: string;
|
|
213
214
|
shell: string;
|
|
214
215
|
page: string;
|
|
215
|
-
description: string;
|
|
216
216
|
}, {
|
|
217
|
+
description: string;
|
|
217
218
|
shell: string;
|
|
218
219
|
page: string;
|
|
219
|
-
description: string;
|
|
220
220
|
}>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
category: string;
|
|
223
222
|
templateId: string;
|
|
224
223
|
templateName: string;
|
|
224
|
+
category: string;
|
|
225
225
|
confidence: number;
|
|
226
226
|
matchedKeywords: string[];
|
|
227
227
|
layoutRecommendation: {
|
|
228
|
+
description: string;
|
|
228
229
|
shell: string;
|
|
229
230
|
page: string;
|
|
230
|
-
description: string;
|
|
231
231
|
};
|
|
232
232
|
}, {
|
|
233
|
-
category: string;
|
|
234
233
|
templateId: string;
|
|
235
234
|
templateName: string;
|
|
235
|
+
category: string;
|
|
236
236
|
confidence: number;
|
|
237
237
|
matchedKeywords: string[];
|
|
238
238
|
layoutRecommendation: {
|
|
239
|
+
description: string;
|
|
239
240
|
shell: string;
|
|
240
241
|
page: string;
|
|
241
|
-
description: string;
|
|
242
242
|
};
|
|
243
243
|
}>, "many">>;
|
|
244
244
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -246,11 +246,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
246
246
|
success: boolean;
|
|
247
247
|
error?: string | undefined;
|
|
248
248
|
blueprint?: {
|
|
249
|
-
|
|
250
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
249
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
251
250
|
themeId: string;
|
|
252
251
|
iconLibrary: string;
|
|
253
252
|
id: string;
|
|
253
|
+
name: string;
|
|
254
254
|
components: {
|
|
255
255
|
type: string;
|
|
256
256
|
props?: Record<string, unknown>;
|
|
@@ -260,26 +260,26 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
260
260
|
timestamp: number;
|
|
261
261
|
} | undefined;
|
|
262
262
|
templateRecommendations?: {
|
|
263
|
-
category: string;
|
|
264
263
|
templateId: string;
|
|
265
264
|
templateName: string;
|
|
265
|
+
category: string;
|
|
266
266
|
confidence: number;
|
|
267
267
|
matchedKeywords: string[];
|
|
268
268
|
layoutRecommendation: {
|
|
269
|
+
description: string;
|
|
269
270
|
shell: string;
|
|
270
271
|
page: string;
|
|
271
|
-
description: string;
|
|
272
272
|
};
|
|
273
273
|
}[] | undefined;
|
|
274
274
|
}, {
|
|
275
275
|
success: boolean;
|
|
276
276
|
error?: string | undefined;
|
|
277
277
|
blueprint?: {
|
|
278
|
-
|
|
279
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
278
|
+
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
280
279
|
themeId: string;
|
|
281
280
|
iconLibrary: string;
|
|
282
281
|
id: string;
|
|
282
|
+
name: string;
|
|
283
283
|
components: {
|
|
284
284
|
type: string;
|
|
285
285
|
props?: Record<string, unknown>;
|
|
@@ -289,15 +289,15 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
289
289
|
timestamp: number;
|
|
290
290
|
} | undefined;
|
|
291
291
|
templateRecommendations?: {
|
|
292
|
-
category: string;
|
|
293
292
|
templateId: string;
|
|
294
293
|
templateName: string;
|
|
294
|
+
category: string;
|
|
295
295
|
confidence: number;
|
|
296
296
|
matchedKeywords: string[];
|
|
297
297
|
layoutRecommendation: {
|
|
298
|
+
description: string;
|
|
298
299
|
shell: string;
|
|
299
300
|
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;
|
|
@@ -361,8 +361,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
361
361
|
success: boolean;
|
|
362
362
|
error?: string | undefined;
|
|
363
363
|
themes?: {
|
|
364
|
-
name: string;
|
|
365
364
|
id: string;
|
|
365
|
+
name: string;
|
|
366
366
|
brandTone: string;
|
|
367
367
|
schemaVersion: string;
|
|
368
368
|
description?: string | undefined;
|
|
@@ -372,8 +372,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
372
372
|
success: boolean;
|
|
373
373
|
error?: string | undefined;
|
|
374
374
|
themes?: {
|
|
375
|
-
name: string;
|
|
376
375
|
id: string;
|
|
376
|
+
name: string;
|
|
377
377
|
brandTone: string;
|
|
378
378
|
schemaVersion: string;
|
|
379
379
|
description?: string | undefined;
|
|
@@ -426,13 +426,13 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
426
426
|
component: z.ZodOptional<z.ZodUnknown>;
|
|
427
427
|
recipes: z.ZodOptional<z.ZodUnknown>;
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
semantic?: unknown;
|
|
430
429
|
atomic?: unknown;
|
|
430
|
+
semantic?: unknown;
|
|
431
431
|
component?: unknown;
|
|
432
432
|
recipes?: unknown;
|
|
433
433
|
}, {
|
|
434
|
-
semantic?: unknown;
|
|
435
434
|
atomic?: unknown;
|
|
435
|
+
semantic?: unknown;
|
|
436
436
|
component?: unknown;
|
|
437
437
|
recipes?: unknown;
|
|
438
438
|
}>;
|
|
@@ -441,16 +441,16 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
441
441
|
elevation: z.ZodOptional<z.ZodUnknown>;
|
|
442
442
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
id: string;
|
|
444
445
|
name: string;
|
|
446
|
+
brandTone: string;
|
|
447
|
+
schemaVersion: string;
|
|
445
448
|
tokens: {
|
|
446
|
-
semantic?: unknown;
|
|
447
449
|
atomic?: unknown;
|
|
450
|
+
semantic?: unknown;
|
|
448
451
|
component?: unknown;
|
|
449
452
|
recipes?: unknown;
|
|
450
453
|
};
|
|
451
|
-
id: string;
|
|
452
|
-
brandTone: string;
|
|
453
|
-
schemaVersion: string;
|
|
454
454
|
description?: string | undefined;
|
|
455
455
|
designDNA?: {
|
|
456
456
|
moodKeywords: string[];
|
|
@@ -462,16 +462,16 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
462
462
|
elevation?: unknown;
|
|
463
463
|
typography?: unknown;
|
|
464
464
|
}, {
|
|
465
|
+
id: string;
|
|
465
466
|
name: string;
|
|
467
|
+
brandTone: string;
|
|
468
|
+
schemaVersion: string;
|
|
466
469
|
tokens: {
|
|
467
|
-
semantic?: unknown;
|
|
468
470
|
atomic?: unknown;
|
|
471
|
+
semantic?: unknown;
|
|
469
472
|
component?: unknown;
|
|
470
473
|
recipes?: unknown;
|
|
471
474
|
};
|
|
472
|
-
id: string;
|
|
473
|
-
brandTone: string;
|
|
474
|
-
schemaVersion: string;
|
|
475
475
|
description?: string | undefined;
|
|
476
476
|
designDNA?: {
|
|
477
477
|
moodKeywords: string[];
|
|
@@ -488,18 +488,17 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
488
488
|
}, "strip", z.ZodTypeAny, {
|
|
489
489
|
success: boolean;
|
|
490
490
|
error?: string | undefined;
|
|
491
|
-
css?: string | undefined;
|
|
492
491
|
theme?: {
|
|
492
|
+
id: string;
|
|
493
493
|
name: string;
|
|
494
|
+
brandTone: string;
|
|
495
|
+
schemaVersion: string;
|
|
494
496
|
tokens: {
|
|
495
|
-
semantic?: unknown;
|
|
496
497
|
atomic?: unknown;
|
|
498
|
+
semantic?: unknown;
|
|
497
499
|
component?: unknown;
|
|
498
500
|
recipes?: unknown;
|
|
499
501
|
};
|
|
500
|
-
id: string;
|
|
501
|
-
brandTone: string;
|
|
502
|
-
schemaVersion: string;
|
|
503
502
|
description?: string | undefined;
|
|
504
503
|
designDNA?: {
|
|
505
504
|
moodKeywords: string[];
|
|
@@ -511,21 +510,21 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
511
510
|
elevation?: unknown;
|
|
512
511
|
typography?: unknown;
|
|
513
512
|
} | undefined;
|
|
513
|
+
css?: string | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
success: boolean;
|
|
516
516
|
error?: string | undefined;
|
|
517
|
-
css?: string | undefined;
|
|
518
517
|
theme?: {
|
|
518
|
+
id: string;
|
|
519
519
|
name: string;
|
|
520
|
+
brandTone: string;
|
|
521
|
+
schemaVersion: string;
|
|
520
522
|
tokens: {
|
|
521
|
-
semantic?: unknown;
|
|
522
523
|
atomic?: unknown;
|
|
524
|
+
semantic?: unknown;
|
|
523
525
|
component?: unknown;
|
|
524
526
|
recipes?: unknown;
|
|
525
527
|
};
|
|
526
|
-
id: string;
|
|
527
|
-
brandTone: string;
|
|
528
|
-
schemaVersion: string;
|
|
529
528
|
description?: string | undefined;
|
|
530
529
|
designDNA?: {
|
|
531
530
|
moodKeywords: string[];
|
|
@@ -537,6 +536,7 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
537
536
|
elevation?: unknown;
|
|
538
537
|
typography?: unknown;
|
|
539
538
|
} | undefined;
|
|
539
|
+
css?: string | undefined;
|
|
540
540
|
}>;
|
|
541
541
|
export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
|
|
542
542
|
/**
|
|
@@ -553,10 +553,10 @@ export declare const ExportScreenInputSchema: z.ZodObject<{
|
|
|
553
553
|
blueprint: z.ZodUnknown;
|
|
554
554
|
format: z.ZodEnum<["jsx", "tsx", "vue"]>;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
format: "
|
|
556
|
+
format: "jsx" | "tsx" | "vue";
|
|
557
557
|
blueprint?: unknown;
|
|
558
558
|
}, {
|
|
559
|
-
format: "
|
|
559
|
+
format: "jsx" | "tsx" | "vue";
|
|
560
560
|
blueprint?: unknown;
|
|
561
561
|
}>;
|
|
562
562
|
export type ExportScreenInput = z.infer<typeof ExportScreenInputSchema>;
|
|
@@ -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
|
-
error?: string | undefined;
|
|
573
572
|
code?: string | undefined;
|
|
573
|
+
error?: string | undefined;
|
|
574
574
|
}, {
|
|
575
575
|
success: boolean;
|
|
576
|
-
error?: string | undefined;
|
|
577
576
|
code?: string | undefined;
|
|
577
|
+
error?: string | undefined;
|
|
578
578
|
}>;
|
|
579
579
|
/**
|
|
580
580
|
* Export component resolution tier
|
|
@@ -605,20 +605,20 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
605
605
|
themeId: z.ZodOptional<z.ZodString>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
607
|
includeCSS: boolean;
|
|
608
|
-
format: "
|
|
608
|
+
format: "jsx" | "tsx" | "vue";
|
|
609
609
|
tier: "tier1" | "tier2" | "auto";
|
|
610
|
-
componentName?: string | undefined;
|
|
611
610
|
themeId?: string | undefined;
|
|
612
611
|
blueprint?: unknown;
|
|
612
|
+
componentName?: string | undefined;
|
|
613
613
|
componentDescription?: string | undefined;
|
|
614
614
|
}, {
|
|
615
|
-
format: "
|
|
616
|
-
componentName?: string | undefined;
|
|
615
|
+
format: "jsx" | "tsx" | "vue";
|
|
617
616
|
themeId?: string | undefined;
|
|
618
|
-
includeCSS?: boolean | undefined;
|
|
619
617
|
blueprint?: unknown;
|
|
620
|
-
|
|
618
|
+
includeCSS?: boolean | undefined;
|
|
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
|
/**
|
|
@@ -667,25 +667,25 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
667
667
|
error: z.ZodOptional<z.ZodString>;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
669
|
success: boolean;
|
|
670
|
-
error?: string | undefined;
|
|
671
670
|
code?: string | undefined;
|
|
672
|
-
|
|
671
|
+
error?: string | undefined;
|
|
673
672
|
components?: {
|
|
674
673
|
code: string;
|
|
675
674
|
componentName: string;
|
|
676
675
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
677
676
|
}[] | undefined;
|
|
677
|
+
css?: string | undefined;
|
|
678
678
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
679
679
|
}, {
|
|
680
680
|
success: boolean;
|
|
681
|
-
error?: string | undefined;
|
|
682
681
|
code?: string | undefined;
|
|
683
|
-
|
|
682
|
+
error?: string | undefined;
|
|
684
683
|
components?: {
|
|
685
684
|
code: string;
|
|
686
685
|
componentName: string;
|
|
687
686
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
688
687
|
}[] | undefined;
|
|
688
|
+
css?: string | undefined;
|
|
689
689
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
690
690
|
}>;
|
|
691
691
|
export type HybridExportOutput = z.infer<typeof HybridExportOutputSchema>;
|
|
@@ -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
|
-
error: string;
|
|
702
701
|
success: false;
|
|
703
|
-
}, {
|
|
704
702
|
error: string;
|
|
703
|
+
}, {
|
|
705
704
|
success: false;
|
|
705
|
+
error: string;
|
|
706
706
|
}>;
|
|
707
707
|
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
708
708
|
/**
|
|
@@ -718,15 +718,15 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
718
718
|
pnpm: z.ZodString;
|
|
719
719
|
bun: z.ZodString;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
|
|
721
|
+
npm: string;
|
|
722
722
|
yarn: string;
|
|
723
|
+
pnpm: string;
|
|
723
724
|
bun: string;
|
|
724
|
-
npm: string;
|
|
725
725
|
}, {
|
|
726
|
-
|
|
726
|
+
npm: string;
|
|
727
727
|
yarn: string;
|
|
728
|
+
pnpm: string;
|
|
728
729
|
bun: string;
|
|
729
|
-
npm: string;
|
|
730
730
|
}>;
|
|
731
731
|
compatibility: z.ZodOptional<z.ZodObject<{
|
|
732
732
|
react: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
+
pnpm: string;
|
|
748
749
|
bun: string;
|
|
749
|
-
npm: 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
|
+
pnpm: string;
|
|
762
763
|
bun: string;
|
|
763
|
-
npm: 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
|
/**
|
|
@@ -785,15 +785,15 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
785
785
|
pnpm: z.ZodString;
|
|
786
786
|
bun: z.ZodString;
|
|
787
787
|
}, "strip", z.ZodTypeAny, {
|
|
788
|
-
|
|
788
|
+
npm: string;
|
|
789
789
|
yarn: string;
|
|
790
|
+
pnpm: string;
|
|
790
791
|
bun: string;
|
|
791
|
-
npm: string;
|
|
792
792
|
}, {
|
|
793
|
-
|
|
793
|
+
npm: string;
|
|
794
794
|
yarn: string;
|
|
795
|
+
pnpm: string;
|
|
795
796
|
bun: string;
|
|
796
|
-
npm: string;
|
|
797
797
|
}>;
|
|
798
798
|
compatibility: z.ZodOptional<z.ZodObject<{
|
|
799
799
|
react: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
+
pnpm: string;
|
|
815
816
|
bun: string;
|
|
816
|
-
npm: 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
|
+
pnpm: string;
|
|
829
830
|
bun: string;
|
|
830
|
-
npm: 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;
|
|
842
843
|
error?: string | undefined;
|
|
844
|
+
cssVariables?: string | undefined;
|
|
843
845
|
dependencies?: {
|
|
844
|
-
internal: string[];
|
|
845
846
|
external: string[];
|
|
847
|
+
internal: string[];
|
|
846
848
|
installCommands: {
|
|
847
|
-
|
|
849
|
+
npm: string;
|
|
848
850
|
yarn: string;
|
|
851
|
+
pnpm: string;
|
|
849
852
|
bun: string;
|
|
850
|
-
npm: string;
|
|
851
853
|
};
|
|
852
|
-
notes?: string[] | undefined;
|
|
853
854
|
compatibility?: {
|
|
854
855
|
react?: string | undefined;
|
|
855
856
|
node?: string | undefined;
|
|
856
857
|
} | undefined;
|
|
858
|
+
notes?: string[] | undefined;
|
|
857
859
|
} | undefined;
|
|
858
|
-
code?: string | undefined;
|
|
859
860
|
errors?: string[] | undefined;
|
|
860
|
-
cssVariables?: string | undefined;
|
|
861
861
|
}, {
|
|
862
862
|
success: boolean;
|
|
863
|
+
code?: string | undefined;
|
|
863
864
|
error?: string | undefined;
|
|
865
|
+
cssVariables?: string | undefined;
|
|
864
866
|
dependencies?: {
|
|
865
|
-
internal: string[];
|
|
866
867
|
external: string[];
|
|
868
|
+
internal: string[];
|
|
867
869
|
installCommands: {
|
|
868
|
-
|
|
870
|
+
npm: string;
|
|
869
871
|
yarn: string;
|
|
872
|
+
pnpm: string;
|
|
870
873
|
bun: string;
|
|
871
|
-
npm: string;
|
|
872
874
|
};
|
|
873
|
-
notes?: string[] | undefined;
|
|
874
875
|
compatibility?: {
|
|
875
876
|
react?: string | undefined;
|
|
876
877
|
node?: string | undefined;
|
|
877
878
|
} | undefined;
|
|
879
|
+
notes?: string[] | undefined;
|
|
878
880
|
} | undefined;
|
|
879
|
-
code?: string | undefined;
|
|
880
881
|
errors?: string[] | undefined;
|
|
881
|
-
cssVariables?: 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
|
-
error?: string | undefined;
|
|
940
939
|
valid?: boolean | undefined;
|
|
940
|
+
error?: string | 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
|
-
error?: string | undefined;
|
|
951
950
|
valid?: boolean | undefined;
|
|
951
|
+
error?: string | 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: "shell" | "page" | "section" | "all";
|
|
974
974
|
filter?: string | undefined;
|
|
975
975
|
}, {
|
|
976
976
|
filter?: string | undefined;
|
|
977
|
-
tokenType?: "
|
|
977
|
+
tokenType?: "shell" | "page" | "section" | "all" | undefined;
|
|
978
978
|
}>;
|
|
979
979
|
export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
|
|
980
980
|
/**
|
|
@@ -989,16 +989,16 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
989
989
|
type: z.ZodOptional<z.ZodString>;
|
|
990
990
|
}, "strip", z.ZodTypeAny, {
|
|
991
991
|
id: string;
|
|
992
|
-
name?: string | undefined;
|
|
993
|
-
description?: string | undefined;
|
|
994
992
|
type?: string | undefined;
|
|
993
|
+
description?: string | undefined;
|
|
994
|
+
name?: string | undefined;
|
|
995
995
|
platform?: string | undefined;
|
|
996
996
|
purpose?: string | undefined;
|
|
997
997
|
}, {
|
|
998
998
|
id: string;
|
|
999
|
-
name?: string | undefined;
|
|
1000
|
-
description?: string | undefined;
|
|
1001
999
|
type?: string | undefined;
|
|
1000
|
+
description?: string | undefined;
|
|
1001
|
+
name?: string | undefined;
|
|
1002
1002
|
platform?: string | undefined;
|
|
1003
1003
|
purpose?: string | undefined;
|
|
1004
1004
|
}>;
|
|
@@ -1017,16 +1017,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1017
1017
|
type: z.ZodOptional<z.ZodString>;
|
|
1018
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
1019
|
id: string;
|
|
1020
|
-
name?: string | undefined;
|
|
1021
|
-
description?: string | undefined;
|
|
1022
1020
|
type?: string | undefined;
|
|
1021
|
+
description?: string | undefined;
|
|
1022
|
+
name?: string | undefined;
|
|
1023
1023
|
platform?: string | undefined;
|
|
1024
1024
|
purpose?: string | undefined;
|
|
1025
1025
|
}, {
|
|
1026
1026
|
id: string;
|
|
1027
|
-
name?: string | undefined;
|
|
1028
|
-
description?: string | undefined;
|
|
1029
1027
|
type?: string | undefined;
|
|
1028
|
+
description?: string | undefined;
|
|
1029
|
+
name?: string | undefined;
|
|
1030
1030
|
platform?: string | undefined;
|
|
1031
1031
|
purpose?: string | undefined;
|
|
1032
1032
|
}>, "many">>;
|
|
@@ -1039,16 +1039,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1039
1039
|
type: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1041
|
id: string;
|
|
1042
|
-
name?: string | undefined;
|
|
1043
|
-
description?: string | undefined;
|
|
1044
1042
|
type?: string | undefined;
|
|
1043
|
+
description?: string | undefined;
|
|
1044
|
+
name?: string | undefined;
|
|
1045
1045
|
platform?: string | undefined;
|
|
1046
1046
|
purpose?: string | undefined;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
id: string;
|
|
1049
|
-
name?: string | undefined;
|
|
1050
|
-
description?: string | undefined;
|
|
1051
1049
|
type?: string | undefined;
|
|
1050
|
+
description?: string | undefined;
|
|
1051
|
+
name?: string | undefined;
|
|
1052
1052
|
platform?: string | undefined;
|
|
1053
1053
|
purpose?: string | undefined;
|
|
1054
1054
|
}>, "many">>;
|
|
@@ -1061,16 +1061,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1061
1061
|
type: z.ZodOptional<z.ZodString>;
|
|
1062
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1063
1063
|
id: string;
|
|
1064
|
-
name?: string | undefined;
|
|
1065
|
-
description?: string | undefined;
|
|
1066
1064
|
type?: string | undefined;
|
|
1065
|
+
description?: string | undefined;
|
|
1066
|
+
name?: string | undefined;
|
|
1067
1067
|
platform?: string | undefined;
|
|
1068
1068
|
purpose?: string | undefined;
|
|
1069
1069
|
}, {
|
|
1070
1070
|
id: string;
|
|
1071
|
-
name?: string | undefined;
|
|
1072
|
-
description?: string | undefined;
|
|
1073
1071
|
type?: string | undefined;
|
|
1072
|
+
description?: string | undefined;
|
|
1073
|
+
name?: string | undefined;
|
|
1074
1074
|
platform?: string | undefined;
|
|
1075
1075
|
purpose?: string | undefined;
|
|
1076
1076
|
}>, "many">>;
|
|
@@ -1090,25 +1090,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1090
1090
|
error?: string | undefined;
|
|
1091
1091
|
shells?: {
|
|
1092
1092
|
id: string;
|
|
1093
|
-
name?: string | undefined;
|
|
1094
|
-
description?: string | undefined;
|
|
1095
1093
|
type?: string | undefined;
|
|
1094
|
+
description?: string | undefined;
|
|
1095
|
+
name?: string | undefined;
|
|
1096
1096
|
platform?: string | undefined;
|
|
1097
1097
|
purpose?: string | undefined;
|
|
1098
1098
|
}[] | undefined;
|
|
1099
1099
|
pages?: {
|
|
1100
1100
|
id: string;
|
|
1101
|
-
name?: string | undefined;
|
|
1102
|
-
description?: string | undefined;
|
|
1103
1101
|
type?: string | undefined;
|
|
1102
|
+
description?: string | undefined;
|
|
1103
|
+
name?: string | undefined;
|
|
1104
1104
|
platform?: string | undefined;
|
|
1105
1105
|
purpose?: string | undefined;
|
|
1106
1106
|
}[] | undefined;
|
|
1107
1107
|
sections?: {
|
|
1108
1108
|
id: string;
|
|
1109
|
-
name?: string | undefined;
|
|
1110
|
-
description?: string | undefined;
|
|
1111
1109
|
type?: string | undefined;
|
|
1110
|
+
description?: string | undefined;
|
|
1111
|
+
name?: string | undefined;
|
|
1112
1112
|
platform?: string | undefined;
|
|
1113
1113
|
purpose?: string | undefined;
|
|
1114
1114
|
}[] | undefined;
|
|
@@ -1121,25 +1121,25 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1121
1121
|
error?: string | undefined;
|
|
1122
1122
|
shells?: {
|
|
1123
1123
|
id: string;
|
|
1124
|
-
name?: string | undefined;
|
|
1125
|
-
description?: string | undefined;
|
|
1126
1124
|
type?: string | undefined;
|
|
1125
|
+
description?: string | undefined;
|
|
1126
|
+
name?: string | undefined;
|
|
1127
1127
|
platform?: string | undefined;
|
|
1128
1128
|
purpose?: string | undefined;
|
|
1129
1129
|
}[] | undefined;
|
|
1130
1130
|
pages?: {
|
|
1131
1131
|
id: string;
|
|
1132
|
-
name?: string | undefined;
|
|
1133
|
-
description?: string | undefined;
|
|
1134
1132
|
type?: string | undefined;
|
|
1133
|
+
description?: string | undefined;
|
|
1134
|
+
name?: string | undefined;
|
|
1135
1135
|
platform?: string | undefined;
|
|
1136
1136
|
purpose?: string | undefined;
|
|
1137
1137
|
}[] | undefined;
|
|
1138
1138
|
sections?: {
|
|
1139
1139
|
id: string;
|
|
1140
|
-
name?: string | undefined;
|
|
1141
|
-
description?: string | undefined;
|
|
1142
1140
|
type?: string | undefined;
|
|
1141
|
+
description?: string | undefined;
|
|
1142
|
+
name?: string | undefined;
|
|
1143
1143
|
platform?: string | undefined;
|
|
1144
1144
|
purpose?: string | undefined;
|
|
1145
1145
|
}[] | 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
|
-
name: string;
|
|
1176
1175
|
description: string;
|
|
1177
|
-
version: string;
|
|
1178
1176
|
id: string;
|
|
1177
|
+
name: string;
|
|
1178
|
+
version: string;
|
|
1179
1179
|
license: string;
|
|
1180
1180
|
totalIcons: number;
|
|
1181
1181
|
categories: string[];
|
|
1182
1182
|
}, {
|
|
1183
|
-
name: string;
|
|
1184
1183
|
description: string;
|
|
1185
|
-
version: string;
|
|
1186
1184
|
id: string;
|
|
1185
|
+
name: 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
|
-
name: string;
|
|
1207
1206
|
description: string;
|
|
1208
|
-
version: string;
|
|
1209
1207
|
id: string;
|
|
1208
|
+
name: string;
|
|
1209
|
+
version: string;
|
|
1210
1210
|
license: string;
|
|
1211
1211
|
totalIcons: number;
|
|
1212
1212
|
categories: string[];
|
|
1213
1213
|
}, {
|
|
1214
|
-
name: string;
|
|
1215
1214
|
description: string;
|
|
1216
|
-
version: string;
|
|
1217
1215
|
id: string;
|
|
1216
|
+
name: 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
|
-
name: string;
|
|
1229
1229
|
description: string;
|
|
1230
|
-
version: string;
|
|
1231
1230
|
id: string;
|
|
1231
|
+
name: 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
|
-
name: string;
|
|
1242
1242
|
description: string;
|
|
1243
|
-
version: string;
|
|
1244
1243
|
id: string;
|
|
1244
|
+
name: 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
|
-
name: string;
|
|
1401
1400
|
description: string;
|
|
1402
|
-
version: string;
|
|
1403
1401
|
id: string;
|
|
1402
|
+
name: 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
|
-
name: string;
|
|
1433
1432
|
description: string;
|
|
1434
|
-
version: string;
|
|
1435
1433
|
id: string;
|
|
1434
|
+
name: 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
|
-
name: string;
|
|
1470
1469
|
description: string;
|
|
1471
|
-
version: string;
|
|
1472
1470
|
id: string;
|
|
1471
|
+
name: 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
|
-
name: string;
|
|
1506
1505
|
description: string;
|
|
1507
|
-
version: string;
|
|
1508
1506
|
id: string;
|
|
1507
|
+
name: string;
|
|
1508
|
+
version: string;
|
|
1509
1509
|
license: string;
|
|
1510
1510
|
totalIcons: number;
|
|
1511
1511
|
categories: string[];
|
|
@@ -1542,6 +1542,120 @@ export type PreviewIconLibraryOutput = z.infer<typeof PreviewIconLibraryOutputSc
|
|
|
1542
1542
|
*/
|
|
1543
1543
|
export declare const ComponentCategorySchema: z.ZodEnum<["core", "complex", "advanced"]>;
|
|
1544
1544
|
export type ComponentCategory = z.infer<typeof ComponentCategorySchema>;
|
|
1545
|
+
export declare const PlatformTargetSchema: z.ZodEnum<["web", "react-native"]>;
|
|
1546
|
+
export type PlatformTarget = z.infer<typeof PlatformTargetSchema>;
|
|
1547
|
+
export declare const ProjectRuntimeSchema: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1548
|
+
export type ProjectRuntime = z.infer<typeof ProjectRuntimeSchema>;
|
|
1549
|
+
export declare const PackageManagerSchema: z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>;
|
|
1550
|
+
export type PackageManager = z.infer<typeof PackageManagerSchema>;
|
|
1551
|
+
export declare const ProjectEnvironmentSchema: z.ZodObject<{
|
|
1552
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1553
|
+
runtime: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1554
|
+
projectType: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1555
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>>;
|
|
1556
|
+
}, "strip", z.ZodTypeAny, {
|
|
1557
|
+
runtime: "web" | "react-native" | "expo";
|
|
1558
|
+
projectType: "web" | "react-native" | "expo";
|
|
1559
|
+
platform?: "web" | "react-native" | undefined;
|
|
1560
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1561
|
+
}, {
|
|
1562
|
+
runtime: "web" | "react-native" | "expo";
|
|
1563
|
+
projectType: "web" | "react-native" | "expo";
|
|
1564
|
+
platform?: "web" | "react-native" | undefined;
|
|
1565
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1566
|
+
}>;
|
|
1567
|
+
export type ProjectEnvironment = z.infer<typeof ProjectEnvironmentSchema>;
|
|
1568
|
+
export declare const ProjectContextRecommendationSchema: z.ZodObject<{
|
|
1569
|
+
workflow: z.ZodEnum<["web-screen-definition", "react-native-direct-write"]>;
|
|
1570
|
+
reason: z.ZodString;
|
|
1571
|
+
}, "strip", z.ZodTypeAny, {
|
|
1572
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1573
|
+
reason: string;
|
|
1574
|
+
}, {
|
|
1575
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1576
|
+
reason: string;
|
|
1577
|
+
}>;
|
|
1578
|
+
export type ProjectContextRecommendation = z.infer<typeof ProjectContextRecommendationSchema>;
|
|
1579
|
+
export declare const DetectProjectContextInputSchema: z.ZodObject<{
|
|
1580
|
+
projectPath: z.ZodString;
|
|
1581
|
+
setAsDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1582
|
+
}, "strip", z.ZodTypeAny, {
|
|
1583
|
+
projectPath: string;
|
|
1584
|
+
setAsDefault: boolean;
|
|
1585
|
+
}, {
|
|
1586
|
+
projectPath: string;
|
|
1587
|
+
setAsDefault?: boolean | undefined;
|
|
1588
|
+
}>;
|
|
1589
|
+
export type DetectProjectContextInput = z.infer<typeof DetectProjectContextInputSchema>;
|
|
1590
|
+
export declare const DetectProjectContextOutputSchema: z.ZodObject<{
|
|
1591
|
+
success: z.ZodBoolean;
|
|
1592
|
+
projectPath: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
packageJsonPath: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1595
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1596
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1597
|
+
runtime: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1598
|
+
projectType: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1599
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>>;
|
|
1600
|
+
}, "strip", z.ZodTypeAny, {
|
|
1601
|
+
runtime: "web" | "react-native" | "expo";
|
|
1602
|
+
projectType: "web" | "react-native" | "expo";
|
|
1603
|
+
platform?: "web" | "react-native" | undefined;
|
|
1604
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1605
|
+
}, {
|
|
1606
|
+
runtime: "web" | "react-native" | "expo";
|
|
1607
|
+
projectType: "web" | "react-native" | "expo";
|
|
1608
|
+
platform?: "web" | "react-native" | undefined;
|
|
1609
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1610
|
+
}>>;
|
|
1611
|
+
recommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1612
|
+
workflow: z.ZodEnum<["web-screen-definition", "react-native-direct-write"]>;
|
|
1613
|
+
reason: z.ZodString;
|
|
1614
|
+
}, "strip", z.ZodTypeAny, {
|
|
1615
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1616
|
+
reason: string;
|
|
1617
|
+
}, {
|
|
1618
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1619
|
+
reason: string;
|
|
1620
|
+
}>, "many">>;
|
|
1621
|
+
sessionDefaultApplied: z.ZodOptional<z.ZodBoolean>;
|
|
1622
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
}, "strip", z.ZodTypeAny, {
|
|
1624
|
+
success: boolean;
|
|
1625
|
+
error?: string | undefined;
|
|
1626
|
+
platform?: "web" | "react-native" | undefined;
|
|
1627
|
+
projectPath?: string | undefined;
|
|
1628
|
+
packageJsonPath?: string | undefined;
|
|
1629
|
+
environment?: {
|
|
1630
|
+
runtime: "web" | "react-native" | "expo";
|
|
1631
|
+
projectType: "web" | "react-native" | "expo";
|
|
1632
|
+
platform?: "web" | "react-native" | undefined;
|
|
1633
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1634
|
+
} | undefined;
|
|
1635
|
+
recommendations?: {
|
|
1636
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1637
|
+
reason: string;
|
|
1638
|
+
}[] | undefined;
|
|
1639
|
+
sessionDefaultApplied?: boolean | undefined;
|
|
1640
|
+
}, {
|
|
1641
|
+
success: boolean;
|
|
1642
|
+
error?: string | undefined;
|
|
1643
|
+
platform?: "web" | "react-native" | undefined;
|
|
1644
|
+
projectPath?: string | undefined;
|
|
1645
|
+
packageJsonPath?: string | undefined;
|
|
1646
|
+
environment?: {
|
|
1647
|
+
runtime: "web" | "react-native" | "expo";
|
|
1648
|
+
projectType: "web" | "react-native" | "expo";
|
|
1649
|
+
platform?: "web" | "react-native" | undefined;
|
|
1650
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1651
|
+
} | undefined;
|
|
1652
|
+
recommendations?: {
|
|
1653
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1654
|
+
reason: string;
|
|
1655
|
+
}[] | undefined;
|
|
1656
|
+
sessionDefaultApplied?: boolean | undefined;
|
|
1657
|
+
}>;
|
|
1658
|
+
export type DetectProjectContextOutput = z.infer<typeof DetectProjectContextOutputSchema>;
|
|
1545
1659
|
/**
|
|
1546
1660
|
* List Components Input Schema
|
|
1547
1661
|
* SPEC-MCP-003: [TAG-MCP003-006]
|
|
@@ -1549,11 +1663,14 @@ export type ComponentCategory = z.infer<typeof ComponentCategorySchema>;
|
|
|
1549
1663
|
export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
1550
1664
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["core", "complex", "advanced", "all"]>>>;
|
|
1551
1665
|
search: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1552
1667
|
}, "strip", z.ZodTypeAny, {
|
|
1553
1668
|
category: "all" | "core" | "complex" | "advanced";
|
|
1669
|
+
platform?: "web" | "react-native" | undefined;
|
|
1554
1670
|
search?: string | undefined;
|
|
1555
1671
|
}, {
|
|
1556
1672
|
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1673
|
+
platform?: "web" | "react-native" | undefined;
|
|
1557
1674
|
search?: string | undefined;
|
|
1558
1675
|
}>;
|
|
1559
1676
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
@@ -1568,22 +1685,66 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1568
1685
|
variantsCount: z.ZodNumber;
|
|
1569
1686
|
hasSubComponents: z.ZodBoolean;
|
|
1570
1687
|
tier: z.ZodNumber;
|
|
1688
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["web", "react-native"]>, "many">>;
|
|
1689
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
1690
|
+
reactNative: z.ZodOptional<z.ZodObject<{
|
|
1691
|
+
supported: z.ZodBoolean;
|
|
1692
|
+
recommended: z.ZodBoolean;
|
|
1693
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
1694
|
+
}, "strip", z.ZodTypeAny, {
|
|
1695
|
+
status: "full" | "partial" | "avoid";
|
|
1696
|
+
supported: boolean;
|
|
1697
|
+
recommended: boolean;
|
|
1698
|
+
}, {
|
|
1699
|
+
status: "full" | "partial" | "avoid";
|
|
1700
|
+
supported: boolean;
|
|
1701
|
+
recommended: boolean;
|
|
1702
|
+
}>>;
|
|
1703
|
+
}, "strip", z.ZodTypeAny, {
|
|
1704
|
+
reactNative?: {
|
|
1705
|
+
status: "full" | "partial" | "avoid";
|
|
1706
|
+
supported: boolean;
|
|
1707
|
+
recommended: boolean;
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
}, {
|
|
1710
|
+
reactNative?: {
|
|
1711
|
+
status: "full" | "partial" | "avoid";
|
|
1712
|
+
supported: boolean;
|
|
1713
|
+
recommended: boolean;
|
|
1714
|
+
} | undefined;
|
|
1715
|
+
}>>;
|
|
1571
1716
|
}, "strip", z.ZodTypeAny, {
|
|
1572
|
-
category: "core" | "complex" | "advanced";
|
|
1573
|
-
name: string;
|
|
1574
1717
|
description: string;
|
|
1718
|
+
category: "core" | "complex" | "advanced";
|
|
1575
1719
|
id: string;
|
|
1720
|
+
name: string;
|
|
1721
|
+
tier: number;
|
|
1576
1722
|
variantsCount: number;
|
|
1577
1723
|
hasSubComponents: boolean;
|
|
1578
|
-
|
|
1724
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1725
|
+
platformSupport?: {
|
|
1726
|
+
reactNative?: {
|
|
1727
|
+
status: "full" | "partial" | "avoid";
|
|
1728
|
+
supported: boolean;
|
|
1729
|
+
recommended: boolean;
|
|
1730
|
+
} | undefined;
|
|
1731
|
+
} | undefined;
|
|
1579
1732
|
}, {
|
|
1580
|
-
category: "core" | "complex" | "advanced";
|
|
1581
|
-
name: string;
|
|
1582
1733
|
description: string;
|
|
1734
|
+
category: "core" | "complex" | "advanced";
|
|
1583
1735
|
id: string;
|
|
1736
|
+
name: string;
|
|
1737
|
+
tier: number;
|
|
1584
1738
|
variantsCount: number;
|
|
1585
1739
|
hasSubComponents: boolean;
|
|
1586
|
-
|
|
1740
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1741
|
+
platformSupport?: {
|
|
1742
|
+
reactNative?: {
|
|
1743
|
+
status: "full" | "partial" | "avoid";
|
|
1744
|
+
supported: boolean;
|
|
1745
|
+
recommended: boolean;
|
|
1746
|
+
} | undefined;
|
|
1747
|
+
} | undefined;
|
|
1587
1748
|
}>;
|
|
1588
1749
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1589
1750
|
/**
|
|
@@ -1599,22 +1760,66 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1599
1760
|
variantsCount: z.ZodNumber;
|
|
1600
1761
|
hasSubComponents: z.ZodBoolean;
|
|
1601
1762
|
tier: z.ZodNumber;
|
|
1763
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["web", "react-native"]>, "many">>;
|
|
1764
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
1765
|
+
reactNative: z.ZodOptional<z.ZodObject<{
|
|
1766
|
+
supported: z.ZodBoolean;
|
|
1767
|
+
recommended: z.ZodBoolean;
|
|
1768
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
1769
|
+
}, "strip", z.ZodTypeAny, {
|
|
1770
|
+
status: "full" | "partial" | "avoid";
|
|
1771
|
+
supported: boolean;
|
|
1772
|
+
recommended: boolean;
|
|
1773
|
+
}, {
|
|
1774
|
+
status: "full" | "partial" | "avoid";
|
|
1775
|
+
supported: boolean;
|
|
1776
|
+
recommended: boolean;
|
|
1777
|
+
}>>;
|
|
1778
|
+
}, "strip", z.ZodTypeAny, {
|
|
1779
|
+
reactNative?: {
|
|
1780
|
+
status: "full" | "partial" | "avoid";
|
|
1781
|
+
supported: boolean;
|
|
1782
|
+
recommended: boolean;
|
|
1783
|
+
} | undefined;
|
|
1784
|
+
}, {
|
|
1785
|
+
reactNative?: {
|
|
1786
|
+
status: "full" | "partial" | "avoid";
|
|
1787
|
+
supported: boolean;
|
|
1788
|
+
recommended: boolean;
|
|
1789
|
+
} | undefined;
|
|
1790
|
+
}>>;
|
|
1602
1791
|
}, "strip", z.ZodTypeAny, {
|
|
1603
|
-
category: "core" | "complex" | "advanced";
|
|
1604
|
-
name: string;
|
|
1605
1792
|
description: string;
|
|
1793
|
+
category: "core" | "complex" | "advanced";
|
|
1606
1794
|
id: string;
|
|
1795
|
+
name: string;
|
|
1796
|
+
tier: number;
|
|
1607
1797
|
variantsCount: number;
|
|
1608
1798
|
hasSubComponents: boolean;
|
|
1609
|
-
|
|
1799
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1800
|
+
platformSupport?: {
|
|
1801
|
+
reactNative?: {
|
|
1802
|
+
status: "full" | "partial" | "avoid";
|
|
1803
|
+
supported: boolean;
|
|
1804
|
+
recommended: boolean;
|
|
1805
|
+
} | undefined;
|
|
1806
|
+
} | undefined;
|
|
1610
1807
|
}, {
|
|
1611
|
-
category: "core" | "complex" | "advanced";
|
|
1612
|
-
name: string;
|
|
1613
1808
|
description: string;
|
|
1809
|
+
category: "core" | "complex" | "advanced";
|
|
1614
1810
|
id: string;
|
|
1811
|
+
name: string;
|
|
1812
|
+
tier: number;
|
|
1615
1813
|
variantsCount: number;
|
|
1616
1814
|
hasSubComponents: boolean;
|
|
1617
|
-
|
|
1815
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1816
|
+
platformSupport?: {
|
|
1817
|
+
reactNative?: {
|
|
1818
|
+
status: "full" | "partial" | "avoid";
|
|
1819
|
+
supported: boolean;
|
|
1820
|
+
recommended: boolean;
|
|
1821
|
+
} | undefined;
|
|
1822
|
+
} | undefined;
|
|
1618
1823
|
}>, "many">>;
|
|
1619
1824
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1620
1825
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1635,38 +1840,54 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1635
1840
|
success: boolean;
|
|
1636
1841
|
error?: string | undefined;
|
|
1637
1842
|
components?: {
|
|
1638
|
-
category: "core" | "complex" | "advanced";
|
|
1639
|
-
name: string;
|
|
1640
1843
|
description: string;
|
|
1844
|
+
category: "core" | "complex" | "advanced";
|
|
1641
1845
|
id: string;
|
|
1846
|
+
name: string;
|
|
1847
|
+
tier: number;
|
|
1642
1848
|
variantsCount: number;
|
|
1643
1849
|
hasSubComponents: boolean;
|
|
1644
|
-
|
|
1850
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1851
|
+
platformSupport?: {
|
|
1852
|
+
reactNative?: {
|
|
1853
|
+
status: "full" | "partial" | "avoid";
|
|
1854
|
+
supported: boolean;
|
|
1855
|
+
recommended: boolean;
|
|
1856
|
+
} | undefined;
|
|
1857
|
+
} | undefined;
|
|
1645
1858
|
}[] | undefined;
|
|
1859
|
+
count?: number | undefined;
|
|
1646
1860
|
categories?: {
|
|
1647
1861
|
core: number;
|
|
1648
1862
|
complex: number;
|
|
1649
1863
|
advanced: number;
|
|
1650
1864
|
} | undefined;
|
|
1651
|
-
count?: number | undefined;
|
|
1652
1865
|
}, {
|
|
1653
1866
|
success: boolean;
|
|
1654
1867
|
error?: string | undefined;
|
|
1655
1868
|
components?: {
|
|
1656
|
-
category: "core" | "complex" | "advanced";
|
|
1657
|
-
name: string;
|
|
1658
1869
|
description: string;
|
|
1870
|
+
category: "core" | "complex" | "advanced";
|
|
1659
1871
|
id: string;
|
|
1872
|
+
name: string;
|
|
1873
|
+
tier: number;
|
|
1660
1874
|
variantsCount: number;
|
|
1661
1875
|
hasSubComponents: boolean;
|
|
1662
|
-
|
|
1876
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1877
|
+
platformSupport?: {
|
|
1878
|
+
reactNative?: {
|
|
1879
|
+
status: "full" | "partial" | "avoid";
|
|
1880
|
+
supported: boolean;
|
|
1881
|
+
recommended: boolean;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
} | undefined;
|
|
1663
1884
|
}[] | undefined;
|
|
1885
|
+
count?: number | undefined;
|
|
1664
1886
|
categories?: {
|
|
1665
1887
|
core: number;
|
|
1666
1888
|
complex: number;
|
|
1667
1889
|
advanced: number;
|
|
1668
1890
|
} | undefined;
|
|
1669
|
-
count?: number | undefined;
|
|
1670
1891
|
}>;
|
|
1671
1892
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1672
1893
|
/**
|
|
@@ -1677,12 +1898,15 @@ export declare const PreviewComponentInputSchema: z.ZodObject<{
|
|
|
1677
1898
|
componentId: z.ZodString;
|
|
1678
1899
|
includeExamples: z.ZodOptional<z.ZodBoolean>;
|
|
1679
1900
|
includeDependencies: z.ZodOptional<z.ZodBoolean>;
|
|
1901
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1680
1902
|
}, "strip", z.ZodTypeAny, {
|
|
1681
1903
|
componentId: string;
|
|
1904
|
+
platform?: "web" | "react-native" | undefined;
|
|
1682
1905
|
includeExamples?: boolean | undefined;
|
|
1683
1906
|
includeDependencies?: boolean | undefined;
|
|
1684
1907
|
}, {
|
|
1685
1908
|
componentId: string;
|
|
1909
|
+
platform?: "web" | "react-native" | undefined;
|
|
1686
1910
|
includeExamples?: boolean | undefined;
|
|
1687
1911
|
includeDependencies?: boolean | undefined;
|
|
1688
1912
|
}>;
|
|
@@ -1697,14 +1921,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1697
1921
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1698
1922
|
description: z.ZodOptional<z.ZodString>;
|
|
1699
1923
|
}, "strip", z.ZodTypeAny, {
|
|
1700
|
-
name: string;
|
|
1701
1924
|
type: string;
|
|
1925
|
+
name: string;
|
|
1702
1926
|
required: boolean;
|
|
1703
1927
|
description?: string | undefined;
|
|
1704
1928
|
defaultValue?: string | undefined;
|
|
1705
1929
|
}, {
|
|
1706
|
-
name: string;
|
|
1707
1930
|
type: string;
|
|
1931
|
+
name: string;
|
|
1708
1932
|
required: boolean;
|
|
1709
1933
|
description?: string | undefined;
|
|
1710
1934
|
defaultValue?: string | undefined;
|
|
@@ -1718,12 +1942,12 @@ export declare const VariantSchema: z.ZodObject<{
|
|
|
1718
1942
|
value: z.ZodString;
|
|
1719
1943
|
description: z.ZodOptional<z.ZodString>;
|
|
1720
1944
|
}, "strip", z.ZodTypeAny, {
|
|
1721
|
-
name: string;
|
|
1722
1945
|
value: string;
|
|
1946
|
+
name: string;
|
|
1723
1947
|
description?: string | undefined;
|
|
1724
1948
|
}, {
|
|
1725
|
-
name: string;
|
|
1726
1949
|
value: string;
|
|
1950
|
+
name: string;
|
|
1727
1951
|
description?: string | undefined;
|
|
1728
1952
|
}>;
|
|
1729
1953
|
export type Variant = z.infer<typeof VariantSchema>;
|
|
@@ -1762,14 +1986,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1762
1986
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1763
1987
|
description: z.ZodOptional<z.ZodString>;
|
|
1764
1988
|
}, "strip", z.ZodTypeAny, {
|
|
1765
|
-
name: string;
|
|
1766
1989
|
type: string;
|
|
1990
|
+
name: string;
|
|
1767
1991
|
required: boolean;
|
|
1768
1992
|
description?: string | undefined;
|
|
1769
1993
|
defaultValue?: string | undefined;
|
|
1770
1994
|
}, {
|
|
1771
|
-
name: string;
|
|
1772
1995
|
type: string;
|
|
1996
|
+
name: string;
|
|
1773
1997
|
required: boolean;
|
|
1774
1998
|
description?: string | undefined;
|
|
1775
1999
|
defaultValue?: string | undefined;
|
|
@@ -1779,12 +2003,12 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1779
2003
|
value: z.ZodString;
|
|
1780
2004
|
description: z.ZodOptional<z.ZodString>;
|
|
1781
2005
|
}, "strip", z.ZodTypeAny, {
|
|
1782
|
-
name: string;
|
|
1783
2006
|
value: string;
|
|
2007
|
+
name: string;
|
|
1784
2008
|
description?: string | undefined;
|
|
1785
2009
|
}, {
|
|
1786
|
-
name: string;
|
|
1787
2010
|
value: string;
|
|
2011
|
+
name: string;
|
|
1788
2012
|
description?: string | undefined;
|
|
1789
2013
|
}>, "many">>;
|
|
1790
2014
|
subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1793,11 +2017,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1793
2017
|
internal: z.ZodArray<z.ZodString, "many">;
|
|
1794
2018
|
external: z.ZodArray<z.ZodString, "many">;
|
|
1795
2019
|
}, "strip", z.ZodTypeAny, {
|
|
1796
|
-
internal: string[];
|
|
1797
2020
|
external: string[];
|
|
1798
|
-
}, {
|
|
1799
2021
|
internal: string[];
|
|
2022
|
+
}, {
|
|
1800
2023
|
external: string[];
|
|
2024
|
+
internal: string[];
|
|
1801
2025
|
}>>;
|
|
1802
2026
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1803
2027
|
title: z.ZodString;
|
|
@@ -1813,135 +2037,196 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1813
2037
|
description?: string | undefined;
|
|
1814
2038
|
}>, "many">>;
|
|
1815
2039
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
2040
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
2041
|
+
target: z.ZodEnum<["web", "react-native"]>;
|
|
2042
|
+
supported: z.ZodBoolean;
|
|
2043
|
+
recommended: z.ZodBoolean;
|
|
2044
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
2045
|
+
notes: z.ZodArray<z.ZodString, "many">;
|
|
2046
|
+
recommendedImports: z.ZodArray<z.ZodString, "many">;
|
|
2047
|
+
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
2048
|
+
}, "strip", z.ZodTypeAny, {
|
|
2049
|
+
status: "full" | "partial" | "avoid";
|
|
2050
|
+
notes: string[];
|
|
2051
|
+
supported: boolean;
|
|
2052
|
+
recommended: boolean;
|
|
2053
|
+
target: "web" | "react-native";
|
|
2054
|
+
recommendedImports: string[];
|
|
2055
|
+
recommendedPackages: string[];
|
|
2056
|
+
}, {
|
|
2057
|
+
status: "full" | "partial" | "avoid";
|
|
2058
|
+
notes: string[];
|
|
2059
|
+
supported: boolean;
|
|
2060
|
+
recommended: boolean;
|
|
2061
|
+
target: "web" | "react-native";
|
|
2062
|
+
recommendedImports: string[];
|
|
2063
|
+
recommendedPackages: string[];
|
|
2064
|
+
}>>;
|
|
1816
2065
|
}, "strip", z.ZodTypeAny, {
|
|
1817
|
-
category: "core" | "complex" | "advanced";
|
|
1818
|
-
name: string;
|
|
1819
2066
|
description: string;
|
|
2067
|
+
category: "core" | "complex" | "advanced";
|
|
1820
2068
|
id: string;
|
|
1821
|
-
|
|
2069
|
+
name: string;
|
|
1822
2070
|
tier: number;
|
|
2071
|
+
importStatement: string;
|
|
1823
2072
|
props: {
|
|
1824
|
-
name: string;
|
|
1825
2073
|
type: string;
|
|
2074
|
+
name: string;
|
|
1826
2075
|
required: boolean;
|
|
1827
2076
|
description?: string | undefined;
|
|
1828
2077
|
defaultValue?: string | undefined;
|
|
1829
2078
|
}[];
|
|
1830
2079
|
dependencies?: {
|
|
1831
|
-
internal: string[];
|
|
1832
2080
|
external: string[];
|
|
2081
|
+
internal: string[];
|
|
1833
2082
|
} | undefined;
|
|
1834
|
-
accessibility?: string | undefined;
|
|
1835
2083
|
variants?: {
|
|
1836
|
-
name: string;
|
|
1837
2084
|
value: string;
|
|
2085
|
+
name: string;
|
|
1838
2086
|
description?: string | undefined;
|
|
1839
2087
|
}[] | undefined;
|
|
2088
|
+
platformSupport?: {
|
|
2089
|
+
status: "full" | "partial" | "avoid";
|
|
2090
|
+
notes: string[];
|
|
2091
|
+
supported: boolean;
|
|
2092
|
+
recommended: boolean;
|
|
2093
|
+
target: "web" | "react-native";
|
|
2094
|
+
recommendedImports: string[];
|
|
2095
|
+
recommendedPackages: string[];
|
|
2096
|
+
} | undefined;
|
|
1840
2097
|
subComponents?: string[] | undefined;
|
|
1841
2098
|
examples?: {
|
|
1842
2099
|
code: string;
|
|
1843
2100
|
title: string;
|
|
1844
2101
|
description?: string | undefined;
|
|
1845
2102
|
}[] | undefined;
|
|
2103
|
+
accessibility?: string | undefined;
|
|
1846
2104
|
}, {
|
|
1847
|
-
category: "core" | "complex" | "advanced";
|
|
1848
|
-
name: string;
|
|
1849
2105
|
description: string;
|
|
2106
|
+
category: "core" | "complex" | "advanced";
|
|
1850
2107
|
id: string;
|
|
1851
|
-
|
|
2108
|
+
name: string;
|
|
1852
2109
|
tier: number;
|
|
2110
|
+
importStatement: string;
|
|
1853
2111
|
props: {
|
|
1854
|
-
name: string;
|
|
1855
2112
|
type: string;
|
|
2113
|
+
name: string;
|
|
1856
2114
|
required: boolean;
|
|
1857
2115
|
description?: string | undefined;
|
|
1858
2116
|
defaultValue?: string | undefined;
|
|
1859
2117
|
}[];
|
|
1860
2118
|
dependencies?: {
|
|
1861
|
-
internal: string[];
|
|
1862
2119
|
external: string[];
|
|
2120
|
+
internal: string[];
|
|
1863
2121
|
} | undefined;
|
|
1864
|
-
accessibility?: string | undefined;
|
|
1865
2122
|
variants?: {
|
|
1866
|
-
name: string;
|
|
1867
2123
|
value: string;
|
|
2124
|
+
name: string;
|
|
1868
2125
|
description?: string | undefined;
|
|
1869
2126
|
}[] | undefined;
|
|
2127
|
+
platformSupport?: {
|
|
2128
|
+
status: "full" | "partial" | "avoid";
|
|
2129
|
+
notes: string[];
|
|
2130
|
+
supported: boolean;
|
|
2131
|
+
recommended: boolean;
|
|
2132
|
+
target: "web" | "react-native";
|
|
2133
|
+
recommendedImports: string[];
|
|
2134
|
+
recommendedPackages: string[];
|
|
2135
|
+
} | undefined;
|
|
1870
2136
|
subComponents?: string[] | undefined;
|
|
1871
2137
|
examples?: {
|
|
1872
2138
|
code: string;
|
|
1873
2139
|
title: string;
|
|
1874
2140
|
description?: string | undefined;
|
|
1875
2141
|
}[] | undefined;
|
|
2142
|
+
accessibility?: string | undefined;
|
|
1876
2143
|
}>>;
|
|
1877
2144
|
error: z.ZodOptional<z.ZodString>;
|
|
1878
2145
|
}, "strip", z.ZodTypeAny, {
|
|
1879
2146
|
success: boolean;
|
|
1880
2147
|
error?: string | undefined;
|
|
1881
2148
|
component?: {
|
|
1882
|
-
category: "core" | "complex" | "advanced";
|
|
1883
|
-
name: string;
|
|
1884
2149
|
description: string;
|
|
2150
|
+
category: "core" | "complex" | "advanced";
|
|
1885
2151
|
id: string;
|
|
1886
|
-
|
|
2152
|
+
name: string;
|
|
1887
2153
|
tier: number;
|
|
2154
|
+
importStatement: string;
|
|
1888
2155
|
props: {
|
|
1889
|
-
name: string;
|
|
1890
2156
|
type: string;
|
|
2157
|
+
name: string;
|
|
1891
2158
|
required: boolean;
|
|
1892
2159
|
description?: string | undefined;
|
|
1893
2160
|
defaultValue?: string | undefined;
|
|
1894
2161
|
}[];
|
|
1895
2162
|
dependencies?: {
|
|
1896
|
-
internal: string[];
|
|
1897
2163
|
external: string[];
|
|
2164
|
+
internal: string[];
|
|
1898
2165
|
} | undefined;
|
|
1899
|
-
accessibility?: string | undefined;
|
|
1900
2166
|
variants?: {
|
|
1901
|
-
name: string;
|
|
1902
2167
|
value: string;
|
|
2168
|
+
name: string;
|
|
1903
2169
|
description?: string | undefined;
|
|
1904
2170
|
}[] | undefined;
|
|
2171
|
+
platformSupport?: {
|
|
2172
|
+
status: "full" | "partial" | "avoid";
|
|
2173
|
+
notes: string[];
|
|
2174
|
+
supported: boolean;
|
|
2175
|
+
recommended: boolean;
|
|
2176
|
+
target: "web" | "react-native";
|
|
2177
|
+
recommendedImports: string[];
|
|
2178
|
+
recommendedPackages: string[];
|
|
2179
|
+
} | undefined;
|
|
1905
2180
|
subComponents?: string[] | undefined;
|
|
1906
2181
|
examples?: {
|
|
1907
2182
|
code: string;
|
|
1908
2183
|
title: string;
|
|
1909
2184
|
description?: string | undefined;
|
|
1910
2185
|
}[] | undefined;
|
|
2186
|
+
accessibility?: string | undefined;
|
|
1911
2187
|
} | undefined;
|
|
1912
2188
|
}, {
|
|
1913
2189
|
success: boolean;
|
|
1914
2190
|
error?: string | undefined;
|
|
1915
2191
|
component?: {
|
|
1916
|
-
category: "core" | "complex" | "advanced";
|
|
1917
|
-
name: string;
|
|
1918
2192
|
description: string;
|
|
2193
|
+
category: "core" | "complex" | "advanced";
|
|
1919
2194
|
id: string;
|
|
1920
|
-
|
|
2195
|
+
name: string;
|
|
1921
2196
|
tier: number;
|
|
2197
|
+
importStatement: string;
|
|
1922
2198
|
props: {
|
|
1923
|
-
name: string;
|
|
1924
2199
|
type: string;
|
|
2200
|
+
name: string;
|
|
1925
2201
|
required: boolean;
|
|
1926
2202
|
description?: string | undefined;
|
|
1927
2203
|
defaultValue?: string | undefined;
|
|
1928
2204
|
}[];
|
|
1929
2205
|
dependencies?: {
|
|
1930
|
-
internal: string[];
|
|
1931
2206
|
external: string[];
|
|
2207
|
+
internal: string[];
|
|
1932
2208
|
} | undefined;
|
|
1933
|
-
accessibility?: string | undefined;
|
|
1934
2209
|
variants?: {
|
|
1935
|
-
name: string;
|
|
1936
2210
|
value: string;
|
|
2211
|
+
name: string;
|
|
1937
2212
|
description?: string | undefined;
|
|
1938
2213
|
}[] | undefined;
|
|
2214
|
+
platformSupport?: {
|
|
2215
|
+
status: "full" | "partial" | "avoid";
|
|
2216
|
+
notes: string[];
|
|
2217
|
+
supported: boolean;
|
|
2218
|
+
recommended: boolean;
|
|
2219
|
+
target: "web" | "react-native";
|
|
2220
|
+
recommendedImports: string[];
|
|
2221
|
+
recommendedPackages: string[];
|
|
2222
|
+
} | undefined;
|
|
1939
2223
|
subComponents?: string[] | undefined;
|
|
1940
2224
|
examples?: {
|
|
1941
2225
|
code: string;
|
|
1942
2226
|
title: string;
|
|
1943
2227
|
description?: string | undefined;
|
|
1944
2228
|
}[] | undefined;
|
|
2229
|
+
accessibility?: string | undefined;
|
|
1945
2230
|
} | undefined;
|
|
1946
2231
|
}>;
|
|
1947
2232
|
export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
|
|
@@ -1958,10 +2243,10 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
1958
2243
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
1959
2244
|
search: z.ZodOptional<z.ZodString>;
|
|
1960
2245
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
category: "
|
|
2246
|
+
category: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback";
|
|
1962
2247
|
search?: string | undefined;
|
|
1963
2248
|
}, {
|
|
1964
|
-
category?: "
|
|
2249
|
+
category?: "dashboard" | "all" | "auth" | "form" | "marketing" | "feedback" | undefined;
|
|
1965
2250
|
search?: string | undefined;
|
|
1966
2251
|
}>;
|
|
1967
2252
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
@@ -1983,22 +2268,22 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1983
2268
|
version: z.ZodString;
|
|
1984
2269
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1985
2270
|
}, "strip", z.ZodTypeAny, {
|
|
2271
|
+
description: string;
|
|
1986
2272
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2273
|
+
id: string;
|
|
1987
2274
|
name: string;
|
|
1988
|
-
description: string;
|
|
1989
2275
|
version: string;
|
|
1990
|
-
id: string;
|
|
1991
2276
|
requiredComponentsCount: number;
|
|
1992
|
-
layoutType: "
|
|
2277
|
+
layoutType: "full" | "centered" | "sidebar";
|
|
1993
2278
|
tags?: string[] | undefined;
|
|
1994
2279
|
}, {
|
|
2280
|
+
description: string;
|
|
1995
2281
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2282
|
+
id: string;
|
|
1996
2283
|
name: string;
|
|
1997
|
-
description: string;
|
|
1998
2284
|
version: string;
|
|
1999
|
-
id: string;
|
|
2000
2285
|
requiredComponentsCount: number;
|
|
2001
|
-
layoutType: "
|
|
2286
|
+
layoutType: "full" | "centered" | "sidebar";
|
|
2002
2287
|
tags?: string[] | undefined;
|
|
2003
2288
|
}>;
|
|
2004
2289
|
export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
|
|
@@ -2017,22 +2302,22 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2017
2302
|
version: z.ZodString;
|
|
2018
2303
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2019
2304
|
}, "strip", z.ZodTypeAny, {
|
|
2305
|
+
description: string;
|
|
2020
2306
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2307
|
+
id: string;
|
|
2021
2308
|
name: string;
|
|
2022
|
-
description: string;
|
|
2023
2309
|
version: string;
|
|
2024
|
-
id: string;
|
|
2025
2310
|
requiredComponentsCount: number;
|
|
2026
|
-
layoutType: "
|
|
2311
|
+
layoutType: "full" | "centered" | "sidebar";
|
|
2027
2312
|
tags?: string[] | undefined;
|
|
2028
2313
|
}, {
|
|
2314
|
+
description: string;
|
|
2029
2315
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2316
|
+
id: string;
|
|
2030
2317
|
name: string;
|
|
2031
|
-
description: string;
|
|
2032
2318
|
version: string;
|
|
2033
|
-
id: string;
|
|
2034
2319
|
requiredComponentsCount: number;
|
|
2035
|
-
layoutType: "
|
|
2320
|
+
layoutType: "full" | "centered" | "sidebar";
|
|
2036
2321
|
tags?: string[] | undefined;
|
|
2037
2322
|
}>, "many">>;
|
|
2038
2323
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2059,6 +2344,7 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2059
2344
|
}, "strip", z.ZodTypeAny, {
|
|
2060
2345
|
success: boolean;
|
|
2061
2346
|
error?: string | undefined;
|
|
2347
|
+
count?: number | undefined;
|
|
2062
2348
|
categories?: {
|
|
2063
2349
|
dashboard: number;
|
|
2064
2350
|
auth: number;
|
|
@@ -2066,20 +2352,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2066
2352
|
marketing: number;
|
|
2067
2353
|
feedback: number;
|
|
2068
2354
|
} | undefined;
|
|
2069
|
-
count?: number | undefined;
|
|
2070
2355
|
templates?: {
|
|
2356
|
+
description: string;
|
|
2071
2357
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2358
|
+
id: string;
|
|
2072
2359
|
name: string;
|
|
2073
|
-
description: string;
|
|
2074
2360
|
version: string;
|
|
2075
|
-
id: string;
|
|
2076
2361
|
requiredComponentsCount: number;
|
|
2077
|
-
layoutType: "
|
|
2362
|
+
layoutType: "full" | "centered" | "sidebar";
|
|
2078
2363
|
tags?: string[] | undefined;
|
|
2079
2364
|
}[] | undefined;
|
|
2080
2365
|
}, {
|
|
2081
2366
|
success: boolean;
|
|
2082
2367
|
error?: string | undefined;
|
|
2368
|
+
count?: number | undefined;
|
|
2083
2369
|
categories?: {
|
|
2084
2370
|
dashboard: number;
|
|
2085
2371
|
auth: number;
|
|
@@ -2087,15 +2373,14 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2087
2373
|
marketing: number;
|
|
2088
2374
|
feedback: number;
|
|
2089
2375
|
} | undefined;
|
|
2090
|
-
count?: number | undefined;
|
|
2091
2376
|
templates?: {
|
|
2377
|
+
description: string;
|
|
2092
2378
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2379
|
+
id: string;
|
|
2093
2380
|
name: string;
|
|
2094
|
-
description: string;
|
|
2095
2381
|
version: string;
|
|
2096
|
-
id: string;
|
|
2097
2382
|
requiredComponentsCount: number;
|
|
2098
|
-
layoutType: "
|
|
2383
|
+
layoutType: "full" | "centered" | "sidebar";
|
|
2099
2384
|
tags?: string[] | undefined;
|
|
2100
2385
|
}[] | undefined;
|
|
2101
2386
|
}>;
|
|
@@ -2127,32 +2412,32 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2127
2412
|
slot: z.ZodString;
|
|
2128
2413
|
required: z.ZodBoolean;
|
|
2129
2414
|
}, "strip", z.ZodTypeAny, {
|
|
2415
|
+
id: string;
|
|
2130
2416
|
name: string;
|
|
2131
2417
|
required: boolean;
|
|
2132
|
-
id: string;
|
|
2133
2418
|
slot: string;
|
|
2134
2419
|
}, {
|
|
2420
|
+
id: string;
|
|
2135
2421
|
name: string;
|
|
2136
2422
|
required: boolean;
|
|
2137
|
-
id: string;
|
|
2138
2423
|
slot: string;
|
|
2139
2424
|
}>, "many">;
|
|
2140
2425
|
}, "strip", z.ZodTypeAny, {
|
|
2141
2426
|
shell: string;
|
|
2142
2427
|
page: string;
|
|
2143
2428
|
sections: {
|
|
2429
|
+
id: string;
|
|
2144
2430
|
name: string;
|
|
2145
2431
|
required: boolean;
|
|
2146
|
-
id: string;
|
|
2147
2432
|
slot: string;
|
|
2148
2433
|
}[];
|
|
2149
2434
|
}, {
|
|
2150
2435
|
shell: string;
|
|
2151
2436
|
page: string;
|
|
2152
2437
|
sections: {
|
|
2438
|
+
id: string;
|
|
2153
2439
|
name: string;
|
|
2154
2440
|
required: boolean;
|
|
2155
|
-
id: string;
|
|
2156
2441
|
slot: string;
|
|
2157
2442
|
}[];
|
|
2158
2443
|
}>;
|
|
@@ -2165,12 +2450,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2165
2450
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2166
2451
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2167
2452
|
}, "strip", z.ZodTypeAny, {
|
|
2168
|
-
optional: string[];
|
|
2169
2453
|
texts: string[];
|
|
2454
|
+
optional: string[];
|
|
2170
2455
|
slots: string[];
|
|
2171
2456
|
}, {
|
|
2172
|
-
optional: string[];
|
|
2173
2457
|
texts: string[];
|
|
2458
|
+
optional: string[];
|
|
2174
2459
|
slots: string[];
|
|
2175
2460
|
}>;
|
|
2176
2461
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2183,71 +2468,71 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2183
2468
|
gap: z.ZodString;
|
|
2184
2469
|
columns: z.ZodNumber;
|
|
2185
2470
|
}, "strip", z.ZodTypeAny, {
|
|
2186
|
-
columns: number;
|
|
2187
2471
|
padding: string;
|
|
2188
2472
|
gap: string;
|
|
2189
|
-
}, {
|
|
2190
2473
|
columns: number;
|
|
2474
|
+
}, {
|
|
2191
2475
|
padding: string;
|
|
2192
2476
|
gap: string;
|
|
2477
|
+
columns: number;
|
|
2193
2478
|
}>;
|
|
2194
2479
|
tablet: z.ZodObject<{
|
|
2195
2480
|
padding: z.ZodString;
|
|
2196
2481
|
gap: z.ZodString;
|
|
2197
2482
|
columns: z.ZodNumber;
|
|
2198
2483
|
}, "strip", z.ZodTypeAny, {
|
|
2199
|
-
columns: number;
|
|
2200
2484
|
padding: string;
|
|
2201
2485
|
gap: string;
|
|
2202
|
-
}, {
|
|
2203
2486
|
columns: number;
|
|
2487
|
+
}, {
|
|
2204
2488
|
padding: string;
|
|
2205
2489
|
gap: string;
|
|
2490
|
+
columns: number;
|
|
2206
2491
|
}>;
|
|
2207
2492
|
desktop: z.ZodObject<{
|
|
2208
2493
|
padding: z.ZodString;
|
|
2209
2494
|
gap: z.ZodString;
|
|
2210
2495
|
columns: z.ZodNumber;
|
|
2211
2496
|
}, "strip", z.ZodTypeAny, {
|
|
2212
|
-
columns: number;
|
|
2213
2497
|
padding: string;
|
|
2214
2498
|
gap: string;
|
|
2215
|
-
}, {
|
|
2216
2499
|
columns: number;
|
|
2500
|
+
}, {
|
|
2217
2501
|
padding: string;
|
|
2218
2502
|
gap: string;
|
|
2503
|
+
columns: number;
|
|
2219
2504
|
}>;
|
|
2220
2505
|
}, "strip", z.ZodTypeAny, {
|
|
2221
2506
|
mobile: {
|
|
2222
|
-
columns: number;
|
|
2223
2507
|
padding: string;
|
|
2224
2508
|
gap: string;
|
|
2509
|
+
columns: number;
|
|
2225
2510
|
};
|
|
2226
2511
|
tablet: {
|
|
2227
|
-
columns: number;
|
|
2228
2512
|
padding: string;
|
|
2229
2513
|
gap: string;
|
|
2514
|
+
columns: number;
|
|
2230
2515
|
};
|
|
2231
2516
|
desktop: {
|
|
2232
|
-
columns: number;
|
|
2233
2517
|
padding: string;
|
|
2234
2518
|
gap: string;
|
|
2519
|
+
columns: number;
|
|
2235
2520
|
};
|
|
2236
2521
|
}, {
|
|
2237
2522
|
mobile: {
|
|
2238
|
-
columns: number;
|
|
2239
2523
|
padding: string;
|
|
2240
2524
|
gap: string;
|
|
2525
|
+
columns: number;
|
|
2241
2526
|
};
|
|
2242
2527
|
tablet: {
|
|
2243
|
-
columns: number;
|
|
2244
2528
|
padding: string;
|
|
2245
2529
|
gap: string;
|
|
2530
|
+
columns: number;
|
|
2246
2531
|
};
|
|
2247
2532
|
desktop: {
|
|
2248
|
-
columns: number;
|
|
2249
2533
|
padding: string;
|
|
2250
2534
|
gap: string;
|
|
2535
|
+
columns: number;
|
|
2251
2536
|
};
|
|
2252
2537
|
}>;
|
|
2253
2538
|
export type ResponsiveLayout = z.infer<typeof ResponsiveLayoutSchema>;
|
|
@@ -2271,32 +2556,32 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2271
2556
|
slot: z.ZodString;
|
|
2272
2557
|
required: z.ZodBoolean;
|
|
2273
2558
|
}, "strip", z.ZodTypeAny, {
|
|
2559
|
+
id: string;
|
|
2274
2560
|
name: string;
|
|
2275
2561
|
required: boolean;
|
|
2276
|
-
id: string;
|
|
2277
2562
|
slot: string;
|
|
2278
2563
|
}, {
|
|
2564
|
+
id: string;
|
|
2279
2565
|
name: string;
|
|
2280
2566
|
required: boolean;
|
|
2281
|
-
id: string;
|
|
2282
2567
|
slot: string;
|
|
2283
2568
|
}>, "many">;
|
|
2284
2569
|
}, "strip", z.ZodTypeAny, {
|
|
2285
2570
|
shell: string;
|
|
2286
2571
|
page: string;
|
|
2287
2572
|
sections: {
|
|
2573
|
+
id: string;
|
|
2288
2574
|
name: string;
|
|
2289
2575
|
required: boolean;
|
|
2290
|
-
id: string;
|
|
2291
2576
|
slot: string;
|
|
2292
2577
|
}[];
|
|
2293
2578
|
}, {
|
|
2294
2579
|
shell: string;
|
|
2295
2580
|
page: string;
|
|
2296
2581
|
sections: {
|
|
2582
|
+
id: string;
|
|
2297
2583
|
name: string;
|
|
2298
2584
|
required: boolean;
|
|
2299
|
-
id: string;
|
|
2300
2585
|
slot: string;
|
|
2301
2586
|
}[];
|
|
2302
2587
|
}>;
|
|
@@ -2308,109 +2593,109 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2308
2593
|
gap: z.ZodString;
|
|
2309
2594
|
columns: z.ZodNumber;
|
|
2310
2595
|
}, "strip", z.ZodTypeAny, {
|
|
2311
|
-
columns: number;
|
|
2312
2596
|
padding: string;
|
|
2313
2597
|
gap: string;
|
|
2314
|
-
}, {
|
|
2315
2598
|
columns: number;
|
|
2599
|
+
}, {
|
|
2316
2600
|
padding: string;
|
|
2317
2601
|
gap: string;
|
|
2602
|
+
columns: number;
|
|
2318
2603
|
}>;
|
|
2319
2604
|
tablet: z.ZodObject<{
|
|
2320
2605
|
padding: z.ZodString;
|
|
2321
2606
|
gap: z.ZodString;
|
|
2322
2607
|
columns: z.ZodNumber;
|
|
2323
2608
|
}, "strip", z.ZodTypeAny, {
|
|
2324
|
-
columns: number;
|
|
2325
2609
|
padding: string;
|
|
2326
2610
|
gap: string;
|
|
2327
|
-
}, {
|
|
2328
2611
|
columns: number;
|
|
2612
|
+
}, {
|
|
2329
2613
|
padding: string;
|
|
2330
2614
|
gap: string;
|
|
2615
|
+
columns: number;
|
|
2331
2616
|
}>;
|
|
2332
2617
|
desktop: z.ZodObject<{
|
|
2333
2618
|
padding: z.ZodString;
|
|
2334
2619
|
gap: z.ZodString;
|
|
2335
2620
|
columns: z.ZodNumber;
|
|
2336
2621
|
}, "strip", z.ZodTypeAny, {
|
|
2337
|
-
columns: number;
|
|
2338
2622
|
padding: string;
|
|
2339
2623
|
gap: string;
|
|
2340
|
-
}, {
|
|
2341
2624
|
columns: number;
|
|
2625
|
+
}, {
|
|
2342
2626
|
padding: string;
|
|
2343
2627
|
gap: string;
|
|
2628
|
+
columns: number;
|
|
2344
2629
|
}>;
|
|
2345
2630
|
}, "strip", z.ZodTypeAny, {
|
|
2346
2631
|
mobile: {
|
|
2347
|
-
columns: number;
|
|
2348
2632
|
padding: string;
|
|
2349
2633
|
gap: string;
|
|
2634
|
+
columns: number;
|
|
2350
2635
|
};
|
|
2351
2636
|
tablet: {
|
|
2352
|
-
columns: number;
|
|
2353
2637
|
padding: string;
|
|
2354
2638
|
gap: string;
|
|
2639
|
+
columns: number;
|
|
2355
2640
|
};
|
|
2356
2641
|
desktop: {
|
|
2357
|
-
columns: number;
|
|
2358
2642
|
padding: string;
|
|
2359
2643
|
gap: string;
|
|
2644
|
+
columns: number;
|
|
2360
2645
|
};
|
|
2361
2646
|
}, {
|
|
2362
2647
|
mobile: {
|
|
2363
|
-
columns: number;
|
|
2364
2648
|
padding: string;
|
|
2365
2649
|
gap: string;
|
|
2650
|
+
columns: number;
|
|
2366
2651
|
};
|
|
2367
2652
|
tablet: {
|
|
2368
|
-
columns: number;
|
|
2369
2653
|
padding: string;
|
|
2370
2654
|
gap: string;
|
|
2655
|
+
columns: number;
|
|
2371
2656
|
};
|
|
2372
2657
|
desktop: {
|
|
2373
|
-
columns: number;
|
|
2374
2658
|
padding: string;
|
|
2375
2659
|
gap: string;
|
|
2660
|
+
columns: number;
|
|
2376
2661
|
};
|
|
2377
2662
|
}>>;
|
|
2378
2663
|
}, "strip", z.ZodTypeAny, {
|
|
2379
|
-
type: "
|
|
2664
|
+
type: "full" | "centered" | "sidebar";
|
|
2380
2665
|
responsive?: {
|
|
2381
2666
|
mobile: {
|
|
2382
|
-
columns: number;
|
|
2383
2667
|
padding: string;
|
|
2384
2668
|
gap: string;
|
|
2669
|
+
columns: number;
|
|
2385
2670
|
};
|
|
2386
2671
|
tablet: {
|
|
2387
|
-
columns: number;
|
|
2388
2672
|
padding: string;
|
|
2389
2673
|
gap: string;
|
|
2674
|
+
columns: number;
|
|
2390
2675
|
};
|
|
2391
2676
|
desktop: {
|
|
2392
|
-
columns: number;
|
|
2393
2677
|
padding: string;
|
|
2394
2678
|
gap: string;
|
|
2679
|
+
columns: number;
|
|
2395
2680
|
};
|
|
2396
2681
|
} | undefined;
|
|
2397
2682
|
}, {
|
|
2398
|
-
type: "
|
|
2683
|
+
type: "full" | "centered" | "sidebar";
|
|
2399
2684
|
responsive?: {
|
|
2400
2685
|
mobile: {
|
|
2401
|
-
columns: number;
|
|
2402
2686
|
padding: string;
|
|
2403
2687
|
gap: string;
|
|
2688
|
+
columns: number;
|
|
2404
2689
|
};
|
|
2405
2690
|
tablet: {
|
|
2406
|
-
columns: number;
|
|
2407
2691
|
padding: string;
|
|
2408
2692
|
gap: string;
|
|
2693
|
+
columns: number;
|
|
2409
2694
|
};
|
|
2410
2695
|
desktop: {
|
|
2411
|
-
columns: number;
|
|
2412
2696
|
padding: string;
|
|
2413
2697
|
gap: string;
|
|
2698
|
+
columns: number;
|
|
2414
2699
|
};
|
|
2415
2700
|
} | undefined;
|
|
2416
2701
|
}>;
|
|
@@ -2419,12 +2704,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2419
2704
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2420
2705
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2421
2706
|
}, "strip", z.ZodTypeAny, {
|
|
2422
|
-
optional: string[];
|
|
2423
2707
|
texts: string[];
|
|
2708
|
+
optional: string[];
|
|
2424
2709
|
slots: string[];
|
|
2425
2710
|
}, {
|
|
2426
|
-
optional: string[];
|
|
2427
2711
|
texts: string[];
|
|
2712
|
+
optional: string[];
|
|
2428
2713
|
slots: string[];
|
|
2429
2714
|
}>;
|
|
2430
2715
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2446,45 +2731,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2446
2731
|
updated: z.ZodString;
|
|
2447
2732
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2448
2733
|
}, "strip", z.ZodTypeAny, {
|
|
2449
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2450
|
-
name: string;
|
|
2451
2734
|
description: string;
|
|
2452
|
-
version: string;
|
|
2453
2735
|
layout: {
|
|
2454
|
-
type: "
|
|
2736
|
+
type: "full" | "centered" | "sidebar";
|
|
2455
2737
|
responsive?: {
|
|
2456
2738
|
mobile: {
|
|
2457
|
-
columns: number;
|
|
2458
2739
|
padding: string;
|
|
2459
2740
|
gap: string;
|
|
2741
|
+
columns: number;
|
|
2460
2742
|
};
|
|
2461
2743
|
tablet: {
|
|
2462
|
-
columns: number;
|
|
2463
2744
|
padding: string;
|
|
2464
2745
|
gap: string;
|
|
2746
|
+
columns: number;
|
|
2465
2747
|
};
|
|
2466
2748
|
desktop: {
|
|
2467
|
-
columns: number;
|
|
2468
2749
|
padding: string;
|
|
2469
2750
|
gap: string;
|
|
2751
|
+
columns: number;
|
|
2470
2752
|
};
|
|
2471
2753
|
} | undefined;
|
|
2472
2754
|
};
|
|
2755
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2473
2756
|
id: string;
|
|
2757
|
+
name: string;
|
|
2758
|
+
version: string;
|
|
2474
2759
|
importStatement: string;
|
|
2475
2760
|
skeleton: {
|
|
2476
2761
|
shell: string;
|
|
2477
2762
|
page: string;
|
|
2478
2763
|
sections: {
|
|
2764
|
+
id: string;
|
|
2479
2765
|
name: string;
|
|
2480
2766
|
required: boolean;
|
|
2481
|
-
id: string;
|
|
2482
2767
|
slot: string;
|
|
2483
2768
|
}[];
|
|
2484
2769
|
};
|
|
2485
2770
|
customizable: {
|
|
2486
|
-
optional: string[];
|
|
2487
2771
|
texts: string[];
|
|
2772
|
+
optional: string[];
|
|
2488
2773
|
slots: string[];
|
|
2489
2774
|
};
|
|
2490
2775
|
requiredComponents: string[];
|
|
@@ -2497,45 +2782,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2497
2782
|
slots?: string[] | undefined;
|
|
2498
2783
|
} | undefined;
|
|
2499
2784
|
}, {
|
|
2500
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2501
|
-
name: string;
|
|
2502
2785
|
description: string;
|
|
2503
|
-
version: string;
|
|
2504
2786
|
layout: {
|
|
2505
|
-
type: "
|
|
2787
|
+
type: "full" | "centered" | "sidebar";
|
|
2506
2788
|
responsive?: {
|
|
2507
2789
|
mobile: {
|
|
2508
|
-
columns: number;
|
|
2509
2790
|
padding: string;
|
|
2510
2791
|
gap: string;
|
|
2792
|
+
columns: number;
|
|
2511
2793
|
};
|
|
2512
2794
|
tablet: {
|
|
2513
|
-
columns: number;
|
|
2514
2795
|
padding: string;
|
|
2515
2796
|
gap: string;
|
|
2797
|
+
columns: number;
|
|
2516
2798
|
};
|
|
2517
2799
|
desktop: {
|
|
2518
|
-
columns: number;
|
|
2519
2800
|
padding: string;
|
|
2520
2801
|
gap: string;
|
|
2802
|
+
columns: number;
|
|
2521
2803
|
};
|
|
2522
2804
|
} | undefined;
|
|
2523
2805
|
};
|
|
2806
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2524
2807
|
id: string;
|
|
2808
|
+
name: string;
|
|
2809
|
+
version: string;
|
|
2525
2810
|
importStatement: string;
|
|
2526
2811
|
skeleton: {
|
|
2527
2812
|
shell: string;
|
|
2528
2813
|
page: string;
|
|
2529
2814
|
sections: {
|
|
2815
|
+
id: string;
|
|
2530
2816
|
name: string;
|
|
2531
2817
|
required: boolean;
|
|
2532
|
-
id: string;
|
|
2533
2818
|
slot: string;
|
|
2534
2819
|
}[];
|
|
2535
2820
|
};
|
|
2536
2821
|
customizable: {
|
|
2537
|
-
optional: string[];
|
|
2538
2822
|
texts: string[];
|
|
2823
|
+
optional: string[];
|
|
2539
2824
|
slots: string[];
|
|
2540
2825
|
};
|
|
2541
2826
|
requiredComponents: string[];
|
|
@@ -2553,45 +2838,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2553
2838
|
success: boolean;
|
|
2554
2839
|
error?: string | undefined;
|
|
2555
2840
|
template?: {
|
|
2556
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2557
|
-
name: string;
|
|
2558
2841
|
description: string;
|
|
2559
|
-
version: string;
|
|
2560
2842
|
layout: {
|
|
2561
|
-
type: "
|
|
2843
|
+
type: "full" | "centered" | "sidebar";
|
|
2562
2844
|
responsive?: {
|
|
2563
2845
|
mobile: {
|
|
2564
|
-
columns: number;
|
|
2565
2846
|
padding: string;
|
|
2566
2847
|
gap: string;
|
|
2848
|
+
columns: number;
|
|
2567
2849
|
};
|
|
2568
2850
|
tablet: {
|
|
2569
|
-
columns: number;
|
|
2570
2851
|
padding: string;
|
|
2571
2852
|
gap: string;
|
|
2853
|
+
columns: number;
|
|
2572
2854
|
};
|
|
2573
2855
|
desktop: {
|
|
2574
|
-
columns: number;
|
|
2575
2856
|
padding: string;
|
|
2576
2857
|
gap: string;
|
|
2858
|
+
columns: number;
|
|
2577
2859
|
};
|
|
2578
2860
|
} | undefined;
|
|
2579
2861
|
};
|
|
2862
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2580
2863
|
id: string;
|
|
2864
|
+
name: string;
|
|
2865
|
+
version: string;
|
|
2581
2866
|
importStatement: string;
|
|
2582
2867
|
skeleton: {
|
|
2583
2868
|
shell: string;
|
|
2584
2869
|
page: string;
|
|
2585
2870
|
sections: {
|
|
2871
|
+
id: string;
|
|
2586
2872
|
name: string;
|
|
2587
2873
|
required: boolean;
|
|
2588
|
-
id: string;
|
|
2589
2874
|
slot: string;
|
|
2590
2875
|
}[];
|
|
2591
2876
|
};
|
|
2592
2877
|
customizable: {
|
|
2593
|
-
optional: string[];
|
|
2594
2878
|
texts: string[];
|
|
2879
|
+
optional: string[];
|
|
2595
2880
|
slots: string[];
|
|
2596
2881
|
};
|
|
2597
2882
|
requiredComponents: string[];
|
|
@@ -2608,45 +2893,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2608
2893
|
success: boolean;
|
|
2609
2894
|
error?: string | undefined;
|
|
2610
2895
|
template?: {
|
|
2611
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2612
|
-
name: string;
|
|
2613
2896
|
description: string;
|
|
2614
|
-
version: string;
|
|
2615
2897
|
layout: {
|
|
2616
|
-
type: "
|
|
2898
|
+
type: "full" | "centered" | "sidebar";
|
|
2617
2899
|
responsive?: {
|
|
2618
2900
|
mobile: {
|
|
2619
|
-
columns: number;
|
|
2620
2901
|
padding: string;
|
|
2621
2902
|
gap: string;
|
|
2903
|
+
columns: number;
|
|
2622
2904
|
};
|
|
2623
2905
|
tablet: {
|
|
2624
|
-
columns: number;
|
|
2625
2906
|
padding: string;
|
|
2626
2907
|
gap: string;
|
|
2908
|
+
columns: number;
|
|
2627
2909
|
};
|
|
2628
2910
|
desktop: {
|
|
2629
|
-
columns: number;
|
|
2630
2911
|
padding: string;
|
|
2631
2912
|
gap: string;
|
|
2913
|
+
columns: number;
|
|
2632
2914
|
};
|
|
2633
2915
|
} | undefined;
|
|
2634
2916
|
};
|
|
2917
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2635
2918
|
id: string;
|
|
2919
|
+
name: string;
|
|
2920
|
+
version: string;
|
|
2636
2921
|
importStatement: string;
|
|
2637
2922
|
skeleton: {
|
|
2638
2923
|
shell: string;
|
|
2639
2924
|
page: string;
|
|
2640
2925
|
sections: {
|
|
2926
|
+
id: string;
|
|
2641
2927
|
name: string;
|
|
2642
2928
|
required: boolean;
|
|
2643
|
-
id: string;
|
|
2644
2929
|
slot: string;
|
|
2645
2930
|
}[];
|
|
2646
2931
|
};
|
|
2647
2932
|
customizable: {
|
|
2648
|
-
optional: string[];
|
|
2649
2933
|
texts: string[];
|
|
2934
|
+
optional: string[];
|
|
2650
2935
|
slots: string[];
|
|
2651
2936
|
};
|
|
2652
2937
|
requiredComponents: string[];
|
|
@@ -2670,14 +2955,17 @@ export declare const GetScreenGenerationContextInputSchema: z.ZodObject<{
|
|
|
2670
2955
|
themeId: z.ZodOptional<z.ZodString>;
|
|
2671
2956
|
includeExamples: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2672
2957
|
compact: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2958
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
2673
2959
|
}, "strip", z.ZodTypeAny, {
|
|
2674
2960
|
description: string;
|
|
2675
2961
|
includeExamples: boolean;
|
|
2676
2962
|
compact: boolean;
|
|
2677
2963
|
themeId?: string | undefined;
|
|
2964
|
+
platform?: "web" | "react-native" | undefined;
|
|
2678
2965
|
}, {
|
|
2679
2966
|
description: string;
|
|
2680
2967
|
themeId?: string | undefined;
|
|
2968
|
+
platform?: "web" | "react-native" | undefined;
|
|
2681
2969
|
includeExamples?: boolean | undefined;
|
|
2682
2970
|
compact?: boolean | undefined;
|
|
2683
2971
|
}>;
|
|
@@ -2700,66 +2988,66 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2700
2988
|
slot: z.ZodString;
|
|
2701
2989
|
required: z.ZodBoolean;
|
|
2702
2990
|
}, "strip", z.ZodTypeAny, {
|
|
2991
|
+
id: string;
|
|
2703
2992
|
name: string;
|
|
2704
2993
|
required: boolean;
|
|
2705
|
-
id: string;
|
|
2706
2994
|
slot: string;
|
|
2707
2995
|
}, {
|
|
2996
|
+
id: string;
|
|
2708
2997
|
name: string;
|
|
2709
2998
|
required: boolean;
|
|
2710
|
-
id: string;
|
|
2711
2999
|
slot: string;
|
|
2712
3000
|
}>, "many">;
|
|
2713
3001
|
}, "strip", z.ZodTypeAny, {
|
|
2714
3002
|
shell: string;
|
|
2715
3003
|
page: string;
|
|
2716
3004
|
sections: {
|
|
3005
|
+
id: string;
|
|
2717
3006
|
name: string;
|
|
2718
3007
|
required: boolean;
|
|
2719
|
-
id: string;
|
|
2720
3008
|
slot: string;
|
|
2721
3009
|
}[];
|
|
2722
3010
|
}, {
|
|
2723
3011
|
shell: string;
|
|
2724
3012
|
page: string;
|
|
2725
3013
|
sections: {
|
|
3014
|
+
id: string;
|
|
2726
3015
|
name: string;
|
|
2727
3016
|
required: boolean;
|
|
2728
|
-
id: string;
|
|
2729
3017
|
slot: string;
|
|
2730
3018
|
}[];
|
|
2731
3019
|
}>>;
|
|
2732
3020
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2733
3021
|
}, "strip", z.ZodTypeAny, {
|
|
2734
|
-
category: string;
|
|
2735
3022
|
templateId: string;
|
|
2736
3023
|
templateName: string;
|
|
3024
|
+
category: string;
|
|
2737
3025
|
confidence: number;
|
|
2738
3026
|
matchedKeywords: string[];
|
|
2739
3027
|
skeleton?: {
|
|
2740
3028
|
shell: string;
|
|
2741
3029
|
page: string;
|
|
2742
3030
|
sections: {
|
|
3031
|
+
id: string;
|
|
2743
3032
|
name: string;
|
|
2744
3033
|
required: boolean;
|
|
2745
|
-
id: string;
|
|
2746
3034
|
slot: string;
|
|
2747
3035
|
}[];
|
|
2748
3036
|
} | undefined;
|
|
2749
3037
|
requiredComponents?: string[] | undefined;
|
|
2750
3038
|
}, {
|
|
2751
|
-
category: string;
|
|
2752
3039
|
templateId: string;
|
|
2753
3040
|
templateName: string;
|
|
3041
|
+
category: string;
|
|
2754
3042
|
confidence: number;
|
|
2755
3043
|
matchedKeywords: string[];
|
|
2756
3044
|
skeleton?: {
|
|
2757
3045
|
shell: string;
|
|
2758
3046
|
page: string;
|
|
2759
3047
|
sections: {
|
|
3048
|
+
id: string;
|
|
2760
3049
|
name: string;
|
|
2761
3050
|
required: boolean;
|
|
2762
|
-
id: string;
|
|
2763
3051
|
slot: string;
|
|
2764
3052
|
}[];
|
|
2765
3053
|
} | undefined;
|
|
@@ -2782,14 +3070,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2782
3070
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2783
3071
|
description: z.ZodOptional<z.ZodString>;
|
|
2784
3072
|
}, "strip", z.ZodTypeAny, {
|
|
2785
|
-
name: string;
|
|
2786
3073
|
type: string;
|
|
3074
|
+
name: string;
|
|
2787
3075
|
required: boolean;
|
|
2788
3076
|
description?: string | undefined;
|
|
2789
3077
|
defaultValue?: string | undefined;
|
|
2790
3078
|
}, {
|
|
2791
|
-
name: string;
|
|
2792
3079
|
type: string;
|
|
3080
|
+
name: string;
|
|
2793
3081
|
required: boolean;
|
|
2794
3082
|
description?: string | undefined;
|
|
2795
3083
|
defaultValue?: string | undefined;
|
|
@@ -2799,50 +3087,93 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2799
3087
|
value: z.ZodString;
|
|
2800
3088
|
description: z.ZodOptional<z.ZodString>;
|
|
2801
3089
|
}, "strip", z.ZodTypeAny, {
|
|
2802
|
-
name: string;
|
|
2803
3090
|
value: string;
|
|
3091
|
+
name: string;
|
|
2804
3092
|
description?: string | undefined;
|
|
2805
3093
|
}, {
|
|
2806
|
-
name: string;
|
|
2807
3094
|
value: string;
|
|
3095
|
+
name: string;
|
|
2808
3096
|
description?: string | undefined;
|
|
2809
3097
|
}>, "many">>;
|
|
3098
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
3099
|
+
target: z.ZodEnum<["web", "react-native"]>;
|
|
3100
|
+
supported: z.ZodBoolean;
|
|
3101
|
+
recommended: z.ZodBoolean;
|
|
3102
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
3103
|
+
notes: z.ZodArray<z.ZodString, "many">;
|
|
3104
|
+
recommendedImports: z.ZodArray<z.ZodString, "many">;
|
|
3105
|
+
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
3106
|
+
}, "strip", z.ZodTypeAny, {
|
|
3107
|
+
status: "full" | "partial" | "avoid";
|
|
3108
|
+
notes: string[];
|
|
3109
|
+
supported: boolean;
|
|
3110
|
+
recommended: boolean;
|
|
3111
|
+
target: "web" | "react-native";
|
|
3112
|
+
recommendedImports: string[];
|
|
3113
|
+
recommendedPackages: string[];
|
|
3114
|
+
}, {
|
|
3115
|
+
status: "full" | "partial" | "avoid";
|
|
3116
|
+
notes: string[];
|
|
3117
|
+
supported: boolean;
|
|
3118
|
+
recommended: boolean;
|
|
3119
|
+
target: "web" | "react-native";
|
|
3120
|
+
recommendedImports: string[];
|
|
3121
|
+
recommendedPackages: string[];
|
|
3122
|
+
}>>;
|
|
2810
3123
|
}, "strip", z.ZodTypeAny, {
|
|
2811
|
-
category: "core" | "complex" | "advanced";
|
|
2812
|
-
name: string;
|
|
2813
3124
|
description: string;
|
|
3125
|
+
category: "core" | "complex" | "advanced";
|
|
2814
3126
|
id: string;
|
|
3127
|
+
name: string;
|
|
2815
3128
|
importStatement: string;
|
|
2816
3129
|
props: {
|
|
2817
|
-
name: string;
|
|
2818
3130
|
type: string;
|
|
3131
|
+
name: string;
|
|
2819
3132
|
required: boolean;
|
|
2820
3133
|
description?: string | undefined;
|
|
2821
3134
|
defaultValue?: string | undefined;
|
|
2822
3135
|
}[];
|
|
2823
3136
|
variants?: {
|
|
2824
|
-
name: string;
|
|
2825
3137
|
value: string;
|
|
3138
|
+
name: string;
|
|
2826
3139
|
description?: string | undefined;
|
|
2827
3140
|
}[] | undefined;
|
|
3141
|
+
platformSupport?: {
|
|
3142
|
+
status: "full" | "partial" | "avoid";
|
|
3143
|
+
notes: string[];
|
|
3144
|
+
supported: boolean;
|
|
3145
|
+
recommended: boolean;
|
|
3146
|
+
target: "web" | "react-native";
|
|
3147
|
+
recommendedImports: string[];
|
|
3148
|
+
recommendedPackages: string[];
|
|
3149
|
+
} | undefined;
|
|
2828
3150
|
}, {
|
|
2829
|
-
category: "core" | "complex" | "advanced";
|
|
2830
|
-
name: string;
|
|
2831
3151
|
description: string;
|
|
3152
|
+
category: "core" | "complex" | "advanced";
|
|
2832
3153
|
id: string;
|
|
3154
|
+
name: string;
|
|
2833
3155
|
importStatement: string;
|
|
2834
3156
|
props: {
|
|
2835
|
-
name: string;
|
|
2836
3157
|
type: string;
|
|
3158
|
+
name: string;
|
|
2837
3159
|
required: boolean;
|
|
2838
3160
|
description?: string | undefined;
|
|
2839
3161
|
defaultValue?: string | undefined;
|
|
2840
3162
|
}[];
|
|
2841
3163
|
variants?: {
|
|
2842
|
-
name: string;
|
|
2843
3164
|
value: string;
|
|
3165
|
+
name: string;
|
|
2844
3166
|
description?: string | undefined;
|
|
2845
3167
|
}[] | undefined;
|
|
3168
|
+
platformSupport?: {
|
|
3169
|
+
status: "full" | "partial" | "avoid";
|
|
3170
|
+
notes: string[];
|
|
3171
|
+
supported: boolean;
|
|
3172
|
+
recommended: boolean;
|
|
3173
|
+
target: "web" | "react-native";
|
|
3174
|
+
recommendedImports: string[];
|
|
3175
|
+
recommendedPackages: string[];
|
|
3176
|
+
} | undefined;
|
|
2846
3177
|
}>;
|
|
2847
3178
|
export type ContextComponentInfo = z.infer<typeof ContextComponentInfoSchema>;
|
|
2848
3179
|
/**
|
|
@@ -2873,22 +3204,22 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2873
3204
|
children?: string | unknown[] | undefined;
|
|
2874
3205
|
}>, "many">;
|
|
2875
3206
|
}, "strip", z.ZodTypeAny, {
|
|
2876
|
-
pattern: string;
|
|
2877
3207
|
id: string;
|
|
2878
3208
|
components: {
|
|
2879
3209
|
type: string;
|
|
2880
3210
|
props?: Record<string, unknown> | undefined;
|
|
2881
3211
|
children?: string | unknown[] | undefined;
|
|
2882
3212
|
}[];
|
|
3213
|
+
pattern: string;
|
|
2883
3214
|
slot?: string | undefined;
|
|
2884
3215
|
}, {
|
|
2885
|
-
pattern: string;
|
|
2886
3216
|
id: string;
|
|
2887
3217
|
components: {
|
|
2888
3218
|
type: string;
|
|
2889
3219
|
props?: Record<string, unknown> | undefined;
|
|
2890
3220
|
children?: string | unknown[] | undefined;
|
|
2891
3221
|
}[];
|
|
3222
|
+
pattern: string;
|
|
2892
3223
|
slot?: string | undefined;
|
|
2893
3224
|
}>, "many">;
|
|
2894
3225
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2910,49 +3241,49 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2910
3241
|
}, "strip", z.ZodTypeAny, {
|
|
2911
3242
|
shell: string;
|
|
2912
3243
|
page: string;
|
|
3244
|
+
id: string;
|
|
2913
3245
|
sections: {
|
|
2914
|
-
pattern: string;
|
|
2915
3246
|
id: string;
|
|
2916
3247
|
components: {
|
|
2917
3248
|
type: string;
|
|
2918
3249
|
props?: Record<string, unknown> | undefined;
|
|
2919
3250
|
children?: string | unknown[] | undefined;
|
|
2920
3251
|
}[];
|
|
3252
|
+
pattern: string;
|
|
2921
3253
|
slot?: string | undefined;
|
|
2922
3254
|
}[];
|
|
2923
|
-
id: string;
|
|
2924
|
-
name?: string | undefined;
|
|
2925
3255
|
description?: string | undefined;
|
|
3256
|
+
themeId?: string | undefined;
|
|
3257
|
+
name?: string | undefined;
|
|
2926
3258
|
metadata?: {
|
|
2927
3259
|
version?: string | undefined;
|
|
2928
3260
|
created?: string | undefined;
|
|
2929
3261
|
updated?: string | undefined;
|
|
2930
3262
|
author?: string | undefined;
|
|
2931
3263
|
} | undefined;
|
|
2932
|
-
themeId?: string | undefined;
|
|
2933
3264
|
}, {
|
|
2934
3265
|
shell: string;
|
|
2935
3266
|
page: string;
|
|
3267
|
+
id: string;
|
|
2936
3268
|
sections: {
|
|
2937
|
-
pattern: string;
|
|
2938
3269
|
id: string;
|
|
2939
3270
|
components: {
|
|
2940
3271
|
type: string;
|
|
2941
3272
|
props?: Record<string, unknown> | undefined;
|
|
2942
3273
|
children?: string | unknown[] | undefined;
|
|
2943
3274
|
}[];
|
|
3275
|
+
pattern: string;
|
|
2944
3276
|
slot?: string | undefined;
|
|
2945
3277
|
}[];
|
|
2946
|
-
id: string;
|
|
2947
|
-
name?: string | undefined;
|
|
2948
3278
|
description?: string | undefined;
|
|
3279
|
+
themeId?: string | undefined;
|
|
3280
|
+
name?: string | undefined;
|
|
2949
3281
|
metadata?: {
|
|
2950
3282
|
version?: string | undefined;
|
|
2951
3283
|
created?: string | undefined;
|
|
2952
3284
|
updated?: string | undefined;
|
|
2953
3285
|
author?: string | undefined;
|
|
2954
3286
|
} | undefined;
|
|
2955
|
-
themeId?: string | undefined;
|
|
2956
3287
|
}>;
|
|
2957
3288
|
export type ScreenDefinition = z.infer<typeof ScreenDefinitionSchema>;
|
|
2958
3289
|
/**
|
|
@@ -2986,22 +3317,22 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2986
3317
|
children?: string | unknown[] | undefined;
|
|
2987
3318
|
}>, "many">;
|
|
2988
3319
|
}, "strip", z.ZodTypeAny, {
|
|
2989
|
-
pattern: string;
|
|
2990
3320
|
id: string;
|
|
2991
3321
|
components: {
|
|
2992
3322
|
type: string;
|
|
2993
3323
|
props?: Record<string, unknown> | undefined;
|
|
2994
3324
|
children?: string | unknown[] | undefined;
|
|
2995
3325
|
}[];
|
|
3326
|
+
pattern: string;
|
|
2996
3327
|
slot?: string | undefined;
|
|
2997
3328
|
}, {
|
|
2998
|
-
pattern: string;
|
|
2999
3329
|
id: string;
|
|
3000
3330
|
components: {
|
|
3001
3331
|
type: string;
|
|
3002
3332
|
props?: Record<string, unknown> | undefined;
|
|
3003
3333
|
children?: string | unknown[] | undefined;
|
|
3004
3334
|
}[];
|
|
3335
|
+
pattern: string;
|
|
3005
3336
|
slot?: string | undefined;
|
|
3006
3337
|
}>, "many">;
|
|
3007
3338
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3023,103 +3354,103 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3023
3354
|
}, "strip", z.ZodTypeAny, {
|
|
3024
3355
|
shell: string;
|
|
3025
3356
|
page: string;
|
|
3357
|
+
id: string;
|
|
3026
3358
|
sections: {
|
|
3027
|
-
pattern: string;
|
|
3028
3359
|
id: string;
|
|
3029
3360
|
components: {
|
|
3030
3361
|
type: string;
|
|
3031
3362
|
props?: Record<string, unknown> | undefined;
|
|
3032
3363
|
children?: string | unknown[] | undefined;
|
|
3033
3364
|
}[];
|
|
3365
|
+
pattern: string;
|
|
3034
3366
|
slot?: string | undefined;
|
|
3035
3367
|
}[];
|
|
3036
|
-
id: string;
|
|
3037
|
-
name?: string | undefined;
|
|
3038
3368
|
description?: string | undefined;
|
|
3369
|
+
themeId?: string | undefined;
|
|
3370
|
+
name?: string | undefined;
|
|
3039
3371
|
metadata?: {
|
|
3040
3372
|
version?: string | undefined;
|
|
3041
3373
|
created?: string | undefined;
|
|
3042
3374
|
updated?: string | undefined;
|
|
3043
3375
|
author?: string | undefined;
|
|
3044
3376
|
} | undefined;
|
|
3045
|
-
themeId?: string | undefined;
|
|
3046
3377
|
}, {
|
|
3047
3378
|
shell: string;
|
|
3048
3379
|
page: string;
|
|
3380
|
+
id: string;
|
|
3049
3381
|
sections: {
|
|
3050
|
-
pattern: string;
|
|
3051
3382
|
id: string;
|
|
3052
3383
|
components: {
|
|
3053
3384
|
type: string;
|
|
3054
3385
|
props?: Record<string, unknown> | undefined;
|
|
3055
3386
|
children?: string | unknown[] | undefined;
|
|
3056
3387
|
}[];
|
|
3388
|
+
pattern: string;
|
|
3057
3389
|
slot?: string | undefined;
|
|
3058
3390
|
}[];
|
|
3059
|
-
id: string;
|
|
3060
|
-
name?: string | undefined;
|
|
3061
3391
|
description?: string | undefined;
|
|
3392
|
+
themeId?: string | undefined;
|
|
3393
|
+
name?: string | undefined;
|
|
3062
3394
|
metadata?: {
|
|
3063
3395
|
version?: string | undefined;
|
|
3064
3396
|
created?: string | undefined;
|
|
3065
3397
|
updated?: string | undefined;
|
|
3066
3398
|
author?: string | undefined;
|
|
3067
3399
|
} | undefined;
|
|
3068
|
-
themeId?: string | undefined;
|
|
3069
3400
|
}>;
|
|
3070
3401
|
}, "strip", z.ZodTypeAny, {
|
|
3071
|
-
name: string;
|
|
3072
3402
|
description: string;
|
|
3403
|
+
name: string;
|
|
3073
3404
|
definition: {
|
|
3074
3405
|
shell: string;
|
|
3075
3406
|
page: string;
|
|
3407
|
+
id: string;
|
|
3076
3408
|
sections: {
|
|
3077
|
-
pattern: string;
|
|
3078
3409
|
id: string;
|
|
3079
3410
|
components: {
|
|
3080
3411
|
type: string;
|
|
3081
3412
|
props?: Record<string, unknown> | undefined;
|
|
3082
3413
|
children?: string | unknown[] | undefined;
|
|
3083
3414
|
}[];
|
|
3415
|
+
pattern: string;
|
|
3084
3416
|
slot?: string | undefined;
|
|
3085
3417
|
}[];
|
|
3086
|
-
id: string;
|
|
3087
|
-
name?: string | undefined;
|
|
3088
3418
|
description?: string | undefined;
|
|
3419
|
+
themeId?: string | undefined;
|
|
3420
|
+
name?: string | undefined;
|
|
3089
3421
|
metadata?: {
|
|
3090
3422
|
version?: string | undefined;
|
|
3091
3423
|
created?: string | undefined;
|
|
3092
3424
|
updated?: string | undefined;
|
|
3093
3425
|
author?: string | undefined;
|
|
3094
3426
|
} | undefined;
|
|
3095
|
-
themeId?: string | undefined;
|
|
3096
3427
|
};
|
|
3097
3428
|
}, {
|
|
3098
|
-
name: string;
|
|
3099
3429
|
description: string;
|
|
3430
|
+
name: string;
|
|
3100
3431
|
definition: {
|
|
3101
3432
|
shell: string;
|
|
3102
3433
|
page: string;
|
|
3434
|
+
id: string;
|
|
3103
3435
|
sections: {
|
|
3104
|
-
pattern: string;
|
|
3105
3436
|
id: string;
|
|
3106
3437
|
components: {
|
|
3107
3438
|
type: string;
|
|
3108
3439
|
props?: Record<string, unknown> | undefined;
|
|
3109
3440
|
children?: string | unknown[] | undefined;
|
|
3110
3441
|
}[];
|
|
3442
|
+
pattern: string;
|
|
3111
3443
|
slot?: string | undefined;
|
|
3112
3444
|
}[];
|
|
3113
|
-
id: string;
|
|
3114
|
-
name?: string | undefined;
|
|
3115
3445
|
description?: string | undefined;
|
|
3446
|
+
themeId?: string | undefined;
|
|
3447
|
+
name?: string | undefined;
|
|
3116
3448
|
metadata?: {
|
|
3117
3449
|
version?: string | undefined;
|
|
3118
3450
|
created?: string | undefined;
|
|
3119
3451
|
updated?: string | undefined;
|
|
3120
3452
|
author?: string | undefined;
|
|
3121
3453
|
} | undefined;
|
|
3122
|
-
themeId?: string | undefined;
|
|
3123
3454
|
};
|
|
3124
3455
|
}>;
|
|
3125
3456
|
export type ScreenExample = z.infer<typeof ScreenExampleSchema>;
|
|
@@ -3149,13 +3480,13 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3149
3480
|
message: z.ZodString;
|
|
3150
3481
|
example: z.ZodOptional<z.ZodString>;
|
|
3151
3482
|
}, "strip", z.ZodTypeAny, {
|
|
3152
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3153
3483
|
message: string;
|
|
3484
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3154
3485
|
priority: "high" | "medium" | "low";
|
|
3155
3486
|
example?: string | undefined;
|
|
3156
3487
|
}, {
|
|
3157
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3158
3488
|
message: string;
|
|
3489
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3159
3490
|
priority: "high" | "medium" | "low";
|
|
3160
3491
|
example?: string | undefined;
|
|
3161
3492
|
}>;
|
|
@@ -3172,14 +3503,14 @@ export declare const WorkflowStepSchema: z.ZodObject<{
|
|
|
3172
3503
|
example: z.ZodOptional<z.ZodString>;
|
|
3173
3504
|
}, "strip", z.ZodTypeAny, {
|
|
3174
3505
|
description: string;
|
|
3175
|
-
action: string;
|
|
3176
3506
|
step: number;
|
|
3507
|
+
action: string;
|
|
3177
3508
|
example?: string | undefined;
|
|
3178
3509
|
tool?: string | undefined;
|
|
3179
3510
|
}, {
|
|
3180
3511
|
description: string;
|
|
3181
|
-
action: string;
|
|
3182
3512
|
step: number;
|
|
3513
|
+
action: string;
|
|
3183
3514
|
example?: string | undefined;
|
|
3184
3515
|
tool?: string | undefined;
|
|
3185
3516
|
}>;
|
|
@@ -3199,14 +3530,14 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3199
3530
|
example: z.ZodOptional<z.ZodString>;
|
|
3200
3531
|
}, "strip", z.ZodTypeAny, {
|
|
3201
3532
|
description: string;
|
|
3202
|
-
action: string;
|
|
3203
3533
|
step: number;
|
|
3534
|
+
action: string;
|
|
3204
3535
|
example?: string | undefined;
|
|
3205
3536
|
tool?: string | undefined;
|
|
3206
3537
|
}, {
|
|
3207
3538
|
description: string;
|
|
3208
|
-
action: string;
|
|
3209
3539
|
step: number;
|
|
3540
|
+
action: string;
|
|
3210
3541
|
example?: string | undefined;
|
|
3211
3542
|
tool?: string | undefined;
|
|
3212
3543
|
}>, "many">;
|
|
@@ -3216,8 +3547,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3216
3547
|
title: string;
|
|
3217
3548
|
steps: {
|
|
3218
3549
|
description: string;
|
|
3219
|
-
action: string;
|
|
3220
3550
|
step: number;
|
|
3551
|
+
action: string;
|
|
3221
3552
|
example?: string | undefined;
|
|
3222
3553
|
tool?: string | undefined;
|
|
3223
3554
|
}[];
|
|
@@ -3227,8 +3558,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3227
3558
|
title: string;
|
|
3228
3559
|
steps: {
|
|
3229
3560
|
description: string;
|
|
3230
|
-
action: string;
|
|
3231
3561
|
step: number;
|
|
3562
|
+
action: string;
|
|
3232
3563
|
example?: string | undefined;
|
|
3233
3564
|
tool?: string | undefined;
|
|
3234
3565
|
}[];
|
|
@@ -3254,45 +3585,45 @@ export declare const DefinitionStarterSchema: z.ZodObject<{
|
|
|
3254
3585
|
props?: Record<string, unknown> | undefined;
|
|
3255
3586
|
}>, "many">;
|
|
3256
3587
|
}, "strip", z.ZodTypeAny, {
|
|
3257
|
-
pattern: string;
|
|
3258
3588
|
id: string;
|
|
3259
3589
|
components: {
|
|
3260
3590
|
type: string;
|
|
3261
3591
|
props?: Record<string, unknown> | undefined;
|
|
3262
3592
|
}[];
|
|
3263
|
-
}, {
|
|
3264
3593
|
pattern: string;
|
|
3594
|
+
}, {
|
|
3265
3595
|
id: string;
|
|
3266
3596
|
components: {
|
|
3267
3597
|
type: string;
|
|
3268
3598
|
props?: Record<string, unknown> | undefined;
|
|
3269
3599
|
}[];
|
|
3600
|
+
pattern: string;
|
|
3270
3601
|
}>, "many">;
|
|
3271
3602
|
}, "strip", z.ZodTypeAny, {
|
|
3272
3603
|
shell: string;
|
|
3273
3604
|
page: string;
|
|
3605
|
+
id: string;
|
|
3274
3606
|
sections: {
|
|
3275
|
-
pattern: string;
|
|
3276
3607
|
id: string;
|
|
3277
3608
|
components: {
|
|
3278
3609
|
type: string;
|
|
3279
3610
|
props?: Record<string, unknown> | undefined;
|
|
3280
3611
|
}[];
|
|
3612
|
+
pattern: string;
|
|
3281
3613
|
}[];
|
|
3282
|
-
id: string;
|
|
3283
3614
|
themeId?: string | undefined;
|
|
3284
3615
|
}, {
|
|
3285
3616
|
shell: string;
|
|
3286
3617
|
page: string;
|
|
3618
|
+
id: string;
|
|
3287
3619
|
sections: {
|
|
3288
|
-
pattern: string;
|
|
3289
3620
|
id: string;
|
|
3290
3621
|
components: {
|
|
3291
3622
|
type: string;
|
|
3292
3623
|
props?: Record<string, unknown> | undefined;
|
|
3293
3624
|
}[];
|
|
3625
|
+
pattern: string;
|
|
3294
3626
|
}[];
|
|
3295
|
-
id: string;
|
|
3296
3627
|
themeId?: string | undefined;
|
|
3297
3628
|
}>;
|
|
3298
3629
|
export type DefinitionStarter = z.infer<typeof DefinitionStarterSchema>;
|
|
@@ -3301,6 +3632,7 @@ export type DefinitionStarter = z.infer<typeof DefinitionStarterSchema>;
|
|
|
3301
3632
|
*/
|
|
3302
3633
|
export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
3303
3634
|
success: z.ZodBoolean;
|
|
3635
|
+
targetPlatform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
3304
3636
|
templateMatch: z.ZodOptional<z.ZodObject<{
|
|
3305
3637
|
templateId: z.ZodString;
|
|
3306
3638
|
templateName: z.ZodString;
|
|
@@ -3316,66 +3648,66 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3316
3648
|
slot: z.ZodString;
|
|
3317
3649
|
required: z.ZodBoolean;
|
|
3318
3650
|
}, "strip", z.ZodTypeAny, {
|
|
3651
|
+
id: string;
|
|
3319
3652
|
name: string;
|
|
3320
3653
|
required: boolean;
|
|
3321
|
-
id: string;
|
|
3322
3654
|
slot: string;
|
|
3323
3655
|
}, {
|
|
3656
|
+
id: string;
|
|
3324
3657
|
name: string;
|
|
3325
3658
|
required: boolean;
|
|
3326
|
-
id: string;
|
|
3327
3659
|
slot: string;
|
|
3328
3660
|
}>, "many">;
|
|
3329
3661
|
}, "strip", z.ZodTypeAny, {
|
|
3330
3662
|
shell: string;
|
|
3331
3663
|
page: string;
|
|
3332
3664
|
sections: {
|
|
3665
|
+
id: string;
|
|
3333
3666
|
name: string;
|
|
3334
3667
|
required: boolean;
|
|
3335
|
-
id: string;
|
|
3336
3668
|
slot: string;
|
|
3337
3669
|
}[];
|
|
3338
3670
|
}, {
|
|
3339
3671
|
shell: string;
|
|
3340
3672
|
page: string;
|
|
3341
3673
|
sections: {
|
|
3674
|
+
id: string;
|
|
3342
3675
|
name: string;
|
|
3343
3676
|
required: boolean;
|
|
3344
|
-
id: string;
|
|
3345
3677
|
slot: string;
|
|
3346
3678
|
}[];
|
|
3347
3679
|
}>>;
|
|
3348
3680
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3349
3681
|
}, "strip", z.ZodTypeAny, {
|
|
3350
|
-
category: string;
|
|
3351
3682
|
templateId: string;
|
|
3352
3683
|
templateName: string;
|
|
3684
|
+
category: string;
|
|
3353
3685
|
confidence: number;
|
|
3354
3686
|
matchedKeywords: string[];
|
|
3355
3687
|
skeleton?: {
|
|
3356
3688
|
shell: string;
|
|
3357
3689
|
page: string;
|
|
3358
3690
|
sections: {
|
|
3691
|
+
id: string;
|
|
3359
3692
|
name: string;
|
|
3360
3693
|
required: boolean;
|
|
3361
|
-
id: string;
|
|
3362
3694
|
slot: string;
|
|
3363
3695
|
}[];
|
|
3364
3696
|
} | undefined;
|
|
3365
3697
|
requiredComponents?: string[] | undefined;
|
|
3366
3698
|
}, {
|
|
3367
|
-
category: string;
|
|
3368
3699
|
templateId: string;
|
|
3369
3700
|
templateName: string;
|
|
3701
|
+
category: string;
|
|
3370
3702
|
confidence: number;
|
|
3371
3703
|
matchedKeywords: string[];
|
|
3372
3704
|
skeleton?: {
|
|
3373
3705
|
shell: string;
|
|
3374
3706
|
page: string;
|
|
3375
3707
|
sections: {
|
|
3708
|
+
id: string;
|
|
3376
3709
|
name: string;
|
|
3377
3710
|
required: boolean;
|
|
3378
|
-
id: string;
|
|
3379
3711
|
slot: string;
|
|
3380
3712
|
}[];
|
|
3381
3713
|
} | undefined;
|
|
@@ -3394,14 +3726,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3394
3726
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3395
3727
|
description: z.ZodOptional<z.ZodString>;
|
|
3396
3728
|
}, "strip", z.ZodTypeAny, {
|
|
3397
|
-
name: string;
|
|
3398
3729
|
type: string;
|
|
3730
|
+
name: string;
|
|
3399
3731
|
required: boolean;
|
|
3400
3732
|
description?: string | undefined;
|
|
3401
3733
|
defaultValue?: string | undefined;
|
|
3402
3734
|
}, {
|
|
3403
|
-
name: string;
|
|
3404
3735
|
type: string;
|
|
3736
|
+
name: string;
|
|
3405
3737
|
required: boolean;
|
|
3406
3738
|
description?: string | undefined;
|
|
3407
3739
|
defaultValue?: string | undefined;
|
|
@@ -3411,50 +3743,93 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3411
3743
|
value: z.ZodString;
|
|
3412
3744
|
description: z.ZodOptional<z.ZodString>;
|
|
3413
3745
|
}, "strip", z.ZodTypeAny, {
|
|
3414
|
-
name: string;
|
|
3415
3746
|
value: string;
|
|
3747
|
+
name: string;
|
|
3416
3748
|
description?: string | undefined;
|
|
3417
3749
|
}, {
|
|
3418
|
-
name: string;
|
|
3419
3750
|
value: string;
|
|
3751
|
+
name: string;
|
|
3420
3752
|
description?: string | undefined;
|
|
3421
3753
|
}>, "many">>;
|
|
3754
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
3755
|
+
target: z.ZodEnum<["web", "react-native"]>;
|
|
3756
|
+
supported: z.ZodBoolean;
|
|
3757
|
+
recommended: z.ZodBoolean;
|
|
3758
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
3759
|
+
notes: z.ZodArray<z.ZodString, "many">;
|
|
3760
|
+
recommendedImports: z.ZodArray<z.ZodString, "many">;
|
|
3761
|
+
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
3762
|
+
}, "strip", z.ZodTypeAny, {
|
|
3763
|
+
status: "full" | "partial" | "avoid";
|
|
3764
|
+
notes: string[];
|
|
3765
|
+
supported: boolean;
|
|
3766
|
+
recommended: boolean;
|
|
3767
|
+
target: "web" | "react-native";
|
|
3768
|
+
recommendedImports: string[];
|
|
3769
|
+
recommendedPackages: string[];
|
|
3770
|
+
}, {
|
|
3771
|
+
status: "full" | "partial" | "avoid";
|
|
3772
|
+
notes: string[];
|
|
3773
|
+
supported: boolean;
|
|
3774
|
+
recommended: boolean;
|
|
3775
|
+
target: "web" | "react-native";
|
|
3776
|
+
recommendedImports: string[];
|
|
3777
|
+
recommendedPackages: string[];
|
|
3778
|
+
}>>;
|
|
3422
3779
|
}, "strip", z.ZodTypeAny, {
|
|
3423
|
-
category: "core" | "complex" | "advanced";
|
|
3424
|
-
name: string;
|
|
3425
3780
|
description: string;
|
|
3781
|
+
category: "core" | "complex" | "advanced";
|
|
3426
3782
|
id: string;
|
|
3783
|
+
name: string;
|
|
3427
3784
|
importStatement: string;
|
|
3428
3785
|
props: {
|
|
3429
|
-
name: string;
|
|
3430
3786
|
type: string;
|
|
3787
|
+
name: string;
|
|
3431
3788
|
required: boolean;
|
|
3432
3789
|
description?: string | undefined;
|
|
3433
3790
|
defaultValue?: string | undefined;
|
|
3434
3791
|
}[];
|
|
3435
3792
|
variants?: {
|
|
3436
|
-
name: string;
|
|
3437
3793
|
value: string;
|
|
3794
|
+
name: string;
|
|
3438
3795
|
description?: string | undefined;
|
|
3439
3796
|
}[] | undefined;
|
|
3797
|
+
platformSupport?: {
|
|
3798
|
+
status: "full" | "partial" | "avoid";
|
|
3799
|
+
notes: string[];
|
|
3800
|
+
supported: boolean;
|
|
3801
|
+
recommended: boolean;
|
|
3802
|
+
target: "web" | "react-native";
|
|
3803
|
+
recommendedImports: string[];
|
|
3804
|
+
recommendedPackages: string[];
|
|
3805
|
+
} | undefined;
|
|
3440
3806
|
}, {
|
|
3441
|
-
category: "core" | "complex" | "advanced";
|
|
3442
|
-
name: string;
|
|
3443
3807
|
description: string;
|
|
3808
|
+
category: "core" | "complex" | "advanced";
|
|
3444
3809
|
id: string;
|
|
3810
|
+
name: string;
|
|
3445
3811
|
importStatement: string;
|
|
3446
3812
|
props: {
|
|
3447
|
-
name: string;
|
|
3448
3813
|
type: string;
|
|
3814
|
+
name: string;
|
|
3449
3815
|
required: boolean;
|
|
3450
3816
|
description?: string | undefined;
|
|
3451
3817
|
defaultValue?: string | undefined;
|
|
3452
3818
|
}[];
|
|
3453
3819
|
variants?: {
|
|
3454
|
-
name: string;
|
|
3455
3820
|
value: string;
|
|
3821
|
+
name: string;
|
|
3456
3822
|
description?: string | undefined;
|
|
3457
3823
|
}[] | undefined;
|
|
3824
|
+
platformSupport?: {
|
|
3825
|
+
status: "full" | "partial" | "avoid";
|
|
3826
|
+
notes: string[];
|
|
3827
|
+
supported: boolean;
|
|
3828
|
+
recommended: boolean;
|
|
3829
|
+
target: "web" | "react-native";
|
|
3830
|
+
recommendedImports: string[];
|
|
3831
|
+
recommendedPackages: string[];
|
|
3832
|
+
} | undefined;
|
|
3458
3833
|
}>, "many">>;
|
|
3459
3834
|
definitionStarter: z.ZodOptional<z.ZodObject<{
|
|
3460
3835
|
id: z.ZodString;
|
|
@@ -3475,45 +3850,45 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3475
3850
|
props?: Record<string, unknown> | undefined;
|
|
3476
3851
|
}>, "many">;
|
|
3477
3852
|
}, "strip", z.ZodTypeAny, {
|
|
3478
|
-
pattern: string;
|
|
3479
3853
|
id: string;
|
|
3480
3854
|
components: {
|
|
3481
3855
|
type: string;
|
|
3482
3856
|
props?: Record<string, unknown> | undefined;
|
|
3483
3857
|
}[];
|
|
3484
|
-
}, {
|
|
3485
3858
|
pattern: string;
|
|
3859
|
+
}, {
|
|
3486
3860
|
id: string;
|
|
3487
3861
|
components: {
|
|
3488
3862
|
type: string;
|
|
3489
3863
|
props?: Record<string, unknown> | undefined;
|
|
3490
3864
|
}[];
|
|
3865
|
+
pattern: string;
|
|
3491
3866
|
}>, "many">;
|
|
3492
3867
|
}, "strip", z.ZodTypeAny, {
|
|
3493
3868
|
shell: string;
|
|
3494
3869
|
page: string;
|
|
3870
|
+
id: string;
|
|
3495
3871
|
sections: {
|
|
3496
|
-
pattern: string;
|
|
3497
3872
|
id: string;
|
|
3498
3873
|
components: {
|
|
3499
3874
|
type: string;
|
|
3500
3875
|
props?: Record<string, unknown> | undefined;
|
|
3501
3876
|
}[];
|
|
3877
|
+
pattern: string;
|
|
3502
3878
|
}[];
|
|
3503
|
-
id: string;
|
|
3504
3879
|
themeId?: string | undefined;
|
|
3505
3880
|
}, {
|
|
3506
3881
|
shell: string;
|
|
3507
3882
|
page: string;
|
|
3883
|
+
id: string;
|
|
3508
3884
|
sections: {
|
|
3509
|
-
pattern: string;
|
|
3510
3885
|
id: string;
|
|
3511
3886
|
components: {
|
|
3512
3887
|
type: string;
|
|
3513
3888
|
props?: Record<string, unknown> | undefined;
|
|
3514
3889
|
}[];
|
|
3890
|
+
pattern: string;
|
|
3515
3891
|
}[];
|
|
3516
|
-
id: string;
|
|
3517
3892
|
themeId?: string | undefined;
|
|
3518
3893
|
}>>;
|
|
3519
3894
|
schema: z.ZodOptional<z.ZodObject<{
|
|
@@ -3554,22 +3929,22 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3554
3929
|
children?: string | unknown[] | undefined;
|
|
3555
3930
|
}>, "many">;
|
|
3556
3931
|
}, "strip", z.ZodTypeAny, {
|
|
3557
|
-
pattern: string;
|
|
3558
3932
|
id: string;
|
|
3559
3933
|
components: {
|
|
3560
3934
|
type: string;
|
|
3561
3935
|
props?: Record<string, unknown> | undefined;
|
|
3562
3936
|
children?: string | unknown[] | undefined;
|
|
3563
3937
|
}[];
|
|
3938
|
+
pattern: string;
|
|
3564
3939
|
slot?: string | undefined;
|
|
3565
3940
|
}, {
|
|
3566
|
-
pattern: string;
|
|
3567
3941
|
id: string;
|
|
3568
3942
|
components: {
|
|
3569
3943
|
type: string;
|
|
3570
3944
|
props?: Record<string, unknown> | undefined;
|
|
3571
3945
|
children?: string | unknown[] | undefined;
|
|
3572
3946
|
}[];
|
|
3947
|
+
pattern: string;
|
|
3573
3948
|
slot?: string | undefined;
|
|
3574
3949
|
}>, "many">;
|
|
3575
3950
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3591,103 +3966,103 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3591
3966
|
}, "strip", z.ZodTypeAny, {
|
|
3592
3967
|
shell: string;
|
|
3593
3968
|
page: string;
|
|
3969
|
+
id: string;
|
|
3594
3970
|
sections: {
|
|
3595
|
-
pattern: string;
|
|
3596
3971
|
id: string;
|
|
3597
3972
|
components: {
|
|
3598
3973
|
type: string;
|
|
3599
3974
|
props?: Record<string, unknown> | undefined;
|
|
3600
3975
|
children?: string | unknown[] | undefined;
|
|
3601
3976
|
}[];
|
|
3977
|
+
pattern: string;
|
|
3602
3978
|
slot?: string | undefined;
|
|
3603
3979
|
}[];
|
|
3604
|
-
id: string;
|
|
3605
|
-
name?: string | undefined;
|
|
3606
3980
|
description?: string | undefined;
|
|
3981
|
+
themeId?: string | undefined;
|
|
3982
|
+
name?: string | undefined;
|
|
3607
3983
|
metadata?: {
|
|
3608
3984
|
version?: string | undefined;
|
|
3609
3985
|
created?: string | undefined;
|
|
3610
3986
|
updated?: string | undefined;
|
|
3611
3987
|
author?: string | undefined;
|
|
3612
3988
|
} | undefined;
|
|
3613
|
-
themeId?: string | undefined;
|
|
3614
3989
|
}, {
|
|
3615
3990
|
shell: string;
|
|
3616
3991
|
page: string;
|
|
3992
|
+
id: string;
|
|
3617
3993
|
sections: {
|
|
3618
|
-
pattern: string;
|
|
3619
3994
|
id: string;
|
|
3620
3995
|
components: {
|
|
3621
3996
|
type: string;
|
|
3622
3997
|
props?: Record<string, unknown> | undefined;
|
|
3623
3998
|
children?: string | unknown[] | undefined;
|
|
3624
3999
|
}[];
|
|
4000
|
+
pattern: string;
|
|
3625
4001
|
slot?: string | undefined;
|
|
3626
4002
|
}[];
|
|
3627
|
-
id: string;
|
|
3628
|
-
name?: string | undefined;
|
|
3629
4003
|
description?: string | undefined;
|
|
4004
|
+
themeId?: string | undefined;
|
|
4005
|
+
name?: string | undefined;
|
|
3630
4006
|
metadata?: {
|
|
3631
4007
|
version?: string | undefined;
|
|
3632
4008
|
created?: string | undefined;
|
|
3633
4009
|
updated?: string | undefined;
|
|
3634
4010
|
author?: string | undefined;
|
|
3635
4011
|
} | undefined;
|
|
3636
|
-
themeId?: string | undefined;
|
|
3637
4012
|
}>;
|
|
3638
4013
|
}, "strip", z.ZodTypeAny, {
|
|
3639
|
-
name: string;
|
|
3640
4014
|
description: string;
|
|
4015
|
+
name: string;
|
|
3641
4016
|
definition: {
|
|
3642
4017
|
shell: string;
|
|
3643
4018
|
page: string;
|
|
4019
|
+
id: string;
|
|
3644
4020
|
sections: {
|
|
3645
|
-
pattern: string;
|
|
3646
4021
|
id: string;
|
|
3647
4022
|
components: {
|
|
3648
4023
|
type: string;
|
|
3649
4024
|
props?: Record<string, unknown> | undefined;
|
|
3650
4025
|
children?: string | unknown[] | undefined;
|
|
3651
4026
|
}[];
|
|
4027
|
+
pattern: string;
|
|
3652
4028
|
slot?: string | undefined;
|
|
3653
4029
|
}[];
|
|
3654
|
-
id: string;
|
|
3655
|
-
name?: string | undefined;
|
|
3656
4030
|
description?: string | undefined;
|
|
4031
|
+
themeId?: string | undefined;
|
|
4032
|
+
name?: string | undefined;
|
|
3657
4033
|
metadata?: {
|
|
3658
4034
|
version?: string | undefined;
|
|
3659
4035
|
created?: string | undefined;
|
|
3660
4036
|
updated?: string | undefined;
|
|
3661
4037
|
author?: string | undefined;
|
|
3662
4038
|
} | undefined;
|
|
3663
|
-
themeId?: string | undefined;
|
|
3664
4039
|
};
|
|
3665
4040
|
}, {
|
|
3666
|
-
name: string;
|
|
3667
4041
|
description: string;
|
|
4042
|
+
name: string;
|
|
3668
4043
|
definition: {
|
|
3669
4044
|
shell: string;
|
|
3670
4045
|
page: string;
|
|
4046
|
+
id: string;
|
|
3671
4047
|
sections: {
|
|
3672
|
-
pattern: string;
|
|
3673
4048
|
id: string;
|
|
3674
4049
|
components: {
|
|
3675
4050
|
type: string;
|
|
3676
4051
|
props?: Record<string, unknown> | undefined;
|
|
3677
4052
|
children?: string | unknown[] | undefined;
|
|
3678
4053
|
}[];
|
|
4054
|
+
pattern: string;
|
|
3679
4055
|
slot?: string | undefined;
|
|
3680
4056
|
}[];
|
|
3681
|
-
id: string;
|
|
3682
|
-
name?: string | undefined;
|
|
3683
4057
|
description?: string | undefined;
|
|
4058
|
+
themeId?: string | undefined;
|
|
4059
|
+
name?: string | undefined;
|
|
3684
4060
|
metadata?: {
|
|
3685
4061
|
version?: string | undefined;
|
|
3686
4062
|
created?: string | undefined;
|
|
3687
4063
|
updated?: string | undefined;
|
|
3688
4064
|
author?: string | undefined;
|
|
3689
4065
|
} | undefined;
|
|
3690
|
-
themeId?: string | undefined;
|
|
3691
4066
|
};
|
|
3692
4067
|
}>, "many">>;
|
|
3693
4068
|
themeRecipes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3709,13 +4084,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3709
4084
|
message: z.ZodString;
|
|
3710
4085
|
example: z.ZodOptional<z.ZodString>;
|
|
3711
4086
|
}, "strip", z.ZodTypeAny, {
|
|
3712
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3713
4087
|
message: string;
|
|
4088
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3714
4089
|
priority: "high" | "medium" | "low";
|
|
3715
4090
|
example?: string | undefined;
|
|
3716
4091
|
}, {
|
|
3717
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3718
4092
|
message: string;
|
|
4093
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3719
4094
|
priority: "high" | "medium" | "low";
|
|
3720
4095
|
example?: string | undefined;
|
|
3721
4096
|
}>, "many">>;
|
|
@@ -3730,14 +4105,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3730
4105
|
example: z.ZodOptional<z.ZodString>;
|
|
3731
4106
|
}, "strip", z.ZodTypeAny, {
|
|
3732
4107
|
description: string;
|
|
3733
|
-
action: string;
|
|
3734
4108
|
step: number;
|
|
4109
|
+
action: string;
|
|
3735
4110
|
example?: string | undefined;
|
|
3736
4111
|
tool?: string | undefined;
|
|
3737
4112
|
}, {
|
|
3738
4113
|
description: string;
|
|
3739
|
-
action: string;
|
|
3740
4114
|
step: number;
|
|
4115
|
+
action: string;
|
|
3741
4116
|
example?: string | undefined;
|
|
3742
4117
|
tool?: string | undefined;
|
|
3743
4118
|
}>, "many">;
|
|
@@ -3747,8 +4122,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3747
4122
|
title: string;
|
|
3748
4123
|
steps: {
|
|
3749
4124
|
description: string;
|
|
3750
|
-
action: string;
|
|
3751
4125
|
step: number;
|
|
4126
|
+
action: string;
|
|
3752
4127
|
example?: string | undefined;
|
|
3753
4128
|
tool?: string | undefined;
|
|
3754
4129
|
}[];
|
|
@@ -3758,77 +4133,115 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3758
4133
|
title: string;
|
|
3759
4134
|
steps: {
|
|
3760
4135
|
description: string;
|
|
3761
|
-
action: string;
|
|
3762
4136
|
step: number;
|
|
4137
|
+
action: string;
|
|
3763
4138
|
example?: string | undefined;
|
|
3764
4139
|
tool?: string | undefined;
|
|
3765
4140
|
}[];
|
|
3766
4141
|
notes?: string[] | undefined;
|
|
3767
4142
|
}>>;
|
|
4143
|
+
directWrite: z.ZodOptional<z.ZodObject<{
|
|
4144
|
+
runtime: z.ZodString;
|
|
4145
|
+
entryStrategy: z.ZodString;
|
|
4146
|
+
stylingStrategy: z.ZodString;
|
|
4147
|
+
validationStrategy: z.ZodString;
|
|
4148
|
+
}, "strip", z.ZodTypeAny, {
|
|
4149
|
+
runtime: string;
|
|
4150
|
+
entryStrategy: string;
|
|
4151
|
+
stylingStrategy: string;
|
|
4152
|
+
validationStrategy: string;
|
|
4153
|
+
}, {
|
|
4154
|
+
runtime: string;
|
|
4155
|
+
entryStrategy: string;
|
|
4156
|
+
stylingStrategy: string;
|
|
4157
|
+
validationStrategy: string;
|
|
4158
|
+
}>>;
|
|
3768
4159
|
error: z.ZodOptional<z.ZodString>;
|
|
3769
4160
|
}, "strip", z.ZodTypeAny, {
|
|
3770
4161
|
success: boolean;
|
|
3771
4162
|
error?: string | undefined;
|
|
3772
4163
|
components?: {
|
|
3773
|
-
category: "core" | "complex" | "advanced";
|
|
3774
|
-
name: string;
|
|
3775
4164
|
description: string;
|
|
4165
|
+
category: "core" | "complex" | "advanced";
|
|
3776
4166
|
id: string;
|
|
4167
|
+
name: string;
|
|
3777
4168
|
importStatement: string;
|
|
3778
4169
|
props: {
|
|
3779
|
-
name: string;
|
|
3780
4170
|
type: string;
|
|
4171
|
+
name: string;
|
|
3781
4172
|
required: boolean;
|
|
3782
4173
|
description?: string | undefined;
|
|
3783
4174
|
defaultValue?: string | undefined;
|
|
3784
4175
|
}[];
|
|
3785
4176
|
variants?: {
|
|
3786
|
-
name: string;
|
|
3787
4177
|
value: string;
|
|
4178
|
+
name: string;
|
|
3788
4179
|
description?: string | undefined;
|
|
3789
4180
|
}[] | undefined;
|
|
4181
|
+
platformSupport?: {
|
|
4182
|
+
status: "full" | "partial" | "avoid";
|
|
4183
|
+
notes: string[];
|
|
4184
|
+
supported: boolean;
|
|
4185
|
+
recommended: boolean;
|
|
4186
|
+
target: "web" | "react-native";
|
|
4187
|
+
recommendedImports: string[];
|
|
4188
|
+
recommendedPackages: string[];
|
|
4189
|
+
} | undefined;
|
|
3790
4190
|
}[] | undefined;
|
|
4191
|
+
workflow?: {
|
|
4192
|
+
description: string;
|
|
4193
|
+
title: string;
|
|
4194
|
+
steps: {
|
|
4195
|
+
description: string;
|
|
4196
|
+
step: number;
|
|
4197
|
+
action: string;
|
|
4198
|
+
example?: string | undefined;
|
|
4199
|
+
tool?: string | undefined;
|
|
4200
|
+
}[];
|
|
4201
|
+
notes?: string[] | undefined;
|
|
4202
|
+
} | undefined;
|
|
3791
4203
|
examples?: {
|
|
3792
|
-
name: string;
|
|
3793
4204
|
description: string;
|
|
4205
|
+
name: string;
|
|
3794
4206
|
definition: {
|
|
3795
4207
|
shell: string;
|
|
3796
4208
|
page: string;
|
|
4209
|
+
id: string;
|
|
3797
4210
|
sections: {
|
|
3798
|
-
pattern: string;
|
|
3799
4211
|
id: string;
|
|
3800
4212
|
components: {
|
|
3801
4213
|
type: string;
|
|
3802
4214
|
props?: Record<string, unknown> | undefined;
|
|
3803
4215
|
children?: string | unknown[] | undefined;
|
|
3804
4216
|
}[];
|
|
4217
|
+
pattern: string;
|
|
3805
4218
|
slot?: string | undefined;
|
|
3806
4219
|
}[];
|
|
3807
|
-
id: string;
|
|
3808
|
-
name?: string | undefined;
|
|
3809
4220
|
description?: string | undefined;
|
|
4221
|
+
themeId?: string | undefined;
|
|
4222
|
+
name?: string | undefined;
|
|
3810
4223
|
metadata?: {
|
|
3811
4224
|
version?: string | undefined;
|
|
3812
4225
|
created?: string | undefined;
|
|
3813
4226
|
updated?: string | undefined;
|
|
3814
4227
|
author?: string | undefined;
|
|
3815
4228
|
} | undefined;
|
|
3816
|
-
themeId?: string | undefined;
|
|
3817
4229
|
};
|
|
3818
4230
|
}[] | undefined;
|
|
4231
|
+
targetPlatform?: "web" | "react-native" | undefined;
|
|
3819
4232
|
templateMatch?: {
|
|
3820
|
-
category: string;
|
|
3821
4233
|
templateId: string;
|
|
3822
4234
|
templateName: string;
|
|
4235
|
+
category: string;
|
|
3823
4236
|
confidence: number;
|
|
3824
4237
|
matchedKeywords: string[];
|
|
3825
4238
|
skeleton?: {
|
|
3826
4239
|
shell: string;
|
|
3827
4240
|
page: string;
|
|
3828
4241
|
sections: {
|
|
4242
|
+
id: string;
|
|
3829
4243
|
name: string;
|
|
3830
4244
|
required: boolean;
|
|
3831
|
-
id: string;
|
|
3832
4245
|
slot: string;
|
|
3833
4246
|
}[];
|
|
3834
4247
|
} | undefined;
|
|
@@ -3837,15 +4250,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3837
4250
|
definitionStarter?: {
|
|
3838
4251
|
shell: string;
|
|
3839
4252
|
page: string;
|
|
4253
|
+
id: string;
|
|
3840
4254
|
sections: {
|
|
3841
|
-
pattern: string;
|
|
3842
4255
|
id: string;
|
|
3843
4256
|
components: {
|
|
3844
4257
|
type: string;
|
|
3845
4258
|
props?: Record<string, unknown> | undefined;
|
|
3846
4259
|
}[];
|
|
4260
|
+
pattern: string;
|
|
3847
4261
|
}[];
|
|
3848
|
-
id: string;
|
|
3849
4262
|
themeId?: string | undefined;
|
|
3850
4263
|
} | undefined;
|
|
3851
4264
|
schema?: {
|
|
@@ -3858,86 +4271,102 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3858
4271
|
defaultClassName?: string | undefined;
|
|
3859
4272
|
}[] | undefined;
|
|
3860
4273
|
hints?: {
|
|
3861
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3862
4274
|
message: string;
|
|
4275
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3863
4276
|
priority: "high" | "medium" | "low";
|
|
3864
4277
|
example?: string | undefined;
|
|
3865
4278
|
}[] | undefined;
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
action: string;
|
|
3872
|
-
step: number;
|
|
3873
|
-
example?: string | undefined;
|
|
3874
|
-
tool?: string | undefined;
|
|
3875
|
-
}[];
|
|
3876
|
-
notes?: string[] | undefined;
|
|
4279
|
+
directWrite?: {
|
|
4280
|
+
runtime: string;
|
|
4281
|
+
entryStrategy: string;
|
|
4282
|
+
stylingStrategy: string;
|
|
4283
|
+
validationStrategy: string;
|
|
3877
4284
|
} | undefined;
|
|
3878
4285
|
}, {
|
|
3879
4286
|
success: boolean;
|
|
3880
4287
|
error?: string | undefined;
|
|
3881
4288
|
components?: {
|
|
3882
|
-
category: "core" | "complex" | "advanced";
|
|
3883
|
-
name: string;
|
|
3884
4289
|
description: string;
|
|
4290
|
+
category: "core" | "complex" | "advanced";
|
|
3885
4291
|
id: string;
|
|
4292
|
+
name: string;
|
|
3886
4293
|
importStatement: string;
|
|
3887
4294
|
props: {
|
|
3888
|
-
name: string;
|
|
3889
4295
|
type: string;
|
|
4296
|
+
name: string;
|
|
3890
4297
|
required: boolean;
|
|
3891
4298
|
description?: string | undefined;
|
|
3892
4299
|
defaultValue?: string | undefined;
|
|
3893
4300
|
}[];
|
|
3894
4301
|
variants?: {
|
|
3895
|
-
name: string;
|
|
3896
4302
|
value: string;
|
|
4303
|
+
name: string;
|
|
3897
4304
|
description?: string | undefined;
|
|
3898
4305
|
}[] | undefined;
|
|
4306
|
+
platformSupport?: {
|
|
4307
|
+
status: "full" | "partial" | "avoid";
|
|
4308
|
+
notes: string[];
|
|
4309
|
+
supported: boolean;
|
|
4310
|
+
recommended: boolean;
|
|
4311
|
+
target: "web" | "react-native";
|
|
4312
|
+
recommendedImports: string[];
|
|
4313
|
+
recommendedPackages: string[];
|
|
4314
|
+
} | undefined;
|
|
3899
4315
|
}[] | undefined;
|
|
4316
|
+
workflow?: {
|
|
4317
|
+
description: string;
|
|
4318
|
+
title: string;
|
|
4319
|
+
steps: {
|
|
4320
|
+
description: string;
|
|
4321
|
+
step: number;
|
|
4322
|
+
action: string;
|
|
4323
|
+
example?: string | undefined;
|
|
4324
|
+
tool?: string | undefined;
|
|
4325
|
+
}[];
|
|
4326
|
+
notes?: string[] | undefined;
|
|
4327
|
+
} | undefined;
|
|
3900
4328
|
examples?: {
|
|
3901
|
-
name: string;
|
|
3902
4329
|
description: string;
|
|
4330
|
+
name: string;
|
|
3903
4331
|
definition: {
|
|
3904
4332
|
shell: string;
|
|
3905
4333
|
page: string;
|
|
4334
|
+
id: string;
|
|
3906
4335
|
sections: {
|
|
3907
|
-
pattern: string;
|
|
3908
4336
|
id: string;
|
|
3909
4337
|
components: {
|
|
3910
4338
|
type: string;
|
|
3911
4339
|
props?: Record<string, unknown> | undefined;
|
|
3912
4340
|
children?: string | unknown[] | undefined;
|
|
3913
4341
|
}[];
|
|
4342
|
+
pattern: string;
|
|
3914
4343
|
slot?: string | undefined;
|
|
3915
4344
|
}[];
|
|
3916
|
-
id: string;
|
|
3917
|
-
name?: string | undefined;
|
|
3918
4345
|
description?: string | undefined;
|
|
4346
|
+
themeId?: string | undefined;
|
|
4347
|
+
name?: string | undefined;
|
|
3919
4348
|
metadata?: {
|
|
3920
4349
|
version?: string | undefined;
|
|
3921
4350
|
created?: string | undefined;
|
|
3922
4351
|
updated?: string | undefined;
|
|
3923
4352
|
author?: string | undefined;
|
|
3924
4353
|
} | undefined;
|
|
3925
|
-
themeId?: string | undefined;
|
|
3926
4354
|
};
|
|
3927
4355
|
}[] | undefined;
|
|
4356
|
+
targetPlatform?: "web" | "react-native" | undefined;
|
|
3928
4357
|
templateMatch?: {
|
|
3929
|
-
category: string;
|
|
3930
4358
|
templateId: string;
|
|
3931
4359
|
templateName: string;
|
|
4360
|
+
category: string;
|
|
3932
4361
|
confidence: number;
|
|
3933
4362
|
matchedKeywords: string[];
|
|
3934
4363
|
skeleton?: {
|
|
3935
4364
|
shell: string;
|
|
3936
4365
|
page: string;
|
|
3937
4366
|
sections: {
|
|
4367
|
+
id: string;
|
|
3938
4368
|
name: string;
|
|
3939
4369
|
required: boolean;
|
|
3940
|
-
id: string;
|
|
3941
4370
|
slot: string;
|
|
3942
4371
|
}[];
|
|
3943
4372
|
} | undefined;
|
|
@@ -3946,15 +4375,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3946
4375
|
definitionStarter?: {
|
|
3947
4376
|
shell: string;
|
|
3948
4377
|
page: string;
|
|
4378
|
+
id: string;
|
|
3949
4379
|
sections: {
|
|
3950
|
-
pattern: string;
|
|
3951
4380
|
id: string;
|
|
3952
4381
|
components: {
|
|
3953
4382
|
type: string;
|
|
3954
4383
|
props?: Record<string, unknown> | undefined;
|
|
3955
4384
|
}[];
|
|
4385
|
+
pattern: string;
|
|
3956
4386
|
}[];
|
|
3957
|
-
id: string;
|
|
3958
4387
|
themeId?: string | undefined;
|
|
3959
4388
|
} | undefined;
|
|
3960
4389
|
schema?: {
|
|
@@ -3967,22 +4396,16 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3967
4396
|
defaultClassName?: string | undefined;
|
|
3968
4397
|
}[] | undefined;
|
|
3969
4398
|
hints?: {
|
|
3970
|
-
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3971
4399
|
message: string;
|
|
4400
|
+
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3972
4401
|
priority: "high" | "medium" | "low";
|
|
3973
4402
|
example?: string | undefined;
|
|
3974
4403
|
}[] | undefined;
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
action: string;
|
|
3981
|
-
step: number;
|
|
3982
|
-
example?: string | undefined;
|
|
3983
|
-
tool?: string | undefined;
|
|
3984
|
-
}[];
|
|
3985
|
-
notes?: string[] | undefined;
|
|
4404
|
+
directWrite?: {
|
|
4405
|
+
runtime: string;
|
|
4406
|
+
entryStrategy: string;
|
|
4407
|
+
stylingStrategy: string;
|
|
4408
|
+
validationStrategy: string;
|
|
3986
4409
|
} | undefined;
|
|
3987
4410
|
}>;
|
|
3988
4411
|
export type GetScreenGenerationContextOutput = z.infer<typeof GetScreenGenerationContextOutputSchema>;
|
|
@@ -4034,7 +4457,7 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
4034
4457
|
prettier?: boolean | undefined;
|
|
4035
4458
|
}>>;
|
|
4036
4459
|
}, "strip", z.ZodTypeAny, {
|
|
4037
|
-
outputFormat: "css-in-js" | "tailwind"
|
|
4460
|
+
outputFormat: "react" | "css-in-js" | "tailwind";
|
|
4038
4461
|
options?: {
|
|
4039
4462
|
typescript: boolean;
|
|
4040
4463
|
prettier: boolean;
|
|
@@ -4042,7 +4465,7 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
4042
4465
|
} | undefined;
|
|
4043
4466
|
screenDefinition?: unknown;
|
|
4044
4467
|
}, {
|
|
4045
|
-
outputFormat: "css-in-js" | "tailwind"
|
|
4468
|
+
outputFormat: "react" | "css-in-js" | "tailwind";
|
|
4046
4469
|
options?: {
|
|
4047
4470
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
4048
4471
|
typescript?: boolean | undefined;
|
|
@@ -4108,9 +4531,9 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
4108
4531
|
value?: unknown;
|
|
4109
4532
|
}>, "many">>;
|
|
4110
4533
|
}, "strip", z.ZodTypeAny, {
|
|
4111
|
-
message: string;
|
|
4112
4534
|
code: string;
|
|
4113
4535
|
path: string;
|
|
4536
|
+
message: string;
|
|
4114
4537
|
expected?: string | undefined;
|
|
4115
4538
|
received?: string | undefined;
|
|
4116
4539
|
suggestion?: string | undefined;
|
|
@@ -4120,9 +4543,9 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
4120
4543
|
value?: unknown;
|
|
4121
4544
|
}[] | undefined;
|
|
4122
4545
|
}, {
|
|
4123
|
-
message: string;
|
|
4124
4546
|
code: string;
|
|
4125
4547
|
path: string;
|
|
4548
|
+
message: string;
|
|
4126
4549
|
expected?: string | undefined;
|
|
4127
4550
|
received?: string | undefined;
|
|
4128
4551
|
suggestion?: string | undefined;
|
|
@@ -4142,14 +4565,14 @@ export declare const ValidationWarningSchema: z.ZodObject<{
|
|
|
4142
4565
|
message: z.ZodString;
|
|
4143
4566
|
recommendation: z.ZodOptional<z.ZodString>;
|
|
4144
4567
|
}, "strip", z.ZodTypeAny, {
|
|
4145
|
-
message: string;
|
|
4146
4568
|
code: string;
|
|
4147
4569
|
path: string;
|
|
4570
|
+
message: string;
|
|
4148
4571
|
recommendation?: string | undefined;
|
|
4149
4572
|
}, {
|
|
4150
|
-
message: string;
|
|
4151
4573
|
code: string;
|
|
4152
4574
|
path: string;
|
|
4575
|
+
message: string;
|
|
4153
4576
|
recommendation?: string | undefined;
|
|
4154
4577
|
}>;
|
|
4155
4578
|
export type ValidationWarning = z.infer<typeof ValidationWarningSchema>;
|
|
@@ -4175,8 +4598,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4175
4598
|
value?: unknown;
|
|
4176
4599
|
}>, "many">>;
|
|
4177
4600
|
}, "strip", z.ZodTypeAny, {
|
|
4178
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4179
4601
|
message: string;
|
|
4602
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4180
4603
|
autoFix?: {
|
|
4181
4604
|
path: string;
|
|
4182
4605
|
op: "replace" | "add" | "remove";
|
|
@@ -4185,8 +4608,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4185
4608
|
affectedPath?: string | undefined;
|
|
4186
4609
|
suggestedChange?: string | undefined;
|
|
4187
4610
|
}, {
|
|
4188
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4189
4611
|
message: string;
|
|
4612
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4190
4613
|
autoFix?: {
|
|
4191
4614
|
path: string;
|
|
4192
4615
|
op: "replace" | "add" | "remove";
|
|
@@ -4223,9 +4646,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4223
4646
|
value?: unknown;
|
|
4224
4647
|
}>, "many">>;
|
|
4225
4648
|
}, "strip", z.ZodTypeAny, {
|
|
4226
|
-
message: string;
|
|
4227
4649
|
code: string;
|
|
4228
4650
|
path: string;
|
|
4651
|
+
message: string;
|
|
4229
4652
|
expected?: string | undefined;
|
|
4230
4653
|
received?: string | undefined;
|
|
4231
4654
|
suggestion?: string | undefined;
|
|
@@ -4235,9 +4658,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4235
4658
|
value?: unknown;
|
|
4236
4659
|
}[] | undefined;
|
|
4237
4660
|
}, {
|
|
4238
|
-
message: string;
|
|
4239
4661
|
code: string;
|
|
4240
4662
|
path: string;
|
|
4663
|
+
message: string;
|
|
4241
4664
|
expected?: string | undefined;
|
|
4242
4665
|
received?: string | undefined;
|
|
4243
4666
|
suggestion?: string | undefined;
|
|
@@ -4253,14 +4676,14 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4253
4676
|
message: z.ZodString;
|
|
4254
4677
|
recommendation: z.ZodOptional<z.ZodString>;
|
|
4255
4678
|
}, "strip", z.ZodTypeAny, {
|
|
4256
|
-
message: string;
|
|
4257
4679
|
code: string;
|
|
4258
4680
|
path: string;
|
|
4681
|
+
message: string;
|
|
4259
4682
|
recommendation?: string | undefined;
|
|
4260
4683
|
}, {
|
|
4261
|
-
message: string;
|
|
4262
4684
|
code: string;
|
|
4263
4685
|
path: string;
|
|
4686
|
+
message: string;
|
|
4264
4687
|
recommendation?: string | undefined;
|
|
4265
4688
|
}>, "many">>;
|
|
4266
4689
|
suggestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4282,8 +4705,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4282
4705
|
value?: unknown;
|
|
4283
4706
|
}>, "many">>;
|
|
4284
4707
|
}, "strip", z.ZodTypeAny, {
|
|
4285
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4286
4708
|
message: string;
|
|
4709
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4287
4710
|
autoFix?: {
|
|
4288
4711
|
path: string;
|
|
4289
4712
|
op: "replace" | "add" | "remove";
|
|
@@ -4292,8 +4715,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4292
4715
|
affectedPath?: string | undefined;
|
|
4293
4716
|
suggestedChange?: string | undefined;
|
|
4294
4717
|
}, {
|
|
4295
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4296
4718
|
message: string;
|
|
4719
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4297
4720
|
autoFix?: {
|
|
4298
4721
|
path: string;
|
|
4299
4722
|
op: "replace" | "add" | "remove";
|
|
@@ -4318,12 +4741,12 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4318
4741
|
error: z.ZodOptional<z.ZodString>;
|
|
4319
4742
|
}, "strip", z.ZodTypeAny, {
|
|
4320
4743
|
success: boolean;
|
|
4321
|
-
error?: string | undefined;
|
|
4322
4744
|
valid?: boolean | undefined;
|
|
4745
|
+
error?: string | undefined;
|
|
4323
4746
|
errors?: {
|
|
4324
|
-
message: string;
|
|
4325
4747
|
code: string;
|
|
4326
4748
|
path: string;
|
|
4749
|
+
message: string;
|
|
4327
4750
|
expected?: string | undefined;
|
|
4328
4751
|
received?: string | undefined;
|
|
4329
4752
|
suggestion?: string | undefined;
|
|
@@ -4334,14 +4757,14 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4334
4757
|
}[] | undefined;
|
|
4335
4758
|
}[] | undefined;
|
|
4336
4759
|
warnings?: {
|
|
4337
|
-
message: string;
|
|
4338
4760
|
code: string;
|
|
4339
4761
|
path: string;
|
|
4762
|
+
message: string;
|
|
4340
4763
|
recommendation?: string | undefined;
|
|
4341
4764
|
}[] | undefined;
|
|
4342
4765
|
suggestions?: {
|
|
4343
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4344
4766
|
message: string;
|
|
4767
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4345
4768
|
autoFix?: {
|
|
4346
4769
|
path: string;
|
|
4347
4770
|
op: "replace" | "add" | "remove";
|
|
@@ -4357,12 +4780,12 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4357
4780
|
}[] | undefined;
|
|
4358
4781
|
}, {
|
|
4359
4782
|
success: boolean;
|
|
4360
|
-
error?: string | undefined;
|
|
4361
4783
|
valid?: boolean | undefined;
|
|
4784
|
+
error?: string | undefined;
|
|
4362
4785
|
errors?: {
|
|
4363
|
-
message: string;
|
|
4364
4786
|
code: string;
|
|
4365
4787
|
path: string;
|
|
4788
|
+
message: string;
|
|
4366
4789
|
expected?: string | undefined;
|
|
4367
4790
|
received?: string | undefined;
|
|
4368
4791
|
suggestion?: string | undefined;
|
|
@@ -4373,14 +4796,14 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4373
4796
|
}[] | undefined;
|
|
4374
4797
|
}[] | undefined;
|
|
4375
4798
|
warnings?: {
|
|
4376
|
-
message: string;
|
|
4377
4799
|
code: string;
|
|
4378
4800
|
path: string;
|
|
4801
|
+
message: string;
|
|
4379
4802
|
recommendation?: string | undefined;
|
|
4380
4803
|
}[] | undefined;
|
|
4381
4804
|
suggestions?: {
|
|
4382
|
-
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4383
4805
|
message: string;
|
|
4806
|
+
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4384
4807
|
autoFix?: {
|
|
4385
4808
|
path: string;
|
|
4386
4809
|
op: "replace" | "add" | "remove";
|
|
@@ -4403,15 +4826,21 @@ export type ValidateScreenDefinitionOutput = z.infer<typeof ValidateScreenDefini
|
|
|
4403
4826
|
export declare const ValidateEnvironmentInputSchema: z.ZodObject<{
|
|
4404
4827
|
projectPath: z.ZodString;
|
|
4405
4828
|
requiredPackages: z.ZodArray<z.ZodString, "many">;
|
|
4829
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
4406
4830
|
checkTailwind: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4831
|
+
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4407
4832
|
}, "strip", z.ZodTypeAny, {
|
|
4408
4833
|
projectPath: string;
|
|
4409
4834
|
requiredPackages: string[];
|
|
4410
4835
|
checkTailwind: boolean;
|
|
4836
|
+
platform?: "web" | "react-native" | undefined;
|
|
4837
|
+
sourceFiles?: string[] | undefined;
|
|
4411
4838
|
}, {
|
|
4412
4839
|
projectPath: string;
|
|
4413
4840
|
requiredPackages: string[];
|
|
4841
|
+
platform?: "web" | "react-native" | undefined;
|
|
4414
4842
|
checkTailwind?: boolean | undefined;
|
|
4843
|
+
sourceFiles?: string[] | undefined;
|
|
4415
4844
|
}>;
|
|
4416
4845
|
export type ValidateEnvironmentInput = z.infer<typeof ValidateEnvironmentInputSchema>;
|
|
4417
4846
|
/**
|
|
@@ -4421,21 +4850,38 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4421
4850
|
success: z.ZodBoolean;
|
|
4422
4851
|
installed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4423
4852
|
missing: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4853
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
4854
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
4855
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
4856
|
+
runtime: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
4857
|
+
projectType: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
4858
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>>;
|
|
4859
|
+
}, "strip", z.ZodTypeAny, {
|
|
4860
|
+
runtime: "web" | "react-native" | "expo";
|
|
4861
|
+
projectType: "web" | "react-native" | "expo";
|
|
4862
|
+
platform?: "web" | "react-native" | undefined;
|
|
4863
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
4864
|
+
}, {
|
|
4865
|
+
runtime: "web" | "react-native" | "expo";
|
|
4866
|
+
projectType: "web" | "react-native" | "expo";
|
|
4867
|
+
platform?: "web" | "react-native" | undefined;
|
|
4868
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
4869
|
+
}>>;
|
|
4424
4870
|
installCommands: z.ZodOptional<z.ZodObject<{
|
|
4425
4871
|
npm: z.ZodString;
|
|
4426
4872
|
yarn: z.ZodString;
|
|
4427
4873
|
pnpm: z.ZodString;
|
|
4428
4874
|
bun: z.ZodString;
|
|
4429
4875
|
}, "strip", z.ZodTypeAny, {
|
|
4430
|
-
|
|
4876
|
+
npm: string;
|
|
4431
4877
|
yarn: string;
|
|
4878
|
+
pnpm: string;
|
|
4432
4879
|
bun: string;
|
|
4433
|
-
npm: string;
|
|
4434
4880
|
}, {
|
|
4435
|
-
|
|
4881
|
+
npm: string;
|
|
4436
4882
|
yarn: string;
|
|
4883
|
+
pnpm: string;
|
|
4437
4884
|
bun: string;
|
|
4438
|
-
npm: string;
|
|
4439
4885
|
}>>;
|
|
4440
4886
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4441
4887
|
tailwind: z.ZodOptional<z.ZodObject<{
|
|
@@ -4460,10 +4906,70 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4460
4906
|
fixes: string[];
|
|
4461
4907
|
configPath?: string | undefined;
|
|
4462
4908
|
}>>;
|
|
4909
|
+
sourceAudit: z.ZodOptional<z.ZodObject<{
|
|
4910
|
+
filesScanned: z.ZodNumber;
|
|
4911
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4912
|
+
fixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4913
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
4914
|
+
filePath: z.ZodString;
|
|
4915
|
+
ruleId: z.ZodString;
|
|
4916
|
+
severity: z.ZodEnum<["warning", "error"]>;
|
|
4917
|
+
message: z.ZodString;
|
|
4918
|
+
guidance: z.ZodString;
|
|
4919
|
+
}, "strip", z.ZodTypeAny, {
|
|
4920
|
+
message: string;
|
|
4921
|
+
filePath: string;
|
|
4922
|
+
ruleId: string;
|
|
4923
|
+
severity: "error" | "warning";
|
|
4924
|
+
guidance: string;
|
|
4925
|
+
}, {
|
|
4926
|
+
message: string;
|
|
4927
|
+
filePath: string;
|
|
4928
|
+
ruleId: string;
|
|
4929
|
+
severity: "error" | "warning";
|
|
4930
|
+
guidance: string;
|
|
4931
|
+
}>, "many">;
|
|
4932
|
+
}, "strip", z.ZodTypeAny, {
|
|
4933
|
+
filesScanned: number;
|
|
4934
|
+
findings: {
|
|
4935
|
+
message: string;
|
|
4936
|
+
filePath: string;
|
|
4937
|
+
ruleId: string;
|
|
4938
|
+
severity: "error" | "warning";
|
|
4939
|
+
guidance: string;
|
|
4940
|
+
}[];
|
|
4941
|
+
issues?: string[] | undefined;
|
|
4942
|
+
fixes?: string[] | undefined;
|
|
4943
|
+
}, {
|
|
4944
|
+
filesScanned: number;
|
|
4945
|
+
findings: {
|
|
4946
|
+
message: string;
|
|
4947
|
+
filePath: string;
|
|
4948
|
+
ruleId: string;
|
|
4949
|
+
severity: "error" | "warning";
|
|
4950
|
+
guidance: string;
|
|
4951
|
+
}[];
|
|
4952
|
+
issues?: string[] | undefined;
|
|
4953
|
+
fixes?: string[] | undefined;
|
|
4954
|
+
}>>;
|
|
4463
4955
|
error: z.ZodOptional<z.ZodString>;
|
|
4464
4956
|
}, "strip", z.ZodTypeAny, {
|
|
4465
4957
|
success: boolean;
|
|
4466
4958
|
error?: string | undefined;
|
|
4959
|
+
installCommands?: {
|
|
4960
|
+
npm: string;
|
|
4961
|
+
yarn: string;
|
|
4962
|
+
pnpm: string;
|
|
4963
|
+
bun: string;
|
|
4964
|
+
} | undefined;
|
|
4965
|
+
warnings?: string[] | undefined;
|
|
4966
|
+
platform?: "web" | "react-native" | undefined;
|
|
4967
|
+
environment?: {
|
|
4968
|
+
runtime: "web" | "react-native" | "expo";
|
|
4969
|
+
projectType: "web" | "react-native" | "expo";
|
|
4970
|
+
platform?: "web" | "react-native" | undefined;
|
|
4971
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
4972
|
+
} | undefined;
|
|
4467
4973
|
tailwind?: {
|
|
4468
4974
|
issues: string[];
|
|
4469
4975
|
configFound: boolean;
|
|
@@ -4472,18 +4978,37 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4472
4978
|
fixes: string[];
|
|
4473
4979
|
configPath?: string | undefined;
|
|
4474
4980
|
} | undefined;
|
|
4475
|
-
warnings?: string[] | undefined;
|
|
4476
|
-
installCommands?: {
|
|
4477
|
-
pnpm: string;
|
|
4478
|
-
yarn: string;
|
|
4479
|
-
bun: string;
|
|
4480
|
-
npm: string;
|
|
4481
|
-
} | undefined;
|
|
4482
4981
|
installed?: Record<string, string> | undefined;
|
|
4483
4982
|
missing?: string[] | undefined;
|
|
4983
|
+
sourceAudit?: {
|
|
4984
|
+
filesScanned: number;
|
|
4985
|
+
findings: {
|
|
4986
|
+
message: string;
|
|
4987
|
+
filePath: string;
|
|
4988
|
+
ruleId: string;
|
|
4989
|
+
severity: "error" | "warning";
|
|
4990
|
+
guidance: string;
|
|
4991
|
+
}[];
|
|
4992
|
+
issues?: string[] | undefined;
|
|
4993
|
+
fixes?: string[] | undefined;
|
|
4994
|
+
} | undefined;
|
|
4484
4995
|
}, {
|
|
4485
4996
|
success: boolean;
|
|
4486
4997
|
error?: string | undefined;
|
|
4998
|
+
installCommands?: {
|
|
4999
|
+
npm: string;
|
|
5000
|
+
yarn: string;
|
|
5001
|
+
pnpm: string;
|
|
5002
|
+
bun: string;
|
|
5003
|
+
} | undefined;
|
|
5004
|
+
warnings?: string[] | undefined;
|
|
5005
|
+
platform?: "web" | "react-native" | undefined;
|
|
5006
|
+
environment?: {
|
|
5007
|
+
runtime: "web" | "react-native" | "expo";
|
|
5008
|
+
projectType: "web" | "react-native" | "expo";
|
|
5009
|
+
platform?: "web" | "react-native" | undefined;
|
|
5010
|
+
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
5011
|
+
} | undefined;
|
|
4487
5012
|
tailwind?: {
|
|
4488
5013
|
issues: string[];
|
|
4489
5014
|
configFound: boolean;
|
|
@@ -4492,15 +5017,20 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4492
5017
|
fixes: string[];
|
|
4493
5018
|
configPath?: string | undefined;
|
|
4494
5019
|
} | undefined;
|
|
4495
|
-
warnings?: string[] | undefined;
|
|
4496
|
-
installCommands?: {
|
|
4497
|
-
pnpm: string;
|
|
4498
|
-
yarn: string;
|
|
4499
|
-
bun: string;
|
|
4500
|
-
npm: string;
|
|
4501
|
-
} | undefined;
|
|
4502
5020
|
installed?: Record<string, string> | undefined;
|
|
4503
5021
|
missing?: string[] | undefined;
|
|
5022
|
+
sourceAudit?: {
|
|
5023
|
+
filesScanned: number;
|
|
5024
|
+
findings: {
|
|
5025
|
+
message: string;
|
|
5026
|
+
filePath: string;
|
|
5027
|
+
ruleId: string;
|
|
5028
|
+
severity: "error" | "warning";
|
|
5029
|
+
guidance: string;
|
|
5030
|
+
}[];
|
|
5031
|
+
issues?: string[] | undefined;
|
|
5032
|
+
fixes?: string[] | undefined;
|
|
5033
|
+
} | undefined;
|
|
4504
5034
|
}>;
|
|
4505
5035
|
export type ValidateEnvironmentOutput = z.infer<typeof ValidateEnvironmentOutputSchema>;
|
|
4506
5036
|
//# sourceMappingURL=mcp-schemas.d.ts.map
|