@dreamboard-games/sdk 0.2.1-alpha.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/{chunk-U5C6BONG.js → chunk-326PGVAA.js} +2 -2
- package/dist/{chunk-GKKBPPSW.js → chunk-MZNVHMJ5.js} +4 -4
- package/dist/{chunk-KAELH4KC.js → chunk-NKCRKGR2.js} +2 -2
- package/dist/{chunk-YFY3RL52.js → chunk-PEI3FIL2.js} +2 -2
- package/dist/{chunk-YFY3RL52.js.map → chunk-PEI3FIL2.js.map} +1 -1
- 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/package-set.d.ts +2 -2
- package/dist/package-set.js +1 -1
- package/dist/reducer.js +304 -11
- 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 +1 -1
- 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 +7 -1
- 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/package-set.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-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,708 @@
|
|
|
1
|
+
import { m as BrowserInteractionEffectPattern, J as BrowserInteractionSurfaceEffect, M as CanonicalBrowserInteractionValue, Y as GameplaySemanticEffect, I as BrowserInteractionSurfaceDefinition, y as BrowserInteractionRegistry, H as BrowserInteractionSurface, s as BrowserInteractionIntent, g as BrowserInteractionActuator, K as BrowserInteractionSurfaceSnapshot, F as BrowserInteractionSemanticSurfaceSnapshot, w as BrowserInteractionRawRecord, G as BrowserInteractionSnapshot, i as BrowserInteractionActuatorKind, l as BrowserInteractionDiagnostic, n as BrowserInteractionEffectRequest, o as BrowserInteractionEffectResolution, t as BrowserInteractionIntentRequest, z as BrowserInteractionResolution } from './attributes-BeRyboMS.js';
|
|
2
|
+
export { B as BROWSER_INTERACTION_ACTUATOR_KINDS, a as BROWSER_INTERACTION_ATTRIBUTES, b as BROWSER_INTERACTION_CANDIDATE_STATES, c as BROWSER_INTERACTION_READINESS_VALUES, d as BROWSER_INTERACTION_RECORD_ROLES, e as BrowserGameplayInteraction, f as BrowserGameplaySurfaceSnapshot, h as BrowserInteractionActuatorAttributesInput, j as BrowserInteractionAttributeMap, k as BrowserInteractionCandidateState, p as BrowserInteractionEffectResolutionFailure, q as BrowserInteractionEffectResolutionSuccess, r as BrowserInteractionEntity, u as BrowserInteractionPreparationTarget, v as BrowserInteractionProtocolIdentity, x as BrowserInteractionReadiness, A as BrowserInteractionResolutionFailure, C as BrowserInteractionResolutionSuccess, D as BrowserInteractionRootAttributesInput, E as BrowserInteractionScalarPattern, L as BrowserInteractionUnknownSurfaceSnapshot, N as DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_NAME, O as DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_VERSION, P as GAMEPLAY_BROWSER_INTERACTION_EFFECT_KINDS, Q as GAMEPLAY_BROWSER_INTERACTION_INTENTS, R as GAMEPLAY_BROWSER_INTERACTION_SURFACE, S as GameplayActuatorAttributesInput, T as GameplayBrowserInteractionEffectKind, U as GameplayBrowserInteractionEffectRequest, V as GameplayBrowserInteractionIntent, W as GameplayBrowserInteractionSurface, X as GameplayInteractionRootAttributesInput, Z as GameplaySemanticEffectPattern, _ as compareStableJson, $ as createBrowserInteractionActuatorAttributes, a0 as createBrowserInteractionActuatorKey, a1 as createBrowserInteractionRootAttributes, a2 as createGameplayActuatorAttributes, a3 as createGameplayInteractionRootAttributes, a4 as decodeCanonicalCandidateValue, a5 as encodeCanonicalCandidateValue } from './attributes-BeRyboMS.js';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
declare function encodeBrowserInteractionEffect(effect: BrowserInteractionSurfaceEffect): string;
|
|
6
|
+
declare function decodeBrowserInteractionEffect(encoded: string): BrowserInteractionSurfaceEffect;
|
|
7
|
+
declare function encodeBrowserInteractionEffectPattern(pattern: BrowserInteractionEffectPattern): string;
|
|
8
|
+
declare function decodeBrowserInteractionEffectPattern(encoded: string): BrowserInteractionEffectPattern;
|
|
9
|
+
declare function browserInteractionEffectPatternMatches(pattern: BrowserInteractionEffectPattern, effect: BrowserInteractionSurfaceEffect): boolean;
|
|
10
|
+
declare function assertBrowserInteractionEffectPattern(value: unknown): asserts value is BrowserInteractionEffectPattern;
|
|
11
|
+
declare function gameplaySetCandidateEffect(input: {
|
|
12
|
+
readonly inputKey: string;
|
|
13
|
+
readonly candidateValue: CanonicalBrowserInteractionValue;
|
|
14
|
+
readonly beforeSelected: boolean;
|
|
15
|
+
readonly afterSelected: boolean;
|
|
16
|
+
}): GameplaySemanticEffect;
|
|
17
|
+
declare function gameplayAdjustResourceEffect(input: {
|
|
18
|
+
readonly inputKey: string;
|
|
19
|
+
readonly resourceKey: CanonicalBrowserInteractionValue;
|
|
20
|
+
readonly delta: -1 | 1;
|
|
21
|
+
}): GameplaySemanticEffect;
|
|
22
|
+
declare function gameplaySetScalarEffect(input: {
|
|
23
|
+
readonly inputKey: string;
|
|
24
|
+
readonly value: number;
|
|
25
|
+
}): GameplaySemanticEffect;
|
|
26
|
+
declare function gameplayCommitEffect(): GameplaySemanticEffect;
|
|
27
|
+
declare function gameplayInvokeEffect(): GameplaySemanticEffect;
|
|
28
|
+
|
|
29
|
+
declare function defineBrowserInteractionSurface<Surface extends BrowserInteractionSurface, Intent extends BrowserInteractionIntent>(definition: BrowserInteractionSurfaceDefinition<Surface, Intent>): BrowserInteractionSurfaceDefinition<Surface, Intent>;
|
|
30
|
+
declare const gameplayBrowserInteractionSurface: BrowserInteractionSurfaceDefinition<"gameplay", "arm" | "reveal" | "invoke" | "select" | "toggle" | "increment" | "decrement" | "fill" | "submit", string>;
|
|
31
|
+
declare function createBrowserInteractionRegistry(definitions?: readonly BrowserInteractionSurfaceDefinition[]): BrowserInteractionRegistry;
|
|
32
|
+
declare const defaultBrowserInteractionRegistry: BrowserInteractionRegistry;
|
|
33
|
+
|
|
34
|
+
interface NormalizeBrowserInteractionRecordsOptions {
|
|
35
|
+
readonly registry?: BrowserInteractionRegistry;
|
|
36
|
+
}
|
|
37
|
+
declare function normalizeBrowserInteractionRecords(records: readonly BrowserInteractionRawRecord[], options?: NormalizeBrowserInteractionRecordsOptions): BrowserInteractionSnapshot;
|
|
38
|
+
declare function validateBrowserInteractionSnapshot(snapshot: BrowserInteractionSnapshot): readonly BrowserInteractionDiagnostic[];
|
|
39
|
+
declare function actuatorIdentityKey(input: {
|
|
40
|
+
readonly surface: string;
|
|
41
|
+
readonly scopeId: string;
|
|
42
|
+
readonly interactionKey: string;
|
|
43
|
+
readonly actuator: Pick<BrowserInteractionActuator, "intent" | "inputKey" | "candidateValueKey" | "actuatorKind">;
|
|
44
|
+
}): string;
|
|
45
|
+
declare function isSemanticSurfaceSnapshot(surface: BrowserInteractionSurfaceSnapshot): surface is BrowserInteractionSemanticSurfaceSnapshot;
|
|
46
|
+
declare function targetIdentityKey(input: {
|
|
47
|
+
readonly surface: string;
|
|
48
|
+
readonly scopeId: string;
|
|
49
|
+
readonly interactionKey: string;
|
|
50
|
+
readonly target: {
|
|
51
|
+
readonly intent: string;
|
|
52
|
+
readonly inputKey?: string;
|
|
53
|
+
readonly candidateValueKey?: string;
|
|
54
|
+
readonly actuatorKind?: BrowserInteractionActuatorKind;
|
|
55
|
+
};
|
|
56
|
+
}): string;
|
|
57
|
+
|
|
58
|
+
declare function resolveBrowserInteractionIntent(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionIntentRequest): BrowserInteractionResolution;
|
|
59
|
+
declare function resolveBrowserInteractionEffect(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionEffectRequest): BrowserInteractionEffectResolution;
|
|
60
|
+
|
|
61
|
+
declare const browserInteractionEffectSchema: z.ZodObject<{
|
|
62
|
+
kind: z.ZodString;
|
|
63
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
64
|
+
declare const browserInteractionEffectPatternSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
65
|
+
kind: z.ZodLiteral<"exact">;
|
|
66
|
+
effect: z.ZodObject<{
|
|
67
|
+
kind: z.ZodString;
|
|
68
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
kind: z.ZodLiteral<"match">;
|
|
71
|
+
effectKind: z.ZodString;
|
|
72
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
73
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
field: z.ZodString;
|
|
75
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
}, z.core.$strip>]>;
|
|
80
|
+
declare const gameplaySemanticEffectSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
81
|
+
kind: z.ZodLiteral<"setCandidate">;
|
|
82
|
+
inputKey: z.ZodString;
|
|
83
|
+
candidateValue: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
84
|
+
beforeSelected: z.ZodBoolean;
|
|
85
|
+
afterSelected: z.ZodBoolean;
|
|
86
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
87
|
+
kind: z.ZodLiteral<"adjustResource">;
|
|
88
|
+
inputKey: z.ZodString;
|
|
89
|
+
resourceKey: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
90
|
+
delta: z.ZodUnion<readonly [z.ZodLiteral<-1>, z.ZodLiteral<1>]>;
|
|
91
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
+
kind: z.ZodLiteral<"setScalar">;
|
|
93
|
+
inputKey: z.ZodString;
|
|
94
|
+
value: z.ZodNumber;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
kind: z.ZodLiteral<"commit">;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
kind: z.ZodLiteral<"invoke">;
|
|
99
|
+
}, z.core.$strip>]>;
|
|
100
|
+
declare const browserInteractionDiagnosticSchema: z.ZodObject<{
|
|
101
|
+
code: z.ZodString;
|
|
102
|
+
severity: z.ZodEnum<{
|
|
103
|
+
error: "error";
|
|
104
|
+
warning: "warning";
|
|
105
|
+
}>;
|
|
106
|
+
message: z.ZodString;
|
|
107
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
108
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
109
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
110
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
111
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
declare const browserInteractionActuatorSchema: z.ZodObject<{
|
|
114
|
+
actuatorId: z.ZodString;
|
|
115
|
+
intent: z.ZodString;
|
|
116
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
117
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
118
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
119
|
+
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
selected: "selected";
|
|
121
|
+
unselected: "unselected";
|
|
122
|
+
mixed: "mixed";
|
|
123
|
+
}>>;
|
|
124
|
+
enabled: z.ZodBoolean;
|
|
125
|
+
actuatorKind: z.ZodEnum<{
|
|
126
|
+
fill: "fill";
|
|
127
|
+
click: "click";
|
|
128
|
+
keyboard: "keyboard";
|
|
129
|
+
pointer: "pointer";
|
|
130
|
+
}>;
|
|
131
|
+
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
132
|
+
kind: z.ZodString;
|
|
133
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>>;
|
|
134
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
135
|
+
kind: z.ZodLiteral<"exact">;
|
|
136
|
+
effect: z.ZodObject<{
|
|
137
|
+
kind: z.ZodString;
|
|
138
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
139
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
140
|
+
kind: z.ZodLiteral<"match">;
|
|
141
|
+
effectKind: z.ZodString;
|
|
142
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
143
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
field: z.ZodString;
|
|
145
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
}, z.core.$strip>]>>;
|
|
150
|
+
preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
151
|
+
kind: z.ZodLiteral<"exact">;
|
|
152
|
+
effect: z.ZodObject<{
|
|
153
|
+
kind: z.ZodString;
|
|
154
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
156
|
+
kind: z.ZodLiteral<"match">;
|
|
157
|
+
effectKind: z.ZodString;
|
|
158
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
159
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
field: z.ZodString;
|
|
161
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
}, z.core.$strip>]>>;
|
|
166
|
+
prepares: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
intent: z.ZodString;
|
|
168
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
169
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
170
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
171
|
+
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
fill: "fill";
|
|
173
|
+
click: "click";
|
|
174
|
+
keyboard: "keyboard";
|
|
175
|
+
pointer: "pointer";
|
|
176
|
+
}>>;
|
|
177
|
+
}, z.core.$strip>>;
|
|
178
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
179
|
+
code: z.ZodString;
|
|
180
|
+
severity: z.ZodEnum<{
|
|
181
|
+
error: "error";
|
|
182
|
+
warning: "warning";
|
|
183
|
+
}>;
|
|
184
|
+
message: z.ZodString;
|
|
185
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
186
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
187
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
188
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
189
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
190
|
+
}, z.core.$strip>>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
193
|
+
interactionKey: z.ZodString;
|
|
194
|
+
interactionId: z.ZodString;
|
|
195
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
196
|
+
draftDigest: z.ZodOptional<z.ZodString>;
|
|
197
|
+
readiness: z.ZodEnum<{
|
|
198
|
+
ready: "ready";
|
|
199
|
+
blocked: "blocked";
|
|
200
|
+
unavailable: "unavailable";
|
|
201
|
+
}>;
|
|
202
|
+
actuators: z.ZodArray<z.ZodObject<{
|
|
203
|
+
actuatorId: z.ZodString;
|
|
204
|
+
intent: z.ZodString;
|
|
205
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
206
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
207
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
208
|
+
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
209
|
+
selected: "selected";
|
|
210
|
+
unselected: "unselected";
|
|
211
|
+
mixed: "mixed";
|
|
212
|
+
}>>;
|
|
213
|
+
enabled: z.ZodBoolean;
|
|
214
|
+
actuatorKind: z.ZodEnum<{
|
|
215
|
+
fill: "fill";
|
|
216
|
+
click: "click";
|
|
217
|
+
keyboard: "keyboard";
|
|
218
|
+
pointer: "pointer";
|
|
219
|
+
}>;
|
|
220
|
+
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
221
|
+
kind: z.ZodString;
|
|
222
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>>;
|
|
223
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
224
|
+
kind: z.ZodLiteral<"exact">;
|
|
225
|
+
effect: z.ZodObject<{
|
|
226
|
+
kind: z.ZodString;
|
|
227
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
kind: z.ZodLiteral<"match">;
|
|
230
|
+
effectKind: z.ZodString;
|
|
231
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
232
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
field: z.ZodString;
|
|
234
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
}, z.core.$strip>]>>;
|
|
239
|
+
preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
240
|
+
kind: z.ZodLiteral<"exact">;
|
|
241
|
+
effect: z.ZodObject<{
|
|
242
|
+
kind: z.ZodString;
|
|
243
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
245
|
+
kind: z.ZodLiteral<"match">;
|
|
246
|
+
effectKind: z.ZodString;
|
|
247
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
248
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
field: z.ZodString;
|
|
250
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
252
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
}, z.core.$strip>>;
|
|
254
|
+
}, z.core.$strip>]>>;
|
|
255
|
+
prepares: z.ZodOptional<z.ZodObject<{
|
|
256
|
+
intent: z.ZodString;
|
|
257
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
258
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
259
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
260
|
+
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
fill: "fill";
|
|
262
|
+
click: "click";
|
|
263
|
+
keyboard: "keyboard";
|
|
264
|
+
pointer: "pointer";
|
|
265
|
+
}>>;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
268
|
+
code: z.ZodString;
|
|
269
|
+
severity: z.ZodEnum<{
|
|
270
|
+
error: "error";
|
|
271
|
+
warning: "warning";
|
|
272
|
+
}>;
|
|
273
|
+
message: z.ZodString;
|
|
274
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
275
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
276
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
277
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
278
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
279
|
+
}, z.core.$strip>>;
|
|
280
|
+
}, z.core.$strip>>;
|
|
281
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
282
|
+
code: z.ZodString;
|
|
283
|
+
severity: z.ZodEnum<{
|
|
284
|
+
error: "error";
|
|
285
|
+
warning: "warning";
|
|
286
|
+
}>;
|
|
287
|
+
message: z.ZodString;
|
|
288
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
289
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
290
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
291
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
292
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
293
|
+
}, z.core.$strip>>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
296
|
+
surface: z.ZodLiteral<"gameplay">;
|
|
297
|
+
scopeId: z.ZodString;
|
|
298
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
299
|
+
interactionKey: z.ZodString;
|
|
300
|
+
interactionId: z.ZodString;
|
|
301
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
302
|
+
draftDigest: z.ZodOptional<z.ZodString>;
|
|
303
|
+
readiness: z.ZodEnum<{
|
|
304
|
+
ready: "ready";
|
|
305
|
+
blocked: "blocked";
|
|
306
|
+
unavailable: "unavailable";
|
|
307
|
+
}>;
|
|
308
|
+
actuators: z.ZodArray<z.ZodObject<{
|
|
309
|
+
actuatorId: z.ZodString;
|
|
310
|
+
intent: z.ZodString;
|
|
311
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
312
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
313
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
314
|
+
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
315
|
+
selected: "selected";
|
|
316
|
+
unselected: "unselected";
|
|
317
|
+
mixed: "mixed";
|
|
318
|
+
}>>;
|
|
319
|
+
enabled: z.ZodBoolean;
|
|
320
|
+
actuatorKind: z.ZodEnum<{
|
|
321
|
+
fill: "fill";
|
|
322
|
+
click: "click";
|
|
323
|
+
keyboard: "keyboard";
|
|
324
|
+
pointer: "pointer";
|
|
325
|
+
}>;
|
|
326
|
+
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
327
|
+
kind: z.ZodString;
|
|
328
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>>;
|
|
329
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
330
|
+
kind: z.ZodLiteral<"exact">;
|
|
331
|
+
effect: z.ZodObject<{
|
|
332
|
+
kind: z.ZodString;
|
|
333
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
335
|
+
kind: z.ZodLiteral<"match">;
|
|
336
|
+
effectKind: z.ZodString;
|
|
337
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
338
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
339
|
+
field: z.ZodString;
|
|
340
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
}, z.core.$strip>>;
|
|
344
|
+
}, z.core.$strip>]>>;
|
|
345
|
+
preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
346
|
+
kind: z.ZodLiteral<"exact">;
|
|
347
|
+
effect: z.ZodObject<{
|
|
348
|
+
kind: z.ZodString;
|
|
349
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
351
|
+
kind: z.ZodLiteral<"match">;
|
|
352
|
+
effectKind: z.ZodString;
|
|
353
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
354
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
355
|
+
field: z.ZodString;
|
|
356
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
358
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
}, z.core.$strip>>;
|
|
360
|
+
}, z.core.$strip>]>>;
|
|
361
|
+
prepares: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
intent: z.ZodString;
|
|
363
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
364
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
365
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
366
|
+
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
fill: "fill";
|
|
368
|
+
click: "click";
|
|
369
|
+
keyboard: "keyboard";
|
|
370
|
+
pointer: "pointer";
|
|
371
|
+
}>>;
|
|
372
|
+
}, z.core.$strip>>;
|
|
373
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
374
|
+
code: z.ZodString;
|
|
375
|
+
severity: z.ZodEnum<{
|
|
376
|
+
error: "error";
|
|
377
|
+
warning: "warning";
|
|
378
|
+
}>;
|
|
379
|
+
message: z.ZodString;
|
|
380
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
381
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
382
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
383
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
384
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strip>>;
|
|
386
|
+
}, z.core.$strip>>;
|
|
387
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
388
|
+
code: z.ZodString;
|
|
389
|
+
severity: z.ZodEnum<{
|
|
390
|
+
error: "error";
|
|
391
|
+
warning: "warning";
|
|
392
|
+
}>;
|
|
393
|
+
message: z.ZodString;
|
|
394
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
395
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
396
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
397
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
398
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
399
|
+
}, z.core.$strip>>;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
402
|
+
code: z.ZodString;
|
|
403
|
+
severity: z.ZodEnum<{
|
|
404
|
+
error: "error";
|
|
405
|
+
warning: "warning";
|
|
406
|
+
}>;
|
|
407
|
+
message: z.ZodString;
|
|
408
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
409
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
410
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
411
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
412
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
413
|
+
}, z.core.$strip>>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
416
|
+
surface: z.ZodString;
|
|
417
|
+
scopeId: z.ZodString;
|
|
418
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
419
|
+
interactionKey: z.ZodString;
|
|
420
|
+
interactionId: z.ZodString;
|
|
421
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
422
|
+
draftDigest: z.ZodOptional<z.ZodString>;
|
|
423
|
+
readiness: z.ZodEnum<{
|
|
424
|
+
ready: "ready";
|
|
425
|
+
blocked: "blocked";
|
|
426
|
+
unavailable: "unavailable";
|
|
427
|
+
}>;
|
|
428
|
+
actuators: z.ZodArray<z.ZodObject<{
|
|
429
|
+
actuatorId: z.ZodString;
|
|
430
|
+
intent: z.ZodString;
|
|
431
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
432
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
433
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
434
|
+
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
selected: "selected";
|
|
436
|
+
unselected: "unselected";
|
|
437
|
+
mixed: "mixed";
|
|
438
|
+
}>>;
|
|
439
|
+
enabled: z.ZodBoolean;
|
|
440
|
+
actuatorKind: z.ZodEnum<{
|
|
441
|
+
fill: "fill";
|
|
442
|
+
click: "click";
|
|
443
|
+
keyboard: "keyboard";
|
|
444
|
+
pointer: "pointer";
|
|
445
|
+
}>;
|
|
446
|
+
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
447
|
+
kind: z.ZodString;
|
|
448
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>>;
|
|
449
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
450
|
+
kind: z.ZodLiteral<"exact">;
|
|
451
|
+
effect: z.ZodObject<{
|
|
452
|
+
kind: z.ZodString;
|
|
453
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
454
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
455
|
+
kind: z.ZodLiteral<"match">;
|
|
456
|
+
effectKind: z.ZodString;
|
|
457
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
458
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
459
|
+
field: z.ZodString;
|
|
460
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
461
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
462
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
463
|
+
}, z.core.$strip>>;
|
|
464
|
+
}, z.core.$strip>]>>;
|
|
465
|
+
preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
466
|
+
kind: z.ZodLiteral<"exact">;
|
|
467
|
+
effect: z.ZodObject<{
|
|
468
|
+
kind: z.ZodString;
|
|
469
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
+
kind: z.ZodLiteral<"match">;
|
|
472
|
+
effectKind: z.ZodString;
|
|
473
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
474
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
475
|
+
field: z.ZodString;
|
|
476
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
}, z.core.$strip>]>>;
|
|
481
|
+
prepares: z.ZodOptional<z.ZodObject<{
|
|
482
|
+
intent: z.ZodString;
|
|
483
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
484
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
485
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
486
|
+
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
487
|
+
fill: "fill";
|
|
488
|
+
click: "click";
|
|
489
|
+
keyboard: "keyboard";
|
|
490
|
+
pointer: "pointer";
|
|
491
|
+
}>>;
|
|
492
|
+
}, z.core.$strip>>;
|
|
493
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
494
|
+
code: z.ZodString;
|
|
495
|
+
severity: z.ZodEnum<{
|
|
496
|
+
error: "error";
|
|
497
|
+
warning: "warning";
|
|
498
|
+
}>;
|
|
499
|
+
message: z.ZodString;
|
|
500
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
501
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
502
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
503
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
504
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
505
|
+
}, z.core.$strip>>;
|
|
506
|
+
}, z.core.$strip>>;
|
|
507
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
508
|
+
code: z.ZodString;
|
|
509
|
+
severity: z.ZodEnum<{
|
|
510
|
+
error: "error";
|
|
511
|
+
warning: "warning";
|
|
512
|
+
}>;
|
|
513
|
+
message: z.ZodString;
|
|
514
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
515
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
516
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
517
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
518
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
522
|
+
code: z.ZodString;
|
|
523
|
+
severity: z.ZodEnum<{
|
|
524
|
+
error: "error";
|
|
525
|
+
warning: "warning";
|
|
526
|
+
}>;
|
|
527
|
+
message: z.ZodString;
|
|
528
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
529
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
530
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
531
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
532
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
533
|
+
}, z.core.$strip>>;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
declare const browserUnknownSurfaceSnapshotSchema: z.ZodObject<{
|
|
536
|
+
surface: z.ZodString;
|
|
537
|
+
scopeId: z.ZodString;
|
|
538
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
539
|
+
code: z.ZodString;
|
|
540
|
+
severity: z.ZodEnum<{
|
|
541
|
+
error: "error";
|
|
542
|
+
warning: "warning";
|
|
543
|
+
}>;
|
|
544
|
+
message: z.ZodString;
|
|
545
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
546
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
547
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
548
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
549
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
550
|
+
}, z.core.$strip>>;
|
|
551
|
+
}, z.core.$strip>;
|
|
552
|
+
declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
553
|
+
protocol: z.ZodObject<{
|
|
554
|
+
name: z.ZodLiteral<"dreamboard-browser-interaction">;
|
|
555
|
+
version: z.ZodLiteral<"2.0.0">;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
surfaces: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
558
|
+
surface: z.ZodString;
|
|
559
|
+
scopeId: z.ZodString;
|
|
560
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
561
|
+
interactionKey: z.ZodString;
|
|
562
|
+
interactionId: z.ZodString;
|
|
563
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
564
|
+
draftDigest: z.ZodOptional<z.ZodString>;
|
|
565
|
+
readiness: z.ZodEnum<{
|
|
566
|
+
ready: "ready";
|
|
567
|
+
blocked: "blocked";
|
|
568
|
+
unavailable: "unavailable";
|
|
569
|
+
}>;
|
|
570
|
+
actuators: z.ZodArray<z.ZodObject<{
|
|
571
|
+
actuatorId: z.ZodString;
|
|
572
|
+
intent: z.ZodString;
|
|
573
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
574
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
575
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
576
|
+
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
577
|
+
selected: "selected";
|
|
578
|
+
unselected: "unselected";
|
|
579
|
+
mixed: "mixed";
|
|
580
|
+
}>>;
|
|
581
|
+
enabled: z.ZodBoolean;
|
|
582
|
+
actuatorKind: z.ZodEnum<{
|
|
583
|
+
fill: "fill";
|
|
584
|
+
click: "click";
|
|
585
|
+
keyboard: "keyboard";
|
|
586
|
+
pointer: "pointer";
|
|
587
|
+
}>;
|
|
588
|
+
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
589
|
+
kind: z.ZodString;
|
|
590
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>>;
|
|
591
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
592
|
+
kind: z.ZodLiteral<"exact">;
|
|
593
|
+
effect: z.ZodObject<{
|
|
594
|
+
kind: z.ZodString;
|
|
595
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
597
|
+
kind: z.ZodLiteral<"match">;
|
|
598
|
+
effectKind: z.ZodString;
|
|
599
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
600
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
601
|
+
field: z.ZodString;
|
|
602
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
603
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
604
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
605
|
+
}, z.core.$strip>>;
|
|
606
|
+
}, z.core.$strip>]>>;
|
|
607
|
+
preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
608
|
+
kind: z.ZodLiteral<"exact">;
|
|
609
|
+
effect: z.ZodObject<{
|
|
610
|
+
kind: z.ZodString;
|
|
611
|
+
}, z.core.$catchall<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
612
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
613
|
+
kind: z.ZodLiteral<"match">;
|
|
614
|
+
effectKind: z.ZodString;
|
|
615
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
616
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
field: z.ZodString;
|
|
618
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
619
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
620
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
621
|
+
}, z.core.$strip>>;
|
|
622
|
+
}, z.core.$strip>]>>;
|
|
623
|
+
prepares: z.ZodOptional<z.ZodObject<{
|
|
624
|
+
intent: z.ZodString;
|
|
625
|
+
inputKey: z.ZodOptional<z.ZodString>;
|
|
626
|
+
candidateValue: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
627
|
+
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
628
|
+
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
629
|
+
fill: "fill";
|
|
630
|
+
click: "click";
|
|
631
|
+
keyboard: "keyboard";
|
|
632
|
+
pointer: "pointer";
|
|
633
|
+
}>>;
|
|
634
|
+
}, z.core.$strip>>;
|
|
635
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
636
|
+
code: z.ZodString;
|
|
637
|
+
severity: z.ZodEnum<{
|
|
638
|
+
error: "error";
|
|
639
|
+
warning: "warning";
|
|
640
|
+
}>;
|
|
641
|
+
message: z.ZodString;
|
|
642
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
643
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
644
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
645
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
646
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
647
|
+
}, z.core.$strip>>;
|
|
648
|
+
}, z.core.$strip>>;
|
|
649
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
650
|
+
code: z.ZodString;
|
|
651
|
+
severity: z.ZodEnum<{
|
|
652
|
+
error: "error";
|
|
653
|
+
warning: "warning";
|
|
654
|
+
}>;
|
|
655
|
+
message: z.ZodString;
|
|
656
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
657
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
658
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
659
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
660
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strip>>;
|
|
662
|
+
}, z.core.$strip>>;
|
|
663
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
664
|
+
code: z.ZodString;
|
|
665
|
+
severity: z.ZodEnum<{
|
|
666
|
+
error: "error";
|
|
667
|
+
warning: "warning";
|
|
668
|
+
}>;
|
|
669
|
+
message: z.ZodString;
|
|
670
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
671
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
672
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
673
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
674
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
675
|
+
}, z.core.$strip>>;
|
|
676
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
677
|
+
surface: z.ZodString;
|
|
678
|
+
scopeId: z.ZodString;
|
|
679
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
680
|
+
code: z.ZodString;
|
|
681
|
+
severity: z.ZodEnum<{
|
|
682
|
+
error: "error";
|
|
683
|
+
warning: "warning";
|
|
684
|
+
}>;
|
|
685
|
+
message: z.ZodString;
|
|
686
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
687
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
688
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
689
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
690
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
691
|
+
}, z.core.$strip>>;
|
|
692
|
+
}, z.core.$strip>]>>;
|
|
693
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
694
|
+
code: z.ZodString;
|
|
695
|
+
severity: z.ZodEnum<{
|
|
696
|
+
error: "error";
|
|
697
|
+
warning: "warning";
|
|
698
|
+
}>;
|
|
699
|
+
message: z.ZodString;
|
|
700
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
701
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
702
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
703
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
704
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
705
|
+
}, z.core.$strip>>;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
|
|
708
|
+
export { BrowserInteractionActuator, BrowserInteractionActuatorKind, BrowserInteractionDiagnostic, BrowserInteractionEffectPattern, BrowserInteractionEffectRequest, BrowserInteractionEffectResolution, BrowserInteractionIntent, BrowserInteractionIntentRequest, BrowserInteractionRawRecord, BrowserInteractionRegistry, BrowserInteractionResolution, BrowserInteractionSemanticSurfaceSnapshot, BrowserInteractionSnapshot, BrowserInteractionSurface, BrowserInteractionSurfaceDefinition, BrowserInteractionSurfaceEffect, BrowserInteractionSurfaceSnapshot, CanonicalBrowserInteractionValue, GameplaySemanticEffect, type NormalizeBrowserInteractionRecordsOptions, actuatorIdentityKey, assertBrowserInteractionEffectPattern, browserGameplayInteractionSchema, browserGameplaySurfaceSnapshotSchema, browserInteractionActuatorSchema, browserInteractionDiagnosticSchema, browserInteractionEffectPatternMatches, browserInteractionEffectPatternSchema, browserInteractionEffectSchema, browserInteractionSnapshotSchema, browserSemanticSurfaceSnapshotSchema, browserUnknownSurfaceSnapshotSchema, createBrowserInteractionRegistry, decodeBrowserInteractionEffect, decodeBrowserInteractionEffectPattern, defaultBrowserInteractionRegistry, defineBrowserInteractionSurface, encodeBrowserInteractionEffect, encodeBrowserInteractionEffectPattern, gameplayAdjustResourceEffect, gameplayBrowserInteractionSurface, gameplayCommitEffect, gameplayInvokeEffect, gameplaySemanticEffectSchema, gameplaySetCandidateEffect, gameplaySetScalarEffect, isSemanticSurfaceSnapshot, normalizeBrowserInteractionRecords, resolveBrowserInteractionEffect, resolveBrowserInteractionIntent, targetIdentityKey, validateBrowserInteractionSnapshot };
|