@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
|
@@ -14,10 +14,22 @@ type ReducerSetupSelection = {
|
|
|
14
14
|
"profileId": string;
|
|
15
15
|
"optionValues": Record<string, string | null>;
|
|
16
16
|
};
|
|
17
|
+
type RngOperationParameter = string | number | boolean;
|
|
18
|
+
type RngOperation = {
|
|
19
|
+
"kind": string;
|
|
20
|
+
"parameters": Record<string, RngOperationParameter>;
|
|
21
|
+
};
|
|
22
|
+
type RngDraw = {
|
|
23
|
+
"index": number;
|
|
24
|
+
"cursorBefore": number;
|
|
25
|
+
"cursorAfter": number;
|
|
26
|
+
"operation": RngOperation;
|
|
27
|
+
};
|
|
17
28
|
type RngState = {
|
|
18
29
|
"seed": number | null;
|
|
19
30
|
"cursor": number;
|
|
20
31
|
"trace": Array<string>;
|
|
32
|
+
"draws"?: Array<RngDraw>;
|
|
21
33
|
};
|
|
22
34
|
type ReducerFlowState = {
|
|
23
35
|
"currentPhase": string;
|
|
@@ -97,6 +109,11 @@ type ReducerInputValidationResult = {
|
|
|
97
109
|
"errorCode"?: string;
|
|
98
110
|
"message"?: string;
|
|
99
111
|
};
|
|
112
|
+
type InitializeResult = {
|
|
113
|
+
"state": ReducerSessionState;
|
|
114
|
+
"terminal"?: GameOutcome;
|
|
115
|
+
"events"?: Array<GameEvent>;
|
|
116
|
+
};
|
|
100
117
|
type InitializeRequest = {
|
|
101
118
|
"table": JsonValue;
|
|
102
119
|
"playerIds": Array<string>;
|
|
@@ -145,7 +162,9 @@ type DispatchTraceAppliedEffect = {
|
|
|
145
162
|
};
|
|
146
163
|
type DispatchTraceRngConsumption = {
|
|
147
164
|
"kind": "rngConsumption";
|
|
165
|
+
"version": 2;
|
|
148
166
|
"operation": string;
|
|
167
|
+
"drawIndex": number;
|
|
149
168
|
"traceEntry": string;
|
|
150
169
|
};
|
|
151
170
|
type DispatchResult = DispatchResultReject | DispatchResultAccept;
|
|
@@ -216,6 +235,7 @@ type ReducerRuntimeLogEntryRngConsumption = {
|
|
|
216
235
|
"kind": "rngConsumption";
|
|
217
236
|
"version": number;
|
|
218
237
|
"operation": string;
|
|
238
|
+
"drawIndex"?: number;
|
|
219
239
|
"traceEntry": string;
|
|
220
240
|
};
|
|
221
241
|
type ReducerRuntimeLogEntryStateCommit = {
|
|
@@ -235,10 +255,21 @@ type SimultaneousPhaseProjection = {
|
|
|
235
255
|
"sealedPlayerIds": Array<string>;
|
|
236
256
|
"pendingPlayerIds": Array<string>;
|
|
237
257
|
};
|
|
258
|
+
type SchedulerContinuationDependency = {
|
|
259
|
+
"waiterPlayerId": string;
|
|
260
|
+
"blockerPlayerIds": Array<string>;
|
|
261
|
+
};
|
|
262
|
+
type SchedulerFlowAuthorityProjection = {
|
|
263
|
+
"version": 1;
|
|
264
|
+
"activePlayerIds": Array<string>;
|
|
265
|
+
"pendingPlayerIds": Array<string>;
|
|
266
|
+
"continuationDependencies": Array<SchedulerContinuationDependency>;
|
|
267
|
+
};
|
|
238
268
|
type SeatProjectionBundle = {
|
|
239
269
|
"currentStage"?: string | null;
|
|
240
270
|
"stageSeats"?: Array<string>;
|
|
241
271
|
"simultaneousPhase"?: SimultaneousPhaseProjection | null;
|
|
272
|
+
"schedulerFlow"?: SchedulerFlowAuthorityProjection;
|
|
242
273
|
"sharedView"?: JsonValue;
|
|
243
274
|
"interactionsByRef"?: JsonValue;
|
|
244
275
|
"seats": Record<string, SeatProjection>;
|
|
@@ -250,10 +281,9 @@ type ProjectionTimingMetadata = {
|
|
|
250
281
|
"resolveZoneHandlesMs": number;
|
|
251
282
|
"descriptorHashMs": number;
|
|
252
283
|
};
|
|
253
|
-
type
|
|
284
|
+
type ProjectRequest = {
|
|
254
285
|
"state": ReducerSessionState;
|
|
255
286
|
"playerIds": Array<string>;
|
|
256
|
-
"projectionMode"?: "full" | "actionsOnly" | null;
|
|
257
287
|
};
|
|
258
288
|
type BoardStaticProjection = {
|
|
259
289
|
"view": JsonValue;
|
|
@@ -286,12 +316,13 @@ type wire_GameOutcome = GameOutcome;
|
|
|
286
316
|
type wire_GameOutcomeReason = GameOutcomeReason;
|
|
287
317
|
type wire_InitializePhaseRequest = InitializePhaseRequest;
|
|
288
318
|
type wire_InitializeRequest = InitializeRequest;
|
|
319
|
+
type wire_InitializeResult = InitializeResult;
|
|
289
320
|
type wire_JsonValue = JsonValue;
|
|
290
321
|
type wire_OutcomeResult = OutcomeResult;
|
|
291
322
|
type wire_OutcomeScoreComponent = OutcomeScoreComponent;
|
|
292
323
|
type wire_OutcomeStanding = OutcomeStanding;
|
|
293
324
|
type wire_OutcomeTieBreak = OutcomeTieBreak;
|
|
294
|
-
type
|
|
325
|
+
type wire_ProjectRequest = ProjectRequest;
|
|
295
326
|
type wire_ProjectionTimingMetadata = ProjectionTimingMetadata;
|
|
296
327
|
type wire_ReduceRequest = ReduceRequest;
|
|
297
328
|
type wire_ReduceResult = ReduceResult;
|
|
@@ -310,10 +341,15 @@ type wire_ReducerRuntimeState = ReducerRuntimeState;
|
|
|
310
341
|
type wire_ReducerSessionMeta = ReducerSessionMeta;
|
|
311
342
|
type wire_ReducerSessionState = ReducerSessionState;
|
|
312
343
|
type wire_ReducerSetupSelection = ReducerSetupSelection;
|
|
344
|
+
type wire_RngDraw = RngDraw;
|
|
345
|
+
type wire_RngOperation = RngOperation;
|
|
346
|
+
type wire_RngOperationParameter = RngOperationParameter;
|
|
313
347
|
type wire_RngState = RngState;
|
|
314
348
|
type wire_RuntimeSimultaneousCurrent = RuntimeSimultaneousCurrent;
|
|
315
349
|
type wire_RuntimeSimultaneousState = RuntimeSimultaneousState;
|
|
316
350
|
type wire_RuntimeSimultaneousSubmission = RuntimeSimultaneousSubmission;
|
|
351
|
+
type wire_SchedulerContinuationDependency = SchedulerContinuationDependency;
|
|
352
|
+
type wire_SchedulerFlowAuthorityProjection = SchedulerFlowAuthorityProjection;
|
|
317
353
|
type wire_SeatProjection = SeatProjection;
|
|
318
354
|
type wire_SeatProjectionBundle = SeatProjectionBundle;
|
|
319
355
|
type wire_SimultaneousPhaseProjection = SimultaneousPhaseProjection;
|
|
@@ -321,28 +357,51 @@ type wire_SystemActionEvent = SystemActionEvent;
|
|
|
321
357
|
type wire_TransitionRecord = TransitionRecord;
|
|
322
358
|
type wire_ValidateInputRequest = ValidateInputRequest;
|
|
323
359
|
declare namespace wire {
|
|
324
|
-
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_JsonValue as JsonValue, wire_OutcomeResult as OutcomeResult, wire_OutcomeScoreComponent as OutcomeScoreComponent, wire_OutcomeStanding as OutcomeStanding, wire_OutcomeTieBreak as OutcomeTieBreak,
|
|
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 };
|
|
325
361
|
}
|
|
326
362
|
|
|
327
363
|
declare const ReducerContractVersionSchema: z.ZodString;
|
|
328
364
|
declare const EffectIdSchema: z.ZodString;
|
|
329
|
-
declare const JsonValueSchema: z.ZodType<
|
|
365
|
+
declare const JsonValueSchema: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
330
366
|
declare const ContinuationTokenSchema: z.ZodObject<{
|
|
331
367
|
id: z.ZodString;
|
|
332
|
-
data: z.ZodType<
|
|
368
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
333
369
|
}, z.core.$strict>;
|
|
334
370
|
declare const ContinuationMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
335
371
|
id: z.ZodString;
|
|
336
|
-
data: z.ZodType<
|
|
372
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
337
373
|
}, z.core.$strict>>;
|
|
338
374
|
declare const ReducerSetupSelectionSchema: z.ZodObject<{
|
|
339
375
|
profileId: z.ZodString;
|
|
340
376
|
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
341
377
|
}, z.core.$strict>;
|
|
378
|
+
declare const RngOperationParameterSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
379
|
+
declare const RngOperationSchema: z.ZodObject<{
|
|
380
|
+
kind: z.ZodString;
|
|
381
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
382
|
+
}, z.core.$strict>;
|
|
383
|
+
declare const RngDrawSchema: z.ZodObject<{
|
|
384
|
+
index: z.ZodNumber;
|
|
385
|
+
cursorBefore: z.ZodNumber;
|
|
386
|
+
cursorAfter: z.ZodNumber;
|
|
387
|
+
operation: z.ZodObject<{
|
|
388
|
+
kind: z.ZodString;
|
|
389
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
390
|
+
}, z.core.$strict>;
|
|
391
|
+
}, z.core.$strict>;
|
|
342
392
|
declare const RngStateSchema: z.ZodObject<{
|
|
343
393
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
344
394
|
cursor: z.ZodNumber;
|
|
345
395
|
trace: z.ZodArray<z.ZodString>;
|
|
396
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
397
|
+
index: z.ZodNumber;
|
|
398
|
+
cursorBefore: z.ZodNumber;
|
|
399
|
+
cursorAfter: z.ZodNumber;
|
|
400
|
+
operation: z.ZodObject<{
|
|
401
|
+
kind: z.ZodString;
|
|
402
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
403
|
+
}, z.core.$strict>;
|
|
404
|
+
}, z.core.$strict>>>;
|
|
346
405
|
}, z.core.$strict>;
|
|
347
406
|
declare const ReducerFlowStateSchema: z.ZodObject<{
|
|
348
407
|
currentPhase: z.ZodString;
|
|
@@ -352,14 +411,14 @@ declare const ReducerFlowStateSchema: z.ZodObject<{
|
|
|
352
411
|
}, z.core.$strict>;
|
|
353
412
|
declare const RuntimeSimultaneousSubmissionSchema: z.ZodObject<{
|
|
354
413
|
interactionId: z.ZodString;
|
|
355
|
-
params: z.ZodType<
|
|
414
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
356
415
|
}, z.core.$strict>;
|
|
357
416
|
declare const RuntimeSimultaneousCurrentSchema: z.ZodObject<{
|
|
358
417
|
phaseName: z.ZodString;
|
|
359
418
|
actors: z.ZodArray<z.ZodString>;
|
|
360
419
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
361
420
|
interactionId: z.ZodString;
|
|
362
|
-
params: z.ZodType<
|
|
421
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
363
422
|
}, z.core.$strict>>;
|
|
364
423
|
}, z.core.$strict>;
|
|
365
424
|
declare const RuntimeSimultaneousStateSchema: z.ZodObject<{
|
|
@@ -368,7 +427,7 @@ declare const RuntimeSimultaneousStateSchema: z.ZodObject<{
|
|
|
368
427
|
actors: z.ZodArray<z.ZodString>;
|
|
369
428
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
370
429
|
interactionId: z.ZodString;
|
|
371
|
-
params: z.ZodType<
|
|
430
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
372
431
|
}, z.core.$strict>>;
|
|
373
432
|
}, z.core.$strict>, z.ZodNull]>;
|
|
374
433
|
}, z.core.$strict>;
|
|
@@ -381,6 +440,15 @@ declare const ReducerRuntimeStateSchema: z.ZodObject<{
|
|
|
381
440
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
382
441
|
cursor: z.ZodNumber;
|
|
383
442
|
trace: z.ZodArray<z.ZodString>;
|
|
443
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
444
|
+
index: z.ZodNumber;
|
|
445
|
+
cursorBefore: z.ZodNumber;
|
|
446
|
+
cursorAfter: z.ZodNumber;
|
|
447
|
+
operation: z.ZodObject<{
|
|
448
|
+
kind: z.ZodString;
|
|
449
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
450
|
+
}, z.core.$strict>;
|
|
451
|
+
}, z.core.$strict>>>;
|
|
384
452
|
}, z.core.$strict>;
|
|
385
453
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
386
454
|
profileId: z.ZodString;
|
|
@@ -392,7 +460,7 @@ declare const ReducerRuntimeStateSchema: z.ZodObject<{
|
|
|
392
460
|
actors: z.ZodArray<z.ZodString>;
|
|
393
461
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
394
462
|
interactionId: z.ZodString;
|
|
395
|
-
params: z.ZodType<
|
|
463
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
396
464
|
}, z.core.$strict>>;
|
|
397
465
|
}, z.core.$strict>, z.ZodNull]>;
|
|
398
466
|
}, z.core.$strict>;
|
|
@@ -402,17 +470,17 @@ declare const ReducerRuntimeStateSchema: z.ZodObject<{
|
|
|
402
470
|
}, z.core.$strict>, z.ZodNull]>;
|
|
403
471
|
}, z.core.$strict>;
|
|
404
472
|
declare const ReducerDomainStateSchema: z.ZodObject<{
|
|
405
|
-
table: z.ZodType<
|
|
406
|
-
publicState: z.ZodType<
|
|
407
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
408
|
-
hiddenState: z.ZodType<
|
|
473
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
474
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
475
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
476
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
409
477
|
flow: z.ZodObject<{
|
|
410
478
|
currentPhase: z.ZodString;
|
|
411
479
|
turn: z.ZodNumber;
|
|
412
480
|
round: z.ZodNumber;
|
|
413
481
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
414
482
|
}, z.core.$strict>;
|
|
415
|
-
phase: z.ZodType<
|
|
483
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
416
484
|
}, z.core.$strict>;
|
|
417
485
|
declare const ReducerSessionMetaSchema: z.ZodObject<{
|
|
418
486
|
contractFingerprint: z.ZodString;
|
|
@@ -422,23 +490,32 @@ declare const ReducerSessionStateSchema: z.ZodObject<{
|
|
|
422
490
|
contractFingerprint: z.ZodString;
|
|
423
491
|
}, z.core.$strict>>;
|
|
424
492
|
domain: z.ZodObject<{
|
|
425
|
-
table: z.ZodType<
|
|
426
|
-
publicState: z.ZodType<
|
|
427
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
428
|
-
hiddenState: z.ZodType<
|
|
493
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
494
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
495
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
496
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
429
497
|
flow: z.ZodObject<{
|
|
430
498
|
currentPhase: z.ZodString;
|
|
431
499
|
turn: z.ZodNumber;
|
|
432
500
|
round: z.ZodNumber;
|
|
433
501
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
434
502
|
}, z.core.$strict>;
|
|
435
|
-
phase: z.ZodType<
|
|
503
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
436
504
|
}, z.core.$strict>;
|
|
437
505
|
runtime: z.ZodObject<{
|
|
438
506
|
rng: z.ZodObject<{
|
|
439
507
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
440
508
|
cursor: z.ZodNumber;
|
|
441
509
|
trace: z.ZodArray<z.ZodString>;
|
|
510
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
511
|
+
index: z.ZodNumber;
|
|
512
|
+
cursorBefore: z.ZodNumber;
|
|
513
|
+
cursorAfter: z.ZodNumber;
|
|
514
|
+
operation: z.ZodObject<{
|
|
515
|
+
kind: z.ZodString;
|
|
516
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
517
|
+
}, z.core.$strict>;
|
|
518
|
+
}, z.core.$strict>>>;
|
|
442
519
|
}, z.core.$strict>;
|
|
443
520
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
444
521
|
profileId: z.ZodString;
|
|
@@ -450,7 +527,7 @@ declare const ReducerSessionStateSchema: z.ZodObject<{
|
|
|
450
527
|
actors: z.ZodArray<z.ZodString>;
|
|
451
528
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
452
529
|
interactionId: z.ZodString;
|
|
453
|
-
params: z.ZodType<
|
|
530
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
454
531
|
}, z.core.$strict>>;
|
|
455
532
|
}, z.core.$strict>, z.ZodNull]>;
|
|
456
533
|
}, z.core.$strict>;
|
|
@@ -464,13 +541,13 @@ declare const GameInputInteractionSchema: z.ZodObject<{
|
|
|
464
541
|
kind: z.ZodLiteral<"interaction">;
|
|
465
542
|
playerId: z.ZodString;
|
|
466
543
|
interactionId: z.ZodString;
|
|
467
|
-
params: z.ZodType<
|
|
544
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
468
545
|
}, z.core.$strict>;
|
|
469
546
|
declare const GameInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
470
547
|
kind: z.ZodLiteral<"interaction">;
|
|
471
548
|
playerId: z.ZodString;
|
|
472
549
|
interactionId: z.ZodString;
|
|
473
|
-
params: z.ZodType<
|
|
550
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
474
551
|
}, z.core.$strict>], "kind">;
|
|
475
552
|
declare const EffectTransitionSchema: z.ZodObject<{
|
|
476
553
|
effectId: z.ZodString;
|
|
@@ -516,8 +593,191 @@ declare const ReducerInputValidationResultSchema: z.ZodObject<{
|
|
|
516
593
|
errorCode: z.ZodOptional<z.ZodString>;
|
|
517
594
|
message: z.ZodOptional<z.ZodString>;
|
|
518
595
|
}, z.core.$strict>;
|
|
596
|
+
declare const GameOutcomeReasonSchema: z.ZodObject<{
|
|
597
|
+
code: z.ZodString;
|
|
598
|
+
message: z.ZodOptional<z.ZodString>;
|
|
599
|
+
}, z.core.$strict>;
|
|
600
|
+
declare const OutcomeResultSchema: z.ZodEnum<{
|
|
601
|
+
win: "win";
|
|
602
|
+
draw: "draw";
|
|
603
|
+
loss: "loss";
|
|
604
|
+
eliminated: "eliminated";
|
|
605
|
+
}>;
|
|
606
|
+
declare const OutcomeScoreComponentSchema: z.ZodObject<{
|
|
607
|
+
id: z.ZodString;
|
|
608
|
+
label: z.ZodString;
|
|
609
|
+
value: z.ZodNumber;
|
|
610
|
+
}, z.core.$strict>;
|
|
611
|
+
declare const OutcomeTieBreakSchema: z.ZodObject<{
|
|
612
|
+
id: z.ZodString;
|
|
613
|
+
label: z.ZodString;
|
|
614
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
615
|
+
}, z.core.$strict>;
|
|
616
|
+
declare const OutcomeStandingSchema: z.ZodObject<{
|
|
617
|
+
playerId: z.ZodString;
|
|
618
|
+
rank: z.ZodNumber;
|
|
619
|
+
result: z.ZodEnum<{
|
|
620
|
+
win: "win";
|
|
621
|
+
draw: "draw";
|
|
622
|
+
loss: "loss";
|
|
623
|
+
eliminated: "eliminated";
|
|
624
|
+
}>;
|
|
625
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
626
|
+
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
627
|
+
id: z.ZodString;
|
|
628
|
+
label: z.ZodString;
|
|
629
|
+
value: z.ZodNumber;
|
|
630
|
+
}, z.core.$strict>>>;
|
|
631
|
+
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
632
|
+
id: z.ZodString;
|
|
633
|
+
label: z.ZodString;
|
|
634
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
635
|
+
}, z.core.$strict>>>;
|
|
636
|
+
}, z.core.$strict>;
|
|
637
|
+
declare const GameOutcomeSchema: z.ZodObject<{
|
|
638
|
+
reason: z.ZodObject<{
|
|
639
|
+
code: z.ZodString;
|
|
640
|
+
message: z.ZodOptional<z.ZodString>;
|
|
641
|
+
}, z.core.$strict>;
|
|
642
|
+
standings: z.ZodArray<z.ZodObject<{
|
|
643
|
+
playerId: z.ZodString;
|
|
644
|
+
rank: z.ZodNumber;
|
|
645
|
+
result: z.ZodEnum<{
|
|
646
|
+
win: "win";
|
|
647
|
+
draw: "draw";
|
|
648
|
+
loss: "loss";
|
|
649
|
+
eliminated: "eliminated";
|
|
650
|
+
}>;
|
|
651
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
652
|
+
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
653
|
+
id: z.ZodString;
|
|
654
|
+
label: z.ZodString;
|
|
655
|
+
value: z.ZodNumber;
|
|
656
|
+
}, z.core.$strict>>>;
|
|
657
|
+
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
658
|
+
id: z.ZodString;
|
|
659
|
+
label: z.ZodString;
|
|
660
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
661
|
+
}, z.core.$strict>>>;
|
|
662
|
+
}, z.core.$strict>>;
|
|
663
|
+
}, z.core.$strict>;
|
|
664
|
+
declare const GameEventDetailSchema: z.ZodObject<{
|
|
665
|
+
label: z.ZodString;
|
|
666
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
667
|
+
}, z.core.$strict>;
|
|
668
|
+
declare const SystemActionEventSchema: z.ZodObject<{
|
|
669
|
+
kind: z.ZodLiteral<"systemAction">;
|
|
670
|
+
procedureId: z.ZodString;
|
|
671
|
+
title: z.ZodString;
|
|
672
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
673
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
674
|
+
label: z.ZodString;
|
|
675
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
676
|
+
}, z.core.$strict>>>;
|
|
677
|
+
}, z.core.$strict>;
|
|
678
|
+
declare const GameEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
679
|
+
kind: z.ZodLiteral<"systemAction">;
|
|
680
|
+
procedureId: z.ZodString;
|
|
681
|
+
title: z.ZodString;
|
|
682
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
683
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
684
|
+
label: z.ZodString;
|
|
685
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
686
|
+
}, z.core.$strict>>>;
|
|
687
|
+
}, z.core.$strict>], "kind">;
|
|
688
|
+
declare const InitializeResultSchema: z.ZodObject<{
|
|
689
|
+
state: z.ZodObject<{
|
|
690
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
691
|
+
contractFingerprint: z.ZodString;
|
|
692
|
+
}, z.core.$strict>>;
|
|
693
|
+
domain: z.ZodObject<{
|
|
694
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
695
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
696
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
697
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
698
|
+
flow: z.ZodObject<{
|
|
699
|
+
currentPhase: z.ZodString;
|
|
700
|
+
turn: z.ZodNumber;
|
|
701
|
+
round: z.ZodNumber;
|
|
702
|
+
activePlayers: z.ZodArray<z.ZodString>;
|
|
703
|
+
}, z.core.$strict>;
|
|
704
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
705
|
+
}, z.core.$strict>;
|
|
706
|
+
runtime: z.ZodObject<{
|
|
707
|
+
rng: z.ZodObject<{
|
|
708
|
+
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
709
|
+
cursor: z.ZodNumber;
|
|
710
|
+
trace: z.ZodArray<z.ZodString>;
|
|
711
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
712
|
+
index: z.ZodNumber;
|
|
713
|
+
cursorBefore: z.ZodNumber;
|
|
714
|
+
cursorAfter: z.ZodNumber;
|
|
715
|
+
operation: z.ZodObject<{
|
|
716
|
+
kind: z.ZodString;
|
|
717
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
718
|
+
}, z.core.$strict>;
|
|
719
|
+
}, z.core.$strict>>>;
|
|
720
|
+
}, z.core.$strict>;
|
|
721
|
+
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
722
|
+
profileId: z.ZodString;
|
|
723
|
+
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
724
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
725
|
+
simultaneous: z.ZodObject<{
|
|
726
|
+
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
727
|
+
phaseName: z.ZodString;
|
|
728
|
+
actors: z.ZodArray<z.ZodString>;
|
|
729
|
+
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
730
|
+
interactionId: z.ZodString;
|
|
731
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
732
|
+
}, z.core.$strict>>;
|
|
733
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
734
|
+
}, z.core.$strict>;
|
|
735
|
+
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
736
|
+
from: z.ZodString;
|
|
737
|
+
to: z.ZodString;
|
|
738
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
739
|
+
}, z.core.$strict>;
|
|
740
|
+
}, z.core.$strict>;
|
|
741
|
+
terminal: z.ZodOptional<z.ZodObject<{
|
|
742
|
+
reason: z.ZodObject<{
|
|
743
|
+
code: z.ZodString;
|
|
744
|
+
message: z.ZodOptional<z.ZodString>;
|
|
745
|
+
}, z.core.$strict>;
|
|
746
|
+
standings: z.ZodArray<z.ZodObject<{
|
|
747
|
+
playerId: z.ZodString;
|
|
748
|
+
rank: z.ZodNumber;
|
|
749
|
+
result: z.ZodEnum<{
|
|
750
|
+
win: "win";
|
|
751
|
+
draw: "draw";
|
|
752
|
+
loss: "loss";
|
|
753
|
+
eliminated: "eliminated";
|
|
754
|
+
}>;
|
|
755
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
756
|
+
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
757
|
+
id: z.ZodString;
|
|
758
|
+
label: z.ZodString;
|
|
759
|
+
value: z.ZodNumber;
|
|
760
|
+
}, z.core.$strict>>>;
|
|
761
|
+
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
762
|
+
id: z.ZodString;
|
|
763
|
+
label: z.ZodString;
|
|
764
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
765
|
+
}, z.core.$strict>>>;
|
|
766
|
+
}, z.core.$strict>>;
|
|
767
|
+
}, z.core.$strict>>;
|
|
768
|
+
events: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
769
|
+
kind: z.ZodLiteral<"systemAction">;
|
|
770
|
+
procedureId: z.ZodString;
|
|
771
|
+
title: z.ZodString;
|
|
772
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
773
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
774
|
+
label: z.ZodString;
|
|
775
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
776
|
+
}, z.core.$strict>>>;
|
|
777
|
+
}, z.core.$strict>], "kind">>>;
|
|
778
|
+
}, z.core.$strict>;
|
|
519
779
|
declare const InitializeRequestSchema: z.ZodObject<{
|
|
520
|
-
table: z.ZodType<
|
|
780
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
521
781
|
playerIds: z.ZodArray<z.ZodString>;
|
|
522
782
|
rngSeed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
523
783
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -531,23 +791,32 @@ declare const InitializePhaseRequestSchema: z.ZodObject<{
|
|
|
531
791
|
contractFingerprint: z.ZodString;
|
|
532
792
|
}, z.core.$strict>>;
|
|
533
793
|
domain: z.ZodObject<{
|
|
534
|
-
table: z.ZodType<
|
|
535
|
-
publicState: z.ZodType<
|
|
536
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
537
|
-
hiddenState: z.ZodType<
|
|
794
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
795
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
796
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
797
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
538
798
|
flow: z.ZodObject<{
|
|
539
799
|
currentPhase: z.ZodString;
|
|
540
800
|
turn: z.ZodNumber;
|
|
541
801
|
round: z.ZodNumber;
|
|
542
802
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
543
803
|
}, z.core.$strict>;
|
|
544
|
-
phase: z.ZodType<
|
|
804
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
545
805
|
}, z.core.$strict>;
|
|
546
806
|
runtime: z.ZodObject<{
|
|
547
807
|
rng: z.ZodObject<{
|
|
548
808
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
549
809
|
cursor: z.ZodNumber;
|
|
550
810
|
trace: z.ZodArray<z.ZodString>;
|
|
811
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
812
|
+
index: z.ZodNumber;
|
|
813
|
+
cursorBefore: z.ZodNumber;
|
|
814
|
+
cursorAfter: z.ZodNumber;
|
|
815
|
+
operation: z.ZodObject<{
|
|
816
|
+
kind: z.ZodString;
|
|
817
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
818
|
+
}, z.core.$strict>;
|
|
819
|
+
}, z.core.$strict>>>;
|
|
551
820
|
}, z.core.$strict>;
|
|
552
821
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
553
822
|
profileId: z.ZodString;
|
|
@@ -559,7 +828,7 @@ declare const InitializePhaseRequestSchema: z.ZodObject<{
|
|
|
559
828
|
actors: z.ZodArray<z.ZodString>;
|
|
560
829
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
561
830
|
interactionId: z.ZodString;
|
|
562
|
-
params: z.ZodType<
|
|
831
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
563
832
|
}, z.core.$strict>>;
|
|
564
833
|
}, z.core.$strict>, z.ZodNull]>;
|
|
565
834
|
}, z.core.$strict>;
|
|
@@ -577,23 +846,32 @@ declare const ValidateInputRequestSchema: z.ZodObject<{
|
|
|
577
846
|
contractFingerprint: z.ZodString;
|
|
578
847
|
}, z.core.$strict>>;
|
|
579
848
|
domain: z.ZodObject<{
|
|
580
|
-
table: z.ZodType<
|
|
581
|
-
publicState: z.ZodType<
|
|
582
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
583
|
-
hiddenState: z.ZodType<
|
|
849
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
850
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
851
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
852
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
584
853
|
flow: z.ZodObject<{
|
|
585
854
|
currentPhase: z.ZodString;
|
|
586
855
|
turn: z.ZodNumber;
|
|
587
856
|
round: z.ZodNumber;
|
|
588
857
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
589
858
|
}, z.core.$strict>;
|
|
590
|
-
phase: z.ZodType<
|
|
859
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
591
860
|
}, z.core.$strict>;
|
|
592
861
|
runtime: z.ZodObject<{
|
|
593
862
|
rng: z.ZodObject<{
|
|
594
863
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
595
864
|
cursor: z.ZodNumber;
|
|
596
865
|
trace: z.ZodArray<z.ZodString>;
|
|
866
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
867
|
+
index: z.ZodNumber;
|
|
868
|
+
cursorBefore: z.ZodNumber;
|
|
869
|
+
cursorAfter: z.ZodNumber;
|
|
870
|
+
operation: z.ZodObject<{
|
|
871
|
+
kind: z.ZodString;
|
|
872
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
873
|
+
}, z.core.$strict>;
|
|
874
|
+
}, z.core.$strict>>>;
|
|
597
875
|
}, z.core.$strict>;
|
|
598
876
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
599
877
|
profileId: z.ZodString;
|
|
@@ -605,7 +883,7 @@ declare const ValidateInputRequestSchema: z.ZodObject<{
|
|
|
605
883
|
actors: z.ZodArray<z.ZodString>;
|
|
606
884
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
607
885
|
interactionId: z.ZodString;
|
|
608
|
-
params: z.ZodType<
|
|
886
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
609
887
|
}, z.core.$strict>>;
|
|
610
888
|
}, z.core.$strict>, z.ZodNull]>;
|
|
611
889
|
}, z.core.$strict>;
|
|
@@ -619,7 +897,7 @@ declare const ValidateInputRequestSchema: z.ZodObject<{
|
|
|
619
897
|
kind: z.ZodLiteral<"interaction">;
|
|
620
898
|
playerId: z.ZodString;
|
|
621
899
|
interactionId: z.ZodString;
|
|
622
|
-
params: z.ZodType<
|
|
900
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
623
901
|
}, z.core.$strict>], "kind">;
|
|
624
902
|
}, z.core.$strict>;
|
|
625
903
|
declare const ReduceRequestSchema: z.ZodObject<{
|
|
@@ -628,23 +906,32 @@ declare const ReduceRequestSchema: z.ZodObject<{
|
|
|
628
906
|
contractFingerprint: z.ZodString;
|
|
629
907
|
}, z.core.$strict>>;
|
|
630
908
|
domain: z.ZodObject<{
|
|
631
|
-
table: z.ZodType<
|
|
632
|
-
publicState: z.ZodType<
|
|
633
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
634
|
-
hiddenState: z.ZodType<
|
|
909
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
910
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
911
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
912
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
635
913
|
flow: z.ZodObject<{
|
|
636
914
|
currentPhase: z.ZodString;
|
|
637
915
|
turn: z.ZodNumber;
|
|
638
916
|
round: z.ZodNumber;
|
|
639
917
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
640
918
|
}, z.core.$strict>;
|
|
641
|
-
phase: z.ZodType<
|
|
919
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
642
920
|
}, z.core.$strict>;
|
|
643
921
|
runtime: z.ZodObject<{
|
|
644
922
|
rng: z.ZodObject<{
|
|
645
923
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
646
924
|
cursor: z.ZodNumber;
|
|
647
925
|
trace: z.ZodArray<z.ZodString>;
|
|
926
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
927
|
+
index: z.ZodNumber;
|
|
928
|
+
cursorBefore: z.ZodNumber;
|
|
929
|
+
cursorAfter: z.ZodNumber;
|
|
930
|
+
operation: z.ZodObject<{
|
|
931
|
+
kind: z.ZodString;
|
|
932
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
933
|
+
}, z.core.$strict>;
|
|
934
|
+
}, z.core.$strict>>>;
|
|
648
935
|
}, z.core.$strict>;
|
|
649
936
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
650
937
|
profileId: z.ZodString;
|
|
@@ -656,7 +943,7 @@ declare const ReduceRequestSchema: z.ZodObject<{
|
|
|
656
943
|
actors: z.ZodArray<z.ZodString>;
|
|
657
944
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
658
945
|
interactionId: z.ZodString;
|
|
659
|
-
params: z.ZodType<
|
|
946
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
660
947
|
}, z.core.$strict>>;
|
|
661
948
|
}, z.core.$strict>, z.ZodNull]>;
|
|
662
949
|
}, z.core.$strict>;
|
|
@@ -670,7 +957,7 @@ declare const ReduceRequestSchema: z.ZodObject<{
|
|
|
670
957
|
kind: z.ZodLiteral<"interaction">;
|
|
671
958
|
playerId: z.ZodString;
|
|
672
959
|
interactionId: z.ZodString;
|
|
673
|
-
params: z.ZodType<
|
|
960
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
674
961
|
}, z.core.$strict>], "kind">;
|
|
675
962
|
}, z.core.$strict>;
|
|
676
963
|
declare const DispatchRequestSchema: z.ZodObject<{
|
|
@@ -679,23 +966,32 @@ declare const DispatchRequestSchema: z.ZodObject<{
|
|
|
679
966
|
contractFingerprint: z.ZodString;
|
|
680
967
|
}, z.core.$strict>>;
|
|
681
968
|
domain: z.ZodObject<{
|
|
682
|
-
table: z.ZodType<
|
|
683
|
-
publicState: z.ZodType<
|
|
684
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
685
|
-
hiddenState: z.ZodType<
|
|
969
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
970
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
971
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
972
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
686
973
|
flow: z.ZodObject<{
|
|
687
974
|
currentPhase: z.ZodString;
|
|
688
975
|
turn: z.ZodNumber;
|
|
689
976
|
round: z.ZodNumber;
|
|
690
977
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
691
978
|
}, z.core.$strict>;
|
|
692
|
-
phase: z.ZodType<
|
|
979
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
693
980
|
}, z.core.$strict>;
|
|
694
981
|
runtime: z.ZodObject<{
|
|
695
982
|
rng: z.ZodObject<{
|
|
696
983
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
697
984
|
cursor: z.ZodNumber;
|
|
698
985
|
trace: z.ZodArray<z.ZodString>;
|
|
986
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
987
|
+
index: z.ZodNumber;
|
|
988
|
+
cursorBefore: z.ZodNumber;
|
|
989
|
+
cursorAfter: z.ZodNumber;
|
|
990
|
+
operation: z.ZodObject<{
|
|
991
|
+
kind: z.ZodString;
|
|
992
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
993
|
+
}, z.core.$strict>;
|
|
994
|
+
}, z.core.$strict>>>;
|
|
699
995
|
}, z.core.$strict>;
|
|
700
996
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
701
997
|
profileId: z.ZodString;
|
|
@@ -707,7 +1003,7 @@ declare const DispatchRequestSchema: z.ZodObject<{
|
|
|
707
1003
|
actors: z.ZodArray<z.ZodString>;
|
|
708
1004
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
709
1005
|
interactionId: z.ZodString;
|
|
710
|
-
params: z.ZodType<
|
|
1006
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
711
1007
|
}, z.core.$strict>>;
|
|
712
1008
|
}, z.core.$strict>, z.ZodNull]>;
|
|
713
1009
|
}, z.core.$strict>;
|
|
@@ -721,7 +1017,7 @@ declare const DispatchRequestSchema: z.ZodObject<{
|
|
|
721
1017
|
kind: z.ZodLiteral<"interaction">;
|
|
722
1018
|
playerId: z.ZodString;
|
|
723
1019
|
interactionId: z.ZodString;
|
|
724
|
-
params: z.ZodType<
|
|
1020
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
725
1021
|
}, z.core.$strict>], "kind">;
|
|
726
1022
|
}, z.core.$strict>;
|
|
727
1023
|
declare const ReduceResultRejectSchema: z.ZodObject<{
|
|
@@ -729,98 +1025,6 @@ declare const ReduceResultRejectSchema: z.ZodObject<{
|
|
|
729
1025
|
errorCode: z.ZodString;
|
|
730
1026
|
message: z.ZodOptional<z.ZodString>;
|
|
731
1027
|
}, z.core.$strict>;
|
|
732
|
-
declare const GameOutcomeReasonSchema: z.ZodObject<{
|
|
733
|
-
code: z.ZodString;
|
|
734
|
-
message: z.ZodOptional<z.ZodString>;
|
|
735
|
-
}, z.core.$strict>;
|
|
736
|
-
declare const OutcomeResultSchema: z.ZodEnum<{
|
|
737
|
-
win: "win";
|
|
738
|
-
draw: "draw";
|
|
739
|
-
loss: "loss";
|
|
740
|
-
eliminated: "eliminated";
|
|
741
|
-
}>;
|
|
742
|
-
declare const OutcomeScoreComponentSchema: z.ZodObject<{
|
|
743
|
-
id: z.ZodString;
|
|
744
|
-
label: z.ZodString;
|
|
745
|
-
value: z.ZodNumber;
|
|
746
|
-
}, z.core.$strict>;
|
|
747
|
-
declare const OutcomeTieBreakSchema: z.ZodObject<{
|
|
748
|
-
id: z.ZodString;
|
|
749
|
-
label: z.ZodString;
|
|
750
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
751
|
-
}, z.core.$strict>;
|
|
752
|
-
declare const OutcomeStandingSchema: z.ZodObject<{
|
|
753
|
-
playerId: z.ZodString;
|
|
754
|
-
rank: z.ZodNumber;
|
|
755
|
-
result: z.ZodEnum<{
|
|
756
|
-
win: "win";
|
|
757
|
-
draw: "draw";
|
|
758
|
-
loss: "loss";
|
|
759
|
-
eliminated: "eliminated";
|
|
760
|
-
}>;
|
|
761
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
762
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
763
|
-
id: z.ZodString;
|
|
764
|
-
label: z.ZodString;
|
|
765
|
-
value: z.ZodNumber;
|
|
766
|
-
}, z.core.$strict>>>;
|
|
767
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
768
|
-
id: z.ZodString;
|
|
769
|
-
label: z.ZodString;
|
|
770
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
771
|
-
}, z.core.$strict>>>;
|
|
772
|
-
}, z.core.$strict>;
|
|
773
|
-
declare const GameOutcomeSchema: z.ZodObject<{
|
|
774
|
-
reason: z.ZodObject<{
|
|
775
|
-
code: z.ZodString;
|
|
776
|
-
message: z.ZodOptional<z.ZodString>;
|
|
777
|
-
}, z.core.$strict>;
|
|
778
|
-
standings: z.ZodArray<z.ZodObject<{
|
|
779
|
-
playerId: z.ZodString;
|
|
780
|
-
rank: z.ZodNumber;
|
|
781
|
-
result: z.ZodEnum<{
|
|
782
|
-
win: "win";
|
|
783
|
-
draw: "draw";
|
|
784
|
-
loss: "loss";
|
|
785
|
-
eliminated: "eliminated";
|
|
786
|
-
}>;
|
|
787
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
788
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
789
|
-
id: z.ZodString;
|
|
790
|
-
label: z.ZodString;
|
|
791
|
-
value: z.ZodNumber;
|
|
792
|
-
}, z.core.$strict>>>;
|
|
793
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
794
|
-
id: z.ZodString;
|
|
795
|
-
label: z.ZodString;
|
|
796
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
797
|
-
}, z.core.$strict>>>;
|
|
798
|
-
}, z.core.$strict>>;
|
|
799
|
-
}, z.core.$strict>;
|
|
800
|
-
declare const GameEventDetailSchema: z.ZodObject<{
|
|
801
|
-
label: z.ZodString;
|
|
802
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
803
|
-
}, z.core.$strict>;
|
|
804
|
-
declare const SystemActionEventSchema: z.ZodObject<{
|
|
805
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
806
|
-
procedureId: z.ZodString;
|
|
807
|
-
title: z.ZodString;
|
|
808
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
809
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
810
|
-
label: z.ZodString;
|
|
811
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
812
|
-
}, z.core.$strict>>>;
|
|
813
|
-
}, z.core.$strict>;
|
|
814
|
-
declare const GameEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
815
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
816
|
-
procedureId: z.ZodString;
|
|
817
|
-
title: z.ZodString;
|
|
818
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
819
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
820
|
-
label: z.ZodString;
|
|
821
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
822
|
-
}, z.core.$strict>>>;
|
|
823
|
-
}, z.core.$strict>], "kind">;
|
|
824
1028
|
declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
825
1029
|
kind: z.ZodLiteral<"accept">;
|
|
826
1030
|
state: z.ZodObject<{
|
|
@@ -828,23 +1032,32 @@ declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
|
828
1032
|
contractFingerprint: z.ZodString;
|
|
829
1033
|
}, z.core.$strict>>;
|
|
830
1034
|
domain: z.ZodObject<{
|
|
831
|
-
table: z.ZodType<
|
|
832
|
-
publicState: z.ZodType<
|
|
833
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
834
|
-
hiddenState: z.ZodType<
|
|
1035
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1036
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1037
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1038
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
835
1039
|
flow: z.ZodObject<{
|
|
836
1040
|
currentPhase: z.ZodString;
|
|
837
1041
|
turn: z.ZodNumber;
|
|
838
1042
|
round: z.ZodNumber;
|
|
839
1043
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
840
1044
|
}, z.core.$strict>;
|
|
841
|
-
phase: z.ZodType<
|
|
1045
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
842
1046
|
}, z.core.$strict>;
|
|
843
1047
|
runtime: z.ZodObject<{
|
|
844
1048
|
rng: z.ZodObject<{
|
|
845
1049
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
846
1050
|
cursor: z.ZodNumber;
|
|
847
1051
|
trace: z.ZodArray<z.ZodString>;
|
|
1052
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1053
|
+
index: z.ZodNumber;
|
|
1054
|
+
cursorBefore: z.ZodNumber;
|
|
1055
|
+
cursorAfter: z.ZodNumber;
|
|
1056
|
+
operation: z.ZodObject<{
|
|
1057
|
+
kind: z.ZodString;
|
|
1058
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1059
|
+
}, z.core.$strict>;
|
|
1060
|
+
}, z.core.$strict>>>;
|
|
848
1061
|
}, z.core.$strict>;
|
|
849
1062
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
850
1063
|
profileId: z.ZodString;
|
|
@@ -856,7 +1069,7 @@ declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
|
856
1069
|
actors: z.ZodArray<z.ZodString>;
|
|
857
1070
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
858
1071
|
interactionId: z.ZodString;
|
|
859
|
-
params: z.ZodType<
|
|
1072
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
860
1073
|
}, z.core.$strict>>;
|
|
861
1074
|
}, z.core.$strict>, z.ZodNull]>;
|
|
862
1075
|
}, z.core.$strict>;
|
|
@@ -913,7 +1126,7 @@ declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
|
913
1126
|
}, z.core.$strict>], "type">>;
|
|
914
1127
|
continuations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
915
1128
|
id: z.ZodString;
|
|
916
|
-
data: z.ZodType<
|
|
1129
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
917
1130
|
}, z.core.$strict>>;
|
|
918
1131
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
919
1132
|
kind: z.ZodLiteral<"systemAction">;
|
|
@@ -937,23 +1150,32 @@ declare const ReduceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
937
1150
|
contractFingerprint: z.ZodString;
|
|
938
1151
|
}, z.core.$strict>>;
|
|
939
1152
|
domain: z.ZodObject<{
|
|
940
|
-
table: z.ZodType<
|
|
941
|
-
publicState: z.ZodType<
|
|
942
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
943
|
-
hiddenState: z.ZodType<
|
|
1153
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1154
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1155
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1156
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
944
1157
|
flow: z.ZodObject<{
|
|
945
1158
|
currentPhase: z.ZodString;
|
|
946
1159
|
turn: z.ZodNumber;
|
|
947
1160
|
round: z.ZodNumber;
|
|
948
1161
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
949
1162
|
}, z.core.$strict>;
|
|
950
|
-
phase: z.ZodType<
|
|
1163
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
951
1164
|
}, z.core.$strict>;
|
|
952
1165
|
runtime: z.ZodObject<{
|
|
953
1166
|
rng: z.ZodObject<{
|
|
954
1167
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
955
1168
|
cursor: z.ZodNumber;
|
|
956
1169
|
trace: z.ZodArray<z.ZodString>;
|
|
1170
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1171
|
+
index: z.ZodNumber;
|
|
1172
|
+
cursorBefore: z.ZodNumber;
|
|
1173
|
+
cursorAfter: z.ZodNumber;
|
|
1174
|
+
operation: z.ZodObject<{
|
|
1175
|
+
kind: z.ZodString;
|
|
1176
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1177
|
+
}, z.core.$strict>;
|
|
1178
|
+
}, z.core.$strict>>>;
|
|
957
1179
|
}, z.core.$strict>;
|
|
958
1180
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
959
1181
|
profileId: z.ZodString;
|
|
@@ -965,7 +1187,7 @@ declare const ReduceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
965
1187
|
actors: z.ZodArray<z.ZodString>;
|
|
966
1188
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
967
1189
|
interactionId: z.ZodString;
|
|
968
|
-
params: z.ZodType<
|
|
1190
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
969
1191
|
}, z.core.$strict>>;
|
|
970
1192
|
}, z.core.$strict>, z.ZodNull]>;
|
|
971
1193
|
}, z.core.$strict>;
|
|
@@ -1022,7 +1244,7 @@ declare const ReduceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1022
1244
|
}, z.core.$strict>], "type">>;
|
|
1023
1245
|
continuations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1024
1246
|
id: z.ZodString;
|
|
1025
|
-
data: z.ZodType<
|
|
1247
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1026
1248
|
}, z.core.$strict>>;
|
|
1027
1249
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1028
1250
|
kind: z.ZodLiteral<"systemAction">;
|
|
@@ -1041,7 +1263,7 @@ declare const DispatchTraceAcceptedClientInputSchema: z.ZodObject<{
|
|
|
1041
1263
|
kind: z.ZodLiteral<"interaction">;
|
|
1042
1264
|
playerId: z.ZodString;
|
|
1043
1265
|
interactionId: z.ZodString;
|
|
1044
|
-
params: z.ZodType<
|
|
1266
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1045
1267
|
}, z.core.$strict>], "kind">;
|
|
1046
1268
|
}, z.core.$strict>;
|
|
1047
1269
|
declare const DispatchTraceAppliedEffectSchema: z.ZodObject<{
|
|
@@ -1066,12 +1288,14 @@ declare const DispatchTraceAppliedEffectSchema: z.ZodObject<{
|
|
|
1066
1288
|
}, z.core.$strict>], "type">;
|
|
1067
1289
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1068
1290
|
id: z.ZodString;
|
|
1069
|
-
data: z.ZodType<
|
|
1291
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1070
1292
|
}, z.core.$strict>>;
|
|
1071
1293
|
}, z.core.$strict>;
|
|
1072
1294
|
declare const DispatchTraceRngConsumptionSchema: z.ZodObject<{
|
|
1073
1295
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
1296
|
+
version: z.ZodLiteral<2>;
|
|
1074
1297
|
operation: z.ZodString;
|
|
1298
|
+
drawIndex: z.ZodNumber;
|
|
1075
1299
|
traceEntry: z.ZodString;
|
|
1076
1300
|
}, z.core.$strict>;
|
|
1077
1301
|
declare const DispatchTraceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1080,7 +1304,7 @@ declare const DispatchTraceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1080
1304
|
kind: z.ZodLiteral<"interaction">;
|
|
1081
1305
|
playerId: z.ZodString;
|
|
1082
1306
|
interactionId: z.ZodString;
|
|
1083
|
-
params: z.ZodType<
|
|
1307
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1084
1308
|
}, z.core.$strict>], "kind">;
|
|
1085
1309
|
}, z.core.$strict>, z.ZodObject<{
|
|
1086
1310
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1104,11 +1328,13 @@ declare const DispatchTraceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1104
1328
|
}, z.core.$strict>], "type">;
|
|
1105
1329
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1106
1330
|
id: z.ZodString;
|
|
1107
|
-
data: z.ZodType<
|
|
1331
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1108
1332
|
}, z.core.$strict>>;
|
|
1109
1333
|
}, z.core.$strict>, z.ZodObject<{
|
|
1110
1334
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
1335
|
+
version: z.ZodLiteral<2>;
|
|
1111
1336
|
operation: z.ZodString;
|
|
1337
|
+
drawIndex: z.ZodNumber;
|
|
1112
1338
|
traceEntry: z.ZodString;
|
|
1113
1339
|
}, z.core.$strict>], "kind">;
|
|
1114
1340
|
declare const DispatchResultRejectSchema: z.ZodObject<{
|
|
@@ -1123,23 +1349,32 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1123
1349
|
contractFingerprint: z.ZodString;
|
|
1124
1350
|
}, z.core.$strict>>;
|
|
1125
1351
|
domain: z.ZodObject<{
|
|
1126
|
-
table: z.ZodType<
|
|
1127
|
-
publicState: z.ZodType<
|
|
1128
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1129
|
-
hiddenState: z.ZodType<
|
|
1352
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1353
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1354
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1355
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1130
1356
|
flow: z.ZodObject<{
|
|
1131
1357
|
currentPhase: z.ZodString;
|
|
1132
1358
|
turn: z.ZodNumber;
|
|
1133
1359
|
round: z.ZodNumber;
|
|
1134
1360
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1135
1361
|
}, z.core.$strict>;
|
|
1136
|
-
phase: z.ZodType<
|
|
1362
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1137
1363
|
}, z.core.$strict>;
|
|
1138
1364
|
runtime: z.ZodObject<{
|
|
1139
1365
|
rng: z.ZodObject<{
|
|
1140
1366
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1141
1367
|
cursor: z.ZodNumber;
|
|
1142
1368
|
trace: z.ZodArray<z.ZodString>;
|
|
1369
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1370
|
+
index: z.ZodNumber;
|
|
1371
|
+
cursorBefore: z.ZodNumber;
|
|
1372
|
+
cursorAfter: z.ZodNumber;
|
|
1373
|
+
operation: z.ZodObject<{
|
|
1374
|
+
kind: z.ZodString;
|
|
1375
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1376
|
+
}, z.core.$strict>;
|
|
1377
|
+
}, z.core.$strict>>>;
|
|
1143
1378
|
}, z.core.$strict>;
|
|
1144
1379
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1145
1380
|
profileId: z.ZodString;
|
|
@@ -1151,7 +1386,7 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1151
1386
|
actors: z.ZodArray<z.ZodString>;
|
|
1152
1387
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1153
1388
|
interactionId: z.ZodString;
|
|
1154
|
-
params: z.ZodType<
|
|
1389
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1155
1390
|
}, z.core.$strict>>;
|
|
1156
1391
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1157
1392
|
}, z.core.$strict>;
|
|
@@ -1194,7 +1429,7 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1194
1429
|
kind: z.ZodLiteral<"interaction">;
|
|
1195
1430
|
playerId: z.ZodString;
|
|
1196
1431
|
interactionId: z.ZodString;
|
|
1197
|
-
params: z.ZodType<
|
|
1432
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1198
1433
|
}, z.core.$strict>], "kind">;
|
|
1199
1434
|
}, z.core.$strict>, z.ZodObject<{
|
|
1200
1435
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1218,11 +1453,13 @@ declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
|
1218
1453
|
}, z.core.$strict>], "type">;
|
|
1219
1454
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1220
1455
|
id: z.ZodString;
|
|
1221
|
-
data: z.ZodType<
|
|
1456
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1222
1457
|
}, z.core.$strict>>;
|
|
1223
1458
|
}, z.core.$strict>, z.ZodObject<{
|
|
1224
1459
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
1460
|
+
version: z.ZodLiteral<2>;
|
|
1225
1461
|
operation: z.ZodString;
|
|
1462
|
+
drawIndex: z.ZodNumber;
|
|
1226
1463
|
traceEntry: z.ZodString;
|
|
1227
1464
|
}, z.core.$strict>], "kind">>;
|
|
1228
1465
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1247,23 +1484,32 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1247
1484
|
contractFingerprint: z.ZodString;
|
|
1248
1485
|
}, z.core.$strict>>;
|
|
1249
1486
|
domain: z.ZodObject<{
|
|
1250
|
-
table: z.ZodType<
|
|
1251
|
-
publicState: z.ZodType<
|
|
1252
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1253
|
-
hiddenState: z.ZodType<
|
|
1487
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1488
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1489
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1490
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1254
1491
|
flow: z.ZodObject<{
|
|
1255
1492
|
currentPhase: z.ZodString;
|
|
1256
1493
|
turn: z.ZodNumber;
|
|
1257
1494
|
round: z.ZodNumber;
|
|
1258
1495
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1259
1496
|
}, z.core.$strict>;
|
|
1260
|
-
phase: z.ZodType<
|
|
1497
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1261
1498
|
}, z.core.$strict>;
|
|
1262
1499
|
runtime: z.ZodObject<{
|
|
1263
1500
|
rng: z.ZodObject<{
|
|
1264
1501
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1265
1502
|
cursor: z.ZodNumber;
|
|
1266
1503
|
trace: z.ZodArray<z.ZodString>;
|
|
1504
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1505
|
+
index: z.ZodNumber;
|
|
1506
|
+
cursorBefore: z.ZodNumber;
|
|
1507
|
+
cursorAfter: z.ZodNumber;
|
|
1508
|
+
operation: z.ZodObject<{
|
|
1509
|
+
kind: z.ZodString;
|
|
1510
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1511
|
+
}, z.core.$strict>;
|
|
1512
|
+
}, z.core.$strict>>>;
|
|
1267
1513
|
}, z.core.$strict>;
|
|
1268
1514
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1269
1515
|
profileId: z.ZodString;
|
|
@@ -1275,7 +1521,7 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1275
1521
|
actors: z.ZodArray<z.ZodString>;
|
|
1276
1522
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1277
1523
|
interactionId: z.ZodString;
|
|
1278
|
-
params: z.ZodType<
|
|
1524
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1279
1525
|
}, z.core.$strict>>;
|
|
1280
1526
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1281
1527
|
}, z.core.$strict>;
|
|
@@ -1318,7 +1564,7 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1318
1564
|
kind: z.ZodLiteral<"interaction">;
|
|
1319
1565
|
playerId: z.ZodString;
|
|
1320
1566
|
interactionId: z.ZodString;
|
|
1321
|
-
params: z.ZodType<
|
|
1567
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1322
1568
|
}, z.core.$strict>], "kind">;
|
|
1323
1569
|
}, z.core.$strict>, z.ZodObject<{
|
|
1324
1570
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1342,11 +1588,13 @@ declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1342
1588
|
}, z.core.$strict>], "type">;
|
|
1343
1589
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
1344
1590
|
id: z.ZodString;
|
|
1345
|
-
data: z.ZodType<
|
|
1591
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1346
1592
|
}, z.core.$strict>>;
|
|
1347
1593
|
}, z.core.$strict>, z.ZodObject<{
|
|
1348
1594
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
1595
|
+
version: z.ZodLiteral<2>;
|
|
1349
1596
|
operation: z.ZodString;
|
|
1597
|
+
drawIndex: z.ZodNumber;
|
|
1350
1598
|
traceEntry: z.ZodString;
|
|
1351
1599
|
}, z.core.$strict>], "kind">>;
|
|
1352
1600
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1367,7 +1615,7 @@ declare const ReducerRuntimeLogEntryAcceptedClientInputSchema: z.ZodObject<{
|
|
|
1367
1615
|
kind: z.ZodLiteral<"interaction">;
|
|
1368
1616
|
playerId: z.ZodString;
|
|
1369
1617
|
interactionId: z.ZodString;
|
|
1370
|
-
params: z.ZodType<
|
|
1618
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1371
1619
|
}, z.core.$strict>], "kind">;
|
|
1372
1620
|
}, z.core.$strict>;
|
|
1373
1621
|
declare const ReducerRuntimeLogEntryAppliedEffectSchema: z.ZodObject<{
|
|
@@ -1393,13 +1641,14 @@ declare const ReducerRuntimeLogEntryAppliedEffectSchema: z.ZodObject<{
|
|
|
1393
1641
|
}, z.core.$strict>], "type">;
|
|
1394
1642
|
continuation: z.ZodUnion<readonly [z.ZodObject<{
|
|
1395
1643
|
id: z.ZodString;
|
|
1396
|
-
data: z.ZodType<
|
|
1644
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1397
1645
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1398
1646
|
}, z.core.$strict>;
|
|
1399
1647
|
declare const ReducerRuntimeLogEntryRngConsumptionSchema: z.ZodObject<{
|
|
1400
1648
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
1401
1649
|
version: z.ZodNumber;
|
|
1402
1650
|
operation: z.ZodString;
|
|
1651
|
+
drawIndex: z.ZodOptional<z.ZodNumber>;
|
|
1403
1652
|
traceEntry: z.ZodString;
|
|
1404
1653
|
}, z.core.$strict>;
|
|
1405
1654
|
declare const ReducerRuntimeLogEntryStateCommitSchema: z.ZodObject<{
|
|
@@ -1410,23 +1659,32 @@ declare const ReducerRuntimeLogEntryStateCommitSchema: z.ZodObject<{
|
|
|
1410
1659
|
contractFingerprint: z.ZodString;
|
|
1411
1660
|
}, z.core.$strict>>;
|
|
1412
1661
|
domain: z.ZodObject<{
|
|
1413
|
-
table: z.ZodType<
|
|
1414
|
-
publicState: z.ZodType<
|
|
1415
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1416
|
-
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>>;
|
|
1417
1666
|
flow: z.ZodObject<{
|
|
1418
1667
|
currentPhase: z.ZodString;
|
|
1419
1668
|
turn: z.ZodNumber;
|
|
1420
1669
|
round: z.ZodNumber;
|
|
1421
1670
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1422
1671
|
}, z.core.$strict>;
|
|
1423
|
-
phase: z.ZodType<
|
|
1672
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1424
1673
|
}, z.core.$strict>;
|
|
1425
1674
|
runtime: z.ZodObject<{
|
|
1426
1675
|
rng: z.ZodObject<{
|
|
1427
1676
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1428
1677
|
cursor: z.ZodNumber;
|
|
1429
1678
|
trace: z.ZodArray<z.ZodString>;
|
|
1679
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1680
|
+
index: z.ZodNumber;
|
|
1681
|
+
cursorBefore: z.ZodNumber;
|
|
1682
|
+
cursorAfter: z.ZodNumber;
|
|
1683
|
+
operation: z.ZodObject<{
|
|
1684
|
+
kind: z.ZodString;
|
|
1685
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1686
|
+
}, z.core.$strict>;
|
|
1687
|
+
}, z.core.$strict>>>;
|
|
1430
1688
|
}, z.core.$strict>;
|
|
1431
1689
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1432
1690
|
profileId: z.ZodString;
|
|
@@ -1438,7 +1696,7 @@ declare const ReducerRuntimeLogEntryStateCommitSchema: z.ZodObject<{
|
|
|
1438
1696
|
actors: z.ZodArray<z.ZodString>;
|
|
1439
1697
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1440
1698
|
interactionId: z.ZodString;
|
|
1441
|
-
params: z.ZodType<
|
|
1699
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1442
1700
|
}, z.core.$strict>>;
|
|
1443
1701
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1444
1702
|
}, z.core.$strict>;
|
|
@@ -1456,7 +1714,7 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1456
1714
|
kind: z.ZodLiteral<"interaction">;
|
|
1457
1715
|
playerId: z.ZodString;
|
|
1458
1716
|
interactionId: z.ZodString;
|
|
1459
|
-
params: z.ZodType<
|
|
1717
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1460
1718
|
}, z.core.$strict>], "kind">;
|
|
1461
1719
|
}, z.core.$strict>, z.ZodObject<{
|
|
1462
1720
|
kind: z.ZodLiteral<"appliedEffect">;
|
|
@@ -1481,12 +1739,13 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1481
1739
|
}, z.core.$strict>], "type">;
|
|
1482
1740
|
continuation: z.ZodUnion<readonly [z.ZodObject<{
|
|
1483
1741
|
id: z.ZodString;
|
|
1484
|
-
data: z.ZodType<
|
|
1742
|
+
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1485
1743
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1486
1744
|
}, z.core.$strict>, z.ZodObject<{
|
|
1487
1745
|
kind: z.ZodLiteral<"rngConsumption">;
|
|
1488
1746
|
version: z.ZodNumber;
|
|
1489
1747
|
operation: z.ZodString;
|
|
1748
|
+
drawIndex: z.ZodOptional<z.ZodNumber>;
|
|
1490
1749
|
traceEntry: z.ZodString;
|
|
1491
1750
|
}, z.core.$strict>, z.ZodObject<{
|
|
1492
1751
|
kind: z.ZodLiteral<"stateCommit">;
|
|
@@ -1496,23 +1755,32 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1496
1755
|
contractFingerprint: z.ZodString;
|
|
1497
1756
|
}, z.core.$strict>>;
|
|
1498
1757
|
domain: z.ZodObject<{
|
|
1499
|
-
table: z.ZodType<
|
|
1500
|
-
publicState: z.ZodType<
|
|
1501
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1502
|
-
hiddenState: z.ZodType<
|
|
1758
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1759
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1760
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1761
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1503
1762
|
flow: z.ZodObject<{
|
|
1504
1763
|
currentPhase: z.ZodString;
|
|
1505
1764
|
turn: z.ZodNumber;
|
|
1506
1765
|
round: z.ZodNumber;
|
|
1507
1766
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1508
1767
|
}, z.core.$strict>;
|
|
1509
|
-
phase: z.ZodType<
|
|
1768
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1510
1769
|
}, z.core.$strict>;
|
|
1511
1770
|
runtime: z.ZodObject<{
|
|
1512
1771
|
rng: z.ZodObject<{
|
|
1513
1772
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1514
1773
|
cursor: z.ZodNumber;
|
|
1515
1774
|
trace: z.ZodArray<z.ZodString>;
|
|
1775
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1776
|
+
index: z.ZodNumber;
|
|
1777
|
+
cursorBefore: z.ZodNumber;
|
|
1778
|
+
cursorAfter: z.ZodNumber;
|
|
1779
|
+
operation: z.ZodObject<{
|
|
1780
|
+
kind: z.ZodString;
|
|
1781
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1782
|
+
}, z.core.$strict>;
|
|
1783
|
+
}, z.core.$strict>>>;
|
|
1516
1784
|
}, z.core.$strict>;
|
|
1517
1785
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1518
1786
|
profileId: z.ZodString;
|
|
@@ -1524,7 +1792,7 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1524
1792
|
actors: z.ZodArray<z.ZodString>;
|
|
1525
1793
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1526
1794
|
interactionId: z.ZodString;
|
|
1527
|
-
params: z.ZodType<
|
|
1795
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1528
1796
|
}, z.core.$strict>>;
|
|
1529
1797
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1530
1798
|
}, z.core.$strict>;
|
|
@@ -1536,9 +1804,9 @@ declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1536
1804
|
}, z.core.$strict>;
|
|
1537
1805
|
}, z.core.$strict>], "kind">;
|
|
1538
1806
|
declare const SeatProjectionSchema: z.ZodObject<{
|
|
1539
|
-
view: z.ZodOptional<z.ZodType<
|
|
1540
|
-
availableInteractionRefs: z.ZodOptional<z.ZodType<
|
|
1541
|
-
zones: z.ZodOptional<z.ZodType<
|
|
1807
|
+
view: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1808
|
+
availableInteractionRefs: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1809
|
+
zones: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1542
1810
|
}, z.core.$strict>;
|
|
1543
1811
|
declare const SimultaneousPhaseProjectionSchema: z.ZodObject<{
|
|
1544
1812
|
phaseName: z.ZodString;
|
|
@@ -1547,6 +1815,19 @@ declare const SimultaneousPhaseProjectionSchema: z.ZodObject<{
|
|
|
1547
1815
|
sealedPlayerIds: z.ZodArray<z.ZodString>;
|
|
1548
1816
|
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1549
1817
|
}, z.core.$strict>;
|
|
1818
|
+
declare const SchedulerContinuationDependencySchema: z.ZodObject<{
|
|
1819
|
+
waiterPlayerId: z.ZodString;
|
|
1820
|
+
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1821
|
+
}, z.core.$strict>;
|
|
1822
|
+
declare const SchedulerFlowAuthorityProjectionSchema: z.ZodObject<{
|
|
1823
|
+
version: z.ZodLiteral<1>;
|
|
1824
|
+
activePlayerIds: z.ZodArray<z.ZodString>;
|
|
1825
|
+
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1826
|
+
continuationDependencies: z.ZodArray<z.ZodObject<{
|
|
1827
|
+
waiterPlayerId: z.ZodString;
|
|
1828
|
+
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1829
|
+
}, z.core.$strict>>;
|
|
1830
|
+
}, z.core.$strict>;
|
|
1550
1831
|
declare const ProjectionTimingMetadataSchema: z.ZodObject<{
|
|
1551
1832
|
resolveAvailableInteractionsMs: z.ZodNumber;
|
|
1552
1833
|
resolveViewMs: z.ZodNumber;
|
|
@@ -1563,12 +1844,21 @@ declare const SeatProjectionBundleSchema: z.ZodObject<{
|
|
|
1563
1844
|
sealedPlayerIds: z.ZodArray<z.ZodString>;
|
|
1564
1845
|
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1565
1846
|
}, z.core.$strict>, z.ZodNull]>>;
|
|
1566
|
-
|
|
1567
|
-
|
|
1847
|
+
schedulerFlow: z.ZodOptional<z.ZodObject<{
|
|
1848
|
+
version: z.ZodLiteral<1>;
|
|
1849
|
+
activePlayerIds: z.ZodArray<z.ZodString>;
|
|
1850
|
+
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1851
|
+
continuationDependencies: z.ZodArray<z.ZodObject<{
|
|
1852
|
+
waiterPlayerId: z.ZodString;
|
|
1853
|
+
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1854
|
+
}, z.core.$strict>>;
|
|
1855
|
+
}, z.core.$strict>>;
|
|
1856
|
+
sharedView: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1857
|
+
interactionsByRef: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1568
1858
|
seats: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1569
|
-
view: z.ZodOptional<z.ZodType<
|
|
1570
|
-
availableInteractionRefs: z.ZodOptional<z.ZodType<
|
|
1571
|
-
zones: z.ZodOptional<z.ZodType<
|
|
1859
|
+
view: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1860
|
+
availableInteractionRefs: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1861
|
+
zones: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1572
1862
|
}, z.core.$strict>>;
|
|
1573
1863
|
timing: z.ZodOptional<z.ZodObject<{
|
|
1574
1864
|
resolveAvailableInteractionsMs: z.ZodNumber;
|
|
@@ -1577,29 +1867,38 @@ declare const SeatProjectionBundleSchema: z.ZodObject<{
|
|
|
1577
1867
|
descriptorHashMs: z.ZodNumber;
|
|
1578
1868
|
}, z.core.$strict>>;
|
|
1579
1869
|
}, z.core.$strict>;
|
|
1580
|
-
declare const
|
|
1870
|
+
declare const ProjectRequestSchema: z.ZodObject<{
|
|
1581
1871
|
state: z.ZodObject<{
|
|
1582
1872
|
meta: z.ZodOptional<z.ZodObject<{
|
|
1583
1873
|
contractFingerprint: z.ZodString;
|
|
1584
1874
|
}, z.core.$strict>>;
|
|
1585
1875
|
domain: z.ZodObject<{
|
|
1586
|
-
table: z.ZodType<
|
|
1587
|
-
publicState: z.ZodType<
|
|
1588
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<
|
|
1589
|
-
hiddenState: z.ZodType<
|
|
1876
|
+
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1877
|
+
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1878
|
+
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1879
|
+
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1590
1880
|
flow: z.ZodObject<{
|
|
1591
1881
|
currentPhase: z.ZodString;
|
|
1592
1882
|
turn: z.ZodNumber;
|
|
1593
1883
|
round: z.ZodNumber;
|
|
1594
1884
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
1595
1885
|
}, z.core.$strict>;
|
|
1596
|
-
phase: z.ZodType<
|
|
1886
|
+
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1597
1887
|
}, z.core.$strict>;
|
|
1598
1888
|
runtime: z.ZodObject<{
|
|
1599
1889
|
rng: z.ZodObject<{
|
|
1600
1890
|
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1601
1891
|
cursor: z.ZodNumber;
|
|
1602
1892
|
trace: z.ZodArray<z.ZodString>;
|
|
1893
|
+
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1894
|
+
index: z.ZodNumber;
|
|
1895
|
+
cursorBefore: z.ZodNumber;
|
|
1896
|
+
cursorAfter: z.ZodNumber;
|
|
1897
|
+
operation: z.ZodObject<{
|
|
1898
|
+
kind: z.ZodString;
|
|
1899
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1900
|
+
}, z.core.$strict>;
|
|
1901
|
+
}, z.core.$strict>>>;
|
|
1603
1902
|
}, z.core.$strict>;
|
|
1604
1903
|
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1605
1904
|
profileId: z.ZodString;
|
|
@@ -1611,7 +1910,7 @@ declare const ProjectSeatsDynamicRequestSchema: z.ZodObject<{
|
|
|
1611
1910
|
actors: z.ZodArray<z.ZodString>;
|
|
1612
1911
|
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1613
1912
|
interactionId: z.ZodString;
|
|
1614
|
-
params: z.ZodType<
|
|
1913
|
+
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1615
1914
|
}, z.core.$strict>>;
|
|
1616
1915
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1617
1916
|
}, z.core.$strict>;
|
|
@@ -1622,13 +1921,9 @@ declare const ProjectSeatsDynamicRequestSchema: z.ZodObject<{
|
|
|
1622
1921
|
}, z.core.$strict>;
|
|
1623
1922
|
}, z.core.$strict>;
|
|
1624
1923
|
playerIds: z.ZodArray<z.ZodString>;
|
|
1625
|
-
projectionMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1626
|
-
full: "full";
|
|
1627
|
-
actionsOnly: "actionsOnly";
|
|
1628
|
-
}>, z.ZodNull]>>;
|
|
1629
1924
|
}, z.core.$strict>;
|
|
1630
1925
|
declare const BoardStaticProjectionSchema: z.ZodObject<{
|
|
1631
|
-
view: z.ZodType<
|
|
1926
|
+
view: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1632
1927
|
hash: z.ZodString;
|
|
1633
1928
|
manifestVersion: z.ZodString;
|
|
1634
1929
|
}, z.core.$strict>;
|
|
@@ -1658,12 +1953,13 @@ declare const zod_GameOutcomeReasonSchema: typeof GameOutcomeReasonSchema;
|
|
|
1658
1953
|
declare const zod_GameOutcomeSchema: typeof GameOutcomeSchema;
|
|
1659
1954
|
declare const zod_InitializePhaseRequestSchema: typeof InitializePhaseRequestSchema;
|
|
1660
1955
|
declare const zod_InitializeRequestSchema: typeof InitializeRequestSchema;
|
|
1956
|
+
declare const zod_InitializeResultSchema: typeof InitializeResultSchema;
|
|
1661
1957
|
declare const zod_JsonValueSchema: typeof JsonValueSchema;
|
|
1662
1958
|
declare const zod_OutcomeResultSchema: typeof OutcomeResultSchema;
|
|
1663
1959
|
declare const zod_OutcomeScoreComponentSchema: typeof OutcomeScoreComponentSchema;
|
|
1664
1960
|
declare const zod_OutcomeStandingSchema: typeof OutcomeStandingSchema;
|
|
1665
1961
|
declare const zod_OutcomeTieBreakSchema: typeof OutcomeTieBreakSchema;
|
|
1666
|
-
declare const
|
|
1962
|
+
declare const zod_ProjectRequestSchema: typeof ProjectRequestSchema;
|
|
1667
1963
|
declare const zod_ProjectionTimingMetadataSchema: typeof ProjectionTimingMetadataSchema;
|
|
1668
1964
|
declare const zod_ReduceRequestSchema: typeof ReduceRequestSchema;
|
|
1669
1965
|
declare const zod_ReduceResultAcceptSchema: typeof ReduceResultAcceptSchema;
|
|
@@ -1682,10 +1978,15 @@ declare const zod_ReducerRuntimeStateSchema: typeof ReducerRuntimeStateSchema;
|
|
|
1682
1978
|
declare const zod_ReducerSessionMetaSchema: typeof ReducerSessionMetaSchema;
|
|
1683
1979
|
declare const zod_ReducerSessionStateSchema: typeof ReducerSessionStateSchema;
|
|
1684
1980
|
declare const zod_ReducerSetupSelectionSchema: typeof ReducerSetupSelectionSchema;
|
|
1981
|
+
declare const zod_RngDrawSchema: typeof RngDrawSchema;
|
|
1982
|
+
declare const zod_RngOperationParameterSchema: typeof RngOperationParameterSchema;
|
|
1983
|
+
declare const zod_RngOperationSchema: typeof RngOperationSchema;
|
|
1685
1984
|
declare const zod_RngStateSchema: typeof RngStateSchema;
|
|
1686
1985
|
declare const zod_RuntimeSimultaneousCurrentSchema: typeof RuntimeSimultaneousCurrentSchema;
|
|
1687
1986
|
declare const zod_RuntimeSimultaneousStateSchema: typeof RuntimeSimultaneousStateSchema;
|
|
1688
1987
|
declare const zod_RuntimeSimultaneousSubmissionSchema: typeof RuntimeSimultaneousSubmissionSchema;
|
|
1988
|
+
declare const zod_SchedulerContinuationDependencySchema: typeof SchedulerContinuationDependencySchema;
|
|
1989
|
+
declare const zod_SchedulerFlowAuthorityProjectionSchema: typeof SchedulerFlowAuthorityProjectionSchema;
|
|
1689
1990
|
declare const zod_SeatProjectionBundleSchema: typeof SeatProjectionBundleSchema;
|
|
1690
1991
|
declare const zod_SeatProjectionSchema: typeof SeatProjectionSchema;
|
|
1691
1992
|
declare const zod_SimultaneousPhaseProjectionSchema: typeof SimultaneousPhaseProjectionSchema;
|
|
@@ -1693,15 +1994,15 @@ declare const zod_SystemActionEventSchema: typeof SystemActionEventSchema;
|
|
|
1693
1994
|
declare const zod_TransitionRecordSchema: typeof TransitionRecordSchema;
|
|
1694
1995
|
declare const zod_ValidateInputRequestSchema: typeof ValidateInputRequestSchema;
|
|
1695
1996
|
declare namespace zod {
|
|
1696
|
-
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_JsonValueSchema as JsonValueSchema, zod_OutcomeResultSchema as OutcomeResultSchema, zod_OutcomeScoreComponentSchema as OutcomeScoreComponentSchema, zod_OutcomeStandingSchema as OutcomeStandingSchema, zod_OutcomeTieBreakSchema as OutcomeTieBreakSchema,
|
|
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 };
|
|
1697
1998
|
}
|
|
1698
1999
|
|
|
1699
2000
|
/**
|
|
1700
2001
|
* The wire-protocol version this package implements. Bumped in lockstep with
|
|
1701
2002
|
* any breaking change to schema/reducer-runtime.schema.json. At bundle load
|
|
1702
|
-
* time hosts
|
|
2003
|
+
* time hosts require bundles to carry this exact version.
|
|
1703
2004
|
*/
|
|
1704
|
-
declare const REDUCER_CONTRACT_VERSION: "0.
|
|
2005
|
+
declare const REDUCER_CONTRACT_VERSION: "0.5.0";
|
|
1705
2006
|
|
|
1706
2007
|
type MaybePromise<T> = T | Promise<T>;
|
|
1707
2008
|
/**
|
|
@@ -1717,13 +2018,19 @@ type MaybePromise<T> = T | Promise<T>;
|
|
|
1717
2018
|
*/
|
|
1718
2019
|
interface ReducerBundleContract {
|
|
1719
2020
|
readonly reducerContractVersion: ReducerContractVersion;
|
|
1720
|
-
initialize(input: InitializeRequest): MaybePromise<
|
|
1721
|
-
initializePhase(input: InitializePhaseRequest): MaybePromise<ReducerSessionState>;
|
|
1722
|
-
validateInput(input: ValidateInputRequest): MaybePromise<ReducerInputValidationResult>;
|
|
1723
|
-
reduce(input: ReduceRequest): MaybePromise<ReduceResult>;
|
|
2021
|
+
initialize(input: InitializeRequest): MaybePromise<InitializeResult>;
|
|
1724
2022
|
dispatch(input: DispatchRequest): MaybePromise<DispatchResult>;
|
|
1725
|
-
|
|
1726
|
-
|
|
2023
|
+
boardStatic(): BoardStaticProjection | null;
|
|
2024
|
+
project(input: ProjectRequest): SeatProjectionBundle;
|
|
1727
2025
|
}
|
|
2026
|
+
/**
|
|
2027
|
+
* Validates an imported module value at the reducer host/guest boundary.
|
|
2028
|
+
*
|
|
2029
|
+
* The required callable members are generated from the same operation
|
|
2030
|
+
* authority as `ReducerBundleContract`, so runtime admission cannot drift
|
|
2031
|
+
* from the published TypeScript interface.
|
|
2032
|
+
* The contract version must match exactly.
|
|
2033
|
+
*/
|
|
2034
|
+
declare function assertReducerBundleContract(value: unknown, source: string): asserts value is ReducerBundleContract;
|
|
1728
2035
|
|
|
1729
|
-
export { type MaybePromise as M, REDUCER_CONTRACT_VERSION as R, type ReducerBundleContract as a, wire as w, zod as z };
|
|
2036
|
+
export { type MaybePromise as M, REDUCER_CONTRACT_VERSION as R, type ReducerBundleContract as a, assertReducerBundleContract as b, wire as w, zod as z };
|