@dreamboard-games/sdk 0.4.0-alpha.7 → 0.4.0-alpha.9
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/REFERENCE.md +1292 -287
- package/dist/authoring/index.d.ts +4 -9
- package/dist/authoring/index.js +11 -547
- package/dist/authoring/index.js.map +1 -1
- package/dist/authoring-compiler.d.ts +27 -0
- package/dist/authoring-compiler.js +12 -0
- package/dist/authoring-compiler.js.map +1 -0
- package/dist/authoring-materialize-cli.d.ts +1 -0
- package/dist/authoring-materialize-cli.js +46 -0
- package/dist/authoring-materialize-cli.js.map +1 -0
- package/dist/browser-interaction.d.ts +1 -1
- package/dist/{chunk-TGMXBRKY.js → chunk-3PFDHTR7.js} +19 -7
- package/dist/chunk-3PFDHTR7.js.map +1 -0
- package/dist/chunk-45P5CEGH.js +176 -0
- package/dist/chunk-45P5CEGH.js.map +1 -0
- package/dist/chunk-5XTAQ4EQ.js +32 -0
- package/dist/chunk-5XTAQ4EQ.js.map +1 -0
- package/dist/chunk-7ADPYKFT.js +532 -0
- package/dist/chunk-7ADPYKFT.js.map +1 -0
- package/dist/{chunk-RKGJ64UN.js → chunk-BUOODBVO.js} +2 -2
- package/dist/{chunk-VLG4YST5.js → chunk-GMOBG7Y7.js} +4 -4
- package/dist/{chunk-Q322XCY2.js → chunk-JRGP6W4V.js} +3 -3
- package/dist/chunk-L3W2FPRQ.js +1793 -0
- package/dist/chunk-L3W2FPRQ.js.map +1 -0
- package/dist/{chunk-3QIZKXJ2.js → chunk-NGYFBNBP.js} +3 -3
- package/dist/chunk-P6IJ5YVY.js +154 -0
- package/dist/chunk-P6IJ5YVY.js.map +1 -0
- package/dist/{chunk-5IHU5CUK.js → chunk-QQNL4WTX.js} +25 -22
- package/dist/chunk-QQNL4WTX.js.map +1 -0
- package/dist/{chunk-52DH7VQF.js → chunk-SACZWUA6.js} +143 -47
- package/dist/chunk-SACZWUA6.js.map +1 -0
- package/dist/{chunk-KYEWGZ2Y.js → chunk-SFOAY5H4.js} +2 -2
- package/dist/{chunk-KYEWGZ2Y.js.map → chunk-SFOAY5H4.js.map} +1 -1
- package/dist/chunk-UNVCT5Z7.js +73 -0
- package/dist/chunk-UNVCT5Z7.js.map +1 -0
- package/dist/{chunk-NO537WSS.js → chunk-WDR7SKBM.js} +2 -2
- package/dist/chunk-XDGRC6OR.js +7039 -0
- package/dist/chunk-XDGRC6OR.js.map +1 -0
- package/dist/chunk-XLHLFTLI.js +399 -0
- package/dist/chunk-XLHLFTLI.js.map +1 -0
- package/dist/{chunk-B2YBS3SG.js → chunk-YNW3KBDE.js} +41 -13
- package/dist/chunk-YNW3KBDE.js.map +1 -0
- package/dist/codegen.js +1 -1
- package/dist/{components-BTwSIjXj.d.ts → components-BPzsSRs8.d.ts} +1 -1
- package/dist/definitions-0kjPV9wh.d.ts +294 -0
- package/dist/{diagnostics-1BWjRo6-.d.ts → diagnostics-DIi3ina7.d.ts} +2 -1
- package/dist/{index-CFTjJIXd.d.ts → index-CWzWpQzM.d.ts} +1 -1
- package/dist/{index.d-DMASeF6M.d.ts → index.d-C7Ztirg6.d.ts} +234 -5
- package/dist/index.js +2 -2
- package/dist/package-set.d.ts +2 -2
- package/dist/package-set.js +2 -2
- package/dist/{protocol-835hEGne.d.ts → protocol-B2LWcqB4.d.ts} +14 -0
- package/dist/reducer/advanced.d.ts +4 -4
- package/dist/reducer/advanced.js +7 -26
- package/dist/reducer/advanced.js.map +1 -1
- package/dist/reducer-contract.d.ts +1 -1
- package/dist/reducer-contract.js +2 -2
- package/dist/reducer.d.ts +37 -28
- package/dist/reducer.js +43 -6018
- package/dist/reducer.js.map +1 -1
- package/dist/reference-game-compiler.d.ts +45 -0
- package/dist/reference-game-compiler.js +25 -0
- package/dist/reference-game-compiler.js.map +1 -0
- package/dist/reference-game-source-manifest-cli.d.ts +1 -0
- package/dist/reference-game-source-manifest-cli.js +84 -0
- package/dist/reference-game-source-manifest-cli.js.map +1 -0
- package/dist/reference-games/index.d.ts +7 -217
- package/dist/reference-games/index.js +28 -208
- package/dist/reference-games/index.js.map +1 -1
- package/dist/runtime/primitives.d.ts +3 -3
- package/dist/runtime/primitives.js +3 -3
- package/dist/runtime/runtime-api.d.ts +1 -1
- package/dist/runtime/workspace-contract.d.ts +4 -4
- package/dist/runtime/workspace-contract.js +4 -4
- package/dist/{runtime-Dkfm1x2r.d.ts → runtime-B_w9AO2n.d.ts} +60 -5
- package/dist/{runtime-api-C6aWo9c0.d.ts → runtime-api-xCWLMQRT.d.ts} +2 -0
- package/dist/runtime.d.ts +7 -7
- package/dist/runtime.js +13 -13
- package/dist/schema-9jZzlEWZ.d.ts +220 -0
- package/dist/{stale-contract-artifact-error-C5AaZPJ8.d.ts → stale-contract-artifact-error-XLaweZtF.d.ts} +1 -1
- package/dist/testing-compiler.d.ts +36 -0
- package/dist/testing-compiler.js +236 -0
- package/dist/testing-compiler.js.map +1 -0
- package/dist/testing-runtime.d.ts +97 -21
- package/dist/testing-runtime.js +154 -95
- package/dist/testing-runtime.js.map +1 -1
- package/dist/testing.d.ts +178 -60
- package/dist/testing.js +641 -26
- package/dist/testing.js.map +1 -1
- package/dist/types-Bvptkukh.d.ts +122 -0
- package/dist/{types-aI4V9CWe.d.ts → types-_zfC_7CD.d.ts} +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/ui/components.d.ts +2 -2
- package/dist/ui/plugin-styles.css +1 -1
- package/dist/{ui-contract-Ue6SywvO.d.ts → ui-contract-CUC7Lyoc.d.ts} +1 -1
- package/dist/ui.d.ts +3 -3
- package/dist/{views-32rSsfeU.d.ts → views-DE2eZxPz.d.ts} +42 -13
- package/package.json +22 -3
- package/dist/chunk-3OZMHZK3.js +0 -40
- package/dist/chunk-3OZMHZK3.js.map +0 -1
- package/dist/chunk-52DH7VQF.js.map +0 -1
- package/dist/chunk-5IHU5CUK.js.map +0 -1
- package/dist/chunk-B2YBS3SG.js.map +0 -1
- package/dist/chunk-IU6KGPY7.js +0 -659
- package/dist/chunk-IU6KGPY7.js.map +0 -1
- package/dist/chunk-TGMXBRKY.js.map +0 -1
- package/dist/types-DcADVHe9.d.ts +0 -192
- /package/dist/{chunk-RKGJ64UN.js.map → chunk-BUOODBVO.js.map} +0 -0
- /package/dist/{chunk-VLG4YST5.js.map → chunk-GMOBG7Y7.js.map} +0 -0
- /package/dist/{chunk-Q322XCY2.js.map → chunk-JRGP6W4V.js.map} +0 -0
- /package/dist/{chunk-3QIZKXJ2.js.map → chunk-NGYFBNBP.js.map} +0 -0
- /package/dist/{chunk-NO537WSS.js.map → chunk-WDR7SKBM.js.map} +0 -0
package/dist/testing.d.ts
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { R as ReducerDiagnosticEvent
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import {
|
|
1
|
+
import { D as SnapshotMatcherHandler, E as ExpectFn, m as ScenarioDefinitionGameLike, v as ScenarioReplayDefinition, h as ScenarioCheckpoint, i as ScenarioCommand } from './definitions-0kjPV9wh.js';
|
|
2
|
+
export { A as AssertScenarioOptions, a as ExpectMatchers, I as InteractionAvailabilityLike, b as InteractionDescriptorLike, c as InteractionExplanationLike, R as RejectionExpectation, d as ReplayScenarioOptions, e as RuntimeParamsOfScenarioCommand, S as ScenarioActor, f as ScenarioAssertionContext, g as ScenarioAuthoring, j as ScenarioCommandOf, k as ScenarioCommandTraceEntry, l as ScenarioDefinition, n as ScenarioDefinitionValidationCode, o as ScenarioDefinitionValidationError, p as ScenarioDiagnostics, q as ScenarioFlowDiagnostics, r as ScenarioProbeAccepted, s as ScenarioProbeRejected, t as ScenarioProbeResult, u as ScenarioReplay, w as ScenarioReplayError, x as ScenarioReplayErrorOptions, y as ScenarioReplaySegment, z as ScenarioSchemaOutput, B as ScenarioSeatRef, C as ScenarioSetup, F as createScenarioAuthoring, G as toScenarioReplayDefinition } from './definitions-0kjPV9wh.js';
|
|
3
|
+
import { R as ReducerDiagnosticEvent } from './diagnostics-DIi3ina7.js';
|
|
4
|
+
import { g as ScenarioIdentity, f as PerspectiveSelector, e as InspectScenarioResult, P as PerspectiveRef, d as InspectNode, i as Sha256Digest, F as FlowDiagnostic, A as ActorRef, a as InspectEntropy, S as ScenarioDispatchTraceEntry } from './types-Bvptkukh.js';
|
|
5
|
+
export { I as InspectAction, b as InspectInteraction, c as InspectInteractionInput, j as assertScenario, p as probeScenarioCommand, r as replayScenario } from './types-Bvptkukh.js';
|
|
6
|
+
import { w as wire, a as ReducerBundleContract } from './index.d-C7Ztirg6.js';
|
|
7
7
|
import { R as RuntimeJson } from './runtime-json-CQ9QbLZ5.js';
|
|
8
|
+
import { v, t, u, p, w } from './protocol-B2LWcqB4.js';
|
|
8
9
|
import { z } from 'zod';
|
|
9
10
|
import { r as BrowserInteractionIntentRequest, l as BrowserInteractionEffectRequest } from './types-DJj5MJkl.js';
|
|
10
|
-
import { b as PluginTransport, P as PluginRuntimeClient } from './types-
|
|
11
|
+
import { b as PluginTransport, P as PluginRuntimeClient } from './types-_zfC_7CD.js';
|
|
11
12
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
13
|
import react__default from 'react';
|
|
13
|
-
export { S as StaleContractArtifactError, a as StaleContractArtifactErrorOptions, b as StaleContractArtifactKind, i as isStaleContractArtifactError } from './stale-contract-artifact-error-
|
|
14
|
+
export { S as StaleContractArtifactError, a as StaleContractArtifactErrorOptions, b as StaleContractArtifactKind, i as isStaleContractArtifactError } from './stale-contract-artifact-error-XLaweZtF.js';
|
|
15
|
+
import './views-DE2eZxPz.js';
|
|
16
|
+
import './runtime-B_w9AO2n.js';
|
|
17
|
+
import './types.js';
|
|
14
18
|
|
|
15
19
|
type CreateExpectApiOptions = {
|
|
16
20
|
matchSnapshot?: SnapshotMatcherHandler;
|
|
@@ -20,55 +24,169 @@ type CreateExpectApiOptions = {
|
|
|
20
24
|
};
|
|
21
25
|
declare function createExpectApi(options?: CreateExpectApiOptions): ExpectFn;
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
/** A failed SDK matcher or probe expectation authored in `scenario.then`. */
|
|
28
|
+
declare class ScenarioAssertionError extends Error {
|
|
29
|
+
readonly code: "SCENARIO_ASSERTION_FAILED";
|
|
30
|
+
constructor(message: string);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type InspectScenarioOptions<Game extends ScenarioDefinitionGameLike> = {
|
|
34
|
+
readonly game: Game;
|
|
35
|
+
readonly scenario: ScenarioReplayDefinition<Game>;
|
|
36
|
+
readonly identity: ScenarioIdentity;
|
|
37
|
+
readonly perspective: PerspectiveSelector;
|
|
38
|
+
readonly at?: ScenarioCheckpoint;
|
|
39
|
+
readonly seed?: number;
|
|
29
40
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
41
|
+
declare function inspectScenario<const Game extends ScenarioDefinitionGameLike>(options: InspectScenarioOptions<Game>): Promise<InspectScenarioResult>;
|
|
42
|
+
|
|
43
|
+
type ExploreTransitionResult = {
|
|
44
|
+
readonly schemaVersion: 1;
|
|
45
|
+
readonly mode: "transitions";
|
|
46
|
+
readonly scenario: ScenarioIdentity;
|
|
47
|
+
readonly perspective: PerspectiveRef;
|
|
48
|
+
readonly node: InspectNode;
|
|
49
|
+
readonly candidates: readonly {
|
|
50
|
+
readonly ordinal: number;
|
|
51
|
+
readonly command: ScenarioCommand;
|
|
52
|
+
readonly after: {
|
|
53
|
+
readonly checkpointDigest: Sha256Digest;
|
|
54
|
+
readonly flow: FlowDiagnostic;
|
|
55
|
+
readonly publicStateDigest: Sha256Digest;
|
|
56
|
+
readonly viewDigest: Sha256Digest;
|
|
57
|
+
readonly actions: readonly {
|
|
58
|
+
readonly actor: ActorRef;
|
|
59
|
+
readonly interactionId: string;
|
|
60
|
+
}[];
|
|
61
|
+
readonly entropy: InspectEntropy;
|
|
62
|
+
readonly dispatchTrace: readonly ScenarioDispatchTraceEntry[];
|
|
63
|
+
};
|
|
64
|
+
}[];
|
|
65
|
+
readonly omissions: readonly {
|
|
66
|
+
readonly actor: ActorRef;
|
|
67
|
+
readonly interactionId: string;
|
|
68
|
+
readonly code: "INPUT_DOMAIN_NOT_ENUMERABLE" | "INPUT_DOMAIN_BUDGET";
|
|
69
|
+
readonly inputKey?: string;
|
|
70
|
+
}[];
|
|
71
|
+
readonly page: {
|
|
72
|
+
readonly limit: number;
|
|
73
|
+
readonly evaluated: number;
|
|
74
|
+
readonly truncated: boolean;
|
|
75
|
+
readonly nextCursor: string | null;
|
|
38
76
|
};
|
|
39
77
|
};
|
|
40
|
-
type
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
78
|
+
type ExploreSeedResult = {
|
|
79
|
+
readonly schemaVersion: 1;
|
|
80
|
+
readonly mode: "seeds";
|
|
81
|
+
readonly scenario: ScenarioIdentity;
|
|
82
|
+
readonly perspective: PerspectiveRef;
|
|
83
|
+
readonly checkpoint: ScenarioCheckpoint;
|
|
84
|
+
readonly variants: readonly {
|
|
85
|
+
readonly seed: number;
|
|
86
|
+
readonly status: "replayed" | "rejected";
|
|
87
|
+
readonly checkpointDigest?: Sha256Digest;
|
|
88
|
+
readonly entropy?: InspectEntropy;
|
|
89
|
+
readonly observable?: {
|
|
90
|
+
readonly publicState: unknown;
|
|
91
|
+
readonly view: unknown;
|
|
92
|
+
};
|
|
93
|
+
readonly signature?: {
|
|
94
|
+
readonly phase: string;
|
|
95
|
+
readonly step: string | null;
|
|
96
|
+
readonly actions: readonly {
|
|
97
|
+
readonly seat: number;
|
|
98
|
+
readonly interactionId: string;
|
|
99
|
+
readonly concreteOptionCount: number | "lazy";
|
|
100
|
+
}[];
|
|
101
|
+
};
|
|
102
|
+
readonly rejection?: {
|
|
103
|
+
readonly segment: "given" | "when";
|
|
104
|
+
readonly sourceIndex: number;
|
|
105
|
+
readonly interactionId: string;
|
|
106
|
+
readonly errorCode: string;
|
|
107
|
+
};
|
|
108
|
+
}[];
|
|
109
|
+
};
|
|
110
|
+
type ExploreScenarioResult = ExploreTransitionResult | ExploreSeedResult;
|
|
111
|
+
|
|
112
|
+
type SeedRange = {
|
|
113
|
+
readonly start: number;
|
|
114
|
+
readonly end: number;
|
|
115
|
+
};
|
|
116
|
+
type ExploreScenarioOptions<Game extends ScenarioDefinitionGameLike> = Omit<InspectScenarioOptions<Game>, "seed"> & {
|
|
117
|
+
readonly seed?: number;
|
|
118
|
+
readonly seedRange?: SeedRange;
|
|
119
|
+
readonly limit?: number;
|
|
120
|
+
readonly maxEvaluations?: number;
|
|
121
|
+
readonly cursor?: string;
|
|
52
122
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
123
|
+
declare function exploreScenario<const Game extends ScenarioDefinitionGameLike>(options: ExploreScenarioOptions<Game>): Promise<ExploreScenarioResult>;
|
|
124
|
+
|
|
125
|
+
type ReducerScenarioBundle = Pick<ReducerBundleContract, "projectSeatsDynamic" | "validateInput" | "dispatch" | "projectStatic">;
|
|
126
|
+
interface ReducerScenarioViewer {
|
|
127
|
+
readonly seatId: string;
|
|
128
|
+
readonly playerId: string;
|
|
129
|
+
}
|
|
130
|
+
interface ReducerScenarioFrame {
|
|
131
|
+
readonly id: string;
|
|
132
|
+
readonly reducerState: wire.ReducerSessionState;
|
|
133
|
+
readonly dynamicProjection: wire.SeatProjectionBundle;
|
|
134
|
+
readonly staticProjection?: wire.BoardStaticProjection | null;
|
|
135
|
+
readonly gameVersion: number;
|
|
136
|
+
readonly actionSetVersion: string;
|
|
137
|
+
readonly projectionDigest: string;
|
|
138
|
+
}
|
|
139
|
+
interface ReducerScenarioTrace {
|
|
140
|
+
readonly scenarioId: string;
|
|
141
|
+
readonly gameId: string;
|
|
142
|
+
readonly viewer: ReducerScenarioViewer;
|
|
143
|
+
readonly frames: readonly ReducerScenarioFrame[];
|
|
144
|
+
readonly exchanges: readonly ReducerScenarioExchange[];
|
|
145
|
+
}
|
|
146
|
+
type ReducerScenarioExchange = {
|
|
147
|
+
readonly id: string;
|
|
148
|
+
readonly operation: "validate";
|
|
149
|
+
readonly fromFrameId: string;
|
|
150
|
+
readonly input: wire.GameInput;
|
|
151
|
+
readonly result: wire.ReducerInputValidationResult;
|
|
152
|
+
} | {
|
|
153
|
+
readonly id: string;
|
|
154
|
+
readonly operation: "submit";
|
|
155
|
+
readonly fromFrameId: string;
|
|
156
|
+
readonly input: wire.GameInput;
|
|
157
|
+
readonly result: {
|
|
158
|
+
readonly kind: "accepted";
|
|
159
|
+
readonly toFrameId: string;
|
|
160
|
+
} | {
|
|
161
|
+
readonly kind: "rejected";
|
|
162
|
+
readonly diagnostics: readonly ReducerScenarioDiagnostic[];
|
|
69
163
|
};
|
|
70
164
|
};
|
|
71
|
-
|
|
165
|
+
interface ReducerScenarioDiagnostic {
|
|
166
|
+
readonly code: string;
|
|
167
|
+
readonly message: string;
|
|
168
|
+
}
|
|
169
|
+
type ReducerScenarioOperation = {
|
|
170
|
+
readonly id: string;
|
|
171
|
+
readonly operation: "validate";
|
|
172
|
+
readonly input: wire.GameInput;
|
|
173
|
+
} | {
|
|
174
|
+
readonly id: string;
|
|
175
|
+
readonly operation: "submit";
|
|
176
|
+
readonly input: wire.GameInput;
|
|
177
|
+
};
|
|
178
|
+
interface CreateReducerScenarioRunnerOptions {
|
|
179
|
+
readonly scenarioId: string;
|
|
180
|
+
readonly gameId: string;
|
|
181
|
+
readonly initialState: wire.ReducerSessionState;
|
|
182
|
+
readonly bundle: ReducerScenarioBundle;
|
|
183
|
+
readonly viewer: ReducerScenarioViewer;
|
|
184
|
+
readonly playerIds: readonly string[];
|
|
185
|
+
readonly initialGameVersion?: number;
|
|
186
|
+
}
|
|
187
|
+
interface ReducerScenarioRunner {
|
|
188
|
+
run(operations: readonly ReducerScenarioOperation[]): Promise<ReducerScenarioTrace>;
|
|
189
|
+
}
|
|
72
190
|
|
|
73
191
|
declare function createReducerScenarioRunner(options: CreateReducerScenarioRunnerOptions): ReducerScenarioRunner;
|
|
74
192
|
|
|
@@ -120,9 +238,9 @@ declare const uiReplayRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
120
238
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
121
239
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
122
240
|
fill: "fill";
|
|
123
|
-
pointer: "pointer";
|
|
124
|
-
keyboard: "keyboard";
|
|
125
241
|
click: "click";
|
|
242
|
+
keyboard: "keyboard";
|
|
243
|
+
pointer: "pointer";
|
|
126
244
|
}>>;
|
|
127
245
|
allowDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
128
246
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -186,9 +304,9 @@ declare const portableSemanticReplayStepSchema: z.ZodObject<{
|
|
|
186
304
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
187
305
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
188
306
|
fill: "fill";
|
|
189
|
-
pointer: "pointer";
|
|
190
|
-
keyboard: "keyboard";
|
|
191
307
|
click: "click";
|
|
308
|
+
keyboard: "keyboard";
|
|
309
|
+
pointer: "pointer";
|
|
192
310
|
}>>;
|
|
193
311
|
allowDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
194
312
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -253,9 +371,9 @@ declare const uiScenarioReplayStepSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
253
371
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
254
372
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
255
373
|
fill: "fill";
|
|
256
|
-
pointer: "pointer";
|
|
257
|
-
keyboard: "keyboard";
|
|
258
374
|
click: "click";
|
|
375
|
+
keyboard: "keyboard";
|
|
376
|
+
pointer: "pointer";
|
|
259
377
|
}>>;
|
|
260
378
|
allowDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
261
379
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -366,9 +484,9 @@ declare const uiScenarioFixtureSchema: z.ZodObject<{
|
|
|
366
484
|
candidateValueKey: z.ZodOptional<z.ZodString>;
|
|
367
485
|
actuatorKind: z.ZodOptional<z.ZodEnum<{
|
|
368
486
|
fill: "fill";
|
|
369
|
-
pointer: "pointer";
|
|
370
|
-
keyboard: "keyboard";
|
|
371
487
|
click: "click";
|
|
488
|
+
keyboard: "keyboard";
|
|
489
|
+
pointer: "pointer";
|
|
372
490
|
}>>;
|
|
373
491
|
allowDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
374
492
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -698,4 +816,4 @@ declare function drag(options: DragReplayStepOptions): UIScenarioReplayStep;
|
|
|
698
816
|
declare function submit(options: ReplayStepOptions): UIScenarioReplayStep;
|
|
699
817
|
declare function assertStep(stepId: string, expect: UIStepExpectation): UIScenarioReplayStep;
|
|
700
818
|
|
|
701
|
-
export { type CompilePluginProtocolTapeOptions, type CompileUIScenarioFixtureOptions, type CreateFixtureHostHarnessOptions, CreateReducerScenarioRunnerOptions, type
|
|
819
|
+
export { ActorRef, type CompilePluginProtocolTapeOptions, type CompileUIScenarioFixtureOptions, type CreateFixtureHostHarnessOptions, type CreateReducerScenarioRunnerOptions, type DeterministicIdFactory, ExpectFn, type ExploreScenarioOptions, type ExploreScenarioResult, type ExploreSeedResult, type ExploreTransitionResult, type FixtureEnvironmentInit, type FixtureHostEvent, type FixtureHostHarness, FixturePluginRuntime, FlowDiagnostic, InspectEntropy, InspectNode, type InspectScenarioOptions, InspectScenarioResult, PerspectiveRef, PerspectiveSelector, type PluginProtocolTape, type PortableSemanticReplayStep, type ProtocolUIScenarioAuthority, type ReducerScenarioBundle, type ReducerScenarioDiagnostic, type ReducerScenarioExchange, type ReducerScenarioFrame, type ReducerScenarioOperation, type ReducerScenarioRunner, type ReducerScenarioTrace, type ReducerScenarioViewer, type ReducerUIScenarioAuthority, ScenarioAssertionError, ScenarioCheckpoint, ScenarioCommand, ScenarioDispatchTraceEntry, ScenarioIdentity, ScenarioReplayDefinition, Sha256Digest, SnapshotMatcherHandler, type UIFixtureFrame, type UIFixtureProtocolStep, type UIReplayExecution, type UIReplayIdentityCandidate, type UIReplayRequest, type UIResolvedReplayIdentity, type UIScenarioAuthority, type UIScenarioAuthorityKind, type UIScenarioDefinition, type UIScenarioEnvironmentDefinition, type UIScenarioFixture, type UIScenarioFixtureBundleIndex, type UIScenarioReplayStep, type UIStepExpectation, UI_SCENARIO_FIXTURE_BUNDLE_SCHEMA_VERSION, UI_SCENARIO_FIXTURE_PLUGIN_RUNTIME_PROTOCOL, UI_SCENARIO_FIXTURE_SCHEMA_VERSION, UI_SCENARIO_FIXTURE_SUPPORTED_BROWSER_PROTOCOL_MAJOR, activate, assertDeterministicUIScenarioFixture, assertStep, assertSupportedBrowserInteractionProtocol, assertUIStepExpectationSatisfied, assertUniqueReplayIdentity, canonicalUIFixtureJson, canonicalizeUIFixtureJson, canonicalizeUIScenarioFixture, compareUIParityObservations, compilePluginProtocolTape, compileUIScenarioFixture, createDeterministicIdFactory, createExpectApi, createFixtureHostHarness, createReducerScenarioRunner, createUIParityObservationFromFixture, defaultFixtureEnvironmentInit, defineUIScenario, digestPluginProtocolTape, digestUIFixtureJson, digestUIFixtureRequest, digestUIFixtureTransportRequest, digestUIScenarioFixture, drag, exploreScenario, fill, fixtureEnvironmentInitFor, inspectScenario, isSha256Digest, parseUIParityObservationV1, parseUIScenarioFixture, parseUIScenarioFixtureBundleIndex, pluginProtocolTapeSchema, portableSemanticReplayStepSchema, press, serializeUIScenarioFixture, submit, uiFixtureFrameSchema, uiFixtureProtocolStepSchema, uiReplayExecutionSchema, uiReplayRequestSchema, uiResolvedReplayIdentitySchema, uiScenarioFixtureBundleIndexSchema, uiScenarioFixtureSchema, uiScenarioReplayStepSchema, uiStepExpectationSchema };
|