@webstudio-is/sdk 0.226.0 → 0.228.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.
- package/lib/core-templates.js +21 -13
- package/lib/index.js +2 -1
- package/lib/types/schema/assets.d.ts +36 -18
- package/lib/types/schema/webstudio.d.ts +20 -10
- package/package.json +5 -5
package/lib/core-templates.js
CHANGED
|
@@ -940,16 +940,16 @@ var blockMeta2 = {
|
|
|
940
940
|
category: "general",
|
|
941
941
|
template: /* @__PURE__ */ jsxs(ws.block, { children: [
|
|
942
942
|
/* @__PURE__ */ jsxs(BlockTemplate, { "ws:label": "Templates", children: [
|
|
943
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "p" }),
|
|
943
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Paragraph", "ws:tag": "p" }),
|
|
944
944
|
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Heading 1", "ws:tag": "h1" }),
|
|
945
945
|
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Heading 2", "ws:tag": "h2" }),
|
|
946
946
|
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Heading 3", "ws:tag": "h3" }),
|
|
947
947
|
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Heading 4", "ws:tag": "h4" }),
|
|
948
948
|
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Heading 5", "ws:tag": "h5" }),
|
|
949
949
|
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Heading 6", "ws:tag": "h6" }),
|
|
950
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "ul", children: /* @__PURE__ */ jsx(ws.element, { "ws:tag": "li" }) }),
|
|
951
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "ol", children: /* @__PURE__ */ jsx(ws.element, { "ws:tag": "li" }) }),
|
|
952
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "a" }),
|
|
950
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Unordered List", "ws:tag": "ul", children: /* @__PURE__ */ jsx(ws.element, { "ws:label": "List Item", "ws:tag": "li" }) }),
|
|
951
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Ordered List", "ws:tag": "ol", children: /* @__PURE__ */ jsx(ws.element, { "ws:label": "List Item", "ws:tag": "li" }) }),
|
|
952
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Link", "ws:tag": "a" }),
|
|
953
953
|
/* @__PURE__ */ jsx(
|
|
954
954
|
$.Image,
|
|
955
955
|
{
|
|
@@ -961,21 +961,29 @@ var blockMeta2 = {
|
|
|
961
961
|
`
|
|
962
962
|
}
|
|
963
963
|
),
|
|
964
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "hr" }),
|
|
965
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "blockquote" }),
|
|
964
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Separator", "ws:tag": "hr" }),
|
|
965
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Blockquote", "ws:tag": "blockquote" }),
|
|
966
966
|
/* @__PURE__ */ jsx($.HtmlEmbed, {}),
|
|
967
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "code" })
|
|
967
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "Code Text", "ws:tag": "code" })
|
|
968
968
|
] }),
|
|
969
|
-
/* @__PURE__ */ jsxs(ws.element, { "ws:tag": "p", children: [
|
|
969
|
+
/* @__PURE__ */ jsxs(ws.element, { "ws:label": "Paragraph", "ws:tag": "p", children: [
|
|
970
970
|
"The Content Block component designates regions on the page where pre-styled instances can be inserted in",
|
|
971
971
|
" ",
|
|
972
|
-
/* @__PURE__ */ jsx(
|
|
972
|
+
/* @__PURE__ */ jsx(
|
|
973
|
+
ws.element,
|
|
974
|
+
{
|
|
975
|
+
"ws:label": "Link",
|
|
976
|
+
"ws:tag": "a",
|
|
977
|
+
href: "https://wstd.us/content-block",
|
|
978
|
+
children: "Content mode"
|
|
979
|
+
}
|
|
980
|
+
),
|
|
973
981
|
"."
|
|
974
982
|
] }),
|
|
975
|
-
/* @__PURE__ */ jsxs(ws.element, { "ws:tag": "ul", children: [
|
|
976
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "li", children: "In Content mode, you can edit any direct child instances that were pre-added to the Content Block, as well as add new instances predefined in Templates." }),
|
|
977
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "li", children: "To predefine instances for insertion in Content mode, switch to Design mode and add them to the Templates container." }),
|
|
978
|
-
/* @__PURE__ */ jsx(ws.element, { "ws:tag": "li", children: "To insert predefined instances in Content mode, click the + button while hovering over the Content Block on the canvas and choose an instance from the list." })
|
|
983
|
+
/* @__PURE__ */ jsxs(ws.element, { "ws:label": "Unordered List", "ws:tag": "ul", children: [
|
|
984
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "List Item", "ws:tag": "li", children: "In Content mode, you can edit any direct child instances that were pre-added to the Content Block, as well as add new instances predefined in Templates." }),
|
|
985
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "List Item", "ws:tag": "li", children: "To predefine instances for insertion in Content mode, switch to Design mode and add them to the Templates container." }),
|
|
986
|
+
/* @__PURE__ */ jsx(ws.element, { "ws:label": "List Item", "ws:tag": "li", children: "To insert predefined instances in Content mode, click the + button while hovering over the Content Block on the canvas and choose an instance from the list." })
|
|
979
987
|
] })
|
|
980
988
|
] })
|
|
981
989
|
};
|
package/lib/index.js
CHANGED
|
@@ -13,7 +13,8 @@ var baseAsset = {
|
|
|
13
13
|
projectId: z.string(),
|
|
14
14
|
size: z.number(),
|
|
15
15
|
name: z.string(),
|
|
16
|
-
|
|
16
|
+
filename: z.string().optional(),
|
|
17
|
+
description: z.union([z.string().optional(), z.null()]),
|
|
17
18
|
createdAt: z.string()
|
|
18
19
|
};
|
|
19
20
|
var FontAsset = z.object({
|
|
@@ -53,7 +53,8 @@ export declare const FontAsset: z.ZodObject<{
|
|
|
53
53
|
projectId: z.ZodString;
|
|
54
54
|
size: z.ZodNumber;
|
|
55
55
|
name: z.ZodString;
|
|
56
|
-
|
|
56
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
57
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
57
58
|
createdAt: z.ZodString;
|
|
58
59
|
}, "strip", z.ZodTypeAny, {
|
|
59
60
|
type: "font";
|
|
@@ -71,12 +72,13 @@ export declare const FontAsset: z.ZodObject<{
|
|
|
71
72
|
max: number;
|
|
72
73
|
}>>;
|
|
73
74
|
};
|
|
74
|
-
description: string | null;
|
|
75
75
|
id: string;
|
|
76
76
|
format: "ttf" | "woff" | "woff2";
|
|
77
77
|
projectId: string;
|
|
78
78
|
size: number;
|
|
79
79
|
createdAt: string;
|
|
80
|
+
description?: string | null | undefined;
|
|
81
|
+
filename?: string | undefined;
|
|
80
82
|
}, {
|
|
81
83
|
type: "font";
|
|
82
84
|
name: string;
|
|
@@ -93,12 +95,13 @@ export declare const FontAsset: z.ZodObject<{
|
|
|
93
95
|
max: number;
|
|
94
96
|
}>>;
|
|
95
97
|
};
|
|
96
|
-
description: string | null;
|
|
97
98
|
id: string;
|
|
98
99
|
format: "ttf" | "woff" | "woff2";
|
|
99
100
|
projectId: string;
|
|
100
101
|
size: number;
|
|
101
102
|
createdAt: string;
|
|
103
|
+
description?: string | null | undefined;
|
|
104
|
+
filename?: string | undefined;
|
|
102
105
|
}>;
|
|
103
106
|
export type FontAsset = z.infer<typeof FontAsset>;
|
|
104
107
|
export declare const ImageMeta: z.ZodObject<{
|
|
@@ -129,7 +132,8 @@ export declare const ImageAsset: z.ZodObject<{
|
|
|
129
132
|
projectId: z.ZodString;
|
|
130
133
|
size: z.ZodNumber;
|
|
131
134
|
name: z.ZodString;
|
|
132
|
-
|
|
135
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
136
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
133
137
|
createdAt: z.ZodString;
|
|
134
138
|
}, "strip", z.ZodTypeAny, {
|
|
135
139
|
type: "image";
|
|
@@ -138,12 +142,13 @@ export declare const ImageAsset: z.ZodObject<{
|
|
|
138
142
|
height: number;
|
|
139
143
|
width: number;
|
|
140
144
|
};
|
|
141
|
-
description: string | null;
|
|
142
145
|
id: string;
|
|
143
146
|
format: string;
|
|
144
147
|
projectId: string;
|
|
145
148
|
size: number;
|
|
146
149
|
createdAt: string;
|
|
150
|
+
description?: string | null | undefined;
|
|
151
|
+
filename?: string | undefined;
|
|
147
152
|
}, {
|
|
148
153
|
type: "image";
|
|
149
154
|
name: string;
|
|
@@ -151,12 +156,13 @@ export declare const ImageAsset: z.ZodObject<{
|
|
|
151
156
|
height: number;
|
|
152
157
|
width: number;
|
|
153
158
|
};
|
|
154
|
-
description: string | null;
|
|
155
159
|
id: string;
|
|
156
160
|
format: string;
|
|
157
161
|
projectId: string;
|
|
158
162
|
size: number;
|
|
159
163
|
createdAt: string;
|
|
164
|
+
description?: string | null | undefined;
|
|
165
|
+
filename?: string | undefined;
|
|
160
166
|
}>;
|
|
161
167
|
export type ImageAsset = z.infer<typeof ImageAsset>;
|
|
162
168
|
export declare const Asset: z.ZodUnion<[z.ZodObject<{
|
|
@@ -213,7 +219,8 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
|
|
|
213
219
|
projectId: z.ZodString;
|
|
214
220
|
size: z.ZodNumber;
|
|
215
221
|
name: z.ZodString;
|
|
216
|
-
|
|
222
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
223
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
217
224
|
createdAt: z.ZodString;
|
|
218
225
|
}, "strip", z.ZodTypeAny, {
|
|
219
226
|
type: "font";
|
|
@@ -231,12 +238,13 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
|
|
|
231
238
|
max: number;
|
|
232
239
|
}>>;
|
|
233
240
|
};
|
|
234
|
-
description: string | null;
|
|
235
241
|
id: string;
|
|
236
242
|
format: "ttf" | "woff" | "woff2";
|
|
237
243
|
projectId: string;
|
|
238
244
|
size: number;
|
|
239
245
|
createdAt: string;
|
|
246
|
+
description?: string | null | undefined;
|
|
247
|
+
filename?: string | undefined;
|
|
240
248
|
}, {
|
|
241
249
|
type: "font";
|
|
242
250
|
name: string;
|
|
@@ -253,12 +261,13 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
|
|
|
253
261
|
max: number;
|
|
254
262
|
}>>;
|
|
255
263
|
};
|
|
256
|
-
description: string | null;
|
|
257
264
|
id: string;
|
|
258
265
|
format: "ttf" | "woff" | "woff2";
|
|
259
266
|
projectId: string;
|
|
260
267
|
size: number;
|
|
261
268
|
createdAt: string;
|
|
269
|
+
description?: string | null | undefined;
|
|
270
|
+
filename?: string | undefined;
|
|
262
271
|
}>, z.ZodObject<{
|
|
263
272
|
format: z.ZodString;
|
|
264
273
|
meta: z.ZodObject<{
|
|
@@ -276,7 +285,8 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
|
|
|
276
285
|
projectId: z.ZodString;
|
|
277
286
|
size: z.ZodNumber;
|
|
278
287
|
name: z.ZodString;
|
|
279
|
-
|
|
288
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
289
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
280
290
|
createdAt: z.ZodString;
|
|
281
291
|
}, "strip", z.ZodTypeAny, {
|
|
282
292
|
type: "image";
|
|
@@ -285,12 +295,13 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
|
|
|
285
295
|
height: number;
|
|
286
296
|
width: number;
|
|
287
297
|
};
|
|
288
|
-
description: string | null;
|
|
289
298
|
id: string;
|
|
290
299
|
format: string;
|
|
291
300
|
projectId: string;
|
|
292
301
|
size: number;
|
|
293
302
|
createdAt: string;
|
|
303
|
+
description?: string | null | undefined;
|
|
304
|
+
filename?: string | undefined;
|
|
294
305
|
}, {
|
|
295
306
|
type: "image";
|
|
296
307
|
name: string;
|
|
@@ -298,12 +309,13 @@ export declare const Asset: z.ZodUnion<[z.ZodObject<{
|
|
|
298
309
|
height: number;
|
|
299
310
|
width: number;
|
|
300
311
|
};
|
|
301
|
-
description: string | null;
|
|
302
312
|
id: string;
|
|
303
313
|
format: string;
|
|
304
314
|
projectId: string;
|
|
305
315
|
size: number;
|
|
306
316
|
createdAt: string;
|
|
317
|
+
description?: string | null | undefined;
|
|
318
|
+
filename?: string | undefined;
|
|
307
319
|
}>]>;
|
|
308
320
|
export type Asset = z.infer<typeof Asset>;
|
|
309
321
|
export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -360,7 +372,8 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
360
372
|
projectId: z.ZodString;
|
|
361
373
|
size: z.ZodNumber;
|
|
362
374
|
name: z.ZodString;
|
|
363
|
-
|
|
375
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
376
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
364
377
|
createdAt: z.ZodString;
|
|
365
378
|
}, "strip", z.ZodTypeAny, {
|
|
366
379
|
type: "font";
|
|
@@ -378,12 +391,13 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
378
391
|
max: number;
|
|
379
392
|
}>>;
|
|
380
393
|
};
|
|
381
|
-
description: string | null;
|
|
382
394
|
id: string;
|
|
383
395
|
format: "ttf" | "woff" | "woff2";
|
|
384
396
|
projectId: string;
|
|
385
397
|
size: number;
|
|
386
398
|
createdAt: string;
|
|
399
|
+
description?: string | null | undefined;
|
|
400
|
+
filename?: string | undefined;
|
|
387
401
|
}, {
|
|
388
402
|
type: "font";
|
|
389
403
|
name: string;
|
|
@@ -400,12 +414,13 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
400
414
|
max: number;
|
|
401
415
|
}>>;
|
|
402
416
|
};
|
|
403
|
-
description: string | null;
|
|
404
417
|
id: string;
|
|
405
418
|
format: "ttf" | "woff" | "woff2";
|
|
406
419
|
projectId: string;
|
|
407
420
|
size: number;
|
|
408
421
|
createdAt: string;
|
|
422
|
+
description?: string | null | undefined;
|
|
423
|
+
filename?: string | undefined;
|
|
409
424
|
}>, z.ZodObject<{
|
|
410
425
|
format: z.ZodString;
|
|
411
426
|
meta: z.ZodObject<{
|
|
@@ -423,7 +438,8 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
423
438
|
projectId: z.ZodString;
|
|
424
439
|
size: z.ZodNumber;
|
|
425
440
|
name: z.ZodString;
|
|
426
|
-
|
|
441
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
442
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
427
443
|
createdAt: z.ZodString;
|
|
428
444
|
}, "strip", z.ZodTypeAny, {
|
|
429
445
|
type: "image";
|
|
@@ -432,12 +448,13 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
432
448
|
height: number;
|
|
433
449
|
width: number;
|
|
434
450
|
};
|
|
435
|
-
description: string | null;
|
|
436
451
|
id: string;
|
|
437
452
|
format: string;
|
|
438
453
|
projectId: string;
|
|
439
454
|
size: number;
|
|
440
455
|
createdAt: string;
|
|
456
|
+
description?: string | null | undefined;
|
|
457
|
+
filename?: string | undefined;
|
|
441
458
|
}, {
|
|
442
459
|
type: "image";
|
|
443
460
|
name: string;
|
|
@@ -445,11 +462,12 @@ export declare const Assets: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
445
462
|
height: number;
|
|
446
463
|
width: number;
|
|
447
464
|
};
|
|
448
|
-
description: string | null;
|
|
449
465
|
id: string;
|
|
450
466
|
format: string;
|
|
451
467
|
projectId: string;
|
|
452
468
|
size: number;
|
|
453
469
|
createdAt: string;
|
|
470
|
+
description?: string | null | undefined;
|
|
471
|
+
filename?: string | undefined;
|
|
454
472
|
}>]>>;
|
|
455
473
|
export type Assets = z.infer<typeof Assets>;
|
|
@@ -171,7 +171,8 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
171
171
|
projectId: z.ZodString;
|
|
172
172
|
size: z.ZodNumber;
|
|
173
173
|
name: z.ZodString;
|
|
174
|
-
|
|
174
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
175
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
175
176
|
createdAt: z.ZodString;
|
|
176
177
|
}, "strip", z.ZodTypeAny, {
|
|
177
178
|
type: "font";
|
|
@@ -189,12 +190,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
189
190
|
max: number;
|
|
190
191
|
}>>;
|
|
191
192
|
};
|
|
192
|
-
description: string | null;
|
|
193
193
|
id: string;
|
|
194
194
|
format: "ttf" | "woff" | "woff2";
|
|
195
195
|
projectId: string;
|
|
196
196
|
size: number;
|
|
197
197
|
createdAt: string;
|
|
198
|
+
description?: string | null | undefined;
|
|
199
|
+
filename?: string | undefined;
|
|
198
200
|
}, {
|
|
199
201
|
type: "font";
|
|
200
202
|
name: string;
|
|
@@ -211,12 +213,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
211
213
|
max: number;
|
|
212
214
|
}>>;
|
|
213
215
|
};
|
|
214
|
-
description: string | null;
|
|
215
216
|
id: string;
|
|
216
217
|
format: "ttf" | "woff" | "woff2";
|
|
217
218
|
projectId: string;
|
|
218
219
|
size: number;
|
|
219
220
|
createdAt: string;
|
|
221
|
+
description?: string | null | undefined;
|
|
222
|
+
filename?: string | undefined;
|
|
220
223
|
}>, z.ZodObject<{
|
|
221
224
|
format: z.ZodString;
|
|
222
225
|
meta: z.ZodObject<{
|
|
@@ -234,7 +237,8 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
234
237
|
projectId: z.ZodString;
|
|
235
238
|
size: z.ZodNumber;
|
|
236
239
|
name: z.ZodString;
|
|
237
|
-
|
|
240
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
241
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodNull]>;
|
|
238
242
|
createdAt: z.ZodString;
|
|
239
243
|
}, "strip", z.ZodTypeAny, {
|
|
240
244
|
type: "image";
|
|
@@ -243,12 +247,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
243
247
|
height: number;
|
|
244
248
|
width: number;
|
|
245
249
|
};
|
|
246
|
-
description: string | null;
|
|
247
250
|
id: string;
|
|
248
251
|
format: string;
|
|
249
252
|
projectId: string;
|
|
250
253
|
size: number;
|
|
251
254
|
createdAt: string;
|
|
255
|
+
description?: string | null | undefined;
|
|
256
|
+
filename?: string | undefined;
|
|
252
257
|
}, {
|
|
253
258
|
type: "image";
|
|
254
259
|
name: string;
|
|
@@ -256,12 +261,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
256
261
|
height: number;
|
|
257
262
|
width: number;
|
|
258
263
|
};
|
|
259
|
-
description: string | null;
|
|
260
264
|
id: string;
|
|
261
265
|
format: string;
|
|
262
266
|
projectId: string;
|
|
263
267
|
size: number;
|
|
264
268
|
createdAt: string;
|
|
269
|
+
description?: string | null | undefined;
|
|
270
|
+
filename?: string | undefined;
|
|
265
271
|
}>]>, "many">;
|
|
266
272
|
dataSources: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
267
273
|
type: z.ZodLiteral<"variable">;
|
|
@@ -22472,12 +22478,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
22472
22478
|
max: number;
|
|
22473
22479
|
}>>;
|
|
22474
22480
|
};
|
|
22475
|
-
description: string | null;
|
|
22476
22481
|
id: string;
|
|
22477
22482
|
format: "ttf" | "woff" | "woff2";
|
|
22478
22483
|
projectId: string;
|
|
22479
22484
|
size: number;
|
|
22480
22485
|
createdAt: string;
|
|
22486
|
+
description?: string | null | undefined;
|
|
22487
|
+
filename?: string | undefined;
|
|
22481
22488
|
} | {
|
|
22482
22489
|
type: "image";
|
|
22483
22490
|
name: string;
|
|
@@ -22485,12 +22492,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
22485
22492
|
height: number;
|
|
22486
22493
|
width: number;
|
|
22487
22494
|
};
|
|
22488
|
-
description: string | null;
|
|
22489
22495
|
id: string;
|
|
22490
22496
|
format: string;
|
|
22491
22497
|
projectId: string;
|
|
22492
22498
|
size: number;
|
|
22493
22499
|
createdAt: string;
|
|
22500
|
+
description?: string | null | undefined;
|
|
22501
|
+
filename?: string | undefined;
|
|
22494
22502
|
})[];
|
|
22495
22503
|
dataSources: ({
|
|
22496
22504
|
value: {
|
|
@@ -24630,12 +24638,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
24630
24638
|
max: number;
|
|
24631
24639
|
}>>;
|
|
24632
24640
|
};
|
|
24633
|
-
description: string | null;
|
|
24634
24641
|
id: string;
|
|
24635
24642
|
format: "ttf" | "woff" | "woff2";
|
|
24636
24643
|
projectId: string;
|
|
24637
24644
|
size: number;
|
|
24638
24645
|
createdAt: string;
|
|
24646
|
+
description?: string | null | undefined;
|
|
24647
|
+
filename?: string | undefined;
|
|
24639
24648
|
} | {
|
|
24640
24649
|
type: "image";
|
|
24641
24650
|
name: string;
|
|
@@ -24643,12 +24652,13 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
24643
24652
|
height: number;
|
|
24644
24653
|
width: number;
|
|
24645
24654
|
};
|
|
24646
|
-
description: string | null;
|
|
24647
24655
|
id: string;
|
|
24648
24656
|
format: string;
|
|
24649
24657
|
projectId: string;
|
|
24650
24658
|
size: number;
|
|
24651
24659
|
createdAt: string;
|
|
24660
|
+
description?: string | null | undefined;
|
|
24661
|
+
filename?: string | undefined;
|
|
24652
24662
|
})[];
|
|
24653
24663
|
dataSources: ({
|
|
24654
24664
|
value: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.228.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"reserved-identifiers": "^1.0.0",
|
|
41
41
|
"type-fest": "^4.37.0",
|
|
42
42
|
"zod": "^3.24.2",
|
|
43
|
-
"@webstudio-is/css-engine": "0.
|
|
44
|
-
"@webstudio-is/
|
|
45
|
-
"@webstudio-is/
|
|
43
|
+
"@webstudio-is/css-engine": "0.228.0",
|
|
44
|
+
"@webstudio-is/fonts": "0.228.0",
|
|
45
|
+
"@webstudio-is/icons": "0.228.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"html-tags": "^4.0.0",
|
|
49
49
|
"vitest": "^3.1.2",
|
|
50
50
|
"@webstudio-is/css-data": "0.0.0",
|
|
51
51
|
"@webstudio-is/tsconfig": "1.0.7",
|
|
52
|
-
"@webstudio-is/template": "0.
|
|
52
|
+
"@webstudio-is/template": "0.228.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"typecheck": "tsc",
|