@dreamboard-games/sdk 0.5.0-alpha.2 → 0.5.0-alpha.4
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 +186 -45
- package/dist/board-target-B0QG6OYx.d.ts +8 -0
- package/dist/chunk-3JXUL4VN.js +139 -0
- package/dist/chunk-3JXUL4VN.js.map +1 -0
- package/dist/{chunk-S2JEDVWH.js → chunk-C77SYIVT.js} +6102 -6505
- package/dist/chunk-C77SYIVT.js.map +1 -0
- package/dist/chunk-DMFVAZI2.js +16 -0
- package/dist/chunk-DMFVAZI2.js.map +1 -0
- package/dist/chunk-OOFMBCFF.js +1338 -0
- package/dist/chunk-OOFMBCFF.js.map +1 -0
- package/dist/chunk-UG2Q4NLG.js +590 -0
- package/dist/chunk-UG2Q4NLG.js.map +1 -0
- package/dist/chunk-XU6WJW6K.js +847 -0
- package/dist/chunk-XU6WJW6K.js.map +1 -0
- package/dist/diagnostics-B8d5aLad.d.ts +65 -0
- package/dist/extract-gVKcB8Og.d.ts +4736 -0
- package/dist/index.d.ts +3782 -1
- package/dist/index.js +1096 -6
- package/dist/index.js.map +1 -1
- package/dist/model-vdpLHrxh.d.ts +432 -0
- package/dist/react.d.ts +60 -0
- package/dist/react.js +208 -0
- package/dist/react.js.map +1 -0
- package/dist/reducer.d.ts +1244 -78
- package/dist/reducer.js +4204 -121
- package/dist/reducer.js.map +1 -1
- package/dist/testing.d.ts +520 -564
- package/dist/testing.js +2451 -915
- package/dist/testing.js.map +1 -1
- package/dist/types-Bj5ZLTUV.d.ts +114 -0
- package/package.json +40 -142
- package/dist/HandView-Bi2lxzQP.d.ts +0 -79
- package/dist/ResourceCounter-BFxJknqp.d.ts +0 -98
- package/dist/ThemeProvider-CElaL2ik.d.ts +0 -99
- package/dist/attributes-DbvyMbXw.d.ts +0 -68
- package/dist/browser-interaction.d.ts +0 -910
- package/dist/browser-interaction.js +0 -119
- package/dist/browser-interaction.js.map +0 -1
- package/dist/chunk-32PFKDV7.js +0 -11705
- package/dist/chunk-32PFKDV7.js.map +0 -1
- package/dist/chunk-3BAD4VC2.js +0 -263
- package/dist/chunk-3BAD4VC2.js.map +0 -1
- package/dist/chunk-3SKDNDPG.js +0 -104
- package/dist/chunk-3SKDNDPG.js.map +0 -1
- package/dist/chunk-5YV2WHJ4.js +0 -25
- package/dist/chunk-5YV2WHJ4.js.map +0 -1
- package/dist/chunk-ANRB4XKA.js +0 -90
- package/dist/chunk-ANRB4XKA.js.map +0 -1
- package/dist/chunk-BI4G3PM2.js +0 -1864
- package/dist/chunk-BI4G3PM2.js.map +0 -1
- package/dist/chunk-EVCLTY4Q.js +0 -935
- package/dist/chunk-EVCLTY4Q.js.map +0 -1
- package/dist/chunk-GDPKTBUR.js +0 -564
- package/dist/chunk-GDPKTBUR.js.map +0 -1
- package/dist/chunk-H6VDGFL5.js +0 -2903
- package/dist/chunk-H6VDGFL5.js.map +0 -1
- package/dist/chunk-LR3ZTWQF.js +0 -5960
- package/dist/chunk-LR3ZTWQF.js.map +0 -1
- package/dist/chunk-PF7L4BMG.js +0 -117
- package/dist/chunk-PF7L4BMG.js.map +0 -1
- package/dist/chunk-PN5O6GG2.js +0 -32
- package/dist/chunk-PN5O6GG2.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -10
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-S2JEDVWH.js.map +0 -1
- package/dist/chunk-T3ZKNUZ7.js +0 -1
- package/dist/chunk-T3ZKNUZ7.js.map +0 -1
- package/dist/chunk-UGH54WZ2.js +0 -223
- package/dist/chunk-UGH54WZ2.js.map +0 -1
- package/dist/chunk-VCDWP5VL.js +0 -746
- package/dist/chunk-VCDWP5VL.js.map +0 -1
- package/dist/chunk-VDXOF4FW.js +0 -69
- package/dist/chunk-VDXOF4FW.js.map +0 -1
- package/dist/chunk-WHR5UW3F.js +0 -1988
- package/dist/chunk-WHR5UW3F.js.map +0 -1
- package/dist/chunk-Y75CFE77.js +0 -17
- package/dist/chunk-Y75CFE77.js.map +0 -1
- package/dist/chunk-Z7QCREWI.js +0 -3435
- package/dist/chunk-Z7QCREWI.js.map +0 -1
- package/dist/chunk-ZZGN2ATS.js +0 -1941
- package/dist/chunk-ZZGN2ATS.js.map +0 -1
- package/dist/components-gAbIz7hK.d.ts +0 -1284
- package/dist/definitions-BgmV_GhC.d.ts +0 -300
- package/dist/diagnostics-DIi3ina7.d.ts +0 -50
- package/dist/digest.d.ts +0 -8
- package/dist/game-CsZScpcn.d.ts +0 -763
- package/dist/hex-board-view-aKkblDp6.d.ts +0 -1228
- package/dist/index-CcT9Q7N7.d.ts +0 -193
- package/dist/index.d-DjzoK7zn.d.ts +0 -2101
- package/dist/package-set.d.ts +0 -13
- package/dist/package-set.js +0 -12
- package/dist/package-set.js.map +0 -1
- package/dist/player-state-Cqpyeql0.d.ts +0 -371
- package/dist/plugin-runtime-contract.d.ts +0 -17
- package/dist/plugin-runtime-contract.js +0 -92
- package/dist/plugin-runtime-contract.js.map +0 -1
- package/dist/primitive-props-BNHDkgd7.d.ts +0 -16
- package/dist/protocol-dYgafTYY.d.ts +0 -314
- package/dist/reducer/advanced.d.ts +0 -82
- package/dist/reducer/advanced.js +0 -51
- package/dist/reducer/advanced.js.map +0 -1
- package/dist/reducer-contract.d.ts +0 -11
- package/dist/reducer-contract.js +0 -16
- package/dist/reducer-contract.js.map +0 -1
- package/dist/reference-games/index.d.ts +0 -31
- package/dist/reference-games/index.js +0 -48
- package/dist/reference-games/index.js.map +0 -1
- package/dist/runtime/primitives.d.ts +0 -250
- package/dist/runtime/primitives.js +0 -189
- package/dist/runtime/primitives.js.map +0 -1
- package/dist/runtime/runtime-api.d.ts +0 -2
- package/dist/runtime/runtime-api.js +0 -1
- package/dist/runtime/runtime-api.js.map +0 -1
- package/dist/runtime/workspace-contract.d.ts +0 -392
- package/dist/runtime/workspace-contract.js +0 -28
- package/dist/runtime/workspace-contract.js.map +0 -1
- package/dist/runtime-RJ5orDJU.d.ts +0 -1699
- package/dist/runtime-api-Bz5pwNU_.d.ts +0 -296
- package/dist/runtime-json-CQ9QbLZ5.d.ts +0 -5
- package/dist/runtime.d.ts +0 -83
- package/dist/runtime.js +0 -242
- package/dist/runtime.js.map +0 -1
- package/dist/schema.d.ts +0 -379
- package/dist/stale-contract-artifact-error-XLaweZtF.d.ts +0 -18
- package/dist/testing-compiler.d.ts +0 -37
- package/dist/testing-compiler.js +0 -272
- package/dist/testing-compiler.js.map +0 -1
- package/dist/testing-runtime.d.ts +0 -119
- package/dist/testing-runtime.js +0 -212
- package/dist/testing-runtime.js.map +0 -1
- package/dist/types-DJj5MJkl.d.ts +0 -256
- package/dist/types-DR7DoB1x.d.ts +0 -28
- package/dist/types-JWCYHmu7.d.ts +0 -122
- package/dist/types.d.ts +0 -1958
- package/dist/types.js +0 -14
- package/dist/types.js.map +0 -1
- package/dist/ui/components.d.ts +0 -17
- package/dist/ui/components.js +0 -216
- package/dist/ui/components.js.map +0 -1
- package/dist/ui/defaults.d.ts +0 -19
- package/dist/ui/defaults.js +0 -104
- package/dist/ui/defaults.js.map +0 -1
- package/dist/ui/player-state.d.ts +0 -2
- package/dist/ui/player-state.js +0 -1
- package/dist/ui/player-state.js.map +0 -1
- package/dist/ui/plugin-styles.css +0 -2
- package/dist/ui-contract-GTUPkf8z.d.ts +0 -1168
- package/dist/ui.d.ts +0 -317
- package/dist/ui.js +0 -277
- package/dist/ui.js.map +0 -1
- package/dist/views-BpuWcOyN.d.ts +0 -1641
|
@@ -1,2101 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
type ReducerContractVersion = string;
|
|
4
|
-
type EffectId = string;
|
|
5
|
-
type ContinuationToken = {
|
|
6
|
-
"id": string;
|
|
7
|
-
"data": JsonValue;
|
|
8
|
-
};
|
|
9
|
-
type ContinuationMap = Record<string, ContinuationToken>;
|
|
10
|
-
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
11
|
-
[key: string]: JsonValue;
|
|
12
|
-
};
|
|
13
|
-
type ReducerSetupSelection = {
|
|
14
|
-
"profileId": string;
|
|
15
|
-
"optionValues": Record<string, string | null>;
|
|
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
|
-
};
|
|
28
|
-
type RngState = {
|
|
29
|
-
"seed": number | null;
|
|
30
|
-
"cursor": number;
|
|
31
|
-
"trace": Array<string>;
|
|
32
|
-
"draws"?: Array<RngDraw>;
|
|
33
|
-
};
|
|
34
|
-
type ReducerFlowState = {
|
|
35
|
-
"currentPhase": string;
|
|
36
|
-
"turn": number;
|
|
37
|
-
"round": number;
|
|
38
|
-
"activePlayers": Array<string>;
|
|
39
|
-
};
|
|
40
|
-
type RuntimeSimultaneousSubmission = {
|
|
41
|
-
"interactionId": string;
|
|
42
|
-
"params": JsonValue;
|
|
43
|
-
};
|
|
44
|
-
type RuntimeSimultaneousCurrent = {
|
|
45
|
-
"phaseName": string;
|
|
46
|
-
"actors": Array<string>;
|
|
47
|
-
"submissions": Record<string, RuntimeSimultaneousSubmission>;
|
|
48
|
-
};
|
|
49
|
-
type RuntimeSimultaneousState = {
|
|
50
|
-
"current": RuntimeSimultaneousCurrent | null;
|
|
51
|
-
};
|
|
52
|
-
type TransitionRecord = {
|
|
53
|
-
"from": string;
|
|
54
|
-
"to": string;
|
|
55
|
-
};
|
|
56
|
-
type ReducerRuntimeState = {
|
|
57
|
-
"rng": RngState;
|
|
58
|
-
"setup": ReducerSetupSelection | null;
|
|
59
|
-
"simultaneous": RuntimeSimultaneousState;
|
|
60
|
-
"lastTransition": TransitionRecord | null;
|
|
61
|
-
};
|
|
62
|
-
type ReducerDomainState = {
|
|
63
|
-
"table": JsonValue;
|
|
64
|
-
"publicState": JsonValue;
|
|
65
|
-
"privateState": Record<string, JsonValue>;
|
|
66
|
-
"hiddenState": JsonValue;
|
|
67
|
-
"flow": ReducerFlowState;
|
|
68
|
-
"phase": JsonValue;
|
|
69
|
-
};
|
|
70
|
-
type ReducerSessionMeta = {
|
|
71
|
-
"contractFingerprint": string;
|
|
72
|
-
};
|
|
73
|
-
type ReducerSessionState = {
|
|
74
|
-
"meta"?: ReducerSessionMeta;
|
|
75
|
-
"domain": ReducerDomainState;
|
|
76
|
-
"runtime": ReducerRuntimeState;
|
|
77
|
-
};
|
|
78
|
-
type GameInput = GameInputInteraction;
|
|
79
|
-
type GameInputInteraction = {
|
|
80
|
-
"kind": "interaction";
|
|
81
|
-
"playerId": string;
|
|
82
|
-
"interactionId": string;
|
|
83
|
-
"params": JsonValue;
|
|
84
|
-
};
|
|
85
|
-
type Effect = EffectTransition | EffectRollDie | EffectShuffleSharedZone | EffectShufflePlayerZone;
|
|
86
|
-
type EffectTransition = {
|
|
87
|
-
"effectId": EffectId;
|
|
88
|
-
"type": "transition";
|
|
89
|
-
"to": string;
|
|
90
|
-
};
|
|
91
|
-
type EffectRollDie = {
|
|
92
|
-
"effectId": EffectId;
|
|
93
|
-
"type": "rollDie";
|
|
94
|
-
"dieId": string;
|
|
95
|
-
};
|
|
96
|
-
type EffectShuffleSharedZone = {
|
|
97
|
-
"effectId": EffectId;
|
|
98
|
-
"type": "shuffleSharedZone";
|
|
99
|
-
"zoneId": string;
|
|
100
|
-
};
|
|
101
|
-
type EffectShufflePlayerZone = {
|
|
102
|
-
"effectId": EffectId;
|
|
103
|
-
"type": "shufflePlayerZone";
|
|
104
|
-
"zoneId": string;
|
|
105
|
-
"playerId": string;
|
|
106
|
-
};
|
|
107
|
-
type ReducerInputValidationResult = {
|
|
108
|
-
"valid": boolean;
|
|
109
|
-
"errorCode"?: string;
|
|
110
|
-
"message"?: string;
|
|
111
|
-
};
|
|
112
|
-
type InitializeResult = {
|
|
113
|
-
"state": ReducerSessionState;
|
|
114
|
-
"terminal"?: GameOutcome;
|
|
115
|
-
"events"?: Array<GameEvent>;
|
|
116
|
-
};
|
|
117
|
-
type InitializeRequest = {
|
|
118
|
-
"table": JsonValue;
|
|
119
|
-
"playerIds": Array<string>;
|
|
120
|
-
"rngSeed"?: number | null;
|
|
121
|
-
"setup"?: ReducerSetupSelection | null;
|
|
122
|
-
};
|
|
123
|
-
type InitializePhaseRequest = {
|
|
124
|
-
"state": ReducerSessionState;
|
|
125
|
-
"to": string;
|
|
126
|
-
};
|
|
127
|
-
type ValidateInputRequest = {
|
|
128
|
-
"state": ReducerSessionState;
|
|
129
|
-
"input": GameInput;
|
|
130
|
-
};
|
|
131
|
-
type ReduceRequest = {
|
|
132
|
-
"state": ReducerSessionState;
|
|
133
|
-
"input": GameInput;
|
|
134
|
-
};
|
|
135
|
-
type DispatchRequest = {
|
|
136
|
-
"state": ReducerSessionState;
|
|
137
|
-
"input": GameInput;
|
|
138
|
-
};
|
|
139
|
-
type ReduceResult = ReduceResultReject | ReduceResultAccept;
|
|
140
|
-
type ReduceResultReject = {
|
|
141
|
-
"kind": "reject";
|
|
142
|
-
"errorCode": string;
|
|
143
|
-
"message"?: string;
|
|
144
|
-
};
|
|
145
|
-
type ReduceResultAccept = {
|
|
146
|
-
"kind": "accept";
|
|
147
|
-
"state": ReducerSessionState;
|
|
148
|
-
"terminal"?: GameOutcome;
|
|
149
|
-
"effects": Array<Effect>;
|
|
150
|
-
"continuations": ContinuationMap;
|
|
151
|
-
"events": Array<GameEvent>;
|
|
152
|
-
};
|
|
153
|
-
type DispatchTrace = DispatchTraceAcceptedClientInput | DispatchTraceAppliedEffect | DispatchTraceRngConsumption;
|
|
154
|
-
type DispatchTraceAcceptedClientInput = {
|
|
155
|
-
"kind": "acceptedClientInput";
|
|
156
|
-
"input": GameInput;
|
|
157
|
-
};
|
|
158
|
-
type DispatchTraceAppliedEffect = {
|
|
159
|
-
"kind": "appliedEffect";
|
|
160
|
-
"effect": Effect;
|
|
161
|
-
"continuation"?: ContinuationToken;
|
|
162
|
-
};
|
|
163
|
-
type DispatchTraceRngConsumption = {
|
|
164
|
-
"kind": "rngConsumption";
|
|
165
|
-
"version": 2;
|
|
166
|
-
"operation": string;
|
|
167
|
-
"drawIndex": number;
|
|
168
|
-
"traceEntry": string;
|
|
169
|
-
};
|
|
170
|
-
type DispatchResult = DispatchResultReject | DispatchResultAccept;
|
|
171
|
-
type DispatchResultReject = {
|
|
172
|
-
"kind": "reject";
|
|
173
|
-
"errorCode": string;
|
|
174
|
-
"message"?: string;
|
|
175
|
-
};
|
|
176
|
-
type DispatchResultAccept = {
|
|
177
|
-
"kind": "accept";
|
|
178
|
-
"state": ReducerSessionState;
|
|
179
|
-
"terminal"?: GameOutcome;
|
|
180
|
-
"trace": Array<DispatchTrace>;
|
|
181
|
-
"events": Array<GameEvent>;
|
|
182
|
-
};
|
|
183
|
-
type GameEventDetail = {
|
|
184
|
-
"label": string;
|
|
185
|
-
"value": string | number | boolean;
|
|
186
|
-
};
|
|
187
|
-
type SystemActionEvent = {
|
|
188
|
-
"kind": "systemAction";
|
|
189
|
-
"procedureId": string;
|
|
190
|
-
"title": string;
|
|
191
|
-
"summary"?: string;
|
|
192
|
-
"details"?: Array<GameEventDetail>;
|
|
193
|
-
};
|
|
194
|
-
type GameEvent = SystemActionEvent;
|
|
195
|
-
type OutcomeResult = "win" | "draw" | "loss" | "eliminated";
|
|
196
|
-
type OutcomeScoreComponent = {
|
|
197
|
-
"id": string;
|
|
198
|
-
"label": string;
|
|
199
|
-
"value": number;
|
|
200
|
-
};
|
|
201
|
-
type OutcomeTieBreak = {
|
|
202
|
-
"id": string;
|
|
203
|
-
"label": string;
|
|
204
|
-
"value": number | string;
|
|
205
|
-
};
|
|
206
|
-
type OutcomeStanding = {
|
|
207
|
-
"playerId": string;
|
|
208
|
-
"rank": number;
|
|
209
|
-
"result": OutcomeResult;
|
|
210
|
-
"score"?: number;
|
|
211
|
-
"scoreBreakdown"?: Array<OutcomeScoreComponent>;
|
|
212
|
-
"tieBreaks"?: Array<OutcomeTieBreak>;
|
|
213
|
-
};
|
|
214
|
-
type GameOutcomeReason = {
|
|
215
|
-
"code": string;
|
|
216
|
-
"message"?: string;
|
|
217
|
-
};
|
|
218
|
-
type GameOutcome = {
|
|
219
|
-
"reason": GameOutcomeReason;
|
|
220
|
-
"standings": Array<OutcomeStanding>;
|
|
221
|
-
};
|
|
222
|
-
type ReducerRuntimeLogEntry = ReducerRuntimeLogEntryAcceptedClientInput | ReducerRuntimeLogEntryAppliedEffect | ReducerRuntimeLogEntryRngConsumption | ReducerRuntimeLogEntryStateCommit;
|
|
223
|
-
type ReducerRuntimeLogEntryAcceptedClientInput = {
|
|
224
|
-
"kind": "acceptedClientInput";
|
|
225
|
-
"version": number;
|
|
226
|
-
"input": GameInput;
|
|
227
|
-
};
|
|
228
|
-
type ReducerRuntimeLogEntryAppliedEffect = {
|
|
229
|
-
"kind": "appliedEffect";
|
|
230
|
-
"version": number;
|
|
231
|
-
"effect": Effect;
|
|
232
|
-
"continuation": ContinuationToken | null;
|
|
233
|
-
};
|
|
234
|
-
type ReducerRuntimeLogEntryRngConsumption = {
|
|
235
|
-
"kind": "rngConsumption";
|
|
236
|
-
"version": number;
|
|
237
|
-
"operation": string;
|
|
238
|
-
"drawIndex"?: number;
|
|
239
|
-
"traceEntry": string;
|
|
240
|
-
};
|
|
241
|
-
type ReducerRuntimeLogEntryStateCommit = {
|
|
242
|
-
"kind": "stateCommit";
|
|
243
|
-
"version": number;
|
|
244
|
-
"state": ReducerSessionState;
|
|
245
|
-
};
|
|
246
|
-
type SeatProjection = {
|
|
247
|
-
"view"?: JsonValue;
|
|
248
|
-
"availableInteractionRefs"?: JsonValue;
|
|
249
|
-
"zones"?: JsonValue;
|
|
250
|
-
};
|
|
251
|
-
type SimultaneousPhaseProjection = {
|
|
252
|
-
"phaseName": string;
|
|
253
|
-
"interactionId": string;
|
|
254
|
-
"actorIds": Array<string>;
|
|
255
|
-
"sealedPlayerIds": Array<string>;
|
|
256
|
-
"pendingPlayerIds": Array<string>;
|
|
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
|
-
};
|
|
268
|
-
type SeatProjectionBundle = {
|
|
269
|
-
"currentStage"?: string | null;
|
|
270
|
-
"stageSeats"?: Array<string>;
|
|
271
|
-
"simultaneousPhase"?: SimultaneousPhaseProjection | null;
|
|
272
|
-
"schedulerFlow"?: SchedulerFlowAuthorityProjection;
|
|
273
|
-
"guidance"?: GameGuidanceProjection | null;
|
|
274
|
-
"sharedView"?: JsonValue;
|
|
275
|
-
"interactionsByRef"?: JsonValue;
|
|
276
|
-
"seats": Record<string, SeatProjection>;
|
|
277
|
-
"timing"?: ProjectionTimingMetadata;
|
|
278
|
-
};
|
|
279
|
-
type ProjectionTimingMetadata = {
|
|
280
|
-
"resolveAvailableInteractionsMs": number;
|
|
281
|
-
"resolveViewMs": number;
|
|
282
|
-
"resolveZoneHandlesMs": number;
|
|
283
|
-
"descriptorHashMs": number;
|
|
284
|
-
};
|
|
285
|
-
type ProjectRequest = {
|
|
286
|
-
"state": ReducerSessionState;
|
|
287
|
-
"playerIds": Array<string>;
|
|
288
|
-
};
|
|
289
|
-
type BoardStaticProjection = {
|
|
290
|
-
"view": JsonValue;
|
|
291
|
-
"hash": string;
|
|
292
|
-
"manifestVersion": string;
|
|
293
|
-
};
|
|
294
|
-
type SetupGuidanceStep = {
|
|
295
|
-
"id": string;
|
|
296
|
-
"label": string;
|
|
297
|
-
"description"?: string;
|
|
298
|
-
};
|
|
299
|
-
type GameGuidanceProjection = {
|
|
300
|
-
"phase": {
|
|
301
|
-
"id": string;
|
|
302
|
-
"label": string;
|
|
303
|
-
"summary"?: string;
|
|
304
|
-
"objective"?: string;
|
|
305
|
-
};
|
|
306
|
-
"setup"?: {
|
|
307
|
-
"profileId": string;
|
|
308
|
-
"name": string;
|
|
309
|
-
"summary"?: string;
|
|
310
|
-
"steps": Array<SetupGuidanceStep>;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
type wire_BoardStaticProjection = BoardStaticProjection;
|
|
315
|
-
type wire_ContinuationMap = ContinuationMap;
|
|
316
|
-
type wire_ContinuationToken = ContinuationToken;
|
|
317
|
-
type wire_DispatchRequest = DispatchRequest;
|
|
318
|
-
type wire_DispatchResult = DispatchResult;
|
|
319
|
-
type wire_DispatchResultAccept = DispatchResultAccept;
|
|
320
|
-
type wire_DispatchResultReject = DispatchResultReject;
|
|
321
|
-
type wire_DispatchTrace = DispatchTrace;
|
|
322
|
-
type wire_DispatchTraceAcceptedClientInput = DispatchTraceAcceptedClientInput;
|
|
323
|
-
type wire_DispatchTraceAppliedEffect = DispatchTraceAppliedEffect;
|
|
324
|
-
type wire_DispatchTraceRngConsumption = DispatchTraceRngConsumption;
|
|
325
|
-
type wire_Effect = Effect;
|
|
326
|
-
type wire_EffectId = EffectId;
|
|
327
|
-
type wire_EffectRollDie = EffectRollDie;
|
|
328
|
-
type wire_EffectShufflePlayerZone = EffectShufflePlayerZone;
|
|
329
|
-
type wire_EffectShuffleSharedZone = EffectShuffleSharedZone;
|
|
330
|
-
type wire_EffectTransition = EffectTransition;
|
|
331
|
-
type wire_GameEvent = GameEvent;
|
|
332
|
-
type wire_GameEventDetail = GameEventDetail;
|
|
333
|
-
type wire_GameGuidanceProjection = GameGuidanceProjection;
|
|
334
|
-
type wire_GameInput = GameInput;
|
|
335
|
-
type wire_GameInputInteraction = GameInputInteraction;
|
|
336
|
-
type wire_GameOutcome = GameOutcome;
|
|
337
|
-
type wire_GameOutcomeReason = GameOutcomeReason;
|
|
338
|
-
type wire_InitializePhaseRequest = InitializePhaseRequest;
|
|
339
|
-
type wire_InitializeRequest = InitializeRequest;
|
|
340
|
-
type wire_InitializeResult = InitializeResult;
|
|
341
|
-
type wire_JsonValue = JsonValue;
|
|
342
|
-
type wire_OutcomeResult = OutcomeResult;
|
|
343
|
-
type wire_OutcomeScoreComponent = OutcomeScoreComponent;
|
|
344
|
-
type wire_OutcomeStanding = OutcomeStanding;
|
|
345
|
-
type wire_OutcomeTieBreak = OutcomeTieBreak;
|
|
346
|
-
type wire_ProjectRequest = ProjectRequest;
|
|
347
|
-
type wire_ProjectionTimingMetadata = ProjectionTimingMetadata;
|
|
348
|
-
type wire_ReduceRequest = ReduceRequest;
|
|
349
|
-
type wire_ReduceResult = ReduceResult;
|
|
350
|
-
type wire_ReduceResultAccept = ReduceResultAccept;
|
|
351
|
-
type wire_ReduceResultReject = ReduceResultReject;
|
|
352
|
-
type wire_ReducerContractVersion = ReducerContractVersion;
|
|
353
|
-
type wire_ReducerDomainState = ReducerDomainState;
|
|
354
|
-
type wire_ReducerFlowState = ReducerFlowState;
|
|
355
|
-
type wire_ReducerInputValidationResult = ReducerInputValidationResult;
|
|
356
|
-
type wire_ReducerRuntimeLogEntry = ReducerRuntimeLogEntry;
|
|
357
|
-
type wire_ReducerRuntimeLogEntryAcceptedClientInput = ReducerRuntimeLogEntryAcceptedClientInput;
|
|
358
|
-
type wire_ReducerRuntimeLogEntryAppliedEffect = ReducerRuntimeLogEntryAppliedEffect;
|
|
359
|
-
type wire_ReducerRuntimeLogEntryRngConsumption = ReducerRuntimeLogEntryRngConsumption;
|
|
360
|
-
type wire_ReducerRuntimeLogEntryStateCommit = ReducerRuntimeLogEntryStateCommit;
|
|
361
|
-
type wire_ReducerRuntimeState = ReducerRuntimeState;
|
|
362
|
-
type wire_ReducerSessionMeta = ReducerSessionMeta;
|
|
363
|
-
type wire_ReducerSessionState = ReducerSessionState;
|
|
364
|
-
type wire_ReducerSetupSelection = ReducerSetupSelection;
|
|
365
|
-
type wire_RngDraw = RngDraw;
|
|
366
|
-
type wire_RngOperation = RngOperation;
|
|
367
|
-
type wire_RngOperationParameter = RngOperationParameter;
|
|
368
|
-
type wire_RngState = RngState;
|
|
369
|
-
type wire_RuntimeSimultaneousCurrent = RuntimeSimultaneousCurrent;
|
|
370
|
-
type wire_RuntimeSimultaneousState = RuntimeSimultaneousState;
|
|
371
|
-
type wire_RuntimeSimultaneousSubmission = RuntimeSimultaneousSubmission;
|
|
372
|
-
type wire_SchedulerContinuationDependency = SchedulerContinuationDependency;
|
|
373
|
-
type wire_SchedulerFlowAuthorityProjection = SchedulerFlowAuthorityProjection;
|
|
374
|
-
type wire_SeatProjection = SeatProjection;
|
|
375
|
-
type wire_SeatProjectionBundle = SeatProjectionBundle;
|
|
376
|
-
type wire_SetupGuidanceStep = SetupGuidanceStep;
|
|
377
|
-
type wire_SimultaneousPhaseProjection = SimultaneousPhaseProjection;
|
|
378
|
-
type wire_SystemActionEvent = SystemActionEvent;
|
|
379
|
-
type wire_TransitionRecord = TransitionRecord;
|
|
380
|
-
type wire_ValidateInputRequest = ValidateInputRequest;
|
|
381
|
-
declare namespace wire {
|
|
382
|
-
export type { wire_BoardStaticProjection as BoardStaticProjection, wire_ContinuationMap as ContinuationMap, wire_ContinuationToken as ContinuationToken, wire_DispatchRequest as DispatchRequest, wire_DispatchResult as DispatchResult, wire_DispatchResultAccept as DispatchResultAccept, wire_DispatchResultReject as DispatchResultReject, wire_DispatchTrace as DispatchTrace, wire_DispatchTraceAcceptedClientInput as DispatchTraceAcceptedClientInput, wire_DispatchTraceAppliedEffect as DispatchTraceAppliedEffect, wire_DispatchTraceRngConsumption as DispatchTraceRngConsumption, wire_Effect as Effect, wire_EffectId as EffectId, wire_EffectRollDie as EffectRollDie, wire_EffectShufflePlayerZone as EffectShufflePlayerZone, wire_EffectShuffleSharedZone as EffectShuffleSharedZone, wire_EffectTransition as EffectTransition, wire_GameEvent as GameEvent, wire_GameEventDetail as GameEventDetail, wire_GameGuidanceProjection as GameGuidanceProjection, wire_GameInput as GameInput, wire_GameInputInteraction as GameInputInteraction, wire_GameOutcome as GameOutcome, wire_GameOutcomeReason as GameOutcomeReason, wire_InitializePhaseRequest as InitializePhaseRequest, wire_InitializeRequest as InitializeRequest, wire_InitializeResult as InitializeResult, wire_JsonValue as JsonValue, wire_OutcomeResult as OutcomeResult, wire_OutcomeScoreComponent as OutcomeScoreComponent, wire_OutcomeStanding as OutcomeStanding, wire_OutcomeTieBreak as OutcomeTieBreak, wire_ProjectRequest as ProjectRequest, wire_ProjectionTimingMetadata as ProjectionTimingMetadata, wire_ReduceRequest as ReduceRequest, wire_ReduceResult as ReduceResult, wire_ReduceResultAccept as ReduceResultAccept, wire_ReduceResultReject as ReduceResultReject, wire_ReducerContractVersion as ReducerContractVersion, wire_ReducerDomainState as ReducerDomainState, wire_ReducerFlowState as ReducerFlowState, wire_ReducerInputValidationResult as ReducerInputValidationResult, wire_ReducerRuntimeLogEntry as ReducerRuntimeLogEntry, wire_ReducerRuntimeLogEntryAcceptedClientInput as ReducerRuntimeLogEntryAcceptedClientInput, wire_ReducerRuntimeLogEntryAppliedEffect as ReducerRuntimeLogEntryAppliedEffect, wire_ReducerRuntimeLogEntryRngConsumption as ReducerRuntimeLogEntryRngConsumption, wire_ReducerRuntimeLogEntryStateCommit as ReducerRuntimeLogEntryStateCommit, wire_ReducerRuntimeState as ReducerRuntimeState, wire_ReducerSessionMeta as ReducerSessionMeta, wire_ReducerSessionState as ReducerSessionState, wire_ReducerSetupSelection as ReducerSetupSelection, wire_RngDraw as RngDraw, wire_RngOperation as RngOperation, wire_RngOperationParameter as RngOperationParameter, wire_RngState as RngState, wire_RuntimeSimultaneousCurrent as RuntimeSimultaneousCurrent, wire_RuntimeSimultaneousState as RuntimeSimultaneousState, wire_RuntimeSimultaneousSubmission as RuntimeSimultaneousSubmission, wire_SchedulerContinuationDependency as SchedulerContinuationDependency, wire_SchedulerFlowAuthorityProjection as SchedulerFlowAuthorityProjection, wire_SeatProjection as SeatProjection, wire_SeatProjectionBundle as SeatProjectionBundle, wire_SetupGuidanceStep as SetupGuidanceStep, wire_SimultaneousPhaseProjection as SimultaneousPhaseProjection, wire_SystemActionEvent as SystemActionEvent, wire_TransitionRecord as TransitionRecord, wire_ValidateInputRequest as ValidateInputRequest };
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
declare const ReducerContractVersionSchema: z.ZodString;
|
|
386
|
-
declare const EffectIdSchema: z.ZodString;
|
|
387
|
-
declare const JsonValueSchema: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
388
|
-
declare const ContinuationTokenSchema: z.ZodObject<{
|
|
389
|
-
id: z.ZodString;
|
|
390
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
391
|
-
}, z.core.$strict>;
|
|
392
|
-
declare const ContinuationMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
393
|
-
id: z.ZodString;
|
|
394
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
395
|
-
}, z.core.$strict>>;
|
|
396
|
-
declare const ReducerSetupSelectionSchema: z.ZodObject<{
|
|
397
|
-
profileId: z.ZodString;
|
|
398
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
399
|
-
}, z.core.$strict>;
|
|
400
|
-
declare const RngOperationParameterSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
401
|
-
declare const RngOperationSchema: z.ZodObject<{
|
|
402
|
-
kind: z.ZodString;
|
|
403
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
404
|
-
}, z.core.$strict>;
|
|
405
|
-
declare const RngDrawSchema: z.ZodObject<{
|
|
406
|
-
index: z.ZodNumber;
|
|
407
|
-
cursorBefore: z.ZodNumber;
|
|
408
|
-
cursorAfter: z.ZodNumber;
|
|
409
|
-
operation: z.ZodObject<{
|
|
410
|
-
kind: z.ZodString;
|
|
411
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
412
|
-
}, z.core.$strict>;
|
|
413
|
-
}, z.core.$strict>;
|
|
414
|
-
declare const RngStateSchema: z.ZodObject<{
|
|
415
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
416
|
-
cursor: z.ZodNumber;
|
|
417
|
-
trace: z.ZodArray<z.ZodString>;
|
|
418
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
419
|
-
index: z.ZodNumber;
|
|
420
|
-
cursorBefore: z.ZodNumber;
|
|
421
|
-
cursorAfter: z.ZodNumber;
|
|
422
|
-
operation: z.ZodObject<{
|
|
423
|
-
kind: z.ZodString;
|
|
424
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
425
|
-
}, z.core.$strict>;
|
|
426
|
-
}, z.core.$strict>>>;
|
|
427
|
-
}, z.core.$strict>;
|
|
428
|
-
declare const ReducerFlowStateSchema: z.ZodObject<{
|
|
429
|
-
currentPhase: z.ZodString;
|
|
430
|
-
turn: z.ZodNumber;
|
|
431
|
-
round: z.ZodNumber;
|
|
432
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
433
|
-
}, z.core.$strict>;
|
|
434
|
-
declare const RuntimeSimultaneousSubmissionSchema: z.ZodObject<{
|
|
435
|
-
interactionId: z.ZodString;
|
|
436
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
437
|
-
}, z.core.$strict>;
|
|
438
|
-
declare const RuntimeSimultaneousCurrentSchema: z.ZodObject<{
|
|
439
|
-
phaseName: z.ZodString;
|
|
440
|
-
actors: z.ZodArray<z.ZodString>;
|
|
441
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
442
|
-
interactionId: z.ZodString;
|
|
443
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
444
|
-
}, z.core.$strict>>;
|
|
445
|
-
}, z.core.$strict>;
|
|
446
|
-
declare const RuntimeSimultaneousStateSchema: z.ZodObject<{
|
|
447
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
448
|
-
phaseName: z.ZodString;
|
|
449
|
-
actors: z.ZodArray<z.ZodString>;
|
|
450
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
451
|
-
interactionId: z.ZodString;
|
|
452
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
453
|
-
}, z.core.$strict>>;
|
|
454
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
455
|
-
}, z.core.$strict>;
|
|
456
|
-
declare const TransitionRecordSchema: z.ZodObject<{
|
|
457
|
-
from: z.ZodString;
|
|
458
|
-
to: z.ZodString;
|
|
459
|
-
}, z.core.$strict>;
|
|
460
|
-
declare const ReducerRuntimeStateSchema: z.ZodObject<{
|
|
461
|
-
rng: z.ZodObject<{
|
|
462
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
463
|
-
cursor: z.ZodNumber;
|
|
464
|
-
trace: z.ZodArray<z.ZodString>;
|
|
465
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
466
|
-
index: z.ZodNumber;
|
|
467
|
-
cursorBefore: z.ZodNumber;
|
|
468
|
-
cursorAfter: z.ZodNumber;
|
|
469
|
-
operation: z.ZodObject<{
|
|
470
|
-
kind: z.ZodString;
|
|
471
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
472
|
-
}, z.core.$strict>;
|
|
473
|
-
}, z.core.$strict>>>;
|
|
474
|
-
}, z.core.$strict>;
|
|
475
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
476
|
-
profileId: z.ZodString;
|
|
477
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
478
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
479
|
-
simultaneous: z.ZodObject<{
|
|
480
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
481
|
-
phaseName: z.ZodString;
|
|
482
|
-
actors: z.ZodArray<z.ZodString>;
|
|
483
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
484
|
-
interactionId: z.ZodString;
|
|
485
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
486
|
-
}, z.core.$strict>>;
|
|
487
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
488
|
-
}, z.core.$strict>;
|
|
489
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
490
|
-
from: z.ZodString;
|
|
491
|
-
to: z.ZodString;
|
|
492
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
493
|
-
}, z.core.$strict>;
|
|
494
|
-
declare const ReducerDomainStateSchema: z.ZodObject<{
|
|
495
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
496
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
497
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
498
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
499
|
-
flow: z.ZodObject<{
|
|
500
|
-
currentPhase: z.ZodString;
|
|
501
|
-
turn: z.ZodNumber;
|
|
502
|
-
round: z.ZodNumber;
|
|
503
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
504
|
-
}, z.core.$strict>;
|
|
505
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
506
|
-
}, z.core.$strict>;
|
|
507
|
-
declare const ReducerSessionMetaSchema: z.ZodObject<{
|
|
508
|
-
contractFingerprint: z.ZodString;
|
|
509
|
-
}, z.core.$strict>;
|
|
510
|
-
declare const ReducerSessionStateSchema: z.ZodObject<{
|
|
511
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
512
|
-
contractFingerprint: z.ZodString;
|
|
513
|
-
}, z.core.$strict>>;
|
|
514
|
-
domain: z.ZodObject<{
|
|
515
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
516
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
517
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
518
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
519
|
-
flow: z.ZodObject<{
|
|
520
|
-
currentPhase: z.ZodString;
|
|
521
|
-
turn: z.ZodNumber;
|
|
522
|
-
round: z.ZodNumber;
|
|
523
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
524
|
-
}, z.core.$strict>;
|
|
525
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
526
|
-
}, z.core.$strict>;
|
|
527
|
-
runtime: z.ZodObject<{
|
|
528
|
-
rng: z.ZodObject<{
|
|
529
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
530
|
-
cursor: z.ZodNumber;
|
|
531
|
-
trace: z.ZodArray<z.ZodString>;
|
|
532
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
533
|
-
index: z.ZodNumber;
|
|
534
|
-
cursorBefore: z.ZodNumber;
|
|
535
|
-
cursorAfter: z.ZodNumber;
|
|
536
|
-
operation: z.ZodObject<{
|
|
537
|
-
kind: z.ZodString;
|
|
538
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
539
|
-
}, z.core.$strict>;
|
|
540
|
-
}, z.core.$strict>>>;
|
|
541
|
-
}, z.core.$strict>;
|
|
542
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
543
|
-
profileId: z.ZodString;
|
|
544
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
545
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
546
|
-
simultaneous: z.ZodObject<{
|
|
547
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
548
|
-
phaseName: z.ZodString;
|
|
549
|
-
actors: z.ZodArray<z.ZodString>;
|
|
550
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
551
|
-
interactionId: z.ZodString;
|
|
552
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
553
|
-
}, z.core.$strict>>;
|
|
554
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
555
|
-
}, z.core.$strict>;
|
|
556
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
557
|
-
from: z.ZodString;
|
|
558
|
-
to: z.ZodString;
|
|
559
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
560
|
-
}, z.core.$strict>;
|
|
561
|
-
}, z.core.$strict>;
|
|
562
|
-
declare const GameInputInteractionSchema: z.ZodObject<{
|
|
563
|
-
kind: z.ZodLiteral<"interaction">;
|
|
564
|
-
playerId: z.ZodString;
|
|
565
|
-
interactionId: z.ZodString;
|
|
566
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
567
|
-
}, z.core.$strict>;
|
|
568
|
-
declare const GameInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
569
|
-
kind: z.ZodLiteral<"interaction">;
|
|
570
|
-
playerId: z.ZodString;
|
|
571
|
-
interactionId: z.ZodString;
|
|
572
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
573
|
-
}, z.core.$strict>], "kind">;
|
|
574
|
-
declare const EffectTransitionSchema: z.ZodObject<{
|
|
575
|
-
effectId: z.ZodString;
|
|
576
|
-
type: z.ZodLiteral<"transition">;
|
|
577
|
-
to: z.ZodString;
|
|
578
|
-
}, z.core.$strict>;
|
|
579
|
-
declare const EffectRollDieSchema: z.ZodObject<{
|
|
580
|
-
effectId: z.ZodString;
|
|
581
|
-
type: z.ZodLiteral<"rollDie">;
|
|
582
|
-
dieId: z.ZodString;
|
|
583
|
-
}, z.core.$strict>;
|
|
584
|
-
declare const EffectShuffleSharedZoneSchema: z.ZodObject<{
|
|
585
|
-
effectId: z.ZodString;
|
|
586
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
587
|
-
zoneId: z.ZodString;
|
|
588
|
-
}, z.core.$strict>;
|
|
589
|
-
declare const EffectShufflePlayerZoneSchema: z.ZodObject<{
|
|
590
|
-
effectId: z.ZodString;
|
|
591
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
592
|
-
zoneId: z.ZodString;
|
|
593
|
-
playerId: z.ZodString;
|
|
594
|
-
}, z.core.$strict>;
|
|
595
|
-
declare const EffectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
596
|
-
effectId: z.ZodString;
|
|
597
|
-
type: z.ZodLiteral<"transition">;
|
|
598
|
-
to: z.ZodString;
|
|
599
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
600
|
-
effectId: z.ZodString;
|
|
601
|
-
type: z.ZodLiteral<"rollDie">;
|
|
602
|
-
dieId: z.ZodString;
|
|
603
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
604
|
-
effectId: z.ZodString;
|
|
605
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
606
|
-
zoneId: z.ZodString;
|
|
607
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
608
|
-
effectId: z.ZodString;
|
|
609
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
610
|
-
zoneId: z.ZodString;
|
|
611
|
-
playerId: z.ZodString;
|
|
612
|
-
}, z.core.$strict>], "type">;
|
|
613
|
-
declare const ReducerInputValidationResultSchema: z.ZodObject<{
|
|
614
|
-
valid: z.ZodBoolean;
|
|
615
|
-
errorCode: z.ZodOptional<z.ZodString>;
|
|
616
|
-
message: z.ZodOptional<z.ZodString>;
|
|
617
|
-
}, z.core.$strict>;
|
|
618
|
-
declare const GameOutcomeReasonSchema: z.ZodObject<{
|
|
619
|
-
code: z.ZodString;
|
|
620
|
-
message: z.ZodOptional<z.ZodString>;
|
|
621
|
-
}, z.core.$strict>;
|
|
622
|
-
declare const OutcomeResultSchema: z.ZodEnum<{
|
|
623
|
-
win: "win";
|
|
624
|
-
draw: "draw";
|
|
625
|
-
loss: "loss";
|
|
626
|
-
eliminated: "eliminated";
|
|
627
|
-
}>;
|
|
628
|
-
declare const OutcomeScoreComponentSchema: z.ZodObject<{
|
|
629
|
-
id: z.ZodString;
|
|
630
|
-
label: z.ZodString;
|
|
631
|
-
value: z.ZodNumber;
|
|
632
|
-
}, z.core.$strict>;
|
|
633
|
-
declare const OutcomeTieBreakSchema: z.ZodObject<{
|
|
634
|
-
id: z.ZodString;
|
|
635
|
-
label: z.ZodString;
|
|
636
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
637
|
-
}, z.core.$strict>;
|
|
638
|
-
declare const OutcomeStandingSchema: z.ZodObject<{
|
|
639
|
-
playerId: z.ZodString;
|
|
640
|
-
rank: z.ZodNumber;
|
|
641
|
-
result: z.ZodEnum<{
|
|
642
|
-
win: "win";
|
|
643
|
-
draw: "draw";
|
|
644
|
-
loss: "loss";
|
|
645
|
-
eliminated: "eliminated";
|
|
646
|
-
}>;
|
|
647
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
648
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
649
|
-
id: z.ZodString;
|
|
650
|
-
label: z.ZodString;
|
|
651
|
-
value: z.ZodNumber;
|
|
652
|
-
}, z.core.$strict>>>;
|
|
653
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
654
|
-
id: z.ZodString;
|
|
655
|
-
label: z.ZodString;
|
|
656
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
657
|
-
}, z.core.$strict>>>;
|
|
658
|
-
}, z.core.$strict>;
|
|
659
|
-
declare const GameOutcomeSchema: z.ZodObject<{
|
|
660
|
-
reason: z.ZodObject<{
|
|
661
|
-
code: z.ZodString;
|
|
662
|
-
message: z.ZodOptional<z.ZodString>;
|
|
663
|
-
}, z.core.$strict>;
|
|
664
|
-
standings: z.ZodArray<z.ZodObject<{
|
|
665
|
-
playerId: z.ZodString;
|
|
666
|
-
rank: z.ZodNumber;
|
|
667
|
-
result: z.ZodEnum<{
|
|
668
|
-
win: "win";
|
|
669
|
-
draw: "draw";
|
|
670
|
-
loss: "loss";
|
|
671
|
-
eliminated: "eliminated";
|
|
672
|
-
}>;
|
|
673
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
674
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
675
|
-
id: z.ZodString;
|
|
676
|
-
label: z.ZodString;
|
|
677
|
-
value: z.ZodNumber;
|
|
678
|
-
}, z.core.$strict>>>;
|
|
679
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
680
|
-
id: z.ZodString;
|
|
681
|
-
label: z.ZodString;
|
|
682
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
683
|
-
}, z.core.$strict>>>;
|
|
684
|
-
}, z.core.$strict>>;
|
|
685
|
-
}, z.core.$strict>;
|
|
686
|
-
declare const GameEventDetailSchema: z.ZodObject<{
|
|
687
|
-
label: z.ZodString;
|
|
688
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
689
|
-
}, z.core.$strict>;
|
|
690
|
-
declare const SystemActionEventSchema: z.ZodObject<{
|
|
691
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
692
|
-
procedureId: z.ZodString;
|
|
693
|
-
title: z.ZodString;
|
|
694
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
695
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
696
|
-
label: z.ZodString;
|
|
697
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
698
|
-
}, z.core.$strict>>>;
|
|
699
|
-
}, z.core.$strict>;
|
|
700
|
-
declare const GameEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
701
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
702
|
-
procedureId: z.ZodString;
|
|
703
|
-
title: z.ZodString;
|
|
704
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
705
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
706
|
-
label: z.ZodString;
|
|
707
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
708
|
-
}, z.core.$strict>>>;
|
|
709
|
-
}, z.core.$strict>], "kind">;
|
|
710
|
-
declare const InitializeResultSchema: z.ZodObject<{
|
|
711
|
-
state: z.ZodObject<{
|
|
712
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
713
|
-
contractFingerprint: z.ZodString;
|
|
714
|
-
}, z.core.$strict>>;
|
|
715
|
-
domain: z.ZodObject<{
|
|
716
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
717
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
718
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
719
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
720
|
-
flow: z.ZodObject<{
|
|
721
|
-
currentPhase: z.ZodString;
|
|
722
|
-
turn: z.ZodNumber;
|
|
723
|
-
round: z.ZodNumber;
|
|
724
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
725
|
-
}, z.core.$strict>;
|
|
726
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
727
|
-
}, z.core.$strict>;
|
|
728
|
-
runtime: z.ZodObject<{
|
|
729
|
-
rng: z.ZodObject<{
|
|
730
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
731
|
-
cursor: z.ZodNumber;
|
|
732
|
-
trace: z.ZodArray<z.ZodString>;
|
|
733
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
734
|
-
index: z.ZodNumber;
|
|
735
|
-
cursorBefore: z.ZodNumber;
|
|
736
|
-
cursorAfter: z.ZodNumber;
|
|
737
|
-
operation: z.ZodObject<{
|
|
738
|
-
kind: z.ZodString;
|
|
739
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
740
|
-
}, z.core.$strict>;
|
|
741
|
-
}, z.core.$strict>>>;
|
|
742
|
-
}, z.core.$strict>;
|
|
743
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
744
|
-
profileId: z.ZodString;
|
|
745
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
746
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
747
|
-
simultaneous: z.ZodObject<{
|
|
748
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
749
|
-
phaseName: z.ZodString;
|
|
750
|
-
actors: z.ZodArray<z.ZodString>;
|
|
751
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
752
|
-
interactionId: z.ZodString;
|
|
753
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
754
|
-
}, z.core.$strict>>;
|
|
755
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
756
|
-
}, z.core.$strict>;
|
|
757
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
758
|
-
from: z.ZodString;
|
|
759
|
-
to: z.ZodString;
|
|
760
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
761
|
-
}, z.core.$strict>;
|
|
762
|
-
}, z.core.$strict>;
|
|
763
|
-
terminal: z.ZodOptional<z.ZodObject<{
|
|
764
|
-
reason: z.ZodObject<{
|
|
765
|
-
code: z.ZodString;
|
|
766
|
-
message: z.ZodOptional<z.ZodString>;
|
|
767
|
-
}, z.core.$strict>;
|
|
768
|
-
standings: z.ZodArray<z.ZodObject<{
|
|
769
|
-
playerId: z.ZodString;
|
|
770
|
-
rank: z.ZodNumber;
|
|
771
|
-
result: z.ZodEnum<{
|
|
772
|
-
win: "win";
|
|
773
|
-
draw: "draw";
|
|
774
|
-
loss: "loss";
|
|
775
|
-
eliminated: "eliminated";
|
|
776
|
-
}>;
|
|
777
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
778
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
779
|
-
id: z.ZodString;
|
|
780
|
-
label: z.ZodString;
|
|
781
|
-
value: z.ZodNumber;
|
|
782
|
-
}, z.core.$strict>>>;
|
|
783
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
784
|
-
id: z.ZodString;
|
|
785
|
-
label: z.ZodString;
|
|
786
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
787
|
-
}, z.core.$strict>>>;
|
|
788
|
-
}, z.core.$strict>>;
|
|
789
|
-
}, z.core.$strict>>;
|
|
790
|
-
events: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
791
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
792
|
-
procedureId: z.ZodString;
|
|
793
|
-
title: z.ZodString;
|
|
794
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
795
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
796
|
-
label: z.ZodString;
|
|
797
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
798
|
-
}, z.core.$strict>>>;
|
|
799
|
-
}, z.core.$strict>], "kind">>>;
|
|
800
|
-
}, z.core.$strict>;
|
|
801
|
-
declare const InitializeRequestSchema: z.ZodObject<{
|
|
802
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
803
|
-
playerIds: z.ZodArray<z.ZodString>;
|
|
804
|
-
rngSeed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
805
|
-
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
806
|
-
profileId: z.ZodString;
|
|
807
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
808
|
-
}, z.core.$strict>, z.ZodNull]>>;
|
|
809
|
-
}, z.core.$strict>;
|
|
810
|
-
declare const InitializePhaseRequestSchema: z.ZodObject<{
|
|
811
|
-
state: z.ZodObject<{
|
|
812
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
813
|
-
contractFingerprint: z.ZodString;
|
|
814
|
-
}, z.core.$strict>>;
|
|
815
|
-
domain: z.ZodObject<{
|
|
816
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
817
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
818
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
819
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
820
|
-
flow: z.ZodObject<{
|
|
821
|
-
currentPhase: z.ZodString;
|
|
822
|
-
turn: z.ZodNumber;
|
|
823
|
-
round: z.ZodNumber;
|
|
824
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
825
|
-
}, z.core.$strict>;
|
|
826
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
827
|
-
}, z.core.$strict>;
|
|
828
|
-
runtime: z.ZodObject<{
|
|
829
|
-
rng: z.ZodObject<{
|
|
830
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
831
|
-
cursor: z.ZodNumber;
|
|
832
|
-
trace: z.ZodArray<z.ZodString>;
|
|
833
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
834
|
-
index: z.ZodNumber;
|
|
835
|
-
cursorBefore: z.ZodNumber;
|
|
836
|
-
cursorAfter: z.ZodNumber;
|
|
837
|
-
operation: z.ZodObject<{
|
|
838
|
-
kind: z.ZodString;
|
|
839
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
840
|
-
}, z.core.$strict>;
|
|
841
|
-
}, z.core.$strict>>>;
|
|
842
|
-
}, z.core.$strict>;
|
|
843
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
844
|
-
profileId: z.ZodString;
|
|
845
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
846
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
847
|
-
simultaneous: z.ZodObject<{
|
|
848
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
849
|
-
phaseName: z.ZodString;
|
|
850
|
-
actors: z.ZodArray<z.ZodString>;
|
|
851
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
852
|
-
interactionId: z.ZodString;
|
|
853
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
854
|
-
}, z.core.$strict>>;
|
|
855
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
856
|
-
}, z.core.$strict>;
|
|
857
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
858
|
-
from: z.ZodString;
|
|
859
|
-
to: z.ZodString;
|
|
860
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
861
|
-
}, z.core.$strict>;
|
|
862
|
-
}, z.core.$strict>;
|
|
863
|
-
to: z.ZodString;
|
|
864
|
-
}, z.core.$strict>;
|
|
865
|
-
declare const ValidateInputRequestSchema: z.ZodObject<{
|
|
866
|
-
state: z.ZodObject<{
|
|
867
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
868
|
-
contractFingerprint: z.ZodString;
|
|
869
|
-
}, z.core.$strict>>;
|
|
870
|
-
domain: z.ZodObject<{
|
|
871
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
872
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
873
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
874
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
875
|
-
flow: z.ZodObject<{
|
|
876
|
-
currentPhase: z.ZodString;
|
|
877
|
-
turn: z.ZodNumber;
|
|
878
|
-
round: z.ZodNumber;
|
|
879
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
880
|
-
}, z.core.$strict>;
|
|
881
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
882
|
-
}, z.core.$strict>;
|
|
883
|
-
runtime: z.ZodObject<{
|
|
884
|
-
rng: z.ZodObject<{
|
|
885
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
886
|
-
cursor: z.ZodNumber;
|
|
887
|
-
trace: z.ZodArray<z.ZodString>;
|
|
888
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
889
|
-
index: z.ZodNumber;
|
|
890
|
-
cursorBefore: z.ZodNumber;
|
|
891
|
-
cursorAfter: z.ZodNumber;
|
|
892
|
-
operation: z.ZodObject<{
|
|
893
|
-
kind: z.ZodString;
|
|
894
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
895
|
-
}, z.core.$strict>;
|
|
896
|
-
}, z.core.$strict>>>;
|
|
897
|
-
}, z.core.$strict>;
|
|
898
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
899
|
-
profileId: z.ZodString;
|
|
900
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
901
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
902
|
-
simultaneous: z.ZodObject<{
|
|
903
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
904
|
-
phaseName: z.ZodString;
|
|
905
|
-
actors: z.ZodArray<z.ZodString>;
|
|
906
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
907
|
-
interactionId: z.ZodString;
|
|
908
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
909
|
-
}, z.core.$strict>>;
|
|
910
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
911
|
-
}, z.core.$strict>;
|
|
912
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
913
|
-
from: z.ZodString;
|
|
914
|
-
to: z.ZodString;
|
|
915
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
916
|
-
}, z.core.$strict>;
|
|
917
|
-
}, z.core.$strict>;
|
|
918
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
919
|
-
kind: z.ZodLiteral<"interaction">;
|
|
920
|
-
playerId: z.ZodString;
|
|
921
|
-
interactionId: z.ZodString;
|
|
922
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
923
|
-
}, z.core.$strict>], "kind">;
|
|
924
|
-
}, z.core.$strict>;
|
|
925
|
-
declare const ReduceRequestSchema: z.ZodObject<{
|
|
926
|
-
state: z.ZodObject<{
|
|
927
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
928
|
-
contractFingerprint: z.ZodString;
|
|
929
|
-
}, z.core.$strict>>;
|
|
930
|
-
domain: z.ZodObject<{
|
|
931
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
932
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
933
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
934
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
935
|
-
flow: z.ZodObject<{
|
|
936
|
-
currentPhase: z.ZodString;
|
|
937
|
-
turn: z.ZodNumber;
|
|
938
|
-
round: z.ZodNumber;
|
|
939
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
940
|
-
}, z.core.$strict>;
|
|
941
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
942
|
-
}, z.core.$strict>;
|
|
943
|
-
runtime: z.ZodObject<{
|
|
944
|
-
rng: z.ZodObject<{
|
|
945
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
946
|
-
cursor: z.ZodNumber;
|
|
947
|
-
trace: z.ZodArray<z.ZodString>;
|
|
948
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
949
|
-
index: z.ZodNumber;
|
|
950
|
-
cursorBefore: z.ZodNumber;
|
|
951
|
-
cursorAfter: z.ZodNumber;
|
|
952
|
-
operation: z.ZodObject<{
|
|
953
|
-
kind: z.ZodString;
|
|
954
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
955
|
-
}, z.core.$strict>;
|
|
956
|
-
}, z.core.$strict>>>;
|
|
957
|
-
}, z.core.$strict>;
|
|
958
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
959
|
-
profileId: z.ZodString;
|
|
960
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
961
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
962
|
-
simultaneous: z.ZodObject<{
|
|
963
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
964
|
-
phaseName: z.ZodString;
|
|
965
|
-
actors: z.ZodArray<z.ZodString>;
|
|
966
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
967
|
-
interactionId: z.ZodString;
|
|
968
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
969
|
-
}, z.core.$strict>>;
|
|
970
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
971
|
-
}, z.core.$strict>;
|
|
972
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
973
|
-
from: z.ZodString;
|
|
974
|
-
to: z.ZodString;
|
|
975
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
976
|
-
}, z.core.$strict>;
|
|
977
|
-
}, z.core.$strict>;
|
|
978
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
979
|
-
kind: z.ZodLiteral<"interaction">;
|
|
980
|
-
playerId: z.ZodString;
|
|
981
|
-
interactionId: z.ZodString;
|
|
982
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
983
|
-
}, z.core.$strict>], "kind">;
|
|
984
|
-
}, z.core.$strict>;
|
|
985
|
-
declare const DispatchRequestSchema: z.ZodObject<{
|
|
986
|
-
state: z.ZodObject<{
|
|
987
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
988
|
-
contractFingerprint: z.ZodString;
|
|
989
|
-
}, z.core.$strict>>;
|
|
990
|
-
domain: z.ZodObject<{
|
|
991
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
992
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
993
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
994
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
995
|
-
flow: z.ZodObject<{
|
|
996
|
-
currentPhase: z.ZodString;
|
|
997
|
-
turn: z.ZodNumber;
|
|
998
|
-
round: z.ZodNumber;
|
|
999
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1000
|
-
}, z.core.$strict>;
|
|
1001
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1002
|
-
}, z.core.$strict>;
|
|
1003
|
-
runtime: z.ZodObject<{
|
|
1004
|
-
rng: z.ZodObject<{
|
|
1005
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1006
|
-
cursor: z.ZodNumber;
|
|
1007
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1008
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1009
|
-
index: z.ZodNumber;
|
|
1010
|
-
cursorBefore: z.ZodNumber;
|
|
1011
|
-
cursorAfter: z.ZodNumber;
|
|
1012
|
-
operation: z.ZodObject<{
|
|
1013
|
-
kind: z.ZodString;
|
|
1014
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1015
|
-
}, z.core.$strict>;
|
|
1016
|
-
}, z.core.$strict>>>;
|
|
1017
|
-
}, z.core.$strict>;
|
|
1018
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1019
|
-
profileId: z.ZodString;
|
|
1020
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1021
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1022
|
-
simultaneous: z.ZodObject<{
|
|
1023
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1024
|
-
phaseName: z.ZodString;
|
|
1025
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1026
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1027
|
-
interactionId: z.ZodString;
|
|
1028
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1029
|
-
}, z.core.$strict>>;
|
|
1030
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1031
|
-
}, z.core.$strict>;
|
|
1032
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1033
|
-
from: z.ZodString;
|
|
1034
|
-
to: z.ZodString;
|
|
1035
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1036
|
-
}, z.core.$strict>;
|
|
1037
|
-
}, z.core.$strict>;
|
|
1038
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1039
|
-
kind: z.ZodLiteral<"interaction">;
|
|
1040
|
-
playerId: z.ZodString;
|
|
1041
|
-
interactionId: z.ZodString;
|
|
1042
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1043
|
-
}, z.core.$strict>], "kind">;
|
|
1044
|
-
}, z.core.$strict>;
|
|
1045
|
-
declare const ReduceResultRejectSchema: z.ZodObject<{
|
|
1046
|
-
kind: z.ZodLiteral<"reject">;
|
|
1047
|
-
errorCode: z.ZodString;
|
|
1048
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1049
|
-
}, z.core.$strict>;
|
|
1050
|
-
declare const ReduceResultAcceptSchema: z.ZodObject<{
|
|
1051
|
-
kind: z.ZodLiteral<"accept">;
|
|
1052
|
-
state: z.ZodObject<{
|
|
1053
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1054
|
-
contractFingerprint: z.ZodString;
|
|
1055
|
-
}, z.core.$strict>>;
|
|
1056
|
-
domain: z.ZodObject<{
|
|
1057
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1058
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1059
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1060
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1061
|
-
flow: z.ZodObject<{
|
|
1062
|
-
currentPhase: z.ZodString;
|
|
1063
|
-
turn: z.ZodNumber;
|
|
1064
|
-
round: z.ZodNumber;
|
|
1065
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1066
|
-
}, z.core.$strict>;
|
|
1067
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1068
|
-
}, z.core.$strict>;
|
|
1069
|
-
runtime: z.ZodObject<{
|
|
1070
|
-
rng: z.ZodObject<{
|
|
1071
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1072
|
-
cursor: z.ZodNumber;
|
|
1073
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1074
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1075
|
-
index: z.ZodNumber;
|
|
1076
|
-
cursorBefore: z.ZodNumber;
|
|
1077
|
-
cursorAfter: z.ZodNumber;
|
|
1078
|
-
operation: z.ZodObject<{
|
|
1079
|
-
kind: z.ZodString;
|
|
1080
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1081
|
-
}, z.core.$strict>;
|
|
1082
|
-
}, z.core.$strict>>>;
|
|
1083
|
-
}, z.core.$strict>;
|
|
1084
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1085
|
-
profileId: z.ZodString;
|
|
1086
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1087
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1088
|
-
simultaneous: z.ZodObject<{
|
|
1089
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1090
|
-
phaseName: z.ZodString;
|
|
1091
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1092
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1093
|
-
interactionId: z.ZodString;
|
|
1094
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1095
|
-
}, z.core.$strict>>;
|
|
1096
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1097
|
-
}, z.core.$strict>;
|
|
1098
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1099
|
-
from: z.ZodString;
|
|
1100
|
-
to: z.ZodString;
|
|
1101
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1102
|
-
}, z.core.$strict>;
|
|
1103
|
-
}, z.core.$strict>;
|
|
1104
|
-
terminal: z.ZodOptional<z.ZodObject<{
|
|
1105
|
-
reason: z.ZodObject<{
|
|
1106
|
-
code: z.ZodString;
|
|
1107
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1108
|
-
}, z.core.$strict>;
|
|
1109
|
-
standings: z.ZodArray<z.ZodObject<{
|
|
1110
|
-
playerId: z.ZodString;
|
|
1111
|
-
rank: z.ZodNumber;
|
|
1112
|
-
result: z.ZodEnum<{
|
|
1113
|
-
win: "win";
|
|
1114
|
-
draw: "draw";
|
|
1115
|
-
loss: "loss";
|
|
1116
|
-
eliminated: "eliminated";
|
|
1117
|
-
}>;
|
|
1118
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1119
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1120
|
-
id: z.ZodString;
|
|
1121
|
-
label: z.ZodString;
|
|
1122
|
-
value: z.ZodNumber;
|
|
1123
|
-
}, z.core.$strict>>>;
|
|
1124
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1125
|
-
id: z.ZodString;
|
|
1126
|
-
label: z.ZodString;
|
|
1127
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1128
|
-
}, z.core.$strict>>>;
|
|
1129
|
-
}, z.core.$strict>>;
|
|
1130
|
-
}, z.core.$strict>>;
|
|
1131
|
-
effects: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1132
|
-
effectId: z.ZodString;
|
|
1133
|
-
type: z.ZodLiteral<"transition">;
|
|
1134
|
-
to: z.ZodString;
|
|
1135
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1136
|
-
effectId: z.ZodString;
|
|
1137
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1138
|
-
dieId: z.ZodString;
|
|
1139
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1140
|
-
effectId: z.ZodString;
|
|
1141
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1142
|
-
zoneId: z.ZodString;
|
|
1143
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1144
|
-
effectId: z.ZodString;
|
|
1145
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1146
|
-
zoneId: z.ZodString;
|
|
1147
|
-
playerId: z.ZodString;
|
|
1148
|
-
}, z.core.$strict>], "type">>;
|
|
1149
|
-
continuations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1150
|
-
id: z.ZodString;
|
|
1151
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1152
|
-
}, z.core.$strict>>;
|
|
1153
|
-
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1154
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
1155
|
-
procedureId: z.ZodString;
|
|
1156
|
-
title: z.ZodString;
|
|
1157
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1158
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1159
|
-
label: z.ZodString;
|
|
1160
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1161
|
-
}, z.core.$strict>>>;
|
|
1162
|
-
}, z.core.$strict>], "kind">>;
|
|
1163
|
-
}, z.core.$strict>;
|
|
1164
|
-
declare const ReduceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1165
|
-
kind: z.ZodLiteral<"reject">;
|
|
1166
|
-
errorCode: z.ZodString;
|
|
1167
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1168
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1169
|
-
kind: z.ZodLiteral<"accept">;
|
|
1170
|
-
state: z.ZodObject<{
|
|
1171
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1172
|
-
contractFingerprint: z.ZodString;
|
|
1173
|
-
}, z.core.$strict>>;
|
|
1174
|
-
domain: z.ZodObject<{
|
|
1175
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1176
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1177
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1178
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1179
|
-
flow: z.ZodObject<{
|
|
1180
|
-
currentPhase: z.ZodString;
|
|
1181
|
-
turn: z.ZodNumber;
|
|
1182
|
-
round: z.ZodNumber;
|
|
1183
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1184
|
-
}, z.core.$strict>;
|
|
1185
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1186
|
-
}, z.core.$strict>;
|
|
1187
|
-
runtime: z.ZodObject<{
|
|
1188
|
-
rng: z.ZodObject<{
|
|
1189
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1190
|
-
cursor: z.ZodNumber;
|
|
1191
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1192
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1193
|
-
index: z.ZodNumber;
|
|
1194
|
-
cursorBefore: z.ZodNumber;
|
|
1195
|
-
cursorAfter: z.ZodNumber;
|
|
1196
|
-
operation: z.ZodObject<{
|
|
1197
|
-
kind: z.ZodString;
|
|
1198
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1199
|
-
}, z.core.$strict>;
|
|
1200
|
-
}, z.core.$strict>>>;
|
|
1201
|
-
}, z.core.$strict>;
|
|
1202
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1203
|
-
profileId: z.ZodString;
|
|
1204
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1205
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1206
|
-
simultaneous: z.ZodObject<{
|
|
1207
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1208
|
-
phaseName: z.ZodString;
|
|
1209
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1210
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1211
|
-
interactionId: z.ZodString;
|
|
1212
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1213
|
-
}, z.core.$strict>>;
|
|
1214
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1215
|
-
}, z.core.$strict>;
|
|
1216
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1217
|
-
from: z.ZodString;
|
|
1218
|
-
to: z.ZodString;
|
|
1219
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1220
|
-
}, z.core.$strict>;
|
|
1221
|
-
}, z.core.$strict>;
|
|
1222
|
-
terminal: z.ZodOptional<z.ZodObject<{
|
|
1223
|
-
reason: z.ZodObject<{
|
|
1224
|
-
code: z.ZodString;
|
|
1225
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1226
|
-
}, z.core.$strict>;
|
|
1227
|
-
standings: z.ZodArray<z.ZodObject<{
|
|
1228
|
-
playerId: z.ZodString;
|
|
1229
|
-
rank: z.ZodNumber;
|
|
1230
|
-
result: z.ZodEnum<{
|
|
1231
|
-
win: "win";
|
|
1232
|
-
draw: "draw";
|
|
1233
|
-
loss: "loss";
|
|
1234
|
-
eliminated: "eliminated";
|
|
1235
|
-
}>;
|
|
1236
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1237
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1238
|
-
id: z.ZodString;
|
|
1239
|
-
label: z.ZodString;
|
|
1240
|
-
value: z.ZodNumber;
|
|
1241
|
-
}, z.core.$strict>>>;
|
|
1242
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1243
|
-
id: z.ZodString;
|
|
1244
|
-
label: z.ZodString;
|
|
1245
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1246
|
-
}, z.core.$strict>>>;
|
|
1247
|
-
}, z.core.$strict>>;
|
|
1248
|
-
}, z.core.$strict>>;
|
|
1249
|
-
effects: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1250
|
-
effectId: z.ZodString;
|
|
1251
|
-
type: z.ZodLiteral<"transition">;
|
|
1252
|
-
to: z.ZodString;
|
|
1253
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1254
|
-
effectId: z.ZodString;
|
|
1255
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1256
|
-
dieId: z.ZodString;
|
|
1257
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1258
|
-
effectId: z.ZodString;
|
|
1259
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1260
|
-
zoneId: z.ZodString;
|
|
1261
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1262
|
-
effectId: z.ZodString;
|
|
1263
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1264
|
-
zoneId: z.ZodString;
|
|
1265
|
-
playerId: z.ZodString;
|
|
1266
|
-
}, z.core.$strict>], "type">>;
|
|
1267
|
-
continuations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1268
|
-
id: z.ZodString;
|
|
1269
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1270
|
-
}, z.core.$strict>>;
|
|
1271
|
-
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1272
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
1273
|
-
procedureId: z.ZodString;
|
|
1274
|
-
title: z.ZodString;
|
|
1275
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1276
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1277
|
-
label: z.ZodString;
|
|
1278
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1279
|
-
}, z.core.$strict>>>;
|
|
1280
|
-
}, z.core.$strict>], "kind">>;
|
|
1281
|
-
}, z.core.$strict>], "kind">;
|
|
1282
|
-
declare const DispatchTraceAcceptedClientInputSchema: z.ZodObject<{
|
|
1283
|
-
kind: z.ZodLiteral<"acceptedClientInput">;
|
|
1284
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1285
|
-
kind: z.ZodLiteral<"interaction">;
|
|
1286
|
-
playerId: z.ZodString;
|
|
1287
|
-
interactionId: z.ZodString;
|
|
1288
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1289
|
-
}, z.core.$strict>], "kind">;
|
|
1290
|
-
}, z.core.$strict>;
|
|
1291
|
-
declare const DispatchTraceAppliedEffectSchema: z.ZodObject<{
|
|
1292
|
-
kind: z.ZodLiteral<"appliedEffect">;
|
|
1293
|
-
effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1294
|
-
effectId: z.ZodString;
|
|
1295
|
-
type: z.ZodLiteral<"transition">;
|
|
1296
|
-
to: z.ZodString;
|
|
1297
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1298
|
-
effectId: z.ZodString;
|
|
1299
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1300
|
-
dieId: z.ZodString;
|
|
1301
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1302
|
-
effectId: z.ZodString;
|
|
1303
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1304
|
-
zoneId: z.ZodString;
|
|
1305
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1306
|
-
effectId: z.ZodString;
|
|
1307
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1308
|
-
zoneId: z.ZodString;
|
|
1309
|
-
playerId: z.ZodString;
|
|
1310
|
-
}, z.core.$strict>], "type">;
|
|
1311
|
-
continuation: z.ZodOptional<z.ZodObject<{
|
|
1312
|
-
id: z.ZodString;
|
|
1313
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1314
|
-
}, z.core.$strict>>;
|
|
1315
|
-
}, z.core.$strict>;
|
|
1316
|
-
declare const DispatchTraceRngConsumptionSchema: z.ZodObject<{
|
|
1317
|
-
kind: z.ZodLiteral<"rngConsumption">;
|
|
1318
|
-
version: z.ZodLiteral<2>;
|
|
1319
|
-
operation: z.ZodString;
|
|
1320
|
-
drawIndex: z.ZodNumber;
|
|
1321
|
-
traceEntry: z.ZodString;
|
|
1322
|
-
}, z.core.$strict>;
|
|
1323
|
-
declare const DispatchTraceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1324
|
-
kind: z.ZodLiteral<"acceptedClientInput">;
|
|
1325
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1326
|
-
kind: z.ZodLiteral<"interaction">;
|
|
1327
|
-
playerId: z.ZodString;
|
|
1328
|
-
interactionId: z.ZodString;
|
|
1329
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1330
|
-
}, z.core.$strict>], "kind">;
|
|
1331
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1332
|
-
kind: z.ZodLiteral<"appliedEffect">;
|
|
1333
|
-
effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1334
|
-
effectId: z.ZodString;
|
|
1335
|
-
type: z.ZodLiteral<"transition">;
|
|
1336
|
-
to: z.ZodString;
|
|
1337
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1338
|
-
effectId: z.ZodString;
|
|
1339
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1340
|
-
dieId: z.ZodString;
|
|
1341
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1342
|
-
effectId: z.ZodString;
|
|
1343
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1344
|
-
zoneId: z.ZodString;
|
|
1345
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1346
|
-
effectId: z.ZodString;
|
|
1347
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1348
|
-
zoneId: z.ZodString;
|
|
1349
|
-
playerId: z.ZodString;
|
|
1350
|
-
}, z.core.$strict>], "type">;
|
|
1351
|
-
continuation: z.ZodOptional<z.ZodObject<{
|
|
1352
|
-
id: z.ZodString;
|
|
1353
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1354
|
-
}, z.core.$strict>>;
|
|
1355
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1356
|
-
kind: z.ZodLiteral<"rngConsumption">;
|
|
1357
|
-
version: z.ZodLiteral<2>;
|
|
1358
|
-
operation: z.ZodString;
|
|
1359
|
-
drawIndex: z.ZodNumber;
|
|
1360
|
-
traceEntry: z.ZodString;
|
|
1361
|
-
}, z.core.$strict>], "kind">;
|
|
1362
|
-
declare const DispatchResultRejectSchema: z.ZodObject<{
|
|
1363
|
-
kind: z.ZodLiteral<"reject">;
|
|
1364
|
-
errorCode: z.ZodString;
|
|
1365
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1366
|
-
}, z.core.$strict>;
|
|
1367
|
-
declare const DispatchResultAcceptSchema: z.ZodObject<{
|
|
1368
|
-
kind: z.ZodLiteral<"accept">;
|
|
1369
|
-
state: z.ZodObject<{
|
|
1370
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1371
|
-
contractFingerprint: z.ZodString;
|
|
1372
|
-
}, z.core.$strict>>;
|
|
1373
|
-
domain: z.ZodObject<{
|
|
1374
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1375
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1376
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1377
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1378
|
-
flow: z.ZodObject<{
|
|
1379
|
-
currentPhase: z.ZodString;
|
|
1380
|
-
turn: z.ZodNumber;
|
|
1381
|
-
round: z.ZodNumber;
|
|
1382
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1383
|
-
}, z.core.$strict>;
|
|
1384
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1385
|
-
}, z.core.$strict>;
|
|
1386
|
-
runtime: z.ZodObject<{
|
|
1387
|
-
rng: z.ZodObject<{
|
|
1388
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1389
|
-
cursor: z.ZodNumber;
|
|
1390
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1391
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1392
|
-
index: z.ZodNumber;
|
|
1393
|
-
cursorBefore: z.ZodNumber;
|
|
1394
|
-
cursorAfter: z.ZodNumber;
|
|
1395
|
-
operation: z.ZodObject<{
|
|
1396
|
-
kind: z.ZodString;
|
|
1397
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1398
|
-
}, z.core.$strict>;
|
|
1399
|
-
}, z.core.$strict>>>;
|
|
1400
|
-
}, z.core.$strict>;
|
|
1401
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1402
|
-
profileId: z.ZodString;
|
|
1403
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1404
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1405
|
-
simultaneous: z.ZodObject<{
|
|
1406
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1407
|
-
phaseName: z.ZodString;
|
|
1408
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1409
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1410
|
-
interactionId: z.ZodString;
|
|
1411
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1412
|
-
}, z.core.$strict>>;
|
|
1413
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1414
|
-
}, z.core.$strict>;
|
|
1415
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1416
|
-
from: z.ZodString;
|
|
1417
|
-
to: z.ZodString;
|
|
1418
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1419
|
-
}, z.core.$strict>;
|
|
1420
|
-
}, z.core.$strict>;
|
|
1421
|
-
terminal: z.ZodOptional<z.ZodObject<{
|
|
1422
|
-
reason: z.ZodObject<{
|
|
1423
|
-
code: z.ZodString;
|
|
1424
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1425
|
-
}, z.core.$strict>;
|
|
1426
|
-
standings: z.ZodArray<z.ZodObject<{
|
|
1427
|
-
playerId: z.ZodString;
|
|
1428
|
-
rank: z.ZodNumber;
|
|
1429
|
-
result: z.ZodEnum<{
|
|
1430
|
-
win: "win";
|
|
1431
|
-
draw: "draw";
|
|
1432
|
-
loss: "loss";
|
|
1433
|
-
eliminated: "eliminated";
|
|
1434
|
-
}>;
|
|
1435
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1436
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1437
|
-
id: z.ZodString;
|
|
1438
|
-
label: z.ZodString;
|
|
1439
|
-
value: z.ZodNumber;
|
|
1440
|
-
}, z.core.$strict>>>;
|
|
1441
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1442
|
-
id: z.ZodString;
|
|
1443
|
-
label: z.ZodString;
|
|
1444
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1445
|
-
}, z.core.$strict>>>;
|
|
1446
|
-
}, z.core.$strict>>;
|
|
1447
|
-
}, z.core.$strict>>;
|
|
1448
|
-
trace: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1449
|
-
kind: z.ZodLiteral<"acceptedClientInput">;
|
|
1450
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1451
|
-
kind: z.ZodLiteral<"interaction">;
|
|
1452
|
-
playerId: z.ZodString;
|
|
1453
|
-
interactionId: z.ZodString;
|
|
1454
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1455
|
-
}, z.core.$strict>], "kind">;
|
|
1456
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1457
|
-
kind: z.ZodLiteral<"appliedEffect">;
|
|
1458
|
-
effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1459
|
-
effectId: z.ZodString;
|
|
1460
|
-
type: z.ZodLiteral<"transition">;
|
|
1461
|
-
to: z.ZodString;
|
|
1462
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1463
|
-
effectId: z.ZodString;
|
|
1464
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1465
|
-
dieId: z.ZodString;
|
|
1466
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1467
|
-
effectId: z.ZodString;
|
|
1468
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1469
|
-
zoneId: z.ZodString;
|
|
1470
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1471
|
-
effectId: z.ZodString;
|
|
1472
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1473
|
-
zoneId: z.ZodString;
|
|
1474
|
-
playerId: z.ZodString;
|
|
1475
|
-
}, z.core.$strict>], "type">;
|
|
1476
|
-
continuation: z.ZodOptional<z.ZodObject<{
|
|
1477
|
-
id: z.ZodString;
|
|
1478
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1479
|
-
}, z.core.$strict>>;
|
|
1480
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1481
|
-
kind: z.ZodLiteral<"rngConsumption">;
|
|
1482
|
-
version: z.ZodLiteral<2>;
|
|
1483
|
-
operation: z.ZodString;
|
|
1484
|
-
drawIndex: z.ZodNumber;
|
|
1485
|
-
traceEntry: z.ZodString;
|
|
1486
|
-
}, z.core.$strict>], "kind">>;
|
|
1487
|
-
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1488
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
1489
|
-
procedureId: z.ZodString;
|
|
1490
|
-
title: z.ZodString;
|
|
1491
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1492
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1493
|
-
label: z.ZodString;
|
|
1494
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1495
|
-
}, z.core.$strict>>>;
|
|
1496
|
-
}, z.core.$strict>], "kind">>;
|
|
1497
|
-
}, z.core.$strict>;
|
|
1498
|
-
declare const DispatchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1499
|
-
kind: z.ZodLiteral<"reject">;
|
|
1500
|
-
errorCode: z.ZodString;
|
|
1501
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1502
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1503
|
-
kind: z.ZodLiteral<"accept">;
|
|
1504
|
-
state: z.ZodObject<{
|
|
1505
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1506
|
-
contractFingerprint: z.ZodString;
|
|
1507
|
-
}, z.core.$strict>>;
|
|
1508
|
-
domain: z.ZodObject<{
|
|
1509
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1510
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1511
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1512
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1513
|
-
flow: z.ZodObject<{
|
|
1514
|
-
currentPhase: z.ZodString;
|
|
1515
|
-
turn: z.ZodNumber;
|
|
1516
|
-
round: z.ZodNumber;
|
|
1517
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1518
|
-
}, z.core.$strict>;
|
|
1519
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1520
|
-
}, z.core.$strict>;
|
|
1521
|
-
runtime: z.ZodObject<{
|
|
1522
|
-
rng: z.ZodObject<{
|
|
1523
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1524
|
-
cursor: z.ZodNumber;
|
|
1525
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1526
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1527
|
-
index: z.ZodNumber;
|
|
1528
|
-
cursorBefore: z.ZodNumber;
|
|
1529
|
-
cursorAfter: z.ZodNumber;
|
|
1530
|
-
operation: z.ZodObject<{
|
|
1531
|
-
kind: z.ZodString;
|
|
1532
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1533
|
-
}, z.core.$strict>;
|
|
1534
|
-
}, z.core.$strict>>>;
|
|
1535
|
-
}, z.core.$strict>;
|
|
1536
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1537
|
-
profileId: z.ZodString;
|
|
1538
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1539
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1540
|
-
simultaneous: z.ZodObject<{
|
|
1541
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1542
|
-
phaseName: z.ZodString;
|
|
1543
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1544
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1545
|
-
interactionId: z.ZodString;
|
|
1546
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1547
|
-
}, z.core.$strict>>;
|
|
1548
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1549
|
-
}, z.core.$strict>;
|
|
1550
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1551
|
-
from: z.ZodString;
|
|
1552
|
-
to: z.ZodString;
|
|
1553
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1554
|
-
}, z.core.$strict>;
|
|
1555
|
-
}, z.core.$strict>;
|
|
1556
|
-
terminal: z.ZodOptional<z.ZodObject<{
|
|
1557
|
-
reason: z.ZodObject<{
|
|
1558
|
-
code: z.ZodString;
|
|
1559
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1560
|
-
}, z.core.$strict>;
|
|
1561
|
-
standings: z.ZodArray<z.ZodObject<{
|
|
1562
|
-
playerId: z.ZodString;
|
|
1563
|
-
rank: z.ZodNumber;
|
|
1564
|
-
result: z.ZodEnum<{
|
|
1565
|
-
win: "win";
|
|
1566
|
-
draw: "draw";
|
|
1567
|
-
loss: "loss";
|
|
1568
|
-
eliminated: "eliminated";
|
|
1569
|
-
}>;
|
|
1570
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1571
|
-
scoreBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1572
|
-
id: z.ZodString;
|
|
1573
|
-
label: z.ZodString;
|
|
1574
|
-
value: z.ZodNumber;
|
|
1575
|
-
}, z.core.$strict>>>;
|
|
1576
|
-
tieBreaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1577
|
-
id: z.ZodString;
|
|
1578
|
-
label: z.ZodString;
|
|
1579
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1580
|
-
}, z.core.$strict>>>;
|
|
1581
|
-
}, z.core.$strict>>;
|
|
1582
|
-
}, z.core.$strict>>;
|
|
1583
|
-
trace: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1584
|
-
kind: z.ZodLiteral<"acceptedClientInput">;
|
|
1585
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1586
|
-
kind: z.ZodLiteral<"interaction">;
|
|
1587
|
-
playerId: z.ZodString;
|
|
1588
|
-
interactionId: z.ZodString;
|
|
1589
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1590
|
-
}, z.core.$strict>], "kind">;
|
|
1591
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1592
|
-
kind: z.ZodLiteral<"appliedEffect">;
|
|
1593
|
-
effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1594
|
-
effectId: z.ZodString;
|
|
1595
|
-
type: z.ZodLiteral<"transition">;
|
|
1596
|
-
to: z.ZodString;
|
|
1597
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1598
|
-
effectId: z.ZodString;
|
|
1599
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1600
|
-
dieId: z.ZodString;
|
|
1601
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1602
|
-
effectId: z.ZodString;
|
|
1603
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1604
|
-
zoneId: z.ZodString;
|
|
1605
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1606
|
-
effectId: z.ZodString;
|
|
1607
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1608
|
-
zoneId: z.ZodString;
|
|
1609
|
-
playerId: z.ZodString;
|
|
1610
|
-
}, z.core.$strict>], "type">;
|
|
1611
|
-
continuation: z.ZodOptional<z.ZodObject<{
|
|
1612
|
-
id: z.ZodString;
|
|
1613
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1614
|
-
}, z.core.$strict>>;
|
|
1615
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1616
|
-
kind: z.ZodLiteral<"rngConsumption">;
|
|
1617
|
-
version: z.ZodLiteral<2>;
|
|
1618
|
-
operation: z.ZodString;
|
|
1619
|
-
drawIndex: z.ZodNumber;
|
|
1620
|
-
traceEntry: z.ZodString;
|
|
1621
|
-
}, z.core.$strict>], "kind">>;
|
|
1622
|
-
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1623
|
-
kind: z.ZodLiteral<"systemAction">;
|
|
1624
|
-
procedureId: z.ZodString;
|
|
1625
|
-
title: z.ZodString;
|
|
1626
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1627
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1628
|
-
label: z.ZodString;
|
|
1629
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1630
|
-
}, z.core.$strict>>>;
|
|
1631
|
-
}, z.core.$strict>], "kind">>;
|
|
1632
|
-
}, z.core.$strict>], "kind">;
|
|
1633
|
-
declare const ReducerRuntimeLogEntryAcceptedClientInputSchema: z.ZodObject<{
|
|
1634
|
-
kind: z.ZodLiteral<"acceptedClientInput">;
|
|
1635
|
-
version: z.ZodNumber;
|
|
1636
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1637
|
-
kind: z.ZodLiteral<"interaction">;
|
|
1638
|
-
playerId: z.ZodString;
|
|
1639
|
-
interactionId: z.ZodString;
|
|
1640
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1641
|
-
}, z.core.$strict>], "kind">;
|
|
1642
|
-
}, z.core.$strict>;
|
|
1643
|
-
declare const ReducerRuntimeLogEntryAppliedEffectSchema: z.ZodObject<{
|
|
1644
|
-
kind: z.ZodLiteral<"appliedEffect">;
|
|
1645
|
-
version: z.ZodNumber;
|
|
1646
|
-
effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1647
|
-
effectId: z.ZodString;
|
|
1648
|
-
type: z.ZodLiteral<"transition">;
|
|
1649
|
-
to: z.ZodString;
|
|
1650
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1651
|
-
effectId: z.ZodString;
|
|
1652
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1653
|
-
dieId: z.ZodString;
|
|
1654
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1655
|
-
effectId: z.ZodString;
|
|
1656
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1657
|
-
zoneId: z.ZodString;
|
|
1658
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1659
|
-
effectId: z.ZodString;
|
|
1660
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1661
|
-
zoneId: z.ZodString;
|
|
1662
|
-
playerId: z.ZodString;
|
|
1663
|
-
}, z.core.$strict>], "type">;
|
|
1664
|
-
continuation: z.ZodUnion<readonly [z.ZodObject<{
|
|
1665
|
-
id: z.ZodString;
|
|
1666
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1667
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1668
|
-
}, z.core.$strict>;
|
|
1669
|
-
declare const ReducerRuntimeLogEntryRngConsumptionSchema: z.ZodObject<{
|
|
1670
|
-
kind: z.ZodLiteral<"rngConsumption">;
|
|
1671
|
-
version: z.ZodNumber;
|
|
1672
|
-
operation: z.ZodString;
|
|
1673
|
-
drawIndex: z.ZodOptional<z.ZodNumber>;
|
|
1674
|
-
traceEntry: z.ZodString;
|
|
1675
|
-
}, z.core.$strict>;
|
|
1676
|
-
declare const ReducerRuntimeLogEntryStateCommitSchema: z.ZodObject<{
|
|
1677
|
-
kind: z.ZodLiteral<"stateCommit">;
|
|
1678
|
-
version: z.ZodNumber;
|
|
1679
|
-
state: z.ZodObject<{
|
|
1680
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1681
|
-
contractFingerprint: z.ZodString;
|
|
1682
|
-
}, z.core.$strict>>;
|
|
1683
|
-
domain: z.ZodObject<{
|
|
1684
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1685
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1686
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1687
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1688
|
-
flow: z.ZodObject<{
|
|
1689
|
-
currentPhase: z.ZodString;
|
|
1690
|
-
turn: z.ZodNumber;
|
|
1691
|
-
round: z.ZodNumber;
|
|
1692
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1693
|
-
}, z.core.$strict>;
|
|
1694
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1695
|
-
}, z.core.$strict>;
|
|
1696
|
-
runtime: z.ZodObject<{
|
|
1697
|
-
rng: z.ZodObject<{
|
|
1698
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1699
|
-
cursor: z.ZodNumber;
|
|
1700
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1701
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1702
|
-
index: z.ZodNumber;
|
|
1703
|
-
cursorBefore: z.ZodNumber;
|
|
1704
|
-
cursorAfter: z.ZodNumber;
|
|
1705
|
-
operation: z.ZodObject<{
|
|
1706
|
-
kind: z.ZodString;
|
|
1707
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1708
|
-
}, z.core.$strict>;
|
|
1709
|
-
}, z.core.$strict>>>;
|
|
1710
|
-
}, z.core.$strict>;
|
|
1711
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1712
|
-
profileId: z.ZodString;
|
|
1713
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1714
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1715
|
-
simultaneous: z.ZodObject<{
|
|
1716
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1717
|
-
phaseName: z.ZodString;
|
|
1718
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1719
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1720
|
-
interactionId: z.ZodString;
|
|
1721
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1722
|
-
}, z.core.$strict>>;
|
|
1723
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1724
|
-
}, z.core.$strict>;
|
|
1725
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1726
|
-
from: z.ZodString;
|
|
1727
|
-
to: z.ZodString;
|
|
1728
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1729
|
-
}, z.core.$strict>;
|
|
1730
|
-
}, z.core.$strict>;
|
|
1731
|
-
}, z.core.$strict>;
|
|
1732
|
-
declare const ReducerRuntimeLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1733
|
-
kind: z.ZodLiteral<"acceptedClientInput">;
|
|
1734
|
-
version: z.ZodNumber;
|
|
1735
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1736
|
-
kind: z.ZodLiteral<"interaction">;
|
|
1737
|
-
playerId: z.ZodString;
|
|
1738
|
-
interactionId: z.ZodString;
|
|
1739
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1740
|
-
}, z.core.$strict>], "kind">;
|
|
1741
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1742
|
-
kind: z.ZodLiteral<"appliedEffect">;
|
|
1743
|
-
version: z.ZodNumber;
|
|
1744
|
-
effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1745
|
-
effectId: z.ZodString;
|
|
1746
|
-
type: z.ZodLiteral<"transition">;
|
|
1747
|
-
to: z.ZodString;
|
|
1748
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1749
|
-
effectId: z.ZodString;
|
|
1750
|
-
type: z.ZodLiteral<"rollDie">;
|
|
1751
|
-
dieId: z.ZodString;
|
|
1752
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1753
|
-
effectId: z.ZodString;
|
|
1754
|
-
type: z.ZodLiteral<"shuffleSharedZone">;
|
|
1755
|
-
zoneId: z.ZodString;
|
|
1756
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1757
|
-
effectId: z.ZodString;
|
|
1758
|
-
type: z.ZodLiteral<"shufflePlayerZone">;
|
|
1759
|
-
zoneId: z.ZodString;
|
|
1760
|
-
playerId: z.ZodString;
|
|
1761
|
-
}, z.core.$strict>], "type">;
|
|
1762
|
-
continuation: z.ZodUnion<readonly [z.ZodObject<{
|
|
1763
|
-
id: z.ZodString;
|
|
1764
|
-
data: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1765
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1766
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1767
|
-
kind: z.ZodLiteral<"rngConsumption">;
|
|
1768
|
-
version: z.ZodNumber;
|
|
1769
|
-
operation: z.ZodString;
|
|
1770
|
-
drawIndex: z.ZodOptional<z.ZodNumber>;
|
|
1771
|
-
traceEntry: z.ZodString;
|
|
1772
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1773
|
-
kind: z.ZodLiteral<"stateCommit">;
|
|
1774
|
-
version: z.ZodNumber;
|
|
1775
|
-
state: z.ZodObject<{
|
|
1776
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1777
|
-
contractFingerprint: z.ZodString;
|
|
1778
|
-
}, z.core.$strict>>;
|
|
1779
|
-
domain: z.ZodObject<{
|
|
1780
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1781
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1782
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1783
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1784
|
-
flow: z.ZodObject<{
|
|
1785
|
-
currentPhase: z.ZodString;
|
|
1786
|
-
turn: z.ZodNumber;
|
|
1787
|
-
round: z.ZodNumber;
|
|
1788
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1789
|
-
}, z.core.$strict>;
|
|
1790
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1791
|
-
}, z.core.$strict>;
|
|
1792
|
-
runtime: z.ZodObject<{
|
|
1793
|
-
rng: z.ZodObject<{
|
|
1794
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1795
|
-
cursor: z.ZodNumber;
|
|
1796
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1797
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1798
|
-
index: z.ZodNumber;
|
|
1799
|
-
cursorBefore: z.ZodNumber;
|
|
1800
|
-
cursorAfter: z.ZodNumber;
|
|
1801
|
-
operation: z.ZodObject<{
|
|
1802
|
-
kind: z.ZodString;
|
|
1803
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1804
|
-
}, z.core.$strict>;
|
|
1805
|
-
}, z.core.$strict>>>;
|
|
1806
|
-
}, z.core.$strict>;
|
|
1807
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1808
|
-
profileId: z.ZodString;
|
|
1809
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1810
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1811
|
-
simultaneous: z.ZodObject<{
|
|
1812
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1813
|
-
phaseName: z.ZodString;
|
|
1814
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1815
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1816
|
-
interactionId: z.ZodString;
|
|
1817
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1818
|
-
}, z.core.$strict>>;
|
|
1819
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1820
|
-
}, z.core.$strict>;
|
|
1821
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1822
|
-
from: z.ZodString;
|
|
1823
|
-
to: z.ZodString;
|
|
1824
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1825
|
-
}, z.core.$strict>;
|
|
1826
|
-
}, z.core.$strict>;
|
|
1827
|
-
}, z.core.$strict>], "kind">;
|
|
1828
|
-
declare const SeatProjectionSchema: z.ZodObject<{
|
|
1829
|
-
view: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1830
|
-
availableInteractionRefs: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1831
|
-
zones: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1832
|
-
}, z.core.$strict>;
|
|
1833
|
-
declare const SimultaneousPhaseProjectionSchema: z.ZodObject<{
|
|
1834
|
-
phaseName: z.ZodString;
|
|
1835
|
-
interactionId: z.ZodString;
|
|
1836
|
-
actorIds: z.ZodArray<z.ZodString>;
|
|
1837
|
-
sealedPlayerIds: z.ZodArray<z.ZodString>;
|
|
1838
|
-
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1839
|
-
}, z.core.$strict>;
|
|
1840
|
-
declare const SchedulerContinuationDependencySchema: z.ZodObject<{
|
|
1841
|
-
waiterPlayerId: z.ZodString;
|
|
1842
|
-
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1843
|
-
}, z.core.$strict>;
|
|
1844
|
-
declare const SchedulerFlowAuthorityProjectionSchema: z.ZodObject<{
|
|
1845
|
-
version: z.ZodLiteral<1>;
|
|
1846
|
-
activePlayerIds: z.ZodArray<z.ZodString>;
|
|
1847
|
-
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1848
|
-
continuationDependencies: z.ZodArray<z.ZodObject<{
|
|
1849
|
-
waiterPlayerId: z.ZodString;
|
|
1850
|
-
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1851
|
-
}, z.core.$strict>>;
|
|
1852
|
-
}, z.core.$strict>;
|
|
1853
|
-
declare const SetupGuidanceStepSchema: z.ZodObject<{
|
|
1854
|
-
id: z.ZodString;
|
|
1855
|
-
label: z.ZodString;
|
|
1856
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1857
|
-
}, z.core.$strict>;
|
|
1858
|
-
declare const GameGuidanceProjectionSchema: z.ZodObject<{
|
|
1859
|
-
phase: z.ZodObject<{
|
|
1860
|
-
id: z.ZodString;
|
|
1861
|
-
label: z.ZodString;
|
|
1862
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
objective: z.ZodOptional<z.ZodString>;
|
|
1864
|
-
}, z.core.$strict>;
|
|
1865
|
-
setup: z.ZodOptional<z.ZodObject<{
|
|
1866
|
-
profileId: z.ZodString;
|
|
1867
|
-
name: z.ZodString;
|
|
1868
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1869
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
1870
|
-
id: z.ZodString;
|
|
1871
|
-
label: z.ZodString;
|
|
1872
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1873
|
-
}, z.core.$strict>>;
|
|
1874
|
-
}, z.core.$strict>>;
|
|
1875
|
-
}, z.core.$strict>;
|
|
1876
|
-
declare const ProjectionTimingMetadataSchema: z.ZodObject<{
|
|
1877
|
-
resolveAvailableInteractionsMs: z.ZodNumber;
|
|
1878
|
-
resolveViewMs: z.ZodNumber;
|
|
1879
|
-
resolveZoneHandlesMs: z.ZodNumber;
|
|
1880
|
-
descriptorHashMs: z.ZodNumber;
|
|
1881
|
-
}, z.core.$strict>;
|
|
1882
|
-
declare const SeatProjectionBundleSchema: z.ZodObject<{
|
|
1883
|
-
currentStage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1884
|
-
stageSeats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1885
|
-
simultaneousPhase: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1886
|
-
phaseName: z.ZodString;
|
|
1887
|
-
interactionId: z.ZodString;
|
|
1888
|
-
actorIds: z.ZodArray<z.ZodString>;
|
|
1889
|
-
sealedPlayerIds: z.ZodArray<z.ZodString>;
|
|
1890
|
-
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1891
|
-
}, z.core.$strict>, z.ZodNull]>>;
|
|
1892
|
-
schedulerFlow: z.ZodOptional<z.ZodObject<{
|
|
1893
|
-
version: z.ZodLiteral<1>;
|
|
1894
|
-
activePlayerIds: z.ZodArray<z.ZodString>;
|
|
1895
|
-
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1896
|
-
continuationDependencies: z.ZodArray<z.ZodObject<{
|
|
1897
|
-
waiterPlayerId: z.ZodString;
|
|
1898
|
-
blockerPlayerIds: z.ZodArray<z.ZodString>;
|
|
1899
|
-
}, z.core.$strict>>;
|
|
1900
|
-
}, z.core.$strict>>;
|
|
1901
|
-
guidance: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1902
|
-
phase: z.ZodObject<{
|
|
1903
|
-
id: z.ZodString;
|
|
1904
|
-
label: z.ZodString;
|
|
1905
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1906
|
-
objective: z.ZodOptional<z.ZodString>;
|
|
1907
|
-
}, z.core.$strict>;
|
|
1908
|
-
setup: z.ZodOptional<z.ZodObject<{
|
|
1909
|
-
profileId: z.ZodString;
|
|
1910
|
-
name: z.ZodString;
|
|
1911
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1912
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
1913
|
-
id: z.ZodString;
|
|
1914
|
-
label: z.ZodString;
|
|
1915
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1916
|
-
}, z.core.$strict>>;
|
|
1917
|
-
}, z.core.$strict>>;
|
|
1918
|
-
}, z.core.$strict>, z.ZodNull]>>;
|
|
1919
|
-
sharedView: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1920
|
-
interactionsByRef: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1921
|
-
seats: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1922
|
-
view: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1923
|
-
availableInteractionRefs: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1924
|
-
zones: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1925
|
-
}, z.core.$strict>>;
|
|
1926
|
-
timing: z.ZodOptional<z.ZodObject<{
|
|
1927
|
-
resolveAvailableInteractionsMs: z.ZodNumber;
|
|
1928
|
-
resolveViewMs: z.ZodNumber;
|
|
1929
|
-
resolveZoneHandlesMs: z.ZodNumber;
|
|
1930
|
-
descriptorHashMs: z.ZodNumber;
|
|
1931
|
-
}, z.core.$strict>>;
|
|
1932
|
-
}, z.core.$strict>;
|
|
1933
|
-
declare const ProjectRequestSchema: z.ZodObject<{
|
|
1934
|
-
state: z.ZodObject<{
|
|
1935
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1936
|
-
contractFingerprint: z.ZodString;
|
|
1937
|
-
}, z.core.$strict>>;
|
|
1938
|
-
domain: z.ZodObject<{
|
|
1939
|
-
table: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1940
|
-
publicState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1941
|
-
privateState: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
1942
|
-
hiddenState: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1943
|
-
flow: z.ZodObject<{
|
|
1944
|
-
currentPhase: z.ZodString;
|
|
1945
|
-
turn: z.ZodNumber;
|
|
1946
|
-
round: z.ZodNumber;
|
|
1947
|
-
activePlayers: z.ZodArray<z.ZodString>;
|
|
1948
|
-
}, z.core.$strict>;
|
|
1949
|
-
phase: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1950
|
-
}, z.core.$strict>;
|
|
1951
|
-
runtime: z.ZodObject<{
|
|
1952
|
-
rng: z.ZodObject<{
|
|
1953
|
-
seed: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
1954
|
-
cursor: z.ZodNumber;
|
|
1955
|
-
trace: z.ZodArray<z.ZodString>;
|
|
1956
|
-
draws: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1957
|
-
index: z.ZodNumber;
|
|
1958
|
-
cursorBefore: z.ZodNumber;
|
|
1959
|
-
cursorAfter: z.ZodNumber;
|
|
1960
|
-
operation: z.ZodObject<{
|
|
1961
|
-
kind: z.ZodString;
|
|
1962
|
-
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1963
|
-
}, z.core.$strict>;
|
|
1964
|
-
}, z.core.$strict>>>;
|
|
1965
|
-
}, z.core.$strict>;
|
|
1966
|
-
setup: z.ZodUnion<readonly [z.ZodObject<{
|
|
1967
|
-
profileId: z.ZodString;
|
|
1968
|
-
optionValues: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
1969
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1970
|
-
simultaneous: z.ZodObject<{
|
|
1971
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
1972
|
-
phaseName: z.ZodString;
|
|
1973
|
-
actors: z.ZodArray<z.ZodString>;
|
|
1974
|
-
submissions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1975
|
-
interactionId: z.ZodString;
|
|
1976
|
-
params: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1977
|
-
}, z.core.$strict>>;
|
|
1978
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1979
|
-
}, z.core.$strict>;
|
|
1980
|
-
lastTransition: z.ZodUnion<readonly [z.ZodObject<{
|
|
1981
|
-
from: z.ZodString;
|
|
1982
|
-
to: z.ZodString;
|
|
1983
|
-
}, z.core.$strict>, z.ZodNull]>;
|
|
1984
|
-
}, z.core.$strict>;
|
|
1985
|
-
}, z.core.$strict>;
|
|
1986
|
-
playerIds: z.ZodArray<z.ZodString>;
|
|
1987
|
-
}, z.core.$strict>;
|
|
1988
|
-
declare const BoardStaticProjectionSchema: z.ZodObject<{
|
|
1989
|
-
view: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1990
|
-
hash: z.ZodString;
|
|
1991
|
-
manifestVersion: z.ZodString;
|
|
1992
|
-
}, z.core.$strict>;
|
|
1993
|
-
|
|
1994
|
-
declare const zod_BoardStaticProjectionSchema: typeof BoardStaticProjectionSchema;
|
|
1995
|
-
declare const zod_ContinuationMapSchema: typeof ContinuationMapSchema;
|
|
1996
|
-
declare const zod_ContinuationTokenSchema: typeof ContinuationTokenSchema;
|
|
1997
|
-
declare const zod_DispatchRequestSchema: typeof DispatchRequestSchema;
|
|
1998
|
-
declare const zod_DispatchResultAcceptSchema: typeof DispatchResultAcceptSchema;
|
|
1999
|
-
declare const zod_DispatchResultRejectSchema: typeof DispatchResultRejectSchema;
|
|
2000
|
-
declare const zod_DispatchResultSchema: typeof DispatchResultSchema;
|
|
2001
|
-
declare const zod_DispatchTraceAcceptedClientInputSchema: typeof DispatchTraceAcceptedClientInputSchema;
|
|
2002
|
-
declare const zod_DispatchTraceAppliedEffectSchema: typeof DispatchTraceAppliedEffectSchema;
|
|
2003
|
-
declare const zod_DispatchTraceRngConsumptionSchema: typeof DispatchTraceRngConsumptionSchema;
|
|
2004
|
-
declare const zod_DispatchTraceSchema: typeof DispatchTraceSchema;
|
|
2005
|
-
declare const zod_EffectIdSchema: typeof EffectIdSchema;
|
|
2006
|
-
declare const zod_EffectRollDieSchema: typeof EffectRollDieSchema;
|
|
2007
|
-
declare const zod_EffectSchema: typeof EffectSchema;
|
|
2008
|
-
declare const zod_EffectShufflePlayerZoneSchema: typeof EffectShufflePlayerZoneSchema;
|
|
2009
|
-
declare const zod_EffectShuffleSharedZoneSchema: typeof EffectShuffleSharedZoneSchema;
|
|
2010
|
-
declare const zod_EffectTransitionSchema: typeof EffectTransitionSchema;
|
|
2011
|
-
declare const zod_GameEventDetailSchema: typeof GameEventDetailSchema;
|
|
2012
|
-
declare const zod_GameEventSchema: typeof GameEventSchema;
|
|
2013
|
-
declare const zod_GameGuidanceProjectionSchema: typeof GameGuidanceProjectionSchema;
|
|
2014
|
-
declare const zod_GameInputInteractionSchema: typeof GameInputInteractionSchema;
|
|
2015
|
-
declare const zod_GameInputSchema: typeof GameInputSchema;
|
|
2016
|
-
declare const zod_GameOutcomeReasonSchema: typeof GameOutcomeReasonSchema;
|
|
2017
|
-
declare const zod_GameOutcomeSchema: typeof GameOutcomeSchema;
|
|
2018
|
-
declare const zod_InitializePhaseRequestSchema: typeof InitializePhaseRequestSchema;
|
|
2019
|
-
declare const zod_InitializeRequestSchema: typeof InitializeRequestSchema;
|
|
2020
|
-
declare const zod_InitializeResultSchema: typeof InitializeResultSchema;
|
|
2021
|
-
declare const zod_JsonValueSchema: typeof JsonValueSchema;
|
|
2022
|
-
declare const zod_OutcomeResultSchema: typeof OutcomeResultSchema;
|
|
2023
|
-
declare const zod_OutcomeScoreComponentSchema: typeof OutcomeScoreComponentSchema;
|
|
2024
|
-
declare const zod_OutcomeStandingSchema: typeof OutcomeStandingSchema;
|
|
2025
|
-
declare const zod_OutcomeTieBreakSchema: typeof OutcomeTieBreakSchema;
|
|
2026
|
-
declare const zod_ProjectRequestSchema: typeof ProjectRequestSchema;
|
|
2027
|
-
declare const zod_ProjectionTimingMetadataSchema: typeof ProjectionTimingMetadataSchema;
|
|
2028
|
-
declare const zod_ReduceRequestSchema: typeof ReduceRequestSchema;
|
|
2029
|
-
declare const zod_ReduceResultAcceptSchema: typeof ReduceResultAcceptSchema;
|
|
2030
|
-
declare const zod_ReduceResultRejectSchema: typeof ReduceResultRejectSchema;
|
|
2031
|
-
declare const zod_ReduceResultSchema: typeof ReduceResultSchema;
|
|
2032
|
-
declare const zod_ReducerContractVersionSchema: typeof ReducerContractVersionSchema;
|
|
2033
|
-
declare const zod_ReducerDomainStateSchema: typeof ReducerDomainStateSchema;
|
|
2034
|
-
declare const zod_ReducerFlowStateSchema: typeof ReducerFlowStateSchema;
|
|
2035
|
-
declare const zod_ReducerInputValidationResultSchema: typeof ReducerInputValidationResultSchema;
|
|
2036
|
-
declare const zod_ReducerRuntimeLogEntryAcceptedClientInputSchema: typeof ReducerRuntimeLogEntryAcceptedClientInputSchema;
|
|
2037
|
-
declare const zod_ReducerRuntimeLogEntryAppliedEffectSchema: typeof ReducerRuntimeLogEntryAppliedEffectSchema;
|
|
2038
|
-
declare const zod_ReducerRuntimeLogEntryRngConsumptionSchema: typeof ReducerRuntimeLogEntryRngConsumptionSchema;
|
|
2039
|
-
declare const zod_ReducerRuntimeLogEntrySchema: typeof ReducerRuntimeLogEntrySchema;
|
|
2040
|
-
declare const zod_ReducerRuntimeLogEntryStateCommitSchema: typeof ReducerRuntimeLogEntryStateCommitSchema;
|
|
2041
|
-
declare const zod_ReducerRuntimeStateSchema: typeof ReducerRuntimeStateSchema;
|
|
2042
|
-
declare const zod_ReducerSessionMetaSchema: typeof ReducerSessionMetaSchema;
|
|
2043
|
-
declare const zod_ReducerSessionStateSchema: typeof ReducerSessionStateSchema;
|
|
2044
|
-
declare const zod_ReducerSetupSelectionSchema: typeof ReducerSetupSelectionSchema;
|
|
2045
|
-
declare const zod_RngDrawSchema: typeof RngDrawSchema;
|
|
2046
|
-
declare const zod_RngOperationParameterSchema: typeof RngOperationParameterSchema;
|
|
2047
|
-
declare const zod_RngOperationSchema: typeof RngOperationSchema;
|
|
2048
|
-
declare const zod_RngStateSchema: typeof RngStateSchema;
|
|
2049
|
-
declare const zod_RuntimeSimultaneousCurrentSchema: typeof RuntimeSimultaneousCurrentSchema;
|
|
2050
|
-
declare const zod_RuntimeSimultaneousStateSchema: typeof RuntimeSimultaneousStateSchema;
|
|
2051
|
-
declare const zod_RuntimeSimultaneousSubmissionSchema: typeof RuntimeSimultaneousSubmissionSchema;
|
|
2052
|
-
declare const zod_SchedulerContinuationDependencySchema: typeof SchedulerContinuationDependencySchema;
|
|
2053
|
-
declare const zod_SchedulerFlowAuthorityProjectionSchema: typeof SchedulerFlowAuthorityProjectionSchema;
|
|
2054
|
-
declare const zod_SeatProjectionBundleSchema: typeof SeatProjectionBundleSchema;
|
|
2055
|
-
declare const zod_SeatProjectionSchema: typeof SeatProjectionSchema;
|
|
2056
|
-
declare const zod_SetupGuidanceStepSchema: typeof SetupGuidanceStepSchema;
|
|
2057
|
-
declare const zod_SimultaneousPhaseProjectionSchema: typeof SimultaneousPhaseProjectionSchema;
|
|
2058
|
-
declare const zod_SystemActionEventSchema: typeof SystemActionEventSchema;
|
|
2059
|
-
declare const zod_TransitionRecordSchema: typeof TransitionRecordSchema;
|
|
2060
|
-
declare const zod_ValidateInputRequestSchema: typeof ValidateInputRequestSchema;
|
|
2061
|
-
declare namespace zod {
|
|
2062
|
-
export { zod_BoardStaticProjectionSchema as BoardStaticProjectionSchema, zod_ContinuationMapSchema as ContinuationMapSchema, zod_ContinuationTokenSchema as ContinuationTokenSchema, zod_DispatchRequestSchema as DispatchRequestSchema, zod_DispatchResultAcceptSchema as DispatchResultAcceptSchema, zod_DispatchResultRejectSchema as DispatchResultRejectSchema, zod_DispatchResultSchema as DispatchResultSchema, zod_DispatchTraceAcceptedClientInputSchema as DispatchTraceAcceptedClientInputSchema, zod_DispatchTraceAppliedEffectSchema as DispatchTraceAppliedEffectSchema, zod_DispatchTraceRngConsumptionSchema as DispatchTraceRngConsumptionSchema, zod_DispatchTraceSchema as DispatchTraceSchema, zod_EffectIdSchema as EffectIdSchema, zod_EffectRollDieSchema as EffectRollDieSchema, zod_EffectSchema as EffectSchema, zod_EffectShufflePlayerZoneSchema as EffectShufflePlayerZoneSchema, zod_EffectShuffleSharedZoneSchema as EffectShuffleSharedZoneSchema, zod_EffectTransitionSchema as EffectTransitionSchema, zod_GameEventDetailSchema as GameEventDetailSchema, zod_GameEventSchema as GameEventSchema, zod_GameGuidanceProjectionSchema as GameGuidanceProjectionSchema, zod_GameInputInteractionSchema as GameInputInteractionSchema, zod_GameInputSchema as GameInputSchema, zod_GameOutcomeReasonSchema as GameOutcomeReasonSchema, zod_GameOutcomeSchema as GameOutcomeSchema, zod_InitializePhaseRequestSchema as InitializePhaseRequestSchema, zod_InitializeRequestSchema as InitializeRequestSchema, zod_InitializeResultSchema as InitializeResultSchema, zod_JsonValueSchema as JsonValueSchema, zod_OutcomeResultSchema as OutcomeResultSchema, zod_OutcomeScoreComponentSchema as OutcomeScoreComponentSchema, zod_OutcomeStandingSchema as OutcomeStandingSchema, zod_OutcomeTieBreakSchema as OutcomeTieBreakSchema, zod_ProjectRequestSchema as ProjectRequestSchema, zod_ProjectionTimingMetadataSchema as ProjectionTimingMetadataSchema, zod_ReduceRequestSchema as ReduceRequestSchema, zod_ReduceResultAcceptSchema as ReduceResultAcceptSchema, zod_ReduceResultRejectSchema as ReduceResultRejectSchema, zod_ReduceResultSchema as ReduceResultSchema, zod_ReducerContractVersionSchema as ReducerContractVersionSchema, zod_ReducerDomainStateSchema as ReducerDomainStateSchema, zod_ReducerFlowStateSchema as ReducerFlowStateSchema, zod_ReducerInputValidationResultSchema as ReducerInputValidationResultSchema, zod_ReducerRuntimeLogEntryAcceptedClientInputSchema as ReducerRuntimeLogEntryAcceptedClientInputSchema, zod_ReducerRuntimeLogEntryAppliedEffectSchema as ReducerRuntimeLogEntryAppliedEffectSchema, zod_ReducerRuntimeLogEntryRngConsumptionSchema as ReducerRuntimeLogEntryRngConsumptionSchema, zod_ReducerRuntimeLogEntrySchema as ReducerRuntimeLogEntrySchema, zod_ReducerRuntimeLogEntryStateCommitSchema as ReducerRuntimeLogEntryStateCommitSchema, zod_ReducerRuntimeStateSchema as ReducerRuntimeStateSchema, zod_ReducerSessionMetaSchema as ReducerSessionMetaSchema, zod_ReducerSessionStateSchema as ReducerSessionStateSchema, zod_ReducerSetupSelectionSchema as ReducerSetupSelectionSchema, zod_RngDrawSchema as RngDrawSchema, zod_RngOperationParameterSchema as RngOperationParameterSchema, zod_RngOperationSchema as RngOperationSchema, zod_RngStateSchema as RngStateSchema, zod_RuntimeSimultaneousCurrentSchema as RuntimeSimultaneousCurrentSchema, zod_RuntimeSimultaneousStateSchema as RuntimeSimultaneousStateSchema, zod_RuntimeSimultaneousSubmissionSchema as RuntimeSimultaneousSubmissionSchema, zod_SchedulerContinuationDependencySchema as SchedulerContinuationDependencySchema, zod_SchedulerFlowAuthorityProjectionSchema as SchedulerFlowAuthorityProjectionSchema, zod_SeatProjectionBundleSchema as SeatProjectionBundleSchema, zod_SeatProjectionSchema as SeatProjectionSchema, zod_SetupGuidanceStepSchema as SetupGuidanceStepSchema, zod_SimultaneousPhaseProjectionSchema as SimultaneousPhaseProjectionSchema, zod_SystemActionEventSchema as SystemActionEventSchema, zod_TransitionRecordSchema as TransitionRecordSchema, zod_ValidateInputRequestSchema as ValidateInputRequestSchema };
|
|
2063
|
-
}
|
|
2064
|
-
|
|
2065
|
-
/**
|
|
2066
|
-
* The wire-protocol version this package implements. Bumped in lockstep with
|
|
2067
|
-
* any breaking change to schema/reducer-runtime.schema.json. At bundle load
|
|
2068
|
-
* time hosts require bundles to carry this exact version.
|
|
2069
|
-
*/
|
|
2070
|
-
declare const REDUCER_CONTRACT_VERSION: "0.5.0";
|
|
2071
|
-
|
|
2072
|
-
type MaybePromise<T> = T | Promise<T>;
|
|
2073
|
-
/**
|
|
2074
|
-
* Canonical erased reducer boundary for `createReducerBundle(...)`.
|
|
2075
|
-
*
|
|
2076
|
-
* The callable method list is generated from
|
|
2077
|
-
* `schema/reducer-runtime.operations.json`; payload DTOs come from
|
|
2078
|
-
* `schema/reducer-runtime.schema.json`.
|
|
2079
|
-
*
|
|
2080
|
-
* This interface models the host/guest surface only. The concrete
|
|
2081
|
-
* authored bundle stays strongly typed in `@dreamboard-games/sdk/reducer`, but every
|
|
2082
|
-
* cross-runtime caller should agree on this shape.
|
|
2083
|
-
*/
|
|
2084
|
-
interface ReducerBundleContract {
|
|
2085
|
-
readonly reducerContractVersion: ReducerContractVersion;
|
|
2086
|
-
initialize(input: InitializeRequest): MaybePromise<InitializeResult>;
|
|
2087
|
-
dispatch(input: DispatchRequest): MaybePromise<DispatchResult>;
|
|
2088
|
-
boardStatic(): BoardStaticProjection | null;
|
|
2089
|
-
project(input: ProjectRequest): SeatProjectionBundle;
|
|
2090
|
-
}
|
|
2091
|
-
/**
|
|
2092
|
-
* Validates an imported module value at the reducer host/guest boundary.
|
|
2093
|
-
*
|
|
2094
|
-
* The required callable members are generated from the same operation
|
|
2095
|
-
* authority as `ReducerBundleContract`, so runtime admission cannot drift
|
|
2096
|
-
* from the published TypeScript interface.
|
|
2097
|
-
* The contract version must match exactly.
|
|
2098
|
-
*/
|
|
2099
|
-
declare function assertReducerBundleContract(value: unknown, source: string): asserts value is ReducerBundleContract;
|
|
2100
|
-
|
|
2101
|
-
export { type MaybePromise as M, REDUCER_CONTRACT_VERSION as R, type ReducerBundleContract as a, assertReducerBundleContract as b, wire as w, zod as z };
|