@framingui/mcp-server 0.6.27 → 0.6.28
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 +3 -1
- package/dist/auth/state.d.ts +11 -0
- package/dist/auth/state.d.ts.map +1 -1
- package/dist/auth/state.js +31 -25
- package/dist/auth/state.js.map +1 -1
- package/dist/auth/verify.d.ts +9 -0
- package/dist/auth/verify.d.ts.map +1 -1
- package/dist/auth/verify.js.map +1 -1
- package/dist/billing/quota-policy.d.ts +13 -0
- package/dist/billing/quota-policy.d.ts.map +1 -0
- package/dist/billing/quota-policy.js +32 -0
- package/dist/billing/quota-policy.js.map +1 -0
- package/dist/billing/tool-metering.d.ts +10 -0
- package/dist/billing/tool-metering.d.ts.map +1 -0
- package/dist/billing/tool-metering.js +126 -0
- package/dist/billing/tool-metering.js.map +1 -0
- package/dist/billing/usage-ledger.d.ts +61 -0
- package/dist/billing/usage-ledger.d.ts.map +1 -0
- package/dist/billing/usage-ledger.js +102 -0
- package/dist/billing/usage-ledger.js.map +1 -0
- package/dist/billing/usage-sync.d.ts +3 -0
- package/dist/billing/usage-sync.d.ts.map +1 -0
- package/dist/billing/usage-sync.js +40 -0
- package/dist/billing/usage-sync.js.map +1 -0
- package/dist/cli/agent-md-templates.d.ts.map +1 -1
- package/dist/cli/agent-md-templates.js +4 -2
- package/dist/cli/agent-md-templates.js.map +1 -1
- package/dist/cli/commands.d.ts +2 -0
- package/dist/cli/commands.d.ts.map +1 -0
- package/dist/cli/commands.js +20 -0
- package/dist/cli/commands.js.map +1 -0
- package/dist/cli/guide-template.d.ts.map +1 -1
- package/dist/cli/guide-template.js +3 -1
- package/dist/cli/guide-template.js.map +1 -1
- package/dist/cli/help.d.ts +5 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/help.js +59 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/package-manager.d.ts +5 -0
- package/dist/cli/package-manager.d.ts.map +1 -0
- package/dist/cli/package-manager.js +34 -0
- package/dist/cli/package-manager.js.map +1 -0
- package/dist/cli/update.d.ts +8 -0
- package/dist/cli/update.d.ts.map +1 -0
- package/dist/cli/update.js +53 -0
- package/dist/cli/update.js.map +1 -0
- package/dist/commands/slash-command-adapters.d.ts +9 -0
- package/dist/commands/slash-command-adapters.d.ts.map +1 -0
- package/dist/commands/slash-command-adapters.js +116 -0
- package/dist/commands/slash-command-adapters.js.map +1 -0
- package/dist/data/component-props.d.ts +30 -0
- package/dist/data/component-props.d.ts.map +1 -0
- package/dist/data/component-props.js +537 -0
- package/dist/data/component-props.js.map +1 -0
- package/dist/data/component-registry.d.ts +30 -0
- package/dist/data/component-registry.d.ts.map +1 -0
- package/dist/data/component-registry.js +320 -0
- package/dist/data/component-registry.js.map +1 -0
- package/dist/data/examples/screen-examples.d.ts +38 -0
- package/dist/data/examples/screen-examples.d.ts.map +1 -0
- package/dist/data/examples/screen-examples.js +500 -0
- package/dist/data/examples/screen-examples.js.map +1 -0
- package/dist/index.js +130 -177
- package/dist/index.js.map +1 -1
- package/dist/prompts/doctor-workflow.js +1 -1
- package/dist/prompts/getting-started.d.ts.map +1 -1
- package/dist/prompts/getting-started.js +10 -9
- package/dist/prompts/getting-started.js.map +1 -1
- package/dist/prompts/screen-workflow.js +1 -1
- package/dist/schemas/mcp-schemas.d.ts +854 -739
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/schemas/mcp-schemas.js +32 -1
- package/dist/schemas/mcp-schemas.js.map +1 -1
- package/dist/tools/detect-project-context.d.ts +3 -1
- package/dist/tools/detect-project-context.d.ts.map +1 -1
- package/dist/tools/detect-project-context.js.map +1 -1
- package/dist/tools/get-screen-generation-context.d.ts +3 -1
- package/dist/tools/get-screen-generation-context.d.ts.map +1 -1
- package/dist/tools/get-screen-generation-context.js +2 -2
- package/dist/tools/get-screen-generation-context.js.map +1 -1
- package/dist/tools/list-screen-templates.d.ts +3 -1
- package/dist/tools/list-screen-templates.d.ts.map +1 -1
- package/dist/tools/list-screen-templates.js +3 -3
- package/dist/tools/list-screen-templates.js.map +1 -1
- package/dist/tools/preview-theme.d.ts +3 -1
- package/dist/tools/preview-theme.d.ts.map +1 -1
- package/dist/tools/preview-theme.js +28 -19
- package/dist/tools/preview-theme.js.map +1 -1
- package/dist/tools/validate-environment.d.ts +3 -1
- package/dist/tools/validate-environment.d.ts.map +1 -1
- package/dist/tools/validate-environment.js.map +1 -1
- package/dist/tools/whoami.d.ts.map +1 -1
- package/dist/tools/whoami.js +27 -17
- package/dist/tools/whoami.js.map +1 -1
- package/dist/utils/style-contract-reader.d.ts +10 -0
- package/dist/utils/style-contract-reader.d.ts.map +1 -0
- package/dist/utils/style-contract-reader.js +67 -0
- package/dist/utils/style-contract-reader.js.map +1 -0
- package/package.json +17 -16
- package/LICENSE +0 -21
|
@@ -29,15 +29,81 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
29
29
|
expiresAt: string | null;
|
|
30
30
|
renewable: boolean;
|
|
31
31
|
}>>;
|
|
32
|
+
has_transition_access: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
access_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
access_days_left: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
35
|
is_trial: z.ZodOptional<z.ZodBoolean>;
|
|
33
36
|
trial_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
37
|
trial_days_left: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
quota: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
enabled: z.ZodBoolean;
|
|
40
|
+
billingPhase: z.ZodLiteral<"shadow">;
|
|
41
|
+
unitModel: z.ZodLiteral<"weighted_tool_units">;
|
|
42
|
+
monthlyIncludedUnits: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
usedUnits: z.ZodNumber;
|
|
44
|
+
remainingUnits: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
usagePercent: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
warningThresholds: z.ZodArray<z.ZodNumber, "many">;
|
|
47
|
+
warningsTriggered: z.ZodArray<z.ZodNumber, "many">;
|
|
48
|
+
currentPeriodStart: z.ZodString;
|
|
49
|
+
currentPeriodEnd: z.ZodString;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
currentPeriodStart: string;
|
|
52
|
+
currentPeriodEnd: string;
|
|
53
|
+
enabled: boolean;
|
|
54
|
+
billingPhase: "shadow";
|
|
55
|
+
unitModel: "weighted_tool_units";
|
|
56
|
+
monthlyIncludedUnits: number | null;
|
|
57
|
+
usedUnits: number;
|
|
58
|
+
remainingUnits: number | null;
|
|
59
|
+
usagePercent: number | null;
|
|
60
|
+
warningThresholds: number[];
|
|
61
|
+
warningsTriggered: number[];
|
|
62
|
+
}, {
|
|
63
|
+
currentPeriodStart: string;
|
|
64
|
+
currentPeriodEnd: string;
|
|
65
|
+
enabled: boolean;
|
|
66
|
+
billingPhase: "shadow";
|
|
67
|
+
unitModel: "weighted_tool_units";
|
|
68
|
+
monthlyIncludedUnits: number | null;
|
|
69
|
+
usedUnits: number;
|
|
70
|
+
remainingUnits: number | null;
|
|
71
|
+
usagePercent: number | null;
|
|
72
|
+
warningThresholds: number[];
|
|
73
|
+
warningsTriggered: number[];
|
|
74
|
+
}>>;
|
|
75
|
+
paid_quota_entitlement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
76
|
+
planId: z.ZodString;
|
|
77
|
+
status: z.ZodString;
|
|
78
|
+
includedUnits: z.ZodNumber;
|
|
79
|
+
currentPeriodStart: z.ZodNullable<z.ZodString>;
|
|
80
|
+
currentPeriodEnd: z.ZodNullable<z.ZodString>;
|
|
81
|
+
totalAllocatedUnits: z.ZodNumber;
|
|
82
|
+
topUpAllocatedUnits: z.ZodNumber;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
status: string;
|
|
85
|
+
currentPeriodStart: string | null;
|
|
86
|
+
currentPeriodEnd: string | null;
|
|
87
|
+
planId: string;
|
|
88
|
+
includedUnits: number;
|
|
89
|
+
totalAllocatedUnits: number;
|
|
90
|
+
topUpAllocatedUnits: number;
|
|
91
|
+
}, {
|
|
92
|
+
status: string;
|
|
93
|
+
currentPeriodStart: string | null;
|
|
94
|
+
currentPeriodEnd: string | null;
|
|
95
|
+
planId: string;
|
|
96
|
+
includedUnits: number;
|
|
97
|
+
totalAllocatedUnits: number;
|
|
98
|
+
topUpAllocatedUnits: number;
|
|
99
|
+
}>>>;
|
|
35
100
|
message: z.ZodOptional<z.ZodString>;
|
|
36
101
|
error: z.ZodOptional<z.ZodString>;
|
|
37
102
|
}, "strip", z.ZodTypeAny, {
|
|
38
103
|
success: boolean;
|
|
104
|
+
error?: string | undefined;
|
|
39
105
|
message?: string | undefined;
|
|
40
|
-
plan?: "
|
|
106
|
+
plan?: "pro" | "free" | "enterprise" | "master" | undefined;
|
|
41
107
|
isMaster?: boolean | undefined;
|
|
42
108
|
licensedThemes?: string[] | undefined;
|
|
43
109
|
totalThemes?: number | undefined;
|
|
@@ -45,14 +111,39 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
45
111
|
expiresAt: string | null;
|
|
46
112
|
renewable: boolean;
|
|
47
113
|
} | undefined;
|
|
114
|
+
has_transition_access?: boolean | undefined;
|
|
115
|
+
access_expires_at?: string | null | undefined;
|
|
116
|
+
access_days_left?: number | null | undefined;
|
|
48
117
|
is_trial?: boolean | undefined;
|
|
49
118
|
trial_expires_at?: string | null | undefined;
|
|
50
119
|
trial_days_left?: number | null | undefined;
|
|
51
|
-
|
|
120
|
+
quota?: {
|
|
121
|
+
currentPeriodStart: string;
|
|
122
|
+
currentPeriodEnd: string;
|
|
123
|
+
enabled: boolean;
|
|
124
|
+
billingPhase: "shadow";
|
|
125
|
+
unitModel: "weighted_tool_units";
|
|
126
|
+
monthlyIncludedUnits: number | null;
|
|
127
|
+
usedUnits: number;
|
|
128
|
+
remainingUnits: number | null;
|
|
129
|
+
usagePercent: number | null;
|
|
130
|
+
warningThresholds: number[];
|
|
131
|
+
warningsTriggered: number[];
|
|
132
|
+
} | undefined;
|
|
133
|
+
paid_quota_entitlement?: {
|
|
134
|
+
status: string;
|
|
135
|
+
currentPeriodStart: string | null;
|
|
136
|
+
currentPeriodEnd: string | null;
|
|
137
|
+
planId: string;
|
|
138
|
+
includedUnits: number;
|
|
139
|
+
totalAllocatedUnits: number;
|
|
140
|
+
topUpAllocatedUnits: number;
|
|
141
|
+
} | null | undefined;
|
|
52
142
|
}, {
|
|
53
143
|
success: boolean;
|
|
144
|
+
error?: string | undefined;
|
|
54
145
|
message?: string | undefined;
|
|
55
|
-
plan?: "
|
|
146
|
+
plan?: "pro" | "free" | "enterprise" | "master" | undefined;
|
|
56
147
|
isMaster?: boolean | undefined;
|
|
57
148
|
licensedThemes?: string[] | undefined;
|
|
58
149
|
totalThemes?: number | undefined;
|
|
@@ -60,10 +151,34 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
60
151
|
expiresAt: string | null;
|
|
61
152
|
renewable: boolean;
|
|
62
153
|
} | undefined;
|
|
154
|
+
has_transition_access?: boolean | undefined;
|
|
155
|
+
access_expires_at?: string | null | undefined;
|
|
156
|
+
access_days_left?: number | null | undefined;
|
|
63
157
|
is_trial?: boolean | undefined;
|
|
64
158
|
trial_expires_at?: string | null | undefined;
|
|
65
159
|
trial_days_left?: number | null | undefined;
|
|
66
|
-
|
|
160
|
+
quota?: {
|
|
161
|
+
currentPeriodStart: string;
|
|
162
|
+
currentPeriodEnd: string;
|
|
163
|
+
enabled: boolean;
|
|
164
|
+
billingPhase: "shadow";
|
|
165
|
+
unitModel: "weighted_tool_units";
|
|
166
|
+
monthlyIncludedUnits: number | null;
|
|
167
|
+
usedUnits: number;
|
|
168
|
+
remainingUnits: number | null;
|
|
169
|
+
usagePercent: number | null;
|
|
170
|
+
warningThresholds: number[];
|
|
171
|
+
warningsTriggered: number[];
|
|
172
|
+
} | undefined;
|
|
173
|
+
paid_quota_entitlement?: {
|
|
174
|
+
status: string;
|
|
175
|
+
currentPeriodStart: string | null;
|
|
176
|
+
currentPeriodEnd: string | null;
|
|
177
|
+
planId: string;
|
|
178
|
+
includedUnits: number;
|
|
179
|
+
totalAllocatedUnits: number;
|
|
180
|
+
topUpAllocatedUnits: number;
|
|
181
|
+
} | null | undefined;
|
|
67
182
|
}>;
|
|
68
183
|
export type WhoamiOutput = z.infer<typeof WhoamiOutputSchema>;
|
|
69
184
|
/**
|
|
@@ -88,16 +203,16 @@ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
|
|
|
88
203
|
componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
89
204
|
}, "strip", z.ZodTypeAny, {
|
|
90
205
|
description: string;
|
|
91
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
92
206
|
themeId: string;
|
|
93
|
-
|
|
207
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
94
208
|
componentHints?: string[] | undefined;
|
|
209
|
+
iconLibrary?: string | undefined;
|
|
95
210
|
}, {
|
|
96
211
|
description: string;
|
|
97
|
-
layout: "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "dashboard" | "landing";
|
|
98
212
|
themeId: string;
|
|
99
|
-
|
|
213
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
100
214
|
componentHints?: string[] | undefined;
|
|
215
|
+
iconLibrary?: string | undefined;
|
|
101
216
|
}>;
|
|
102
217
|
export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
|
|
103
218
|
/**
|
|
@@ -115,35 +230,35 @@ export declare const TemplateRecommendationSchema: z.ZodObject<{
|
|
|
115
230
|
page: z.ZodString;
|
|
116
231
|
description: z.ZodString;
|
|
117
232
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
description: string;
|
|
119
233
|
shell: string;
|
|
120
234
|
page: string;
|
|
121
|
-
}, {
|
|
122
235
|
description: string;
|
|
236
|
+
}, {
|
|
123
237
|
shell: string;
|
|
124
238
|
page: string;
|
|
239
|
+
description: string;
|
|
125
240
|
}>;
|
|
126
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
category: string;
|
|
127
243
|
templateId: string;
|
|
128
244
|
templateName: string;
|
|
129
|
-
category: string;
|
|
130
245
|
confidence: number;
|
|
131
246
|
matchedKeywords: string[];
|
|
132
247
|
layoutRecommendation: {
|
|
133
|
-
description: string;
|
|
134
248
|
shell: string;
|
|
135
249
|
page: string;
|
|
250
|
+
description: string;
|
|
136
251
|
};
|
|
137
252
|
}, {
|
|
253
|
+
category: string;
|
|
138
254
|
templateId: string;
|
|
139
255
|
templateName: string;
|
|
140
|
-
category: string;
|
|
141
256
|
confidence: number;
|
|
142
257
|
matchedKeywords: string[];
|
|
143
258
|
layoutRecommendation: {
|
|
144
|
-
description: string;
|
|
145
259
|
shell: string;
|
|
146
260
|
page: string;
|
|
261
|
+
description: string;
|
|
147
262
|
};
|
|
148
263
|
}>;
|
|
149
264
|
export type TemplateRecommendation = z.infer<typeof TemplateRecommendationSchema>;
|
|
@@ -173,11 +288,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
173
288
|
}>, "many">;
|
|
174
289
|
timestamp: z.ZodNumber;
|
|
175
290
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
|
|
291
|
+
name: string;
|
|
177
292
|
themeId: string;
|
|
178
|
-
iconLibrary: string;
|
|
179
293
|
id: string;
|
|
180
|
-
|
|
294
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
295
|
+
iconLibrary: string;
|
|
181
296
|
components: {
|
|
182
297
|
type: string;
|
|
183
298
|
props?: Record<string, unknown>;
|
|
@@ -186,11 +301,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
186
301
|
}[];
|
|
187
302
|
timestamp: number;
|
|
188
303
|
}, {
|
|
189
|
-
|
|
304
|
+
name: string;
|
|
190
305
|
themeId: string;
|
|
191
|
-
iconLibrary: string;
|
|
192
306
|
id: string;
|
|
193
|
-
|
|
307
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
308
|
+
iconLibrary: string;
|
|
194
309
|
components: {
|
|
195
310
|
type: string;
|
|
196
311
|
props?: Record<string, unknown>;
|
|
@@ -210,35 +325,35 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
210
325
|
page: z.ZodString;
|
|
211
326
|
description: z.ZodString;
|
|
212
327
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
description: string;
|
|
214
328
|
shell: string;
|
|
215
329
|
page: string;
|
|
216
|
-
}, {
|
|
217
330
|
description: string;
|
|
331
|
+
}, {
|
|
218
332
|
shell: string;
|
|
219
333
|
page: string;
|
|
334
|
+
description: string;
|
|
220
335
|
}>;
|
|
221
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
+
category: string;
|
|
222
338
|
templateId: string;
|
|
223
339
|
templateName: string;
|
|
224
|
-
category: string;
|
|
225
340
|
confidence: number;
|
|
226
341
|
matchedKeywords: string[];
|
|
227
342
|
layoutRecommendation: {
|
|
228
|
-
description: string;
|
|
229
343
|
shell: string;
|
|
230
344
|
page: string;
|
|
345
|
+
description: string;
|
|
231
346
|
};
|
|
232
347
|
}, {
|
|
348
|
+
category: string;
|
|
233
349
|
templateId: string;
|
|
234
350
|
templateName: string;
|
|
235
|
-
category: string;
|
|
236
351
|
confidence: number;
|
|
237
352
|
matchedKeywords: string[];
|
|
238
353
|
layoutRecommendation: {
|
|
239
|
-
description: string;
|
|
240
354
|
shell: string;
|
|
241
355
|
page: string;
|
|
356
|
+
description: string;
|
|
242
357
|
};
|
|
243
358
|
}>, "many">>;
|
|
244
359
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -246,11 +361,11 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
246
361
|
success: boolean;
|
|
247
362
|
error?: string | undefined;
|
|
248
363
|
blueprint?: {
|
|
249
|
-
|
|
364
|
+
name: string;
|
|
250
365
|
themeId: string;
|
|
251
|
-
iconLibrary: string;
|
|
252
366
|
id: string;
|
|
253
|
-
|
|
367
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
368
|
+
iconLibrary: string;
|
|
254
369
|
components: {
|
|
255
370
|
type: string;
|
|
256
371
|
props?: Record<string, unknown>;
|
|
@@ -260,26 +375,26 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
260
375
|
timestamp: number;
|
|
261
376
|
} | undefined;
|
|
262
377
|
templateRecommendations?: {
|
|
378
|
+
category: string;
|
|
263
379
|
templateId: string;
|
|
264
380
|
templateName: string;
|
|
265
|
-
category: string;
|
|
266
381
|
confidence: number;
|
|
267
382
|
matchedKeywords: string[];
|
|
268
383
|
layoutRecommendation: {
|
|
269
|
-
description: string;
|
|
270
384
|
shell: string;
|
|
271
385
|
page: string;
|
|
386
|
+
description: string;
|
|
272
387
|
};
|
|
273
388
|
}[] | undefined;
|
|
274
389
|
}, {
|
|
275
390
|
success: boolean;
|
|
276
391
|
error?: string | undefined;
|
|
277
392
|
blueprint?: {
|
|
278
|
-
|
|
393
|
+
name: string;
|
|
279
394
|
themeId: string;
|
|
280
|
-
iconLibrary: string;
|
|
281
395
|
id: string;
|
|
282
|
-
|
|
396
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
397
|
+
iconLibrary: string;
|
|
283
398
|
components: {
|
|
284
399
|
type: string;
|
|
285
400
|
props?: Record<string, unknown>;
|
|
@@ -289,15 +404,15 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
289
404
|
timestamp: number;
|
|
290
405
|
} | undefined;
|
|
291
406
|
templateRecommendations?: {
|
|
407
|
+
category: string;
|
|
292
408
|
templateId: string;
|
|
293
409
|
templateName: string;
|
|
294
|
-
category: string;
|
|
295
410
|
confidence: number;
|
|
296
411
|
matchedKeywords: string[];
|
|
297
412
|
layoutRecommendation: {
|
|
298
|
-
description: string;
|
|
299
413
|
shell: string;
|
|
300
414
|
page: string;
|
|
415
|
+
description: string;
|
|
301
416
|
};
|
|
302
417
|
}[] | undefined;
|
|
303
418
|
}>;
|
|
@@ -318,14 +433,14 @@ export declare const ThemeMetaSchema: z.ZodObject<{
|
|
|
318
433
|
brandTone: z.ZodString;
|
|
319
434
|
schemaVersion: z.ZodString;
|
|
320
435
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
id: string;
|
|
322
436
|
name: string;
|
|
437
|
+
id: string;
|
|
323
438
|
brandTone: string;
|
|
324
439
|
schemaVersion: string;
|
|
325
440
|
description?: string | undefined;
|
|
326
441
|
}, {
|
|
327
|
-
id: string;
|
|
328
442
|
name: string;
|
|
443
|
+
id: string;
|
|
329
444
|
brandTone: string;
|
|
330
445
|
schemaVersion: string;
|
|
331
446
|
description?: string | undefined;
|
|
@@ -343,14 +458,14 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
343
458
|
brandTone: z.ZodString;
|
|
344
459
|
schemaVersion: z.ZodString;
|
|
345
460
|
}, "strip", z.ZodTypeAny, {
|
|
346
|
-
id: string;
|
|
347
461
|
name: string;
|
|
462
|
+
id: string;
|
|
348
463
|
brandTone: string;
|
|
349
464
|
schemaVersion: string;
|
|
350
465
|
description?: string | undefined;
|
|
351
466
|
}, {
|
|
352
|
-
id: string;
|
|
353
467
|
name: string;
|
|
468
|
+
id: string;
|
|
354
469
|
brandTone: string;
|
|
355
470
|
schemaVersion: string;
|
|
356
471
|
description?: string | undefined;
|
|
@@ -361,8 +476,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
361
476
|
success: boolean;
|
|
362
477
|
error?: string | undefined;
|
|
363
478
|
themes?: {
|
|
364
|
-
id: string;
|
|
365
479
|
name: string;
|
|
480
|
+
id: string;
|
|
366
481
|
brandTone: string;
|
|
367
482
|
schemaVersion: string;
|
|
368
483
|
description?: string | undefined;
|
|
@@ -372,8 +487,8 @@ export declare const ListThemesOutputSchema: z.ZodObject<{
|
|
|
372
487
|
success: boolean;
|
|
373
488
|
error?: string | undefined;
|
|
374
489
|
themes?: {
|
|
375
|
-
id: string;
|
|
376
490
|
name: string;
|
|
491
|
+
id: string;
|
|
377
492
|
brandTone: string;
|
|
378
493
|
schemaVersion: string;
|
|
379
494
|
description?: string | undefined;
|
|
@@ -426,13 +541,13 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
426
541
|
component: z.ZodOptional<z.ZodUnknown>;
|
|
427
542
|
recipes: z.ZodOptional<z.ZodUnknown>;
|
|
428
543
|
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
atomic?: unknown;
|
|
430
544
|
semantic?: unknown;
|
|
545
|
+
atomic?: unknown;
|
|
431
546
|
component?: unknown;
|
|
432
547
|
recipes?: unknown;
|
|
433
548
|
}, {
|
|
434
|
-
atomic?: unknown;
|
|
435
549
|
semantic?: unknown;
|
|
550
|
+
atomic?: unknown;
|
|
436
551
|
component?: unknown;
|
|
437
552
|
recipes?: unknown;
|
|
438
553
|
}>;
|
|
@@ -441,16 +556,16 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
441
556
|
elevation: z.ZodOptional<z.ZodUnknown>;
|
|
442
557
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
443
558
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
-
id: string;
|
|
445
559
|
name: string;
|
|
446
|
-
|
|
447
|
-
schemaVersion: string;
|
|
560
|
+
id: string;
|
|
448
561
|
tokens: {
|
|
449
|
-
atomic?: unknown;
|
|
450
562
|
semantic?: unknown;
|
|
563
|
+
atomic?: unknown;
|
|
451
564
|
component?: unknown;
|
|
452
565
|
recipes?: unknown;
|
|
453
566
|
};
|
|
567
|
+
brandTone: string;
|
|
568
|
+
schemaVersion: string;
|
|
454
569
|
description?: string | undefined;
|
|
455
570
|
designDNA?: {
|
|
456
571
|
moodKeywords: string[];
|
|
@@ -462,16 +577,16 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
462
577
|
elevation?: unknown;
|
|
463
578
|
typography?: unknown;
|
|
464
579
|
}, {
|
|
465
|
-
id: string;
|
|
466
580
|
name: string;
|
|
467
|
-
|
|
468
|
-
schemaVersion: string;
|
|
581
|
+
id: string;
|
|
469
582
|
tokens: {
|
|
470
|
-
atomic?: unknown;
|
|
471
583
|
semantic?: unknown;
|
|
584
|
+
atomic?: unknown;
|
|
472
585
|
component?: unknown;
|
|
473
586
|
recipes?: unknown;
|
|
474
587
|
};
|
|
588
|
+
brandTone: string;
|
|
589
|
+
schemaVersion: string;
|
|
475
590
|
description?: string | undefined;
|
|
476
591
|
designDNA?: {
|
|
477
592
|
moodKeywords: string[];
|
|
@@ -488,17 +603,18 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
488
603
|
}, "strip", z.ZodTypeAny, {
|
|
489
604
|
success: boolean;
|
|
490
605
|
error?: string | undefined;
|
|
606
|
+
css?: string | undefined;
|
|
491
607
|
theme?: {
|
|
492
|
-
id: string;
|
|
493
608
|
name: string;
|
|
494
|
-
|
|
495
|
-
schemaVersion: string;
|
|
609
|
+
id: string;
|
|
496
610
|
tokens: {
|
|
497
|
-
atomic?: unknown;
|
|
498
611
|
semantic?: unknown;
|
|
612
|
+
atomic?: unknown;
|
|
499
613
|
component?: unknown;
|
|
500
614
|
recipes?: unknown;
|
|
501
615
|
};
|
|
616
|
+
brandTone: string;
|
|
617
|
+
schemaVersion: string;
|
|
502
618
|
description?: string | undefined;
|
|
503
619
|
designDNA?: {
|
|
504
620
|
moodKeywords: string[];
|
|
@@ -510,21 +626,21 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
510
626
|
elevation?: unknown;
|
|
511
627
|
typography?: unknown;
|
|
512
628
|
} | undefined;
|
|
513
|
-
css?: string | undefined;
|
|
514
629
|
}, {
|
|
515
630
|
success: boolean;
|
|
516
631
|
error?: string | undefined;
|
|
632
|
+
css?: string | undefined;
|
|
517
633
|
theme?: {
|
|
518
|
-
id: string;
|
|
519
634
|
name: string;
|
|
520
|
-
|
|
521
|
-
schemaVersion: string;
|
|
635
|
+
id: string;
|
|
522
636
|
tokens: {
|
|
523
|
-
atomic?: unknown;
|
|
524
637
|
semantic?: unknown;
|
|
638
|
+
atomic?: unknown;
|
|
525
639
|
component?: unknown;
|
|
526
640
|
recipes?: unknown;
|
|
527
641
|
};
|
|
642
|
+
brandTone: string;
|
|
643
|
+
schemaVersion: string;
|
|
528
644
|
description?: string | undefined;
|
|
529
645
|
designDNA?: {
|
|
530
646
|
moodKeywords: string[];
|
|
@@ -536,7 +652,6 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
536
652
|
elevation?: unknown;
|
|
537
653
|
typography?: unknown;
|
|
538
654
|
} | undefined;
|
|
539
|
-
css?: string | undefined;
|
|
540
655
|
}>;
|
|
541
656
|
export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
|
|
542
657
|
/**
|
|
@@ -553,10 +668,10 @@ export declare const ExportScreenInputSchema: z.ZodObject<{
|
|
|
553
668
|
blueprint: z.ZodUnknown;
|
|
554
669
|
format: z.ZodEnum<["jsx", "tsx", "vue"]>;
|
|
555
670
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
format: "
|
|
671
|
+
format: "tsx" | "jsx" | "vue";
|
|
557
672
|
blueprint?: unknown;
|
|
558
673
|
}, {
|
|
559
|
-
format: "
|
|
674
|
+
format: "tsx" | "jsx" | "vue";
|
|
560
675
|
blueprint?: unknown;
|
|
561
676
|
}>;
|
|
562
677
|
export type ExportScreenInput = z.infer<typeof ExportScreenInputSchema>;
|
|
@@ -569,12 +684,12 @@ export declare const ExportScreenOutputSchema: z.ZodObject<{
|
|
|
569
684
|
error: z.ZodOptional<z.ZodString>;
|
|
570
685
|
}, "strip", z.ZodTypeAny, {
|
|
571
686
|
success: boolean;
|
|
572
|
-
code?: string | undefined;
|
|
573
687
|
error?: string | undefined;
|
|
688
|
+
code?: string | undefined;
|
|
574
689
|
}, {
|
|
575
690
|
success: boolean;
|
|
576
|
-
code?: string | undefined;
|
|
577
691
|
error?: string | undefined;
|
|
692
|
+
code?: string | undefined;
|
|
578
693
|
}>;
|
|
579
694
|
/**
|
|
580
695
|
* Export component resolution tier
|
|
@@ -604,21 +719,21 @@ export declare const HybridExportInputSchema: z.ZodObject<{
|
|
|
604
719
|
/** Theme ID for CSS generation */
|
|
605
720
|
themeId: z.ZodOptional<z.ZodString>;
|
|
606
721
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
includeCSS: boolean;
|
|
608
|
-
format: "jsx" | "tsx" | "vue";
|
|
609
722
|
tier: "tier1" | "tier2" | "auto";
|
|
723
|
+
includeCSS: boolean;
|
|
724
|
+
format: "tsx" | "jsx" | "vue";
|
|
610
725
|
themeId?: string | undefined;
|
|
611
|
-
blueprint?: unknown;
|
|
612
726
|
componentName?: string | undefined;
|
|
727
|
+
blueprint?: unknown;
|
|
613
728
|
componentDescription?: string | undefined;
|
|
614
729
|
}, {
|
|
615
|
-
format: "
|
|
730
|
+
format: "tsx" | "jsx" | "vue";
|
|
616
731
|
themeId?: string | undefined;
|
|
617
|
-
|
|
618
|
-
includeCSS?: boolean | undefined;
|
|
732
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
619
733
|
componentName?: string | undefined;
|
|
734
|
+
includeCSS?: boolean | undefined;
|
|
735
|
+
blueprint?: unknown;
|
|
620
736
|
componentDescription?: string | undefined;
|
|
621
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
622
737
|
}>;
|
|
623
738
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
624
739
|
/**
|
|
@@ -667,25 +782,25 @@ export declare const HybridExportOutputSchema: z.ZodObject<{
|
|
|
667
782
|
error: z.ZodOptional<z.ZodString>;
|
|
668
783
|
}, "strip", z.ZodTypeAny, {
|
|
669
784
|
success: boolean;
|
|
670
|
-
code?: string | undefined;
|
|
671
785
|
error?: string | undefined;
|
|
786
|
+
code?: string | undefined;
|
|
787
|
+
css?: string | undefined;
|
|
672
788
|
components?: {
|
|
673
789
|
code: string;
|
|
674
790
|
componentName: string;
|
|
675
791
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
676
792
|
}[] | undefined;
|
|
677
|
-
css?: string | undefined;
|
|
678
793
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
679
794
|
}, {
|
|
680
795
|
success: boolean;
|
|
681
|
-
code?: string | undefined;
|
|
682
796
|
error?: string | undefined;
|
|
797
|
+
code?: string | undefined;
|
|
798
|
+
css?: string | undefined;
|
|
683
799
|
components?: {
|
|
684
800
|
code: string;
|
|
685
801
|
componentName: string;
|
|
686
802
|
source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
|
|
687
803
|
}[] | undefined;
|
|
688
|
-
css?: string | undefined;
|
|
689
804
|
tierUsed?: "tier1" | "tier2" | "auto" | undefined;
|
|
690
805
|
}>;
|
|
691
806
|
export type HybridExportOutput = z.infer<typeof HybridExportOutputSchema>;
|
|
@@ -698,11 +813,11 @@ export declare const ErrorResponseSchema: z.ZodObject<{
|
|
|
698
813
|
success: z.ZodLiteral<false>;
|
|
699
814
|
error: z.ZodString;
|
|
700
815
|
}, "strip", z.ZodTypeAny, {
|
|
701
|
-
success: false;
|
|
702
816
|
error: string;
|
|
703
|
-
}, {
|
|
704
817
|
success: false;
|
|
818
|
+
}, {
|
|
705
819
|
error: string;
|
|
820
|
+
success: false;
|
|
706
821
|
}>;
|
|
707
822
|
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
708
823
|
/**
|
|
@@ -718,15 +833,15 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
718
833
|
pnpm: z.ZodString;
|
|
719
834
|
bun: z.ZodString;
|
|
720
835
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
npm: string;
|
|
722
|
-
yarn: string;
|
|
723
836
|
pnpm: string;
|
|
837
|
+
yarn: string;
|
|
724
838
|
bun: string;
|
|
725
|
-
}, {
|
|
726
839
|
npm: string;
|
|
727
|
-
|
|
840
|
+
}, {
|
|
728
841
|
pnpm: string;
|
|
842
|
+
yarn: string;
|
|
729
843
|
bun: string;
|
|
844
|
+
npm: string;
|
|
730
845
|
}>;
|
|
731
846
|
compatibility: z.ZodOptional<z.ZodObject<{
|
|
732
847
|
react: z.ZodOptional<z.ZodString>;
|
|
@@ -740,33 +855,33 @@ export declare const DependenciesSchema: z.ZodObject<{
|
|
|
740
855
|
}>>;
|
|
741
856
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
742
857
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
external: string[];
|
|
744
858
|
internal: string[];
|
|
859
|
+
external: string[];
|
|
745
860
|
installCommands: {
|
|
746
|
-
npm: string;
|
|
747
|
-
yarn: string;
|
|
748
861
|
pnpm: string;
|
|
862
|
+
yarn: string;
|
|
749
863
|
bun: string;
|
|
864
|
+
npm: string;
|
|
750
865
|
};
|
|
866
|
+
notes?: string[] | undefined;
|
|
751
867
|
compatibility?: {
|
|
752
868
|
react?: string | undefined;
|
|
753
869
|
node?: string | undefined;
|
|
754
870
|
} | undefined;
|
|
755
|
-
notes?: string[] | undefined;
|
|
756
871
|
}, {
|
|
757
|
-
external: string[];
|
|
758
872
|
internal: string[];
|
|
873
|
+
external: string[];
|
|
759
874
|
installCommands: {
|
|
760
|
-
npm: string;
|
|
761
|
-
yarn: string;
|
|
762
875
|
pnpm: string;
|
|
876
|
+
yarn: string;
|
|
763
877
|
bun: string;
|
|
878
|
+
npm: string;
|
|
764
879
|
};
|
|
880
|
+
notes?: string[] | undefined;
|
|
765
881
|
compatibility?: {
|
|
766
882
|
react?: string | undefined;
|
|
767
883
|
node?: string | undefined;
|
|
768
884
|
} | undefined;
|
|
769
|
-
notes?: string[] | undefined;
|
|
770
885
|
}>;
|
|
771
886
|
export type Dependencies = z.infer<typeof DependenciesSchema>;
|
|
772
887
|
/**
|
|
@@ -785,15 +900,15 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
785
900
|
pnpm: z.ZodString;
|
|
786
901
|
bun: z.ZodString;
|
|
787
902
|
}, "strip", z.ZodTypeAny, {
|
|
788
|
-
npm: string;
|
|
789
|
-
yarn: string;
|
|
790
903
|
pnpm: string;
|
|
904
|
+
yarn: string;
|
|
791
905
|
bun: string;
|
|
792
|
-
}, {
|
|
793
906
|
npm: string;
|
|
794
|
-
|
|
907
|
+
}, {
|
|
795
908
|
pnpm: string;
|
|
909
|
+
yarn: string;
|
|
796
910
|
bun: string;
|
|
911
|
+
npm: string;
|
|
797
912
|
}>;
|
|
798
913
|
compatibility: z.ZodOptional<z.ZodObject<{
|
|
799
914
|
react: z.ZodOptional<z.ZodString>;
|
|
@@ -807,78 +922,78 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
807
922
|
}>>;
|
|
808
923
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
809
924
|
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
external: string[];
|
|
811
925
|
internal: string[];
|
|
926
|
+
external: string[];
|
|
812
927
|
installCommands: {
|
|
813
|
-
npm: string;
|
|
814
|
-
yarn: string;
|
|
815
928
|
pnpm: string;
|
|
929
|
+
yarn: string;
|
|
816
930
|
bun: string;
|
|
931
|
+
npm: string;
|
|
817
932
|
};
|
|
933
|
+
notes?: string[] | undefined;
|
|
818
934
|
compatibility?: {
|
|
819
935
|
react?: string | undefined;
|
|
820
936
|
node?: string | undefined;
|
|
821
937
|
} | undefined;
|
|
822
|
-
notes?: string[] | undefined;
|
|
823
938
|
}, {
|
|
824
|
-
external: string[];
|
|
825
939
|
internal: string[];
|
|
940
|
+
external: string[];
|
|
826
941
|
installCommands: {
|
|
827
|
-
npm: string;
|
|
828
|
-
yarn: string;
|
|
829
942
|
pnpm: string;
|
|
943
|
+
yarn: string;
|
|
830
944
|
bun: string;
|
|
945
|
+
npm: string;
|
|
831
946
|
};
|
|
947
|
+
notes?: string[] | undefined;
|
|
832
948
|
compatibility?: {
|
|
833
949
|
react?: string | undefined;
|
|
834
950
|
node?: string | undefined;
|
|
835
951
|
} | undefined;
|
|
836
|
-
notes?: string[] | undefined;
|
|
837
952
|
}>>;
|
|
838
953
|
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
839
954
|
error: z.ZodOptional<z.ZodString>;
|
|
840
955
|
}, "strip", z.ZodTypeAny, {
|
|
841
956
|
success: boolean;
|
|
842
|
-
code?: string | undefined;
|
|
843
957
|
error?: string | undefined;
|
|
844
|
-
|
|
958
|
+
code?: string | undefined;
|
|
845
959
|
dependencies?: {
|
|
846
|
-
external: string[];
|
|
847
960
|
internal: string[];
|
|
961
|
+
external: string[];
|
|
848
962
|
installCommands: {
|
|
849
|
-
npm: string;
|
|
850
|
-
yarn: string;
|
|
851
963
|
pnpm: string;
|
|
964
|
+
yarn: string;
|
|
852
965
|
bun: string;
|
|
966
|
+
npm: string;
|
|
853
967
|
};
|
|
968
|
+
notes?: string[] | undefined;
|
|
854
969
|
compatibility?: {
|
|
855
970
|
react?: string | undefined;
|
|
856
971
|
node?: string | undefined;
|
|
857
972
|
} | undefined;
|
|
858
|
-
notes?: string[] | undefined;
|
|
859
973
|
} | undefined;
|
|
860
974
|
errors?: string[] | undefined;
|
|
975
|
+
cssVariables?: string | undefined;
|
|
861
976
|
}, {
|
|
862
977
|
success: boolean;
|
|
863
|
-
code?: string | undefined;
|
|
864
978
|
error?: string | undefined;
|
|
865
|
-
|
|
979
|
+
code?: string | undefined;
|
|
866
980
|
dependencies?: {
|
|
867
|
-
external: string[];
|
|
868
981
|
internal: string[];
|
|
982
|
+
external: string[];
|
|
869
983
|
installCommands: {
|
|
870
|
-
npm: string;
|
|
871
|
-
yarn: string;
|
|
872
984
|
pnpm: string;
|
|
985
|
+
yarn: string;
|
|
873
986
|
bun: string;
|
|
987
|
+
npm: string;
|
|
874
988
|
};
|
|
989
|
+
notes?: string[] | undefined;
|
|
875
990
|
compatibility?: {
|
|
876
991
|
react?: string | undefined;
|
|
877
992
|
node?: string | undefined;
|
|
878
993
|
} | undefined;
|
|
879
|
-
notes?: string[] | undefined;
|
|
880
994
|
} | undefined;
|
|
881
995
|
errors?: string[] | undefined;
|
|
996
|
+
cssVariables?: string | undefined;
|
|
882
997
|
}>;
|
|
883
998
|
export type GenerateScreenOutput = z.infer<typeof GenerateScreenOutputSchema>;
|
|
884
999
|
/**
|
|
@@ -936,8 +1051,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
|
|
|
936
1051
|
error: z.ZodOptional<z.ZodString>;
|
|
937
1052
|
}, "strip", z.ZodTypeAny, {
|
|
938
1053
|
success: boolean;
|
|
939
|
-
valid?: boolean | undefined;
|
|
940
1054
|
error?: string | undefined;
|
|
1055
|
+
valid?: boolean | undefined;
|
|
941
1056
|
errors?: string[] | undefined;
|
|
942
1057
|
warnings?: string[] | undefined;
|
|
943
1058
|
suggestions?: {
|
|
@@ -947,8 +1062,8 @@ export declare const ValidateScreenOutputSchema: z.ZodObject<{
|
|
|
947
1062
|
}[] | undefined;
|
|
948
1063
|
}, {
|
|
949
1064
|
success: boolean;
|
|
950
|
-
valid?: boolean | undefined;
|
|
951
1065
|
error?: string | undefined;
|
|
1066
|
+
valid?: boolean | undefined;
|
|
952
1067
|
errors?: string[] | undefined;
|
|
953
1068
|
warnings?: string[] | undefined;
|
|
954
1069
|
suggestions?: {
|
|
@@ -970,11 +1085,11 @@ export declare const ListTokensInputSchema: z.ZodObject<{
|
|
|
970
1085
|
tokenType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["shell", "page", "section", "all"]>>>;
|
|
971
1086
|
filter: z.ZodOptional<z.ZodString>;
|
|
972
1087
|
}, "strip", z.ZodTypeAny, {
|
|
973
|
-
tokenType: "
|
|
1088
|
+
tokenType: "all" | "shell" | "page" | "section";
|
|
974
1089
|
filter?: string | undefined;
|
|
975
1090
|
}, {
|
|
976
1091
|
filter?: string | undefined;
|
|
977
|
-
tokenType?: "
|
|
1092
|
+
tokenType?: "all" | "shell" | "page" | "section" | undefined;
|
|
978
1093
|
}>;
|
|
979
1094
|
export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
|
|
980
1095
|
/**
|
|
@@ -989,17 +1104,17 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
989
1104
|
type: z.ZodOptional<z.ZodString>;
|
|
990
1105
|
}, "strip", z.ZodTypeAny, {
|
|
991
1106
|
id: string;
|
|
992
|
-
type?: string | undefined;
|
|
993
|
-
description?: string | undefined;
|
|
994
1107
|
name?: string | undefined;
|
|
1108
|
+
description?: string | undefined;
|
|
995
1109
|
platform?: string | undefined;
|
|
1110
|
+
type?: string | undefined;
|
|
996
1111
|
purpose?: string | undefined;
|
|
997
1112
|
}, {
|
|
998
1113
|
id: string;
|
|
999
|
-
type?: string | undefined;
|
|
1000
|
-
description?: string | undefined;
|
|
1001
1114
|
name?: string | undefined;
|
|
1115
|
+
description?: string | undefined;
|
|
1002
1116
|
platform?: string | undefined;
|
|
1117
|
+
type?: string | undefined;
|
|
1003
1118
|
purpose?: string | undefined;
|
|
1004
1119
|
}>;
|
|
1005
1120
|
export type TokenMetadata = z.infer<typeof TokenMetadataSchema>;
|
|
@@ -1017,17 +1132,17 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1017
1132
|
type: z.ZodOptional<z.ZodString>;
|
|
1018
1133
|
}, "strip", z.ZodTypeAny, {
|
|
1019
1134
|
id: string;
|
|
1020
|
-
type?: string | undefined;
|
|
1021
|
-
description?: string | undefined;
|
|
1022
1135
|
name?: string | undefined;
|
|
1136
|
+
description?: string | undefined;
|
|
1023
1137
|
platform?: string | undefined;
|
|
1138
|
+
type?: string | undefined;
|
|
1024
1139
|
purpose?: string | undefined;
|
|
1025
1140
|
}, {
|
|
1026
1141
|
id: string;
|
|
1027
|
-
type?: string | undefined;
|
|
1028
|
-
description?: string | undefined;
|
|
1029
1142
|
name?: string | undefined;
|
|
1143
|
+
description?: string | undefined;
|
|
1030
1144
|
platform?: string | undefined;
|
|
1145
|
+
type?: string | undefined;
|
|
1031
1146
|
purpose?: string | undefined;
|
|
1032
1147
|
}>, "many">>;
|
|
1033
1148
|
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1039,17 +1154,17 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1039
1154
|
type: z.ZodOptional<z.ZodString>;
|
|
1040
1155
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1156
|
id: string;
|
|
1042
|
-
type?: string | undefined;
|
|
1043
|
-
description?: string | undefined;
|
|
1044
1157
|
name?: string | undefined;
|
|
1158
|
+
description?: string | undefined;
|
|
1045
1159
|
platform?: string | undefined;
|
|
1160
|
+
type?: string | undefined;
|
|
1046
1161
|
purpose?: string | undefined;
|
|
1047
1162
|
}, {
|
|
1048
1163
|
id: string;
|
|
1049
|
-
type?: string | undefined;
|
|
1050
|
-
description?: string | undefined;
|
|
1051
1164
|
name?: string | undefined;
|
|
1165
|
+
description?: string | undefined;
|
|
1052
1166
|
platform?: string | undefined;
|
|
1167
|
+
type?: string | undefined;
|
|
1053
1168
|
purpose?: string | undefined;
|
|
1054
1169
|
}>, "many">>;
|
|
1055
1170
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1061,17 +1176,17 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1061
1176
|
type: z.ZodOptional<z.ZodString>;
|
|
1062
1177
|
}, "strip", z.ZodTypeAny, {
|
|
1063
1178
|
id: string;
|
|
1064
|
-
type?: string | undefined;
|
|
1065
|
-
description?: string | undefined;
|
|
1066
1179
|
name?: string | undefined;
|
|
1180
|
+
description?: string | undefined;
|
|
1067
1181
|
platform?: string | undefined;
|
|
1182
|
+
type?: string | undefined;
|
|
1068
1183
|
purpose?: string | undefined;
|
|
1069
1184
|
}, {
|
|
1070
1185
|
id: string;
|
|
1071
|
-
type?: string | undefined;
|
|
1072
|
-
description?: string | undefined;
|
|
1073
1186
|
name?: string | undefined;
|
|
1187
|
+
description?: string | undefined;
|
|
1074
1188
|
platform?: string | undefined;
|
|
1189
|
+
type?: string | undefined;
|
|
1075
1190
|
purpose?: string | undefined;
|
|
1076
1191
|
}>, "many">>;
|
|
1077
1192
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -1090,26 +1205,26 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1090
1205
|
error?: string | undefined;
|
|
1091
1206
|
shells?: {
|
|
1092
1207
|
id: string;
|
|
1093
|
-
type?: string | undefined;
|
|
1094
|
-
description?: string | undefined;
|
|
1095
1208
|
name?: string | undefined;
|
|
1209
|
+
description?: string | undefined;
|
|
1096
1210
|
platform?: string | undefined;
|
|
1211
|
+
type?: string | undefined;
|
|
1097
1212
|
purpose?: string | undefined;
|
|
1098
1213
|
}[] | undefined;
|
|
1099
1214
|
pages?: {
|
|
1100
1215
|
id: string;
|
|
1101
|
-
type?: string | undefined;
|
|
1102
|
-
description?: string | undefined;
|
|
1103
1216
|
name?: string | undefined;
|
|
1217
|
+
description?: string | undefined;
|
|
1104
1218
|
platform?: string | undefined;
|
|
1219
|
+
type?: string | undefined;
|
|
1105
1220
|
purpose?: string | undefined;
|
|
1106
1221
|
}[] | undefined;
|
|
1107
1222
|
sections?: {
|
|
1108
1223
|
id: string;
|
|
1109
|
-
type?: string | undefined;
|
|
1110
|
-
description?: string | undefined;
|
|
1111
1224
|
name?: string | undefined;
|
|
1225
|
+
description?: string | undefined;
|
|
1112
1226
|
platform?: string | undefined;
|
|
1227
|
+
type?: string | undefined;
|
|
1113
1228
|
purpose?: string | undefined;
|
|
1114
1229
|
}[] | undefined;
|
|
1115
1230
|
metadata?: {
|
|
@@ -1121,26 +1236,26 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1121
1236
|
error?: string | undefined;
|
|
1122
1237
|
shells?: {
|
|
1123
1238
|
id: string;
|
|
1124
|
-
type?: string | undefined;
|
|
1125
|
-
description?: string | undefined;
|
|
1126
1239
|
name?: string | undefined;
|
|
1240
|
+
description?: string | undefined;
|
|
1127
1241
|
platform?: string | undefined;
|
|
1242
|
+
type?: string | undefined;
|
|
1128
1243
|
purpose?: string | undefined;
|
|
1129
1244
|
}[] | undefined;
|
|
1130
1245
|
pages?: {
|
|
1131
1246
|
id: string;
|
|
1132
|
-
type?: string | undefined;
|
|
1133
|
-
description?: string | undefined;
|
|
1134
1247
|
name?: string | undefined;
|
|
1248
|
+
description?: string | undefined;
|
|
1135
1249
|
platform?: string | undefined;
|
|
1250
|
+
type?: string | undefined;
|
|
1136
1251
|
purpose?: string | undefined;
|
|
1137
1252
|
}[] | undefined;
|
|
1138
1253
|
sections?: {
|
|
1139
1254
|
id: string;
|
|
1140
|
-
type?: string | undefined;
|
|
1141
|
-
description?: string | undefined;
|
|
1142
1255
|
name?: string | undefined;
|
|
1256
|
+
description?: string | undefined;
|
|
1143
1257
|
platform?: string | undefined;
|
|
1258
|
+
type?: string | undefined;
|
|
1144
1259
|
purpose?: string | undefined;
|
|
1145
1260
|
}[] | undefined;
|
|
1146
1261
|
metadata?: {
|
|
@@ -1172,17 +1287,17 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1172
1287
|
totalIcons: z.ZodNumber;
|
|
1173
1288
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1174
1289
|
}, "strip", z.ZodTypeAny, {
|
|
1290
|
+
name: string;
|
|
1175
1291
|
description: string;
|
|
1176
1292
|
id: string;
|
|
1177
|
-
name: string;
|
|
1178
1293
|
version: string;
|
|
1179
1294
|
license: string;
|
|
1180
1295
|
totalIcons: number;
|
|
1181
1296
|
categories: string[];
|
|
1182
1297
|
}, {
|
|
1298
|
+
name: string;
|
|
1183
1299
|
description: string;
|
|
1184
1300
|
id: string;
|
|
1185
|
-
name: string;
|
|
1186
1301
|
version: string;
|
|
1187
1302
|
license: string;
|
|
1188
1303
|
totalIcons: number;
|
|
@@ -1203,17 +1318,17 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1203
1318
|
totalIcons: z.ZodNumber;
|
|
1204
1319
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1205
1320
|
}, "strip", z.ZodTypeAny, {
|
|
1321
|
+
name: string;
|
|
1206
1322
|
description: string;
|
|
1207
1323
|
id: string;
|
|
1208
|
-
name: string;
|
|
1209
1324
|
version: string;
|
|
1210
1325
|
license: string;
|
|
1211
1326
|
totalIcons: number;
|
|
1212
1327
|
categories: string[];
|
|
1213
1328
|
}, {
|
|
1329
|
+
name: string;
|
|
1214
1330
|
description: string;
|
|
1215
1331
|
id: string;
|
|
1216
|
-
name: string;
|
|
1217
1332
|
version: string;
|
|
1218
1333
|
license: string;
|
|
1219
1334
|
totalIcons: number;
|
|
@@ -1224,29 +1339,29 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1224
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1225
1340
|
success: boolean;
|
|
1226
1341
|
error?: string | undefined;
|
|
1227
|
-
count?: number | undefined;
|
|
1228
1342
|
libraries?: {
|
|
1343
|
+
name: string;
|
|
1229
1344
|
description: string;
|
|
1230
1345
|
id: string;
|
|
1231
|
-
name: string;
|
|
1232
1346
|
version: string;
|
|
1233
1347
|
license: string;
|
|
1234
1348
|
totalIcons: number;
|
|
1235
1349
|
categories: string[];
|
|
1236
1350
|
}[] | undefined;
|
|
1351
|
+
count?: number | undefined;
|
|
1237
1352
|
}, {
|
|
1238
1353
|
success: boolean;
|
|
1239
1354
|
error?: string | undefined;
|
|
1240
|
-
count?: number | undefined;
|
|
1241
1355
|
libraries?: {
|
|
1356
|
+
name: string;
|
|
1242
1357
|
description: string;
|
|
1243
1358
|
id: string;
|
|
1244
|
-
name: string;
|
|
1245
1359
|
version: string;
|
|
1246
1360
|
license: string;
|
|
1247
1361
|
totalIcons: number;
|
|
1248
1362
|
categories: string[];
|
|
1249
1363
|
}[] | undefined;
|
|
1364
|
+
count?: number | undefined;
|
|
1250
1365
|
}>;
|
|
1251
1366
|
export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
|
|
1252
1367
|
/**
|
|
@@ -1291,13 +1406,13 @@ export declare const IconFrameworkConfigSchema: z.ZodObject<{
|
|
|
1291
1406
|
componentPattern: z.ZodString;
|
|
1292
1407
|
variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1293
1408
|
}, "strip", z.ZodTypeAny, {
|
|
1294
|
-
packageName: string;
|
|
1295
1409
|
importStatement: string;
|
|
1410
|
+
packageName: string;
|
|
1296
1411
|
componentPattern: string;
|
|
1297
1412
|
variants?: Record<string, string> | undefined;
|
|
1298
1413
|
}, {
|
|
1299
|
-
packageName: string;
|
|
1300
1414
|
importStatement: string;
|
|
1415
|
+
packageName: string;
|
|
1301
1416
|
componentPattern: string;
|
|
1302
1417
|
variants?: Record<string, string> | undefined;
|
|
1303
1418
|
}>;
|
|
@@ -1341,13 +1456,13 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1341
1456
|
componentPattern: z.ZodString;
|
|
1342
1457
|
variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1343
1458
|
}, "strip", z.ZodTypeAny, {
|
|
1344
|
-
packageName: string;
|
|
1345
1459
|
importStatement: string;
|
|
1460
|
+
packageName: string;
|
|
1346
1461
|
componentPattern: string;
|
|
1347
1462
|
variants?: Record<string, string> | undefined;
|
|
1348
1463
|
}, {
|
|
1349
|
-
packageName: string;
|
|
1350
1464
|
importStatement: string;
|
|
1465
|
+
packageName: string;
|
|
1351
1466
|
componentPattern: string;
|
|
1352
1467
|
variants?: Record<string, string> | undefined;
|
|
1353
1468
|
}>;
|
|
@@ -1357,39 +1472,39 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1357
1472
|
componentPattern: z.ZodString;
|
|
1358
1473
|
variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1359
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1360
|
-
packageName: string;
|
|
1361
1475
|
importStatement: string;
|
|
1476
|
+
packageName: string;
|
|
1362
1477
|
componentPattern: string;
|
|
1363
1478
|
variants?: Record<string, string> | undefined;
|
|
1364
1479
|
}, {
|
|
1365
|
-
packageName: string;
|
|
1366
1480
|
importStatement: string;
|
|
1481
|
+
packageName: string;
|
|
1367
1482
|
componentPattern: string;
|
|
1368
1483
|
variants?: Record<string, string> | undefined;
|
|
1369
1484
|
}>;
|
|
1370
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
|
|
1372
|
-
packageName: string;
|
|
1486
|
+
react: {
|
|
1373
1487
|
importStatement: string;
|
|
1488
|
+
packageName: string;
|
|
1374
1489
|
componentPattern: string;
|
|
1375
1490
|
variants?: Record<string, string> | undefined;
|
|
1376
1491
|
};
|
|
1377
|
-
|
|
1378
|
-
packageName: string;
|
|
1492
|
+
vue: {
|
|
1379
1493
|
importStatement: string;
|
|
1494
|
+
packageName: string;
|
|
1380
1495
|
componentPattern: string;
|
|
1381
1496
|
variants?: Record<string, string> | undefined;
|
|
1382
1497
|
};
|
|
1383
1498
|
}, {
|
|
1384
|
-
|
|
1385
|
-
packageName: string;
|
|
1499
|
+
react: {
|
|
1386
1500
|
importStatement: string;
|
|
1501
|
+
packageName: string;
|
|
1387
1502
|
componentPattern: string;
|
|
1388
1503
|
variants?: Record<string, string> | undefined;
|
|
1389
1504
|
};
|
|
1390
|
-
|
|
1391
|
-
packageName: string;
|
|
1505
|
+
vue: {
|
|
1392
1506
|
importStatement: string;
|
|
1507
|
+
packageName: string;
|
|
1393
1508
|
componentPattern: string;
|
|
1394
1509
|
variants?: Record<string, string> | undefined;
|
|
1395
1510
|
};
|
|
@@ -1397,9 +1512,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1397
1512
|
defaultVariant: z.ZodOptional<z.ZodString>;
|
|
1398
1513
|
iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1399
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1515
|
+
name: string;
|
|
1400
1516
|
description: string;
|
|
1401
1517
|
id: string;
|
|
1402
|
-
name: string;
|
|
1403
1518
|
version: string;
|
|
1404
1519
|
license: string;
|
|
1405
1520
|
totalIcons: number;
|
|
@@ -1413,15 +1528,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1413
1528
|
xl?: number | undefined;
|
|
1414
1529
|
};
|
|
1415
1530
|
frameworks: {
|
|
1416
|
-
|
|
1417
|
-
packageName: string;
|
|
1531
|
+
react: {
|
|
1418
1532
|
importStatement: string;
|
|
1533
|
+
packageName: string;
|
|
1419
1534
|
componentPattern: string;
|
|
1420
1535
|
variants?: Record<string, string> | undefined;
|
|
1421
1536
|
};
|
|
1422
|
-
|
|
1423
|
-
packageName: string;
|
|
1537
|
+
vue: {
|
|
1424
1538
|
importStatement: string;
|
|
1539
|
+
packageName: string;
|
|
1425
1540
|
componentPattern: string;
|
|
1426
1541
|
variants?: Record<string, string> | undefined;
|
|
1427
1542
|
};
|
|
@@ -1429,9 +1544,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1429
1544
|
defaultVariant?: string | undefined;
|
|
1430
1545
|
iconSample?: string[] | undefined;
|
|
1431
1546
|
}, {
|
|
1547
|
+
name: string;
|
|
1432
1548
|
description: string;
|
|
1433
1549
|
id: string;
|
|
1434
|
-
name: string;
|
|
1435
1550
|
version: string;
|
|
1436
1551
|
license: string;
|
|
1437
1552
|
totalIcons: number;
|
|
@@ -1445,15 +1560,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1445
1560
|
xl?: number | undefined;
|
|
1446
1561
|
};
|
|
1447
1562
|
frameworks: {
|
|
1448
|
-
|
|
1449
|
-
packageName: string;
|
|
1563
|
+
react: {
|
|
1450
1564
|
importStatement: string;
|
|
1565
|
+
packageName: string;
|
|
1451
1566
|
componentPattern: string;
|
|
1452
1567
|
variants?: Record<string, string> | undefined;
|
|
1453
1568
|
};
|
|
1454
|
-
|
|
1455
|
-
packageName: string;
|
|
1569
|
+
vue: {
|
|
1456
1570
|
importStatement: string;
|
|
1571
|
+
packageName: string;
|
|
1457
1572
|
componentPattern: string;
|
|
1458
1573
|
variants?: Record<string, string> | undefined;
|
|
1459
1574
|
};
|
|
@@ -1466,9 +1581,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1466
1581
|
success: boolean;
|
|
1467
1582
|
error?: string | undefined;
|
|
1468
1583
|
library?: {
|
|
1584
|
+
name: string;
|
|
1469
1585
|
description: string;
|
|
1470
1586
|
id: string;
|
|
1471
|
-
name: string;
|
|
1472
1587
|
version: string;
|
|
1473
1588
|
license: string;
|
|
1474
1589
|
totalIcons: number;
|
|
@@ -1482,15 +1597,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1482
1597
|
xl?: number | undefined;
|
|
1483
1598
|
};
|
|
1484
1599
|
frameworks: {
|
|
1485
|
-
|
|
1486
|
-
packageName: string;
|
|
1600
|
+
react: {
|
|
1487
1601
|
importStatement: string;
|
|
1602
|
+
packageName: string;
|
|
1488
1603
|
componentPattern: string;
|
|
1489
1604
|
variants?: Record<string, string> | undefined;
|
|
1490
1605
|
};
|
|
1491
|
-
|
|
1492
|
-
packageName: string;
|
|
1606
|
+
vue: {
|
|
1493
1607
|
importStatement: string;
|
|
1608
|
+
packageName: string;
|
|
1494
1609
|
componentPattern: string;
|
|
1495
1610
|
variants?: Record<string, string> | undefined;
|
|
1496
1611
|
};
|
|
@@ -1502,9 +1617,9 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1502
1617
|
success: boolean;
|
|
1503
1618
|
error?: string | undefined;
|
|
1504
1619
|
library?: {
|
|
1620
|
+
name: string;
|
|
1505
1621
|
description: string;
|
|
1506
1622
|
id: string;
|
|
1507
|
-
name: string;
|
|
1508
1623
|
version: string;
|
|
1509
1624
|
license: string;
|
|
1510
1625
|
totalIcons: number;
|
|
@@ -1518,15 +1633,15 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1518
1633
|
xl?: number | undefined;
|
|
1519
1634
|
};
|
|
1520
1635
|
frameworks: {
|
|
1521
|
-
|
|
1522
|
-
packageName: string;
|
|
1636
|
+
react: {
|
|
1523
1637
|
importStatement: string;
|
|
1638
|
+
packageName: string;
|
|
1524
1639
|
componentPattern: string;
|
|
1525
1640
|
variants?: Record<string, string> | undefined;
|
|
1526
1641
|
};
|
|
1527
|
-
|
|
1528
|
-
packageName: string;
|
|
1642
|
+
vue: {
|
|
1529
1643
|
importStatement: string;
|
|
1644
|
+
packageName: string;
|
|
1530
1645
|
componentPattern: string;
|
|
1531
1646
|
variants?: Record<string, string> | undefined;
|
|
1532
1647
|
};
|
|
@@ -1557,23 +1672,23 @@ export declare const ProjectEnvironmentSchema: z.ZodObject<{
|
|
|
1557
1672
|
runtime: "web" | "react-native" | "expo";
|
|
1558
1673
|
projectType: "web" | "react-native" | "expo";
|
|
1559
1674
|
platform?: "web" | "react-native" | undefined;
|
|
1560
|
-
packageManager?: "unknown" | "
|
|
1675
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1561
1676
|
}, {
|
|
1562
1677
|
runtime: "web" | "react-native" | "expo";
|
|
1563
1678
|
projectType: "web" | "react-native" | "expo";
|
|
1564
1679
|
platform?: "web" | "react-native" | undefined;
|
|
1565
|
-
packageManager?: "unknown" | "
|
|
1680
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1566
1681
|
}>;
|
|
1567
1682
|
export type ProjectEnvironment = z.infer<typeof ProjectEnvironmentSchema>;
|
|
1568
1683
|
export declare const ProjectContextRecommendationSchema: z.ZodObject<{
|
|
1569
1684
|
workflow: z.ZodEnum<["web-screen-definition", "react-native-direct-write"]>;
|
|
1570
1685
|
reason: z.ZodString;
|
|
1571
1686
|
}, "strip", z.ZodTypeAny, {
|
|
1572
|
-
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1573
1687
|
reason: string;
|
|
1574
|
-
}, {
|
|
1575
1688
|
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1689
|
+
}, {
|
|
1576
1690
|
reason: string;
|
|
1691
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1577
1692
|
}>;
|
|
1578
1693
|
export type ProjectContextRecommendation = z.infer<typeof ProjectContextRecommendationSchema>;
|
|
1579
1694
|
export declare const DetectProjectContextInputSchema: z.ZodObject<{
|
|
@@ -1601,22 +1716,22 @@ export declare const DetectProjectContextOutputSchema: z.ZodObject<{
|
|
|
1601
1716
|
runtime: "web" | "react-native" | "expo";
|
|
1602
1717
|
projectType: "web" | "react-native" | "expo";
|
|
1603
1718
|
platform?: "web" | "react-native" | undefined;
|
|
1604
|
-
packageManager?: "unknown" | "
|
|
1719
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1605
1720
|
}, {
|
|
1606
1721
|
runtime: "web" | "react-native" | "expo";
|
|
1607
1722
|
projectType: "web" | "react-native" | "expo";
|
|
1608
1723
|
platform?: "web" | "react-native" | undefined;
|
|
1609
|
-
packageManager?: "unknown" | "
|
|
1724
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1610
1725
|
}>>;
|
|
1611
1726
|
recommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1612
1727
|
workflow: z.ZodEnum<["web-screen-definition", "react-native-direct-write"]>;
|
|
1613
1728
|
reason: z.ZodString;
|
|
1614
1729
|
}, "strip", z.ZodTypeAny, {
|
|
1615
|
-
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1616
1730
|
reason: string;
|
|
1617
|
-
}, {
|
|
1618
1731
|
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1732
|
+
}, {
|
|
1619
1733
|
reason: string;
|
|
1734
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1620
1735
|
}>, "many">>;
|
|
1621
1736
|
sessionDefaultApplied: z.ZodOptional<z.ZodBoolean>;
|
|
1622
1737
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -1630,11 +1745,11 @@ export declare const DetectProjectContextOutputSchema: z.ZodObject<{
|
|
|
1630
1745
|
runtime: "web" | "react-native" | "expo";
|
|
1631
1746
|
projectType: "web" | "react-native" | "expo";
|
|
1632
1747
|
platform?: "web" | "react-native" | undefined;
|
|
1633
|
-
packageManager?: "unknown" | "
|
|
1748
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1634
1749
|
} | undefined;
|
|
1635
1750
|
recommendations?: {
|
|
1636
|
-
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1637
1751
|
reason: string;
|
|
1752
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1638
1753
|
}[] | undefined;
|
|
1639
1754
|
sessionDefaultApplied?: boolean | undefined;
|
|
1640
1755
|
}, {
|
|
@@ -1647,11 +1762,11 @@ export declare const DetectProjectContextOutputSchema: z.ZodObject<{
|
|
|
1647
1762
|
runtime: "web" | "react-native" | "expo";
|
|
1648
1763
|
projectType: "web" | "react-native" | "expo";
|
|
1649
1764
|
platform?: "web" | "react-native" | undefined;
|
|
1650
|
-
packageManager?: "unknown" | "
|
|
1765
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1651
1766
|
} | undefined;
|
|
1652
1767
|
recommendations?: {
|
|
1653
|
-
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1654
1768
|
reason: string;
|
|
1769
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1655
1770
|
}[] | undefined;
|
|
1656
1771
|
sessionDefaultApplied?: boolean | undefined;
|
|
1657
1772
|
}>;
|
|
@@ -1666,12 +1781,12 @@ export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
|
1666
1781
|
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1667
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1668
1783
|
category: "all" | "core" | "complex" | "advanced";
|
|
1669
|
-
platform?: "web" | "react-native" | undefined;
|
|
1670
1784
|
search?: string | undefined;
|
|
1785
|
+
platform?: "web" | "react-native" | undefined;
|
|
1671
1786
|
}, {
|
|
1672
1787
|
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1673
|
-
platform?: "web" | "react-native" | undefined;
|
|
1674
1788
|
search?: string | undefined;
|
|
1789
|
+
platform?: "web" | "react-native" | undefined;
|
|
1675
1790
|
}>;
|
|
1676
1791
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
1677
1792
|
/**
|
|
@@ -1714,10 +1829,10 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1714
1829
|
} | undefined;
|
|
1715
1830
|
}>>;
|
|
1716
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1717
|
-
description: string;
|
|
1718
1832
|
category: "core" | "complex" | "advanced";
|
|
1719
|
-
id: string;
|
|
1720
1833
|
name: string;
|
|
1834
|
+
description: string;
|
|
1835
|
+
id: string;
|
|
1721
1836
|
tier: number;
|
|
1722
1837
|
variantsCount: number;
|
|
1723
1838
|
hasSubComponents: boolean;
|
|
@@ -1730,10 +1845,10 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1730
1845
|
} | undefined;
|
|
1731
1846
|
} | undefined;
|
|
1732
1847
|
}, {
|
|
1733
|
-
description: string;
|
|
1734
1848
|
category: "core" | "complex" | "advanced";
|
|
1735
|
-
id: string;
|
|
1736
1849
|
name: string;
|
|
1850
|
+
description: string;
|
|
1851
|
+
id: string;
|
|
1737
1852
|
tier: number;
|
|
1738
1853
|
variantsCount: number;
|
|
1739
1854
|
hasSubComponents: boolean;
|
|
@@ -1789,10 +1904,10 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1789
1904
|
} | undefined;
|
|
1790
1905
|
}>>;
|
|
1791
1906
|
}, "strip", z.ZodTypeAny, {
|
|
1792
|
-
description: string;
|
|
1793
1907
|
category: "core" | "complex" | "advanced";
|
|
1794
|
-
id: string;
|
|
1795
1908
|
name: string;
|
|
1909
|
+
description: string;
|
|
1910
|
+
id: string;
|
|
1796
1911
|
tier: number;
|
|
1797
1912
|
variantsCount: number;
|
|
1798
1913
|
hasSubComponents: boolean;
|
|
@@ -1805,10 +1920,10 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1805
1920
|
} | undefined;
|
|
1806
1921
|
} | undefined;
|
|
1807
1922
|
}, {
|
|
1808
|
-
description: string;
|
|
1809
1923
|
category: "core" | "complex" | "advanced";
|
|
1810
|
-
id: string;
|
|
1811
1924
|
name: string;
|
|
1925
|
+
description: string;
|
|
1926
|
+
id: string;
|
|
1812
1927
|
tier: number;
|
|
1813
1928
|
variantsCount: number;
|
|
1814
1929
|
hasSubComponents: boolean;
|
|
@@ -1840,10 +1955,10 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1840
1955
|
success: boolean;
|
|
1841
1956
|
error?: string | undefined;
|
|
1842
1957
|
components?: {
|
|
1843
|
-
description: string;
|
|
1844
1958
|
category: "core" | "complex" | "advanced";
|
|
1845
|
-
id: string;
|
|
1846
1959
|
name: string;
|
|
1960
|
+
description: string;
|
|
1961
|
+
id: string;
|
|
1847
1962
|
tier: number;
|
|
1848
1963
|
variantsCount: number;
|
|
1849
1964
|
hasSubComponents: boolean;
|
|
@@ -1856,20 +1971,20 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1856
1971
|
} | undefined;
|
|
1857
1972
|
} | undefined;
|
|
1858
1973
|
}[] | undefined;
|
|
1859
|
-
count?: number | undefined;
|
|
1860
1974
|
categories?: {
|
|
1861
1975
|
core: number;
|
|
1862
1976
|
complex: number;
|
|
1863
1977
|
advanced: number;
|
|
1864
1978
|
} | undefined;
|
|
1979
|
+
count?: number | undefined;
|
|
1865
1980
|
}, {
|
|
1866
1981
|
success: boolean;
|
|
1867
1982
|
error?: string | undefined;
|
|
1868
1983
|
components?: {
|
|
1869
|
-
description: string;
|
|
1870
1984
|
category: "core" | "complex" | "advanced";
|
|
1871
|
-
id: string;
|
|
1872
1985
|
name: string;
|
|
1986
|
+
description: string;
|
|
1987
|
+
id: string;
|
|
1873
1988
|
tier: number;
|
|
1874
1989
|
variantsCount: number;
|
|
1875
1990
|
hasSubComponents: boolean;
|
|
@@ -1882,12 +1997,12 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1882
1997
|
} | undefined;
|
|
1883
1998
|
} | undefined;
|
|
1884
1999
|
}[] | undefined;
|
|
1885
|
-
count?: number | undefined;
|
|
1886
2000
|
categories?: {
|
|
1887
2001
|
core: number;
|
|
1888
2002
|
complex: number;
|
|
1889
2003
|
advanced: number;
|
|
1890
2004
|
} | undefined;
|
|
2005
|
+
count?: number | undefined;
|
|
1891
2006
|
}>;
|
|
1892
2007
|
export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
|
|
1893
2008
|
/**
|
|
@@ -1921,14 +2036,14 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
1921
2036
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1922
2037
|
description: z.ZodOptional<z.ZodString>;
|
|
1923
2038
|
}, "strip", z.ZodTypeAny, {
|
|
1924
|
-
type: string;
|
|
1925
2039
|
name: string;
|
|
2040
|
+
type: string;
|
|
1926
2041
|
required: boolean;
|
|
1927
2042
|
description?: string | undefined;
|
|
1928
2043
|
defaultValue?: string | undefined;
|
|
1929
2044
|
}, {
|
|
1930
|
-
type: string;
|
|
1931
2045
|
name: string;
|
|
2046
|
+
type: string;
|
|
1932
2047
|
required: boolean;
|
|
1933
2048
|
description?: string | undefined;
|
|
1934
2049
|
defaultValue?: string | undefined;
|
|
@@ -1942,12 +2057,12 @@ export declare const VariantSchema: z.ZodObject<{
|
|
|
1942
2057
|
value: z.ZodString;
|
|
1943
2058
|
description: z.ZodOptional<z.ZodString>;
|
|
1944
2059
|
}, "strip", z.ZodTypeAny, {
|
|
1945
|
-
value: string;
|
|
1946
2060
|
name: string;
|
|
2061
|
+
value: string;
|
|
1947
2062
|
description?: string | undefined;
|
|
1948
2063
|
}, {
|
|
1949
|
-
value: string;
|
|
1950
2064
|
name: string;
|
|
2065
|
+
value: string;
|
|
1951
2066
|
description?: string | undefined;
|
|
1952
2067
|
}>;
|
|
1953
2068
|
export type Variant = z.infer<typeof VariantSchema>;
|
|
@@ -1986,14 +2101,14 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1986
2101
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1987
2102
|
description: z.ZodOptional<z.ZodString>;
|
|
1988
2103
|
}, "strip", z.ZodTypeAny, {
|
|
1989
|
-
type: string;
|
|
1990
2104
|
name: string;
|
|
2105
|
+
type: string;
|
|
1991
2106
|
required: boolean;
|
|
1992
2107
|
description?: string | undefined;
|
|
1993
2108
|
defaultValue?: string | undefined;
|
|
1994
2109
|
}, {
|
|
1995
|
-
type: string;
|
|
1996
2110
|
name: string;
|
|
2111
|
+
type: string;
|
|
1997
2112
|
required: boolean;
|
|
1998
2113
|
description?: string | undefined;
|
|
1999
2114
|
defaultValue?: string | undefined;
|
|
@@ -2003,12 +2118,12 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
2003
2118
|
value: z.ZodString;
|
|
2004
2119
|
description: z.ZodOptional<z.ZodString>;
|
|
2005
2120
|
}, "strip", z.ZodTypeAny, {
|
|
2006
|
-
value: string;
|
|
2007
2121
|
name: string;
|
|
2122
|
+
value: string;
|
|
2008
2123
|
description?: string | undefined;
|
|
2009
2124
|
}, {
|
|
2010
|
-
value: string;
|
|
2011
2125
|
name: string;
|
|
2126
|
+
value: string;
|
|
2012
2127
|
description?: string | undefined;
|
|
2013
2128
|
}>, "many">>;
|
|
2014
2129
|
subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2017,11 +2132,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
2017
2132
|
internal: z.ZodArray<z.ZodString, "many">;
|
|
2018
2133
|
external: z.ZodArray<z.ZodString, "many">;
|
|
2019
2134
|
}, "strip", z.ZodTypeAny, {
|
|
2020
|
-
external: string[];
|
|
2021
2135
|
internal: string[];
|
|
2022
|
-
}, {
|
|
2023
2136
|
external: string[];
|
|
2137
|
+
}, {
|
|
2024
2138
|
internal: string[];
|
|
2139
|
+
external: string[];
|
|
2025
2140
|
}>>;
|
|
2026
2141
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2027
2142
|
title: z.ZodString;
|
|
@@ -2047,53 +2162,44 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
2047
2162
|
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
2048
2163
|
}, "strip", z.ZodTypeAny, {
|
|
2049
2164
|
status: "full" | "partial" | "avoid";
|
|
2050
|
-
|
|
2165
|
+
target: "web" | "react-native";
|
|
2051
2166
|
supported: boolean;
|
|
2052
2167
|
recommended: boolean;
|
|
2053
|
-
|
|
2168
|
+
notes: string[];
|
|
2054
2169
|
recommendedImports: string[];
|
|
2055
2170
|
recommendedPackages: string[];
|
|
2056
2171
|
}, {
|
|
2057
2172
|
status: "full" | "partial" | "avoid";
|
|
2058
|
-
|
|
2173
|
+
target: "web" | "react-native";
|
|
2059
2174
|
supported: boolean;
|
|
2060
2175
|
recommended: boolean;
|
|
2061
|
-
|
|
2176
|
+
notes: string[];
|
|
2062
2177
|
recommendedImports: string[];
|
|
2063
2178
|
recommendedPackages: string[];
|
|
2064
2179
|
}>>;
|
|
2065
2180
|
}, "strip", z.ZodTypeAny, {
|
|
2066
|
-
description: string;
|
|
2067
2181
|
category: "core" | "complex" | "advanced";
|
|
2068
|
-
id: string;
|
|
2069
2182
|
name: string;
|
|
2183
|
+
description: string;
|
|
2184
|
+
id: string;
|
|
2070
2185
|
tier: number;
|
|
2071
|
-
importStatement: string;
|
|
2072
2186
|
props: {
|
|
2073
|
-
type: string;
|
|
2074
2187
|
name: string;
|
|
2188
|
+
type: string;
|
|
2075
2189
|
required: boolean;
|
|
2076
2190
|
description?: string | undefined;
|
|
2077
2191
|
defaultValue?: string | undefined;
|
|
2078
2192
|
}[];
|
|
2193
|
+
importStatement: string;
|
|
2079
2194
|
dependencies?: {
|
|
2080
|
-
external: string[];
|
|
2081
2195
|
internal: string[];
|
|
2196
|
+
external: string[];
|
|
2082
2197
|
} | undefined;
|
|
2083
2198
|
variants?: {
|
|
2084
|
-
value: string;
|
|
2085
2199
|
name: string;
|
|
2200
|
+
value: string;
|
|
2086
2201
|
description?: string | undefined;
|
|
2087
2202
|
}[] | undefined;
|
|
2088
|
-
platformSupport?: {
|
|
2089
|
-
status: "full" | "partial" | "avoid";
|
|
2090
|
-
notes: string[];
|
|
2091
|
-
supported: boolean;
|
|
2092
|
-
recommended: boolean;
|
|
2093
|
-
target: "web" | "react-native";
|
|
2094
|
-
recommendedImports: string[];
|
|
2095
|
-
recommendedPackages: string[];
|
|
2096
|
-
} | undefined;
|
|
2097
2203
|
subComponents?: string[] | undefined;
|
|
2098
2204
|
examples?: {
|
|
2099
2205
|
code: string;
|
|
@@ -2101,38 +2207,38 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
2101
2207
|
description?: string | undefined;
|
|
2102
2208
|
}[] | undefined;
|
|
2103
2209
|
accessibility?: string | undefined;
|
|
2210
|
+
platformSupport?: {
|
|
2211
|
+
status: "full" | "partial" | "avoid";
|
|
2212
|
+
target: "web" | "react-native";
|
|
2213
|
+
supported: boolean;
|
|
2214
|
+
recommended: boolean;
|
|
2215
|
+
notes: string[];
|
|
2216
|
+
recommendedImports: string[];
|
|
2217
|
+
recommendedPackages: string[];
|
|
2218
|
+
} | undefined;
|
|
2104
2219
|
}, {
|
|
2105
|
-
description: string;
|
|
2106
2220
|
category: "core" | "complex" | "advanced";
|
|
2107
|
-
id: string;
|
|
2108
2221
|
name: string;
|
|
2222
|
+
description: string;
|
|
2223
|
+
id: string;
|
|
2109
2224
|
tier: number;
|
|
2110
|
-
importStatement: string;
|
|
2111
2225
|
props: {
|
|
2112
|
-
type: string;
|
|
2113
2226
|
name: string;
|
|
2227
|
+
type: string;
|
|
2114
2228
|
required: boolean;
|
|
2115
2229
|
description?: string | undefined;
|
|
2116
2230
|
defaultValue?: string | undefined;
|
|
2117
2231
|
}[];
|
|
2232
|
+
importStatement: string;
|
|
2118
2233
|
dependencies?: {
|
|
2119
|
-
external: string[];
|
|
2120
2234
|
internal: string[];
|
|
2235
|
+
external: string[];
|
|
2121
2236
|
} | undefined;
|
|
2122
2237
|
variants?: {
|
|
2123
|
-
value: string;
|
|
2124
2238
|
name: string;
|
|
2239
|
+
value: string;
|
|
2125
2240
|
description?: string | undefined;
|
|
2126
2241
|
}[] | undefined;
|
|
2127
|
-
platformSupport?: {
|
|
2128
|
-
status: "full" | "partial" | "avoid";
|
|
2129
|
-
notes: string[];
|
|
2130
|
-
supported: boolean;
|
|
2131
|
-
recommended: boolean;
|
|
2132
|
-
target: "web" | "react-native";
|
|
2133
|
-
recommendedImports: string[];
|
|
2134
|
-
recommendedPackages: string[];
|
|
2135
|
-
} | undefined;
|
|
2136
2242
|
subComponents?: string[] | undefined;
|
|
2137
2243
|
examples?: {
|
|
2138
2244
|
code: string;
|
|
@@ -2140,43 +2246,43 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
2140
2246
|
description?: string | undefined;
|
|
2141
2247
|
}[] | undefined;
|
|
2142
2248
|
accessibility?: string | undefined;
|
|
2249
|
+
platformSupport?: {
|
|
2250
|
+
status: "full" | "partial" | "avoid";
|
|
2251
|
+
target: "web" | "react-native";
|
|
2252
|
+
supported: boolean;
|
|
2253
|
+
recommended: boolean;
|
|
2254
|
+
notes: string[];
|
|
2255
|
+
recommendedImports: string[];
|
|
2256
|
+
recommendedPackages: string[];
|
|
2257
|
+
} | undefined;
|
|
2143
2258
|
}>>;
|
|
2144
2259
|
error: z.ZodOptional<z.ZodString>;
|
|
2145
2260
|
}, "strip", z.ZodTypeAny, {
|
|
2146
2261
|
success: boolean;
|
|
2147
2262
|
error?: string | undefined;
|
|
2148
2263
|
component?: {
|
|
2149
|
-
description: string;
|
|
2150
2264
|
category: "core" | "complex" | "advanced";
|
|
2151
|
-
id: string;
|
|
2152
2265
|
name: string;
|
|
2266
|
+
description: string;
|
|
2267
|
+
id: string;
|
|
2153
2268
|
tier: number;
|
|
2154
|
-
importStatement: string;
|
|
2155
2269
|
props: {
|
|
2156
|
-
type: string;
|
|
2157
2270
|
name: string;
|
|
2271
|
+
type: string;
|
|
2158
2272
|
required: boolean;
|
|
2159
2273
|
description?: string | undefined;
|
|
2160
2274
|
defaultValue?: string | undefined;
|
|
2161
2275
|
}[];
|
|
2276
|
+
importStatement: string;
|
|
2162
2277
|
dependencies?: {
|
|
2163
|
-
external: string[];
|
|
2164
2278
|
internal: string[];
|
|
2279
|
+
external: string[];
|
|
2165
2280
|
} | undefined;
|
|
2166
2281
|
variants?: {
|
|
2167
|
-
value: string;
|
|
2168
2282
|
name: string;
|
|
2283
|
+
value: string;
|
|
2169
2284
|
description?: string | undefined;
|
|
2170
2285
|
}[] | undefined;
|
|
2171
|
-
platformSupport?: {
|
|
2172
|
-
status: "full" | "partial" | "avoid";
|
|
2173
|
-
notes: string[];
|
|
2174
|
-
supported: boolean;
|
|
2175
|
-
recommended: boolean;
|
|
2176
|
-
target: "web" | "react-native";
|
|
2177
|
-
recommendedImports: string[];
|
|
2178
|
-
recommendedPackages: string[];
|
|
2179
|
-
} | undefined;
|
|
2180
2286
|
subComponents?: string[] | undefined;
|
|
2181
2287
|
examples?: {
|
|
2182
2288
|
code: string;
|
|
@@ -2184,42 +2290,42 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
2184
2290
|
description?: string | undefined;
|
|
2185
2291
|
}[] | undefined;
|
|
2186
2292
|
accessibility?: string | undefined;
|
|
2187
|
-
|
|
2188
|
-
|
|
2293
|
+
platformSupport?: {
|
|
2294
|
+
status: "full" | "partial" | "avoid";
|
|
2295
|
+
target: "web" | "react-native";
|
|
2296
|
+
supported: boolean;
|
|
2297
|
+
recommended: boolean;
|
|
2298
|
+
notes: string[];
|
|
2299
|
+
recommendedImports: string[];
|
|
2300
|
+
recommendedPackages: string[];
|
|
2301
|
+
} | undefined;
|
|
2302
|
+
} | undefined;
|
|
2303
|
+
}, {
|
|
2189
2304
|
success: boolean;
|
|
2190
2305
|
error?: string | undefined;
|
|
2191
2306
|
component?: {
|
|
2192
|
-
description: string;
|
|
2193
2307
|
category: "core" | "complex" | "advanced";
|
|
2194
|
-
id: string;
|
|
2195
2308
|
name: string;
|
|
2309
|
+
description: string;
|
|
2310
|
+
id: string;
|
|
2196
2311
|
tier: number;
|
|
2197
|
-
importStatement: string;
|
|
2198
2312
|
props: {
|
|
2199
|
-
type: string;
|
|
2200
2313
|
name: string;
|
|
2314
|
+
type: string;
|
|
2201
2315
|
required: boolean;
|
|
2202
2316
|
description?: string | undefined;
|
|
2203
2317
|
defaultValue?: string | undefined;
|
|
2204
2318
|
}[];
|
|
2319
|
+
importStatement: string;
|
|
2205
2320
|
dependencies?: {
|
|
2206
|
-
external: string[];
|
|
2207
2321
|
internal: string[];
|
|
2322
|
+
external: string[];
|
|
2208
2323
|
} | undefined;
|
|
2209
2324
|
variants?: {
|
|
2210
|
-
value: string;
|
|
2211
2325
|
name: string;
|
|
2326
|
+
value: string;
|
|
2212
2327
|
description?: string | undefined;
|
|
2213
2328
|
}[] | undefined;
|
|
2214
|
-
platformSupport?: {
|
|
2215
|
-
status: "full" | "partial" | "avoid";
|
|
2216
|
-
notes: string[];
|
|
2217
|
-
supported: boolean;
|
|
2218
|
-
recommended: boolean;
|
|
2219
|
-
target: "web" | "react-native";
|
|
2220
|
-
recommendedImports: string[];
|
|
2221
|
-
recommendedPackages: string[];
|
|
2222
|
-
} | undefined;
|
|
2223
2329
|
subComponents?: string[] | undefined;
|
|
2224
2330
|
examples?: {
|
|
2225
2331
|
code: string;
|
|
@@ -2227,6 +2333,15 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
2227
2333
|
description?: string | undefined;
|
|
2228
2334
|
}[] | undefined;
|
|
2229
2335
|
accessibility?: string | undefined;
|
|
2336
|
+
platformSupport?: {
|
|
2337
|
+
status: "full" | "partial" | "avoid";
|
|
2338
|
+
target: "web" | "react-native";
|
|
2339
|
+
supported: boolean;
|
|
2340
|
+
recommended: boolean;
|
|
2341
|
+
notes: string[];
|
|
2342
|
+
recommendedImports: string[];
|
|
2343
|
+
recommendedPackages: string[];
|
|
2344
|
+
} | undefined;
|
|
2230
2345
|
} | undefined;
|
|
2231
2346
|
}>;
|
|
2232
2347
|
export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
|
|
@@ -2243,10 +2358,10 @@ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
|
|
|
2243
2358
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
|
|
2244
2359
|
search: z.ZodOptional<z.ZodString>;
|
|
2245
2360
|
}, "strip", z.ZodTypeAny, {
|
|
2246
|
-
category: "
|
|
2361
|
+
category: "all" | "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2247
2362
|
search?: string | undefined;
|
|
2248
2363
|
}, {
|
|
2249
|
-
category?: "
|
|
2364
|
+
category?: "all" | "dashboard" | "auth" | "form" | "marketing" | "feedback" | undefined;
|
|
2250
2365
|
search?: string | undefined;
|
|
2251
2366
|
}>;
|
|
2252
2367
|
export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
|
|
@@ -2268,22 +2383,22 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
2268
2383
|
version: z.ZodString;
|
|
2269
2384
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2270
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2271
|
-
description: string;
|
|
2272
2386
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2273
|
-
id: string;
|
|
2274
2387
|
name: string;
|
|
2388
|
+
description: string;
|
|
2389
|
+
id: string;
|
|
2275
2390
|
version: string;
|
|
2276
2391
|
requiredComponentsCount: number;
|
|
2277
|
-
layoutType: "full" | "
|
|
2392
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2278
2393
|
tags?: string[] | undefined;
|
|
2279
2394
|
}, {
|
|
2280
|
-
description: string;
|
|
2281
2395
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2282
|
-
id: string;
|
|
2283
2396
|
name: string;
|
|
2397
|
+
description: string;
|
|
2398
|
+
id: string;
|
|
2284
2399
|
version: string;
|
|
2285
2400
|
requiredComponentsCount: number;
|
|
2286
|
-
layoutType: "full" | "
|
|
2401
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2287
2402
|
tags?: string[] | undefined;
|
|
2288
2403
|
}>;
|
|
2289
2404
|
export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
|
|
@@ -2302,22 +2417,22 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2302
2417
|
version: z.ZodString;
|
|
2303
2418
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2304
2419
|
}, "strip", z.ZodTypeAny, {
|
|
2305
|
-
description: string;
|
|
2306
2420
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2307
|
-
id: string;
|
|
2308
2421
|
name: string;
|
|
2422
|
+
description: string;
|
|
2423
|
+
id: string;
|
|
2309
2424
|
version: string;
|
|
2310
2425
|
requiredComponentsCount: number;
|
|
2311
|
-
layoutType: "full" | "
|
|
2426
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2312
2427
|
tags?: string[] | undefined;
|
|
2313
2428
|
}, {
|
|
2314
|
-
description: string;
|
|
2315
2429
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2316
|
-
id: string;
|
|
2317
2430
|
name: string;
|
|
2431
|
+
description: string;
|
|
2432
|
+
id: string;
|
|
2318
2433
|
version: string;
|
|
2319
2434
|
requiredComponentsCount: number;
|
|
2320
|
-
layoutType: "full" | "
|
|
2435
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2321
2436
|
tags?: string[] | undefined;
|
|
2322
2437
|
}>, "many">>;
|
|
2323
2438
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2344,7 +2459,6 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2344
2459
|
}, "strip", z.ZodTypeAny, {
|
|
2345
2460
|
success: boolean;
|
|
2346
2461
|
error?: string | undefined;
|
|
2347
|
-
count?: number | undefined;
|
|
2348
2462
|
categories?: {
|
|
2349
2463
|
dashboard: number;
|
|
2350
2464
|
auth: number;
|
|
@@ -2352,20 +2466,20 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2352
2466
|
marketing: number;
|
|
2353
2467
|
feedback: number;
|
|
2354
2468
|
} | undefined;
|
|
2469
|
+
count?: number | undefined;
|
|
2355
2470
|
templates?: {
|
|
2356
|
-
description: string;
|
|
2357
2471
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2358
|
-
id: string;
|
|
2359
2472
|
name: string;
|
|
2473
|
+
description: string;
|
|
2474
|
+
id: string;
|
|
2360
2475
|
version: string;
|
|
2361
2476
|
requiredComponentsCount: number;
|
|
2362
|
-
layoutType: "full" | "
|
|
2477
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2363
2478
|
tags?: string[] | undefined;
|
|
2364
2479
|
}[] | undefined;
|
|
2365
2480
|
}, {
|
|
2366
2481
|
success: boolean;
|
|
2367
2482
|
error?: string | undefined;
|
|
2368
|
-
count?: number | undefined;
|
|
2369
2483
|
categories?: {
|
|
2370
2484
|
dashboard: number;
|
|
2371
2485
|
auth: number;
|
|
@@ -2373,14 +2487,15 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2373
2487
|
marketing: number;
|
|
2374
2488
|
feedback: number;
|
|
2375
2489
|
} | undefined;
|
|
2490
|
+
count?: number | undefined;
|
|
2376
2491
|
templates?: {
|
|
2377
|
-
description: string;
|
|
2378
2492
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2379
|
-
id: string;
|
|
2380
2493
|
name: string;
|
|
2494
|
+
description: string;
|
|
2495
|
+
id: string;
|
|
2381
2496
|
version: string;
|
|
2382
2497
|
requiredComponentsCount: number;
|
|
2383
|
-
layoutType: "full" | "
|
|
2498
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2384
2499
|
tags?: string[] | undefined;
|
|
2385
2500
|
}[] | undefined;
|
|
2386
2501
|
}>;
|
|
@@ -2412,13 +2527,13 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2412
2527
|
slot: z.ZodString;
|
|
2413
2528
|
required: z.ZodBoolean;
|
|
2414
2529
|
}, "strip", z.ZodTypeAny, {
|
|
2415
|
-
id: string;
|
|
2416
2530
|
name: string;
|
|
2531
|
+
id: string;
|
|
2417
2532
|
required: boolean;
|
|
2418
2533
|
slot: string;
|
|
2419
2534
|
}, {
|
|
2420
|
-
id: string;
|
|
2421
2535
|
name: string;
|
|
2536
|
+
id: string;
|
|
2422
2537
|
required: boolean;
|
|
2423
2538
|
slot: string;
|
|
2424
2539
|
}>, "many">;
|
|
@@ -2426,8 +2541,8 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2426
2541
|
shell: string;
|
|
2427
2542
|
page: string;
|
|
2428
2543
|
sections: {
|
|
2429
|
-
id: string;
|
|
2430
2544
|
name: string;
|
|
2545
|
+
id: string;
|
|
2431
2546
|
required: boolean;
|
|
2432
2547
|
slot: string;
|
|
2433
2548
|
}[];
|
|
@@ -2435,8 +2550,8 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2435
2550
|
shell: string;
|
|
2436
2551
|
page: string;
|
|
2437
2552
|
sections: {
|
|
2438
|
-
id: string;
|
|
2439
2553
|
name: string;
|
|
2554
|
+
id: string;
|
|
2440
2555
|
required: boolean;
|
|
2441
2556
|
slot: string;
|
|
2442
2557
|
}[];
|
|
@@ -2450,12 +2565,12 @@ export declare const CustomizationSchema: z.ZodObject<{
|
|
|
2450
2565
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2451
2566
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2452
2567
|
}, "strip", z.ZodTypeAny, {
|
|
2453
|
-
texts: string[];
|
|
2454
2568
|
optional: string[];
|
|
2569
|
+
texts: string[];
|
|
2455
2570
|
slots: string[];
|
|
2456
2571
|
}, {
|
|
2457
|
-
texts: string[];
|
|
2458
2572
|
optional: string[];
|
|
2573
|
+
texts: string[];
|
|
2459
2574
|
slots: string[];
|
|
2460
2575
|
}>;
|
|
2461
2576
|
export type Customization = z.infer<typeof CustomizationSchema>;
|
|
@@ -2468,71 +2583,71 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2468
2583
|
gap: z.ZodString;
|
|
2469
2584
|
columns: z.ZodNumber;
|
|
2470
2585
|
}, "strip", z.ZodTypeAny, {
|
|
2471
|
-
padding: string;
|
|
2472
|
-
gap: string;
|
|
2473
2586
|
columns: number;
|
|
2474
|
-
}, {
|
|
2475
|
-
padding: string;
|
|
2476
2587
|
gap: string;
|
|
2588
|
+
padding: string;
|
|
2589
|
+
}, {
|
|
2477
2590
|
columns: number;
|
|
2591
|
+
gap: string;
|
|
2592
|
+
padding: string;
|
|
2478
2593
|
}>;
|
|
2479
2594
|
tablet: z.ZodObject<{
|
|
2480
2595
|
padding: z.ZodString;
|
|
2481
2596
|
gap: z.ZodString;
|
|
2482
2597
|
columns: z.ZodNumber;
|
|
2483
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2484
|
-
padding: string;
|
|
2485
|
-
gap: string;
|
|
2486
2599
|
columns: number;
|
|
2487
|
-
}, {
|
|
2488
|
-
padding: string;
|
|
2489
2600
|
gap: string;
|
|
2601
|
+
padding: string;
|
|
2602
|
+
}, {
|
|
2490
2603
|
columns: number;
|
|
2604
|
+
gap: string;
|
|
2605
|
+
padding: string;
|
|
2491
2606
|
}>;
|
|
2492
2607
|
desktop: z.ZodObject<{
|
|
2493
2608
|
padding: z.ZodString;
|
|
2494
2609
|
gap: z.ZodString;
|
|
2495
2610
|
columns: z.ZodNumber;
|
|
2496
2611
|
}, "strip", z.ZodTypeAny, {
|
|
2497
|
-
padding: string;
|
|
2498
|
-
gap: string;
|
|
2499
2612
|
columns: number;
|
|
2500
|
-
}, {
|
|
2501
|
-
padding: string;
|
|
2502
2613
|
gap: string;
|
|
2614
|
+
padding: string;
|
|
2615
|
+
}, {
|
|
2503
2616
|
columns: number;
|
|
2617
|
+
gap: string;
|
|
2618
|
+
padding: string;
|
|
2504
2619
|
}>;
|
|
2505
2620
|
}, "strip", z.ZodTypeAny, {
|
|
2506
2621
|
mobile: {
|
|
2507
|
-
padding: string;
|
|
2508
|
-
gap: string;
|
|
2509
2622
|
columns: number;
|
|
2623
|
+
gap: string;
|
|
2624
|
+
padding: string;
|
|
2510
2625
|
};
|
|
2511
2626
|
tablet: {
|
|
2512
|
-
padding: string;
|
|
2513
|
-
gap: string;
|
|
2514
2627
|
columns: number;
|
|
2628
|
+
gap: string;
|
|
2629
|
+
padding: string;
|
|
2515
2630
|
};
|
|
2516
2631
|
desktop: {
|
|
2517
|
-
padding: string;
|
|
2518
|
-
gap: string;
|
|
2519
2632
|
columns: number;
|
|
2633
|
+
gap: string;
|
|
2634
|
+
padding: string;
|
|
2520
2635
|
};
|
|
2521
2636
|
}, {
|
|
2522
2637
|
mobile: {
|
|
2523
|
-
padding: string;
|
|
2524
|
-
gap: string;
|
|
2525
2638
|
columns: number;
|
|
2639
|
+
gap: string;
|
|
2640
|
+
padding: string;
|
|
2526
2641
|
};
|
|
2527
2642
|
tablet: {
|
|
2528
|
-
padding: string;
|
|
2529
|
-
gap: string;
|
|
2530
2643
|
columns: number;
|
|
2644
|
+
gap: string;
|
|
2645
|
+
padding: string;
|
|
2531
2646
|
};
|
|
2532
2647
|
desktop: {
|
|
2533
|
-
padding: string;
|
|
2534
|
-
gap: string;
|
|
2535
2648
|
columns: number;
|
|
2649
|
+
gap: string;
|
|
2650
|
+
padding: string;
|
|
2536
2651
|
};
|
|
2537
2652
|
}>;
|
|
2538
2653
|
export type ResponsiveLayout = z.infer<typeof ResponsiveLayoutSchema>;
|
|
@@ -2556,13 +2671,13 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2556
2671
|
slot: z.ZodString;
|
|
2557
2672
|
required: z.ZodBoolean;
|
|
2558
2673
|
}, "strip", z.ZodTypeAny, {
|
|
2559
|
-
id: string;
|
|
2560
2674
|
name: string;
|
|
2675
|
+
id: string;
|
|
2561
2676
|
required: boolean;
|
|
2562
2677
|
slot: string;
|
|
2563
2678
|
}, {
|
|
2564
|
-
id: string;
|
|
2565
2679
|
name: string;
|
|
2680
|
+
id: string;
|
|
2566
2681
|
required: boolean;
|
|
2567
2682
|
slot: string;
|
|
2568
2683
|
}>, "many">;
|
|
@@ -2570,8 +2685,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2570
2685
|
shell: string;
|
|
2571
2686
|
page: string;
|
|
2572
2687
|
sections: {
|
|
2573
|
-
id: string;
|
|
2574
2688
|
name: string;
|
|
2689
|
+
id: string;
|
|
2575
2690
|
required: boolean;
|
|
2576
2691
|
slot: string;
|
|
2577
2692
|
}[];
|
|
@@ -2579,8 +2694,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2579
2694
|
shell: string;
|
|
2580
2695
|
page: string;
|
|
2581
2696
|
sections: {
|
|
2582
|
-
id: string;
|
|
2583
2697
|
name: string;
|
|
2698
|
+
id: string;
|
|
2584
2699
|
required: boolean;
|
|
2585
2700
|
slot: string;
|
|
2586
2701
|
}[];
|
|
@@ -2593,109 +2708,109 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2593
2708
|
gap: z.ZodString;
|
|
2594
2709
|
columns: z.ZodNumber;
|
|
2595
2710
|
}, "strip", z.ZodTypeAny, {
|
|
2596
|
-
padding: string;
|
|
2597
|
-
gap: string;
|
|
2598
2711
|
columns: number;
|
|
2599
|
-
}, {
|
|
2600
|
-
padding: string;
|
|
2601
2712
|
gap: string;
|
|
2713
|
+
padding: string;
|
|
2714
|
+
}, {
|
|
2602
2715
|
columns: number;
|
|
2716
|
+
gap: string;
|
|
2717
|
+
padding: string;
|
|
2603
2718
|
}>;
|
|
2604
2719
|
tablet: z.ZodObject<{
|
|
2605
2720
|
padding: z.ZodString;
|
|
2606
2721
|
gap: z.ZodString;
|
|
2607
2722
|
columns: z.ZodNumber;
|
|
2608
2723
|
}, "strip", z.ZodTypeAny, {
|
|
2609
|
-
padding: string;
|
|
2610
|
-
gap: string;
|
|
2611
2724
|
columns: number;
|
|
2612
|
-
}, {
|
|
2613
|
-
padding: string;
|
|
2614
2725
|
gap: string;
|
|
2726
|
+
padding: string;
|
|
2727
|
+
}, {
|
|
2615
2728
|
columns: number;
|
|
2729
|
+
gap: string;
|
|
2730
|
+
padding: string;
|
|
2616
2731
|
}>;
|
|
2617
2732
|
desktop: z.ZodObject<{
|
|
2618
2733
|
padding: z.ZodString;
|
|
2619
2734
|
gap: z.ZodString;
|
|
2620
2735
|
columns: z.ZodNumber;
|
|
2621
2736
|
}, "strip", z.ZodTypeAny, {
|
|
2622
|
-
padding: string;
|
|
2623
|
-
gap: string;
|
|
2624
2737
|
columns: number;
|
|
2625
|
-
}, {
|
|
2626
|
-
padding: string;
|
|
2627
2738
|
gap: string;
|
|
2739
|
+
padding: string;
|
|
2740
|
+
}, {
|
|
2628
2741
|
columns: number;
|
|
2742
|
+
gap: string;
|
|
2743
|
+
padding: string;
|
|
2629
2744
|
}>;
|
|
2630
2745
|
}, "strip", z.ZodTypeAny, {
|
|
2631
2746
|
mobile: {
|
|
2632
|
-
padding: string;
|
|
2633
|
-
gap: string;
|
|
2634
2747
|
columns: number;
|
|
2748
|
+
gap: string;
|
|
2749
|
+
padding: string;
|
|
2635
2750
|
};
|
|
2636
2751
|
tablet: {
|
|
2637
|
-
padding: string;
|
|
2638
|
-
gap: string;
|
|
2639
2752
|
columns: number;
|
|
2753
|
+
gap: string;
|
|
2754
|
+
padding: string;
|
|
2640
2755
|
};
|
|
2641
2756
|
desktop: {
|
|
2642
|
-
padding: string;
|
|
2643
|
-
gap: string;
|
|
2644
2757
|
columns: number;
|
|
2758
|
+
gap: string;
|
|
2759
|
+
padding: string;
|
|
2645
2760
|
};
|
|
2646
2761
|
}, {
|
|
2647
2762
|
mobile: {
|
|
2648
|
-
padding: string;
|
|
2649
|
-
gap: string;
|
|
2650
2763
|
columns: number;
|
|
2764
|
+
gap: string;
|
|
2765
|
+
padding: string;
|
|
2651
2766
|
};
|
|
2652
2767
|
tablet: {
|
|
2653
|
-
padding: string;
|
|
2654
|
-
gap: string;
|
|
2655
2768
|
columns: number;
|
|
2769
|
+
gap: string;
|
|
2770
|
+
padding: string;
|
|
2656
2771
|
};
|
|
2657
2772
|
desktop: {
|
|
2658
|
-
padding: string;
|
|
2659
|
-
gap: string;
|
|
2660
2773
|
columns: number;
|
|
2774
|
+
gap: string;
|
|
2775
|
+
padding: string;
|
|
2661
2776
|
};
|
|
2662
2777
|
}>>;
|
|
2663
2778
|
}, "strip", z.ZodTypeAny, {
|
|
2664
|
-
type: "full" | "
|
|
2779
|
+
type: "full" | "sidebar" | "centered";
|
|
2665
2780
|
responsive?: {
|
|
2666
2781
|
mobile: {
|
|
2667
|
-
padding: string;
|
|
2668
|
-
gap: string;
|
|
2669
2782
|
columns: number;
|
|
2783
|
+
gap: string;
|
|
2784
|
+
padding: string;
|
|
2670
2785
|
};
|
|
2671
2786
|
tablet: {
|
|
2672
|
-
padding: string;
|
|
2673
|
-
gap: string;
|
|
2674
2787
|
columns: number;
|
|
2788
|
+
gap: string;
|
|
2789
|
+
padding: string;
|
|
2675
2790
|
};
|
|
2676
2791
|
desktop: {
|
|
2677
|
-
padding: string;
|
|
2678
|
-
gap: string;
|
|
2679
2792
|
columns: number;
|
|
2793
|
+
gap: string;
|
|
2794
|
+
padding: string;
|
|
2680
2795
|
};
|
|
2681
2796
|
} | undefined;
|
|
2682
2797
|
}, {
|
|
2683
|
-
type: "full" | "
|
|
2798
|
+
type: "full" | "sidebar" | "centered";
|
|
2684
2799
|
responsive?: {
|
|
2685
2800
|
mobile: {
|
|
2686
|
-
padding: string;
|
|
2687
|
-
gap: string;
|
|
2688
2801
|
columns: number;
|
|
2802
|
+
gap: string;
|
|
2803
|
+
padding: string;
|
|
2689
2804
|
};
|
|
2690
2805
|
tablet: {
|
|
2691
|
-
padding: string;
|
|
2692
|
-
gap: string;
|
|
2693
2806
|
columns: number;
|
|
2807
|
+
gap: string;
|
|
2808
|
+
padding: string;
|
|
2694
2809
|
};
|
|
2695
2810
|
desktop: {
|
|
2696
|
-
padding: string;
|
|
2697
|
-
gap: string;
|
|
2698
2811
|
columns: number;
|
|
2812
|
+
gap: string;
|
|
2813
|
+
padding: string;
|
|
2699
2814
|
};
|
|
2700
2815
|
} | undefined;
|
|
2701
2816
|
}>;
|
|
@@ -2704,12 +2819,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2704
2819
|
optional: z.ZodArray<z.ZodString, "many">;
|
|
2705
2820
|
slots: z.ZodArray<z.ZodString, "many">;
|
|
2706
2821
|
}, "strip", z.ZodTypeAny, {
|
|
2707
|
-
texts: string[];
|
|
2708
2822
|
optional: string[];
|
|
2823
|
+
texts: string[];
|
|
2709
2824
|
slots: string[];
|
|
2710
2825
|
}, {
|
|
2711
|
-
texts: string[];
|
|
2712
2826
|
optional: string[];
|
|
2827
|
+
texts: string[];
|
|
2713
2828
|
slots: string[];
|
|
2714
2829
|
}>;
|
|
2715
2830
|
requiredComponents: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2731,45 +2846,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2731
2846
|
updated: z.ZodString;
|
|
2732
2847
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2733
2848
|
}, "strip", z.ZodTypeAny, {
|
|
2849
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2850
|
+
name: string;
|
|
2734
2851
|
description: string;
|
|
2852
|
+
id: string;
|
|
2853
|
+
version: string;
|
|
2854
|
+
importStatement: string;
|
|
2735
2855
|
layout: {
|
|
2736
|
-
type: "full" | "
|
|
2856
|
+
type: "full" | "sidebar" | "centered";
|
|
2737
2857
|
responsive?: {
|
|
2738
2858
|
mobile: {
|
|
2739
|
-
padding: string;
|
|
2740
|
-
gap: string;
|
|
2741
2859
|
columns: number;
|
|
2860
|
+
gap: string;
|
|
2861
|
+
padding: string;
|
|
2742
2862
|
};
|
|
2743
2863
|
tablet: {
|
|
2744
|
-
padding: string;
|
|
2745
|
-
gap: string;
|
|
2746
2864
|
columns: number;
|
|
2865
|
+
gap: string;
|
|
2866
|
+
padding: string;
|
|
2747
2867
|
};
|
|
2748
2868
|
desktop: {
|
|
2749
|
-
padding: string;
|
|
2750
|
-
gap: string;
|
|
2751
2869
|
columns: number;
|
|
2870
|
+
gap: string;
|
|
2871
|
+
padding: string;
|
|
2752
2872
|
};
|
|
2753
2873
|
} | undefined;
|
|
2754
2874
|
};
|
|
2755
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2756
|
-
id: string;
|
|
2757
|
-
name: string;
|
|
2758
|
-
version: string;
|
|
2759
|
-
importStatement: string;
|
|
2760
2875
|
skeleton: {
|
|
2761
2876
|
shell: string;
|
|
2762
2877
|
page: string;
|
|
2763
2878
|
sections: {
|
|
2764
|
-
id: string;
|
|
2765
2879
|
name: string;
|
|
2880
|
+
id: string;
|
|
2766
2881
|
required: boolean;
|
|
2767
2882
|
slot: string;
|
|
2768
2883
|
}[];
|
|
2769
2884
|
};
|
|
2770
2885
|
customizable: {
|
|
2771
|
-
texts: string[];
|
|
2772
2886
|
optional: string[];
|
|
2887
|
+
texts: string[];
|
|
2773
2888
|
slots: string[];
|
|
2774
2889
|
};
|
|
2775
2890
|
requiredComponents: string[];
|
|
@@ -2782,45 +2897,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2782
2897
|
slots?: string[] | undefined;
|
|
2783
2898
|
} | undefined;
|
|
2784
2899
|
}, {
|
|
2900
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2901
|
+
name: string;
|
|
2785
2902
|
description: string;
|
|
2903
|
+
id: string;
|
|
2904
|
+
version: string;
|
|
2905
|
+
importStatement: string;
|
|
2786
2906
|
layout: {
|
|
2787
|
-
type: "full" | "
|
|
2907
|
+
type: "full" | "sidebar" | "centered";
|
|
2788
2908
|
responsive?: {
|
|
2789
2909
|
mobile: {
|
|
2790
|
-
padding: string;
|
|
2791
|
-
gap: string;
|
|
2792
2910
|
columns: number;
|
|
2911
|
+
gap: string;
|
|
2912
|
+
padding: string;
|
|
2793
2913
|
};
|
|
2794
2914
|
tablet: {
|
|
2795
|
-
padding: string;
|
|
2796
|
-
gap: string;
|
|
2797
2915
|
columns: number;
|
|
2916
|
+
gap: string;
|
|
2917
|
+
padding: string;
|
|
2798
2918
|
};
|
|
2799
2919
|
desktop: {
|
|
2800
|
-
padding: string;
|
|
2801
|
-
gap: string;
|
|
2802
2920
|
columns: number;
|
|
2921
|
+
gap: string;
|
|
2922
|
+
padding: string;
|
|
2803
2923
|
};
|
|
2804
2924
|
} | undefined;
|
|
2805
2925
|
};
|
|
2806
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2807
|
-
id: string;
|
|
2808
|
-
name: string;
|
|
2809
|
-
version: string;
|
|
2810
|
-
importStatement: string;
|
|
2811
2926
|
skeleton: {
|
|
2812
2927
|
shell: string;
|
|
2813
2928
|
page: string;
|
|
2814
2929
|
sections: {
|
|
2815
|
-
id: string;
|
|
2816
2930
|
name: string;
|
|
2931
|
+
id: string;
|
|
2817
2932
|
required: boolean;
|
|
2818
2933
|
slot: string;
|
|
2819
2934
|
}[];
|
|
2820
2935
|
};
|
|
2821
2936
|
customizable: {
|
|
2822
|
-
texts: string[];
|
|
2823
2937
|
optional: string[];
|
|
2938
|
+
texts: string[];
|
|
2824
2939
|
slots: string[];
|
|
2825
2940
|
};
|
|
2826
2941
|
requiredComponents: string[];
|
|
@@ -2838,45 +2953,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2838
2953
|
success: boolean;
|
|
2839
2954
|
error?: string | undefined;
|
|
2840
2955
|
template?: {
|
|
2956
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2957
|
+
name: string;
|
|
2841
2958
|
description: string;
|
|
2959
|
+
id: string;
|
|
2960
|
+
version: string;
|
|
2961
|
+
importStatement: string;
|
|
2842
2962
|
layout: {
|
|
2843
|
-
type: "full" | "
|
|
2963
|
+
type: "full" | "sidebar" | "centered";
|
|
2844
2964
|
responsive?: {
|
|
2845
2965
|
mobile: {
|
|
2846
|
-
padding: string;
|
|
2847
|
-
gap: string;
|
|
2848
2966
|
columns: number;
|
|
2967
|
+
gap: string;
|
|
2968
|
+
padding: string;
|
|
2849
2969
|
};
|
|
2850
2970
|
tablet: {
|
|
2851
|
-
padding: string;
|
|
2852
|
-
gap: string;
|
|
2853
2971
|
columns: number;
|
|
2972
|
+
gap: string;
|
|
2973
|
+
padding: string;
|
|
2854
2974
|
};
|
|
2855
2975
|
desktop: {
|
|
2856
|
-
padding: string;
|
|
2857
|
-
gap: string;
|
|
2858
2976
|
columns: number;
|
|
2977
|
+
gap: string;
|
|
2978
|
+
padding: string;
|
|
2859
2979
|
};
|
|
2860
2980
|
} | undefined;
|
|
2861
2981
|
};
|
|
2862
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2863
|
-
id: string;
|
|
2864
|
-
name: string;
|
|
2865
|
-
version: string;
|
|
2866
|
-
importStatement: string;
|
|
2867
2982
|
skeleton: {
|
|
2868
2983
|
shell: string;
|
|
2869
2984
|
page: string;
|
|
2870
2985
|
sections: {
|
|
2871
|
-
id: string;
|
|
2872
2986
|
name: string;
|
|
2987
|
+
id: string;
|
|
2873
2988
|
required: boolean;
|
|
2874
2989
|
slot: string;
|
|
2875
2990
|
}[];
|
|
2876
2991
|
};
|
|
2877
2992
|
customizable: {
|
|
2878
|
-
texts: string[];
|
|
2879
2993
|
optional: string[];
|
|
2994
|
+
texts: string[];
|
|
2880
2995
|
slots: string[];
|
|
2881
2996
|
};
|
|
2882
2997
|
requiredComponents: string[];
|
|
@@ -2893,45 +3008,45 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2893
3008
|
success: boolean;
|
|
2894
3009
|
error?: string | undefined;
|
|
2895
3010
|
template?: {
|
|
3011
|
+
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
3012
|
+
name: string;
|
|
2896
3013
|
description: string;
|
|
3014
|
+
id: string;
|
|
3015
|
+
version: string;
|
|
3016
|
+
importStatement: string;
|
|
2897
3017
|
layout: {
|
|
2898
|
-
type: "full" | "
|
|
3018
|
+
type: "full" | "sidebar" | "centered";
|
|
2899
3019
|
responsive?: {
|
|
2900
3020
|
mobile: {
|
|
2901
|
-
padding: string;
|
|
2902
|
-
gap: string;
|
|
2903
3021
|
columns: number;
|
|
3022
|
+
gap: string;
|
|
3023
|
+
padding: string;
|
|
2904
3024
|
};
|
|
2905
3025
|
tablet: {
|
|
2906
|
-
padding: string;
|
|
2907
|
-
gap: string;
|
|
2908
3026
|
columns: number;
|
|
3027
|
+
gap: string;
|
|
3028
|
+
padding: string;
|
|
2909
3029
|
};
|
|
2910
3030
|
desktop: {
|
|
2911
|
-
padding: string;
|
|
2912
|
-
gap: string;
|
|
2913
3031
|
columns: number;
|
|
3032
|
+
gap: string;
|
|
3033
|
+
padding: string;
|
|
2914
3034
|
};
|
|
2915
3035
|
} | undefined;
|
|
2916
3036
|
};
|
|
2917
|
-
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2918
|
-
id: string;
|
|
2919
|
-
name: string;
|
|
2920
|
-
version: string;
|
|
2921
|
-
importStatement: string;
|
|
2922
3037
|
skeleton: {
|
|
2923
3038
|
shell: string;
|
|
2924
3039
|
page: string;
|
|
2925
3040
|
sections: {
|
|
2926
|
-
id: string;
|
|
2927
3041
|
name: string;
|
|
3042
|
+
id: string;
|
|
2928
3043
|
required: boolean;
|
|
2929
3044
|
slot: string;
|
|
2930
3045
|
}[];
|
|
2931
3046
|
};
|
|
2932
3047
|
customizable: {
|
|
2933
|
-
texts: string[];
|
|
2934
3048
|
optional: string[];
|
|
3049
|
+
texts: string[];
|
|
2935
3050
|
slots: string[];
|
|
2936
3051
|
};
|
|
2937
3052
|
requiredComponents: string[];
|
|
@@ -2960,13 +3075,13 @@ export declare const GetScreenGenerationContextInputSchema: z.ZodObject<{
|
|
|
2960
3075
|
description: string;
|
|
2961
3076
|
includeExamples: boolean;
|
|
2962
3077
|
compact: boolean;
|
|
2963
|
-
themeId?: string | undefined;
|
|
2964
3078
|
platform?: "web" | "react-native" | undefined;
|
|
3079
|
+
themeId?: string | undefined;
|
|
2965
3080
|
}, {
|
|
2966
3081
|
description: string;
|
|
2967
|
-
themeId?: string | undefined;
|
|
2968
3082
|
platform?: "web" | "react-native" | undefined;
|
|
2969
3083
|
includeExamples?: boolean | undefined;
|
|
3084
|
+
themeId?: string | undefined;
|
|
2970
3085
|
compact?: boolean | undefined;
|
|
2971
3086
|
}>;
|
|
2972
3087
|
export type GetScreenGenerationContextInput = z.infer<typeof GetScreenGenerationContextInputSchema>;
|
|
@@ -2988,13 +3103,13 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2988
3103
|
slot: z.ZodString;
|
|
2989
3104
|
required: z.ZodBoolean;
|
|
2990
3105
|
}, "strip", z.ZodTypeAny, {
|
|
2991
|
-
id: string;
|
|
2992
3106
|
name: string;
|
|
3107
|
+
id: string;
|
|
2993
3108
|
required: boolean;
|
|
2994
3109
|
slot: string;
|
|
2995
3110
|
}, {
|
|
2996
|
-
id: string;
|
|
2997
3111
|
name: string;
|
|
3112
|
+
id: string;
|
|
2998
3113
|
required: boolean;
|
|
2999
3114
|
slot: string;
|
|
3000
3115
|
}>, "many">;
|
|
@@ -3002,8 +3117,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
3002
3117
|
shell: string;
|
|
3003
3118
|
page: string;
|
|
3004
3119
|
sections: {
|
|
3005
|
-
id: string;
|
|
3006
3120
|
name: string;
|
|
3121
|
+
id: string;
|
|
3007
3122
|
required: boolean;
|
|
3008
3123
|
slot: string;
|
|
3009
3124
|
}[];
|
|
@@ -3011,42 +3126,42 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
3011
3126
|
shell: string;
|
|
3012
3127
|
page: string;
|
|
3013
3128
|
sections: {
|
|
3014
|
-
id: string;
|
|
3015
3129
|
name: string;
|
|
3130
|
+
id: string;
|
|
3016
3131
|
required: boolean;
|
|
3017
3132
|
slot: string;
|
|
3018
3133
|
}[];
|
|
3019
3134
|
}>>;
|
|
3020
3135
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3021
3136
|
}, "strip", z.ZodTypeAny, {
|
|
3137
|
+
category: string;
|
|
3022
3138
|
templateId: string;
|
|
3023
3139
|
templateName: string;
|
|
3024
|
-
category: string;
|
|
3025
3140
|
confidence: number;
|
|
3026
3141
|
matchedKeywords: string[];
|
|
3027
3142
|
skeleton?: {
|
|
3028
3143
|
shell: string;
|
|
3029
3144
|
page: string;
|
|
3030
3145
|
sections: {
|
|
3031
|
-
id: string;
|
|
3032
3146
|
name: string;
|
|
3147
|
+
id: string;
|
|
3033
3148
|
required: boolean;
|
|
3034
3149
|
slot: string;
|
|
3035
3150
|
}[];
|
|
3036
3151
|
} | undefined;
|
|
3037
3152
|
requiredComponents?: string[] | undefined;
|
|
3038
3153
|
}, {
|
|
3154
|
+
category: string;
|
|
3039
3155
|
templateId: string;
|
|
3040
3156
|
templateName: string;
|
|
3041
|
-
category: string;
|
|
3042
3157
|
confidence: number;
|
|
3043
3158
|
matchedKeywords: string[];
|
|
3044
3159
|
skeleton?: {
|
|
3045
3160
|
shell: string;
|
|
3046
3161
|
page: string;
|
|
3047
3162
|
sections: {
|
|
3048
|
-
id: string;
|
|
3049
3163
|
name: string;
|
|
3164
|
+
id: string;
|
|
3050
3165
|
required: boolean;
|
|
3051
3166
|
slot: string;
|
|
3052
3167
|
}[];
|
|
@@ -3070,14 +3185,14 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
3070
3185
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3071
3186
|
description: z.ZodOptional<z.ZodString>;
|
|
3072
3187
|
}, "strip", z.ZodTypeAny, {
|
|
3073
|
-
type: string;
|
|
3074
3188
|
name: string;
|
|
3189
|
+
type: string;
|
|
3075
3190
|
required: boolean;
|
|
3076
3191
|
description?: string | undefined;
|
|
3077
3192
|
defaultValue?: string | undefined;
|
|
3078
3193
|
}, {
|
|
3079
|
-
type: string;
|
|
3080
3194
|
name: string;
|
|
3195
|
+
type: string;
|
|
3081
3196
|
required: boolean;
|
|
3082
3197
|
description?: string | undefined;
|
|
3083
3198
|
defaultValue?: string | undefined;
|
|
@@ -3087,12 +3202,12 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
3087
3202
|
value: z.ZodString;
|
|
3088
3203
|
description: z.ZodOptional<z.ZodString>;
|
|
3089
3204
|
}, "strip", z.ZodTypeAny, {
|
|
3090
|
-
value: string;
|
|
3091
3205
|
name: string;
|
|
3206
|
+
value: string;
|
|
3092
3207
|
description?: string | undefined;
|
|
3093
3208
|
}, {
|
|
3094
|
-
value: string;
|
|
3095
3209
|
name: string;
|
|
3210
|
+
value: string;
|
|
3096
3211
|
description?: string | undefined;
|
|
3097
3212
|
}>, "many">>;
|
|
3098
3213
|
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
@@ -3105,72 +3220,72 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
3105
3220
|
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
3106
3221
|
}, "strip", z.ZodTypeAny, {
|
|
3107
3222
|
status: "full" | "partial" | "avoid";
|
|
3108
|
-
|
|
3223
|
+
target: "web" | "react-native";
|
|
3109
3224
|
supported: boolean;
|
|
3110
3225
|
recommended: boolean;
|
|
3111
|
-
|
|
3226
|
+
notes: string[];
|
|
3112
3227
|
recommendedImports: string[];
|
|
3113
3228
|
recommendedPackages: string[];
|
|
3114
3229
|
}, {
|
|
3115
3230
|
status: "full" | "partial" | "avoid";
|
|
3116
|
-
|
|
3231
|
+
target: "web" | "react-native";
|
|
3117
3232
|
supported: boolean;
|
|
3118
3233
|
recommended: boolean;
|
|
3119
|
-
|
|
3234
|
+
notes: string[];
|
|
3120
3235
|
recommendedImports: string[];
|
|
3121
3236
|
recommendedPackages: string[];
|
|
3122
3237
|
}>>;
|
|
3123
3238
|
}, "strip", z.ZodTypeAny, {
|
|
3124
|
-
description: string;
|
|
3125
3239
|
category: "core" | "complex" | "advanced";
|
|
3126
|
-
id: string;
|
|
3127
3240
|
name: string;
|
|
3128
|
-
|
|
3241
|
+
description: string;
|
|
3242
|
+
id: string;
|
|
3129
3243
|
props: {
|
|
3130
|
-
type: string;
|
|
3131
3244
|
name: string;
|
|
3245
|
+
type: string;
|
|
3132
3246
|
required: boolean;
|
|
3133
3247
|
description?: string | undefined;
|
|
3134
3248
|
defaultValue?: string | undefined;
|
|
3135
3249
|
}[];
|
|
3250
|
+
importStatement: string;
|
|
3136
3251
|
variants?: {
|
|
3137
|
-
value: string;
|
|
3138
3252
|
name: string;
|
|
3253
|
+
value: string;
|
|
3139
3254
|
description?: string | undefined;
|
|
3140
3255
|
}[] | undefined;
|
|
3141
3256
|
platformSupport?: {
|
|
3142
3257
|
status: "full" | "partial" | "avoid";
|
|
3143
|
-
|
|
3258
|
+
target: "web" | "react-native";
|
|
3144
3259
|
supported: boolean;
|
|
3145
3260
|
recommended: boolean;
|
|
3146
|
-
|
|
3261
|
+
notes: string[];
|
|
3147
3262
|
recommendedImports: string[];
|
|
3148
3263
|
recommendedPackages: string[];
|
|
3149
3264
|
} | undefined;
|
|
3150
3265
|
}, {
|
|
3151
|
-
description: string;
|
|
3152
3266
|
category: "core" | "complex" | "advanced";
|
|
3153
|
-
id: string;
|
|
3154
3267
|
name: string;
|
|
3155
|
-
|
|
3268
|
+
description: string;
|
|
3269
|
+
id: string;
|
|
3156
3270
|
props: {
|
|
3157
|
-
type: string;
|
|
3158
3271
|
name: string;
|
|
3272
|
+
type: string;
|
|
3159
3273
|
required: boolean;
|
|
3160
3274
|
description?: string | undefined;
|
|
3161
3275
|
defaultValue?: string | undefined;
|
|
3162
3276
|
}[];
|
|
3277
|
+
importStatement: string;
|
|
3163
3278
|
variants?: {
|
|
3164
|
-
value: string;
|
|
3165
3279
|
name: string;
|
|
3280
|
+
value: string;
|
|
3166
3281
|
description?: string | undefined;
|
|
3167
3282
|
}[] | undefined;
|
|
3168
3283
|
platformSupport?: {
|
|
3169
3284
|
status: "full" | "partial" | "avoid";
|
|
3170
|
-
|
|
3285
|
+
target: "web" | "react-native";
|
|
3171
3286
|
supported: boolean;
|
|
3172
3287
|
recommended: boolean;
|
|
3173
|
-
|
|
3288
|
+
notes: string[];
|
|
3174
3289
|
recommendedImports: string[];
|
|
3175
3290
|
recommendedPackages: string[];
|
|
3176
3291
|
} | undefined;
|
|
@@ -3205,21 +3320,21 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
3205
3320
|
}>, "many">;
|
|
3206
3321
|
}, "strip", z.ZodTypeAny, {
|
|
3207
3322
|
id: string;
|
|
3323
|
+
pattern: string;
|
|
3208
3324
|
components: {
|
|
3209
3325
|
type: string;
|
|
3210
3326
|
props?: Record<string, unknown> | undefined;
|
|
3211
3327
|
children?: string | unknown[] | undefined;
|
|
3212
3328
|
}[];
|
|
3213
|
-
pattern: string;
|
|
3214
3329
|
slot?: string | undefined;
|
|
3215
3330
|
}, {
|
|
3216
3331
|
id: string;
|
|
3332
|
+
pattern: string;
|
|
3217
3333
|
components: {
|
|
3218
3334
|
type: string;
|
|
3219
3335
|
props?: Record<string, unknown> | undefined;
|
|
3220
3336
|
children?: string | unknown[] | undefined;
|
|
3221
3337
|
}[];
|
|
3222
|
-
pattern: string;
|
|
3223
3338
|
slot?: string | undefined;
|
|
3224
3339
|
}>, "many">;
|
|
3225
3340
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3241,20 +3356,20 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
3241
3356
|
}, "strip", z.ZodTypeAny, {
|
|
3242
3357
|
shell: string;
|
|
3243
3358
|
page: string;
|
|
3244
|
-
id: string;
|
|
3245
3359
|
sections: {
|
|
3246
3360
|
id: string;
|
|
3361
|
+
pattern: string;
|
|
3247
3362
|
components: {
|
|
3248
3363
|
type: string;
|
|
3249
3364
|
props?: Record<string, unknown> | undefined;
|
|
3250
3365
|
children?: string | unknown[] | undefined;
|
|
3251
3366
|
}[];
|
|
3252
|
-
pattern: string;
|
|
3253
3367
|
slot?: string | undefined;
|
|
3254
3368
|
}[];
|
|
3369
|
+
id: string;
|
|
3370
|
+
name?: string | undefined;
|
|
3255
3371
|
description?: string | undefined;
|
|
3256
3372
|
themeId?: string | undefined;
|
|
3257
|
-
name?: string | undefined;
|
|
3258
3373
|
metadata?: {
|
|
3259
3374
|
version?: string | undefined;
|
|
3260
3375
|
created?: string | undefined;
|
|
@@ -3264,20 +3379,20 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
3264
3379
|
}, {
|
|
3265
3380
|
shell: string;
|
|
3266
3381
|
page: string;
|
|
3267
|
-
id: string;
|
|
3268
3382
|
sections: {
|
|
3269
3383
|
id: string;
|
|
3384
|
+
pattern: string;
|
|
3270
3385
|
components: {
|
|
3271
3386
|
type: string;
|
|
3272
3387
|
props?: Record<string, unknown> | undefined;
|
|
3273
3388
|
children?: string | unknown[] | undefined;
|
|
3274
3389
|
}[];
|
|
3275
|
-
pattern: string;
|
|
3276
3390
|
slot?: string | undefined;
|
|
3277
3391
|
}[];
|
|
3392
|
+
id: string;
|
|
3393
|
+
name?: string | undefined;
|
|
3278
3394
|
description?: string | undefined;
|
|
3279
3395
|
themeId?: string | undefined;
|
|
3280
|
-
name?: string | undefined;
|
|
3281
3396
|
metadata?: {
|
|
3282
3397
|
version?: string | undefined;
|
|
3283
3398
|
created?: string | undefined;
|
|
@@ -3318,21 +3433,21 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3318
3433
|
}>, "many">;
|
|
3319
3434
|
}, "strip", z.ZodTypeAny, {
|
|
3320
3435
|
id: string;
|
|
3436
|
+
pattern: string;
|
|
3321
3437
|
components: {
|
|
3322
3438
|
type: string;
|
|
3323
3439
|
props?: Record<string, unknown> | undefined;
|
|
3324
3440
|
children?: string | unknown[] | undefined;
|
|
3325
3441
|
}[];
|
|
3326
|
-
pattern: string;
|
|
3327
3442
|
slot?: string | undefined;
|
|
3328
3443
|
}, {
|
|
3329
3444
|
id: string;
|
|
3445
|
+
pattern: string;
|
|
3330
3446
|
components: {
|
|
3331
3447
|
type: string;
|
|
3332
3448
|
props?: Record<string, unknown> | undefined;
|
|
3333
3449
|
children?: string | unknown[] | undefined;
|
|
3334
3450
|
}[];
|
|
3335
|
-
pattern: string;
|
|
3336
3451
|
slot?: string | undefined;
|
|
3337
3452
|
}>, "many">;
|
|
3338
3453
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3354,20 +3469,20 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3354
3469
|
}, "strip", z.ZodTypeAny, {
|
|
3355
3470
|
shell: string;
|
|
3356
3471
|
page: string;
|
|
3357
|
-
id: string;
|
|
3358
3472
|
sections: {
|
|
3359
3473
|
id: string;
|
|
3474
|
+
pattern: string;
|
|
3360
3475
|
components: {
|
|
3361
3476
|
type: string;
|
|
3362
3477
|
props?: Record<string, unknown> | undefined;
|
|
3363
3478
|
children?: string | unknown[] | undefined;
|
|
3364
3479
|
}[];
|
|
3365
|
-
pattern: string;
|
|
3366
3480
|
slot?: string | undefined;
|
|
3367
3481
|
}[];
|
|
3482
|
+
id: string;
|
|
3483
|
+
name?: string | undefined;
|
|
3368
3484
|
description?: string | undefined;
|
|
3369
3485
|
themeId?: string | undefined;
|
|
3370
|
-
name?: string | undefined;
|
|
3371
3486
|
metadata?: {
|
|
3372
3487
|
version?: string | undefined;
|
|
3373
3488
|
created?: string | undefined;
|
|
@@ -3377,20 +3492,20 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3377
3492
|
}, {
|
|
3378
3493
|
shell: string;
|
|
3379
3494
|
page: string;
|
|
3380
|
-
id: string;
|
|
3381
3495
|
sections: {
|
|
3382
3496
|
id: string;
|
|
3497
|
+
pattern: string;
|
|
3383
3498
|
components: {
|
|
3384
3499
|
type: string;
|
|
3385
3500
|
props?: Record<string, unknown> | undefined;
|
|
3386
3501
|
children?: string | unknown[] | undefined;
|
|
3387
3502
|
}[];
|
|
3388
|
-
pattern: string;
|
|
3389
3503
|
slot?: string | undefined;
|
|
3390
3504
|
}[];
|
|
3505
|
+
id: string;
|
|
3506
|
+
name?: string | undefined;
|
|
3391
3507
|
description?: string | undefined;
|
|
3392
3508
|
themeId?: string | undefined;
|
|
3393
|
-
name?: string | undefined;
|
|
3394
3509
|
metadata?: {
|
|
3395
3510
|
version?: string | undefined;
|
|
3396
3511
|
created?: string | undefined;
|
|
@@ -3399,25 +3514,25 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3399
3514
|
} | undefined;
|
|
3400
3515
|
}>;
|
|
3401
3516
|
}, "strip", z.ZodTypeAny, {
|
|
3402
|
-
description: string;
|
|
3403
3517
|
name: string;
|
|
3518
|
+
description: string;
|
|
3404
3519
|
definition: {
|
|
3405
3520
|
shell: string;
|
|
3406
3521
|
page: string;
|
|
3407
|
-
id: string;
|
|
3408
3522
|
sections: {
|
|
3409
3523
|
id: string;
|
|
3524
|
+
pattern: string;
|
|
3410
3525
|
components: {
|
|
3411
3526
|
type: string;
|
|
3412
3527
|
props?: Record<string, unknown> | undefined;
|
|
3413
3528
|
children?: string | unknown[] | undefined;
|
|
3414
3529
|
}[];
|
|
3415
|
-
pattern: string;
|
|
3416
3530
|
slot?: string | undefined;
|
|
3417
3531
|
}[];
|
|
3532
|
+
id: string;
|
|
3533
|
+
name?: string | undefined;
|
|
3418
3534
|
description?: string | undefined;
|
|
3419
3535
|
themeId?: string | undefined;
|
|
3420
|
-
name?: string | undefined;
|
|
3421
3536
|
metadata?: {
|
|
3422
3537
|
version?: string | undefined;
|
|
3423
3538
|
created?: string | undefined;
|
|
@@ -3426,25 +3541,25 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3426
3541
|
} | undefined;
|
|
3427
3542
|
};
|
|
3428
3543
|
}, {
|
|
3429
|
-
description: string;
|
|
3430
3544
|
name: string;
|
|
3545
|
+
description: string;
|
|
3431
3546
|
definition: {
|
|
3432
3547
|
shell: string;
|
|
3433
3548
|
page: string;
|
|
3434
|
-
id: string;
|
|
3435
3549
|
sections: {
|
|
3436
3550
|
id: string;
|
|
3551
|
+
pattern: string;
|
|
3437
3552
|
components: {
|
|
3438
3553
|
type: string;
|
|
3439
3554
|
props?: Record<string, unknown> | undefined;
|
|
3440
3555
|
children?: string | unknown[] | undefined;
|
|
3441
3556
|
}[];
|
|
3442
|
-
pattern: string;
|
|
3443
3557
|
slot?: string | undefined;
|
|
3444
3558
|
}[];
|
|
3559
|
+
id: string;
|
|
3560
|
+
name?: string | undefined;
|
|
3445
3561
|
description?: string | undefined;
|
|
3446
3562
|
themeId?: string | undefined;
|
|
3447
|
-
name?: string | undefined;
|
|
3448
3563
|
metadata?: {
|
|
3449
3564
|
version?: string | undefined;
|
|
3450
3565
|
created?: string | undefined;
|
|
@@ -3480,13 +3595,13 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3480
3595
|
message: z.ZodString;
|
|
3481
3596
|
example: z.ZodOptional<z.ZodString>;
|
|
3482
3597
|
}, "strip", z.ZodTypeAny, {
|
|
3598
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3483
3599
|
message: string;
|
|
3484
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3485
3600
|
priority: "high" | "medium" | "low";
|
|
3486
3601
|
example?: string | undefined;
|
|
3487
3602
|
}, {
|
|
3603
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3488
3604
|
message: string;
|
|
3489
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
3490
3605
|
priority: "high" | "medium" | "low";
|
|
3491
3606
|
example?: string | undefined;
|
|
3492
3607
|
}>;
|
|
@@ -3503,14 +3618,14 @@ export declare const WorkflowStepSchema: z.ZodObject<{
|
|
|
3503
3618
|
example: z.ZodOptional<z.ZodString>;
|
|
3504
3619
|
}, "strip", z.ZodTypeAny, {
|
|
3505
3620
|
description: string;
|
|
3506
|
-
step: number;
|
|
3507
3621
|
action: string;
|
|
3622
|
+
step: number;
|
|
3508
3623
|
example?: string | undefined;
|
|
3509
3624
|
tool?: string | undefined;
|
|
3510
3625
|
}, {
|
|
3511
3626
|
description: string;
|
|
3512
|
-
step: number;
|
|
3513
3627
|
action: string;
|
|
3628
|
+
step: number;
|
|
3514
3629
|
example?: string | undefined;
|
|
3515
3630
|
tool?: string | undefined;
|
|
3516
3631
|
}>;
|
|
@@ -3530,14 +3645,14 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3530
3645
|
example: z.ZodOptional<z.ZodString>;
|
|
3531
3646
|
}, "strip", z.ZodTypeAny, {
|
|
3532
3647
|
description: string;
|
|
3533
|
-
step: number;
|
|
3534
3648
|
action: string;
|
|
3649
|
+
step: number;
|
|
3535
3650
|
example?: string | undefined;
|
|
3536
3651
|
tool?: string | undefined;
|
|
3537
3652
|
}, {
|
|
3538
3653
|
description: string;
|
|
3539
|
-
step: number;
|
|
3540
3654
|
action: string;
|
|
3655
|
+
step: number;
|
|
3541
3656
|
example?: string | undefined;
|
|
3542
3657
|
tool?: string | undefined;
|
|
3543
3658
|
}>, "many">;
|
|
@@ -3547,8 +3662,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3547
3662
|
title: string;
|
|
3548
3663
|
steps: {
|
|
3549
3664
|
description: string;
|
|
3550
|
-
step: number;
|
|
3551
3665
|
action: string;
|
|
3666
|
+
step: number;
|
|
3552
3667
|
example?: string | undefined;
|
|
3553
3668
|
tool?: string | undefined;
|
|
3554
3669
|
}[];
|
|
@@ -3558,8 +3673,8 @@ export declare const WorkflowGuideSchema: z.ZodObject<{
|
|
|
3558
3673
|
title: string;
|
|
3559
3674
|
steps: {
|
|
3560
3675
|
description: string;
|
|
3561
|
-
step: number;
|
|
3562
3676
|
action: string;
|
|
3677
|
+
step: number;
|
|
3563
3678
|
example?: string | undefined;
|
|
3564
3679
|
tool?: string | undefined;
|
|
3565
3680
|
}[];
|
|
@@ -3586,44 +3701,44 @@ export declare const DefinitionStarterSchema: z.ZodObject<{
|
|
|
3586
3701
|
}>, "many">;
|
|
3587
3702
|
}, "strip", z.ZodTypeAny, {
|
|
3588
3703
|
id: string;
|
|
3704
|
+
pattern: string;
|
|
3589
3705
|
components: {
|
|
3590
3706
|
type: string;
|
|
3591
3707
|
props?: Record<string, unknown> | undefined;
|
|
3592
3708
|
}[];
|
|
3593
|
-
pattern: string;
|
|
3594
3709
|
}, {
|
|
3595
3710
|
id: string;
|
|
3711
|
+
pattern: string;
|
|
3596
3712
|
components: {
|
|
3597
3713
|
type: string;
|
|
3598
3714
|
props?: Record<string, unknown> | undefined;
|
|
3599
3715
|
}[];
|
|
3600
|
-
pattern: string;
|
|
3601
3716
|
}>, "many">;
|
|
3602
3717
|
}, "strip", z.ZodTypeAny, {
|
|
3603
3718
|
shell: string;
|
|
3604
3719
|
page: string;
|
|
3605
|
-
id: string;
|
|
3606
3720
|
sections: {
|
|
3607
3721
|
id: string;
|
|
3722
|
+
pattern: string;
|
|
3608
3723
|
components: {
|
|
3609
3724
|
type: string;
|
|
3610
3725
|
props?: Record<string, unknown> | undefined;
|
|
3611
3726
|
}[];
|
|
3612
|
-
pattern: string;
|
|
3613
3727
|
}[];
|
|
3728
|
+
id: string;
|
|
3614
3729
|
themeId?: string | undefined;
|
|
3615
3730
|
}, {
|
|
3616
3731
|
shell: string;
|
|
3617
3732
|
page: string;
|
|
3618
|
-
id: string;
|
|
3619
3733
|
sections: {
|
|
3620
3734
|
id: string;
|
|
3735
|
+
pattern: string;
|
|
3621
3736
|
components: {
|
|
3622
3737
|
type: string;
|
|
3623
3738
|
props?: Record<string, unknown> | undefined;
|
|
3624
3739
|
}[];
|
|
3625
|
-
pattern: string;
|
|
3626
3740
|
}[];
|
|
3741
|
+
id: string;
|
|
3627
3742
|
themeId?: string | undefined;
|
|
3628
3743
|
}>;
|
|
3629
3744
|
export type DefinitionStarter = z.infer<typeof DefinitionStarterSchema>;
|
|
@@ -3648,13 +3763,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3648
3763
|
slot: z.ZodString;
|
|
3649
3764
|
required: z.ZodBoolean;
|
|
3650
3765
|
}, "strip", z.ZodTypeAny, {
|
|
3651
|
-
id: string;
|
|
3652
3766
|
name: string;
|
|
3767
|
+
id: string;
|
|
3653
3768
|
required: boolean;
|
|
3654
3769
|
slot: string;
|
|
3655
3770
|
}, {
|
|
3656
|
-
id: string;
|
|
3657
3771
|
name: string;
|
|
3772
|
+
id: string;
|
|
3658
3773
|
required: boolean;
|
|
3659
3774
|
slot: string;
|
|
3660
3775
|
}>, "many">;
|
|
@@ -3662,8 +3777,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3662
3777
|
shell: string;
|
|
3663
3778
|
page: string;
|
|
3664
3779
|
sections: {
|
|
3665
|
-
id: string;
|
|
3666
3780
|
name: string;
|
|
3781
|
+
id: string;
|
|
3667
3782
|
required: boolean;
|
|
3668
3783
|
slot: string;
|
|
3669
3784
|
}[];
|
|
@@ -3671,42 +3786,42 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3671
3786
|
shell: string;
|
|
3672
3787
|
page: string;
|
|
3673
3788
|
sections: {
|
|
3674
|
-
id: string;
|
|
3675
3789
|
name: string;
|
|
3790
|
+
id: string;
|
|
3676
3791
|
required: boolean;
|
|
3677
3792
|
slot: string;
|
|
3678
3793
|
}[];
|
|
3679
3794
|
}>>;
|
|
3680
3795
|
requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3681
3796
|
}, "strip", z.ZodTypeAny, {
|
|
3797
|
+
category: string;
|
|
3682
3798
|
templateId: string;
|
|
3683
3799
|
templateName: string;
|
|
3684
|
-
category: string;
|
|
3685
3800
|
confidence: number;
|
|
3686
3801
|
matchedKeywords: string[];
|
|
3687
3802
|
skeleton?: {
|
|
3688
3803
|
shell: string;
|
|
3689
3804
|
page: string;
|
|
3690
3805
|
sections: {
|
|
3691
|
-
id: string;
|
|
3692
3806
|
name: string;
|
|
3807
|
+
id: string;
|
|
3693
3808
|
required: boolean;
|
|
3694
3809
|
slot: string;
|
|
3695
3810
|
}[];
|
|
3696
3811
|
} | undefined;
|
|
3697
3812
|
requiredComponents?: string[] | undefined;
|
|
3698
3813
|
}, {
|
|
3814
|
+
category: string;
|
|
3699
3815
|
templateId: string;
|
|
3700
3816
|
templateName: string;
|
|
3701
|
-
category: string;
|
|
3702
3817
|
confidence: number;
|
|
3703
3818
|
matchedKeywords: string[];
|
|
3704
3819
|
skeleton?: {
|
|
3705
3820
|
shell: string;
|
|
3706
3821
|
page: string;
|
|
3707
3822
|
sections: {
|
|
3708
|
-
id: string;
|
|
3709
3823
|
name: string;
|
|
3824
|
+
id: string;
|
|
3710
3825
|
required: boolean;
|
|
3711
3826
|
slot: string;
|
|
3712
3827
|
}[];
|
|
@@ -3726,14 +3841,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3726
3841
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3727
3842
|
description: z.ZodOptional<z.ZodString>;
|
|
3728
3843
|
}, "strip", z.ZodTypeAny, {
|
|
3729
|
-
type: string;
|
|
3730
3844
|
name: string;
|
|
3845
|
+
type: string;
|
|
3731
3846
|
required: boolean;
|
|
3732
3847
|
description?: string | undefined;
|
|
3733
3848
|
defaultValue?: string | undefined;
|
|
3734
3849
|
}, {
|
|
3735
|
-
type: string;
|
|
3736
3850
|
name: string;
|
|
3851
|
+
type: string;
|
|
3737
3852
|
required: boolean;
|
|
3738
3853
|
description?: string | undefined;
|
|
3739
3854
|
defaultValue?: string | undefined;
|
|
@@ -3743,12 +3858,12 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3743
3858
|
value: z.ZodString;
|
|
3744
3859
|
description: z.ZodOptional<z.ZodString>;
|
|
3745
3860
|
}, "strip", z.ZodTypeAny, {
|
|
3746
|
-
value: string;
|
|
3747
3861
|
name: string;
|
|
3862
|
+
value: string;
|
|
3748
3863
|
description?: string | undefined;
|
|
3749
3864
|
}, {
|
|
3750
|
-
value: string;
|
|
3751
3865
|
name: string;
|
|
3866
|
+
value: string;
|
|
3752
3867
|
description?: string | undefined;
|
|
3753
3868
|
}>, "many">>;
|
|
3754
3869
|
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
@@ -3761,72 +3876,72 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3761
3876
|
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
3762
3877
|
}, "strip", z.ZodTypeAny, {
|
|
3763
3878
|
status: "full" | "partial" | "avoid";
|
|
3764
|
-
|
|
3879
|
+
target: "web" | "react-native";
|
|
3765
3880
|
supported: boolean;
|
|
3766
3881
|
recommended: boolean;
|
|
3767
|
-
|
|
3882
|
+
notes: string[];
|
|
3768
3883
|
recommendedImports: string[];
|
|
3769
3884
|
recommendedPackages: string[];
|
|
3770
3885
|
}, {
|
|
3771
3886
|
status: "full" | "partial" | "avoid";
|
|
3772
|
-
|
|
3887
|
+
target: "web" | "react-native";
|
|
3773
3888
|
supported: boolean;
|
|
3774
3889
|
recommended: boolean;
|
|
3775
|
-
|
|
3890
|
+
notes: string[];
|
|
3776
3891
|
recommendedImports: string[];
|
|
3777
3892
|
recommendedPackages: string[];
|
|
3778
3893
|
}>>;
|
|
3779
3894
|
}, "strip", z.ZodTypeAny, {
|
|
3780
|
-
description: string;
|
|
3781
3895
|
category: "core" | "complex" | "advanced";
|
|
3782
|
-
id: string;
|
|
3783
3896
|
name: string;
|
|
3784
|
-
|
|
3897
|
+
description: string;
|
|
3898
|
+
id: string;
|
|
3785
3899
|
props: {
|
|
3786
|
-
type: string;
|
|
3787
3900
|
name: string;
|
|
3901
|
+
type: string;
|
|
3788
3902
|
required: boolean;
|
|
3789
3903
|
description?: string | undefined;
|
|
3790
3904
|
defaultValue?: string | undefined;
|
|
3791
3905
|
}[];
|
|
3906
|
+
importStatement: string;
|
|
3792
3907
|
variants?: {
|
|
3793
|
-
value: string;
|
|
3794
3908
|
name: string;
|
|
3909
|
+
value: string;
|
|
3795
3910
|
description?: string | undefined;
|
|
3796
3911
|
}[] | undefined;
|
|
3797
3912
|
platformSupport?: {
|
|
3798
3913
|
status: "full" | "partial" | "avoid";
|
|
3799
|
-
|
|
3914
|
+
target: "web" | "react-native";
|
|
3800
3915
|
supported: boolean;
|
|
3801
3916
|
recommended: boolean;
|
|
3802
|
-
|
|
3917
|
+
notes: string[];
|
|
3803
3918
|
recommendedImports: string[];
|
|
3804
3919
|
recommendedPackages: string[];
|
|
3805
3920
|
} | undefined;
|
|
3806
3921
|
}, {
|
|
3807
|
-
description: string;
|
|
3808
3922
|
category: "core" | "complex" | "advanced";
|
|
3809
|
-
id: string;
|
|
3810
3923
|
name: string;
|
|
3811
|
-
|
|
3924
|
+
description: string;
|
|
3925
|
+
id: string;
|
|
3812
3926
|
props: {
|
|
3813
|
-
type: string;
|
|
3814
3927
|
name: string;
|
|
3928
|
+
type: string;
|
|
3815
3929
|
required: boolean;
|
|
3816
3930
|
description?: string | undefined;
|
|
3817
3931
|
defaultValue?: string | undefined;
|
|
3818
3932
|
}[];
|
|
3933
|
+
importStatement: string;
|
|
3819
3934
|
variants?: {
|
|
3820
|
-
value: string;
|
|
3821
3935
|
name: string;
|
|
3936
|
+
value: string;
|
|
3822
3937
|
description?: string | undefined;
|
|
3823
3938
|
}[] | undefined;
|
|
3824
3939
|
platformSupport?: {
|
|
3825
3940
|
status: "full" | "partial" | "avoid";
|
|
3826
|
-
|
|
3941
|
+
target: "web" | "react-native";
|
|
3827
3942
|
supported: boolean;
|
|
3828
3943
|
recommended: boolean;
|
|
3829
|
-
|
|
3944
|
+
notes: string[];
|
|
3830
3945
|
recommendedImports: string[];
|
|
3831
3946
|
recommendedPackages: string[];
|
|
3832
3947
|
} | undefined;
|
|
@@ -3851,44 +3966,44 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3851
3966
|
}>, "many">;
|
|
3852
3967
|
}, "strip", z.ZodTypeAny, {
|
|
3853
3968
|
id: string;
|
|
3969
|
+
pattern: string;
|
|
3854
3970
|
components: {
|
|
3855
3971
|
type: string;
|
|
3856
3972
|
props?: Record<string, unknown> | undefined;
|
|
3857
3973
|
}[];
|
|
3858
|
-
pattern: string;
|
|
3859
3974
|
}, {
|
|
3860
3975
|
id: string;
|
|
3976
|
+
pattern: string;
|
|
3861
3977
|
components: {
|
|
3862
3978
|
type: string;
|
|
3863
3979
|
props?: Record<string, unknown> | undefined;
|
|
3864
3980
|
}[];
|
|
3865
|
-
pattern: string;
|
|
3866
3981
|
}>, "many">;
|
|
3867
3982
|
}, "strip", z.ZodTypeAny, {
|
|
3868
3983
|
shell: string;
|
|
3869
3984
|
page: string;
|
|
3870
|
-
id: string;
|
|
3871
3985
|
sections: {
|
|
3872
3986
|
id: string;
|
|
3987
|
+
pattern: string;
|
|
3873
3988
|
components: {
|
|
3874
3989
|
type: string;
|
|
3875
3990
|
props?: Record<string, unknown> | undefined;
|
|
3876
3991
|
}[];
|
|
3877
|
-
pattern: string;
|
|
3878
3992
|
}[];
|
|
3993
|
+
id: string;
|
|
3879
3994
|
themeId?: string | undefined;
|
|
3880
3995
|
}, {
|
|
3881
3996
|
shell: string;
|
|
3882
3997
|
page: string;
|
|
3883
|
-
id: string;
|
|
3884
3998
|
sections: {
|
|
3885
3999
|
id: string;
|
|
4000
|
+
pattern: string;
|
|
3886
4001
|
components: {
|
|
3887
4002
|
type: string;
|
|
3888
4003
|
props?: Record<string, unknown> | undefined;
|
|
3889
4004
|
}[];
|
|
3890
|
-
pattern: string;
|
|
3891
4005
|
}[];
|
|
4006
|
+
id: string;
|
|
3892
4007
|
themeId?: string | undefined;
|
|
3893
4008
|
}>>;
|
|
3894
4009
|
schema: z.ZodOptional<z.ZodObject<{
|
|
@@ -3930,21 +4045,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3930
4045
|
}>, "many">;
|
|
3931
4046
|
}, "strip", z.ZodTypeAny, {
|
|
3932
4047
|
id: string;
|
|
4048
|
+
pattern: string;
|
|
3933
4049
|
components: {
|
|
3934
4050
|
type: string;
|
|
3935
4051
|
props?: Record<string, unknown> | undefined;
|
|
3936
4052
|
children?: string | unknown[] | undefined;
|
|
3937
4053
|
}[];
|
|
3938
|
-
pattern: string;
|
|
3939
4054
|
slot?: string | undefined;
|
|
3940
4055
|
}, {
|
|
3941
4056
|
id: string;
|
|
4057
|
+
pattern: string;
|
|
3942
4058
|
components: {
|
|
3943
4059
|
type: string;
|
|
3944
4060
|
props?: Record<string, unknown> | undefined;
|
|
3945
4061
|
children?: string | unknown[] | undefined;
|
|
3946
4062
|
}[];
|
|
3947
|
-
pattern: string;
|
|
3948
4063
|
slot?: string | undefined;
|
|
3949
4064
|
}>, "many">;
|
|
3950
4065
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3966,20 +4081,20 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3966
4081
|
}, "strip", z.ZodTypeAny, {
|
|
3967
4082
|
shell: string;
|
|
3968
4083
|
page: string;
|
|
3969
|
-
id: string;
|
|
3970
4084
|
sections: {
|
|
3971
4085
|
id: string;
|
|
4086
|
+
pattern: string;
|
|
3972
4087
|
components: {
|
|
3973
4088
|
type: string;
|
|
3974
4089
|
props?: Record<string, unknown> | undefined;
|
|
3975
4090
|
children?: string | unknown[] | undefined;
|
|
3976
4091
|
}[];
|
|
3977
|
-
pattern: string;
|
|
3978
4092
|
slot?: string | undefined;
|
|
3979
4093
|
}[];
|
|
4094
|
+
id: string;
|
|
4095
|
+
name?: string | undefined;
|
|
3980
4096
|
description?: string | undefined;
|
|
3981
4097
|
themeId?: string | undefined;
|
|
3982
|
-
name?: string | undefined;
|
|
3983
4098
|
metadata?: {
|
|
3984
4099
|
version?: string | undefined;
|
|
3985
4100
|
created?: string | undefined;
|
|
@@ -3989,20 +4104,20 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3989
4104
|
}, {
|
|
3990
4105
|
shell: string;
|
|
3991
4106
|
page: string;
|
|
3992
|
-
id: string;
|
|
3993
4107
|
sections: {
|
|
3994
4108
|
id: string;
|
|
4109
|
+
pattern: string;
|
|
3995
4110
|
components: {
|
|
3996
4111
|
type: string;
|
|
3997
4112
|
props?: Record<string, unknown> | undefined;
|
|
3998
4113
|
children?: string | unknown[] | undefined;
|
|
3999
4114
|
}[];
|
|
4000
|
-
pattern: string;
|
|
4001
4115
|
slot?: string | undefined;
|
|
4002
4116
|
}[];
|
|
4117
|
+
id: string;
|
|
4118
|
+
name?: string | undefined;
|
|
4003
4119
|
description?: string | undefined;
|
|
4004
4120
|
themeId?: string | undefined;
|
|
4005
|
-
name?: string | undefined;
|
|
4006
4121
|
metadata?: {
|
|
4007
4122
|
version?: string | undefined;
|
|
4008
4123
|
created?: string | undefined;
|
|
@@ -4011,25 +4126,25 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4011
4126
|
} | undefined;
|
|
4012
4127
|
}>;
|
|
4013
4128
|
}, "strip", z.ZodTypeAny, {
|
|
4014
|
-
description: string;
|
|
4015
4129
|
name: string;
|
|
4130
|
+
description: string;
|
|
4016
4131
|
definition: {
|
|
4017
4132
|
shell: string;
|
|
4018
4133
|
page: string;
|
|
4019
|
-
id: string;
|
|
4020
4134
|
sections: {
|
|
4021
4135
|
id: string;
|
|
4136
|
+
pattern: string;
|
|
4022
4137
|
components: {
|
|
4023
4138
|
type: string;
|
|
4024
4139
|
props?: Record<string, unknown> | undefined;
|
|
4025
4140
|
children?: string | unknown[] | undefined;
|
|
4026
4141
|
}[];
|
|
4027
|
-
pattern: string;
|
|
4028
4142
|
slot?: string | undefined;
|
|
4029
4143
|
}[];
|
|
4144
|
+
id: string;
|
|
4145
|
+
name?: string | undefined;
|
|
4030
4146
|
description?: string | undefined;
|
|
4031
4147
|
themeId?: string | undefined;
|
|
4032
|
-
name?: string | undefined;
|
|
4033
4148
|
metadata?: {
|
|
4034
4149
|
version?: string | undefined;
|
|
4035
4150
|
created?: string | undefined;
|
|
@@ -4038,25 +4153,25 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4038
4153
|
} | undefined;
|
|
4039
4154
|
};
|
|
4040
4155
|
}, {
|
|
4041
|
-
description: string;
|
|
4042
4156
|
name: string;
|
|
4157
|
+
description: string;
|
|
4043
4158
|
definition: {
|
|
4044
4159
|
shell: string;
|
|
4045
4160
|
page: string;
|
|
4046
|
-
id: string;
|
|
4047
4161
|
sections: {
|
|
4048
4162
|
id: string;
|
|
4163
|
+
pattern: string;
|
|
4049
4164
|
components: {
|
|
4050
4165
|
type: string;
|
|
4051
4166
|
props?: Record<string, unknown> | undefined;
|
|
4052
4167
|
children?: string | unknown[] | undefined;
|
|
4053
4168
|
}[];
|
|
4054
|
-
pattern: string;
|
|
4055
4169
|
slot?: string | undefined;
|
|
4056
4170
|
}[];
|
|
4171
|
+
id: string;
|
|
4172
|
+
name?: string | undefined;
|
|
4057
4173
|
description?: string | undefined;
|
|
4058
4174
|
themeId?: string | undefined;
|
|
4059
|
-
name?: string | undefined;
|
|
4060
4175
|
metadata?: {
|
|
4061
4176
|
version?: string | undefined;
|
|
4062
4177
|
created?: string | undefined;
|
|
@@ -4084,13 +4199,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4084
4199
|
message: z.ZodString;
|
|
4085
4200
|
example: z.ZodOptional<z.ZodString>;
|
|
4086
4201
|
}, "strip", z.ZodTypeAny, {
|
|
4202
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
4087
4203
|
message: string;
|
|
4088
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
4089
4204
|
priority: "high" | "medium" | "low";
|
|
4090
4205
|
example?: string | undefined;
|
|
4091
4206
|
}, {
|
|
4207
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
4092
4208
|
message: string;
|
|
4093
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
4094
4209
|
priority: "high" | "medium" | "low";
|
|
4095
4210
|
example?: string | undefined;
|
|
4096
4211
|
}>, "many">>;
|
|
@@ -4105,14 +4220,14 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4105
4220
|
example: z.ZodOptional<z.ZodString>;
|
|
4106
4221
|
}, "strip", z.ZodTypeAny, {
|
|
4107
4222
|
description: string;
|
|
4108
|
-
step: number;
|
|
4109
4223
|
action: string;
|
|
4224
|
+
step: number;
|
|
4110
4225
|
example?: string | undefined;
|
|
4111
4226
|
tool?: string | undefined;
|
|
4112
4227
|
}, {
|
|
4113
4228
|
description: string;
|
|
4114
|
-
step: number;
|
|
4115
4229
|
action: string;
|
|
4230
|
+
step: number;
|
|
4116
4231
|
example?: string | undefined;
|
|
4117
4232
|
tool?: string | undefined;
|
|
4118
4233
|
}>, "many">;
|
|
@@ -4121,105 +4236,65 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4121
4236
|
description: string;
|
|
4122
4237
|
title: string;
|
|
4123
4238
|
steps: {
|
|
4124
|
-
description: string;
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
example?: string | undefined;
|
|
4128
|
-
tool?: string | undefined;
|
|
4129
|
-
}[];
|
|
4130
|
-
notes?: string[] | undefined;
|
|
4131
|
-
}, {
|
|
4132
|
-
description: string;
|
|
4133
|
-
title: string;
|
|
4134
|
-
steps: {
|
|
4135
|
-
description: string;
|
|
4136
|
-
step: number;
|
|
4137
|
-
action: string;
|
|
4138
|
-
example?: string | undefined;
|
|
4139
|
-
tool?: string | undefined;
|
|
4140
|
-
}[];
|
|
4141
|
-
notes?: string[] | undefined;
|
|
4142
|
-
}>>;
|
|
4143
|
-
directWrite: z.ZodOptional<z.ZodObject<{
|
|
4144
|
-
runtime: z.ZodString;
|
|
4145
|
-
entryStrategy: z.ZodString;
|
|
4146
|
-
stylingStrategy: z.ZodString;
|
|
4147
|
-
validationStrategy: z.ZodString;
|
|
4148
|
-
}, "strip", z.ZodTypeAny, {
|
|
4149
|
-
runtime: string;
|
|
4150
|
-
entryStrategy: string;
|
|
4151
|
-
stylingStrategy: string;
|
|
4152
|
-
validationStrategy: string;
|
|
4153
|
-
}, {
|
|
4154
|
-
runtime: string;
|
|
4155
|
-
entryStrategy: string;
|
|
4156
|
-
stylingStrategy: string;
|
|
4157
|
-
validationStrategy: string;
|
|
4158
|
-
}>>;
|
|
4159
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4160
|
-
}, "strip", z.ZodTypeAny, {
|
|
4161
|
-
success: boolean;
|
|
4162
|
-
error?: string | undefined;
|
|
4163
|
-
components?: {
|
|
4164
|
-
description: string;
|
|
4165
|
-
category: "core" | "complex" | "advanced";
|
|
4166
|
-
id: string;
|
|
4167
|
-
name: string;
|
|
4168
|
-
importStatement: string;
|
|
4169
|
-
props: {
|
|
4170
|
-
type: string;
|
|
4171
|
-
name: string;
|
|
4172
|
-
required: boolean;
|
|
4173
|
-
description?: string | undefined;
|
|
4174
|
-
defaultValue?: string | undefined;
|
|
4175
|
-
}[];
|
|
4176
|
-
variants?: {
|
|
4177
|
-
value: string;
|
|
4178
|
-
name: string;
|
|
4179
|
-
description?: string | undefined;
|
|
4180
|
-
}[] | undefined;
|
|
4181
|
-
platformSupport?: {
|
|
4182
|
-
status: "full" | "partial" | "avoid";
|
|
4183
|
-
notes: string[];
|
|
4184
|
-
supported: boolean;
|
|
4185
|
-
recommended: boolean;
|
|
4186
|
-
target: "web" | "react-native";
|
|
4187
|
-
recommendedImports: string[];
|
|
4188
|
-
recommendedPackages: string[];
|
|
4189
|
-
} | undefined;
|
|
4190
|
-
}[] | undefined;
|
|
4191
|
-
workflow?: {
|
|
4239
|
+
description: string;
|
|
4240
|
+
action: string;
|
|
4241
|
+
step: number;
|
|
4242
|
+
example?: string | undefined;
|
|
4243
|
+
tool?: string | undefined;
|
|
4244
|
+
}[];
|
|
4245
|
+
notes?: string[] | undefined;
|
|
4246
|
+
}, {
|
|
4192
4247
|
description: string;
|
|
4193
4248
|
title: string;
|
|
4194
4249
|
steps: {
|
|
4195
4250
|
description: string;
|
|
4196
|
-
step: number;
|
|
4197
4251
|
action: string;
|
|
4252
|
+
step: number;
|
|
4198
4253
|
example?: string | undefined;
|
|
4199
4254
|
tool?: string | undefined;
|
|
4200
4255
|
}[];
|
|
4201
4256
|
notes?: string[] | undefined;
|
|
4202
|
-
}
|
|
4257
|
+
}>>;
|
|
4258
|
+
directWrite: z.ZodOptional<z.ZodObject<{
|
|
4259
|
+
runtime: z.ZodString;
|
|
4260
|
+
entryStrategy: z.ZodString;
|
|
4261
|
+
stylingStrategy: z.ZodString;
|
|
4262
|
+
validationStrategy: z.ZodString;
|
|
4263
|
+
}, "strip", z.ZodTypeAny, {
|
|
4264
|
+
runtime: string;
|
|
4265
|
+
entryStrategy: string;
|
|
4266
|
+
stylingStrategy: string;
|
|
4267
|
+
validationStrategy: string;
|
|
4268
|
+
}, {
|
|
4269
|
+
runtime: string;
|
|
4270
|
+
entryStrategy: string;
|
|
4271
|
+
stylingStrategy: string;
|
|
4272
|
+
validationStrategy: string;
|
|
4273
|
+
}>>;
|
|
4274
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4275
|
+
}, "strip", z.ZodTypeAny, {
|
|
4276
|
+
success: boolean;
|
|
4277
|
+
error?: string | undefined;
|
|
4203
4278
|
examples?: {
|
|
4204
|
-
description: string;
|
|
4205
4279
|
name: string;
|
|
4280
|
+
description: string;
|
|
4206
4281
|
definition: {
|
|
4207
4282
|
shell: string;
|
|
4208
4283
|
page: string;
|
|
4209
|
-
id: string;
|
|
4210
4284
|
sections: {
|
|
4211
4285
|
id: string;
|
|
4286
|
+
pattern: string;
|
|
4212
4287
|
components: {
|
|
4213
4288
|
type: string;
|
|
4214
4289
|
props?: Record<string, unknown> | undefined;
|
|
4215
4290
|
children?: string | unknown[] | undefined;
|
|
4216
4291
|
}[];
|
|
4217
|
-
pattern: string;
|
|
4218
4292
|
slot?: string | undefined;
|
|
4219
4293
|
}[];
|
|
4294
|
+
id: string;
|
|
4295
|
+
name?: string | undefined;
|
|
4220
4296
|
description?: string | undefined;
|
|
4221
4297
|
themeId?: string | undefined;
|
|
4222
|
-
name?: string | undefined;
|
|
4223
4298
|
metadata?: {
|
|
4224
4299
|
version?: string | undefined;
|
|
4225
4300
|
created?: string | undefined;
|
|
@@ -4228,19 +4303,59 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4228
4303
|
} | undefined;
|
|
4229
4304
|
};
|
|
4230
4305
|
}[] | undefined;
|
|
4306
|
+
workflow?: {
|
|
4307
|
+
description: string;
|
|
4308
|
+
title: string;
|
|
4309
|
+
steps: {
|
|
4310
|
+
description: string;
|
|
4311
|
+
action: string;
|
|
4312
|
+
step: number;
|
|
4313
|
+
example?: string | undefined;
|
|
4314
|
+
tool?: string | undefined;
|
|
4315
|
+
}[];
|
|
4316
|
+
notes?: string[] | undefined;
|
|
4317
|
+
} | undefined;
|
|
4318
|
+
components?: {
|
|
4319
|
+
category: "core" | "complex" | "advanced";
|
|
4320
|
+
name: string;
|
|
4321
|
+
description: string;
|
|
4322
|
+
id: string;
|
|
4323
|
+
props: {
|
|
4324
|
+
name: string;
|
|
4325
|
+
type: string;
|
|
4326
|
+
required: boolean;
|
|
4327
|
+
description?: string | undefined;
|
|
4328
|
+
defaultValue?: string | undefined;
|
|
4329
|
+
}[];
|
|
4330
|
+
importStatement: string;
|
|
4331
|
+
variants?: {
|
|
4332
|
+
name: string;
|
|
4333
|
+
value: string;
|
|
4334
|
+
description?: string | undefined;
|
|
4335
|
+
}[] | undefined;
|
|
4336
|
+
platformSupport?: {
|
|
4337
|
+
status: "full" | "partial" | "avoid";
|
|
4338
|
+
target: "web" | "react-native";
|
|
4339
|
+
supported: boolean;
|
|
4340
|
+
recommended: boolean;
|
|
4341
|
+
notes: string[];
|
|
4342
|
+
recommendedImports: string[];
|
|
4343
|
+
recommendedPackages: string[];
|
|
4344
|
+
} | undefined;
|
|
4345
|
+
}[] | undefined;
|
|
4231
4346
|
targetPlatform?: "web" | "react-native" | undefined;
|
|
4232
4347
|
templateMatch?: {
|
|
4348
|
+
category: string;
|
|
4233
4349
|
templateId: string;
|
|
4234
4350
|
templateName: string;
|
|
4235
|
-
category: string;
|
|
4236
4351
|
confidence: number;
|
|
4237
4352
|
matchedKeywords: string[];
|
|
4238
4353
|
skeleton?: {
|
|
4239
4354
|
shell: string;
|
|
4240
4355
|
page: string;
|
|
4241
4356
|
sections: {
|
|
4242
|
-
id: string;
|
|
4243
4357
|
name: string;
|
|
4358
|
+
id: string;
|
|
4244
4359
|
required: boolean;
|
|
4245
4360
|
slot: string;
|
|
4246
4361
|
}[];
|
|
@@ -4250,15 +4365,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4250
4365
|
definitionStarter?: {
|
|
4251
4366
|
shell: string;
|
|
4252
4367
|
page: string;
|
|
4253
|
-
id: string;
|
|
4254
4368
|
sections: {
|
|
4255
4369
|
id: string;
|
|
4370
|
+
pattern: string;
|
|
4256
4371
|
components: {
|
|
4257
4372
|
type: string;
|
|
4258
4373
|
props?: Record<string, unknown> | undefined;
|
|
4259
4374
|
}[];
|
|
4260
|
-
pattern: string;
|
|
4261
4375
|
}[];
|
|
4376
|
+
id: string;
|
|
4262
4377
|
themeId?: string | undefined;
|
|
4263
4378
|
} | undefined;
|
|
4264
4379
|
schema?: {
|
|
@@ -4271,8 +4386,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4271
4386
|
defaultClassName?: string | undefined;
|
|
4272
4387
|
}[] | undefined;
|
|
4273
4388
|
hints?: {
|
|
4389
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
4274
4390
|
message: string;
|
|
4275
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
4276
4391
|
priority: "high" | "medium" | "low";
|
|
4277
4392
|
example?: string | undefined;
|
|
4278
4393
|
}[] | undefined;
|
|
@@ -4285,66 +4400,26 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4285
4400
|
}, {
|
|
4286
4401
|
success: boolean;
|
|
4287
4402
|
error?: string | undefined;
|
|
4288
|
-
components?: {
|
|
4289
|
-
description: string;
|
|
4290
|
-
category: "core" | "complex" | "advanced";
|
|
4291
|
-
id: string;
|
|
4292
|
-
name: string;
|
|
4293
|
-
importStatement: string;
|
|
4294
|
-
props: {
|
|
4295
|
-
type: string;
|
|
4296
|
-
name: string;
|
|
4297
|
-
required: boolean;
|
|
4298
|
-
description?: string | undefined;
|
|
4299
|
-
defaultValue?: string | undefined;
|
|
4300
|
-
}[];
|
|
4301
|
-
variants?: {
|
|
4302
|
-
value: string;
|
|
4303
|
-
name: string;
|
|
4304
|
-
description?: string | undefined;
|
|
4305
|
-
}[] | undefined;
|
|
4306
|
-
platformSupport?: {
|
|
4307
|
-
status: "full" | "partial" | "avoid";
|
|
4308
|
-
notes: string[];
|
|
4309
|
-
supported: boolean;
|
|
4310
|
-
recommended: boolean;
|
|
4311
|
-
target: "web" | "react-native";
|
|
4312
|
-
recommendedImports: string[];
|
|
4313
|
-
recommendedPackages: string[];
|
|
4314
|
-
} | undefined;
|
|
4315
|
-
}[] | undefined;
|
|
4316
|
-
workflow?: {
|
|
4317
|
-
description: string;
|
|
4318
|
-
title: string;
|
|
4319
|
-
steps: {
|
|
4320
|
-
description: string;
|
|
4321
|
-
step: number;
|
|
4322
|
-
action: string;
|
|
4323
|
-
example?: string | undefined;
|
|
4324
|
-
tool?: string | undefined;
|
|
4325
|
-
}[];
|
|
4326
|
-
notes?: string[] | undefined;
|
|
4327
|
-
} | undefined;
|
|
4328
4403
|
examples?: {
|
|
4329
|
-
description: string;
|
|
4330
4404
|
name: string;
|
|
4405
|
+
description: string;
|
|
4331
4406
|
definition: {
|
|
4332
4407
|
shell: string;
|
|
4333
4408
|
page: string;
|
|
4334
|
-
id: string;
|
|
4335
4409
|
sections: {
|
|
4336
4410
|
id: string;
|
|
4411
|
+
pattern: string;
|
|
4337
4412
|
components: {
|
|
4338
4413
|
type: string;
|
|
4339
4414
|
props?: Record<string, unknown> | undefined;
|
|
4340
4415
|
children?: string | unknown[] | undefined;
|
|
4341
4416
|
}[];
|
|
4342
|
-
pattern: string;
|
|
4343
4417
|
slot?: string | undefined;
|
|
4344
4418
|
}[];
|
|
4419
|
+
id: string;
|
|
4420
|
+
name?: string | undefined;
|
|
4345
4421
|
description?: string | undefined;
|
|
4346
4422
|
themeId?: string | undefined;
|
|
4347
|
-
name?: string | undefined;
|
|
4348
4423
|
metadata?: {
|
|
4349
4424
|
version?: string | undefined;
|
|
4350
4425
|
created?: string | undefined;
|
|
@@ -4353,19 +4428,59 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4353
4428
|
} | undefined;
|
|
4354
4429
|
};
|
|
4355
4430
|
}[] | undefined;
|
|
4431
|
+
workflow?: {
|
|
4432
|
+
description: string;
|
|
4433
|
+
title: string;
|
|
4434
|
+
steps: {
|
|
4435
|
+
description: string;
|
|
4436
|
+
action: string;
|
|
4437
|
+
step: number;
|
|
4438
|
+
example?: string | undefined;
|
|
4439
|
+
tool?: string | undefined;
|
|
4440
|
+
}[];
|
|
4441
|
+
notes?: string[] | undefined;
|
|
4442
|
+
} | undefined;
|
|
4443
|
+
components?: {
|
|
4444
|
+
category: "core" | "complex" | "advanced";
|
|
4445
|
+
name: string;
|
|
4446
|
+
description: string;
|
|
4447
|
+
id: string;
|
|
4448
|
+
props: {
|
|
4449
|
+
name: string;
|
|
4450
|
+
type: string;
|
|
4451
|
+
required: boolean;
|
|
4452
|
+
description?: string | undefined;
|
|
4453
|
+
defaultValue?: string | undefined;
|
|
4454
|
+
}[];
|
|
4455
|
+
importStatement: string;
|
|
4456
|
+
variants?: {
|
|
4457
|
+
name: string;
|
|
4458
|
+
value: string;
|
|
4459
|
+
description?: string | undefined;
|
|
4460
|
+
}[] | undefined;
|
|
4461
|
+
platformSupport?: {
|
|
4462
|
+
status: "full" | "partial" | "avoid";
|
|
4463
|
+
target: "web" | "react-native";
|
|
4464
|
+
supported: boolean;
|
|
4465
|
+
recommended: boolean;
|
|
4466
|
+
notes: string[];
|
|
4467
|
+
recommendedImports: string[];
|
|
4468
|
+
recommendedPackages: string[];
|
|
4469
|
+
} | undefined;
|
|
4470
|
+
}[] | undefined;
|
|
4356
4471
|
targetPlatform?: "web" | "react-native" | undefined;
|
|
4357
4472
|
templateMatch?: {
|
|
4473
|
+
category: string;
|
|
4358
4474
|
templateId: string;
|
|
4359
4475
|
templateName: string;
|
|
4360
|
-
category: string;
|
|
4361
4476
|
confidence: number;
|
|
4362
4477
|
matchedKeywords: string[];
|
|
4363
4478
|
skeleton?: {
|
|
4364
4479
|
shell: string;
|
|
4365
4480
|
page: string;
|
|
4366
4481
|
sections: {
|
|
4367
|
-
id: string;
|
|
4368
4482
|
name: string;
|
|
4483
|
+
id: string;
|
|
4369
4484
|
required: boolean;
|
|
4370
4485
|
slot: string;
|
|
4371
4486
|
}[];
|
|
@@ -4375,15 +4490,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4375
4490
|
definitionStarter?: {
|
|
4376
4491
|
shell: string;
|
|
4377
4492
|
page: string;
|
|
4378
|
-
id: string;
|
|
4379
4493
|
sections: {
|
|
4380
4494
|
id: string;
|
|
4495
|
+
pattern: string;
|
|
4381
4496
|
components: {
|
|
4382
4497
|
type: string;
|
|
4383
4498
|
props?: Record<string, unknown> | undefined;
|
|
4384
4499
|
}[];
|
|
4385
|
-
pattern: string;
|
|
4386
4500
|
}[];
|
|
4501
|
+
id: string;
|
|
4387
4502
|
themeId?: string | undefined;
|
|
4388
4503
|
} | undefined;
|
|
4389
4504
|
schema?: {
|
|
@@ -4396,8 +4511,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
4396
4511
|
defaultClassName?: string | undefined;
|
|
4397
4512
|
}[] | undefined;
|
|
4398
4513
|
hints?: {
|
|
4514
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
4399
4515
|
message: string;
|
|
4400
|
-
category: "layout" | "component" | "accessibility" | "styling" | "best-practice";
|
|
4401
4516
|
priority: "high" | "medium" | "low";
|
|
4402
4517
|
example?: string | undefined;
|
|
4403
4518
|
}[] | undefined;
|
|
@@ -4598,8 +4713,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4598
4713
|
value?: unknown;
|
|
4599
4714
|
}>, "many">>;
|
|
4600
4715
|
}, "strip", z.ZodTypeAny, {
|
|
4601
|
-
message: string;
|
|
4602
4716
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4717
|
+
message: string;
|
|
4603
4718
|
autoFix?: {
|
|
4604
4719
|
path: string;
|
|
4605
4720
|
op: "replace" | "add" | "remove";
|
|
@@ -4608,8 +4723,8 @@ export declare const ImprovementSuggestionSchema: z.ZodObject<{
|
|
|
4608
4723
|
affectedPath?: string | undefined;
|
|
4609
4724
|
suggestedChange?: string | undefined;
|
|
4610
4725
|
}, {
|
|
4611
|
-
message: string;
|
|
4612
4726
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4727
|
+
message: string;
|
|
4613
4728
|
autoFix?: {
|
|
4614
4729
|
path: string;
|
|
4615
4730
|
op: "replace" | "add" | "remove";
|
|
@@ -4705,8 +4820,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4705
4820
|
value?: unknown;
|
|
4706
4821
|
}>, "many">>;
|
|
4707
4822
|
}, "strip", z.ZodTypeAny, {
|
|
4708
|
-
message: string;
|
|
4709
4823
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4824
|
+
message: string;
|
|
4710
4825
|
autoFix?: {
|
|
4711
4826
|
path: string;
|
|
4712
4827
|
op: "replace" | "add" | "remove";
|
|
@@ -4715,8 +4830,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4715
4830
|
affectedPath?: string | undefined;
|
|
4716
4831
|
suggestedChange?: string | undefined;
|
|
4717
4832
|
}, {
|
|
4718
|
-
message: string;
|
|
4719
4833
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4834
|
+
message: string;
|
|
4720
4835
|
autoFix?: {
|
|
4721
4836
|
path: string;
|
|
4722
4837
|
op: "replace" | "add" | "remove";
|
|
@@ -4741,8 +4856,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4741
4856
|
error: z.ZodOptional<z.ZodString>;
|
|
4742
4857
|
}, "strip", z.ZodTypeAny, {
|
|
4743
4858
|
success: boolean;
|
|
4744
|
-
valid?: boolean | undefined;
|
|
4745
4859
|
error?: string | undefined;
|
|
4860
|
+
valid?: boolean | undefined;
|
|
4746
4861
|
errors?: {
|
|
4747
4862
|
code: string;
|
|
4748
4863
|
path: string;
|
|
@@ -4763,8 +4878,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4763
4878
|
recommendation?: string | undefined;
|
|
4764
4879
|
}[] | undefined;
|
|
4765
4880
|
suggestions?: {
|
|
4766
|
-
message: string;
|
|
4767
4881
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4882
|
+
message: string;
|
|
4768
4883
|
autoFix?: {
|
|
4769
4884
|
path: string;
|
|
4770
4885
|
op: "replace" | "add" | "remove";
|
|
@@ -4780,8 +4895,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4780
4895
|
}[] | undefined;
|
|
4781
4896
|
}, {
|
|
4782
4897
|
success: boolean;
|
|
4783
|
-
valid?: boolean | undefined;
|
|
4784
4898
|
error?: string | undefined;
|
|
4899
|
+
valid?: boolean | undefined;
|
|
4785
4900
|
errors?: {
|
|
4786
4901
|
code: string;
|
|
4787
4902
|
path: string;
|
|
@@ -4802,8 +4917,8 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4802
4917
|
recommendation?: string | undefined;
|
|
4803
4918
|
}[] | undefined;
|
|
4804
4919
|
suggestions?: {
|
|
4805
|
-
message: string;
|
|
4806
4920
|
category: "accessibility" | "performance" | "maintainability" | "consistency";
|
|
4921
|
+
message: string;
|
|
4807
4922
|
autoFix?: {
|
|
4808
4923
|
path: string;
|
|
4809
4924
|
op: "replace" | "add" | "remove";
|
|
@@ -4860,12 +4975,12 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4860
4975
|
runtime: "web" | "react-native" | "expo";
|
|
4861
4976
|
projectType: "web" | "react-native" | "expo";
|
|
4862
4977
|
platform?: "web" | "react-native" | undefined;
|
|
4863
|
-
packageManager?: "unknown" | "
|
|
4978
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
4864
4979
|
}, {
|
|
4865
4980
|
runtime: "web" | "react-native" | "expo";
|
|
4866
4981
|
projectType: "web" | "react-native" | "expo";
|
|
4867
4982
|
platform?: "web" | "react-native" | undefined;
|
|
4868
|
-
packageManager?: "unknown" | "
|
|
4983
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
4869
4984
|
}>>;
|
|
4870
4985
|
installCommands: z.ZodOptional<z.ZodObject<{
|
|
4871
4986
|
npm: z.ZodString;
|
|
@@ -4873,15 +4988,15 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4873
4988
|
pnpm: z.ZodString;
|
|
4874
4989
|
bun: z.ZodString;
|
|
4875
4990
|
}, "strip", z.ZodTypeAny, {
|
|
4876
|
-
npm: string;
|
|
4877
|
-
yarn: string;
|
|
4878
4991
|
pnpm: string;
|
|
4992
|
+
yarn: string;
|
|
4879
4993
|
bun: string;
|
|
4880
|
-
}, {
|
|
4881
4994
|
npm: string;
|
|
4882
|
-
|
|
4995
|
+
}, {
|
|
4883
4996
|
pnpm: string;
|
|
4997
|
+
yarn: string;
|
|
4884
4998
|
bun: string;
|
|
4999
|
+
npm: string;
|
|
4885
5000
|
}>>;
|
|
4886
5001
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4887
5002
|
tailwind: z.ZodOptional<z.ZodObject<{
|
|
@@ -4956,20 +5071,7 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4956
5071
|
}, "strip", z.ZodTypeAny, {
|
|
4957
5072
|
success: boolean;
|
|
4958
5073
|
error?: string | undefined;
|
|
4959
|
-
installCommands?: {
|
|
4960
|
-
npm: string;
|
|
4961
|
-
yarn: string;
|
|
4962
|
-
pnpm: string;
|
|
4963
|
-
bun: string;
|
|
4964
|
-
} | undefined;
|
|
4965
|
-
warnings?: string[] | undefined;
|
|
4966
5074
|
platform?: "web" | "react-native" | undefined;
|
|
4967
|
-
environment?: {
|
|
4968
|
-
runtime: "web" | "react-native" | "expo";
|
|
4969
|
-
projectType: "web" | "react-native" | "expo";
|
|
4970
|
-
platform?: "web" | "react-native" | undefined;
|
|
4971
|
-
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
4972
|
-
} | undefined;
|
|
4973
5075
|
tailwind?: {
|
|
4974
5076
|
issues: string[];
|
|
4975
5077
|
configFound: boolean;
|
|
@@ -4978,6 +5080,19 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4978
5080
|
fixes: string[];
|
|
4979
5081
|
configPath?: string | undefined;
|
|
4980
5082
|
} | undefined;
|
|
5083
|
+
environment?: {
|
|
5084
|
+
runtime: "web" | "react-native" | "expo";
|
|
5085
|
+
projectType: "web" | "react-native" | "expo";
|
|
5086
|
+
platform?: "web" | "react-native" | undefined;
|
|
5087
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
5088
|
+
} | undefined;
|
|
5089
|
+
warnings?: string[] | undefined;
|
|
5090
|
+
installCommands?: {
|
|
5091
|
+
pnpm: string;
|
|
5092
|
+
yarn: string;
|
|
5093
|
+
bun: string;
|
|
5094
|
+
npm: string;
|
|
5095
|
+
} | undefined;
|
|
4981
5096
|
installed?: Record<string, string> | undefined;
|
|
4982
5097
|
missing?: string[] | undefined;
|
|
4983
5098
|
sourceAudit?: {
|
|
@@ -4995,20 +5110,7 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4995
5110
|
}, {
|
|
4996
5111
|
success: boolean;
|
|
4997
5112
|
error?: string | undefined;
|
|
4998
|
-
installCommands?: {
|
|
4999
|
-
npm: string;
|
|
5000
|
-
yarn: string;
|
|
5001
|
-
pnpm: string;
|
|
5002
|
-
bun: string;
|
|
5003
|
-
} | undefined;
|
|
5004
|
-
warnings?: string[] | undefined;
|
|
5005
5113
|
platform?: "web" | "react-native" | undefined;
|
|
5006
|
-
environment?: {
|
|
5007
|
-
runtime: "web" | "react-native" | "expo";
|
|
5008
|
-
projectType: "web" | "react-native" | "expo";
|
|
5009
|
-
platform?: "web" | "react-native" | undefined;
|
|
5010
|
-
packageManager?: "unknown" | "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
5011
|
-
} | undefined;
|
|
5012
5114
|
tailwind?: {
|
|
5013
5115
|
issues: string[];
|
|
5014
5116
|
configFound: boolean;
|
|
@@ -5017,6 +5119,19 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
5017
5119
|
fixes: string[];
|
|
5018
5120
|
configPath?: string | undefined;
|
|
5019
5121
|
} | undefined;
|
|
5122
|
+
environment?: {
|
|
5123
|
+
runtime: "web" | "react-native" | "expo";
|
|
5124
|
+
projectType: "web" | "react-native" | "expo";
|
|
5125
|
+
platform?: "web" | "react-native" | undefined;
|
|
5126
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
5127
|
+
} | undefined;
|
|
5128
|
+
warnings?: string[] | undefined;
|
|
5129
|
+
installCommands?: {
|
|
5130
|
+
pnpm: string;
|
|
5131
|
+
yarn: string;
|
|
5132
|
+
bun: string;
|
|
5133
|
+
npm: string;
|
|
5134
|
+
} | undefined;
|
|
5020
5135
|
installed?: Record<string, string> | undefined;
|
|
5021
5136
|
missing?: string[] | undefined;
|
|
5022
5137
|
sourceAudit?: {
|