@dreamboard-games/sdk 0.5.0-alpha.0 → 0.5.0-alpha.2
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 +127 -0
- package/dist/browser-interaction.d.ts +22 -22
- package/dist/{chunk-VRRR6QZT.js → chunk-32PFKDV7.js} +170 -406
- package/dist/chunk-32PFKDV7.js.map +1 -0
- package/dist/{chunk-N33CGX2F.js → chunk-3BAD4VC2.js} +3 -3
- package/dist/{chunk-LMHCGCA6.js → chunk-3SKDNDPG.js} +2 -2
- package/dist/chunk-5YV2WHJ4.js +25 -0
- package/dist/chunk-5YV2WHJ4.js.map +1 -0
- package/dist/{chunk-VWTKGIYF.js → chunk-ANRB4XKA.js} +1 -1
- package/dist/chunk-ANRB4XKA.js.map +1 -0
- package/dist/{chunk-EOEA3I64.js → chunk-BI4G3PM2.js} +7 -7
- package/dist/chunk-BI4G3PM2.js.map +1 -0
- package/dist/{chunk-KRJPRYEA.js → chunk-EVCLTY4Q.js} +21 -8
- package/dist/chunk-EVCLTY4Q.js.map +1 -0
- package/dist/{chunk-DQS2EG5E.js → chunk-GDPKTBUR.js} +2 -2
- package/dist/{chunk-FL67RDID.js → chunk-H6VDGFL5.js} +128 -128
- package/dist/chunk-H6VDGFL5.js.map +1 -0
- package/dist/{chunk-6LMESVGT.js → chunk-LR3ZTWQF.js} +3 -3
- package/dist/chunk-LR3ZTWQF.js.map +1 -0
- package/dist/{chunk-TXELBVTG.js → chunk-PN5O6GG2.js} +2 -2
- package/dist/{chunk-533O7C4L.js → chunk-S2JEDVWH.js} +500 -430
- package/dist/chunk-S2JEDVWH.js.map +1 -0
- package/dist/{chunk-2GQIALJL.js → chunk-UGH54WZ2.js} +6 -2
- package/dist/chunk-UGH54WZ2.js.map +1 -0
- package/dist/chunk-VCDWP5VL.js +746 -0
- package/dist/chunk-VCDWP5VL.js.map +1 -0
- package/dist/{chunk-ZSTCUJKZ.js → chunk-Y75CFE77.js} +2 -6
- package/dist/chunk-Y75CFE77.js.map +1 -0
- package/dist/chunk-Z7QCREWI.js +3435 -0
- package/dist/chunk-Z7QCREWI.js.map +1 -0
- package/dist/chunk-ZZGN2ATS.js +1941 -0
- package/dist/chunk-ZZGN2ATS.js.map +1 -0
- package/dist/{components-CNAt5J1p.d.ts → components-gAbIz7hK.d.ts} +2 -18
- package/dist/{definitions-bZSBaPjj.d.ts → definitions-BgmV_GhC.d.ts} +3 -3
- package/dist/digest.d.ts +2 -2
- package/dist/game-CsZScpcn.d.ts +763 -0
- package/dist/{index-CR69MyWr.d.ts → index-CcT9Q7N7.d.ts} +1 -1
- package/dist/{index.d-Bw8AOcgp.d.ts → index.d-DjzoK7zn.d.ts} +67 -2
- package/dist/index.js +1 -2
- package/dist/package-set.js +1 -2
- package/dist/plugin-runtime-contract.d.ts +4 -4
- package/dist/plugin-runtime-contract.js +13 -15
- package/dist/{protocol-CVaSqPgX.d.ts → protocol-dYgafTYY.d.ts} +1 -7
- package/dist/reducer/advanced.d.ts +12 -11
- package/dist/reducer/advanced.js +10 -4
- package/dist/reducer-contract.d.ts +10 -2
- package/dist/reducer-contract.js +4 -4
- package/dist/reducer.d.ts +12 -689
- package/dist/reducer.js +19 -1293
- package/dist/reducer.js.map +1 -1
- package/dist/runtime/primitives.d.ts +4 -4
- package/dist/runtime/primitives.js +5 -5
- package/dist/runtime/runtime-api.d.ts +2 -2
- package/dist/runtime/workspace-contract.d.ts +50 -17
- package/dist/runtime/workspace-contract.js +15 -10
- package/dist/{runtime-C7Z2acNU.d.ts → runtime-RJ5orDJU.d.ts} +23 -30
- package/dist/{plugin-state-BRH3UiUp.d.ts → runtime-api-Bz5pwNU_.d.ts} +86 -4
- package/dist/runtime.d.ts +8 -8
- package/dist/runtime.js +19 -17
- package/dist/runtime.js.map +1 -1
- package/dist/schema.d.ts +2 -28
- package/dist/testing-compiler.d.ts +4 -4
- package/dist/testing-runtime.d.ts +7 -7
- package/dist/testing-runtime.js +6 -6
- package/dist/testing.d.ts +17 -17
- package/dist/testing.js +14 -14
- package/dist/{types-q1Guidm5.d.ts → types-DR7DoB1x.d.ts} +1 -1
- package/dist/{types-DN4O7kH_.d.ts → types-JWCYHmu7.d.ts} +2 -2
- package/dist/types.js +6 -18
- package/dist/types.js.map +1 -1
- package/dist/ui/components.d.ts +3 -4
- package/dist/ui/components.js +1 -5
- package/dist/{ui-contract-BC4JpysE.d.ts → ui-contract-GTUPkf8z.d.ts} +175 -176
- package/dist/ui.d.ts +4 -5
- package/dist/ui.js +2 -6
- package/dist/{views-D2Cfzr3h.d.ts → views-BpuWcOyN.d.ts} +101 -48
- package/package.json +3 -22
- package/dist/authoring/index.d.ts +0 -59
- package/dist/authoring/index.js +0 -24
- package/dist/authoring/index.js.map +0 -1
- package/dist/authoring-compiler.d.ts +0 -27
- package/dist/authoring-compiler.js +0 -11
- package/dist/authoring-compiler.js.map +0 -1
- package/dist/authoring-materialize-cli.d.ts +0 -1
- package/dist/authoring-materialize-cli.js +0 -45
- package/dist/authoring-materialize-cli.js.map +0 -1
- package/dist/chunk-2GQIALJL.js.map +0 -1
- package/dist/chunk-533O7C4L.js.map +0 -1
- package/dist/chunk-6LMESVGT.js.map +0 -1
- package/dist/chunk-EOEA3I64.js.map +0 -1
- package/dist/chunk-FL67RDID.js.map +0 -1
- package/dist/chunk-HIH6Y4FA.js +0 -7802
- package/dist/chunk-HIH6Y4FA.js.map +0 -1
- package/dist/chunk-HUK4234C.js +0 -166
- package/dist/chunk-HUK4234C.js.map +0 -1
- package/dist/chunk-KGV2EUNN.js +0 -532
- package/dist/chunk-KGV2EUNN.js.map +0 -1
- package/dist/chunk-KRJPRYEA.js.map +0 -1
- package/dist/chunk-KWHOFBDM.js +0 -9
- package/dist/chunk-KWHOFBDM.js.map +0 -1
- package/dist/chunk-VRRR6QZT.js.map +0 -1
- package/dist/chunk-VWTKGIYF.js.map +0 -1
- package/dist/chunk-XFMSLL3P.js +0 -637
- package/dist/chunk-XFMSLL3P.js.map +0 -1
- package/dist/chunk-ZSTCUJKZ.js.map +0 -1
- package/dist/codegen.d.ts +0 -941
- package/dist/codegen.js +0 -44
- package/dist/codegen.js.map +0 -1
- package/dist/runtime-api-CgPuEVeF.d.ts +0 -86
- /package/dist/{chunk-N33CGX2F.js.map → chunk-3BAD4VC2.js.map} +0 -0
- /package/dist/{chunk-LMHCGCA6.js.map → chunk-3SKDNDPG.js.map} +0 -0
- /package/dist/{chunk-DQS2EG5E.js.map → chunk-GDPKTBUR.js.map} +0 -0
- /package/dist/{chunk-TXELBVTG.js.map → chunk-PN5O6GG2.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, ReactElement, ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { m as BoardSpaceTargetProps, bl as ZoneListProps, b5 as UIContract } from './ui-contract-
|
|
2
|
+
import { m as BoardSpaceTargetProps, bl as ZoneListProps, b5 as UIContract } from './ui-contract-GTUPkf8z.js';
|
|
3
3
|
import { P as InteractionVisualState } from './hex-board-view-aKkblDp6.js';
|
|
4
4
|
import { H as HandRole } from './ResourceCounter-BFxJknqp.js';
|
|
5
5
|
|
|
@@ -270,6 +270,7 @@ type SeatProjectionBundle = {
|
|
|
270
270
|
"stageSeats"?: Array<string>;
|
|
271
271
|
"simultaneousPhase"?: SimultaneousPhaseProjection | null;
|
|
272
272
|
"schedulerFlow"?: SchedulerFlowAuthorityProjection;
|
|
273
|
+
"guidance"?: GameGuidanceProjection | null;
|
|
273
274
|
"sharedView"?: JsonValue;
|
|
274
275
|
"interactionsByRef"?: JsonValue;
|
|
275
276
|
"seats": Record<string, SeatProjection>;
|
|
@@ -290,6 +291,25 @@ type BoardStaticProjection = {
|
|
|
290
291
|
"hash": string;
|
|
291
292
|
"manifestVersion": string;
|
|
292
293
|
};
|
|
294
|
+
type SetupGuidanceStep = {
|
|
295
|
+
"id": string;
|
|
296
|
+
"label": string;
|
|
297
|
+
"description"?: string;
|
|
298
|
+
};
|
|
299
|
+
type GameGuidanceProjection = {
|
|
300
|
+
"phase": {
|
|
301
|
+
"id": string;
|
|
302
|
+
"label": string;
|
|
303
|
+
"summary"?: string;
|
|
304
|
+
"objective"?: string;
|
|
305
|
+
};
|
|
306
|
+
"setup"?: {
|
|
307
|
+
"profileId": string;
|
|
308
|
+
"name": string;
|
|
309
|
+
"summary"?: string;
|
|
310
|
+
"steps": Array<SetupGuidanceStep>;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
293
313
|
|
|
294
314
|
type wire_BoardStaticProjection = BoardStaticProjection;
|
|
295
315
|
type wire_ContinuationMap = ContinuationMap;
|
|
@@ -310,6 +330,7 @@ type wire_EffectShuffleSharedZone = EffectShuffleSharedZone;
|
|
|
310
330
|
type wire_EffectTransition = EffectTransition;
|
|
311
331
|
type wire_GameEvent = GameEvent;
|
|
312
332
|
type wire_GameEventDetail = GameEventDetail;
|
|
333
|
+
type wire_GameGuidanceProjection = GameGuidanceProjection;
|
|
313
334
|
type wire_GameInput = GameInput;
|
|
314
335
|
type wire_GameInputInteraction = GameInputInteraction;
|
|
315
336
|
type wire_GameOutcome = GameOutcome;
|
|
@@ -352,12 +373,13 @@ type wire_SchedulerContinuationDependency = SchedulerContinuationDependency;
|
|
|
352
373
|
type wire_SchedulerFlowAuthorityProjection = SchedulerFlowAuthorityProjection;
|
|
353
374
|
type wire_SeatProjection = SeatProjection;
|
|
354
375
|
type wire_SeatProjectionBundle = SeatProjectionBundle;
|
|
376
|
+
type wire_SetupGuidanceStep = SetupGuidanceStep;
|
|
355
377
|
type wire_SimultaneousPhaseProjection = SimultaneousPhaseProjection;
|
|
356
378
|
type wire_SystemActionEvent = SystemActionEvent;
|
|
357
379
|
type wire_TransitionRecord = TransitionRecord;
|
|
358
380
|
type wire_ValidateInputRequest = ValidateInputRequest;
|
|
359
381
|
declare namespace wire {
|
|
360
|
-
export type { wire_BoardStaticProjection as BoardStaticProjection, wire_ContinuationMap as ContinuationMap, wire_ContinuationToken as ContinuationToken, wire_DispatchRequest as DispatchRequest, wire_DispatchResult as DispatchResult, wire_DispatchResultAccept as DispatchResultAccept, wire_DispatchResultReject as DispatchResultReject, wire_DispatchTrace as DispatchTrace, wire_DispatchTraceAcceptedClientInput as DispatchTraceAcceptedClientInput, wire_DispatchTraceAppliedEffect as DispatchTraceAppliedEffect, wire_DispatchTraceRngConsumption as DispatchTraceRngConsumption, wire_Effect as Effect, wire_EffectId as EffectId, wire_EffectRollDie as EffectRollDie, wire_EffectShufflePlayerZone as EffectShufflePlayerZone, wire_EffectShuffleSharedZone as EffectShuffleSharedZone, wire_EffectTransition as EffectTransition, wire_GameEvent as GameEvent, wire_GameEventDetail as GameEventDetail, wire_GameInput as GameInput, wire_GameInputInteraction as GameInputInteraction, wire_GameOutcome as GameOutcome, wire_GameOutcomeReason as GameOutcomeReason, wire_InitializePhaseRequest as InitializePhaseRequest, wire_InitializeRequest as InitializeRequest, wire_InitializeResult as InitializeResult, wire_JsonValue as JsonValue, wire_OutcomeResult as OutcomeResult, wire_OutcomeScoreComponent as OutcomeScoreComponent, wire_OutcomeStanding as OutcomeStanding, wire_OutcomeTieBreak as OutcomeTieBreak, wire_ProjectRequest as ProjectRequest, wire_ProjectionTimingMetadata as ProjectionTimingMetadata, wire_ReduceRequest as ReduceRequest, wire_ReduceResult as ReduceResult, wire_ReduceResultAccept as ReduceResultAccept, wire_ReduceResultReject as ReduceResultReject, wire_ReducerContractVersion as ReducerContractVersion, wire_ReducerDomainState as ReducerDomainState, wire_ReducerFlowState as ReducerFlowState, wire_ReducerInputValidationResult as ReducerInputValidationResult, wire_ReducerRuntimeLogEntry as ReducerRuntimeLogEntry, wire_ReducerRuntimeLogEntryAcceptedClientInput as ReducerRuntimeLogEntryAcceptedClientInput, wire_ReducerRuntimeLogEntryAppliedEffect as ReducerRuntimeLogEntryAppliedEffect, wire_ReducerRuntimeLogEntryRngConsumption as ReducerRuntimeLogEntryRngConsumption, wire_ReducerRuntimeLogEntryStateCommit as ReducerRuntimeLogEntryStateCommit, wire_ReducerRuntimeState as ReducerRuntimeState, wire_ReducerSessionMeta as ReducerSessionMeta, wire_ReducerSessionState as ReducerSessionState, wire_ReducerSetupSelection as ReducerSetupSelection, wire_RngDraw as RngDraw, wire_RngOperation as RngOperation, wire_RngOperationParameter as RngOperationParameter, wire_RngState as RngState, wire_RuntimeSimultaneousCurrent as RuntimeSimultaneousCurrent, wire_RuntimeSimultaneousState as RuntimeSimultaneousState, wire_RuntimeSimultaneousSubmission as RuntimeSimultaneousSubmission, wire_SchedulerContinuationDependency as SchedulerContinuationDependency, wire_SchedulerFlowAuthorityProjection as SchedulerFlowAuthorityProjection, wire_SeatProjection as SeatProjection, wire_SeatProjectionBundle as SeatProjectionBundle, wire_SimultaneousPhaseProjection as SimultaneousPhaseProjection, wire_SystemActionEvent as SystemActionEvent, wire_TransitionRecord as TransitionRecord, wire_ValidateInputRequest as ValidateInputRequest };
|
|
382
|
+
export type { wire_BoardStaticProjection as BoardStaticProjection, wire_ContinuationMap as ContinuationMap, wire_ContinuationToken as ContinuationToken, wire_DispatchRequest as DispatchRequest, wire_DispatchResult as DispatchResult, wire_DispatchResultAccept as DispatchResultAccept, wire_DispatchResultReject as DispatchResultReject, wire_DispatchTrace as DispatchTrace, wire_DispatchTraceAcceptedClientInput as DispatchTraceAcceptedClientInput, wire_DispatchTraceAppliedEffect as DispatchTraceAppliedEffect, wire_DispatchTraceRngConsumption as DispatchTraceRngConsumption, wire_Effect as Effect, wire_EffectId as EffectId, wire_EffectRollDie as EffectRollDie, wire_EffectShufflePlayerZone as EffectShufflePlayerZone, wire_EffectShuffleSharedZone as EffectShuffleSharedZone, wire_EffectTransition as EffectTransition, wire_GameEvent as GameEvent, wire_GameEventDetail as GameEventDetail, wire_GameGuidanceProjection as GameGuidanceProjection, wire_GameInput as GameInput, wire_GameInputInteraction as GameInputInteraction, wire_GameOutcome as GameOutcome, wire_GameOutcomeReason as GameOutcomeReason, wire_InitializePhaseRequest as InitializePhaseRequest, wire_InitializeRequest as InitializeRequest, wire_InitializeResult as InitializeResult, wire_JsonValue as JsonValue, wire_OutcomeResult as OutcomeResult, wire_OutcomeScoreComponent as OutcomeScoreComponent, wire_OutcomeStanding as OutcomeStanding, wire_OutcomeTieBreak as OutcomeTieBreak, wire_ProjectRequest as ProjectRequest, wire_ProjectionTimingMetadata as ProjectionTimingMetadata, wire_ReduceRequest as ReduceRequest, wire_ReduceResult as ReduceResult, wire_ReduceResultAccept as ReduceResultAccept, wire_ReduceResultReject as ReduceResultReject, wire_ReducerContractVersion as ReducerContractVersion, wire_ReducerDomainState as ReducerDomainState, wire_ReducerFlowState as ReducerFlowState, wire_ReducerInputValidationResult as ReducerInputValidationResult, wire_ReducerRuntimeLogEntry as ReducerRuntimeLogEntry, wire_ReducerRuntimeLogEntryAcceptedClientInput as ReducerRuntimeLogEntryAcceptedClientInput, wire_ReducerRuntimeLogEntryAppliedEffect as ReducerRuntimeLogEntryAppliedEffect, wire_ReducerRuntimeLogEntryRngConsumption as ReducerRuntimeLogEntryRngConsumption, wire_ReducerRuntimeLogEntryStateCommit as ReducerRuntimeLogEntryStateCommit, wire_ReducerRuntimeState as ReducerRuntimeState, wire_ReducerSessionMeta as ReducerSessionMeta, wire_ReducerSessionState as ReducerSessionState, wire_ReducerSetupSelection as ReducerSetupSelection, wire_RngDraw as RngDraw, wire_RngOperation as RngOperation, wire_RngOperationParameter as RngOperationParameter, wire_RngState as RngState, wire_RuntimeSimultaneousCurrent as RuntimeSimultaneousCurrent, wire_RuntimeSimultaneousState as RuntimeSimultaneousState, wire_RuntimeSimultaneousSubmission as RuntimeSimultaneousSubmission, wire_SchedulerContinuationDependency as SchedulerContinuationDependency, wire_SchedulerFlowAuthorityProjection as SchedulerFlowAuthorityProjection, wire_SeatProjection as SeatProjection, wire_SeatProjectionBundle as SeatProjectionBundle, wire_SetupGuidanceStep as SetupGuidanceStep, wire_SimultaneousPhaseProjection as SimultaneousPhaseProjection, wire_SystemActionEvent as SystemActionEvent, wire_TransitionRecord as TransitionRecord, wire_ValidateInputRequest as ValidateInputRequest };
|
|
361
383
|
}
|
|
362
384
|
|
|
363
385
|
declare const ReducerContractVersionSchema: z.ZodString;
|
|
@@ -1828,6 +1850,29 @@ declare const SchedulerFlowAuthorityProjectionSchema: z.ZodObject<{
|
|
|
1828
1850
|
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1829
1851
|
}, z.core.$strict>>;
|
|
1830
1852
|
}, z.core.$strict>;
|
|
1853
|
+
declare const SetupGuidanceStepSchema: z.ZodObject<{
|
|
1854
|
+
id: z.ZodString;
|
|
1855
|
+
label: z.ZodString;
|
|
1856
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1857
|
+
}, z.core.$strict>;
|
|
1858
|
+
declare const GameGuidanceProjectionSchema: z.ZodObject<{
|
|
1859
|
+
phase: z.ZodObject<{
|
|
1860
|
+
id: z.ZodString;
|
|
1861
|
+
label: z.ZodString;
|
|
1862
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
objective: z.ZodOptional<z.ZodString>;
|
|
1864
|
+
}, z.core.$strict>;
|
|
1865
|
+
setup: z.ZodOptional<z.ZodObject<{
|
|
1866
|
+
profileId: z.ZodString;
|
|
1867
|
+
name: z.ZodString;
|
|
1868
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1869
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1870
|
+
id: z.ZodString;
|
|
1871
|
+
label: z.ZodString;
|
|
1872
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1873
|
+
}, z.core.$strict>>;
|
|
1874
|
+
}, z.core.$strict>>;
|
|
1875
|
+
}, z.core.$strict>;
|
|
1831
1876
|
declare const ProjectionTimingMetadataSchema: z.ZodObject<{
|
|
1832
1877
|
resolveAvailableInteractionsMs: z.ZodNumber;
|
|
1833
1878
|
resolveViewMs: z.ZodNumber;
|
|
@@ -1853,6 +1898,24 @@ declare const SeatProjectionBundleSchema: z.ZodObject<{
|
|
|
1853
1898
|
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1854
1899
|
}, z.core.$strict>>;
|
|
1855
1900
|
}, z.core.$strict>>;
|
|
1901
|
+
guidance: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1902
|
+
phase: z.ZodObject<{
|
|
1903
|
+
id: z.ZodString;
|
|
1904
|
+
label: z.ZodString;
|
|
1905
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1906
|
+
objective: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
}, z.core.$strict>;
|
|
1908
|
+
setup: z.ZodOptional<z.ZodObject<{
|
|
1909
|
+
profileId: z.ZodString;
|
|
1910
|
+
name: z.ZodString;
|
|
1911
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1912
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1913
|
+
id: z.ZodString;
|
|
1914
|
+
label: z.ZodString;
|
|
1915
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1916
|
+
}, z.core.$strict>>;
|
|
1917
|
+
}, z.core.$strict>>;
|
|
1918
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
1856
1919
|
sharedView: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1857
1920
|
interactionsByRef: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1858
1921
|
seats: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1947,6 +2010,7 @@ declare const zod_EffectShuffleSharedZoneSchema: typeof EffectShuffleSharedZoneS
|
|
|
1947
2010
|
declare const zod_EffectTransitionSchema: typeof EffectTransitionSchema;
|
|
1948
2011
|
declare const zod_GameEventDetailSchema: typeof GameEventDetailSchema;
|
|
1949
2012
|
declare const zod_GameEventSchema: typeof GameEventSchema;
|
|
2013
|
+
declare const zod_GameGuidanceProjectionSchema: typeof GameGuidanceProjectionSchema;
|
|
1950
2014
|
declare const zod_GameInputInteractionSchema: typeof GameInputInteractionSchema;
|
|
1951
2015
|
declare const zod_GameInputSchema: typeof GameInputSchema;
|
|
1952
2016
|
declare const zod_GameOutcomeReasonSchema: typeof GameOutcomeReasonSchema;
|
|
@@ -1989,12 +2053,13 @@ declare const zod_SchedulerContinuationDependencySchema: typeof SchedulerContinu
|
|
|
1989
2053
|
declare const zod_SchedulerFlowAuthorityProjectionSchema: typeof SchedulerFlowAuthorityProjectionSchema;
|
|
1990
2054
|
declare const zod_SeatProjectionBundleSchema: typeof SeatProjectionBundleSchema;
|
|
1991
2055
|
declare const zod_SeatProjectionSchema: typeof SeatProjectionSchema;
|
|
2056
|
+
declare const zod_SetupGuidanceStepSchema: typeof SetupGuidanceStepSchema;
|
|
1992
2057
|
declare const zod_SimultaneousPhaseProjectionSchema: typeof SimultaneousPhaseProjectionSchema;
|
|
1993
2058
|
declare const zod_SystemActionEventSchema: typeof SystemActionEventSchema;
|
|
1994
2059
|
declare const zod_TransitionRecordSchema: typeof TransitionRecordSchema;
|
|
1995
2060
|
declare const zod_ValidateInputRequestSchema: typeof ValidateInputRequestSchema;
|
|
1996
2061
|
declare namespace zod {
|
|
1997
|
-
export { zod_BoardStaticProjectionSchema as BoardStaticProjectionSchema, zod_ContinuationMapSchema as ContinuationMapSchema, zod_ContinuationTokenSchema as ContinuationTokenSchema, zod_DispatchRequestSchema as DispatchRequestSchema, zod_DispatchResultAcceptSchema as DispatchResultAcceptSchema, zod_DispatchResultRejectSchema as DispatchResultRejectSchema, zod_DispatchResultSchema as DispatchResultSchema, zod_DispatchTraceAcceptedClientInputSchema as DispatchTraceAcceptedClientInputSchema, zod_DispatchTraceAppliedEffectSchema as DispatchTraceAppliedEffectSchema, zod_DispatchTraceRngConsumptionSchema as DispatchTraceRngConsumptionSchema, zod_DispatchTraceSchema as DispatchTraceSchema, zod_EffectIdSchema as EffectIdSchema, zod_EffectRollDieSchema as EffectRollDieSchema, zod_EffectSchema as EffectSchema, zod_EffectShufflePlayerZoneSchema as EffectShufflePlayerZoneSchema, zod_EffectShuffleSharedZoneSchema as EffectShuffleSharedZoneSchema, zod_EffectTransitionSchema as EffectTransitionSchema, zod_GameEventDetailSchema as GameEventDetailSchema, zod_GameEventSchema as GameEventSchema, zod_GameInputInteractionSchema as GameInputInteractionSchema, zod_GameInputSchema as GameInputSchema, zod_GameOutcomeReasonSchema as GameOutcomeReasonSchema, zod_GameOutcomeSchema as GameOutcomeSchema, zod_InitializePhaseRequestSchema as InitializePhaseRequestSchema, zod_InitializeRequestSchema as InitializeRequestSchema, zod_InitializeResultSchema as InitializeResultSchema, zod_JsonValueSchema as JsonValueSchema, zod_OutcomeResultSchema as OutcomeResultSchema, zod_OutcomeScoreComponentSchema as OutcomeScoreComponentSchema, zod_OutcomeStandingSchema as OutcomeStandingSchema, zod_OutcomeTieBreakSchema as OutcomeTieBreakSchema, zod_ProjectRequestSchema as ProjectRequestSchema, zod_ProjectionTimingMetadataSchema as ProjectionTimingMetadataSchema, zod_ReduceRequestSchema as ReduceRequestSchema, zod_ReduceResultAcceptSchema as ReduceResultAcceptSchema, zod_ReduceResultRejectSchema as ReduceResultRejectSchema, zod_ReduceResultSchema as ReduceResultSchema, zod_ReducerContractVersionSchema as ReducerContractVersionSchema, zod_ReducerDomainStateSchema as ReducerDomainStateSchema, zod_ReducerFlowStateSchema as ReducerFlowStateSchema, zod_ReducerInputValidationResultSchema as ReducerInputValidationResultSchema, zod_ReducerRuntimeLogEntryAcceptedClientInputSchema as ReducerRuntimeLogEntryAcceptedClientInputSchema, zod_ReducerRuntimeLogEntryAppliedEffectSchema as ReducerRuntimeLogEntryAppliedEffectSchema, zod_ReducerRuntimeLogEntryRngConsumptionSchema as ReducerRuntimeLogEntryRngConsumptionSchema, zod_ReducerRuntimeLogEntrySchema as ReducerRuntimeLogEntrySchema, zod_ReducerRuntimeLogEntryStateCommitSchema as ReducerRuntimeLogEntryStateCommitSchema, zod_ReducerRuntimeStateSchema as ReducerRuntimeStateSchema, zod_ReducerSessionMetaSchema as ReducerSessionMetaSchema, zod_ReducerSessionStateSchema as ReducerSessionStateSchema, zod_ReducerSetupSelectionSchema as ReducerSetupSelectionSchema, zod_RngDrawSchema as RngDrawSchema, zod_RngOperationParameterSchema as RngOperationParameterSchema, zod_RngOperationSchema as RngOperationSchema, zod_RngStateSchema as RngStateSchema, zod_RuntimeSimultaneousCurrentSchema as RuntimeSimultaneousCurrentSchema, zod_RuntimeSimultaneousStateSchema as RuntimeSimultaneousStateSchema, zod_RuntimeSimultaneousSubmissionSchema as RuntimeSimultaneousSubmissionSchema, zod_SchedulerContinuationDependencySchema as SchedulerContinuationDependencySchema, zod_SchedulerFlowAuthorityProjectionSchema as SchedulerFlowAuthorityProjectionSchema, zod_SeatProjectionBundleSchema as SeatProjectionBundleSchema, zod_SeatProjectionSchema as SeatProjectionSchema, zod_SimultaneousPhaseProjectionSchema as SimultaneousPhaseProjectionSchema, zod_SystemActionEventSchema as SystemActionEventSchema, zod_TransitionRecordSchema as TransitionRecordSchema, zod_ValidateInputRequestSchema as ValidateInputRequestSchema };
|
|
2062
|
+
export { zod_BoardStaticProjectionSchema as BoardStaticProjectionSchema, zod_ContinuationMapSchema as ContinuationMapSchema, zod_ContinuationTokenSchema as ContinuationTokenSchema, zod_DispatchRequestSchema as DispatchRequestSchema, zod_DispatchResultAcceptSchema as DispatchResultAcceptSchema, zod_DispatchResultRejectSchema as DispatchResultRejectSchema, zod_DispatchResultSchema as DispatchResultSchema, zod_DispatchTraceAcceptedClientInputSchema as DispatchTraceAcceptedClientInputSchema, zod_DispatchTraceAppliedEffectSchema as DispatchTraceAppliedEffectSchema, zod_DispatchTraceRngConsumptionSchema as DispatchTraceRngConsumptionSchema, zod_DispatchTraceSchema as DispatchTraceSchema, zod_EffectIdSchema as EffectIdSchema, zod_EffectRollDieSchema as EffectRollDieSchema, zod_EffectSchema as EffectSchema, zod_EffectShufflePlayerZoneSchema as EffectShufflePlayerZoneSchema, zod_EffectShuffleSharedZoneSchema as EffectShuffleSharedZoneSchema, zod_EffectTransitionSchema as EffectTransitionSchema, zod_GameEventDetailSchema as GameEventDetailSchema, zod_GameEventSchema as GameEventSchema, zod_GameGuidanceProjectionSchema as GameGuidanceProjectionSchema, zod_GameInputInteractionSchema as GameInputInteractionSchema, zod_GameInputSchema as GameInputSchema, zod_GameOutcomeReasonSchema as GameOutcomeReasonSchema, zod_GameOutcomeSchema as GameOutcomeSchema, zod_InitializePhaseRequestSchema as InitializePhaseRequestSchema, zod_InitializeRequestSchema as InitializeRequestSchema, zod_InitializeResultSchema as InitializeResultSchema, zod_JsonValueSchema as JsonValueSchema, zod_OutcomeResultSchema as OutcomeResultSchema, zod_OutcomeScoreComponentSchema as OutcomeScoreComponentSchema, zod_OutcomeStandingSchema as OutcomeStandingSchema, zod_OutcomeTieBreakSchema as OutcomeTieBreakSchema, zod_ProjectRequestSchema as ProjectRequestSchema, zod_ProjectionTimingMetadataSchema as ProjectionTimingMetadataSchema, zod_ReduceRequestSchema as ReduceRequestSchema, zod_ReduceResultAcceptSchema as ReduceResultAcceptSchema, zod_ReduceResultRejectSchema as ReduceResultRejectSchema, zod_ReduceResultSchema as ReduceResultSchema, zod_ReducerContractVersionSchema as ReducerContractVersionSchema, zod_ReducerDomainStateSchema as ReducerDomainStateSchema, zod_ReducerFlowStateSchema as ReducerFlowStateSchema, zod_ReducerInputValidationResultSchema as ReducerInputValidationResultSchema, zod_ReducerRuntimeLogEntryAcceptedClientInputSchema as ReducerRuntimeLogEntryAcceptedClientInputSchema, zod_ReducerRuntimeLogEntryAppliedEffectSchema as ReducerRuntimeLogEntryAppliedEffectSchema, zod_ReducerRuntimeLogEntryRngConsumptionSchema as ReducerRuntimeLogEntryRngConsumptionSchema, zod_ReducerRuntimeLogEntrySchema as ReducerRuntimeLogEntrySchema, zod_ReducerRuntimeLogEntryStateCommitSchema as ReducerRuntimeLogEntryStateCommitSchema, zod_ReducerRuntimeStateSchema as ReducerRuntimeStateSchema, zod_ReducerSessionMetaSchema as ReducerSessionMetaSchema, zod_ReducerSessionStateSchema as ReducerSessionStateSchema, zod_ReducerSetupSelectionSchema as ReducerSetupSelectionSchema, zod_RngDrawSchema as RngDrawSchema, zod_RngOperationParameterSchema as RngOperationParameterSchema, zod_RngOperationSchema as RngOperationSchema, zod_RngStateSchema as RngStateSchema, zod_RuntimeSimultaneousCurrentSchema as RuntimeSimultaneousCurrentSchema, zod_RuntimeSimultaneousStateSchema as RuntimeSimultaneousStateSchema, zod_RuntimeSimultaneousSubmissionSchema as RuntimeSimultaneousSubmissionSchema, zod_SchedulerContinuationDependencySchema as SchedulerContinuationDependencySchema, zod_SchedulerFlowAuthorityProjectionSchema as SchedulerFlowAuthorityProjectionSchema, zod_SeatProjectionBundleSchema as SeatProjectionBundleSchema, zod_SeatProjectionSchema as SeatProjectionSchema, zod_SetupGuidanceStepSchema as SetupGuidanceStepSchema, zod_SimultaneousPhaseProjectionSchema as SimultaneousPhaseProjectionSchema, zod_SystemActionEventSchema as SystemActionEventSchema, zod_TransitionRecordSchema as TransitionRecordSchema, zod_ValidateInputRequestSchema as ValidateInputRequestSchema };
|
|
1998
2063
|
}
|
|
1999
2064
|
|
|
2000
2065
|
/**
|
package/dist/index.js
CHANGED
package/dist/package-set.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { P,
|
|
2
|
-
export { A as ActionInteractionDescriptor, a as ActionSetVersionInput, C as CanonicalJson, D as DREAMBOARD_PLUGIN_PROTOCOL, b as DREAMBOARD_PLUGIN_PROTOCOL_VERSION, G as GameEvent, c as GameEventDetail, d as GameOutcome, e as GameplayBasis, H as HostToPluginEnvelope, f as HostToPluginPayload, I as InputDomain, g as InputDomainDependencies, h as InputDomainDependencyCase, i as InputSelection, j as InteractionAvailability, k as InteractionChoiceOption, l as InteractionCommitPolicy, m as InteractionContext, n as InteractionContextOption, o as InteractionDescriptor, p as InteractionDiagnosticReason, q as InteractionInputDescriptor, r as InteractionResult, O as OutcomeResult, s as OutcomeScoreComponent, t as OutcomeStanding, u as OutcomeTieBreak, P as PlayerId, v as PluginGameplayFrame, w as PluginPlayerSummary, x as PluginProtocolEnvelope, y as PluginProtocolFrame, z as PluginProtocolStep, B as PluginProtocolTape, E as PluginSessionDescriptor, F as PluginToHostEnvelope, J as PluginToHostPayload, K as
|
|
3
|
-
export { BoardStaticProjectionSchema, GameEventDetailSchema, GameEventSchema, GameOutcomeSchema, GameplayBasisSchema, HostToPluginEnvelopeSchema, HostToPluginPayloadSchema, InputDomainDependenciesSchema, InputDomainSchema, InteractionAvailabilitySchema, InteractionCommitPolicySchema, InteractionContextSchema, InteractionDescriptorSchema, InteractionInputDescriptorSchema, InteractionResultSchema, PluginGameplayFrameSchema, PluginPlayerSummarySchema, PluginProtocolFrameSchema, PluginProtocolStepSchema, PluginProtocolTapeSchema, PluginSessionDescriptorSchema, PluginToHostEnvelopeSchema, PluginToHostPayloadSchema,
|
|
1
|
+
import { P, L, R, v } from './protocol-dYgafTYY.js';
|
|
2
|
+
export { A as ActionInteractionDescriptor, a as ActionSetVersionInput, C as CanonicalJson, D as DREAMBOARD_PLUGIN_PROTOCOL, b as DREAMBOARD_PLUGIN_PROTOCOL_VERSION, G as GameEvent, c as GameEventDetail, d as GameOutcome, e as GameplayBasis, H as HostToPluginEnvelope, f as HostToPluginPayload, I as InputDomain, g as InputDomainDependencies, h as InputDomainDependencyCase, i as InputSelection, j as InteractionAvailability, k as InteractionChoiceOption, l as InteractionCommitPolicy, m as InteractionContext, n as InteractionContextOption, o as InteractionDescriptor, p as InteractionDiagnosticReason, q as InteractionInputDescriptor, r as InteractionResult, O as OutcomeResult, s as OutcomeScoreComponent, t as OutcomeStanding, u as OutcomeTieBreak, P as PlayerId, v as PluginGameplayFrame, w as PluginPlayerSummary, x as PluginProtocolEnvelope, y as PluginProtocolFrame, z as PluginProtocolStep, B as PluginProtocolTape, E as PluginSessionDescriptor, F as PluginToHostEnvelope, J as PluginToHostPayload, K as PromptInteractionDescriptor, R as ReducerBoardStaticProjection, L as ReducerSeatProjectionBundle, M as RuntimeJson, S as SimultaneousPhaseSnapshot, N as SubmitInteractionCommand, Q as SystemActionEvent, Z as ZoneHandlesSnapshot, T as canonicalizePluginRuntimeJson, U as digestPluginRuntimeJson, V as encodeCanonicalPluginRuntimeJson } from './protocol-dYgafTYY.js';
|
|
3
|
+
export { BoardStaticProjectionSchema, GameEventDetailSchema, GameEventSchema, GameOutcomeSchema, GameplayBasisSchema, HostToPluginEnvelopeSchema, HostToPluginPayloadSchema, InputDomainDependenciesSchema, InputDomainSchema, InteractionAvailabilitySchema, InteractionCommitPolicySchema, InteractionContextSchema, InteractionDescriptorSchema, InteractionInputDescriptorSchema, InteractionResultSchema, PluginGameplayFrameSchema, PluginPlayerSummarySchema, PluginProtocolFrameSchema, PluginProtocolStepSchema, PluginProtocolTapeSchema, PluginSessionDescriptorSchema, PluginToHostEnvelopeSchema, PluginToHostPayloadSchema, RuntimeJsonSchema, SeatProjectionBundleSchema, SimultaneousPhaseSnapshotSchema, SubmitInteractionCommandSchema, SystemActionEventSchema, ZoneHandlesSnapshotSchema, createPluginProtocolEnvelopeSchema, parseHostToPluginEnvelope, parsePluginGameplayFrame, parsePluginSessionDescriptor, parsePluginToHostEnvelope } from './schema.js';
|
|
4
4
|
export { computePluginActionSetVersion, digestPluginCommandRequest, digestPluginGameplayFrame } from './digest.js';
|
|
5
5
|
|
|
6
6
|
interface MaterializePluginGameplayFrameInput {
|
|
7
7
|
readonly currentPhase: string | null;
|
|
8
8
|
readonly activePlayers: readonly P[];
|
|
9
|
-
readonly dynamicProjection:
|
|
9
|
+
readonly dynamicProjection: L;
|
|
10
10
|
readonly staticProjection?: R | null;
|
|
11
11
|
readonly perspectivePlayerId: P;
|
|
12
12
|
readonly version: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
BoardStaticProjectionSchema2,
|
|
3
3
|
DREAMBOARD_PLUGIN_PROTOCOL,
|
|
4
4
|
DREAMBOARD_PLUGIN_PROTOCOL_VERSION,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
GameEventDetailSchema2,
|
|
6
|
+
GameEventSchema2,
|
|
7
|
+
GameOutcomeSchema2,
|
|
8
8
|
GameplayBasisSchema,
|
|
9
9
|
HostToPluginEnvelopeSchema,
|
|
10
10
|
HostToPluginPayloadSchema,
|
|
@@ -24,12 +24,11 @@ import {
|
|
|
24
24
|
PluginSessionDescriptorSchema,
|
|
25
25
|
PluginToHostEnvelopeSchema,
|
|
26
26
|
PluginToHostPayloadSchema,
|
|
27
|
-
ProjectedGameEventSchema,
|
|
28
27
|
RuntimeJsonSchema,
|
|
29
|
-
|
|
28
|
+
SeatProjectionBundleSchema2,
|
|
30
29
|
SimultaneousPhaseSnapshotSchema,
|
|
31
30
|
SubmitInteractionCommandSchema,
|
|
32
|
-
|
|
31
|
+
SystemActionEventSchema2,
|
|
33
32
|
ZoneHandlesSnapshotSchema,
|
|
34
33
|
canonicalizePluginRuntimeJson,
|
|
35
34
|
computePluginActionSetVersion,
|
|
@@ -43,15 +42,15 @@ import {
|
|
|
43
42
|
parsePluginGameplayFrame,
|
|
44
43
|
parsePluginSessionDescriptor,
|
|
45
44
|
parsePluginToHostEnvelope
|
|
46
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VCDWP5VL.js";
|
|
47
46
|
import "./chunk-PZ5AY32C.js";
|
|
48
47
|
export {
|
|
49
|
-
BoardStaticProjectionSchema,
|
|
48
|
+
BoardStaticProjectionSchema2 as BoardStaticProjectionSchema,
|
|
50
49
|
DREAMBOARD_PLUGIN_PROTOCOL,
|
|
51
50
|
DREAMBOARD_PLUGIN_PROTOCOL_VERSION,
|
|
52
|
-
GameEventDetailSchema,
|
|
53
|
-
GameEventSchema,
|
|
54
|
-
GameOutcomeSchema,
|
|
51
|
+
GameEventDetailSchema2 as GameEventDetailSchema,
|
|
52
|
+
GameEventSchema2 as GameEventSchema,
|
|
53
|
+
GameOutcomeSchema2 as GameOutcomeSchema,
|
|
55
54
|
GameplayBasisSchema,
|
|
56
55
|
HostToPluginEnvelopeSchema,
|
|
57
56
|
HostToPluginPayloadSchema,
|
|
@@ -71,12 +70,11 @@ export {
|
|
|
71
70
|
PluginSessionDescriptorSchema,
|
|
72
71
|
PluginToHostEnvelopeSchema,
|
|
73
72
|
PluginToHostPayloadSchema,
|
|
74
|
-
ProjectedGameEventSchema,
|
|
75
73
|
RuntimeJsonSchema,
|
|
76
|
-
SeatProjectionBundleSchema,
|
|
74
|
+
SeatProjectionBundleSchema2 as SeatProjectionBundleSchema,
|
|
77
75
|
SimultaneousPhaseSnapshotSchema,
|
|
78
76
|
SubmitInteractionCommandSchema,
|
|
79
|
-
SystemActionEventSchema,
|
|
77
|
+
SystemActionEventSchema2 as SystemActionEventSchema,
|
|
80
78
|
ZoneHandlesSnapshotSchema,
|
|
81
79
|
canonicalizePluginRuntimeJson,
|
|
82
80
|
computePluginActionSetVersion,
|
|
@@ -168,10 +168,6 @@ interface SystemActionEvent {
|
|
|
168
168
|
readonly details?: readonly GameEventDetail[];
|
|
169
169
|
}
|
|
170
170
|
type GameEvent = SystemActionEvent;
|
|
171
|
-
type ProjectedGameEvent = GameEvent & {
|
|
172
|
-
readonly version: number;
|
|
173
|
-
readonly index: number;
|
|
174
|
-
};
|
|
175
171
|
type OutcomeResult = "win" | "draw" | "loss" | "eliminated";
|
|
176
172
|
interface OutcomeScoreComponent {
|
|
177
173
|
readonly id: string;
|
|
@@ -209,7 +205,6 @@ interface PluginGameplayFrame<View = unknown, Phase extends string = string, Sta
|
|
|
209
205
|
};
|
|
210
206
|
readonly availableInteractions: ReadonlyArray<InteractionDescriptor<Interaction>>;
|
|
211
207
|
readonly guidance?: GameGuidanceProjection | null;
|
|
212
|
-
readonly recentEvents: readonly ProjectedGameEvent[];
|
|
213
208
|
readonly zones: Readonly<Record<string, ZoneHandlesSnapshot<Interaction>>>;
|
|
214
209
|
}
|
|
215
210
|
interface ReducerSeatProjectionBundle {
|
|
@@ -226,7 +221,6 @@ interface ReducerSeatProjectionBundle {
|
|
|
226
221
|
}[];
|
|
227
222
|
};
|
|
228
223
|
readonly guidance?: GameGuidanceProjection | null;
|
|
229
|
-
readonly recentEvents?: readonly ProjectedGameEvent[];
|
|
230
224
|
readonly sharedView?: unknown;
|
|
231
225
|
readonly interactionsByRef?: unknown;
|
|
232
226
|
readonly seats: Readonly<Record<string, {
|
|
@@ -317,4 +311,4 @@ type ActionSetVersionInput = {
|
|
|
317
311
|
readonly availableInteractions: readonly InteractionDescriptor[];
|
|
318
312
|
};
|
|
319
313
|
|
|
320
|
-
export { type ActionInteractionDescriptor as A, type PluginProtocolTape as B, type CanonicalJson as C, DREAMBOARD_PLUGIN_PROTOCOL as D, type PluginSessionDescriptor as E, type PluginToHostEnvelope as F, type GameEvent as G, type HostToPluginEnvelope as H, type InputDomain as I, type PluginToHostPayload as J, type
|
|
314
|
+
export { type ActionInteractionDescriptor as A, type PluginProtocolTape as B, type CanonicalJson as C, DREAMBOARD_PLUGIN_PROTOCOL as D, type PluginSessionDescriptor as E, type PluginToHostEnvelope as F, type GameEvent as G, type HostToPluginEnvelope as H, type InputDomain as I, type PluginToHostPayload as J, type PromptInteractionDescriptor as K, type ReducerSeatProjectionBundle as L, type RuntimeJson as M, type SubmitInteractionCommand as N, type OutcomeResult as O, type PlayerId as P, type SystemActionEvent as Q, type ReducerBoardStaticProjection as R, type SimultaneousPhaseSnapshot as S, canonicalizePluginRuntimeJson as T, digestPluginRuntimeJson as U, encodeCanonicalPluginRuntimeJson as V, type ZoneHandlesSnapshot as Z, type ActionSetVersionInput as a, DREAMBOARD_PLUGIN_PROTOCOL_VERSION as b, type GameEventDetail as c, type GameOutcome as d, type GameplayBasis as e, type HostToPluginPayload as f, type InputDomainDependencies as g, type InputDomainDependencyCase as h, type InputSelection as i, type InteractionAvailability as j, type InteractionChoiceOption as k, type InteractionCommitPolicy as l, type InteractionContext as m, type InteractionContextOption as n, type InteractionDescriptor as o, type InteractionDiagnosticReason as p, type InteractionInputDescriptor as q, type InteractionResult as r, type OutcomeScoreComponent as s, type OutcomeStanding as t, type OutcomeTieBreak as u, type PluginGameplayFrame as v, type PluginPlayerSummary as w, type PluginProtocolEnvelope as x, type PluginProtocolFrame as y, type PluginProtocolStep as z };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AnyContinuationToken, a as AnySchema, B as BoardBaseIdOfManifest, b as BoardContainerIdOfManifest, c as BoardContainerIdOfTable, d as BoardIdOfManifest, e as BoardIdOfTable, f as BoardLayoutOfManifest, g as BoardMapOfTable, i as BoardStateOfTable, j as BoardTypeIdOfManifest, k as BoardTypeIdOfTable, l as Brand, C as CardIdOfDeck, m as CardIdOfHand, o as CardIdOfState, p as CardIdOfTable, q as CardTypeOfState, r as CardTypeOfTable, s as ChoiceOption, t as CompatibleCardIdForHandAndDeck, u as CompatibleCardIdForTwoPlayerZones, v as CompatibleHandIdForDeck, w as ComponentDataOfTable, x as ComponentIdOfTable, y as ComponentLocationByTypeOfTable, z as ComponentLocationOfTable, D as ContinuationResponseOf, E as ContinuationToken, F as DeckCardsOfTable, G as DeckIdOfState, H as DeckIdOfTable, J as EdgeTypeIdOfManifest, K as EffectInvokeOptions, L as EffectSpecLike, M as EffectTypeTag, N as ErrorCodeOfContract, O as ExactManifestContractOf, P as FlowState, Q as FrameworkErrorCode, R as FrameworkErrorCodes, S as GameEvent, T as GameEventDetail, U as GameOutcome,
|
|
3
|
-
import { aH as ReducerGameContractLike, au as PhaseMapOf, bc as ViewMapOf, aI as ReducerGameDefinition } from '../views-
|
|
4
|
-
export { A as ActionContext, a as ActorSelection, b as ActorSelector, c as ActorSelectorArgs, d as AnyCardActionSpec, e as AnyContinuationCallable, f as AnyInteractionSpec, g as AnyPhaseDefinitionForContract, h as AnyReducerGameDefinition, i as AutoPhaseDefinition, B as BaseGameSessionOfContract, j as BaseGameStateOfContract, k as BoardInputCollectorKind, l as BoardInputCollectorMeta, m as BoardInteractionKeyOfDefinition, n as BoardTargetDomainDescriptor, o as BoundedNumberDomainDescriptor, C as CardActionMap, p as CardActionSpec, q as CardInputCollectorMeta, r as CardInputZoneIdsOfDefinition, s as CardInteractionKeyOfDefinition, t as CardTargetDomainDescriptor, u as ChoiceDomainDescriptor, v as ChoiceListDomainDescriptor, w as ClientParamsOf, x as ClientParamsOfInteractionOfDefinition, y as CollectorState, z as ContinuationCallable, D as ContinuationInput, E as ContinuationInputForSource, F as ContinuationKind, G as ContinuationReduceArgs, H as ContinuationSourceKind, I as DefaultedClientParamKeysOfInteractionOfDefinition, L as EagerInputDomainDependencies, M as EffectContinuationCallable, N as EffectContinuationInput, O as EffectContinuationResponse, P as EffectDefinition, Q as EffectIdsOfDefinition, R as EffectMap, S as EffectRegistryOfPhase, T as EffectRollDieDefinition, U as EffectShuffleDefinition, V as EffectShufflePlayerZoneDefinition, W as EmptyViewDefinition, X as GameStateOf, Y as InitialStateCallbacks, Z as InputCollector, _ as InputCollectorKind, $ as InputCollectorMetaForKind, a0 as InputDomainDependencyCase, a1 as InputDomainDescriptor, a2 as InputDomainResolverDescriptor, a3 as InputKeysWithCollectorKindOfDefinition, a4 as InputSelectionDescriptor, a5 as InteractionAvailabilityArgs, a6 as InteractionCommitPolicy, a7 as InteractionIdOfDefinition, a8 as InteractionIdOfDefinitionPhase, a9 as InteractionKind, aa as InteractionMap, ab as InteractionReduceArgs, ac as InteractionReduceInput, ad as InteractionRule, ae as InteractionRuleValidationResult, af as InteractionSpec, ag as InteractionSpecByNameOfDefinitionPhase, ah as InteractionToArgs, ai as InteractionValidateArgs, aj as LazyBoardTargetDomainDescriptor, ak as LazyCardTargetDomainDescriptor, al as LazyInputDomainDependencies, am as
|
|
1
|
+
import { bW as RuntimeTableRecord, bJ as RuntimeRngState, cc as SetupBootstrapStep, aT as ReducerManifestContractLike, c3 as SetupBootstrapContainerRef, c7 as SetupBootstrapPerPlayerContainerTemplateRef, aE as PlayerIdOfManifest, c4 as SetupBootstrapDestinationRef, n as CardIdOfManifest, aC as PieceIdOfManifest, I as DieIdOfManifest } from '../runtime-RJ5orDJU.js';
|
|
2
|
+
export { A as AnyContinuationToken, a as AnySchema, B as BoardBaseIdOfManifest, b as BoardContainerIdOfManifest, c as BoardContainerIdOfTable, d as BoardIdOfManifest, e as BoardIdOfTable, f as BoardLayoutOfManifest, g as BoardMapOfTable, i as BoardStateOfTable, j as BoardTypeIdOfManifest, k as BoardTypeIdOfTable, l as Brand, C as CardIdOfDeck, m as CardIdOfHand, o as CardIdOfState, p as CardIdOfTable, q as CardTypeOfState, r as CardTypeOfTable, s as ChoiceOption, t as CompatibleCardIdForHandAndDeck, u as CompatibleCardIdForTwoPlayerZones, v as CompatibleHandIdForDeck, w as ComponentDataOfTable, x as ComponentIdOfTable, y as ComponentLocationByTypeOfTable, z as ComponentLocationOfTable, D as ContinuationResponseOf, E as ContinuationToken, F as DeckCardsOfTable, G as DeckIdOfState, H as DeckIdOfTable, J as EdgeTypeIdOfManifest, K as EffectInvokeOptions, L as EffectSpecLike, M as EffectTypeTag, N as ErrorCodeOfContract, O as ExactManifestContractOf, P as FlowState, Q as FrameworkErrorCode, R as FrameworkErrorCodes, S as GameEvent, T as GameEventDetail, U as GameOutcome, V as HandCardsOfTable, W as HandIdOfState, X as HandIdOfTable, Y as HexBoardIdOfTable, Z as HexBoardStateOfTable, _ as HexEdgeIdOfTable, $ as HexEdgeStateOfTable, a0 as HexEdgeTypeIdOfTable, a1 as HexSpaceIdOfTable, a2 as HexSpaceTypeIdOfTable, a3 as HexVertexIdOfTable, a4 as HexVertexStateOfTable, a5 as HexVertexTypeIdOfTable, a6 as HiddenSchemaOfContract, a7 as HiddenStateOfState, a8 as InitContext, a9 as InitSetupSelectionInput, aa as ManifestContract, ab as ManifestContractOf, ac as ManifestDefaults, ad as ManifestIdFamily, ae as ManifestIdSchema, af as ManifestIds, ag as ManifestLiterals, ah as ManifestNormalSetup, ai as ManifestOf, aj as NonEmptyReadonlyArray, ak as OutcomeResult, al as OutcomeScoreComponent, am as OutcomeStanding, an as OutcomeTieBreak, ar as PhaseAccessor, as as PhaseMapOfState, at as PhaseNameOf, au as PhaseNameOfContract, av as PhaseNameOfManifest, aw as PhaseNameOfState, ax as PhasePayload, ay as PhaseSchemasOfContract, az as PhaseStateMapOfContract, aA as PhaseStateOfState, aB as PhaseStepOfState, aF as PlayerIdOfState, aG as PlayerIdOfTable, aH as PlayerZoneIdOfManifest, aI as PlayerZoneIdOfState, aJ as PlayerZoneIdOfTable, aK as PrivateSchemaOfContract, aL as PrivateStateOfState, aM as PublicSchemaOfContract, aN as PublicStateOfState, aO as ReducerAccept, aP as ReducerAcceptOptions, aQ as ReducerFx, aR as ReducerGameState, aS as ReducerManifestContract, aU as ReducerReject, aV as ReducerResult, aW as ReducerRuntimeStateForState, aX as ReducerSessionState, aY as ReducerValidationResult, aZ as RelationTypeIdOfManifest, a_ as RelationTypeIdOfTable, a$ as ResolvedContainerLocation, b0 as ResolvedDeckLocation, b1 as ResolvedEdgeLocation, b2 as ResolvedHandLocation, b3 as ResolvedSlotLocation, b4 as ResolvedSpaceLocation, b5 as ResolvedVertexLocation, b6 as ResolvedZoneLocation, b7 as ResourceAmountsOfTable, b8 as ResourceBalancesOfState, b9 as ResourceBalancesOfTable, ba as ResourceIdOfManifest, bb as ResourceIdOfState, bc as ResourceIdOfTable, bd as RuntimeBoardBaseState, be as RuntimeBoardCollections, bf as RuntimeBoardCompatibilityState, bg as RuntimeBoardContainerState, bh as RuntimeBoardRelationState, bi as RuntimeBoardSpaceState, bj as RuntimeBoardState, bk as RuntimeCardData, bl as RuntimeCardVisibility, bm as RuntimeComponentLocation, bn as RuntimeComponentLocationMap, bo as RuntimeDeckMap, bp as RuntimeDieData, bq as RuntimeGenericBoardState, br as RuntimeHandMap, bs as RuntimeHandVisibilityMode, bt as RuntimeHexBoardState, bu as RuntimeHexEdgeState, bv as RuntimeHexOrientation, bw as RuntimeHexSpaceState, bx as RuntimeHexVertexState, bz as RuntimeOwnerMap, bA as RuntimeParams, bB as RuntimePayload, bC as RuntimePhaseState, bD as RuntimePieceData, bE as RuntimeRecord, bF as RuntimeResourceMap, bG as RuntimeRngDraw, bH as RuntimeRngOperation, bI as RuntimeRngOperationParameter, bK as RuntimeScalar, bL as RuntimeSetupSelection, bM as RuntimeSetupSelectionInput, bN as RuntimeSetupSelectionOverride, bO as RuntimeSimultaneousState, bP as RuntimeSimultaneousSubmission, bQ as RuntimeSlotHostRef, bR as RuntimeSquareBoardState, bS as RuntimeSquareEdgeState, bT as RuntimeSquareSpaceState, bU as RuntimeSquareVertexState, bV as RuntimeState, bX as RuntimeTiledBoardBaseState, bY as RuntimeTiledBoardState, bZ as RuntimeTiledEdgeState, b_ as RuntimeTiledSpaceState, b$ as RuntimeTiledVertexState, c0 as RuntimeVisibilityMap, c1 as RuntimeZoneMap, c2 as SchemaLike, c5 as SetupBootstrapPerPlayerBoardContainerRef, c6 as SetupBootstrapPerPlayerBoardSpaceRef, c8 as SetupBootstrapPerPlayerZoneRef, c9 as SetupBootstrapSharedBoardContainerRef, ca as SetupBootstrapSharedBoardSpaceRef, cb as SetupBootstrapSharedZoneRef, cd as SetupOptionChoiceMetadata, ce as SetupOptionIdOfManifest, cf as SetupOptionMetadata, cg as SetupProfileDefinition, ch as SetupProfileIdOfManifest, ci as SetupProfileMetadata, cj as SetupSelectionInputOfManifest, ck as SetupSelectionOfManifest, cm as SharedZoneIdOfManifest, cn as SharedZoneIdOfState, co as SharedZoneIdOfTable, cp as SpaceIdOfManifest, cq as SpaceIdOfTable, cr as SpaceTypeIdOfManifest, cs as SpaceTypeIdOfTable, ct as SquareBoardIdOfTable, cu as SquareBoardStateOfTable, cv as SquareEdgeIdOfTable, cw as SquareEdgeStateOfTable, cx as SquareEdgeTypeIdOfTable, cy as SquareSpaceIdOfTable, cz as SquareSpaceTypeIdOfTable, cA as SquareVertexIdOfTable, cB as SquareVertexStateOfTable, cC as SquareVertexTypeIdOfTable, cD as StateDefinition, cE as StateDefinitionOfContract, cF as StaticBoards, cG as StringKeyOf, cH as SystemActionEvent, cI as TableOfManifest, cJ as TableOfState, cK as TableQueries, cL as TableQueriesOfState, cM as TiledBoardIdOfTable, cN as TiledBoardStateOfTable, cO as TiledEdgeIdOfTable, cP as TiledEdgeMap, cQ as TiledEdgeStateOfTable, cR as TiledEdgeTypeIdOfTable, cS as TiledSpaceIdOfTable, cT as TiledSpaceMap, cU as TiledVertexIdOfTable, cV as TiledVertexMap, cW as TiledVertexStateOfTable, cX as TiledVertexTypeIdOfTable, cY as VertexTypeIdOfManifest, c_ as assumeManifestSchema, d2 as cloneManifestDefault, d3 as createManifestGameStateSchema, d4 as createManifestRuntimeSchema, d5 as createManifestStringLiteralSchema, d6 as isManifestScopedSchema, db as manifestSchemaFamily, dc as markManifestScopedSchema, dr as resolveManifestPlayerIds } from '../runtime-RJ5orDJU.js';
|
|
3
|
+
import { aH as ReducerGameContractLike, au as PhaseMapOf, bc as ViewMapOf, aI as ReducerGameDefinition } from '../views-BpuWcOyN.js';
|
|
4
|
+
export { A as ActionContext, a as ActorSelection, b as ActorSelector, c as ActorSelectorArgs, d as AnyCardActionSpec, e as AnyContinuationCallable, f as AnyInteractionSpec, g as AnyPhaseDefinitionForContract, h as AnyReducerGameDefinition, i as AutoPhaseDefinition, B as BaseGameSessionOfContract, j as BaseGameStateOfContract, k as BoardInputCollectorKind, l as BoardInputCollectorMeta, m as BoardInteractionKeyOfDefinition, n as BoardTargetDomainDescriptor, o as BoundedNumberDomainDescriptor, C as CardActionMap, p as CardActionSpec, q as CardInputCollectorMeta, r as CardInputZoneIdsOfDefinition, s as CardInteractionKeyOfDefinition, t as CardTargetDomainDescriptor, u as ChoiceDomainDescriptor, v as ChoiceListDomainDescriptor, w as ClientParamsOf, x as ClientParamsOfInteractionOfDefinition, y as CollectorState, z as ContinuationCallable, D as ContinuationInput, E as ContinuationInputForSource, F as ContinuationKind, G as ContinuationReduceArgs, H as ContinuationSourceKind, I as DefaultedClientParamKeysOfInteractionOfDefinition, L as EagerInputDomainDependencies, M as EffectContinuationCallable, N as EffectContinuationInput, O as EffectContinuationResponse, P as EffectDefinition, Q as EffectIdsOfDefinition, R as EffectMap, S as EffectRegistryOfPhase, T as EffectRollDieDefinition, U as EffectShuffleDefinition, V as EffectShufflePlayerZoneDefinition, W as EmptyViewDefinition, X as GameStateOf, Y as InitialStateCallbacks, Z as InputCollector, _ as InputCollectorKind, $ as InputCollectorMetaForKind, a0 as InputDomainDependencyCase, a1 as InputDomainDescriptor, a2 as InputDomainResolverDescriptor, a3 as InputKeysWithCollectorKindOfDefinition, a4 as InputSelectionDescriptor, a5 as InteractionAvailabilityArgs, a6 as InteractionCommitPolicy, a7 as InteractionIdOfDefinition, a8 as InteractionIdOfDefinitionPhase, a9 as InteractionKind, aa as InteractionMap, ab as InteractionReduceArgs, ac as InteractionReduceInput, ad as InteractionRule, ae as InteractionRuleValidationResult, af as InteractionSpec, ag as InteractionSpecByNameOfDefinitionPhase, ah as InteractionToArgs, ai as InteractionValidateArgs, aj as LazyBoardTargetDomainDescriptor, ak as LazyCardTargetDomainDescriptor, al as LazyInputDomainDependencies, am as MutationHelpers, ao as ParamsOf, ap as ParamsOfInteractionOfDefinition, aq as PhaseDefinition, ar as PhaseDefinitionByName, as as PhaseEnterArgs, at as PhaseEnterContext, av as PhaseNamesOfDefinition, aw as PhaseStateMapOfDefinitions, ax as PhaseStateOfDefinitions, ay as PhaseZoneList, az as PlayableInteractionsOfZoneOfDefinition, aA as PlayerPhaseDefinition, aB as PlayerViewDefinition, aC as PromptInputCollectorMeta, aD as PromptInteractionKeyOfDefinition, aE as RandomHelpers, aF as ReadHelpers, aG as ReducerGameContract, aK as ReducerSessionForConfig, aM as ReducerStateForConfig, aP as ResolvedBoardTargetDomainDescriptor, aQ as ResolvedCardTargetDomainDescriptor, aR as ResolvedGameSessionOf, aS as ResolvedGameStateOf, aT as ResourceMapDomainDescriptor, aU as ResumableEffectKind, aV as RngInputCollectorMeta, aW as RollDieContinuationResponse, aY as ScopedPhaseState, aZ as SharedViewDefinition, a_ as ShufflePlayerZoneContinuationResponse, a$ as ShuffleSharedZoneContinuationResponse, b0 as SimultaneousPlayerPhaseDefinition, b1 as SimultaneousResolveArgs, b2 as SimultaneousSubmission, b3 as SimultaneousSubmitSpec, b4 as StageMap, b5 as StageNamesOfDefinitionPhase, b6 as StageSpec, b7 as StaticViewDefinition, b8 as StaticViewQueries, b9 as TargetKind, ba as ValidationIssue, bb as ViewDefinitionByName, bd as ViewNamesOfDefinition, be as ViewOfDefinition, bf as ViewsOfDefinition, bg as ZoneIdsOfDefinition } from '../views-BpuWcOyN.js';
|
|
5
|
+
export { r as defineGameDefinition } from '../game-CsZScpcn.js';
|
|
5
6
|
import 'zod';
|
|
6
7
|
import '../types.js';
|
|
7
|
-
import './protocol-
|
|
8
|
+
import './protocol-dYgafTYY.js';
|
|
8
9
|
|
|
9
10
|
type ClientParamSchema = {
|
|
10
11
|
safeParse: (value: unknown) => {
|
|
@@ -31,8 +32,8 @@ type StatefulBootstrapContext = {
|
|
|
31
32
|
};
|
|
32
33
|
declare function applySetupBootstrap<State extends StatefulBootstrapContext>(state: State, steps: readonly SetupBootstrapStep[]): State;
|
|
33
34
|
|
|
34
|
-
declare function shuffle<Manifest extends
|
|
35
|
-
declare function dealToPlayerZone<Manifest extends
|
|
35
|
+
declare function shuffle<Manifest extends ReducerManifestContractLike = ReducerManifestContractLike>(container: SetupBootstrapContainerRef<Manifest>): SetupBootstrapStep<Manifest>;
|
|
36
|
+
declare function dealToPlayerZone<Manifest extends ReducerManifestContractLike = ReducerManifestContractLike>({ from, zoneId, count, playerIds, }: {
|
|
36
37
|
from: Extract<SetupBootstrapContainerRef<Manifest>, {
|
|
37
38
|
type: "sharedZone" | "sharedBoardContainer";
|
|
38
39
|
}>;
|
|
@@ -42,7 +43,7 @@ declare function dealToPlayerZone<Manifest extends GeneratedManifestContractLike
|
|
|
42
43
|
count: number;
|
|
43
44
|
playerIds?: readonly PlayerIdOfManifest<Manifest>[];
|
|
44
45
|
}): SetupBootstrapStep<Manifest>;
|
|
45
|
-
declare function dealToPlayerBoardContainer<Manifest extends
|
|
46
|
+
declare function dealToPlayerBoardContainer<Manifest extends ReducerManifestContractLike = ReducerManifestContractLike>({ from, boardId, containerId, count, playerIds, }: {
|
|
46
47
|
from: Extract<SetupBootstrapContainerRef<Manifest>, {
|
|
47
48
|
type: "sharedZone" | "sharedBoardContainer";
|
|
48
49
|
}>;
|
|
@@ -55,7 +56,7 @@ declare function dealToPlayerBoardContainer<Manifest extends GeneratedManifestCo
|
|
|
55
56
|
count: number;
|
|
56
57
|
playerIds?: readonly PlayerIdOfManifest<Manifest>[];
|
|
57
58
|
}): SetupBootstrapStep<Manifest>;
|
|
58
|
-
declare function seedSharedBoardContainer<Manifest extends
|
|
59
|
+
declare function seedSharedBoardContainer<Manifest extends ReducerManifestContractLike = ReducerManifestContractLike>({ from, boardId, containerId, count, componentIds, }: {
|
|
59
60
|
from: SetupBootstrapContainerRef<Manifest>;
|
|
60
61
|
boardId: Extract<SetupBootstrapDestinationRef<Manifest>, {
|
|
61
62
|
type: "sharedBoardContainer";
|
|
@@ -66,7 +67,7 @@ declare function seedSharedBoardContainer<Manifest extends GeneratedManifestCont
|
|
|
66
67
|
count?: number;
|
|
67
68
|
componentIds?: readonly (CardIdOfManifest<Manifest> | PieceIdOfManifest<Manifest> | DieIdOfManifest<Manifest>)[];
|
|
68
69
|
}): SetupBootstrapStep<Manifest>;
|
|
69
|
-
declare function seedSharedBoardSpace<Manifest extends
|
|
70
|
+
declare function seedSharedBoardSpace<Manifest extends ReducerManifestContractLike = ReducerManifestContractLike>({ from, boardId, spaceId, count, componentIds, }: {
|
|
70
71
|
from: SetupBootstrapContainerRef<Manifest>;
|
|
71
72
|
boardId: Extract<SetupBootstrapDestinationRef<Manifest>, {
|
|
72
73
|
type: "sharedBoardSpace";
|
|
@@ -78,4 +79,4 @@ declare function seedSharedBoardSpace<Manifest extends GeneratedManifestContract
|
|
|
78
79
|
componentIds?: readonly (CardIdOfManifest<Manifest> | PieceIdOfManifest<Manifest> | DieIdOfManifest<Manifest>)[];
|
|
79
80
|
}): SetupBootstrapStep<Manifest>;
|
|
80
81
|
|
|
81
|
-
export { CardIdOfManifest, type ClientParamSchema, type ClientParamSchemasByPhase, DieIdOfManifest,
|
|
82
|
+
export { CardIdOfManifest, type ClientParamSchema, type ClientParamSchemasByPhase, DieIdOfManifest, PhaseMapOf, PieceIdOfManifest, PlayerIdOfManifest, ReducerGameContractLike, ReducerGameDefinition, ReducerManifestContractLike, RuntimeRngState, RuntimeTableRecord, SetupBootstrapContainerRef, SetupBootstrapDestinationRef, SetupBootstrapPerPlayerContainerTemplateRef, SetupBootstrapStep, ViewMapOf, applySetupBootstrap, createClientParamSchemasByPhase, dealToPlayerBoardContainer, dealToPlayerZone, seedSharedBoardContainer, seedSharedBoardSpace, shuffle };
|
package/dist/reducer/advanced.js
CHANGED
|
@@ -4,10 +4,13 @@ import {
|
|
|
4
4
|
seedSharedBoardContainer,
|
|
5
5
|
seedSharedBoardSpace,
|
|
6
6
|
shuffle
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-ANRB4XKA.js";
|
|
8
8
|
import {
|
|
9
9
|
createClientParamSchemasByPhase
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-PN5O6GG2.js";
|
|
11
|
+
import {
|
|
12
|
+
defineGameDefinition
|
|
13
|
+
} from "../chunk-ZZGN2ATS.js";
|
|
11
14
|
import {
|
|
12
15
|
FrameworkErrorCodes,
|
|
13
16
|
applySetupBootstrap,
|
|
@@ -20,8 +23,10 @@ import {
|
|
|
20
23
|
manifestSchemaFamily,
|
|
21
24
|
markManifestScopedSchema,
|
|
22
25
|
resolveManifestPlayerIds
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-H6VDGFL5.js";
|
|
27
|
+
import "../chunk-5YV2WHJ4.js";
|
|
28
|
+
import "../chunk-Z7QCREWI.js";
|
|
29
|
+
import "../chunk-UGH54WZ2.js";
|
|
25
30
|
import "../chunk-PZ5AY32C.js";
|
|
26
31
|
export {
|
|
27
32
|
FrameworkErrorCodes,
|
|
@@ -34,6 +39,7 @@ export {
|
|
|
34
39
|
createManifestStringLiteralSchema,
|
|
35
40
|
dealToPlayerBoardContainer,
|
|
36
41
|
dealToPlayerZone,
|
|
42
|
+
defineGameDefinition,
|
|
37
43
|
isManifestScopedSchema,
|
|
38
44
|
manifestSchemaFamily,
|
|
39
45
|
markManifestScopedSchema,
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
export { M as MaybePromise, R as REDUCER_CONTRACT_VERSION, a as ReducerBundleContract, w as ReducerWire, z as ReducerWireZod, b as assertReducerBundleContract } from './index.d-
|
|
2
|
-
|
|
1
|
+
export { M as MaybePromise, R as REDUCER_CONTRACT_VERSION, a as ReducerBundleContract, w as ReducerWire, z as ReducerWireZod, b as assertReducerBundleContract } from './index.d-DjzoK7zn.js';
|
|
2
|
+
import { GameTopologyManifest } from './types.js';
|
|
3
3
|
import 'zod';
|
|
4
|
+
|
|
5
|
+
declare function materializeManifestTable(options: {
|
|
6
|
+
manifest: GameTopologyManifest;
|
|
7
|
+
playerIds: readonly string[];
|
|
8
|
+
shuffleItems: <Value>(values: readonly Value[]) => Value[];
|
|
9
|
+
}): Record<string, unknown>;
|
|
10
|
+
|
|
11
|
+
export { materializeManifestTable };
|
package/dist/reducer-contract.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
materializeManifestTable
|
|
3
|
+
} from "./chunk-Z7QCREWI.js";
|
|
1
4
|
import {
|
|
2
5
|
REDUCER_CONTRACT_VERSION,
|
|
3
6
|
assertReducerBundleContract,
|
|
4
7
|
zod_exports
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
materializeManifestTable
|
|
8
|
-
} from "./chunk-HIH6Y4FA.js";
|
|
8
|
+
} from "./chunk-UGH54WZ2.js";
|
|
9
9
|
import "./chunk-PZ5AY32C.js";
|
|
10
10
|
export {
|
|
11
11
|
REDUCER_CONTRACT_VERSION,
|