@ngxs/store
Advanced tools
Comparing version 18.1.1 to 18.1.2-dev.master-cbc269d
export { freshPlatform } from './fresh-platform'; | ||
export { NgxsTestBed } from './ngxs.setup'; | ||
export { skipConsoleLogging } from './skip-console-logging'; | ||
export { skipConsoleLogging, ConsoleRecord, ConsoleRecorder, loggedError } from './skip-console-logging'; | ||
export { NgxsTesting } from './symbol'; |
@@ -1,1 +0,4 @@ | ||
export declare function skipConsoleLogging<T extends (...args: any[]) => any>(fn: T): ReturnType<T>; | ||
export type ConsoleRecord = [string, any[]]; | ||
export type ConsoleRecorder = ConsoleRecord[]; | ||
export declare function loggedError(message: string): ConsoleRecord; | ||
export declare function skipConsoleLogging<T extends (...args: any[]) => any>(fn: T, consoleRecorder?: ConsoleRecorder): ReturnType<T>; |
{ | ||
"name": "@ngxs/store", | ||
"version": "18.1.1", | ||
"version": "18.1.2-dev.master-cbc269d", | ||
"license": "MIT", | ||
@@ -35,2 +35,8 @@ "sideEffects": false, | ||
}, | ||
"./operators": { | ||
"types": "./operators/index.d.ts", | ||
"esm2022": "./esm2022/operators/ngxs-store-operators.mjs", | ||
"esm": "./esm2022/operators/ngxs-store-operators.mjs", | ||
"default": "./fesm2022/ngxs-store-operators.mjs" | ||
}, | ||
"./plugins": { | ||
@@ -42,8 +48,2 @@ "types": "./plugins/index.d.ts", | ||
}, | ||
"./operators": { | ||
"types": "./operators/index.d.ts", | ||
"esm2022": "./esm2022/operators/ngxs-store-operators.mjs", | ||
"esm": "./esm2022/operators/ngxs-store-operators.mjs", | ||
"default": "./fesm2022/ngxs-store-operators.mjs" | ||
}, | ||
"./internals/testing": { | ||
@@ -102,2 +102,2 @@ "types": "./internals/testing/index.d.ts", | ||
} | ||
} | ||
} |
@@ -15,2 +15,3 @@ <p align="center"> | ||
- ✨ Learn about it on the [docs site](https://ngxs.io/) | ||
- 💬 Chat with us on [Discord](https://discord.gg/yT3Q8cXTnz) | ||
- 🚀 See it in action on [Stackblitz](https://stackblitz.com/edit/ngxs-repro) | ||
@@ -17,0 +18,0 @@ - 😎 Checkout the [sample application](https://github.com/ngxs/store/tree/master/integration) |
{ | ||
"@ngxs/store": "18.1.1" | ||
"@ngxs/store": "18.1.2" | ||
} |
import { OnDestroy } from '@angular/core'; | ||
import { ɵOrderedSubject } from '@ngxs/store/internals'; | ||
import { Observable } from 'rxjs'; | ||
import { Observable, Subject } from 'rxjs'; | ||
import { InternalNgxsExecutionStrategy } from './execution/internal-ngxs-execution-strategy'; | ||
@@ -24,2 +24,4 @@ import * as i0 from "@angular/core"; | ||
export declare class InternalActions extends ɵOrderedSubject<ActionContext> implements OnDestroy { | ||
readonly dispatched$: Subject<ActionContext<any>>; | ||
constructor(); | ||
ngOnDestroy(): void; | ||
@@ -26,0 +28,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<InternalActions, never>; |
import { StateContext } from '../symbols'; | ||
import { MappedStore } from '../internal/internals'; | ||
import { InternalStateOperations } from '../internal/state-operations'; | ||
@@ -15,5 +14,5 @@ import * as i0 from "@angular/core"; | ||
*/ | ||
createStateContext<T>(mappedStore: MappedStore): StateContext<T>; | ||
createStateContext<T>(path: string): StateContext<T>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<StateContextFactory, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<StateContextFactory>; | ||
} |
@@ -1,9 +0,4 @@ | ||
import { Injector, OnDestroy } from '@angular/core'; | ||
import { OnDestroy } from '@angular/core'; | ||
import { ɵStateClassInternal, ɵRuntimeSelectorContext } from '@ngxs/store/internals'; | ||
import { Observable } from 'rxjs'; | ||
import { NgxsConfig } from '../symbols'; | ||
import { MappedStore, StatesAndDefaults, StatesByName } from './internals'; | ||
import { ActionContext, InternalActions } from '../actions-stream'; | ||
import { InternalDispatchedActionResults } from '../internal/dispatcher'; | ||
import { StateContextFactory } from '../internal/state-context-factory'; | ||
import * as i0 from "@angular/core"; | ||
@@ -24,13 +19,13 @@ /** | ||
export declare class StateFactory implements OnDestroy { | ||
private _injector; | ||
private _config; | ||
private _parentFactory; | ||
private _actions; | ||
private _actionResults; | ||
private _stateContextFactory; | ||
private _initialState; | ||
private readonly _injector; | ||
private readonly _config; | ||
private readonly _parentFactory; | ||
private readonly _stateContextFactory; | ||
private readonly _actions; | ||
private readonly _actionResults; | ||
private readonly _initialState; | ||
private readonly _actionRegistry; | ||
private readonly _propGetter; | ||
private _actionsSubscription; | ||
private _propGetter; | ||
private _ngxsUnhandledErrorHandler; | ||
constructor(_injector: Injector, _config: NgxsConfig, _parentFactory: StateFactory, _actions: InternalActions, _actionResults: InternalDispatchedActionResults, _stateContextFactory: StateContextFactory, _initialState: any); | ||
private _states; | ||
@@ -56,8 +51,9 @@ get states(): MappedStore[]; | ||
*/ | ||
invokeActions(dispatched$: Observable<ActionContext>, action: any): Observable<[any]>; | ||
invokeActions(action: any): import("rxjs").Observable<[void | Promise<void> | import("rxjs").Observable<unknown>]>; | ||
private addToStatesMap; | ||
private addRuntimeInfoToMeta; | ||
private hasBeenMountedAndBootstrapped; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<StateFactory, [null, null, { optional: true; skipSelf: true; }, null, null, null, { optional: true; }]>; | ||
private hydrateActionMetasMap; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<StateFactory, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<StateFactory>; | ||
} |
@@ -1,13 +0,13 @@ | ||
import { NgxsPlugin, NgxsPluginFn } from '@ngxs/store/plugins'; | ||
import { NgxsPluginFn } from '@ngxs/store/plugins'; | ||
import * as i0 from "@angular/core"; | ||
export declare class PluginManager { | ||
private _parentManager; | ||
private _pluginHandlers; | ||
plugins: NgxsPluginFn[]; | ||
constructor(_parentManager: PluginManager, _pluginHandlers: NgxsPlugin[]); | ||
private get rootPlugins(); | ||
readonly plugins: NgxsPluginFn[]; | ||
private readonly _parentManager; | ||
private readonly _pluginHandlers; | ||
constructor(); | ||
private get _rootPlugins(); | ||
private registerHandlers; | ||
private getPluginHandlers; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PluginManager, [{ optional: true; skipSelf: true; }, { optional: true; }]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PluginManager, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<PluginManager>; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1040255
293
9135
20
17
1
38
0
156