lanka 2.0.0 → 2.1.0

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 (66) hide show
  1. package/dist/{LankaSharedStoreLocator-jsz_gnUm.d.ts → ALankaLocator-BUCCz0Q5.d.ts} +1 -47
  2. package/dist/{ILankaScenarioVM-DpKFL3iE.d.ts → ILankaScenario-DQd9ZfUw.d.ts} +1 -30
  3. package/dist/{ILankaScenarioMetadata-Dj4GCqmX.d.ts → ILankaScenarioMetadata-BsDp0Bzm.d.ts} +1 -1
  4. package/dist/ILankaScenarioVM-DKwjbIRq.d.ts +30 -0
  5. package/dist/{LankaScenarioLocator-Dki2Es3O.d.ts → LankaScenarioVMRegistry-DySAOaj2.d.ts} +4 -37
  6. package/dist/_extend/index.d.ts +64 -7
  7. package/dist/_extend/index.js +59 -9
  8. package/dist/_extend/index.js.map +1 -1
  9. package/dist/_internal/index.d.ts +13 -8
  10. package/dist/{activeRuntime-BO-qY0yY.d.ts → activeRuntime-ByucLPhj.d.ts} +7 -3
  11. package/dist/bootstrap/index.d.ts +15 -10
  12. package/dist/bootstrap/index.js +10 -4
  13. package/dist/chunk-24MUFFHF.js +43 -0
  14. package/dist/chunk-24MUFFHF.js.map +1 -0
  15. package/dist/chunk-3R2NO47A.js +35 -0
  16. package/dist/chunk-3R2NO47A.js.map +1 -0
  17. package/dist/{chunk-UMPSR4US.js → chunk-42CWYVZJ.js} +44 -61
  18. package/dist/chunk-42CWYVZJ.js.map +1 -0
  19. package/dist/chunk-BMF4TM2Z.js +22 -0
  20. package/dist/chunk-BMF4TM2Z.js.map +1 -0
  21. package/dist/chunk-JZJ6GXX3.js +12 -0
  22. package/dist/chunk-JZJ6GXX3.js.map +1 -0
  23. package/dist/{chunk-EYDMBI5T.js → chunk-MKKMTLOY.js} +11 -311
  24. package/dist/chunk-MKKMTLOY.js.map +1 -0
  25. package/dist/{chunk-UE2C76OR.js → chunk-N3275IPH.js} +2 -69
  26. package/dist/chunk-N3275IPH.js.map +1 -0
  27. package/dist/chunk-NWEHOMTS.js +315 -0
  28. package/dist/chunk-NWEHOMTS.js.map +1 -0
  29. package/dist/chunk-SBITVBF7.js +49 -0
  30. package/dist/chunk-SBITVBF7.js.map +1 -0
  31. package/dist/{chunk-SZVNPK24.js → chunk-SO7D5E7O.js} +17 -9
  32. package/dist/{chunk-SZVNPK24.js.map → chunk-SO7D5E7O.js.map} +1 -1
  33. package/dist/{createLanka-x4oSMs7P.d.ts → createLanka-DvUGu9Hl.d.ts} +2 -2
  34. package/dist/{createLankaScope-DomNbEvb.d.ts → createLankaScope-CVoV0EwO.d.ts} +1 -1
  35. package/dist/gateway/index.js +3 -3
  36. package/dist/index.d.ts +14 -9
  37. package/dist/index.js +10 -4
  38. package/dist/locator/gateway/lanka-gateway-locator/LankaGatewayLocator.d.ts +18 -0
  39. package/dist/locator/gateway/lanka-gateway-locator/LankaGatewayLocator.js +9 -0
  40. package/dist/locator/gateway/lanka-gateway-locator/LankaGatewayLocator.js.map +1 -0
  41. package/dist/locator/index.d.ts +4 -2
  42. package/dist/locator/index.js +4 -1
  43. package/dist/locator/index.js.map +1 -1
  44. package/dist/locator/scenario/lanka-scenario-locator/LankaScenarioLocator.d.ts +60 -0
  45. package/dist/locator/scenario/lanka-scenario-locator/LankaScenarioLocator.js +12 -0
  46. package/dist/locator/scenario/lanka-scenario-locator/LankaScenarioLocator.js.map +1 -0
  47. package/dist/locator/shared-store/lanka-shared-store-locator/LankaSharedStoreLocator.d.ts +22 -0
  48. package/dist/locator/shared-store/lanka-shared-store-locator/LankaSharedStoreLocator.js +9 -0
  49. package/dist/locator/shared-store/lanka-shared-store-locator/LankaSharedStoreLocator.js.map +1 -0
  50. package/dist/locator/singleton/lanka-singleton-locator/LankaSingletonLocator.d.ts +30 -0
  51. package/dist/locator/singleton/lanka-singleton-locator/LankaSingletonLocator.js +9 -0
  52. package/dist/locator/singleton/lanka-singleton-locator/LankaSingletonLocator.js.map +1 -0
  53. package/dist/scenario/index.d.ts +4 -3
  54. package/dist/scenario/index.js +5 -3
  55. package/dist/scenario/index.js.map +1 -1
  56. package/dist/stream/index.d.ts +17 -12
  57. package/dist/viewmodel/index.d.ts +42 -12
  58. package/dist/viewmodel/index.js +2 -1
  59. package/dist/viewmodel/index.js.map +1 -1
  60. package/package.json +2 -2
  61. package/skills/lanka-core/SKILL.md +1 -1
  62. package/skills/lanka-core/reference.md +1 -1
  63. package/skills/lanka-packages/SKILL.md +1 -1
  64. package/dist/chunk-EYDMBI5T.js.map +0 -1
  65. package/dist/chunk-UE2C76OR.js.map +0 -1
  66. package/dist/chunk-UMPSR4US.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,30 @@
1
+ import { A as ALankaLocator } from '../../../ALankaLocator-BUCCz0Q5.js';
2
+
3
+ /**
4
+ * LankaSingletonLocator configuration.
5
+ */
6
+ interface ILankaSingletonLocatorConfig {
7
+ /** The module holding singleton classes — the consumer's barrel. */
8
+ singletonIndexModule?: Record<string, unknown>;
9
+ }
10
+ /**
11
+ * Resolves singletons by property name (camelCase) or class name (PascalCase),
12
+ * constructing them on first use and caching them.
13
+ *
14
+ * A class arrives either from the consumer's barrel or registered by hand — the
15
+ * latter for tests and for objects that arrive already built.
16
+ */
17
+ declare class LankaSingletonLocator extends ALankaLocator<unknown> {
18
+ private readonly singletonIndexModule?;
19
+ constructor(config?: ILankaSingletonLocatorConfig);
20
+ /**
21
+ * Creates a NEW service object, bypassing the locator's cache.
22
+ *
23
+ * For scopes: they take the class from here and set the lifetime themselves.
24
+ * The root cache is untouched — otherwise the first resolution inside a scope
25
+ * would replace the application's root object.
26
+ */
27
+ createScopedInstance(className: string, propertyName: string): unknown;
28
+ }
29
+
30
+ export { type ILankaSingletonLocatorConfig, LankaSingletonLocator };
@@ -0,0 +1,9 @@
1
+ import {
2
+ LankaSingletonLocator
3
+ } from "../../../chunk-24MUFFHF.js";
4
+ import "../../../chunk-JZJ6GXX3.js";
5
+ import "../../../chunk-N3275IPH.js";
6
+ export {
7
+ LankaSingletonLocator
8
+ };
9
+ //# sourceMappingURL=LankaSingletonLocator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,6 +1,7 @@
1
- import { a as ILankaScenario, T as TLankaReplayRequest, b as ILankaEventMetadata, c as TLankaEventBusMiddleware, d as TLankaEventBusObserver, e as ILankaEventLog, I as ILankaScenarioVM } from '../ILankaScenarioVM-DpKFL3iE.js';
2
- export { f as ILankaEventBusOutcome, g as TLankaEventBusDecision } from '../ILankaScenarioVM-DpKFL3iE.js';
3
- export { I as ILankaScenarioMetadata } from '../ILankaScenarioMetadata-Dj4GCqmX.js';
1
+ import { I as ILankaScenario, T as TLankaReplayRequest, a as ILankaEventMetadata, b as TLankaEventBusMiddleware, c as TLankaEventBusObserver, d as ILankaEventLog } from '../ILankaScenario-DQd9ZfUw.js';
2
+ export { e as ILankaEventBusOutcome, f as TLankaEventBusDecision } from '../ILankaScenario-DQd9ZfUw.js';
3
+ import { I as ILankaScenarioVM } from '../ILankaScenarioVM-DKwjbIRq.js';
4
+ export { I as ILankaScenarioMetadata } from '../ILankaScenarioMetadata-BsDp0Bzm.js';
4
5
 
5
6
  /**
6
7
  * The base of a scenario — a named unit of coordination over the event bus.
@@ -1,8 +1,10 @@
1
1
  import {
2
- ALankaScenario,
3
- lankaEventBus,
4
2
  lankaScenarioBootstrap
5
- } from "../chunk-EYDMBI5T.js";
3
+ } from "../chunk-MKKMTLOY.js";
4
+ import {
5
+ ALankaScenario,
6
+ lankaEventBus
7
+ } from "../chunk-NWEHOMTS.js";
6
8
  import "../chunk-FII3PW2G.js";
7
9
  import "../chunk-7DQUF2QR.js";
8
10
  import "../chunk-XGMXT4XZ.js";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/scenario/_factories/create-lanka-scenario/createLankaScenario.ts"],"sourcesContent":["import { ALankaScenario } from \"../../_abstractions/lanka-scenario/ALankaScenario\";\nimport type { ILankaScenario } from \"../../_interfaces/ILankaScenario\";\n\n/** What a scenario is: three names and nothing else. */\nexport interface ILankaScenarioConfig {\n\t/** The scenario's name, and the key it is found by. */\n\tname: string;\n\t/** The event type on the bus. */\n\teventType: string;\n\t/** The event data's type name — for the bus metadata. */\n\tdataTypeName: string;\n\t/** Opts out of self-registration, as `skipAutoRegistration` does on a class. */\n\tskipAutoRegistration?: boolean;\n}\n\n/**\n * A scenario, without writing a class whose body is data.\n *\n * The class style is right where a scenario has behaviour — an `initialize` that\n * warms something, a `cleanup` that lets go. Most have neither: in the two\n * applications this framework grew out of, every scenario is a class holding\n * three `readonly` fields and nothing else.\n *\n * One implementation: this builds a subclass of `ALankaScenario`, so\n * self-registration, `trigger` and `subscribe` are the same code either way.\n */\nexport const createLankaScenario = <TData = void>(\n\tconfig: ILankaScenarioConfig,\n): ILankaScenario<TData> => {\n\tclass FunctionalScenario extends ALankaScenario<TData> {\n\t\tpublic static override skipAutoRegistration = config.skipAutoRegistration ?? false;\n\n\t\tpublic readonly name = config.name;\n\t\tpublic readonly eventType = config.eventType;\n\t\tpublic readonly dataTypeName = config.dataTypeName;\n\t}\n\n\treturn new FunctionalScenario();\n};\n"],"mappings":";;;;;;;;;;AA0BO,IAAM,sBAAsB,CAClC,WAC2B;AAAA,EAC3B,MAAM,2BAA2B,eAAsB;AAAA,IACtD,OAAuB,uBAAuB,OAAO,wBAAwB;AAAA,IAE7D,OAAO,OAAO;AAAA,IACd,YAAY,OAAO;AAAA,IACnB,eAAe,OAAO;AAAA,EACvC;AAEA,SAAO,IAAI,mBAAmB;AAC/B;","names":[]}
1
+ {"version":3,"sources":["../../src/scenario/_factories/create-lanka-scenario/createLankaScenario.ts"],"sourcesContent":["import { ALankaScenario } from \"../../_abstractions/lanka-scenario/ALankaScenario\";\nimport type { ILankaScenario } from \"../../_interfaces/ILankaScenario\";\n\n/** What a scenario is: three names and nothing else. */\nexport interface ILankaScenarioConfig {\n\t/** The scenario's name, and the key it is found by. */\n\tname: string;\n\t/** The event type on the bus. */\n\teventType: string;\n\t/** The event data's type name — for the bus metadata. */\n\tdataTypeName: string;\n\t/** Opts out of self-registration, as `skipAutoRegistration` does on a class. */\n\tskipAutoRegistration?: boolean;\n}\n\n/**\n * A scenario, without writing a class whose body is data.\n *\n * The class style is right where a scenario has behaviour — an `initialize` that\n * warms something, a `cleanup` that lets go. Most have neither: in the two\n * applications this framework grew out of, every scenario is a class holding\n * three `readonly` fields and nothing else.\n *\n * One implementation: this builds a subclass of `ALankaScenario`, so\n * self-registration, `trigger` and `subscribe` are the same code either way.\n */\nexport const createLankaScenario = <TData = void>(\n\tconfig: ILankaScenarioConfig,\n): ILankaScenario<TData> => {\n\tclass FunctionalScenario extends ALankaScenario<TData> {\n\t\tpublic static override skipAutoRegistration = config.skipAutoRegistration ?? false;\n\n\t\tpublic readonly name = config.name;\n\t\tpublic readonly eventType = config.eventType;\n\t\tpublic readonly dataTypeName = config.dataTypeName;\n\t}\n\n\treturn new FunctionalScenario();\n};\n"],"mappings":";;;;;;;;;;;;AA0BO,IAAM,sBAAsB,CAClC,WAC2B;AAAA,EAC3B,MAAM,2BAA2B,eAAsB;AAAA,IACtD,OAAuB,uBAAuB,OAAO,wBAAwB;AAAA,IAE7D,OAAO,OAAO;AAAA,IACd,YAAY,OAAO;AAAA,IACnB,eAAe,OAAO;AAAA,EACvC;AAEA,SAAO,IAAI,mBAAmB;AAC/B;","names":[]}
@@ -1,19 +1,24 @@
1
- import { c as ILankaPlugin } from '../createLanka-x4oSMs7P.js';
2
- import '../createLankaScope-DomNbEvb.js';
3
- import '../LankaSharedStoreLocator-jsz_gnUm.js';
4
- import '../ALankaSharedStore-B7uepuuk.js';
5
- import 'zustand/vanilla';
6
- import '../activeRuntime-BO-qY0yY.js';
7
- import '../ILankaScenarioVM-DpKFL3iE.js';
8
- import '../LankaScenarioLocator-Dki2Es3O.js';
9
- import '../ILankaScenarioMetadata-Dj4GCqmX.js';
1
+ import { c as ILankaPlugin } from '../createLanka-DvUGu9Hl.js';
2
+ import '../createLankaScope-CVoV0EwO.js';
3
+ import '../locator/singleton/lanka-singleton-locator/LankaSingletonLocator.js';
4
+ import '../ALankaLocator-BUCCz0Q5.js';
5
+ import '../activeRuntime-ByucLPhj.js';
6
+ import '../ILankaScenario-DQd9ZfUw.js';
7
+ import '../LankaScenarioVMRegistry-DySAOaj2.js';
8
+ import '../ILankaScenarioVM-DKwjbIRq.js';
9
+ import '../ILankaScenarioMetadata-BsDp0Bzm.js';
10
+ import '../ILankaRuntimeConfig-Vl436GWK.js';
11
+ import '../lankaHttpInFlight-Bk1eIuSx.js';
12
+ import '../lankaRequestMiddleware-DAC5kCb7.js';
13
+ import '../locator/gateway/lanka-gateway-locator/LankaGatewayLocator.js';
10
14
  import '../ALankaGateway-BrVPaZN5.js';
11
15
  import '../lankaStandardValidator-BUFnysK0.js';
12
16
  import '@standard-schema/spec';
13
17
  import '../ILankaFieldError-D5931-vT.js';
14
- import '../ILankaRuntimeConfig-Vl436GWK.js';
15
- import '../lankaHttpInFlight-Bk1eIuSx.js';
16
- import '../lankaRequestMiddleware-DAC5kCb7.js';
18
+ import '../locator/scenario/lanka-scenario-locator/LankaScenarioLocator.js';
19
+ import '../locator/shared-store/lanka-shared-store-locator/LankaSharedStoreLocator.js';
20
+ import '../ALankaSharedStore-B7uepuuk.js';
21
+ import 'zustand/vanilla';
17
22
 
18
23
  /**
19
24
  * What a subscriber is handed when a named event arrives.
@@ -1,6 +1,7 @@
1
1
  import { I as ILankaReadableVM } from '../ILankaReadableVM-BoPzHEPV.js';
2
- import { a as ILankaScenario, T as TLankaReplayRequest, I as ILankaScenarioVM } from '../ILankaScenarioVM-DpKFL3iE.js';
2
+ import { I as ILankaScenarioVM } from '../ILankaScenarioVM-DKwjbIRq.js';
3
3
  import { StoreApi, StateCreator } from 'zustand';
4
+ import { I as ILankaScenario, T as TLankaReplayRequest } from '../ILankaScenario-DQd9ZfUw.js';
4
5
  import { A as ALankaSharedStore } from '../ALankaSharedStore-B7uepuuk.js';
5
6
  import { StoreApi as StoreApi$1 } from 'zustand/vanilla';
6
7
 
@@ -175,7 +176,7 @@ interface ILankaStatelessScenarioBinding<TData, TState extends object, TGateways
175
176
  usedBy?: string;
176
177
  };
177
178
  }
178
- type TLankaStatelessVMConfig$1<Actions extends object, TGateways extends object = Record<string, never>, Services extends object = Record<string, never>> = {
179
+ type TLankaStatelessVMConfig<Actions extends object, TGateways extends object = Record<string, never>, Services extends object = Record<string, never>> = {
179
180
  name: string;
180
181
  createActions: (ctx: ILankaStatelessVMContext<Actions & ILankaScenarioVM, TGateways, Services>) => Actions;
181
182
  /** A FACTORY is read at bind time — see `TLankaScenarioBindingsDeclaration`. */
@@ -193,22 +194,51 @@ type TLankaStatelessVMConfig$1<Actions extends object, TGateways extends object
193
194
  * resolves to exactly the type the factory returns.
194
195
  */
195
196
  type TLankaStatelessVMHook<Actions extends object> = ILankaReadableVM<Actions & ILankaScenarioVM>;
196
- declare function createStatelessLankaVM<Actions extends object>(config: TLankaStatelessVMConfig$1<Actions, Record<string, never>, Record<string, never>>): ILankaReadableVM<Actions & ILankaScenarioVM>;
197
- declare function createStatelessLankaVM<Actions extends object, Services extends object>(config: TLankaStatelessVMConfig$1<Actions, Record<string, never>, Services>): ILankaReadableVM<Actions & ILankaScenarioVM>;
198
- declare function createStatelessLankaVM<Actions extends object, TGateways extends object>(config: TLankaStatelessVMConfig$1<Actions, TGateways, Record<string, never>>): ILankaReadableVM<Actions & ILankaScenarioVM>;
199
- declare function createStatelessLankaVM<Actions extends object, TGateways extends object, Services extends object>(config: TLankaStatelessVMConfig$1<Actions, TGateways, Services>): ILankaReadableVM<Actions & ILankaScenarioVM>;
197
+ declare function createStatelessLankaVM<Actions extends object>(config: TLankaStatelessVMConfig<Actions, Record<string, never>, Record<string, never>>): ILankaReadableVM<Actions & ILankaScenarioVM>;
198
+ declare function createStatelessLankaVM<Actions extends object, Services extends object>(config: TLankaStatelessVMConfig<Actions, Record<string, never>, Services>): ILankaReadableVM<Actions & ILankaScenarioVM>;
199
+ declare function createStatelessLankaVM<Actions extends object, TGateways extends object>(config: TLankaStatelessVMConfig<Actions, TGateways, Record<string, never>>): ILankaReadableVM<Actions & ILankaScenarioVM>;
200
+ declare function createStatelessLankaVM<Actions extends object, TGateways extends object, Services extends object>(config: TLankaStatelessVMConfig<Actions, TGateways, Services>): ILankaReadableVM<Actions & ILankaScenarioVM>;
200
201
 
201
- type TLankaStatelessVMConfig<Actions extends object, TGateways extends object = Record<string, never>, Services extends object = Record<string, never>> = Omit<ILankaVMConfig<object, Actions, TGateways, Services>, "states"> & {
202
+ /**
203
+ * What the LAZY stateless factory takes, which is not what the eager one takes.
204
+ *
205
+ * This type was called `TLankaStatelessVMConfig` — the same name the eager
206
+ * factory declares and `lanka/viewmodel` publishes — and the two are not the
207
+ * same shape. One name over two types is a surface that cannot be read: a
208
+ * consumer annotating a shared config with the published name and passing it
209
+ * here got a compile error nothing in the published surface explained, and five
210
+ * binding mirrors had to derive their parameter type off this function rather
211
+ * than name it. Renaming costs nothing, because no barrel ever re-exported the
212
+ * duplicate.
213
+ *
214
+ * **Where it genuinely differs, and it is not cosmetic.** The eager config hands
215
+ * `createActions`, `onInit` and `onReset` an `ILankaStatelessVMContext`, whose
216
+ * `set` is `TLankaSetState`. This one is `ILankaVMConfig` with `states` removed,
217
+ * so it hands them the STATEFUL `ILankaVMContext`, whose `set` is zustand's
218
+ * `setState` — including the `replace` argument, on a ViewModel that holds
219
+ * nothing to replace.
220
+ *
221
+ * It also accepts `enhancers` and `enableAccessTrackingOptimization`, which
222
+ * `createStatelessLankaVM` does not read: a stateless ViewModel has no store to
223
+ * enhance and nothing whose reads could be tracked. They are accepted and
224
+ * ignored, and that is worth knowing before writing one.
225
+ *
226
+ * Both are the eager factory's shape leaking through `Omit`, and narrowing this
227
+ * to the eager config would REFUSE configs that compile today — the unsafe move
228
+ * `skills/surface/SKILL.md` §6c names. So the difference is published under its
229
+ * own name instead, where a reader meets it, and closing it belongs to a major.
230
+ */
231
+ type TLankaLazyStatelessVMConfig<Actions extends object, TGateways extends object = Record<string, never>, Services extends object = Record<string, never>> = Omit<ILankaVMConfig<object, Actions, TGateways, Services>, "states"> & {
202
232
  states?: never;
203
233
  };
204
234
  type TLazyStatelessReturn<Actions extends object, TGateways extends object, Services extends object> = ReturnType<typeof createStatelessLankaVM<Actions, TGateways, Services>> & {
205
235
  getState: () => Actions & ILankaScenarioVM;
206
236
  dispose: () => void;
207
237
  };
208
- declare function createLazyStatelessLankaVM<Actions extends object>(config: TLankaStatelessVMConfig<Actions, Record<string, never>, Record<string, never>>): TLazyStatelessReturn<Actions, Record<string, never>, Record<string, never>>;
209
- declare function createLazyStatelessLankaVM<Actions extends object, Services extends object>(config: TLankaStatelessVMConfig<Actions, Record<string, never>, Services>): TLazyStatelessReturn<Actions, Record<string, never>, Services>;
210
- declare function createLazyStatelessLankaVM<Actions extends object, TGateways extends object>(config: TLankaStatelessVMConfig<Actions, TGateways, Record<string, never>>): TLazyStatelessReturn<Actions, TGateways, Record<string, never>>;
211
- declare function createLazyStatelessLankaVM<Actions extends object, TGateways extends object, Services extends object>(config: TLankaStatelessVMConfig<Actions, TGateways, Services>): TLazyStatelessReturn<Actions, TGateways, Services>;
238
+ declare function createLazyStatelessLankaVM<Actions extends object>(config: TLankaLazyStatelessVMConfig<Actions, Record<string, never>, Record<string, never>>): TLazyStatelessReturn<Actions, Record<string, never>, Record<string, never>>;
239
+ declare function createLazyStatelessLankaVM<Actions extends object, Services extends object>(config: TLankaLazyStatelessVMConfig<Actions, Record<string, never>, Services>): TLazyStatelessReturn<Actions, Record<string, never>, Services>;
240
+ declare function createLazyStatelessLankaVM<Actions extends object, TGateways extends object>(config: TLankaLazyStatelessVMConfig<Actions, TGateways, Record<string, never>>): TLazyStatelessReturn<Actions, TGateways, Record<string, never>>;
241
+ declare function createLazyStatelessLankaVM<Actions extends object, TGateways extends object, Services extends object>(config: TLankaLazyStatelessVMConfig<Actions, TGateways, Services>): TLazyStatelessReturn<Actions, TGateways, Services>;
212
242
 
213
243
  interface ILankaSharedStoreVMContext<TStoreState extends object, TFullState extends object, TStore extends ALankaSharedStore<TStoreState>, TGateways extends object, TServices extends object> {
214
244
  set: StoreApi$1<TStoreState>["setState"];
@@ -673,4 +703,4 @@ type TLankaVMStateCreator<TFullState> = StateCreator<TFullState, TLankaAnyMutato
673
703
 
674
704
  type TLankaSharedStoreSetState<TState extends object> = (partial: TState | Partial<TState> | ((state: TState) => TState | Partial<TState>), replace?: boolean) => void;
675
705
 
676
- export { ALankaSharedStore, ALankaSharedStoreVM, ALankaStatelessVM, ALankaVM, ILankaReadableVM, type ILankaScenarioBinding, type ILankaSharedStoreScenarioBinding, type ILankaSharedStoreVM, type ILankaSharedStoreVMConfig, type ILankaSharedStoreVMContext, type ILankaStatelessScenarioBinding, type ILankaStatelessVMContext, type ILankaVM, type ILankaVMConfig, type ILankaVMContext, type TLankaAnyMutators, type TLankaSetState, type TLankaSharedStoreSetState, type TLankaSharedStoreVMHook, type TLankaStatelessVMConfig$1 as TLankaStatelessVMConfig, type TLankaStatelessVMHook, type TLankaVMEnhancer, type TLankaVMStateCreator, type TLazyLankaVM, type TUnknownLankaScenarioBinding, createLankaShallowHold, createLankaSharedStore, createLankaVM, createLazyLankaVM, createLazySharedStoreLankaVM, createLazyStatelessLankaVM, createSharedStoreLankaVM, createStatelessLankaVM };
706
+ export { ALankaSharedStore, ALankaSharedStoreVM, ALankaStatelessVM, ALankaVM, ILankaReadableVM, type ILankaScenarioBinding, type ILankaSharedStoreScenarioBinding, type ILankaSharedStoreVM, type ILankaSharedStoreVMConfig, type ILankaSharedStoreVMContext, type ILankaStatelessScenarioBinding, type ILankaStatelessVMContext, type ILankaVM, type ILankaVMConfig, type ILankaVMContext, type TLankaAnyMutators, type TLankaLazyStatelessVMConfig, type TLankaSetState, type TLankaSharedStoreSetState, type TLankaSharedStoreVMHook, type TLankaStatelessVMConfig, type TLankaStatelessVMHook, type TLankaVMEnhancer, type TLankaVMStateCreator, type TLazyLankaVM, type TUnknownLankaScenarioBinding, createLankaShallowHold, createLankaSharedStore, createLankaVM, createLazyLankaVM, createLazySharedStoreLankaVM, createLazyStatelessLankaVM, createSharedStoreLankaVM, createStatelessLankaVM };
@@ -3,7 +3,8 @@ import {
3
3
  } from "../chunk-UDP6IXDS.js";
4
4
  import {
5
5
  lankaScenarioBootstrap
6
- } from "../chunk-EYDMBI5T.js";
6
+ } from "../chunk-MKKMTLOY.js";
7
+ import "../chunk-NWEHOMTS.js";
7
8
  import {
8
9
  lankaLogger
9
10
  } from "../chunk-FII3PW2G.js";