1 | import { ActionReducer, Action } from '@ngrx/store';
|
2 | import { InjectionToken } from '@angular/core';
|
3 | export declare type ActionSanitizer = (action: Action, id: number) => Action;
|
4 | export declare type StateSanitizer = (state: any, index: number) => any;
|
5 | export declare type SerializationOptions = {
|
6 | options?: boolean | any;
|
7 | replacer?: (key: any, value: any) => {};
|
8 | reviver?: (key: any, value: any) => {};
|
9 | immutable?: any;
|
10 | refs?: Array<any>;
|
11 | };
|
12 | export declare type Predicate = (state: any, action: Action) => boolean;
|
13 | export interface DevToolsFeatureOptions {
|
14 | pause?: boolean;
|
15 | lock?: boolean;
|
16 | persist?: boolean;
|
17 | export?: boolean;
|
18 | import?: 'custom' | boolean;
|
19 | jump?: boolean;
|
20 | skip?: boolean;
|
21 | reorder?: boolean;
|
22 | dispatch?: boolean;
|
23 | test?: boolean;
|
24 | }
|
25 | export declare class StoreDevtoolsConfig {
|
26 | maxAge: number | false;
|
27 | monitor?: ActionReducer<any, any>;
|
28 | actionSanitizer?: ActionSanitizer;
|
29 | stateSanitizer?: StateSanitizer;
|
30 | name?: string;
|
31 | serialize?: boolean | SerializationOptions;
|
32 | logOnly?: boolean;
|
33 | features?: DevToolsFeatureOptions;
|
34 | actionsBlocklist?: string[];
|
35 | actionsSafelist?: string[];
|
36 | predicate?: Predicate;
|
37 | }
|
38 | export declare const STORE_DEVTOOLS_CONFIG: InjectionToken<StoreDevtoolsConfig>;
|
39 | export declare const INITIAL_OPTIONS: InjectionToken<StoreDevtoolsConfig>;
|
40 | export declare type StoreDevtoolsOptions = Partial<StoreDevtoolsConfig> | (() => Partial<StoreDevtoolsConfig>);
|
41 | export declare function noMonitor(): null;
|
42 | export declare const DEFAULT_NAME = "NgRx Store DevTools";
|
43 | export declare function createConfig(optionsInput: StoreDevtoolsOptions): StoreDevtoolsConfig;
|
44 |
|
\ | No newline at end of file |