@dreamboard-games/sdk 0.5.0-alpha.32 → 0.5.0-alpha.34
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 +83 -3
- package/dist/{board-element-DXLPBVk-.d.ts → board-element-DCjHsEnF.d.ts} +1 -1
- package/dist/{chunk-CWANHA4C.js → chunk-2GUPNL7A.js} +117 -55
- package/dist/chunk-2GUPNL7A.js.map +1 -0
- package/dist/{chunk-IEMZ26FI.js → chunk-BSS4ORU3.js} +20 -1
- package/dist/chunk-BSS4ORU3.js.map +1 -0
- package/dist/{chunk-63GWNBZX.js → chunk-KYQQIFXN.js} +60 -12
- package/dist/chunk-KYQQIFXN.js.map +1 -0
- package/dist/{diagnostics-D3mzqjxL.d.ts → diagnostics-Cl8mSexe.d.ts} +7 -1
- package/dist/{extract-Bi6_tzUr.d.ts → extract-CNUw9Q8C.d.ts} +194 -7
- package/dist/index.d.ts +331 -434
- package/dist/index.js +19 -5
- package/dist/index.js.map +1 -1
- package/dist/{shortcuts-CuQXWAMv.d.ts → model-BD0OKVEc.d.ts} +3 -122
- package/dist/react.d.ts +4 -4
- package/dist/reducer.d.ts +195 -8
- package/dist/reducer.js +15 -2
- package/dist/reducer.js.map +1 -1
- package/dist/shortcuts-Br5h9mEV.d.ts +123 -0
- package/dist/testing.d.ts +10 -4
- package/dist/testing.js +20 -5
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-63GWNBZX.js.map +0 -1
- package/dist/chunk-CWANHA4C.js.map +0 -1
- package/dist/chunk-IEMZ26FI.js.map +0 -1
- package/dist/types-BlvVQ9WL.d.ts +0 -125
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { r as Features, J as InstanceOptions, n as CoreInstance, q as FeatureContext, G as GameInstance, C as Card, I as IdOf,
|
|
2
|
-
export { a as AnyInput, b as AnyInteraction, B as Board, f as BoardDropTarget, i as BoardSpaceData, j as BoardSpaceId, k as BoardTarget, l as CardBase, m as CardDataOf, D as Drafts, o as DropAreaBinding, F as Feature, s as GameSnapshot, H as Hook, t as Input, u as InputBase, v as InputControl, w as InputDomainOf, x as InputKey, y as InputKind, z as InputTarget, E as InputTargetOption, K as Interaction, L as InteractionBase, M as InteractionDropTarget, N as InteractionKey, O as InteractionParams, P as
|
|
3
|
-
import {
|
|
4
|
-
export { A as ActionInteractionDescriptor,
|
|
1
|
+
import { r as Features, J as InstanceOptions, n as CoreInstance, q as FeatureContext, G as GameInstance, C as Card, I as IdOf, ac as Zone, a4 as SeatCardId, d as BoardCollection, h as BoardSpaceCollection, c as BoardBase, Y as RuntimeBoard, a3 as RuntimeTargetOptions, A as ActionProps, e as BoardDataOf, g as BoardSpace, a7 as TargetOptions, p as DropTarget, ae as ZoneHostId } from './model-BD0OKVEc.js';
|
|
2
|
+
export { a as AnyInput, b as AnyInteraction, B as Board, f as BoardDropTarget, i as BoardSpaceData, j as BoardSpaceId, k as BoardTarget, l as CardBase, m as CardDataOf, D as Drafts, o as DropAreaBinding, F as Feature, s as GameSnapshot, H as Hook, t as Input, u as InputBase, v as InputControl, w as InputDomainOf, x as InputKey, y as InputKind, z as InputTarget, E as InputTargetOption, K as Interaction, L as InteractionBase, M as InteractionDropTarget, N as InteractionKey, O as InteractionParams, P as LocalState, Q as NativeEvent, R as Phase, S as PhaseName, T as PlacedTileDataOf, U as Player, V as PositionDropTarget, W as ReadModel, X as ReadonlyData, Z as RuntimeBoardDropTarget, _ as RuntimeBoardTarget, $ as RuntimeDropTarget, a0 as RuntimeInteractionDropTarget, a1 as RuntimePositionDropTarget, a2 as RuntimeSelectionTarget, a5 as SelectionTarget, a6 as TableOfGame, a8 as Tile, a9 as TileDataOf, aa as Turn, ab as ViewOf, ad as ZoneBase } from './model-BD0OKVEc.js';
|
|
3
|
+
import { a8 as InteractionDescriptor, V as GameplayBasis, aD as PluginSessionDescriptor, aB as PluginGameplayFrame, a$ as RuntimeJson, S as GameSource, bd as SourceSnapshot, D as CommandSource, b7 as SeatBoardTopology, ba as SeatTileRef, b9 as SeatSpaceRef, g as BoardEdge, o as BoardVertex, bK as ZoneInteractionRefs, ay as PlayerId, aT as ReducerSeatProjectionBundle, b8 as SeatProjectionBundle, h as BoardEdgeId, p as BoardVertexId } from './extract-CNUw9Q8C.js';
|
|
4
|
+
export { A as ActionInteractionDescriptor, b as ApplySource, k as BoardSpaceHostId, aH as GameEvent, aI as GameEventDetail, Q as GameOutcome, W as HiddenCardId, $ as InputDomain, a0 as InputDomainSchema, a1 as InputSelection, a3 as InteractionAvailability, a4 as InteractionAvailabilitySchema, a5 as InteractionChoiceOption, a6 as InteractionCommitPolicy, a7 as InteractionCommitPolicySchema, a9 as InteractionDescriptorSchema, aa as InteractionDiagnosticReason, ac as InteractionInputDescriptor, ad as InteractionInputDescriptorSchema, ap as OutcomeResult, aq as OutcomeScoreComponent, ar as OutcomeStanding, as as OutcomeTieBreak, at as PerPlayerInstanceFamily, au as PerPlayerInstanceId, aC as PluginPlayerSummary, aJ as ProjectedTile, b0 as RuntimeJsonSchema, bb as SimultaneousPhaseSnapshot, bc as SourceRequest, be as SourceState, bi as SubmitResult, aH as SystemActionEvent, bA as ViewCard, bC as ViewCardSchema, bI as ZoneHandlesSnapshot, bN as boardSpaceHostId, bP as parseBoardSpaceHostId, bQ as parsePerPlayerInstanceId, bS as perPlayerInstanceId } from './extract-CNUw9Q8C.js';
|
|
5
5
|
import * as z from 'zod';
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
export { b as boardEdgeId, a as boardVertexId, p as parseBoardElementId } from './board-element-DXLPBVk-.js';
|
|
6
|
+
export { I as InteractionShortcutBinding, L as LocalShortcutBinding, S as ShortcutActivity, a as ShortcutBinding, b as ShortcutHint, c as ShortcutOptions, d as ShortcutResult, e as ShortcutTarget, f as ShortcutZoneTarget, g as ShortcutsController, s as shortcutsFeature } from './shortcuts-Br5h9mEV.js';
|
|
7
|
+
export { b as boardEdgeId, a as boardVertexId, p as parseBoardElementId } from './board-element-DCjHsEnF.js';
|
|
9
8
|
import '@tanstack/store';
|
|
10
9
|
import 'honeycomb-grid';
|
|
11
10
|
|
|
@@ -105,6 +104,8 @@ declare function iframeSource(options?: {
|
|
|
105
104
|
followHostSeat?: boolean;
|
|
106
105
|
}): CommandSource;
|
|
107
106
|
|
|
107
|
+
/** Hosted WebSocket contract; independent of the authored iframe protocol. */
|
|
108
|
+
declare const GAMEPLAY_WIRE_PROTOCOL_VERSION = 2;
|
|
108
109
|
declare const GameplayCloseCode: {
|
|
109
110
|
readonly GoingAway: 1001;
|
|
110
111
|
readonly CredentialExpired: 4000;
|
|
@@ -128,6 +129,7 @@ declare const GameplayCredentialSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
128
129
|
}, z.core.$strict>], "kind">;
|
|
129
130
|
declare const AuthConnectFrameSchema: z.ZodObject<{
|
|
130
131
|
type: z.ZodLiteral<"auth.connect">;
|
|
132
|
+
protocolVersion: z.ZodLiteral<2>;
|
|
131
133
|
credential: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
132
134
|
kind: z.ZodLiteral<"room-guest">;
|
|
133
135
|
token: z.ZodString;
|
|
@@ -161,6 +163,7 @@ declare const SessionResumeFrameSchema: z.ZodObject<{
|
|
|
161
163
|
}, z.core.$strip>;
|
|
162
164
|
declare const AuthAcceptedFrameSchema: z.ZodObject<{
|
|
163
165
|
type: z.ZodLiteral<"auth.accepted">;
|
|
166
|
+
protocolVersion: z.ZodLiteral<2>;
|
|
164
167
|
expiresAt: z.ZodString;
|
|
165
168
|
}, z.core.$strip>;
|
|
166
169
|
declare const GameplayBackpressureReasonSchema: z.ZodEnum<{
|
|
@@ -191,7 +194,6 @@ declare const SessionSnapshotFrameSchema: z.ZodObject<{
|
|
|
191
194
|
type: z.ZodLiteral<"session.snapshot">;
|
|
192
195
|
frame: z.ZodObject<{
|
|
193
196
|
players: z.ZodArray<z.ZodString>;
|
|
194
|
-
causedBy: z.ZodOptional<z.ZodString>;
|
|
195
197
|
events: z.ZodArray<z.ZodObject<{
|
|
196
198
|
kind: z.ZodLiteral<"systemAction">;
|
|
197
199
|
procedureId: z.ZodString;
|
|
@@ -205,7 +207,6 @@ declare const SessionSnapshotFrameSchema: z.ZodObject<{
|
|
|
205
207
|
}, z.core.$strict>]>;
|
|
206
208
|
}, z.core.$strict>>>;
|
|
207
209
|
}, z.core.$strict>>;
|
|
208
|
-
view: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
209
210
|
flow: z.ZodObject<{
|
|
210
211
|
currentPhase: z.ZodNullable<z.ZodString>;
|
|
211
212
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
@@ -217,7 +218,15 @@ declare const SessionSnapshotFrameSchema: z.ZodObject<{
|
|
|
217
218
|
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
218
219
|
}, z.core.$strict>>;
|
|
219
220
|
}, z.core.$strict>;
|
|
220
|
-
|
|
221
|
+
basis: z.ZodObject<{
|
|
222
|
+
sessionId: z.ZodString;
|
|
223
|
+
version: z.ZodNumber;
|
|
224
|
+
actionSetVersion: z.ZodString;
|
|
225
|
+
perspectivePlayerId: z.ZodString;
|
|
226
|
+
}, z.core.$strict>;
|
|
227
|
+
view: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
228
|
+
causedBy: z.ZodOptional<z.ZodString>;
|
|
229
|
+
interactionsByRef: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
221
230
|
phaseName: z.ZodString;
|
|
222
231
|
interactionKey: z.ZodString;
|
|
223
232
|
interactionId: z.ZodString;
|
|
@@ -421,6 +430,7 @@ declare const SessionSnapshotFrameSchema: z.ZodObject<{
|
|
|
421
430
|
}, z.core.$strict>>>;
|
|
422
431
|
kind: z.ZodLiteral<"action">;
|
|
423
432
|
}, z.core.$strict>>;
|
|
433
|
+
availableInteractionRefs: z.ZodArray<z.ZodString>;
|
|
424
434
|
zones: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
425
435
|
tiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
426
436
|
disclosure: z.ZodLiteral<"visible">;
|
|
@@ -461,223 +471,15 @@ declare const SessionSnapshotFrameSchema: z.ZodObject<{
|
|
|
461
471
|
properties: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
462
472
|
}, z.core.$strict>>;
|
|
463
473
|
cardBacksById: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
464
|
-
playableByCardId: z.ZodRecord<z.ZodString, z.ZodArray<z.
|
|
465
|
-
phaseName: z.ZodString;
|
|
466
|
-
interactionKey: z.ZodString;
|
|
467
|
-
interactionId: z.ZodString;
|
|
468
|
-
label: z.ZodString;
|
|
469
|
-
help: z.ZodOptional<z.ZodString>;
|
|
470
|
-
zoneId: z.ZodOptional<z.ZodString>;
|
|
471
|
-
zoneIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
472
|
-
commit: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
473
|
-
mode: z.ZodLiteral<"manual">;
|
|
474
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
475
|
-
mode: z.ZodLiteral<"autoWhenReady">;
|
|
476
|
-
}, z.core.$strict>], "mode">;
|
|
477
|
-
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
478
|
-
actorSeat: z.ZodOptional<z.ZodNumber>;
|
|
479
|
-
draftDigest: z.ZodOptional<z.ZodString>;
|
|
480
|
-
inputs: z.ZodArray<z.ZodObject<{
|
|
481
|
-
key: z.ZodString;
|
|
482
|
-
kind: z.ZodEnum<{
|
|
483
|
-
card: "card";
|
|
484
|
-
tile: "tile";
|
|
485
|
-
"board-edge": "board-edge";
|
|
486
|
-
"board-vertex": "board-vertex";
|
|
487
|
-
"board-space": "board-space";
|
|
488
|
-
form: "form";
|
|
489
|
-
position: "position";
|
|
490
|
-
rng: "rng";
|
|
491
|
-
}>;
|
|
492
|
-
domain: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
493
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
494
|
-
mode: z.ZodLiteral<"single">;
|
|
495
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
496
|
-
mode: z.ZodLiteral<"many">;
|
|
497
|
-
min: z.ZodNumber;
|
|
498
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
499
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
-
}, z.core.$strict>], "mode">>;
|
|
501
|
-
type: z.ZodLiteral<"cardTarget">;
|
|
502
|
-
projection: z.ZodLiteral<"resolved">;
|
|
503
|
-
targetKind: z.ZodLiteral<"card">;
|
|
504
|
-
zoneIds: z.ZodArray<z.ZodString>;
|
|
505
|
-
eligibleTargets: z.ZodArray<z.ZodString>;
|
|
506
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
507
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
508
|
-
mode: z.ZodLiteral<"single">;
|
|
509
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
510
|
-
mode: z.ZodLiteral<"many">;
|
|
511
|
-
min: z.ZodNumber;
|
|
512
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
513
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
514
|
-
}, z.core.$strict>], "mode">>;
|
|
515
|
-
type: z.ZodLiteral<"tileTarget">;
|
|
516
|
-
projection: z.ZodLiteral<"resolved">;
|
|
517
|
-
targetKind: z.ZodLiteral<"tile">;
|
|
518
|
-
zoneIds: z.ZodArray<z.ZodString>;
|
|
519
|
-
boardIds: z.ZodArray<z.ZodString>;
|
|
520
|
-
eligibleTargets: z.ZodArray<z.core.$ZodBranded<z.ZodString, "SeatTileRef", "out">>;
|
|
521
|
-
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
522
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
523
|
-
mode: z.ZodLiteral<"single">;
|
|
524
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
525
|
-
mode: z.ZodLiteral<"many">;
|
|
526
|
-
min: z.ZodNumber;
|
|
527
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
528
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
-
}, z.core.$strict>], "mode">>;
|
|
530
|
-
type: z.ZodLiteral<"boardTarget">;
|
|
531
|
-
projection: z.ZodLiteral<"resolved">;
|
|
532
|
-
targetKind: z.ZodEnum<{
|
|
533
|
-
edge: "edge";
|
|
534
|
-
vertex: "vertex";
|
|
535
|
-
space: "space";
|
|
536
|
-
}>;
|
|
537
|
-
boardId: z.ZodString;
|
|
538
|
-
valueKind: z.ZodLiteral<"board-id">;
|
|
539
|
-
eligibleTargets: z.ZodArray<z.ZodString>;
|
|
540
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
541
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
542
|
-
mode: z.ZodLiteral<"single">;
|
|
543
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
544
|
-
mode: z.ZodLiteral<"many">;
|
|
545
|
-
min: z.ZodNumber;
|
|
546
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
547
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
-
}, z.core.$strict>], "mode">>;
|
|
549
|
-
type: z.ZodLiteral<"boardTarget">;
|
|
550
|
-
projection: z.ZodLiteral<"resolved">;
|
|
551
|
-
targetKind: z.ZodLiteral<"space">;
|
|
552
|
-
boardBaseId: z.ZodString;
|
|
553
|
-
valueKind: z.ZodLiteral<"board-space">;
|
|
554
|
-
eligibleTargets: z.ZodArray<z.ZodObject<{
|
|
555
|
-
boardId: z.ZodString;
|
|
556
|
-
spaceId: z.ZodString;
|
|
557
|
-
}, z.core.$strict>>;
|
|
558
|
-
}, z.core.$strict>], "valueKind">, z.ZodObject<{
|
|
559
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
560
|
-
mode: z.ZodLiteral<"single">;
|
|
561
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
562
|
-
mode: z.ZodLiteral<"many">;
|
|
563
|
-
min: z.ZodNumber;
|
|
564
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
565
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
566
|
-
}, z.core.$strict>], "mode">>;
|
|
567
|
-
type: z.ZodLiteral<"zonePosition">;
|
|
568
|
-
zones: z.ZodArray<z.ZodObject<{
|
|
569
|
-
zoneId: z.ZodString;
|
|
570
|
-
hostId: z.ZodString;
|
|
571
|
-
size: z.ZodNumber;
|
|
572
|
-
}, z.core.$strict>>;
|
|
573
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
574
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
575
|
-
mode: z.ZodLiteral<"single">;
|
|
576
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
577
|
-
mode: z.ZodLiteral<"many">;
|
|
578
|
-
min: z.ZodNumber;
|
|
579
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
580
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
581
|
-
}, z.core.$strict>], "mode">>;
|
|
582
|
-
type: z.ZodLiteral<"resourceMap">;
|
|
583
|
-
resources: z.ZodArray<z.ZodObject<{
|
|
584
|
-
resourceId: z.ZodString;
|
|
585
|
-
label: z.ZodOptional<z.ZodString>;
|
|
586
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
587
|
-
min: z.ZodNumber;
|
|
588
|
-
max: z.ZodNumber;
|
|
589
|
-
}, z.core.$strict>>;
|
|
590
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
591
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
592
|
-
mode: z.ZodLiteral<"single">;
|
|
593
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
594
|
-
mode: z.ZodLiteral<"many">;
|
|
595
|
-
min: z.ZodNumber;
|
|
596
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
597
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
598
|
-
}, z.core.$strict>], "mode">>;
|
|
599
|
-
type: z.ZodLiteral<"boundedNumber">;
|
|
600
|
-
min: z.ZodNumber;
|
|
601
|
-
max: z.ZodNumber;
|
|
602
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
603
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
604
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
605
|
-
mode: z.ZodLiteral<"single">;
|
|
606
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
607
|
-
mode: z.ZodLiteral<"many">;
|
|
608
|
-
min: z.ZodNumber;
|
|
609
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
610
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
}, z.core.$strict>], "mode">>;
|
|
612
|
-
type: z.ZodLiteral<"choice">;
|
|
613
|
-
choices: z.ZodArray<z.ZodObject<{
|
|
614
|
-
value: z.ZodNullable<z.ZodString>;
|
|
615
|
-
label: z.ZodString;
|
|
616
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
617
|
-
badge: z.ZodOptional<z.ZodString>;
|
|
618
|
-
description: z.ZodOptional<z.ZodString>;
|
|
619
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
620
|
-
disabledReason: z.ZodOptional<z.ZodString>;
|
|
621
|
-
}, z.core.$strict>>;
|
|
622
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
623
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
624
|
-
mode: z.ZodLiteral<"single">;
|
|
625
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
626
|
-
mode: z.ZodLiteral<"many">;
|
|
627
|
-
min: z.ZodNumber;
|
|
628
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
629
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
630
|
-
}, z.core.$strict>], "mode">>;
|
|
631
|
-
type: z.ZodLiteral<"choiceList">;
|
|
632
|
-
choices: z.ZodArray<z.ZodObject<{
|
|
633
|
-
label: z.ZodString;
|
|
634
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
635
|
-
badge: z.ZodOptional<z.ZodString>;
|
|
636
|
-
description: z.ZodOptional<z.ZodString>;
|
|
637
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
638
|
-
disabledReason: z.ZodOptional<z.ZodString>;
|
|
639
|
-
value: z.ZodString;
|
|
640
|
-
}, z.core.$strict>>;
|
|
641
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
642
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
643
|
-
}, z.core.$strict>], "type">;
|
|
644
|
-
defaultValue: z.ZodOptional<z.ZodJSONSchema>;
|
|
645
|
-
}, z.core.$strict>>;
|
|
646
|
-
step: z.ZodOptional<z.ZodObject<{
|
|
647
|
-
index: z.ZodNumber;
|
|
648
|
-
total: z.ZodNumber;
|
|
649
|
-
selected: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
650
|
-
canCancel: z.ZodBoolean;
|
|
651
|
-
}, z.core.$strict>>;
|
|
652
|
-
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
653
|
-
status: z.ZodLiteral<"available">;
|
|
654
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
655
|
-
status: z.ZodLiteral<"notYourTurn">;
|
|
656
|
-
reason: z.ZodString;
|
|
657
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
658
|
-
status: z.ZodLiteral<"blocked">;
|
|
659
|
-
reason: z.ZodString;
|
|
660
|
-
code: z.ZodOptional<z.ZodString>;
|
|
661
|
-
}, z.core.$strict>], "status">;
|
|
662
|
-
reasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
663
|
-
ruleId: z.ZodString;
|
|
664
|
-
errorCode: z.ZodString;
|
|
665
|
-
}, z.core.$strict>>>;
|
|
666
|
-
kind: z.ZodLiteral<"action">;
|
|
667
|
-
}, z.core.$strict>>>;
|
|
474
|
+
playableByCardId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
668
475
|
shuffled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
669
476
|
}, z.core.$strict>>>;
|
|
670
|
-
basis: z.ZodObject<{
|
|
671
|
-
sessionId: z.ZodString;
|
|
672
|
-
version: z.ZodNumber;
|
|
673
|
-
actionSetVersion: z.ZodString;
|
|
674
|
-
perspectivePlayerId: z.ZodString;
|
|
675
|
-
}, z.core.$strict>;
|
|
676
477
|
}, z.core.$strict>;
|
|
677
478
|
acknowledgedClientActionId: z.ZodOptional<z.ZodString>;
|
|
678
479
|
}, z.core.$strip>;
|
|
679
480
|
declare const ClientGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
680
481
|
type: z.ZodLiteral<"auth.connect">;
|
|
482
|
+
protocolVersion: z.ZodLiteral<2>;
|
|
681
483
|
credential: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
682
484
|
kind: z.ZodLiteral<"room-guest">;
|
|
683
485
|
token: z.ZodString;
|
|
@@ -730,6 +532,7 @@ declare const ClientGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
730
532
|
}, z.core.$strict>], "type">;
|
|
731
533
|
declare const ServerGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
732
534
|
type: z.ZodLiteral<"auth.accepted">;
|
|
535
|
+
protocolVersion: z.ZodLiteral<2>;
|
|
733
536
|
expiresAt: z.ZodString;
|
|
734
537
|
}, z.core.$strip>, z.ZodObject<{
|
|
735
538
|
type: z.ZodLiteral<"gameplay.backpressure">;
|
|
@@ -749,7 +552,6 @@ declare const ServerGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
749
552
|
type: z.ZodLiteral<"session.snapshot">;
|
|
750
553
|
frame: z.ZodObject<{
|
|
751
554
|
players: z.ZodArray<z.ZodString>;
|
|
752
|
-
causedBy: z.ZodOptional<z.ZodString>;
|
|
753
555
|
events: z.ZodArray<z.ZodObject<{
|
|
754
556
|
kind: z.ZodLiteral<"systemAction">;
|
|
755
557
|
procedureId: z.ZodString;
|
|
@@ -763,7 +565,6 @@ declare const ServerGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
763
565
|
}, z.core.$strict>]>;
|
|
764
566
|
}, z.core.$strict>>>;
|
|
765
567
|
}, z.core.$strict>>;
|
|
766
|
-
view: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
767
568
|
flow: z.ZodObject<{
|
|
768
569
|
currentPhase: z.ZodNullable<z.ZodString>;
|
|
769
570
|
activePlayers: z.ZodArray<z.ZodString>;
|
|
@@ -775,7 +576,15 @@ declare const ServerGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
775
576
|
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
776
577
|
}, z.core.$strict>>;
|
|
777
578
|
}, z.core.$strict>;
|
|
778
|
-
|
|
579
|
+
basis: z.ZodObject<{
|
|
580
|
+
sessionId: z.ZodString;
|
|
581
|
+
version: z.ZodNumber;
|
|
582
|
+
actionSetVersion: z.ZodString;
|
|
583
|
+
perspectivePlayerId: z.ZodString;
|
|
584
|
+
}, z.core.$strict>;
|
|
585
|
+
view: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
586
|
+
causedBy: z.ZodOptional<z.ZodString>;
|
|
587
|
+
interactionsByRef: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
779
588
|
phaseName: z.ZodString;
|
|
780
589
|
interactionKey: z.ZodString;
|
|
781
590
|
interactionId: z.ZodString;
|
|
@@ -979,6 +788,7 @@ declare const ServerGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
979
788
|
}, z.core.$strict>>>;
|
|
980
789
|
kind: z.ZodLiteral<"action">;
|
|
981
790
|
}, z.core.$strict>>;
|
|
791
|
+
availableInteractionRefs: z.ZodArray<z.ZodString>;
|
|
982
792
|
zones: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
983
793
|
tiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
984
794
|
disclosure: z.ZodLiteral<"visible">;
|
|
@@ -1019,218 +829,9 @@ declare const ServerGameplayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1019
829
|
properties: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1020
830
|
}, z.core.$strict>>;
|
|
1021
831
|
cardBacksById: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1022
|
-
playableByCardId: z.ZodRecord<z.ZodString, z.ZodArray<z.
|
|
1023
|
-
phaseName: z.ZodString;
|
|
1024
|
-
interactionKey: z.ZodString;
|
|
1025
|
-
interactionId: z.ZodString;
|
|
1026
|
-
label: z.ZodString;
|
|
1027
|
-
help: z.ZodOptional<z.ZodString>;
|
|
1028
|
-
zoneId: z.ZodOptional<z.ZodString>;
|
|
1029
|
-
zoneIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1030
|
-
commit: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1031
|
-
mode: z.ZodLiteral<"manual">;
|
|
1032
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1033
|
-
mode: z.ZodLiteral<"autoWhenReady">;
|
|
1034
|
-
}, z.core.$strict>], "mode">;
|
|
1035
|
-
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
1036
|
-
actorSeat: z.ZodOptional<z.ZodNumber>;
|
|
1037
|
-
draftDigest: z.ZodOptional<z.ZodString>;
|
|
1038
|
-
inputs: z.ZodArray<z.ZodObject<{
|
|
1039
|
-
key: z.ZodString;
|
|
1040
|
-
kind: z.ZodEnum<{
|
|
1041
|
-
card: "card";
|
|
1042
|
-
tile: "tile";
|
|
1043
|
-
"board-edge": "board-edge";
|
|
1044
|
-
"board-vertex": "board-vertex";
|
|
1045
|
-
"board-space": "board-space";
|
|
1046
|
-
form: "form";
|
|
1047
|
-
position: "position";
|
|
1048
|
-
rng: "rng";
|
|
1049
|
-
}>;
|
|
1050
|
-
domain: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1051
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1052
|
-
mode: z.ZodLiteral<"single">;
|
|
1053
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1054
|
-
mode: z.ZodLiteral<"many">;
|
|
1055
|
-
min: z.ZodNumber;
|
|
1056
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1057
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1058
|
-
}, z.core.$strict>], "mode">>;
|
|
1059
|
-
type: z.ZodLiteral<"cardTarget">;
|
|
1060
|
-
projection: z.ZodLiteral<"resolved">;
|
|
1061
|
-
targetKind: z.ZodLiteral<"card">;
|
|
1062
|
-
zoneIds: z.ZodArray<z.ZodString>;
|
|
1063
|
-
eligibleTargets: z.ZodArray<z.ZodString>;
|
|
1064
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1065
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1066
|
-
mode: z.ZodLiteral<"single">;
|
|
1067
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1068
|
-
mode: z.ZodLiteral<"many">;
|
|
1069
|
-
min: z.ZodNumber;
|
|
1070
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1072
|
-
}, z.core.$strict>], "mode">>;
|
|
1073
|
-
type: z.ZodLiteral<"tileTarget">;
|
|
1074
|
-
projection: z.ZodLiteral<"resolved">;
|
|
1075
|
-
targetKind: z.ZodLiteral<"tile">;
|
|
1076
|
-
zoneIds: z.ZodArray<z.ZodString>;
|
|
1077
|
-
boardIds: z.ZodArray<z.ZodString>;
|
|
1078
|
-
eligibleTargets: z.ZodArray<z.core.$ZodBranded<z.ZodString, "SeatTileRef", "out">>;
|
|
1079
|
-
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1080
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1081
|
-
mode: z.ZodLiteral<"single">;
|
|
1082
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1083
|
-
mode: z.ZodLiteral<"many">;
|
|
1084
|
-
min: z.ZodNumber;
|
|
1085
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1086
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1087
|
-
}, z.core.$strict>], "mode">>;
|
|
1088
|
-
type: z.ZodLiteral<"boardTarget">;
|
|
1089
|
-
projection: z.ZodLiteral<"resolved">;
|
|
1090
|
-
targetKind: z.ZodEnum<{
|
|
1091
|
-
edge: "edge";
|
|
1092
|
-
vertex: "vertex";
|
|
1093
|
-
space: "space";
|
|
1094
|
-
}>;
|
|
1095
|
-
boardId: z.ZodString;
|
|
1096
|
-
valueKind: z.ZodLiteral<"board-id">;
|
|
1097
|
-
eligibleTargets: z.ZodArray<z.ZodString>;
|
|
1098
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1099
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1100
|
-
mode: z.ZodLiteral<"single">;
|
|
1101
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1102
|
-
mode: z.ZodLiteral<"many">;
|
|
1103
|
-
min: z.ZodNumber;
|
|
1104
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1106
|
-
}, z.core.$strict>], "mode">>;
|
|
1107
|
-
type: z.ZodLiteral<"boardTarget">;
|
|
1108
|
-
projection: z.ZodLiteral<"resolved">;
|
|
1109
|
-
targetKind: z.ZodLiteral<"space">;
|
|
1110
|
-
boardBaseId: z.ZodString;
|
|
1111
|
-
valueKind: z.ZodLiteral<"board-space">;
|
|
1112
|
-
eligibleTargets: z.ZodArray<z.ZodObject<{
|
|
1113
|
-
boardId: z.ZodString;
|
|
1114
|
-
spaceId: z.ZodString;
|
|
1115
|
-
}, z.core.$strict>>;
|
|
1116
|
-
}, z.core.$strict>], "valueKind">, z.ZodObject<{
|
|
1117
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1118
|
-
mode: z.ZodLiteral<"single">;
|
|
1119
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1120
|
-
mode: z.ZodLiteral<"many">;
|
|
1121
|
-
min: z.ZodNumber;
|
|
1122
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1123
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1124
|
-
}, z.core.$strict>], "mode">>;
|
|
1125
|
-
type: z.ZodLiteral<"zonePosition">;
|
|
1126
|
-
zones: z.ZodArray<z.ZodObject<{
|
|
1127
|
-
zoneId: z.ZodString;
|
|
1128
|
-
hostId: z.ZodString;
|
|
1129
|
-
size: z.ZodNumber;
|
|
1130
|
-
}, z.core.$strict>>;
|
|
1131
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1132
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1133
|
-
mode: z.ZodLiteral<"single">;
|
|
1134
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1135
|
-
mode: z.ZodLiteral<"many">;
|
|
1136
|
-
min: z.ZodNumber;
|
|
1137
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1138
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1139
|
-
}, z.core.$strict>], "mode">>;
|
|
1140
|
-
type: z.ZodLiteral<"resourceMap">;
|
|
1141
|
-
resources: z.ZodArray<z.ZodObject<{
|
|
1142
|
-
resourceId: z.ZodString;
|
|
1143
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1144
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1145
|
-
min: z.ZodNumber;
|
|
1146
|
-
max: z.ZodNumber;
|
|
1147
|
-
}, z.core.$strict>>;
|
|
1148
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1149
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1150
|
-
mode: z.ZodLiteral<"single">;
|
|
1151
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1152
|
-
mode: z.ZodLiteral<"many">;
|
|
1153
|
-
min: z.ZodNumber;
|
|
1154
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1155
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1156
|
-
}, z.core.$strict>], "mode">>;
|
|
1157
|
-
type: z.ZodLiteral<"boundedNumber">;
|
|
1158
|
-
min: z.ZodNumber;
|
|
1159
|
-
max: z.ZodNumber;
|
|
1160
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
1161
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1162
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1163
|
-
mode: z.ZodLiteral<"single">;
|
|
1164
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1165
|
-
mode: z.ZodLiteral<"many">;
|
|
1166
|
-
min: z.ZodNumber;
|
|
1167
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1168
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1169
|
-
}, z.core.$strict>], "mode">>;
|
|
1170
|
-
type: z.ZodLiteral<"choice">;
|
|
1171
|
-
choices: z.ZodArray<z.ZodObject<{
|
|
1172
|
-
value: z.ZodNullable<z.ZodString>;
|
|
1173
|
-
label: z.ZodString;
|
|
1174
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1175
|
-
badge: z.ZodOptional<z.ZodString>;
|
|
1176
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1178
|
-
disabledReason: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
}, z.core.$strict>>;
|
|
1180
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1181
|
-
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1182
|
-
mode: z.ZodLiteral<"single">;
|
|
1183
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1184
|
-
mode: z.ZodLiteral<"many">;
|
|
1185
|
-
min: z.ZodNumber;
|
|
1186
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1187
|
-
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1188
|
-
}, z.core.$strict>], "mode">>;
|
|
1189
|
-
type: z.ZodLiteral<"choiceList">;
|
|
1190
|
-
choices: z.ZodArray<z.ZodObject<{
|
|
1191
|
-
label: z.ZodString;
|
|
1192
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1193
|
-
badge: z.ZodOptional<z.ZodString>;
|
|
1194
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1195
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1196
|
-
disabledReason: z.ZodOptional<z.ZodString>;
|
|
1197
|
-
value: z.ZodString;
|
|
1198
|
-
}, z.core.$strict>>;
|
|
1199
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
1200
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1201
|
-
}, z.core.$strict>], "type">;
|
|
1202
|
-
defaultValue: z.ZodOptional<z.ZodJSONSchema>;
|
|
1203
|
-
}, z.core.$strict>>;
|
|
1204
|
-
step: z.ZodOptional<z.ZodObject<{
|
|
1205
|
-
index: z.ZodNumber;
|
|
1206
|
-
total: z.ZodNumber;
|
|
1207
|
-
selected: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1208
|
-
canCancel: z.ZodBoolean;
|
|
1209
|
-
}, z.core.$strict>>;
|
|
1210
|
-
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1211
|
-
status: z.ZodLiteral<"available">;
|
|
1212
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1213
|
-
status: z.ZodLiteral<"notYourTurn">;
|
|
1214
|
-
reason: z.ZodString;
|
|
1215
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1216
|
-
status: z.ZodLiteral<"blocked">;
|
|
1217
|
-
reason: z.ZodString;
|
|
1218
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1219
|
-
}, z.core.$strict>], "status">;
|
|
1220
|
-
reasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1221
|
-
ruleId: z.ZodString;
|
|
1222
|
-
errorCode: z.ZodString;
|
|
1223
|
-
}, z.core.$strict>>>;
|
|
1224
|
-
kind: z.ZodLiteral<"action">;
|
|
1225
|
-
}, z.core.$strict>>>;
|
|
832
|
+
playableByCardId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
1226
833
|
shuffled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1227
834
|
}, z.core.$strict>>>;
|
|
1228
|
-
basis: z.ZodObject<{
|
|
1229
|
-
sessionId: z.ZodString;
|
|
1230
|
-
version: z.ZodNumber;
|
|
1231
|
-
actionSetVersion: z.ZodString;
|
|
1232
|
-
perspectivePlayerId: z.ZodString;
|
|
1233
|
-
}, z.core.$strict>;
|
|
1234
835
|
}, z.core.$strict>;
|
|
1235
836
|
acknowledgedClientActionId: z.ZodOptional<z.ZodString>;
|
|
1236
837
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1760,6 +1361,298 @@ declare function computePluginActionSetVersion(input: ActionSetVersionInput): st
|
|
|
1760
1361
|
declare function digestPluginGameplayFrame(frame: PluginGameplayFrame): string;
|
|
1761
1362
|
declare function digestPluginCommandRequest(command: SubmitInteractionCommand | CancelInteractionCommand): string;
|
|
1762
1363
|
|
|
1364
|
+
/** Self-contained hosted snapshot. References are local to this frame. */
|
|
1365
|
+
type CompactGameplayFrame = Omit<PluginGameplayFrame, "availableInteractions" | "zones"> & {
|
|
1366
|
+
readonly interactionsByRef: Readonly<Record<string, InteractionDescriptor>>;
|
|
1367
|
+
readonly availableInteractionRefs: readonly string[];
|
|
1368
|
+
readonly zones: Readonly<Record<string, Readonly<Record<string, ZoneInteractionRefs>>>>;
|
|
1369
|
+
};
|
|
1370
|
+
declare const CompactGameplayFrameSchema: z.ZodObject<{
|
|
1371
|
+
players: z.ZodArray<z.ZodString>;
|
|
1372
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1373
|
+
kind: z.ZodLiteral<"systemAction">;
|
|
1374
|
+
procedureId: z.ZodString;
|
|
1375
|
+
title: z.ZodString;
|
|
1376
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1378
|
+
label: z.ZodString;
|
|
1379
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1380
|
+
kind: z.ZodLiteral<"tile">;
|
|
1381
|
+
ref: z.core.$ZodBranded<z.ZodString, "SeatTileRef", "out">;
|
|
1382
|
+
}, z.core.$strict>]>;
|
|
1383
|
+
}, z.core.$strict>>>;
|
|
1384
|
+
}, z.core.$strict>>;
|
|
1385
|
+
flow: z.ZodObject<{
|
|
1386
|
+
currentPhase: z.ZodNullable<z.ZodString>;
|
|
1387
|
+
activePlayers: z.ZodArray<z.ZodString>;
|
|
1388
|
+
simultaneousPhase: z.ZodNullable<z.ZodObject<{
|
|
1389
|
+
phaseName: z.ZodString;
|
|
1390
|
+
interactionId: z.ZodString;
|
|
1391
|
+
actorIds: z.ZodArray<z.ZodString>;
|
|
1392
|
+
sealedPlayerIds: z.ZodArray<z.ZodString>;
|
|
1393
|
+
pendingPlayerIds: z.ZodArray<z.ZodString>;
|
|
1394
|
+
}, z.core.$strict>>;
|
|
1395
|
+
}, z.core.$strict>;
|
|
1396
|
+
basis: z.ZodObject<{
|
|
1397
|
+
sessionId: z.ZodString;
|
|
1398
|
+
version: z.ZodNumber;
|
|
1399
|
+
actionSetVersion: z.ZodString;
|
|
1400
|
+
perspectivePlayerId: z.ZodString;
|
|
1401
|
+
}, z.core.$strict>;
|
|
1402
|
+
view: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1403
|
+
causedBy: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
interactionsByRef: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1405
|
+
phaseName: z.ZodString;
|
|
1406
|
+
interactionKey: z.ZodString;
|
|
1407
|
+
interactionId: z.ZodString;
|
|
1408
|
+
label: z.ZodString;
|
|
1409
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
zoneId: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
zoneIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1412
|
+
commit: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1413
|
+
mode: z.ZodLiteral<"manual">;
|
|
1414
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1415
|
+
mode: z.ZodLiteral<"autoWhenReady">;
|
|
1416
|
+
}, z.core.$strict>], "mode">;
|
|
1417
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
actorSeat: z.ZodOptional<z.ZodNumber>;
|
|
1419
|
+
draftDigest: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
1421
|
+
key: z.ZodString;
|
|
1422
|
+
kind: z.ZodEnum<{
|
|
1423
|
+
card: "card";
|
|
1424
|
+
tile: "tile";
|
|
1425
|
+
"board-edge": "board-edge";
|
|
1426
|
+
"board-vertex": "board-vertex";
|
|
1427
|
+
"board-space": "board-space";
|
|
1428
|
+
form: "form";
|
|
1429
|
+
position: "position";
|
|
1430
|
+
rng: "rng";
|
|
1431
|
+
}>;
|
|
1432
|
+
domain: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1433
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1434
|
+
mode: z.ZodLiteral<"single">;
|
|
1435
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1436
|
+
mode: z.ZodLiteral<"many">;
|
|
1437
|
+
min: z.ZodNumber;
|
|
1438
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1439
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1440
|
+
}, z.core.$strict>], "mode">>;
|
|
1441
|
+
type: z.ZodLiteral<"cardTarget">;
|
|
1442
|
+
projection: z.ZodLiteral<"resolved">;
|
|
1443
|
+
targetKind: z.ZodLiteral<"card">;
|
|
1444
|
+
zoneIds: z.ZodArray<z.ZodString>;
|
|
1445
|
+
eligibleTargets: z.ZodArray<z.ZodString>;
|
|
1446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1447
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1448
|
+
mode: z.ZodLiteral<"single">;
|
|
1449
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1450
|
+
mode: z.ZodLiteral<"many">;
|
|
1451
|
+
min: z.ZodNumber;
|
|
1452
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1453
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1454
|
+
}, z.core.$strict>], "mode">>;
|
|
1455
|
+
type: z.ZodLiteral<"tileTarget">;
|
|
1456
|
+
projection: z.ZodLiteral<"resolved">;
|
|
1457
|
+
targetKind: z.ZodLiteral<"tile">;
|
|
1458
|
+
zoneIds: z.ZodArray<z.ZodString>;
|
|
1459
|
+
boardIds: z.ZodArray<z.ZodString>;
|
|
1460
|
+
eligibleTargets: z.ZodArray<z.core.$ZodBranded<z.ZodString, "SeatTileRef", "out">>;
|
|
1461
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1462
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1463
|
+
mode: z.ZodLiteral<"single">;
|
|
1464
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1465
|
+
mode: z.ZodLiteral<"many">;
|
|
1466
|
+
min: z.ZodNumber;
|
|
1467
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1468
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1469
|
+
}, z.core.$strict>], "mode">>;
|
|
1470
|
+
type: z.ZodLiteral<"boardTarget">;
|
|
1471
|
+
projection: z.ZodLiteral<"resolved">;
|
|
1472
|
+
targetKind: z.ZodEnum<{
|
|
1473
|
+
edge: "edge";
|
|
1474
|
+
vertex: "vertex";
|
|
1475
|
+
space: "space";
|
|
1476
|
+
}>;
|
|
1477
|
+
boardId: z.ZodString;
|
|
1478
|
+
valueKind: z.ZodLiteral<"board-id">;
|
|
1479
|
+
eligibleTargets: z.ZodArray<z.ZodString>;
|
|
1480
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1481
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1482
|
+
mode: z.ZodLiteral<"single">;
|
|
1483
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1484
|
+
mode: z.ZodLiteral<"many">;
|
|
1485
|
+
min: z.ZodNumber;
|
|
1486
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1487
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1488
|
+
}, z.core.$strict>], "mode">>;
|
|
1489
|
+
type: z.ZodLiteral<"boardTarget">;
|
|
1490
|
+
projection: z.ZodLiteral<"resolved">;
|
|
1491
|
+
targetKind: z.ZodLiteral<"space">;
|
|
1492
|
+
boardBaseId: z.ZodString;
|
|
1493
|
+
valueKind: z.ZodLiteral<"board-space">;
|
|
1494
|
+
eligibleTargets: z.ZodArray<z.ZodObject<{
|
|
1495
|
+
boardId: z.ZodString;
|
|
1496
|
+
spaceId: z.ZodString;
|
|
1497
|
+
}, z.core.$strict>>;
|
|
1498
|
+
}, z.core.$strict>], "valueKind">, z.ZodObject<{
|
|
1499
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1500
|
+
mode: z.ZodLiteral<"single">;
|
|
1501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1502
|
+
mode: z.ZodLiteral<"many">;
|
|
1503
|
+
min: z.ZodNumber;
|
|
1504
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1505
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1506
|
+
}, z.core.$strict>], "mode">>;
|
|
1507
|
+
type: z.ZodLiteral<"zonePosition">;
|
|
1508
|
+
zones: z.ZodArray<z.ZodObject<{
|
|
1509
|
+
zoneId: z.ZodString;
|
|
1510
|
+
hostId: z.ZodString;
|
|
1511
|
+
size: z.ZodNumber;
|
|
1512
|
+
}, z.core.$strict>>;
|
|
1513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1514
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1515
|
+
mode: z.ZodLiteral<"single">;
|
|
1516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1517
|
+
mode: z.ZodLiteral<"many">;
|
|
1518
|
+
min: z.ZodNumber;
|
|
1519
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1520
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1521
|
+
}, z.core.$strict>], "mode">>;
|
|
1522
|
+
type: z.ZodLiteral<"resourceMap">;
|
|
1523
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
1524
|
+
resourceId: z.ZodString;
|
|
1525
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1527
|
+
min: z.ZodNumber;
|
|
1528
|
+
max: z.ZodNumber;
|
|
1529
|
+
}, z.core.$strict>>;
|
|
1530
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1531
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1532
|
+
mode: z.ZodLiteral<"single">;
|
|
1533
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1534
|
+
mode: z.ZodLiteral<"many">;
|
|
1535
|
+
min: z.ZodNumber;
|
|
1536
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1537
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1538
|
+
}, z.core.$strict>], "mode">>;
|
|
1539
|
+
type: z.ZodLiteral<"boundedNumber">;
|
|
1540
|
+
min: z.ZodNumber;
|
|
1541
|
+
max: z.ZodNumber;
|
|
1542
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
1543
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1544
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1545
|
+
mode: z.ZodLiteral<"single">;
|
|
1546
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1547
|
+
mode: z.ZodLiteral<"many">;
|
|
1548
|
+
min: z.ZodNumber;
|
|
1549
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1550
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1551
|
+
}, z.core.$strict>], "mode">>;
|
|
1552
|
+
type: z.ZodLiteral<"choice">;
|
|
1553
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
1554
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1555
|
+
label: z.ZodString;
|
|
1556
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
badge: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1560
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
}, z.core.$strict>>;
|
|
1562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1563
|
+
selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1564
|
+
mode: z.ZodLiteral<"single">;
|
|
1565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1566
|
+
mode: z.ZodLiteral<"many">;
|
|
1567
|
+
min: z.ZodNumber;
|
|
1568
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1569
|
+
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1570
|
+
}, z.core.$strict>], "mode">>;
|
|
1571
|
+
type: z.ZodLiteral<"choiceList">;
|
|
1572
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
1573
|
+
label: z.ZodString;
|
|
1574
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
badge: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1578
|
+
disabledReason: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
value: z.ZodString;
|
|
1580
|
+
}, z.core.$strict>>;
|
|
1581
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1582
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1583
|
+
}, z.core.$strict>], "type">;
|
|
1584
|
+
defaultValue: z.ZodOptional<z.ZodJSONSchema>;
|
|
1585
|
+
}, z.core.$strict>>;
|
|
1586
|
+
step: z.ZodOptional<z.ZodObject<{
|
|
1587
|
+
index: z.ZodNumber;
|
|
1588
|
+
total: z.ZodNumber;
|
|
1589
|
+
selected: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1590
|
+
canCancel: z.ZodBoolean;
|
|
1591
|
+
}, z.core.$strict>>;
|
|
1592
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1593
|
+
status: z.ZodLiteral<"available">;
|
|
1594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1595
|
+
status: z.ZodLiteral<"notYourTurn">;
|
|
1596
|
+
reason: z.ZodString;
|
|
1597
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1598
|
+
status: z.ZodLiteral<"blocked">;
|
|
1599
|
+
reason: z.ZodString;
|
|
1600
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1601
|
+
}, z.core.$strict>], "status">;
|
|
1602
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1603
|
+
ruleId: z.ZodString;
|
|
1604
|
+
errorCode: z.ZodString;
|
|
1605
|
+
}, z.core.$strict>>>;
|
|
1606
|
+
kind: z.ZodLiteral<"action">;
|
|
1607
|
+
}, z.core.$strict>>;
|
|
1608
|
+
availableInteractionRefs: z.ZodArray<z.ZodString>;
|
|
1609
|
+
zones: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1610
|
+
tiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1611
|
+
disclosure: z.ZodLiteral<"visible">;
|
|
1612
|
+
ref: z.core.$ZodBranded<z.ZodString, "SeatTileRef", "out">;
|
|
1613
|
+
tileTypeId: z.ZodString;
|
|
1614
|
+
name: z.ZodString;
|
|
1615
|
+
frontImage: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
ownerId: z.ZodNullable<z.ZodString>;
|
|
1617
|
+
fields: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1618
|
+
properties: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1619
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1620
|
+
disclosure: z.ZodLiteral<"concealed">;
|
|
1621
|
+
ref: z.core.$ZodBranded<z.ZodString, "SeatTileRef", "out">;
|
|
1622
|
+
appearance: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1623
|
+
layout: z.ZodLiteral<"hex">;
|
|
1624
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
1625
|
+
q: z.ZodInt;
|
|
1626
|
+
r: z.ZodInt;
|
|
1627
|
+
}, z.core.$strict>>;
|
|
1628
|
+
backImage: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1630
|
+
layout: z.ZodLiteral<"square">;
|
|
1631
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
1632
|
+
col: z.ZodInt;
|
|
1633
|
+
row: z.ZodInt;
|
|
1634
|
+
}, z.core.$strict>>;
|
|
1635
|
+
backImage: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
}, z.core.$strict>], "layout">;
|
|
1637
|
+
}, z.core.$strict>], "disclosure">>;
|
|
1638
|
+
cardIds: z.ZodArray<z.ZodString>;
|
|
1639
|
+
cardViewsById: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1640
|
+
id: z.ZodString;
|
|
1641
|
+
cardType: z.ZodString;
|
|
1642
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
frontImage: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
backImage: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
properties: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1647
|
+
}, z.core.$strict>>;
|
|
1648
|
+
cardBacksById: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1649
|
+
playableByCardId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
1650
|
+
shuffled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1651
|
+
}, z.core.$strict>>>;
|
|
1652
|
+
}, z.core.$strict>;
|
|
1653
|
+
/** Hydrates a schema-admitted frame, retaining the shared descriptor objects. */
|
|
1654
|
+
declare function hydrateCompactGameplayFrame(frame: CompactGameplayFrame): PluginGameplayFrame;
|
|
1655
|
+
|
|
1763
1656
|
interface MaterializePluginGameplayFrameInput {
|
|
1764
1657
|
readonly players: readonly PlayerId[];
|
|
1765
1658
|
readonly causedBy?: string;
|
|
@@ -1772,6 +1665,10 @@ interface MaterializePluginGameplayFrameInput {
|
|
|
1772
1665
|
readonly actionSetVersion: string;
|
|
1773
1666
|
}
|
|
1774
1667
|
declare function materializePluginGameplayFrame(input: MaterializePluginGameplayFrameInput): PluginGameplayFrame;
|
|
1668
|
+
/** Selects one seat from an already schema-validated all-seat projection. */
|
|
1669
|
+
declare function materializeCompactGameplayFrame(input: Omit<MaterializePluginGameplayFrameInput, "dynamicProjection"> & {
|
|
1670
|
+
readonly dynamicProjection: SeatProjectionBundle;
|
|
1671
|
+
}): CompactGameplayFrame;
|
|
1775
1672
|
|
|
1776
1673
|
declare const GameEventDetailSchema: z.ZodObject<{
|
|
1777
1674
|
label: z.ZodString;
|
|
@@ -5223,4 +5120,4 @@ declare function cardSelectionFeature<G>(game: CoreInstance<G>, context: Feature
|
|
|
5223
5120
|
declare const PLAYER_SEAT_COLORS: readonly ["#2563EB", "#DC2626", "#059669", "#7C3AED", "#DB2777", "#0891B2", "#65A30D", "#EA580C"];
|
|
5224
5121
|
declare function playerSeatColor(seatIndex: number): string;
|
|
5225
5122
|
|
|
5226
|
-
export { ActionProps, type ActionSetVersionInput, AmbiguousTargetError, AuthAcceptedFrameSchema, AuthConnectFrameSchema, AuthRefreshFrameSchema, BoardBase, BoardCollection, BoardDataOf, BoardEdgeId, type BoardFeature, type BoardLayoutOptions, type BoardLayoutTile, BoardSpace, BoardSpaceCollection, BoardVertexId, type CancelInteractionCommand, CancelInteractionCommandSchema, Card, type CardOrigin, type CardSelectionController, type ClientGameplayFrame, ClientGameplayFrameSchema, CommandSource, CoreInstance, DREAMBOARD_PLUGIN_PROTOCOL, DREAMBOARD_PLUGIN_PROTOCOL_VERSION, DREAMBOARD_SDK_PACKAGES, DREAMBOARD_SDK_PACKAGE_SET, DREAMBOARD_SDK_VERSION, type DragController, type DragState, type DreamboardSdkPackageName, type DreamboardSdkPackageSet, DropTarget, type FanCard, type FanLayout, type FanOptions, FeatureContext, Features, GESTURE_THRESHOLDS, GameEventDetailSchema, GameEventSchema, GameInstance, GameOutcomeSchema, GameSource, GameplayBackpressureFrameSchema, GameplayBackpressureOperationSchema, GameplayBackpressureReasonSchema, GameplayBasis, GameplayBasisSchema, GameplayCloseCode, type GameplayCredential, GameplayCredentialSchema, type GestureCallbacks, type GestureKind, type GestureOptions, type GesturePointer, type GestureRecognizer, type HandController, type HandFan, type HandFanInput, type HandFanOptions, type HandFanPose, type HandOptions, type HandSort, type HostToPluginEnvelope, HostToPluginEnvelopeSchema, type HostToPluginPayload, HostToPluginPayloadSchema, IdOf, InstanceOptions, InteractionDescriptor, type InteractionResult, InteractionResultSchema, type MaterializePluginGameplayFrameInput, PLAYER_SEAT_COLORS, type PanZoomOptions, PlayerId, PluginGameplayFrame, PluginGameplayFrameSchema, PluginPlayerSummarySchema, type PluginProtocolEnvelope, PluginSessionDescriptor, PluginSessionDescriptorSchema, type PluginToHostEnvelope, PluginToHostEnvelopeSchema, type PluginToHostPayload, PluginToHostPayloadSchema, ReducerSeatProjectionBundle, RuntimeJson, RuntimeTargetOptions, SeatBoardTopology, SeatCardId, SeatFrameSchema, SeatProjectionBundleSchema, SeatSpaceRef, SeatTileRef, type ServerGameplayFrame, ServerGameplayFrameSchema, SessionResumeFrameSchema, SessionSnapshotFrameSchema, SimultaneousPhaseSnapshotSchema, SourceSnapshot, type SubmitInteractionCommand, SubmitInteractionCommandSchema, SystemActionEventSchema, TargetOptions, type ViewportSurface, type ViewportTransform, type WheelInput, Zone, ZoneHandlesSnapshotSchema, ZoneHostId, type ZoneShuffle, boardFeature, canonicalizePluginRuntimeJson, cardSelectionFeature, computePluginActionSetVersion, createGameInstance, createGestureRecognizer, createPluginProtocolEnvelopeSchema, cssEasing, digestPluginCommandRequest, digestPluginGameplayFrame, digestPluginRuntimeJson, dragFeature, encodeCanonicalPluginRuntimeJson, exponentialOut, fanLayout, handFan, handFanPresets, handFanTiming, handFeature, hostSource, iframeSource, liftFanCard, magneticDropPoint, materializePluginGameplayFrame, originsFeature, panZoomFeature, parseHostToPluginEnvelope, parsePluginGameplayFrame, parsePluginSessionDescriptor, parsePluginToHostEnvelope, playerSeatColor, staticSource };
|
|
5123
|
+
export { ActionProps, type ActionSetVersionInput, AmbiguousTargetError, AuthAcceptedFrameSchema, AuthConnectFrameSchema, AuthRefreshFrameSchema, BoardBase, BoardCollection, BoardDataOf, BoardEdgeId, type BoardFeature, type BoardLayoutOptions, type BoardLayoutTile, BoardSpace, BoardSpaceCollection, BoardVertexId, type CancelInteractionCommand, CancelInteractionCommandSchema, Card, type CardOrigin, type CardSelectionController, type ClientGameplayFrame, ClientGameplayFrameSchema, CommandSource, type CompactGameplayFrame, CompactGameplayFrameSchema, CoreInstance, DREAMBOARD_PLUGIN_PROTOCOL, DREAMBOARD_PLUGIN_PROTOCOL_VERSION, DREAMBOARD_SDK_PACKAGES, DREAMBOARD_SDK_PACKAGE_SET, DREAMBOARD_SDK_VERSION, type DragController, type DragState, type DreamboardSdkPackageName, type DreamboardSdkPackageSet, DropTarget, type FanCard, type FanLayout, type FanOptions, FeatureContext, Features, GAMEPLAY_WIRE_PROTOCOL_VERSION, GESTURE_THRESHOLDS, GameEventDetailSchema, GameEventSchema, GameInstance, GameOutcomeSchema, GameSource, GameplayBackpressureFrameSchema, GameplayBackpressureOperationSchema, GameplayBackpressureReasonSchema, GameplayBasis, GameplayBasisSchema, GameplayCloseCode, type GameplayCredential, GameplayCredentialSchema, type GestureCallbacks, type GestureKind, type GestureOptions, type GesturePointer, type GestureRecognizer, type HandController, type HandFan, type HandFanInput, type HandFanOptions, type HandFanPose, type HandOptions, type HandSort, type HostToPluginEnvelope, HostToPluginEnvelopeSchema, type HostToPluginPayload, HostToPluginPayloadSchema, IdOf, InstanceOptions, InteractionDescriptor, type InteractionResult, InteractionResultSchema, type MaterializePluginGameplayFrameInput, PLAYER_SEAT_COLORS, type PanZoomOptions, PlayerId, PluginGameplayFrame, PluginGameplayFrameSchema, PluginPlayerSummarySchema, type PluginProtocolEnvelope, PluginSessionDescriptor, PluginSessionDescriptorSchema, type PluginToHostEnvelope, PluginToHostEnvelopeSchema, type PluginToHostPayload, PluginToHostPayloadSchema, ReducerSeatProjectionBundle, RuntimeJson, RuntimeTargetOptions, SeatBoardTopology, SeatCardId, SeatFrameSchema, SeatProjectionBundleSchema, SeatSpaceRef, SeatTileRef, type ServerGameplayFrame, ServerGameplayFrameSchema, SessionResumeFrameSchema, SessionSnapshotFrameSchema, SimultaneousPhaseSnapshotSchema, SourceSnapshot, type SubmitInteractionCommand, SubmitInteractionCommandSchema, SystemActionEventSchema, TargetOptions, type ViewportSurface, type ViewportTransform, type WheelInput, Zone, ZoneHandlesSnapshotSchema, ZoneHostId, type ZoneShuffle, boardFeature, canonicalizePluginRuntimeJson, cardSelectionFeature, computePluginActionSetVersion, createGameInstance, createGestureRecognizer, createPluginProtocolEnvelopeSchema, cssEasing, digestPluginCommandRequest, digestPluginGameplayFrame, digestPluginRuntimeJson, dragFeature, encodeCanonicalPluginRuntimeJson, exponentialOut, fanLayout, handFan, handFanPresets, handFanTiming, handFeature, hostSource, hydrateCompactGameplayFrame, iframeSource, liftFanCard, magneticDropPoint, materializeCompactGameplayFrame, materializePluginGameplayFrame, originsFeature, panZoomFeature, parseHostToPluginEnvelope, parsePluginGameplayFrame, parsePluginSessionDescriptor, parsePluginToHostEnvelope, playerSeatColor, staticSource };
|