@ngrx/store-devtools 14.1.0 → 14.3.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.
- package/esm2020/src/index.mjs +2 -1
- package/esm2020/src/instrument.mjs +4 -53
- package/esm2020/src/provide-store-devtools.mjs +74 -0
- package/fesm2015/ngrx-store-devtools.mjs +273 -251
- package/fesm2015/ngrx-store-devtools.mjs.map +1 -1
- package/fesm2020/ngrx-store-devtools.mjs +275 -253
- package/fesm2020/ngrx-store-devtools.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics-core/index.js +3 -1
- package/schematics-core/index.js.map +1 -1
- package/schematics-core/utility/decorators.js +15 -0
- package/schematics-core/utility/decorators.js.map +1 -0
- package/schematics-core/utility/libs-version.js +1 -1
- package/schematics-core/utility/libs-version.js.map +1 -1
- package/schematics-core/utility/visitors.js +4 -3
- package/schematics-core/utility/visitors.js.map +1 -1
- package/src/index.d.ts +1 -0
- package/src/instrument.d.ts +2 -6
- package/src/provide-store-devtools.d.ts +24 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { ReduxDevtoolsExtension } from './extension';
|
|
3
|
+
import { StoreDevtoolsConfig, StoreDevtoolsOptions } from './config';
|
|
4
|
+
import { EnvironmentProviders } from '@ngrx/store';
|
|
5
|
+
export declare const IS_EXTENSION_OR_MONITOR_PRESENT: InjectionToken<boolean>;
|
|
6
|
+
export declare function createIsExtensionOrMonitorPresent(extension: ReduxDevtoolsExtension | null, config: StoreDevtoolsConfig): boolean;
|
|
7
|
+
export declare function createReduxDevtoolsExtension(): any;
|
|
8
|
+
/**
|
|
9
|
+
* Provides developer tools and instrumentation for `Store`.
|
|
10
|
+
*
|
|
11
|
+
* @usageNotes
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* bootstrapApplication(AppComponent, {
|
|
15
|
+
* providers: [
|
|
16
|
+
* provideStoreDevtools({
|
|
17
|
+
* maxAge: 25,
|
|
18
|
+
* logOnly: environment.production,
|
|
19
|
+
* }),
|
|
20
|
+
* ],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function provideStoreDevtools(options?: StoreDevtoolsOptions): EnvironmentProviders;
|