@nodetool-ai/game-runtime 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.
Files changed (108) hide show
  1. package/README.md +65 -0
  2. package/dist/.nodetool-build-stamp +1 -1
  3. package/dist/authoring-reconcile.d.ts.map +1 -1
  4. package/dist/authoring-reconcile.js +5 -3
  5. package/dist/authoring-reconcile.js.map +1 -1
  6. package/dist/document-ops.d.ts +1102 -0
  7. package/dist/document-ops.d.ts.map +1 -1
  8. package/dist/document-ops3d.d.ts +10005 -1631
  9. package/dist/document-ops3d.d.ts.map +1 -1
  10. package/dist/document-ops3d.js +60 -6
  11. package/dist/document-ops3d.js.map +1 -1
  12. package/dist/index.d.ts +5 -0
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +4 -0
  15. package/dist/index.js.map +1 -1
  16. package/dist/material-references3d.d.ts +3 -0
  17. package/dist/material-references3d.d.ts.map +1 -0
  18. package/dist/material-references3d.js +61 -0
  19. package/dist/material-references3d.js.map +1 -0
  20. package/dist/ownership-ops.d.ts +5 -0
  21. package/dist/ownership-ops.d.ts.map +1 -1
  22. package/dist/ownership-ops.js +30 -5
  23. package/dist/ownership-ops.js.map +1 -1
  24. package/dist/player-saves.d.ts +99 -0
  25. package/dist/player-saves.d.ts.map +1 -0
  26. package/dist/player-saves.js +246 -0
  27. package/dist/player-saves.js.map +1 -0
  28. package/dist/script-declarations.js +1 -1
  29. package/dist/script-lifecycle.js +1 -1
  30. package/dist/script-lifecycle.js.map +1 -1
  31. package/dist/script-log.d.ts +47 -0
  32. package/dist/script-log.d.ts.map +1 -0
  33. package/dist/script-log.js +86 -0
  34. package/dist/script-log.js.map +1 -0
  35. package/dist/script-reload.d.ts +21 -0
  36. package/dist/script-reload.d.ts.map +1 -0
  37. package/dist/script-reload.js +72 -0
  38. package/dist/script-reload.js.map +1 -0
  39. package/dist/script-saves.d.ts +33 -0
  40. package/dist/script-saves.d.ts.map +1 -0
  41. package/dist/script-saves.js +60 -0
  42. package/dist/script-saves.js.map +1 -0
  43. package/dist/script-types.d.ts.map +1 -1
  44. package/dist/script-types.js +6 -1
  45. package/dist/script-types.js.map +1 -1
  46. package/dist/script-types3d.d.ts.map +1 -1
  47. package/dist/script-types3d.js +6 -2
  48. package/dist/script-types3d.js.map +1 -1
  49. package/dist/scripts.d.ts +24 -2
  50. package/dist/scripts.d.ts.map +1 -1
  51. package/dist/scripts.js +79 -4
  52. package/dist/scripts.js.map +1 -1
  53. package/dist/scripts3d.d.ts.map +1 -1
  54. package/dist/scripts3d.js +1 -0
  55. package/dist/scripts3d.js.map +1 -1
  56. package/dist/session.d.ts +22 -1
  57. package/dist/session.d.ts.map +1 -1
  58. package/dist/session.js +60 -8
  59. package/dist/session.js.map +1 -1
  60. package/dist/session3d.d.ts +21 -4
  61. package/dist/session3d.d.ts.map +1 -1
  62. package/dist/session3d.js +74 -11
  63. package/dist/session3d.js.map +1 -1
  64. package/dist/spatial3d/materials.d.ts +17 -0
  65. package/dist/spatial3d/materials.d.ts.map +1 -0
  66. package/dist/spatial3d/materials.js +70 -0
  67. package/dist/spatial3d/materials.js.map +1 -0
  68. package/dist/spatial3d/script-commands.d.ts +7 -0
  69. package/dist/spatial3d/script-commands.d.ts.map +1 -0
  70. package/dist/spatial3d/script-commands.js +19 -0
  71. package/dist/spatial3d/script-commands.js.map +1 -0
  72. package/dist/spatial3d/world.d.ts +5 -0
  73. package/dist/spatial3d/world.d.ts.map +1 -1
  74. package/dist/spatial3d/world.js +80 -4
  75. package/dist/spatial3d/world.js.map +1 -1
  76. package/dist/systems/animation-graph3d.d.ts.map +1 -1
  77. package/dist/systems/animation-graph3d.js +6 -1
  78. package/dist/systems/animation-graph3d.js.map +1 -1
  79. package/dist/systems/context2d.d.ts +4 -0
  80. package/dist/systems/context2d.d.ts.map +1 -1
  81. package/dist/systems/context3d.d.ts +8 -1
  82. package/dist/systems/context3d.d.ts.map +1 -1
  83. package/dist/systems/gameplay3d.d.ts.map +1 -1
  84. package/dist/systems/gameplay3d.js +2 -1
  85. package/dist/systems/gameplay3d.js.map +1 -1
  86. package/dist/systems/presentation2d.d.ts +1 -1
  87. package/dist/systems/presentation2d.d.ts.map +1 -1
  88. package/dist/systems/presentation2d.js +6 -0
  89. package/dist/systems/presentation2d.js.map +1 -1
  90. package/dist/systems/presentation3d.d.ts +3 -3
  91. package/dist/systems/presentation3d.d.ts.map +1 -1
  92. package/dist/systems/presentation3d.js +27 -2
  93. package/dist/systems/presentation3d.js.map +1 -1
  94. package/dist/systems/scripts2d.d.ts.map +1 -1
  95. package/dist/systems/scripts2d.js +17 -8
  96. package/dist/systems/scripts2d.js.map +1 -1
  97. package/dist/systems/scripts3d.d.ts.map +1 -1
  98. package/dist/systems/scripts3d.js +26 -6
  99. package/dist/systems/scripts3d.js.map +1 -1
  100. package/dist/validate.d.ts +2 -0
  101. package/dist/validate.d.ts.map +1 -1
  102. package/dist/validate.js +6 -2
  103. package/dist/validate.js.map +1 -1
  104. package/dist/validate3d.d.ts +3 -0
  105. package/dist/validate3d.d.ts.map +1 -1
  106. package/dist/validate3d.js +20 -4
  107. package/dist/validate3d.js.map +1 -1
  108. package/package.json +14 -5
@@ -433,6 +433,1008 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
433
433
  padding: z.ZodOptional<z.ZodNumber>;
434
434
  }, z.core.$strict>], "kind">>;
435
435
  }, z.core.$strict>>;
436
+ screens: z.ZodOptional<z.ZodObject<{
437
+ initial: z.ZodOptional<z.ZodString>;
438
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
439
+ id: z.ZodString;
440
+ pauseSimulation: z.ZodOptional<z.ZodBoolean>;
441
+ kind: z.ZodLiteral<"title">;
442
+ ui: z.ZodObject<{
443
+ safeArea: z.ZodOptional<z.ZodBoolean>;
444
+ focusNavigation: z.ZodOptional<z.ZodBoolean>;
445
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
446
+ id: z.ZodString;
447
+ parent: z.ZodOptional<z.ZodString>;
448
+ anchor: z.ZodOptional<z.ZodObject<{
449
+ x: z.ZodNumber;
450
+ y: z.ZodNumber;
451
+ }, z.core.$strict>>;
452
+ pivot: z.ZodOptional<z.ZodObject<{
453
+ x: z.ZodNumber;
454
+ y: z.ZodNumber;
455
+ }, z.core.$strict>>;
456
+ offset: z.ZodOptional<z.ZodObject<{
457
+ x: z.ZodNumber;
458
+ y: z.ZodNumber;
459
+ }, z.core.$strict>>;
460
+ width: z.ZodOptional<z.ZodNumber>;
461
+ height: z.ZodOptional<z.ZodNumber>;
462
+ visible: z.ZodOptional<z.ZodBoolean>;
463
+ opacity: z.ZodOptional<z.ZodNumber>;
464
+ kind: z.ZodLiteral<"panel">;
465
+ color: z.ZodOptional<z.ZodString>;
466
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
467
+ }, z.core.$strict>, z.ZodObject<{
468
+ id: z.ZodString;
469
+ parent: z.ZodOptional<z.ZodString>;
470
+ anchor: z.ZodOptional<z.ZodObject<{
471
+ x: z.ZodNumber;
472
+ y: z.ZodNumber;
473
+ }, z.core.$strict>>;
474
+ pivot: z.ZodOptional<z.ZodObject<{
475
+ x: z.ZodNumber;
476
+ y: z.ZodNumber;
477
+ }, z.core.$strict>>;
478
+ offset: z.ZodOptional<z.ZodObject<{
479
+ x: z.ZodNumber;
480
+ y: z.ZodNumber;
481
+ }, z.core.$strict>>;
482
+ width: z.ZodOptional<z.ZodNumber>;
483
+ height: z.ZodOptional<z.ZodNumber>;
484
+ visible: z.ZodOptional<z.ZodBoolean>;
485
+ opacity: z.ZodOptional<z.ZodNumber>;
486
+ kind: z.ZodLiteral<"image">;
487
+ assetId: z.ZodString;
488
+ }, z.core.$strict>, z.ZodObject<{
489
+ id: z.ZodString;
490
+ parent: z.ZodOptional<z.ZodString>;
491
+ anchor: z.ZodOptional<z.ZodObject<{
492
+ x: z.ZodNumber;
493
+ y: z.ZodNumber;
494
+ }, z.core.$strict>>;
495
+ pivot: z.ZodOptional<z.ZodObject<{
496
+ x: z.ZodNumber;
497
+ y: z.ZodNumber;
498
+ }, z.core.$strict>>;
499
+ offset: z.ZodOptional<z.ZodObject<{
500
+ x: z.ZodNumber;
501
+ y: z.ZodNumber;
502
+ }, z.core.$strict>>;
503
+ width: z.ZodOptional<z.ZodNumber>;
504
+ height: z.ZodOptional<z.ZodNumber>;
505
+ visible: z.ZodOptional<z.ZodBoolean>;
506
+ opacity: z.ZodOptional<z.ZodNumber>;
507
+ size: z.ZodOptional<z.ZodNumber>;
508
+ color: z.ZodOptional<z.ZodString>;
509
+ fontId: z.ZodOptional<z.ZodString>;
510
+ kind: z.ZodLiteral<"text">;
511
+ text: z.ZodString;
512
+ align: z.ZodOptional<z.ZodEnum<{
513
+ center: "center";
514
+ left: "left";
515
+ right: "right";
516
+ }>>;
517
+ }, z.core.$strict>, z.ZodObject<{
518
+ id: z.ZodString;
519
+ parent: z.ZodOptional<z.ZodString>;
520
+ anchor: z.ZodOptional<z.ZodObject<{
521
+ x: z.ZodNumber;
522
+ y: z.ZodNumber;
523
+ }, z.core.$strict>>;
524
+ pivot: z.ZodOptional<z.ZodObject<{
525
+ x: z.ZodNumber;
526
+ y: z.ZodNumber;
527
+ }, z.core.$strict>>;
528
+ offset: z.ZodOptional<z.ZodObject<{
529
+ x: z.ZodNumber;
530
+ y: z.ZodNumber;
531
+ }, z.core.$strict>>;
532
+ width: z.ZodOptional<z.ZodNumber>;
533
+ height: z.ZodOptional<z.ZodNumber>;
534
+ visible: z.ZodOptional<z.ZodBoolean>;
535
+ opacity: z.ZodOptional<z.ZodNumber>;
536
+ kind: z.ZodLiteral<"bar">;
537
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
538
+ kind: z.ZodLiteral<"value">;
539
+ }, z.core.$strict>, z.ZodObject<{
540
+ kind: z.ZodLiteral<"health">;
541
+ entityId: z.ZodString;
542
+ }, z.core.$strict>], "kind">>;
543
+ value: z.ZodOptional<z.ZodNumber>;
544
+ max: z.ZodOptional<z.ZodNumber>;
545
+ color: z.ZodOptional<z.ZodString>;
546
+ background: z.ZodOptional<z.ZodString>;
547
+ direction: z.ZodOptional<z.ZodEnum<{
548
+ bottomToTop: "bottomToTop";
549
+ leftToRight: "leftToRight";
550
+ rightToLeft: "rightToLeft";
551
+ topToBottom: "topToBottom";
552
+ }>>;
553
+ }, z.core.$strict>, z.ZodObject<{
554
+ id: z.ZodString;
555
+ parent: z.ZodOptional<z.ZodString>;
556
+ anchor: z.ZodOptional<z.ZodObject<{
557
+ x: z.ZodNumber;
558
+ y: z.ZodNumber;
559
+ }, z.core.$strict>>;
560
+ pivot: z.ZodOptional<z.ZodObject<{
561
+ x: z.ZodNumber;
562
+ y: z.ZodNumber;
563
+ }, z.core.$strict>>;
564
+ offset: z.ZodOptional<z.ZodObject<{
565
+ x: z.ZodNumber;
566
+ y: z.ZodNumber;
567
+ }, z.core.$strict>>;
568
+ width: z.ZodOptional<z.ZodNumber>;
569
+ height: z.ZodOptional<z.ZodNumber>;
570
+ visible: z.ZodOptional<z.ZodBoolean>;
571
+ opacity: z.ZodOptional<z.ZodNumber>;
572
+ size: z.ZodOptional<z.ZodNumber>;
573
+ color: z.ZodOptional<z.ZodString>;
574
+ fontId: z.ZodOptional<z.ZodString>;
575
+ kind: z.ZodLiteral<"button">;
576
+ action: z.ZodString;
577
+ text: z.ZodOptional<z.ZodString>;
578
+ background: z.ZodOptional<z.ZodString>;
579
+ }, z.core.$strict>, z.ZodObject<{
580
+ id: z.ZodString;
581
+ parent: z.ZodOptional<z.ZodString>;
582
+ anchor: z.ZodOptional<z.ZodObject<{
583
+ x: z.ZodNumber;
584
+ y: z.ZodNumber;
585
+ }, z.core.$strict>>;
586
+ pivot: z.ZodOptional<z.ZodObject<{
587
+ x: z.ZodNumber;
588
+ y: z.ZodNumber;
589
+ }, z.core.$strict>>;
590
+ offset: z.ZodOptional<z.ZodObject<{
591
+ x: z.ZodNumber;
592
+ y: z.ZodNumber;
593
+ }, z.core.$strict>>;
594
+ width: z.ZodOptional<z.ZodNumber>;
595
+ height: z.ZodOptional<z.ZodNumber>;
596
+ visible: z.ZodOptional<z.ZodBoolean>;
597
+ opacity: z.ZodOptional<z.ZodNumber>;
598
+ kind: z.ZodLiteral<"stack">;
599
+ direction: z.ZodOptional<z.ZodEnum<{
600
+ horizontal: "horizontal";
601
+ vertical: "vertical";
602
+ }>>;
603
+ gap: z.ZodOptional<z.ZodNumber>;
604
+ padding: z.ZodOptional<z.ZodNumber>;
605
+ align: z.ZodOptional<z.ZodEnum<{
606
+ center: "center";
607
+ end: "end";
608
+ start: "start";
609
+ }>>;
610
+ }, z.core.$strict>, z.ZodObject<{
611
+ id: z.ZodString;
612
+ parent: z.ZodOptional<z.ZodString>;
613
+ anchor: z.ZodOptional<z.ZodObject<{
614
+ x: z.ZodNumber;
615
+ y: z.ZodNumber;
616
+ }, z.core.$strict>>;
617
+ pivot: z.ZodOptional<z.ZodObject<{
618
+ x: z.ZodNumber;
619
+ y: z.ZodNumber;
620
+ }, z.core.$strict>>;
621
+ offset: z.ZodOptional<z.ZodObject<{
622
+ x: z.ZodNumber;
623
+ y: z.ZodNumber;
624
+ }, z.core.$strict>>;
625
+ width: z.ZodOptional<z.ZodNumber>;
626
+ height: z.ZodOptional<z.ZodNumber>;
627
+ visible: z.ZodOptional<z.ZodBoolean>;
628
+ opacity: z.ZodOptional<z.ZodNumber>;
629
+ kind: z.ZodLiteral<"grid">;
630
+ columns: z.ZodNumber;
631
+ gap: z.ZodOptional<z.ZodNumber>;
632
+ padding: z.ZodOptional<z.ZodNumber>;
633
+ }, z.core.$strict>], "kind">>;
634
+ }, z.core.$strict>;
635
+ }, z.core.$strict>, z.ZodObject<{
636
+ id: z.ZodString;
637
+ pauseSimulation: z.ZodOptional<z.ZodBoolean>;
638
+ kind: z.ZodLiteral<"pause">;
639
+ ui: z.ZodObject<{
640
+ safeArea: z.ZodOptional<z.ZodBoolean>;
641
+ focusNavigation: z.ZodOptional<z.ZodBoolean>;
642
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
643
+ id: z.ZodString;
644
+ parent: z.ZodOptional<z.ZodString>;
645
+ anchor: z.ZodOptional<z.ZodObject<{
646
+ x: z.ZodNumber;
647
+ y: z.ZodNumber;
648
+ }, z.core.$strict>>;
649
+ pivot: z.ZodOptional<z.ZodObject<{
650
+ x: z.ZodNumber;
651
+ y: z.ZodNumber;
652
+ }, z.core.$strict>>;
653
+ offset: z.ZodOptional<z.ZodObject<{
654
+ x: z.ZodNumber;
655
+ y: z.ZodNumber;
656
+ }, z.core.$strict>>;
657
+ width: z.ZodOptional<z.ZodNumber>;
658
+ height: z.ZodOptional<z.ZodNumber>;
659
+ visible: z.ZodOptional<z.ZodBoolean>;
660
+ opacity: z.ZodOptional<z.ZodNumber>;
661
+ kind: z.ZodLiteral<"panel">;
662
+ color: z.ZodOptional<z.ZodString>;
663
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
664
+ }, z.core.$strict>, z.ZodObject<{
665
+ id: z.ZodString;
666
+ parent: z.ZodOptional<z.ZodString>;
667
+ anchor: z.ZodOptional<z.ZodObject<{
668
+ x: z.ZodNumber;
669
+ y: z.ZodNumber;
670
+ }, z.core.$strict>>;
671
+ pivot: z.ZodOptional<z.ZodObject<{
672
+ x: z.ZodNumber;
673
+ y: z.ZodNumber;
674
+ }, z.core.$strict>>;
675
+ offset: z.ZodOptional<z.ZodObject<{
676
+ x: z.ZodNumber;
677
+ y: z.ZodNumber;
678
+ }, z.core.$strict>>;
679
+ width: z.ZodOptional<z.ZodNumber>;
680
+ height: z.ZodOptional<z.ZodNumber>;
681
+ visible: z.ZodOptional<z.ZodBoolean>;
682
+ opacity: z.ZodOptional<z.ZodNumber>;
683
+ kind: z.ZodLiteral<"image">;
684
+ assetId: z.ZodString;
685
+ }, z.core.$strict>, z.ZodObject<{
686
+ id: z.ZodString;
687
+ parent: z.ZodOptional<z.ZodString>;
688
+ anchor: z.ZodOptional<z.ZodObject<{
689
+ x: z.ZodNumber;
690
+ y: z.ZodNumber;
691
+ }, z.core.$strict>>;
692
+ pivot: z.ZodOptional<z.ZodObject<{
693
+ x: z.ZodNumber;
694
+ y: z.ZodNumber;
695
+ }, z.core.$strict>>;
696
+ offset: z.ZodOptional<z.ZodObject<{
697
+ x: z.ZodNumber;
698
+ y: z.ZodNumber;
699
+ }, z.core.$strict>>;
700
+ width: z.ZodOptional<z.ZodNumber>;
701
+ height: z.ZodOptional<z.ZodNumber>;
702
+ visible: z.ZodOptional<z.ZodBoolean>;
703
+ opacity: z.ZodOptional<z.ZodNumber>;
704
+ size: z.ZodOptional<z.ZodNumber>;
705
+ color: z.ZodOptional<z.ZodString>;
706
+ fontId: z.ZodOptional<z.ZodString>;
707
+ kind: z.ZodLiteral<"text">;
708
+ text: z.ZodString;
709
+ align: z.ZodOptional<z.ZodEnum<{
710
+ center: "center";
711
+ left: "left";
712
+ right: "right";
713
+ }>>;
714
+ }, z.core.$strict>, z.ZodObject<{
715
+ id: z.ZodString;
716
+ parent: z.ZodOptional<z.ZodString>;
717
+ anchor: z.ZodOptional<z.ZodObject<{
718
+ x: z.ZodNumber;
719
+ y: z.ZodNumber;
720
+ }, z.core.$strict>>;
721
+ pivot: z.ZodOptional<z.ZodObject<{
722
+ x: z.ZodNumber;
723
+ y: z.ZodNumber;
724
+ }, z.core.$strict>>;
725
+ offset: z.ZodOptional<z.ZodObject<{
726
+ x: z.ZodNumber;
727
+ y: z.ZodNumber;
728
+ }, z.core.$strict>>;
729
+ width: z.ZodOptional<z.ZodNumber>;
730
+ height: z.ZodOptional<z.ZodNumber>;
731
+ visible: z.ZodOptional<z.ZodBoolean>;
732
+ opacity: z.ZodOptional<z.ZodNumber>;
733
+ kind: z.ZodLiteral<"bar">;
734
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
735
+ kind: z.ZodLiteral<"value">;
736
+ }, z.core.$strict>, z.ZodObject<{
737
+ kind: z.ZodLiteral<"health">;
738
+ entityId: z.ZodString;
739
+ }, z.core.$strict>], "kind">>;
740
+ value: z.ZodOptional<z.ZodNumber>;
741
+ max: z.ZodOptional<z.ZodNumber>;
742
+ color: z.ZodOptional<z.ZodString>;
743
+ background: z.ZodOptional<z.ZodString>;
744
+ direction: z.ZodOptional<z.ZodEnum<{
745
+ bottomToTop: "bottomToTop";
746
+ leftToRight: "leftToRight";
747
+ rightToLeft: "rightToLeft";
748
+ topToBottom: "topToBottom";
749
+ }>>;
750
+ }, z.core.$strict>, z.ZodObject<{
751
+ id: z.ZodString;
752
+ parent: z.ZodOptional<z.ZodString>;
753
+ anchor: z.ZodOptional<z.ZodObject<{
754
+ x: z.ZodNumber;
755
+ y: z.ZodNumber;
756
+ }, z.core.$strict>>;
757
+ pivot: z.ZodOptional<z.ZodObject<{
758
+ x: z.ZodNumber;
759
+ y: z.ZodNumber;
760
+ }, z.core.$strict>>;
761
+ offset: z.ZodOptional<z.ZodObject<{
762
+ x: z.ZodNumber;
763
+ y: z.ZodNumber;
764
+ }, z.core.$strict>>;
765
+ width: z.ZodOptional<z.ZodNumber>;
766
+ height: z.ZodOptional<z.ZodNumber>;
767
+ visible: z.ZodOptional<z.ZodBoolean>;
768
+ opacity: z.ZodOptional<z.ZodNumber>;
769
+ size: z.ZodOptional<z.ZodNumber>;
770
+ color: z.ZodOptional<z.ZodString>;
771
+ fontId: z.ZodOptional<z.ZodString>;
772
+ kind: z.ZodLiteral<"button">;
773
+ action: z.ZodString;
774
+ text: z.ZodOptional<z.ZodString>;
775
+ background: z.ZodOptional<z.ZodString>;
776
+ }, z.core.$strict>, z.ZodObject<{
777
+ id: z.ZodString;
778
+ parent: z.ZodOptional<z.ZodString>;
779
+ anchor: z.ZodOptional<z.ZodObject<{
780
+ x: z.ZodNumber;
781
+ y: z.ZodNumber;
782
+ }, z.core.$strict>>;
783
+ pivot: z.ZodOptional<z.ZodObject<{
784
+ x: z.ZodNumber;
785
+ y: z.ZodNumber;
786
+ }, z.core.$strict>>;
787
+ offset: z.ZodOptional<z.ZodObject<{
788
+ x: z.ZodNumber;
789
+ y: z.ZodNumber;
790
+ }, z.core.$strict>>;
791
+ width: z.ZodOptional<z.ZodNumber>;
792
+ height: z.ZodOptional<z.ZodNumber>;
793
+ visible: z.ZodOptional<z.ZodBoolean>;
794
+ opacity: z.ZodOptional<z.ZodNumber>;
795
+ kind: z.ZodLiteral<"stack">;
796
+ direction: z.ZodOptional<z.ZodEnum<{
797
+ horizontal: "horizontal";
798
+ vertical: "vertical";
799
+ }>>;
800
+ gap: z.ZodOptional<z.ZodNumber>;
801
+ padding: z.ZodOptional<z.ZodNumber>;
802
+ align: z.ZodOptional<z.ZodEnum<{
803
+ center: "center";
804
+ end: "end";
805
+ start: "start";
806
+ }>>;
807
+ }, z.core.$strict>, z.ZodObject<{
808
+ id: z.ZodString;
809
+ parent: z.ZodOptional<z.ZodString>;
810
+ anchor: z.ZodOptional<z.ZodObject<{
811
+ x: z.ZodNumber;
812
+ y: z.ZodNumber;
813
+ }, z.core.$strict>>;
814
+ pivot: z.ZodOptional<z.ZodObject<{
815
+ x: z.ZodNumber;
816
+ y: z.ZodNumber;
817
+ }, z.core.$strict>>;
818
+ offset: z.ZodOptional<z.ZodObject<{
819
+ x: z.ZodNumber;
820
+ y: z.ZodNumber;
821
+ }, z.core.$strict>>;
822
+ width: z.ZodOptional<z.ZodNumber>;
823
+ height: z.ZodOptional<z.ZodNumber>;
824
+ visible: z.ZodOptional<z.ZodBoolean>;
825
+ opacity: z.ZodOptional<z.ZodNumber>;
826
+ kind: z.ZodLiteral<"grid">;
827
+ columns: z.ZodNumber;
828
+ gap: z.ZodOptional<z.ZodNumber>;
829
+ padding: z.ZodOptional<z.ZodNumber>;
830
+ }, z.core.$strict>], "kind">>;
831
+ }, z.core.$strict>;
832
+ }, z.core.$strict>, z.ZodObject<{
833
+ id: z.ZodString;
834
+ pauseSimulation: z.ZodOptional<z.ZodBoolean>;
835
+ kind: z.ZodLiteral<"settings">;
836
+ ui: z.ZodOptional<z.ZodObject<{
837
+ safeArea: z.ZodOptional<z.ZodBoolean>;
838
+ focusNavigation: z.ZodOptional<z.ZodBoolean>;
839
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
840
+ id: z.ZodString;
841
+ parent: z.ZodOptional<z.ZodString>;
842
+ anchor: z.ZodOptional<z.ZodObject<{
843
+ x: z.ZodNumber;
844
+ y: z.ZodNumber;
845
+ }, z.core.$strict>>;
846
+ pivot: z.ZodOptional<z.ZodObject<{
847
+ x: z.ZodNumber;
848
+ y: z.ZodNumber;
849
+ }, z.core.$strict>>;
850
+ offset: z.ZodOptional<z.ZodObject<{
851
+ x: z.ZodNumber;
852
+ y: z.ZodNumber;
853
+ }, z.core.$strict>>;
854
+ width: z.ZodOptional<z.ZodNumber>;
855
+ height: z.ZodOptional<z.ZodNumber>;
856
+ visible: z.ZodOptional<z.ZodBoolean>;
857
+ opacity: z.ZodOptional<z.ZodNumber>;
858
+ kind: z.ZodLiteral<"panel">;
859
+ color: z.ZodOptional<z.ZodString>;
860
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
861
+ }, z.core.$strict>, z.ZodObject<{
862
+ id: z.ZodString;
863
+ parent: z.ZodOptional<z.ZodString>;
864
+ anchor: z.ZodOptional<z.ZodObject<{
865
+ x: z.ZodNumber;
866
+ y: z.ZodNumber;
867
+ }, z.core.$strict>>;
868
+ pivot: z.ZodOptional<z.ZodObject<{
869
+ x: z.ZodNumber;
870
+ y: z.ZodNumber;
871
+ }, z.core.$strict>>;
872
+ offset: z.ZodOptional<z.ZodObject<{
873
+ x: z.ZodNumber;
874
+ y: z.ZodNumber;
875
+ }, z.core.$strict>>;
876
+ width: z.ZodOptional<z.ZodNumber>;
877
+ height: z.ZodOptional<z.ZodNumber>;
878
+ visible: z.ZodOptional<z.ZodBoolean>;
879
+ opacity: z.ZodOptional<z.ZodNumber>;
880
+ kind: z.ZodLiteral<"image">;
881
+ assetId: z.ZodString;
882
+ }, z.core.$strict>, z.ZodObject<{
883
+ id: z.ZodString;
884
+ parent: z.ZodOptional<z.ZodString>;
885
+ anchor: z.ZodOptional<z.ZodObject<{
886
+ x: z.ZodNumber;
887
+ y: z.ZodNumber;
888
+ }, z.core.$strict>>;
889
+ pivot: z.ZodOptional<z.ZodObject<{
890
+ x: z.ZodNumber;
891
+ y: z.ZodNumber;
892
+ }, z.core.$strict>>;
893
+ offset: z.ZodOptional<z.ZodObject<{
894
+ x: z.ZodNumber;
895
+ y: z.ZodNumber;
896
+ }, z.core.$strict>>;
897
+ width: z.ZodOptional<z.ZodNumber>;
898
+ height: z.ZodOptional<z.ZodNumber>;
899
+ visible: z.ZodOptional<z.ZodBoolean>;
900
+ opacity: z.ZodOptional<z.ZodNumber>;
901
+ size: z.ZodOptional<z.ZodNumber>;
902
+ color: z.ZodOptional<z.ZodString>;
903
+ fontId: z.ZodOptional<z.ZodString>;
904
+ kind: z.ZodLiteral<"text">;
905
+ text: z.ZodString;
906
+ align: z.ZodOptional<z.ZodEnum<{
907
+ center: "center";
908
+ left: "left";
909
+ right: "right";
910
+ }>>;
911
+ }, z.core.$strict>, z.ZodObject<{
912
+ id: z.ZodString;
913
+ parent: z.ZodOptional<z.ZodString>;
914
+ anchor: z.ZodOptional<z.ZodObject<{
915
+ x: z.ZodNumber;
916
+ y: z.ZodNumber;
917
+ }, z.core.$strict>>;
918
+ pivot: z.ZodOptional<z.ZodObject<{
919
+ x: z.ZodNumber;
920
+ y: z.ZodNumber;
921
+ }, z.core.$strict>>;
922
+ offset: z.ZodOptional<z.ZodObject<{
923
+ x: z.ZodNumber;
924
+ y: z.ZodNumber;
925
+ }, z.core.$strict>>;
926
+ width: z.ZodOptional<z.ZodNumber>;
927
+ height: z.ZodOptional<z.ZodNumber>;
928
+ visible: z.ZodOptional<z.ZodBoolean>;
929
+ opacity: z.ZodOptional<z.ZodNumber>;
930
+ kind: z.ZodLiteral<"bar">;
931
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
932
+ kind: z.ZodLiteral<"value">;
933
+ }, z.core.$strict>, z.ZodObject<{
934
+ kind: z.ZodLiteral<"health">;
935
+ entityId: z.ZodString;
936
+ }, z.core.$strict>], "kind">>;
937
+ value: z.ZodOptional<z.ZodNumber>;
938
+ max: z.ZodOptional<z.ZodNumber>;
939
+ color: z.ZodOptional<z.ZodString>;
940
+ background: z.ZodOptional<z.ZodString>;
941
+ direction: z.ZodOptional<z.ZodEnum<{
942
+ bottomToTop: "bottomToTop";
943
+ leftToRight: "leftToRight";
944
+ rightToLeft: "rightToLeft";
945
+ topToBottom: "topToBottom";
946
+ }>>;
947
+ }, z.core.$strict>, z.ZodObject<{
948
+ id: z.ZodString;
949
+ parent: z.ZodOptional<z.ZodString>;
950
+ anchor: z.ZodOptional<z.ZodObject<{
951
+ x: z.ZodNumber;
952
+ y: z.ZodNumber;
953
+ }, z.core.$strict>>;
954
+ pivot: z.ZodOptional<z.ZodObject<{
955
+ x: z.ZodNumber;
956
+ y: z.ZodNumber;
957
+ }, z.core.$strict>>;
958
+ offset: z.ZodOptional<z.ZodObject<{
959
+ x: z.ZodNumber;
960
+ y: z.ZodNumber;
961
+ }, z.core.$strict>>;
962
+ width: z.ZodOptional<z.ZodNumber>;
963
+ height: z.ZodOptional<z.ZodNumber>;
964
+ visible: z.ZodOptional<z.ZodBoolean>;
965
+ opacity: z.ZodOptional<z.ZodNumber>;
966
+ size: z.ZodOptional<z.ZodNumber>;
967
+ color: z.ZodOptional<z.ZodString>;
968
+ fontId: z.ZodOptional<z.ZodString>;
969
+ kind: z.ZodLiteral<"button">;
970
+ action: z.ZodString;
971
+ text: z.ZodOptional<z.ZodString>;
972
+ background: z.ZodOptional<z.ZodString>;
973
+ }, z.core.$strict>, z.ZodObject<{
974
+ id: z.ZodString;
975
+ parent: z.ZodOptional<z.ZodString>;
976
+ anchor: z.ZodOptional<z.ZodObject<{
977
+ x: z.ZodNumber;
978
+ y: z.ZodNumber;
979
+ }, z.core.$strict>>;
980
+ pivot: z.ZodOptional<z.ZodObject<{
981
+ x: z.ZodNumber;
982
+ y: z.ZodNumber;
983
+ }, z.core.$strict>>;
984
+ offset: z.ZodOptional<z.ZodObject<{
985
+ x: z.ZodNumber;
986
+ y: z.ZodNumber;
987
+ }, z.core.$strict>>;
988
+ width: z.ZodOptional<z.ZodNumber>;
989
+ height: z.ZodOptional<z.ZodNumber>;
990
+ visible: z.ZodOptional<z.ZodBoolean>;
991
+ opacity: z.ZodOptional<z.ZodNumber>;
992
+ kind: z.ZodLiteral<"stack">;
993
+ direction: z.ZodOptional<z.ZodEnum<{
994
+ horizontal: "horizontal";
995
+ vertical: "vertical";
996
+ }>>;
997
+ gap: z.ZodOptional<z.ZodNumber>;
998
+ padding: z.ZodOptional<z.ZodNumber>;
999
+ align: z.ZodOptional<z.ZodEnum<{
1000
+ center: "center";
1001
+ end: "end";
1002
+ start: "start";
1003
+ }>>;
1004
+ }, z.core.$strict>, z.ZodObject<{
1005
+ id: z.ZodString;
1006
+ parent: z.ZodOptional<z.ZodString>;
1007
+ anchor: z.ZodOptional<z.ZodObject<{
1008
+ x: z.ZodNumber;
1009
+ y: z.ZodNumber;
1010
+ }, z.core.$strict>>;
1011
+ pivot: z.ZodOptional<z.ZodObject<{
1012
+ x: z.ZodNumber;
1013
+ y: z.ZodNumber;
1014
+ }, z.core.$strict>>;
1015
+ offset: z.ZodOptional<z.ZodObject<{
1016
+ x: z.ZodNumber;
1017
+ y: z.ZodNumber;
1018
+ }, z.core.$strict>>;
1019
+ width: z.ZodOptional<z.ZodNumber>;
1020
+ height: z.ZodOptional<z.ZodNumber>;
1021
+ visible: z.ZodOptional<z.ZodBoolean>;
1022
+ opacity: z.ZodOptional<z.ZodNumber>;
1023
+ kind: z.ZodLiteral<"grid">;
1024
+ columns: z.ZodNumber;
1025
+ gap: z.ZodOptional<z.ZodNumber>;
1026
+ padding: z.ZodOptional<z.ZodNumber>;
1027
+ }, z.core.$strict>], "kind">>;
1028
+ }, z.core.$strict>>;
1029
+ }, z.core.$strict>, z.ZodObject<{
1030
+ id: z.ZodString;
1031
+ pauseSimulation: z.ZodOptional<z.ZodBoolean>;
1032
+ kind: z.ZodLiteral<"gameOver">;
1033
+ ui: z.ZodObject<{
1034
+ safeArea: z.ZodOptional<z.ZodBoolean>;
1035
+ focusNavigation: z.ZodOptional<z.ZodBoolean>;
1036
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1037
+ id: z.ZodString;
1038
+ parent: z.ZodOptional<z.ZodString>;
1039
+ anchor: z.ZodOptional<z.ZodObject<{
1040
+ x: z.ZodNumber;
1041
+ y: z.ZodNumber;
1042
+ }, z.core.$strict>>;
1043
+ pivot: z.ZodOptional<z.ZodObject<{
1044
+ x: z.ZodNumber;
1045
+ y: z.ZodNumber;
1046
+ }, z.core.$strict>>;
1047
+ offset: z.ZodOptional<z.ZodObject<{
1048
+ x: z.ZodNumber;
1049
+ y: z.ZodNumber;
1050
+ }, z.core.$strict>>;
1051
+ width: z.ZodOptional<z.ZodNumber>;
1052
+ height: z.ZodOptional<z.ZodNumber>;
1053
+ visible: z.ZodOptional<z.ZodBoolean>;
1054
+ opacity: z.ZodOptional<z.ZodNumber>;
1055
+ kind: z.ZodLiteral<"panel">;
1056
+ color: z.ZodOptional<z.ZodString>;
1057
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
1058
+ }, z.core.$strict>, z.ZodObject<{
1059
+ id: z.ZodString;
1060
+ parent: z.ZodOptional<z.ZodString>;
1061
+ anchor: z.ZodOptional<z.ZodObject<{
1062
+ x: z.ZodNumber;
1063
+ y: z.ZodNumber;
1064
+ }, z.core.$strict>>;
1065
+ pivot: z.ZodOptional<z.ZodObject<{
1066
+ x: z.ZodNumber;
1067
+ y: z.ZodNumber;
1068
+ }, z.core.$strict>>;
1069
+ offset: z.ZodOptional<z.ZodObject<{
1070
+ x: z.ZodNumber;
1071
+ y: z.ZodNumber;
1072
+ }, z.core.$strict>>;
1073
+ width: z.ZodOptional<z.ZodNumber>;
1074
+ height: z.ZodOptional<z.ZodNumber>;
1075
+ visible: z.ZodOptional<z.ZodBoolean>;
1076
+ opacity: z.ZodOptional<z.ZodNumber>;
1077
+ kind: z.ZodLiteral<"image">;
1078
+ assetId: z.ZodString;
1079
+ }, z.core.$strict>, z.ZodObject<{
1080
+ id: z.ZodString;
1081
+ parent: z.ZodOptional<z.ZodString>;
1082
+ anchor: z.ZodOptional<z.ZodObject<{
1083
+ x: z.ZodNumber;
1084
+ y: z.ZodNumber;
1085
+ }, z.core.$strict>>;
1086
+ pivot: z.ZodOptional<z.ZodObject<{
1087
+ x: z.ZodNumber;
1088
+ y: z.ZodNumber;
1089
+ }, z.core.$strict>>;
1090
+ offset: z.ZodOptional<z.ZodObject<{
1091
+ x: z.ZodNumber;
1092
+ y: z.ZodNumber;
1093
+ }, z.core.$strict>>;
1094
+ width: z.ZodOptional<z.ZodNumber>;
1095
+ height: z.ZodOptional<z.ZodNumber>;
1096
+ visible: z.ZodOptional<z.ZodBoolean>;
1097
+ opacity: z.ZodOptional<z.ZodNumber>;
1098
+ size: z.ZodOptional<z.ZodNumber>;
1099
+ color: z.ZodOptional<z.ZodString>;
1100
+ fontId: z.ZodOptional<z.ZodString>;
1101
+ kind: z.ZodLiteral<"text">;
1102
+ text: z.ZodString;
1103
+ align: z.ZodOptional<z.ZodEnum<{
1104
+ center: "center";
1105
+ left: "left";
1106
+ right: "right";
1107
+ }>>;
1108
+ }, z.core.$strict>, z.ZodObject<{
1109
+ id: z.ZodString;
1110
+ parent: z.ZodOptional<z.ZodString>;
1111
+ anchor: z.ZodOptional<z.ZodObject<{
1112
+ x: z.ZodNumber;
1113
+ y: z.ZodNumber;
1114
+ }, z.core.$strict>>;
1115
+ pivot: z.ZodOptional<z.ZodObject<{
1116
+ x: z.ZodNumber;
1117
+ y: z.ZodNumber;
1118
+ }, z.core.$strict>>;
1119
+ offset: z.ZodOptional<z.ZodObject<{
1120
+ x: z.ZodNumber;
1121
+ y: z.ZodNumber;
1122
+ }, z.core.$strict>>;
1123
+ width: z.ZodOptional<z.ZodNumber>;
1124
+ height: z.ZodOptional<z.ZodNumber>;
1125
+ visible: z.ZodOptional<z.ZodBoolean>;
1126
+ opacity: z.ZodOptional<z.ZodNumber>;
1127
+ kind: z.ZodLiteral<"bar">;
1128
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1129
+ kind: z.ZodLiteral<"value">;
1130
+ }, z.core.$strict>, z.ZodObject<{
1131
+ kind: z.ZodLiteral<"health">;
1132
+ entityId: z.ZodString;
1133
+ }, z.core.$strict>], "kind">>;
1134
+ value: z.ZodOptional<z.ZodNumber>;
1135
+ max: z.ZodOptional<z.ZodNumber>;
1136
+ color: z.ZodOptional<z.ZodString>;
1137
+ background: z.ZodOptional<z.ZodString>;
1138
+ direction: z.ZodOptional<z.ZodEnum<{
1139
+ bottomToTop: "bottomToTop";
1140
+ leftToRight: "leftToRight";
1141
+ rightToLeft: "rightToLeft";
1142
+ topToBottom: "topToBottom";
1143
+ }>>;
1144
+ }, z.core.$strict>, z.ZodObject<{
1145
+ id: z.ZodString;
1146
+ parent: z.ZodOptional<z.ZodString>;
1147
+ anchor: z.ZodOptional<z.ZodObject<{
1148
+ x: z.ZodNumber;
1149
+ y: z.ZodNumber;
1150
+ }, z.core.$strict>>;
1151
+ pivot: z.ZodOptional<z.ZodObject<{
1152
+ x: z.ZodNumber;
1153
+ y: z.ZodNumber;
1154
+ }, z.core.$strict>>;
1155
+ offset: z.ZodOptional<z.ZodObject<{
1156
+ x: z.ZodNumber;
1157
+ y: z.ZodNumber;
1158
+ }, z.core.$strict>>;
1159
+ width: z.ZodOptional<z.ZodNumber>;
1160
+ height: z.ZodOptional<z.ZodNumber>;
1161
+ visible: z.ZodOptional<z.ZodBoolean>;
1162
+ opacity: z.ZodOptional<z.ZodNumber>;
1163
+ size: z.ZodOptional<z.ZodNumber>;
1164
+ color: z.ZodOptional<z.ZodString>;
1165
+ fontId: z.ZodOptional<z.ZodString>;
1166
+ kind: z.ZodLiteral<"button">;
1167
+ action: z.ZodString;
1168
+ text: z.ZodOptional<z.ZodString>;
1169
+ background: z.ZodOptional<z.ZodString>;
1170
+ }, z.core.$strict>, z.ZodObject<{
1171
+ id: z.ZodString;
1172
+ parent: z.ZodOptional<z.ZodString>;
1173
+ anchor: z.ZodOptional<z.ZodObject<{
1174
+ x: z.ZodNumber;
1175
+ y: z.ZodNumber;
1176
+ }, z.core.$strict>>;
1177
+ pivot: z.ZodOptional<z.ZodObject<{
1178
+ x: z.ZodNumber;
1179
+ y: z.ZodNumber;
1180
+ }, z.core.$strict>>;
1181
+ offset: z.ZodOptional<z.ZodObject<{
1182
+ x: z.ZodNumber;
1183
+ y: z.ZodNumber;
1184
+ }, z.core.$strict>>;
1185
+ width: z.ZodOptional<z.ZodNumber>;
1186
+ height: z.ZodOptional<z.ZodNumber>;
1187
+ visible: z.ZodOptional<z.ZodBoolean>;
1188
+ opacity: z.ZodOptional<z.ZodNumber>;
1189
+ kind: z.ZodLiteral<"stack">;
1190
+ direction: z.ZodOptional<z.ZodEnum<{
1191
+ horizontal: "horizontal";
1192
+ vertical: "vertical";
1193
+ }>>;
1194
+ gap: z.ZodOptional<z.ZodNumber>;
1195
+ padding: z.ZodOptional<z.ZodNumber>;
1196
+ align: z.ZodOptional<z.ZodEnum<{
1197
+ center: "center";
1198
+ end: "end";
1199
+ start: "start";
1200
+ }>>;
1201
+ }, z.core.$strict>, z.ZodObject<{
1202
+ id: z.ZodString;
1203
+ parent: z.ZodOptional<z.ZodString>;
1204
+ anchor: z.ZodOptional<z.ZodObject<{
1205
+ x: z.ZodNumber;
1206
+ y: z.ZodNumber;
1207
+ }, z.core.$strict>>;
1208
+ pivot: z.ZodOptional<z.ZodObject<{
1209
+ x: z.ZodNumber;
1210
+ y: z.ZodNumber;
1211
+ }, z.core.$strict>>;
1212
+ offset: z.ZodOptional<z.ZodObject<{
1213
+ x: z.ZodNumber;
1214
+ y: z.ZodNumber;
1215
+ }, z.core.$strict>>;
1216
+ width: z.ZodOptional<z.ZodNumber>;
1217
+ height: z.ZodOptional<z.ZodNumber>;
1218
+ visible: z.ZodOptional<z.ZodBoolean>;
1219
+ opacity: z.ZodOptional<z.ZodNumber>;
1220
+ kind: z.ZodLiteral<"grid">;
1221
+ columns: z.ZodNumber;
1222
+ gap: z.ZodOptional<z.ZodNumber>;
1223
+ padding: z.ZodOptional<z.ZodNumber>;
1224
+ }, z.core.$strict>], "kind">>;
1225
+ }, z.core.$strict>;
1226
+ }, z.core.$strict>, z.ZodObject<{
1227
+ id: z.ZodString;
1228
+ pauseSimulation: z.ZodOptional<z.ZodBoolean>;
1229
+ kind: z.ZodLiteral<"custom">;
1230
+ ui: z.ZodObject<{
1231
+ safeArea: z.ZodOptional<z.ZodBoolean>;
1232
+ focusNavigation: z.ZodOptional<z.ZodBoolean>;
1233
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1234
+ id: z.ZodString;
1235
+ parent: z.ZodOptional<z.ZodString>;
1236
+ anchor: z.ZodOptional<z.ZodObject<{
1237
+ x: z.ZodNumber;
1238
+ y: z.ZodNumber;
1239
+ }, z.core.$strict>>;
1240
+ pivot: z.ZodOptional<z.ZodObject<{
1241
+ x: z.ZodNumber;
1242
+ y: z.ZodNumber;
1243
+ }, z.core.$strict>>;
1244
+ offset: z.ZodOptional<z.ZodObject<{
1245
+ x: z.ZodNumber;
1246
+ y: z.ZodNumber;
1247
+ }, z.core.$strict>>;
1248
+ width: z.ZodOptional<z.ZodNumber>;
1249
+ height: z.ZodOptional<z.ZodNumber>;
1250
+ visible: z.ZodOptional<z.ZodBoolean>;
1251
+ opacity: z.ZodOptional<z.ZodNumber>;
1252
+ kind: z.ZodLiteral<"panel">;
1253
+ color: z.ZodOptional<z.ZodString>;
1254
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
1255
+ }, z.core.$strict>, z.ZodObject<{
1256
+ id: z.ZodString;
1257
+ parent: z.ZodOptional<z.ZodString>;
1258
+ anchor: z.ZodOptional<z.ZodObject<{
1259
+ x: z.ZodNumber;
1260
+ y: z.ZodNumber;
1261
+ }, z.core.$strict>>;
1262
+ pivot: z.ZodOptional<z.ZodObject<{
1263
+ x: z.ZodNumber;
1264
+ y: z.ZodNumber;
1265
+ }, z.core.$strict>>;
1266
+ offset: z.ZodOptional<z.ZodObject<{
1267
+ x: z.ZodNumber;
1268
+ y: z.ZodNumber;
1269
+ }, z.core.$strict>>;
1270
+ width: z.ZodOptional<z.ZodNumber>;
1271
+ height: z.ZodOptional<z.ZodNumber>;
1272
+ visible: z.ZodOptional<z.ZodBoolean>;
1273
+ opacity: z.ZodOptional<z.ZodNumber>;
1274
+ kind: z.ZodLiteral<"image">;
1275
+ assetId: z.ZodString;
1276
+ }, z.core.$strict>, z.ZodObject<{
1277
+ id: z.ZodString;
1278
+ parent: z.ZodOptional<z.ZodString>;
1279
+ anchor: z.ZodOptional<z.ZodObject<{
1280
+ x: z.ZodNumber;
1281
+ y: z.ZodNumber;
1282
+ }, z.core.$strict>>;
1283
+ pivot: z.ZodOptional<z.ZodObject<{
1284
+ x: z.ZodNumber;
1285
+ y: z.ZodNumber;
1286
+ }, z.core.$strict>>;
1287
+ offset: z.ZodOptional<z.ZodObject<{
1288
+ x: z.ZodNumber;
1289
+ y: z.ZodNumber;
1290
+ }, z.core.$strict>>;
1291
+ width: z.ZodOptional<z.ZodNumber>;
1292
+ height: z.ZodOptional<z.ZodNumber>;
1293
+ visible: z.ZodOptional<z.ZodBoolean>;
1294
+ opacity: z.ZodOptional<z.ZodNumber>;
1295
+ size: z.ZodOptional<z.ZodNumber>;
1296
+ color: z.ZodOptional<z.ZodString>;
1297
+ fontId: z.ZodOptional<z.ZodString>;
1298
+ kind: z.ZodLiteral<"text">;
1299
+ text: z.ZodString;
1300
+ align: z.ZodOptional<z.ZodEnum<{
1301
+ center: "center";
1302
+ left: "left";
1303
+ right: "right";
1304
+ }>>;
1305
+ }, z.core.$strict>, z.ZodObject<{
1306
+ id: z.ZodString;
1307
+ parent: z.ZodOptional<z.ZodString>;
1308
+ anchor: z.ZodOptional<z.ZodObject<{
1309
+ x: z.ZodNumber;
1310
+ y: z.ZodNumber;
1311
+ }, z.core.$strict>>;
1312
+ pivot: z.ZodOptional<z.ZodObject<{
1313
+ x: z.ZodNumber;
1314
+ y: z.ZodNumber;
1315
+ }, z.core.$strict>>;
1316
+ offset: z.ZodOptional<z.ZodObject<{
1317
+ x: z.ZodNumber;
1318
+ y: z.ZodNumber;
1319
+ }, z.core.$strict>>;
1320
+ width: z.ZodOptional<z.ZodNumber>;
1321
+ height: z.ZodOptional<z.ZodNumber>;
1322
+ visible: z.ZodOptional<z.ZodBoolean>;
1323
+ opacity: z.ZodOptional<z.ZodNumber>;
1324
+ kind: z.ZodLiteral<"bar">;
1325
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1326
+ kind: z.ZodLiteral<"value">;
1327
+ }, z.core.$strict>, z.ZodObject<{
1328
+ kind: z.ZodLiteral<"health">;
1329
+ entityId: z.ZodString;
1330
+ }, z.core.$strict>], "kind">>;
1331
+ value: z.ZodOptional<z.ZodNumber>;
1332
+ max: z.ZodOptional<z.ZodNumber>;
1333
+ color: z.ZodOptional<z.ZodString>;
1334
+ background: z.ZodOptional<z.ZodString>;
1335
+ direction: z.ZodOptional<z.ZodEnum<{
1336
+ bottomToTop: "bottomToTop";
1337
+ leftToRight: "leftToRight";
1338
+ rightToLeft: "rightToLeft";
1339
+ topToBottom: "topToBottom";
1340
+ }>>;
1341
+ }, z.core.$strict>, z.ZodObject<{
1342
+ id: z.ZodString;
1343
+ parent: z.ZodOptional<z.ZodString>;
1344
+ anchor: z.ZodOptional<z.ZodObject<{
1345
+ x: z.ZodNumber;
1346
+ y: z.ZodNumber;
1347
+ }, z.core.$strict>>;
1348
+ pivot: z.ZodOptional<z.ZodObject<{
1349
+ x: z.ZodNumber;
1350
+ y: z.ZodNumber;
1351
+ }, z.core.$strict>>;
1352
+ offset: z.ZodOptional<z.ZodObject<{
1353
+ x: z.ZodNumber;
1354
+ y: z.ZodNumber;
1355
+ }, z.core.$strict>>;
1356
+ width: z.ZodOptional<z.ZodNumber>;
1357
+ height: z.ZodOptional<z.ZodNumber>;
1358
+ visible: z.ZodOptional<z.ZodBoolean>;
1359
+ opacity: z.ZodOptional<z.ZodNumber>;
1360
+ size: z.ZodOptional<z.ZodNumber>;
1361
+ color: z.ZodOptional<z.ZodString>;
1362
+ fontId: z.ZodOptional<z.ZodString>;
1363
+ kind: z.ZodLiteral<"button">;
1364
+ action: z.ZodString;
1365
+ text: z.ZodOptional<z.ZodString>;
1366
+ background: z.ZodOptional<z.ZodString>;
1367
+ }, z.core.$strict>, z.ZodObject<{
1368
+ id: z.ZodString;
1369
+ parent: z.ZodOptional<z.ZodString>;
1370
+ anchor: z.ZodOptional<z.ZodObject<{
1371
+ x: z.ZodNumber;
1372
+ y: z.ZodNumber;
1373
+ }, z.core.$strict>>;
1374
+ pivot: z.ZodOptional<z.ZodObject<{
1375
+ x: z.ZodNumber;
1376
+ y: z.ZodNumber;
1377
+ }, z.core.$strict>>;
1378
+ offset: z.ZodOptional<z.ZodObject<{
1379
+ x: z.ZodNumber;
1380
+ y: z.ZodNumber;
1381
+ }, z.core.$strict>>;
1382
+ width: z.ZodOptional<z.ZodNumber>;
1383
+ height: z.ZodOptional<z.ZodNumber>;
1384
+ visible: z.ZodOptional<z.ZodBoolean>;
1385
+ opacity: z.ZodOptional<z.ZodNumber>;
1386
+ kind: z.ZodLiteral<"stack">;
1387
+ direction: z.ZodOptional<z.ZodEnum<{
1388
+ horizontal: "horizontal";
1389
+ vertical: "vertical";
1390
+ }>>;
1391
+ gap: z.ZodOptional<z.ZodNumber>;
1392
+ padding: z.ZodOptional<z.ZodNumber>;
1393
+ align: z.ZodOptional<z.ZodEnum<{
1394
+ center: "center";
1395
+ end: "end";
1396
+ start: "start";
1397
+ }>>;
1398
+ }, z.core.$strict>, z.ZodObject<{
1399
+ id: z.ZodString;
1400
+ parent: z.ZodOptional<z.ZodString>;
1401
+ anchor: z.ZodOptional<z.ZodObject<{
1402
+ x: z.ZodNumber;
1403
+ y: z.ZodNumber;
1404
+ }, z.core.$strict>>;
1405
+ pivot: z.ZodOptional<z.ZodObject<{
1406
+ x: z.ZodNumber;
1407
+ y: z.ZodNumber;
1408
+ }, z.core.$strict>>;
1409
+ offset: z.ZodOptional<z.ZodObject<{
1410
+ x: z.ZodNumber;
1411
+ y: z.ZodNumber;
1412
+ }, z.core.$strict>>;
1413
+ width: z.ZodOptional<z.ZodNumber>;
1414
+ height: z.ZodOptional<z.ZodNumber>;
1415
+ visible: z.ZodOptional<z.ZodBoolean>;
1416
+ opacity: z.ZodOptional<z.ZodNumber>;
1417
+ kind: z.ZodLiteral<"grid">;
1418
+ columns: z.ZodNumber;
1419
+ gap: z.ZodOptional<z.ZodNumber>;
1420
+ padding: z.ZodOptional<z.ZodNumber>;
1421
+ }, z.core.$strict>], "kind">>;
1422
+ }, z.core.$strict>;
1423
+ }, z.core.$strict>], "kind">>;
1424
+ transitions: z.ZodArray<z.ZodObject<{
1425
+ from: z.ZodNullable<z.ZodString>;
1426
+ on: z.ZodDiscriminatedUnion<[z.ZodObject<{
1427
+ kind: z.ZodLiteral<"action">;
1428
+ action: z.ZodString;
1429
+ }, z.core.$strict>, z.ZodObject<{
1430
+ kind: z.ZodLiteral<"trigger">;
1431
+ event: z.ZodString;
1432
+ }, z.core.$strict>, z.ZodObject<{
1433
+ kind: z.ZodLiteral<"win">;
1434
+ }, z.core.$strict>], "kind">;
1435
+ to: z.ZodNullable<z.ZodString>;
1436
+ }, z.core.$strict>>;
1437
+ }, z.core.$strict>>;
436
1438
  assets: z.ZodRecord<z.ZodString, z.ZodObject<{
437
1439
  assetId: z.ZodString;
438
1440
  digest: z.ZodString;
@@ -514,6 +1516,10 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
514
1516
  volume: z.ZodDefault<z.ZodNumber>;
515
1517
  fadeInTicks: z.ZodDefault<z.ZodNumber>;
516
1518
  fadeOutTicks: z.ZodDefault<z.ZodNumber>;
1519
+ streaming: z.ZodOptional<z.ZodObject<{
1520
+ loopStartSeconds: z.ZodDefault<z.ZodNumber>;
1521
+ loopEndSeconds: z.ZodOptional<z.ZodNumber>;
1522
+ }, z.core.$strict>>;
517
1523
  }, z.core.$strict>>;
518
1524
  lighting: z.ZodOptional<z.ZodObject<{
519
1525
  required: z.ZodOptional<z.ZodBoolean>;
@@ -840,6 +1846,26 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
840
1846
  }>>;
841
1847
  unlit: z.ZodOptional<z.ZodBoolean>;
842
1848
  layer: z.ZodOptional<z.ZodNumber>;
1849
+ render: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1850
+ kind: z.ZodLiteral<"billboard">;
1851
+ }, z.core.$strict>, z.ZodObject<{
1852
+ kind: z.ZodLiteral<"stretched">;
1853
+ length: z.ZodDefault<z.ZodNumber>;
1854
+ speedScale: z.ZodDefault<z.ZodNumber>;
1855
+ }, z.core.$strict>, z.ZodObject<{
1856
+ kind: z.ZodLiteral<"mesh">;
1857
+ shape: z.ZodEnum<{
1858
+ box: "box";
1859
+ octahedron: "octahedron";
1860
+ sphere: "sphere";
1861
+ tetrahedron: "tetrahedron";
1862
+ }>;
1863
+ align: z.ZodDefault<z.ZodEnum<{
1864
+ velocity: "velocity";
1865
+ world: "world";
1866
+ }>>;
1867
+ }, z.core.$strict>], "kind">>;
1868
+ softness: z.ZodOptional<z.ZodNumber>;
843
1869
  }, z.core.$strict>>;
844
1870
  }, z.core.$strict>>;
845
1871
  id: z.ZodString;
@@ -1497,6 +2523,26 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
1497
2523
  }>>;
1498
2524
  unlit: z.ZodOptional<z.ZodBoolean>;
1499
2525
  layer: z.ZodOptional<z.ZodNumber>;
2526
+ render: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2527
+ kind: z.ZodLiteral<"billboard">;
2528
+ }, z.core.$strict>, z.ZodObject<{
2529
+ kind: z.ZodLiteral<"stretched">;
2530
+ length: z.ZodDefault<z.ZodNumber>;
2531
+ speedScale: z.ZodDefault<z.ZodNumber>;
2532
+ }, z.core.$strict>, z.ZodObject<{
2533
+ kind: z.ZodLiteral<"mesh">;
2534
+ shape: z.ZodEnum<{
2535
+ box: "box";
2536
+ octahedron: "octahedron";
2537
+ sphere: "sphere";
2538
+ tetrahedron: "tetrahedron";
2539
+ }>;
2540
+ align: z.ZodDefault<z.ZodEnum<{
2541
+ velocity: "velocity";
2542
+ world: "world";
2543
+ }>>;
2544
+ }, z.core.$strict>], "kind">>;
2545
+ softness: z.ZodOptional<z.ZodNumber>;
1500
2546
  }, z.core.$strict>>;
1501
2547
  }, z.core.$strict>>>;
1502
2548
  name: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -1979,6 +3025,18 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
1979
3025
  blend?: "additive" | "normal" | undefined;
1980
3026
  unlit?: boolean | undefined;
1981
3027
  layer?: number | undefined;
3028
+ render?: {
3029
+ kind: "billboard";
3030
+ } | {
3031
+ kind: "stretched";
3032
+ length?: number | undefined;
3033
+ speedScale?: number | undefined;
3034
+ } | {
3035
+ kind: "mesh";
3036
+ shape: "box" | "octahedron" | "sphere" | "tetrahedron";
3037
+ align?: "velocity" | "world" | undefined;
3038
+ } | undefined;
3039
+ softness?: number | undefined;
1982
3040
  }[] | undefined;
1983
3041
  } | null | undefined;
1984
3042
  parentId?: string | null | undefined;
@@ -2343,6 +3401,18 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
2343
3401
  blend?: "additive" | "normal" | undefined;
2344
3402
  unlit?: boolean | undefined;
2345
3403
  layer?: number | undefined;
3404
+ render?: {
3405
+ kind: "billboard";
3406
+ } | {
3407
+ kind: "stretched";
3408
+ length?: number | undefined;
3409
+ speedScale?: number | undefined;
3410
+ } | {
3411
+ kind: "mesh";
3412
+ shape: "box" | "octahedron" | "sphere" | "tetrahedron";
3413
+ align?: "velocity" | "world" | undefined;
3414
+ } | undefined;
3415
+ softness?: number | undefined;
2346
3416
  }[] | undefined;
2347
3417
  } | null | undefined;
2348
3418
  parentId?: string | null | undefined;
@@ -2566,6 +3636,10 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
2566
3636
  volume: z.ZodDefault<z.ZodNumber>;
2567
3637
  fadeInTicks: z.ZodDefault<z.ZodNumber>;
2568
3638
  fadeOutTicks: z.ZodDefault<z.ZodNumber>;
3639
+ streaming: z.ZodOptional<z.ZodObject<{
3640
+ loopStartSeconds: z.ZodDefault<z.ZodNumber>;
3641
+ loopEndSeconds: z.ZodOptional<z.ZodNumber>;
3642
+ }, z.core.$strict>>;
2569
3643
  }, z.core.$strict>>>;
2570
3644
  lighting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2571
3645
  required: z.ZodOptional<z.ZodBoolean>;
@@ -2892,6 +3966,26 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
2892
3966
  }>>;
2893
3967
  unlit: z.ZodOptional<z.ZodBoolean>;
2894
3968
  layer: z.ZodOptional<z.ZodNumber>;
3969
+ render: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3970
+ kind: z.ZodLiteral<"billboard">;
3971
+ }, z.core.$strict>, z.ZodObject<{
3972
+ kind: z.ZodLiteral<"stretched">;
3973
+ length: z.ZodDefault<z.ZodNumber>;
3974
+ speedScale: z.ZodDefault<z.ZodNumber>;
3975
+ }, z.core.$strict>, z.ZodObject<{
3976
+ kind: z.ZodLiteral<"mesh">;
3977
+ shape: z.ZodEnum<{
3978
+ box: "box";
3979
+ octahedron: "octahedron";
3980
+ sphere: "sphere";
3981
+ tetrahedron: "tetrahedron";
3982
+ }>;
3983
+ align: z.ZodDefault<z.ZodEnum<{
3984
+ velocity: "velocity";
3985
+ world: "world";
3986
+ }>>;
3987
+ }, z.core.$strict>], "kind">>;
3988
+ softness: z.ZodOptional<z.ZodNumber>;
2895
3989
  }, z.core.$strict>>;
2896
3990
  }, z.core.$strict>>;
2897
3991
  id: z.ZodString;
@@ -3250,6 +4344,10 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
3250
4344
  volume?: number | undefined;
3251
4345
  fadeInTicks?: number | undefined;
3252
4346
  fadeOutTicks?: number | undefined;
4347
+ streaming?: {
4348
+ loopStartSeconds?: number | undefined;
4349
+ loopEndSeconds?: number | undefined;
4350
+ } | undefined;
3253
4351
  } | null | undefined;
3254
4352
  gravity?: {
3255
4353
  x: number;
@@ -3263,6 +4361,10 @@ export declare const gameDocumentOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
3263
4361
  volume?: number | undefined;
3264
4362
  fadeInTicks?: number | undefined;
3265
4363
  fadeOutTicks?: number | undefined;
4364
+ streaming?: {
4365
+ loopStartSeconds?: number | undefined;
4366
+ loopEndSeconds?: number | undefined;
4367
+ } | undefined;
3266
4368
  } | null | undefined;
3267
4369
  gravity?: {
3268
4370
  x: number;