@dreamboard-games/sdk 0.4.0-alpha.13 → 0.4.0-alpha.14
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/README.md +29 -11
- package/dist/authoring/index.d.ts +3 -6
- package/dist/authoring/index.js +2 -2
- package/dist/authoring-compiler.d.ts +3 -3
- package/dist/authoring-compiler.js +3 -4
- package/dist/authoring-materialize-cli.js +5 -6
- package/dist/authoring-materialize-cli.js.map +1 -1
- package/dist/browser-interaction.d.ts +21 -21
- package/dist/{chunk-3PFDHTR7.js → chunk-3VSOH3TZ.js} +29 -2
- package/dist/chunk-3VSOH3TZ.js.map +1 -0
- package/dist/{chunk-OFIDC7DJ.js → chunk-73YISGYO.js} +4 -4
- package/dist/chunk-73YISGYO.js.map +1 -0
- package/dist/{chunk-YNW3KBDE.js → chunk-7QKE5BFU.js} +2 -2
- package/dist/{chunk-KZFHTUI5.js → chunk-CHOXM43O.js} +4 -4
- package/dist/chunk-CSIEFYTC.js +9 -0
- package/dist/chunk-CSIEFYTC.js.map +1 -0
- package/dist/{chunk-MLFHVYF7.js → chunk-KH6AET7P.js} +4 -4
- package/dist/chunk-KH6AET7P.js.map +1 -0
- package/dist/{chunk-MPVC2SU6.js → chunk-LMHCGCA6.js} +2 -2
- package/dist/{chunk-WAQUD4IG.js → chunk-NLZDRIVW.js} +16 -16
- package/dist/{chunk-5XTAQ4EQ.js → chunk-TO6WRLRN.js} +2 -2
- package/dist/{chunk-42HQLHVA.js → chunk-VJVKGWHW.js} +4 -7
- package/dist/chunk-VJVKGWHW.js.map +1 -0
- package/dist/{chunk-YOLIZMXR.js → chunk-VRRR6QZT.js} +3 -3
- package/dist/{chunk-YOLIZMXR.js.map → chunk-VRRR6QZT.js.map} +1 -1
- package/dist/{chunk-XDGRC6OR.js → chunk-WASWAYYX.js} +3 -3
- package/dist/{chunk-7JBPOJOF.js → chunk-ZGQGFXFG.js} +9 -9
- package/dist/{index.d-C7Ztirg6.d.ts → index.d-90ms7Mwh.d.ts} +124 -115
- package/dist/index.js +2 -2
- package/dist/package-set.d.ts +2 -2
- package/dist/package-set.js +2 -2
- package/dist/reducer/advanced.js +3 -3
- package/dist/reducer-contract.d.ts +1 -1
- package/dist/reducer-contract.js +3 -1
- package/dist/reducer.d.ts +1 -1
- package/dist/reducer.js +3 -3
- package/dist/reference-games/index.d.ts +29 -11
- package/dist/reference-games/index.js +43 -45
- package/dist/reference-games/index.js.map +1 -1
- package/dist/runtime/primitives.js +4 -4
- package/dist/runtime/workspace-contract.js +8 -8
- package/dist/runtime.js +12 -12
- package/dist/testing-compiler.d.ts +1 -1
- package/dist/testing-compiler.js +1 -4
- package/dist/testing-compiler.js.map +1 -1
- package/dist/testing-runtime.d.ts +3 -3
- package/dist/testing-runtime.js +5 -5
- package/dist/testing.d.ts +5 -140
- package/dist/testing.js +5 -450
- package/dist/testing.js.map +1 -1
- package/dist/{types-B-FI0jrx.d.ts → types-Cs_Jp0cf.d.ts} +1 -1
- package/dist/ui/components.js +1 -1
- package/dist/ui.js +2 -2
- package/package.json +22 -29
- package/REFERENCE.md +0 -25375
- package/dist/chunk-3PFDHTR7.js.map +0 -1
- package/dist/chunk-42HQLHVA.js.map +0 -1
- package/dist/chunk-MLFHVYF7.js.map +0 -1
- package/dist/chunk-OFIDC7DJ.js.map +0 -1
- package/dist/chunk-THWT4V3Z.js +0 -12
- package/dist/chunk-THWT4V3Z.js.map +0 -1
- package/dist/chunk-UNVCT5Z7.js +0 -73
- package/dist/chunk-UNVCT5Z7.js.map +0 -1
- package/dist/chunk-UTSBXZAM.js +0 -435
- package/dist/chunk-UTSBXZAM.js.map +0 -1
- package/dist/chunk-YN5W67YL.js +0 -174
- package/dist/chunk-YN5W67YL.js.map +0 -1
- package/dist/reference-game-compiler.d.ts +0 -45
- package/dist/reference-game-compiler.js +0 -25
- package/dist/reference-game-compiler.js.map +0 -1
- package/dist/reference-game-source-manifest-cli.d.ts +0 -1
- package/dist/reference-game-source-manifest-cli.js +0 -84
- package/dist/reference-game-source-manifest-cli.js.map +0 -1
- package/dist/schema-CJc0UfjJ.d.ts +0 -216
- /package/dist/{chunk-YNW3KBDE.js.map → chunk-7QKE5BFU.js.map} +0 -0
- /package/dist/{chunk-KZFHTUI5.js.map → chunk-CHOXM43O.js.map} +0 -0
- /package/dist/{chunk-MPVC2SU6.js.map → chunk-LMHCGCA6.js.map} +0 -0
- /package/dist/{chunk-WAQUD4IG.js.map → chunk-NLZDRIVW.js.map} +0 -0
- /package/dist/{chunk-5XTAQ4EQ.js.map → chunk-TO6WRLRN.js.map} +0 -0
- /package/dist/{chunk-XDGRC6OR.js.map → chunk-WASWAYYX.js.map} +0 -0
- /package/dist/{chunk-7JBPOJOF.js.map → chunk-ZGQGFXFG.js.map} +0 -0
|
@@ -357,14 +357,14 @@ declare namespace wire {
|
|
|
357
357
|
|
|
358
358
|
declare const ReducerContractVersionSchema: z.ZodString;
|
|
359
359
|
declare const EffectIdSchema: z.ZodString;
|
|
360
|
-
declare const JsonValueSchema: z.ZodType<
|
|
360
|
+
declare const JsonValueSchema: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
361
361
|
declare const ContinuationTokenSchema: z.ZodObject<{
|
|
362
362
|
id: z.ZodString;
|
|
363
|
-
data: z.ZodType<
|
|
363
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
364
364
|
}, z.core.$strict>;
|
|
365
365
|
declare const ContinuationMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
366
366
|
id: z.ZodString;
|
|
367
|
-
data: z.ZodType<
|
|
367
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
368
368
|
}, z.core.$strict>>;
|
|
369
369
|
declare const ReducerSetupSelectionSchema: z.ZodObject<{
|
|
370
370
|
profileId: z.ZodString;
|
|
@@ -406,14 +406,14 @@ declare const ReducerFlowStateSchema: z.ZodObject<{
|
|
|
406
406
|
}, z.core.$strict>;
|
|
407
407
|
declare const RuntimeSimultaneousSubmissionSchema: z.ZodObject<{
|
|
408
408
|
interactionId: z.ZodString;
|
|
409
|
-
params: z.ZodType<
|
|
409
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
410
410
|
}, z.core.$strict>;
|
|
411
411
|
declare const RuntimeSimultaneousCurrentSchema: z.ZodObject<{
|
|
412
412
|
phaseName: z.ZodString;
|
|
413
413
|
actors: z.ZodArray<z.ZodString>;
|
|
414
414
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
415
415
|
interactionId: z.ZodString;
|
|
416
|
-
params: z.ZodType<
|
|
416
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
417
417
|
}, z.core.$strict>>;
|
|
418
418
|
}, z.core.$strict>;
|
|
419
419
|
declare const RuntimeSimultaneousStateSchema: z.ZodObject<{
|
|
@@ -422,7 +422,7 @@ declare const RuntimeSimultaneousStateSchema: z.ZodObject<{
|
|
|
422
422
|
actors: z.ZodArray<z.ZodString>;
|
|
423
423
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
424
424
|
interactionId: z.ZodString;
|
|
425
|
-
params: z.ZodType<
|
|
425
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
426
426
|
}, z.core.$strict>>;
|
|
427
427
|
}, z.core.$strict>, z.ZodNull]>;
|
|
428
428
|
}, z.core.$strict>;
|
|
@@ -455,7 +455,7 @@ declare const ReducerRuntimeStateSchema: z.ZodObject<{
|
|
|
455
455
|
actors: z.ZodArray<z.ZodString>;
|
|
456
456
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
457
457
|
interactionId: z.ZodString;
|
|
458
|
-
params: z.ZodType<
|
|
458
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
459
459
|
}, z.core.$strict>>;
|
|
460
460
|
}, z.core.$strict>, z.ZodNull]>;
|
|
461
461
|
}, z.core.$strict>;
|
|
@@ -465,17 +465,17 @@ declare const ReducerRuntimeStateSchema: z.ZodObject<{
|
|
|
465
465
|
}, z.core.$strict>, z.ZodNull]>;
|
|
466
466
|
}, z.core.$strict>;
|
|
467
467
|
declare const ReducerDomainStateSchema: z.ZodObject<{
|
|
468
|
-
table: z.ZodType<
|
|
469
|
-
publicState: z.ZodType<
|
|
470
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
471
|
-
hiddenState: z.ZodType<
|
|
468
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
469
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
470
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
471
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
472
472
|
flow: z.ZodObject<{
|
|
473
473
|
currentPhase: z.ZodString;
|
|
474
474
|
turn: z.ZodNumber;
|
|
475
475
|
round: z.ZodNumber;
|
|
476
476
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
477
477
|
}, z.core.$strict>;
|
|
478
|
-
phase: z.ZodType<
|
|
478
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
479
479
|
}, z.core.$strict>;
|
|
480
480
|
declare const ReducerSessionMetaSchema: z.ZodObject<{
|
|
481
481
|
contractFingerprint: z.ZodString;
|
|
@@ -485,17 +485,17 @@ declare const ReducerSessionStateSchema: z.ZodObject<{
|
|
|
485
485
|
contractFingerprint: z.ZodString;
|
|
486
486
|
}, z.core.$strict>>;
|
|
487
487
|
domain: z.ZodObject<{
|
|
488
|
-
table: z.ZodType<
|
|
489
|
-
publicState: z.ZodType<
|
|
490
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
491
|
-
hiddenState: z.ZodType<
|
|
488
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
489
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
490
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
491
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
492
492
|
flow: z.ZodObject<{
|
|
493
493
|
currentPhase: z.ZodString;
|
|
494
494
|
turn: z.ZodNumber;
|
|
495
495
|
round: z.ZodNumber;
|
|
496
496
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
497
497
|
}, z.core.$strict>;
|
|
498
|
-
phase: z.ZodType<
|
|
498
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
499
499
|
}, z.core.$strict>;
|
|
500
500
|
runtime: z.ZodObject<{
|
|
501
501
|
rng: z.ZodObject<{
|
|
@@ -522,7 +522,7 @@ declare const ReducerSessionStateSchema: z.ZodObject<{
|
|
|
522
522
|
actors: z.ZodArray<z.ZodString>;
|
|
523
523
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
524
524
|
interactionId: z.ZodString;
|
|
525
|
-
params: z.ZodType<
|
|
525
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
526
526
|
}, z.core.$strict>>;
|
|
527
527
|
}, z.core.$strict>, z.ZodNull]>;
|
|
528
528
|
}, z.core.$strict>;
|
|
@@ -536,13 +536,13 @@ declare const GameInputInteractionSchema: z.ZodObject<{
|
|
|
536
536
|
kind: z.ZodLiteral<"interaction">;
|
|
537
537
|
playerId: z.ZodString;
|
|
538
538
|
interactionId: z.ZodString;
|
|
539
|
-
params: z.ZodType<
|
|
539
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
540
540
|
}, z.core.$strict>;
|
|
541
541
|
declare const GameInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
542
542
|
kind: z.ZodLiteral<"interaction">;
|
|
543
543
|
playerId: z.ZodString;
|
|
544
544
|
interactionId: z.ZodString;
|
|
545
|
-
params: z.ZodType<
|
|
545
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
546
546
|
}, z.core.$strict>], "kind">;
|
|
547
547
|
declare const EffectTransitionSchema: z.ZodObject<{
|
|
548
548
|
effectId: z.ZodString;
|
|
@@ -589,7 +589,7 @@ declare const ReducerInputValidationResultSchema: z.ZodObject<{
|
|
|
589
589
|
message: z.ZodOptional<z.ZodString>;
|
|
590
590
|
}, z.core.$strict>;
|
|
591
591
|
declare const InitializeRequestSchema: z.ZodObject<{
|
|
592
|
-
table: z.ZodType<
|
|
592
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
593
593
|
playerIds: z.ZodArray<z.ZodString>;
|
|
594
594
|
rngSeed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
595
595
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -603,17 +603,17 @@ declare const InitializePhaseRequestSchema: z.ZodObject<{
|
|
|
603
603
|
contractFingerprint: z.ZodString;
|
|
604
604
|
}, z.core.$strict>>;
|
|
605
605
|
domain: z.ZodObject<{
|
|
606
|
-
table: z.ZodType<
|
|
607
|
-
publicState: z.ZodType<
|
|
608
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
609
|
-
hiddenState: z.ZodType<
|
|
606
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
607
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
608
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
609
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
610
610
|
flow: z.ZodObject<{
|
|
611
611
|
currentPhase: z.ZodString;
|
|
612
612
|
turn: z.ZodNumber;
|
|
613
613
|
round: z.ZodNumber;
|
|
614
614
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
615
615
|
}, z.core.$strict>;
|
|
616
|
-
phase: z.ZodType<
|
|
616
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
617
617
|
}, z.core.$strict>;
|
|
618
618
|
runtime: z.ZodObject<{
|
|
619
619
|
rng: z.ZodObject<{
|
|
@@ -640,7 +640,7 @@ declare const InitializePhaseRequestSchema: z.ZodObject<{
|
|
|
640
640
|
actors: z.ZodArray<z.ZodString>;
|
|
641
641
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
642
642
|
interactionId: z.ZodString;
|
|
643
|
-
params: z.ZodType<
|
|
643
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
644
644
|
}, z.core.$strict>>;
|
|
645
645
|
}, z.core.$strict>, z.ZodNull]>;
|
|
646
646
|
}, z.core.$strict>;
|
|
@@ -658,17 +658,17 @@ declare const ValidateInputRequestSchema: z.ZodObject<{
|
|
|
658
658
|
contractFingerprint: z.ZodString;
|
|
659
659
|
}, z.core.$strict>>;
|
|
660
660
|
domain: z.ZodObject<{
|
|
661
|
-
table: z.ZodType<
|
|
662
|
-
publicState: z.ZodType<
|
|
663
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
664
|
-
hiddenState: z.ZodType<
|
|
661
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
662
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
663
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
664
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
665
665
|
flow: z.ZodObject<{
|
|
666
666
|
currentPhase: z.ZodString;
|
|
667
667
|
turn: z.ZodNumber;
|
|
668
668
|
round: z.ZodNumber;
|
|
669
669
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
670
670
|
}, z.core.$strict>;
|
|
671
|
-
phase: z.ZodType<
|
|
671
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
672
672
|
}, z.core.$strict>;
|
|
673
673
|
runtime: z.ZodObject<{
|
|
674
674
|
rng: z.ZodObject<{
|
|
@@ -695,7 +695,7 @@ declare const ValidateInputRequestSchema: z.ZodObject<{
|
|
|
695
695
|
actors: z.ZodArray<z.ZodString>;
|
|
696
696
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
697
697
|
interactionId: z.ZodString;
|
|
698
|
-
params: z.ZodType<
|
|
698
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
699
699
|
}, z.core.$strict>>;
|
|
700
700
|
}, z.core.$strict>, z.ZodNull]>;
|
|
701
701
|
}, z.core.$strict>;
|
|
@@ -709,7 +709,7 @@ declare const ValidateInputRequestSchema: z.ZodObject<{
|
|
|
709
709
|
kind: z.ZodLiteral<"interaction">;
|
|
710
710
|
playerId: z.ZodString;
|
|
711
711
|
interactionId: z.ZodString;
|
|
712
|
-
params: z.ZodType<
|
|
712
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
713
713
|
}, z.core.$strict>], "kind">;
|
|
714
714
|
}, z.core.$strict>;
|
|
715
715
|
declare const ReduceRequestSchema: z.ZodObject<{
|
|
@@ -718,17 +718,17 @@ declare const ReduceRequestSchema: z.ZodObject<{
|
|
|
718
718
|
contractFingerprint: z.ZodString;
|
|
719
719
|
}, z.core.$strict>>;
|
|
720
720
|
domain: z.ZodObject<{
|
|
721
|
-
table: z.ZodType<
|
|
722
|
-
publicState: z.ZodType<
|
|
723
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
724
|
-
hiddenState: z.ZodType<
|
|
721
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
722
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
723
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
724
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
725
725
|
flow: z.ZodObject<{
|
|
726
726
|
currentPhase: z.ZodString;
|
|
727
727
|
turn: z.ZodNumber;
|
|
728
728
|
round: z.ZodNumber;
|
|
729
729
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
730
730
|
}, z.core.$strict>;
|
|
731
|
-
phase: z.ZodType<
|
|
731
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
732
732
|
}, z.core.$strict>;
|
|
733
733
|
runtime: z.ZodObject<{
|
|
734
734
|
rng: z.ZodObject<{
|
|
@@ -755,7 +755,7 @@ declare const ReduceRequestSchema: z.ZodObject<{
|
|
|
755
755
|
actors: z.ZodArray<z.ZodString>;
|
|
756
756
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
757
757
|
interactionId: z.ZodString;
|
|
758
|
-
params: z.ZodType<
|
|
758
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
759
759
|
}, z.core.$strict>>;
|
|
760
760
|
}, z.core.$strict>, z.ZodNull]>;
|
|
761
761
|
}, z.core.$strict>;
|
|
@@ -769,7 +769,7 @@ declare const ReduceRequestSchema: z.ZodObject<{
|
|
|
769
769
|
kind: z.ZodLiteral<"interaction">;
|
|
770
770
|
playerId: z.ZodString;
|
|
771
771
|
interactionId: z.ZodString;
|
|
772
|
-
params: z.ZodType<
|
|
772
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
773
773
|
}, z.core.$strict>], "kind">;
|
|
774
774
|
}, z.core.$strict>;
|
|
775
775
|
declare const DispatchRequestSchema: z.ZodObject<{
|
|
@@ -778,17 +778,17 @@ declare const DispatchRequestSchema: z.ZodObject<{
|
|
|
778
778
|
contractFingerprint: z.ZodString;
|
|
779
779
|
}, z.core.$strict>>;
|
|
780
780
|
domain: z.ZodObject<{
|
|
781
|
-
table: z.ZodType<
|
|
782
|
-
publicState: z.ZodType<
|
|
783
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
784
|
-
hiddenState: z.ZodType<
|
|
781
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
782
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
783
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
784
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
785
785
|
flow: z.ZodObject<{
|
|
786
786
|
currentPhase: z.ZodString;
|
|
787
787
|
turn: z.ZodNumber;
|
|
788
788
|
round: z.ZodNumber;
|
|
789
789
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
790
790
|
}, z.core.$strict>;
|
|
791
|
-
phase: z.ZodType<
|
|
791
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
792
792
|
}, z.core.$strict>;
|
|
793
793
|
runtime: z.ZodObject<{
|
|
794
794
|
rng: z.ZodObject<{
|
|
@@ -815,7 +815,7 @@ declare const DispatchRequestSchema: z.ZodObject<{
|
|
|
815
815
|
actors: z.ZodArray<z.ZodString>;
|
|
816
816
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
817
817
|
interactionId: z.ZodString;
|
|
818
|
-
params: z.ZodType<
|
|
818
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
819
819
|
}, z.core.$strict>>;
|
|
820
820
|
}, z.core.$strict>, z.ZodNull]>;
|
|
821
821
|
}, z.core.$strict>;
|
|
@@ -829,7 +829,7 @@ declare const DispatchRequestSchema: z.ZodObject<{
|
|
|
829
829
|
kind: z.ZodLiteral<"interaction">;
|
|
830
830
|
playerId: z.ZodString;
|
|
831
831
|
interactionId: z.ZodString;
|
|
832
|
-
params: z.ZodType<
|
|
832
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
833
833
|
}, z.core.$strict>], "kind">;
|
|
834
834
|
}, z.core.$strict>;
|
|
835
835
|
declare const ReduceResultRejectSchema: z.ZodObject<{
|
|
@@ -936,17 +936,17 @@ declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
|
936
936
|
contractFingerprint: z.ZodString;
|
|
937
937
|
}, z.core.$strict>>;
|
|
938
938
|
domain: z.ZodObject<{
|
|
939
|
-
table: z.ZodType<
|
|
940
|
-
publicState: z.ZodType<
|
|
941
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
942
|
-
hiddenState: z.ZodType<
|
|
939
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
940
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
941
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
942
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
943
943
|
flow: z.ZodObject<{
|
|
944
944
|
currentPhase: z.ZodString;
|
|
945
945
|
turn: z.ZodNumber;
|
|
946
946
|
round: z.ZodNumber;
|
|
947
947
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
948
948
|
}, z.core.$strict>;
|
|
949
|
-
phase: z.ZodType<
|
|
949
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
950
950
|
}, z.core.$strict>;
|
|
951
951
|
runtime: z.ZodObject<{
|
|
952
952
|
rng: z.ZodObject<{
|
|
@@ -973,7 +973,7 @@ declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
|
973
973
|
actors: z.ZodArray<z.ZodString>;
|
|
974
974
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
975
975
|
interactionId: z.ZodString;
|
|
976
|
-
params: z.ZodType<
|
|
976
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
977
977
|
}, z.core.$strict>>;
|
|
978
978
|
}, z.core.$strict>, z.ZodNull]>;
|
|
979
979
|
}, z.core.$strict>;
|
|
@@ -1030,7 +1030,7 @@ declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
|
1030
1030
|
}, z.core.$strict>], "type">>;
|
|
1031
1031
|
continuations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1032
1032
|
id: z.ZodString;
|
|
1033
|
-
data: z.ZodType<
|
|
1033
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1034
1034
|
}, z.core.$strict>>;
|
|
1035
1035
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1036
1036
|
kind: z.ZodLiteral<"systemAction">;
|
|
@@ -1054,17 +1054,17 @@ declare const ReduceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1054
1054
|
contractFingerprint: z.ZodString;
|
|
1055
1055
|
}, z.core.$strict>>;
|
|
1056
1056
|
domain: z.ZodObject<{
|
|
1057
|
-
table: z.ZodType<
|
|
1058
|
-
publicState: z.ZodType<
|
|
1059
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1060
|
-
hiddenState: z.ZodType<
|
|
1057
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1058
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1059
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1060
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1061
1061
|
flow: z.ZodObject<{
|
|
1062
1062
|
currentPhase: z.ZodString;
|
|
1063
1063
|
turn: z.ZodNumber;
|
|
1064
1064
|
round: z.ZodNumber;
|
|
1065
1065
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1066
1066
|
}, z.core.$strict>;
|
|
1067
|
-
phase: z.ZodType<
|
|
1067
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1068
1068
|
}, z.core.$strict>;
|
|
1069
1069
|
runtime: z.ZodObject<{
|
|
1070
1070
|
rng: z.ZodObject<{
|
|
@@ -1091,7 +1091,7 @@ declare const ReduceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1091
1091
|
actors: z.ZodArray<z.ZodString>;
|
|
1092
1092
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1093
1093
|
interactionId: z.ZodString;
|
|
1094
|
-
params: z.ZodType<
|
|
1094
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1095
1095
|
}, z.core.$strict>>;
|
|
1096
1096
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1097
1097
|
}, z.core.$strict>;
|
|
@@ -1148,7 +1148,7 @@ declare const ReduceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1148
1148
|
}, z.core.$strict>], "type">>;
|
|
1149
1149
|
continuations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1150
1150
|
id: z.ZodString;
|
|
1151
|
-
data: z.ZodType<
|
|
1151
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1152
1152
|
}, z.core.$strict>>;
|
|
1153
1153
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1154
1154
|
kind: z.ZodLiteral<"systemAction">;
|
|
@@ -1167,7 +1167,7 @@ declare const DispatchTraceAcceptedClientInputSchema: z.ZodObject<{
|
|
|
1167
1167
|
kind: z.ZodLiteral<"interaction">;
|
|
1168
1168
|
playerId: z.ZodString;
|
|
1169
1169
|
interactionId: z.ZodString;
|
|
1170
|
-
params: z.ZodType<
|
|
1170
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1171
1171
|
}, z.core.$strict>], "kind">;
|
|
1172
1172
|
}, z.core.$strict>;
|
|
1173
1173
|
declare const DispatchTraceAppliedEffectSchema: z.ZodObject<{
|
|
@@ -1192,7 +1192,7 @@ declare const DispatchTraceAppliedEffectSchema: z.ZodObject<{
|
|
|
1192
1192
|
}, z.core.$strict>], "type">;
|
|
1193
1193
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1194
1194
|
id: z.ZodString;
|
|
1195
|
-
data: z.ZodType<
|
|
1195
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1196
1196
|
}, z.core.$strict>>;
|
|
1197
1197
|
}, z.core.$strict>;
|
|
1198
1198
|
declare const DispatchTraceRngConsumptionSchema: z.ZodObject<{
|
|
@@ -1208,7 +1208,7 @@ declare const DispatchTraceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1208
1208
|
kind: z.ZodLiteral<"interaction">;
|
|
1209
1209
|
playerId: z.ZodString;
|
|
1210
1210
|
interactionId: z.ZodString;
|
|
1211
|
-
params: z.ZodType<
|
|
1211
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1212
1212
|
}, z.core.$strict>], "kind">;
|
|
1213
1213
|
}, z.core.$strict>, z.ZodObject<{
|
|
1214
1214
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1232,7 +1232,7 @@ declare const DispatchTraceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1232
1232
|
}, z.core.$strict>], "type">;
|
|
1233
1233
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1234
1234
|
id: z.ZodString;
|
|
1235
|
-
data: z.ZodType<
|
|
1235
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1236
1236
|
}, z.core.$strict>>;
|
|
1237
1237
|
}, z.core.$strict>, z.ZodObject<{
|
|
1238
1238
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
@@ -1253,17 +1253,17 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1253
1253
|
contractFingerprint: z.ZodString;
|
|
1254
1254
|
}, z.core.$strict>>;
|
|
1255
1255
|
domain: z.ZodObject<{
|
|
1256
|
-
table: z.ZodType<
|
|
1257
|
-
publicState: z.ZodType<
|
|
1258
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1259
|
-
hiddenState: z.ZodType<
|
|
1256
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1257
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1258
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1259
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1260
1260
|
flow: z.ZodObject<{
|
|
1261
1261
|
currentPhase: z.ZodString;
|
|
1262
1262
|
turn: z.ZodNumber;
|
|
1263
1263
|
round: z.ZodNumber;
|
|
1264
1264
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1265
1265
|
}, z.core.$strict>;
|
|
1266
|
-
phase: z.ZodType<
|
|
1266
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1267
1267
|
}, z.core.$strict>;
|
|
1268
1268
|
runtime: z.ZodObject<{
|
|
1269
1269
|
rng: z.ZodObject<{
|
|
@@ -1290,7 +1290,7 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1290
1290
|
actors: z.ZodArray<z.ZodString>;
|
|
1291
1291
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1292
1292
|
interactionId: z.ZodString;
|
|
1293
|
-
params: z.ZodType<
|
|
1293
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1294
1294
|
}, z.core.$strict>>;
|
|
1295
1295
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1296
1296
|
}, z.core.$strict>;
|
|
@@ -1333,7 +1333,7 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1333
1333
|
kind: z.ZodLiteral<"interaction">;
|
|
1334
1334
|
playerId: z.ZodString;
|
|
1335
1335
|
interactionId: z.ZodString;
|
|
1336
|
-
params: z.ZodType<
|
|
1336
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1337
1337
|
}, z.core.$strict>], "kind">;
|
|
1338
1338
|
}, z.core.$strict>, z.ZodObject<{
|
|
1339
1339
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1357,7 +1357,7 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1357
1357
|
}, z.core.$strict>], "type">;
|
|
1358
1358
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1359
1359
|
id: z.ZodString;
|
|
1360
|
-
data: z.ZodType<
|
|
1360
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1361
1361
|
}, z.core.$strict>>;
|
|
1362
1362
|
}, z.core.$strict>, z.ZodObject<{
|
|
1363
1363
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
@@ -1388,17 +1388,17 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1388
1388
|
contractFingerprint: z.ZodString;
|
|
1389
1389
|
}, z.core.$strict>>;
|
|
1390
1390
|
domain: z.ZodObject<{
|
|
1391
|
-
table: z.ZodType<
|
|
1392
|
-
publicState: z.ZodType<
|
|
1393
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1394
|
-
hiddenState: z.ZodType<
|
|
1391
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1392
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1393
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1394
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1395
1395
|
flow: z.ZodObject<{
|
|
1396
1396
|
currentPhase: z.ZodString;
|
|
1397
1397
|
turn: z.ZodNumber;
|
|
1398
1398
|
round: z.ZodNumber;
|
|
1399
1399
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1400
1400
|
}, z.core.$strict>;
|
|
1401
|
-
phase: z.ZodType<
|
|
1401
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1402
1402
|
}, z.core.$strict>;
|
|
1403
1403
|
runtime: z.ZodObject<{
|
|
1404
1404
|
rng: z.ZodObject<{
|
|
@@ -1425,7 +1425,7 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1425
1425
|
actors: z.ZodArray<z.ZodString>;
|
|
1426
1426
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1427
1427
|
interactionId: z.ZodString;
|
|
1428
|
-
params: z.ZodType<
|
|
1428
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1429
1429
|
}, z.core.$strict>>;
|
|
1430
1430
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1431
1431
|
}, z.core.$strict>;
|
|
@@ -1468,7 +1468,7 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1468
1468
|
kind: z.ZodLiteral<"interaction">;
|
|
1469
1469
|
playerId: z.ZodString;
|
|
1470
1470
|
interactionId: z.ZodString;
|
|
1471
|
-
params: z.ZodType<
|
|
1471
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1472
1472
|
}, z.core.$strict>], "kind">;
|
|
1473
1473
|
}, z.core.$strict>, z.ZodObject<{
|
|
1474
1474
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1492,7 +1492,7 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1492
1492
|
}, z.core.$strict>], "type">;
|
|
1493
1493
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1494
1494
|
id: z.ZodString;
|
|
1495
|
-
data: z.ZodType<
|
|
1495
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1496
1496
|
}, z.core.$strict>>;
|
|
1497
1497
|
}, z.core.$strict>, z.ZodObject<{
|
|
1498
1498
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
@@ -1519,7 +1519,7 @@ declare const ReducerRuntimeLogEntryAcceptedClientInputSchema: z.ZodObject<{
|
|
|
1519
1519
|
kind: z.ZodLiteral<"interaction">;
|
|
1520
1520
|
playerId: z.ZodString;
|
|
1521
1521
|
interactionId: z.ZodString;
|
|
1522
|
-
params: z.ZodType<
|
|
1522
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1523
1523
|
}, z.core.$strict>], "kind">;
|
|
1524
1524
|
}, z.core.$strict>;
|
|
1525
1525
|
declare const ReducerRuntimeLogEntryAppliedEffectSchema: z.ZodObject<{
|
|
@@ -1545,7 +1545,7 @@ declare const ReducerRuntimeLogEntryAppliedEffectSchema: z.ZodObject<{
|
|
|
1545
1545
|
}, z.core.$strict>], "type">;
|
|
1546
1546
|
continuation: z.ZodUnion<readonly [z.ZodObject<{
|
|
1547
1547
|
id: z.ZodString;
|
|
1548
|
-
data: z.ZodType<
|
|
1548
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1549
1549
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1550
1550
|
}, z.core.$strict>;
|
|
1551
1551
|
declare const ReducerRuntimeLogEntryRngConsumptionSchema: z.ZodObject<{
|
|
@@ -1563,17 +1563,17 @@ declare const ReducerRuntimeLogEntryStateCommitSchema: z.ZodObject<{
|
|
|
1563
1563
|
contractFingerprint: z.ZodString;
|
|
1564
1564
|
}, z.core.$strict>>;
|
|
1565
1565
|
domain: z.ZodObject<{
|
|
1566
|
-
table: z.ZodType<
|
|
1567
|
-
publicState: z.ZodType<
|
|
1568
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1569
|
-
hiddenState: z.ZodType<
|
|
1566
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1567
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1568
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1569
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1570
1570
|
flow: z.ZodObject<{
|
|
1571
1571
|
currentPhase: z.ZodString;
|
|
1572
1572
|
turn: z.ZodNumber;
|
|
1573
1573
|
round: z.ZodNumber;
|
|
1574
1574
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1575
1575
|
}, z.core.$strict>;
|
|
1576
|
-
phase: z.ZodType<
|
|
1576
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1577
1577
|
}, z.core.$strict>;
|
|
1578
1578
|
runtime: z.ZodObject<{
|
|
1579
1579
|
rng: z.ZodObject<{
|
|
@@ -1600,7 +1600,7 @@ declare const ReducerRuntimeLogEntryStateCommitSchema: z.ZodObject<{
|
|
|
1600
1600
|
actors: z.ZodArray<z.ZodString>;
|
|
1601
1601
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1602
1602
|
interactionId: z.ZodString;
|
|
1603
|
-
params: z.ZodType<
|
|
1603
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1604
1604
|
}, z.core.$strict>>;
|
|
1605
1605
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1606
1606
|
}, z.core.$strict>;
|
|
@@ -1618,7 +1618,7 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1618
1618
|
kind: z.ZodLiteral<"interaction">;
|
|
1619
1619
|
playerId: z.ZodString;
|
|
1620
1620
|
interactionId: z.ZodString;
|
|
1621
|
-
params: z.ZodType<
|
|
1621
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1622
1622
|
}, z.core.$strict>], "kind">;
|
|
1623
1623
|
}, z.core.$strict>, z.ZodObject<{
|
|
1624
1624
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1643,7 +1643,7 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1643
1643
|
}, z.core.$strict>], "type">;
|
|
1644
1644
|
continuation: z.ZodUnion<readonly [z.ZodObject<{
|
|
1645
1645
|
id: z.ZodString;
|
|
1646
|
-
data: z.ZodType<
|
|
1646
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1647
1647
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1648
1648
|
}, z.core.$strict>, z.ZodObject<{
|
|
1649
1649
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
@@ -1659,17 +1659,17 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1659
1659
|
contractFingerprint: z.ZodString;
|
|
1660
1660
|
}, z.core.$strict>>;
|
|
1661
1661
|
domain: z.ZodObject<{
|
|
1662
|
-
table: z.ZodType<
|
|
1663
|
-
publicState: z.ZodType<
|
|
1664
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1665
|
-
hiddenState: z.ZodType<
|
|
1662
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1663
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1664
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1665
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1666
1666
|
flow: z.ZodObject<{
|
|
1667
1667
|
currentPhase: z.ZodString;
|
|
1668
1668
|
turn: z.ZodNumber;
|
|
1669
1669
|
round: z.ZodNumber;
|
|
1670
1670
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1671
1671
|
}, z.core.$strict>;
|
|
1672
|
-
phase: z.ZodType<
|
|
1672
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1673
1673
|
}, z.core.$strict>;
|
|
1674
1674
|
runtime: z.ZodObject<{
|
|
1675
1675
|
rng: z.ZodObject<{
|
|
@@ -1696,7 +1696,7 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1696
1696
|
actors: z.ZodArray<z.ZodString>;
|
|
1697
1697
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1698
1698
|
interactionId: z.ZodString;
|
|
1699
|
-
params: z.ZodType<
|
|
1699
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1700
1700
|
}, z.core.$strict>>;
|
|
1701
1701
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1702
1702
|
}, z.core.$strict>;
|
|
@@ -1708,9 +1708,9 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1708
1708
|
}, z.core.$strict>;
|
|
1709
1709
|
}, z.core.$strict>], "kind">;
|
|
1710
1710
|
declare const SeatProjectionSchema: z.ZodObject<{
|
|
1711
|
-
view: z.ZodOptional<z.ZodType<
|
|
1712
|
-
availableInteractionRefs: z.ZodOptional<z.ZodType<
|
|
1713
|
-
zones: z.ZodOptional<z.ZodType<
|
|
1711
|
+
view: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1712
|
+
availableInteractionRefs: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1713
|
+
zones: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1714
1714
|
}, z.core.$strict>;
|
|
1715
1715
|
declare const SimultaneousPhaseProjectionSchema: z.ZodObject<{
|
|
1716
1716
|
phaseName: z.ZodString;
|
|
@@ -1757,12 +1757,12 @@ declare const SeatProjectionBundleSchema: z.ZodObject<{
|
|
|
1757
1757
|
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1758
1758
|
}, z.core.$strict>>;
|
|
1759
1759
|
}, z.core.$strict>>;
|
|
1760
|
-
sharedView: z.ZodOptional<z.ZodType<
|
|
1761
|
-
interactionsByRef: z.ZodOptional<z.ZodType<
|
|
1760
|
+
sharedView: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1761
|
+
interactionsByRef: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1762
1762
|
seats: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1763
|
-
view: z.ZodOptional<z.ZodType<
|
|
1764
|
-
availableInteractionRefs: z.ZodOptional<z.ZodType<
|
|
1765
|
-
zones: z.ZodOptional<z.ZodType<
|
|
1763
|
+
view: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1764
|
+
availableInteractionRefs: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1765
|
+
zones: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1766
1766
|
}, z.core.$strict>>;
|
|
1767
1767
|
timing: z.ZodOptional<z.ZodObject<{
|
|
1768
1768
|
resolveAvailableInteractionsMs: z.ZodNumber;
|
|
@@ -1777,17 +1777,17 @@ declare const ProjectSeatsDynamicRequestSchema: z.ZodObject<{
|
|
|
1777
1777
|
contractFingerprint: z.ZodString;
|
|
1778
1778
|
}, z.core.$strict>>;
|
|
1779
1779
|
domain: z.ZodObject<{
|
|
1780
|
-
table: z.ZodType<
|
|
1781
|
-
publicState: z.ZodType<
|
|
1782
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1783
|
-
hiddenState: z.ZodType<
|
|
1780
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1781
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1782
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1783
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1784
1784
|
flow: z.ZodObject<{
|
|
1785
1785
|
currentPhase: z.ZodString;
|
|
1786
1786
|
turn: z.ZodNumber;
|
|
1787
1787
|
round: z.ZodNumber;
|
|
1788
1788
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1789
1789
|
}, z.core.$strict>;
|
|
1790
|
-
phase: z.ZodType<
|
|
1790
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1791
1791
|
}, z.core.$strict>;
|
|
1792
1792
|
runtime: z.ZodObject<{
|
|
1793
1793
|
rng: z.ZodObject<{
|
|
@@ -1814,7 +1814,7 @@ declare const ProjectSeatsDynamicRequestSchema: z.ZodObject<{
|
|
|
1814
1814
|
actors: z.ZodArray<z.ZodString>;
|
|
1815
1815
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1816
1816
|
interactionId: z.ZodString;
|
|
1817
|
-
params: z.ZodType<
|
|
1817
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1818
1818
|
}, z.core.$strict>>;
|
|
1819
1819
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1820
1820
|
}, z.core.$strict>;
|
|
@@ -1831,7 +1831,7 @@ declare const ProjectSeatsDynamicRequestSchema: z.ZodObject<{
|
|
|
1831
1831
|
}>, z.ZodNull]>>;
|
|
1832
1832
|
}, z.core.$strict>;
|
|
1833
1833
|
declare const BoardStaticProjectionSchema: z.ZodObject<{
|
|
1834
|
-
view: z.ZodType<
|
|
1834
|
+
view: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1835
1835
|
hash: z.ZodString;
|
|
1836
1836
|
manifestVersion: z.ZodString;
|
|
1837
1837
|
}, z.core.$strict>;
|
|
@@ -1907,7 +1907,7 @@ declare namespace zod {
|
|
|
1907
1907
|
/**
|
|
1908
1908
|
* The wire-protocol version this package implements. Bumped in lockstep with
|
|
1909
1909
|
* any breaking change to schema/reducer-runtime.schema.json. At bundle load
|
|
1910
|
-
* time hosts
|
|
1910
|
+
* time hosts require bundles to carry this exact version.
|
|
1911
1911
|
*/
|
|
1912
1912
|
declare const REDUCER_CONTRACT_VERSION: "0.4.0";
|
|
1913
1913
|
|
|
@@ -1933,5 +1933,14 @@ interface ReducerBundleContract {
|
|
|
1933
1933
|
projectStatic(): BoardStaticProjection | null;
|
|
1934
1934
|
projectSeatsDynamic(input: ProjectSeatsDynamicRequest): SeatProjectionBundle;
|
|
1935
1935
|
}
|
|
1936
|
+
/**
|
|
1937
|
+
* Validates an imported module value at the reducer host/guest boundary.
|
|
1938
|
+
*
|
|
1939
|
+
* The required callable members are generated from the same operation
|
|
1940
|
+
* authority as `ReducerBundleContract`, so runtime admission cannot drift
|
|
1941
|
+
* from the published TypeScript interface.
|
|
1942
|
+
* The contract version must match exactly.
|
|
1943
|
+
*/
|
|
1944
|
+
declare function assertReducerBundleContract(value: unknown, source: string): asserts value is ReducerBundleContract;
|
|
1936
1945
|
|
|
1937
|
-
export { type MaybePromise as M, REDUCER_CONTRACT_VERSION as R, type ReducerBundleContract as a, wire as w, zod as z };
|
|
1946
|
+
export { type MaybePromise as M, REDUCER_CONTRACT_VERSION as R, type ReducerBundleContract as a, assertReducerBundleContract as b, wire as w, zod as z };
|