@dreamboard-games/sdk 0.4.0-alpha.0 → 0.4.0-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.
Files changed (62) hide show
  1. package/README.md +8 -1
  2. package/REFERENCE.md +488 -108
  3. package/dist/attributes-BrZtP9az.d.ts +53 -0
  4. package/dist/browser-interaction.d.ts +44 -42
  5. package/dist/browser-interaction.js +2 -1
  6. package/dist/{chunk-4G7552LO.js → chunk-3K362ZKR.js} +17 -12
  7. package/dist/chunk-3K362ZKR.js.map +1 -0
  8. package/dist/{chunk-U5KBV2BA.js → chunk-7LZZEI25.js} +444 -223
  9. package/dist/chunk-7LZZEI25.js.map +1 -0
  10. package/dist/{chunk-Q5O7GPVY.js → chunk-7W6TQO3X.js} +18 -10
  11. package/dist/chunk-7W6TQO3X.js.map +1 -0
  12. package/dist/chunk-AEUXCFGM.js +124 -0
  13. package/dist/chunk-AEUXCFGM.js.map +1 -0
  14. package/dist/{chunk-P7F4L2FF.js → chunk-CZMFAS3E.js} +327 -248
  15. package/dist/chunk-CZMFAS3E.js.map +1 -0
  16. package/dist/{chunk-MNKDSGIA.js → chunk-IUGKW2GS.js} +2 -2
  17. package/dist/{chunk-MNKDSGIA.js.map → chunk-IUGKW2GS.js.map} +1 -1
  18. package/dist/{chunk-QLG6VEMW.js → chunk-MALRKLRR.js} +19 -11
  19. package/dist/chunk-MALRKLRR.js.map +1 -0
  20. package/dist/{chunk-2LDZ5C3T.js → chunk-XJYUSD5F.js} +2 -2
  21. package/dist/{chunk-NBAEEHAU.js → chunk-XXBSIPJX.js} +5952 -5364
  22. package/dist/chunk-XXBSIPJX.js.map +1 -0
  23. package/dist/codegen.d.ts +3 -1
  24. package/dist/codegen.js +1 -1
  25. package/dist/{components-DaIqi9QM.d.ts → components-Dqr_LuZJ.d.ts} +1 -65
  26. package/dist/index.js +1 -1
  27. package/dist/package-set.d.ts +2 -2
  28. package/dist/package-set.js +1 -1
  29. package/dist/reducer/advanced.d.ts +2 -2
  30. package/dist/reducer/advanced.js +1 -1
  31. package/dist/reducer-contract.js +1 -1
  32. package/dist/reducer.d.ts +7 -7
  33. package/dist/reducer.js +190 -183
  34. package/dist/reducer.js.map +1 -1
  35. package/dist/runtime/primitives.d.ts +4 -3
  36. package/dist/runtime/primitives.js +5 -4
  37. package/dist/runtime/workspace-contract.d.ts +10 -69
  38. package/dist/runtime/workspace-contract.js +6 -5
  39. package/dist/runtime-json-CQ9QbLZ5.d.ts +5 -0
  40. package/dist/runtime.d.ts +70 -5
  41. package/dist/runtime.js +483 -129
  42. package/dist/runtime.js.map +1 -1
  43. package/dist/testing.d.ts +509 -2
  44. package/dist/testing.js +481 -1
  45. package/dist/testing.js.map +1 -1
  46. package/dist/{attributes-BeRyboMS.d.ts → types-BqzHkNMA.d.ts} +1 -51
  47. package/dist/types.d.ts +4 -2
  48. package/dist/ui/components.d.ts +1 -1
  49. package/dist/ui/components.js +1 -1
  50. package/dist/ui/plugin-styles.css +1 -1
  51. package/dist/{ui-contract-BUC6iS3s.d.ts → ui-contract-W2-kxObe.d.ts} +2 -1
  52. package/dist/ui.d.ts +3 -7
  53. package/dist/ui.js +2 -2
  54. package/dist/{views-B0hlW6IT.d.ts → views-fn2RuXOx.d.ts} +59 -44
  55. package/package.json +31 -13
  56. package/dist/chunk-4G7552LO.js.map +0 -1
  57. package/dist/chunk-NBAEEHAU.js.map +0 -1
  58. package/dist/chunk-P7F4L2FF.js.map +0 -1
  59. package/dist/chunk-Q5O7GPVY.js.map +0 -1
  60. package/dist/chunk-QLG6VEMW.js.map +0 -1
  61. package/dist/chunk-U5KBV2BA.js.map +0 -1
  62. /package/dist/{chunk-2LDZ5C3T.js.map → chunk-XJYUSD5F.js.map} +0 -0
package/REFERENCE.md CHANGED
@@ -47,7 +47,7 @@ _No JSDoc summary is available yet._
47
47
 
48
48
  ```ts
49
49
  const DREAMBOARD_SDK_PACKAGES: {
50
- readonly "@dreamboard-games/sdk": "0.4.0-alpha.0";
50
+ readonly "@dreamboard-games/sdk": "0.4.0-alpha.1";
51
51
  };
52
52
  ```
53
53
 
@@ -56,7 +56,7 @@ _No JSDoc summary is available yet._
56
56
  ### DREAMBOARD_SDK_VERSION
57
57
 
58
58
  ```ts
59
- const DREAMBOARD_SDK_VERSION = "0.4.0-alpha.0";
59
+ const DREAMBOARD_SDK_VERSION = "0.4.0-alpha.1";
60
60
  ```
61
61
 
62
62
  _No JSDoc summary is available yet._
@@ -95,7 +95,7 @@ _No JSDoc summary is available yet._
95
95
 
96
96
  ```ts
97
97
  const DREAMBOARD_SDK_PACKAGES: {
98
- readonly "@dreamboard-games/sdk": "0.4.0-alpha.0";
98
+ readonly "@dreamboard-games/sdk": "0.4.0-alpha.1";
99
99
  };
100
100
  ```
101
101
 
@@ -104,7 +104,7 @@ _No JSDoc summary is available yet._
104
104
  ### DREAMBOARD_SDK_VERSION
105
105
 
106
106
  ```ts
107
- const DREAMBOARD_SDK_VERSION = "0.4.0-alpha.0";
107
+ const DREAMBOARD_SDK_VERSION = "0.4.0-alpha.1";
108
108
  ```
109
109
 
110
110
  _No JSDoc summary is available yet._
@@ -2500,16 +2500,16 @@ _No JSDoc summary is available yet._
2500
2500
  ### GameStateOf
2501
2501
 
2502
2502
  ```ts
2503
- type GameStateOf<Source> =
2504
- Source extends ReducerGameDefinition<
2505
- infer Contract,
2506
- infer Definitions,
2507
- infer _Views
2508
- >
2503
+ type GameStateOf<Source> = Source extends {
2504
+ contract: infer Contract extends ReducerGameContractLike;
2505
+ phases: infer Definitions;
2506
+ }
2507
+ ? Definitions extends PhaseMapOf<Contract>
2509
2508
  ? ResolvedGameStateOf<Contract, Definitions>
2510
- : Source extends ReducerGameContract<any, any, any, any, any, any, any>
2511
- ? BaseGameStateOfContract<Source>
2512
- : never;
2509
+ : never
2510
+ : Source extends ReducerGameContract<any, any, any, any, any, any, any>
2511
+ ? BaseGameStateOfContract<Source>
2512
+ : never;
2513
2513
  ```
2514
2514
 
2515
2515
  _No JSDoc summary is available yet._
@@ -3789,7 +3789,19 @@ _No JSDoc summary is available yet._
3789
3789
  ### CardInputZoneIdsOfDefinition
3790
3790
 
3791
3791
  ```ts
3792
- type CardInputZoneIdsOfDefinition = ...;
3792
+ type CardInputZoneIdsOfDefinition<
3793
+ Definition,
3794
+ PhaseName extends PhaseNamesOfDefinition<Definition>,
3795
+ InteractionId extends InteractionIdOfDefinitionPhase<Definition, PhaseName>,
3796
+ Input extends string,
3797
+ > =
3798
+ InteractionSpecByNameOfDefinitionPhase<
3799
+ Definition,
3800
+ PhaseName,
3801
+ InteractionId
3802
+ > extends infer Spec
3803
+ ? CardInputZoneIdsOfInteractionDefinition<Spec, Input>
3804
+ : never;
3793
3805
  ```
3794
3806
 
3795
3807
  _No JSDoc summary is available yet._
@@ -4102,7 +4114,7 @@ _No JSDoc summary is available yet._
4102
4114
 
4103
4115
  ```ts
4104
4116
  type ContinuationResponseOf<Token> =
4105
- Token extends ContinuationToken<any, string, infer Response>
4117
+ Token extends ContinuationToken<unknown, string, infer Response>
4106
4118
  ? Response
4107
4119
  : never;
4108
4120
  ```
@@ -4227,7 +4239,19 @@ _No JSDoc summary is available yet._
4227
4239
  ### DefaultedClientParamKeysOfInteractionOfDefinition
4228
4240
 
4229
4241
  ```ts
4230
- type DefaultedClientParamKeysOfInteractionOfDefinition = ...;
4242
+ type DefaultedClientParamKeysOfInteractionOfDefinition<
4243
+ Definition,
4244
+ PhaseName extends PhaseNamesOfDefinition<Definition>,
4245
+ InteractionId extends InteractionIdOfDefinitionPhase<Definition, PhaseName>,
4246
+ > =
4247
+ InteractionSpecByNameOfDefinitionPhase<
4248
+ Definition,
4249
+ PhaseName,
4250
+ InteractionId
4251
+ > extends infer Spec
4252
+ ? DefaultedClientCollectorKeys<CollectorsOfInteractionDefinition<Spec>> &
4253
+ string
4254
+ : never;
4231
4255
  ```
4232
4256
 
4233
4257
  _No JSDoc summary is available yet._
@@ -4494,16 +4518,16 @@ _No JSDoc summary is available yet._
4494
4518
  ### GameStateOf
4495
4519
 
4496
4520
  ```ts
4497
- type GameStateOf<Source> =
4498
- Source extends ReducerGameDefinition<
4499
- infer Contract,
4500
- infer Definitions,
4501
- infer _Views
4502
- >
4521
+ type GameStateOf<Source> = Source extends {
4522
+ contract: infer Contract extends ReducerGameContractLike;
4523
+ phases: infer Definitions;
4524
+ }
4525
+ ? Definitions extends PhaseMapOf<Contract>
4503
4526
  ? ResolvedGameStateOf<Contract, Definitions>
4504
- : Source extends ReducerGameContract<any, any, any, any, any, any, any>
4505
- ? BaseGameStateOfContract<Source>
4506
- : never;
4527
+ : never
4528
+ : Source extends ReducerGameContract<any, any, any, any, any, any, any>
4529
+ ? BaseGameStateOfContract<Source>
4530
+ : never;
4507
4531
  ```
4508
4532
 
4509
4533
  _No JSDoc summary is available yet._
@@ -4752,8 +4776,8 @@ _No JSDoc summary is available yet._
4752
4776
  ```ts
4753
4777
  type HiddenSchemaOfContract<Contract> =
4754
4778
  StateDefinitionOfContract<Contract> extends StateDefinition<
4755
- infer _PublicSchema,
4756
- infer _PrivateSchema,
4779
+ SchemaLike<object>,
4780
+ SchemaLike<object>,
4757
4781
  infer HiddenSchema
4758
4782
  >
4759
4783
  ? HiddenSchema
@@ -4914,7 +4938,19 @@ _No JSDoc summary is available yet._
4914
4938
  ### InputKeysWithCollectorKindOfDefinition
4915
4939
 
4916
4940
  ```ts
4917
- type InputKeysWithCollectorKindOfDefinition = ...;
4941
+ type InputKeysWithCollectorKindOfDefinition<
4942
+ Definition,
4943
+ PhaseName extends PhaseNamesOfDefinition<Definition>,
4944
+ InteractionId extends InteractionIdOfDefinitionPhase<Definition, PhaseName>,
4945
+ Kind extends string,
4946
+ > =
4947
+ InteractionSpecByNameOfDefinitionPhase<
4948
+ Definition,
4949
+ PhaseName,
4950
+ InteractionId
4951
+ > extends infer Spec
4952
+ ? InputKeysWithCollectorKindOfInteractionDefinition<Spec, Kind>
4953
+ : never;
4918
4954
  ```
4919
4955
 
4920
4956
  _No JSDoc summary is available yet._
@@ -5623,9 +5659,9 @@ _No JSDoc summary is available yet._
5623
5659
  ```ts
5624
5660
  type PrivateSchemaOfContract<Contract> =
5625
5661
  StateDefinitionOfContract<Contract> extends StateDefinition<
5626
- infer _PublicSchema,
5662
+ SchemaLike<object>,
5627
5663
  infer PrivateSchema,
5628
- infer _HiddenSchema
5664
+ SchemaLike<object>
5629
5665
  >
5630
5666
  ? PrivateSchema
5631
5667
  : never;
@@ -5690,8 +5726,8 @@ _No JSDoc summary is available yet._
5690
5726
  type PublicSchemaOfContract<Contract> =
5691
5727
  StateDefinitionOfContract<Contract> extends StateDefinition<
5692
5728
  infer PublicSchema,
5693
- infer _PrivateSchema,
5694
- infer _HiddenSchema
5729
+ SchemaLike<object>,
5730
+ SchemaLike<object>
5695
5731
  >
5696
5732
  ? PublicSchema
5697
5733
  : never;
@@ -6514,7 +6550,7 @@ _No JSDoc summary is available yet._
6514
6550
 
6515
6551
  ```ts
6516
6552
  interface RuntimeRecord {
6517
- [key: string]: RuntimePayload | undefined;
6553
+ [key: string]: RuntimePayload;
6518
6554
  }
6519
6555
  ```
6520
6556
 
@@ -7907,11 +7943,9 @@ type ViewOfDefinition<
7907
7943
  Definition,
7908
7944
  ViewName extends ViewNamesOfDefinition<Definition>,
7909
7945
  > =
7910
- ViewDefinitionByName<Definition, ViewName> extends ViewDefinition<
7911
- infer _State,
7912
- infer _Manifest,
7913
- infer Projection
7914
- >
7946
+ ViewDefinitionByName<Definition, ViewName> extends {
7947
+ project: (...args: never[]) => infer Projection;
7948
+ }
7915
7949
  ? Projection
7916
7950
  : never;
7917
7951
  ```
@@ -11787,19 +11821,6 @@ function useChromeSuppression(id: string, suppressed: boolean): void;
11787
11821
 
11788
11822
  _No JSDoc summary is available yet._
11789
11823
 
11790
- ### useHandLayout
11791
-
11792
- ```ts
11793
- function useHandLayout({
11794
- cardCount,
11795
- cardSize,
11796
- layout,
11797
- containerPadding,
11798
- }: UseHandLayoutOptions): UseHandLayoutReturn;
11799
- ```
11800
-
11801
- Hook for managing hand layout calculations and interactions.
11802
-
11803
11824
  ### UseHandLayoutOptions
11804
11825
 
11805
11826
  ```ts
@@ -11841,14 +11862,6 @@ function useMobileHandTrayActive(): boolean;
11841
11862
 
11842
11863
  Whether the mobile hand tray is currently presenting hands — i.e. the viewport is below the mobile breakpoint and at least one primary/auxiliary hand has registered. Authors can use this to drop redundant inline hand chrome (labels, framing) that the tray already provides, instead of guessing the breakpoint with a CSS media query. Returns `false` outside `<UI.Root>`.
11843
11864
 
11844
- ### usePanZoom
11845
-
11846
- ```ts
11847
- function usePanZoom(options?: UsePanZoomOptions): UsePanZoomReturn;
11848
- ```
11849
-
11850
- Hook for pan and zoom gestures on board components
11851
-
11852
11865
  ### UsePanZoomOptions
11853
11866
 
11854
11867
  ```ts
@@ -15316,7 +15329,7 @@ _No JSDoc summary is available yet._
15316
15329
  ```ts
15317
15330
  function createWorkspaceUIContract<
15318
15331
  WorkspaceUI,
15319
- Contract extends UIContract$1,
15332
+ Contract extends UIContract,
15320
15333
  Resource extends string,
15321
15334
  Card,
15322
15335
  HexBoards extends Record<string, unknown>,
@@ -15339,7 +15352,9 @@ _No JSDoc summary is available yet._
15339
15352
  ### DreamboardUIRegister
15340
15353
 
15341
15354
  ```ts
15342
- interface DreamboardUIRegister {}
15355
+ interface DreamboardUIRegister {
15356
+ readonly __dreamboardUIRegister?: never;
15357
+ }
15343
15358
  ```
15344
15359
 
15345
15360
  _No JSDoc summary is available yet._
@@ -17913,14 +17928,6 @@ _No JSDoc summary is available yet._
17913
17928
 
17914
17929
  ## @dreamboard-games/sdk/runtime/workspace-contract
17915
17930
 
17916
- ### a
17917
-
17918
- ```ts
17919
- interface a { ... }
17920
- ```
17921
-
17922
- _No JSDoc summary is available yet._
17923
-
17924
17931
  ### BoardHexGridProps
17925
17932
 
17926
17933
  ```ts
@@ -17983,7 +17990,7 @@ _No JSDoc summary is available yet._
17983
17990
  ```ts
17984
17991
  function createWorkspaceUIContract<
17985
17992
  WorkspaceUI,
17986
- Contract extends UIContract$1,
17993
+ Contract extends UIContract,
17987
17994
  Resource extends string,
17988
17995
  Card,
17989
17996
  HexBoards extends Record<string, unknown>,
@@ -17994,19 +18001,10 @@ function createWorkspaceUIContract<
17994
18001
 
17995
18002
  _No JSDoc summary is available yet._
17996
18003
 
17997
- ### D
17998
-
17999
- ```ts
18000
- interface DreamboardUIRegister {}
18001
- ```
18002
-
18003
- _No JSDoc summary is available yet._
18004
-
18005
18004
  ### DreamboardUI
18006
18005
 
18007
18006
  ```ts
18008
- type DreamboardUI<Contract extends UIContract = RegisteredUI> =
18009
- DreamboardUI$1<Contract>;
18007
+ interface DreamboardUI { ... }
18010
18008
  ```
18011
18009
 
18012
18010
  _No JSDoc summary is available yet._
@@ -18076,28 +18074,6 @@ interface GameTurnState<
18076
18074
 
18077
18075
  _No JSDoc summary is available yet._
18078
18076
 
18079
- ### P
18080
-
18081
- ```ts
18082
- function P({
18083
- children,
18084
- timeout,
18085
- loadingComponent,
18086
- errorComponent,
18087
- onDiagnostic,
18088
- }: PluginRuntimeProps): react_jsx_runtime.JSX.Element;
18089
- ```
18090
-
18091
- PluginRuntime provides the RuntimeContext for plugin components.
18092
-
18093
- ### R
18094
-
18095
- ```ts
18096
- type RegisteredUI = RegisteredUIContract;
18097
- ```
18098
-
18099
- _No JSDoc summary is available yet._
18100
-
18101
18077
  ### ResourceCounterComponents
18102
18078
 
18103
18079
  ```ts
@@ -18116,11 +18092,16 @@ _No JSDoc summary is available yet._
18116
18092
 
18117
18093
  ```ts
18118
18094
  type TypedGame<
18119
- Contract extends UIContract,
18095
+ _Contract extends UIContract,
18120
18096
  View = unknown,
18121
- Player extends string = string,
18122
- Phase extends string = string,
18123
- > = TypedGame$1<Contract, View, Player, Phase>;
18097
+ Player extends string = PlayerKey<_Contract>,
18098
+ Phase extends string = PhaseKey<_Contract>,
18099
+ > = Omit<typeof Game, "Root"> & {
18100
+ Root(props: GameRootProps<View, Player, Phase>): ReactElement;
18101
+ Chrome(
18102
+ props: GameChromeProps<View, Player, Phase, InteractionKey<_Contract>>,
18103
+ ): ReactElement;
18104
+ };
18124
18105
  ```
18125
18106
 
18126
18107
  _No JSDoc summary is available yet._
@@ -18128,7 +18109,17 @@ _No JSDoc summary is available yet._
18128
18109
  ### UIContract
18129
18110
 
18130
18111
  ```ts
18131
- type UIContract = UIContract$1;
18112
+ interface UIContract {
18113
+ interactions?: UIContractBucket;
18114
+ inputs?: UIContractBucket;
18115
+ prompts?: UIContractBucket;
18116
+ promptOptions?: UIContractBucket;
18117
+ players?: UIContractBucket;
18118
+ zones?: UIContractBucket;
18119
+ cards?: UIContractBucket;
18120
+ phases?: UIContractBucket;
18121
+ boardTargets?: UIContractBucket;
18122
+ }
18132
18123
  ```
18133
18124
 
18134
18125
  _No JSDoc summary is available yet._
@@ -18654,6 +18645,48 @@ _No JSDoc summary is available yet._
18654
18645
 
18655
18646
  ## @dreamboard-games/sdk/testing
18656
18647
 
18648
+ ### assertDeterministicUIScenarioFixture
18649
+
18650
+ ```ts
18651
+ function assertDeterministicUIScenarioFixture(
18652
+ first: UIScenarioFixture,
18653
+ second: UIScenarioFixture,
18654
+ ): void;
18655
+ ```
18656
+
18657
+ _No JSDoc summary is available yet._
18658
+
18659
+ ### assertSupportedBrowserInteractionProtocol
18660
+
18661
+ ```ts
18662
+ function assertSupportedBrowserInteractionProtocol(version: string): void;
18663
+ ```
18664
+
18665
+ _No JSDoc summary is available yet._
18666
+
18667
+ ### assertUIStepExpectationSatisfied
18668
+
18669
+ ```ts
18670
+ function assertUIStepExpectationSatisfied(
18671
+ stepId: string,
18672
+ expected: UIStepExpectation,
18673
+ actual: UIStepExpectation,
18674
+ ): void;
18675
+ ```
18676
+
18677
+ _No JSDoc summary is available yet._
18678
+
18679
+ ### assertUniqueReplayIdentity
18680
+
18681
+ ```ts
18682
+ function assertUniqueReplayIdentity(
18683
+ step: Pick<PortableSemanticReplayStep, "stepId" | "expectedIdentity">,
18684
+ candidates: readonly UIReplayIdentityCandidate[],
18685
+ ): UIReplayIdentityCandidate;
18686
+ ```
18687
+
18688
+ _No JSDoc summary is available yet._
18689
+
18657
18690
  ### BaseContext
18658
18691
 
18659
18692
  ```ts
@@ -18691,6 +18724,50 @@ interface BaseDefinition {
18691
18724
 
18692
18725
  _No JSDoc summary is available yet._
18693
18726
 
18727
+ ### canonicalizeUIFixtureJson
18728
+
18729
+ ```ts
18730
+ function canonicalizeUIFixtureJson(value: unknown): CanonicalJson;
18731
+ ```
18732
+
18733
+ _No JSDoc summary is available yet._
18734
+
18735
+ ### canonicalizeUIScenarioFixture
18736
+
18737
+ ```ts
18738
+ function canonicalizeUIScenarioFixture(
18739
+ fixture: UIScenarioFixture,
18740
+ ): UIScenarioFixture;
18741
+ ```
18742
+
18743
+ _No JSDoc summary is available yet._
18744
+
18745
+ ### canonicalUIFixtureJson
18746
+
18747
+ ```ts
18748
+ function canonicalUIFixtureJson(value: unknown): string;
18749
+ ```
18750
+
18751
+ _No JSDoc summary is available yet._
18752
+
18753
+ ### compileUIScenarioFixture
18754
+
18755
+ ```ts
18756
+ function compileUIScenarioFixture(
18757
+ options: CompileUIScenarioFixtureOptions,
18758
+ ): UIScenarioFixture;
18759
+ ```
18760
+
18761
+ _No JSDoc summary is available yet._
18762
+
18763
+ ### CompileUIScenarioFixtureOptions
18764
+
18765
+ ```ts
18766
+ interface CompileUIScenarioFixtureOptions { ... }
18767
+ ```
18768
+
18769
+ _No JSDoc summary is available yet._
18770
+
18694
18771
  ### CreatedTestRuntime
18695
18772
 
18696
18773
  ```ts
@@ -18761,6 +18838,30 @@ function defineScenario<
18761
18838
 
18762
18839
  _No JSDoc summary is available yet._
18763
18840
 
18841
+ ### digestUIFixtureJson
18842
+
18843
+ ```ts
18844
+ function digestUIFixtureJson(value: unknown): string;
18845
+ ```
18846
+
18847
+ _No JSDoc summary is available yet._
18848
+
18849
+ ### digestUIFixtureRequest
18850
+
18851
+ ```ts
18852
+ function digestUIFixtureRequest(request: UIReplayRequest): string;
18853
+ ```
18854
+
18855
+ _No JSDoc summary is available yet._
18856
+
18857
+ ### digestUIScenarioFixture
18858
+
18859
+ ```ts
18860
+ function digestUIScenarioFixture(fixture: UIScenarioFixture): string;
18861
+ ```
18862
+
18863
+ _No JSDoc summary is available yet._
18864
+
18764
18865
  ### ExpectFn
18765
18866
 
18766
18867
  ```ts
@@ -18825,6 +18926,14 @@ type InteractionExplanationLike = ...;
18825
18926
 
18826
18927
  _No JSDoc summary is available yet._
18827
18928
 
18929
+ ### isSha256Digest
18930
+
18931
+ ```ts
18932
+ function isSha256Digest(value: string): boolean;
18933
+ ```
18934
+
18935
+ _No JSDoc summary is available yet._
18936
+
18828
18937
  ### isStaleContractArtifactError
18829
18938
 
18830
18939
  ```ts
@@ -18835,6 +18944,42 @@ function isStaleContractArtifactError(
18835
18944
 
18836
18945
  _No JSDoc summary is available yet._
18837
18946
 
18947
+ ### parseUIScenarioFixture
18948
+
18949
+ ```ts
18950
+ function parseUIScenarioFixture(value: unknown): UIScenarioFixture;
18951
+ ```
18952
+
18953
+ _No JSDoc summary is available yet._
18954
+
18955
+ ### parseUIScenarioFixtureBundleIndex
18956
+
18957
+ ```ts
18958
+ function parseUIScenarioFixtureBundleIndex(
18959
+ value: unknown,
18960
+ ): UIScenarioFixtureBundleIndex;
18961
+ ```
18962
+
18963
+ _No JSDoc summary is available yet._
18964
+
18965
+ ### PortableSemanticReplayStep
18966
+
18967
+ ```ts
18968
+ type PortableSemanticReplayStep = z.infer<
18969
+ typeof portableSemanticReplayStepSchema
18970
+ >;
18971
+ ```
18972
+
18973
+ _No JSDoc summary is available yet._
18974
+
18975
+ ### portableSemanticReplayStepSchema
18976
+
18977
+ ```ts
18978
+ declare const portableSemanticReplayStepSchema: ...;
18979
+ ```
18980
+
18981
+ _No JSDoc summary is available yet._
18982
+
18838
18983
  ### RejectionExpectation
18839
18984
 
18840
18985
  ```ts
@@ -18854,6 +18999,14 @@ interface ScenarioDefinition { ... }
18854
18999
 
18855
19000
  _No JSDoc summary is available yet._
18856
19001
 
19002
+ ### serializeUIScenarioFixture
19003
+
19004
+ ```ts
19005
+ function serializeUIScenarioFixture(fixture: UIScenarioFixture): string;
19006
+ ```
19007
+
19008
+ _No JSDoc summary is available yet._
19009
+
18857
19010
  ### SharedScenarioContext
18858
19011
 
18859
19012
  ```ts
@@ -18910,6 +19063,227 @@ type TestRunner = "reducer" | "remote" | "browser";
18910
19063
 
18911
19064
  _No JSDoc summary is available yet._
18912
19065
 
19066
+ ### UI_SCENARIO_FIXTURE_BUNDLE_SCHEMA_VERSION
19067
+
19068
+ ```ts
19069
+ const UI_SCENARIO_FIXTURE_BUNDLE_SCHEMA_VERSION = 1;
19070
+ ```
19071
+
19072
+ _No JSDoc summary is available yet._
19073
+
19074
+ ### UI_SCENARIO_FIXTURE_SCHEMA_VERSION
19075
+
19076
+ ```ts
19077
+ const UI_SCENARIO_FIXTURE_SCHEMA_VERSION = 1;
19078
+ ```
19079
+
19080
+ _No JSDoc summary is available yet._
19081
+
19082
+ ### UI_SCENARIO_FIXTURE_SUPPORTED_BROWSER_PROTOCOL_MAJOR
19083
+
19084
+ ```ts
19085
+ const UI_SCENARIO_FIXTURE_SUPPORTED_BROWSER_PROTOCOL_MAJOR = 2;
19086
+ ```
19087
+
19088
+ _No JSDoc summary is available yet._
19089
+
19090
+ ### UIFixtureFrame
19091
+
19092
+ ```ts
19093
+ type UIFixtureFrame = Omit<z.infer<typeof uiFixtureFrameSchema>, "snapshot"> & {
19094
+ readonly snapshot: PluginStateSnapshot$1;
19095
+ };
19096
+ ```
19097
+
19098
+ _No JSDoc summary is available yet._
19099
+
19100
+ ### uiFixtureFrameSchema
19101
+
19102
+ ```ts
19103
+ declare const uiFixtureFrameSchema: ...;
19104
+ ```
19105
+
19106
+ _No JSDoc summary is available yet._
19107
+
19108
+ ### uiFixturePluginStateSnapshotSchema
19109
+
19110
+ ```ts
19111
+ declare const uiFixturePluginStateSnapshotSchema: ...;
19112
+ ```
19113
+
19114
+ _No JSDoc summary is available yet._
19115
+
19116
+ ### UIFixtureTransportExchange
19117
+
19118
+ ```ts
19119
+ type UIFixtureTransportExchange = z.infer<
19120
+ typeof uiFixtureTransportExchangeSchema
19121
+ >;
19122
+ ```
19123
+
19124
+ _No JSDoc summary is available yet._
19125
+
19126
+ ### uiFixtureTransportExchangeSchema
19127
+
19128
+ ```ts
19129
+ declare const uiFixtureTransportExchangeSchema: ...;
19130
+ ```
19131
+
19132
+ _No JSDoc summary is available yet._
19133
+
19134
+ ### UIReplayExecution
19135
+
19136
+ ```ts
19137
+ type UIReplayExecution = z.infer<typeof uiReplayExecutionSchema>;
19138
+ ```
19139
+
19140
+ _No JSDoc summary is available yet._
19141
+
19142
+ ### uiReplayExecutionSchema
19143
+
19144
+ ```ts
19145
+ declare const uiReplayExecutionSchema: ...;
19146
+ ```
19147
+
19148
+ _No JSDoc summary is available yet._
19149
+
19150
+ ### UIReplayIdentityCandidate
19151
+
19152
+ ```ts
19153
+ type UIReplayIdentityCandidate = UIResolvedReplayIdentity;
19154
+ ```
19155
+
19156
+ _No JSDoc summary is available yet._
19157
+
19158
+ ### UIReplayRequest
19159
+
19160
+ ```ts
19161
+ type UIReplayRequest =
19162
+ | BrowserInteractionIntentRequest
19163
+ | BrowserInteractionEffectRequest;
19164
+ ```
19165
+
19166
+ _No JSDoc summary is available yet._
19167
+
19168
+ ### uiReplayRequestSchema
19169
+
19170
+ ```ts
19171
+ declare const uiReplayRequestSchema: ...;
19172
+ ```
19173
+
19174
+ _No JSDoc summary is available yet._
19175
+
19176
+ ### UIResolvedReplayIdentity
19177
+
19178
+ ```ts
19179
+ type UIResolvedReplayIdentity = z.infer<typeof uiResolvedReplayIdentitySchema>;
19180
+ ```
19181
+
19182
+ _No JSDoc summary is available yet._
19183
+
19184
+ ### uiResolvedReplayIdentitySchema
19185
+
19186
+ ```ts
19187
+ const uiResolvedReplayIdentitySchema: z.ZodObject<
19188
+ {
19189
+ stepId: z.ZodString;
19190
+ surface: z.ZodString;
19191
+ scopeId: z.ZodString;
19192
+ interactionKey: z.ZodString;
19193
+ interactionId: z.ZodString;
19194
+ actuatorId: z.ZodString;
19195
+ descriptorDigest: z.ZodOptional<z.ZodString>;
19196
+ draftDigest: z.ZodOptional<z.ZodString>;
19197
+ },
19198
+ z.core.$strict
19199
+ >;
19200
+ ```
19201
+
19202
+ _No JSDoc summary is available yet._
19203
+
19204
+ ### UIScenarioFixture
19205
+
19206
+ ```ts
19207
+ type UIScenarioFixture = Omit<
19208
+ z.infer<typeof uiScenarioFixtureSchema>,
19209
+ "frames" | "replay"
19210
+ > & {
19211
+ readonly frames: readonly UIFixtureFrame[];
19212
+ readonly replay: readonly UIScenarioReplayStep[];
19213
+ };
19214
+ ```
19215
+
19216
+ _No JSDoc summary is available yet._
19217
+
19218
+ ### UIScenarioFixtureBundleIndex
19219
+
19220
+ ```ts
19221
+ type UIScenarioFixtureBundleIndex = z.infer<
19222
+ typeof uiScenarioFixtureBundleIndexSchema
19223
+ >;
19224
+ ```
19225
+
19226
+ _No JSDoc summary is available yet._
19227
+
19228
+ ### uiScenarioFixtureBundleIndexSchema
19229
+
19230
+ ```ts
19231
+ declare const uiScenarioFixtureBundleIndexSchema: ...;
19232
+ ```
19233
+
19234
+ _No JSDoc summary is available yet._
19235
+
19236
+ ### uiScenarioFixtureSchema
19237
+
19238
+ ```ts
19239
+ declare const uiScenarioFixtureSchema: ...;
19240
+ ```
19241
+
19242
+ _No JSDoc summary is available yet._
19243
+
19244
+ ### UIScenarioReplayStep
19245
+
19246
+ ```ts
19247
+ type UIScenarioReplayStep = z.infer<typeof uiScenarioReplayStepSchema>;
19248
+ ```
19249
+
19250
+ _No JSDoc summary is available yet._
19251
+
19252
+ ### uiScenarioReplayStepSchema
19253
+
19254
+ ```ts
19255
+ declare const uiScenarioReplayStepSchema: ...;
19256
+ ```
19257
+
19258
+ _No JSDoc summary is available yet._
19259
+
19260
+ ### UIStepExpectation
19261
+
19262
+ ```ts
19263
+ type UIStepExpectation = z.infer<typeof uiStepExpectationSchema>;
19264
+ ```
19265
+
19266
+ _No JSDoc summary is available yet._
19267
+
19268
+ ### uiStepExpectationSchema
19269
+
19270
+ ```ts
19271
+ declare const uiStepExpectationSchema: z.ZodObject<
19272
+ {
19273
+ frameId: z.ZodOptional<z.ZodString>;
19274
+ projectionDigest: z.ZodOptional<z.ZodString>;
19275
+ semanticDigest: z.ZodOptional<z.ZodString>;
19276
+ draftDigest: z.ZodOptional<z.ZodString>;
19277
+ submissionDigest: z.ZodOptional<z.ZodString>;
19278
+ focusedInteractionKey: z.ZodOptional<z.ZodString>;
19279
+ visibleInteractionKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
19280
+ },
19281
+ z.core.$strict
19282
+ >;
19283
+ ```
19284
+
19285
+ _No JSDoc summary is available yet._
19286
+
18913
19287
  ## @dreamboard-games/sdk/browser-interaction
18914
19288
 
18915
19289
  ### actuatorIdentityKey
@@ -19196,7 +19570,13 @@ const browserInteractionEffectSchema: z.ZodObject<
19196
19570
  kind: z.ZodString;
19197
19571
  },
19198
19572
  z.core.$catchall<
19199
- z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>
19573
+ z.ZodPreprocess<
19574
+ z.ZodType<
19575
+ RuntimeJson,
19576
+ unknown,
19577
+ z.core.$ZodTypeInternals<RuntimeJson, unknown>
19578
+ >
19579
+ >
19200
19580
  >
19201
19581
  >;
19202
19582
  ```