@webstudio-is/sdk 0.0.0-4f7bf18 → 0.0.0-50b8685

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.
@@ -10,15 +10,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
10
10
  type: "number";
11
11
  required: boolean;
12
12
  control: "number";
13
- defaultValue?: number | undefined;
14
13
  label?: string | undefined;
14
+ defaultValue?: number | undefined;
15
15
  description?: string | undefined;
16
16
  }, {
17
17
  type: "number";
18
18
  required: boolean;
19
19
  control: "number";
20
- defaultValue?: number | undefined;
21
20
  label?: string | undefined;
21
+ defaultValue?: number | undefined;
22
22
  description?: string | undefined;
23
23
  }>, z.ZodObject<{
24
24
  control: z.ZodLiteral<"range">;
@@ -31,15 +31,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
31
31
  type: "number";
32
32
  required: boolean;
33
33
  control: "range";
34
- defaultValue?: number | undefined;
35
34
  label?: string | undefined;
35
+ defaultValue?: number | undefined;
36
36
  description?: string | undefined;
37
37
  }, {
38
38
  type: "number";
39
39
  required: boolean;
40
40
  control: "range";
41
- defaultValue?: number | undefined;
42
41
  label?: string | undefined;
42
+ defaultValue?: number | undefined;
43
43
  description?: string | undefined;
44
44
  }>, z.ZodObject<{
45
45
  control: z.ZodLiteral<"text">;
@@ -57,17 +57,38 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
57
57
  type: "string";
58
58
  required: boolean;
59
59
  control: "text";
60
- defaultValue?: string | undefined;
61
- rows?: number | undefined;
62
60
  label?: string | undefined;
61
+ defaultValue?: string | undefined;
63
62
  description?: string | undefined;
63
+ rows?: number | undefined;
64
64
  }, {
65
65
  type: "string";
66
66
  required: boolean;
67
67
  control: "text";
68
+ label?: string | undefined;
68
69
  defaultValue?: string | undefined;
70
+ description?: string | undefined;
69
71
  rows?: number | undefined;
72
+ }>, z.ZodObject<{
73
+ control: z.ZodLiteral<"resource">;
74
+ type: z.ZodLiteral<"resource">;
75
+ defaultValue: z.ZodOptional<z.ZodString>;
76
+ label: z.ZodOptional<z.ZodString>;
77
+ description: z.ZodOptional<z.ZodString>;
78
+ required: z.ZodBoolean;
79
+ }, "strip", z.ZodTypeAny, {
80
+ type: "resource";
81
+ required: boolean;
82
+ control: "resource";
70
83
  label?: string | undefined;
84
+ defaultValue?: string | undefined;
85
+ description?: string | undefined;
86
+ }, {
87
+ type: "resource";
88
+ required: boolean;
89
+ control: "resource";
90
+ label?: string | undefined;
91
+ defaultValue?: string | undefined;
71
92
  description?: string | undefined;
72
93
  }>, z.ZodObject<{
73
94
  control: z.ZodLiteral<"code">;
@@ -82,16 +103,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
82
103
  required: boolean;
83
104
  control: "code";
84
105
  language: "html" | "markdown";
85
- defaultValue?: string | undefined;
86
106
  label?: string | undefined;
107
+ defaultValue?: string | undefined;
87
108
  description?: string | undefined;
88
109
  }, {
89
110
  type: "string";
90
111
  required: boolean;
91
112
  control: "code";
92
113
  language: "html" | "markdown";
93
- defaultValue?: string | undefined;
94
114
  label?: string | undefined;
115
+ defaultValue?: string | undefined;
95
116
  description?: string | undefined;
96
117
  }>, z.ZodObject<{
97
118
  control: z.ZodLiteral<"codetext">;
@@ -104,15 +125,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
104
125
  type: "string";
105
126
  required: boolean;
106
127
  control: "codetext";
107
- defaultValue?: string | undefined;
108
128
  label?: string | undefined;
129
+ defaultValue?: string | undefined;
109
130
  description?: string | undefined;
110
131
  }, {
111
132
  type: "string";
112
133
  required: boolean;
113
134
  control: "codetext";
114
- defaultValue?: string | undefined;
115
135
  label?: string | undefined;
136
+ defaultValue?: string | undefined;
116
137
  description?: string | undefined;
117
138
  }>, z.ZodObject<{
118
139
  control: z.ZodLiteral<"color">;
@@ -125,15 +146,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
125
146
  type: "string";
126
147
  required: boolean;
127
148
  control: "color";
128
- defaultValue?: string | undefined;
129
149
  label?: string | undefined;
150
+ defaultValue?: string | undefined;
130
151
  description?: string | undefined;
131
152
  }, {
132
153
  type: "string";
133
154
  required: boolean;
134
155
  control: "color";
135
- defaultValue?: string | undefined;
136
156
  label?: string | undefined;
157
+ defaultValue?: string | undefined;
137
158
  description?: string | undefined;
138
159
  }>, z.ZodObject<{
139
160
  control: z.ZodLiteral<"boolean">;
@@ -146,15 +167,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
146
167
  type: "boolean";
147
168
  required: boolean;
148
169
  control: "boolean";
149
- defaultValue?: boolean | undefined;
150
170
  label?: string | undefined;
171
+ defaultValue?: boolean | undefined;
151
172
  description?: string | undefined;
152
173
  }, {
153
174
  type: "boolean";
154
175
  required: boolean;
155
176
  control: "boolean";
156
- defaultValue?: boolean | undefined;
157
177
  label?: string | undefined;
178
+ defaultValue?: boolean | undefined;
158
179
  description?: string | undefined;
159
180
  }>, z.ZodObject<{
160
181
  control: z.ZodLiteral<"radio">;
@@ -169,16 +190,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
169
190
  type: "string";
170
191
  required: boolean;
171
192
  control: "radio";
172
- defaultValue?: string | undefined;
173
193
  label?: string | undefined;
194
+ defaultValue?: string | undefined;
174
195
  description?: string | undefined;
175
196
  }, {
176
197
  options: string[];
177
198
  type: "string";
178
199
  required: boolean;
179
200
  control: "radio";
180
- defaultValue?: string | undefined;
181
201
  label?: string | undefined;
202
+ defaultValue?: string | undefined;
182
203
  description?: string | undefined;
183
204
  }>, z.ZodObject<{
184
205
  control: z.ZodLiteral<"inline-radio">;
@@ -193,16 +214,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
193
214
  type: "string";
194
215
  required: boolean;
195
216
  control: "inline-radio";
196
- defaultValue?: string | undefined;
197
217
  label?: string | undefined;
218
+ defaultValue?: string | undefined;
198
219
  description?: string | undefined;
199
220
  }, {
200
221
  options: string[];
201
222
  type: "string";
202
223
  required: boolean;
203
224
  control: "inline-radio";
204
- defaultValue?: string | undefined;
205
225
  label?: string | undefined;
226
+ defaultValue?: string | undefined;
206
227
  description?: string | undefined;
207
228
  }>, z.ZodObject<{
208
229
  control: z.ZodLiteral<"select">;
@@ -217,16 +238,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
217
238
  type: "string";
218
239
  required: boolean;
219
240
  control: "select";
220
- defaultValue?: string | undefined;
221
241
  label?: string | undefined;
242
+ defaultValue?: string | undefined;
222
243
  description?: string | undefined;
223
244
  }, {
224
245
  options: string[];
225
246
  type: "string";
226
247
  required: boolean;
227
248
  control: "select";
228
- defaultValue?: string | undefined;
229
249
  label?: string | undefined;
250
+ defaultValue?: string | undefined;
230
251
  description?: string | undefined;
231
252
  }>, z.ZodObject<{
232
253
  control: z.ZodLiteral<"multi-select">;
@@ -241,16 +262,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
241
262
  type: "string[]";
242
263
  required: boolean;
243
264
  control: "multi-select";
244
- defaultValue?: string[] | undefined;
245
265
  label?: string | undefined;
266
+ defaultValue?: string[] | undefined;
246
267
  description?: string | undefined;
247
268
  }, {
248
269
  options: string[];
249
270
  type: "string[]";
250
271
  required: boolean;
251
272
  control: "multi-select";
252
- defaultValue?: string[] | undefined;
253
273
  label?: string | undefined;
274
+ defaultValue?: string[] | undefined;
254
275
  description?: string | undefined;
255
276
  }>, z.ZodObject<{
256
277
  control: z.ZodLiteral<"check">;
@@ -265,16 +286,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
265
286
  type: "string[]";
266
287
  required: boolean;
267
288
  control: "check";
268
- defaultValue?: string[] | undefined;
269
289
  label?: string | undefined;
290
+ defaultValue?: string[] | undefined;
270
291
  description?: string | undefined;
271
292
  }, {
272
293
  options: string[];
273
294
  type: "string[]";
274
295
  required: boolean;
275
296
  control: "check";
276
- defaultValue?: string[] | undefined;
277
297
  label?: string | undefined;
298
+ defaultValue?: string[] | undefined;
278
299
  description?: string | undefined;
279
300
  }>, z.ZodObject<{
280
301
  control: z.ZodLiteral<"inline-check">;
@@ -289,16 +310,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
289
310
  type: "string[]";
290
311
  required: boolean;
291
312
  control: "inline-check";
292
- defaultValue?: string[] | undefined;
293
313
  label?: string | undefined;
314
+ defaultValue?: string[] | undefined;
294
315
  description?: string | undefined;
295
316
  }, {
296
317
  options: string[];
297
318
  type: "string[]";
298
319
  required: boolean;
299
320
  control: "inline-check";
300
- defaultValue?: string[] | undefined;
301
321
  label?: string | undefined;
322
+ defaultValue?: string[] | undefined;
302
323
  description?: string | undefined;
303
324
  }>, z.ZodObject<{
304
325
  control: z.ZodLiteral<"file">;
@@ -313,18 +334,18 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
313
334
  type: "string";
314
335
  required: boolean;
315
336
  control: "file";
316
- defaultValue?: string | undefined;
317
- accept?: string | undefined;
318
337
  label?: string | undefined;
338
+ defaultValue?: string | undefined;
319
339
  description?: string | undefined;
340
+ accept?: string | undefined;
320
341
  }, {
321
342
  type: "string";
322
343
  required: boolean;
323
344
  control: "file";
324
- defaultValue?: string | undefined;
325
- accept?: string | undefined;
326
345
  label?: string | undefined;
346
+ defaultValue?: string | undefined;
327
347
  description?: string | undefined;
348
+ accept?: string | undefined;
328
349
  }>, z.ZodObject<{
329
350
  control: z.ZodLiteral<"url">;
330
351
  type: z.ZodLiteral<"string">;
@@ -336,15 +357,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
336
357
  type: "string";
337
358
  required: boolean;
338
359
  control: "url";
339
- defaultValue?: string | undefined;
340
360
  label?: string | undefined;
361
+ defaultValue?: string | undefined;
341
362
  description?: string | undefined;
342
363
  }, {
343
364
  type: "string";
344
365
  required: boolean;
345
366
  control: "url";
346
- defaultValue?: string | undefined;
347
367
  label?: string | undefined;
368
+ defaultValue?: string | undefined;
348
369
  description?: string | undefined;
349
370
  }>, z.ZodObject<{
350
371
  control: z.ZodLiteral<"json">;
@@ -357,15 +378,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
357
378
  type: "json";
358
379
  required: boolean;
359
380
  control: "json";
360
- defaultValue?: unknown;
361
381
  label?: string | undefined;
382
+ defaultValue?: unknown;
362
383
  description?: string | undefined;
363
384
  }, {
364
385
  type: "json";
365
386
  required: boolean;
366
387
  control: "json";
367
- defaultValue?: unknown;
368
388
  label?: string | undefined;
389
+ defaultValue?: unknown;
369
390
  description?: string | undefined;
370
391
  }>, z.ZodObject<{
371
392
  control: z.ZodLiteral<"date">;
@@ -378,15 +399,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
378
399
  type: "string";
379
400
  required: boolean;
380
401
  control: "date";
381
- defaultValue?: string | undefined;
382
402
  label?: string | undefined;
403
+ defaultValue?: string | undefined;
383
404
  description?: string | undefined;
384
405
  }, {
385
406
  type: "string";
386
407
  required: boolean;
387
408
  control: "date";
388
- defaultValue?: string | undefined;
389
409
  label?: string | undefined;
410
+ defaultValue?: string | undefined;
390
411
  description?: string | undefined;
391
412
  }>, z.ZodObject<{
392
413
  control: z.ZodLiteral<"action">;
@@ -399,15 +420,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
399
420
  type: "action";
400
421
  required: boolean;
401
422
  control: "action";
402
- defaultValue?: undefined;
403
423
  label?: string | undefined;
424
+ defaultValue?: undefined;
404
425
  description?: string | undefined;
405
426
  }, {
406
427
  type: "action";
407
428
  required: boolean;
408
429
  control: "action";
409
- defaultValue?: undefined;
410
430
  label?: string | undefined;
431
+ defaultValue?: undefined;
411
432
  description?: string | undefined;
412
433
  }>, z.ZodObject<{
413
434
  control: z.ZodLiteral<"textContent">;
@@ -420,15 +441,36 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
420
441
  type: "string";
421
442
  required: boolean;
422
443
  control: "textContent";
423
- defaultValue?: string | undefined;
424
444
  label?: string | undefined;
445
+ defaultValue?: string | undefined;
425
446
  description?: string | undefined;
426
447
  }, {
427
448
  type: "string";
428
449
  required: boolean;
429
450
  control: "textContent";
451
+ label?: string | undefined;
430
452
  defaultValue?: string | undefined;
453
+ description?: string | undefined;
454
+ }>, z.ZodObject<{
455
+ control: z.ZodLiteral<"animationAction">;
456
+ type: z.ZodLiteral<"animationAction">;
457
+ defaultValue: z.ZodOptional<z.ZodUndefined>;
458
+ label: z.ZodOptional<z.ZodString>;
459
+ description: z.ZodOptional<z.ZodString>;
460
+ required: z.ZodBoolean;
461
+ }, "strip", z.ZodTypeAny, {
462
+ type: "animationAction";
463
+ required: boolean;
464
+ control: "animationAction";
431
465
  label?: string | undefined;
466
+ defaultValue?: undefined;
467
+ description?: string | undefined;
468
+ }, {
469
+ type: "animationAction";
470
+ required: boolean;
471
+ control: "animationAction";
472
+ label?: string | undefined;
473
+ defaultValue?: undefined;
432
474
  description?: string | undefined;
433
475
  }>]>;
434
476
  export type PropMeta = z.infer<typeof PropMeta>;