@webstudio-is/sdk 0.275.0 → 0.276.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,32 +6,39 @@ export declare const assetType: z.ZodEnum<{
6
6
  }>;
7
7
  export type AssetType = z.infer<typeof assetType>;
8
8
  export declare const fontAsset: z.ZodObject<{
9
+ id: z.ZodString;
10
+ projectId: z.ZodString;
11
+ size: z.ZodNumber;
12
+ name: z.ZodString;
13
+ filename: z.ZodOptional<z.ZodString>;
14
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
15
+ createdAt: z.ZodString;
9
16
  format: z.ZodUnion<readonly [z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
10
17
  meta: z.ZodUnion<readonly [z.ZodObject<{
11
18
  family: z.ZodString;
12
19
  style: z.ZodEnum<{
13
- normal: "normal";
14
20
  italic: "italic";
21
+ normal: "normal";
15
22
  oblique: "oblique";
16
23
  }>;
17
24
  weight: z.ZodNumber;
18
25
  }, z.core.$strip>, z.ZodObject<{
19
26
  family: z.ZodString;
20
27
  variationAxes: z.ZodRecord<z.ZodEnum<{
21
- wght: "wght";
22
- wdth: "wdth";
23
- slnt: "slnt";
24
- opsz: "opsz";
25
- ital: "ital";
26
28
  GRAD: "GRAD";
27
- XTRA: "XTRA";
28
29
  XOPQ: "XOPQ";
30
+ XTRA: "XTRA";
29
31
  YOPQ: "YOPQ";
30
- YTLC: "YTLC";
31
- YTUC: "YTUC";
32
32
  YTAS: "YTAS";
33
33
  YTDE: "YTDE";
34
34
  YTFI: "YTFI";
35
+ YTLC: "YTLC";
36
+ YTUC: "YTUC";
37
+ ital: "ital";
38
+ opsz: "opsz";
39
+ slnt: "slnt";
40
+ wdth: "wdth";
41
+ wght: "wght";
35
42
  }> & z.core.$partial, z.ZodObject<{
36
43
  name: z.ZodString;
37
44
  min: z.ZodNumber;
@@ -40,13 +47,6 @@ export declare const fontAsset: z.ZodObject<{
40
47
  }, z.core.$strip>>;
41
48
  }, z.core.$strip>]>;
42
49
  type: z.ZodLiteral<"font">;
43
- id: z.ZodString;
44
- projectId: z.ZodString;
45
- size: z.ZodNumber;
46
- name: z.ZodString;
47
- filename: z.ZodOptional<z.ZodString>;
48
- description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
49
- createdAt: z.ZodString;
50
50
  }, z.core.$strip>;
51
51
  export type FontAsset = z.infer<typeof fontAsset>;
52
52
  export declare const imageMeta: z.ZodObject<{
@@ -55,12 +55,22 @@ export declare const imageMeta: z.ZodObject<{
55
55
  }, z.core.$strip>;
56
56
  export type ImageMeta = z.infer<typeof imageMeta>;
57
57
  export declare const imageAsset: z.ZodObject<{
58
+ id: z.ZodString;
59
+ projectId: z.ZodString;
60
+ size: z.ZodNumber;
61
+ name: z.ZodString;
62
+ filename: z.ZodOptional<z.ZodString>;
63
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
64
+ createdAt: z.ZodString;
58
65
  format: z.ZodString;
59
66
  meta: z.ZodObject<{
60
67
  width: z.ZodNumber;
61
68
  height: z.ZodNumber;
62
69
  }, z.core.$strip>;
63
70
  type: z.ZodLiteral<"image">;
71
+ }, z.core.$strip>;
72
+ export type ImageAsset = z.infer<typeof imageAsset>;
73
+ export declare const fileAsset: z.ZodObject<{
64
74
  id: z.ZodString;
65
75
  projectId: z.ZodString;
66
76
  size: z.ZodNumber;
@@ -68,12 +78,12 @@ export declare const imageAsset: z.ZodObject<{
68
78
  filename: z.ZodOptional<z.ZodString>;
69
79
  description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
70
80
  createdAt: z.ZodString;
71
- }, z.core.$strip>;
72
- export type ImageAsset = z.infer<typeof imageAsset>;
73
- export declare const fileAsset: z.ZodObject<{
74
81
  format: z.ZodString;
75
82
  meta: z.ZodObject<{}, z.core.$strip>;
76
83
  type: z.ZodLiteral<"file">;
84
+ }, z.core.$strip>;
85
+ export type FileAsset = z.infer<typeof fileAsset>;
86
+ export declare const asset: z.ZodUnion<readonly [z.ZodObject<{
77
87
  id: z.ZodString;
78
88
  projectId: z.ZodString;
79
89
  size: z.ZodNumber;
@@ -81,35 +91,32 @@ export declare const fileAsset: z.ZodObject<{
81
91
  filename: z.ZodOptional<z.ZodString>;
82
92
  description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
83
93
  createdAt: z.ZodString;
84
- }, z.core.$strip>;
85
- export type FileAsset = z.infer<typeof fileAsset>;
86
- export declare const asset: z.ZodUnion<readonly [z.ZodObject<{
87
94
  format: z.ZodUnion<readonly [z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
88
95
  meta: z.ZodUnion<readonly [z.ZodObject<{
89
96
  family: z.ZodString;
90
97
  style: z.ZodEnum<{
91
- normal: "normal";
92
98
  italic: "italic";
99
+ normal: "normal";
93
100
  oblique: "oblique";
94
101
  }>;
95
102
  weight: z.ZodNumber;
96
103
  }, z.core.$strip>, z.ZodObject<{
97
104
  family: z.ZodString;
98
105
  variationAxes: z.ZodRecord<z.ZodEnum<{
99
- wght: "wght";
100
- wdth: "wdth";
101
- slnt: "slnt";
102
- opsz: "opsz";
103
- ital: "ital";
104
106
  GRAD: "GRAD";
105
- XTRA: "XTRA";
106
107
  XOPQ: "XOPQ";
108
+ XTRA: "XTRA";
107
109
  YOPQ: "YOPQ";
108
- YTLC: "YTLC";
109
- YTUC: "YTUC";
110
110
  YTAS: "YTAS";
111
111
  YTDE: "YTDE";
112
112
  YTFI: "YTFI";
113
+ YTLC: "YTLC";
114
+ YTUC: "YTUC";
115
+ ital: "ital";
116
+ opsz: "opsz";
117
+ slnt: "slnt";
118
+ wdth: "wdth";
119
+ wght: "wght";
113
120
  }> & z.core.$partial, z.ZodObject<{
114
121
  name: z.ZodString;
115
122
  min: z.ZodNumber;
@@ -118,6 +125,7 @@ export declare const asset: z.ZodUnion<readonly [z.ZodObject<{
118
125
  }, z.core.$strip>>;
119
126
  }, z.core.$strip>]>;
120
127
  type: z.ZodLiteral<"font">;
128
+ }, z.core.$strip>, z.ZodObject<{
121
129
  id: z.ZodString;
122
130
  projectId: z.ZodString;
123
131
  size: z.ZodNumber;
@@ -125,13 +133,13 @@ export declare const asset: z.ZodUnion<readonly [z.ZodObject<{
125
133
  filename: z.ZodOptional<z.ZodString>;
126
134
  description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
127
135
  createdAt: z.ZodString;
128
- }, z.core.$strip>, z.ZodObject<{
129
136
  format: z.ZodString;
130
137
  meta: z.ZodObject<{
131
138
  width: z.ZodNumber;
132
139
  height: z.ZodNumber;
133
140
  }, z.core.$strip>;
134
141
  type: z.ZodLiteral<"image">;
142
+ }, z.core.$strip>, z.ZodObject<{
135
143
  id: z.ZodString;
136
144
  projectId: z.ZodString;
137
145
  size: z.ZodNumber;
@@ -139,10 +147,12 @@ export declare const asset: z.ZodUnion<readonly [z.ZodObject<{
139
147
  filename: z.ZodOptional<z.ZodString>;
140
148
  description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
141
149
  createdAt: z.ZodString;
142
- }, z.core.$strip>, z.ZodObject<{
143
150
  format: z.ZodString;
144
151
  meta: z.ZodObject<{}, z.core.$strip>;
145
152
  type: z.ZodLiteral<"file">;
153
+ }, z.core.$strip>]>;
154
+ export type Asset = z.infer<typeof asset>;
155
+ export declare const assets: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
146
156
  id: z.ZodString;
147
157
  projectId: z.ZodString;
148
158
  size: z.ZodNumber;
@@ -150,35 +160,32 @@ export declare const asset: z.ZodUnion<readonly [z.ZodObject<{
150
160
  filename: z.ZodOptional<z.ZodString>;
151
161
  description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
152
162
  createdAt: z.ZodString;
153
- }, z.core.$strip>]>;
154
- export type Asset = z.infer<typeof asset>;
155
- export declare const assets: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
156
163
  format: z.ZodUnion<readonly [z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
157
164
  meta: z.ZodUnion<readonly [z.ZodObject<{
158
165
  family: z.ZodString;
159
166
  style: z.ZodEnum<{
160
- normal: "normal";
161
167
  italic: "italic";
168
+ normal: "normal";
162
169
  oblique: "oblique";
163
170
  }>;
164
171
  weight: z.ZodNumber;
165
172
  }, z.core.$strip>, z.ZodObject<{
166
173
  family: z.ZodString;
167
174
  variationAxes: z.ZodRecord<z.ZodEnum<{
168
- wght: "wght";
169
- wdth: "wdth";
170
- slnt: "slnt";
171
- opsz: "opsz";
172
- ital: "ital";
173
175
  GRAD: "GRAD";
174
- XTRA: "XTRA";
175
176
  XOPQ: "XOPQ";
177
+ XTRA: "XTRA";
176
178
  YOPQ: "YOPQ";
177
- YTLC: "YTLC";
178
- YTUC: "YTUC";
179
179
  YTAS: "YTAS";
180
180
  YTDE: "YTDE";
181
181
  YTFI: "YTFI";
182
+ YTLC: "YTLC";
183
+ YTUC: "YTUC";
184
+ ital: "ital";
185
+ opsz: "opsz";
186
+ slnt: "slnt";
187
+ wdth: "wdth";
188
+ wght: "wght";
182
189
  }> & z.core.$partial, z.ZodObject<{
183
190
  name: z.ZodString;
184
191
  min: z.ZodNumber;
@@ -187,6 +194,7 @@ export declare const assets: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObj
187
194
  }, z.core.$strip>>;
188
195
  }, z.core.$strip>]>;
189
196
  type: z.ZodLiteral<"font">;
197
+ }, z.core.$strip>, z.ZodObject<{
190
198
  id: z.ZodString;
191
199
  projectId: z.ZodString;
192
200
  size: z.ZodNumber;
@@ -194,13 +202,13 @@ export declare const assets: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObj
194
202
  filename: z.ZodOptional<z.ZodString>;
195
203
  description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
196
204
  createdAt: z.ZodString;
197
- }, z.core.$strip>, z.ZodObject<{
198
205
  format: z.ZodString;
199
206
  meta: z.ZodObject<{
200
207
  width: z.ZodNumber;
201
208
  height: z.ZodNumber;
202
209
  }, z.core.$strip>;
203
210
  type: z.ZodLiteral<"image">;
211
+ }, z.core.$strip>, z.ZodObject<{
204
212
  id: z.ZodString;
205
213
  projectId: z.ZodString;
206
214
  size: z.ZodNumber;
@@ -208,16 +216,8 @@ export declare const assets: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObj
208
216
  filename: z.ZodOptional<z.ZodString>;
209
217
  description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
210
218
  createdAt: z.ZodString;
211
- }, z.core.$strip>, z.ZodObject<{
212
219
  format: z.ZodString;
213
220
  meta: z.ZodObject<{}, z.core.$strip>;
214
221
  type: z.ZodLiteral<"file">;
215
- id: z.ZodString;
216
- projectId: z.ZodString;
217
- size: z.ZodNumber;
218
- name: z.ZodString;
219
- filename: z.ZodOptional<z.ZodString>;
220
- description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
221
- createdAt: z.ZodString;
222
222
  }, z.core.$strip>]>>;
223
223
  export type Assets = z.infer<typeof assets>;
@@ -654,19 +654,19 @@ export declare const contentModel: z.ZodObject<{
654
654
  export type ContentModel = z.infer<typeof contentModel>;
655
655
  export declare const wsComponentMeta: z.ZodObject<{
656
656
  category: z.ZodOptional<z.ZodEnum<{
657
- xml: "xml";
658
- text: "text";
659
- hidden: "hidden";
660
- data: "data";
661
- media: "media";
662
657
  animations: "animations";
663
- general: "general";
664
- typography: "typography";
658
+ data: "data";
665
659
  forms: "forms";
660
+ general: "general";
661
+ hidden: "hidden";
662
+ internal: "internal";
666
663
  localization: "localization";
667
- radix: "radix";
664
+ media: "media";
668
665
  other: "other";
669
- internal: "internal";
666
+ radix: "radix";
667
+ text: "text";
668
+ typography: "typography";
669
+ xml: "xml";
670
670
  }>>;
671
671
  contentModel: z.ZodOptional<z.ZodObject<{
672
672
  category: z.ZodUnion<readonly [z.ZodLiteral<"instance">, z.ZodLiteral<"none">]>;
@@ -1311,200 +1311,208 @@ export declare const wsComponentMeta: z.ZodObject<{
1311
1311
  order: z.ZodOptional<z.ZodNumber>;
1312
1312
  initialProps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1313
1313
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1314
+ label: z.ZodOptional<z.ZodString>;
1315
+ description: z.ZodOptional<z.ZodString>;
1316
+ required: z.ZodBoolean;
1317
+ contentMode: z.ZodOptional<z.ZodBoolean>;
1314
1318
  control: z.ZodLiteral<"tag">;
1315
1319
  type: z.ZodLiteral<"string">;
1316
1320
  defaultValue: z.ZodOptional<z.ZodUndefined>;
1317
1321
  options: z.ZodArray<z.ZodString>;
1322
+ }, z.core.$strip>, z.ZodObject<{
1318
1323
  label: z.ZodOptional<z.ZodString>;
1319
1324
  description: z.ZodOptional<z.ZodString>;
1320
1325
  required: z.ZodBoolean;
1321
1326
  contentMode: z.ZodOptional<z.ZodBoolean>;
1322
- }, z.core.$strip>, z.ZodObject<{
1323
1327
  control: z.ZodLiteral<"number">;
1324
1328
  type: z.ZodLiteral<"number">;
1325
1329
  defaultValue: z.ZodOptional<z.ZodNumber>;
1330
+ }, z.core.$strip>, z.ZodObject<{
1326
1331
  label: z.ZodOptional<z.ZodString>;
1327
1332
  description: z.ZodOptional<z.ZodString>;
1328
1333
  required: z.ZodBoolean;
1329
1334
  contentMode: z.ZodOptional<z.ZodBoolean>;
1330
- }, z.core.$strip>, z.ZodObject<{
1331
1335
  control: z.ZodLiteral<"range">;
1332
1336
  type: z.ZodLiteral<"number">;
1333
1337
  defaultValue: z.ZodOptional<z.ZodNumber>;
1338
+ }, z.core.$strip>, z.ZodObject<{
1334
1339
  label: z.ZodOptional<z.ZodString>;
1335
1340
  description: z.ZodOptional<z.ZodString>;
1336
1341
  required: z.ZodBoolean;
1337
1342
  contentMode: z.ZodOptional<z.ZodBoolean>;
1338
- }, z.core.$strip>, z.ZodObject<{
1339
1343
  control: z.ZodLiteral<"text">;
1340
1344
  type: z.ZodLiteral<"string">;
1341
1345
  defaultValue: z.ZodOptional<z.ZodString>;
1342
1346
  rows: z.ZodOptional<z.ZodNumber>;
1347
+ }, z.core.$strip>, z.ZodObject<{
1343
1348
  label: z.ZodOptional<z.ZodString>;
1344
1349
  description: z.ZodOptional<z.ZodString>;
1345
1350
  required: z.ZodBoolean;
1346
1351
  contentMode: z.ZodOptional<z.ZodBoolean>;
1347
- }, z.core.$strip>, z.ZodObject<{
1348
1352
  control: z.ZodLiteral<"resource">;
1349
1353
  type: z.ZodLiteral<"resource">;
1350
1354
  defaultValue: z.ZodOptional<z.ZodString>;
1355
+ }, z.core.$strip>, z.ZodObject<{
1351
1356
  label: z.ZodOptional<z.ZodString>;
1352
1357
  description: z.ZodOptional<z.ZodString>;
1353
1358
  required: z.ZodBoolean;
1354
1359
  contentMode: z.ZodOptional<z.ZodBoolean>;
1355
- }, z.core.$strip>, z.ZodObject<{
1356
1360
  control: z.ZodLiteral<"code">;
1357
1361
  type: z.ZodLiteral<"string">;
1358
- language: z.ZodUnion<readonly [z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
1362
+ language: z.ZodUnion<readonly [z.ZodLiteral<"html">, z.ZodLiteral<"json">, z.ZodLiteral<"markdown">]>;
1359
1363
  defaultValue: z.ZodOptional<z.ZodString>;
1364
+ }, z.core.$strip>, z.ZodObject<{
1360
1365
  label: z.ZodOptional<z.ZodString>;
1361
1366
  description: z.ZodOptional<z.ZodString>;
1362
1367
  required: z.ZodBoolean;
1363
1368
  contentMode: z.ZodOptional<z.ZodBoolean>;
1364
- }, z.core.$strip>, z.ZodObject<{
1365
1369
  control: z.ZodLiteral<"codetext">;
1366
1370
  type: z.ZodLiteral<"string">;
1367
1371
  defaultValue: z.ZodOptional<z.ZodString>;
1372
+ }, z.core.$strip>, z.ZodObject<{
1368
1373
  label: z.ZodOptional<z.ZodString>;
1369
1374
  description: z.ZodOptional<z.ZodString>;
1370
1375
  required: z.ZodBoolean;
1371
1376
  contentMode: z.ZodOptional<z.ZodBoolean>;
1377
+ control: z.ZodLiteral<"json-code">;
1378
+ type: z.ZodLiteral<"string">;
1379
+ defaultValue: z.ZodOptional<z.ZodString>;
1372
1380
  }, z.core.$strip>, z.ZodObject<{
1381
+ label: z.ZodOptional<z.ZodString>;
1382
+ description: z.ZodOptional<z.ZodString>;
1383
+ required: z.ZodBoolean;
1384
+ contentMode: z.ZodOptional<z.ZodBoolean>;
1373
1385
  control: z.ZodLiteral<"color">;
1374
1386
  type: z.ZodLiteral<"string">;
1375
1387
  defaultValue: z.ZodOptional<z.ZodString>;
1388
+ }, z.core.$strip>, z.ZodObject<{
1376
1389
  label: z.ZodOptional<z.ZodString>;
1377
1390
  description: z.ZodOptional<z.ZodString>;
1378
1391
  required: z.ZodBoolean;
1379
1392
  contentMode: z.ZodOptional<z.ZodBoolean>;
1380
- }, z.core.$strip>, z.ZodObject<{
1381
1393
  control: z.ZodLiteral<"boolean">;
1382
1394
  type: z.ZodLiteral<"boolean">;
1383
1395
  defaultValue: z.ZodOptional<z.ZodBoolean>;
1396
+ }, z.core.$strip>, z.ZodObject<{
1384
1397
  label: z.ZodOptional<z.ZodString>;
1385
1398
  description: z.ZodOptional<z.ZodString>;
1386
1399
  required: z.ZodBoolean;
1387
1400
  contentMode: z.ZodOptional<z.ZodBoolean>;
1388
- }, z.core.$strip>, z.ZodObject<{
1389
1401
  control: z.ZodLiteral<"radio">;
1390
1402
  type: z.ZodLiteral<"string">;
1391
1403
  defaultValue: z.ZodOptional<z.ZodString>;
1392
1404
  options: z.ZodArray<z.ZodString>;
1405
+ }, z.core.$strip>, z.ZodObject<{
1393
1406
  label: z.ZodOptional<z.ZodString>;
1394
1407
  description: z.ZodOptional<z.ZodString>;
1395
1408
  required: z.ZodBoolean;
1396
1409
  contentMode: z.ZodOptional<z.ZodBoolean>;
1397
- }, z.core.$strip>, z.ZodObject<{
1398
1410
  control: z.ZodLiteral<"inline-radio">;
1399
1411
  type: z.ZodLiteral<"string">;
1400
1412
  defaultValue: z.ZodOptional<z.ZodString>;
1401
1413
  options: z.ZodArray<z.ZodString>;
1414
+ }, z.core.$strip>, z.ZodObject<{
1402
1415
  label: z.ZodOptional<z.ZodString>;
1403
1416
  description: z.ZodOptional<z.ZodString>;
1404
1417
  required: z.ZodBoolean;
1405
1418
  contentMode: z.ZodOptional<z.ZodBoolean>;
1406
- }, z.core.$strip>, z.ZodObject<{
1407
1419
  control: z.ZodLiteral<"select">;
1408
1420
  type: z.ZodLiteral<"string">;
1409
1421
  defaultValue: z.ZodOptional<z.ZodString>;
1410
1422
  options: z.ZodArray<z.ZodString>;
1423
+ }, z.core.$strip>, z.ZodObject<{
1411
1424
  label: z.ZodOptional<z.ZodString>;
1412
1425
  description: z.ZodOptional<z.ZodString>;
1413
1426
  required: z.ZodBoolean;
1414
1427
  contentMode: z.ZodOptional<z.ZodBoolean>;
1415
- }, z.core.$strip>, z.ZodObject<{
1416
1428
  control: z.ZodLiteral<"timeZone">;
1417
1429
  type: z.ZodLiteral<"string">;
1418
1430
  defaultValue: z.ZodOptional<z.ZodString>;
1419
1431
  options: z.ZodArray<z.ZodString>;
1432
+ }, z.core.$strip>, z.ZodObject<{
1420
1433
  label: z.ZodOptional<z.ZodString>;
1421
1434
  description: z.ZodOptional<z.ZodString>;
1422
1435
  required: z.ZodBoolean;
1423
1436
  contentMode: z.ZodOptional<z.ZodBoolean>;
1424
- }, z.core.$strip>, z.ZodObject<{
1425
1437
  control: z.ZodLiteral<"multi-select">;
1426
1438
  type: z.ZodLiteral<"string[]">;
1427
1439
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1428
1440
  options: z.ZodArray<z.ZodString>;
1441
+ }, z.core.$strip>, z.ZodObject<{
1429
1442
  label: z.ZodOptional<z.ZodString>;
1430
1443
  description: z.ZodOptional<z.ZodString>;
1431
1444
  required: z.ZodBoolean;
1432
1445
  contentMode: z.ZodOptional<z.ZodBoolean>;
1433
- }, z.core.$strip>, z.ZodObject<{
1434
1446
  control: z.ZodLiteral<"check">;
1435
1447
  type: z.ZodLiteral<"string[]">;
1436
1448
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1437
1449
  options: z.ZodArray<z.ZodString>;
1450
+ }, z.core.$strip>, z.ZodObject<{
1438
1451
  label: z.ZodOptional<z.ZodString>;
1439
1452
  description: z.ZodOptional<z.ZodString>;
1440
1453
  required: z.ZodBoolean;
1441
1454
  contentMode: z.ZodOptional<z.ZodBoolean>;
1442
- }, z.core.$strip>, z.ZodObject<{
1443
1455
  control: z.ZodLiteral<"inline-check">;
1444
1456
  type: z.ZodLiteral<"string[]">;
1445
1457
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1446
1458
  options: z.ZodArray<z.ZodString>;
1459
+ }, z.core.$strip>, z.ZodObject<{
1447
1460
  label: z.ZodOptional<z.ZodString>;
1448
1461
  description: z.ZodOptional<z.ZodString>;
1449
1462
  required: z.ZodBoolean;
1450
1463
  contentMode: z.ZodOptional<z.ZodBoolean>;
1451
- }, z.core.$strip>, z.ZodObject<{
1452
1464
  control: z.ZodLiteral<"file">;
1453
1465
  type: z.ZodLiteral<"string">;
1454
1466
  defaultValue: z.ZodOptional<z.ZodString>;
1455
1467
  accept: z.ZodOptional<z.ZodString>;
1468
+ }, z.core.$strip>, z.ZodObject<{
1456
1469
  label: z.ZodOptional<z.ZodString>;
1457
1470
  description: z.ZodOptional<z.ZodString>;
1458
1471
  required: z.ZodBoolean;
1459
1472
  contentMode: z.ZodOptional<z.ZodBoolean>;
1460
- }, z.core.$strip>, z.ZodObject<{
1461
1473
  control: z.ZodLiteral<"url">;
1462
1474
  type: z.ZodLiteral<"string">;
1463
1475
  defaultValue: z.ZodOptional<z.ZodString>;
1476
+ }, z.core.$strip>, z.ZodObject<{
1464
1477
  label: z.ZodOptional<z.ZodString>;
1465
1478
  description: z.ZodOptional<z.ZodString>;
1466
1479
  required: z.ZodBoolean;
1467
1480
  contentMode: z.ZodOptional<z.ZodBoolean>;
1468
- }, z.core.$strip>, z.ZodObject<{
1469
1481
  control: z.ZodLiteral<"json">;
1470
1482
  type: z.ZodLiteral<"json">;
1471
1483
  defaultValue: z.ZodOptional<z.ZodUnknown>;
1484
+ }, z.core.$strip>, z.ZodObject<{
1472
1485
  label: z.ZodOptional<z.ZodString>;
1473
1486
  description: z.ZodOptional<z.ZodString>;
1474
1487
  required: z.ZodBoolean;
1475
1488
  contentMode: z.ZodOptional<z.ZodBoolean>;
1476
- }, z.core.$strip>, z.ZodObject<{
1477
1489
  control: z.ZodLiteral<"date">;
1478
1490
  type: z.ZodLiteral<"string">;
1479
1491
  defaultValue: z.ZodOptional<z.ZodString>;
1492
+ }, z.core.$strip>, z.ZodObject<{
1480
1493
  label: z.ZodOptional<z.ZodString>;
1481
1494
  description: z.ZodOptional<z.ZodString>;
1482
1495
  required: z.ZodBoolean;
1483
1496
  contentMode: z.ZodOptional<z.ZodBoolean>;
1484
- }, z.core.$strip>, z.ZodObject<{
1485
1497
  control: z.ZodLiteral<"action">;
1486
1498
  type: z.ZodLiteral<"action">;
1487
1499
  defaultValue: z.ZodOptional<z.ZodUndefined>;
1500
+ }, z.core.$strip>, z.ZodObject<{
1488
1501
  label: z.ZodOptional<z.ZodString>;
1489
1502
  description: z.ZodOptional<z.ZodString>;
1490
1503
  required: z.ZodBoolean;
1491
1504
  contentMode: z.ZodOptional<z.ZodBoolean>;
1492
- }, z.core.$strip>, z.ZodObject<{
1493
1505
  control: z.ZodLiteral<"textContent">;
1494
1506
  type: z.ZodLiteral<"string">;
1495
1507
  defaultValue: z.ZodOptional<z.ZodString>;
1508
+ }, z.core.$strip>, z.ZodObject<{
1496
1509
  label: z.ZodOptional<z.ZodString>;
1497
1510
  description: z.ZodOptional<z.ZodString>;
1498
1511
  required: z.ZodBoolean;
1499
1512
  contentMode: z.ZodOptional<z.ZodBoolean>;
1500
- }, z.core.$strip>, z.ZodObject<{
1501
1513
  control: z.ZodLiteral<"animationAction">;
1502
1514
  type: z.ZodLiteral<"animationAction">;
1503
1515
  defaultValue: z.ZodOptional<z.ZodUndefined>;
1504
- label: z.ZodOptional<z.ZodString>;
1505
- description: z.ZodOptional<z.ZodString>;
1506
- required: z.ZodBoolean;
1507
- contentMode: z.ZodOptional<z.ZodBoolean>;
1508
1516
  }, z.core.$strip>]>>>;
1509
1517
  }, z.core.$strip>;
1510
1518
  export type WsComponentMeta = Omit<z.infer<typeof wsComponentMeta>, "presetStyle"> & {
@@ -15,8 +15,8 @@ export declare const dataSourceVariableValue: z.ZodUnion<readonly [z.ZodObject<{
15
15
  type: z.ZodLiteral<"json">;
16
16
  value: z.ZodOptional<z.ZodUnknown>;
17
17
  }, z.core.$strip>, z.ZodTransform<{
18
- value: {} | null;
19
18
  type: "json";
19
+ value: {} | null;
20
20
  }, {
21
21
  type: "json";
22
22
  value?: unknown;
@@ -42,8 +42,8 @@ export declare const dataSource: z.ZodUnion<readonly [z.ZodObject<{
42
42
  type: z.ZodLiteral<"json">;
43
43
  value: z.ZodOptional<z.ZodUnknown>;
44
44
  }, z.core.$strip>, z.ZodTransform<{
45
- value: {} | null;
46
45
  type: "json";
46
+ value: {} | null;
47
47
  }, {
48
48
  type: "json";
49
49
  value?: unknown;
@@ -82,8 +82,8 @@ export declare const dataSources: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.Z
82
82
  type: z.ZodLiteral<"json">;
83
83
  value: z.ZodOptional<z.ZodUnknown>;
84
84
  }, z.core.$strip>, z.ZodTransform<{
85
- value: {} | null;
86
85
  type: "json";
86
+ value: {} | null;
87
87
  }, {
88
88
  type: "json";
89
89
  value?: unknown;
@@ -1,11 +1,11 @@
1
1
  import { z } from "zod";
2
2
  export declare const templates: z.ZodEnum<{
3
3
  docker: "docker";
4
- vercel: "vercel";
5
4
  netlify: "netlify";
6
5
  ssg: "ssg";
7
6
  "ssg-netlify": "ssg-netlify";
8
7
  "ssg-vercel": "ssg-vercel";
8
+ vercel: "vercel";
9
9
  }>;
10
10
  export type Templates = z.infer<typeof templates>;
11
11
  export declare const deployment: z.ZodUnion<readonly [z.ZodObject<{
@@ -14,11 +14,11 @@ export declare const deployment: z.ZodUnion<readonly [z.ZodObject<{
14
14
  assetsDomain: z.ZodString;
15
15
  templates: z.ZodArray<z.ZodEnum<{
16
16
  docker: "docker";
17
- vercel: "vercel";
18
17
  netlify: "netlify";
19
18
  ssg: "ssg";
20
19
  "ssg-netlify": "ssg-netlify";
21
20
  "ssg-vercel": "ssg-vercel";
21
+ vercel: "vercel";
22
22
  }>>;
23
23
  }, z.core.$strip>, z.ZodObject<{
24
24
  destination: z.ZodOptional<z.ZodLiteral<"saas">>;
@@ -40,7 +40,6 @@ export declare const homePagePath: z.ZodString & z.ZodType<"", string, z.core.$Z
40
40
  export declare const redirectSourcePath: z.ZodString;
41
41
  export declare const pagePath: z.ZodString;
42
42
  export declare const page: z.ZodObject<{
43
- path: z.ZodUnion<readonly [z.ZodString & z.ZodType<"", string, z.core.$ZodTypeInternals<"", string>>, z.ZodString]>;
44
43
  id: z.ZodString;
45
44
  name: z.ZodString;
46
45
  title: z.ZodString;
@@ -58,8 +57,8 @@ export declare const page: z.ZodObject<{
58
57
  redirect: z.ZodOptional<z.ZodString>;
59
58
  documentType: z.ZodOptional<z.ZodEnum<{
60
59
  html: "html";
61
- xml: "xml";
62
60
  text: "text";
61
+ xml: "xml";
63
62
  }>>;
64
63
  content: z.ZodOptional<z.ZodString>;
65
64
  auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -89,6 +88,7 @@ export declare const page: z.ZodObject<{
89
88
  category: z.ZodOptional<z.ZodString>;
90
89
  thumbnailAssetId: z.ZodOptional<z.ZodString>;
91
90
  }, z.core.$strip>>;
91
+ path: z.ZodUnion<readonly [z.ZodString & z.ZodType<"", string, z.core.$ZodTypeInternals<"", string>>, z.ZodString]>;
92
92
  }, z.core.$strip>;
93
93
  export declare const pageTemplate: z.ZodObject<{
94
94
  id: z.ZodString;
@@ -107,8 +107,8 @@ export declare const pageTemplate: z.ZodObject<{
107
107
  redirect: z.ZodOptional<z.ZodString>;
108
108
  documentType: z.ZodOptional<z.ZodEnum<{
109
109
  html: "html";
110
- xml: "xml";
111
110
  text: "text";
111
+ xml: "xml";
112
112
  }>>;
113
113
  content: z.ZodOptional<z.ZodString>;
114
114
  auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -140,6 +140,7 @@ export declare const projectMeta: z.ZodObject<{
140
140
  contactEmail: z.ZodOptional<z.ZodString>;
141
141
  faviconAssetId: z.ZodOptional<z.ZodString>;
142
142
  code: z.ZodOptional<z.ZodString>;
143
+ agentInstructions: z.ZodOptional<z.ZodString>;
143
144
  auth: z.ZodOptional<z.ZodString>;
144
145
  }, z.core.$strip>;
145
146
  export type ProjectMeta = z.infer<typeof projectMeta>;
@@ -164,6 +165,7 @@ export declare const pages: z.ZodObject<{
164
165
  contactEmail: z.ZodOptional<z.ZodString>;
165
166
  faviconAssetId: z.ZodOptional<z.ZodString>;
166
167
  code: z.ZodOptional<z.ZodString>;
168
+ agentInstructions: z.ZodOptional<z.ZodString>;
167
169
  auth: z.ZodOptional<z.ZodString>;
168
170
  }, z.core.$strip>>;
169
171
  compiler: z.ZodOptional<z.ZodObject<{
@@ -180,7 +182,6 @@ export declare const pages: z.ZodObject<{
180
182
  homePageId: z.ZodString;
181
183
  rootFolderId: z.ZodString;
182
184
  pages: z.ZodMap<z.ZodString, z.ZodObject<{
183
- path: z.ZodUnion<readonly [z.ZodString & z.ZodType<"", string, z.core.$ZodTypeInternals<"", string>>, z.ZodString]>;
184
185
  id: z.ZodString;
185
186
  name: z.ZodString;
186
187
  title: z.ZodString;
@@ -198,8 +199,8 @@ export declare const pages: z.ZodObject<{
198
199
  redirect: z.ZodOptional<z.ZodString>;
199
200
  documentType: z.ZodOptional<z.ZodEnum<{
200
201
  html: "html";
201
- xml: "xml";
202
202
  text: "text";
203
+ xml: "xml";
203
204
  }>>;
204
205
  content: z.ZodOptional<z.ZodString>;
205
206
  auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -229,6 +230,7 @@ export declare const pages: z.ZodObject<{
229
230
  category: z.ZodOptional<z.ZodString>;
230
231
  thumbnailAssetId: z.ZodOptional<z.ZodString>;
231
232
  }, z.core.$strip>>;
233
+ path: z.ZodUnion<readonly [z.ZodString & z.ZodType<"", string, z.core.$ZodTypeInternals<"", string>>, z.ZodString]>;
232
234
  }, z.core.$strip>>;
233
235
  pageTemplates: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodObject<{
234
236
  id: z.ZodString;
@@ -247,8 +249,8 @@ export declare const pages: z.ZodObject<{
247
249
  redirect: z.ZodOptional<z.ZodString>;
248
250
  documentType: z.ZodOptional<z.ZodEnum<{
249
251
  html: "html";
250
- xml: "xml";
251
252
  text: "text";
253
+ xml: "xml";
252
254
  }>>;
253
255
  content: z.ZodOptional<z.ZodString>;
254
256
  auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{