@dreamboard-games/sdk 0.4.0-alpha.0 → 0.4.0-alpha.2
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 +8 -1
- package/REFERENCE.md +1849 -379
- package/dist/{ResourceCounter-BTXklCEZ.d.ts → ResourceCounter-BuiNstXs.d.ts} +5 -1
- package/dist/{ThemeProvider-DvMl17Ny.d.ts → ThemeProvider-B1sIoBlX.d.ts} +1 -1
- package/dist/attributes-DbvyMbXw.d.ts +68 -0
- package/dist/authoring/index.d.ts +66 -0
- package/dist/authoring/index.js +560 -0
- package/dist/authoring/index.js.map +1 -0
- package/dist/browser-interaction.d.ts +246 -44
- package/dist/browser-interaction.js +14 -1
- package/dist/{chunk-Q5O7GPVY.js → chunk-45FI6XII.js} +630 -375
- package/dist/chunk-45FI6XII.js.map +1 -0
- package/dist/{chunk-4G7552LO.js → chunk-6JQFGSLD.js} +216 -47
- package/dist/chunk-6JQFGSLD.js.map +1 -0
- package/dist/{chunk-NBAEEHAU.js → chunk-CP35NPPY.js} +5926 -5266
- package/dist/chunk-CP35NPPY.js.map +1 -0
- package/dist/{chunk-2LDZ5C3T.js → chunk-FWVV2X74.js} +2 -2
- package/dist/{chunk-MNKDSGIA.js → chunk-HWJS3VOJ.js} +6 -2
- package/dist/chunk-HWJS3VOJ.js.map +1 -0
- package/dist/chunk-K5ZRJTZZ.js +328 -0
- package/dist/chunk-K5ZRJTZZ.js.map +1 -0
- package/dist/{chunk-U5KBV2BA.js → chunk-N6ZDIMRB.js} +444 -223
- package/dist/chunk-N6ZDIMRB.js.map +1 -0
- package/dist/chunk-O6M6PN4E.js +1225 -0
- package/dist/chunk-O6M6PN4E.js.map +1 -0
- package/dist/chunk-PF7L4BMG.js +117 -0
- package/dist/chunk-PF7L4BMG.js.map +1 -0
- package/dist/{chunk-P7F4L2FF.js → chunk-WOWFONLZ.js} +609 -1287
- package/dist/chunk-WOWFONLZ.js.map +1 -0
- package/dist/{chunk-QLG6VEMW.js → chunk-WUIVY2KE.js} +318 -21
- package/dist/chunk-WUIVY2KE.js.map +1 -0
- package/dist/chunk-ZAS2SENW.js +12 -0
- package/dist/chunk-ZAS2SENW.js.map +1 -0
- package/dist/codegen.d.ts +11 -1
- package/dist/codegen.js +1 -1
- package/dist/{components-DaIqi9QM.d.ts → components-BbWPnZCF.d.ts} +37 -70
- package/dist/{hex-board-view-UCUjMALd.d.ts → hex-board-view-Kz9Q_zsv.d.ts} +1 -1
- package/dist/index.js +2 -1
- package/dist/package-set.d.ts +2 -2
- package/dist/package-set.js +2 -1
- package/dist/player-state-Cqpyeql0.d.ts +371 -0
- package/dist/protocol-BP193lva.d.ts +267 -0
- package/dist/reducer/advanced.d.ts +2 -2
- package/dist/reducer/advanced.js +1 -1
- package/dist/reducer-contract.js +1 -1
- package/dist/reducer.d.ts +7 -7
- package/dist/reducer.js +190 -183
- package/dist/reducer.js.map +1 -1
- package/dist/runtime/primitives.d.ts +10 -9
- package/dist/runtime/primitives.js +9 -6
- package/dist/runtime/runtime-api.d.ts +2 -2
- package/dist/runtime/workspace-contract.d.ts +28 -76
- package/dist/runtime/workspace-contract.js +7 -5
- package/dist/runtime-api-BJharVaj.d.ts +198 -0
- package/dist/runtime-api-C6aWo9c0.d.ts +95 -0
- package/dist/runtime-json-CQ9QbLZ5.d.ts +5 -0
- package/dist/runtime.d.ts +80 -11
- package/dist/runtime.js +89 -445
- package/dist/runtime.js.map +1 -1
- package/dist/testing.d.ts +643 -22
- package/dist/testing.js +1371 -76
- package/dist/testing.js.map +1 -1
- package/dist/types-CYeN0wLK.d.ts +29 -0
- package/dist/{attributes-BeRyboMS.d.ts → types-DJj5MJkl.d.ts} +32 -55
- package/dist/types.d.ts +14 -7
- package/dist/ui/components.d.ts +4 -5
- package/dist/ui/components.js +19 -1
- package/dist/ui/player-state.d.ts +2 -365
- package/dist/ui/plugin-styles.css +1 -1
- package/dist/{ui-contract-BUC6iS3s.d.ts → ui-contract-CY7cxsCC.d.ts} +17 -26
- package/dist/ui.d.ts +8 -13
- package/dist/ui.js +20 -2
- package/dist/{views-B0hlW6IT.d.ts → views-fn2RuXOx.d.ts} +59 -44
- package/package.json +28 -4
- package/dist/chunk-4G7552LO.js.map +0 -1
- package/dist/chunk-MNKDSGIA.js.map +0 -1
- package/dist/chunk-NBAEEHAU.js.map +0 -1
- package/dist/chunk-P7F4L2FF.js.map +0 -1
- package/dist/chunk-Q5O7GPVY.js.map +0 -1
- package/dist/chunk-QLG6VEMW.js.map +0 -1
- package/dist/chunk-U5KBV2BA.js.map +0 -1
- package/dist/hex-color-MhOyuY-o.d.ts +0 -8
- package/dist/runtime-api-BXd70c2e.d.ts +0 -490
- /package/dist/{chunk-2LDZ5C3T.js.map → chunk-FWVV2X74.js.map} +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
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,
|
|
1
|
+
import { k as BrowserInteractionEffectPattern, K as BrowserInteractionSurfaceEffect, N as CanonicalBrowserInteractionValue, X as GameplaySemanticEffect, J as BrowserInteractionSurfaceDefinition, A as BrowserInteractionRegistry, I as BrowserInteractionSurface, q as BrowserInteractionIntent, g as BrowserInteractionActuator, L as BrowserInteractionSurfaceSnapshot, G as BrowserInteractionSemanticSurfaceSnapshot, y as BrowserInteractionRawRecord, H as BrowserInteractionSnapshot, s as BrowserInteractionPointerTarget, h as BrowserInteractionActuatorKind, j as BrowserInteractionDiagnostic, l as BrowserInteractionEffectRequest, m as BrowserInteractionEffectResolution, r as BrowserInteractionIntentRequest, C as BrowserInteractionResolution, t as BrowserInteractionPointerTargetResolution } from './types-DJj5MJkl.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, i as BrowserInteractionCandidateState, n as BrowserInteractionEffectResolutionFailure, o as BrowserInteractionEffectResolutionSuccess, p as BrowserInteractionEntity, u as BrowserInteractionPointerTargetResolutionFailure, v as BrowserInteractionPointerTargetResolutionSuccess, w as BrowserInteractionPreparationTarget, x as BrowserInteractionProtocolIdentity, z as BrowserInteractionReadiness, D as BrowserInteractionResolutionFailure, E as BrowserInteractionResolutionSuccess, F as BrowserInteractionScalarPattern, M as BrowserInteractionUnknownSurfaceSnapshot, O as DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_NAME, P as DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_VERSION, Q as GAMEPLAY_BROWSER_INTERACTION_EFFECT_KINDS, R as GAMEPLAY_BROWSER_INTERACTION_INTENTS, S as GAMEPLAY_BROWSER_INTERACTION_SURFACE, T as GameplayBrowserInteractionEffectKind, U as GameplayBrowserInteractionEffectRequest, V as GameplayBrowserInteractionIntent, W as GameplayBrowserInteractionSurface, Y as GameplaySemanticEffectPattern, Z as compareStableJson, _ as decodeCanonicalCandidateValue, $ as encodeCanonicalCandidateValue } from './types-DJj5MJkl.js';
|
|
3
|
+
export { B as BrowserInteractionActuatorAttributesInput, a as BrowserInteractionAttributeMap, b as BrowserInteractionPointerTargetAttributesInput, c as BrowserInteractionRootAttributesInput, G as GameplayActuatorAttributesInput, d as GameplayInteractionRootAttributesInput, e as GameplayPointerTargetAttributesInput, f as createBrowserInteractionActuatorAttributes, g as createBrowserInteractionActuatorKey, h as createBrowserInteractionPointerTargetAttributes, i as createBrowserInteractionRootAttributes, j as createGameplayActuatorAttributes, k as createGameplayInteractionRootAttributes, l as createGameplayPointerTargetAttributes } from './attributes-DbvyMbXw.js';
|
|
4
|
+
import { R as RuntimeJson } from './runtime-json-CQ9QbLZ5.js';
|
|
3
5
|
import { z } from 'zod';
|
|
4
6
|
|
|
5
7
|
declare function encodeBrowserInteractionEffect(effect: BrowserInteractionSurfaceEffect): string;
|
|
@@ -42,6 +44,12 @@ declare function actuatorIdentityKey(input: {
|
|
|
42
44
|
readonly interactionKey: string;
|
|
43
45
|
readonly actuator: Pick<BrowserInteractionActuator, "intent" | "inputKey" | "candidateValueKey" | "actuatorKind">;
|
|
44
46
|
}): string;
|
|
47
|
+
declare function pointerTargetIdentityKey(input: {
|
|
48
|
+
readonly surface: string;
|
|
49
|
+
readonly scopeId: string;
|
|
50
|
+
readonly interactionKey: string;
|
|
51
|
+
readonly pointerTarget: Pick<BrowserInteractionPointerTarget, "targetId">;
|
|
52
|
+
}): string;
|
|
45
53
|
declare function isSemanticSurfaceSnapshot(surface: BrowserInteractionSurfaceSnapshot): surface is BrowserInteractionSemanticSurfaceSnapshot;
|
|
46
54
|
declare function targetIdentityKey(input: {
|
|
47
55
|
readonly surface: string;
|
|
@@ -57,19 +65,22 @@ declare function targetIdentityKey(input: {
|
|
|
57
65
|
|
|
58
66
|
declare function resolveBrowserInteractionIntent(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionIntentRequest): BrowserInteractionResolution;
|
|
59
67
|
declare function resolveBrowserInteractionEffect(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionEffectRequest): BrowserInteractionEffectResolution;
|
|
68
|
+
declare function resolveBrowserPointerTarget(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionEffectRequest): BrowserInteractionPointerTargetResolution;
|
|
69
|
+
|
|
70
|
+
declare function readBrowserInteractionSnapshot(root: ParentNode): BrowserInteractionSnapshot;
|
|
60
71
|
|
|
61
72
|
declare const browserInteractionEffectSchema: z.ZodObject<{
|
|
62
73
|
kind: z.ZodString;
|
|
63
|
-
}, z.core.$catchall<z.ZodType<
|
|
74
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
64
75
|
declare const browserInteractionEffectPatternSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
65
76
|
kind: z.ZodLiteral<"exact">;
|
|
66
77
|
effect: z.ZodObject<{
|
|
67
78
|
kind: z.ZodString;
|
|
68
|
-
}, z.core.$catchall<z.ZodType<
|
|
79
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
69
80
|
}, z.core.$strip>, z.ZodObject<{
|
|
70
81
|
kind: z.ZodLiteral<"match">;
|
|
71
82
|
effectKind: z.ZodString;
|
|
72
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
83
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
73
84
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
74
85
|
field: z.ZodString;
|
|
75
86
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -80,13 +91,13 @@ declare const browserInteractionEffectPatternSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
80
91
|
declare const gameplaySemanticEffectSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
81
92
|
kind: z.ZodLiteral<"setCandidate">;
|
|
82
93
|
inputKey: z.ZodString;
|
|
83
|
-
candidateValue: z.ZodType<
|
|
94
|
+
candidateValue: z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>;
|
|
84
95
|
beforeSelected: z.ZodBoolean;
|
|
85
96
|
afterSelected: z.ZodBoolean;
|
|
86
97
|
}, z.core.$strip>, z.ZodObject<{
|
|
87
98
|
kind: z.ZodLiteral<"adjustResource">;
|
|
88
99
|
inputKey: z.ZodString;
|
|
89
|
-
resourceKey: z.ZodType<
|
|
100
|
+
resourceKey: z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>;
|
|
90
101
|
delta: z.ZodUnion<readonly [z.ZodLiteral<-1>, z.ZodLiteral<1>]>;
|
|
91
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
92
103
|
kind: z.ZodLiteral<"setScalar">;
|
|
@@ -109,12 +120,13 @@ declare const browserInteractionDiagnosticSchema: z.ZodObject<{
|
|
|
109
120
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
110
121
|
intent: z.ZodOptional<z.ZodString>;
|
|
111
122
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
123
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
112
124
|
}, z.core.$strip>;
|
|
113
125
|
declare const browserInteractionActuatorSchema: z.ZodObject<{
|
|
114
126
|
actuatorId: z.ZodString;
|
|
115
127
|
intent: z.ZodString;
|
|
116
128
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
117
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
129
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
118
130
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
119
131
|
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
120
132
|
selected: "selected";
|
|
@@ -130,16 +142,16 @@ declare const browserInteractionActuatorSchema: z.ZodObject<{
|
|
|
130
142
|
}>;
|
|
131
143
|
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
132
144
|
kind: z.ZodString;
|
|
133
|
-
}, z.core.$catchall<z.ZodType<
|
|
145
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
|
|
134
146
|
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
135
147
|
kind: z.ZodLiteral<"exact">;
|
|
136
148
|
effect: z.ZodObject<{
|
|
137
149
|
kind: z.ZodString;
|
|
138
|
-
}, z.core.$catchall<z.ZodType<
|
|
150
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
139
151
|
}, z.core.$strip>, z.ZodObject<{
|
|
140
152
|
kind: z.ZodLiteral<"match">;
|
|
141
153
|
effectKind: z.ZodString;
|
|
142
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
154
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
143
155
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
144
156
|
field: z.ZodString;
|
|
145
157
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -151,11 +163,11 @@ declare const browserInteractionActuatorSchema: z.ZodObject<{
|
|
|
151
163
|
kind: z.ZodLiteral<"exact">;
|
|
152
164
|
effect: z.ZodObject<{
|
|
153
165
|
kind: z.ZodString;
|
|
154
|
-
}, z.core.$catchall<z.ZodType<
|
|
166
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
155
167
|
}, z.core.$strip>, z.ZodObject<{
|
|
156
168
|
kind: z.ZodLiteral<"match">;
|
|
157
169
|
effectKind: z.ZodString;
|
|
158
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
170
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
159
171
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
160
172
|
field: z.ZodString;
|
|
161
173
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -166,7 +178,7 @@ declare const browserInteractionActuatorSchema: z.ZodObject<{
|
|
|
166
178
|
prepares: z.ZodOptional<z.ZodObject<{
|
|
167
179
|
intent: z.ZodString;
|
|
168
180
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
169
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
181
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
170
182
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
171
183
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
172
184
|
fill: "fill";
|
|
@@ -187,6 +199,42 @@ declare const browserInteractionActuatorSchema: z.ZodObject<{
|
|
|
187
199
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
188
200
|
intent: z.ZodOptional<z.ZodString>;
|
|
189
201
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
202
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
declare const browserInteractionPointerTargetSchema: z.ZodObject<{
|
|
206
|
+
targetId: z.ZodString;
|
|
207
|
+
enabled: z.ZodBoolean;
|
|
208
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
209
|
+
kind: z.ZodLiteral<"exact">;
|
|
210
|
+
effect: z.ZodObject<{
|
|
211
|
+
kind: z.ZodString;
|
|
212
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
214
|
+
kind: z.ZodLiteral<"match">;
|
|
215
|
+
effectKind: z.ZodString;
|
|
216
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
217
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
field: z.ZodString;
|
|
219
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
}, z.core.$strip>]>>;
|
|
224
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
225
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
226
|
+
code: z.ZodString;
|
|
227
|
+
severity: z.ZodEnum<{
|
|
228
|
+
error: "error";
|
|
229
|
+
warning: "warning";
|
|
230
|
+
}>;
|
|
231
|
+
message: z.ZodString;
|
|
232
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
233
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
234
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
235
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
236
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
237
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
190
238
|
}, z.core.$strip>>;
|
|
191
239
|
}, z.core.$strip>;
|
|
192
240
|
declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
@@ -203,7 +251,7 @@ declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
|
203
251
|
actuatorId: z.ZodString;
|
|
204
252
|
intent: z.ZodString;
|
|
205
253
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
206
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
254
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
207
255
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
208
256
|
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
209
257
|
selected: "selected";
|
|
@@ -219,16 +267,16 @@ declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
|
219
267
|
}>;
|
|
220
268
|
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
221
269
|
kind: z.ZodString;
|
|
222
|
-
}, z.core.$catchall<z.ZodType<
|
|
270
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
|
|
223
271
|
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
224
272
|
kind: z.ZodLiteral<"exact">;
|
|
225
273
|
effect: z.ZodObject<{
|
|
226
274
|
kind: z.ZodString;
|
|
227
|
-
}, z.core.$catchall<z.ZodType<
|
|
275
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
228
276
|
}, z.core.$strip>, z.ZodObject<{
|
|
229
277
|
kind: z.ZodLiteral<"match">;
|
|
230
278
|
effectKind: z.ZodString;
|
|
231
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
279
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
232
280
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
233
281
|
field: z.ZodString;
|
|
234
282
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -240,11 +288,11 @@ declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
|
240
288
|
kind: z.ZodLiteral<"exact">;
|
|
241
289
|
effect: z.ZodObject<{
|
|
242
290
|
kind: z.ZodString;
|
|
243
|
-
}, z.core.$catchall<z.ZodType<
|
|
291
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
244
292
|
}, z.core.$strip>, z.ZodObject<{
|
|
245
293
|
kind: z.ZodLiteral<"match">;
|
|
246
294
|
effectKind: z.ZodString;
|
|
247
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
295
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
248
296
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
249
297
|
field: z.ZodString;
|
|
250
298
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -255,7 +303,7 @@ declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
|
255
303
|
prepares: z.ZodOptional<z.ZodObject<{
|
|
256
304
|
intent: z.ZodString;
|
|
257
305
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
258
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
306
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
259
307
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
260
308
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
261
309
|
fill: "fill";
|
|
@@ -276,6 +324,42 @@ declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
|
276
324
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
277
325
|
intent: z.ZodOptional<z.ZodString>;
|
|
278
326
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
327
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
}, z.core.$strip>>;
|
|
330
|
+
pointerTargets: z.ZodArray<z.ZodObject<{
|
|
331
|
+
targetId: z.ZodString;
|
|
332
|
+
enabled: z.ZodBoolean;
|
|
333
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
334
|
+
kind: z.ZodLiteral<"exact">;
|
|
335
|
+
effect: z.ZodObject<{
|
|
336
|
+
kind: z.ZodString;
|
|
337
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
339
|
+
kind: z.ZodLiteral<"match">;
|
|
340
|
+
effectKind: z.ZodString;
|
|
341
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
342
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
343
|
+
field: z.ZodString;
|
|
344
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
348
|
+
}, z.core.$strip>]>>;
|
|
349
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
350
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
351
|
+
code: z.ZodString;
|
|
352
|
+
severity: z.ZodEnum<{
|
|
353
|
+
error: "error";
|
|
354
|
+
warning: "warning";
|
|
355
|
+
}>;
|
|
356
|
+
message: z.ZodString;
|
|
357
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
358
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
359
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
360
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
361
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
362
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
279
363
|
}, z.core.$strip>>;
|
|
280
364
|
}, z.core.$strip>>;
|
|
281
365
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -290,6 +374,7 @@ declare const browserGameplayInteractionSchema: z.ZodObject<{
|
|
|
290
374
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
291
375
|
intent: z.ZodOptional<z.ZodString>;
|
|
292
376
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
377
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
293
378
|
}, z.core.$strip>>;
|
|
294
379
|
}, z.core.$strip>;
|
|
295
380
|
declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
@@ -309,7 +394,7 @@ declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
|
309
394
|
actuatorId: z.ZodString;
|
|
310
395
|
intent: z.ZodString;
|
|
311
396
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
312
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
397
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
313
398
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
314
399
|
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
315
400
|
selected: "selected";
|
|
@@ -325,16 +410,16 @@ declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
|
325
410
|
}>;
|
|
326
411
|
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
327
412
|
kind: z.ZodString;
|
|
328
|
-
}, z.core.$catchall<z.ZodType<
|
|
413
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
|
|
329
414
|
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
330
415
|
kind: z.ZodLiteral<"exact">;
|
|
331
416
|
effect: z.ZodObject<{
|
|
332
417
|
kind: z.ZodString;
|
|
333
|
-
}, z.core.$catchall<z.ZodType<
|
|
418
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
334
419
|
}, z.core.$strip>, z.ZodObject<{
|
|
335
420
|
kind: z.ZodLiteral<"match">;
|
|
336
421
|
effectKind: z.ZodString;
|
|
337
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
422
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
338
423
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
339
424
|
field: z.ZodString;
|
|
340
425
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -346,11 +431,11 @@ declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
|
346
431
|
kind: z.ZodLiteral<"exact">;
|
|
347
432
|
effect: z.ZodObject<{
|
|
348
433
|
kind: z.ZodString;
|
|
349
|
-
}, z.core.$catchall<z.ZodType<
|
|
434
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
350
435
|
}, z.core.$strip>, z.ZodObject<{
|
|
351
436
|
kind: z.ZodLiteral<"match">;
|
|
352
437
|
effectKind: z.ZodString;
|
|
353
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
438
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
354
439
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
355
440
|
field: z.ZodString;
|
|
356
441
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -361,7 +446,7 @@ declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
|
361
446
|
prepares: z.ZodOptional<z.ZodObject<{
|
|
362
447
|
intent: z.ZodString;
|
|
363
448
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
364
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
449
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
365
450
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
366
451
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
367
452
|
fill: "fill";
|
|
@@ -382,6 +467,42 @@ declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
|
382
467
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
383
468
|
intent: z.ZodOptional<z.ZodString>;
|
|
384
469
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
470
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
pointerTargets: z.ZodArray<z.ZodObject<{
|
|
474
|
+
targetId: z.ZodString;
|
|
475
|
+
enabled: z.ZodBoolean;
|
|
476
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
477
|
+
kind: z.ZodLiteral<"exact">;
|
|
478
|
+
effect: z.ZodObject<{
|
|
479
|
+
kind: z.ZodString;
|
|
480
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
kind: z.ZodLiteral<"match">;
|
|
483
|
+
effectKind: z.ZodString;
|
|
484
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
485
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
486
|
+
field: z.ZodString;
|
|
487
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
488
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
490
|
+
}, z.core.$strip>>;
|
|
491
|
+
}, z.core.$strip>]>>;
|
|
492
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
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
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
385
506
|
}, z.core.$strip>>;
|
|
386
507
|
}, z.core.$strip>>;
|
|
387
508
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -396,6 +517,7 @@ declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
|
396
517
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
397
518
|
intent: z.ZodOptional<z.ZodString>;
|
|
398
519
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
520
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
399
521
|
}, z.core.$strip>>;
|
|
400
522
|
}, z.core.$strip>>;
|
|
401
523
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -410,6 +532,7 @@ declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
|
|
|
410
532
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
411
533
|
intent: z.ZodOptional<z.ZodString>;
|
|
412
534
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
535
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
413
536
|
}, z.core.$strip>>;
|
|
414
537
|
}, z.core.$strip>;
|
|
415
538
|
declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
@@ -429,7 +552,7 @@ declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
429
552
|
actuatorId: z.ZodString;
|
|
430
553
|
intent: z.ZodString;
|
|
431
554
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
432
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
555
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
433
556
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
434
557
|
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
435
558
|
selected: "selected";
|
|
@@ -445,16 +568,16 @@ declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
445
568
|
}>;
|
|
446
569
|
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
447
570
|
kind: z.ZodString;
|
|
448
|
-
}, z.core.$catchall<z.ZodType<
|
|
571
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
|
|
449
572
|
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
450
573
|
kind: z.ZodLiteral<"exact">;
|
|
451
574
|
effect: z.ZodObject<{
|
|
452
575
|
kind: z.ZodString;
|
|
453
|
-
}, z.core.$catchall<z.ZodType<
|
|
576
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
454
577
|
}, z.core.$strip>, z.ZodObject<{
|
|
455
578
|
kind: z.ZodLiteral<"match">;
|
|
456
579
|
effectKind: z.ZodString;
|
|
457
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
580
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
458
581
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
459
582
|
field: z.ZodString;
|
|
460
583
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -466,11 +589,11 @@ declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
466
589
|
kind: z.ZodLiteral<"exact">;
|
|
467
590
|
effect: z.ZodObject<{
|
|
468
591
|
kind: z.ZodString;
|
|
469
|
-
}, z.core.$catchall<z.ZodType<
|
|
592
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
470
593
|
}, z.core.$strip>, z.ZodObject<{
|
|
471
594
|
kind: z.ZodLiteral<"match">;
|
|
472
595
|
effectKind: z.ZodString;
|
|
473
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
596
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
474
597
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
475
598
|
field: z.ZodString;
|
|
476
599
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -481,7 +604,7 @@ declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
481
604
|
prepares: z.ZodOptional<z.ZodObject<{
|
|
482
605
|
intent: z.ZodString;
|
|
483
606
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
484
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
607
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
485
608
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
486
609
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
487
610
|
fill: "fill";
|
|
@@ -502,6 +625,42 @@ declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
502
625
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
503
626
|
intent: z.ZodOptional<z.ZodString>;
|
|
504
627
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
628
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
629
|
+
}, z.core.$strip>>;
|
|
630
|
+
}, z.core.$strip>>;
|
|
631
|
+
pointerTargets: z.ZodArray<z.ZodObject<{
|
|
632
|
+
targetId: z.ZodString;
|
|
633
|
+
enabled: z.ZodBoolean;
|
|
634
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
635
|
+
kind: z.ZodLiteral<"exact">;
|
|
636
|
+
effect: z.ZodObject<{
|
|
637
|
+
kind: z.ZodString;
|
|
638
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
639
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
640
|
+
kind: z.ZodLiteral<"match">;
|
|
641
|
+
effectKind: z.ZodString;
|
|
642
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
643
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
644
|
+
field: z.ZodString;
|
|
645
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
646
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
647
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
648
|
+
}, z.core.$strip>>;
|
|
649
|
+
}, z.core.$strip>]>>;
|
|
650
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
651
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
652
|
+
code: z.ZodString;
|
|
653
|
+
severity: z.ZodEnum<{
|
|
654
|
+
error: "error";
|
|
655
|
+
warning: "warning";
|
|
656
|
+
}>;
|
|
657
|
+
message: z.ZodString;
|
|
658
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
659
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
660
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
661
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
662
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
663
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
505
664
|
}, z.core.$strip>>;
|
|
506
665
|
}, z.core.$strip>>;
|
|
507
666
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -516,6 +675,7 @@ declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
516
675
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
517
676
|
intent: z.ZodOptional<z.ZodString>;
|
|
518
677
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
678
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
519
679
|
}, z.core.$strip>>;
|
|
520
680
|
}, z.core.$strip>>;
|
|
521
681
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -530,6 +690,7 @@ declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
530
690
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
531
691
|
intent: z.ZodOptional<z.ZodString>;
|
|
532
692
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
693
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
533
694
|
}, z.core.$strip>>;
|
|
534
695
|
}, z.core.$strip>;
|
|
535
696
|
declare const browserUnknownSurfaceSnapshotSchema: z.ZodObject<{
|
|
@@ -547,12 +708,13 @@ declare const browserUnknownSurfaceSnapshotSchema: z.ZodObject<{
|
|
|
547
708
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
548
709
|
intent: z.ZodOptional<z.ZodString>;
|
|
549
710
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
711
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
550
712
|
}, z.core.$strip>>;
|
|
551
713
|
}, z.core.$strip>;
|
|
552
714
|
declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
553
715
|
protocol: z.ZodObject<{
|
|
554
716
|
name: z.ZodLiteral<"dreamboard-browser-interaction">;
|
|
555
|
-
version: z.ZodLiteral<"
|
|
717
|
+
version: z.ZodLiteral<"3.0.0">;
|
|
556
718
|
}, z.core.$strip>;
|
|
557
719
|
surfaces: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
558
720
|
surface: z.ZodString;
|
|
@@ -571,7 +733,7 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
571
733
|
actuatorId: z.ZodString;
|
|
572
734
|
intent: z.ZodString;
|
|
573
735
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
574
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
736
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
575
737
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
576
738
|
candidateState: z.ZodOptional<z.ZodEnum<{
|
|
577
739
|
selected: "selected";
|
|
@@ -587,16 +749,16 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
587
749
|
}>;
|
|
588
750
|
semanticEffects: z.ZodArray<z.ZodObject<{
|
|
589
751
|
kind: z.ZodString;
|
|
590
|
-
}, z.core.$catchall<z.ZodType<
|
|
752
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
|
|
591
753
|
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
592
754
|
kind: z.ZodLiteral<"exact">;
|
|
593
755
|
effect: z.ZodObject<{
|
|
594
756
|
kind: z.ZodString;
|
|
595
|
-
}, z.core.$catchall<z.ZodType<
|
|
757
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
596
758
|
}, z.core.$strip>, z.ZodObject<{
|
|
597
759
|
kind: z.ZodLiteral<"match">;
|
|
598
760
|
effectKind: z.ZodString;
|
|
599
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
761
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
600
762
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
601
763
|
field: z.ZodString;
|
|
602
764
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -608,11 +770,11 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
608
770
|
kind: z.ZodLiteral<"exact">;
|
|
609
771
|
effect: z.ZodObject<{
|
|
610
772
|
kind: z.ZodString;
|
|
611
|
-
}, z.core.$catchall<z.ZodType<
|
|
773
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
612
774
|
}, z.core.$strip>, z.ZodObject<{
|
|
613
775
|
kind: z.ZodLiteral<"match">;
|
|
614
776
|
effectKind: z.ZodString;
|
|
615
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
777
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
616
778
|
scalar: z.ZodOptional<z.ZodObject<{
|
|
617
779
|
field: z.ZodString;
|
|
618
780
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -623,7 +785,7 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
623
785
|
prepares: z.ZodOptional<z.ZodObject<{
|
|
624
786
|
intent: z.ZodString;
|
|
625
787
|
inputKey: z.ZodOptional<z.ZodString>;
|
|
626
|
-
candidateValue: z.ZodOptional<z.ZodType<
|
|
788
|
+
candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
|
|
627
789
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
628
790
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
629
791
|
fill: "fill";
|
|
@@ -644,6 +806,42 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
644
806
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
645
807
|
intent: z.ZodOptional<z.ZodString>;
|
|
646
808
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
809
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
810
|
+
}, z.core.$strip>>;
|
|
811
|
+
}, z.core.$strip>>;
|
|
812
|
+
pointerTargets: z.ZodArray<z.ZodObject<{
|
|
813
|
+
targetId: z.ZodString;
|
|
814
|
+
enabled: z.ZodBoolean;
|
|
815
|
+
acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
816
|
+
kind: z.ZodLiteral<"exact">;
|
|
817
|
+
effect: z.ZodObject<{
|
|
818
|
+
kind: z.ZodString;
|
|
819
|
+
}, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
821
|
+
kind: z.ZodLiteral<"match">;
|
|
822
|
+
effectKind: z.ZodString;
|
|
823
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
|
|
824
|
+
scalar: z.ZodOptional<z.ZodObject<{
|
|
825
|
+
field: z.ZodString;
|
|
826
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
827
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
828
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
829
|
+
}, z.core.$strip>>;
|
|
830
|
+
}, z.core.$strip>]>>;
|
|
831
|
+
descriptorDigest: z.ZodOptional<z.ZodString>;
|
|
832
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
833
|
+
code: z.ZodString;
|
|
834
|
+
severity: z.ZodEnum<{
|
|
835
|
+
error: "error";
|
|
836
|
+
warning: "warning";
|
|
837
|
+
}>;
|
|
838
|
+
message: z.ZodString;
|
|
839
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
840
|
+
scopeId: z.ZodOptional<z.ZodString>;
|
|
841
|
+
interactionKey: z.ZodOptional<z.ZodString>;
|
|
842
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
843
|
+
actuatorId: z.ZodOptional<z.ZodString>;
|
|
844
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
647
845
|
}, z.core.$strip>>;
|
|
648
846
|
}, z.core.$strip>>;
|
|
649
847
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -658,6 +856,7 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
658
856
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
659
857
|
intent: z.ZodOptional<z.ZodString>;
|
|
660
858
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
859
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
661
860
|
}, z.core.$strip>>;
|
|
662
861
|
}, z.core.$strip>>;
|
|
663
862
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -672,6 +871,7 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
672
871
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
673
872
|
intent: z.ZodOptional<z.ZodString>;
|
|
674
873
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
874
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
675
875
|
}, z.core.$strip>>;
|
|
676
876
|
}, z.core.$strip>, z.ZodObject<{
|
|
677
877
|
surface: z.ZodString;
|
|
@@ -688,6 +888,7 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
688
888
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
689
889
|
intent: z.ZodOptional<z.ZodString>;
|
|
690
890
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
891
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
691
892
|
}, z.core.$strip>>;
|
|
692
893
|
}, z.core.$strip>]>>;
|
|
693
894
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
@@ -702,7 +903,8 @@ declare const browserInteractionSnapshotSchema: z.ZodObject<{
|
|
|
702
903
|
interactionKey: z.ZodOptional<z.ZodString>;
|
|
703
904
|
intent: z.ZodOptional<z.ZodString>;
|
|
704
905
|
actuatorId: z.ZodOptional<z.ZodString>;
|
|
906
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
705
907
|
}, z.core.$strip>>;
|
|
706
908
|
}, z.core.$strip>;
|
|
707
909
|
|
|
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 };
|
|
910
|
+
export { BrowserInteractionActuator, BrowserInteractionActuatorKind, BrowserInteractionDiagnostic, BrowserInteractionEffectPattern, BrowserInteractionEffectRequest, BrowserInteractionEffectResolution, BrowserInteractionIntent, BrowserInteractionIntentRequest, BrowserInteractionPointerTarget, BrowserInteractionPointerTargetResolution, BrowserInteractionRawRecord, BrowserInteractionRegistry, BrowserInteractionResolution, BrowserInteractionSemanticSurfaceSnapshot, BrowserInteractionSnapshot, BrowserInteractionSurface, BrowserInteractionSurfaceDefinition, BrowserInteractionSurfaceEffect, BrowserInteractionSurfaceSnapshot, CanonicalBrowserInteractionValue, GameplaySemanticEffect, type NormalizeBrowserInteractionRecordsOptions, actuatorIdentityKey, assertBrowserInteractionEffectPattern, browserGameplayInteractionSchema, browserGameplaySurfaceSnapshotSchema, browserInteractionActuatorSchema, browserInteractionDiagnosticSchema, browserInteractionEffectPatternMatches, browserInteractionEffectPatternSchema, browserInteractionEffectSchema, browserInteractionPointerTargetSchema, browserInteractionSnapshotSchema, browserSemanticSurfaceSnapshotSchema, browserUnknownSurfaceSnapshotSchema, createBrowserInteractionRegistry, decodeBrowserInteractionEffect, decodeBrowserInteractionEffectPattern, defaultBrowserInteractionRegistry, defineBrowserInteractionSurface, encodeBrowserInteractionEffect, encodeBrowserInteractionEffectPattern, gameplayAdjustResourceEffect, gameplayBrowserInteractionSurface, gameplayCommitEffect, gameplayInvokeEffect, gameplaySemanticEffectSchema, gameplaySetCandidateEffect, gameplaySetScalarEffect, isSemanticSurfaceSnapshot, normalizeBrowserInteractionRecords, pointerTargetIdentityKey, readBrowserInteractionSnapshot, resolveBrowserInteractionEffect, resolveBrowserInteractionIntent, resolveBrowserPointerTarget, targetIdentityKey, validateBrowserInteractionSnapshot };
|