@webstudio-is/sdk 0.208.0 → 0.209.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.
@@ -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,18 +57,18 @@ 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
- defaultValue?: string | undefined;
69
- rows?: number | undefined;
70
68
  label?: string | undefined;
69
+ defaultValue?: string | undefined;
71
70
  description?: string | undefined;
71
+ rows?: number | undefined;
72
72
  }>, z.ZodObject<{
73
73
  control: z.ZodLiteral<"resource">;
74
74
  type: z.ZodLiteral<"resource">;
@@ -80,15 +80,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
80
80
  type: "resource";
81
81
  required: boolean;
82
82
  control: "resource";
83
- defaultValue?: string | undefined;
84
83
  label?: string | undefined;
84
+ defaultValue?: string | undefined;
85
85
  description?: string | undefined;
86
86
  }, {
87
87
  type: "resource";
88
88
  required: boolean;
89
89
  control: "resource";
90
- defaultValue?: string | undefined;
91
90
  label?: string | undefined;
91
+ defaultValue?: string | undefined;
92
92
  description?: string | undefined;
93
93
  }>, z.ZodObject<{
94
94
  control: z.ZodLiteral<"code">;
@@ -103,16 +103,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
103
103
  required: boolean;
104
104
  control: "code";
105
105
  language: "html" | "markdown";
106
- defaultValue?: string | undefined;
107
106
  label?: string | undefined;
107
+ defaultValue?: string | undefined;
108
108
  description?: string | undefined;
109
109
  }, {
110
110
  type: "string";
111
111
  required: boolean;
112
112
  control: "code";
113
113
  language: "html" | "markdown";
114
- defaultValue?: string | undefined;
115
114
  label?: string | undefined;
115
+ defaultValue?: string | undefined;
116
116
  description?: string | undefined;
117
117
  }>, z.ZodObject<{
118
118
  control: z.ZodLiteral<"codetext">;
@@ -125,15 +125,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
125
125
  type: "string";
126
126
  required: boolean;
127
127
  control: "codetext";
128
- defaultValue?: string | undefined;
129
128
  label?: string | undefined;
129
+ defaultValue?: string | undefined;
130
130
  description?: string | undefined;
131
131
  }, {
132
132
  type: "string";
133
133
  required: boolean;
134
134
  control: "codetext";
135
- defaultValue?: string | undefined;
136
135
  label?: string | undefined;
136
+ defaultValue?: string | undefined;
137
137
  description?: string | undefined;
138
138
  }>, z.ZodObject<{
139
139
  control: z.ZodLiteral<"color">;
@@ -146,15 +146,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
146
146
  type: "string";
147
147
  required: boolean;
148
148
  control: "color";
149
- defaultValue?: string | undefined;
150
149
  label?: string | undefined;
150
+ defaultValue?: string | undefined;
151
151
  description?: string | undefined;
152
152
  }, {
153
153
  type: "string";
154
154
  required: boolean;
155
155
  control: "color";
156
- defaultValue?: string | undefined;
157
156
  label?: string | undefined;
157
+ defaultValue?: string | undefined;
158
158
  description?: string | undefined;
159
159
  }>, z.ZodObject<{
160
160
  control: z.ZodLiteral<"boolean">;
@@ -167,15 +167,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
167
167
  type: "boolean";
168
168
  required: boolean;
169
169
  control: "boolean";
170
- defaultValue?: boolean | undefined;
171
170
  label?: string | undefined;
171
+ defaultValue?: boolean | undefined;
172
172
  description?: string | undefined;
173
173
  }, {
174
174
  type: "boolean";
175
175
  required: boolean;
176
176
  control: "boolean";
177
- defaultValue?: boolean | undefined;
178
177
  label?: string | undefined;
178
+ defaultValue?: boolean | undefined;
179
179
  description?: string | undefined;
180
180
  }>, z.ZodObject<{
181
181
  control: z.ZodLiteral<"radio">;
@@ -190,16 +190,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
190
190
  type: "string";
191
191
  required: boolean;
192
192
  control: "radio";
193
- defaultValue?: string | undefined;
194
193
  label?: string | undefined;
194
+ defaultValue?: string | undefined;
195
195
  description?: string | undefined;
196
196
  }, {
197
197
  options: string[];
198
198
  type: "string";
199
199
  required: boolean;
200
200
  control: "radio";
201
- defaultValue?: string | undefined;
202
201
  label?: string | undefined;
202
+ defaultValue?: string | undefined;
203
203
  description?: string | undefined;
204
204
  }>, z.ZodObject<{
205
205
  control: z.ZodLiteral<"inline-radio">;
@@ -214,16 +214,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
214
214
  type: "string";
215
215
  required: boolean;
216
216
  control: "inline-radio";
217
- defaultValue?: string | undefined;
218
217
  label?: string | undefined;
218
+ defaultValue?: string | undefined;
219
219
  description?: string | undefined;
220
220
  }, {
221
221
  options: string[];
222
222
  type: "string";
223
223
  required: boolean;
224
224
  control: "inline-radio";
225
- defaultValue?: string | undefined;
226
225
  label?: string | undefined;
226
+ defaultValue?: string | undefined;
227
227
  description?: string | undefined;
228
228
  }>, z.ZodObject<{
229
229
  control: z.ZodLiteral<"select">;
@@ -238,16 +238,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
238
238
  type: "string";
239
239
  required: boolean;
240
240
  control: "select";
241
- defaultValue?: string | undefined;
242
241
  label?: string | undefined;
242
+ defaultValue?: string | undefined;
243
243
  description?: string | undefined;
244
244
  }, {
245
245
  options: string[];
246
246
  type: "string";
247
247
  required: boolean;
248
248
  control: "select";
249
- defaultValue?: string | undefined;
250
249
  label?: string | undefined;
250
+ defaultValue?: string | undefined;
251
251
  description?: string | undefined;
252
252
  }>, z.ZodObject<{
253
253
  control: z.ZodLiteral<"multi-select">;
@@ -262,16 +262,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
262
262
  type: "string[]";
263
263
  required: boolean;
264
264
  control: "multi-select";
265
- defaultValue?: string[] | undefined;
266
265
  label?: string | undefined;
266
+ defaultValue?: string[] | undefined;
267
267
  description?: string | undefined;
268
268
  }, {
269
269
  options: string[];
270
270
  type: "string[]";
271
271
  required: boolean;
272
272
  control: "multi-select";
273
- defaultValue?: string[] | undefined;
274
273
  label?: string | undefined;
274
+ defaultValue?: string[] | undefined;
275
275
  description?: string | undefined;
276
276
  }>, z.ZodObject<{
277
277
  control: z.ZodLiteral<"check">;
@@ -286,16 +286,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
286
286
  type: "string[]";
287
287
  required: boolean;
288
288
  control: "check";
289
- defaultValue?: string[] | undefined;
290
289
  label?: string | undefined;
290
+ defaultValue?: string[] | undefined;
291
291
  description?: string | undefined;
292
292
  }, {
293
293
  options: string[];
294
294
  type: "string[]";
295
295
  required: boolean;
296
296
  control: "check";
297
- defaultValue?: string[] | undefined;
298
297
  label?: string | undefined;
298
+ defaultValue?: string[] | undefined;
299
299
  description?: string | undefined;
300
300
  }>, z.ZodObject<{
301
301
  control: z.ZodLiteral<"inline-check">;
@@ -310,16 +310,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
310
310
  type: "string[]";
311
311
  required: boolean;
312
312
  control: "inline-check";
313
- defaultValue?: string[] | undefined;
314
313
  label?: string | undefined;
314
+ defaultValue?: string[] | undefined;
315
315
  description?: string | undefined;
316
316
  }, {
317
317
  options: string[];
318
318
  type: "string[]";
319
319
  required: boolean;
320
320
  control: "inline-check";
321
- defaultValue?: string[] | undefined;
322
321
  label?: string | undefined;
322
+ defaultValue?: string[] | undefined;
323
323
  description?: string | undefined;
324
324
  }>, z.ZodObject<{
325
325
  control: z.ZodLiteral<"file">;
@@ -334,18 +334,18 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
334
334
  type: "string";
335
335
  required: boolean;
336
336
  control: "file";
337
- defaultValue?: string | undefined;
338
- accept?: string | undefined;
339
337
  label?: string | undefined;
338
+ defaultValue?: string | undefined;
340
339
  description?: string | undefined;
340
+ accept?: string | undefined;
341
341
  }, {
342
342
  type: "string";
343
343
  required: boolean;
344
344
  control: "file";
345
- defaultValue?: string | undefined;
346
- accept?: string | undefined;
347
345
  label?: string | undefined;
346
+ defaultValue?: string | undefined;
348
347
  description?: string | undefined;
348
+ accept?: string | undefined;
349
349
  }>, z.ZodObject<{
350
350
  control: z.ZodLiteral<"url">;
351
351
  type: z.ZodLiteral<"string">;
@@ -357,15 +357,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
357
357
  type: "string";
358
358
  required: boolean;
359
359
  control: "url";
360
- defaultValue?: string | undefined;
361
360
  label?: string | undefined;
361
+ defaultValue?: string | undefined;
362
362
  description?: string | undefined;
363
363
  }, {
364
364
  type: "string";
365
365
  required: boolean;
366
366
  control: "url";
367
- defaultValue?: string | undefined;
368
367
  label?: string | undefined;
368
+ defaultValue?: string | undefined;
369
369
  description?: string | undefined;
370
370
  }>, z.ZodObject<{
371
371
  control: z.ZodLiteral<"json">;
@@ -378,15 +378,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
378
378
  type: "json";
379
379
  required: boolean;
380
380
  control: "json";
381
- defaultValue?: unknown;
382
381
  label?: string | undefined;
382
+ defaultValue?: unknown;
383
383
  description?: string | undefined;
384
384
  }, {
385
385
  type: "json";
386
386
  required: boolean;
387
387
  control: "json";
388
- defaultValue?: unknown;
389
388
  label?: string | undefined;
389
+ defaultValue?: unknown;
390
390
  description?: string | undefined;
391
391
  }>, z.ZodObject<{
392
392
  control: z.ZodLiteral<"date">;
@@ -399,15 +399,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
399
399
  type: "string";
400
400
  required: boolean;
401
401
  control: "date";
402
- defaultValue?: string | undefined;
403
402
  label?: string | undefined;
403
+ defaultValue?: string | undefined;
404
404
  description?: string | undefined;
405
405
  }, {
406
406
  type: "string";
407
407
  required: boolean;
408
408
  control: "date";
409
- defaultValue?: string | undefined;
410
409
  label?: string | undefined;
410
+ defaultValue?: string | undefined;
411
411
  description?: string | undefined;
412
412
  }>, z.ZodObject<{
413
413
  control: z.ZodLiteral<"action">;
@@ -420,15 +420,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
420
420
  type: "action";
421
421
  required: boolean;
422
422
  control: "action";
423
- defaultValue?: undefined;
424
423
  label?: string | undefined;
424
+ defaultValue?: undefined;
425
425
  description?: string | undefined;
426
426
  }, {
427
427
  type: "action";
428
428
  required: boolean;
429
429
  control: "action";
430
- defaultValue?: undefined;
431
430
  label?: string | undefined;
431
+ defaultValue?: undefined;
432
432
  description?: string | undefined;
433
433
  }>, z.ZodObject<{
434
434
  control: z.ZodLiteral<"textContent">;
@@ -441,15 +441,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
441
441
  type: "string";
442
442
  required: boolean;
443
443
  control: "textContent";
444
- defaultValue?: string | undefined;
445
444
  label?: string | undefined;
445
+ defaultValue?: string | undefined;
446
446
  description?: string | undefined;
447
447
  }, {
448
448
  type: "string";
449
449
  required: boolean;
450
450
  control: "textContent";
451
- defaultValue?: string | undefined;
452
451
  label?: string | undefined;
452
+ defaultValue?: string | undefined;
453
453
  description?: string | undefined;
454
454
  }>, z.ZodObject<{
455
455
  control: z.ZodLiteral<"animationAction">;
@@ -462,15 +462,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
462
462
  type: "animationAction";
463
463
  required: boolean;
464
464
  control: "animationAction";
465
- defaultValue?: undefined;
466
465
  label?: string | undefined;
466
+ defaultValue?: undefined;
467
467
  description?: string | undefined;
468
468
  }, {
469
469
  type: "animationAction";
470
470
  required: boolean;
471
471
  control: "animationAction";
472
- defaultValue?: undefined;
473
472
  label?: string | undefined;
473
+ defaultValue?: undefined;
474
474
  description?: string | undefined;
475
475
  }>]>;
476
476
  export type PropMeta = z.infer<typeof PropMeta>;