@webstudio-is/sdk 0.191.4 → 0.191.5

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.
Files changed (40) hide show
  1. package/lib/__generated__/normalize.css.js +505 -0
  2. package/lib/index.js +1300 -0
  3. package/lib/runtime.js +101 -0
  4. package/lib/types/__generated__/normalize.css.d.ts +57 -0
  5. package/lib/types/expression.d.ts +53 -0
  6. package/lib/types/expression.test.d.ts +1 -0
  7. package/lib/types/form-fields.d.ts +8 -0
  8. package/lib/types/index.d.ts +19 -0
  9. package/lib/types/instances-utils.d.ts +5 -0
  10. package/lib/types/instances-utils.test.d.ts +1 -0
  11. package/lib/types/jsx.d.ts +151 -0
  12. package/lib/types/jsx.test.d.ts +1 -0
  13. package/lib/types/page-meta-generator.d.ts +24 -0
  14. package/lib/types/page-meta-generator.test.d.ts +1 -0
  15. package/lib/types/page-utils.d.ts +24 -0
  16. package/lib/types/page-utils.test.d.ts +1 -0
  17. package/lib/types/resource-loader.d.ts +30 -0
  18. package/lib/types/resource-loader.test.d.ts +1 -0
  19. package/lib/types/resources-generator.d.ts +22 -0
  20. package/lib/types/resources-generator.test.d.ts +1 -0
  21. package/lib/types/runtime.d.ts +3 -0
  22. package/lib/types/schema/assets.d.ts +527 -0
  23. package/lib/types/schema/breakpoints.d.ts +56 -0
  24. package/lib/types/schema/data-sources.d.ts +303 -0
  25. package/lib/types/schema/deployment.d.ts +41 -0
  26. package/lib/types/schema/instances.d.ts +417 -0
  27. package/lib/types/schema/pages.d.ts +675 -0
  28. package/lib/types/schema/props.d.ts +549 -0
  29. package/lib/types/schema/resources.d.ts +121 -0
  30. package/lib/types/schema/style-source-selections.d.ts +23 -0
  31. package/lib/types/schema/style-sources.d.ts +62 -0
  32. package/lib/types/schema/styles.d.ts +2629 -0
  33. package/lib/types/schema/webstudio.d.ts +2374 -0
  34. package/lib/types/scope.d.ts +16 -0
  35. package/lib/types/scope.test.d.ts +1 -0
  36. package/lib/types/testing.d.ts +1 -0
  37. package/lib/types/to-string.d.ts +2 -0
  38. package/lib/types/url-pattern.d.ts +2 -0
  39. package/lib/types/url-pattern.test.d.ts +1 -0
  40. package/package.json +3 -3
@@ -0,0 +1,549 @@
1
+ import { z } from "zod";
2
+ export declare const Prop: z.ZodUnion<[z.ZodObject<{
3
+ type: z.ZodLiteral<"number">;
4
+ value: z.ZodNumber;
5
+ id: z.ZodString;
6
+ instanceId: z.ZodString;
7
+ name: z.ZodString;
8
+ required: z.ZodOptional<z.ZodBoolean>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ value: number;
11
+ type: "number";
12
+ id: string;
13
+ name: string;
14
+ instanceId: string;
15
+ required?: boolean | undefined;
16
+ }, {
17
+ value: number;
18
+ type: "number";
19
+ id: string;
20
+ name: string;
21
+ instanceId: string;
22
+ required?: boolean | undefined;
23
+ }>, z.ZodObject<{
24
+ type: z.ZodLiteral<"string">;
25
+ value: z.ZodString;
26
+ id: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ name: z.ZodString;
29
+ required: z.ZodOptional<z.ZodBoolean>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ value: string;
32
+ type: "string";
33
+ id: string;
34
+ name: string;
35
+ instanceId: string;
36
+ required?: boolean | undefined;
37
+ }, {
38
+ value: string;
39
+ type: "string";
40
+ id: string;
41
+ name: string;
42
+ instanceId: string;
43
+ required?: boolean | undefined;
44
+ }>, z.ZodObject<{
45
+ type: z.ZodLiteral<"boolean">;
46
+ value: z.ZodBoolean;
47
+ id: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ name: z.ZodString;
50
+ required: z.ZodOptional<z.ZodBoolean>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ value: boolean;
53
+ type: "boolean";
54
+ id: string;
55
+ name: string;
56
+ instanceId: string;
57
+ required?: boolean | undefined;
58
+ }, {
59
+ value: boolean;
60
+ type: "boolean";
61
+ id: string;
62
+ name: string;
63
+ instanceId: string;
64
+ required?: boolean | undefined;
65
+ }>, z.ZodObject<{
66
+ type: z.ZodLiteral<"json">;
67
+ value: z.ZodUnknown;
68
+ id: z.ZodString;
69
+ instanceId: z.ZodString;
70
+ name: z.ZodString;
71
+ required: z.ZodOptional<z.ZodBoolean>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ type: "json";
74
+ id: string;
75
+ name: string;
76
+ instanceId: string;
77
+ value?: unknown;
78
+ required?: boolean | undefined;
79
+ }, {
80
+ type: "json";
81
+ id: string;
82
+ name: string;
83
+ instanceId: string;
84
+ value?: unknown;
85
+ required?: boolean | undefined;
86
+ }>, z.ZodObject<{
87
+ type: z.ZodLiteral<"asset">;
88
+ value: z.ZodString;
89
+ id: z.ZodString;
90
+ instanceId: z.ZodString;
91
+ name: z.ZodString;
92
+ required: z.ZodOptional<z.ZodBoolean>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ value: string;
95
+ type: "asset";
96
+ id: string;
97
+ name: string;
98
+ instanceId: string;
99
+ required?: boolean | undefined;
100
+ }, {
101
+ value: string;
102
+ type: "asset";
103
+ id: string;
104
+ name: string;
105
+ instanceId: string;
106
+ required?: boolean | undefined;
107
+ }>, z.ZodObject<{
108
+ type: z.ZodLiteral<"page">;
109
+ value: z.ZodUnion<[z.ZodString, z.ZodObject<{
110
+ pageId: z.ZodString;
111
+ instanceId: z.ZodString;
112
+ }, "strip", z.ZodTypeAny, {
113
+ instanceId: string;
114
+ pageId: string;
115
+ }, {
116
+ instanceId: string;
117
+ pageId: string;
118
+ }>]>;
119
+ id: z.ZodString;
120
+ instanceId: z.ZodString;
121
+ name: z.ZodString;
122
+ required: z.ZodOptional<z.ZodBoolean>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ value: (string | {
125
+ instanceId: string;
126
+ pageId: string;
127
+ }) & (string | {
128
+ instanceId: string;
129
+ pageId: string;
130
+ } | undefined);
131
+ type: "page";
132
+ id: string;
133
+ name: string;
134
+ instanceId: string;
135
+ required?: boolean | undefined;
136
+ }, {
137
+ value: (string | {
138
+ instanceId: string;
139
+ pageId: string;
140
+ }) & (string | {
141
+ instanceId: string;
142
+ pageId: string;
143
+ } | undefined);
144
+ type: "page";
145
+ id: string;
146
+ name: string;
147
+ instanceId: string;
148
+ required?: boolean | undefined;
149
+ }>, z.ZodObject<{
150
+ type: z.ZodLiteral<"string[]">;
151
+ value: z.ZodArray<z.ZodString, "many">;
152
+ id: z.ZodString;
153
+ instanceId: z.ZodString;
154
+ name: z.ZodString;
155
+ required: z.ZodOptional<z.ZodBoolean>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ value: string[];
158
+ type: "string[]";
159
+ id: string;
160
+ name: string;
161
+ instanceId: string;
162
+ required?: boolean | undefined;
163
+ }, {
164
+ value: string[];
165
+ type: "string[]";
166
+ id: string;
167
+ name: string;
168
+ instanceId: string;
169
+ required?: boolean | undefined;
170
+ }>, z.ZodObject<{
171
+ type: z.ZodLiteral<"parameter">;
172
+ value: z.ZodString;
173
+ id: z.ZodString;
174
+ instanceId: z.ZodString;
175
+ name: z.ZodString;
176
+ required: z.ZodOptional<z.ZodBoolean>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ value: string;
179
+ type: "parameter";
180
+ id: string;
181
+ name: string;
182
+ instanceId: string;
183
+ required?: boolean | undefined;
184
+ }, {
185
+ value: string;
186
+ type: "parameter";
187
+ id: string;
188
+ name: string;
189
+ instanceId: string;
190
+ required?: boolean | undefined;
191
+ }>, z.ZodObject<{
192
+ type: z.ZodLiteral<"resource">;
193
+ value: z.ZodString;
194
+ id: z.ZodString;
195
+ instanceId: z.ZodString;
196
+ name: z.ZodString;
197
+ required: z.ZodOptional<z.ZodBoolean>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ value: string;
200
+ type: "resource";
201
+ id: string;
202
+ name: string;
203
+ instanceId: string;
204
+ required?: boolean | undefined;
205
+ }, {
206
+ value: string;
207
+ type: "resource";
208
+ id: string;
209
+ name: string;
210
+ instanceId: string;
211
+ required?: boolean | undefined;
212
+ }>, z.ZodObject<{
213
+ type: z.ZodLiteral<"expression">;
214
+ value: z.ZodString;
215
+ id: z.ZodString;
216
+ instanceId: z.ZodString;
217
+ name: z.ZodString;
218
+ required: z.ZodOptional<z.ZodBoolean>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ value: string;
221
+ type: "expression";
222
+ id: string;
223
+ name: string;
224
+ instanceId: string;
225
+ required?: boolean | undefined;
226
+ }, {
227
+ value: string;
228
+ type: "expression";
229
+ id: string;
230
+ name: string;
231
+ instanceId: string;
232
+ required?: boolean | undefined;
233
+ }>, z.ZodObject<{
234
+ type: z.ZodLiteral<"action">;
235
+ value: z.ZodArray<z.ZodObject<{
236
+ type: z.ZodLiteral<"execute">;
237
+ args: z.ZodArray<z.ZodString, "many">;
238
+ code: z.ZodString;
239
+ }, "strip", z.ZodTypeAny, {
240
+ code: string;
241
+ type: "execute";
242
+ args: string[];
243
+ }, {
244
+ code: string;
245
+ type: "execute";
246
+ args: string[];
247
+ }>, "many">;
248
+ id: z.ZodString;
249
+ instanceId: z.ZodString;
250
+ name: z.ZodString;
251
+ required: z.ZodOptional<z.ZodBoolean>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ value: {
254
+ code: string;
255
+ type: "execute";
256
+ args: string[];
257
+ }[];
258
+ type: "action";
259
+ id: string;
260
+ name: string;
261
+ instanceId: string;
262
+ required?: boolean | undefined;
263
+ }, {
264
+ value: {
265
+ code: string;
266
+ type: "execute";
267
+ args: string[];
268
+ }[];
269
+ type: "action";
270
+ id: string;
271
+ name: string;
272
+ instanceId: string;
273
+ required?: boolean | undefined;
274
+ }>]>;
275
+ export type Prop = z.infer<typeof Prop>;
276
+ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
277
+ type: z.ZodLiteral<"number">;
278
+ value: z.ZodNumber;
279
+ id: z.ZodString;
280
+ instanceId: z.ZodString;
281
+ name: z.ZodString;
282
+ required: z.ZodOptional<z.ZodBoolean>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ value: number;
285
+ type: "number";
286
+ id: string;
287
+ name: string;
288
+ instanceId: string;
289
+ required?: boolean | undefined;
290
+ }, {
291
+ value: number;
292
+ type: "number";
293
+ id: string;
294
+ name: string;
295
+ instanceId: string;
296
+ required?: boolean | undefined;
297
+ }>, z.ZodObject<{
298
+ type: z.ZodLiteral<"string">;
299
+ value: z.ZodString;
300
+ id: z.ZodString;
301
+ instanceId: z.ZodString;
302
+ name: z.ZodString;
303
+ required: z.ZodOptional<z.ZodBoolean>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ value: string;
306
+ type: "string";
307
+ id: string;
308
+ name: string;
309
+ instanceId: string;
310
+ required?: boolean | undefined;
311
+ }, {
312
+ value: string;
313
+ type: "string";
314
+ id: string;
315
+ name: string;
316
+ instanceId: string;
317
+ required?: boolean | undefined;
318
+ }>, z.ZodObject<{
319
+ type: z.ZodLiteral<"boolean">;
320
+ value: z.ZodBoolean;
321
+ id: z.ZodString;
322
+ instanceId: z.ZodString;
323
+ name: z.ZodString;
324
+ required: z.ZodOptional<z.ZodBoolean>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ value: boolean;
327
+ type: "boolean";
328
+ id: string;
329
+ name: string;
330
+ instanceId: string;
331
+ required?: boolean | undefined;
332
+ }, {
333
+ value: boolean;
334
+ type: "boolean";
335
+ id: string;
336
+ name: string;
337
+ instanceId: string;
338
+ required?: boolean | undefined;
339
+ }>, z.ZodObject<{
340
+ type: z.ZodLiteral<"json">;
341
+ value: z.ZodUnknown;
342
+ id: z.ZodString;
343
+ instanceId: z.ZodString;
344
+ name: z.ZodString;
345
+ required: z.ZodOptional<z.ZodBoolean>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ type: "json";
348
+ id: string;
349
+ name: string;
350
+ instanceId: string;
351
+ value?: unknown;
352
+ required?: boolean | undefined;
353
+ }, {
354
+ type: "json";
355
+ id: string;
356
+ name: string;
357
+ instanceId: string;
358
+ value?: unknown;
359
+ required?: boolean | undefined;
360
+ }>, z.ZodObject<{
361
+ type: z.ZodLiteral<"asset">;
362
+ value: z.ZodString;
363
+ id: z.ZodString;
364
+ instanceId: z.ZodString;
365
+ name: z.ZodString;
366
+ required: z.ZodOptional<z.ZodBoolean>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ value: string;
369
+ type: "asset";
370
+ id: string;
371
+ name: string;
372
+ instanceId: string;
373
+ required?: boolean | undefined;
374
+ }, {
375
+ value: string;
376
+ type: "asset";
377
+ id: string;
378
+ name: string;
379
+ instanceId: string;
380
+ required?: boolean | undefined;
381
+ }>, z.ZodObject<{
382
+ type: z.ZodLiteral<"page">;
383
+ value: z.ZodUnion<[z.ZodString, z.ZodObject<{
384
+ pageId: z.ZodString;
385
+ instanceId: z.ZodString;
386
+ }, "strip", z.ZodTypeAny, {
387
+ instanceId: string;
388
+ pageId: string;
389
+ }, {
390
+ instanceId: string;
391
+ pageId: string;
392
+ }>]>;
393
+ id: z.ZodString;
394
+ instanceId: z.ZodString;
395
+ name: z.ZodString;
396
+ required: z.ZodOptional<z.ZodBoolean>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ value: (string | {
399
+ instanceId: string;
400
+ pageId: string;
401
+ }) & (string | {
402
+ instanceId: string;
403
+ pageId: string;
404
+ } | undefined);
405
+ type: "page";
406
+ id: string;
407
+ name: string;
408
+ instanceId: string;
409
+ required?: boolean | undefined;
410
+ }, {
411
+ value: (string | {
412
+ instanceId: string;
413
+ pageId: string;
414
+ }) & (string | {
415
+ instanceId: string;
416
+ pageId: string;
417
+ } | undefined);
418
+ type: "page";
419
+ id: string;
420
+ name: string;
421
+ instanceId: string;
422
+ required?: boolean | undefined;
423
+ }>, z.ZodObject<{
424
+ type: z.ZodLiteral<"string[]">;
425
+ value: z.ZodArray<z.ZodString, "many">;
426
+ id: z.ZodString;
427
+ instanceId: z.ZodString;
428
+ name: z.ZodString;
429
+ required: z.ZodOptional<z.ZodBoolean>;
430
+ }, "strip", z.ZodTypeAny, {
431
+ value: string[];
432
+ type: "string[]";
433
+ id: string;
434
+ name: string;
435
+ instanceId: string;
436
+ required?: boolean | undefined;
437
+ }, {
438
+ value: string[];
439
+ type: "string[]";
440
+ id: string;
441
+ name: string;
442
+ instanceId: string;
443
+ required?: boolean | undefined;
444
+ }>, z.ZodObject<{
445
+ type: z.ZodLiteral<"parameter">;
446
+ value: z.ZodString;
447
+ id: z.ZodString;
448
+ instanceId: z.ZodString;
449
+ name: z.ZodString;
450
+ required: z.ZodOptional<z.ZodBoolean>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ value: string;
453
+ type: "parameter";
454
+ id: string;
455
+ name: string;
456
+ instanceId: string;
457
+ required?: boolean | undefined;
458
+ }, {
459
+ value: string;
460
+ type: "parameter";
461
+ id: string;
462
+ name: string;
463
+ instanceId: string;
464
+ required?: boolean | undefined;
465
+ }>, z.ZodObject<{
466
+ type: z.ZodLiteral<"resource">;
467
+ value: z.ZodString;
468
+ id: z.ZodString;
469
+ instanceId: z.ZodString;
470
+ name: z.ZodString;
471
+ required: z.ZodOptional<z.ZodBoolean>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ value: string;
474
+ type: "resource";
475
+ id: string;
476
+ name: string;
477
+ instanceId: string;
478
+ required?: boolean | undefined;
479
+ }, {
480
+ value: string;
481
+ type: "resource";
482
+ id: string;
483
+ name: string;
484
+ instanceId: string;
485
+ required?: boolean | undefined;
486
+ }>, z.ZodObject<{
487
+ type: z.ZodLiteral<"expression">;
488
+ value: z.ZodString;
489
+ id: z.ZodString;
490
+ instanceId: z.ZodString;
491
+ name: z.ZodString;
492
+ required: z.ZodOptional<z.ZodBoolean>;
493
+ }, "strip", z.ZodTypeAny, {
494
+ value: string;
495
+ type: "expression";
496
+ id: string;
497
+ name: string;
498
+ instanceId: string;
499
+ required?: boolean | undefined;
500
+ }, {
501
+ value: string;
502
+ type: "expression";
503
+ id: string;
504
+ name: string;
505
+ instanceId: string;
506
+ required?: boolean | undefined;
507
+ }>, z.ZodObject<{
508
+ type: z.ZodLiteral<"action">;
509
+ value: z.ZodArray<z.ZodObject<{
510
+ type: z.ZodLiteral<"execute">;
511
+ args: z.ZodArray<z.ZodString, "many">;
512
+ code: z.ZodString;
513
+ }, "strip", z.ZodTypeAny, {
514
+ code: string;
515
+ type: "execute";
516
+ args: string[];
517
+ }, {
518
+ code: string;
519
+ type: "execute";
520
+ args: string[];
521
+ }>, "many">;
522
+ id: z.ZodString;
523
+ instanceId: z.ZodString;
524
+ name: z.ZodString;
525
+ required: z.ZodOptional<z.ZodBoolean>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ value: {
528
+ code: string;
529
+ type: "execute";
530
+ args: string[];
531
+ }[];
532
+ type: "action";
533
+ id: string;
534
+ name: string;
535
+ instanceId: string;
536
+ required?: boolean | undefined;
537
+ }, {
538
+ value: {
539
+ code: string;
540
+ type: "execute";
541
+ args: string[];
542
+ }[];
543
+ type: "action";
544
+ id: string;
545
+ name: string;
546
+ instanceId: string;
547
+ required?: boolean | undefined;
548
+ }>]>>;
549
+ export type Props = z.infer<typeof Props>;
@@ -0,0 +1,121 @@
1
+ import { z } from "zod";
2
+ export declare const Resource: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ control: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"system">, z.ZodLiteral<"graphql">]>>;
6
+ method: z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">, z.ZodLiteral<"put">, z.ZodLiteral<"delete">]>;
7
+ url: z.ZodString;
8
+ headers: z.ZodArray<z.ZodObject<{
9
+ name: z.ZodString;
10
+ value: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ value: string;
13
+ name: string;
14
+ }, {
15
+ value: string;
16
+ name: string;
17
+ }>, "many">;
18
+ body: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ id: string;
21
+ name: string;
22
+ method: "get" | "post" | "put" | "delete";
23
+ url: string;
24
+ headers: {
25
+ value: string;
26
+ name: string;
27
+ }[];
28
+ control?: "system" | "graphql" | undefined;
29
+ body?: string | undefined;
30
+ }, {
31
+ id: string;
32
+ name: string;
33
+ method: "get" | "post" | "put" | "delete";
34
+ url: string;
35
+ headers: {
36
+ value: string;
37
+ name: string;
38
+ }[];
39
+ control?: "system" | "graphql" | undefined;
40
+ body?: string | undefined;
41
+ }>;
42
+ export type Resource = z.infer<typeof Resource>;
43
+ export declare const ResourceRequest: z.ZodObject<{
44
+ id: z.ZodString;
45
+ name: z.ZodString;
46
+ method: z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">, z.ZodLiteral<"put">, z.ZodLiteral<"delete">]>;
47
+ url: z.ZodString;
48
+ headers: z.ZodArray<z.ZodObject<{
49
+ name: z.ZodString;
50
+ value: z.ZodString;
51
+ }, "strip", z.ZodTypeAny, {
52
+ value: string;
53
+ name: string;
54
+ }, {
55
+ value: string;
56
+ name: string;
57
+ }>, "many">;
58
+ body: z.ZodOptional<z.ZodUnknown>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ id: string;
61
+ name: string;
62
+ method: "get" | "post" | "put" | "delete";
63
+ url: string;
64
+ headers: {
65
+ value: string;
66
+ name: string;
67
+ }[];
68
+ body?: unknown;
69
+ }, {
70
+ id: string;
71
+ name: string;
72
+ method: "get" | "post" | "put" | "delete";
73
+ url: string;
74
+ headers: {
75
+ value: string;
76
+ name: string;
77
+ }[];
78
+ body?: unknown;
79
+ }>;
80
+ export type ResourceRequest = z.infer<typeof ResourceRequest>;
81
+ export declare const Resources: z.ZodMap<z.ZodString, z.ZodObject<{
82
+ id: z.ZodString;
83
+ name: z.ZodString;
84
+ control: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"system">, z.ZodLiteral<"graphql">]>>;
85
+ method: z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">, z.ZodLiteral<"put">, z.ZodLiteral<"delete">]>;
86
+ url: z.ZodString;
87
+ headers: z.ZodArray<z.ZodObject<{
88
+ name: z.ZodString;
89
+ value: z.ZodString;
90
+ }, "strip", z.ZodTypeAny, {
91
+ value: string;
92
+ name: string;
93
+ }, {
94
+ value: string;
95
+ name: string;
96
+ }>, "many">;
97
+ body: z.ZodOptional<z.ZodString>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ id: string;
100
+ name: string;
101
+ method: "get" | "post" | "put" | "delete";
102
+ url: string;
103
+ headers: {
104
+ value: string;
105
+ name: string;
106
+ }[];
107
+ control?: "system" | "graphql" | undefined;
108
+ body?: string | undefined;
109
+ }, {
110
+ id: string;
111
+ name: string;
112
+ method: "get" | "post" | "put" | "delete";
113
+ url: string;
114
+ headers: {
115
+ value: string;
116
+ name: string;
117
+ }[];
118
+ control?: "system" | "graphql" | undefined;
119
+ body?: string | undefined;
120
+ }>>;
121
+ export type Resources = z.infer<typeof Resources>;
@@ -0,0 +1,23 @@
1
+ import { z } from "zod";
2
+ export declare const StyleSourceSelection: z.ZodObject<{
3
+ instanceId: z.ZodString;
4
+ values: z.ZodArray<z.ZodString, "many">;
5
+ }, "strip", z.ZodTypeAny, {
6
+ values: string[];
7
+ instanceId: string;
8
+ }, {
9
+ values: string[];
10
+ instanceId: string;
11
+ }>;
12
+ export type StyleSourceSelection = z.infer<typeof StyleSourceSelection>;
13
+ export declare const StyleSourceSelections: z.ZodMap<z.ZodString, z.ZodObject<{
14
+ instanceId: z.ZodString;
15
+ values: z.ZodArray<z.ZodString, "many">;
16
+ }, "strip", z.ZodTypeAny, {
17
+ values: string[];
18
+ instanceId: string;
19
+ }, {
20
+ values: string[];
21
+ instanceId: string;
22
+ }>>;
23
+ export type StyleSourceSelections = z.infer<typeof StyleSourceSelections>;