@webstudio-is/sdk 0.275.0 → 0.276.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 +1 -1
- package/lib/index.js +304 -3
- package/lib/runtime.js +288 -1
- package/lib/schema-org.js +5703 -0
- package/lib/schema.js +1 -0
- package/lib/types/core-metas.d.ts +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/json-ld-utils.d.ts +3 -0
- package/lib/types/json-ld.d.ts +31 -0
- package/lib/types/runtime.d.ts +1 -0
- package/lib/types/schema/animation-schema.d.ts +41 -41
- package/lib/types/schema/assets.d.ts +54 -54
- package/lib/types/schema/component-meta.d.ts +43 -35
- package/lib/types/schema/data-sources.d.ts +3 -3
- package/lib/types/schema/deployment.d.ts +2 -2
- package/lib/types/schema/pages.d.ts +8 -6
- package/lib/types/schema/prop-meta.d.ts +34 -26
- package/lib/types/schema/props.d.ts +49 -49
- package/lib/types/schema/styles.d.ts +50 -50
- package/lib/types/schema/webstudio.d.ts +94 -94
- package/lib/types/scope.d.ts +3 -1
- package/package.json +18 -10
|
@@ -1,89 +1,93 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
instanceId: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3
7
|
type: z.ZodLiteral<"number">;
|
|
4
8
|
value: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5
10
|
id: z.ZodString;
|
|
6
11
|
instanceId: z.ZodString;
|
|
7
12
|
name: z.ZodString;
|
|
8
13
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10
14
|
type: z.ZodLiteral<"string">;
|
|
11
15
|
value: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12
17
|
id: z.ZodString;
|
|
13
18
|
instanceId: z.ZodString;
|
|
14
19
|
name: z.ZodString;
|
|
15
20
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
21
|
type: z.ZodLiteral<"boolean">;
|
|
18
22
|
value: z.ZodBoolean;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
24
|
id: z.ZodString;
|
|
20
25
|
instanceId: z.ZodString;
|
|
21
26
|
name: z.ZodString;
|
|
22
27
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
28
|
type: z.ZodLiteral<"json">;
|
|
25
29
|
value: z.ZodUnknown;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
31
|
id: z.ZodString;
|
|
27
32
|
instanceId: z.ZodString;
|
|
28
33
|
name: z.ZodString;
|
|
29
34
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
35
|
type: z.ZodLiteral<"asset">;
|
|
32
36
|
value: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
38
|
id: z.ZodString;
|
|
34
39
|
instanceId: z.ZodString;
|
|
35
40
|
name: z.ZodString;
|
|
36
41
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
42
|
type: z.ZodLiteral<"page">;
|
|
39
43
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
40
44
|
pageId: z.ZodString;
|
|
41
45
|
instanceId: z.ZodString;
|
|
42
46
|
}, z.core.$strip>]>;
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
48
|
id: z.ZodString;
|
|
44
49
|
instanceId: z.ZodString;
|
|
45
50
|
name: z.ZodString;
|
|
46
51
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
52
|
type: z.ZodLiteral<"string[]">;
|
|
49
53
|
value: z.ZodArray<z.ZodString>;
|
|
54
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
55
|
id: z.ZodString;
|
|
51
56
|
instanceId: z.ZodString;
|
|
52
57
|
name: z.ZodString;
|
|
53
58
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
59
|
type: z.ZodLiteral<"parameter">;
|
|
56
60
|
value: z.ZodString;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
57
62
|
id: z.ZodString;
|
|
58
63
|
instanceId: z.ZodString;
|
|
59
64
|
name: z.ZodString;
|
|
60
65
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
66
|
type: z.ZodLiteral<"resource">;
|
|
63
67
|
value: z.ZodString;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
69
|
id: z.ZodString;
|
|
65
70
|
instanceId: z.ZodString;
|
|
66
71
|
name: z.ZodString;
|
|
67
72
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
73
|
type: z.ZodLiteral<"expression">;
|
|
70
74
|
value: z.ZodString;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
71
76
|
id: z.ZodString;
|
|
72
77
|
instanceId: z.ZodString;
|
|
73
78
|
name: z.ZodString;
|
|
74
79
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
76
80
|
type: z.ZodLiteral<"action">;
|
|
77
81
|
value: z.ZodArray<z.ZodObject<{
|
|
78
82
|
type: z.ZodLiteral<"execute">;
|
|
79
83
|
args: z.ZodArray<z.ZodString>;
|
|
80
84
|
code: z.ZodString;
|
|
81
85
|
}, z.core.$strip>>;
|
|
86
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
87
|
id: z.ZodString;
|
|
83
88
|
instanceId: z.ZodString;
|
|
84
89
|
name: z.ZodString;
|
|
85
90
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
87
91
|
type: z.ZodLiteral<"animationAction">;
|
|
88
92
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
89
93
|
type: z.ZodLiteral<"scroll">;
|
|
@@ -724,7 +728,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
724
728
|
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
725
729
|
type: z.ZodLiteral<"unit">;
|
|
726
730
|
value: z.ZodNumber;
|
|
727
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
731
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
728
732
|
}, z.core.$strip>, z.ZodObject<{
|
|
729
733
|
type: z.ZodLiteral<"var">;
|
|
730
734
|
value: z.ZodString;
|
|
@@ -732,7 +736,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
732
736
|
delay: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
733
737
|
type: z.ZodLiteral<"unit">;
|
|
734
738
|
value: z.ZodNumber;
|
|
735
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
739
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
736
740
|
}, z.core.$strip>, z.ZodObject<{
|
|
737
741
|
type: z.ZodLiteral<"var">;
|
|
738
742
|
value: z.ZodString;
|
|
@@ -741,7 +745,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
741
745
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
742
746
|
type: z.ZodLiteral<"unit">;
|
|
743
747
|
value: z.ZodNumber;
|
|
744
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
748
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
745
749
|
}, z.core.$strip>, z.ZodObject<{
|
|
746
750
|
type: z.ZodLiteral<"unparsed">;
|
|
747
751
|
value: z.ZodString;
|
|
@@ -752,7 +756,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
752
756
|
rangeEnd: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
753
757
|
type: z.ZodLiteral<"unit">;
|
|
754
758
|
value: z.ZodNumber;
|
|
755
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
759
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
756
760
|
}, z.core.$strip>, z.ZodObject<{
|
|
757
761
|
type: z.ZodLiteral<"unparsed">;
|
|
758
762
|
value: z.ZodString;
|
|
@@ -1403,7 +1407,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1403
1407
|
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1404
1408
|
type: z.ZodLiteral<"unit">;
|
|
1405
1409
|
value: z.ZodNumber;
|
|
1406
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
1410
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
1407
1411
|
}, z.core.$strip>, z.ZodObject<{
|
|
1408
1412
|
type: z.ZodLiteral<"var">;
|
|
1409
1413
|
value: z.ZodString;
|
|
@@ -1411,7 +1415,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1411
1415
|
delay: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1412
1416
|
type: z.ZodLiteral<"unit">;
|
|
1413
1417
|
value: z.ZodNumber;
|
|
1414
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
1418
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
1415
1419
|
}, z.core.$strip>, z.ZodObject<{
|
|
1416
1420
|
type: z.ZodLiteral<"var">;
|
|
1417
1421
|
value: z.ZodString;
|
|
@@ -1420,7 +1424,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1420
1424
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"contain">, z.ZodLiteral<"cover">, z.ZodLiteral<"entry">, z.ZodLiteral<"exit">, z.ZodLiteral<"entry-crossing">, z.ZodLiteral<"exit-crossing">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
1421
1425
|
type: z.ZodLiteral<"unit">;
|
|
1422
1426
|
value: z.ZodNumber;
|
|
1423
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
1427
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
1424
1428
|
}, z.core.$strip>, z.ZodObject<{
|
|
1425
1429
|
type: z.ZodLiteral<"unparsed">;
|
|
1426
1430
|
value: z.ZodString;
|
|
@@ -1431,7 +1435,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1431
1435
|
rangeEnd: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"contain">, z.ZodLiteral<"cover">, z.ZodLiteral<"entry">, z.ZodLiteral<"exit">, z.ZodLiteral<"entry-crossing">, z.ZodLiteral<"exit-crossing">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
1432
1436
|
type: z.ZodLiteral<"unit">;
|
|
1433
1437
|
value: z.ZodNumber;
|
|
1434
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
1438
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
1435
1439
|
}, z.core.$strip>, z.ZodObject<{
|
|
1436
1440
|
type: z.ZodLiteral<"unparsed">;
|
|
1437
1441
|
value: z.ZodString;
|
|
@@ -1444,7 +1448,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1444
1448
|
insetStart: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
1445
1449
|
type: z.ZodLiteral<"unit">;
|
|
1446
1450
|
value: z.ZodNumber;
|
|
1447
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
1451
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
1448
1452
|
}, z.core.$strip>, z.ZodObject<{
|
|
1449
1453
|
type: z.ZodLiteral<"unparsed">;
|
|
1450
1454
|
value: z.ZodString;
|
|
@@ -1458,7 +1462,7 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1458
1462
|
insetEnd: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
1459
1463
|
type: z.ZodLiteral<"unit">;
|
|
1460
1464
|
value: z.ZodNumber;
|
|
1461
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
1465
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
1462
1466
|
}, z.core.$strip>, z.ZodObject<{
|
|
1463
1467
|
type: z.ZodLiteral<"unparsed">;
|
|
1464
1468
|
value: z.ZodString;
|
|
@@ -1472,97 +1476,97 @@ export declare const prop: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1472
1476
|
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
1473
1477
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1474
1478
|
}, z.core.$strip>], "type">;
|
|
1479
|
+
}, z.core.$strip>]>;
|
|
1480
|
+
export type Prop = z.infer<typeof prop>;
|
|
1481
|
+
export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1475
1482
|
id: z.ZodString;
|
|
1476
1483
|
instanceId: z.ZodString;
|
|
1477
1484
|
name: z.ZodString;
|
|
1478
1485
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
-
}, z.core.$strip>]>;
|
|
1480
|
-
export type Prop = z.infer<typeof prop>;
|
|
1481
|
-
export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1482
1486
|
type: z.ZodLiteral<"number">;
|
|
1483
1487
|
value: z.ZodNumber;
|
|
1488
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1484
1489
|
id: z.ZodString;
|
|
1485
1490
|
instanceId: z.ZodString;
|
|
1486
1491
|
name: z.ZodString;
|
|
1487
1492
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1488
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1489
1493
|
type: z.ZodLiteral<"string">;
|
|
1490
1494
|
value: z.ZodString;
|
|
1495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1491
1496
|
id: z.ZodString;
|
|
1492
1497
|
instanceId: z.ZodString;
|
|
1493
1498
|
name: z.ZodString;
|
|
1494
1499
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1495
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1496
1500
|
type: z.ZodLiteral<"boolean">;
|
|
1497
1501
|
value: z.ZodBoolean;
|
|
1502
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1498
1503
|
id: z.ZodString;
|
|
1499
1504
|
instanceId: z.ZodString;
|
|
1500
1505
|
name: z.ZodString;
|
|
1501
1506
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1502
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1503
1507
|
type: z.ZodLiteral<"json">;
|
|
1504
1508
|
value: z.ZodUnknown;
|
|
1509
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1505
1510
|
id: z.ZodString;
|
|
1506
1511
|
instanceId: z.ZodString;
|
|
1507
1512
|
name: z.ZodString;
|
|
1508
1513
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1509
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1510
1514
|
type: z.ZodLiteral<"asset">;
|
|
1511
1515
|
value: z.ZodString;
|
|
1516
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1512
1517
|
id: z.ZodString;
|
|
1513
1518
|
instanceId: z.ZodString;
|
|
1514
1519
|
name: z.ZodString;
|
|
1515
1520
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1516
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1517
1521
|
type: z.ZodLiteral<"page">;
|
|
1518
1522
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1519
1523
|
pageId: z.ZodString;
|
|
1520
1524
|
instanceId: z.ZodString;
|
|
1521
1525
|
}, z.core.$strip>]>;
|
|
1526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1522
1527
|
id: z.ZodString;
|
|
1523
1528
|
instanceId: z.ZodString;
|
|
1524
1529
|
name: z.ZodString;
|
|
1525
1530
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1526
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1527
1531
|
type: z.ZodLiteral<"string[]">;
|
|
1528
1532
|
value: z.ZodArray<z.ZodString>;
|
|
1533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1529
1534
|
id: z.ZodString;
|
|
1530
1535
|
instanceId: z.ZodString;
|
|
1531
1536
|
name: z.ZodString;
|
|
1532
1537
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1533
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1534
1538
|
type: z.ZodLiteral<"parameter">;
|
|
1535
1539
|
value: z.ZodString;
|
|
1540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1536
1541
|
id: z.ZodString;
|
|
1537
1542
|
instanceId: z.ZodString;
|
|
1538
1543
|
name: z.ZodString;
|
|
1539
1544
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1540
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1541
1545
|
type: z.ZodLiteral<"resource">;
|
|
1542
1546
|
value: z.ZodString;
|
|
1547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1543
1548
|
id: z.ZodString;
|
|
1544
1549
|
instanceId: z.ZodString;
|
|
1545
1550
|
name: z.ZodString;
|
|
1546
1551
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1547
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1548
1552
|
type: z.ZodLiteral<"expression">;
|
|
1549
1553
|
value: z.ZodString;
|
|
1554
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1550
1555
|
id: z.ZodString;
|
|
1551
1556
|
instanceId: z.ZodString;
|
|
1552
1557
|
name: z.ZodString;
|
|
1553
1558
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1554
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1555
1559
|
type: z.ZodLiteral<"action">;
|
|
1556
1560
|
value: z.ZodArray<z.ZodObject<{
|
|
1557
1561
|
type: z.ZodLiteral<"execute">;
|
|
1558
1562
|
args: z.ZodArray<z.ZodString>;
|
|
1559
1563
|
code: z.ZodString;
|
|
1560
1564
|
}, z.core.$strip>>;
|
|
1565
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1561
1566
|
id: z.ZodString;
|
|
1562
1567
|
instanceId: z.ZodString;
|
|
1563
1568
|
name: z.ZodString;
|
|
1564
1569
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1565
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1566
1570
|
type: z.ZodLiteral<"animationAction">;
|
|
1567
1571
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1568
1572
|
type: z.ZodLiteral<"scroll">;
|
|
@@ -2203,7 +2207,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2203
2207
|
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2204
2208
|
type: z.ZodLiteral<"unit">;
|
|
2205
2209
|
value: z.ZodNumber;
|
|
2206
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
2210
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
2207
2211
|
}, z.core.$strip>, z.ZodObject<{
|
|
2208
2212
|
type: z.ZodLiteral<"var">;
|
|
2209
2213
|
value: z.ZodString;
|
|
@@ -2211,7 +2215,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2211
2215
|
delay: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2212
2216
|
type: z.ZodLiteral<"unit">;
|
|
2213
2217
|
value: z.ZodNumber;
|
|
2214
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
2218
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
2215
2219
|
}, z.core.$strip>, z.ZodObject<{
|
|
2216
2220
|
type: z.ZodLiteral<"var">;
|
|
2217
2221
|
value: z.ZodString;
|
|
@@ -2220,7 +2224,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2220
2224
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2221
2225
|
type: z.ZodLiteral<"unit">;
|
|
2222
2226
|
value: z.ZodNumber;
|
|
2223
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
2227
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
2224
2228
|
}, z.core.$strip>, z.ZodObject<{
|
|
2225
2229
|
type: z.ZodLiteral<"unparsed">;
|
|
2226
2230
|
value: z.ZodString;
|
|
@@ -2231,7 +2235,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2231
2235
|
rangeEnd: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2232
2236
|
type: z.ZodLiteral<"unit">;
|
|
2233
2237
|
value: z.ZodNumber;
|
|
2234
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
2238
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
2235
2239
|
}, z.core.$strip>, z.ZodObject<{
|
|
2236
2240
|
type: z.ZodLiteral<"unparsed">;
|
|
2237
2241
|
value: z.ZodString;
|
|
@@ -2882,7 +2886,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2882
2886
|
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2883
2887
|
type: z.ZodLiteral<"unit">;
|
|
2884
2888
|
value: z.ZodNumber;
|
|
2885
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
2889
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
2886
2890
|
}, z.core.$strip>, z.ZodObject<{
|
|
2887
2891
|
type: z.ZodLiteral<"var">;
|
|
2888
2892
|
value: z.ZodString;
|
|
@@ -2890,7 +2894,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2890
2894
|
delay: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2891
2895
|
type: z.ZodLiteral<"unit">;
|
|
2892
2896
|
value: z.ZodNumber;
|
|
2893
|
-
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"
|
|
2897
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"ms" | "s">[]]>;
|
|
2894
2898
|
}, z.core.$strip>, z.ZodObject<{
|
|
2895
2899
|
type: z.ZodLiteral<"var">;
|
|
2896
2900
|
value: z.ZodString;
|
|
@@ -2899,7 +2903,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2899
2903
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"contain">, z.ZodLiteral<"cover">, z.ZodLiteral<"entry">, z.ZodLiteral<"exit">, z.ZodLiteral<"entry-crossing">, z.ZodLiteral<"exit-crossing">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2900
2904
|
type: z.ZodLiteral<"unit">;
|
|
2901
2905
|
value: z.ZodNumber;
|
|
2902
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
2906
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
2903
2907
|
}, z.core.$strip>, z.ZodObject<{
|
|
2904
2908
|
type: z.ZodLiteral<"unparsed">;
|
|
2905
2909
|
value: z.ZodString;
|
|
@@ -2910,7 +2914,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2910
2914
|
rangeEnd: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"contain">, z.ZodLiteral<"cover">, z.ZodLiteral<"entry">, z.ZodLiteral<"exit">, z.ZodLiteral<"entry-crossing">, z.ZodLiteral<"exit-crossing">]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2911
2915
|
type: z.ZodLiteral<"unit">;
|
|
2912
2916
|
value: z.ZodNumber;
|
|
2913
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
2917
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
2914
2918
|
}, z.core.$strip>, z.ZodObject<{
|
|
2915
2919
|
type: z.ZodLiteral<"unparsed">;
|
|
2916
2920
|
value: z.ZodString;
|
|
@@ -2923,7 +2927,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2923
2927
|
insetStart: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
2924
2928
|
type: z.ZodLiteral<"unit">;
|
|
2925
2929
|
value: z.ZodNumber;
|
|
2926
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
2930
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
2927
2931
|
}, z.core.$strip>, z.ZodObject<{
|
|
2928
2932
|
type: z.ZodLiteral<"unparsed">;
|
|
2929
2933
|
value: z.ZodString;
|
|
@@ -2937,7 +2941,7 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2937
2941
|
insetEnd: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
2938
2942
|
type: z.ZodLiteral<"unit">;
|
|
2939
2943
|
value: z.ZodNumber;
|
|
2940
|
-
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"
|
|
2944
|
+
unit: z.ZodUnion<[z.ZodLiteral<"%">, z.ZodLiteral<"px">, ...z.ZodLiteral<"%" | "cap" | "ch" | "cm" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "em" | "ex" | "in" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "mm" | "pc" | "pt" | "px" | "q" | "rcap" | "rch" | "rem" | "rex" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">[]]>;
|
|
2941
2945
|
}, z.core.$strip>, z.ZodObject<{
|
|
2942
2946
|
type: z.ZodLiteral<"unparsed">;
|
|
2943
2947
|
value: z.ZodString;
|
|
@@ -2951,9 +2955,5 @@ export declare const props: z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodObje
|
|
|
2951
2955
|
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
2952
2956
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
2953
2957
|
}, z.core.$strip>], "type">;
|
|
2954
|
-
id: z.ZodString;
|
|
2955
|
-
instanceId: z.ZodString;
|
|
2956
|
-
name: z.ZodString;
|
|
2957
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
2958
2958
|
}, z.core.$strip>]>>;
|
|
2959
2959
|
export type Props = z.infer<typeof props>;
|