@ngxs/store 19.0.0-dev.master-f0409e4 → 19.0.0-dev.master-6b0346e

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
@@ -275,12 +275,13 @@ declare function SelectorOptions(options: _SharedSelectorOptions): ClassDecorato
275
275
  /**
276
276
  * Status of a dispatched action
277
277
  */
278
- declare const enum ActionStatus {
279
- Dispatched = "DISPATCHED",
280
- Successful = "SUCCESSFUL",
281
- Canceled = "CANCELED",
282
- Errored = "ERRORED"
283
- }
278
+ declare const ActionStatus: {
279
+ readonly Dispatched: "DISPATCHED";
280
+ readonly Successful: "SUCCESSFUL";
281
+ readonly Canceled: "CANCELED";
282
+ readonly Errored: "ERRORED";
283
+ };
284
+ type ActionStatus = (typeof ActionStatus)[keyof typeof ActionStatus];
284
285
  interface ActionContext<T = any> {
285
286
  status: ActionStatus;
286
287
  action: T;
@@ -622,4 +623,5 @@ declare function lazyProvider(factory: () => Promise<EnvironmentProviders | Defa
622
623
 
623
624
  declare function ɵprovideNgxsInternalStateTokens(): i0.EnvironmentProviders;
624
625
 
625
- export { Action, type ActionCompletion, type ActionContext, type ActionDef, type ActionMap, ActionStatus, type ActionType, Actions, type NgxsAfterBootstrap, NgxsConfig, NgxsDevelopmentModule, type NgxsDevelopmentOptions, NgxsModule, type NgxsModuleOptions, type NgxsOnChanges, type NgxsOnInit, NgxsSimpleChange, NgxsUnhandledActionsLogger, type NgxsUnhandledErrorContext, NgxsUnhandledErrorHandler, type PropertySelectors, Select, Selector, type SelectorMap, SelectorOptions, State, type StateContext, Store, type TypedSelector, createDispatchMap, createModelSelector, createPickSelector, createPropertySelectors, createSelectMap, createSelector, dispatch, lazyProvider, 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 };
626
+ export { Action, ActionStatus, Actions, NgxsConfig, NgxsDevelopmentModule, NgxsModule, NgxsSimpleChange, NgxsUnhandledActionsLogger, NgxsUnhandledErrorHandler, Select, Selector, SelectorOptions, State, Store, createDispatchMap, createModelSelector, createPickSelector, createPropertySelectors, createSelectMap, createSelector, dispatch, lazyProvider, ofAction, ofActionCanceled, ofActionCompleted, ofActionDispatched, ofActionErrored, ofActionSuccessful, provideStates, provideStore, select, withNgxsDevelopmentOptions, withNgxsPendingTasks, withNgxsPlugin, withNgxsPreboot, NgxsFeatureModule as ɵNgxsFeatureModule, NgxsRootModule as ɵNgxsRootModule, ɵprovideNgxsInternalStateTokens };
627
+ export type { ActionCompletion, ActionContext, ActionDef, ActionMap, ActionType, NgxsAfterBootstrap, NgxsDevelopmentOptions, NgxsModuleOptions, NgxsOnChanges, NgxsOnInit, NgxsUnhandledErrorContext, PropertySelectors, SelectorMap, StateContext, TypedSelector, ɵSelectorDef, ɵSelectorFunc, ɵSelectorReturnType, ɵStateSelector };
@@ -214,4 +214,5 @@ declare class ɵNgxsActionRegistry {
214
214
  static ɵprov: i0.ɵɵInjectableDeclaration<ɵNgxsActionRegistry>;
215
215
  }
216
216
 
217
- export { StateToken, type ɵActionHandlerMetaData, type ɵActionOptions, type ɵExtractTokenType, ɵINITIAL_STATE_TOKEN, ɵInitialState, ɵMETA_KEY, ɵMETA_OPTIONS_KEY, type ɵMetaDataModel, ɵNGXS_STATE_CONTEXT_FACTORY, ɵNGXS_STATE_FACTORY, ɵNgxsActionRegistry, ɵNgxsAppBootstrappedState, ɵOrderedBehaviorSubject, ɵOrderedSubject, type ɵPlainObject, type ɵPlainObjectOf, type ɵRuntimeSelectorContext, ɵSELECTOR_META_KEY, type ɵSelectFromRootState, type ɵSelectorFactory, type ɵSelectorMetaDataModel, type ɵSharedSelectorOptions, type ɵStateClass, type ɵStateClassInternal, ɵStateStream, type ɵStateToken, type ɵStoreOptions, type ɵTokenName, ɵdefineProperty, ɵensureSelectorMetadata, ɵensureStoreMetadata, ɵgetSelectorMetadata, ɵgetStoreMetadata, ɵhasOwnProperty, ɵmemoize, ɵwrapObserverCalls };
217
+ export { StateToken, ɵINITIAL_STATE_TOKEN, ɵInitialState, ɵMETA_KEY, ɵMETA_OPTIONS_KEY, ɵNGXS_STATE_CONTEXT_FACTORY, ɵNGXS_STATE_FACTORY, ɵNgxsActionRegistry, ɵNgxsAppBootstrappedState, ɵOrderedBehaviorSubject, ɵOrderedSubject, ɵSELECTOR_META_KEY, ɵStateStream, ɵdefineProperty, ɵensureSelectorMetadata, ɵensureStoreMetadata, ɵgetSelectorMetadata, ɵgetStoreMetadata, ɵhasOwnProperty, ɵmemoize, ɵwrapObserverCalls };
218
+ export type { ɵActionHandlerMetaData, ɵActionOptions, ɵExtractTokenType, ɵMetaDataModel, ɵPlainObject, ɵPlainObjectOf, ɵRuntimeSelectorContext, ɵSelectFromRootState, ɵSelectorFactory, ɵSelectorMetaDataModel, ɵSharedSelectorOptions, ɵStateClass, ɵStateClassInternal, ɵStateToken, ɵStoreOptions, ɵTokenName };
@@ -1,4 +1,4 @@
1
- import { Store, NgxsModuleOptions } from '@ngxs/store';
1
+ import { NgxsModuleOptions, Store } from '@ngxs/store';
2
2
  import * as i0 from '@angular/core';
3
3
  import { ModuleWithProviders, EnvironmentProviders } from '@angular/core';
4
4
  import { TestBedStatic } from '@angular/core/testing';
@@ -70,4 +70,5 @@ declare class NgxsActionCollector {
70
70
  static ɵprov: i0.ɵɵInjectableDeclaration<NgxsActionCollector>;
71
71
  }
72
72
 
73
- export { type ConsoleRecord, type ConsoleRecorder, NgxsActionCollector, NgxsTestBed, type NgxsTesting, freshPlatform, loggedError, skipConsoleLogging };
73
+ export { NgxsActionCollector, NgxsTestBed, freshPlatform, loggedError, skipConsoleLogging };
74
+ export type { ConsoleRecord, ConsoleRecorder, NgxsTesting };
@@ -99,4 +99,5 @@ declare function updateItem<T>(selector: number | NoInfer<Predicate<T>>, operato
99
99
  */
100
100
  declare function removeItem<T>(selector: number | NoInfer<Predicate<T>>): StateOperator<T[]>;
101
101
 
102
- export { type ExistingState, type NoInfer, type Predicate, type StateOperator, append, compose, iif, insertItem, isPredicate, isStateOperator, patch, removeItem, updateItem, type ɵPatchSpec };
102
+ export { append, compose, iif, insertItem, isPredicate, isStateOperator, patch, removeItem, updateItem };
103
+ export type { ExistingState, NoInfer, Predicate, StateOperator, ɵPatchSpec };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngxs/store",
3
- "version": "19.0.0-dev.master-f0409e4",
3
+ "version": "19.0.0-dev.master-6b0346e",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -66,4 +66,5 @@ declare const setValue: (obj: any, prop: string, val: any) => any;
66
66
  */
67
67
  declare const getValue: (obj: any, prop: string) => any;
68
68
 
69
- export { InitState, NGXS_PLUGINS, type NgxsNextPluginFn, type NgxsPlugin, type NgxsPluginFn, UpdateState, actionMatcher, getActionTypeFromInstance, getValue, setValue, ɵisPluginClass };
69
+ export { InitState, NGXS_PLUGINS, UpdateState, actionMatcher, getActionTypeFromInstance, getValue, setValue, ɵisPluginClass };
70
+ export type { NgxsNextPluginFn, NgxsPlugin, NgxsPluginFn };