@nodetool-ai/protocol 0.8.3 → 0.8.4-a13.1
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/dist/.nodetool-build-stamp +1 -1
- package/dist/api-schemas/applications.d.ts +4 -0
- package/dist/api-schemas/applications.d.ts.map +1 -1
- package/dist/api-schemas/applications.js +4 -1
- package/dist/api-schemas/applications.js.map +1 -1
- package/dist/api-schemas/nodes.d.ts +2 -0
- package/dist/api-schemas/nodes.d.ts.map +1 -1
- package/dist/api-schemas/nodes.js +2 -1
- package/dist/api-schemas/nodes.js.map +1 -1
- package/dist/api-schemas/recipes.d.ts +8 -0
- package/dist/api-schemas/recipes.d.ts.map +1 -1
- package/dist/api-schemas/sdk-execution-v1.d.ts +81 -0
- package/dist/api-schemas/sdk-execution-v1.d.ts.map +1 -1
- package/dist/api-schemas/sdk-v1-http-operations.d.ts +2 -0
- package/dist/api-schemas/sdk-v1-http-operations.d.ts.map +1 -1
- package/dist/api-schemas/timeline-tool-contracts.d.ts +56 -0
- package/dist/api-schemas/timeline-tool-contracts.d.ts.map +1 -1
- package/dist/api-schemas/timeline-tool-contracts.js +4 -2
- package/dist/api-schemas/timeline-tool-contracts.js.map +1 -1
- package/dist/api-schemas/timeline.d.ts +478 -0
- package/dist/api-schemas/timeline.d.ts.map +1 -1
- package/dist/api-schemas/timeline.js +40 -0
- package/dist/api-schemas/timeline.js.map +1 -1
- package/dist/api-schemas/workflows.d.ts +24 -0
- package/dist/api-schemas/workflows.d.ts.map +1 -1
- package/dist/api-schemas/workflows.js +3 -0
- package/dist/api-schemas/workflows.js.map +1 -1
- package/dist/api-types.d.ts +8 -1
- package/dist/api-types.d.ts.map +1 -1
- package/dist/api-types.js +9 -1
- package/dist/api-types.js.map +1 -1
- package/dist/cloud-profile.d.ts.map +1 -1
- package/dist/cloud-profile.js +3 -0
- package/dist/cloud-profile.js.map +1 -1
- package/dist/custom-providers.js +1 -1
- package/dist/custom-providers.js.map +1 -1
- package/dist/example-needs.d.ts +24 -0
- package/dist/example-needs.d.ts.map +1 -0
- package/dist/example-needs.js +64 -0
- package/dist/example-needs.js.map +1 -0
- package/dist/game-particles.d.ts +74 -0
- package/dist/game-particles.d.ts.map +1 -1
- package/dist/game-particles.js +40 -1
- package/dist/game-particles.js.map +1 -1
- package/dist/game-saves.d.ts +73 -0
- package/dist/game-saves.d.ts.map +1 -0
- package/dist/game-saves.js +87 -0
- package/dist/game-saves.js.map +1 -0
- package/dist/game-screens.d.ts +2031 -0
- package/dist/game-screens.d.ts.map +1 -0
- package/dist/game-screens.js +89 -0
- package/dist/game-screens.js.map +1 -0
- package/dist/game2d/components/entity-components.d.ts +20 -0
- package/dist/game2d/components/entity-components.d.ts.map +1 -1
- package/dist/game2d/components/music.d.ts +4 -0
- package/dist/game2d/components/music.d.ts.map +1 -1
- package/dist/game2d/components/music.js +12 -1
- package/dist/game2d/components/music.js.map +1 -1
- package/dist/game2d/index.d.ts +1099 -0
- package/dist/game2d/index.d.ts.map +1 -1
- package/dist/game2d/index.js +7 -1
- package/dist/game2d/index.js.map +1 -1
- package/dist/game3d/components/animation-graph.d.ts +1 -0
- package/dist/game3d/components/animation-graph.d.ts.map +1 -1
- package/dist/game3d/components/animation-graph.js +1 -1
- package/dist/game3d/components/animation-graph.js.map +1 -1
- package/dist/game3d/components/assets.d.ts +30 -0
- package/dist/game3d/components/assets.d.ts.map +1 -1
- package/dist/game3d/components/assets.js +4 -1
- package/dist/game3d/components/assets.js.map +1 -1
- package/dist/game3d/components/collider.d.ts +65 -0
- package/dist/game3d/components/collider.d.ts.map +1 -1
- package/dist/game3d/components/collider.js +6 -1
- package/dist/game3d/components/collider.js.map +1 -1
- package/dist/game3d/components/force-command.d.ts +30 -0
- package/dist/game3d/components/force-command.d.ts.map +1 -0
- package/dist/game3d/components/force-command.js +10 -0
- package/dist/game3d/components/force-command.js.map +1 -0
- package/dist/game3d/components/material.d.ts +66 -0
- package/dist/game3d/components/material.d.ts.map +1 -1
- package/dist/game3d/components/material.js +13 -2
- package/dist/game3d/components/material.js.map +1 -1
- package/dist/game3d/components/model.d.ts +54 -0
- package/dist/game3d/components/model.d.ts.map +1 -1
- package/dist/game3d/components/model.js +1 -0
- package/dist/game3d/components/model.js.map +1 -1
- package/dist/game3d/components/performance.js +1 -1
- package/dist/game3d/components/performance.js.map +1 -1
- package/dist/game3d/components/physics-material.d.ts +50 -0
- package/dist/game3d/components/physics-material.d.ts.map +1 -0
- package/dist/game3d/components/physics-material.js +20 -0
- package/dist/game3d/components/physics-material.js.map +1 -0
- package/dist/game3d/components/primitive.d.ts +54 -0
- package/dist/game3d/components/primitive.d.ts.map +1 -1
- package/dist/game3d/components/primitive.js +2 -1
- package/dist/game3d/components/primitive.js.map +1 -1
- package/dist/game3d/index.d.ts +9827 -3715
- package/dist/game3d/index.d.ts.map +1 -1
- package/dist/game3d/index.js +29 -8
- package/dist/game3d/index.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/messages.d.ts +302 -0
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +7 -1
- package/dist/messages.js.map +1 -1
- package/dist/missing-pack.d.ts +45 -0
- package/dist/missing-pack.d.ts.map +1 -0
- package/dist/missing-pack.js +53 -0
- package/dist/missing-pack.js.map +1 -0
- package/dist/missing-runtime-package.d.ts +56 -2
- package/dist/missing-runtime-package.d.ts.map +1 -1
- package/dist/missing-runtime-package.js +141 -6
- package/dist/missing-runtime-package.js.map +1 -1
- package/dist/processing-messages.schema.json +357 -0
- package/dist/python-packs.d.ts +2 -0
- package/dist/python-packs.d.ts.map +1 -1
- package/dist/python-packs.js +5 -0
- package/dist/python-packs.js.map +1 -1
- package/dist/resource-id.d.ts +10 -0
- package/dist/resource-id.d.ts.map +1 -1
- package/dist/resource-id.js +21 -0
- package/dist/resource-id.js.map +1 -1
- package/dist/runtime-npm-packages.d.ts +101 -0
- package/dist/runtime-npm-packages.d.ts.map +1 -0
- package/dist/runtime-npm-packages.js +124 -0
- package/dist/runtime-npm-packages.js.map +1 -0
- package/dist/screenplay-authoring.js +1 -1
- package/dist/screenplay-authoring.js.map +1 -1
- package/dist/token-providers.d.ts.map +1 -1
- package/dist/token-providers.js +3 -1
- package/dist/token-providers.js.map +1 -1
- package/dist/workflow-plan.d.ts.map +1 -1
- package/dist/workflow-plan.js +39 -40
- package/dist/workflow-plan.js.map +1 -1
- package/package.json +8 -1
- package/schema/sdk-v1.discovery.schema.json +4 -2
- package/schema/sdk-v1.execution.schema.json +714 -0
- package/schema/sdk-v1.manifest.json +2 -2
package/dist/game2d/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export * from "../game-input.js";
|
|
3
3
|
export * from "../game-ui.js";
|
|
4
|
+
export * from "../game-screens.js";
|
|
4
5
|
export declare const gameEntity: z.ZodObject<{
|
|
5
6
|
sprite: z.ZodOptional<z.ZodObject<{
|
|
6
7
|
assetId: z.ZodString;
|
|
@@ -307,6 +308,26 @@ export declare const gameEntity: z.ZodObject<{
|
|
|
307
308
|
}>>;
|
|
308
309
|
unlit: z.ZodOptional<z.ZodBoolean>;
|
|
309
310
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
render: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
312
|
+
kind: z.ZodLiteral<"billboard">;
|
|
313
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
314
|
+
kind: z.ZodLiteral<"stretched">;
|
|
315
|
+
length: z.ZodDefault<z.ZodNumber>;
|
|
316
|
+
speedScale: z.ZodDefault<z.ZodNumber>;
|
|
317
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
318
|
+
kind: z.ZodLiteral<"mesh">;
|
|
319
|
+
shape: z.ZodEnum<{
|
|
320
|
+
box: "box";
|
|
321
|
+
octahedron: "octahedron";
|
|
322
|
+
sphere: "sphere";
|
|
323
|
+
tetrahedron: "tetrahedron";
|
|
324
|
+
}>;
|
|
325
|
+
align: z.ZodDefault<z.ZodEnum<{
|
|
326
|
+
velocity: "velocity";
|
|
327
|
+
world: "world";
|
|
328
|
+
}>>;
|
|
329
|
+
}, z.core.$strict>], "kind">>;
|
|
330
|
+
softness: z.ZodOptional<z.ZodNumber>;
|
|
310
331
|
}, z.core.$strict>>;
|
|
311
332
|
}, z.core.$strict>>;
|
|
312
333
|
id: z.ZodString;
|
|
@@ -430,6 +451,10 @@ export declare const gameScene: z.ZodObject<{
|
|
|
430
451
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
431
452
|
fadeInTicks: z.ZodDefault<z.ZodNumber>;
|
|
432
453
|
fadeOutTicks: z.ZodDefault<z.ZodNumber>;
|
|
454
|
+
streaming: z.ZodOptional<z.ZodObject<{
|
|
455
|
+
loopStartSeconds: z.ZodDefault<z.ZodNumber>;
|
|
456
|
+
loopEndSeconds: z.ZodOptional<z.ZodNumber>;
|
|
457
|
+
}, z.core.$strict>>;
|
|
433
458
|
}, z.core.$strict>>;
|
|
434
459
|
lighting: z.ZodOptional<z.ZodObject<{
|
|
435
460
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -756,6 +781,26 @@ export declare const gameScene: z.ZodObject<{
|
|
|
756
781
|
}>>;
|
|
757
782
|
unlit: z.ZodOptional<z.ZodBoolean>;
|
|
758
783
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
784
|
+
render: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
785
|
+
kind: z.ZodLiteral<"billboard">;
|
|
786
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
787
|
+
kind: z.ZodLiteral<"stretched">;
|
|
788
|
+
length: z.ZodDefault<z.ZodNumber>;
|
|
789
|
+
speedScale: z.ZodDefault<z.ZodNumber>;
|
|
790
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
791
|
+
kind: z.ZodLiteral<"mesh">;
|
|
792
|
+
shape: z.ZodEnum<{
|
|
793
|
+
box: "box";
|
|
794
|
+
octahedron: "octahedron";
|
|
795
|
+
sphere: "sphere";
|
|
796
|
+
tetrahedron: "tetrahedron";
|
|
797
|
+
}>;
|
|
798
|
+
align: z.ZodDefault<z.ZodEnum<{
|
|
799
|
+
velocity: "velocity";
|
|
800
|
+
world: "world";
|
|
801
|
+
}>>;
|
|
802
|
+
}, z.core.$strict>], "kind">>;
|
|
803
|
+
softness: z.ZodOptional<z.ZodNumber>;
|
|
759
804
|
}, z.core.$strict>>;
|
|
760
805
|
}, z.core.$strict>>;
|
|
761
806
|
id: z.ZodString;
|
|
@@ -1539,6 +1584,1008 @@ export declare const gameDocument: z.ZodObject<{
|
|
|
1539
1584
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
1540
1585
|
}, z.core.$strict>], "kind">>;
|
|
1541
1586
|
}, z.core.$strict>>;
|
|
1587
|
+
screens: z.ZodOptional<z.ZodObject<{
|
|
1588
|
+
initial: z.ZodOptional<z.ZodString>;
|
|
1589
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1590
|
+
id: z.ZodString;
|
|
1591
|
+
pauseSimulation: z.ZodOptional<z.ZodBoolean>;
|
|
1592
|
+
kind: z.ZodLiteral<"title">;
|
|
1593
|
+
ui: z.ZodObject<{
|
|
1594
|
+
safeArea: z.ZodOptional<z.ZodBoolean>;
|
|
1595
|
+
focusNavigation: z.ZodOptional<z.ZodBoolean>;
|
|
1596
|
+
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1597
|
+
id: z.ZodString;
|
|
1598
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1600
|
+
x: z.ZodNumber;
|
|
1601
|
+
y: z.ZodNumber;
|
|
1602
|
+
}, z.core.$strict>>;
|
|
1603
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1604
|
+
x: z.ZodNumber;
|
|
1605
|
+
y: z.ZodNumber;
|
|
1606
|
+
}, z.core.$strict>>;
|
|
1607
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1608
|
+
x: z.ZodNumber;
|
|
1609
|
+
y: z.ZodNumber;
|
|
1610
|
+
}, z.core.$strict>>;
|
|
1611
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1612
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1613
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1614
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
+
kind: z.ZodLiteral<"panel">;
|
|
1616
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1617
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
1618
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1619
|
+
id: z.ZodString;
|
|
1620
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1622
|
+
x: z.ZodNumber;
|
|
1623
|
+
y: z.ZodNumber;
|
|
1624
|
+
}, z.core.$strict>>;
|
|
1625
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1626
|
+
x: z.ZodNumber;
|
|
1627
|
+
y: z.ZodNumber;
|
|
1628
|
+
}, z.core.$strict>>;
|
|
1629
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1630
|
+
x: z.ZodNumber;
|
|
1631
|
+
y: z.ZodNumber;
|
|
1632
|
+
}, z.core.$strict>>;
|
|
1633
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1634
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1635
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1636
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1637
|
+
kind: z.ZodLiteral<"image">;
|
|
1638
|
+
assetId: z.ZodString;
|
|
1639
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1640
|
+
id: z.ZodString;
|
|
1641
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1642
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1643
|
+
x: z.ZodNumber;
|
|
1644
|
+
y: z.ZodNumber;
|
|
1645
|
+
}, z.core.$strict>>;
|
|
1646
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1647
|
+
x: z.ZodNumber;
|
|
1648
|
+
y: z.ZodNumber;
|
|
1649
|
+
}, z.core.$strict>>;
|
|
1650
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1651
|
+
x: z.ZodNumber;
|
|
1652
|
+
y: z.ZodNumber;
|
|
1653
|
+
}, z.core.$strict>>;
|
|
1654
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1655
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1656
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1657
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1658
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1659
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
kind: z.ZodLiteral<"text">;
|
|
1662
|
+
text: z.ZodString;
|
|
1663
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
1664
|
+
center: "center";
|
|
1665
|
+
left: "left";
|
|
1666
|
+
right: "right";
|
|
1667
|
+
}>>;
|
|
1668
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1669
|
+
id: z.ZodString;
|
|
1670
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1671
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1672
|
+
x: z.ZodNumber;
|
|
1673
|
+
y: z.ZodNumber;
|
|
1674
|
+
}, z.core.$strict>>;
|
|
1675
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1676
|
+
x: z.ZodNumber;
|
|
1677
|
+
y: z.ZodNumber;
|
|
1678
|
+
}, z.core.$strict>>;
|
|
1679
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1680
|
+
x: z.ZodNumber;
|
|
1681
|
+
y: z.ZodNumber;
|
|
1682
|
+
}, z.core.$strict>>;
|
|
1683
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1684
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1685
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1686
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1687
|
+
kind: z.ZodLiteral<"bar">;
|
|
1688
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1689
|
+
kind: z.ZodLiteral<"value">;
|
|
1690
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1691
|
+
kind: z.ZodLiteral<"health">;
|
|
1692
|
+
entityId: z.ZodString;
|
|
1693
|
+
}, z.core.$strict>], "kind">>;
|
|
1694
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
1695
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1696
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1699
|
+
bottomToTop: "bottomToTop";
|
|
1700
|
+
leftToRight: "leftToRight";
|
|
1701
|
+
rightToLeft: "rightToLeft";
|
|
1702
|
+
topToBottom: "topToBottom";
|
|
1703
|
+
}>>;
|
|
1704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1705
|
+
id: z.ZodString;
|
|
1706
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1708
|
+
x: z.ZodNumber;
|
|
1709
|
+
y: z.ZodNumber;
|
|
1710
|
+
}, z.core.$strict>>;
|
|
1711
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1712
|
+
x: z.ZodNumber;
|
|
1713
|
+
y: z.ZodNumber;
|
|
1714
|
+
}, z.core.$strict>>;
|
|
1715
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1716
|
+
x: z.ZodNumber;
|
|
1717
|
+
y: z.ZodNumber;
|
|
1718
|
+
}, z.core.$strict>>;
|
|
1719
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1720
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1721
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1722
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1723
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1724
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1725
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
kind: z.ZodLiteral<"button">;
|
|
1727
|
+
action: z.ZodString;
|
|
1728
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1731
|
+
id: z.ZodString;
|
|
1732
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1734
|
+
x: z.ZodNumber;
|
|
1735
|
+
y: z.ZodNumber;
|
|
1736
|
+
}, z.core.$strict>>;
|
|
1737
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
x: z.ZodNumber;
|
|
1739
|
+
y: z.ZodNumber;
|
|
1740
|
+
}, z.core.$strict>>;
|
|
1741
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1742
|
+
x: z.ZodNumber;
|
|
1743
|
+
y: z.ZodNumber;
|
|
1744
|
+
}, z.core.$strict>>;
|
|
1745
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1746
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1747
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1748
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1749
|
+
kind: z.ZodLiteral<"stack">;
|
|
1750
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1751
|
+
horizontal: "horizontal";
|
|
1752
|
+
vertical: "vertical";
|
|
1753
|
+
}>>;
|
|
1754
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
1755
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
1756
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
1757
|
+
center: "center";
|
|
1758
|
+
end: "end";
|
|
1759
|
+
start: "start";
|
|
1760
|
+
}>>;
|
|
1761
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1762
|
+
id: z.ZodString;
|
|
1763
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1764
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1765
|
+
x: z.ZodNumber;
|
|
1766
|
+
y: z.ZodNumber;
|
|
1767
|
+
}, z.core.$strict>>;
|
|
1768
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1769
|
+
x: z.ZodNumber;
|
|
1770
|
+
y: z.ZodNumber;
|
|
1771
|
+
}, z.core.$strict>>;
|
|
1772
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1773
|
+
x: z.ZodNumber;
|
|
1774
|
+
y: z.ZodNumber;
|
|
1775
|
+
}, z.core.$strict>>;
|
|
1776
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1777
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1778
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1779
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1780
|
+
kind: z.ZodLiteral<"grid">;
|
|
1781
|
+
columns: z.ZodNumber;
|
|
1782
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
1783
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
1784
|
+
}, z.core.$strict>], "kind">>;
|
|
1785
|
+
}, z.core.$strict>;
|
|
1786
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1787
|
+
id: z.ZodString;
|
|
1788
|
+
pauseSimulation: z.ZodOptional<z.ZodBoolean>;
|
|
1789
|
+
kind: z.ZodLiteral<"pause">;
|
|
1790
|
+
ui: z.ZodObject<{
|
|
1791
|
+
safeArea: z.ZodOptional<z.ZodBoolean>;
|
|
1792
|
+
focusNavigation: z.ZodOptional<z.ZodBoolean>;
|
|
1793
|
+
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1794
|
+
id: z.ZodString;
|
|
1795
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1797
|
+
x: z.ZodNumber;
|
|
1798
|
+
y: z.ZodNumber;
|
|
1799
|
+
}, z.core.$strict>>;
|
|
1800
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1801
|
+
x: z.ZodNumber;
|
|
1802
|
+
y: z.ZodNumber;
|
|
1803
|
+
}, z.core.$strict>>;
|
|
1804
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1805
|
+
x: z.ZodNumber;
|
|
1806
|
+
y: z.ZodNumber;
|
|
1807
|
+
}, z.core.$strict>>;
|
|
1808
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1809
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1810
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1811
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1812
|
+
kind: z.ZodLiteral<"panel">;
|
|
1813
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1816
|
+
id: z.ZodString;
|
|
1817
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1818
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1819
|
+
x: z.ZodNumber;
|
|
1820
|
+
y: z.ZodNumber;
|
|
1821
|
+
}, z.core.$strict>>;
|
|
1822
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1823
|
+
x: z.ZodNumber;
|
|
1824
|
+
y: z.ZodNumber;
|
|
1825
|
+
}, z.core.$strict>>;
|
|
1826
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1827
|
+
x: z.ZodNumber;
|
|
1828
|
+
y: z.ZodNumber;
|
|
1829
|
+
}, z.core.$strict>>;
|
|
1830
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1833
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1834
|
+
kind: z.ZodLiteral<"image">;
|
|
1835
|
+
assetId: z.ZodString;
|
|
1836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1837
|
+
id: z.ZodString;
|
|
1838
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1840
|
+
x: z.ZodNumber;
|
|
1841
|
+
y: z.ZodNumber;
|
|
1842
|
+
}, z.core.$strict>>;
|
|
1843
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1844
|
+
x: z.ZodNumber;
|
|
1845
|
+
y: z.ZodNumber;
|
|
1846
|
+
}, z.core.$strict>>;
|
|
1847
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1848
|
+
x: z.ZodNumber;
|
|
1849
|
+
y: z.ZodNumber;
|
|
1850
|
+
}, z.core.$strict>>;
|
|
1851
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1852
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1853
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1854
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1855
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1856
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1857
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
1858
|
+
kind: z.ZodLiteral<"text">;
|
|
1859
|
+
text: z.ZodString;
|
|
1860
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
1861
|
+
center: "center";
|
|
1862
|
+
left: "left";
|
|
1863
|
+
right: "right";
|
|
1864
|
+
}>>;
|
|
1865
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1866
|
+
id: z.ZodString;
|
|
1867
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1869
|
+
x: z.ZodNumber;
|
|
1870
|
+
y: z.ZodNumber;
|
|
1871
|
+
}, z.core.$strict>>;
|
|
1872
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1873
|
+
x: z.ZodNumber;
|
|
1874
|
+
y: z.ZodNumber;
|
|
1875
|
+
}, z.core.$strict>>;
|
|
1876
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1877
|
+
x: z.ZodNumber;
|
|
1878
|
+
y: z.ZodNumber;
|
|
1879
|
+
}, z.core.$strict>>;
|
|
1880
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1881
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1882
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1883
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1884
|
+
kind: z.ZodLiteral<"bar">;
|
|
1885
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1886
|
+
kind: z.ZodLiteral<"value">;
|
|
1887
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1888
|
+
kind: z.ZodLiteral<"health">;
|
|
1889
|
+
entityId: z.ZodString;
|
|
1890
|
+
}, z.core.$strict>], "kind">>;
|
|
1891
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
1892
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1893
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1894
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1895
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1896
|
+
bottomToTop: "bottomToTop";
|
|
1897
|
+
leftToRight: "leftToRight";
|
|
1898
|
+
rightToLeft: "rightToLeft";
|
|
1899
|
+
topToBottom: "topToBottom";
|
|
1900
|
+
}>>;
|
|
1901
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1902
|
+
id: z.ZodString;
|
|
1903
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1904
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1905
|
+
x: z.ZodNumber;
|
|
1906
|
+
y: z.ZodNumber;
|
|
1907
|
+
}, z.core.$strict>>;
|
|
1908
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1909
|
+
x: z.ZodNumber;
|
|
1910
|
+
y: z.ZodNumber;
|
|
1911
|
+
}, z.core.$strict>>;
|
|
1912
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1913
|
+
x: z.ZodNumber;
|
|
1914
|
+
y: z.ZodNumber;
|
|
1915
|
+
}, z.core.$strict>>;
|
|
1916
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1917
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1918
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1919
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1920
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1921
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1922
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
1923
|
+
kind: z.ZodLiteral<"button">;
|
|
1924
|
+
action: z.ZodString;
|
|
1925
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
background: z.ZodOptional<z.ZodString>;
|
|
1927
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1928
|
+
id: z.ZodString;
|
|
1929
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1930
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1931
|
+
x: z.ZodNumber;
|
|
1932
|
+
y: z.ZodNumber;
|
|
1933
|
+
}, z.core.$strict>>;
|
|
1934
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1935
|
+
x: z.ZodNumber;
|
|
1936
|
+
y: z.ZodNumber;
|
|
1937
|
+
}, z.core.$strict>>;
|
|
1938
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1939
|
+
x: z.ZodNumber;
|
|
1940
|
+
y: z.ZodNumber;
|
|
1941
|
+
}, z.core.$strict>>;
|
|
1942
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1943
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1944
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1945
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1946
|
+
kind: z.ZodLiteral<"stack">;
|
|
1947
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1948
|
+
horizontal: "horizontal";
|
|
1949
|
+
vertical: "vertical";
|
|
1950
|
+
}>>;
|
|
1951
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
1952
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
1953
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
1954
|
+
center: "center";
|
|
1955
|
+
end: "end";
|
|
1956
|
+
start: "start";
|
|
1957
|
+
}>>;
|
|
1958
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1959
|
+
id: z.ZodString;
|
|
1960
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1962
|
+
x: z.ZodNumber;
|
|
1963
|
+
y: z.ZodNumber;
|
|
1964
|
+
}, z.core.$strict>>;
|
|
1965
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1966
|
+
x: z.ZodNumber;
|
|
1967
|
+
y: z.ZodNumber;
|
|
1968
|
+
}, z.core.$strict>>;
|
|
1969
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
1970
|
+
x: z.ZodNumber;
|
|
1971
|
+
y: z.ZodNumber;
|
|
1972
|
+
}, z.core.$strict>>;
|
|
1973
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1974
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1975
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1976
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1977
|
+
kind: z.ZodLiteral<"grid">;
|
|
1978
|
+
columns: z.ZodNumber;
|
|
1979
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
1980
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
1981
|
+
}, z.core.$strict>], "kind">>;
|
|
1982
|
+
}, z.core.$strict>;
|
|
1983
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1984
|
+
id: z.ZodString;
|
|
1985
|
+
pauseSimulation: z.ZodOptional<z.ZodBoolean>;
|
|
1986
|
+
kind: z.ZodLiteral<"settings">;
|
|
1987
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
1988
|
+
safeArea: z.ZodOptional<z.ZodBoolean>;
|
|
1989
|
+
focusNavigation: z.ZodOptional<z.ZodBoolean>;
|
|
1990
|
+
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1991
|
+
id: z.ZodString;
|
|
1992
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1993
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
1994
|
+
x: z.ZodNumber;
|
|
1995
|
+
y: z.ZodNumber;
|
|
1996
|
+
}, z.core.$strict>>;
|
|
1997
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
1998
|
+
x: z.ZodNumber;
|
|
1999
|
+
y: z.ZodNumber;
|
|
2000
|
+
}, z.core.$strict>>;
|
|
2001
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2002
|
+
x: z.ZodNumber;
|
|
2003
|
+
y: z.ZodNumber;
|
|
2004
|
+
}, z.core.$strict>>;
|
|
2005
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2006
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2007
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2008
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2009
|
+
kind: z.ZodLiteral<"panel">;
|
|
2010
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2011
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
2012
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2013
|
+
id: z.ZodString;
|
|
2014
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2015
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2016
|
+
x: z.ZodNumber;
|
|
2017
|
+
y: z.ZodNumber;
|
|
2018
|
+
}, z.core.$strict>>;
|
|
2019
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2020
|
+
x: z.ZodNumber;
|
|
2021
|
+
y: z.ZodNumber;
|
|
2022
|
+
}, z.core.$strict>>;
|
|
2023
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2024
|
+
x: z.ZodNumber;
|
|
2025
|
+
y: z.ZodNumber;
|
|
2026
|
+
}, z.core.$strict>>;
|
|
2027
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2028
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2029
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2030
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2031
|
+
kind: z.ZodLiteral<"image">;
|
|
2032
|
+
assetId: z.ZodString;
|
|
2033
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2034
|
+
id: z.ZodString;
|
|
2035
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2036
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2037
|
+
x: z.ZodNumber;
|
|
2038
|
+
y: z.ZodNumber;
|
|
2039
|
+
}, z.core.$strict>>;
|
|
2040
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2041
|
+
x: z.ZodNumber;
|
|
2042
|
+
y: z.ZodNumber;
|
|
2043
|
+
}, z.core.$strict>>;
|
|
2044
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2045
|
+
x: z.ZodNumber;
|
|
2046
|
+
y: z.ZodNumber;
|
|
2047
|
+
}, z.core.$strict>>;
|
|
2048
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2049
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2050
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2051
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2052
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2053
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2054
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
2055
|
+
kind: z.ZodLiteral<"text">;
|
|
2056
|
+
text: z.ZodString;
|
|
2057
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2058
|
+
center: "center";
|
|
2059
|
+
left: "left";
|
|
2060
|
+
right: "right";
|
|
2061
|
+
}>>;
|
|
2062
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2063
|
+
id: z.ZodString;
|
|
2064
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2066
|
+
x: z.ZodNumber;
|
|
2067
|
+
y: z.ZodNumber;
|
|
2068
|
+
}, z.core.$strict>>;
|
|
2069
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2070
|
+
x: z.ZodNumber;
|
|
2071
|
+
y: z.ZodNumber;
|
|
2072
|
+
}, z.core.$strict>>;
|
|
2073
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2074
|
+
x: z.ZodNumber;
|
|
2075
|
+
y: z.ZodNumber;
|
|
2076
|
+
}, z.core.$strict>>;
|
|
2077
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2078
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2079
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2080
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2081
|
+
kind: z.ZodLiteral<"bar">;
|
|
2082
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2083
|
+
kind: z.ZodLiteral<"value">;
|
|
2084
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2085
|
+
kind: z.ZodLiteral<"health">;
|
|
2086
|
+
entityId: z.ZodString;
|
|
2087
|
+
}, z.core.$strict>], "kind">>;
|
|
2088
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
2089
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2090
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2092
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2093
|
+
bottomToTop: "bottomToTop";
|
|
2094
|
+
leftToRight: "leftToRight";
|
|
2095
|
+
rightToLeft: "rightToLeft";
|
|
2096
|
+
topToBottom: "topToBottom";
|
|
2097
|
+
}>>;
|
|
2098
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2099
|
+
id: z.ZodString;
|
|
2100
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2101
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2102
|
+
x: z.ZodNumber;
|
|
2103
|
+
y: z.ZodNumber;
|
|
2104
|
+
}, z.core.$strict>>;
|
|
2105
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2106
|
+
x: z.ZodNumber;
|
|
2107
|
+
y: z.ZodNumber;
|
|
2108
|
+
}, z.core.$strict>>;
|
|
2109
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2110
|
+
x: z.ZodNumber;
|
|
2111
|
+
y: z.ZodNumber;
|
|
2112
|
+
}, z.core.$strict>>;
|
|
2113
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2114
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2115
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2116
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2117
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2118
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
2120
|
+
kind: z.ZodLiteral<"button">;
|
|
2121
|
+
action: z.ZodString;
|
|
2122
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2125
|
+
id: z.ZodString;
|
|
2126
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2127
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2128
|
+
x: z.ZodNumber;
|
|
2129
|
+
y: z.ZodNumber;
|
|
2130
|
+
}, z.core.$strict>>;
|
|
2131
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2132
|
+
x: z.ZodNumber;
|
|
2133
|
+
y: z.ZodNumber;
|
|
2134
|
+
}, z.core.$strict>>;
|
|
2135
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2136
|
+
x: z.ZodNumber;
|
|
2137
|
+
y: z.ZodNumber;
|
|
2138
|
+
}, z.core.$strict>>;
|
|
2139
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2140
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2141
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2142
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2143
|
+
kind: z.ZodLiteral<"stack">;
|
|
2144
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2145
|
+
horizontal: "horizontal";
|
|
2146
|
+
vertical: "vertical";
|
|
2147
|
+
}>>;
|
|
2148
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
2149
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2150
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2151
|
+
center: "center";
|
|
2152
|
+
end: "end";
|
|
2153
|
+
start: "start";
|
|
2154
|
+
}>>;
|
|
2155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2156
|
+
id: z.ZodString;
|
|
2157
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2159
|
+
x: z.ZodNumber;
|
|
2160
|
+
y: z.ZodNumber;
|
|
2161
|
+
}, z.core.$strict>>;
|
|
2162
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2163
|
+
x: z.ZodNumber;
|
|
2164
|
+
y: z.ZodNumber;
|
|
2165
|
+
}, z.core.$strict>>;
|
|
2166
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2167
|
+
x: z.ZodNumber;
|
|
2168
|
+
y: z.ZodNumber;
|
|
2169
|
+
}, z.core.$strict>>;
|
|
2170
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2171
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2172
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2173
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2174
|
+
kind: z.ZodLiteral<"grid">;
|
|
2175
|
+
columns: z.ZodNumber;
|
|
2176
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
2177
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2178
|
+
}, z.core.$strict>], "kind">>;
|
|
2179
|
+
}, z.core.$strict>>;
|
|
2180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2181
|
+
id: z.ZodString;
|
|
2182
|
+
pauseSimulation: z.ZodOptional<z.ZodBoolean>;
|
|
2183
|
+
kind: z.ZodLiteral<"gameOver">;
|
|
2184
|
+
ui: z.ZodObject<{
|
|
2185
|
+
safeArea: z.ZodOptional<z.ZodBoolean>;
|
|
2186
|
+
focusNavigation: z.ZodOptional<z.ZodBoolean>;
|
|
2187
|
+
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2188
|
+
id: z.ZodString;
|
|
2189
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2190
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2191
|
+
x: z.ZodNumber;
|
|
2192
|
+
y: z.ZodNumber;
|
|
2193
|
+
}, z.core.$strict>>;
|
|
2194
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2195
|
+
x: z.ZodNumber;
|
|
2196
|
+
y: z.ZodNumber;
|
|
2197
|
+
}, z.core.$strict>>;
|
|
2198
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2199
|
+
x: z.ZodNumber;
|
|
2200
|
+
y: z.ZodNumber;
|
|
2201
|
+
}, z.core.$strict>>;
|
|
2202
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2203
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2204
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2205
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2206
|
+
kind: z.ZodLiteral<"panel">;
|
|
2207
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2208
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
2209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2210
|
+
id: z.ZodString;
|
|
2211
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2212
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2213
|
+
x: z.ZodNumber;
|
|
2214
|
+
y: z.ZodNumber;
|
|
2215
|
+
}, z.core.$strict>>;
|
|
2216
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2217
|
+
x: z.ZodNumber;
|
|
2218
|
+
y: z.ZodNumber;
|
|
2219
|
+
}, z.core.$strict>>;
|
|
2220
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2221
|
+
x: z.ZodNumber;
|
|
2222
|
+
y: z.ZodNumber;
|
|
2223
|
+
}, z.core.$strict>>;
|
|
2224
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2225
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2226
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2227
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2228
|
+
kind: z.ZodLiteral<"image">;
|
|
2229
|
+
assetId: z.ZodString;
|
|
2230
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2231
|
+
id: z.ZodString;
|
|
2232
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2233
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2234
|
+
x: z.ZodNumber;
|
|
2235
|
+
y: z.ZodNumber;
|
|
2236
|
+
}, z.core.$strict>>;
|
|
2237
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2238
|
+
x: z.ZodNumber;
|
|
2239
|
+
y: z.ZodNumber;
|
|
2240
|
+
}, z.core.$strict>>;
|
|
2241
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2242
|
+
x: z.ZodNumber;
|
|
2243
|
+
y: z.ZodNumber;
|
|
2244
|
+
}, z.core.$strict>>;
|
|
2245
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2246
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2247
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2248
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2249
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2250
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2251
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
2252
|
+
kind: z.ZodLiteral<"text">;
|
|
2253
|
+
text: z.ZodString;
|
|
2254
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2255
|
+
center: "center";
|
|
2256
|
+
left: "left";
|
|
2257
|
+
right: "right";
|
|
2258
|
+
}>>;
|
|
2259
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2260
|
+
id: z.ZodString;
|
|
2261
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2263
|
+
x: z.ZodNumber;
|
|
2264
|
+
y: z.ZodNumber;
|
|
2265
|
+
}, z.core.$strict>>;
|
|
2266
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2267
|
+
x: z.ZodNumber;
|
|
2268
|
+
y: z.ZodNumber;
|
|
2269
|
+
}, z.core.$strict>>;
|
|
2270
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2271
|
+
x: z.ZodNumber;
|
|
2272
|
+
y: z.ZodNumber;
|
|
2273
|
+
}, z.core.$strict>>;
|
|
2274
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2275
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2276
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2277
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2278
|
+
kind: z.ZodLiteral<"bar">;
|
|
2279
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2280
|
+
kind: z.ZodLiteral<"value">;
|
|
2281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2282
|
+
kind: z.ZodLiteral<"health">;
|
|
2283
|
+
entityId: z.ZodString;
|
|
2284
|
+
}, z.core.$strict>], "kind">>;
|
|
2285
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
2286
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2287
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2289
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2290
|
+
bottomToTop: "bottomToTop";
|
|
2291
|
+
leftToRight: "leftToRight";
|
|
2292
|
+
rightToLeft: "rightToLeft";
|
|
2293
|
+
topToBottom: "topToBottom";
|
|
2294
|
+
}>>;
|
|
2295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2296
|
+
id: z.ZodString;
|
|
2297
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2298
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2299
|
+
x: z.ZodNumber;
|
|
2300
|
+
y: z.ZodNumber;
|
|
2301
|
+
}, z.core.$strict>>;
|
|
2302
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2303
|
+
x: z.ZodNumber;
|
|
2304
|
+
y: z.ZodNumber;
|
|
2305
|
+
}, z.core.$strict>>;
|
|
2306
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2307
|
+
x: z.ZodNumber;
|
|
2308
|
+
y: z.ZodNumber;
|
|
2309
|
+
}, z.core.$strict>>;
|
|
2310
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2311
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2312
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2313
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2314
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2315
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2316
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
2317
|
+
kind: z.ZodLiteral<"button">;
|
|
2318
|
+
action: z.ZodString;
|
|
2319
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2320
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2321
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2322
|
+
id: z.ZodString;
|
|
2323
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2324
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2325
|
+
x: z.ZodNumber;
|
|
2326
|
+
y: z.ZodNumber;
|
|
2327
|
+
}, z.core.$strict>>;
|
|
2328
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2329
|
+
x: z.ZodNumber;
|
|
2330
|
+
y: z.ZodNumber;
|
|
2331
|
+
}, z.core.$strict>>;
|
|
2332
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2333
|
+
x: z.ZodNumber;
|
|
2334
|
+
y: z.ZodNumber;
|
|
2335
|
+
}, z.core.$strict>>;
|
|
2336
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2337
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2338
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2339
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2340
|
+
kind: z.ZodLiteral<"stack">;
|
|
2341
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2342
|
+
horizontal: "horizontal";
|
|
2343
|
+
vertical: "vertical";
|
|
2344
|
+
}>>;
|
|
2345
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
2346
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2347
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2348
|
+
center: "center";
|
|
2349
|
+
end: "end";
|
|
2350
|
+
start: "start";
|
|
2351
|
+
}>>;
|
|
2352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2353
|
+
id: z.ZodString;
|
|
2354
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2355
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2356
|
+
x: z.ZodNumber;
|
|
2357
|
+
y: z.ZodNumber;
|
|
2358
|
+
}, z.core.$strict>>;
|
|
2359
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2360
|
+
x: z.ZodNumber;
|
|
2361
|
+
y: z.ZodNumber;
|
|
2362
|
+
}, z.core.$strict>>;
|
|
2363
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2364
|
+
x: z.ZodNumber;
|
|
2365
|
+
y: z.ZodNumber;
|
|
2366
|
+
}, z.core.$strict>>;
|
|
2367
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2368
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2369
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2370
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2371
|
+
kind: z.ZodLiteral<"grid">;
|
|
2372
|
+
columns: z.ZodNumber;
|
|
2373
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
2374
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2375
|
+
}, z.core.$strict>], "kind">>;
|
|
2376
|
+
}, z.core.$strict>;
|
|
2377
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2378
|
+
id: z.ZodString;
|
|
2379
|
+
pauseSimulation: z.ZodOptional<z.ZodBoolean>;
|
|
2380
|
+
kind: z.ZodLiteral<"custom">;
|
|
2381
|
+
ui: z.ZodObject<{
|
|
2382
|
+
safeArea: z.ZodOptional<z.ZodBoolean>;
|
|
2383
|
+
focusNavigation: z.ZodOptional<z.ZodBoolean>;
|
|
2384
|
+
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2385
|
+
id: z.ZodString;
|
|
2386
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2387
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2388
|
+
x: z.ZodNumber;
|
|
2389
|
+
y: z.ZodNumber;
|
|
2390
|
+
}, z.core.$strict>>;
|
|
2391
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2392
|
+
x: z.ZodNumber;
|
|
2393
|
+
y: z.ZodNumber;
|
|
2394
|
+
}, z.core.$strict>>;
|
|
2395
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2396
|
+
x: z.ZodNumber;
|
|
2397
|
+
y: z.ZodNumber;
|
|
2398
|
+
}, z.core.$strict>>;
|
|
2399
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2400
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2401
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2402
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2403
|
+
kind: z.ZodLiteral<"panel">;
|
|
2404
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2405
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
2406
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2407
|
+
id: z.ZodString;
|
|
2408
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2409
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2410
|
+
x: z.ZodNumber;
|
|
2411
|
+
y: z.ZodNumber;
|
|
2412
|
+
}, z.core.$strict>>;
|
|
2413
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2414
|
+
x: z.ZodNumber;
|
|
2415
|
+
y: z.ZodNumber;
|
|
2416
|
+
}, z.core.$strict>>;
|
|
2417
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2418
|
+
x: z.ZodNumber;
|
|
2419
|
+
y: z.ZodNumber;
|
|
2420
|
+
}, z.core.$strict>>;
|
|
2421
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2422
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2423
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2424
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2425
|
+
kind: z.ZodLiteral<"image">;
|
|
2426
|
+
assetId: z.ZodString;
|
|
2427
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2428
|
+
id: z.ZodString;
|
|
2429
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2430
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2431
|
+
x: z.ZodNumber;
|
|
2432
|
+
y: z.ZodNumber;
|
|
2433
|
+
}, z.core.$strict>>;
|
|
2434
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2435
|
+
x: z.ZodNumber;
|
|
2436
|
+
y: z.ZodNumber;
|
|
2437
|
+
}, z.core.$strict>>;
|
|
2438
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2439
|
+
x: z.ZodNumber;
|
|
2440
|
+
y: z.ZodNumber;
|
|
2441
|
+
}, z.core.$strict>>;
|
|
2442
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2443
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2444
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2445
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2446
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2447
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2448
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
2449
|
+
kind: z.ZodLiteral<"text">;
|
|
2450
|
+
text: z.ZodString;
|
|
2451
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2452
|
+
center: "center";
|
|
2453
|
+
left: "left";
|
|
2454
|
+
right: "right";
|
|
2455
|
+
}>>;
|
|
2456
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2457
|
+
id: z.ZodString;
|
|
2458
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2460
|
+
x: z.ZodNumber;
|
|
2461
|
+
y: z.ZodNumber;
|
|
2462
|
+
}, z.core.$strict>>;
|
|
2463
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2464
|
+
x: z.ZodNumber;
|
|
2465
|
+
y: z.ZodNumber;
|
|
2466
|
+
}, z.core.$strict>>;
|
|
2467
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2468
|
+
x: z.ZodNumber;
|
|
2469
|
+
y: z.ZodNumber;
|
|
2470
|
+
}, z.core.$strict>>;
|
|
2471
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2472
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2473
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2474
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2475
|
+
kind: z.ZodLiteral<"bar">;
|
|
2476
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2477
|
+
kind: z.ZodLiteral<"value">;
|
|
2478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2479
|
+
kind: z.ZodLiteral<"health">;
|
|
2480
|
+
entityId: z.ZodString;
|
|
2481
|
+
}, z.core.$strict>], "kind">>;
|
|
2482
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
2483
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2484
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2485
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2486
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2487
|
+
bottomToTop: "bottomToTop";
|
|
2488
|
+
leftToRight: "leftToRight";
|
|
2489
|
+
rightToLeft: "rightToLeft";
|
|
2490
|
+
topToBottom: "topToBottom";
|
|
2491
|
+
}>>;
|
|
2492
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2493
|
+
id: z.ZodString;
|
|
2494
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2496
|
+
x: z.ZodNumber;
|
|
2497
|
+
y: z.ZodNumber;
|
|
2498
|
+
}, z.core.$strict>>;
|
|
2499
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2500
|
+
x: z.ZodNumber;
|
|
2501
|
+
y: z.ZodNumber;
|
|
2502
|
+
}, z.core.$strict>>;
|
|
2503
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2504
|
+
x: z.ZodNumber;
|
|
2505
|
+
y: z.ZodNumber;
|
|
2506
|
+
}, z.core.$strict>>;
|
|
2507
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2508
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2509
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2510
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2511
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2512
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2513
|
+
fontId: z.ZodOptional<z.ZodString>;
|
|
2514
|
+
kind: z.ZodLiteral<"button">;
|
|
2515
|
+
action: z.ZodString;
|
|
2516
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2519
|
+
id: z.ZodString;
|
|
2520
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2522
|
+
x: z.ZodNumber;
|
|
2523
|
+
y: z.ZodNumber;
|
|
2524
|
+
}, z.core.$strict>>;
|
|
2525
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2526
|
+
x: z.ZodNumber;
|
|
2527
|
+
y: z.ZodNumber;
|
|
2528
|
+
}, z.core.$strict>>;
|
|
2529
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2530
|
+
x: z.ZodNumber;
|
|
2531
|
+
y: z.ZodNumber;
|
|
2532
|
+
}, z.core.$strict>>;
|
|
2533
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2534
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2535
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2536
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2537
|
+
kind: z.ZodLiteral<"stack">;
|
|
2538
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2539
|
+
horizontal: "horizontal";
|
|
2540
|
+
vertical: "vertical";
|
|
2541
|
+
}>>;
|
|
2542
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
2543
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2544
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2545
|
+
center: "center";
|
|
2546
|
+
end: "end";
|
|
2547
|
+
start: "start";
|
|
2548
|
+
}>>;
|
|
2549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2550
|
+
id: z.ZodString;
|
|
2551
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
2553
|
+
x: z.ZodNumber;
|
|
2554
|
+
y: z.ZodNumber;
|
|
2555
|
+
}, z.core.$strict>>;
|
|
2556
|
+
pivot: z.ZodOptional<z.ZodObject<{
|
|
2557
|
+
x: z.ZodNumber;
|
|
2558
|
+
y: z.ZodNumber;
|
|
2559
|
+
}, z.core.$strict>>;
|
|
2560
|
+
offset: z.ZodOptional<z.ZodObject<{
|
|
2561
|
+
x: z.ZodNumber;
|
|
2562
|
+
y: z.ZodNumber;
|
|
2563
|
+
}, z.core.$strict>>;
|
|
2564
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2565
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2566
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2567
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2568
|
+
kind: z.ZodLiteral<"grid">;
|
|
2569
|
+
columns: z.ZodNumber;
|
|
2570
|
+
gap: z.ZodOptional<z.ZodNumber>;
|
|
2571
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2572
|
+
}, z.core.$strict>], "kind">>;
|
|
2573
|
+
}, z.core.$strict>;
|
|
2574
|
+
}, z.core.$strict>], "kind">>;
|
|
2575
|
+
transitions: z.ZodArray<z.ZodObject<{
|
|
2576
|
+
from: z.ZodNullable<z.ZodString>;
|
|
2577
|
+
on: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2578
|
+
kind: z.ZodLiteral<"action">;
|
|
2579
|
+
action: z.ZodString;
|
|
2580
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2581
|
+
kind: z.ZodLiteral<"trigger">;
|
|
2582
|
+
event: z.ZodString;
|
|
2583
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2584
|
+
kind: z.ZodLiteral<"win">;
|
|
2585
|
+
}, z.core.$strict>], "kind">;
|
|
2586
|
+
to: z.ZodNullable<z.ZodString>;
|
|
2587
|
+
}, z.core.$strict>>;
|
|
2588
|
+
}, z.core.$strict>>;
|
|
1542
2589
|
assets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1543
2590
|
assetId: z.ZodString;
|
|
1544
2591
|
digest: z.ZodString;
|
|
@@ -1620,6 +2667,10 @@ export declare const gameDocument: z.ZodObject<{
|
|
|
1620
2667
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
1621
2668
|
fadeInTicks: z.ZodDefault<z.ZodNumber>;
|
|
1622
2669
|
fadeOutTicks: z.ZodDefault<z.ZodNumber>;
|
|
2670
|
+
streaming: z.ZodOptional<z.ZodObject<{
|
|
2671
|
+
loopStartSeconds: z.ZodDefault<z.ZodNumber>;
|
|
2672
|
+
loopEndSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2673
|
+
}, z.core.$strict>>;
|
|
1623
2674
|
}, z.core.$strict>>;
|
|
1624
2675
|
lighting: z.ZodOptional<z.ZodObject<{
|
|
1625
2676
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1946,6 +2997,26 @@ export declare const gameDocument: z.ZodObject<{
|
|
|
1946
2997
|
}>>;
|
|
1947
2998
|
unlit: z.ZodOptional<z.ZodBoolean>;
|
|
1948
2999
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
3000
|
+
render: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3001
|
+
kind: z.ZodLiteral<"billboard">;
|
|
3002
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3003
|
+
kind: z.ZodLiteral<"stretched">;
|
|
3004
|
+
length: z.ZodDefault<z.ZodNumber>;
|
|
3005
|
+
speedScale: z.ZodDefault<z.ZodNumber>;
|
|
3006
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3007
|
+
kind: z.ZodLiteral<"mesh">;
|
|
3008
|
+
shape: z.ZodEnum<{
|
|
3009
|
+
box: "box";
|
|
3010
|
+
octahedron: "octahedron";
|
|
3011
|
+
sphere: "sphere";
|
|
3012
|
+
tetrahedron: "tetrahedron";
|
|
3013
|
+
}>;
|
|
3014
|
+
align: z.ZodDefault<z.ZodEnum<{
|
|
3015
|
+
velocity: "velocity";
|
|
3016
|
+
world: "world";
|
|
3017
|
+
}>>;
|
|
3018
|
+
}, z.core.$strict>], "kind">>;
|
|
3019
|
+
softness: z.ZodOptional<z.ZodNumber>;
|
|
1949
3020
|
}, z.core.$strict>>;
|
|
1950
3021
|
}, z.core.$strict>>;
|
|
1951
3022
|
id: z.ZodString;
|
|
@@ -2298,6 +3369,14 @@ export type GameDocument = z.infer<typeof gameDocument>;
|
|
|
2298
3369
|
export declare const gameInputFrame: z.ZodObject<{
|
|
2299
3370
|
pressed: z.ZodArray<z.ZodString>;
|
|
2300
3371
|
justPressed: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3372
|
+
loaded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3373
|
+
scope: z.ZodEnum<{
|
|
3374
|
+
progress: "progress";
|
|
3375
|
+
settings: "settings";
|
|
3376
|
+
}>;
|
|
3377
|
+
slot: z.ZodString;
|
|
3378
|
+
data: z.ZodNullable<z.ZodNonOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>>;
|
|
3379
|
+
}, z.core.$strict>>>;
|
|
2301
3380
|
}, z.core.$strip>;
|
|
2302
3381
|
export type GameInputFrame = z.infer<typeof gameInputFrame>;
|
|
2303
3382
|
export declare const gameEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2917,6 +3996,26 @@ export declare const gameRenderFrame: z.ZodObject<{
|
|
|
2917
3996
|
}>>;
|
|
2918
3997
|
unlit: z.ZodOptional<z.ZodBoolean>;
|
|
2919
3998
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
3999
|
+
render: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4000
|
+
kind: z.ZodLiteral<"billboard">;
|
|
4001
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4002
|
+
kind: z.ZodLiteral<"stretched">;
|
|
4003
|
+
length: z.ZodDefault<z.ZodNumber>;
|
|
4004
|
+
speedScale: z.ZodDefault<z.ZodNumber>;
|
|
4005
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4006
|
+
kind: z.ZodLiteral<"mesh">;
|
|
4007
|
+
shape: z.ZodEnum<{
|
|
4008
|
+
box: "box";
|
|
4009
|
+
octahedron: "octahedron";
|
|
4010
|
+
sphere: "sphere";
|
|
4011
|
+
tetrahedron: "tetrahedron";
|
|
4012
|
+
}>;
|
|
4013
|
+
align: z.ZodDefault<z.ZodEnum<{
|
|
4014
|
+
velocity: "velocity";
|
|
4015
|
+
world: "world";
|
|
4016
|
+
}>>;
|
|
4017
|
+
}, z.core.$strict>], "kind">>;
|
|
4018
|
+
softness: z.ZodOptional<z.ZodNumber>;
|
|
2920
4019
|
}, z.core.$strict>>;
|
|
2921
4020
|
}, z.core.$strict>;
|
|
2922
4021
|
}, z.core.$strip>>>;
|