@webstudio-is/sdk 0.132.0 → 0.133.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/index.js +2 -0
- package/lib/types/schema/pages.d.ts +42 -0
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -60,6 +60,8 @@ var commonPageFields = {
|
|
|
60
60
|
excludePageFromSearch: z2.string().optional(),
|
|
61
61
|
socialImageAssetId: z2.string().optional(),
|
|
62
62
|
socialImageUrl: z2.string().optional(),
|
|
63
|
+
status: z2.string().optional(),
|
|
64
|
+
redirect: z2.string().optional(),
|
|
63
65
|
custom: z2.array(
|
|
64
66
|
z2.object({
|
|
65
67
|
property: z2.string(),
|
|
@@ -32,6 +32,8 @@ declare const Page: z.ZodObject<{
|
|
|
32
32
|
excludePageFromSearch: z.ZodOptional<z.ZodString>;
|
|
33
33
|
socialImageAssetId: z.ZodOptional<z.ZodString>;
|
|
34
34
|
socialImageUrl: z.ZodOptional<z.ZodString>;
|
|
35
|
+
status: z.ZodOptional<z.ZodString>;
|
|
36
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
35
37
|
custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
38
|
property: z.ZodString;
|
|
37
39
|
content: z.ZodString;
|
|
@@ -48,6 +50,8 @@ declare const Page: z.ZodObject<{
|
|
|
48
50
|
excludePageFromSearch?: string | undefined;
|
|
49
51
|
socialImageAssetId?: string | undefined;
|
|
50
52
|
socialImageUrl?: string | undefined;
|
|
53
|
+
status?: string | undefined;
|
|
54
|
+
redirect?: string | undefined;
|
|
51
55
|
custom?: {
|
|
52
56
|
property: string;
|
|
53
57
|
content: string;
|
|
@@ -58,6 +62,8 @@ declare const Page: z.ZodObject<{
|
|
|
58
62
|
excludePageFromSearch?: string | undefined;
|
|
59
63
|
socialImageAssetId?: string | undefined;
|
|
60
64
|
socialImageUrl?: string | undefined;
|
|
65
|
+
status?: string | undefined;
|
|
66
|
+
redirect?: string | undefined;
|
|
61
67
|
custom?: {
|
|
62
68
|
property: string;
|
|
63
69
|
content: string;
|
|
@@ -74,6 +80,8 @@ declare const Page: z.ZodObject<{
|
|
|
74
80
|
excludePageFromSearch?: string | undefined;
|
|
75
81
|
socialImageAssetId?: string | undefined;
|
|
76
82
|
socialImageUrl?: string | undefined;
|
|
83
|
+
status?: string | undefined;
|
|
84
|
+
redirect?: string | undefined;
|
|
77
85
|
custom?: {
|
|
78
86
|
property: string;
|
|
79
87
|
content: string;
|
|
@@ -92,6 +100,8 @@ declare const Page: z.ZodObject<{
|
|
|
92
100
|
excludePageFromSearch?: string | undefined;
|
|
93
101
|
socialImageAssetId?: string | undefined;
|
|
94
102
|
socialImageUrl?: string | undefined;
|
|
103
|
+
status?: string | undefined;
|
|
104
|
+
redirect?: string | undefined;
|
|
95
105
|
custom?: {
|
|
96
106
|
property: string;
|
|
97
107
|
content: string;
|
|
@@ -179,6 +189,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
179
189
|
excludePageFromSearch: z.ZodOptional<z.ZodString>;
|
|
180
190
|
socialImageAssetId: z.ZodOptional<z.ZodString>;
|
|
181
191
|
socialImageUrl: z.ZodOptional<z.ZodString>;
|
|
192
|
+
status: z.ZodOptional<z.ZodString>;
|
|
193
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
182
194
|
custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
183
195
|
property: z.ZodString;
|
|
184
196
|
content: z.ZodString;
|
|
@@ -195,6 +207,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
195
207
|
excludePageFromSearch?: string | undefined;
|
|
196
208
|
socialImageAssetId?: string | undefined;
|
|
197
209
|
socialImageUrl?: string | undefined;
|
|
210
|
+
status?: string | undefined;
|
|
211
|
+
redirect?: string | undefined;
|
|
198
212
|
custom?: {
|
|
199
213
|
property: string;
|
|
200
214
|
content: string;
|
|
@@ -205,6 +219,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
205
219
|
excludePageFromSearch?: string | undefined;
|
|
206
220
|
socialImageAssetId?: string | undefined;
|
|
207
221
|
socialImageUrl?: string | undefined;
|
|
222
|
+
status?: string | undefined;
|
|
223
|
+
redirect?: string | undefined;
|
|
208
224
|
custom?: {
|
|
209
225
|
property: string;
|
|
210
226
|
content: string;
|
|
@@ -221,6 +237,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
221
237
|
excludePageFromSearch?: string | undefined;
|
|
222
238
|
socialImageAssetId?: string | undefined;
|
|
223
239
|
socialImageUrl?: string | undefined;
|
|
240
|
+
status?: string | undefined;
|
|
241
|
+
redirect?: string | undefined;
|
|
224
242
|
custom?: {
|
|
225
243
|
property: string;
|
|
226
244
|
content: string;
|
|
@@ -239,6 +257,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
239
257
|
excludePageFromSearch?: string | undefined;
|
|
240
258
|
socialImageAssetId?: string | undefined;
|
|
241
259
|
socialImageUrl?: string | undefined;
|
|
260
|
+
status?: string | undefined;
|
|
261
|
+
redirect?: string | undefined;
|
|
242
262
|
custom?: {
|
|
243
263
|
property: string;
|
|
244
264
|
content: string;
|
|
@@ -260,6 +280,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
260
280
|
excludePageFromSearch: z.ZodOptional<z.ZodString>;
|
|
261
281
|
socialImageAssetId: z.ZodOptional<z.ZodString>;
|
|
262
282
|
socialImageUrl: z.ZodOptional<z.ZodString>;
|
|
283
|
+
status: z.ZodOptional<z.ZodString>;
|
|
284
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
263
285
|
custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
264
286
|
property: z.ZodString;
|
|
265
287
|
content: z.ZodString;
|
|
@@ -276,6 +298,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
276
298
|
excludePageFromSearch?: string | undefined;
|
|
277
299
|
socialImageAssetId?: string | undefined;
|
|
278
300
|
socialImageUrl?: string | undefined;
|
|
301
|
+
status?: string | undefined;
|
|
302
|
+
redirect?: string | undefined;
|
|
279
303
|
custom?: {
|
|
280
304
|
property: string;
|
|
281
305
|
content: string;
|
|
@@ -286,6 +310,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
286
310
|
excludePageFromSearch?: string | undefined;
|
|
287
311
|
socialImageAssetId?: string | undefined;
|
|
288
312
|
socialImageUrl?: string | undefined;
|
|
313
|
+
status?: string | undefined;
|
|
314
|
+
redirect?: string | undefined;
|
|
289
315
|
custom?: {
|
|
290
316
|
property: string;
|
|
291
317
|
content: string;
|
|
@@ -302,6 +328,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
302
328
|
excludePageFromSearch?: string | undefined;
|
|
303
329
|
socialImageAssetId?: string | undefined;
|
|
304
330
|
socialImageUrl?: string | undefined;
|
|
331
|
+
status?: string | undefined;
|
|
332
|
+
redirect?: string | undefined;
|
|
305
333
|
custom?: {
|
|
306
334
|
property: string;
|
|
307
335
|
content: string;
|
|
@@ -320,6 +348,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
320
348
|
excludePageFromSearch?: string | undefined;
|
|
321
349
|
socialImageAssetId?: string | undefined;
|
|
322
350
|
socialImageUrl?: string | undefined;
|
|
351
|
+
status?: string | undefined;
|
|
352
|
+
redirect?: string | undefined;
|
|
323
353
|
custom?: {
|
|
324
354
|
property: string;
|
|
325
355
|
content: string;
|
|
@@ -338,6 +368,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
338
368
|
excludePageFromSearch?: string | undefined;
|
|
339
369
|
socialImageAssetId?: string | undefined;
|
|
340
370
|
socialImageUrl?: string | undefined;
|
|
371
|
+
status?: string | undefined;
|
|
372
|
+
redirect?: string | undefined;
|
|
341
373
|
custom?: {
|
|
342
374
|
property: string;
|
|
343
375
|
content: string;
|
|
@@ -356,6 +388,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
356
388
|
excludePageFromSearch?: string | undefined;
|
|
357
389
|
socialImageAssetId?: string | undefined;
|
|
358
390
|
socialImageUrl?: string | undefined;
|
|
391
|
+
status?: string | undefined;
|
|
392
|
+
redirect?: string | undefined;
|
|
359
393
|
custom?: {
|
|
360
394
|
property: string;
|
|
361
395
|
content: string;
|
|
@@ -402,6 +436,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
402
436
|
excludePageFromSearch?: string | undefined;
|
|
403
437
|
socialImageAssetId?: string | undefined;
|
|
404
438
|
socialImageUrl?: string | undefined;
|
|
439
|
+
status?: string | undefined;
|
|
440
|
+
redirect?: string | undefined;
|
|
405
441
|
custom?: {
|
|
406
442
|
property: string;
|
|
407
443
|
content: string;
|
|
@@ -421,6 +457,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
421
457
|
excludePageFromSearch?: string | undefined;
|
|
422
458
|
socialImageAssetId?: string | undefined;
|
|
423
459
|
socialImageUrl?: string | undefined;
|
|
460
|
+
status?: string | undefined;
|
|
461
|
+
redirect?: string | undefined;
|
|
424
462
|
custom?: {
|
|
425
463
|
property: string;
|
|
426
464
|
content: string;
|
|
@@ -459,6 +497,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
459
497
|
excludePageFromSearch?: string | undefined;
|
|
460
498
|
socialImageAssetId?: string | undefined;
|
|
461
499
|
socialImageUrl?: string | undefined;
|
|
500
|
+
status?: string | undefined;
|
|
501
|
+
redirect?: string | undefined;
|
|
462
502
|
custom?: {
|
|
463
503
|
property: string;
|
|
464
504
|
content: string;
|
|
@@ -478,6 +518,8 @@ export declare const Pages: z.ZodObject<{
|
|
|
478
518
|
excludePageFromSearch?: string | undefined;
|
|
479
519
|
socialImageAssetId?: string | undefined;
|
|
480
520
|
socialImageUrl?: string | undefined;
|
|
521
|
+
status?: string | undefined;
|
|
522
|
+
redirect?: string | undefined;
|
|
481
523
|
custom?: {
|
|
482
524
|
property: string;
|
|
483
525
|
content: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.133.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^3.21.4",
|
|
22
|
-
"@webstudio-is/css-engine": "0.
|
|
23
|
-
"@webstudio-is/fonts": "0.
|
|
22
|
+
"@webstudio-is/css-engine": "0.133.0",
|
|
23
|
+
"@webstudio-is/fonts": "0.133.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@jest/globals": "^29.7.0",
|