@ngxs/store 19.0.0-dev.master-84d0061 → 19.0.0-dev.master-235f969

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/index.d.ts CHANGED
@@ -105,9 +105,7 @@ interface NgxsOnChanges {
105
105
  interface NgxsAfterBootstrap {
106
106
  ngxsAfterBootstrap(ctx: StateContext<any>): void;
107
107
  }
108
- type NgxsModuleOptions = Partial<NgxsConfig> & {
109
- executionStrategy: Type<NgxsExecutionStrategy>;
110
- };
108
+ type NgxsModuleOptions = Partial<NgxsConfig>;
111
109
 
112
110
  /**
113
111
  * @ignore
@@ -130,7 +128,7 @@ declare class NgxsFeatureModule {
130
128
  }
131
129
 
132
130
  declare class NgxsModule {
133
- static forRoot(states: _StateClass[] | undefined, options: NgxsModuleOptions): ModuleWithProviders<NgxsRootModule>;
131
+ static forRoot(states?: _StateClass[], options?: NgxsModuleOptions): ModuleWithProviders<NgxsRootModule>;
134
132
  static forFeature(states?: _StateClass[]): ModuleWithProviders<NgxsFeatureModule>;
135
133
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxsModule, never>;
136
134
  static ɵmod: i0.ɵɵNgModuleDeclaration<NgxsModule, never, never, never>;
@@ -450,17 +448,6 @@ declare function Selector(): SelectorType<unknown>;
450
448
  */
451
449
  declare function Selector<T extends SelectorDefTuple>(selectors: T): SelectorType<T>;
452
450
 
453
- declare class DispatchOutsideZoneNgxsExecutionStrategy implements NgxsExecutionStrategy {
454
- private _ngZone;
455
- constructor();
456
- enter<T>(func: () => T): T;
457
- leave<T>(func: () => T): T;
458
- private runInsideAngular;
459
- private runOutsideAngular;
460
- static ɵfac: i0.ɵɵFactoryDeclaration<DispatchOutsideZoneNgxsExecutionStrategy, never>;
461
- static ɵprov: i0.ɵɵInjectableDeclaration<DispatchOutsideZoneNgxsExecutionStrategy>;
462
- }
463
-
464
451
  declare class NoopNgxsExecutionStrategy implements NgxsExecutionStrategy {
465
452
  enter<T>(func: () => T): T;
466
453
  leave<T>(func: () => T): T;
@@ -540,7 +527,8 @@ declare function withNgxsPendingTasks(): i0.EnvironmentProviders;
540
527
  * });
541
528
  * ```
542
529
  */
543
- declare function provideStore(states: _StateClass[] | undefined, options: NgxsModuleOptions, ...features: EnvironmentProviders[]): EnvironmentProviders;
530
+ declare function provideStore(states?: _StateClass[], ...features: EnvironmentProviders[]): EnvironmentProviders;
531
+ declare function provideStore(states?: _StateClass[], options?: NgxsModuleOptions, ...features: EnvironmentProviders[]): EnvironmentProviders;
544
532
 
545
533
  /**
546
534
  * This version serves as a standalone alternative to `NgxsModule.forFeature`.
@@ -622,4 +610,4 @@ declare function createDispatchMap<T extends ActionMap>(actionMap: T): { readonl
622
610
 
623
611
  declare function ɵprovideNgxsInternalStateTokens(): i0.EnvironmentProviders;
624
612
 
625
- export { Action, type ActionCompletion, type ActionContext, type ActionDef, type ActionMap, ActionStatus, type ActionType, Actions, DispatchOutsideZoneNgxsExecutionStrategy, type NgxsAfterBootstrap, NgxsConfig, NgxsDevelopmentModule, type NgxsDevelopmentOptions, type NgxsExecutionStrategy, NgxsModule, type NgxsModuleOptions, type NgxsOnChanges, type NgxsOnInit, NgxsSimpleChange, NgxsUnhandledActionsLogger, type NgxsUnhandledErrorContext, NgxsUnhandledErrorHandler, NoopNgxsExecutionStrategy, type PropertySelectors, Select, Selector, type SelectorMap, SelectorOptions, State, type StateContext, Store, type TypedSelector, createDispatchMap, createModelSelector, createPickSelector, createPropertySelectors, createSelectMap, createSelector, dispatch, ofAction, ofActionCanceled, ofActionCompleted, ofActionDispatched, ofActionErrored, ofActionSuccessful, provideStates, provideStore, select, withNgxsDevelopmentOptions, withNgxsPendingTasks, withNgxsPlugin, withNgxsPreboot, NgxsFeatureModule as ɵNgxsFeatureModule, NgxsRootModule as ɵNgxsRootModule, type ɵSelectorDef, type ɵSelectorFunc, type ɵSelectorReturnType, type ɵStateSelector, ɵprovideNgxsInternalStateTokens };
613
+ export { Action, type ActionCompletion, type ActionContext, type ActionDef, type ActionMap, ActionStatus, type ActionType, Actions, type NgxsAfterBootstrap, NgxsConfig, NgxsDevelopmentModule, type NgxsDevelopmentOptions, type NgxsExecutionStrategy, NgxsModule, type NgxsModuleOptions, type NgxsOnChanges, type NgxsOnInit, NgxsSimpleChange, NgxsUnhandledActionsLogger, type NgxsUnhandledErrorContext, NgxsUnhandledErrorHandler, NoopNgxsExecutionStrategy, type PropertySelectors, Select, Selector, type SelectorMap, SelectorOptions, State, type StateContext, Store, type TypedSelector, createDispatchMap, createModelSelector, createPickSelector, createPropertySelectors, createSelectMap, createSelector, dispatch, ofAction, ofActionCanceled, ofActionCompleted, ofActionDispatched, ofActionErrored, ofActionSuccessful, provideStates, provideStore, select, withNgxsDevelopmentOptions, withNgxsPendingTasks, withNgxsPlugin, withNgxsPreboot, NgxsFeatureModule as ɵNgxsFeatureModule, NgxsRootModule as ɵNgxsRootModule, type ɵSelectorDef, type ɵSelectorFunc, type ɵSelectorReturnType, type ɵStateSelector, ɵprovideNgxsInternalStateTokens };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngxs/store",
3
- "version": "19.0.0-dev.master-84d0061",
3
+ "version": "19.0.0-dev.master-235f969",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {