@dreamboard-games/sdk 0.2.0 → 0.2.1-alpha.1
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/{ThemeProvider-fy0_QzgO.d.ts → ThemeProvider-BBMVT3KG.d.ts} +1 -1
- package/dist/attributes-BeRyboMS.d.ts +279 -0
- package/dist/browser-interaction.d.ts +708 -0
- package/dist/browser-interaction.js +106 -0
- package/dist/browser-interaction.js.map +1 -0
- package/dist/{bundle-TIZcw8LB.d.ts → bundle-CDd5FKeD.d.ts} +3 -1
- package/dist/{chunk-U5C6BONG.js → chunk-326PGVAA.js} +2 -2
- package/dist/{chunk-VFTAA4WO.js → chunk-MKXPVOUT.js} +4 -2
- package/dist/chunk-MKXPVOUT.js.map +1 -0
- package/dist/{chunk-GKKBPPSW.js → chunk-MZNVHMJ5.js} +4 -4
- package/dist/{chunk-KAELH4KC.js → chunk-NKCRKGR2.js} +2 -2
- package/dist/{chunk-WN74KVNY.js → chunk-PEI3FIL2.js} +2 -2
- package/dist/chunk-PEI3FIL2.js.map +1 -0
- package/dist/chunk-QLG6VEMW.js +1691 -0
- package/dist/chunk-QLG6VEMW.js.map +1 -0
- package/dist/{chunk-WYPQ3GG5.js → chunk-WG4JQL3S.js} +4 -1
- package/dist/{chunk-WYPQ3GG5.js.map → chunk-WG4JQL3S.js.map} +1 -1
- package/dist/{chunk-7YAHLYBR.js → chunk-XV6D3ET4.js} +8 -4
- package/dist/{chunk-7YAHLYBR.js.map → chunk-XV6D3ET4.js.map} +1 -1
- package/dist/{chunk-TDSWKVZ4.js → chunk-ZABVH7AO.js} +1236 -17
- package/dist/chunk-ZABVH7AO.js.map +1 -0
- package/dist/{components-D5ZRE2Hl.d.ts → components-BoiVSYqx.d.ts} +1 -1
- package/dist/generated/runtime/primitives.d.ts +5 -4
- package/dist/generated/runtime/primitives.js +4 -3
- package/dist/generated/runtime-api.d.ts +1 -1
- package/dist/generated/runtime.d.ts +5 -4
- package/dist/generated/runtime.js +7 -6
- package/dist/generated/workspace-contract.d.ts +5 -4
- package/dist/generated/workspace-contract.js +6 -5
- package/dist/{hex-board-view-D_07hO6O.d.ts → hex-board-view-1iAyJRFn.d.ts} +1 -0
- package/dist/index.js +1 -1
- package/dist/infrastructure/reducer-bundle-abi.d.ts +113 -113
- package/dist/infrastructure/reducer-bundle-abi.js +1 -1
- package/dist/package-set.d.ts +2 -2
- package/dist/package-set.js +1 -1
- package/dist/reducer.d.ts +1 -1
- package/dist/reducer.js +305 -12
- package/dist/reducer.js.map +1 -1
- package/dist/runtime/primitives.d.ts +6 -5
- package/dist/runtime/primitives.js +4 -3
- package/dist/runtime/workspace-contract.d.ts +6 -5
- package/dist/runtime/workspace-contract.js +6 -5
- package/dist/{runtime-api-DWxvTr-O.d.ts → runtime-api-CPLm_XDG.d.ts} +6 -0
- package/dist/runtime.d.ts +5 -4
- package/dist/runtime.js +6 -5
- package/dist/testing.d.ts +2 -2
- package/dist/ui/components.d.ts +2 -2
- package/dist/ui/components.js +1 -1
- package/dist/{ui-contract-iQfTtUSL.d.ts → ui-contract-rzKBwOLC.d.ts} +5 -3
- package/dist/ui.d.ts +5 -5
- package/dist/ui.js +2 -2
- package/package.json +15 -9
- package/src/browser-interaction/attributes.ts +211 -0
- package/src/browser-interaction/canonical.ts +77 -0
- package/src/browser-interaction/constants.ts +77 -0
- package/src/browser-interaction/effects.ts +176 -0
- package/src/browser-interaction/index.ts +111 -0
- package/src/browser-interaction/normalize.ts +997 -0
- package/src/browser-interaction/registry.ts +70 -0
- package/src/browser-interaction/resolve.ts +596 -0
- package/src/browser-interaction/schemas.ts +152 -0
- package/src/browser-interaction/types.ts +304 -0
- package/src/browser-interaction.ts +1 -0
- package/src/generated/reducer-contract/wire.ts +1 -1
- package/src/generated/reducer-contract/zod.ts +3 -1
- package/src/package-set.ts +1 -1
- package/src/reducer/bundle/ingress-bundle.ts +1 -1
- package/src/reducer/bundle/trusted/interaction-types.ts +3 -0
- package/src/reducer/bundle/trusted/projection-builder.ts +337 -13
- package/src/reducer/ingress/input-codec.ts +1 -1
- package/src/reducer/ingress/session-codec.ts +1 -1
- package/src/runtime-internal/components/InteractionForm.tsx +345 -7
- package/src/runtime-internal/components/PluginRuntime.tsx +2 -0
- package/src/runtime-internal/components/board/target-layer.ts +2 -0
- package/src/runtime-internal/context/PluginStateContext.tsx +41 -0
- package/src/runtime-internal/hooks/useBoardInteractions.ts +73 -11
- package/src/runtime-internal/primitives/board.tsx +71 -0
- package/src/runtime-internal/primitives/interaction.tsx +160 -1
- package/src/runtime-internal/types/plugin-state.ts +6 -0
- package/src/runtime-internal/utils/browser-interaction-effects.ts +240 -0
- package/src/runtime-internal/utils/interaction-draft-digest.ts +252 -0
- package/src/runtime-internal/utils/semantic-projection-digest.ts +407 -0
- package/src/ui/components/board/HexGrid.tsx +3 -0
- package/src/ui/components/board/target-layer.ts +1 -0
- package/dist/chunk-TDSWKVZ4.js.map +0 -1
- package/dist/chunk-VFTAA4WO.js.map +0 -1
- package/dist/chunk-WN74KVNY.js.map +0 -1
- /package/dist/{chunk-U5C6BONG.js.map → chunk-326PGVAA.js.map} +0 -0
- /package/dist/{chunk-GKKBPPSW.js.map → chunk-MZNVHMJ5.js.map} +0 -0
- /package/dist/{chunk-KAELH4KC.js.map → chunk-NKCRKGR2.js.map} +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export const DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_NAME =
|
|
2
|
+
"dreamboard-browser-interaction" as const;
|
|
3
|
+
|
|
4
|
+
export const DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_VERSION = "2.0.0" as const;
|
|
5
|
+
|
|
6
|
+
export const BROWSER_INTERACTION_ATTRIBUTES = {
|
|
7
|
+
protocol: "data-dreamboard-browser-protocol",
|
|
8
|
+
surface: "data-dreamboard-browser-surface",
|
|
9
|
+
scope: "data-dreamboard-browser-scope",
|
|
10
|
+
role: "data-dreamboard-browser-role",
|
|
11
|
+
intent: "data-dreamboard-browser-intent",
|
|
12
|
+
interactionKey: "data-dreamboard-interaction-key",
|
|
13
|
+
interactionId: "data-dreamboard-interaction-id",
|
|
14
|
+
descriptorDigest: "data-dreamboard-descriptor-digest",
|
|
15
|
+
draftDigest: "data-dreamboard-draft-digest",
|
|
16
|
+
readiness: "data-dreamboard-readiness",
|
|
17
|
+
inputKey: "data-dreamboard-input-key",
|
|
18
|
+
candidateValue: "data-dreamboard-candidate-value",
|
|
19
|
+
candidateState: "data-dreamboard-candidate-state",
|
|
20
|
+
actuatorKind: "data-dreamboard-actuator-kind",
|
|
21
|
+
enabled: "data-dreamboard-actuator-enabled",
|
|
22
|
+
actuatorId: "data-dreamboard-actuator-id",
|
|
23
|
+
semanticEffects: "data-dreamboard-semantic-effects",
|
|
24
|
+
acceptedEffectPatterns: "data-dreamboard-accepted-effect-patterns",
|
|
25
|
+
preparationPatterns: "data-dreamboard-preparation-patterns",
|
|
26
|
+
preparesIntent: "data-dreamboard-prepares-intent",
|
|
27
|
+
preparesInputKey: "data-dreamboard-prepares-input-key",
|
|
28
|
+
preparesCandidateValue: "data-dreamboard-prepares-candidate-value",
|
|
29
|
+
preparesActuatorKind: "data-dreamboard-prepares-actuator-kind",
|
|
30
|
+
diagnostic: "data-dreamboard-browser-diagnostic",
|
|
31
|
+
} as const;
|
|
32
|
+
|
|
33
|
+
export const BROWSER_INTERACTION_RECORD_ROLES = [
|
|
34
|
+
"interaction",
|
|
35
|
+
"actuator",
|
|
36
|
+
] as const;
|
|
37
|
+
|
|
38
|
+
export const GAMEPLAY_BROWSER_INTERACTION_SURFACE = "gameplay" as const;
|
|
39
|
+
|
|
40
|
+
export const GAMEPLAY_BROWSER_INTERACTION_INTENTS = [
|
|
41
|
+
"arm",
|
|
42
|
+
"reveal",
|
|
43
|
+
"invoke",
|
|
44
|
+
"select",
|
|
45
|
+
"toggle",
|
|
46
|
+
"increment",
|
|
47
|
+
"decrement",
|
|
48
|
+
"fill",
|
|
49
|
+
"submit",
|
|
50
|
+
] as const;
|
|
51
|
+
|
|
52
|
+
export const GAMEPLAY_BROWSER_INTERACTION_EFFECT_KINDS = [
|
|
53
|
+
"setCandidate",
|
|
54
|
+
"adjustResource",
|
|
55
|
+
"setScalar",
|
|
56
|
+
"commit",
|
|
57
|
+
"invoke",
|
|
58
|
+
] as const;
|
|
59
|
+
|
|
60
|
+
export const BROWSER_INTERACTION_READINESS_VALUES = [
|
|
61
|
+
"ready",
|
|
62
|
+
"blocked",
|
|
63
|
+
"unavailable",
|
|
64
|
+
] as const;
|
|
65
|
+
|
|
66
|
+
export const BROWSER_INTERACTION_CANDIDATE_STATES = [
|
|
67
|
+
"selected",
|
|
68
|
+
"unselected",
|
|
69
|
+
"mixed",
|
|
70
|
+
] as const;
|
|
71
|
+
|
|
72
|
+
export const BROWSER_INTERACTION_ACTUATOR_KINDS = [
|
|
73
|
+
"click",
|
|
74
|
+
"fill",
|
|
75
|
+
"keyboard",
|
|
76
|
+
"pointer",
|
|
77
|
+
] as const;
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import {
|
|
2
|
+
decodeCanonicalCandidateValue,
|
|
3
|
+
encodeCanonicalCandidateValue,
|
|
4
|
+
type CanonicalBrowserInteractionValue,
|
|
5
|
+
} from "./canonical.js";
|
|
6
|
+
import type {
|
|
7
|
+
BrowserInteractionEffectPattern,
|
|
8
|
+
BrowserInteractionSurfaceEffect,
|
|
9
|
+
GameplaySemanticEffect,
|
|
10
|
+
} from "./types.js";
|
|
11
|
+
|
|
12
|
+
export function encodeBrowserInteractionEffect(
|
|
13
|
+
effect: BrowserInteractionSurfaceEffect,
|
|
14
|
+
): string {
|
|
15
|
+
return encodeCanonicalCandidateValue(effect);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function decodeBrowserInteractionEffect(
|
|
19
|
+
encoded: string,
|
|
20
|
+
): BrowserInteractionSurfaceEffect {
|
|
21
|
+
const decoded = decodeCanonicalCandidateValue(encoded);
|
|
22
|
+
if (!decoded || typeof decoded !== "object" || Array.isArray(decoded)) {
|
|
23
|
+
throw new Error("Browser interaction effect must be a canonical object.");
|
|
24
|
+
}
|
|
25
|
+
const decodedObject = decoded as {
|
|
26
|
+
readonly [key: string]: CanonicalBrowserInteractionValue;
|
|
27
|
+
};
|
|
28
|
+
const kind = decodedObject.kind;
|
|
29
|
+
if (typeof kind !== "string" || kind.length === 0) {
|
|
30
|
+
throw new Error("Browser interaction effect requires a string kind.");
|
|
31
|
+
}
|
|
32
|
+
return decodedObject as BrowserInteractionSurfaceEffect;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function encodeBrowserInteractionEffectPattern(
|
|
36
|
+
pattern: BrowserInteractionEffectPattern,
|
|
37
|
+
): string {
|
|
38
|
+
return encodeCanonicalCandidateValue(pattern);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function decodeBrowserInteractionEffectPattern(
|
|
42
|
+
encoded: string,
|
|
43
|
+
): BrowserInteractionEffectPattern {
|
|
44
|
+
const decoded = decodeCanonicalCandidateValue(encoded);
|
|
45
|
+
assertBrowserInteractionEffectPattern(decoded);
|
|
46
|
+
return decoded;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function browserInteractionEffectPatternMatches(
|
|
50
|
+
pattern: BrowserInteractionEffectPattern,
|
|
51
|
+
effect: BrowserInteractionSurfaceEffect,
|
|
52
|
+
): boolean {
|
|
53
|
+
switch (pattern.kind) {
|
|
54
|
+
case "exact":
|
|
55
|
+
return (
|
|
56
|
+
encodeBrowserInteractionEffect(pattern.effect) ===
|
|
57
|
+
encodeBrowserInteractionEffect(effect)
|
|
58
|
+
);
|
|
59
|
+
case "match": {
|
|
60
|
+
if (effect.kind !== pattern.effectKind) return false;
|
|
61
|
+
for (const [field, expected] of Object.entries(pattern.fields ?? {})) {
|
|
62
|
+
const actual = effect[field];
|
|
63
|
+
if (actual === undefined) return false;
|
|
64
|
+
if (
|
|
65
|
+
encodeCanonicalCandidateValue(actual) !==
|
|
66
|
+
encodeCanonicalCandidateValue(expected)
|
|
67
|
+
) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const scalar = pattern.scalar;
|
|
72
|
+
if (scalar) {
|
|
73
|
+
const actual = effect[scalar.field];
|
|
74
|
+
if (typeof actual !== "number" || !Number.isFinite(actual)) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
if (scalar.integer === true && !Number.isInteger(actual)) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
if (scalar.min !== undefined && actual < scalar.min) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
if (scalar.max !== undefined && actual > scalar.max) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function assertBrowserInteractionEffectPattern(
|
|
93
|
+
value: unknown,
|
|
94
|
+
): asserts value is BrowserInteractionEffectPattern {
|
|
95
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
96
|
+
throw new Error("Browser interaction effect pattern must be an object.");
|
|
97
|
+
}
|
|
98
|
+
const pattern = value as {
|
|
99
|
+
readonly [key: string]: unknown;
|
|
100
|
+
};
|
|
101
|
+
if (pattern.kind === "exact") {
|
|
102
|
+
decodeBrowserInteractionEffect(
|
|
103
|
+
encodeCanonicalCandidateValue(pattern.effect),
|
|
104
|
+
);
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
if (pattern.kind === "match") {
|
|
108
|
+
if (
|
|
109
|
+
typeof pattern.effectKind !== "string" ||
|
|
110
|
+
pattern.effectKind.length === 0
|
|
111
|
+
) {
|
|
112
|
+
throw new Error(
|
|
113
|
+
"Browser interaction match pattern requires an effectKind.",
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
if (pattern.fields !== undefined) {
|
|
117
|
+
if (
|
|
118
|
+
!pattern.fields ||
|
|
119
|
+
typeof pattern.fields !== "object" ||
|
|
120
|
+
Array.isArray(pattern.fields)
|
|
121
|
+
) {
|
|
122
|
+
throw new Error(
|
|
123
|
+
"Browser interaction match pattern fields must be an object.",
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
if (pattern.scalar !== undefined) {
|
|
128
|
+
if (
|
|
129
|
+
!pattern.scalar ||
|
|
130
|
+
typeof pattern.scalar !== "object" ||
|
|
131
|
+
Array.isArray(pattern.scalar) ||
|
|
132
|
+
typeof (pattern.scalar as { readonly field?: unknown }).field !==
|
|
133
|
+
"string" ||
|
|
134
|
+
(pattern.scalar as { readonly field: string }).field.length === 0
|
|
135
|
+
) {
|
|
136
|
+
throw new Error(
|
|
137
|
+
"Browser interaction scalar pattern requires a scalar field.",
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
throw new Error("Unknown browser interaction effect pattern kind.");
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function gameplaySetCandidateEffect(input: {
|
|
147
|
+
readonly inputKey: string;
|
|
148
|
+
readonly candidateValue: CanonicalBrowserInteractionValue;
|
|
149
|
+
readonly beforeSelected: boolean;
|
|
150
|
+
readonly afterSelected: boolean;
|
|
151
|
+
}): GameplaySemanticEffect {
|
|
152
|
+
return { kind: "setCandidate", ...input };
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function gameplayAdjustResourceEffect(input: {
|
|
156
|
+
readonly inputKey: string;
|
|
157
|
+
readonly resourceKey: CanonicalBrowserInteractionValue;
|
|
158
|
+
readonly delta: -1 | 1;
|
|
159
|
+
}): GameplaySemanticEffect {
|
|
160
|
+
return { kind: "adjustResource", ...input };
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function gameplaySetScalarEffect(input: {
|
|
164
|
+
readonly inputKey: string;
|
|
165
|
+
readonly value: number;
|
|
166
|
+
}): GameplaySemanticEffect {
|
|
167
|
+
return { kind: "setScalar", ...input };
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export function gameplayCommitEffect(): GameplaySemanticEffect {
|
|
171
|
+
return { kind: "commit" };
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function gameplayInvokeEffect(): GameplaySemanticEffect {
|
|
175
|
+
return { kind: "invoke" };
|
|
176
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
export {
|
|
2
|
+
BROWSER_INTERACTION_ACTUATOR_KINDS,
|
|
3
|
+
BROWSER_INTERACTION_ATTRIBUTES,
|
|
4
|
+
BROWSER_INTERACTION_CANDIDATE_STATES,
|
|
5
|
+
BROWSER_INTERACTION_READINESS_VALUES,
|
|
6
|
+
BROWSER_INTERACTION_RECORD_ROLES,
|
|
7
|
+
DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_NAME,
|
|
8
|
+
DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_VERSION,
|
|
9
|
+
GAMEPLAY_BROWSER_INTERACTION_EFFECT_KINDS,
|
|
10
|
+
GAMEPLAY_BROWSER_INTERACTION_INTENTS,
|
|
11
|
+
GAMEPLAY_BROWSER_INTERACTION_SURFACE,
|
|
12
|
+
} from "./constants.js";
|
|
13
|
+
export {
|
|
14
|
+
compareStableJson,
|
|
15
|
+
decodeCanonicalCandidateValue,
|
|
16
|
+
encodeCanonicalCandidateValue,
|
|
17
|
+
type CanonicalBrowserInteractionValue,
|
|
18
|
+
} from "./canonical.js";
|
|
19
|
+
export {
|
|
20
|
+
assertBrowserInteractionEffectPattern,
|
|
21
|
+
browserInteractionEffectPatternMatches,
|
|
22
|
+
decodeBrowserInteractionEffect,
|
|
23
|
+
decodeBrowserInteractionEffectPattern,
|
|
24
|
+
encodeBrowserInteractionEffect,
|
|
25
|
+
encodeBrowserInteractionEffectPattern,
|
|
26
|
+
gameplayAdjustResourceEffect,
|
|
27
|
+
gameplayCommitEffect,
|
|
28
|
+
gameplayInvokeEffect,
|
|
29
|
+
gameplaySetCandidateEffect,
|
|
30
|
+
gameplaySetScalarEffect,
|
|
31
|
+
} from "./effects.js";
|
|
32
|
+
export {
|
|
33
|
+
createBrowserInteractionActuatorAttributes,
|
|
34
|
+
createBrowserInteractionActuatorKey,
|
|
35
|
+
createBrowserInteractionRootAttributes,
|
|
36
|
+
createGameplayActuatorAttributes,
|
|
37
|
+
createGameplayInteractionRootAttributes,
|
|
38
|
+
type BrowserInteractionActuatorAttributesInput,
|
|
39
|
+
type BrowserInteractionAttributeMap,
|
|
40
|
+
type BrowserInteractionRootAttributesInput,
|
|
41
|
+
type GameplayActuatorAttributesInput,
|
|
42
|
+
type GameplayInteractionRootAttributesInput,
|
|
43
|
+
} from "./attributes.js";
|
|
44
|
+
export {
|
|
45
|
+
createBrowserInteractionRegistry,
|
|
46
|
+
defaultBrowserInteractionRegistry,
|
|
47
|
+
defineBrowserInteractionSurface,
|
|
48
|
+
gameplayBrowserInteractionSurface,
|
|
49
|
+
} from "./registry.js";
|
|
50
|
+
export {
|
|
51
|
+
actuatorIdentityKey,
|
|
52
|
+
isSemanticSurfaceSnapshot,
|
|
53
|
+
normalizeBrowserInteractionRecords,
|
|
54
|
+
targetIdentityKey,
|
|
55
|
+
validateBrowserInteractionSnapshot,
|
|
56
|
+
type NormalizeBrowserInteractionRecordsOptions,
|
|
57
|
+
} from "./normalize.js";
|
|
58
|
+
export {
|
|
59
|
+
resolveBrowserInteractionEffect,
|
|
60
|
+
resolveBrowserInteractionIntent,
|
|
61
|
+
} from "./resolve.js";
|
|
62
|
+
export {
|
|
63
|
+
browserInteractionEffectPatternSchema,
|
|
64
|
+
browserInteractionEffectSchema,
|
|
65
|
+
browserGameplayInteractionSchema,
|
|
66
|
+
browserGameplaySurfaceSnapshotSchema,
|
|
67
|
+
browserInteractionActuatorSchema,
|
|
68
|
+
browserInteractionDiagnosticSchema,
|
|
69
|
+
browserInteractionSnapshotSchema,
|
|
70
|
+
browserSemanticSurfaceSnapshotSchema,
|
|
71
|
+
browserUnknownSurfaceSnapshotSchema,
|
|
72
|
+
gameplaySemanticEffectSchema,
|
|
73
|
+
} from "./schemas.js";
|
|
74
|
+
export type {
|
|
75
|
+
BrowserGameplayInteraction,
|
|
76
|
+
BrowserGameplaySurfaceSnapshot,
|
|
77
|
+
BrowserInteractionActuator,
|
|
78
|
+
BrowserInteractionActuatorKind,
|
|
79
|
+
BrowserInteractionCandidateState,
|
|
80
|
+
BrowserInteractionDiagnostic,
|
|
81
|
+
BrowserInteractionEffectPattern,
|
|
82
|
+
BrowserInteractionEffectRequest,
|
|
83
|
+
BrowserInteractionEffectResolution,
|
|
84
|
+
BrowserInteractionEffectResolutionFailure,
|
|
85
|
+
BrowserInteractionEffectResolutionSuccess,
|
|
86
|
+
BrowserInteractionEntity,
|
|
87
|
+
BrowserInteractionIntent,
|
|
88
|
+
BrowserInteractionIntentRequest,
|
|
89
|
+
BrowserInteractionPreparationTarget,
|
|
90
|
+
BrowserInteractionProtocolIdentity,
|
|
91
|
+
BrowserInteractionRawRecord,
|
|
92
|
+
BrowserInteractionReadiness,
|
|
93
|
+
BrowserInteractionRegistry,
|
|
94
|
+
BrowserInteractionResolution,
|
|
95
|
+
BrowserInteractionResolutionFailure,
|
|
96
|
+
BrowserInteractionResolutionSuccess,
|
|
97
|
+
BrowserInteractionScalarPattern,
|
|
98
|
+
BrowserInteractionSemanticSurfaceSnapshot,
|
|
99
|
+
BrowserInteractionSnapshot,
|
|
100
|
+
BrowserInteractionSurfaceEffect,
|
|
101
|
+
BrowserInteractionSurface,
|
|
102
|
+
BrowserInteractionSurfaceDefinition,
|
|
103
|
+
BrowserInteractionSurfaceSnapshot,
|
|
104
|
+
BrowserInteractionUnknownSurfaceSnapshot,
|
|
105
|
+
GameplayBrowserInteractionEffectKind,
|
|
106
|
+
GameplayBrowserInteractionEffectRequest,
|
|
107
|
+
GameplayBrowserInteractionIntent,
|
|
108
|
+
GameplayBrowserInteractionSurface,
|
|
109
|
+
GameplaySemanticEffect,
|
|
110
|
+
GameplaySemanticEffectPattern,
|
|
111
|
+
} from "./types.js";
|