@framingui/mcp-server 0.6.26 → 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 +4 -3
- package/dist/__tests__/react-native-contract.test.d.ts +2 -0
- package/dist/__tests__/react-native-contract.test.d.ts.map +1 -0
- package/dist/__tests__/react-native-contract.test.js +50 -0
- package/dist/__tests__/react-native-contract.test.js.map +1 -0
- package/dist/auth/state.d.ts +16 -0
- package/dist/auth/state.d.ts.map +1 -1
- package/dist/auth/state.js +54 -15
- 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 +58 -38
- 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 +20 -36
- 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/init.d.ts +2 -3
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +33 -48
- package/dist/cli/init.js.map +1 -1
- package/dist/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-fallback-catalog.d.ts +26 -0
- package/dist/data/component-fallback-catalog.d.ts.map +1 -0
- package/dist/data/component-fallback-catalog.js +149 -0
- package/dist/data/component-fallback-catalog.js.map +1 -0
- package/dist/data/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/data/react-native-runtime-catalog.d.ts +24 -0
- package/dist/data/react-native-runtime-catalog.d.ts.map +1 -0
- package/dist/data/react-native-runtime-catalog.js +265 -0
- package/dist/data/react-native-runtime-catalog.js.map +1 -0
- package/dist/index.js +225 -205
- package/dist/index.js.map +1 -1
- package/dist/platform-support.d.ts +22 -0
- package/dist/platform-support.d.ts.map +1 -0
- package/dist/platform-support.js +148 -0
- package/dist/platform-support.js.map +1 -0
- package/dist/project-context-resolution.d.ts +7 -0
- package/dist/project-context-resolution.d.ts.map +1 -0
- package/dist/project-context-resolution.js +21 -0
- package/dist/project-context-resolution.js.map +1 -0
- package/dist/project-context-state.d.ts +12 -0
- package/dist/project-context-state.d.ts.map +1 -0
- package/dist/project-context-state.js +14 -0
- package/dist/project-context-state.js.map +1 -0
- package/dist/project-context.d.ts +15 -0
- package/dist/project-context.d.ts.map +1 -0
- package/dist/project-context.js +78 -0
- package/dist/project-context.js.map +1 -0
- package/dist/prompts/doctor-workflow.js +1 -1
- package/dist/prompts/getting-started.d.ts.map +1 -1
- package/dist/prompts/getting-started.js +36 -15
- package/dist/prompts/getting-started.js.map +1 -1
- package/dist/prompts/screen-workflow.d.ts.map +1 -1
- package/dist/prompts/screen-workflow.js +54 -3
- package/dist/prompts/screen-workflow.js.map +1 -1
- package/dist/schemas/mcp-schemas.d.ts +954 -309
- package/dist/schemas/mcp-schemas.d.ts.map +1 -1
- package/dist/schemas/mcp-schemas.js +130 -1
- package/dist/schemas/mcp-schemas.js.map +1 -1
- package/dist/tools/detect-project-context.d.ts +5 -0
- package/dist/tools/detect-project-context.d.ts.map +1 -0
- package/dist/tools/detect-project-context.js +36 -0
- package/dist/tools/detect-project-context.js.map +1 -0
- package/dist/tools/get-screen-generation-context.d.ts +3 -1
- package/dist/tools/get-screen-generation-context.d.ts.map +1 -1
- package/dist/tools/get-screen-generation-context.js +120 -20
- package/dist/tools/get-screen-generation-context.js.map +1 -1
- package/dist/tools/list-components.d.ts.map +1 -1
- package/dist/tools/list-components.js +42 -3
- package/dist/tools/list-components.js.map +1 -1
- package/dist/tools/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-component.d.ts.map +1 -1
- package/dist/tools/preview-component.js +57 -7
- package/dist/tools/preview-component.js.map +1 -1
- package/dist/tools/preview-theme.d.ts +3 -1
- package/dist/tools/preview-theme.d.ts.map +1 -1
- package/dist/tools/preview-theme.js +48 -21
- package/dist/tools/preview-theme.js.map +1 -1
- package/dist/tools/theme-authority.js +1 -1
- package/dist/tools/theme-authority.js.map +1 -1
- package/dist/tools/validate-environment.d.ts +3 -1
- package/dist/tools/validate-environment.d.ts.map +1 -1
- package/dist/tools/validate-environment.js +102 -9
- package/dist/tools/validate-environment.js.map +1 -1
- package/dist/tools/validate-screen-definition.d.ts.map +1 -1
- package/dist/tools/validate-screen-definition.js +41 -7
- package/dist/tools/validate-screen-definition.js.map +1 -1
- package/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 +3 -3
|
@@ -29,16 +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;
|
|
39
104
|
error?: string | undefined;
|
|
40
105
|
message?: string | undefined;
|
|
41
|
-
plan?: "
|
|
106
|
+
plan?: "pro" | "free" | "enterprise" | "master" | undefined;
|
|
42
107
|
isMaster?: boolean | undefined;
|
|
43
108
|
licensedThemes?: string[] | undefined;
|
|
44
109
|
totalThemes?: number | undefined;
|
|
@@ -46,14 +111,39 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
46
111
|
expiresAt: string | null;
|
|
47
112
|
renewable: boolean;
|
|
48
113
|
} | undefined;
|
|
114
|
+
has_transition_access?: boolean | undefined;
|
|
115
|
+
access_expires_at?: string | null | undefined;
|
|
116
|
+
access_days_left?: number | null | undefined;
|
|
49
117
|
is_trial?: boolean | undefined;
|
|
50
118
|
trial_expires_at?: string | null | undefined;
|
|
51
119
|
trial_days_left?: number | null | undefined;
|
|
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;
|
|
54
144
|
error?: string | undefined;
|
|
55
145
|
message?: string | undefined;
|
|
56
|
-
plan?: "
|
|
146
|
+
plan?: "pro" | "free" | "enterprise" | "master" | undefined;
|
|
57
147
|
isMaster?: boolean | undefined;
|
|
58
148
|
licensedThemes?: string[] | undefined;
|
|
59
149
|
totalThemes?: number | undefined;
|
|
@@ -61,9 +151,34 @@ export declare const WhoamiOutputSchema: z.ZodObject<{
|
|
|
61
151
|
expiresAt: string | null;
|
|
62
152
|
renewable: boolean;
|
|
63
153
|
} | undefined;
|
|
154
|
+
has_transition_access?: boolean | undefined;
|
|
155
|
+
access_expires_at?: string | null | undefined;
|
|
156
|
+
access_days_left?: number | null | undefined;
|
|
64
157
|
is_trial?: boolean | undefined;
|
|
65
158
|
trial_expires_at?: string | null | undefined;
|
|
66
159
|
trial_days_left?: number | null | undefined;
|
|
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,14 +203,14 @@ 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: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
92
206
|
themeId: string;
|
|
207
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
93
208
|
componentHints?: string[] | undefined;
|
|
94
209
|
iconLibrary?: string | undefined;
|
|
95
210
|
}, {
|
|
96
211
|
description: string;
|
|
97
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
98
212
|
themeId: string;
|
|
213
|
+
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
99
214
|
componentHints?: string[] | undefined;
|
|
100
215
|
iconLibrary?: string | undefined;
|
|
101
216
|
}>;
|
|
@@ -174,10 +289,10 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
174
289
|
timestamp: z.ZodNumber;
|
|
175
290
|
}, "strip", z.ZodTypeAny, {
|
|
176
291
|
name: string;
|
|
177
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
178
292
|
themeId: string;
|
|
179
|
-
iconLibrary: string;
|
|
180
293
|
id: string;
|
|
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>;
|
|
@@ -187,10 +302,10 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
187
302
|
timestamp: number;
|
|
188
303
|
}, {
|
|
189
304
|
name: string;
|
|
190
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
191
305
|
themeId: string;
|
|
192
|
-
iconLibrary: string;
|
|
193
306
|
id: string;
|
|
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>;
|
|
@@ -247,10 +362,10 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
247
362
|
error?: string | undefined;
|
|
248
363
|
blueprint?: {
|
|
249
364
|
name: string;
|
|
250
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
251
365
|
themeId: string;
|
|
252
|
-
iconLibrary: string;
|
|
253
366
|
id: string;
|
|
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>;
|
|
@@ -276,10 +391,10 @@ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
|
|
|
276
391
|
error?: string | undefined;
|
|
277
392
|
blueprint?: {
|
|
278
393
|
name: string;
|
|
279
|
-
layout: "dashboard" | "landing" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right";
|
|
280
394
|
themeId: string;
|
|
281
|
-
iconLibrary: string;
|
|
282
395
|
id: string;
|
|
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>;
|
|
@@ -442,13 +557,13 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
442
557
|
typography: z.ZodOptional<z.ZodUnknown>;
|
|
443
558
|
}, "strip", z.ZodTypeAny, {
|
|
444
559
|
name: string;
|
|
560
|
+
id: string;
|
|
445
561
|
tokens: {
|
|
446
562
|
semantic?: unknown;
|
|
447
563
|
atomic?: unknown;
|
|
448
564
|
component?: unknown;
|
|
449
565
|
recipes?: unknown;
|
|
450
566
|
};
|
|
451
|
-
id: string;
|
|
452
567
|
brandTone: string;
|
|
453
568
|
schemaVersion: string;
|
|
454
569
|
description?: string | undefined;
|
|
@@ -463,13 +578,13 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
463
578
|
typography?: unknown;
|
|
464
579
|
}, {
|
|
465
580
|
name: string;
|
|
581
|
+
id: string;
|
|
466
582
|
tokens: {
|
|
467
583
|
semantic?: unknown;
|
|
468
584
|
atomic?: unknown;
|
|
469
585
|
component?: unknown;
|
|
470
586
|
recipes?: unknown;
|
|
471
587
|
};
|
|
472
|
-
id: string;
|
|
473
588
|
brandTone: string;
|
|
474
589
|
schemaVersion: string;
|
|
475
590
|
description?: string | undefined;
|
|
@@ -491,13 +606,13 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
491
606
|
css?: string | undefined;
|
|
492
607
|
theme?: {
|
|
493
608
|
name: string;
|
|
609
|
+
id: string;
|
|
494
610
|
tokens: {
|
|
495
611
|
semantic?: unknown;
|
|
496
612
|
atomic?: unknown;
|
|
497
613
|
component?: unknown;
|
|
498
614
|
recipes?: unknown;
|
|
499
615
|
};
|
|
500
|
-
id: string;
|
|
501
616
|
brandTone: string;
|
|
502
617
|
schemaVersion: string;
|
|
503
618
|
description?: string | undefined;
|
|
@@ -517,13 +632,13 @@ export declare const PreviewThemeOutputSchema: z.ZodObject<{
|
|
|
517
632
|
css?: string | undefined;
|
|
518
633
|
theme?: {
|
|
519
634
|
name: string;
|
|
635
|
+
id: string;
|
|
520
636
|
tokens: {
|
|
521
637
|
semantic?: unknown;
|
|
522
638
|
atomic?: unknown;
|
|
523
639
|
component?: unknown;
|
|
524
640
|
recipes?: unknown;
|
|
525
641
|
};
|
|
526
|
-
id: string;
|
|
527
642
|
brandTone: string;
|
|
528
643
|
schemaVersion: string;
|
|
529
644
|
description?: string | undefined;
|
|
@@ -604,20 +719,20 @@ 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, {
|
|
722
|
+
tier: "tier1" | "tier2" | "auto";
|
|
607
723
|
includeCSS: boolean;
|
|
608
724
|
format: "tsx" | "jsx" | "vue";
|
|
609
|
-
tier: "tier1" | "tier2" | "auto";
|
|
610
|
-
componentName?: string | undefined;
|
|
611
725
|
themeId?: string | undefined;
|
|
726
|
+
componentName?: string | undefined;
|
|
612
727
|
blueprint?: unknown;
|
|
613
728
|
componentDescription?: string | undefined;
|
|
614
729
|
}, {
|
|
615
730
|
format: "tsx" | "jsx" | "vue";
|
|
616
|
-
componentName?: string | undefined;
|
|
617
731
|
themeId?: string | undefined;
|
|
732
|
+
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
733
|
+
componentName?: string | undefined;
|
|
618
734
|
includeCSS?: boolean | undefined;
|
|
619
735
|
blueprint?: unknown;
|
|
620
|
-
tier?: "tier1" | "tier2" | "auto" | undefined;
|
|
621
736
|
componentDescription?: string | undefined;
|
|
622
737
|
}>;
|
|
623
738
|
export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
|
|
@@ -840,6 +955,7 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
840
955
|
}, "strip", z.ZodTypeAny, {
|
|
841
956
|
success: boolean;
|
|
842
957
|
error?: string | undefined;
|
|
958
|
+
code?: string | undefined;
|
|
843
959
|
dependencies?: {
|
|
844
960
|
internal: string[];
|
|
845
961
|
external: string[];
|
|
@@ -855,12 +971,12 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
855
971
|
node?: string | undefined;
|
|
856
972
|
} | undefined;
|
|
857
973
|
} | undefined;
|
|
858
|
-
code?: string | undefined;
|
|
859
974
|
errors?: string[] | undefined;
|
|
860
975
|
cssVariables?: string | undefined;
|
|
861
976
|
}, {
|
|
862
977
|
success: boolean;
|
|
863
978
|
error?: string | undefined;
|
|
979
|
+
code?: string | undefined;
|
|
864
980
|
dependencies?: {
|
|
865
981
|
internal: string[];
|
|
866
982
|
external: string[];
|
|
@@ -876,7 +992,6 @@ export declare const GenerateScreenOutputSchema: z.ZodObject<{
|
|
|
876
992
|
node?: string | undefined;
|
|
877
993
|
} | undefined;
|
|
878
994
|
} | undefined;
|
|
879
|
-
code?: string | undefined;
|
|
880
995
|
errors?: string[] | undefined;
|
|
881
996
|
cssVariables?: string | undefined;
|
|
882
997
|
}>;
|
|
@@ -991,15 +1106,15 @@ export declare const TokenMetadataSchema: z.ZodObject<{
|
|
|
991
1106
|
id: string;
|
|
992
1107
|
name?: string | undefined;
|
|
993
1108
|
description?: string | undefined;
|
|
994
|
-
type?: string | undefined;
|
|
995
1109
|
platform?: string | undefined;
|
|
1110
|
+
type?: string | undefined;
|
|
996
1111
|
purpose?: string | undefined;
|
|
997
1112
|
}, {
|
|
998
1113
|
id: string;
|
|
999
1114
|
name?: string | undefined;
|
|
1000
1115
|
description?: string | undefined;
|
|
1001
|
-
type?: 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>;
|
|
@@ -1019,15 +1134,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1019
1134
|
id: string;
|
|
1020
1135
|
name?: string | undefined;
|
|
1021
1136
|
description?: string | undefined;
|
|
1022
|
-
type?: string | undefined;
|
|
1023
1137
|
platform?: string | undefined;
|
|
1138
|
+
type?: string | undefined;
|
|
1024
1139
|
purpose?: string | undefined;
|
|
1025
1140
|
}, {
|
|
1026
1141
|
id: string;
|
|
1027
1142
|
name?: string | undefined;
|
|
1028
1143
|
description?: string | undefined;
|
|
1029
|
-
type?: 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<{
|
|
@@ -1041,15 +1156,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1041
1156
|
id: string;
|
|
1042
1157
|
name?: string | undefined;
|
|
1043
1158
|
description?: string | undefined;
|
|
1044
|
-
type?: string | undefined;
|
|
1045
1159
|
platform?: string | undefined;
|
|
1160
|
+
type?: string | undefined;
|
|
1046
1161
|
purpose?: string | undefined;
|
|
1047
1162
|
}, {
|
|
1048
1163
|
id: string;
|
|
1049
1164
|
name?: string | undefined;
|
|
1050
1165
|
description?: string | undefined;
|
|
1051
|
-
type?: 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<{
|
|
@@ -1063,15 +1178,15 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1063
1178
|
id: string;
|
|
1064
1179
|
name?: string | undefined;
|
|
1065
1180
|
description?: string | undefined;
|
|
1066
|
-
type?: string | undefined;
|
|
1067
1181
|
platform?: string | undefined;
|
|
1182
|
+
type?: string | undefined;
|
|
1068
1183
|
purpose?: string | undefined;
|
|
1069
1184
|
}, {
|
|
1070
1185
|
id: string;
|
|
1071
1186
|
name?: string | undefined;
|
|
1072
1187
|
description?: string | undefined;
|
|
1073
|
-
type?: 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<{
|
|
@@ -1092,24 +1207,24 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1092
1207
|
id: string;
|
|
1093
1208
|
name?: string | undefined;
|
|
1094
1209
|
description?: string | undefined;
|
|
1095
|
-
type?: 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
1216
|
name?: string | undefined;
|
|
1102
1217
|
description?: string | undefined;
|
|
1103
|
-
type?: 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
1224
|
name?: string | undefined;
|
|
1110
1225
|
description?: string | undefined;
|
|
1111
|
-
type?: string | undefined;
|
|
1112
1226
|
platform?: string | undefined;
|
|
1227
|
+
type?: string | undefined;
|
|
1113
1228
|
purpose?: string | undefined;
|
|
1114
1229
|
}[] | undefined;
|
|
1115
1230
|
metadata?: {
|
|
@@ -1123,24 +1238,24 @@ export declare const ListTokensOutputSchema: z.ZodObject<{
|
|
|
1123
1238
|
id: string;
|
|
1124
1239
|
name?: string | undefined;
|
|
1125
1240
|
description?: string | undefined;
|
|
1126
|
-
type?: 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
1247
|
name?: string | undefined;
|
|
1133
1248
|
description?: string | undefined;
|
|
1134
|
-
type?: 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
1255
|
name?: string | undefined;
|
|
1141
1256
|
description?: string | undefined;
|
|
1142
|
-
type?: string | undefined;
|
|
1143
1257
|
platform?: string | undefined;
|
|
1258
|
+
type?: string | undefined;
|
|
1144
1259
|
purpose?: string | undefined;
|
|
1145
1260
|
}[] | undefined;
|
|
1146
1261
|
metadata?: {
|
|
@@ -1174,16 +1289,16 @@ export declare const IconLibraryMetaSchema: z.ZodObject<{
|
|
|
1174
1289
|
}, "strip", z.ZodTypeAny, {
|
|
1175
1290
|
name: string;
|
|
1176
1291
|
description: string;
|
|
1177
|
-
version: string;
|
|
1178
1292
|
id: string;
|
|
1293
|
+
version: string;
|
|
1179
1294
|
license: string;
|
|
1180
1295
|
totalIcons: number;
|
|
1181
1296
|
categories: string[];
|
|
1182
1297
|
}, {
|
|
1183
1298
|
name: string;
|
|
1184
1299
|
description: string;
|
|
1185
|
-
version: string;
|
|
1186
1300
|
id: string;
|
|
1301
|
+
version: string;
|
|
1187
1302
|
license: string;
|
|
1188
1303
|
totalIcons: number;
|
|
1189
1304
|
categories: string[];
|
|
@@ -1205,16 +1320,16 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1205
1320
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1321
|
name: string;
|
|
1207
1322
|
description: string;
|
|
1208
|
-
version: string;
|
|
1209
1323
|
id: string;
|
|
1324
|
+
version: string;
|
|
1210
1325
|
license: string;
|
|
1211
1326
|
totalIcons: number;
|
|
1212
1327
|
categories: string[];
|
|
1213
1328
|
}, {
|
|
1214
1329
|
name: string;
|
|
1215
1330
|
description: string;
|
|
1216
|
-
version: string;
|
|
1217
1331
|
id: string;
|
|
1332
|
+
version: string;
|
|
1218
1333
|
license: string;
|
|
1219
1334
|
totalIcons: number;
|
|
1220
1335
|
categories: string[];
|
|
@@ -1227,8 +1342,8 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1227
1342
|
libraries?: {
|
|
1228
1343
|
name: string;
|
|
1229
1344
|
description: string;
|
|
1230
|
-
version: string;
|
|
1231
1345
|
id: string;
|
|
1346
|
+
version: string;
|
|
1232
1347
|
license: string;
|
|
1233
1348
|
totalIcons: number;
|
|
1234
1349
|
categories: string[];
|
|
@@ -1240,8 +1355,8 @@ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
|
|
|
1240
1355
|
libraries?: {
|
|
1241
1356
|
name: string;
|
|
1242
1357
|
description: string;
|
|
1243
|
-
version: string;
|
|
1244
1358
|
id: string;
|
|
1359
|
+
version: string;
|
|
1245
1360
|
license: string;
|
|
1246
1361
|
totalIcons: number;
|
|
1247
1362
|
categories: string[];
|
|
@@ -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
|
};
|
|
@@ -1399,8 +1514,8 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1399
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1400
1515
|
name: string;
|
|
1401
1516
|
description: string;
|
|
1402
|
-
version: string;
|
|
1403
1517
|
id: string;
|
|
1518
|
+
version: string;
|
|
1404
1519
|
license: string;
|
|
1405
1520
|
totalIcons: number;
|
|
1406
1521
|
categories: string[];
|
|
@@ -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
|
};
|
|
@@ -1431,8 +1546,8 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1431
1546
|
}, {
|
|
1432
1547
|
name: string;
|
|
1433
1548
|
description: string;
|
|
1434
|
-
version: string;
|
|
1435
1549
|
id: string;
|
|
1550
|
+
version: string;
|
|
1436
1551
|
license: string;
|
|
1437
1552
|
totalIcons: number;
|
|
1438
1553
|
categories: string[];
|
|
@@ -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
|
};
|
|
@@ -1468,8 +1583,8 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1468
1583
|
library?: {
|
|
1469
1584
|
name: string;
|
|
1470
1585
|
description: string;
|
|
1471
|
-
version: string;
|
|
1472
1586
|
id: string;
|
|
1587
|
+
version: string;
|
|
1473
1588
|
license: string;
|
|
1474
1589
|
totalIcons: number;
|
|
1475
1590
|
categories: string[];
|
|
@@ -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
|
};
|
|
@@ -1504,8 +1619,8 @@ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
|
|
|
1504
1619
|
library?: {
|
|
1505
1620
|
name: string;
|
|
1506
1621
|
description: string;
|
|
1507
|
-
version: string;
|
|
1508
1622
|
id: string;
|
|
1623
|
+
version: string;
|
|
1509
1624
|
license: string;
|
|
1510
1625
|
totalIcons: number;
|
|
1511
1626
|
categories: string[];
|
|
@@ -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
|
};
|
|
@@ -1542,6 +1657,120 @@ export type PreviewIconLibraryOutput = z.infer<typeof PreviewIconLibraryOutputSc
|
|
|
1542
1657
|
*/
|
|
1543
1658
|
export declare const ComponentCategorySchema: z.ZodEnum<["core", "complex", "advanced"]>;
|
|
1544
1659
|
export type ComponentCategory = z.infer<typeof ComponentCategorySchema>;
|
|
1660
|
+
export declare const PlatformTargetSchema: z.ZodEnum<["web", "react-native"]>;
|
|
1661
|
+
export type PlatformTarget = z.infer<typeof PlatformTargetSchema>;
|
|
1662
|
+
export declare const ProjectRuntimeSchema: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1663
|
+
export type ProjectRuntime = z.infer<typeof ProjectRuntimeSchema>;
|
|
1664
|
+
export declare const PackageManagerSchema: z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>;
|
|
1665
|
+
export type PackageManager = z.infer<typeof PackageManagerSchema>;
|
|
1666
|
+
export declare const ProjectEnvironmentSchema: z.ZodObject<{
|
|
1667
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1668
|
+
runtime: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1669
|
+
projectType: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1670
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>>;
|
|
1671
|
+
}, "strip", z.ZodTypeAny, {
|
|
1672
|
+
runtime: "web" | "react-native" | "expo";
|
|
1673
|
+
projectType: "web" | "react-native" | "expo";
|
|
1674
|
+
platform?: "web" | "react-native" | undefined;
|
|
1675
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1676
|
+
}, {
|
|
1677
|
+
runtime: "web" | "react-native" | "expo";
|
|
1678
|
+
projectType: "web" | "react-native" | "expo";
|
|
1679
|
+
platform?: "web" | "react-native" | undefined;
|
|
1680
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1681
|
+
}>;
|
|
1682
|
+
export type ProjectEnvironment = z.infer<typeof ProjectEnvironmentSchema>;
|
|
1683
|
+
export declare const ProjectContextRecommendationSchema: z.ZodObject<{
|
|
1684
|
+
workflow: z.ZodEnum<["web-screen-definition", "react-native-direct-write"]>;
|
|
1685
|
+
reason: z.ZodString;
|
|
1686
|
+
}, "strip", z.ZodTypeAny, {
|
|
1687
|
+
reason: string;
|
|
1688
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1689
|
+
}, {
|
|
1690
|
+
reason: string;
|
|
1691
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1692
|
+
}>;
|
|
1693
|
+
export type ProjectContextRecommendation = z.infer<typeof ProjectContextRecommendationSchema>;
|
|
1694
|
+
export declare const DetectProjectContextInputSchema: z.ZodObject<{
|
|
1695
|
+
projectPath: z.ZodString;
|
|
1696
|
+
setAsDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1697
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
|
+
projectPath: string;
|
|
1699
|
+
setAsDefault: boolean;
|
|
1700
|
+
}, {
|
|
1701
|
+
projectPath: string;
|
|
1702
|
+
setAsDefault?: boolean | undefined;
|
|
1703
|
+
}>;
|
|
1704
|
+
export type DetectProjectContextInput = z.infer<typeof DetectProjectContextInputSchema>;
|
|
1705
|
+
export declare const DetectProjectContextOutputSchema: z.ZodObject<{
|
|
1706
|
+
success: z.ZodBoolean;
|
|
1707
|
+
projectPath: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
packageJsonPath: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1710
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1711
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1712
|
+
runtime: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1713
|
+
projectType: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
1714
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>>;
|
|
1715
|
+
}, "strip", z.ZodTypeAny, {
|
|
1716
|
+
runtime: "web" | "react-native" | "expo";
|
|
1717
|
+
projectType: "web" | "react-native" | "expo";
|
|
1718
|
+
platform?: "web" | "react-native" | undefined;
|
|
1719
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1720
|
+
}, {
|
|
1721
|
+
runtime: "web" | "react-native" | "expo";
|
|
1722
|
+
projectType: "web" | "react-native" | "expo";
|
|
1723
|
+
platform?: "web" | "react-native" | undefined;
|
|
1724
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1725
|
+
}>>;
|
|
1726
|
+
recommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1727
|
+
workflow: z.ZodEnum<["web-screen-definition", "react-native-direct-write"]>;
|
|
1728
|
+
reason: z.ZodString;
|
|
1729
|
+
}, "strip", z.ZodTypeAny, {
|
|
1730
|
+
reason: string;
|
|
1731
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1732
|
+
}, {
|
|
1733
|
+
reason: string;
|
|
1734
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1735
|
+
}>, "many">>;
|
|
1736
|
+
sessionDefaultApplied: z.ZodOptional<z.ZodBoolean>;
|
|
1737
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1738
|
+
}, "strip", z.ZodTypeAny, {
|
|
1739
|
+
success: boolean;
|
|
1740
|
+
error?: string | undefined;
|
|
1741
|
+
platform?: "web" | "react-native" | undefined;
|
|
1742
|
+
projectPath?: string | undefined;
|
|
1743
|
+
packageJsonPath?: string | undefined;
|
|
1744
|
+
environment?: {
|
|
1745
|
+
runtime: "web" | "react-native" | "expo";
|
|
1746
|
+
projectType: "web" | "react-native" | "expo";
|
|
1747
|
+
platform?: "web" | "react-native" | undefined;
|
|
1748
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
recommendations?: {
|
|
1751
|
+
reason: string;
|
|
1752
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1753
|
+
}[] | undefined;
|
|
1754
|
+
sessionDefaultApplied?: boolean | undefined;
|
|
1755
|
+
}, {
|
|
1756
|
+
success: boolean;
|
|
1757
|
+
error?: string | undefined;
|
|
1758
|
+
platform?: "web" | "react-native" | undefined;
|
|
1759
|
+
projectPath?: string | undefined;
|
|
1760
|
+
packageJsonPath?: string | undefined;
|
|
1761
|
+
environment?: {
|
|
1762
|
+
runtime: "web" | "react-native" | "expo";
|
|
1763
|
+
projectType: "web" | "react-native" | "expo";
|
|
1764
|
+
platform?: "web" | "react-native" | undefined;
|
|
1765
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
1766
|
+
} | undefined;
|
|
1767
|
+
recommendations?: {
|
|
1768
|
+
reason: string;
|
|
1769
|
+
workflow: "web-screen-definition" | "react-native-direct-write";
|
|
1770
|
+
}[] | undefined;
|
|
1771
|
+
sessionDefaultApplied?: boolean | undefined;
|
|
1772
|
+
}>;
|
|
1773
|
+
export type DetectProjectContextOutput = z.infer<typeof DetectProjectContextOutputSchema>;
|
|
1545
1774
|
/**
|
|
1546
1775
|
* List Components Input Schema
|
|
1547
1776
|
* SPEC-MCP-003: [TAG-MCP003-006]
|
|
@@ -1549,12 +1778,15 @@ export type ComponentCategory = z.infer<typeof ComponentCategorySchema>;
|
|
|
1549
1778
|
export declare const ListComponentsInputSchema: z.ZodObject<{
|
|
1550
1779
|
category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["core", "complex", "advanced", "all"]>>>;
|
|
1551
1780
|
search: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1552
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1553
1783
|
category: "all" | "core" | "complex" | "advanced";
|
|
1554
1784
|
search?: string | undefined;
|
|
1785
|
+
platform?: "web" | "react-native" | undefined;
|
|
1555
1786
|
}, {
|
|
1556
1787
|
category?: "all" | "core" | "complex" | "advanced" | undefined;
|
|
1557
1788
|
search?: string | undefined;
|
|
1789
|
+
platform?: "web" | "react-native" | undefined;
|
|
1558
1790
|
}>;
|
|
1559
1791
|
export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
|
|
1560
1792
|
/**
|
|
@@ -1568,22 +1800,66 @@ export declare const ComponentMetaSchema: z.ZodObject<{
|
|
|
1568
1800
|
variantsCount: z.ZodNumber;
|
|
1569
1801
|
hasSubComponents: z.ZodBoolean;
|
|
1570
1802
|
tier: z.ZodNumber;
|
|
1803
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["web", "react-native"]>, "many">>;
|
|
1804
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
1805
|
+
reactNative: z.ZodOptional<z.ZodObject<{
|
|
1806
|
+
supported: z.ZodBoolean;
|
|
1807
|
+
recommended: z.ZodBoolean;
|
|
1808
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
1809
|
+
}, "strip", z.ZodTypeAny, {
|
|
1810
|
+
status: "full" | "partial" | "avoid";
|
|
1811
|
+
supported: boolean;
|
|
1812
|
+
recommended: boolean;
|
|
1813
|
+
}, {
|
|
1814
|
+
status: "full" | "partial" | "avoid";
|
|
1815
|
+
supported: boolean;
|
|
1816
|
+
recommended: boolean;
|
|
1817
|
+
}>>;
|
|
1818
|
+
}, "strip", z.ZodTypeAny, {
|
|
1819
|
+
reactNative?: {
|
|
1820
|
+
status: "full" | "partial" | "avoid";
|
|
1821
|
+
supported: boolean;
|
|
1822
|
+
recommended: boolean;
|
|
1823
|
+
} | undefined;
|
|
1824
|
+
}, {
|
|
1825
|
+
reactNative?: {
|
|
1826
|
+
status: "full" | "partial" | "avoid";
|
|
1827
|
+
supported: boolean;
|
|
1828
|
+
recommended: boolean;
|
|
1829
|
+
} | undefined;
|
|
1830
|
+
}>>;
|
|
1571
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1832
|
category: "core" | "complex" | "advanced";
|
|
1573
1833
|
name: string;
|
|
1574
1834
|
description: string;
|
|
1575
1835
|
id: string;
|
|
1836
|
+
tier: number;
|
|
1576
1837
|
variantsCount: number;
|
|
1577
1838
|
hasSubComponents: boolean;
|
|
1578
|
-
|
|
1839
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1840
|
+
platformSupport?: {
|
|
1841
|
+
reactNative?: {
|
|
1842
|
+
status: "full" | "partial" | "avoid";
|
|
1843
|
+
supported: boolean;
|
|
1844
|
+
recommended: boolean;
|
|
1845
|
+
} | undefined;
|
|
1846
|
+
} | undefined;
|
|
1579
1847
|
}, {
|
|
1580
1848
|
category: "core" | "complex" | "advanced";
|
|
1581
1849
|
name: string;
|
|
1582
1850
|
description: string;
|
|
1583
1851
|
id: string;
|
|
1852
|
+
tier: number;
|
|
1584
1853
|
variantsCount: number;
|
|
1585
1854
|
hasSubComponents: boolean;
|
|
1586
|
-
|
|
1855
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1856
|
+
platformSupport?: {
|
|
1857
|
+
reactNative?: {
|
|
1858
|
+
status: "full" | "partial" | "avoid";
|
|
1859
|
+
supported: boolean;
|
|
1860
|
+
recommended: boolean;
|
|
1861
|
+
} | undefined;
|
|
1862
|
+
} | undefined;
|
|
1587
1863
|
}>;
|
|
1588
1864
|
export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
|
|
1589
1865
|
/**
|
|
@@ -1599,22 +1875,66 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1599
1875
|
variantsCount: z.ZodNumber;
|
|
1600
1876
|
hasSubComponents: z.ZodBoolean;
|
|
1601
1877
|
tier: z.ZodNumber;
|
|
1878
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["web", "react-native"]>, "many">>;
|
|
1879
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
1880
|
+
reactNative: z.ZodOptional<z.ZodObject<{
|
|
1881
|
+
supported: z.ZodBoolean;
|
|
1882
|
+
recommended: z.ZodBoolean;
|
|
1883
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
1884
|
+
}, "strip", z.ZodTypeAny, {
|
|
1885
|
+
status: "full" | "partial" | "avoid";
|
|
1886
|
+
supported: boolean;
|
|
1887
|
+
recommended: boolean;
|
|
1888
|
+
}, {
|
|
1889
|
+
status: "full" | "partial" | "avoid";
|
|
1890
|
+
supported: boolean;
|
|
1891
|
+
recommended: boolean;
|
|
1892
|
+
}>>;
|
|
1893
|
+
}, "strip", z.ZodTypeAny, {
|
|
1894
|
+
reactNative?: {
|
|
1895
|
+
status: "full" | "partial" | "avoid";
|
|
1896
|
+
supported: boolean;
|
|
1897
|
+
recommended: boolean;
|
|
1898
|
+
} | undefined;
|
|
1899
|
+
}, {
|
|
1900
|
+
reactNative?: {
|
|
1901
|
+
status: "full" | "partial" | "avoid";
|
|
1902
|
+
supported: boolean;
|
|
1903
|
+
recommended: boolean;
|
|
1904
|
+
} | undefined;
|
|
1905
|
+
}>>;
|
|
1602
1906
|
}, "strip", z.ZodTypeAny, {
|
|
1603
1907
|
category: "core" | "complex" | "advanced";
|
|
1604
1908
|
name: string;
|
|
1605
1909
|
description: string;
|
|
1606
1910
|
id: string;
|
|
1911
|
+
tier: number;
|
|
1607
1912
|
variantsCount: number;
|
|
1608
1913
|
hasSubComponents: boolean;
|
|
1609
|
-
|
|
1914
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1915
|
+
platformSupport?: {
|
|
1916
|
+
reactNative?: {
|
|
1917
|
+
status: "full" | "partial" | "avoid";
|
|
1918
|
+
supported: boolean;
|
|
1919
|
+
recommended: boolean;
|
|
1920
|
+
} | undefined;
|
|
1921
|
+
} | undefined;
|
|
1610
1922
|
}, {
|
|
1611
1923
|
category: "core" | "complex" | "advanced";
|
|
1612
1924
|
name: string;
|
|
1613
1925
|
description: string;
|
|
1614
1926
|
id: string;
|
|
1927
|
+
tier: number;
|
|
1615
1928
|
variantsCount: number;
|
|
1616
1929
|
hasSubComponents: boolean;
|
|
1617
|
-
|
|
1930
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1931
|
+
platformSupport?: {
|
|
1932
|
+
reactNative?: {
|
|
1933
|
+
status: "full" | "partial" | "avoid";
|
|
1934
|
+
supported: boolean;
|
|
1935
|
+
recommended: boolean;
|
|
1936
|
+
} | undefined;
|
|
1937
|
+
} | undefined;
|
|
1618
1938
|
}>, "many">>;
|
|
1619
1939
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1620
1940
|
categories: z.ZodOptional<z.ZodObject<{
|
|
@@ -1639,9 +1959,17 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1639
1959
|
name: string;
|
|
1640
1960
|
description: string;
|
|
1641
1961
|
id: string;
|
|
1962
|
+
tier: number;
|
|
1642
1963
|
variantsCount: number;
|
|
1643
1964
|
hasSubComponents: boolean;
|
|
1644
|
-
|
|
1965
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1966
|
+
platformSupport?: {
|
|
1967
|
+
reactNative?: {
|
|
1968
|
+
status: "full" | "partial" | "avoid";
|
|
1969
|
+
supported: boolean;
|
|
1970
|
+
recommended: boolean;
|
|
1971
|
+
} | undefined;
|
|
1972
|
+
} | undefined;
|
|
1645
1973
|
}[] | undefined;
|
|
1646
1974
|
categories?: {
|
|
1647
1975
|
core: number;
|
|
@@ -1657,9 +1985,17 @@ export declare const ListComponentsOutputSchema: z.ZodObject<{
|
|
|
1657
1985
|
name: string;
|
|
1658
1986
|
description: string;
|
|
1659
1987
|
id: string;
|
|
1988
|
+
tier: number;
|
|
1660
1989
|
variantsCount: number;
|
|
1661
1990
|
hasSubComponents: boolean;
|
|
1662
|
-
|
|
1991
|
+
platforms?: ("web" | "react-native")[] | undefined;
|
|
1992
|
+
platformSupport?: {
|
|
1993
|
+
reactNative?: {
|
|
1994
|
+
status: "full" | "partial" | "avoid";
|
|
1995
|
+
supported: boolean;
|
|
1996
|
+
recommended: boolean;
|
|
1997
|
+
} | undefined;
|
|
1998
|
+
} | undefined;
|
|
1663
1999
|
}[] | undefined;
|
|
1664
2000
|
categories?: {
|
|
1665
2001
|
core: number;
|
|
@@ -1677,12 +2013,15 @@ export declare const PreviewComponentInputSchema: z.ZodObject<{
|
|
|
1677
2013
|
componentId: z.ZodString;
|
|
1678
2014
|
includeExamples: z.ZodOptional<z.ZodBoolean>;
|
|
1679
2015
|
includeDependencies: z.ZodOptional<z.ZodBoolean>;
|
|
2016
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
1680
2017
|
}, "strip", z.ZodTypeAny, {
|
|
1681
2018
|
componentId: string;
|
|
2019
|
+
platform?: "web" | "react-native" | undefined;
|
|
1682
2020
|
includeExamples?: boolean | undefined;
|
|
1683
2021
|
includeDependencies?: boolean | undefined;
|
|
1684
2022
|
}, {
|
|
1685
2023
|
componentId: string;
|
|
2024
|
+
platform?: "web" | "react-native" | undefined;
|
|
1686
2025
|
includeExamples?: boolean | undefined;
|
|
1687
2026
|
includeDependencies?: boolean | undefined;
|
|
1688
2027
|
}>;
|
|
@@ -1813,12 +2152,36 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1813
2152
|
description?: string | undefined;
|
|
1814
2153
|
}>, "many">>;
|
|
1815
2154
|
accessibility: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
2156
|
+
target: z.ZodEnum<["web", "react-native"]>;
|
|
2157
|
+
supported: z.ZodBoolean;
|
|
2158
|
+
recommended: z.ZodBoolean;
|
|
2159
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
2160
|
+
notes: z.ZodArray<z.ZodString, "many">;
|
|
2161
|
+
recommendedImports: z.ZodArray<z.ZodString, "many">;
|
|
2162
|
+
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
2163
|
+
}, "strip", z.ZodTypeAny, {
|
|
2164
|
+
status: "full" | "partial" | "avoid";
|
|
2165
|
+
target: "web" | "react-native";
|
|
2166
|
+
supported: boolean;
|
|
2167
|
+
recommended: boolean;
|
|
2168
|
+
notes: string[];
|
|
2169
|
+
recommendedImports: string[];
|
|
2170
|
+
recommendedPackages: string[];
|
|
2171
|
+
}, {
|
|
2172
|
+
status: "full" | "partial" | "avoid";
|
|
2173
|
+
target: "web" | "react-native";
|
|
2174
|
+
supported: boolean;
|
|
2175
|
+
recommended: boolean;
|
|
2176
|
+
notes: string[];
|
|
2177
|
+
recommendedImports: string[];
|
|
2178
|
+
recommendedPackages: string[];
|
|
2179
|
+
}>>;
|
|
1816
2180
|
}, "strip", z.ZodTypeAny, {
|
|
1817
2181
|
category: "core" | "complex" | "advanced";
|
|
1818
2182
|
name: string;
|
|
1819
2183
|
description: string;
|
|
1820
2184
|
id: string;
|
|
1821
|
-
importStatement: string;
|
|
1822
2185
|
tier: number;
|
|
1823
2186
|
props: {
|
|
1824
2187
|
name: string;
|
|
@@ -1827,11 +2190,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1827
2190
|
description?: string | undefined;
|
|
1828
2191
|
defaultValue?: string | undefined;
|
|
1829
2192
|
}[];
|
|
2193
|
+
importStatement: string;
|
|
1830
2194
|
dependencies?: {
|
|
1831
2195
|
internal: string[];
|
|
1832
2196
|
external: string[];
|
|
1833
2197
|
} | undefined;
|
|
1834
|
-
accessibility?: string | undefined;
|
|
1835
2198
|
variants?: {
|
|
1836
2199
|
name: string;
|
|
1837
2200
|
value: string;
|
|
@@ -1843,12 +2206,21 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1843
2206
|
title: string;
|
|
1844
2207
|
description?: string | undefined;
|
|
1845
2208
|
}[] | undefined;
|
|
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;
|
|
1846
2219
|
}, {
|
|
1847
2220
|
category: "core" | "complex" | "advanced";
|
|
1848
2221
|
name: string;
|
|
1849
2222
|
description: string;
|
|
1850
2223
|
id: string;
|
|
1851
|
-
importStatement: string;
|
|
1852
2224
|
tier: number;
|
|
1853
2225
|
props: {
|
|
1854
2226
|
name: string;
|
|
@@ -1857,11 +2229,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1857
2229
|
description?: string | undefined;
|
|
1858
2230
|
defaultValue?: string | undefined;
|
|
1859
2231
|
}[];
|
|
2232
|
+
importStatement: string;
|
|
1860
2233
|
dependencies?: {
|
|
1861
2234
|
internal: string[];
|
|
1862
2235
|
external: string[];
|
|
1863
2236
|
} | undefined;
|
|
1864
|
-
accessibility?: string | undefined;
|
|
1865
2237
|
variants?: {
|
|
1866
2238
|
name: string;
|
|
1867
2239
|
value: string;
|
|
@@ -1873,6 +2245,16 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1873
2245
|
title: string;
|
|
1874
2246
|
description?: string | undefined;
|
|
1875
2247
|
}[] | undefined;
|
|
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;
|
|
1876
2258
|
}>>;
|
|
1877
2259
|
error: z.ZodOptional<z.ZodString>;
|
|
1878
2260
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1883,7 +2265,6 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1883
2265
|
name: string;
|
|
1884
2266
|
description: string;
|
|
1885
2267
|
id: string;
|
|
1886
|
-
importStatement: string;
|
|
1887
2268
|
tier: number;
|
|
1888
2269
|
props: {
|
|
1889
2270
|
name: string;
|
|
@@ -1892,11 +2273,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1892
2273
|
description?: string | undefined;
|
|
1893
2274
|
defaultValue?: string | undefined;
|
|
1894
2275
|
}[];
|
|
2276
|
+
importStatement: string;
|
|
1895
2277
|
dependencies?: {
|
|
1896
2278
|
internal: string[];
|
|
1897
2279
|
external: string[];
|
|
1898
2280
|
} | undefined;
|
|
1899
|
-
accessibility?: string | undefined;
|
|
1900
2281
|
variants?: {
|
|
1901
2282
|
name: string;
|
|
1902
2283
|
value: string;
|
|
@@ -1908,6 +2289,16 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1908
2289
|
title: string;
|
|
1909
2290
|
description?: string | undefined;
|
|
1910
2291
|
}[] | undefined;
|
|
2292
|
+
accessibility?: string | undefined;
|
|
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;
|
|
1911
2302
|
} | undefined;
|
|
1912
2303
|
}, {
|
|
1913
2304
|
success: boolean;
|
|
@@ -1917,7 +2308,6 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1917
2308
|
name: string;
|
|
1918
2309
|
description: string;
|
|
1919
2310
|
id: string;
|
|
1920
|
-
importStatement: string;
|
|
1921
2311
|
tier: number;
|
|
1922
2312
|
props: {
|
|
1923
2313
|
name: string;
|
|
@@ -1926,11 +2316,11 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1926
2316
|
description?: string | undefined;
|
|
1927
2317
|
defaultValue?: string | undefined;
|
|
1928
2318
|
}[];
|
|
2319
|
+
importStatement: string;
|
|
1929
2320
|
dependencies?: {
|
|
1930
2321
|
internal: string[];
|
|
1931
2322
|
external: string[];
|
|
1932
2323
|
} | undefined;
|
|
1933
|
-
accessibility?: string | undefined;
|
|
1934
2324
|
variants?: {
|
|
1935
2325
|
name: string;
|
|
1936
2326
|
value: string;
|
|
@@ -1942,6 +2332,16 @@ export declare const PreviewComponentOutputSchema: z.ZodObject<{
|
|
|
1942
2332
|
title: string;
|
|
1943
2333
|
description?: string | undefined;
|
|
1944
2334
|
}[] | undefined;
|
|
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;
|
|
1945
2345
|
} | undefined;
|
|
1946
2346
|
}>;
|
|
1947
2347
|
export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
|
|
@@ -1986,19 +2386,19 @@ export declare const TemplateMetaSchema: z.ZodObject<{
|
|
|
1986
2386
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1987
2387
|
name: string;
|
|
1988
2388
|
description: string;
|
|
1989
|
-
version: string;
|
|
1990
2389
|
id: string;
|
|
2390
|
+
version: string;
|
|
1991
2391
|
requiredComponentsCount: number;
|
|
1992
|
-
layoutType: "
|
|
2392
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
1993
2393
|
tags?: string[] | undefined;
|
|
1994
2394
|
}, {
|
|
1995
2395
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
1996
2396
|
name: string;
|
|
1997
2397
|
description: string;
|
|
1998
|
-
version: string;
|
|
1999
2398
|
id: string;
|
|
2399
|
+
version: string;
|
|
2000
2400
|
requiredComponentsCount: number;
|
|
2001
|
-
layoutType: "
|
|
2401
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2002
2402
|
tags?: string[] | undefined;
|
|
2003
2403
|
}>;
|
|
2004
2404
|
export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
|
|
@@ -2020,19 +2420,19 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2020
2420
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2021
2421
|
name: string;
|
|
2022
2422
|
description: string;
|
|
2023
|
-
version: string;
|
|
2024
2423
|
id: string;
|
|
2424
|
+
version: string;
|
|
2025
2425
|
requiredComponentsCount: number;
|
|
2026
|
-
layoutType: "
|
|
2426
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2027
2427
|
tags?: string[] | undefined;
|
|
2028
2428
|
}, {
|
|
2029
2429
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2030
2430
|
name: string;
|
|
2031
2431
|
description: string;
|
|
2032
|
-
version: string;
|
|
2033
2432
|
id: string;
|
|
2433
|
+
version: string;
|
|
2034
2434
|
requiredComponentsCount: number;
|
|
2035
|
-
layoutType: "
|
|
2435
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2036
2436
|
tags?: string[] | undefined;
|
|
2037
2437
|
}>, "many">>;
|
|
2038
2438
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2071,10 +2471,10 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2071
2471
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2072
2472
|
name: string;
|
|
2073
2473
|
description: string;
|
|
2074
|
-
version: string;
|
|
2075
2474
|
id: string;
|
|
2475
|
+
version: string;
|
|
2076
2476
|
requiredComponentsCount: number;
|
|
2077
|
-
layoutType: "
|
|
2477
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2078
2478
|
tags?: string[] | undefined;
|
|
2079
2479
|
}[] | undefined;
|
|
2080
2480
|
}, {
|
|
@@ -2092,10 +2492,10 @@ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
|
|
|
2092
2492
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2093
2493
|
name: string;
|
|
2094
2494
|
description: string;
|
|
2095
|
-
version: string;
|
|
2096
2495
|
id: string;
|
|
2496
|
+
version: string;
|
|
2097
2497
|
requiredComponentsCount: number;
|
|
2098
|
-
layoutType: "
|
|
2498
|
+
layoutType: "full" | "sidebar" | "centered";
|
|
2099
2499
|
tags?: string[] | undefined;
|
|
2100
2500
|
}[] | undefined;
|
|
2101
2501
|
}>;
|
|
@@ -2128,13 +2528,13 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2128
2528
|
required: z.ZodBoolean;
|
|
2129
2529
|
}, "strip", z.ZodTypeAny, {
|
|
2130
2530
|
name: string;
|
|
2131
|
-
required: boolean;
|
|
2132
2531
|
id: string;
|
|
2532
|
+
required: boolean;
|
|
2133
2533
|
slot: string;
|
|
2134
2534
|
}, {
|
|
2135
2535
|
name: string;
|
|
2136
|
-
required: boolean;
|
|
2137
2536
|
id: string;
|
|
2537
|
+
required: boolean;
|
|
2138
2538
|
slot: string;
|
|
2139
2539
|
}>, "many">;
|
|
2140
2540
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2142,8 +2542,8 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2142
2542
|
page: string;
|
|
2143
2543
|
sections: {
|
|
2144
2544
|
name: string;
|
|
2145
|
-
required: boolean;
|
|
2146
2545
|
id: string;
|
|
2546
|
+
required: boolean;
|
|
2147
2547
|
slot: string;
|
|
2148
2548
|
}[];
|
|
2149
2549
|
}, {
|
|
@@ -2151,8 +2551,8 @@ export declare const SkeletonSchema: z.ZodObject<{
|
|
|
2151
2551
|
page: string;
|
|
2152
2552
|
sections: {
|
|
2153
2553
|
name: string;
|
|
2154
|
-
required: boolean;
|
|
2155
2554
|
id: string;
|
|
2555
|
+
required: boolean;
|
|
2156
2556
|
slot: string;
|
|
2157
2557
|
}[];
|
|
2158
2558
|
}>;
|
|
@@ -2184,12 +2584,12 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2184
2584
|
columns: z.ZodNumber;
|
|
2185
2585
|
}, "strip", z.ZodTypeAny, {
|
|
2186
2586
|
columns: number;
|
|
2187
|
-
padding: string;
|
|
2188
2587
|
gap: string;
|
|
2588
|
+
padding: string;
|
|
2189
2589
|
}, {
|
|
2190
2590
|
columns: number;
|
|
2191
|
-
padding: string;
|
|
2192
2591
|
gap: string;
|
|
2592
|
+
padding: string;
|
|
2193
2593
|
}>;
|
|
2194
2594
|
tablet: z.ZodObject<{
|
|
2195
2595
|
padding: z.ZodString;
|
|
@@ -2197,12 +2597,12 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2197
2597
|
columns: z.ZodNumber;
|
|
2198
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2199
2599
|
columns: number;
|
|
2200
|
-
padding: string;
|
|
2201
2600
|
gap: string;
|
|
2601
|
+
padding: string;
|
|
2202
2602
|
}, {
|
|
2203
2603
|
columns: number;
|
|
2204
|
-
padding: string;
|
|
2205
2604
|
gap: string;
|
|
2605
|
+
padding: string;
|
|
2206
2606
|
}>;
|
|
2207
2607
|
desktop: z.ZodObject<{
|
|
2208
2608
|
padding: z.ZodString;
|
|
@@ -2210,44 +2610,44 @@ export declare const ResponsiveLayoutSchema: z.ZodObject<{
|
|
|
2210
2610
|
columns: z.ZodNumber;
|
|
2211
2611
|
}, "strip", z.ZodTypeAny, {
|
|
2212
2612
|
columns: number;
|
|
2213
|
-
padding: string;
|
|
2214
2613
|
gap: string;
|
|
2614
|
+
padding: string;
|
|
2215
2615
|
}, {
|
|
2216
2616
|
columns: number;
|
|
2217
|
-
padding: string;
|
|
2218
2617
|
gap: string;
|
|
2618
|
+
padding: string;
|
|
2219
2619
|
}>;
|
|
2220
2620
|
}, "strip", z.ZodTypeAny, {
|
|
2221
2621
|
mobile: {
|
|
2222
2622
|
columns: number;
|
|
2223
|
-
padding: string;
|
|
2224
2623
|
gap: string;
|
|
2624
|
+
padding: string;
|
|
2225
2625
|
};
|
|
2226
2626
|
tablet: {
|
|
2227
2627
|
columns: number;
|
|
2228
|
-
padding: string;
|
|
2229
2628
|
gap: string;
|
|
2629
|
+
padding: string;
|
|
2230
2630
|
};
|
|
2231
2631
|
desktop: {
|
|
2232
2632
|
columns: number;
|
|
2233
|
-
padding: string;
|
|
2234
2633
|
gap: string;
|
|
2634
|
+
padding: string;
|
|
2235
2635
|
};
|
|
2236
2636
|
}, {
|
|
2237
2637
|
mobile: {
|
|
2238
2638
|
columns: number;
|
|
2239
|
-
padding: string;
|
|
2240
2639
|
gap: string;
|
|
2640
|
+
padding: string;
|
|
2241
2641
|
};
|
|
2242
2642
|
tablet: {
|
|
2243
2643
|
columns: number;
|
|
2244
|
-
padding: string;
|
|
2245
2644
|
gap: string;
|
|
2645
|
+
padding: string;
|
|
2246
2646
|
};
|
|
2247
2647
|
desktop: {
|
|
2248
2648
|
columns: number;
|
|
2249
|
-
padding: string;
|
|
2250
2649
|
gap: string;
|
|
2650
|
+
padding: string;
|
|
2251
2651
|
};
|
|
2252
2652
|
}>;
|
|
2253
2653
|
export type ResponsiveLayout = z.infer<typeof ResponsiveLayoutSchema>;
|
|
@@ -2272,13 +2672,13 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2272
2672
|
required: z.ZodBoolean;
|
|
2273
2673
|
}, "strip", z.ZodTypeAny, {
|
|
2274
2674
|
name: string;
|
|
2275
|
-
required: boolean;
|
|
2276
2675
|
id: string;
|
|
2676
|
+
required: boolean;
|
|
2277
2677
|
slot: string;
|
|
2278
2678
|
}, {
|
|
2279
2679
|
name: string;
|
|
2280
|
-
required: boolean;
|
|
2281
2680
|
id: string;
|
|
2681
|
+
required: boolean;
|
|
2282
2682
|
slot: string;
|
|
2283
2683
|
}>, "many">;
|
|
2284
2684
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2286,8 +2686,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2286
2686
|
page: string;
|
|
2287
2687
|
sections: {
|
|
2288
2688
|
name: string;
|
|
2289
|
-
required: boolean;
|
|
2290
2689
|
id: string;
|
|
2690
|
+
required: boolean;
|
|
2291
2691
|
slot: string;
|
|
2292
2692
|
}[];
|
|
2293
2693
|
}, {
|
|
@@ -2295,8 +2695,8 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2295
2695
|
page: string;
|
|
2296
2696
|
sections: {
|
|
2297
2697
|
name: string;
|
|
2298
|
-
required: boolean;
|
|
2299
2698
|
id: string;
|
|
2699
|
+
required: boolean;
|
|
2300
2700
|
slot: string;
|
|
2301
2701
|
}[];
|
|
2302
2702
|
}>;
|
|
@@ -2309,12 +2709,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2309
2709
|
columns: z.ZodNumber;
|
|
2310
2710
|
}, "strip", z.ZodTypeAny, {
|
|
2311
2711
|
columns: number;
|
|
2312
|
-
padding: string;
|
|
2313
2712
|
gap: string;
|
|
2713
|
+
padding: string;
|
|
2314
2714
|
}, {
|
|
2315
2715
|
columns: number;
|
|
2316
|
-
padding: string;
|
|
2317
2716
|
gap: string;
|
|
2717
|
+
padding: string;
|
|
2318
2718
|
}>;
|
|
2319
2719
|
tablet: z.ZodObject<{
|
|
2320
2720
|
padding: z.ZodString;
|
|
@@ -2322,12 +2722,12 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2322
2722
|
columns: z.ZodNumber;
|
|
2323
2723
|
}, "strip", z.ZodTypeAny, {
|
|
2324
2724
|
columns: number;
|
|
2325
|
-
padding: string;
|
|
2326
2725
|
gap: string;
|
|
2726
|
+
padding: string;
|
|
2327
2727
|
}, {
|
|
2328
2728
|
columns: number;
|
|
2329
|
-
padding: string;
|
|
2330
2729
|
gap: string;
|
|
2730
|
+
padding: string;
|
|
2331
2731
|
}>;
|
|
2332
2732
|
desktop: z.ZodObject<{
|
|
2333
2733
|
padding: z.ZodString;
|
|
@@ -2335,82 +2735,82 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2335
2735
|
columns: z.ZodNumber;
|
|
2336
2736
|
}, "strip", z.ZodTypeAny, {
|
|
2337
2737
|
columns: number;
|
|
2338
|
-
padding: string;
|
|
2339
2738
|
gap: string;
|
|
2739
|
+
padding: string;
|
|
2340
2740
|
}, {
|
|
2341
2741
|
columns: number;
|
|
2342
|
-
padding: string;
|
|
2343
2742
|
gap: string;
|
|
2743
|
+
padding: string;
|
|
2344
2744
|
}>;
|
|
2345
2745
|
}, "strip", z.ZodTypeAny, {
|
|
2346
2746
|
mobile: {
|
|
2347
2747
|
columns: number;
|
|
2348
|
-
padding: string;
|
|
2349
2748
|
gap: string;
|
|
2749
|
+
padding: string;
|
|
2350
2750
|
};
|
|
2351
2751
|
tablet: {
|
|
2352
2752
|
columns: number;
|
|
2353
|
-
padding: string;
|
|
2354
2753
|
gap: string;
|
|
2754
|
+
padding: string;
|
|
2355
2755
|
};
|
|
2356
2756
|
desktop: {
|
|
2357
2757
|
columns: number;
|
|
2358
|
-
padding: string;
|
|
2359
2758
|
gap: string;
|
|
2759
|
+
padding: string;
|
|
2360
2760
|
};
|
|
2361
2761
|
}, {
|
|
2362
2762
|
mobile: {
|
|
2363
2763
|
columns: number;
|
|
2364
|
-
padding: string;
|
|
2365
2764
|
gap: string;
|
|
2765
|
+
padding: string;
|
|
2366
2766
|
};
|
|
2367
2767
|
tablet: {
|
|
2368
2768
|
columns: number;
|
|
2369
|
-
padding: string;
|
|
2370
2769
|
gap: string;
|
|
2770
|
+
padding: string;
|
|
2371
2771
|
};
|
|
2372
2772
|
desktop: {
|
|
2373
2773
|
columns: number;
|
|
2374
|
-
padding: string;
|
|
2375
2774
|
gap: string;
|
|
2775
|
+
padding: string;
|
|
2376
2776
|
};
|
|
2377
2777
|
}>>;
|
|
2378
2778
|
}, "strip", z.ZodTypeAny, {
|
|
2379
|
-
type: "
|
|
2779
|
+
type: "full" | "sidebar" | "centered";
|
|
2380
2780
|
responsive?: {
|
|
2381
2781
|
mobile: {
|
|
2382
2782
|
columns: number;
|
|
2383
|
-
padding: string;
|
|
2384
2783
|
gap: string;
|
|
2784
|
+
padding: string;
|
|
2385
2785
|
};
|
|
2386
2786
|
tablet: {
|
|
2387
2787
|
columns: number;
|
|
2388
|
-
padding: string;
|
|
2389
2788
|
gap: string;
|
|
2789
|
+
padding: string;
|
|
2390
2790
|
};
|
|
2391
2791
|
desktop: {
|
|
2392
2792
|
columns: number;
|
|
2393
|
-
padding: string;
|
|
2394
2793
|
gap: string;
|
|
2794
|
+
padding: string;
|
|
2395
2795
|
};
|
|
2396
2796
|
} | undefined;
|
|
2397
2797
|
}, {
|
|
2398
|
-
type: "
|
|
2798
|
+
type: "full" | "sidebar" | "centered";
|
|
2399
2799
|
responsive?: {
|
|
2400
2800
|
mobile: {
|
|
2401
2801
|
columns: number;
|
|
2402
|
-
padding: string;
|
|
2403
2802
|
gap: string;
|
|
2803
|
+
padding: string;
|
|
2404
2804
|
};
|
|
2405
2805
|
tablet: {
|
|
2406
2806
|
columns: number;
|
|
2407
|
-
padding: string;
|
|
2408
2807
|
gap: string;
|
|
2808
|
+
padding: string;
|
|
2409
2809
|
};
|
|
2410
2810
|
desktop: {
|
|
2411
2811
|
columns: number;
|
|
2412
|
-
padding: string;
|
|
2413
2812
|
gap: string;
|
|
2813
|
+
padding: string;
|
|
2414
2814
|
};
|
|
2415
2815
|
} | undefined;
|
|
2416
2816
|
}>;
|
|
@@ -2449,36 +2849,36 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2449
2849
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2450
2850
|
name: string;
|
|
2451
2851
|
description: string;
|
|
2852
|
+
id: string;
|
|
2452
2853
|
version: string;
|
|
2854
|
+
importStatement: string;
|
|
2453
2855
|
layout: {
|
|
2454
|
-
type: "
|
|
2856
|
+
type: "full" | "sidebar" | "centered";
|
|
2455
2857
|
responsive?: {
|
|
2456
2858
|
mobile: {
|
|
2457
2859
|
columns: number;
|
|
2458
|
-
padding: string;
|
|
2459
2860
|
gap: string;
|
|
2861
|
+
padding: string;
|
|
2460
2862
|
};
|
|
2461
2863
|
tablet: {
|
|
2462
2864
|
columns: number;
|
|
2463
|
-
padding: string;
|
|
2464
2865
|
gap: string;
|
|
2866
|
+
padding: string;
|
|
2465
2867
|
};
|
|
2466
2868
|
desktop: {
|
|
2467
2869
|
columns: number;
|
|
2468
|
-
padding: string;
|
|
2469
2870
|
gap: string;
|
|
2871
|
+
padding: string;
|
|
2470
2872
|
};
|
|
2471
2873
|
} | undefined;
|
|
2472
2874
|
};
|
|
2473
|
-
id: string;
|
|
2474
|
-
importStatement: string;
|
|
2475
2875
|
skeleton: {
|
|
2476
2876
|
shell: string;
|
|
2477
2877
|
page: string;
|
|
2478
2878
|
sections: {
|
|
2479
2879
|
name: string;
|
|
2480
|
-
required: boolean;
|
|
2481
2880
|
id: string;
|
|
2881
|
+
required: boolean;
|
|
2482
2882
|
slot: string;
|
|
2483
2883
|
}[];
|
|
2484
2884
|
};
|
|
@@ -2500,36 +2900,36 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2500
2900
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2501
2901
|
name: string;
|
|
2502
2902
|
description: string;
|
|
2903
|
+
id: string;
|
|
2503
2904
|
version: string;
|
|
2905
|
+
importStatement: string;
|
|
2504
2906
|
layout: {
|
|
2505
|
-
type: "
|
|
2907
|
+
type: "full" | "sidebar" | "centered";
|
|
2506
2908
|
responsive?: {
|
|
2507
2909
|
mobile: {
|
|
2508
2910
|
columns: number;
|
|
2509
|
-
padding: string;
|
|
2510
2911
|
gap: string;
|
|
2912
|
+
padding: string;
|
|
2511
2913
|
};
|
|
2512
2914
|
tablet: {
|
|
2513
2915
|
columns: number;
|
|
2514
|
-
padding: string;
|
|
2515
2916
|
gap: string;
|
|
2917
|
+
padding: string;
|
|
2516
2918
|
};
|
|
2517
2919
|
desktop: {
|
|
2518
2920
|
columns: number;
|
|
2519
|
-
padding: string;
|
|
2520
2921
|
gap: string;
|
|
2922
|
+
padding: string;
|
|
2521
2923
|
};
|
|
2522
2924
|
} | undefined;
|
|
2523
2925
|
};
|
|
2524
|
-
id: string;
|
|
2525
|
-
importStatement: string;
|
|
2526
2926
|
skeleton: {
|
|
2527
2927
|
shell: string;
|
|
2528
2928
|
page: string;
|
|
2529
2929
|
sections: {
|
|
2530
2930
|
name: string;
|
|
2531
|
-
required: boolean;
|
|
2532
2931
|
id: string;
|
|
2932
|
+
required: boolean;
|
|
2533
2933
|
slot: string;
|
|
2534
2934
|
}[];
|
|
2535
2935
|
};
|
|
@@ -2556,36 +2956,36 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2556
2956
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2557
2957
|
name: string;
|
|
2558
2958
|
description: string;
|
|
2959
|
+
id: string;
|
|
2559
2960
|
version: string;
|
|
2961
|
+
importStatement: string;
|
|
2560
2962
|
layout: {
|
|
2561
|
-
type: "
|
|
2963
|
+
type: "full" | "sidebar" | "centered";
|
|
2562
2964
|
responsive?: {
|
|
2563
2965
|
mobile: {
|
|
2564
2966
|
columns: number;
|
|
2565
|
-
padding: string;
|
|
2566
2967
|
gap: string;
|
|
2968
|
+
padding: string;
|
|
2567
2969
|
};
|
|
2568
2970
|
tablet: {
|
|
2569
2971
|
columns: number;
|
|
2570
|
-
padding: string;
|
|
2571
2972
|
gap: string;
|
|
2973
|
+
padding: string;
|
|
2572
2974
|
};
|
|
2573
2975
|
desktop: {
|
|
2574
2976
|
columns: number;
|
|
2575
|
-
padding: string;
|
|
2576
2977
|
gap: string;
|
|
2978
|
+
padding: string;
|
|
2577
2979
|
};
|
|
2578
2980
|
} | undefined;
|
|
2579
2981
|
};
|
|
2580
|
-
id: string;
|
|
2581
|
-
importStatement: string;
|
|
2582
2982
|
skeleton: {
|
|
2583
2983
|
shell: string;
|
|
2584
2984
|
page: string;
|
|
2585
2985
|
sections: {
|
|
2586
2986
|
name: string;
|
|
2587
|
-
required: boolean;
|
|
2588
2987
|
id: string;
|
|
2988
|
+
required: boolean;
|
|
2589
2989
|
slot: string;
|
|
2590
2990
|
}[];
|
|
2591
2991
|
};
|
|
@@ -2611,36 +3011,36 @@ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
|
|
|
2611
3011
|
category: "dashboard" | "auth" | "form" | "marketing" | "feedback";
|
|
2612
3012
|
name: string;
|
|
2613
3013
|
description: string;
|
|
3014
|
+
id: string;
|
|
2614
3015
|
version: string;
|
|
3016
|
+
importStatement: string;
|
|
2615
3017
|
layout: {
|
|
2616
|
-
type: "
|
|
3018
|
+
type: "full" | "sidebar" | "centered";
|
|
2617
3019
|
responsive?: {
|
|
2618
3020
|
mobile: {
|
|
2619
3021
|
columns: number;
|
|
2620
|
-
padding: string;
|
|
2621
3022
|
gap: string;
|
|
3023
|
+
padding: string;
|
|
2622
3024
|
};
|
|
2623
3025
|
tablet: {
|
|
2624
3026
|
columns: number;
|
|
2625
|
-
padding: string;
|
|
2626
3027
|
gap: string;
|
|
3028
|
+
padding: string;
|
|
2627
3029
|
};
|
|
2628
3030
|
desktop: {
|
|
2629
3031
|
columns: number;
|
|
2630
|
-
padding: string;
|
|
2631
3032
|
gap: string;
|
|
3033
|
+
padding: string;
|
|
2632
3034
|
};
|
|
2633
3035
|
} | undefined;
|
|
2634
3036
|
};
|
|
2635
|
-
id: string;
|
|
2636
|
-
importStatement: string;
|
|
2637
3037
|
skeleton: {
|
|
2638
3038
|
shell: string;
|
|
2639
3039
|
page: string;
|
|
2640
3040
|
sections: {
|
|
2641
3041
|
name: string;
|
|
2642
|
-
required: boolean;
|
|
2643
3042
|
id: string;
|
|
3043
|
+
required: boolean;
|
|
2644
3044
|
slot: string;
|
|
2645
3045
|
}[];
|
|
2646
3046
|
};
|
|
@@ -2670,15 +3070,18 @@ export declare const GetScreenGenerationContextInputSchema: z.ZodObject<{
|
|
|
2670
3070
|
themeId: z.ZodOptional<z.ZodString>;
|
|
2671
3071
|
includeExamples: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2672
3072
|
compact: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3073
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
2673
3074
|
}, "strip", z.ZodTypeAny, {
|
|
2674
3075
|
description: string;
|
|
2675
3076
|
includeExamples: boolean;
|
|
2676
3077
|
compact: boolean;
|
|
3078
|
+
platform?: "web" | "react-native" | undefined;
|
|
2677
3079
|
themeId?: string | undefined;
|
|
2678
3080
|
}, {
|
|
2679
3081
|
description: string;
|
|
2680
|
-
|
|
3082
|
+
platform?: "web" | "react-native" | undefined;
|
|
2681
3083
|
includeExamples?: boolean | undefined;
|
|
3084
|
+
themeId?: string | undefined;
|
|
2682
3085
|
compact?: boolean | undefined;
|
|
2683
3086
|
}>;
|
|
2684
3087
|
export type GetScreenGenerationContextInput = z.infer<typeof GetScreenGenerationContextInputSchema>;
|
|
@@ -2701,13 +3104,13 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2701
3104
|
required: z.ZodBoolean;
|
|
2702
3105
|
}, "strip", z.ZodTypeAny, {
|
|
2703
3106
|
name: string;
|
|
2704
|
-
required: boolean;
|
|
2705
3107
|
id: string;
|
|
3108
|
+
required: boolean;
|
|
2706
3109
|
slot: string;
|
|
2707
3110
|
}, {
|
|
2708
3111
|
name: string;
|
|
2709
|
-
required: boolean;
|
|
2710
3112
|
id: string;
|
|
3113
|
+
required: boolean;
|
|
2711
3114
|
slot: string;
|
|
2712
3115
|
}>, "many">;
|
|
2713
3116
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2715,8 +3118,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2715
3118
|
page: string;
|
|
2716
3119
|
sections: {
|
|
2717
3120
|
name: string;
|
|
2718
|
-
required: boolean;
|
|
2719
3121
|
id: string;
|
|
3122
|
+
required: boolean;
|
|
2720
3123
|
slot: string;
|
|
2721
3124
|
}[];
|
|
2722
3125
|
}, {
|
|
@@ -2724,8 +3127,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2724
3127
|
page: string;
|
|
2725
3128
|
sections: {
|
|
2726
3129
|
name: string;
|
|
2727
|
-
required: boolean;
|
|
2728
3130
|
id: string;
|
|
3131
|
+
required: boolean;
|
|
2729
3132
|
slot: string;
|
|
2730
3133
|
}[];
|
|
2731
3134
|
}>>;
|
|
@@ -2741,8 +3144,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2741
3144
|
page: string;
|
|
2742
3145
|
sections: {
|
|
2743
3146
|
name: string;
|
|
2744
|
-
required: boolean;
|
|
2745
3147
|
id: string;
|
|
3148
|
+
required: boolean;
|
|
2746
3149
|
slot: string;
|
|
2747
3150
|
}[];
|
|
2748
3151
|
} | undefined;
|
|
@@ -2758,8 +3161,8 @@ export declare const ContextTemplateMatchSchema: z.ZodObject<{
|
|
|
2758
3161
|
page: string;
|
|
2759
3162
|
sections: {
|
|
2760
3163
|
name: string;
|
|
2761
|
-
required: boolean;
|
|
2762
3164
|
id: string;
|
|
3165
|
+
required: boolean;
|
|
2763
3166
|
slot: string;
|
|
2764
3167
|
}[];
|
|
2765
3168
|
} | undefined;
|
|
@@ -2807,12 +3210,36 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2807
3210
|
value: string;
|
|
2808
3211
|
description?: string | undefined;
|
|
2809
3212
|
}>, "many">>;
|
|
3213
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
3214
|
+
target: z.ZodEnum<["web", "react-native"]>;
|
|
3215
|
+
supported: z.ZodBoolean;
|
|
3216
|
+
recommended: z.ZodBoolean;
|
|
3217
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
3218
|
+
notes: z.ZodArray<z.ZodString, "many">;
|
|
3219
|
+
recommendedImports: z.ZodArray<z.ZodString, "many">;
|
|
3220
|
+
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
3221
|
+
}, "strip", z.ZodTypeAny, {
|
|
3222
|
+
status: "full" | "partial" | "avoid";
|
|
3223
|
+
target: "web" | "react-native";
|
|
3224
|
+
supported: boolean;
|
|
3225
|
+
recommended: boolean;
|
|
3226
|
+
notes: string[];
|
|
3227
|
+
recommendedImports: string[];
|
|
3228
|
+
recommendedPackages: string[];
|
|
3229
|
+
}, {
|
|
3230
|
+
status: "full" | "partial" | "avoid";
|
|
3231
|
+
target: "web" | "react-native";
|
|
3232
|
+
supported: boolean;
|
|
3233
|
+
recommended: boolean;
|
|
3234
|
+
notes: string[];
|
|
3235
|
+
recommendedImports: string[];
|
|
3236
|
+
recommendedPackages: string[];
|
|
3237
|
+
}>>;
|
|
2810
3238
|
}, "strip", z.ZodTypeAny, {
|
|
2811
3239
|
category: "core" | "complex" | "advanced";
|
|
2812
3240
|
name: string;
|
|
2813
3241
|
description: string;
|
|
2814
3242
|
id: string;
|
|
2815
|
-
importStatement: string;
|
|
2816
3243
|
props: {
|
|
2817
3244
|
name: string;
|
|
2818
3245
|
type: string;
|
|
@@ -2820,17 +3247,26 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2820
3247
|
description?: string | undefined;
|
|
2821
3248
|
defaultValue?: string | undefined;
|
|
2822
3249
|
}[];
|
|
3250
|
+
importStatement: string;
|
|
2823
3251
|
variants?: {
|
|
2824
3252
|
name: string;
|
|
2825
3253
|
value: string;
|
|
2826
3254
|
description?: string | undefined;
|
|
2827
3255
|
}[] | undefined;
|
|
3256
|
+
platformSupport?: {
|
|
3257
|
+
status: "full" | "partial" | "avoid";
|
|
3258
|
+
target: "web" | "react-native";
|
|
3259
|
+
supported: boolean;
|
|
3260
|
+
recommended: boolean;
|
|
3261
|
+
notes: string[];
|
|
3262
|
+
recommendedImports: string[];
|
|
3263
|
+
recommendedPackages: string[];
|
|
3264
|
+
} | undefined;
|
|
2828
3265
|
}, {
|
|
2829
3266
|
category: "core" | "complex" | "advanced";
|
|
2830
3267
|
name: string;
|
|
2831
3268
|
description: string;
|
|
2832
3269
|
id: string;
|
|
2833
|
-
importStatement: string;
|
|
2834
3270
|
props: {
|
|
2835
3271
|
name: string;
|
|
2836
3272
|
type: string;
|
|
@@ -2838,11 +3274,21 @@ export declare const ContextComponentInfoSchema: z.ZodObject<{
|
|
|
2838
3274
|
description?: string | undefined;
|
|
2839
3275
|
defaultValue?: string | undefined;
|
|
2840
3276
|
}[];
|
|
3277
|
+
importStatement: string;
|
|
2841
3278
|
variants?: {
|
|
2842
3279
|
name: string;
|
|
2843
3280
|
value: string;
|
|
2844
3281
|
description?: string | undefined;
|
|
2845
3282
|
}[] | undefined;
|
|
3283
|
+
platformSupport?: {
|
|
3284
|
+
status: "full" | "partial" | "avoid";
|
|
3285
|
+
target: "web" | "react-native";
|
|
3286
|
+
supported: boolean;
|
|
3287
|
+
recommended: boolean;
|
|
3288
|
+
notes: string[];
|
|
3289
|
+
recommendedImports: string[];
|
|
3290
|
+
recommendedPackages: string[];
|
|
3291
|
+
} | undefined;
|
|
2846
3292
|
}>;
|
|
2847
3293
|
export type ContextComponentInfo = z.infer<typeof ContextComponentInfoSchema>;
|
|
2848
3294
|
/**
|
|
@@ -2873,8 +3319,8 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2873
3319
|
children?: string | unknown[] | undefined;
|
|
2874
3320
|
}>, "many">;
|
|
2875
3321
|
}, "strip", z.ZodTypeAny, {
|
|
2876
|
-
pattern: string;
|
|
2877
3322
|
id: string;
|
|
3323
|
+
pattern: string;
|
|
2878
3324
|
components: {
|
|
2879
3325
|
type: string;
|
|
2880
3326
|
props?: Record<string, unknown> | undefined;
|
|
@@ -2882,8 +3328,8 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2882
3328
|
}[];
|
|
2883
3329
|
slot?: string | undefined;
|
|
2884
3330
|
}, {
|
|
2885
|
-
pattern: string;
|
|
2886
3331
|
id: string;
|
|
3332
|
+
pattern: string;
|
|
2887
3333
|
components: {
|
|
2888
3334
|
type: string;
|
|
2889
3335
|
props?: Record<string, unknown> | undefined;
|
|
@@ -2911,8 +3357,8 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2911
3357
|
shell: string;
|
|
2912
3358
|
page: string;
|
|
2913
3359
|
sections: {
|
|
2914
|
-
pattern: string;
|
|
2915
3360
|
id: string;
|
|
3361
|
+
pattern: string;
|
|
2916
3362
|
components: {
|
|
2917
3363
|
type: string;
|
|
2918
3364
|
props?: Record<string, unknown> | undefined;
|
|
@@ -2923,19 +3369,19 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2923
3369
|
id: string;
|
|
2924
3370
|
name?: string | undefined;
|
|
2925
3371
|
description?: string | undefined;
|
|
3372
|
+
themeId?: string | undefined;
|
|
2926
3373
|
metadata?: {
|
|
2927
3374
|
version?: string | undefined;
|
|
2928
3375
|
created?: string | undefined;
|
|
2929
3376
|
updated?: string | undefined;
|
|
2930
3377
|
author?: string | undefined;
|
|
2931
3378
|
} | undefined;
|
|
2932
|
-
themeId?: string | undefined;
|
|
2933
3379
|
}, {
|
|
2934
3380
|
shell: string;
|
|
2935
3381
|
page: string;
|
|
2936
3382
|
sections: {
|
|
2937
|
-
pattern: string;
|
|
2938
3383
|
id: string;
|
|
3384
|
+
pattern: string;
|
|
2939
3385
|
components: {
|
|
2940
3386
|
type: string;
|
|
2941
3387
|
props?: Record<string, unknown> | undefined;
|
|
@@ -2946,13 +3392,13 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
2946
3392
|
id: string;
|
|
2947
3393
|
name?: string | undefined;
|
|
2948
3394
|
description?: string | undefined;
|
|
3395
|
+
themeId?: string | undefined;
|
|
2949
3396
|
metadata?: {
|
|
2950
3397
|
version?: string | undefined;
|
|
2951
3398
|
created?: string | undefined;
|
|
2952
3399
|
updated?: string | undefined;
|
|
2953
3400
|
author?: string | undefined;
|
|
2954
3401
|
} | undefined;
|
|
2955
|
-
themeId?: string | undefined;
|
|
2956
3402
|
}>;
|
|
2957
3403
|
export type ScreenDefinition = z.infer<typeof ScreenDefinitionSchema>;
|
|
2958
3404
|
/**
|
|
@@ -2986,8 +3432,8 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2986
3432
|
children?: string | unknown[] | undefined;
|
|
2987
3433
|
}>, "many">;
|
|
2988
3434
|
}, "strip", z.ZodTypeAny, {
|
|
2989
|
-
pattern: string;
|
|
2990
3435
|
id: string;
|
|
3436
|
+
pattern: string;
|
|
2991
3437
|
components: {
|
|
2992
3438
|
type: string;
|
|
2993
3439
|
props?: Record<string, unknown> | undefined;
|
|
@@ -2995,8 +3441,8 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
2995
3441
|
}[];
|
|
2996
3442
|
slot?: string | undefined;
|
|
2997
3443
|
}, {
|
|
2998
|
-
pattern: string;
|
|
2999
3444
|
id: string;
|
|
3445
|
+
pattern: string;
|
|
3000
3446
|
components: {
|
|
3001
3447
|
type: string;
|
|
3002
3448
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3024,8 +3470,8 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3024
3470
|
shell: string;
|
|
3025
3471
|
page: string;
|
|
3026
3472
|
sections: {
|
|
3027
|
-
pattern: string;
|
|
3028
3473
|
id: string;
|
|
3474
|
+
pattern: string;
|
|
3029
3475
|
components: {
|
|
3030
3476
|
type: string;
|
|
3031
3477
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3036,19 +3482,19 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3036
3482
|
id: string;
|
|
3037
3483
|
name?: string | undefined;
|
|
3038
3484
|
description?: string | undefined;
|
|
3485
|
+
themeId?: string | undefined;
|
|
3039
3486
|
metadata?: {
|
|
3040
3487
|
version?: string | undefined;
|
|
3041
3488
|
created?: string | undefined;
|
|
3042
3489
|
updated?: string | undefined;
|
|
3043
3490
|
author?: string | undefined;
|
|
3044
3491
|
} | undefined;
|
|
3045
|
-
themeId?: string | undefined;
|
|
3046
3492
|
}, {
|
|
3047
3493
|
shell: string;
|
|
3048
3494
|
page: string;
|
|
3049
3495
|
sections: {
|
|
3050
|
-
pattern: string;
|
|
3051
3496
|
id: string;
|
|
3497
|
+
pattern: string;
|
|
3052
3498
|
components: {
|
|
3053
3499
|
type: string;
|
|
3054
3500
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3059,13 +3505,13 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3059
3505
|
id: string;
|
|
3060
3506
|
name?: string | undefined;
|
|
3061
3507
|
description?: string | undefined;
|
|
3508
|
+
themeId?: string | undefined;
|
|
3062
3509
|
metadata?: {
|
|
3063
3510
|
version?: string | undefined;
|
|
3064
3511
|
created?: string | undefined;
|
|
3065
3512
|
updated?: string | undefined;
|
|
3066
3513
|
author?: string | undefined;
|
|
3067
3514
|
} | undefined;
|
|
3068
|
-
themeId?: string | undefined;
|
|
3069
3515
|
}>;
|
|
3070
3516
|
}, "strip", z.ZodTypeAny, {
|
|
3071
3517
|
name: string;
|
|
@@ -3074,8 +3520,8 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3074
3520
|
shell: string;
|
|
3075
3521
|
page: string;
|
|
3076
3522
|
sections: {
|
|
3077
|
-
pattern: string;
|
|
3078
3523
|
id: string;
|
|
3524
|
+
pattern: string;
|
|
3079
3525
|
components: {
|
|
3080
3526
|
type: string;
|
|
3081
3527
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3086,13 +3532,13 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3086
3532
|
id: string;
|
|
3087
3533
|
name?: string | undefined;
|
|
3088
3534
|
description?: string | undefined;
|
|
3535
|
+
themeId?: string | undefined;
|
|
3089
3536
|
metadata?: {
|
|
3090
3537
|
version?: string | undefined;
|
|
3091
3538
|
created?: string | undefined;
|
|
3092
3539
|
updated?: string | undefined;
|
|
3093
3540
|
author?: string | undefined;
|
|
3094
3541
|
} | undefined;
|
|
3095
|
-
themeId?: string | undefined;
|
|
3096
3542
|
};
|
|
3097
3543
|
}, {
|
|
3098
3544
|
name: string;
|
|
@@ -3101,8 +3547,8 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3101
3547
|
shell: string;
|
|
3102
3548
|
page: string;
|
|
3103
3549
|
sections: {
|
|
3104
|
-
pattern: string;
|
|
3105
3550
|
id: string;
|
|
3551
|
+
pattern: string;
|
|
3106
3552
|
components: {
|
|
3107
3553
|
type: string;
|
|
3108
3554
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3113,13 +3559,13 @@ export declare const ScreenExampleSchema: z.ZodObject<{
|
|
|
3113
3559
|
id: string;
|
|
3114
3560
|
name?: string | undefined;
|
|
3115
3561
|
description?: string | undefined;
|
|
3562
|
+
themeId?: string | undefined;
|
|
3116
3563
|
metadata?: {
|
|
3117
3564
|
version?: string | undefined;
|
|
3118
3565
|
created?: string | undefined;
|
|
3119
3566
|
updated?: string | undefined;
|
|
3120
3567
|
author?: string | undefined;
|
|
3121
3568
|
} | undefined;
|
|
3122
|
-
themeId?: string | undefined;
|
|
3123
3569
|
};
|
|
3124
3570
|
}>;
|
|
3125
3571
|
export type ScreenExample = z.infer<typeof ScreenExampleSchema>;
|
|
@@ -3149,12 +3595,12 @@ export declare const GenerationHintSchema: z.ZodObject<{
|
|
|
3149
3595
|
message: z.ZodString;
|
|
3150
3596
|
example: z.ZodOptional<z.ZodString>;
|
|
3151
3597
|
}, "strip", z.ZodTypeAny, {
|
|
3152
|
-
category: "
|
|
3598
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3153
3599
|
message: string;
|
|
3154
3600
|
priority: "high" | "medium" | "low";
|
|
3155
3601
|
example?: string | undefined;
|
|
3156
3602
|
}, {
|
|
3157
|
-
category: "
|
|
3603
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3158
3604
|
message: string;
|
|
3159
3605
|
priority: "high" | "medium" | "low";
|
|
3160
3606
|
example?: string | undefined;
|
|
@@ -3254,15 +3700,15 @@ export declare const DefinitionStarterSchema: z.ZodObject<{
|
|
|
3254
3700
|
props?: Record<string, unknown> | undefined;
|
|
3255
3701
|
}>, "many">;
|
|
3256
3702
|
}, "strip", z.ZodTypeAny, {
|
|
3257
|
-
pattern: string;
|
|
3258
3703
|
id: string;
|
|
3704
|
+
pattern: string;
|
|
3259
3705
|
components: {
|
|
3260
3706
|
type: string;
|
|
3261
3707
|
props?: Record<string, unknown> | undefined;
|
|
3262
3708
|
}[];
|
|
3263
3709
|
}, {
|
|
3264
|
-
pattern: string;
|
|
3265
3710
|
id: string;
|
|
3711
|
+
pattern: string;
|
|
3266
3712
|
components: {
|
|
3267
3713
|
type: string;
|
|
3268
3714
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3272,8 +3718,8 @@ export declare const DefinitionStarterSchema: z.ZodObject<{
|
|
|
3272
3718
|
shell: string;
|
|
3273
3719
|
page: string;
|
|
3274
3720
|
sections: {
|
|
3275
|
-
pattern: string;
|
|
3276
3721
|
id: string;
|
|
3722
|
+
pattern: string;
|
|
3277
3723
|
components: {
|
|
3278
3724
|
type: string;
|
|
3279
3725
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3285,8 +3731,8 @@ export declare const DefinitionStarterSchema: z.ZodObject<{
|
|
|
3285
3731
|
shell: string;
|
|
3286
3732
|
page: string;
|
|
3287
3733
|
sections: {
|
|
3288
|
-
pattern: string;
|
|
3289
3734
|
id: string;
|
|
3735
|
+
pattern: string;
|
|
3290
3736
|
components: {
|
|
3291
3737
|
type: string;
|
|
3292
3738
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3301,6 +3747,7 @@ export type DefinitionStarter = z.infer<typeof DefinitionStarterSchema>;
|
|
|
3301
3747
|
*/
|
|
3302
3748
|
export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
3303
3749
|
success: z.ZodBoolean;
|
|
3750
|
+
targetPlatform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
3304
3751
|
templateMatch: z.ZodOptional<z.ZodObject<{
|
|
3305
3752
|
templateId: z.ZodString;
|
|
3306
3753
|
templateName: z.ZodString;
|
|
@@ -3317,13 +3764,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3317
3764
|
required: z.ZodBoolean;
|
|
3318
3765
|
}, "strip", z.ZodTypeAny, {
|
|
3319
3766
|
name: string;
|
|
3320
|
-
required: boolean;
|
|
3321
3767
|
id: string;
|
|
3768
|
+
required: boolean;
|
|
3322
3769
|
slot: string;
|
|
3323
3770
|
}, {
|
|
3324
3771
|
name: string;
|
|
3325
|
-
required: boolean;
|
|
3326
3772
|
id: string;
|
|
3773
|
+
required: boolean;
|
|
3327
3774
|
slot: string;
|
|
3328
3775
|
}>, "many">;
|
|
3329
3776
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3331,8 +3778,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3331
3778
|
page: string;
|
|
3332
3779
|
sections: {
|
|
3333
3780
|
name: string;
|
|
3334
|
-
required: boolean;
|
|
3335
3781
|
id: string;
|
|
3782
|
+
required: boolean;
|
|
3336
3783
|
slot: string;
|
|
3337
3784
|
}[];
|
|
3338
3785
|
}, {
|
|
@@ -3340,8 +3787,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3340
3787
|
page: string;
|
|
3341
3788
|
sections: {
|
|
3342
3789
|
name: string;
|
|
3343
|
-
required: boolean;
|
|
3344
3790
|
id: string;
|
|
3791
|
+
required: boolean;
|
|
3345
3792
|
slot: string;
|
|
3346
3793
|
}[];
|
|
3347
3794
|
}>>;
|
|
@@ -3357,8 +3804,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3357
3804
|
page: string;
|
|
3358
3805
|
sections: {
|
|
3359
3806
|
name: string;
|
|
3360
|
-
required: boolean;
|
|
3361
3807
|
id: string;
|
|
3808
|
+
required: boolean;
|
|
3362
3809
|
slot: string;
|
|
3363
3810
|
}[];
|
|
3364
3811
|
} | undefined;
|
|
@@ -3374,8 +3821,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3374
3821
|
page: string;
|
|
3375
3822
|
sections: {
|
|
3376
3823
|
name: string;
|
|
3377
|
-
required: boolean;
|
|
3378
3824
|
id: string;
|
|
3825
|
+
required: boolean;
|
|
3379
3826
|
slot: string;
|
|
3380
3827
|
}[];
|
|
3381
3828
|
} | undefined;
|
|
@@ -3419,12 +3866,36 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3419
3866
|
value: string;
|
|
3420
3867
|
description?: string | undefined;
|
|
3421
3868
|
}>, "many">>;
|
|
3869
|
+
platformSupport: z.ZodOptional<z.ZodObject<{
|
|
3870
|
+
target: z.ZodEnum<["web", "react-native"]>;
|
|
3871
|
+
supported: z.ZodBoolean;
|
|
3872
|
+
recommended: z.ZodBoolean;
|
|
3873
|
+
status: z.ZodEnum<["full", "partial", "avoid"]>;
|
|
3874
|
+
notes: z.ZodArray<z.ZodString, "many">;
|
|
3875
|
+
recommendedImports: z.ZodArray<z.ZodString, "many">;
|
|
3876
|
+
recommendedPackages: z.ZodArray<z.ZodString, "many">;
|
|
3877
|
+
}, "strip", z.ZodTypeAny, {
|
|
3878
|
+
status: "full" | "partial" | "avoid";
|
|
3879
|
+
target: "web" | "react-native";
|
|
3880
|
+
supported: boolean;
|
|
3881
|
+
recommended: boolean;
|
|
3882
|
+
notes: string[];
|
|
3883
|
+
recommendedImports: string[];
|
|
3884
|
+
recommendedPackages: string[];
|
|
3885
|
+
}, {
|
|
3886
|
+
status: "full" | "partial" | "avoid";
|
|
3887
|
+
target: "web" | "react-native";
|
|
3888
|
+
supported: boolean;
|
|
3889
|
+
recommended: boolean;
|
|
3890
|
+
notes: string[];
|
|
3891
|
+
recommendedImports: string[];
|
|
3892
|
+
recommendedPackages: string[];
|
|
3893
|
+
}>>;
|
|
3422
3894
|
}, "strip", z.ZodTypeAny, {
|
|
3423
3895
|
category: "core" | "complex" | "advanced";
|
|
3424
3896
|
name: string;
|
|
3425
3897
|
description: string;
|
|
3426
3898
|
id: string;
|
|
3427
|
-
importStatement: string;
|
|
3428
3899
|
props: {
|
|
3429
3900
|
name: string;
|
|
3430
3901
|
type: string;
|
|
@@ -3432,17 +3903,26 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3432
3903
|
description?: string | undefined;
|
|
3433
3904
|
defaultValue?: string | undefined;
|
|
3434
3905
|
}[];
|
|
3906
|
+
importStatement: string;
|
|
3435
3907
|
variants?: {
|
|
3436
3908
|
name: string;
|
|
3437
3909
|
value: string;
|
|
3438
3910
|
description?: string | undefined;
|
|
3439
3911
|
}[] | undefined;
|
|
3912
|
+
platformSupport?: {
|
|
3913
|
+
status: "full" | "partial" | "avoid";
|
|
3914
|
+
target: "web" | "react-native";
|
|
3915
|
+
supported: boolean;
|
|
3916
|
+
recommended: boolean;
|
|
3917
|
+
notes: string[];
|
|
3918
|
+
recommendedImports: string[];
|
|
3919
|
+
recommendedPackages: string[];
|
|
3920
|
+
} | undefined;
|
|
3440
3921
|
}, {
|
|
3441
3922
|
category: "core" | "complex" | "advanced";
|
|
3442
3923
|
name: string;
|
|
3443
3924
|
description: string;
|
|
3444
3925
|
id: string;
|
|
3445
|
-
importStatement: string;
|
|
3446
3926
|
props: {
|
|
3447
3927
|
name: string;
|
|
3448
3928
|
type: string;
|
|
@@ -3450,11 +3930,21 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3450
3930
|
description?: string | undefined;
|
|
3451
3931
|
defaultValue?: string | undefined;
|
|
3452
3932
|
}[];
|
|
3933
|
+
importStatement: string;
|
|
3453
3934
|
variants?: {
|
|
3454
3935
|
name: string;
|
|
3455
3936
|
value: string;
|
|
3456
3937
|
description?: string | undefined;
|
|
3457
3938
|
}[] | undefined;
|
|
3939
|
+
platformSupport?: {
|
|
3940
|
+
status: "full" | "partial" | "avoid";
|
|
3941
|
+
target: "web" | "react-native";
|
|
3942
|
+
supported: boolean;
|
|
3943
|
+
recommended: boolean;
|
|
3944
|
+
notes: string[];
|
|
3945
|
+
recommendedImports: string[];
|
|
3946
|
+
recommendedPackages: string[];
|
|
3947
|
+
} | undefined;
|
|
3458
3948
|
}>, "many">>;
|
|
3459
3949
|
definitionStarter: z.ZodOptional<z.ZodObject<{
|
|
3460
3950
|
id: z.ZodString;
|
|
@@ -3475,15 +3965,15 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3475
3965
|
props?: Record<string, unknown> | undefined;
|
|
3476
3966
|
}>, "many">;
|
|
3477
3967
|
}, "strip", z.ZodTypeAny, {
|
|
3478
|
-
pattern: string;
|
|
3479
3968
|
id: string;
|
|
3969
|
+
pattern: string;
|
|
3480
3970
|
components: {
|
|
3481
3971
|
type: string;
|
|
3482
3972
|
props?: Record<string, unknown> | undefined;
|
|
3483
3973
|
}[];
|
|
3484
3974
|
}, {
|
|
3485
|
-
pattern: string;
|
|
3486
3975
|
id: string;
|
|
3976
|
+
pattern: string;
|
|
3487
3977
|
components: {
|
|
3488
3978
|
type: string;
|
|
3489
3979
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3493,8 +3983,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3493
3983
|
shell: string;
|
|
3494
3984
|
page: string;
|
|
3495
3985
|
sections: {
|
|
3496
|
-
pattern: string;
|
|
3497
3986
|
id: string;
|
|
3987
|
+
pattern: string;
|
|
3498
3988
|
components: {
|
|
3499
3989
|
type: string;
|
|
3500
3990
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3506,8 +3996,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3506
3996
|
shell: string;
|
|
3507
3997
|
page: string;
|
|
3508
3998
|
sections: {
|
|
3509
|
-
pattern: string;
|
|
3510
3999
|
id: string;
|
|
4000
|
+
pattern: string;
|
|
3511
4001
|
components: {
|
|
3512
4002
|
type: string;
|
|
3513
4003
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3554,8 +4044,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3554
4044
|
children?: string | unknown[] | undefined;
|
|
3555
4045
|
}>, "many">;
|
|
3556
4046
|
}, "strip", z.ZodTypeAny, {
|
|
3557
|
-
pattern: string;
|
|
3558
4047
|
id: string;
|
|
4048
|
+
pattern: string;
|
|
3559
4049
|
components: {
|
|
3560
4050
|
type: string;
|
|
3561
4051
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3563,8 +4053,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3563
4053
|
}[];
|
|
3564
4054
|
slot?: string | undefined;
|
|
3565
4055
|
}, {
|
|
3566
|
-
pattern: string;
|
|
3567
4056
|
id: string;
|
|
4057
|
+
pattern: string;
|
|
3568
4058
|
components: {
|
|
3569
4059
|
type: string;
|
|
3570
4060
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3592,8 +4082,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3592
4082
|
shell: string;
|
|
3593
4083
|
page: string;
|
|
3594
4084
|
sections: {
|
|
3595
|
-
pattern: string;
|
|
3596
4085
|
id: string;
|
|
4086
|
+
pattern: string;
|
|
3597
4087
|
components: {
|
|
3598
4088
|
type: string;
|
|
3599
4089
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3604,19 +4094,19 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3604
4094
|
id: string;
|
|
3605
4095
|
name?: string | undefined;
|
|
3606
4096
|
description?: string | undefined;
|
|
4097
|
+
themeId?: string | undefined;
|
|
3607
4098
|
metadata?: {
|
|
3608
4099
|
version?: string | undefined;
|
|
3609
4100
|
created?: string | undefined;
|
|
3610
4101
|
updated?: string | undefined;
|
|
3611
4102
|
author?: string | undefined;
|
|
3612
4103
|
} | undefined;
|
|
3613
|
-
themeId?: string | undefined;
|
|
3614
4104
|
}, {
|
|
3615
4105
|
shell: string;
|
|
3616
4106
|
page: string;
|
|
3617
4107
|
sections: {
|
|
3618
|
-
pattern: string;
|
|
3619
4108
|
id: string;
|
|
4109
|
+
pattern: string;
|
|
3620
4110
|
components: {
|
|
3621
4111
|
type: string;
|
|
3622
4112
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3627,13 +4117,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3627
4117
|
id: string;
|
|
3628
4118
|
name?: string | undefined;
|
|
3629
4119
|
description?: string | undefined;
|
|
4120
|
+
themeId?: string | undefined;
|
|
3630
4121
|
metadata?: {
|
|
3631
4122
|
version?: string | undefined;
|
|
3632
4123
|
created?: string | undefined;
|
|
3633
4124
|
updated?: string | undefined;
|
|
3634
4125
|
author?: string | undefined;
|
|
3635
4126
|
} | undefined;
|
|
3636
|
-
themeId?: string | undefined;
|
|
3637
4127
|
}>;
|
|
3638
4128
|
}, "strip", z.ZodTypeAny, {
|
|
3639
4129
|
name: string;
|
|
@@ -3642,8 +4132,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3642
4132
|
shell: string;
|
|
3643
4133
|
page: string;
|
|
3644
4134
|
sections: {
|
|
3645
|
-
pattern: string;
|
|
3646
4135
|
id: string;
|
|
4136
|
+
pattern: string;
|
|
3647
4137
|
components: {
|
|
3648
4138
|
type: string;
|
|
3649
4139
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3654,13 +4144,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3654
4144
|
id: string;
|
|
3655
4145
|
name?: string | undefined;
|
|
3656
4146
|
description?: string | undefined;
|
|
4147
|
+
themeId?: string | undefined;
|
|
3657
4148
|
metadata?: {
|
|
3658
4149
|
version?: string | undefined;
|
|
3659
4150
|
created?: string | undefined;
|
|
3660
4151
|
updated?: string | undefined;
|
|
3661
4152
|
author?: string | undefined;
|
|
3662
4153
|
} | undefined;
|
|
3663
|
-
themeId?: string | undefined;
|
|
3664
4154
|
};
|
|
3665
4155
|
}, {
|
|
3666
4156
|
name: string;
|
|
@@ -3669,8 +4159,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3669
4159
|
shell: string;
|
|
3670
4160
|
page: string;
|
|
3671
4161
|
sections: {
|
|
3672
|
-
pattern: string;
|
|
3673
4162
|
id: string;
|
|
4163
|
+
pattern: string;
|
|
3674
4164
|
components: {
|
|
3675
4165
|
type: string;
|
|
3676
4166
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3681,13 +4171,13 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3681
4171
|
id: string;
|
|
3682
4172
|
name?: string | undefined;
|
|
3683
4173
|
description?: string | undefined;
|
|
4174
|
+
themeId?: string | undefined;
|
|
3684
4175
|
metadata?: {
|
|
3685
4176
|
version?: string | undefined;
|
|
3686
4177
|
created?: string | undefined;
|
|
3687
4178
|
updated?: string | undefined;
|
|
3688
4179
|
author?: string | undefined;
|
|
3689
4180
|
} | undefined;
|
|
3690
|
-
themeId?: string | undefined;
|
|
3691
4181
|
};
|
|
3692
4182
|
}>, "many">>;
|
|
3693
4183
|
themeRecipes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3709,12 +4199,12 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3709
4199
|
message: z.ZodString;
|
|
3710
4200
|
example: z.ZodOptional<z.ZodString>;
|
|
3711
4201
|
}, "strip", z.ZodTypeAny, {
|
|
3712
|
-
category: "
|
|
4202
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3713
4203
|
message: string;
|
|
3714
4204
|
priority: "high" | "medium" | "low";
|
|
3715
4205
|
example?: string | undefined;
|
|
3716
4206
|
}, {
|
|
3717
|
-
category: "
|
|
4207
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3718
4208
|
message: string;
|
|
3719
4209
|
priority: "high" | "medium" | "low";
|
|
3720
4210
|
example?: string | undefined;
|
|
@@ -3765,29 +4255,26 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3765
4255
|
}[];
|
|
3766
4256
|
notes?: string[] | undefined;
|
|
3767
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
|
+
}>>;
|
|
3768
4274
|
error: z.ZodOptional<z.ZodString>;
|
|
3769
4275
|
}, "strip", z.ZodTypeAny, {
|
|
3770
4276
|
success: boolean;
|
|
3771
4277
|
error?: string | undefined;
|
|
3772
|
-
components?: {
|
|
3773
|
-
category: "core" | "complex" | "advanced";
|
|
3774
|
-
name: string;
|
|
3775
|
-
description: string;
|
|
3776
|
-
id: string;
|
|
3777
|
-
importStatement: string;
|
|
3778
|
-
props: {
|
|
3779
|
-
name: string;
|
|
3780
|
-
type: string;
|
|
3781
|
-
required: boolean;
|
|
3782
|
-
description?: string | undefined;
|
|
3783
|
-
defaultValue?: string | undefined;
|
|
3784
|
-
}[];
|
|
3785
|
-
variants?: {
|
|
3786
|
-
name: string;
|
|
3787
|
-
value: string;
|
|
3788
|
-
description?: string | undefined;
|
|
3789
|
-
}[] | undefined;
|
|
3790
|
-
}[] | undefined;
|
|
3791
4278
|
examples?: {
|
|
3792
4279
|
name: string;
|
|
3793
4280
|
description: string;
|
|
@@ -3795,8 +4282,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3795
4282
|
shell: string;
|
|
3796
4283
|
page: string;
|
|
3797
4284
|
sections: {
|
|
3798
|
-
pattern: string;
|
|
3799
4285
|
id: string;
|
|
4286
|
+
pattern: string;
|
|
3800
4287
|
components: {
|
|
3801
4288
|
type: string;
|
|
3802
4289
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3807,15 +4294,56 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3807
4294
|
id: string;
|
|
3808
4295
|
name?: string | undefined;
|
|
3809
4296
|
description?: string | undefined;
|
|
4297
|
+
themeId?: string | undefined;
|
|
3810
4298
|
metadata?: {
|
|
3811
4299
|
version?: string | undefined;
|
|
3812
4300
|
created?: string | undefined;
|
|
3813
4301
|
updated?: string | undefined;
|
|
3814
4302
|
author?: string | undefined;
|
|
3815
4303
|
} | undefined;
|
|
3816
|
-
themeId?: string | undefined;
|
|
3817
4304
|
};
|
|
3818
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;
|
|
4346
|
+
targetPlatform?: "web" | "react-native" | undefined;
|
|
3819
4347
|
templateMatch?: {
|
|
3820
4348
|
category: string;
|
|
3821
4349
|
templateId: string;
|
|
@@ -3827,8 +4355,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3827
4355
|
page: string;
|
|
3828
4356
|
sections: {
|
|
3829
4357
|
name: string;
|
|
3830
|
-
required: boolean;
|
|
3831
4358
|
id: string;
|
|
4359
|
+
required: boolean;
|
|
3832
4360
|
slot: string;
|
|
3833
4361
|
}[];
|
|
3834
4362
|
} | undefined;
|
|
@@ -3838,8 +4366,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3838
4366
|
shell: string;
|
|
3839
4367
|
page: string;
|
|
3840
4368
|
sections: {
|
|
3841
|
-
pattern: string;
|
|
3842
4369
|
id: string;
|
|
4370
|
+
pattern: string;
|
|
3843
4371
|
components: {
|
|
3844
4372
|
type: string;
|
|
3845
4373
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3858,45 +4386,20 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3858
4386
|
defaultClassName?: string | undefined;
|
|
3859
4387
|
}[] | undefined;
|
|
3860
4388
|
hints?: {
|
|
3861
|
-
category: "
|
|
4389
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3862
4390
|
message: string;
|
|
3863
4391
|
priority: "high" | "medium" | "low";
|
|
3864
4392
|
example?: string | undefined;
|
|
3865
4393
|
}[] | undefined;
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
action: string;
|
|
3872
|
-
step: number;
|
|
3873
|
-
example?: string | undefined;
|
|
3874
|
-
tool?: string | undefined;
|
|
3875
|
-
}[];
|
|
3876
|
-
notes?: string[] | undefined;
|
|
4394
|
+
directWrite?: {
|
|
4395
|
+
runtime: string;
|
|
4396
|
+
entryStrategy: string;
|
|
4397
|
+
stylingStrategy: string;
|
|
4398
|
+
validationStrategy: string;
|
|
3877
4399
|
} | undefined;
|
|
3878
4400
|
}, {
|
|
3879
4401
|
success: boolean;
|
|
3880
4402
|
error?: string | undefined;
|
|
3881
|
-
components?: {
|
|
3882
|
-
category: "core" | "complex" | "advanced";
|
|
3883
|
-
name: string;
|
|
3884
|
-
description: string;
|
|
3885
|
-
id: string;
|
|
3886
|
-
importStatement: string;
|
|
3887
|
-
props: {
|
|
3888
|
-
name: string;
|
|
3889
|
-
type: string;
|
|
3890
|
-
required: boolean;
|
|
3891
|
-
description?: string | undefined;
|
|
3892
|
-
defaultValue?: string | undefined;
|
|
3893
|
-
}[];
|
|
3894
|
-
variants?: {
|
|
3895
|
-
name: string;
|
|
3896
|
-
value: string;
|
|
3897
|
-
description?: string | undefined;
|
|
3898
|
-
}[] | undefined;
|
|
3899
|
-
}[] | undefined;
|
|
3900
4403
|
examples?: {
|
|
3901
4404
|
name: string;
|
|
3902
4405
|
description: string;
|
|
@@ -3904,8 +4407,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3904
4407
|
shell: string;
|
|
3905
4408
|
page: string;
|
|
3906
4409
|
sections: {
|
|
3907
|
-
pattern: string;
|
|
3908
4410
|
id: string;
|
|
4411
|
+
pattern: string;
|
|
3909
4412
|
components: {
|
|
3910
4413
|
type: string;
|
|
3911
4414
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3916,15 +4419,56 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3916
4419
|
id: string;
|
|
3917
4420
|
name?: string | undefined;
|
|
3918
4421
|
description?: string | undefined;
|
|
4422
|
+
themeId?: string | undefined;
|
|
3919
4423
|
metadata?: {
|
|
3920
4424
|
version?: string | undefined;
|
|
3921
4425
|
created?: string | undefined;
|
|
3922
4426
|
updated?: string | undefined;
|
|
3923
4427
|
author?: string | undefined;
|
|
3924
4428
|
} | undefined;
|
|
3925
|
-
themeId?: string | undefined;
|
|
3926
4429
|
};
|
|
3927
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;
|
|
4471
|
+
targetPlatform?: "web" | "react-native" | undefined;
|
|
3928
4472
|
templateMatch?: {
|
|
3929
4473
|
category: string;
|
|
3930
4474
|
templateId: string;
|
|
@@ -3936,8 +4480,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3936
4480
|
page: string;
|
|
3937
4481
|
sections: {
|
|
3938
4482
|
name: string;
|
|
3939
|
-
required: boolean;
|
|
3940
4483
|
id: string;
|
|
4484
|
+
required: boolean;
|
|
3941
4485
|
slot: string;
|
|
3942
4486
|
}[];
|
|
3943
4487
|
} | undefined;
|
|
@@ -3947,8 +4491,8 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3947
4491
|
shell: string;
|
|
3948
4492
|
page: string;
|
|
3949
4493
|
sections: {
|
|
3950
|
-
pattern: string;
|
|
3951
4494
|
id: string;
|
|
4495
|
+
pattern: string;
|
|
3952
4496
|
components: {
|
|
3953
4497
|
type: string;
|
|
3954
4498
|
props?: Record<string, unknown> | undefined;
|
|
@@ -3967,22 +4511,16 @@ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
|
|
|
3967
4511
|
defaultClassName?: string | undefined;
|
|
3968
4512
|
}[] | undefined;
|
|
3969
4513
|
hints?: {
|
|
3970
|
-
category: "
|
|
4514
|
+
category: "accessibility" | "component" | "layout" | "styling" | "best-practice";
|
|
3971
4515
|
message: string;
|
|
3972
4516
|
priority: "high" | "medium" | "low";
|
|
3973
4517
|
example?: string | undefined;
|
|
3974
4518
|
}[] | undefined;
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
action: string;
|
|
3981
|
-
step: number;
|
|
3982
|
-
example?: string | undefined;
|
|
3983
|
-
tool?: string | undefined;
|
|
3984
|
-
}[];
|
|
3985
|
-
notes?: string[] | undefined;
|
|
4519
|
+
directWrite?: {
|
|
4520
|
+
runtime: string;
|
|
4521
|
+
entryStrategy: string;
|
|
4522
|
+
stylingStrategy: string;
|
|
4523
|
+
validationStrategy: string;
|
|
3986
4524
|
} | undefined;
|
|
3987
4525
|
}>;
|
|
3988
4526
|
export type GetScreenGenerationContextOutput = z.infer<typeof GetScreenGenerationContextOutputSchema>;
|
|
@@ -4034,7 +4572,7 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
4034
4572
|
prettier?: boolean | undefined;
|
|
4035
4573
|
}>>;
|
|
4036
4574
|
}, "strip", z.ZodTypeAny, {
|
|
4037
|
-
outputFormat: "css-in-js" | "tailwind"
|
|
4575
|
+
outputFormat: "react" | "css-in-js" | "tailwind";
|
|
4038
4576
|
options?: {
|
|
4039
4577
|
typescript: boolean;
|
|
4040
4578
|
prettier: boolean;
|
|
@@ -4042,7 +4580,7 @@ export declare const GenerateScreenInputSchema: z.ZodObject<{
|
|
|
4042
4580
|
} | undefined;
|
|
4043
4581
|
screenDefinition?: unknown;
|
|
4044
4582
|
}, {
|
|
4045
|
-
outputFormat: "css-in-js" | "tailwind"
|
|
4583
|
+
outputFormat: "react" | "css-in-js" | "tailwind";
|
|
4046
4584
|
options?: {
|
|
4047
4585
|
cssFramework?: "styled-components" | "emotion" | undefined;
|
|
4048
4586
|
typescript?: boolean | undefined;
|
|
@@ -4108,9 +4646,9 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
4108
4646
|
value?: unknown;
|
|
4109
4647
|
}>, "many">>;
|
|
4110
4648
|
}, "strip", z.ZodTypeAny, {
|
|
4111
|
-
message: string;
|
|
4112
4649
|
code: string;
|
|
4113
4650
|
path: string;
|
|
4651
|
+
message: string;
|
|
4114
4652
|
expected?: string | undefined;
|
|
4115
4653
|
received?: string | undefined;
|
|
4116
4654
|
suggestion?: string | undefined;
|
|
@@ -4120,9 +4658,9 @@ export declare const ValidationErrorSchema: z.ZodObject<{
|
|
|
4120
4658
|
value?: unknown;
|
|
4121
4659
|
}[] | undefined;
|
|
4122
4660
|
}, {
|
|
4123
|
-
message: string;
|
|
4124
4661
|
code: string;
|
|
4125
4662
|
path: string;
|
|
4663
|
+
message: string;
|
|
4126
4664
|
expected?: string | undefined;
|
|
4127
4665
|
received?: string | undefined;
|
|
4128
4666
|
suggestion?: string | undefined;
|
|
@@ -4142,14 +4680,14 @@ export declare const ValidationWarningSchema: z.ZodObject<{
|
|
|
4142
4680
|
message: z.ZodString;
|
|
4143
4681
|
recommendation: z.ZodOptional<z.ZodString>;
|
|
4144
4682
|
}, "strip", z.ZodTypeAny, {
|
|
4145
|
-
message: string;
|
|
4146
4683
|
code: string;
|
|
4147
4684
|
path: string;
|
|
4685
|
+
message: string;
|
|
4148
4686
|
recommendation?: string | undefined;
|
|
4149
4687
|
}, {
|
|
4150
|
-
message: string;
|
|
4151
4688
|
code: string;
|
|
4152
4689
|
path: string;
|
|
4690
|
+
message: string;
|
|
4153
4691
|
recommendation?: string | undefined;
|
|
4154
4692
|
}>;
|
|
4155
4693
|
export type ValidationWarning = z.infer<typeof ValidationWarningSchema>;
|
|
@@ -4223,9 +4761,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4223
4761
|
value?: unknown;
|
|
4224
4762
|
}>, "many">>;
|
|
4225
4763
|
}, "strip", z.ZodTypeAny, {
|
|
4226
|
-
message: string;
|
|
4227
4764
|
code: string;
|
|
4228
4765
|
path: string;
|
|
4766
|
+
message: string;
|
|
4229
4767
|
expected?: string | undefined;
|
|
4230
4768
|
received?: string | undefined;
|
|
4231
4769
|
suggestion?: string | undefined;
|
|
@@ -4235,9 +4773,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4235
4773
|
value?: unknown;
|
|
4236
4774
|
}[] | undefined;
|
|
4237
4775
|
}, {
|
|
4238
|
-
message: string;
|
|
4239
4776
|
code: string;
|
|
4240
4777
|
path: string;
|
|
4778
|
+
message: string;
|
|
4241
4779
|
expected?: string | undefined;
|
|
4242
4780
|
received?: string | undefined;
|
|
4243
4781
|
suggestion?: string | undefined;
|
|
@@ -4253,14 +4791,14 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4253
4791
|
message: z.ZodString;
|
|
4254
4792
|
recommendation: z.ZodOptional<z.ZodString>;
|
|
4255
4793
|
}, "strip", z.ZodTypeAny, {
|
|
4256
|
-
message: string;
|
|
4257
4794
|
code: string;
|
|
4258
4795
|
path: string;
|
|
4796
|
+
message: string;
|
|
4259
4797
|
recommendation?: string | undefined;
|
|
4260
4798
|
}, {
|
|
4261
|
-
message: string;
|
|
4262
4799
|
code: string;
|
|
4263
4800
|
path: string;
|
|
4801
|
+
message: string;
|
|
4264
4802
|
recommendation?: string | undefined;
|
|
4265
4803
|
}>, "many">>;
|
|
4266
4804
|
suggestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4321,9 +4859,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4321
4859
|
error?: string | undefined;
|
|
4322
4860
|
valid?: boolean | undefined;
|
|
4323
4861
|
errors?: {
|
|
4324
|
-
message: string;
|
|
4325
4862
|
code: string;
|
|
4326
4863
|
path: string;
|
|
4864
|
+
message: string;
|
|
4327
4865
|
expected?: string | undefined;
|
|
4328
4866
|
received?: string | undefined;
|
|
4329
4867
|
suggestion?: string | undefined;
|
|
@@ -4334,9 +4872,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4334
4872
|
}[] | undefined;
|
|
4335
4873
|
}[] | undefined;
|
|
4336
4874
|
warnings?: {
|
|
4337
|
-
message: string;
|
|
4338
4875
|
code: string;
|
|
4339
4876
|
path: string;
|
|
4877
|
+
message: string;
|
|
4340
4878
|
recommendation?: string | undefined;
|
|
4341
4879
|
}[] | undefined;
|
|
4342
4880
|
suggestions?: {
|
|
@@ -4360,9 +4898,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4360
4898
|
error?: string | undefined;
|
|
4361
4899
|
valid?: boolean | undefined;
|
|
4362
4900
|
errors?: {
|
|
4363
|
-
message: string;
|
|
4364
4901
|
code: string;
|
|
4365
4902
|
path: string;
|
|
4903
|
+
message: string;
|
|
4366
4904
|
expected?: string | undefined;
|
|
4367
4905
|
received?: string | undefined;
|
|
4368
4906
|
suggestion?: string | undefined;
|
|
@@ -4373,9 +4911,9 @@ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
|
|
|
4373
4911
|
}[] | undefined;
|
|
4374
4912
|
}[] | undefined;
|
|
4375
4913
|
warnings?: {
|
|
4376
|
-
message: string;
|
|
4377
4914
|
code: string;
|
|
4378
4915
|
path: string;
|
|
4916
|
+
message: string;
|
|
4379
4917
|
recommendation?: string | undefined;
|
|
4380
4918
|
}[] | undefined;
|
|
4381
4919
|
suggestions?: {
|
|
@@ -4403,15 +4941,21 @@ export type ValidateScreenDefinitionOutput = z.infer<typeof ValidateScreenDefini
|
|
|
4403
4941
|
export declare const ValidateEnvironmentInputSchema: z.ZodObject<{
|
|
4404
4942
|
projectPath: z.ZodString;
|
|
4405
4943
|
requiredPackages: z.ZodArray<z.ZodString, "many">;
|
|
4944
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
4406
4945
|
checkTailwind: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4946
|
+
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4407
4947
|
}, "strip", z.ZodTypeAny, {
|
|
4408
4948
|
projectPath: string;
|
|
4409
4949
|
requiredPackages: string[];
|
|
4410
4950
|
checkTailwind: boolean;
|
|
4951
|
+
platform?: "web" | "react-native" | undefined;
|
|
4952
|
+
sourceFiles?: string[] | undefined;
|
|
4411
4953
|
}, {
|
|
4412
4954
|
projectPath: string;
|
|
4413
4955
|
requiredPackages: string[];
|
|
4956
|
+
platform?: "web" | "react-native" | undefined;
|
|
4414
4957
|
checkTailwind?: boolean | undefined;
|
|
4958
|
+
sourceFiles?: string[] | undefined;
|
|
4415
4959
|
}>;
|
|
4416
4960
|
export type ValidateEnvironmentInput = z.infer<typeof ValidateEnvironmentInputSchema>;
|
|
4417
4961
|
/**
|
|
@@ -4421,6 +4965,23 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4421
4965
|
success: z.ZodBoolean;
|
|
4422
4966
|
installed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4423
4967
|
missing: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4968
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
4969
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
4970
|
+
platform: z.ZodOptional<z.ZodEnum<["web", "react-native"]>>;
|
|
4971
|
+
runtime: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
4972
|
+
projectType: z.ZodEnum<["web", "expo", "react-native"]>;
|
|
4973
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun", "unknown"]>>;
|
|
4974
|
+
}, "strip", z.ZodTypeAny, {
|
|
4975
|
+
runtime: "web" | "react-native" | "expo";
|
|
4976
|
+
projectType: "web" | "react-native" | "expo";
|
|
4977
|
+
platform?: "web" | "react-native" | undefined;
|
|
4978
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
4979
|
+
}, {
|
|
4980
|
+
runtime: "web" | "react-native" | "expo";
|
|
4981
|
+
projectType: "web" | "react-native" | "expo";
|
|
4982
|
+
platform?: "web" | "react-native" | undefined;
|
|
4983
|
+
packageManager?: "unknown" | "pnpm" | "yarn" | "bun" | "npm" | undefined;
|
|
4984
|
+
}>>;
|
|
4424
4985
|
installCommands: z.ZodOptional<z.ZodObject<{
|
|
4425
4986
|
npm: z.ZodString;
|
|
4426
4987
|
yarn: z.ZodString;
|
|
@@ -4460,10 +5021,57 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4460
5021
|
fixes: string[];
|
|
4461
5022
|
configPath?: string | undefined;
|
|
4462
5023
|
}>>;
|
|
5024
|
+
sourceAudit: z.ZodOptional<z.ZodObject<{
|
|
5025
|
+
filesScanned: z.ZodNumber;
|
|
5026
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5027
|
+
fixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5028
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
5029
|
+
filePath: z.ZodString;
|
|
5030
|
+
ruleId: z.ZodString;
|
|
5031
|
+
severity: z.ZodEnum<["warning", "error"]>;
|
|
5032
|
+
message: z.ZodString;
|
|
5033
|
+
guidance: z.ZodString;
|
|
5034
|
+
}, "strip", z.ZodTypeAny, {
|
|
5035
|
+
message: string;
|
|
5036
|
+
filePath: string;
|
|
5037
|
+
ruleId: string;
|
|
5038
|
+
severity: "error" | "warning";
|
|
5039
|
+
guidance: string;
|
|
5040
|
+
}, {
|
|
5041
|
+
message: string;
|
|
5042
|
+
filePath: string;
|
|
5043
|
+
ruleId: string;
|
|
5044
|
+
severity: "error" | "warning";
|
|
5045
|
+
guidance: string;
|
|
5046
|
+
}>, "many">;
|
|
5047
|
+
}, "strip", z.ZodTypeAny, {
|
|
5048
|
+
filesScanned: number;
|
|
5049
|
+
findings: {
|
|
5050
|
+
message: string;
|
|
5051
|
+
filePath: string;
|
|
5052
|
+
ruleId: string;
|
|
5053
|
+
severity: "error" | "warning";
|
|
5054
|
+
guidance: string;
|
|
5055
|
+
}[];
|
|
5056
|
+
issues?: string[] | undefined;
|
|
5057
|
+
fixes?: string[] | undefined;
|
|
5058
|
+
}, {
|
|
5059
|
+
filesScanned: number;
|
|
5060
|
+
findings: {
|
|
5061
|
+
message: string;
|
|
5062
|
+
filePath: string;
|
|
5063
|
+
ruleId: string;
|
|
5064
|
+
severity: "error" | "warning";
|
|
5065
|
+
guidance: string;
|
|
5066
|
+
}[];
|
|
5067
|
+
issues?: string[] | undefined;
|
|
5068
|
+
fixes?: string[] | undefined;
|
|
5069
|
+
}>>;
|
|
4463
5070
|
error: z.ZodOptional<z.ZodString>;
|
|
4464
5071
|
}, "strip", z.ZodTypeAny, {
|
|
4465
5072
|
success: boolean;
|
|
4466
5073
|
error?: string | undefined;
|
|
5074
|
+
platform?: "web" | "react-native" | undefined;
|
|
4467
5075
|
tailwind?: {
|
|
4468
5076
|
issues: string[];
|
|
4469
5077
|
configFound: boolean;
|
|
@@ -4472,6 +5080,12 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4472
5080
|
fixes: string[];
|
|
4473
5081
|
configPath?: string | undefined;
|
|
4474
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;
|
|
4475
5089
|
warnings?: string[] | undefined;
|
|
4476
5090
|
installCommands?: {
|
|
4477
5091
|
pnpm: string;
|
|
@@ -4481,9 +5095,22 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4481
5095
|
} | undefined;
|
|
4482
5096
|
installed?: Record<string, string> | undefined;
|
|
4483
5097
|
missing?: string[] | undefined;
|
|
5098
|
+
sourceAudit?: {
|
|
5099
|
+
filesScanned: number;
|
|
5100
|
+
findings: {
|
|
5101
|
+
message: string;
|
|
5102
|
+
filePath: string;
|
|
5103
|
+
ruleId: string;
|
|
5104
|
+
severity: "error" | "warning";
|
|
5105
|
+
guidance: string;
|
|
5106
|
+
}[];
|
|
5107
|
+
issues?: string[] | undefined;
|
|
5108
|
+
fixes?: string[] | undefined;
|
|
5109
|
+
} | undefined;
|
|
4484
5110
|
}, {
|
|
4485
5111
|
success: boolean;
|
|
4486
5112
|
error?: string | undefined;
|
|
5113
|
+
platform?: "web" | "react-native" | undefined;
|
|
4487
5114
|
tailwind?: {
|
|
4488
5115
|
issues: string[];
|
|
4489
5116
|
configFound: boolean;
|
|
@@ -4492,6 +5119,12 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4492
5119
|
fixes: string[];
|
|
4493
5120
|
configPath?: string | undefined;
|
|
4494
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;
|
|
4495
5128
|
warnings?: string[] | undefined;
|
|
4496
5129
|
installCommands?: {
|
|
4497
5130
|
pnpm: string;
|
|
@@ -4501,6 +5134,18 @@ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
|
|
|
4501
5134
|
} | undefined;
|
|
4502
5135
|
installed?: Record<string, string> | undefined;
|
|
4503
5136
|
missing?: string[] | undefined;
|
|
5137
|
+
sourceAudit?: {
|
|
5138
|
+
filesScanned: number;
|
|
5139
|
+
findings: {
|
|
5140
|
+
message: string;
|
|
5141
|
+
filePath: string;
|
|
5142
|
+
ruleId: string;
|
|
5143
|
+
severity: "error" | "warning";
|
|
5144
|
+
guidance: string;
|
|
5145
|
+
}[];
|
|
5146
|
+
issues?: string[] | undefined;
|
|
5147
|
+
fixes?: string[] | undefined;
|
|
5148
|
+
} | undefined;
|
|
4504
5149
|
}>;
|
|
4505
5150
|
export type ValidateEnvironmentOutput = z.infer<typeof ValidateEnvironmentOutputSchema>;
|
|
4506
5151
|
//# sourceMappingURL=mcp-schemas.d.ts.map
|