@dreamboard-games/sdk 0.4.0-alpha.8 → 0.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -11
- package/dist/authoring/index.d.ts +6 -14
- package/dist/authoring/index.js +11 -547
- package/dist/authoring/index.js.map +1 -1
- package/dist/authoring-compiler.d.ts +27 -0
- package/dist/authoring-compiler.js +11 -0
- package/dist/authoring-compiler.js.map +1 -0
- package/dist/authoring-materialize-cli.d.ts +1 -0
- package/dist/authoring-materialize-cli.js +45 -0
- package/dist/authoring-materialize-cli.js.map +1 -0
- package/dist/browser-interaction.d.ts +22 -22
- package/dist/{chunk-3BLN5POZ.js → chunk-2GQIALJL.js} +51 -15
- package/dist/chunk-2GQIALJL.js.map +1 -0
- package/dist/chunk-533O7C4L.js +7095 -0
- package/dist/chunk-533O7C4L.js.map +1 -0
- package/dist/{chunk-44N3T2A5.js → chunk-6LMESVGT.js} +9 -28
- package/dist/chunk-6LMESVGT.js.map +1 -0
- package/dist/{chunk-ZYONCTZ2.js → chunk-DQS2EG5E.js} +3 -3
- package/dist/{chunk-ZYONCTZ2.js.map → chunk-DQS2EG5E.js.map} +1 -1
- package/dist/chunk-EOEA3I64.js +1864 -0
- package/dist/chunk-EOEA3I64.js.map +1 -0
- package/dist/{chunk-B2YBS3SG.js → chunk-FL67RDID.js} +41 -13
- package/dist/chunk-FL67RDID.js.map +1 -0
- package/dist/{chunk-2TAKLJJD.js → chunk-HIH6Y4FA.js} +222 -1267
- package/dist/chunk-HIH6Y4FA.js.map +1 -0
- package/dist/chunk-HUK4234C.js +166 -0
- package/dist/chunk-HUK4234C.js.map +1 -0
- package/dist/chunk-KGV2EUNN.js +532 -0
- package/dist/chunk-KGV2EUNN.js.map +1 -0
- package/dist/{chunk-VTK4TIXC.js → chunk-KRJPRYEA.js} +49 -4
- package/dist/chunk-KRJPRYEA.js.map +1 -0
- package/dist/chunk-KWHOFBDM.js +9 -0
- package/dist/chunk-KWHOFBDM.js.map +1 -0
- package/dist/{chunk-UC2UXAC6.js → chunk-LMHCGCA6.js} +2 -2
- package/dist/{chunk-XV27IQHA.js → chunk-N33CGX2F.js} +15 -85
- package/dist/chunk-N33CGX2F.js.map +1 -0
- package/dist/chunk-TXELBVTG.js +32 -0
- package/dist/chunk-TXELBVTG.js.map +1 -0
- package/dist/{chunk-2TRZSZGD.js → chunk-VRRR6QZT.js} +9 -12
- package/dist/chunk-VRRR6QZT.js.map +1 -0
- package/dist/chunk-VWTKGIYF.js +90 -0
- package/dist/chunk-VWTKGIYF.js.map +1 -0
- package/dist/{chunk-IYX5OO2K.js → chunk-XFMSLL3P.js} +133 -61
- package/dist/chunk-XFMSLL3P.js.map +1 -0
- package/dist/{chunk-YGQTL63W.js → chunk-ZSTCUJKZ.js} +4 -4
- package/dist/chunk-ZSTCUJKZ.js.map +1 -0
- package/dist/codegen.js +1 -1
- package/dist/{components-BTwSIjXj.d.ts → components-CNAt5J1p.d.ts} +1 -1
- package/dist/definitions-bZSBaPjj.d.ts +300 -0
- package/dist/{diagnostics-1BWjRo6-.d.ts → diagnostics-DIi3ina7.d.ts} +2 -1
- package/dist/digest.d.ts +8 -0
- package/dist/{index-CFTjJIXd.d.ts → index-CR69MyWr.d.ts} +2 -2
- package/dist/{index.d-C0PKOVbh.d.ts → index.d-Bw8AOcgp.d.ts} +532 -225
- package/dist/index.js +2 -2
- package/dist/package-set.d.ts +2 -2
- package/dist/package-set.js +2 -2
- package/dist/plugin-runtime-contract.d.ts +17 -0
- package/dist/plugin-runtime-contract.js +94 -0
- package/dist/plugin-runtime-contract.js.map +1 -0
- package/dist/{protocol-nS2ojsGr.d.ts → protocol-CVaSqPgX.d.ts} +54 -47
- package/dist/reducer/advanced.d.ts +5 -4
- package/dist/reducer/advanced.js +14 -108
- package/dist/reducer/advanced.js.map +1 -1
- package/dist/reducer-contract.d.ts +1 -1
- package/dist/reducer-contract.js +6 -4
- package/dist/reducer.d.ts +20 -98
- package/dist/reducer.js +28 -6050
- package/dist/reducer.js.map +1 -1
- package/dist/reference-games/index.d.ts +6 -198
- package/dist/reference-games/index.js +18 -200
- package/dist/reference-games/index.js.map +1 -1
- package/dist/runtime/primitives.d.ts +3 -3
- package/dist/runtime/primitives.js +5 -5
- package/dist/runtime/runtime-api.d.ts +1 -1
- package/dist/runtime/workspace-contract.d.ts +343 -11
- package/dist/runtime/workspace-contract.js +12 -6
- package/dist/{runtime-Dkfm1x2r.d.ts → runtime-C7Z2acNU.d.ts} +67 -31
- package/dist/{runtime-api-C6aWo9c0.d.ts → runtime-api-CgPuEVeF.d.ts} +4 -13
- package/dist/runtime.d.ts +7 -7
- package/dist/runtime.js +15 -11
- package/dist/runtime.js.map +1 -1
- package/dist/schema.d.ts +405 -0
- package/dist/{stale-contract-artifact-error-C5AaZPJ8.d.ts → stale-contract-artifact-error-XLaweZtF.d.ts} +1 -1
- package/dist/testing-compiler.d.ts +37 -0
- package/dist/testing-compiler.js +272 -0
- package/dist/testing-compiler.js.map +1 -0
- package/dist/testing-runtime.d.ts +98 -21
- package/dist/testing-runtime.js +154 -95
- package/dist/testing-runtime.js.map +1 -1
- package/dist/testing.d.ts +197 -156
- package/dist/testing.js +660 -372
- package/dist/testing.js.map +1 -1
- package/dist/types-DN4O7kH_.d.ts +122 -0
- package/dist/{types-CTeN_QAk.d.ts → types-q1Guidm5.d.ts} +4 -5
- package/dist/types.d.ts +0 -1
- package/dist/ui/components.d.ts +3 -2
- package/dist/ui/components.js +1 -1
- package/dist/ui/plugin-styles.css +1 -1
- package/dist/{ui-contract-Ue6SywvO.d.ts → ui-contract-BC4JpysE.d.ts} +2 -6
- package/dist/ui.d.ts +4 -3
- package/dist/ui.js +2 -2
- package/dist/{views-Qx-EHBP8.d.ts → views-D2Cfzr3h.d.ts} +17 -5
- package/package.json +41 -22
- package/REFERENCE.md +0 -22884
- package/dist/chunk-2TAKLJJD.js.map +0 -1
- package/dist/chunk-2TRZSZGD.js.map +0 -1
- package/dist/chunk-3BLN5POZ.js.map +0 -1
- package/dist/chunk-3OZMHZK3.js +0 -40
- package/dist/chunk-3OZMHZK3.js.map +0 -1
- package/dist/chunk-44N3T2A5.js.map +0 -1
- package/dist/chunk-5CQIJHGF.js +0 -663
- package/dist/chunk-5CQIJHGF.js.map +0 -1
- package/dist/chunk-B2YBS3SG.js.map +0 -1
- package/dist/chunk-IYX5OO2K.js.map +0 -1
- package/dist/chunk-VTK4TIXC.js.map +0 -1
- package/dist/chunk-VTNEWMWJ.js +0 -12
- package/dist/chunk-VTNEWMWJ.js.map +0 -1
- package/dist/chunk-XV27IQHA.js.map +0 -1
- package/dist/chunk-YGQTL63W.js.map +0 -1
- package/dist/types-B_3pObUV.d.ts +0 -192
- /package/dist/{chunk-UC2UXAC6.js.map → chunk-LMHCGCA6.js.map} +0 -0
package/dist/reducer.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { V as GeneratedManifestContractLike,
|
|
3
|
-
export { h as BoardRef, R as FrameworkErrorCodes, S as GameEvent, T as GameEventDetail, U as GameOutcome,
|
|
4
|
-
import { j as BaseGameStateOfContract, aq as PhaseDefinition, aB as PlayerViewDefinition, aZ as SharedViewDefinition, aG as ReducerGameContract, Z as InputCollector, y as CollectorState, K as DerivedResolver, ba as ValidationIssue, b9 as TargetKind, a4 as InputSelectionDescriptor, a1 as InputDomainDescriptor, n as BoardTargetDomainDescriptor, l as BoardInputCollectorMeta, f as AnyInteractionSpec, d as AnyCardActionSpec, R as EffectMap, aY as ScopedPhaseState, b4 as StageMap, ay as PhaseZoneList, C as CardActionMap, au as PhaseMapOf, bc as ViewMapOf, aI as ReducerGameDefinition, W as EmptyViewDefinition, b7 as StaticViewDefinition, af as InteractionSpec, p as CardActionSpec, ad as InteractionRule, aa as InteractionMap, z as ContinuationCallable, T as EffectRollDieDefinition, U as EffectShuffleDefinition, V as EffectShufflePlayerZoneDefinition, b6 as StageSpec, aH as ReducerGameContractLike } from './views-
|
|
5
|
-
export { J as DerivedDefinition, X as GameStateOf, Y as InitialStateCallbacks, an as Op, aF as ReducerEdit, aJ as ReducerOps, aL as ReducerStateBase, aN as ReducerTransaction, aW as RotatePlayerZoneArgs, bh as createDerivedResolver, bi as createReducerEdit, bj as createReducerOps, bk as createReducerTransaction, bl as defineDerived, bm as pipe } from './views-
|
|
6
|
-
import { a as ReducerBundleContract } from './index.d-
|
|
7
|
-
import { a as ReducerDiagnosticsSink } from './diagnostics-
|
|
8
|
-
export { D as DispatchTraceSummaryEntry, R as ReducerDiagnosticEvent, n as noopDiagnosticsSink } from './diagnostics-
|
|
9
|
-
export { S as StaleContractArtifactError, a as StaleContractArtifactErrorOptions, b as StaleContractArtifactKind, i as isStaleContractArtifactError } from './stale-contract-artifact-error-
|
|
2
|
+
import { V as GeneratedManifestContractLike, bV as RuntimeTableRecord, cC as StateDefinition, c1 as SchemaLike, ac as ManifestContractOf, N as ErrorCodeOfContract, af as ManifestIdSchema, aT as ReducerManifestContract, aG as PlayerIdOfState, cL as TableQueriesOfState, o as CardIdOfState, ab as ManifestContract, cJ as TableOfState, cj as SetupSelectionOfManifest, cU as TiledVertexIdOfTable, cI as TableOfManifest, cM as TiledBoardIdOfTable, cO as TiledEdgeIdOfTable, cS as TiledSpaceIdOfTable, n as CardIdOfManifest, O as ExactManifestContractOf, av as PhaseNameOfContract, aI as PlayerZoneIdOfManifest, az as PhaseSchemasOfContract, a as AnySchema, cH as SystemActionEvent, cK as TableQueries, e as BoardIdOfTable, c as BoardContainerIdOfTable } from './runtime-C7Z2acNU.js';
|
|
3
|
+
export { h as BoardRef, R as FrameworkErrorCodes, S as GameEvent, T as GameEventDetail, U as GameOutcome, al as OutcomeResult, am as OutcomeScoreComponent, an as OutcomeStanding, ao as OutcomeTieBreak, ap as PerPlayer, aq as PerPlayerBoardRef, ar as PerPlayerSchemaOptions, aE as PlayerId, aP as ReducerAccept, aQ as ReducerAcceptOptions, aU as ReducerReject, aV as ReducerResult, aY as ReducerValidationResult, ck as SharedBoardRef, cZ as asPlayerId, c$ as boardRef, d0 as boardRefKey, d1 as boardRefSchema, d7 as isPerPlayer, d8 as isPerPlayerBoardRef, d9 as isPlayerId, da as isSharedBoardRef, dd as parseBoardRefKey, de as perPlayer, df as perPlayerBoardRef, dg as perPlayerEntries, dh as perPlayerGet, di as perPlayerHas, dj as perPlayerKeys, dk as perPlayerMap, dl as perPlayerRequire, dm as perPlayerSchema, dn as perPlayerSet, dp as perPlayerSize, dq as perPlayerValues, ds as sharedBoardRef } from './runtime-C7Z2acNU.js';
|
|
4
|
+
import { j as BaseGameStateOfContract, aq as PhaseDefinition, aB as PlayerViewDefinition, aZ as SharedViewDefinition, aG as ReducerGameContract, Z as InputCollector, y as CollectorState, K as DerivedResolver, ba as ValidationIssue, b9 as TargetKind, a4 as InputSelectionDescriptor, a1 as InputDomainDescriptor, n as BoardTargetDomainDescriptor, l as BoardInputCollectorMeta, f as AnyInteractionSpec, d as AnyCardActionSpec, R as EffectMap, aY as ScopedPhaseState, b4 as StageMap, ay as PhaseZoneList, C as CardActionMap, au as PhaseMapOf, bc as ViewMapOf, aI as ReducerGameDefinition, W as EmptyViewDefinition, b7 as StaticViewDefinition, af as InteractionSpec, p as CardActionSpec, ad as InteractionRule, aa as InteractionMap, z as ContinuationCallable, T as EffectRollDieDefinition, U as EffectShuffleDefinition, V as EffectShufflePlayerZoneDefinition, b6 as StageSpec, aH as ReducerGameContractLike } from './views-D2Cfzr3h.js';
|
|
5
|
+
export { J as DerivedDefinition, X as GameStateOf, Y as InitialStateCallbacks, an as Op, aF as ReducerEdit, aJ as ReducerOps, aL as ReducerStateBase, aN as ReducerTransaction, aW as RotatePlayerZoneArgs, bh as createDerivedResolver, bi as createReducerEdit, bj as createReducerOps, bk as createReducerTransaction, bl as defineDerived, bm as pipe } from './views-D2Cfzr3h.js';
|
|
6
|
+
import { a as ReducerBundleContract } from './index.d-Bw8AOcgp.js';
|
|
7
|
+
import { a as ReducerDiagnosticsSink } from './diagnostics-DIi3ina7.js';
|
|
8
|
+
export { D as DispatchTraceSummaryEntry, R as ReducerDiagnosticEvent, n as noopDiagnosticsSink } from './diagnostics-DIi3ina7.js';
|
|
9
|
+
export { S as StaleContractArtifactError, a as StaleContractArtifactErrorOptions, b as StaleContractArtifactKind, i as isStaleContractArtifactError } from './stale-contract-artifact-error-XLaweZtF.js';
|
|
10
10
|
import './types.js';
|
|
11
|
+
import './protocol-CVaSqPgX.js';
|
|
11
12
|
|
|
12
13
|
type AnyReducerGameContract = {
|
|
13
14
|
manifest: GeneratedManifestContractLike<RuntimeTableRecord>;
|
|
@@ -342,10 +343,15 @@ declare const boardTarget: {
|
|
|
342
343
|
playerSpace<State extends CollectorState, BoardId extends string, SpaceId extends string>(boardId: BoardId): BoardTargetBuilder<State, PlayerBoardSpaceTarget<BoardId, SpaceId, PlayerIdOfState<State>>>;
|
|
343
344
|
};
|
|
344
345
|
|
|
346
|
+
type PlayerSpaceInputSchema<BoardId extends string, SpaceId extends string, PlayerId extends string> = z.ZodObject<{
|
|
347
|
+
boardId: z.ZodLiteral<BoardId>;
|
|
348
|
+
playerId: ManifestIdSchema<PlayerId, "playerId">;
|
|
349
|
+
spaceId: z.ZodType<SpaceId>;
|
|
350
|
+
}>;
|
|
345
351
|
declare function playerSpaceInput<State extends CollectorState = CollectorState, BoardId extends string = string, SpaceId extends string = string, PlayerId extends string = string>(options: {
|
|
346
352
|
target: BoardTargetRule<State, PlayerBoardSpaceTarget<BoardId, SpaceId, PlayerId>>;
|
|
347
353
|
dependsOn?: readonly InputFieldRef<string, unknown>[];
|
|
348
|
-
}): InputCollector<
|
|
354
|
+
}): InputCollector<PlayerSpaceInputSchema<BoardId, SpaceId, PlayerId>, State, "board-space">;
|
|
349
355
|
declare const boardInput: {
|
|
350
356
|
vertex: <State extends CollectorState = CollectorState, Id extends string = string>(options: {
|
|
351
357
|
target: BoardTargetRule<State, Id>;
|
|
@@ -485,7 +491,7 @@ declare function promptInput<Schema extends SchemaLike<unknown>, State extends C
|
|
|
485
491
|
*
|
|
486
492
|
* Determinism:
|
|
487
493
|
* Sampling happens inside `submitInteraction` only, never inside
|
|
488
|
-
*
|
|
494
|
+
* reducer validation. This lets clients check a submission without
|
|
489
495
|
* burning RNG state.
|
|
490
496
|
*/
|
|
491
497
|
type DieRoll = z.ZodObject<{
|
|
@@ -532,7 +538,7 @@ type CollectorKindOf<Collector extends NonRngCollector> = [Collector] extends [
|
|
|
532
538
|
readonly kind: infer Kind extends Exclude<InputCollector["kind"], "rng">;
|
|
533
539
|
}
|
|
534
540
|
] ? Kind : never;
|
|
535
|
-
type ManyInputCollector<Schema extends SchemaLike<unknown> = SchemaLike<unknown>, State extends CollectorState = CollectorState, Kind extends Exclude<InputCollector["kind"], "rng"> = Exclude<InputCollector["kind"], "rng">> = InputCollector<z.
|
|
541
|
+
type ManyInputCollector<Schema extends SchemaLike<unknown> = SchemaLike<unknown>, State extends CollectorState = CollectorState, Kind extends Exclude<InputCollector["kind"], "rng"> = Exclude<InputCollector["kind"], "rng">> = InputCollector<z.ZodArray<Schema>, State, Kind> & {
|
|
536
542
|
readonly selection: Extract<InputSelectionDescriptor, {
|
|
537
543
|
mode: "many";
|
|
538
544
|
}>;
|
|
@@ -620,7 +626,7 @@ type BoundBoardInputs<Contract extends ContractWithPhases> = {
|
|
|
620
626
|
playerSpace<BoardId extends string = string, SpaceId extends string = string, PlayerId extends string = PlayerIdOfState<BoundState<Contract>>>(options: {
|
|
621
627
|
target: BoardTargetRule<BoundState<Contract>, PlayerBoardSpaceTarget<BoardId, SpaceId, PlayerId>>;
|
|
622
628
|
dependsOn?: readonly InputFieldRef<string, unknown>[];
|
|
623
|
-
}): InputCollector<
|
|
629
|
+
}): InputCollector<PlayerSpaceInputSchema<BoardId, SpaceId, PlayerId>, BoundState<Contract>, "board-space">;
|
|
624
630
|
};
|
|
625
631
|
type BoundCardInput<Contract extends ContractWithPhases> = <Id extends string = CardIdOfManifest<BoundManifest<Contract>>, const ZoneIds extends readonly string[] = readonly string[]>(options: {
|
|
626
632
|
target: CardTargetRule<BoundState<Contract>, Id, ZoneIds>;
|
|
@@ -756,27 +762,6 @@ declare function createStateQueries<State extends {
|
|
|
756
762
|
table: RuntimeTableRecord;
|
|
757
763
|
}>(state: State): TableQueriesOfState<State>;
|
|
758
764
|
|
|
759
|
-
type InteractionExplanation = {
|
|
760
|
-
interactionId: string;
|
|
761
|
-
phase: string;
|
|
762
|
-
step: string | null;
|
|
763
|
-
availability: "available" | "notYourTurn" | "wrongPhase" | "wrongStep" | "blocked";
|
|
764
|
-
rules: ReadonlyArray<{
|
|
765
|
-
ruleId: string;
|
|
766
|
-
outcome: "passed" | "failed" | "notEvaluated";
|
|
767
|
-
errorCode?: string;
|
|
768
|
-
message?: string;
|
|
769
|
-
}>;
|
|
770
|
-
actor: {
|
|
771
|
-
required: readonly string[];
|
|
772
|
-
playerIsActor: boolean;
|
|
773
|
-
};
|
|
774
|
-
inputs: ReadonlyArray<{
|
|
775
|
-
key: string;
|
|
776
|
-
kind: string;
|
|
777
|
-
eligibleCount: number | "lazy";
|
|
778
|
-
}>;
|
|
779
|
-
};
|
|
780
765
|
type InteractionDiagnosticsMode = "verbose" | undefined;
|
|
781
766
|
|
|
782
767
|
type ReducerBundleOptions = {
|
|
@@ -790,72 +775,9 @@ type ReducerBundleOptions = {
|
|
|
790
775
|
diagnostics?: ReducerDiagnosticsSink | InteractionDiagnosticsMode;
|
|
791
776
|
descriptorDiagnostics?: InteractionDiagnosticsMode;
|
|
792
777
|
};
|
|
793
|
-
type
|
|
794
|
-
resolveAvailableInteractionsMs: number;
|
|
795
|
-
resolveViewMs: number;
|
|
796
|
-
resolveZoneHandlesMs: number;
|
|
797
|
-
descriptorHashMs: number;
|
|
798
|
-
};
|
|
799
|
-
type ReducerBundle = ReducerBundleContract & {
|
|
800
|
-
createInProcessRuntime(): {
|
|
801
|
-
initialize(input: {
|
|
802
|
-
table: unknown;
|
|
803
|
-
playerIds: string[];
|
|
804
|
-
rngSeed?: number | null;
|
|
805
|
-
setup?: unknown;
|
|
806
|
-
}): Promise<void>;
|
|
807
|
-
hydrate(input: {
|
|
808
|
-
state: unknown;
|
|
809
|
-
}): void;
|
|
810
|
-
dispatch(input: {
|
|
811
|
-
input: unknown;
|
|
812
|
-
}): Promise<{
|
|
813
|
-
kind: "accept";
|
|
814
|
-
} | {
|
|
815
|
-
kind: "accept";
|
|
816
|
-
state: unknown;
|
|
817
|
-
trace: unknown[];
|
|
818
|
-
} | {
|
|
819
|
-
kind: "reject";
|
|
820
|
-
errorCode: string;
|
|
821
|
-
message?: string;
|
|
822
|
-
}>;
|
|
823
|
-
projectSeatsDynamic(input: {
|
|
824
|
-
playerIds: unknown[];
|
|
825
|
-
projectionMode?: "full" | "actionsOnly";
|
|
826
|
-
}): {
|
|
827
|
-
currentStage: string | null;
|
|
828
|
-
stageSeats: string[];
|
|
829
|
-
simultaneousPhase: {
|
|
830
|
-
phaseName: string;
|
|
831
|
-
interactionId: string;
|
|
832
|
-
actorIds: string[];
|
|
833
|
-
sealedPlayerIds: string[];
|
|
834
|
-
pendingPlayerIds: string[];
|
|
835
|
-
} | null;
|
|
836
|
-
sharedView?: unknown;
|
|
837
|
-
seats: Record<string, {
|
|
838
|
-
view?: unknown;
|
|
839
|
-
availableInteractionRefs: unknown;
|
|
840
|
-
zones?: unknown;
|
|
841
|
-
}>;
|
|
842
|
-
interactionsByRef: Record<string, unknown>;
|
|
843
|
-
timing: ProjectionTimingMetadata;
|
|
844
|
-
};
|
|
845
|
-
explainInteraction(input: {
|
|
846
|
-
playerId: unknown;
|
|
847
|
-
interactionId: string;
|
|
848
|
-
}): InteractionExplanation;
|
|
849
|
-
snapshot(): unknown;
|
|
850
|
-
unsafeState(): unknown;
|
|
851
|
-
};
|
|
852
|
-
explainInteraction(input: {
|
|
853
|
-
state: unknown;
|
|
854
|
-
playerId: unknown;
|
|
855
|
-
interactionId: string;
|
|
856
|
-
}): InteractionExplanation;
|
|
857
|
-
};
|
|
778
|
+
type ReducerBundle = ReducerBundleContract;
|
|
858
779
|
|
|
780
|
+
/** The complete runner boundary. Authoring inspection stays SDK-owned. */
|
|
859
781
|
declare function createReducerBundle<Contract extends ReducerGameContractLike, Definitions extends PhaseMapOf<Contract>, Views extends ViewMapOf<Contract>>(definition: ReducerGameDefinition<Contract, Definitions, Views>, options?: ReducerBundleOptions): ReducerBundle;
|
|
860
782
|
|
|
861
783
|
type FingerprintableContract = ReducerGameContractLike & {
|