@tekton-ui/mcp-server 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/auth/guard.d.ts +9 -0
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/guard.js +17 -1
- package/dist/auth/guard.js.map +1 -1
- package/dist/auth/state.d.ts +12 -2
- package/dist/auth/state.d.ts.map +1 -1
- package/dist/auth/state.js +27 -3
- package/dist/auth/state.js.map +1 -1
- package/dist/auth/theme-access.d.ts +11 -0
- package/dist/auth/theme-access.d.ts.map +1 -1
- package/dist/auth/theme-access.js +13 -0
- package/dist/auth/theme-access.js.map +1 -1
- package/dist/auth/verify.d.ts.map +1 -1
- package/dist/auth/verify.js.map +1 -1
- package/dist/cli/login.d.ts.map +1 -1
- package/dist/cli/login.js +2 -1
- package/dist/cli/login.js.map +1 -1
- package/dist/index.js +60 -3
- package/dist/index.js.map +1 -1
- package/dist/prompts/getting-started.d.ts.map +1 -1
- package/dist/prompts/getting-started.js +27 -8
- package/dist/prompts/getting-started.js.map +1 -1
- package/dist/schemas/mcp-schemas.d.ts +550 -499
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/schemas/mcp-schemas.js +26 -0
- package/dist/schemas/mcp-schemas.js.map +1 -1
- package/dist/tools/whoami.d.ts +17 -0
- package/dist/tools/whoami.d.ts.map +1 -0
- package/dist/tools/whoami.js +57 -0
- package/dist/tools/whoami.js.map +1 -0
- package/package.json +21 -20
- package/LICENSE +0 -21
|
@@ -3,6 +3,57 @@
|
|
|
3
3
|
* SPEC-MCP-002: U-002 Input Schema Validation
|
|
4
4
|
*/
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
+
/**
|
|
7
|
+
* Whoami Input Schema
|
|
8
|
+
* 입력 파라미터 없음
|
|
9
|
+
*/
|
|
10
|
+
export declare const WhoamiInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
11
|
+
export type WhoamiInput = z.infer<typeof WhoamiInputSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* Whoami Output Schema
|
|
14
|
+
* 유저 tier, 라이선스 정보, MCP 지원 기간 반환
|
|
15
|
+
*/
|
|
16
|
+
export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
17
|
+
success: z.ZodBoolean;
|
|
18
|
+
plan: z.ZodOptional<z.ZodEnum<["free", "pro", "enterprise", "master"]>>;
|
|
19
|
+
isMaster: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
licensedThemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21
|
+
totalThemes: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
mcpSupport: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
24
|
+
renewable: z.ZodBoolean;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
expiresAt: string | null;
|
|
27
|
+
renewable: boolean;
|
|
28
|
+
}, {
|
|
29
|
+
expiresAt: string | null;
|
|
30
|
+
renewable: boolean;
|
|
31
|
+
}>>;
|
|
32
|
+
error: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
success: boolean;
|
|
35
|
+
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
36
|
+
isMaster?: boolean | undefined;
|
|
37
|
+
licensedThemes?: string[] | undefined;
|
|
38
|
+
totalThemes?: number | undefined;
|
|
39
|
+
mcpSupport?: {
|
|
40
|
+
expiresAt: string | null;
|
|
41
|
+
renewable: boolean;
|
|
42
|
+
} | undefined;
|
|
43
|
+
error?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
success: boolean;
|
|
46
|
+
plan?: "free" | "pro" | "enterprise" | "master" | undefined;
|
|
47
|
+
isMaster?: boolean | undefined;
|
|
48
|
+
licensedThemes?: string[] | undefined;
|
|
49
|
+
totalThemes?: number | undefined;
|
|
50
|
+
mcpSupport?: {
|
|
51
|
+
expiresAt: string | null;
|
|
52
|
+
renewable: boolean;
|
|
53
|
+
} | undefined;
|
|
54
|
+
error?: string | undefined;
|
|
55
|
+
}>;
|
|
56
|
+
export type WhoamiOutput = z.infer<typeof WhoamiOutputSchema>;
|
|
6
57
|
/**
|
|
7
58
|
* Layout types from @tekton-ui/core LAYOUTS
|
|
8
59
|
*/
|
|
@@ -25,16 +76,16 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
25
76
|
componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26
77
|
}, "strip", z.ZodTypeAny, {
|
|
27
78
|
description: string;
|
|
28
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
29
79
|
themeId: string;
|
|
30
|
-
|
|
80
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
31
81
|
componentHints?: string[] | undefined;
|
|
82
|
+
iconLibrary?: string | undefined;
|
|
32
83
|
}, {
|
|
33
84
|
description: string;
|
|
34
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
35
85
|
themeId: string;
|
|
36
|
-
|
|
86
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
37
87
|
componentHints?: string[] | undefined;
|
|
88
|
+
iconLibrary?: string | undefined;
|
|
38
89
|
}>;
|
|
39
90
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
40
91
|
/**
|
|
@@ -61,9 +112,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
61
112
|
page: string;
|
|
62
113
|
}>;
|
|
63
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
category: string;
|
|
64
116
|
templateId: string;
|
|
65
117
|
templateName: string;
|
|
66
|
-
category: string;
|
|
67
118
|
confidence: number;
|
|
68
119
|
matchedKeywords: string[];
|
|
69
120
|
layoutRecommendation: {
|
|
@@ -72,9 +123,9 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
72
123
|
page: string;
|
|
73
124
|
};
|
|
74
125
|
}, {
|
|
126
|
+
category: string;
|
|
75
127
|
templateId: string;
|
|
76
128
|
templateName: string;
|
|
77
|
-
category: string;
|
|
78
129
|
confidence: number;
|
|
79
130
|
matchedKeywords: string[];
|
|
80
131
|
layoutRecommendation: {
|
|
@@ -110,30 +161,30 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
110
161
|
}>, "many">;
|
|
111
162
|
timestamp: z.ZodNumber;
|
|
112
163
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
114
|
-
themeId: string;
|
|
115
|
-
iconLibrary: string;
|
|
116
164
|
id: string;
|
|
117
165
|
name: string;
|
|
166
|
+
themeId: string;
|
|
118
167
|
components: {
|
|
119
168
|
type: string;
|
|
120
169
|
props?: Record<string, unknown>;
|
|
121
170
|
children?: (unknown | string)[];
|
|
122
171
|
slot?: string;
|
|
123
172
|
}[];
|
|
173
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
174
|
+
iconLibrary: string;
|
|
124
175
|
timestamp: number;
|
|
125
176
|
}, {
|
|
126
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
127
|
-
themeId: string;
|
|
128
|
-
iconLibrary: string;
|
|
129
177
|
id: string;
|
|
130
178
|
name: string;
|
|
179
|
+
themeId: string;
|
|
131
180
|
components: {
|
|
132
181
|
type: string;
|
|
133
182
|
props?: Record<string, unknown>;
|
|
134
183
|
children?: (unknown | string)[];
|
|
135
184
|
slot?: string;
|
|
136
185
|
}[];
|
|
186
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
187
|
+
iconLibrary: string;
|
|
137
188
|
timestamp: number;
|
|
138
189
|
}>>;
|
|
139
190
|
templateRecommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -156,9 +207,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
156
207
|
page: string;
|
|
157
208
|
}>;
|
|
158
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
category: string;
|
|
159
211
|
templateId: string;
|
|
160
212
|
templateName: string;
|
|
161
|
-
category: string;
|
|
162
213
|
confidence: number;
|
|
163
214
|
matchedKeywords: string[];
|
|
164
215
|
layoutRecommendation: {
|
|
@@ -167,9 +218,9 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
167
218
|
page: string;
|
|
168
219
|
};
|
|
169
220
|
}, {
|
|
221
|
+
category: string;
|
|
170
222
|
templateId: string;
|
|
171
223
|
templateName: string;
|
|
172
|
-
category: string;
|
|
173
224
|
confidence: number;
|
|
174
225
|
matchedKeywords: string[];
|
|
175
226
|
layoutRecommendation: {
|
|
@@ -181,25 +232,25 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
181
232
|
error: z.ZodOptional<z.ZodString>;
|
|
182
233
|
}, "strip", z.ZodTypeAny, {
|
|
183
234
|
success: boolean;
|
|
184
|
-
error?: string | undefined;
|
|
185
235
|
blueprint?: {
|
|
186
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
187
|
-
themeId: string;
|
|
188
|
-
iconLibrary: string;
|
|
189
236
|
id: string;
|
|
190
237
|
name: string;
|
|
238
|
+
themeId: string;
|
|
191
239
|
components: {
|
|
192
240
|
type: string;
|
|
193
241
|
props?: Record<string, unknown>;
|
|
194
242
|
children?: (unknown | string)[];
|
|
195
243
|
slot?: string;
|
|
196
244
|
}[];
|
|
245
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
246
|
+
iconLibrary: string;
|
|
197
247
|
timestamp: number;
|
|
198
248
|
} | undefined;
|
|
249
|
+
error?: string | undefined;
|
|
199
250
|
templateRecommendations?: {
|
|
251
|
+
category: string;
|
|
200
252
|
templateId: string;
|
|
201
253
|
templateName: string;
|
|
202
|
-
category: string;
|
|
203
254
|
confidence: number;
|
|
204
255
|
matchedKeywords: string[];
|
|
205
256
|
layoutRecommendation: {
|
|
@@ -210,25 +261,25 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
210
261
|
}[] | undefined;
|
|
211
262
|
}, {
|
|
212
263
|
success: boolean;
|
|
213
|
-
error?: string | undefined;
|
|
214
264
|
blueprint?: {
|
|
215
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
216
|
-
themeId: string;
|
|
217
|
-
iconLibrary: string;
|
|
218
265
|
id: string;
|
|
219
266
|
name: string;
|
|
267
|
+
themeId: string;
|
|
220
268
|
components: {
|
|
221
269
|
type: string;
|
|
222
270
|
props?: Record<string, unknown>;
|
|
223
271
|
children?: (unknown | string)[];
|
|
224
272
|
slot?: string;
|
|
225
273
|
}[];
|
|
274
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
275
|
+
iconLibrary: string;
|
|
226
276
|
timestamp: number;
|
|
227
277
|
} | undefined;
|
|
278
|
+
error?: string | undefined;
|
|
228
279
|
templateRecommendations?: {
|
|
280
|
+
category: string;
|
|
229
281
|
templateId: string;
|
|
230
282
|
templateName: string;
|
|
231
|
-
category: string;
|
|
232
283
|
confidence: number;
|
|
233
284
|
matchedKeywords: string[];
|
|
234
285
|
layoutRecommendation: {
|
|
@@ -297,6 +348,7 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
297
348
|
}, "strip", z.ZodTypeAny, {
|
|
298
349
|
success: boolean;
|
|
299
350
|
error?: string | undefined;
|
|
351
|
+
count?: number | undefined;
|
|
300
352
|
themes?: {
|
|
301
353
|
id: string;
|
|
302
354
|
name: string;
|
|
@@ -304,10 +356,10 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
304
356
|
schemaVersion: string;
|
|
305
357
|
description?: string | undefined;
|
|
306
358
|
}[] | undefined;
|
|
307
|
-
count?: number | undefined;
|
|
308
359
|
}, {
|
|
309
360
|
success: boolean;
|
|
310
361
|
error?: string | undefined;
|
|
362
|
+
count?: number | undefined;
|
|
311
363
|
themes?: {
|
|
312
364
|
id: string;
|
|
313
365
|
name: string;
|
|
@@ -315,7 +367,6 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
315
367
|
schemaVersion: string;
|
|
316
368
|
description?: string | undefined;
|
|
317
369
|
}[] | undefined;
|
|
318
|
-
count?: number | undefined;
|
|
319
370
|
}>;
|
|
320
371
|
export type ListThemesOutput = z.infer<typeof ListThemesOutputSchema>;
|
|
321
372
|
/**
|
|
@@ -360,14 +411,14 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
360
411
|
component: z.ZodOptional<z.ZodUnknown>;
|
|
361
412
|
recipes: z.ZodOptional<z.ZodUnknown>;
|
|
362
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
|
+
component?: unknown;
|
|
363
415
|
atomic?: unknown;
|
|
364
416
|
semantic?: unknown;
|
|
365
|
-
component?: unknown;
|
|
366
417
|
recipes?: unknown;
|
|
367
418
|
}, {
|
|
419
|
+
component?: unknown;
|
|
368
420
|
atomic?: unknown;
|
|
369
421
|
semantic?: unknown;
|
|
370
|
-
component?: unknown;
|
|
371
422
|
recipes?: unknown;
|
|
372
423
|
}>;
|
|
373
424
|
stateLayer: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -380,9 +431,9 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
380
431
|
brandTone: string;
|
|
381
432
|
schemaVersion: string;
|
|
382
433
|
tokens: {
|
|
434
|
+
component?: unknown;
|
|
383
435
|
atomic?: unknown;
|
|
384
436
|
semantic?: unknown;
|
|
385
|
-
component?: unknown;
|
|
386
437
|
recipes?: unknown;
|
|
387
438
|
};
|
|
388
439
|
description?: string | undefined;
|
|
@@ -401,9 +452,9 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
401
452
|
brandTone: string;
|
|
402
453
|
schemaVersion: string;
|
|
403
454
|
tokens: {
|
|
455
|
+
component?: unknown;
|
|
404
456
|
atomic?: unknown;
|
|
405
457
|
semantic?: unknown;
|
|
406
|
-
component?: unknown;
|
|
407
458
|
recipes?: unknown;
|
|
408
459
|
};
|
|
409
460
|
description?: string | undefined;
|
|
@@ -420,16 +471,15 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
420
471
|
error: z.ZodOptional<z.ZodString>;
|
|
421
472
|
}, "strip", z.ZodTypeAny, {
|
|
422
473
|
success: boolean;
|
|
423
|
-
error?: string | undefined;
|
|
424
474
|
theme?: {
|
|
425
475
|
id: string;
|
|
426
476
|
name: string;
|
|
427
477
|
brandTone: string;
|
|
428
478
|
schemaVersion: string;
|
|
429
479
|
tokens: {
|
|
480
|
+
component?: unknown;
|
|
430
481
|
atomic?: unknown;
|
|
431
482
|
semantic?: unknown;
|
|
432
|
-
component?: unknown;
|
|
433
483
|
recipes?: unknown;
|
|
434
484
|
};
|
|
435
485
|
description?: string | undefined;
|
|
@@ -443,18 +493,18 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
443
493
|
elevation?: unknown;
|
|
444
494
|
typography?: unknown;
|
|
445
495
|
} | undefined;
|
|
496
|
+
error?: string | undefined;
|
|
446
497
|
}, {
|
|
447
498
|
success: boolean;
|
|
448
|
-
error?: string | undefined;
|
|
449
499
|
theme?: {
|
|
450
500
|
id: string;
|
|
451
501
|
name: string;
|
|
452
502
|
brandTone: string;
|
|
453
503
|
schemaVersion: string;
|
|
454
504
|
tokens: {
|
|
505
|
+
component?: unknown;
|
|
455
506
|
atomic?: unknown;
|
|
456
507
|
semantic?: unknown;
|
|
457
|
-
component?: unknown;
|
|
458
508
|
recipes?: unknown;
|
|
459
509
|
};
|
|
460
510
|
description?: string | undefined;
|
|
@@ -468,6 +518,7 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
468
518
|
elevation?: unknown;
|
|
469
519
|
typography?: unknown;
|
|
470
520
|
} | undefined;
|
|
521
|
+
error?: string | undefined;
|
|
471
522
|
}>;
|
|
472
523
|
export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
|
|
473
524
|
/**
|
|
@@ -500,12 +551,12 @@ export declare const ExportScreenOutputSchema: z.ZodObject<{
|
|
|
500
551
|
error: z.ZodOptional<z.ZodString>;
|
|
501
552
|
}, "strip", z.ZodTypeAny, {
|
|
502
553
|
success: boolean;
|
|
503
|
-
error?: string | undefined;
|
|
504
554
|
code?: string | undefined;
|
|
555
|
+
error?: string | undefined;
|
|
505
556
|
}, {
|
|
506
557
|
success: boolean;
|
|
507
|
-
error?: string | undefined;
|
|
508
558
|
code?: string | undefined;
|
|
559
|
+
error?: string | undefined;
|
|
509
560
|
}>;
|
|
510
561
|
/**
|
|
511
562
|
* Export component resolution tier
|
|
@@ -535,21 +586,21 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
535
586
|
/** Theme ID for CSS generation */
|
|
536
587
|
themeId: z.ZodOptional<z.ZodString>;
|
|
537
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
tier: "tier1" | "tier2" | "auto";
|
|
538
590
|
format: "jsx" | "tsx" | "vue";
|
|
539
591
|
includeCSS: boolean;
|
|
540
|
-
tier: "tier1" | "tier2" | "auto";
|
|
541
592
|
themeId?: string | undefined;
|
|
542
593
|
blueprint?: unknown;
|
|
543
594
|
componentName?: string | undefined;
|
|
544
595
|
componentDescription?: string | undefined;
|
|
545
596
|
}, {
|
|
546
597
|
format: "jsx" | "tsx" | "vue";
|
|
598
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
547
599
|
themeId?: string | undefined;
|
|
548
600
|
blueprint?: unknown;
|
|
549
601
|
componentName?: string | undefined;
|
|
550
602
|
componentDescription?: string | undefined;
|
|
551
603
|
includeCSS?: boolean | undefined;
|
|
552
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
553
604
|
}>;
|
|
554
605
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
555
606
|
/**
|
|
@@ -598,24 +649,24 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
598
649
|
error: z.ZodOptional<z.ZodString>;
|
|
599
650
|
}, "strip", z.ZodTypeAny, {
|
|
600
651
|
success: boolean;
|
|
601
|
-
error?: string | undefined;
|
|
602
652
|
code?: string | undefined;
|
|
603
653
|
components?: {
|
|
604
654
|
code: string;
|
|
605
655
|
componentName: string;
|
|
606
656
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
607
657
|
}[] | undefined;
|
|
658
|
+
error?: string | undefined;
|
|
608
659
|
css?: string | undefined;
|
|
609
660
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
610
661
|
}, {
|
|
611
662
|
success: boolean;
|
|
612
|
-
error?: string | undefined;
|
|
613
663
|
code?: string | undefined;
|
|
614
664
|
components?: {
|
|
615
665
|
code: string;
|
|
616
666
|
componentName: string;
|
|
617
667
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
618
668
|
}[] | undefined;
|
|
669
|
+
error?: string | undefined;
|
|
619
670
|
css?: string | undefined;
|
|
620
671
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
621
672
|
}>;
|
|
@@ -629,11 +680,11 @@ export declare const ErrorResponseSchema: z.ZodObject<{
|
|
|
629
680
|
success: z.ZodLiteral<false>;
|
|
630
681
|
error: z.ZodString;
|
|
631
682
|
}, "strip", z.ZodTypeAny, {
|
|
632
|
-
error: string;
|
|
633
683
|
success: false;
|
|
634
|
-
}, {
|
|
635
684
|
error: string;
|
|
685
|
+
}, {
|
|
636
686
|
success: false;
|
|
687
|
+
error: string;
|
|
637
688
|
}>;
|
|
638
689
|
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
639
690
|
/**
|
|
@@ -835,8 +886,8 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
835
886
|
error: z.ZodOptional<z.ZodString>;
|
|
836
887
|
}, "strip", z.ZodTypeAny, {
|
|
837
888
|
success: boolean;
|
|
838
|
-
error?: string | undefined;
|
|
839
889
|
code?: string | undefined;
|
|
890
|
+
error?: string | undefined;
|
|
840
891
|
cssVariables?: string | undefined;
|
|
841
892
|
dependencies?: {
|
|
842
893
|
external: string[];
|
|
@@ -856,8 +907,8 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
856
907
|
errors?: string[] | undefined;
|
|
857
908
|
}, {
|
|
858
909
|
success: boolean;
|
|
859
|
-
error?: string | undefined;
|
|
860
910
|
code?: string | undefined;
|
|
911
|
+
error?: string | undefined;
|
|
861
912
|
cssVariables?: string | undefined;
|
|
862
913
|
dependencies?: {
|
|
863
914
|
external: string[];
|
|
@@ -966,11 +1017,11 @@ export declare const ListTokensInputSchema: z.ZodObject<{
|
|
|
966
1017
|
tokenType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["shell", "page", "section", "all"]>>>;
|
|
967
1018
|
filter: z.ZodOptional<z.ZodString>;
|
|
968
1019
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
-
tokenType: "shell" | "page" | "
|
|
1020
|
+
tokenType: "shell" | "page" | "all" | "section";
|
|
970
1021
|
filter?: string | undefined;
|
|
971
1022
|
}, {
|
|
972
1023
|
filter?: string | undefined;
|
|
973
|
-
tokenType?: "shell" | "page" | "
|
|
1024
|
+
tokenType?: "shell" | "page" | "all" | "section" | undefined;
|
|
974
1025
|
}>;
|
|
975
1026
|
export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
|
|
976
1027
|
/**
|
|
@@ -985,16 +1036,16 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
985
1036
|
type: z.ZodOptional<z.ZodString>;
|
|
986
1037
|
}, "strip", z.ZodTypeAny, {
|
|
987
1038
|
id: string;
|
|
988
|
-
type?: string | undefined;
|
|
989
|
-
description?: string | undefined;
|
|
990
1039
|
name?: string | undefined;
|
|
1040
|
+
description?: string | undefined;
|
|
1041
|
+
type?: string | undefined;
|
|
991
1042
|
platform?: string | undefined;
|
|
992
1043
|
purpose?: string | undefined;
|
|
993
1044
|
}, {
|
|
994
1045
|
id: string;
|
|
995
|
-
type?: string | undefined;
|
|
996
|
-
description?: string | undefined;
|
|
997
1046
|
name?: string | undefined;
|
|
1047
|
+
description?: string | undefined;
|
|
1048
|
+
type?: string | undefined;
|
|
998
1049
|
platform?: string | undefined;
|
|
999
1050
|
purpose?: string | undefined;
|
|
1000
1051
|
}>;
|
|
@@ -1013,16 +1064,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1013
1064
|
type: z.ZodOptional<z.ZodString>;
|
|
1014
1065
|
}, "strip", z.ZodTypeAny, {
|
|
1015
1066
|
id: string;
|
|
1016
|
-
type?: string | undefined;
|
|
1017
|
-
description?: string | undefined;
|
|
1018
1067
|
name?: string | undefined;
|
|
1068
|
+
description?: string | undefined;
|
|
1069
|
+
type?: string | undefined;
|
|
1019
1070
|
platform?: string | undefined;
|
|
1020
1071
|
purpose?: string | undefined;
|
|
1021
1072
|
}, {
|
|
1022
1073
|
id: string;
|
|
1023
|
-
type?: string | undefined;
|
|
1024
|
-
description?: string | undefined;
|
|
1025
1074
|
name?: string | undefined;
|
|
1075
|
+
description?: string | undefined;
|
|
1076
|
+
type?: string | undefined;
|
|
1026
1077
|
platform?: string | undefined;
|
|
1027
1078
|
purpose?: string | undefined;
|
|
1028
1079
|
}>, "many">>;
|
|
@@ -1035,16 +1086,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1035
1086
|
type: z.ZodOptional<z.ZodString>;
|
|
1036
1087
|
}, "strip", z.ZodTypeAny, {
|
|
1037
1088
|
id: string;
|
|
1038
|
-
type?: string | undefined;
|
|
1039
|
-
description?: string | undefined;
|
|
1040
1089
|
name?: string | undefined;
|
|
1090
|
+
description?: string | undefined;
|
|
1091
|
+
type?: string | undefined;
|
|
1041
1092
|
platform?: string | undefined;
|
|
1042
1093
|
purpose?: string | undefined;
|
|
1043
1094
|
}, {
|
|
1044
1095
|
id: string;
|
|
1045
|
-
type?: string | undefined;
|
|
1046
|
-
description?: string | undefined;
|
|
1047
1096
|
name?: string | undefined;
|
|
1097
|
+
description?: string | undefined;
|
|
1098
|
+
type?: string | undefined;
|
|
1048
1099
|
platform?: string | undefined;
|
|
1049
1100
|
purpose?: string | undefined;
|
|
1050
1101
|
}>, "many">>;
|
|
@@ -1057,16 +1108,16 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1057
1108
|
type: z.ZodOptional<z.ZodString>;
|
|
1058
1109
|
}, "strip", z.ZodTypeAny, {
|
|
1059
1110
|
id: string;
|
|
1060
|
-
type?: string | undefined;
|
|
1061
|
-
description?: string | undefined;
|
|
1062
1111
|
name?: string | undefined;
|
|
1112
|
+
description?: string | undefined;
|
|
1113
|
+
type?: string | undefined;
|
|
1063
1114
|
platform?: string | undefined;
|
|
1064
1115
|
purpose?: string | undefined;
|
|
1065
1116
|
}, {
|
|
1066
1117
|
id: string;
|
|
1067
|
-
type?: string | undefined;
|
|
1068
|
-
description?: string | undefined;
|
|
1069
1118
|
name?: string | undefined;
|
|
1119
|
+
description?: string | undefined;
|
|
1120
|
+
type?: string | undefined;
|
|
1070
1121
|
platform?: string | undefined;
|
|
1071
1122
|
purpose?: string | undefined;
|
|
1072
1123
|
}>, "many">>;
|
|
@@ -1083,28 +1134,42 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1083
1134
|
error: z.ZodOptional<z.ZodString>;
|
|
1084
1135
|
}, "strip", z.ZodTypeAny, {
|
|
1085
1136
|
success: boolean;
|
|
1137
|
+
sections?: {
|
|
1138
|
+
id: string;
|
|
1139
|
+
name?: string | undefined;
|
|
1140
|
+
description?: string | undefined;
|
|
1141
|
+
type?: string | undefined;
|
|
1142
|
+
platform?: string | undefined;
|
|
1143
|
+
purpose?: string | undefined;
|
|
1144
|
+
}[] | undefined;
|
|
1145
|
+
metadata?: {
|
|
1146
|
+
total: number;
|
|
1147
|
+
filtered?: number | undefined;
|
|
1148
|
+
} | undefined;
|
|
1086
1149
|
error?: string | undefined;
|
|
1087
1150
|
shells?: {
|
|
1088
1151
|
id: string;
|
|
1089
|
-
type?: string | undefined;
|
|
1090
|
-
description?: string | undefined;
|
|
1091
1152
|
name?: string | undefined;
|
|
1153
|
+
description?: string | undefined;
|
|
1154
|
+
type?: string | undefined;
|
|
1092
1155
|
platform?: string | undefined;
|
|
1093
1156
|
purpose?: string | undefined;
|
|
1094
1157
|
}[] | undefined;
|
|
1095
1158
|
pages?: {
|
|
1096
1159
|
id: string;
|
|
1097
|
-
type?: string | undefined;
|
|
1098
|
-
description?: string | undefined;
|
|
1099
1160
|
name?: string | undefined;
|
|
1161
|
+
description?: string | undefined;
|
|
1162
|
+
type?: string | undefined;
|
|
1100
1163
|
platform?: string | undefined;
|
|
1101
1164
|
purpose?: string | undefined;
|
|
1102
1165
|
}[] | undefined;
|
|
1166
|
+
}, {
|
|
1167
|
+
success: boolean;
|
|
1103
1168
|
sections?: {
|
|
1104
1169
|
id: string;
|
|
1105
|
-
type?: string | undefined;
|
|
1106
|
-
description?: string | undefined;
|
|
1107
1170
|
name?: string | undefined;
|
|
1171
|
+
description?: string | undefined;
|
|
1172
|
+
type?: string | undefined;
|
|
1108
1173
|
platform?: string | undefined;
|
|
1109
1174
|
purpose?: string | undefined;
|
|
1110
1175
|
}[] | undefined;
|
|
@@ -1112,37 +1177,23 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1112
1177
|
total: number;
|
|
1113
1178
|
filtered?: number | undefined;
|
|
1114
1179
|
} | undefined;
|
|
1115
|
-
}, {
|
|
1116
|
-
success: boolean;
|
|
1117
1180
|
error?: string | undefined;
|
|
1118
1181
|
shells?: {
|
|
1119
1182
|
id: string;
|
|
1120
|
-
type?: string | undefined;
|
|
1121
|
-
description?: string | undefined;
|
|
1122
1183
|
name?: string | undefined;
|
|
1184
|
+
description?: string | undefined;
|
|
1185
|
+
type?: string | undefined;
|
|
1123
1186
|
platform?: string | undefined;
|
|
1124
1187
|
purpose?: string | undefined;
|
|
1125
1188
|
}[] | undefined;
|
|
1126
1189
|
pages?: {
|
|
1127
1190
|
id: string;
|
|
1128
|
-
type?: string | undefined;
|
|
1129
|
-
description?: string | undefined;
|
|
1130
1191
|
name?: string | undefined;
|
|
1131
|
-
platform?: string | undefined;
|
|
1132
|
-
purpose?: string | undefined;
|
|
1133
|
-
}[] | undefined;
|
|
1134
|
-
sections?: {
|
|
1135
|
-
id: string;
|
|
1136
|
-
type?: string | undefined;
|
|
1137
1192
|
description?: string | undefined;
|
|
1138
|
-
|
|
1193
|
+
type?: string | undefined;
|
|
1139
1194
|
platform?: string | undefined;
|
|
1140
1195
|
purpose?: string | undefined;
|
|
1141
1196
|
}[] | undefined;
|
|
1142
|
-
metadata?: {
|
|
1143
|
-
total: number;
|
|
1144
|
-
filtered?: number | undefined;
|
|
1145
|
-
} | undefined;
|
|
1146
1197
|
}>;
|
|
1147
1198
|
export type ListTokensOutput = z.infer<typeof ListTokensOutputSchema>;
|
|
1148
1199
|
/**
|
|
@@ -1168,17 +1219,17 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1168
1219
|
totalIcons: z.ZodNumber;
|
|
1169
1220
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1170
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1171
|
-
description: string;
|
|
1172
1222
|
id: string;
|
|
1173
1223
|
name: string;
|
|
1224
|
+
description: string;
|
|
1174
1225
|
version: string;
|
|
1175
1226
|
license: string;
|
|
1176
1227
|
totalIcons: number;
|
|
1177
1228
|
categories: string[];
|
|
1178
1229
|
}, {
|
|
1179
|
-
description: string;
|
|
1180
1230
|
id: string;
|
|
1181
1231
|
name: string;
|
|
1232
|
+
description: string;
|
|
1182
1233
|
version: string;
|
|
1183
1234
|
license: string;
|
|
1184
1235
|
totalIcons: number;
|
|
@@ -1199,17 +1250,17 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1199
1250
|
totalIcons: z.ZodNumber;
|
|
1200
1251
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1201
1252
|
}, "strip", z.ZodTypeAny, {
|
|
1202
|
-
description: string;
|
|
1203
1253
|
id: string;
|
|
1204
1254
|
name: string;
|
|
1255
|
+
description: string;
|
|
1205
1256
|
version: string;
|
|
1206
1257
|
license: string;
|
|
1207
1258
|
totalIcons: number;
|
|
1208
1259
|
categories: string[];
|
|
1209
1260
|
}, {
|
|
1210
|
-
description: string;
|
|
1211
1261
|
id: string;
|
|
1212
1262
|
name: string;
|
|
1263
|
+
description: string;
|
|
1213
1264
|
version: string;
|
|
1214
1265
|
license: string;
|
|
1215
1266
|
totalIcons: number;
|
|
@@ -1220,29 +1271,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1220
1271
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1272
|
success: boolean;
|
|
1222
1273
|
error?: string | undefined;
|
|
1223
|
-
count?: number | undefined;
|
|
1224
1274
|
libraries?: {
|
|
1225
|
-
description: string;
|
|
1226
1275
|
id: string;
|
|
1227
1276
|
name: string;
|
|
1277
|
+
description: string;
|
|
1228
1278
|
version: string;
|
|
1229
1279
|
license: string;
|
|
1230
1280
|
totalIcons: number;
|
|
1231
1281
|
categories: string[];
|
|
1232
1282
|
}[] | undefined;
|
|
1283
|
+
count?: number | undefined;
|
|
1233
1284
|
}, {
|
|
1234
1285
|
success: boolean;
|
|
1235
1286
|
error?: string | undefined;
|
|
1236
|
-
count?: number | undefined;
|
|
1237
1287
|
libraries?: {
|
|
1238
|
-
description: string;
|
|
1239
1288
|
id: string;
|
|
1240
1289
|
name: string;
|
|
1290
|
+
description: string;
|
|
1241
1291
|
version: string;
|
|
1242
1292
|
license: string;
|
|
1243
1293
|
totalIcons: number;
|
|
1244
1294
|
categories: string[];
|
|
1245
1295
|
}[] | undefined;
|
|
1296
|
+
count?: number | undefined;
|
|
1246
1297
|
}>;
|
|
1247
1298
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1248
1299
|
/**
|
|
@@ -1266,15 +1317,15 @@ export declare const IconSizeMappingSchema: z.ZodObject<{
|
|
|
1266
1317
|
lg: z.ZodNumber;
|
|
1267
1318
|
xl: z.ZodOptional<z.ZodNumber>;
|
|
1268
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1320
|
+
lg: number;
|
|
1269
1321
|
sm: number;
|
|
1270
1322
|
md: number;
|
|
1271
|
-
lg: number;
|
|
1272
1323
|
xs?: number | undefined;
|
|
1273
1324
|
xl?: number | undefined;
|
|
1274
1325
|
}, {
|
|
1326
|
+
lg: number;
|
|
1275
1327
|
sm: number;
|
|
1276
1328
|
md: number;
|
|
1277
|
-
lg: number;
|
|
1278
1329
|
xs?: number | undefined;
|
|
1279
1330
|
xl?: number | undefined;
|
|
1280
1331
|
}>;
|
|
@@ -1318,15 +1369,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1318
1369
|
lg: z.ZodNumber;
|
|
1319
1370
|
xl: z.ZodOptional<z.ZodNumber>;
|
|
1320
1371
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
+
lg: number;
|
|
1321
1373
|
sm: number;
|
|
1322
1374
|
md: number;
|
|
1323
|
-
lg: number;
|
|
1324
1375
|
xs?: number | undefined;
|
|
1325
1376
|
xl?: number | undefined;
|
|
1326
1377
|
}, {
|
|
1378
|
+
lg: number;
|
|
1327
1379
|
sm: number;
|
|
1328
1380
|
md: number;
|
|
1329
|
-
lg: number;
|
|
1330
1381
|
xs?: number | undefined;
|
|
1331
1382
|
xl?: number | undefined;
|
|
1332
1383
|
}>;
|
|
@@ -1393,18 +1444,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1393
1444
|
defaultVariant: z.ZodOptional<z.ZodString>;
|
|
1394
1445
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1395
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1396
|
-
description: string;
|
|
1397
1447
|
id: string;
|
|
1398
1448
|
name: string;
|
|
1449
|
+
description: string;
|
|
1399
1450
|
version: string;
|
|
1400
1451
|
license: string;
|
|
1401
1452
|
totalIcons: number;
|
|
1402
1453
|
categories: string[];
|
|
1403
1454
|
website: string;
|
|
1404
1455
|
sizeMapping: {
|
|
1456
|
+
lg: number;
|
|
1405
1457
|
sm: number;
|
|
1406
1458
|
md: number;
|
|
1407
|
-
lg: number;
|
|
1408
1459
|
xs?: number | undefined;
|
|
1409
1460
|
xl?: number | undefined;
|
|
1410
1461
|
};
|
|
@@ -1425,18 +1476,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1425
1476
|
defaultVariant?: string | undefined;
|
|
1426
1477
|
iconSample?: string[] | undefined;
|
|
1427
1478
|
}, {
|
|
1428
|
-
description: string;
|
|
1429
1479
|
id: string;
|
|
1430
1480
|
name: string;
|
|
1481
|
+
description: string;
|
|
1431
1482
|
version: string;
|
|
1432
1483
|
license: string;
|
|
1433
1484
|
totalIcons: number;
|
|
1434
1485
|
categories: string[];
|
|
1435
1486
|
website: string;
|
|
1436
1487
|
sizeMapping: {
|
|
1488
|
+
lg: number;
|
|
1437
1489
|
sm: number;
|
|
1438
1490
|
md: number;
|
|
1439
|
-
lg: number;
|
|
1440
1491
|
xs?: number | undefined;
|
|
1441
1492
|
xl?: number | undefined;
|
|
1442
1493
|
};
|
|
@@ -1462,18 +1513,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1462
1513
|
success: boolean;
|
|
1463
1514
|
error?: string | undefined;
|
|
1464
1515
|
library?: {
|
|
1465
|
-
description: string;
|
|
1466
1516
|
id: string;
|
|
1467
1517
|
name: string;
|
|
1518
|
+
description: string;
|
|
1468
1519
|
version: string;
|
|
1469
1520
|
license: string;
|
|
1470
1521
|
totalIcons: number;
|
|
1471
1522
|
categories: string[];
|
|
1472
1523
|
website: string;
|
|
1473
1524
|
sizeMapping: {
|
|
1525
|
+
lg: number;
|
|
1474
1526
|
sm: number;
|
|
1475
1527
|
md: number;
|
|
1476
|
-
lg: number;
|
|
1477
1528
|
xs?: number | undefined;
|
|
1478
1529
|
xl?: number | undefined;
|
|
1479
1530
|
};
|
|
@@ -1498,18 +1549,18 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1498
1549
|
success: boolean;
|
|
1499
1550
|
error?: string | undefined;
|
|
1500
1551
|
library?: {
|
|
1501
|
-
description: string;
|
|
1502
1552
|
id: string;
|
|
1503
1553
|
name: string;
|
|
1554
|
+
description: string;
|
|
1504
1555
|
version: string;
|
|
1505
1556
|
license: string;
|
|
1506
1557
|
totalIcons: number;
|
|
1507
1558
|
categories: string[];
|
|
1508
1559
|
website: string;
|
|
1509
1560
|
sizeMapping: {
|
|
1561
|
+
lg: number;
|
|
1510
1562
|
sm: number;
|
|
1511
1563
|
md: number;
|
|
1512
|
-
lg: number;
|
|
1513
1564
|
xs?: number | undefined;
|
|
1514
1565
|
xl?: number | undefined;
|
|
1515
1566
|
};
|
|
@@ -1546,11 +1597,11 @@ export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
|
1546
1597
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["core", "complex", "advanced", "all"]>>>;
|
|
1547
1598
|
search: z.ZodOptional<z.ZodString>;
|
|
1548
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1549
|
-
category: "
|
|
1600
|
+
category: "core" | "complex" | "advanced" | "all";
|
|
1550
1601
|
search?: string | undefined;
|
|
1551
1602
|
}, {
|
|
1603
|
+
category?: "core" | "complex" | "advanced" | "all" | undefined;
|
|
1552
1604
|
search?: string | undefined;
|
|
1553
|
-
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1554
1605
|
}>;
|
|
1555
1606
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
1556
1607
|
/**
|
|
@@ -1565,21 +1616,21 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1565
1616
|
hasSubComponents: z.ZodBoolean;
|
|
1566
1617
|
tier: z.ZodNumber;
|
|
1567
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1568
|
-
description: string;
|
|
1569
|
-
category: "core" | "complex" | "advanced";
|
|
1570
1619
|
id: string;
|
|
1571
1620
|
name: string;
|
|
1572
|
-
|
|
1621
|
+
category: "core" | "complex" | "advanced";
|
|
1622
|
+
description: string;
|
|
1573
1623
|
variantsCount: number;
|
|
1574
1624
|
hasSubComponents: boolean;
|
|
1625
|
+
tier: number;
|
|
1575
1626
|
}, {
|
|
1576
|
-
description: string;
|
|
1577
|
-
category: "core" | "complex" | "advanced";
|
|
1578
1627
|
id: string;
|
|
1579
1628
|
name: string;
|
|
1580
|
-
|
|
1629
|
+
category: "core" | "complex" | "advanced";
|
|
1630
|
+
description: string;
|
|
1581
1631
|
variantsCount: number;
|
|
1582
1632
|
hasSubComponents: boolean;
|
|
1633
|
+
tier: number;
|
|
1583
1634
|
}>;
|
|
1584
1635
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1585
1636
|
/**
|
|
@@ -1596,21 +1647,21 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1596
1647
|
hasSubComponents: z.ZodBoolean;
|
|
1597
1648
|
tier: z.ZodNumber;
|
|
1598
1649
|
}, "strip", z.ZodTypeAny, {
|
|
1599
|
-
description: string;
|
|
1600
|
-
category: "core" | "complex" | "advanced";
|
|
1601
1650
|
id: string;
|
|
1602
1651
|
name: string;
|
|
1603
|
-
|
|
1652
|
+
category: "core" | "complex" | "advanced";
|
|
1653
|
+
description: string;
|
|
1604
1654
|
variantsCount: number;
|
|
1605
1655
|
hasSubComponents: boolean;
|
|
1656
|
+
tier: number;
|
|
1606
1657
|
}, {
|
|
1607
|
-
description: string;
|
|
1608
|
-
category: "core" | "complex" | "advanced";
|
|
1609
1658
|
id: string;
|
|
1610
1659
|
name: string;
|
|
1611
|
-
|
|
1660
|
+
category: "core" | "complex" | "advanced";
|
|
1661
|
+
description: string;
|
|
1612
1662
|
variantsCount: number;
|
|
1613
1663
|
hasSubComponents: boolean;
|
|
1664
|
+
tier: number;
|
|
1614
1665
|
}>, "many">>;
|
|
1615
1666
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1616
1667
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1629,40 +1680,40 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1629
1680
|
error: z.ZodOptional<z.ZodString>;
|
|
1630
1681
|
}, "strip", z.ZodTypeAny, {
|
|
1631
1682
|
success: boolean;
|
|
1632
|
-
error?: string | undefined;
|
|
1633
1683
|
components?: {
|
|
1634
|
-
description: string;
|
|
1635
|
-
category: "core" | "complex" | "advanced";
|
|
1636
1684
|
id: string;
|
|
1637
1685
|
name: string;
|
|
1638
|
-
|
|
1686
|
+
category: "core" | "complex" | "advanced";
|
|
1687
|
+
description: string;
|
|
1639
1688
|
variantsCount: number;
|
|
1640
1689
|
hasSubComponents: boolean;
|
|
1690
|
+
tier: number;
|
|
1641
1691
|
}[] | undefined;
|
|
1642
|
-
|
|
1692
|
+
error?: string | undefined;
|
|
1643
1693
|
categories?: {
|
|
1644
1694
|
core: number;
|
|
1645
1695
|
complex: number;
|
|
1646
1696
|
advanced: number;
|
|
1647
1697
|
} | undefined;
|
|
1698
|
+
count?: number | undefined;
|
|
1648
1699
|
}, {
|
|
1649
1700
|
success: boolean;
|
|
1650
|
-
error?: string | undefined;
|
|
1651
1701
|
components?: {
|
|
1652
|
-
description: string;
|
|
1653
|
-
category: "core" | "complex" | "advanced";
|
|
1654
1702
|
id: string;
|
|
1655
1703
|
name: string;
|
|
1656
|
-
|
|
1704
|
+
category: "core" | "complex" | "advanced";
|
|
1705
|
+
description: string;
|
|
1657
1706
|
variantsCount: number;
|
|
1658
1707
|
hasSubComponents: boolean;
|
|
1708
|
+
tier: number;
|
|
1659
1709
|
}[] | undefined;
|
|
1660
|
-
|
|
1710
|
+
error?: string | undefined;
|
|
1661
1711
|
categories?: {
|
|
1662
1712
|
core: number;
|
|
1663
1713
|
complex: number;
|
|
1664
1714
|
advanced: number;
|
|
1665
1715
|
} | undefined;
|
|
1716
|
+
count?: number | undefined;
|
|
1666
1717
|
}>;
|
|
1667
1718
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1668
1719
|
/**
|
|
@@ -1693,14 +1744,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1693
1744
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1694
1745
|
description: z.ZodOptional<z.ZodString>;
|
|
1695
1746
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
-
type: string;
|
|
1697
1747
|
name: string;
|
|
1748
|
+
type: string;
|
|
1698
1749
|
required: boolean;
|
|
1699
1750
|
description?: string | undefined;
|
|
1700
1751
|
defaultValue?: string | undefined;
|
|
1701
1752
|
}, {
|
|
1702
|
-
type: string;
|
|
1703
1753
|
name: string;
|
|
1754
|
+
type: string;
|
|
1704
1755
|
required: boolean;
|
|
1705
1756
|
description?: string | undefined;
|
|
1706
1757
|
defaultValue?: string | undefined;
|
|
@@ -1714,12 +1765,12 @@ export declare const VariantSchema: z.ZodObject<{
|
|
|
1714
1765
|
value: z.ZodString;
|
|
1715
1766
|
description: z.ZodOptional<z.ZodString>;
|
|
1716
1767
|
}, "strip", z.ZodTypeAny, {
|
|
1717
|
-
value: string;
|
|
1718
1768
|
name: string;
|
|
1769
|
+
value: string;
|
|
1719
1770
|
description?: string | undefined;
|
|
1720
1771
|
}, {
|
|
1721
|
-
value: string;
|
|
1722
1772
|
name: string;
|
|
1773
|
+
value: string;
|
|
1723
1774
|
description?: string | undefined;
|
|
1724
1775
|
}>;
|
|
1725
1776
|
export type Variant = z.infer<typeof VariantSchema>;
|
|
@@ -1758,14 +1809,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1758
1809
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1759
1810
|
description: z.ZodOptional<z.ZodString>;
|
|
1760
1811
|
}, "strip", z.ZodTypeAny, {
|
|
1761
|
-
type: string;
|
|
1762
1812
|
name: string;
|
|
1813
|
+
type: string;
|
|
1763
1814
|
required: boolean;
|
|
1764
1815
|
description?: string | undefined;
|
|
1765
1816
|
defaultValue?: string | undefined;
|
|
1766
1817
|
}, {
|
|
1767
|
-
type: string;
|
|
1768
1818
|
name: string;
|
|
1819
|
+
type: string;
|
|
1769
1820
|
required: boolean;
|
|
1770
1821
|
description?: string | undefined;
|
|
1771
1822
|
defaultValue?: string | undefined;
|
|
@@ -1775,12 +1826,12 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1775
1826
|
value: z.ZodString;
|
|
1776
1827
|
description: z.ZodOptional<z.ZodString>;
|
|
1777
1828
|
}, "strip", z.ZodTypeAny, {
|
|
1778
|
-
value: string;
|
|
1779
1829
|
name: string;
|
|
1830
|
+
value: string;
|
|
1780
1831
|
description?: string | undefined;
|
|
1781
1832
|
}, {
|
|
1782
|
-
value: string;
|
|
1783
1833
|
name: string;
|
|
1834
|
+
value: string;
|
|
1784
1835
|
description?: string | undefined;
|
|
1785
1836
|
}>, "many">>;
|
|
1786
1837
|
subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1810,135 +1861,135 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1810
1861
|
}>, "many">>;
|
|
1811
1862
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
1812
1863
|
}, "strip", z.ZodTypeAny, {
|
|
1864
|
+
id: string;
|
|
1865
|
+
name: string;
|
|
1866
|
+
category: "core" | "complex" | "advanced";
|
|
1867
|
+
description: string;
|
|
1868
|
+
tier: number;
|
|
1813
1869
|
props: {
|
|
1814
|
-
type: string;
|
|
1815
1870
|
name: string;
|
|
1871
|
+
type: string;
|
|
1816
1872
|
required: boolean;
|
|
1817
1873
|
description?: string | undefined;
|
|
1818
1874
|
defaultValue?: string | undefined;
|
|
1819
1875
|
}[];
|
|
1820
|
-
description: string;
|
|
1821
|
-
category: "core" | "complex" | "advanced";
|
|
1822
|
-
id: string;
|
|
1823
|
-
name: string;
|
|
1824
|
-
tier: number;
|
|
1825
1876
|
importStatement: string;
|
|
1826
|
-
|
|
1827
|
-
external: string[];
|
|
1828
|
-
internal: string[];
|
|
1829
|
-
} | undefined;
|
|
1877
|
+
accessibility?: string | undefined;
|
|
1830
1878
|
variants?: {
|
|
1831
|
-
value: string;
|
|
1832
1879
|
name: string;
|
|
1880
|
+
value: string;
|
|
1833
1881
|
description?: string | undefined;
|
|
1834
1882
|
}[] | undefined;
|
|
1883
|
+
dependencies?: {
|
|
1884
|
+
external: string[];
|
|
1885
|
+
internal: string[];
|
|
1886
|
+
} | undefined;
|
|
1835
1887
|
subComponents?: string[] | undefined;
|
|
1836
1888
|
examples?: {
|
|
1837
1889
|
code: string;
|
|
1838
1890
|
title: string;
|
|
1839
1891
|
description?: string | undefined;
|
|
1840
1892
|
}[] | undefined;
|
|
1841
|
-
accessibility?: string | undefined;
|
|
1842
1893
|
}, {
|
|
1894
|
+
id: string;
|
|
1895
|
+
name: string;
|
|
1896
|
+
category: "core" | "complex" | "advanced";
|
|
1897
|
+
description: string;
|
|
1898
|
+
tier: number;
|
|
1843
1899
|
props: {
|
|
1844
|
-
type: string;
|
|
1845
1900
|
name: string;
|
|
1901
|
+
type: string;
|
|
1846
1902
|
required: boolean;
|
|
1847
1903
|
description?: string | undefined;
|
|
1848
1904
|
defaultValue?: string | undefined;
|
|
1849
1905
|
}[];
|
|
1850
|
-
description: string;
|
|
1851
|
-
category: "core" | "complex" | "advanced";
|
|
1852
|
-
id: string;
|
|
1853
|
-
name: string;
|
|
1854
|
-
tier: number;
|
|
1855
1906
|
importStatement: string;
|
|
1856
|
-
|
|
1857
|
-
external: string[];
|
|
1858
|
-
internal: string[];
|
|
1859
|
-
} | undefined;
|
|
1907
|
+
accessibility?: string | undefined;
|
|
1860
1908
|
variants?: {
|
|
1861
|
-
value: string;
|
|
1862
1909
|
name: string;
|
|
1910
|
+
value: string;
|
|
1863
1911
|
description?: string | undefined;
|
|
1864
1912
|
}[] | undefined;
|
|
1913
|
+
dependencies?: {
|
|
1914
|
+
external: string[];
|
|
1915
|
+
internal: string[];
|
|
1916
|
+
} | undefined;
|
|
1865
1917
|
subComponents?: string[] | undefined;
|
|
1866
1918
|
examples?: {
|
|
1867
1919
|
code: string;
|
|
1868
1920
|
title: string;
|
|
1869
1921
|
description?: string | undefined;
|
|
1870
1922
|
}[] | undefined;
|
|
1871
|
-
accessibility?: string | undefined;
|
|
1872
1923
|
}>>;
|
|
1873
1924
|
error: z.ZodOptional<z.ZodString>;
|
|
1874
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1875
1926
|
success: boolean;
|
|
1876
|
-
error?: string | undefined;
|
|
1877
1927
|
component?: {
|
|
1928
|
+
id: string;
|
|
1929
|
+
name: string;
|
|
1930
|
+
category: "core" | "complex" | "advanced";
|
|
1931
|
+
description: string;
|
|
1932
|
+
tier: number;
|
|
1878
1933
|
props: {
|
|
1879
|
-
type: string;
|
|
1880
1934
|
name: string;
|
|
1935
|
+
type: string;
|
|
1881
1936
|
required: boolean;
|
|
1882
1937
|
description?: string | undefined;
|
|
1883
1938
|
defaultValue?: string | undefined;
|
|
1884
1939
|
}[];
|
|
1885
|
-
description: string;
|
|
1886
|
-
category: "core" | "complex" | "advanced";
|
|
1887
|
-
id: string;
|
|
1888
|
-
name: string;
|
|
1889
|
-
tier: number;
|
|
1890
1940
|
importStatement: string;
|
|
1891
|
-
|
|
1892
|
-
external: string[];
|
|
1893
|
-
internal: string[];
|
|
1894
|
-
} | undefined;
|
|
1941
|
+
accessibility?: string | undefined;
|
|
1895
1942
|
variants?: {
|
|
1896
|
-
value: string;
|
|
1897
1943
|
name: string;
|
|
1944
|
+
value: string;
|
|
1898
1945
|
description?: string | undefined;
|
|
1899
1946
|
}[] | undefined;
|
|
1947
|
+
dependencies?: {
|
|
1948
|
+
external: string[];
|
|
1949
|
+
internal: string[];
|
|
1950
|
+
} | undefined;
|
|
1900
1951
|
subComponents?: string[] | undefined;
|
|
1901
1952
|
examples?: {
|
|
1902
1953
|
code: string;
|
|
1903
1954
|
title: string;
|
|
1904
1955
|
description?: string | undefined;
|
|
1905
1956
|
}[] | undefined;
|
|
1906
|
-
accessibility?: string | undefined;
|
|
1907
1957
|
} | undefined;
|
|
1958
|
+
error?: string | undefined;
|
|
1908
1959
|
}, {
|
|
1909
1960
|
success: boolean;
|
|
1910
|
-
error?: string | undefined;
|
|
1911
1961
|
component?: {
|
|
1962
|
+
id: string;
|
|
1963
|
+
name: string;
|
|
1964
|
+
category: "core" | "complex" | "advanced";
|
|
1965
|
+
description: string;
|
|
1966
|
+
tier: number;
|
|
1912
1967
|
props: {
|
|
1913
|
-
type: string;
|
|
1914
1968
|
name: string;
|
|
1969
|
+
type: string;
|
|
1915
1970
|
required: boolean;
|
|
1916
1971
|
description?: string | undefined;
|
|
1917
1972
|
defaultValue?: string | undefined;
|
|
1918
1973
|
}[];
|
|
1919
|
-
description: string;
|
|
1920
|
-
category: "core" | "complex" | "advanced";
|
|
1921
|
-
id: string;
|
|
1922
|
-
name: string;
|
|
1923
|
-
tier: number;
|
|
1924
1974
|
importStatement: string;
|
|
1925
|
-
|
|
1926
|
-
external: string[];
|
|
1927
|
-
internal: string[];
|
|
1928
|
-
} | undefined;
|
|
1975
|
+
accessibility?: string | undefined;
|
|
1929
1976
|
variants?: {
|
|
1930
|
-
value: string;
|
|
1931
1977
|
name: string;
|
|
1978
|
+
value: string;
|
|
1932
1979
|
description?: string | undefined;
|
|
1933
1980
|
}[] | undefined;
|
|
1981
|
+
dependencies?: {
|
|
1982
|
+
external: string[];
|
|
1983
|
+
internal: string[];
|
|
1984
|
+
} | undefined;
|
|
1934
1985
|
subComponents?: string[] | undefined;
|
|
1935
1986
|
examples?: {
|
|
1936
1987
|
code: string;
|
|
1937
1988
|
title: string;
|
|
1938
1989
|
description?: string | undefined;
|
|
1939
1990
|
}[] | undefined;
|
|
1940
|
-
accessibility?: string | undefined;
|
|
1941
1991
|
} | undefined;
|
|
1992
|
+
error?: string | undefined;
|
|
1942
1993
|
}>;
|
|
1943
1994
|
export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
|
|
1944
1995
|
/**
|
|
@@ -1954,11 +2005,11 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
1954
2005
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
1955
2006
|
search: z.ZodOptional<z.ZodString>;
|
|
1956
2007
|
}, "strip", z.ZodTypeAny, {
|
|
1957
|
-
category: "auth" | "
|
|
2008
|
+
category: "auth" | "form" | "all" | "dashboard" | "marketing" | "feedback";
|
|
1958
2009
|
search?: string | undefined;
|
|
1959
2010
|
}, {
|
|
2011
|
+
category?: "auth" | "form" | "all" | "dashboard" | "marketing" | "feedback" | undefined;
|
|
1960
2012
|
search?: string | undefined;
|
|
1961
|
-
category?: "auth" | "dashboard" | "all" | "form" | "marketing" | "feedback" | undefined;
|
|
1962
2013
|
}>;
|
|
1963
2014
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
1964
2015
|
/**
|
|
@@ -1979,22 +2030,22 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1979
2030
|
version: z.ZodString;
|
|
1980
2031
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1981
2032
|
}, "strip", z.ZodTypeAny, {
|
|
1982
|
-
description: string;
|
|
1983
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1984
2033
|
id: string;
|
|
1985
2034
|
name: string;
|
|
2035
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2036
|
+
description: string;
|
|
1986
2037
|
version: string;
|
|
1987
2038
|
requiredComponentsCount: number;
|
|
1988
|
-
layoutType: "
|
|
2039
|
+
layoutType: "sidebar" | "centered" | "full";
|
|
1989
2040
|
tags?: string[] | undefined;
|
|
1990
2041
|
}, {
|
|
1991
|
-
description: string;
|
|
1992
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
1993
2042
|
id: string;
|
|
1994
2043
|
name: string;
|
|
2044
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2045
|
+
description: string;
|
|
1995
2046
|
version: string;
|
|
1996
2047
|
requiredComponentsCount: number;
|
|
1997
|
-
layoutType: "
|
|
2048
|
+
layoutType: "sidebar" | "centered" | "full";
|
|
1998
2049
|
tags?: string[] | undefined;
|
|
1999
2050
|
}>;
|
|
2000
2051
|
export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
|
|
@@ -2013,22 +2064,22 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2013
2064
|
version: z.ZodString;
|
|
2014
2065
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2015
2066
|
}, "strip", z.ZodTypeAny, {
|
|
2016
|
-
description: string;
|
|
2017
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2018
2067
|
id: string;
|
|
2019
2068
|
name: string;
|
|
2069
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2070
|
+
description: string;
|
|
2020
2071
|
version: string;
|
|
2021
2072
|
requiredComponentsCount: number;
|
|
2022
|
-
layoutType: "
|
|
2073
|
+
layoutType: "sidebar" | "centered" | "full";
|
|
2023
2074
|
tags?: string[] | undefined;
|
|
2024
2075
|
}, {
|
|
2025
|
-
description: string;
|
|
2026
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2027
2076
|
id: string;
|
|
2028
2077
|
name: string;
|
|
2078
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2079
|
+
description: string;
|
|
2029
2080
|
version: string;
|
|
2030
2081
|
requiredComponentsCount: number;
|
|
2031
|
-
layoutType: "
|
|
2082
|
+
layoutType: "sidebar" | "centered" | "full";
|
|
2032
2083
|
tags?: string[] | undefined;
|
|
2033
2084
|
}>, "many">>;
|
|
2034
2085
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2040,14 +2091,14 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2040
2091
|
feedback: z.ZodNumber;
|
|
2041
2092
|
}, "strip", z.ZodTypeAny, {
|
|
2042
2093
|
auth: number;
|
|
2043
|
-
dashboard: number;
|
|
2044
2094
|
form: number;
|
|
2095
|
+
dashboard: number;
|
|
2045
2096
|
marketing: number;
|
|
2046
2097
|
feedback: number;
|
|
2047
2098
|
}, {
|
|
2048
2099
|
auth: number;
|
|
2049
|
-
dashboard: number;
|
|
2050
2100
|
form: number;
|
|
2101
|
+
dashboard: number;
|
|
2051
2102
|
marketing: number;
|
|
2052
2103
|
feedback: number;
|
|
2053
2104
|
}>>;
|
|
@@ -2055,43 +2106,43 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2055
2106
|
}, "strip", z.ZodTypeAny, {
|
|
2056
2107
|
success: boolean;
|
|
2057
2108
|
error?: string | undefined;
|
|
2058
|
-
count?: number | undefined;
|
|
2059
2109
|
categories?: {
|
|
2060
2110
|
auth: number;
|
|
2061
|
-
dashboard: number;
|
|
2062
2111
|
form: number;
|
|
2112
|
+
dashboard: number;
|
|
2063
2113
|
marketing: number;
|
|
2064
2114
|
feedback: number;
|
|
2065
2115
|
} | undefined;
|
|
2116
|
+
count?: number | undefined;
|
|
2066
2117
|
templates?: {
|
|
2067
|
-
description: string;
|
|
2068
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2069
2118
|
id: string;
|
|
2070
2119
|
name: string;
|
|
2120
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2121
|
+
description: string;
|
|
2071
2122
|
version: string;
|
|
2072
2123
|
requiredComponentsCount: number;
|
|
2073
|
-
layoutType: "
|
|
2124
|
+
layoutType: "sidebar" | "centered" | "full";
|
|
2074
2125
|
tags?: string[] | undefined;
|
|
2075
2126
|
}[] | undefined;
|
|
2076
2127
|
}, {
|
|
2077
2128
|
success: boolean;
|
|
2078
2129
|
error?: string | undefined;
|
|
2079
|
-
count?: number | undefined;
|
|
2080
2130
|
categories?: {
|
|
2081
2131
|
auth: number;
|
|
2082
|
-
dashboard: number;
|
|
2083
2132
|
form: number;
|
|
2133
|
+
dashboard: number;
|
|
2084
2134
|
marketing: number;
|
|
2085
2135
|
feedback: number;
|
|
2086
2136
|
} | undefined;
|
|
2137
|
+
count?: number | undefined;
|
|
2087
2138
|
templates?: {
|
|
2088
|
-
description: string;
|
|
2089
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2090
2139
|
id: string;
|
|
2091
2140
|
name: string;
|
|
2141
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2142
|
+
description: string;
|
|
2092
2143
|
version: string;
|
|
2093
2144
|
requiredComponentsCount: number;
|
|
2094
|
-
layoutType: "
|
|
2145
|
+
layoutType: "sidebar" | "centered" | "full";
|
|
2095
2146
|
tags?: string[] | undefined;
|
|
2096
2147
|
}[] | undefined;
|
|
2097
2148
|
}>;
|
|
@@ -2123,32 +2174,32 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2123
2174
|
slot: z.ZodString;
|
|
2124
2175
|
required: z.ZodBoolean;
|
|
2125
2176
|
}, "strip", z.ZodTypeAny, {
|
|
2126
|
-
slot: string;
|
|
2127
2177
|
id: string;
|
|
2128
2178
|
name: string;
|
|
2179
|
+
slot: string;
|
|
2129
2180
|
required: boolean;
|
|
2130
2181
|
}, {
|
|
2131
|
-
slot: string;
|
|
2132
2182
|
id: string;
|
|
2133
2183
|
name: string;
|
|
2184
|
+
slot: string;
|
|
2134
2185
|
required: boolean;
|
|
2135
2186
|
}>, "many">;
|
|
2136
2187
|
}, "strip", z.ZodTypeAny, {
|
|
2137
2188
|
shell: string;
|
|
2138
2189
|
page: string;
|
|
2139
2190
|
sections: {
|
|
2140
|
-
slot: string;
|
|
2141
2191
|
id: string;
|
|
2142
2192
|
name: string;
|
|
2193
|
+
slot: string;
|
|
2143
2194
|
required: boolean;
|
|
2144
2195
|
}[];
|
|
2145
2196
|
}, {
|
|
2146
2197
|
shell: string;
|
|
2147
2198
|
page: string;
|
|
2148
2199
|
sections: {
|
|
2149
|
-
slot: string;
|
|
2150
2200
|
id: string;
|
|
2151
2201
|
name: string;
|
|
2202
|
+
slot: string;
|
|
2152
2203
|
required: boolean;
|
|
2153
2204
|
}[];
|
|
2154
2205
|
}>;
|
|
@@ -2161,12 +2212,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2161
2212
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2162
2213
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2163
2214
|
}, "strip", z.ZodTypeAny, {
|
|
2164
|
-
texts: string[];
|
|
2165
2215
|
optional: string[];
|
|
2216
|
+
texts: string[];
|
|
2166
2217
|
slots: string[];
|
|
2167
2218
|
}, {
|
|
2168
|
-
texts: string[];
|
|
2169
2219
|
optional: string[];
|
|
2220
|
+
texts: string[];
|
|
2170
2221
|
slots: string[];
|
|
2171
2222
|
}>;
|
|
2172
2223
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2179,71 +2230,71 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2179
2230
|
gap: z.ZodString;
|
|
2180
2231
|
columns: z.ZodNumber;
|
|
2181
2232
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
+
columns: number;
|
|
2182
2234
|
padding: string;
|
|
2183
2235
|
gap: string;
|
|
2184
|
-
columns: number;
|
|
2185
2236
|
}, {
|
|
2237
|
+
columns: number;
|
|
2186
2238
|
padding: string;
|
|
2187
2239
|
gap: string;
|
|
2188
|
-
columns: number;
|
|
2189
2240
|
}>;
|
|
2190
2241
|
tablet: z.ZodObject<{
|
|
2191
2242
|
padding: z.ZodString;
|
|
2192
2243
|
gap: z.ZodString;
|
|
2193
2244
|
columns: z.ZodNumber;
|
|
2194
2245
|
}, "strip", z.ZodTypeAny, {
|
|
2246
|
+
columns: number;
|
|
2195
2247
|
padding: string;
|
|
2196
2248
|
gap: string;
|
|
2197
|
-
columns: number;
|
|
2198
2249
|
}, {
|
|
2250
|
+
columns: number;
|
|
2199
2251
|
padding: string;
|
|
2200
2252
|
gap: string;
|
|
2201
|
-
columns: number;
|
|
2202
2253
|
}>;
|
|
2203
2254
|
desktop: z.ZodObject<{
|
|
2204
2255
|
padding: z.ZodString;
|
|
2205
2256
|
gap: z.ZodString;
|
|
2206
2257
|
columns: z.ZodNumber;
|
|
2207
2258
|
}, "strip", z.ZodTypeAny, {
|
|
2259
|
+
columns: number;
|
|
2208
2260
|
padding: string;
|
|
2209
2261
|
gap: string;
|
|
2210
|
-
columns: number;
|
|
2211
2262
|
}, {
|
|
2263
|
+
columns: number;
|
|
2212
2264
|
padding: string;
|
|
2213
2265
|
gap: string;
|
|
2214
|
-
columns: number;
|
|
2215
2266
|
}>;
|
|
2216
2267
|
}, "strip", z.ZodTypeAny, {
|
|
2217
2268
|
mobile: {
|
|
2269
|
+
columns: number;
|
|
2218
2270
|
padding: string;
|
|
2219
2271
|
gap: string;
|
|
2220
|
-
columns: number;
|
|
2221
2272
|
};
|
|
2222
2273
|
tablet: {
|
|
2274
|
+
columns: number;
|
|
2223
2275
|
padding: string;
|
|
2224
2276
|
gap: string;
|
|
2225
|
-
columns: number;
|
|
2226
2277
|
};
|
|
2227
2278
|
desktop: {
|
|
2279
|
+
columns: number;
|
|
2228
2280
|
padding: string;
|
|
2229
2281
|
gap: string;
|
|
2230
|
-
columns: number;
|
|
2231
2282
|
};
|
|
2232
2283
|
}, {
|
|
2233
2284
|
mobile: {
|
|
2285
|
+
columns: number;
|
|
2234
2286
|
padding: string;
|
|
2235
2287
|
gap: string;
|
|
2236
|
-
columns: number;
|
|
2237
2288
|
};
|
|
2238
2289
|
tablet: {
|
|
2290
|
+
columns: number;
|
|
2239
2291
|
padding: string;
|
|
2240
2292
|
gap: string;
|
|
2241
|
-
columns: number;
|
|
2242
2293
|
};
|
|
2243
2294
|
desktop: {
|
|
2295
|
+
columns: number;
|
|
2244
2296
|
padding: string;
|
|
2245
2297
|
gap: string;
|
|
2246
|
-
columns: number;
|
|
2247
2298
|
};
|
|
2248
2299
|
}>;
|
|
2249
2300
|
export type ResponsiveLayout = z.infer<typeof ResponsiveLayoutSchema>;
|
|
@@ -2267,32 +2318,32 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2267
2318
|
slot: z.ZodString;
|
|
2268
2319
|
required: z.ZodBoolean;
|
|
2269
2320
|
}, "strip", z.ZodTypeAny, {
|
|
2270
|
-
slot: string;
|
|
2271
2321
|
id: string;
|
|
2272
2322
|
name: string;
|
|
2323
|
+
slot: string;
|
|
2273
2324
|
required: boolean;
|
|
2274
2325
|
}, {
|
|
2275
|
-
slot: string;
|
|
2276
2326
|
id: string;
|
|
2277
2327
|
name: string;
|
|
2328
|
+
slot: string;
|
|
2278
2329
|
required: boolean;
|
|
2279
2330
|
}>, "many">;
|
|
2280
2331
|
}, "strip", z.ZodTypeAny, {
|
|
2281
2332
|
shell: string;
|
|
2282
2333
|
page: string;
|
|
2283
2334
|
sections: {
|
|
2284
|
-
slot: string;
|
|
2285
2335
|
id: string;
|
|
2286
2336
|
name: string;
|
|
2337
|
+
slot: string;
|
|
2287
2338
|
required: boolean;
|
|
2288
2339
|
}[];
|
|
2289
2340
|
}, {
|
|
2290
2341
|
shell: string;
|
|
2291
2342
|
page: string;
|
|
2292
2343
|
sections: {
|
|
2293
|
-
slot: string;
|
|
2294
2344
|
id: string;
|
|
2295
2345
|
name: string;
|
|
2346
|
+
slot: string;
|
|
2296
2347
|
required: boolean;
|
|
2297
2348
|
}[];
|
|
2298
2349
|
}>;
|
|
@@ -2304,109 +2355,109 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2304
2355
|
gap: z.ZodString;
|
|
2305
2356
|
columns: z.ZodNumber;
|
|
2306
2357
|
}, "strip", z.ZodTypeAny, {
|
|
2358
|
+
columns: number;
|
|
2307
2359
|
padding: string;
|
|
2308
2360
|
gap: string;
|
|
2309
|
-
columns: number;
|
|
2310
2361
|
}, {
|
|
2362
|
+
columns: number;
|
|
2311
2363
|
padding: string;
|
|
2312
2364
|
gap: string;
|
|
2313
|
-
columns: number;
|
|
2314
2365
|
}>;
|
|
2315
2366
|
tablet: z.ZodObject<{
|
|
2316
2367
|
padding: z.ZodString;
|
|
2317
2368
|
gap: z.ZodString;
|
|
2318
2369
|
columns: z.ZodNumber;
|
|
2319
2370
|
}, "strip", z.ZodTypeAny, {
|
|
2371
|
+
columns: number;
|
|
2320
2372
|
padding: string;
|
|
2321
2373
|
gap: string;
|
|
2322
|
-
columns: number;
|
|
2323
2374
|
}, {
|
|
2375
|
+
columns: number;
|
|
2324
2376
|
padding: string;
|
|
2325
2377
|
gap: string;
|
|
2326
|
-
columns: number;
|
|
2327
2378
|
}>;
|
|
2328
2379
|
desktop: z.ZodObject<{
|
|
2329
2380
|
padding: z.ZodString;
|
|
2330
2381
|
gap: z.ZodString;
|
|
2331
2382
|
columns: z.ZodNumber;
|
|
2332
2383
|
}, "strip", z.ZodTypeAny, {
|
|
2384
|
+
columns: number;
|
|
2333
2385
|
padding: string;
|
|
2334
2386
|
gap: string;
|
|
2335
|
-
columns: number;
|
|
2336
2387
|
}, {
|
|
2388
|
+
columns: number;
|
|
2337
2389
|
padding: string;
|
|
2338
2390
|
gap: string;
|
|
2339
|
-
columns: number;
|
|
2340
2391
|
}>;
|
|
2341
2392
|
}, "strip", z.ZodTypeAny, {
|
|
2342
2393
|
mobile: {
|
|
2394
|
+
columns: number;
|
|
2343
2395
|
padding: string;
|
|
2344
2396
|
gap: string;
|
|
2345
|
-
columns: number;
|
|
2346
2397
|
};
|
|
2347
2398
|
tablet: {
|
|
2399
|
+
columns: number;
|
|
2348
2400
|
padding: string;
|
|
2349
2401
|
gap: string;
|
|
2350
|
-
columns: number;
|
|
2351
2402
|
};
|
|
2352
2403
|
desktop: {
|
|
2404
|
+
columns: number;
|
|
2353
2405
|
padding: string;
|
|
2354
2406
|
gap: string;
|
|
2355
|
-
columns: number;
|
|
2356
2407
|
};
|
|
2357
2408
|
}, {
|
|
2358
2409
|
mobile: {
|
|
2410
|
+
columns: number;
|
|
2359
2411
|
padding: string;
|
|
2360
2412
|
gap: string;
|
|
2361
|
-
columns: number;
|
|
2362
2413
|
};
|
|
2363
2414
|
tablet: {
|
|
2415
|
+
columns: number;
|
|
2364
2416
|
padding: string;
|
|
2365
2417
|
gap: string;
|
|
2366
|
-
columns: number;
|
|
2367
2418
|
};
|
|
2368
2419
|
desktop: {
|
|
2420
|
+
columns: number;
|
|
2369
2421
|
padding: string;
|
|
2370
2422
|
gap: string;
|
|
2371
|
-
columns: number;
|
|
2372
2423
|
};
|
|
2373
2424
|
}>>;
|
|
2374
2425
|
}, "strip", z.ZodTypeAny, {
|
|
2375
|
-
type: "
|
|
2426
|
+
type: "sidebar" | "centered" | "full";
|
|
2376
2427
|
responsive?: {
|
|
2377
2428
|
mobile: {
|
|
2429
|
+
columns: number;
|
|
2378
2430
|
padding: string;
|
|
2379
2431
|
gap: string;
|
|
2380
|
-
columns: number;
|
|
2381
2432
|
};
|
|
2382
2433
|
tablet: {
|
|
2434
|
+
columns: number;
|
|
2383
2435
|
padding: string;
|
|
2384
2436
|
gap: string;
|
|
2385
|
-
columns: number;
|
|
2386
2437
|
};
|
|
2387
2438
|
desktop: {
|
|
2439
|
+
columns: number;
|
|
2388
2440
|
padding: string;
|
|
2389
2441
|
gap: string;
|
|
2390
|
-
columns: number;
|
|
2391
2442
|
};
|
|
2392
2443
|
} | undefined;
|
|
2393
2444
|
}, {
|
|
2394
|
-
type: "
|
|
2445
|
+
type: "sidebar" | "centered" | "full";
|
|
2395
2446
|
responsive?: {
|
|
2396
2447
|
mobile: {
|
|
2448
|
+
columns: number;
|
|
2397
2449
|
padding: string;
|
|
2398
2450
|
gap: string;
|
|
2399
|
-
columns: number;
|
|
2400
2451
|
};
|
|
2401
2452
|
tablet: {
|
|
2453
|
+
columns: number;
|
|
2402
2454
|
padding: string;
|
|
2403
2455
|
gap: string;
|
|
2404
|
-
columns: number;
|
|
2405
2456
|
};
|
|
2406
2457
|
desktop: {
|
|
2458
|
+
columns: number;
|
|
2407
2459
|
padding: string;
|
|
2408
2460
|
gap: string;
|
|
2409
|
-
columns: number;
|
|
2410
2461
|
};
|
|
2411
2462
|
} | undefined;
|
|
2412
2463
|
}>;
|
|
@@ -2415,12 +2466,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2415
2466
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2416
2467
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2417
2468
|
}, "strip", z.ZodTypeAny, {
|
|
2418
|
-
texts: string[];
|
|
2419
2469
|
optional: string[];
|
|
2470
|
+
texts: string[];
|
|
2420
2471
|
slots: string[];
|
|
2421
2472
|
}, {
|
|
2422
|
-
texts: string[];
|
|
2423
2473
|
optional: string[];
|
|
2474
|
+
texts: string[];
|
|
2424
2475
|
slots: string[];
|
|
2425
2476
|
}>;
|
|
2426
2477
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2442,50 +2493,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2442
2493
|
updated: z.ZodString;
|
|
2443
2494
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2444
2495
|
}, "strip", z.ZodTypeAny, {
|
|
2496
|
+
id: string;
|
|
2497
|
+
name: string;
|
|
2498
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2445
2499
|
description: string;
|
|
2500
|
+
skeleton: {
|
|
2501
|
+
shell: string;
|
|
2502
|
+
page: string;
|
|
2503
|
+
sections: {
|
|
2504
|
+
id: string;
|
|
2505
|
+
name: string;
|
|
2506
|
+
slot: string;
|
|
2507
|
+
required: boolean;
|
|
2508
|
+
}[];
|
|
2509
|
+
};
|
|
2510
|
+
version: string;
|
|
2511
|
+
created: string;
|
|
2512
|
+
updated: string;
|
|
2446
2513
|
layout: {
|
|
2447
|
-
type: "
|
|
2514
|
+
type: "sidebar" | "centered" | "full";
|
|
2448
2515
|
responsive?: {
|
|
2449
2516
|
mobile: {
|
|
2517
|
+
columns: number;
|
|
2450
2518
|
padding: string;
|
|
2451
2519
|
gap: string;
|
|
2452
|
-
columns: number;
|
|
2453
2520
|
};
|
|
2454
2521
|
tablet: {
|
|
2522
|
+
columns: number;
|
|
2455
2523
|
padding: string;
|
|
2456
2524
|
gap: string;
|
|
2457
|
-
columns: number;
|
|
2458
2525
|
};
|
|
2459
2526
|
desktop: {
|
|
2527
|
+
columns: number;
|
|
2460
2528
|
padding: string;
|
|
2461
2529
|
gap: string;
|
|
2462
|
-
columns: number;
|
|
2463
2530
|
};
|
|
2464
2531
|
} | undefined;
|
|
2465
2532
|
};
|
|
2466
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2467
|
-
id: string;
|
|
2468
|
-
name: string;
|
|
2469
|
-
version: string;
|
|
2470
2533
|
importStatement: string;
|
|
2471
|
-
skeleton: {
|
|
2472
|
-
shell: string;
|
|
2473
|
-
page: string;
|
|
2474
|
-
sections: {
|
|
2475
|
-
slot: string;
|
|
2476
|
-
id: string;
|
|
2477
|
-
name: string;
|
|
2478
|
-
required: boolean;
|
|
2479
|
-
}[];
|
|
2480
|
-
};
|
|
2481
2534
|
customizable: {
|
|
2482
|
-
texts: string[];
|
|
2483
2535
|
optional: string[];
|
|
2536
|
+
texts: string[];
|
|
2484
2537
|
slots: string[];
|
|
2485
2538
|
};
|
|
2486
2539
|
requiredComponents: string[];
|
|
2487
|
-
created: string;
|
|
2488
|
-
updated: string;
|
|
2489
2540
|
tags?: string[] | undefined;
|
|
2490
2541
|
exampleProps?: {
|
|
2491
2542
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2493,50 +2544,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2493
2544
|
slots?: string[] | undefined;
|
|
2494
2545
|
} | undefined;
|
|
2495
2546
|
}, {
|
|
2547
|
+
id: string;
|
|
2548
|
+
name: string;
|
|
2549
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2496
2550
|
description: string;
|
|
2551
|
+
skeleton: {
|
|
2552
|
+
shell: string;
|
|
2553
|
+
page: string;
|
|
2554
|
+
sections: {
|
|
2555
|
+
id: string;
|
|
2556
|
+
name: string;
|
|
2557
|
+
slot: string;
|
|
2558
|
+
required: boolean;
|
|
2559
|
+
}[];
|
|
2560
|
+
};
|
|
2561
|
+
version: string;
|
|
2562
|
+
created: string;
|
|
2563
|
+
updated: string;
|
|
2497
2564
|
layout: {
|
|
2498
|
-
type: "
|
|
2565
|
+
type: "sidebar" | "centered" | "full";
|
|
2499
2566
|
responsive?: {
|
|
2500
2567
|
mobile: {
|
|
2568
|
+
columns: number;
|
|
2501
2569
|
padding: string;
|
|
2502
2570
|
gap: string;
|
|
2503
|
-
columns: number;
|
|
2504
2571
|
};
|
|
2505
2572
|
tablet: {
|
|
2573
|
+
columns: number;
|
|
2506
2574
|
padding: string;
|
|
2507
2575
|
gap: string;
|
|
2508
|
-
columns: number;
|
|
2509
2576
|
};
|
|
2510
2577
|
desktop: {
|
|
2578
|
+
columns: number;
|
|
2511
2579
|
padding: string;
|
|
2512
2580
|
gap: string;
|
|
2513
|
-
columns: number;
|
|
2514
2581
|
};
|
|
2515
2582
|
} | undefined;
|
|
2516
2583
|
};
|
|
2517
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2518
|
-
id: string;
|
|
2519
|
-
name: string;
|
|
2520
|
-
version: string;
|
|
2521
2584
|
importStatement: string;
|
|
2522
|
-
skeleton: {
|
|
2523
|
-
shell: string;
|
|
2524
|
-
page: string;
|
|
2525
|
-
sections: {
|
|
2526
|
-
slot: string;
|
|
2527
|
-
id: string;
|
|
2528
|
-
name: string;
|
|
2529
|
-
required: boolean;
|
|
2530
|
-
}[];
|
|
2531
|
-
};
|
|
2532
2585
|
customizable: {
|
|
2533
|
-
texts: string[];
|
|
2534
2586
|
optional: string[];
|
|
2587
|
+
texts: string[];
|
|
2535
2588
|
slots: string[];
|
|
2536
2589
|
};
|
|
2537
2590
|
requiredComponents: string[];
|
|
2538
|
-
created: string;
|
|
2539
|
-
updated: string;
|
|
2540
2591
|
tags?: string[] | undefined;
|
|
2541
2592
|
exampleProps?: {
|
|
2542
2593
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2549,50 +2600,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2549
2600
|
success: boolean;
|
|
2550
2601
|
error?: string | undefined;
|
|
2551
2602
|
template?: {
|
|
2603
|
+
id: string;
|
|
2604
|
+
name: string;
|
|
2605
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2552
2606
|
description: string;
|
|
2607
|
+
skeleton: {
|
|
2608
|
+
shell: string;
|
|
2609
|
+
page: string;
|
|
2610
|
+
sections: {
|
|
2611
|
+
id: string;
|
|
2612
|
+
name: string;
|
|
2613
|
+
slot: string;
|
|
2614
|
+
required: boolean;
|
|
2615
|
+
}[];
|
|
2616
|
+
};
|
|
2617
|
+
version: string;
|
|
2618
|
+
created: string;
|
|
2619
|
+
updated: string;
|
|
2553
2620
|
layout: {
|
|
2554
|
-
type: "
|
|
2621
|
+
type: "sidebar" | "centered" | "full";
|
|
2555
2622
|
responsive?: {
|
|
2556
2623
|
mobile: {
|
|
2624
|
+
columns: number;
|
|
2557
2625
|
padding: string;
|
|
2558
2626
|
gap: string;
|
|
2559
|
-
columns: number;
|
|
2560
2627
|
};
|
|
2561
2628
|
tablet: {
|
|
2629
|
+
columns: number;
|
|
2562
2630
|
padding: string;
|
|
2563
2631
|
gap: string;
|
|
2564
|
-
columns: number;
|
|
2565
2632
|
};
|
|
2566
2633
|
desktop: {
|
|
2634
|
+
columns: number;
|
|
2567
2635
|
padding: string;
|
|
2568
2636
|
gap: string;
|
|
2569
|
-
columns: number;
|
|
2570
2637
|
};
|
|
2571
2638
|
} | undefined;
|
|
2572
2639
|
};
|
|
2573
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2574
|
-
id: string;
|
|
2575
|
-
name: string;
|
|
2576
|
-
version: string;
|
|
2577
2640
|
importStatement: string;
|
|
2578
|
-
skeleton: {
|
|
2579
|
-
shell: string;
|
|
2580
|
-
page: string;
|
|
2581
|
-
sections: {
|
|
2582
|
-
slot: string;
|
|
2583
|
-
id: string;
|
|
2584
|
-
name: string;
|
|
2585
|
-
required: boolean;
|
|
2586
|
-
}[];
|
|
2587
|
-
};
|
|
2588
2641
|
customizable: {
|
|
2589
|
-
texts: string[];
|
|
2590
2642
|
optional: string[];
|
|
2643
|
+
texts: string[];
|
|
2591
2644
|
slots: string[];
|
|
2592
2645
|
};
|
|
2593
2646
|
requiredComponents: string[];
|
|
2594
|
-
created: string;
|
|
2595
|
-
updated: string;
|
|
2596
2647
|
tags?: string[] | undefined;
|
|
2597
2648
|
exampleProps?: {
|
|
2598
2649
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2604,50 +2655,50 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2604
2655
|
success: boolean;
|
|
2605
2656
|
error?: string | undefined;
|
|
2606
2657
|
template?: {
|
|
2658
|
+
id: string;
|
|
2659
|
+
name: string;
|
|
2660
|
+
category: "auth" | "form" | "dashboard" | "marketing" | "feedback";
|
|
2607
2661
|
description: string;
|
|
2662
|
+
skeleton: {
|
|
2663
|
+
shell: string;
|
|
2664
|
+
page: string;
|
|
2665
|
+
sections: {
|
|
2666
|
+
id: string;
|
|
2667
|
+
name: string;
|
|
2668
|
+
slot: string;
|
|
2669
|
+
required: boolean;
|
|
2670
|
+
}[];
|
|
2671
|
+
};
|
|
2672
|
+
version: string;
|
|
2673
|
+
created: string;
|
|
2674
|
+
updated: string;
|
|
2608
2675
|
layout: {
|
|
2609
|
-
type: "
|
|
2676
|
+
type: "sidebar" | "centered" | "full";
|
|
2610
2677
|
responsive?: {
|
|
2611
2678
|
mobile: {
|
|
2679
|
+
columns: number;
|
|
2612
2680
|
padding: string;
|
|
2613
2681
|
gap: string;
|
|
2614
|
-
columns: number;
|
|
2615
2682
|
};
|
|
2616
2683
|
tablet: {
|
|
2684
|
+
columns: number;
|
|
2617
2685
|
padding: string;
|
|
2618
2686
|
gap: string;
|
|
2619
|
-
columns: number;
|
|
2620
2687
|
};
|
|
2621
2688
|
desktop: {
|
|
2689
|
+
columns: number;
|
|
2622
2690
|
padding: string;
|
|
2623
2691
|
gap: string;
|
|
2624
|
-
columns: number;
|
|
2625
2692
|
};
|
|
2626
2693
|
} | undefined;
|
|
2627
2694
|
};
|
|
2628
|
-
category: "auth" | "dashboard" | "form" | "marketing" | "feedback";
|
|
2629
|
-
id: string;
|
|
2630
|
-
name: string;
|
|
2631
|
-
version: string;
|
|
2632
2695
|
importStatement: string;
|
|
2633
|
-
skeleton: {
|
|
2634
|
-
shell: string;
|
|
2635
|
-
page: string;
|
|
2636
|
-
sections: {
|
|
2637
|
-
slot: string;
|
|
2638
|
-
id: string;
|
|
2639
|
-
name: string;
|
|
2640
|
-
required: boolean;
|
|
2641
|
-
}[];
|
|
2642
|
-
};
|
|
2643
2696
|
customizable: {
|
|
2644
|
-
texts: string[];
|
|
2645
2697
|
optional: string[];
|
|
2698
|
+
texts: string[];
|
|
2646
2699
|
slots: string[];
|
|
2647
2700
|
};
|
|
2648
2701
|
requiredComponents: string[];
|
|
2649
|
-
created: string;
|
|
2650
|
-
updated: string;
|
|
2651
2702
|
tags?: string[] | undefined;
|
|
2652
2703
|
exampleProps?: {
|
|
2653
2704
|
options?: Record<string, boolean> | undefined;
|
|
@@ -2693,66 +2744,66 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2693
2744
|
slot: z.ZodString;
|
|
2694
2745
|
required: z.ZodBoolean;
|
|
2695
2746
|
}, "strip", z.ZodTypeAny, {
|
|
2696
|
-
slot: string;
|
|
2697
2747
|
id: string;
|
|
2698
2748
|
name: string;
|
|
2749
|
+
slot: string;
|
|
2699
2750
|
required: boolean;
|
|
2700
2751
|
}, {
|
|
2701
|
-
slot: string;
|
|
2702
2752
|
id: string;
|
|
2703
2753
|
name: string;
|
|
2754
|
+
slot: string;
|
|
2704
2755
|
required: boolean;
|
|
2705
2756
|
}>, "many">;
|
|
2706
2757
|
}, "strip", z.ZodTypeAny, {
|
|
2707
2758
|
shell: string;
|
|
2708
2759
|
page: string;
|
|
2709
2760
|
sections: {
|
|
2710
|
-
slot: string;
|
|
2711
2761
|
id: string;
|
|
2712
2762
|
name: string;
|
|
2763
|
+
slot: string;
|
|
2713
2764
|
required: boolean;
|
|
2714
2765
|
}[];
|
|
2715
2766
|
}, {
|
|
2716
2767
|
shell: string;
|
|
2717
2768
|
page: string;
|
|
2718
2769
|
sections: {
|
|
2719
|
-
slot: string;
|
|
2720
2770
|
id: string;
|
|
2721
2771
|
name: string;
|
|
2772
|
+
slot: string;
|
|
2722
2773
|
required: boolean;
|
|
2723
2774
|
}[];
|
|
2724
2775
|
}>>;
|
|
2725
2776
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2726
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2778
|
+
category: string;
|
|
2727
2779
|
templateId: string;
|
|
2728
2780
|
templateName: string;
|
|
2729
|
-
category: string;
|
|
2730
2781
|
confidence: number;
|
|
2731
2782
|
matchedKeywords: string[];
|
|
2732
2783
|
skeleton?: {
|
|
2733
2784
|
shell: string;
|
|
2734
2785
|
page: string;
|
|
2735
2786
|
sections: {
|
|
2736
|
-
slot: string;
|
|
2737
2787
|
id: string;
|
|
2738
2788
|
name: string;
|
|
2789
|
+
slot: string;
|
|
2739
2790
|
required: boolean;
|
|
2740
2791
|
}[];
|
|
2741
2792
|
} | undefined;
|
|
2742
2793
|
requiredComponents?: string[] | undefined;
|
|
2743
2794
|
}, {
|
|
2795
|
+
category: string;
|
|
2744
2796
|
templateId: string;
|
|
2745
2797
|
templateName: string;
|
|
2746
|
-
category: string;
|
|
2747
2798
|
confidence: number;
|
|
2748
2799
|
matchedKeywords: string[];
|
|
2749
2800
|
skeleton?: {
|
|
2750
2801
|
shell: string;
|
|
2751
2802
|
page: string;
|
|
2752
2803
|
sections: {
|
|
2753
|
-
slot: string;
|
|
2754
2804
|
id: string;
|
|
2755
2805
|
name: string;
|
|
2806
|
+
slot: string;
|
|
2756
2807
|
required: boolean;
|
|
2757
2808
|
}[];
|
|
2758
2809
|
} | undefined;
|
|
@@ -2775,14 +2826,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2775
2826
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2776
2827
|
description: z.ZodOptional<z.ZodString>;
|
|
2777
2828
|
}, "strip", z.ZodTypeAny, {
|
|
2778
|
-
type: string;
|
|
2779
2829
|
name: string;
|
|
2830
|
+
type: string;
|
|
2780
2831
|
required: boolean;
|
|
2781
2832
|
description?: string | undefined;
|
|
2782
2833
|
defaultValue?: string | undefined;
|
|
2783
2834
|
}, {
|
|
2784
|
-
type: string;
|
|
2785
2835
|
name: string;
|
|
2836
|
+
type: string;
|
|
2786
2837
|
required: boolean;
|
|
2787
2838
|
description?: string | undefined;
|
|
2788
2839
|
defaultValue?: string | undefined;
|
|
@@ -2792,48 +2843,48 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2792
2843
|
value: z.ZodString;
|
|
2793
2844
|
description: z.ZodOptional<z.ZodString>;
|
|
2794
2845
|
}, "strip", z.ZodTypeAny, {
|
|
2795
|
-
value: string;
|
|
2796
2846
|
name: string;
|
|
2847
|
+
value: string;
|
|
2797
2848
|
description?: string | undefined;
|
|
2798
2849
|
}, {
|
|
2799
|
-
value: string;
|
|
2800
2850
|
name: string;
|
|
2851
|
+
value: string;
|
|
2801
2852
|
description?: string | undefined;
|
|
2802
2853
|
}>, "many">>;
|
|
2803
2854
|
}, "strip", z.ZodTypeAny, {
|
|
2855
|
+
id: string;
|
|
2856
|
+
name: string;
|
|
2857
|
+
category: "core" | "complex" | "advanced";
|
|
2858
|
+
description: string;
|
|
2804
2859
|
props: {
|
|
2805
|
-
type: string;
|
|
2806
2860
|
name: string;
|
|
2861
|
+
type: string;
|
|
2807
2862
|
required: boolean;
|
|
2808
2863
|
description?: string | undefined;
|
|
2809
2864
|
defaultValue?: string | undefined;
|
|
2810
2865
|
}[];
|
|
2811
|
-
description: string;
|
|
2812
|
-
category: "core" | "complex" | "advanced";
|
|
2813
|
-
id: string;
|
|
2814
|
-
name: string;
|
|
2815
2866
|
importStatement: string;
|
|
2816
2867
|
variants?: {
|
|
2817
|
-
value: string;
|
|
2818
2868
|
name: string;
|
|
2869
|
+
value: string;
|
|
2819
2870
|
description?: string | undefined;
|
|
2820
2871
|
}[] | undefined;
|
|
2821
2872
|
}, {
|
|
2873
|
+
id: string;
|
|
2874
|
+
name: string;
|
|
2875
|
+
category: "core" | "complex" | "advanced";
|
|
2876
|
+
description: string;
|
|
2822
2877
|
props: {
|
|
2823
|
-
type: string;
|
|
2824
2878
|
name: string;
|
|
2879
|
+
type: string;
|
|
2825
2880
|
required: boolean;
|
|
2826
2881
|
description?: string | undefined;
|
|
2827
2882
|
defaultValue?: string | undefined;
|
|
2828
2883
|
}[];
|
|
2829
|
-
description: string;
|
|
2830
|
-
category: "core" | "complex" | "advanced";
|
|
2831
|
-
id: string;
|
|
2832
|
-
name: string;
|
|
2833
2884
|
importStatement: string;
|
|
2834
2885
|
variants?: {
|
|
2835
|
-
value: string;
|
|
2836
2886
|
name: string;
|
|
2887
|
+
value: string;
|
|
2837
2888
|
description?: string | undefined;
|
|
2838
2889
|
}[] | undefined;
|
|
2839
2890
|
}>;
|
|
@@ -2867,21 +2918,21 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2867
2918
|
}>, "many">;
|
|
2868
2919
|
}, "strip", z.ZodTypeAny, {
|
|
2869
2920
|
id: string;
|
|
2921
|
+
pattern: string;
|
|
2870
2922
|
components: {
|
|
2871
2923
|
type: string;
|
|
2872
2924
|
props?: Record<string, unknown> | undefined;
|
|
2873
2925
|
children?: string | unknown[] | undefined;
|
|
2874
2926
|
}[];
|
|
2875
|
-
pattern: string;
|
|
2876
2927
|
slot?: string | undefined;
|
|
2877
2928
|
}, {
|
|
2878
2929
|
id: string;
|
|
2930
|
+
pattern: string;
|
|
2879
2931
|
components: {
|
|
2880
2932
|
type: string;
|
|
2881
2933
|
props?: Record<string, unknown> | undefined;
|
|
2882
2934
|
children?: string | unknown[] | undefined;
|
|
2883
2935
|
}[];
|
|
2884
|
-
pattern: string;
|
|
2885
2936
|
slot?: string | undefined;
|
|
2886
2937
|
}>, "many">;
|
|
2887
2938
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -2891,60 +2942,60 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2891
2942
|
updated: z.ZodOptional<z.ZodString>;
|
|
2892
2943
|
}, "strip", z.ZodTypeAny, {
|
|
2893
2944
|
version?: string | undefined;
|
|
2945
|
+
author?: string | undefined;
|
|
2894
2946
|
created?: string | undefined;
|
|
2895
2947
|
updated?: string | undefined;
|
|
2896
|
-
author?: string | undefined;
|
|
2897
2948
|
}, {
|
|
2898
2949
|
version?: string | undefined;
|
|
2950
|
+
author?: string | undefined;
|
|
2899
2951
|
created?: string | undefined;
|
|
2900
2952
|
updated?: string | undefined;
|
|
2901
|
-
author?: string | undefined;
|
|
2902
2953
|
}>>;
|
|
2903
2954
|
}, "strip", z.ZodTypeAny, {
|
|
2955
|
+
id: string;
|
|
2904
2956
|
shell: string;
|
|
2905
2957
|
page: string;
|
|
2906
|
-
id: string;
|
|
2907
2958
|
sections: {
|
|
2908
2959
|
id: string;
|
|
2960
|
+
pattern: string;
|
|
2909
2961
|
components: {
|
|
2910
2962
|
type: string;
|
|
2911
2963
|
props?: Record<string, unknown> | undefined;
|
|
2912
2964
|
children?: string | unknown[] | undefined;
|
|
2913
2965
|
}[];
|
|
2914
|
-
pattern: string;
|
|
2915
2966
|
slot?: string | undefined;
|
|
2916
2967
|
}[];
|
|
2968
|
+
name?: string | undefined;
|
|
2917
2969
|
description?: string | undefined;
|
|
2918
2970
|
themeId?: string | undefined;
|
|
2919
|
-
name?: string | undefined;
|
|
2920
2971
|
metadata?: {
|
|
2921
2972
|
version?: string | undefined;
|
|
2973
|
+
author?: string | undefined;
|
|
2922
2974
|
created?: string | undefined;
|
|
2923
2975
|
updated?: string | undefined;
|
|
2924
|
-
author?: string | undefined;
|
|
2925
2976
|
} | undefined;
|
|
2926
2977
|
}, {
|
|
2978
|
+
id: string;
|
|
2927
2979
|
shell: string;
|
|
2928
2980
|
page: string;
|
|
2929
|
-
id: string;
|
|
2930
2981
|
sections: {
|
|
2931
2982
|
id: string;
|
|
2983
|
+
pattern: string;
|
|
2932
2984
|
components: {
|
|
2933
2985
|
type: string;
|
|
2934
2986
|
props?: Record<string, unknown> | undefined;
|
|
2935
2987
|
children?: string | unknown[] | undefined;
|
|
2936
2988
|
}[];
|
|
2937
|
-
pattern: string;
|
|
2938
2989
|
slot?: string | undefined;
|
|
2939
2990
|
}[];
|
|
2991
|
+
name?: string | undefined;
|
|
2940
2992
|
description?: string | undefined;
|
|
2941
2993
|
themeId?: string | undefined;
|
|
2942
|
-
name?: string | undefined;
|
|
2943
2994
|
metadata?: {
|
|
2944
2995
|
version?: string | undefined;
|
|
2996
|
+
author?: string | undefined;
|
|
2945
2997
|
created?: string | undefined;
|
|
2946
2998
|
updated?: string | undefined;
|
|
2947
|
-
author?: string | undefined;
|
|
2948
2999
|
} | undefined;
|
|
2949
3000
|
}>;
|
|
2950
3001
|
export type ScreenDefinition = z.infer<typeof ScreenDefinitionSchema>;
|
|
@@ -2980,21 +3031,21 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2980
3031
|
}>, "many">;
|
|
2981
3032
|
}, "strip", z.ZodTypeAny, {
|
|
2982
3033
|
id: string;
|
|
3034
|
+
pattern: string;
|
|
2983
3035
|
components: {
|
|
2984
3036
|
type: string;
|
|
2985
3037
|
props?: Record<string, unknown> | undefined;
|
|
2986
3038
|
children?: string | unknown[] | undefined;
|
|
2987
3039
|
}[];
|
|
2988
|
-
pattern: string;
|
|
2989
3040
|
slot?: string | undefined;
|
|
2990
3041
|
}, {
|
|
2991
3042
|
id: string;
|
|
3043
|
+
pattern: string;
|
|
2992
3044
|
components: {
|
|
2993
3045
|
type: string;
|
|
2994
3046
|
props?: Record<string, unknown> | undefined;
|
|
2995
3047
|
children?: string | unknown[] | undefined;
|
|
2996
3048
|
}[];
|
|
2997
|
-
pattern: string;
|
|
2998
3049
|
slot?: string | undefined;
|
|
2999
3050
|
}>, "many">;
|
|
3000
3051
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3004,114 +3055,114 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3004
3055
|
updated: z.ZodOptional<z.ZodString>;
|
|
3005
3056
|
}, "strip", z.ZodTypeAny, {
|
|
3006
3057
|
version?: string | undefined;
|
|
3058
|
+
author?: string | undefined;
|
|
3007
3059
|
created?: string | undefined;
|
|
3008
3060
|
updated?: string | undefined;
|
|
3009
|
-
author?: string | undefined;
|
|
3010
3061
|
}, {
|
|
3011
3062
|
version?: string | undefined;
|
|
3063
|
+
author?: string | undefined;
|
|
3012
3064
|
created?: string | undefined;
|
|
3013
3065
|
updated?: string | undefined;
|
|
3014
|
-
author?: string | undefined;
|
|
3015
3066
|
}>>;
|
|
3016
3067
|
}, "strip", z.ZodTypeAny, {
|
|
3068
|
+
id: string;
|
|
3017
3069
|
shell: string;
|
|
3018
3070
|
page: string;
|
|
3019
|
-
id: string;
|
|
3020
3071
|
sections: {
|
|
3021
3072
|
id: string;
|
|
3073
|
+
pattern: string;
|
|
3022
3074
|
components: {
|
|
3023
3075
|
type: string;
|
|
3024
3076
|
props?: Record<string, unknown> | undefined;
|
|
3025
3077
|
children?: string | unknown[] | undefined;
|
|
3026
3078
|
}[];
|
|
3027
|
-
pattern: string;
|
|
3028
3079
|
slot?: string | undefined;
|
|
3029
3080
|
}[];
|
|
3081
|
+
name?: string | undefined;
|
|
3030
3082
|
description?: string | undefined;
|
|
3031
3083
|
themeId?: string | undefined;
|
|
3032
|
-
name?: string | undefined;
|
|
3033
3084
|
metadata?: {
|
|
3034
3085
|
version?: string | undefined;
|
|
3086
|
+
author?: string | undefined;
|
|
3035
3087
|
created?: string | undefined;
|
|
3036
3088
|
updated?: string | undefined;
|
|
3037
|
-
author?: string | undefined;
|
|
3038
3089
|
} | undefined;
|
|
3039
3090
|
}, {
|
|
3091
|
+
id: string;
|
|
3040
3092
|
shell: string;
|
|
3041
3093
|
page: string;
|
|
3042
|
-
id: string;
|
|
3043
3094
|
sections: {
|
|
3044
3095
|
id: string;
|
|
3096
|
+
pattern: string;
|
|
3045
3097
|
components: {
|
|
3046
3098
|
type: string;
|
|
3047
3099
|
props?: Record<string, unknown> | undefined;
|
|
3048
3100
|
children?: string | unknown[] | undefined;
|
|
3049
3101
|
}[];
|
|
3050
|
-
pattern: string;
|
|
3051
3102
|
slot?: string | undefined;
|
|
3052
3103
|
}[];
|
|
3104
|
+
name?: string | undefined;
|
|
3053
3105
|
description?: string | undefined;
|
|
3054
3106
|
themeId?: string | undefined;
|
|
3055
|
-
name?: string | undefined;
|
|
3056
3107
|
metadata?: {
|
|
3057
3108
|
version?: string | undefined;
|
|
3109
|
+
author?: string | undefined;
|
|
3058
3110
|
created?: string | undefined;
|
|
3059
3111
|
updated?: string | undefined;
|
|
3060
|
-
author?: string | undefined;
|
|
3061
3112
|
} | undefined;
|
|
3062
3113
|
}>;
|
|
3063
3114
|
}, "strip", z.ZodTypeAny, {
|
|
3064
|
-
description: string;
|
|
3065
3115
|
name: string;
|
|
3116
|
+
description: string;
|
|
3066
3117
|
definition: {
|
|
3118
|
+
id: string;
|
|
3067
3119
|
shell: string;
|
|
3068
3120
|
page: string;
|
|
3069
|
-
id: string;
|
|
3070
3121
|
sections: {
|
|
3071
3122
|
id: string;
|
|
3123
|
+
pattern: string;
|
|
3072
3124
|
components: {
|
|
3073
3125
|
type: string;
|
|
3074
3126
|
props?: Record<string, unknown> | undefined;
|
|
3075
3127
|
children?: string | unknown[] | undefined;
|
|
3076
3128
|
}[];
|
|
3077
|
-
pattern: string;
|
|
3078
3129
|
slot?: string | undefined;
|
|
3079
3130
|
}[];
|
|
3131
|
+
name?: string | undefined;
|
|
3080
3132
|
description?: string | undefined;
|
|
3081
3133
|
themeId?: string | undefined;
|
|
3082
|
-
name?: string | undefined;
|
|
3083
3134
|
metadata?: {
|
|
3084
3135
|
version?: string | undefined;
|
|
3136
|
+
author?: string | undefined;
|
|
3085
3137
|
created?: string | undefined;
|
|
3086
3138
|
updated?: string | undefined;
|
|
3087
|
-
author?: string | undefined;
|
|
3088
3139
|
} | undefined;
|
|
3089
3140
|
};
|
|
3090
3141
|
}, {
|
|
3091
|
-
description: string;
|
|
3092
3142
|
name: string;
|
|
3143
|
+
description: string;
|
|
3093
3144
|
definition: {
|
|
3145
|
+
id: string;
|
|
3094
3146
|
shell: string;
|
|
3095
3147
|
page: string;
|
|
3096
|
-
id: string;
|
|
3097
3148
|
sections: {
|
|
3098
3149
|
id: string;
|
|
3150
|
+
pattern: string;
|
|
3099
3151
|
components: {
|
|
3100
3152
|
type: string;
|
|
3101
3153
|
props?: Record<string, unknown> | undefined;
|
|
3102
3154
|
children?: string | unknown[] | undefined;
|
|
3103
3155
|
}[];
|
|
3104
|
-
pattern: string;
|
|
3105
3156
|
slot?: string | undefined;
|
|
3106
3157
|
}[];
|
|
3158
|
+
name?: string | undefined;
|
|
3107
3159
|
description?: string | undefined;
|
|
3108
3160
|
themeId?: string | undefined;
|
|
3109
|
-
name?: string | undefined;
|
|
3110
3161
|
metadata?: {
|
|
3111
3162
|
version?: string | undefined;
|
|
3163
|
+
author?: string | undefined;
|
|
3112
3164
|
created?: string | undefined;
|
|
3113
3165
|
updated?: string | undefined;
|
|
3114
|
-
author?: string | undefined;
|
|
3115
3166
|
} | undefined;
|
|
3116
3167
|
};
|
|
3117
3168
|
}>;
|
|
@@ -3142,13 +3193,13 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3142
3193
|
message: z.ZodString;
|
|
3143
3194
|
example: z.ZodOptional<z.ZodString>;
|
|
3144
3195
|
}, "strip", z.ZodTypeAny, {
|
|
3196
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3145
3197
|
message: string;
|
|
3146
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3147
3198
|
priority: "high" | "medium" | "low";
|
|
3148
3199
|
example?: string | undefined;
|
|
3149
3200
|
}, {
|
|
3201
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3150
3202
|
message: string;
|
|
3151
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3152
3203
|
priority: "high" | "medium" | "low";
|
|
3153
3204
|
example?: string | undefined;
|
|
3154
3205
|
}>;
|
|
@@ -3165,14 +3216,14 @@ export declare const WorkflowStepSchema: z.ZodObject<{
|
|
|
3165
3216
|
example: z.ZodOptional<z.ZodString>;
|
|
3166
3217
|
}, "strip", z.ZodTypeAny, {
|
|
3167
3218
|
description: string;
|
|
3168
|
-
step: number;
|
|
3169
3219
|
action: string;
|
|
3220
|
+
step: number;
|
|
3170
3221
|
example?: string | undefined;
|
|
3171
3222
|
tool?: string | undefined;
|
|
3172
3223
|
}, {
|
|
3173
3224
|
description: string;
|
|
3174
|
-
step: number;
|
|
3175
3225
|
action: string;
|
|
3226
|
+
step: number;
|
|
3176
3227
|
example?: string | undefined;
|
|
3177
3228
|
tool?: string | undefined;
|
|
3178
3229
|
}>;
|
|
@@ -3192,14 +3243,14 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3192
3243
|
example: z.ZodOptional<z.ZodString>;
|
|
3193
3244
|
}, "strip", z.ZodTypeAny, {
|
|
3194
3245
|
description: string;
|
|
3195
|
-
step: number;
|
|
3196
3246
|
action: string;
|
|
3247
|
+
step: number;
|
|
3197
3248
|
example?: string | undefined;
|
|
3198
3249
|
tool?: string | undefined;
|
|
3199
3250
|
}, {
|
|
3200
3251
|
description: string;
|
|
3201
|
-
step: number;
|
|
3202
3252
|
action: string;
|
|
3253
|
+
step: number;
|
|
3203
3254
|
example?: string | undefined;
|
|
3204
3255
|
tool?: string | undefined;
|
|
3205
3256
|
}>, "many">;
|
|
@@ -3209,8 +3260,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3209
3260
|
title: string;
|
|
3210
3261
|
steps: {
|
|
3211
3262
|
description: string;
|
|
3212
|
-
step: number;
|
|
3213
3263
|
action: string;
|
|
3264
|
+
step: number;
|
|
3214
3265
|
example?: string | undefined;
|
|
3215
3266
|
tool?: string | undefined;
|
|
3216
3267
|
}[];
|
|
@@ -3220,8 +3271,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3220
3271
|
title: string;
|
|
3221
3272
|
steps: {
|
|
3222
3273
|
description: string;
|
|
3223
|
-
step: number;
|
|
3224
3274
|
action: string;
|
|
3275
|
+
step: number;
|
|
3225
3276
|
example?: string | undefined;
|
|
3226
3277
|
tool?: string | undefined;
|
|
3227
3278
|
}[];
|
|
@@ -3248,66 +3299,66 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3248
3299
|
slot: z.ZodString;
|
|
3249
3300
|
required: z.ZodBoolean;
|
|
3250
3301
|
}, "strip", z.ZodTypeAny, {
|
|
3251
|
-
slot: string;
|
|
3252
3302
|
id: string;
|
|
3253
3303
|
name: string;
|
|
3304
|
+
slot: string;
|
|
3254
3305
|
required: boolean;
|
|
3255
3306
|
}, {
|
|
3256
|
-
slot: string;
|
|
3257
3307
|
id: string;
|
|
3258
3308
|
name: string;
|
|
3309
|
+
slot: string;
|
|
3259
3310
|
required: boolean;
|
|
3260
3311
|
}>, "many">;
|
|
3261
3312
|
}, "strip", z.ZodTypeAny, {
|
|
3262
3313
|
shell: string;
|
|
3263
3314
|
page: string;
|
|
3264
3315
|
sections: {
|
|
3265
|
-
slot: string;
|
|
3266
3316
|
id: string;
|
|
3267
3317
|
name: string;
|
|
3318
|
+
slot: string;
|
|
3268
3319
|
required: boolean;
|
|
3269
3320
|
}[];
|
|
3270
3321
|
}, {
|
|
3271
3322
|
shell: string;
|
|
3272
3323
|
page: string;
|
|
3273
3324
|
sections: {
|
|
3274
|
-
slot: string;
|
|
3275
3325
|
id: string;
|
|
3276
3326
|
name: string;
|
|
3327
|
+
slot: string;
|
|
3277
3328
|
required: boolean;
|
|
3278
3329
|
}[];
|
|
3279
3330
|
}>>;
|
|
3280
3331
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3281
3332
|
}, "strip", z.ZodTypeAny, {
|
|
3333
|
+
category: string;
|
|
3282
3334
|
templateId: string;
|
|
3283
3335
|
templateName: string;
|
|
3284
|
-
category: string;
|
|
3285
3336
|
confidence: number;
|
|
3286
3337
|
matchedKeywords: string[];
|
|
3287
3338
|
skeleton?: {
|
|
3288
3339
|
shell: string;
|
|
3289
3340
|
page: string;
|
|
3290
3341
|
sections: {
|
|
3291
|
-
slot: string;
|
|
3292
3342
|
id: string;
|
|
3293
3343
|
name: string;
|
|
3344
|
+
slot: string;
|
|
3294
3345
|
required: boolean;
|
|
3295
3346
|
}[];
|
|
3296
3347
|
} | undefined;
|
|
3297
3348
|
requiredComponents?: string[] | undefined;
|
|
3298
3349
|
}, {
|
|
3350
|
+
category: string;
|
|
3299
3351
|
templateId: string;
|
|
3300
3352
|
templateName: string;
|
|
3301
|
-
category: string;
|
|
3302
3353
|
confidence: number;
|
|
3303
3354
|
matchedKeywords: string[];
|
|
3304
3355
|
skeleton?: {
|
|
3305
3356
|
shell: string;
|
|
3306
3357
|
page: string;
|
|
3307
3358
|
sections: {
|
|
3308
|
-
slot: string;
|
|
3309
3359
|
id: string;
|
|
3310
3360
|
name: string;
|
|
3361
|
+
slot: string;
|
|
3311
3362
|
required: boolean;
|
|
3312
3363
|
}[];
|
|
3313
3364
|
} | undefined;
|
|
@@ -3326,14 +3377,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3326
3377
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3327
3378
|
description: z.ZodOptional<z.ZodString>;
|
|
3328
3379
|
}, "strip", z.ZodTypeAny, {
|
|
3329
|
-
type: string;
|
|
3330
3380
|
name: string;
|
|
3381
|
+
type: string;
|
|
3331
3382
|
required: boolean;
|
|
3332
3383
|
description?: string | undefined;
|
|
3333
3384
|
defaultValue?: string | undefined;
|
|
3334
3385
|
}, {
|
|
3335
|
-
type: string;
|
|
3336
3386
|
name: string;
|
|
3387
|
+
type: string;
|
|
3337
3388
|
required: boolean;
|
|
3338
3389
|
description?: string | undefined;
|
|
3339
3390
|
defaultValue?: string | undefined;
|
|
@@ -3343,48 +3394,48 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3343
3394
|
value: z.ZodString;
|
|
3344
3395
|
description: z.ZodOptional<z.ZodString>;
|
|
3345
3396
|
}, "strip", z.ZodTypeAny, {
|
|
3346
|
-
value: string;
|
|
3347
3397
|
name: string;
|
|
3398
|
+
value: string;
|
|
3348
3399
|
description?: string | undefined;
|
|
3349
3400
|
}, {
|
|
3350
|
-
value: string;
|
|
3351
3401
|
name: string;
|
|
3402
|
+
value: string;
|
|
3352
3403
|
description?: string | undefined;
|
|
3353
3404
|
}>, "many">>;
|
|
3354
3405
|
}, "strip", z.ZodTypeAny, {
|
|
3406
|
+
id: string;
|
|
3407
|
+
name: string;
|
|
3408
|
+
category: "core" | "complex" | "advanced";
|
|
3409
|
+
description: string;
|
|
3355
3410
|
props: {
|
|
3356
|
-
type: string;
|
|
3357
3411
|
name: string;
|
|
3412
|
+
type: string;
|
|
3358
3413
|
required: boolean;
|
|
3359
3414
|
description?: string | undefined;
|
|
3360
3415
|
defaultValue?: string | undefined;
|
|
3361
3416
|
}[];
|
|
3362
|
-
description: string;
|
|
3363
|
-
category: "core" | "complex" | "advanced";
|
|
3364
|
-
id: string;
|
|
3365
|
-
name: string;
|
|
3366
3417
|
importStatement: string;
|
|
3367
3418
|
variants?: {
|
|
3368
|
-
value: string;
|
|
3369
3419
|
name: string;
|
|
3420
|
+
value: string;
|
|
3370
3421
|
description?: string | undefined;
|
|
3371
3422
|
}[] | undefined;
|
|
3372
3423
|
}, {
|
|
3424
|
+
id: string;
|
|
3425
|
+
name: string;
|
|
3426
|
+
category: "core" | "complex" | "advanced";
|
|
3427
|
+
description: string;
|
|
3373
3428
|
props: {
|
|
3374
|
-
type: string;
|
|
3375
3429
|
name: string;
|
|
3430
|
+
type: string;
|
|
3376
3431
|
required: boolean;
|
|
3377
3432
|
description?: string | undefined;
|
|
3378
3433
|
defaultValue?: string | undefined;
|
|
3379
3434
|
}[];
|
|
3380
|
-
description: string;
|
|
3381
|
-
category: "core" | "complex" | "advanced";
|
|
3382
|
-
id: string;
|
|
3383
|
-
name: string;
|
|
3384
3435
|
importStatement: string;
|
|
3385
3436
|
variants?: {
|
|
3386
|
-
value: string;
|
|
3387
3437
|
name: string;
|
|
3438
|
+
value: string;
|
|
3388
3439
|
description?: string | undefined;
|
|
3389
3440
|
}[] | undefined;
|
|
3390
3441
|
}>, "many">>;
|
|
@@ -3427,21 +3478,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3427
3478
|
}>, "many">;
|
|
3428
3479
|
}, "strip", z.ZodTypeAny, {
|
|
3429
3480
|
id: string;
|
|
3481
|
+
pattern: string;
|
|
3430
3482
|
components: {
|
|
3431
3483
|
type: string;
|
|
3432
3484
|
props?: Record<string, unknown> | undefined;
|
|
3433
3485
|
children?: string | unknown[] | undefined;
|
|
3434
3486
|
}[];
|
|
3435
|
-
pattern: string;
|
|
3436
3487
|
slot?: string | undefined;
|
|
3437
3488
|
}, {
|
|
3438
3489
|
id: string;
|
|
3490
|
+
pattern: string;
|
|
3439
3491
|
components: {
|
|
3440
3492
|
type: string;
|
|
3441
3493
|
props?: Record<string, unknown> | undefined;
|
|
3442
3494
|
children?: string | unknown[] | undefined;
|
|
3443
3495
|
}[];
|
|
3444
|
-
pattern: string;
|
|
3445
3496
|
slot?: string | undefined;
|
|
3446
3497
|
}>, "many">;
|
|
3447
3498
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3451,114 +3502,114 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3451
3502
|
updated: z.ZodOptional<z.ZodString>;
|
|
3452
3503
|
}, "strip", z.ZodTypeAny, {
|
|
3453
3504
|
version?: string | undefined;
|
|
3505
|
+
author?: string | undefined;
|
|
3454
3506
|
created?: string | undefined;
|
|
3455
3507
|
updated?: string | undefined;
|
|
3456
|
-
author?: string | undefined;
|
|
3457
3508
|
}, {
|
|
3458
3509
|
version?: string | undefined;
|
|
3510
|
+
author?: string | undefined;
|
|
3459
3511
|
created?: string | undefined;
|
|
3460
3512
|
updated?: string | undefined;
|
|
3461
|
-
author?: string | undefined;
|
|
3462
3513
|
}>>;
|
|
3463
3514
|
}, "strip", z.ZodTypeAny, {
|
|
3515
|
+
id: string;
|
|
3464
3516
|
shell: string;
|
|
3465
3517
|
page: string;
|
|
3466
|
-
id: string;
|
|
3467
3518
|
sections: {
|
|
3468
3519
|
id: string;
|
|
3520
|
+
pattern: string;
|
|
3469
3521
|
components: {
|
|
3470
3522
|
type: string;
|
|
3471
3523
|
props?: Record<string, unknown> | undefined;
|
|
3472
3524
|
children?: string | unknown[] | undefined;
|
|
3473
3525
|
}[];
|
|
3474
|
-
pattern: string;
|
|
3475
3526
|
slot?: string | undefined;
|
|
3476
3527
|
}[];
|
|
3528
|
+
name?: string | undefined;
|
|
3477
3529
|
description?: string | undefined;
|
|
3478
3530
|
themeId?: string | undefined;
|
|
3479
|
-
name?: string | undefined;
|
|
3480
3531
|
metadata?: {
|
|
3481
3532
|
version?: string | undefined;
|
|
3533
|
+
author?: string | undefined;
|
|
3482
3534
|
created?: string | undefined;
|
|
3483
3535
|
updated?: string | undefined;
|
|
3484
|
-
author?: string | undefined;
|
|
3485
3536
|
} | undefined;
|
|
3486
3537
|
}, {
|
|
3538
|
+
id: string;
|
|
3487
3539
|
shell: string;
|
|
3488
3540
|
page: string;
|
|
3489
|
-
id: string;
|
|
3490
3541
|
sections: {
|
|
3491
3542
|
id: string;
|
|
3543
|
+
pattern: string;
|
|
3492
3544
|
components: {
|
|
3493
3545
|
type: string;
|
|
3494
3546
|
props?: Record<string, unknown> | undefined;
|
|
3495
3547
|
children?: string | unknown[] | undefined;
|
|
3496
3548
|
}[];
|
|
3497
|
-
pattern: string;
|
|
3498
3549
|
slot?: string | undefined;
|
|
3499
3550
|
}[];
|
|
3551
|
+
name?: string | undefined;
|
|
3500
3552
|
description?: string | undefined;
|
|
3501
3553
|
themeId?: string | undefined;
|
|
3502
|
-
name?: string | undefined;
|
|
3503
3554
|
metadata?: {
|
|
3504
3555
|
version?: string | undefined;
|
|
3556
|
+
author?: string | undefined;
|
|
3505
3557
|
created?: string | undefined;
|
|
3506
3558
|
updated?: string | undefined;
|
|
3507
|
-
author?: string | undefined;
|
|
3508
3559
|
} | undefined;
|
|
3509
3560
|
}>;
|
|
3510
3561
|
}, "strip", z.ZodTypeAny, {
|
|
3511
|
-
description: string;
|
|
3512
3562
|
name: string;
|
|
3563
|
+
description: string;
|
|
3513
3564
|
definition: {
|
|
3565
|
+
id: string;
|
|
3514
3566
|
shell: string;
|
|
3515
3567
|
page: string;
|
|
3516
|
-
id: string;
|
|
3517
3568
|
sections: {
|
|
3518
3569
|
id: string;
|
|
3570
|
+
pattern: string;
|
|
3519
3571
|
components: {
|
|
3520
3572
|
type: string;
|
|
3521
3573
|
props?: Record<string, unknown> | undefined;
|
|
3522
3574
|
children?: string | unknown[] | undefined;
|
|
3523
3575
|
}[];
|
|
3524
|
-
pattern: string;
|
|
3525
3576
|
slot?: string | undefined;
|
|
3526
3577
|
}[];
|
|
3578
|
+
name?: string | undefined;
|
|
3527
3579
|
description?: string | undefined;
|
|
3528
3580
|
themeId?: string | undefined;
|
|
3529
|
-
name?: string | undefined;
|
|
3530
3581
|
metadata?: {
|
|
3531
3582
|
version?: string | undefined;
|
|
3583
|
+
author?: string | undefined;
|
|
3532
3584
|
created?: string | undefined;
|
|
3533
3585
|
updated?: string | undefined;
|
|
3534
|
-
author?: string | undefined;
|
|
3535
3586
|
} | undefined;
|
|
3536
3587
|
};
|
|
3537
3588
|
}, {
|
|
3538
|
-
description: string;
|
|
3539
3589
|
name: string;
|
|
3590
|
+
description: string;
|
|
3540
3591
|
definition: {
|
|
3592
|
+
id: string;
|
|
3541
3593
|
shell: string;
|
|
3542
3594
|
page: string;
|
|
3543
|
-
id: string;
|
|
3544
3595
|
sections: {
|
|
3545
3596
|
id: string;
|
|
3597
|
+
pattern: string;
|
|
3546
3598
|
components: {
|
|
3547
3599
|
type: string;
|
|
3548
3600
|
props?: Record<string, unknown> | undefined;
|
|
3549
3601
|
children?: string | unknown[] | undefined;
|
|
3550
3602
|
}[];
|
|
3551
|
-
pattern: string;
|
|
3552
3603
|
slot?: string | undefined;
|
|
3553
3604
|
}[];
|
|
3605
|
+
name?: string | undefined;
|
|
3554
3606
|
description?: string | undefined;
|
|
3555
3607
|
themeId?: string | undefined;
|
|
3556
|
-
name?: string | undefined;
|
|
3557
3608
|
metadata?: {
|
|
3558
3609
|
version?: string | undefined;
|
|
3610
|
+
author?: string | undefined;
|
|
3559
3611
|
created?: string | undefined;
|
|
3560
3612
|
updated?: string | undefined;
|
|
3561
|
-
author?: string | undefined;
|
|
3562
3613
|
} | undefined;
|
|
3563
3614
|
};
|
|
3564
3615
|
}>, "many">>;
|
|
@@ -3581,13 +3632,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3581
3632
|
message: z.ZodString;
|
|
3582
3633
|
example: z.ZodOptional<z.ZodString>;
|
|
3583
3634
|
}, "strip", z.ZodTypeAny, {
|
|
3635
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3584
3636
|
message: string;
|
|
3585
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3586
3637
|
priority: "high" | "medium" | "low";
|
|
3587
3638
|
example?: string | undefined;
|
|
3588
3639
|
}, {
|
|
3640
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3589
3641
|
message: string;
|
|
3590
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3591
3642
|
priority: "high" | "medium" | "low";
|
|
3592
3643
|
example?: string | undefined;
|
|
3593
3644
|
}>, "many">>;
|
|
@@ -3602,14 +3653,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3602
3653
|
example: z.ZodOptional<z.ZodString>;
|
|
3603
3654
|
}, "strip", z.ZodTypeAny, {
|
|
3604
3655
|
description: string;
|
|
3605
|
-
step: number;
|
|
3606
3656
|
action: string;
|
|
3657
|
+
step: number;
|
|
3607
3658
|
example?: string | undefined;
|
|
3608
3659
|
tool?: string | undefined;
|
|
3609
3660
|
}, {
|
|
3610
3661
|
description: string;
|
|
3611
|
-
step: number;
|
|
3612
3662
|
action: string;
|
|
3663
|
+
step: number;
|
|
3613
3664
|
example?: string | undefined;
|
|
3614
3665
|
tool?: string | undefined;
|
|
3615
3666
|
}>, "many">;
|
|
@@ -3619,8 +3670,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3619
3670
|
title: string;
|
|
3620
3671
|
steps: {
|
|
3621
3672
|
description: string;
|
|
3622
|
-
step: number;
|
|
3623
3673
|
action: string;
|
|
3674
|
+
step: number;
|
|
3624
3675
|
example?: string | undefined;
|
|
3625
3676
|
tool?: string | undefined;
|
|
3626
3677
|
}[];
|
|
@@ -3630,8 +3681,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3630
3681
|
title: string;
|
|
3631
3682
|
steps: {
|
|
3632
3683
|
description: string;
|
|
3633
|
-
step: number;
|
|
3634
3684
|
action: string;
|
|
3685
|
+
step: number;
|
|
3635
3686
|
example?: string | undefined;
|
|
3636
3687
|
tool?: string | undefined;
|
|
3637
3688
|
}[];
|
|
@@ -3640,67 +3691,67 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3640
3691
|
error: z.ZodOptional<z.ZodString>;
|
|
3641
3692
|
}, "strip", z.ZodTypeAny, {
|
|
3642
3693
|
success: boolean;
|
|
3643
|
-
error?: string | undefined;
|
|
3644
3694
|
components?: {
|
|
3695
|
+
id: string;
|
|
3696
|
+
name: string;
|
|
3697
|
+
category: "core" | "complex" | "advanced";
|
|
3698
|
+
description: string;
|
|
3645
3699
|
props: {
|
|
3646
|
-
type: string;
|
|
3647
3700
|
name: string;
|
|
3701
|
+
type: string;
|
|
3648
3702
|
required: boolean;
|
|
3649
3703
|
description?: string | undefined;
|
|
3650
3704
|
defaultValue?: string | undefined;
|
|
3651
3705
|
}[];
|
|
3652
|
-
description: string;
|
|
3653
|
-
category: "core" | "complex" | "advanced";
|
|
3654
|
-
id: string;
|
|
3655
|
-
name: string;
|
|
3656
3706
|
importStatement: string;
|
|
3657
3707
|
variants?: {
|
|
3658
|
-
value: string;
|
|
3659
3708
|
name: string;
|
|
3709
|
+
value: string;
|
|
3660
3710
|
description?: string | undefined;
|
|
3661
3711
|
}[] | undefined;
|
|
3662
3712
|
}[] | undefined;
|
|
3713
|
+
error?: string | undefined;
|
|
3663
3714
|
examples?: {
|
|
3664
|
-
description: string;
|
|
3665
3715
|
name: string;
|
|
3716
|
+
description: string;
|
|
3666
3717
|
definition: {
|
|
3718
|
+
id: string;
|
|
3667
3719
|
shell: string;
|
|
3668
3720
|
page: string;
|
|
3669
|
-
id: string;
|
|
3670
3721
|
sections: {
|
|
3671
3722
|
id: string;
|
|
3723
|
+
pattern: string;
|
|
3672
3724
|
components: {
|
|
3673
3725
|
type: string;
|
|
3674
3726
|
props?: Record<string, unknown> | undefined;
|
|
3675
3727
|
children?: string | unknown[] | undefined;
|
|
3676
3728
|
}[];
|
|
3677
|
-
pattern: string;
|
|
3678
3729
|
slot?: string | undefined;
|
|
3679
3730
|
}[];
|
|
3731
|
+
name?: string | undefined;
|
|
3680
3732
|
description?: string | undefined;
|
|
3681
3733
|
themeId?: string | undefined;
|
|
3682
|
-
name?: string | undefined;
|
|
3683
3734
|
metadata?: {
|
|
3684
3735
|
version?: string | undefined;
|
|
3736
|
+
author?: string | undefined;
|
|
3685
3737
|
created?: string | undefined;
|
|
3686
3738
|
updated?: string | undefined;
|
|
3687
|
-
author?: string | undefined;
|
|
3688
3739
|
} | undefined;
|
|
3689
3740
|
};
|
|
3690
3741
|
}[] | undefined;
|
|
3691
3742
|
templateMatch?: {
|
|
3743
|
+
category: string;
|
|
3692
3744
|
templateId: string;
|
|
3693
3745
|
templateName: string;
|
|
3694
|
-
category: string;
|
|
3695
3746
|
confidence: number;
|
|
3696
3747
|
matchedKeywords: string[];
|
|
3697
3748
|
skeleton?: {
|
|
3698
3749
|
shell: string;
|
|
3699
3750
|
page: string;
|
|
3700
3751
|
sections: {
|
|
3701
|
-
slot: string;
|
|
3702
3752
|
id: string;
|
|
3703
3753
|
name: string;
|
|
3754
|
+
slot: string;
|
|
3704
3755
|
required: boolean;
|
|
3705
3756
|
}[];
|
|
3706
3757
|
} | undefined;
|
|
@@ -3716,8 +3767,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3716
3767
|
defaultClassName?: string | undefined;
|
|
3717
3768
|
}[] | undefined;
|
|
3718
3769
|
hints?: {
|
|
3770
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3719
3771
|
message: string;
|
|
3720
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3721
3772
|
priority: "high" | "medium" | "low";
|
|
3722
3773
|
example?: string | undefined;
|
|
3723
3774
|
}[] | undefined;
|
|
@@ -3726,8 +3777,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3726
3777
|
title: string;
|
|
3727
3778
|
steps: {
|
|
3728
3779
|
description: string;
|
|
3729
|
-
step: number;
|
|
3730
3780
|
action: string;
|
|
3781
|
+
step: number;
|
|
3731
3782
|
example?: string | undefined;
|
|
3732
3783
|
tool?: string | undefined;
|
|
3733
3784
|
}[];
|
|
@@ -3735,67 +3786,67 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3735
3786
|
} | undefined;
|
|
3736
3787
|
}, {
|
|
3737
3788
|
success: boolean;
|
|
3738
|
-
error?: string | undefined;
|
|
3739
3789
|
components?: {
|
|
3790
|
+
id: string;
|
|
3791
|
+
name: string;
|
|
3792
|
+
category: "core" | "complex" | "advanced";
|
|
3793
|
+
description: string;
|
|
3740
3794
|
props: {
|
|
3741
|
-
type: string;
|
|
3742
3795
|
name: string;
|
|
3796
|
+
type: string;
|
|
3743
3797
|
required: boolean;
|
|
3744
3798
|
description?: string | undefined;
|
|
3745
3799
|
defaultValue?: string | undefined;
|
|
3746
3800
|
}[];
|
|
3747
|
-
description: string;
|
|
3748
|
-
category: "core" | "complex" | "advanced";
|
|
3749
|
-
id: string;
|
|
3750
|
-
name: string;
|
|
3751
3801
|
importStatement: string;
|
|
3752
3802
|
variants?: {
|
|
3753
|
-
value: string;
|
|
3754
3803
|
name: string;
|
|
3804
|
+
value: string;
|
|
3755
3805
|
description?: string | undefined;
|
|
3756
3806
|
}[] | undefined;
|
|
3757
3807
|
}[] | undefined;
|
|
3808
|
+
error?: string | undefined;
|
|
3758
3809
|
examples?: {
|
|
3759
|
-
description: string;
|
|
3760
3810
|
name: string;
|
|
3811
|
+
description: string;
|
|
3761
3812
|
definition: {
|
|
3813
|
+
id: string;
|
|
3762
3814
|
shell: string;
|
|
3763
3815
|
page: string;
|
|
3764
|
-
id: string;
|
|
3765
3816
|
sections: {
|
|
3766
3817
|
id: string;
|
|
3818
|
+
pattern: string;
|
|
3767
3819
|
components: {
|
|
3768
3820
|
type: string;
|
|
3769
3821
|
props?: Record<string, unknown> | undefined;
|
|
3770
3822
|
children?: string | unknown[] | undefined;
|
|
3771
3823
|
}[];
|
|
3772
|
-
pattern: string;
|
|
3773
3824
|
slot?: string | undefined;
|
|
3774
3825
|
}[];
|
|
3826
|
+
name?: string | undefined;
|
|
3775
3827
|
description?: string | undefined;
|
|
3776
3828
|
themeId?: string | undefined;
|
|
3777
|
-
name?: string | undefined;
|
|
3778
3829
|
metadata?: {
|
|
3779
3830
|
version?: string | undefined;
|
|
3831
|
+
author?: string | undefined;
|
|
3780
3832
|
created?: string | undefined;
|
|
3781
3833
|
updated?: string | undefined;
|
|
3782
|
-
author?: string | undefined;
|
|
3783
3834
|
} | undefined;
|
|
3784
3835
|
};
|
|
3785
3836
|
}[] | undefined;
|
|
3786
3837
|
templateMatch?: {
|
|
3838
|
+
category: string;
|
|
3787
3839
|
templateId: string;
|
|
3788
3840
|
templateName: string;
|
|
3789
|
-
category: string;
|
|
3790
3841
|
confidence: number;
|
|
3791
3842
|
matchedKeywords: string[];
|
|
3792
3843
|
skeleton?: {
|
|
3793
3844
|
shell: string;
|
|
3794
3845
|
page: string;
|
|
3795
3846
|
sections: {
|
|
3796
|
-
slot: string;
|
|
3797
3847
|
id: string;
|
|
3798
3848
|
name: string;
|
|
3849
|
+
slot: string;
|
|
3799
3850
|
required: boolean;
|
|
3800
3851
|
}[];
|
|
3801
3852
|
} | undefined;
|
|
@@ -3811,8 +3862,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3811
3862
|
defaultClassName?: string | undefined;
|
|
3812
3863
|
}[] | undefined;
|
|
3813
3864
|
hints?: {
|
|
3865
|
+
category: "layout" | "component" | "styling" | "accessibility" | "best-practice";
|
|
3814
3866
|
message: string;
|
|
3815
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3816
3867
|
priority: "high" | "medium" | "low";
|
|
3817
3868
|
example?: string | undefined;
|
|
3818
3869
|
}[] | undefined;
|
|
@@ -3821,8 +3872,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3821
3872
|
title: string;
|
|
3822
3873
|
steps: {
|
|
3823
3874
|
description: string;
|
|
3824
|
-
step: number;
|
|
3825
3875
|
action: string;
|
|
3876
|
+
step: number;
|
|
3826
3877
|
example?: string | undefined;
|
|
3827
3878
|
tool?: string | undefined;
|
|
3828
3879
|
}[];
|
|
@@ -3900,13 +3951,13 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
3900
3951
|
affectedPath: z.ZodOptional<z.ZodString>;
|
|
3901
3952
|
suggestedChange: z.ZodOptional<z.ZodString>;
|
|
3902
3953
|
}, "strip", z.ZodTypeAny, {
|
|
3903
|
-
message: string;
|
|
3904
3954
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3955
|
+
message: string;
|
|
3905
3956
|
affectedPath?: string | undefined;
|
|
3906
3957
|
suggestedChange?: string | undefined;
|
|
3907
3958
|
}, {
|
|
3908
|
-
message: string;
|
|
3909
3959
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
3960
|
+
message: string;
|
|
3910
3961
|
affectedPath?: string | undefined;
|
|
3911
3962
|
suggestedChange?: string | undefined;
|
|
3912
3963
|
}>;
|
|
@@ -3961,13 +4012,13 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
3961
4012
|
affectedPath: z.ZodOptional<z.ZodString>;
|
|
3962
4013
|
suggestedChange: z.ZodOptional<z.ZodString>;
|
|
3963
4014
|
}, "strip", z.ZodTypeAny, {
|
|
3964
|
-
message: string;
|
|
3965
4015
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4016
|
+
message: string;
|
|
3966
4017
|
affectedPath?: string | undefined;
|
|
3967
4018
|
suggestedChange?: string | undefined;
|
|
3968
4019
|
}, {
|
|
3969
|
-
message: string;
|
|
3970
4020
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4021
|
+
message: string;
|
|
3971
4022
|
affectedPath?: string | undefined;
|
|
3972
4023
|
suggestedChange?: string | undefined;
|
|
3973
4024
|
}>, "many">>;
|
|
@@ -3991,8 +4042,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
3991
4042
|
recommendation?: string | undefined;
|
|
3992
4043
|
}[] | undefined;
|
|
3993
4044
|
suggestions?: {
|
|
3994
|
-
message: string;
|
|
3995
4045
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4046
|
+
message: string;
|
|
3996
4047
|
affectedPath?: string | undefined;
|
|
3997
4048
|
suggestedChange?: string | undefined;
|
|
3998
4049
|
}[] | undefined;
|
|
@@ -4015,8 +4066,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4015
4066
|
recommendation?: string | undefined;
|
|
4016
4067
|
}[] | undefined;
|
|
4017
4068
|
suggestions?: {
|
|
4018
|
-
message: string;
|
|
4019
4069
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4070
|
+
message: string;
|
|
4020
4071
|
affectedPath?: string | undefined;
|
|
4021
4072
|
suggestedChange?: string | undefined;
|
|
4022
4073
|
}[] | undefined;
|
|
@@ -4089,7 +4140,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4089
4140
|
error: z.ZodOptional<z.ZodString>;
|
|
4090
4141
|
}, "strip", z.ZodTypeAny, {
|
|
4091
4142
|
success: boolean;
|
|
4092
|
-
error?: string | undefined;
|
|
4093
4143
|
tailwind?: {
|
|
4094
4144
|
issues: string[];
|
|
4095
4145
|
configFound: boolean;
|
|
@@ -4098,6 +4148,7 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4098
4148
|
fixes: string[];
|
|
4099
4149
|
configPath?: string | undefined;
|
|
4100
4150
|
} | undefined;
|
|
4151
|
+
error?: string | undefined;
|
|
4101
4152
|
installCommands?: {
|
|
4102
4153
|
npm: string;
|
|
4103
4154
|
yarn: string;
|
|
@@ -4109,7 +4160,6 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4109
4160
|
missing?: string[] | undefined;
|
|
4110
4161
|
}, {
|
|
4111
4162
|
success: boolean;
|
|
4112
|
-
error?: string | undefined;
|
|
4113
4163
|
tailwind?: {
|
|
4114
4164
|
issues: string[];
|
|
4115
4165
|
configFound: boolean;
|
|
@@ -4118,6 +4168,7 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4118
4168
|
fixes: string[];
|
|
4119
4169
|
configPath?: string | undefined;
|
|
4120
4170
|
} | undefined;
|
|
4171
|
+
error?: string | undefined;
|
|
4121
4172
|
installCommands?: {
|
|
4122
4173
|
npm: string;
|
|
4123
4174
|
yarn: string;
|