@dreamboard-games/ui-sdk 0.0.43 → 0.0.46
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/dist/components/ActionButton.d.ts.map +1 -1
- package/dist/components/ActionButton.js +2 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/DiceRoller.d.ts +3 -2
- package/dist/components/DiceRoller.d.ts.map +1 -1
- package/dist/components/DiceRoller.js +4 -13
- package/dist/components/ErrorBoundary.d.ts.map +1 -1
- package/dist/components/ErrorBoundary.js +94 -2
- package/dist/components/InteractionForm.d.ts +1 -1
- package/dist/components/InteractionForm.d.ts.map +1 -1
- package/dist/components/InteractionForm.js +29 -15
- package/dist/components/PrimaryActionButton.d.ts.map +1 -1
- package/dist/components/PrimaryActionButton.js +7 -6
- package/dist/components/ResourceCounter.d.ts +59 -25
- package/dist/components/ResourceCounter.d.ts.map +1 -1
- package/dist/components/ResourceCounter.js +106 -115
- package/dist/components/Toast.d.ts +13 -6
- package/dist/components/Toast.d.ts.map +1 -1
- package/dist/components/Toast.js +10 -5
- package/dist/components/board/HexGrid.js +6 -6
- package/dist/components/board/target-layer.d.ts +18 -2
- package/dist/components/board/target-layer.d.ts.map +1 -1
- package/dist/components/board/target-layer.js +20 -3
- package/dist/components/index.d.ts +3 -4
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -4
- package/dist/components/surfaces/InboxSurface.d.ts.map +1 -1
- package/dist/components/surfaces/InboxSurface.js +2 -6
- package/dist/components/surfaces/PlayerCardsSurface.js +2 -2
- package/dist/components/surfaces/internal/CardZoneRoutedForm.d.ts +7 -0
- package/dist/components/surfaces/internal/CardZoneRoutedForm.d.ts.map +1 -0
- package/dist/components/surfaces/internal/CardZoneRoutedForm.js +9 -0
- package/dist/components/surfaces/internal/DefaultInteractionButton.d.ts.map +1 -1
- package/dist/components/surfaces/internal/DefaultInteractionButton.js +5 -8
- package/dist/components/surfaces/internal/useCardZoneInteractions.d.ts +2 -2
- package/dist/components/surfaces/internal/useCardZoneInteractions.d.ts.map +1 -1
- package/dist/components/surfaces/internal/useCardZoneInteractions.js +19 -43
- package/dist/context/InteractionDraftContext.d.ts +11 -2
- package/dist/context/InteractionDraftContext.d.ts.map +1 -1
- package/dist/context/InteractionDraftContext.js +41 -4
- package/dist/defaults/components.d.ts +0 -5
- package/dist/defaults/components.d.ts.map +1 -1
- package/dist/defaults/components.js +7 -11
- package/dist/hooks/useBoardInteractions.d.ts +35 -12
- package/dist/hooks/useBoardInteractions.d.ts.map +1 -1
- package/dist/hooks/useBoardInteractions.js +186 -82
- package/dist/hooks/useInteractionHandle.d.ts +1 -1
- package/dist/hooks/useInteractionHandle.d.ts.map +1 -1
- package/dist/hooks/useInteractionHandle.js +12 -27
- package/dist/index.d.ts +11 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -14
- package/dist/primitives/board.d.ts +53 -3
- package/dist/primitives/board.d.ts.map +1 -1
- package/dist/primitives/board.js +65 -41
- package/dist/primitives/dialog-lifecycle.d.ts +17 -0
- package/dist/primitives/dialog-lifecycle.d.ts.map +1 -0
- package/dist/primitives/dialog-lifecycle.js +24 -0
- package/dist/primitives/dice.d.ts +31 -0
- package/dist/primitives/dice.d.ts.map +1 -0
- package/dist/primitives/dice.js +33 -0
- package/dist/primitives/game.d.ts +55 -0
- package/dist/primitives/game.d.ts.map +1 -0
- package/dist/primitives/game.js +101 -0
- package/dist/primitives/index.d.ts +7 -4
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +7 -4
- package/dist/primitives/interaction-form-binding.d.ts +12 -0
- package/dist/primitives/interaction-form-binding.d.ts.map +1 -0
- package/dist/primitives/interaction-form-binding.js +14 -0
- package/dist/primitives/interaction-submit.d.ts +23 -0
- package/dist/primitives/interaction-submit.d.ts.map +1 -0
- package/dist/primitives/interaction-submit.js +41 -0
- package/dist/primitives/interaction.d.ts +76 -6
- package/dist/primitives/interaction.d.ts.map +1 -1
- package/dist/primitives/interaction.js +210 -26
- package/dist/primitives/player-roster.d.ts +2 -1
- package/dist/primitives/player-roster.d.ts.map +1 -1
- package/dist/primitives/prompt.d.ts +36 -11
- package/dist/primitives/prompt.d.ts.map +1 -1
- package/dist/primitives/prompt.js +29 -17
- package/dist/primitives/ui.d.ts +9 -0
- package/dist/primitives/ui.d.ts.map +1 -0
- package/dist/primitives/ui.js +7 -0
- package/dist/primitives/zone.d.ts +111 -5
- package/dist/primitives/zone.d.ts.map +1 -1
- package/dist/primitives/zone.js +349 -9
- package/dist/reducer.d.ts +2 -14
- package/dist/reducer.d.ts.map +1 -1
- package/dist/reducer.js +1 -14
- package/dist/runtime/createPluginRuntimeAPI.js +1 -1
- package/dist/types/hex-color.d.ts +7 -0
- package/dist/types/hex-color.d.ts.map +1 -0
- package/dist/types/hex-color.js +13 -0
- package/dist/types/player-state.d.ts +28 -14
- package/dist/types/player-state.d.ts.map +1 -1
- package/dist/types/plugin-state.d.ts +9 -3
- package/dist/types/plugin-state.d.ts.map +1 -1
- package/dist/ui-contract.d.ts +119 -14
- package/dist/ui-contract.d.ts.map +1 -1
- package/dist/ui-contract.js +4 -3
- package/dist/ui-sdk.d.ts +1637 -1245
- package/dist/utils/interaction-inputs.d.ts +8 -5
- package/dist/utils/interaction-inputs.d.ts.map +1 -1
- package/dist/utils/interaction-inputs.js +82 -14
- package/dist/utils/interaction-router.d.ts +31 -0
- package/dist/utils/interaction-router.d.ts.map +1 -0
- package/dist/utils/interaction-router.js +114 -0
- package/package.json +2 -1
- package/src/components/ActionButton.tsx +2 -1
- package/src/components/Card.tsx +1 -1
- package/src/components/DiceRoller.tsx +13 -22
- package/src/components/ErrorBoundary.test.tsx +19 -0
- package/src/components/ErrorBoundary.tsx +113 -24
- package/src/components/InteractionForm.test.tsx +24 -0
- package/src/components/InteractionForm.tsx +48 -23
- package/src/components/PrimaryActionButton.tsx +19 -5
- package/src/components/ResourceCounter.test.tsx +13 -13
- package/src/components/ResourceCounter.tsx +238 -244
- package/src/components/Toast.tsx +23 -10
- package/src/components/__fixtures__/ResourceCounter.fixture.tsx +70 -169
- package/src/components/board/HexGrid.tsx +6 -6
- package/src/components/board/target-layer.ts +44 -5
- package/src/components/index.ts +17 -10
- package/src/components/surfaces/InboxSurface.tsx +7 -5
- package/src/components/surfaces/PlayerCardsSurface.tsx +6 -6
- package/src/components/surfaces/internal/CardZoneRoutedForm.tsx +35 -0
- package/src/components/surfaces/internal/DefaultInteractionButton.tsx +17 -7
- package/src/components/surfaces/internal/useCardZoneInteractions.ts +25 -67
- package/src/context/InteractionDraftContext.tsx +51 -5
- package/src/defaults/components.tsx +12 -50
- package/src/defaults/defaults.test.tsx +1 -50
- package/src/hooks/useBoardInteractions.test.tsx +240 -17
- package/src/hooks/useBoardInteractions.ts +330 -105
- package/src/hooks/useInteractionHandle.ts +23 -28
- package/src/index.test.ts +60 -40
- package/src/index.ts +30 -36
- package/src/primitives/board.test.tsx +73 -0
- package/src/primitives/board.tsx +191 -40
- package/src/primitives/dialog-lifecycle.ts +58 -0
- package/src/primitives/dice.test.tsx +47 -0
- package/src/primitives/dice.tsx +79 -0
- package/src/primitives/game.test.tsx +98 -0
- package/src/primitives/game.tsx +213 -0
- package/src/primitives/index.ts +84 -0
- package/src/primitives/interaction-form-binding.tsx +56 -0
- package/src/primitives/interaction-submit.ts +90 -0
- package/src/primitives/interaction.test.tsx +396 -0
- package/src/primitives/interaction.tsx +451 -31
- package/src/primitives/player-roster.tsx +2 -1
- package/src/primitives/prompt.test.tsx +94 -3
- package/src/primitives/prompt.tsx +87 -48
- package/src/primitives/ui.test.tsx +131 -0
- package/src/primitives/ui.tsx +13 -0
- package/src/primitives/zone.test.tsx +305 -0
- package/src/primitives/zone.tsx +660 -12
- package/src/reducer.ts +7 -20
- package/src/runtime/createPluginRuntimeAPI.ts +1 -1
- package/src/types/hex-color.ts +20 -0
- package/src/types/player-state.ts +36 -18
- package/src/types/plugin-state.ts +10 -3
- package/src/ui-contract.ts +253 -21
- package/src/utils/interaction-inputs.test.ts +400 -0
- package/src/utils/interaction-inputs.ts +113 -11
- package/src/utils/interaction-router.ts +200 -0
- package/type-stubs/manifest-contract.d.ts +42 -0
- package/type-stubs/manifest-contract.d.ts.map +1 -0
- package/type-stubs/manifest-contract.js +72 -0
- package/type-stubs/ui-contract.d.ts +5 -0
- package/type-stubs/ui-contract.d.ts.map +1 -0
- package/type-stubs/ui-contract.js +1 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import type { InteractionUiStore } from "../context/InteractionDraftContext.js";
|
|
2
|
+
import type { InteractionDescriptor } from "../types/plugin-state.js";
|
|
3
|
+
import {
|
|
4
|
+
applyInteractionInputDefaults,
|
|
5
|
+
dependentInputKeys,
|
|
6
|
+
hasInteractionFieldErrors,
|
|
7
|
+
inputByKey,
|
|
8
|
+
interactionArmScope,
|
|
9
|
+
interactionInputKeys,
|
|
10
|
+
isInputValueReady,
|
|
11
|
+
resolveInputDomain,
|
|
12
|
+
toggleManyValue,
|
|
13
|
+
validateInteractionInputDomains,
|
|
14
|
+
} from "./interaction-inputs.js";
|
|
15
|
+
|
|
16
|
+
export interface InteractionDraftMutation {
|
|
17
|
+
key: string;
|
|
18
|
+
value: unknown;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface InteractionDraftReadiness {
|
|
22
|
+
values: Record<string, unknown>;
|
|
23
|
+
missingInputs: readonly string[];
|
|
24
|
+
readyFrontier: readonly string[];
|
|
25
|
+
blockedInputs: readonly string[];
|
|
26
|
+
fieldErrors: Partial<Record<string, readonly string[]>>;
|
|
27
|
+
ready: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface RoutedInteractionTarget {
|
|
31
|
+
inputKey: string;
|
|
32
|
+
value: string;
|
|
33
|
+
extraInputs?: Record<string, unknown>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface RoutedInteractionTargetResult {
|
|
37
|
+
params: Record<string, unknown>;
|
|
38
|
+
readiness: InteractionDraftReadiness;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function applyInteractionDraftMutation(
|
|
42
|
+
store: Pick<InteractionUiStore, "getDraft" | "setInput" | "clearInput">,
|
|
43
|
+
descriptor: InteractionDescriptor,
|
|
44
|
+
mutations: readonly InteractionDraftMutation[],
|
|
45
|
+
): Record<string, unknown> {
|
|
46
|
+
const nextDraft: Record<string, unknown> = {
|
|
47
|
+
...store.getDraft(descriptor.interactionKey),
|
|
48
|
+
};
|
|
49
|
+
const mutatedKeys = new Set(mutations.map((mutation) => mutation.key));
|
|
50
|
+
|
|
51
|
+
for (const { key, value } of mutations) {
|
|
52
|
+
nextDraft[key] = value;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
for (const { key } of mutations) {
|
|
56
|
+
for (const dependentKey of dependentInputKeys(descriptor, key)) {
|
|
57
|
+
if (mutatedKeys.has(dependentKey)) continue;
|
|
58
|
+
if (shouldClearDependentInput(descriptor, nextDraft, dependentKey)) {
|
|
59
|
+
delete nextDraft[dependentKey];
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
for (const { key, value } of mutations) {
|
|
65
|
+
store.setInput(descriptor.interactionKey, key, value);
|
|
66
|
+
}
|
|
67
|
+
for (const { key } of mutations) {
|
|
68
|
+
for (const dependentKey of dependentInputKeys(descriptor, key)) {
|
|
69
|
+
if (mutatedKeys.has(dependentKey)) continue;
|
|
70
|
+
if (shouldClearDependentInput(descriptor, nextDraft, dependentKey)) {
|
|
71
|
+
store.clearInput(descriptor.interactionKey, dependentKey);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return nextDraft;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function shouldClearDependentInput(
|
|
80
|
+
descriptor: InteractionDescriptor,
|
|
81
|
+
draft: Readonly<Record<string, unknown>>,
|
|
82
|
+
dependentKey: string,
|
|
83
|
+
): boolean {
|
|
84
|
+
const input = inputByKey(descriptor, dependentKey);
|
|
85
|
+
if (!input) return true;
|
|
86
|
+
const value = draft[dependentKey];
|
|
87
|
+
if (!isInputValueReady(resolveInputDomain(input, draft), value)) return true;
|
|
88
|
+
const errors = validateInteractionInputDomains(descriptor, draft);
|
|
89
|
+
return (errors[dependentKey]?.length ?? 0) > 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function getInteractionDraftReadiness(
|
|
93
|
+
descriptor: InteractionDescriptor,
|
|
94
|
+
draft: Readonly<Record<string, unknown>>,
|
|
95
|
+
): InteractionDraftReadiness {
|
|
96
|
+
const values = applyInteractionInputDefaults<Record<string, unknown>>(
|
|
97
|
+
descriptor,
|
|
98
|
+
draft,
|
|
99
|
+
) as Record<string, unknown>;
|
|
100
|
+
const missingInputs = interactionInputKeys(descriptor).filter((key) => {
|
|
101
|
+
const input = inputByKey(descriptor, key);
|
|
102
|
+
const value = values[key];
|
|
103
|
+
return input
|
|
104
|
+
? !isInputValueReady(resolveInputDomain(input, values), value)
|
|
105
|
+
: value === null || value === undefined;
|
|
106
|
+
});
|
|
107
|
+
const missingInputSet = new Set(missingInputs);
|
|
108
|
+
const readyFrontier = missingInputs.filter((key) => {
|
|
109
|
+
const input = inputByKey(descriptor, key);
|
|
110
|
+
if (!input) return true;
|
|
111
|
+
return (input.domain.dependsOn ?? []).every((dependencyKey) => {
|
|
112
|
+
if (missingInputSet.has(dependencyKey)) return false;
|
|
113
|
+
const dependency = inputByKey(descriptor, dependencyKey);
|
|
114
|
+
if (!dependency) return values[dependencyKey] !== undefined;
|
|
115
|
+
return isInputValueReady(
|
|
116
|
+
resolveInputDomain(dependency, values),
|
|
117
|
+
values[dependencyKey],
|
|
118
|
+
);
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
const fieldErrors = validateInteractionInputDomains(descriptor, values);
|
|
122
|
+
return {
|
|
123
|
+
values,
|
|
124
|
+
missingInputs,
|
|
125
|
+
readyFrontier,
|
|
126
|
+
blockedInputs: missingInputs.filter((key) => !readyFrontier.includes(key)),
|
|
127
|
+
fieldErrors,
|
|
128
|
+
ready:
|
|
129
|
+
missingInputs.length === 0 && !hasInteractionFieldErrors(fieldErrors),
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function routeInteractionTarget(
|
|
134
|
+
store: Pick<InteractionUiStore, "getDraft" | "setInput" | "clearInput">,
|
|
135
|
+
descriptor: InteractionDescriptor,
|
|
136
|
+
target: RoutedInteractionTarget,
|
|
137
|
+
): RoutedInteractionTargetResult {
|
|
138
|
+
const input = inputByKey(descriptor, target.inputKey);
|
|
139
|
+
const currentDraft = store.getDraft(descriptor.interactionKey);
|
|
140
|
+
const selection =
|
|
141
|
+
input?.domain.type === "target" ? input.domain.selection : undefined;
|
|
142
|
+
const targetValue =
|
|
143
|
+
selection?.mode === "many"
|
|
144
|
+
? toggleManyValue(currentDraft[target.inputKey], target.value, selection)
|
|
145
|
+
: target.value;
|
|
146
|
+
const params = applyInteractionDraftMutation(store, descriptor, [
|
|
147
|
+
...Object.entries(target.extraInputs ?? {}).map(([key, value]) => ({
|
|
148
|
+
key,
|
|
149
|
+
value,
|
|
150
|
+
})),
|
|
151
|
+
{ key: target.inputKey, value: targetValue },
|
|
152
|
+
]);
|
|
153
|
+
return {
|
|
154
|
+
params,
|
|
155
|
+
readiness: getInteractionDraftReadiness(descriptor, params),
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function shouldRouteInteractionPending(
|
|
160
|
+
descriptor: InteractionDescriptor,
|
|
161
|
+
readiness: Pick<InteractionDraftReadiness, "ready">,
|
|
162
|
+
): boolean {
|
|
163
|
+
return descriptor.commit.mode !== "autoWhenReady" || !readiness.ready;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export function markInteractionPending(
|
|
167
|
+
store: Pick<InteractionUiStore, "arm" | "setPendingInteraction">,
|
|
168
|
+
descriptor: InteractionDescriptor,
|
|
169
|
+
): void {
|
|
170
|
+
store.arm(interactionArmScope(descriptor), descriptor.interactionKey);
|
|
171
|
+
store.setPendingInteraction(descriptor.interactionKey);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function clearInteractionRoute(
|
|
175
|
+
store: Pick<
|
|
176
|
+
InteractionUiStore,
|
|
177
|
+
| "clearInput"
|
|
178
|
+
| "getArmed"
|
|
179
|
+
| "arm"
|
|
180
|
+
| "getPendingInteraction"
|
|
181
|
+
| "setPendingInteraction"
|
|
182
|
+
>,
|
|
183
|
+
descriptor: InteractionDescriptor,
|
|
184
|
+
): void {
|
|
185
|
+
const armScope = interactionArmScope(descriptor);
|
|
186
|
+
store.clearInput(descriptor.interactionKey);
|
|
187
|
+
if (store.getArmed(armScope) === descriptor.interactionKey) {
|
|
188
|
+
store.arm(armScope, null);
|
|
189
|
+
}
|
|
190
|
+
if (store.getPendingInteraction() === descriptor.interactionKey) {
|
|
191
|
+
store.setPendingInteraction(null);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export function claimInteractionSubmit(
|
|
196
|
+
store: Pick<InteractionUiStore, "claimSubmitting">,
|
|
197
|
+
descriptor: InteractionDescriptor,
|
|
198
|
+
): boolean {
|
|
199
|
+
return store.claimSubmitting(descriptor.interactionKey);
|
|
200
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type PlayerId = string;
|
|
2
|
+
export type ResourceId = string;
|
|
3
|
+
export type CardId = string;
|
|
4
|
+
export type CardIdsByDeckId = Record<string, CardId[]>;
|
|
5
|
+
export type CardProperties = Record<string, unknown>;
|
|
6
|
+
export type EdgeTypeId = string;
|
|
7
|
+
export type VertexTypeId = string;
|
|
8
|
+
export type BoardId = string;
|
|
9
|
+
export type BoardBaseId = string;
|
|
10
|
+
export type PieceId = string;
|
|
11
|
+
export type PieceTypeId = string;
|
|
12
|
+
export type SpaceId = string;
|
|
13
|
+
export type SpaceTypeId = string;
|
|
14
|
+
export type DieId = string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Stub of the `PerPlayer<Value>` primitive emitted by the real
|
|
18
|
+
* `@dreamboard/app-sdk/reducer` module. The ui-sdk does not
|
|
19
|
+
* depend on app-sdk directly, so we mirror the structural shape here so
|
|
20
|
+
* that view types can reference runtime-accurate per-player containers.
|
|
21
|
+
*/
|
|
22
|
+
export type PerPlayer<Value> = {
|
|
23
|
+
readonly __perPlayer: true;
|
|
24
|
+
readonly entries: ReadonlyArray<readonly [PlayerId, Value]>;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Stub of the `BoardRef` discriminated union. Shared boards carry only a
|
|
29
|
+
* `baseId`; per-player boards carry `baseId` plus the runtime `seat` that
|
|
30
|
+
* scopes them. Matches the structural shape produced by the codegen.
|
|
31
|
+
*/
|
|
32
|
+
export type SharedBoardRef = {
|
|
33
|
+
readonly baseId: BoardBaseId;
|
|
34
|
+
readonly seat?: undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type PerPlayerBoardRef = {
|
|
38
|
+
readonly baseId: BoardBaseId;
|
|
39
|
+
readonly seat: PlayerId;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type BoardRef = SharedBoardRef | PerPlayerBoardRef;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest-contract.d.ts","sourceRoot":"","sources":["manifest-contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAC9B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA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;CACxB,CAKA;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAC5E,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAKA;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAC1E,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAKA;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAKA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* manifest-contract.ts - Dynamically generated types
|
|
3
|
+
*
|
|
4
|
+
* This file will be generated based on the game's topology manifest.
|
|
5
|
+
* The ui-sdk references these types but does not bundle them.
|
|
6
|
+
*
|
|
7
|
+
* Note: Shared card collection types such as ViewCard and CardCollection live in
|
|
8
|
+
* @dreamboard/sdk-types, not in this generated manifest contract.
|
|
9
|
+
*/
|
|
10
|
+
export const AllActivePlayerStateNames = [];
|
|
11
|
+
export const ActionsByPhase = {};
|
|
12
|
+
export const boardHelpers = {
|
|
13
|
+
boardIdsForLayout: ((_) => []),
|
|
14
|
+
boardBaseIdsForLayout: ((_) => []),
|
|
15
|
+
boardIdsForBase: ((_) => []),
|
|
16
|
+
boardBaseIdsForTemplate: ((_) => []),
|
|
17
|
+
boardIdsForType: ((_) => []),
|
|
18
|
+
boardLayout: ((_) => "generic"),
|
|
19
|
+
boardTemplateLayout: ((_) => "generic"),
|
|
20
|
+
spaceIds: ((_) => []),
|
|
21
|
+
spaceKinds: ((_) => ({})),
|
|
22
|
+
spaceIdsForType: ((_) => []),
|
|
23
|
+
containerIds: ((_) => []),
|
|
24
|
+
containerHost: ((_, __) => ({ type: "board" })),
|
|
25
|
+
relationTypeIds: ((_) => []),
|
|
26
|
+
edgeIdsForType: ((_) => []),
|
|
27
|
+
edgeIds: ((_, __) => []),
|
|
28
|
+
authoredHexEdges: ((_) => []),
|
|
29
|
+
resolveHexEdgeId: ((_, __) => ""),
|
|
30
|
+
vertexIdsForType: ((_) => []),
|
|
31
|
+
vertexIds: ((_, __) => []),
|
|
32
|
+
authoredHexVertices: ((_) => []),
|
|
33
|
+
resolveHexVertexId: ((_, __) => ""),
|
|
34
|
+
boardRefForPlayer: ((baseId, seat) => ({ baseId, seat })),
|
|
35
|
+
sharedBoardRef: ((baseId) => ({ baseId })),
|
|
36
|
+
};
|
|
37
|
+
export function createInitialTable(_options) {
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
export function setupProfiles(profiles) {
|
|
41
|
+
return profiles;
|
|
42
|
+
}
|
|
43
|
+
export function shuffle(container) {
|
|
44
|
+
return {
|
|
45
|
+
type: "shuffle",
|
|
46
|
+
container,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function dealToPlayerZone(options) {
|
|
50
|
+
return {
|
|
51
|
+
type: "deal",
|
|
52
|
+
...options,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export function dealToPlayerBoardContainer(options) {
|
|
56
|
+
return {
|
|
57
|
+
type: "deal",
|
|
58
|
+
...options,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export function seedSharedBoardContainer(options) {
|
|
62
|
+
return {
|
|
63
|
+
type: "move",
|
|
64
|
+
...options,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export function seedSharedBoardSpace(options) {
|
|
68
|
+
return {
|
|
69
|
+
type: "move",
|
|
70
|
+
...options,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-contract.d.ts","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