@webstudio-is/sdk 0.198.0 → 0.199.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.
@@ -9,15 +9,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  value: number;
11
11
  type: "number";
12
- id: string;
13
12
  name: string;
13
+ id: string;
14
14
  instanceId: string;
15
15
  required?: boolean | undefined;
16
16
  }, {
17
17
  value: number;
18
18
  type: "number";
19
- id: string;
20
19
  name: string;
20
+ id: string;
21
21
  instanceId: string;
22
22
  required?: boolean | undefined;
23
23
  }>, z.ZodObject<{
@@ -30,15 +30,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  value: string;
32
32
  type: "string";
33
- id: string;
34
33
  name: string;
34
+ id: string;
35
35
  instanceId: string;
36
36
  required?: boolean | undefined;
37
37
  }, {
38
38
  value: string;
39
39
  type: "string";
40
- id: string;
41
40
  name: string;
41
+ id: string;
42
42
  instanceId: string;
43
43
  required?: boolean | undefined;
44
44
  }>, z.ZodObject<{
@@ -51,15 +51,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
51
51
  }, "strip", z.ZodTypeAny, {
52
52
  value: boolean;
53
53
  type: "boolean";
54
- id: string;
55
54
  name: string;
55
+ id: string;
56
56
  instanceId: string;
57
57
  required?: boolean | undefined;
58
58
  }, {
59
59
  value: boolean;
60
60
  type: "boolean";
61
- id: string;
62
61
  name: string;
62
+ id: string;
63
63
  instanceId: string;
64
64
  required?: boolean | undefined;
65
65
  }>, z.ZodObject<{
@@ -71,15 +71,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
71
71
  required: z.ZodOptional<z.ZodBoolean>;
72
72
  }, "strip", z.ZodTypeAny, {
73
73
  type: "json";
74
- id: string;
75
74
  name: string;
75
+ id: string;
76
76
  instanceId: string;
77
77
  value?: unknown;
78
78
  required?: boolean | undefined;
79
79
  }, {
80
80
  type: "json";
81
- id: string;
82
81
  name: string;
82
+ id: string;
83
83
  instanceId: string;
84
84
  value?: unknown;
85
85
  required?: boolean | undefined;
@@ -93,15 +93,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  value: string;
95
95
  type: "asset";
96
- id: string;
97
96
  name: string;
97
+ id: string;
98
98
  instanceId: string;
99
99
  required?: boolean | undefined;
100
100
  }, {
101
101
  value: string;
102
102
  type: "asset";
103
- id: string;
104
103
  name: string;
104
+ id: string;
105
105
  instanceId: string;
106
106
  required?: boolean | undefined;
107
107
  }>, z.ZodObject<{
@@ -129,8 +129,8 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
129
129
  pageId: string;
130
130
  } | undefined);
131
131
  type: "page";
132
- id: string;
133
132
  name: string;
133
+ id: string;
134
134
  instanceId: string;
135
135
  required?: boolean | undefined;
136
136
  }, {
@@ -142,8 +142,8 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
142
142
  pageId: string;
143
143
  } | undefined);
144
144
  type: "page";
145
- id: string;
146
145
  name: string;
146
+ id: string;
147
147
  instanceId: string;
148
148
  required?: boolean | undefined;
149
149
  }>, z.ZodObject<{
@@ -156,15 +156,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
156
156
  }, "strip", z.ZodTypeAny, {
157
157
  value: string[];
158
158
  type: "string[]";
159
- id: string;
160
159
  name: string;
160
+ id: string;
161
161
  instanceId: string;
162
162
  required?: boolean | undefined;
163
163
  }, {
164
164
  value: string[];
165
165
  type: "string[]";
166
- id: string;
167
166
  name: string;
167
+ id: string;
168
168
  instanceId: string;
169
169
  required?: boolean | undefined;
170
170
  }>, z.ZodObject<{
@@ -177,15 +177,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
177
177
  }, "strip", z.ZodTypeAny, {
178
178
  value: string;
179
179
  type: "parameter";
180
- id: string;
181
180
  name: string;
181
+ id: string;
182
182
  instanceId: string;
183
183
  required?: boolean | undefined;
184
184
  }, {
185
185
  value: string;
186
186
  type: "parameter";
187
- id: string;
188
187
  name: string;
188
+ id: string;
189
189
  instanceId: string;
190
190
  required?: boolean | undefined;
191
191
  }>, z.ZodObject<{
@@ -198,15 +198,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
198
198
  }, "strip", z.ZodTypeAny, {
199
199
  value: string;
200
200
  type: "resource";
201
- id: string;
202
201
  name: string;
202
+ id: string;
203
203
  instanceId: string;
204
204
  required?: boolean | undefined;
205
205
  }, {
206
206
  value: string;
207
207
  type: "resource";
208
- id: string;
209
208
  name: string;
209
+ id: string;
210
210
  instanceId: string;
211
211
  required?: boolean | undefined;
212
212
  }>, z.ZodObject<{
@@ -219,15 +219,15 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
219
219
  }, "strip", z.ZodTypeAny, {
220
220
  value: string;
221
221
  type: "expression";
222
- id: string;
223
222
  name: string;
223
+ id: string;
224
224
  instanceId: string;
225
225
  required?: boolean | undefined;
226
226
  }, {
227
227
  value: string;
228
228
  type: "expression";
229
- id: string;
230
229
  name: string;
230
+ id: string;
231
231
  instanceId: string;
232
232
  required?: boolean | undefined;
233
233
  }>, z.ZodObject<{
@@ -256,8 +256,8 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
256
256
  args: string[];
257
257
  }[];
258
258
  type: "action";
259
- id: string;
260
259
  name: string;
260
+ id: string;
261
261
  instanceId: string;
262
262
  required?: boolean | undefined;
263
263
  }, {
@@ -267,8 +267,8 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
267
267
  args: string[];
268
268
  }[];
269
269
  type: "action";
270
- id: string;
271
270
  name: string;
271
+ id: string;
272
272
  instanceId: string;
273
273
  required?: boolean | undefined;
274
274
  }>]>;
@@ -283,15 +283,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
283
283
  }, "strip", z.ZodTypeAny, {
284
284
  value: number;
285
285
  type: "number";
286
- id: string;
287
286
  name: string;
287
+ id: string;
288
288
  instanceId: string;
289
289
  required?: boolean | undefined;
290
290
  }, {
291
291
  value: number;
292
292
  type: "number";
293
- id: string;
294
293
  name: string;
294
+ id: string;
295
295
  instanceId: string;
296
296
  required?: boolean | undefined;
297
297
  }>, z.ZodObject<{
@@ -304,15 +304,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
304
304
  }, "strip", z.ZodTypeAny, {
305
305
  value: string;
306
306
  type: "string";
307
- id: string;
308
307
  name: string;
308
+ id: string;
309
309
  instanceId: string;
310
310
  required?: boolean | undefined;
311
311
  }, {
312
312
  value: string;
313
313
  type: "string";
314
- id: string;
315
314
  name: string;
315
+ id: string;
316
316
  instanceId: string;
317
317
  required?: boolean | undefined;
318
318
  }>, z.ZodObject<{
@@ -325,15 +325,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
325
325
  }, "strip", z.ZodTypeAny, {
326
326
  value: boolean;
327
327
  type: "boolean";
328
- id: string;
329
328
  name: string;
329
+ id: string;
330
330
  instanceId: string;
331
331
  required?: boolean | undefined;
332
332
  }, {
333
333
  value: boolean;
334
334
  type: "boolean";
335
- id: string;
336
335
  name: string;
336
+ id: string;
337
337
  instanceId: string;
338
338
  required?: boolean | undefined;
339
339
  }>, z.ZodObject<{
@@ -345,15 +345,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
345
345
  required: z.ZodOptional<z.ZodBoolean>;
346
346
  }, "strip", z.ZodTypeAny, {
347
347
  type: "json";
348
- id: string;
349
348
  name: string;
349
+ id: string;
350
350
  instanceId: string;
351
351
  value?: unknown;
352
352
  required?: boolean | undefined;
353
353
  }, {
354
354
  type: "json";
355
- id: string;
356
355
  name: string;
356
+ id: string;
357
357
  instanceId: string;
358
358
  value?: unknown;
359
359
  required?: boolean | undefined;
@@ -367,15 +367,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
367
367
  }, "strip", z.ZodTypeAny, {
368
368
  value: string;
369
369
  type: "asset";
370
- id: string;
371
370
  name: string;
371
+ id: string;
372
372
  instanceId: string;
373
373
  required?: boolean | undefined;
374
374
  }, {
375
375
  value: string;
376
376
  type: "asset";
377
- id: string;
378
377
  name: string;
378
+ id: string;
379
379
  instanceId: string;
380
380
  required?: boolean | undefined;
381
381
  }>, z.ZodObject<{
@@ -403,8 +403,8 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
403
403
  pageId: string;
404
404
  } | undefined);
405
405
  type: "page";
406
- id: string;
407
406
  name: string;
407
+ id: string;
408
408
  instanceId: string;
409
409
  required?: boolean | undefined;
410
410
  }, {
@@ -416,8 +416,8 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
416
416
  pageId: string;
417
417
  } | undefined);
418
418
  type: "page";
419
- id: string;
420
419
  name: string;
420
+ id: string;
421
421
  instanceId: string;
422
422
  required?: boolean | undefined;
423
423
  }>, z.ZodObject<{
@@ -430,15 +430,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
430
430
  }, "strip", z.ZodTypeAny, {
431
431
  value: string[];
432
432
  type: "string[]";
433
- id: string;
434
433
  name: string;
434
+ id: string;
435
435
  instanceId: string;
436
436
  required?: boolean | undefined;
437
437
  }, {
438
438
  value: string[];
439
439
  type: "string[]";
440
- id: string;
441
440
  name: string;
441
+ id: string;
442
442
  instanceId: string;
443
443
  required?: boolean | undefined;
444
444
  }>, z.ZodObject<{
@@ -451,15 +451,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
451
451
  }, "strip", z.ZodTypeAny, {
452
452
  value: string;
453
453
  type: "parameter";
454
- id: string;
455
454
  name: string;
455
+ id: string;
456
456
  instanceId: string;
457
457
  required?: boolean | undefined;
458
458
  }, {
459
459
  value: string;
460
460
  type: "parameter";
461
- id: string;
462
461
  name: string;
462
+ id: string;
463
463
  instanceId: string;
464
464
  required?: boolean | undefined;
465
465
  }>, z.ZodObject<{
@@ -472,15 +472,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
472
472
  }, "strip", z.ZodTypeAny, {
473
473
  value: string;
474
474
  type: "resource";
475
- id: string;
476
475
  name: string;
476
+ id: string;
477
477
  instanceId: string;
478
478
  required?: boolean | undefined;
479
479
  }, {
480
480
  value: string;
481
481
  type: "resource";
482
- id: string;
483
482
  name: string;
483
+ id: string;
484
484
  instanceId: string;
485
485
  required?: boolean | undefined;
486
486
  }>, z.ZodObject<{
@@ -493,15 +493,15 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
493
493
  }, "strip", z.ZodTypeAny, {
494
494
  value: string;
495
495
  type: "expression";
496
- id: string;
497
496
  name: string;
497
+ id: string;
498
498
  instanceId: string;
499
499
  required?: boolean | undefined;
500
500
  }, {
501
501
  value: string;
502
502
  type: "expression";
503
- id: string;
504
503
  name: string;
504
+ id: string;
505
505
  instanceId: string;
506
506
  required?: boolean | undefined;
507
507
  }>, z.ZodObject<{
@@ -530,8 +530,8 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
530
530
  args: string[];
531
531
  }[];
532
532
  type: "action";
533
- id: string;
534
533
  name: string;
534
+ id: string;
535
535
  instanceId: string;
536
536
  required?: boolean | undefined;
537
537
  }, {
@@ -541,8 +541,8 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
541
541
  args: string[];
542
542
  }[];
543
543
  type: "action";
544
- id: string;
545
544
  name: string;
545
+ id: string;
546
546
  instanceId: string;
547
547
  required?: boolean | undefined;
548
548
  }>]>>;
@@ -17,10 +17,10 @@ export declare const Resource: z.ZodObject<{
17
17
  }>, "many">;
18
18
  body: z.ZodOptional<z.ZodString>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- id: string;
21
20
  name: string;
22
- method: "get" | "post" | "put" | "delete";
23
21
  url: string;
22
+ id: string;
23
+ method: "get" | "post" | "put" | "delete";
24
24
  headers: {
25
25
  value: string;
26
26
  name: string;
@@ -28,10 +28,10 @@ export declare const Resource: z.ZodObject<{
28
28
  control?: "system" | "graphql" | undefined;
29
29
  body?: string | undefined;
30
30
  }, {
31
- id: string;
32
31
  name: string;
33
- method: "get" | "post" | "put" | "delete";
34
32
  url: string;
33
+ id: string;
34
+ method: "get" | "post" | "put" | "delete";
35
35
  headers: {
36
36
  value: string;
37
37
  name: string;
@@ -57,20 +57,20 @@ export declare const ResourceRequest: z.ZodObject<{
57
57
  }>, "many">;
58
58
  body: z.ZodOptional<z.ZodUnknown>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- id: string;
61
60
  name: string;
62
- method: "get" | "post" | "put" | "delete";
63
61
  url: string;
62
+ id: string;
63
+ method: "get" | "post" | "put" | "delete";
64
64
  headers: {
65
65
  value: string;
66
66
  name: string;
67
67
  }[];
68
68
  body?: unknown;
69
69
  }, {
70
- id: string;
71
70
  name: string;
72
- method: "get" | "post" | "put" | "delete";
73
71
  url: string;
72
+ id: string;
73
+ method: "get" | "post" | "put" | "delete";
74
74
  headers: {
75
75
  value: string;
76
76
  name: string;
@@ -96,10 +96,10 @@ export declare const Resources: z.ZodMap<z.ZodString, z.ZodObject<{
96
96
  }>, "many">;
97
97
  body: z.ZodOptional<z.ZodString>;
98
98
  }, "strip", z.ZodTypeAny, {
99
- id: string;
100
99
  name: string;
101
- method: "get" | "post" | "put" | "delete";
102
100
  url: string;
101
+ id: string;
102
+ method: "get" | "post" | "put" | "delete";
103
103
  headers: {
104
104
  value: string;
105
105
  name: string;
@@ -107,10 +107,10 @@ export declare const Resources: z.ZodMap<z.ZodString, z.ZodObject<{
107
107
  control?: "system" | "graphql" | undefined;
108
108
  body?: string | undefined;
109
109
  }, {
110
- id: string;
111
110
  name: string;
112
- method: "get" | "post" | "put" | "delete";
113
111
  url: string;
112
+ id: string;
113
+ method: "get" | "post" | "put" | "delete";
114
114
  headers: {
115
115
  value: string;
116
116
  name: string;
@@ -5,12 +5,12 @@ declare const StyleSourceToken: z.ZodObject<{
5
5
  name: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
7
  type: "token";
8
- id: string;
9
8
  name: string;
9
+ id: string;
10
10
  }, {
11
11
  type: "token";
12
- id: string;
13
12
  name: string;
13
+ id: string;
14
14
  }>;
15
15
  export type StyleSourceToken = z.infer<typeof StyleSourceToken>;
16
16
  export declare const StyleSource: z.ZodUnion<[z.ZodObject<{
@@ -19,12 +19,12 @@ export declare const StyleSource: z.ZodUnion<[z.ZodObject<{
19
19
  name: z.ZodString;
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  type: "token";
22
- id: string;
23
22
  name: string;
23
+ id: string;
24
24
  }, {
25
25
  type: "token";
26
- id: string;
27
26
  name: string;
27
+ id: string;
28
28
  }>, z.ZodObject<{
29
29
  type: z.ZodLiteral<"local">;
30
30
  id: z.ZodString;
@@ -42,12 +42,12 @@ export declare const StyleSources: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject
42
42
  name: z.ZodString;
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  type: "token";
45
- id: string;
46
45
  name: string;
46
+ id: string;
47
47
  }, {
48
48
  type: "token";
49
- id: string;
50
49
  name: string;
50
+ id: string;
51
51
  }>, z.ZodObject<{
52
52
  type: z.ZodLiteral<"local">;
53
53
  id: z.ZodString;