@webstudio-is/sdk 0.274.4 → 0.275.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.
@@ -1,576 +1,223 @@
1
1
  import { z } from "zod";
2
- export declare const assetType: z.ZodEnum<["font", "image", "file"]>;
2
+ export declare const assetType: z.ZodEnum<{
3
+ file: "file";
4
+ font: "font";
5
+ image: "image";
6
+ }>;
3
7
  export type AssetType = z.infer<typeof assetType>;
4
8
  export declare const fontAsset: z.ZodObject<{
5
- format: z.ZodUnion<[z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
6
- meta: z.ZodUnion<[z.ZodObject<{
9
+ format: z.ZodUnion<readonly [z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
10
+ meta: z.ZodUnion<readonly [z.ZodObject<{
7
11
  family: z.ZodString;
8
- style: z.ZodEnum<["normal", "italic", "oblique"]>;
12
+ style: z.ZodEnum<{
13
+ normal: "normal";
14
+ italic: "italic";
15
+ oblique: "oblique";
16
+ }>;
9
17
  weight: z.ZodNumber;
10
- }, "strip", z.ZodTypeAny, {
11
- family: string;
12
- style: "normal" | "italic" | "oblique";
13
- weight: number;
14
- }, {
15
- family: string;
16
- style: "normal" | "italic" | "oblique";
17
- weight: number;
18
- }>, z.ZodObject<{
18
+ }, z.core.$strip>, z.ZodObject<{
19
19
  family: z.ZodString;
20
- variationAxes: z.ZodRecord<z.ZodEnum<["wght", "wdth", "slnt", "opsz", "ital", "GRAD", "XTRA", "XOPQ", "YOPQ", "YTLC", "YTUC", "YTAS", "YTDE", "YTFI"]>, z.ZodObject<{
20
+ variationAxes: z.ZodRecord<z.ZodEnum<{
21
+ wght: "wght";
22
+ wdth: "wdth";
23
+ slnt: "slnt";
24
+ opsz: "opsz";
25
+ ital: "ital";
26
+ GRAD: "GRAD";
27
+ XTRA: "XTRA";
28
+ XOPQ: "XOPQ";
29
+ YOPQ: "YOPQ";
30
+ YTLC: "YTLC";
31
+ YTUC: "YTUC";
32
+ YTAS: "YTAS";
33
+ YTDE: "YTDE";
34
+ YTFI: "YTFI";
35
+ }> & z.core.$partial, z.ZodObject<{
21
36
  name: z.ZodString;
22
37
  min: z.ZodNumber;
23
38
  default: z.ZodNumber;
24
39
  max: z.ZodNumber;
25
- }, "strip", z.ZodTypeAny, {
26
- name: string;
27
- min: number;
28
- default: number;
29
- max: number;
30
- }, {
31
- name: string;
32
- min: number;
33
- default: number;
34
- max: number;
35
- }>>;
36
- }, "strip", z.ZodTypeAny, {
37
- family: string;
38
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
39
- name: string;
40
- min: number;
41
- default: number;
42
- max: number;
43
- }>>;
44
- }, {
45
- family: string;
46
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
47
- name: string;
48
- min: number;
49
- default: number;
50
- max: number;
51
- }>>;
52
- }>]>;
40
+ }, z.core.$strip>>;
41
+ }, z.core.$strip>]>;
53
42
  type: z.ZodLiteral<"font">;
54
43
  id: z.ZodString;
55
44
  projectId: z.ZodString;
56
45
  size: z.ZodNumber;
57
46
  name: z.ZodString;
58
47
  filename: z.ZodOptional<z.ZodString>;
59
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
48
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
60
49
  createdAt: z.ZodString;
61
- }, "strip", z.ZodTypeAny, {
62
- type: "font";
63
- name: string;
64
- format: "ttf" | "woff" | "woff2";
65
- meta: {
66
- family: string;
67
- style: "normal" | "italic" | "oblique";
68
- weight: number;
69
- } | {
70
- family: string;
71
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
72
- name: string;
73
- min: number;
74
- default: number;
75
- max: number;
76
- }>>;
77
- };
78
- id: string;
79
- projectId: string;
80
- size: number;
81
- createdAt: string;
82
- filename?: string | undefined;
83
- description?: string | null | undefined;
84
- }, {
85
- type: "font";
86
- name: string;
87
- format: "ttf" | "woff" | "woff2";
88
- meta: {
89
- family: string;
90
- style: "normal" | "italic" | "oblique";
91
- weight: number;
92
- } | {
93
- family: string;
94
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
95
- name: string;
96
- min: number;
97
- default: number;
98
- max: number;
99
- }>>;
100
- };
101
- id: string;
102
- projectId: string;
103
- size: number;
104
- createdAt: string;
105
- filename?: string | undefined;
106
- description?: string | null | undefined;
107
- }>;
50
+ }, z.core.$strip>;
108
51
  export type FontAsset = z.infer<typeof fontAsset>;
109
52
  export declare const imageMeta: z.ZodObject<{
110
53
  width: z.ZodNumber;
111
54
  height: z.ZodNumber;
112
- }, "strip", z.ZodTypeAny, {
113
- width: number;
114
- height: number;
115
- }, {
116
- width: number;
117
- height: number;
118
- }>;
55
+ }, z.core.$strip>;
119
56
  export type ImageMeta = z.infer<typeof imageMeta>;
120
57
  export declare const imageAsset: z.ZodObject<{
121
58
  format: z.ZodString;
122
59
  meta: z.ZodObject<{
123
60
  width: z.ZodNumber;
124
61
  height: z.ZodNumber;
125
- }, "strip", z.ZodTypeAny, {
126
- width: number;
127
- height: number;
128
- }, {
129
- width: number;
130
- height: number;
131
- }>;
62
+ }, z.core.$strip>;
132
63
  type: z.ZodLiteral<"image">;
133
64
  id: z.ZodString;
134
65
  projectId: z.ZodString;
135
66
  size: z.ZodNumber;
136
67
  name: z.ZodString;
137
68
  filename: z.ZodOptional<z.ZodString>;
138
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
69
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
139
70
  createdAt: z.ZodString;
140
- }, "strip", z.ZodTypeAny, {
141
- type: "image";
142
- name: string;
143
- format: string;
144
- meta: {
145
- width: number;
146
- height: number;
147
- };
148
- id: string;
149
- projectId: string;
150
- size: number;
151
- createdAt: string;
152
- filename?: string | undefined;
153
- description?: string | null | undefined;
154
- }, {
155
- type: "image";
156
- name: string;
157
- format: string;
158
- meta: {
159
- width: number;
160
- height: number;
161
- };
162
- id: string;
163
- projectId: string;
164
- size: number;
165
- createdAt: string;
166
- filename?: string | undefined;
167
- description?: string | null | undefined;
168
- }>;
71
+ }, z.core.$strip>;
169
72
  export type ImageAsset = z.infer<typeof imageAsset>;
170
73
  export declare const fileAsset: z.ZodObject<{
171
74
  format: z.ZodString;
172
- meta: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
75
+ meta: z.ZodObject<{}, z.core.$strip>;
173
76
  type: z.ZodLiteral<"file">;
174
77
  id: z.ZodString;
175
78
  projectId: z.ZodString;
176
79
  size: z.ZodNumber;
177
80
  name: z.ZodString;
178
81
  filename: z.ZodOptional<z.ZodString>;
179
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
82
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
180
83
  createdAt: z.ZodString;
181
- }, "strip", z.ZodTypeAny, {
182
- type: "file";
183
- name: string;
184
- format: string;
185
- meta: {};
186
- id: string;
187
- projectId: string;
188
- size: number;
189
- createdAt: string;
190
- filename?: string | undefined;
191
- description?: string | null | undefined;
192
- }, {
193
- type: "file";
194
- name: string;
195
- format: string;
196
- meta: {};
197
- id: string;
198
- projectId: string;
199
- size: number;
200
- createdAt: string;
201
- filename?: string | undefined;
202
- description?: string | null | undefined;
203
- }>;
84
+ }, z.core.$strip>;
204
85
  export type FileAsset = z.infer<typeof fileAsset>;
205
- export declare const asset: z.ZodUnion<[z.ZodObject<{
206
- format: z.ZodUnion<[z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
207
- meta: z.ZodUnion<[z.ZodObject<{
86
+ export declare const asset: z.ZodUnion<readonly [z.ZodObject<{
87
+ format: z.ZodUnion<readonly [z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
88
+ meta: z.ZodUnion<readonly [z.ZodObject<{
208
89
  family: z.ZodString;
209
- style: z.ZodEnum<["normal", "italic", "oblique"]>;
90
+ style: z.ZodEnum<{
91
+ normal: "normal";
92
+ italic: "italic";
93
+ oblique: "oblique";
94
+ }>;
210
95
  weight: z.ZodNumber;
211
- }, "strip", z.ZodTypeAny, {
212
- family: string;
213
- style: "normal" | "italic" | "oblique";
214
- weight: number;
215
- }, {
216
- family: string;
217
- style: "normal" | "italic" | "oblique";
218
- weight: number;
219
- }>, z.ZodObject<{
96
+ }, z.core.$strip>, z.ZodObject<{
220
97
  family: z.ZodString;
221
- variationAxes: z.ZodRecord<z.ZodEnum<["wght", "wdth", "slnt", "opsz", "ital", "GRAD", "XTRA", "XOPQ", "YOPQ", "YTLC", "YTUC", "YTAS", "YTDE", "YTFI"]>, z.ZodObject<{
98
+ variationAxes: z.ZodRecord<z.ZodEnum<{
99
+ wght: "wght";
100
+ wdth: "wdth";
101
+ slnt: "slnt";
102
+ opsz: "opsz";
103
+ ital: "ital";
104
+ GRAD: "GRAD";
105
+ XTRA: "XTRA";
106
+ XOPQ: "XOPQ";
107
+ YOPQ: "YOPQ";
108
+ YTLC: "YTLC";
109
+ YTUC: "YTUC";
110
+ YTAS: "YTAS";
111
+ YTDE: "YTDE";
112
+ YTFI: "YTFI";
113
+ }> & z.core.$partial, z.ZodObject<{
222
114
  name: z.ZodString;
223
115
  min: z.ZodNumber;
224
116
  default: z.ZodNumber;
225
117
  max: z.ZodNumber;
226
- }, "strip", z.ZodTypeAny, {
227
- name: string;
228
- min: number;
229
- default: number;
230
- max: number;
231
- }, {
232
- name: string;
233
- min: number;
234
- default: number;
235
- max: number;
236
- }>>;
237
- }, "strip", z.ZodTypeAny, {
238
- family: string;
239
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
240
- name: string;
241
- min: number;
242
- default: number;
243
- max: number;
244
- }>>;
245
- }, {
246
- family: string;
247
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
248
- name: string;
249
- min: number;
250
- default: number;
251
- max: number;
252
- }>>;
253
- }>]>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>]>;
254
120
  type: z.ZodLiteral<"font">;
255
121
  id: z.ZodString;
256
122
  projectId: z.ZodString;
257
123
  size: z.ZodNumber;
258
124
  name: z.ZodString;
259
125
  filename: z.ZodOptional<z.ZodString>;
260
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
126
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
261
127
  createdAt: z.ZodString;
262
- }, "strip", z.ZodTypeAny, {
263
- type: "font";
264
- name: string;
265
- format: "ttf" | "woff" | "woff2";
266
- meta: {
267
- family: string;
268
- style: "normal" | "italic" | "oblique";
269
- weight: number;
270
- } | {
271
- family: string;
272
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
273
- name: string;
274
- min: number;
275
- default: number;
276
- max: number;
277
- }>>;
278
- };
279
- id: string;
280
- projectId: string;
281
- size: number;
282
- createdAt: string;
283
- filename?: string | undefined;
284
- description?: string | null | undefined;
285
- }, {
286
- type: "font";
287
- name: string;
288
- format: "ttf" | "woff" | "woff2";
289
- meta: {
290
- family: string;
291
- style: "normal" | "italic" | "oblique";
292
- weight: number;
293
- } | {
294
- family: string;
295
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
296
- name: string;
297
- min: number;
298
- default: number;
299
- max: number;
300
- }>>;
301
- };
302
- id: string;
303
- projectId: string;
304
- size: number;
305
- createdAt: string;
306
- filename?: string | undefined;
307
- description?: string | null | undefined;
308
- }>, z.ZodObject<{
128
+ }, z.core.$strip>, z.ZodObject<{
309
129
  format: z.ZodString;
310
130
  meta: z.ZodObject<{
311
131
  width: z.ZodNumber;
312
132
  height: z.ZodNumber;
313
- }, "strip", z.ZodTypeAny, {
314
- width: number;
315
- height: number;
316
- }, {
317
- width: number;
318
- height: number;
319
- }>;
133
+ }, z.core.$strip>;
320
134
  type: z.ZodLiteral<"image">;
321
135
  id: z.ZodString;
322
136
  projectId: z.ZodString;
323
137
  size: z.ZodNumber;
324
138
  name: z.ZodString;
325
139
  filename: z.ZodOptional<z.ZodString>;
326
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
140
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
327
141
  createdAt: z.ZodString;
328
- }, "strip", z.ZodTypeAny, {
329
- type: "image";
330
- name: string;
331
- format: string;
332
- meta: {
333
- width: number;
334
- height: number;
335
- };
336
- id: string;
337
- projectId: string;
338
- size: number;
339
- createdAt: string;
340
- filename?: string | undefined;
341
- description?: string | null | undefined;
342
- }, {
343
- type: "image";
344
- name: string;
345
- format: string;
346
- meta: {
347
- width: number;
348
- height: number;
349
- };
350
- id: string;
351
- projectId: string;
352
- size: number;
353
- createdAt: string;
354
- filename?: string | undefined;
355
- description?: string | null | undefined;
356
- }>, z.ZodObject<{
142
+ }, z.core.$strip>, z.ZodObject<{
357
143
  format: z.ZodString;
358
- meta: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
144
+ meta: z.ZodObject<{}, z.core.$strip>;
359
145
  type: z.ZodLiteral<"file">;
360
146
  id: z.ZodString;
361
147
  projectId: z.ZodString;
362
148
  size: z.ZodNumber;
363
149
  name: z.ZodString;
364
150
  filename: z.ZodOptional<z.ZodString>;
365
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
151
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
366
152
  createdAt: z.ZodString;
367
- }, "strip", z.ZodTypeAny, {
368
- type: "file";
369
- name: string;
370
- format: string;
371
- meta: {};
372
- id: string;
373
- projectId: string;
374
- size: number;
375
- createdAt: string;
376
- filename?: string | undefined;
377
- description?: string | null | undefined;
378
- }, {
379
- type: "file";
380
- name: string;
381
- format: string;
382
- meta: {};
383
- id: string;
384
- projectId: string;
385
- size: number;
386
- createdAt: string;
387
- filename?: string | undefined;
388
- description?: string | null | undefined;
389
- }>]>;
153
+ }, z.core.$strip>]>;
390
154
  export type Asset = z.infer<typeof asset>;
391
- export declare const assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
392
- format: z.ZodUnion<[z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
393
- meta: z.ZodUnion<[z.ZodObject<{
155
+ export declare const assets: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
156
+ format: z.ZodUnion<readonly [z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
157
+ meta: z.ZodUnion<readonly [z.ZodObject<{
394
158
  family: z.ZodString;
395
- style: z.ZodEnum<["normal", "italic", "oblique"]>;
159
+ style: z.ZodEnum<{
160
+ normal: "normal";
161
+ italic: "italic";
162
+ oblique: "oblique";
163
+ }>;
396
164
  weight: z.ZodNumber;
397
- }, "strip", z.ZodTypeAny, {
398
- family: string;
399
- style: "normal" | "italic" | "oblique";
400
- weight: number;
401
- }, {
402
- family: string;
403
- style: "normal" | "italic" | "oblique";
404
- weight: number;
405
- }>, z.ZodObject<{
165
+ }, z.core.$strip>, z.ZodObject<{
406
166
  family: z.ZodString;
407
- variationAxes: z.ZodRecord<z.ZodEnum<["wght", "wdth", "slnt", "opsz", "ital", "GRAD", "XTRA", "XOPQ", "YOPQ", "YTLC", "YTUC", "YTAS", "YTDE", "YTFI"]>, z.ZodObject<{
167
+ variationAxes: z.ZodRecord<z.ZodEnum<{
168
+ wght: "wght";
169
+ wdth: "wdth";
170
+ slnt: "slnt";
171
+ opsz: "opsz";
172
+ ital: "ital";
173
+ GRAD: "GRAD";
174
+ XTRA: "XTRA";
175
+ XOPQ: "XOPQ";
176
+ YOPQ: "YOPQ";
177
+ YTLC: "YTLC";
178
+ YTUC: "YTUC";
179
+ YTAS: "YTAS";
180
+ YTDE: "YTDE";
181
+ YTFI: "YTFI";
182
+ }> & z.core.$partial, z.ZodObject<{
408
183
  name: z.ZodString;
409
184
  min: z.ZodNumber;
410
185
  default: z.ZodNumber;
411
186
  max: z.ZodNumber;
412
- }, "strip", z.ZodTypeAny, {
413
- name: string;
414
- min: number;
415
- default: number;
416
- max: number;
417
- }, {
418
- name: string;
419
- min: number;
420
- default: number;
421
- max: number;
422
- }>>;
423
- }, "strip", z.ZodTypeAny, {
424
- family: string;
425
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
426
- name: string;
427
- min: number;
428
- default: number;
429
- max: number;
430
- }>>;
431
- }, {
432
- family: string;
433
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
434
- name: string;
435
- min: number;
436
- default: number;
437
- max: number;
438
- }>>;
439
- }>]>;
187
+ }, z.core.$strip>>;
188
+ }, z.core.$strip>]>;
440
189
  type: z.ZodLiteral<"font">;
441
190
  id: z.ZodString;
442
191
  projectId: z.ZodString;
443
192
  size: z.ZodNumber;
444
193
  name: z.ZodString;
445
194
  filename: z.ZodOptional<z.ZodString>;
446
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
195
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
447
196
  createdAt: z.ZodString;
448
- }, "strip", z.ZodTypeAny, {
449
- type: "font";
450
- name: string;
451
- format: "ttf" | "woff" | "woff2";
452
- meta: {
453
- family: string;
454
- style: "normal" | "italic" | "oblique";
455
- weight: number;
456
- } | {
457
- family: string;
458
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
459
- name: string;
460
- min: number;
461
- default: number;
462
- max: number;
463
- }>>;
464
- };
465
- id: string;
466
- projectId: string;
467
- size: number;
468
- createdAt: string;
469
- filename?: string | undefined;
470
- description?: string | null | undefined;
471
- }, {
472
- type: "font";
473
- name: string;
474
- format: "ttf" | "woff" | "woff2";
475
- meta: {
476
- family: string;
477
- style: "normal" | "italic" | "oblique";
478
- weight: number;
479
- } | {
480
- family: string;
481
- variationAxes: Partial<Record<"wght" | "wdth" | "slnt" | "opsz" | "ital" | "GRAD" | "XTRA" | "XOPQ" | "YOPQ" | "YTLC" | "YTUC" | "YTAS" | "YTDE" | "YTFI", {
482
- name: string;
483
- min: number;
484
- default: number;
485
- max: number;
486
- }>>;
487
- };
488
- id: string;
489
- projectId: string;
490
- size: number;
491
- createdAt: string;
492
- filename?: string | undefined;
493
- description?: string | null | undefined;
494
- }>, z.ZodObject<{
197
+ }, z.core.$strip>, z.ZodObject<{
495
198
  format: z.ZodString;
496
199
  meta: z.ZodObject<{
497
200
  width: z.ZodNumber;
498
201
  height: z.ZodNumber;
499
- }, "strip", z.ZodTypeAny, {
500
- width: number;
501
- height: number;
502
- }, {
503
- width: number;
504
- height: number;
505
- }>;
202
+ }, z.core.$strip>;
506
203
  type: z.ZodLiteral<"image">;
507
204
  id: z.ZodString;
508
205
  projectId: z.ZodString;
509
206
  size: z.ZodNumber;
510
207
  name: z.ZodString;
511
208
  filename: z.ZodOptional<z.ZodString>;
512
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
209
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
513
210
  createdAt: z.ZodString;
514
- }, "strip", z.ZodTypeAny, {
515
- type: "image";
516
- name: string;
517
- format: string;
518
- meta: {
519
- width: number;
520
- height: number;
521
- };
522
- id: string;
523
- projectId: string;
524
- size: number;
525
- createdAt: string;
526
- filename?: string | undefined;
527
- description?: string | null | undefined;
528
- }, {
529
- type: "image";
530
- name: string;
531
- format: string;
532
- meta: {
533
- width: number;
534
- height: number;
535
- };
536
- id: string;
537
- projectId: string;
538
- size: number;
539
- createdAt: string;
540
- filename?: string | undefined;
541
- description?: string | null | undefined;
542
- }>, z.ZodObject<{
211
+ }, z.core.$strip>, z.ZodObject<{
543
212
  format: z.ZodString;
544
- meta: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
213
+ meta: z.ZodObject<{}, z.core.$strip>;
545
214
  type: z.ZodLiteral<"file">;
546
215
  id: z.ZodString;
547
216
  projectId: z.ZodString;
548
217
  size: z.ZodNumber;
549
218
  name: z.ZodString;
550
219
  filename: z.ZodOptional<z.ZodString>;
551
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
220
+ description: z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodNull]>;
552
221
  createdAt: z.ZodString;
553
- }, "strip", z.ZodTypeAny, {
554
- type: "file";
555
- name: string;
556
- format: string;
557
- meta: {};
558
- id: string;
559
- projectId: string;
560
- size: number;
561
- createdAt: string;
562
- filename?: string | undefined;
563
- description?: string | null | undefined;
564
- }, {
565
- type: "file";
566
- name: string;
567
- format: string;
568
- meta: {};
569
- id: string;
570
- projectId: string;
571
- size: number;
572
- createdAt: string;
573
- filename?: string | undefined;
574
- description?: string | null | undefined;
575
- }>]>>;
222
+ }, z.core.$strip>]>>;
576
223
  export type Assets = z.infer<typeof assets>;