@webstudio-is/sdk 0.235.0 → 0.236.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.
@@ -59,6 +59,7 @@ export declare const FontAsset: z.ZodObject<{
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  type: "font";
61
61
  name: string;
62
+ format: "ttf" | "woff" | "woff2";
62
63
  meta: {
63
64
  family: string;
64
65
  style: "normal" | "italic" | "oblique";
@@ -73,15 +74,15 @@ export declare const FontAsset: z.ZodObject<{
73
74
  }>>;
74
75
  };
75
76
  id: string;
76
- format: "ttf" | "woff" | "woff2";
77
77
  projectId: string;
78
78
  size: number;
79
79
  createdAt: string;
80
- description?: string | null | undefined;
81
80
  filename?: string | undefined;
81
+ description?: string | null | undefined;
82
82
  }, {
83
83
  type: "font";
84
84
  name: string;
85
+ format: "ttf" | "woff" | "woff2";
85
86
  meta: {
86
87
  family: string;
87
88
  style: "normal" | "italic" | "oblique";
@@ -96,23 +97,22 @@ export declare const FontAsset: z.ZodObject<{
96
97
  }>>;
97
98
  };
98
99
  id: string;
99
- format: "ttf" | "woff" | "woff2";
100
100
  projectId: string;
101
101
  size: number;
102
102
  createdAt: string;
103
- description?: string | null | undefined;
104
103
  filename?: string | undefined;
104
+ description?: string | null | undefined;
105
105
  }>;
106
106
  export type FontAsset = z.infer<typeof FontAsset>;
107
107
  export declare const ImageMeta: z.ZodObject<{
108
108
  width: z.ZodNumber;
109
109
  height: z.ZodNumber;
110
110
  }, "strip", z.ZodTypeAny, {
111
- height: number;
112
111
  width: number;
113
- }, {
114
112
  height: number;
113
+ }, {
115
114
  width: number;
115
+ height: number;
116
116
  }>;
117
117
  export type ImageMeta = z.infer<typeof ImageMeta>;
118
118
  export declare const ImageAsset: z.ZodObject<{
@@ -121,11 +121,11 @@ export declare const ImageAsset: z.ZodObject<{
121
121
  width: z.ZodNumber;
122
122
  height: z.ZodNumber;
123
123
  }, "strip", z.ZodTypeAny, {
124
- height: number;
125
124
  width: number;
126
- }, {
127
125
  height: number;
126
+ }, {
128
127
  width: number;
128
+ height: number;
129
129
  }>;
130
130
  type: z.ZodLiteral<"image">;
131
131
  id: z.ZodString;
@@ -138,31 +138,31 @@ export declare const ImageAsset: z.ZodObject<{
138
138
  }, "strip", z.ZodTypeAny, {
139
139
  type: "image";
140
140
  name: string;
141
+ format: string;
141
142
  meta: {
142
- height: number;
143
143
  width: number;
144
+ height: number;
144
145
  };
145
146
  id: string;
146
- format: string;
147
147
  projectId: string;
148
148
  size: number;
149
149
  createdAt: string;
150
- description?: string | null | undefined;
151
150
  filename?: string | undefined;
151
+ description?: string | null | undefined;
152
152
  }, {
153
153
  type: "image";
154
154
  name: string;
155
+ format: string;
155
156
  meta: {
156
- height: number;
157
157
  width: number;
158
+ height: number;
158
159
  };
159
160
  id: string;
160
- format: string;
161
161
  projectId: string;
162
162
  size: number;
163
163
  createdAt: string;
164
- description?: string | null | undefined;
165
164
  filename?: string | undefined;
165
+ description?: string | null | undefined;
166
166
  }>;
167
167
  export type ImageAsset = z.infer<typeof ImageAsset>;
168
168
  export declare const Asset: z.ZodUnion<[z.ZodObject<{
@@ -225,6 +225,7 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
225
225
  }, "strip", z.ZodTypeAny, {
226
226
  type: "font";
227
227
  name: string;
228
+ format: "ttf" | "woff" | "woff2";
228
229
  meta: {
229
230
  family: string;
230
231
  style: "normal" | "italic" | "oblique";
@@ -239,15 +240,15 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
239
240
  }>>;
240
241
  };
241
242
  id: string;
242
- format: "ttf" | "woff" | "woff2";
243
243
  projectId: string;
244
244
  size: number;
245
245
  createdAt: string;
246
- description?: string | null | undefined;
247
246
  filename?: string | undefined;
247
+ description?: string | null | undefined;
248
248
  }, {
249
249
  type: "font";
250
250
  name: string;
251
+ format: "ttf" | "woff" | "woff2";
251
252
  meta: {
252
253
  family: string;
253
254
  style: "normal" | "italic" | "oblique";
@@ -262,23 +263,22 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
262
263
  }>>;
263
264
  };
264
265
  id: string;
265
- format: "ttf" | "woff" | "woff2";
266
266
  projectId: string;
267
267
  size: number;
268
268
  createdAt: string;
269
- description?: string | null | undefined;
270
269
  filename?: string | undefined;
270
+ description?: string | null | undefined;
271
271
  }>, z.ZodObject<{
272
272
  format: z.ZodString;
273
273
  meta: z.ZodObject<{
274
274
  width: z.ZodNumber;
275
275
  height: z.ZodNumber;
276
276
  }, "strip", z.ZodTypeAny, {
277
- height: number;
278
277
  width: number;
279
- }, {
280
278
  height: number;
279
+ }, {
281
280
  width: number;
281
+ height: number;
282
282
  }>;
283
283
  type: z.ZodLiteral<"image">;
284
284
  id: z.ZodString;
@@ -291,31 +291,31 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
291
291
  }, "strip", z.ZodTypeAny, {
292
292
  type: "image";
293
293
  name: string;
294
+ format: string;
294
295
  meta: {
295
- height: number;
296
296
  width: number;
297
+ height: number;
297
298
  };
298
299
  id: string;
299
- format: string;
300
300
  projectId: string;
301
301
  size: number;
302
302
  createdAt: string;
303
- description?: string | null | undefined;
304
303
  filename?: string | undefined;
304
+ description?: string | null | undefined;
305
305
  }, {
306
306
  type: "image";
307
307
  name: string;
308
+ format: string;
308
309
  meta: {
309
- height: number;
310
310
  width: number;
311
+ height: number;
311
312
  };
312
313
  id: string;
313
- format: string;
314
314
  projectId: string;
315
315
  size: number;
316
316
  createdAt: string;
317
- description?: string | null | undefined;
318
317
  filename?: string | undefined;
318
+ description?: string | null | undefined;
319
319
  }>]>;
320
320
  export type Asset = z.infer<typeof Asset>;
321
321
  export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -378,6 +378,7 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
378
378
  }, "strip", z.ZodTypeAny, {
379
379
  type: "font";
380
380
  name: string;
381
+ format: "ttf" | "woff" | "woff2";
381
382
  meta: {
382
383
  family: string;
383
384
  style: "normal" | "italic" | "oblique";
@@ -392,15 +393,15 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
392
393
  }>>;
393
394
  };
394
395
  id: string;
395
- format: "ttf" | "woff" | "woff2";
396
396
  projectId: string;
397
397
  size: number;
398
398
  createdAt: string;
399
- description?: string | null | undefined;
400
399
  filename?: string | undefined;
400
+ description?: string | null | undefined;
401
401
  }, {
402
402
  type: "font";
403
403
  name: string;
404
+ format: "ttf" | "woff" | "woff2";
404
405
  meta: {
405
406
  family: string;
406
407
  style: "normal" | "italic" | "oblique";
@@ -415,23 +416,22 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
415
416
  }>>;
416
417
  };
417
418
  id: string;
418
- format: "ttf" | "woff" | "woff2";
419
419
  projectId: string;
420
420
  size: number;
421
421
  createdAt: string;
422
- description?: string | null | undefined;
423
422
  filename?: string | undefined;
423
+ description?: string | null | undefined;
424
424
  }>, z.ZodObject<{
425
425
  format: z.ZodString;
426
426
  meta: z.ZodObject<{
427
427
  width: z.ZodNumber;
428
428
  height: z.ZodNumber;
429
429
  }, "strip", z.ZodTypeAny, {
430
- height: number;
431
430
  width: number;
432
- }, {
433
431
  height: number;
432
+ }, {
434
433
  width: number;
434
+ height: number;
435
435
  }>;
436
436
  type: z.ZodLiteral<"image">;
437
437
  id: z.ZodString;
@@ -444,30 +444,30 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
444
444
  }, "strip", z.ZodTypeAny, {
445
445
  type: "image";
446
446
  name: string;
447
+ format: string;
447
448
  meta: {
448
- height: number;
449
449
  width: number;
450
+ height: number;
450
451
  };
451
452
  id: string;
452
- format: string;
453
453
  projectId: string;
454
454
  size: number;
455
455
  createdAt: string;
456
- description?: string | null | undefined;
457
456
  filename?: string | undefined;
457
+ description?: string | null | undefined;
458
458
  }, {
459
459
  type: "image";
460
460
  name: string;
461
+ format: string;
461
462
  meta: {
462
- height: number;
463
463
  width: number;
464
+ height: number;
464
465
  };
465
466
  id: string;
466
- format: string;
467
467
  projectId: string;
468
468
  size: number;
469
469
  createdAt: string;
470
- description?: string | null | undefined;
471
470
  filename?: string | undefined;
471
+ description?: string | null | undefined;
472
472
  }>]>>;
473
473
  export type Assets = z.infer<typeof Assets>;
@@ -5,23 +5,23 @@ export declare const Breakpoint: z.ZodEffects<z.ZodObject<{
5
5
  minWidth: z.ZodOptional<z.ZodNumber>;
6
6
  maxWidth: z.ZodOptional<z.ZodNumber>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- label: string;
9
8
  id: string;
9
+ label: string;
10
10
  maxWidth?: number | undefined;
11
11
  minWidth?: number | undefined;
12
12
  }, {
13
- label: string;
14
13
  id: string;
14
+ label: string;
15
15
  maxWidth?: number | undefined;
16
16
  minWidth?: number | undefined;
17
17
  }>, {
18
- label: string;
19
18
  id: string;
19
+ label: string;
20
20
  maxWidth?: number | undefined;
21
21
  minWidth?: number | undefined;
22
22
  }, {
23
- label: string;
24
23
  id: string;
24
+ label: string;
25
25
  maxWidth?: number | undefined;
26
26
  minWidth?: number | undefined;
27
27
  }>;
@@ -32,23 +32,23 @@ export declare const Breakpoints: z.ZodMap<z.ZodString, z.ZodEffects<z.ZodObject
32
32
  minWidth: z.ZodOptional<z.ZodNumber>;
33
33
  maxWidth: z.ZodOptional<z.ZodNumber>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- label: string;
36
35
  id: string;
36
+ label: string;
37
37
  maxWidth?: number | undefined;
38
38
  minWidth?: number | undefined;
39
39
  }, {
40
- label: string;
41
40
  id: string;
41
+ label: string;
42
42
  maxWidth?: number | undefined;
43
43
  minWidth?: number | undefined;
44
44
  }>, {
45
- label: string;
46
45
  id: string;
46
+ label: string;
47
47
  maxWidth?: number | undefined;
48
48
  minWidth?: number | undefined;
49
49
  }, {
50
- label: string;
51
50
  id: string;
51
+ label: string;
52
52
  maxWidth?: number | undefined;
53
53
  minWidth?: number | undefined;
54
54
  }>>;