UNPKG

2.76 kBTypeScriptView Raw
1import { Action } from '@ngrx/store';
2export declare const PERFORM_ACTION = "PERFORM_ACTION";
3export declare const REFRESH = "REFRESH";
4export declare const RESET = "RESET";
5export declare const ROLLBACK = "ROLLBACK";
6export declare const COMMIT = "COMMIT";
7export declare const SWEEP = "SWEEP";
8export declare const TOGGLE_ACTION = "TOGGLE_ACTION";
9export declare const SET_ACTIONS_ACTIVE = "SET_ACTIONS_ACTIVE";
10export declare const JUMP_TO_STATE = "JUMP_TO_STATE";
11export declare const JUMP_TO_ACTION = "JUMP_TO_ACTION";
12export declare const IMPORT_STATE = "IMPORT_STATE";
13export declare const LOCK_CHANGES = "LOCK_CHANGES";
14export declare const PAUSE_RECORDING = "PAUSE_RECORDING";
15export declare class PerformAction implements Action {
16 action: Action;
17 timestamp: number;
18 readonly type = "PERFORM_ACTION";
19 constructor(action: Action, timestamp: number);
20}
21export declare class Refresh implements Action {
22 readonly type = "REFRESH";
23}
24export declare class Reset implements Action {
25 timestamp: number;
26 readonly type = "RESET";
27 constructor(timestamp: number);
28}
29export declare class Rollback implements Action {
30 timestamp: number;
31 readonly type = "ROLLBACK";
32 constructor(timestamp: number);
33}
34export declare class Commit implements Action {
35 timestamp: number;
36 readonly type = "COMMIT";
37 constructor(timestamp: number);
38}
39export declare class Sweep implements Action {
40 readonly type = "SWEEP";
41}
42export declare class ToggleAction implements Action {
43 id: number;
44 readonly type = "TOGGLE_ACTION";
45 constructor(id: number);
46}
47export declare class SetActionsActive implements Action {
48 start: number;
49 end: number;
50 active: boolean;
51 readonly type = "SET_ACTIONS_ACTIVE";
52 constructor(start: number, end: number, active?: boolean);
53}
54export declare class JumpToState implements Action {
55 index: number;
56 readonly type = "JUMP_TO_STATE";
57 constructor(index: number);
58}
59export declare class JumpToAction implements Action {
60 actionId: number;
61 readonly type = "JUMP_TO_ACTION";
62 constructor(actionId: number);
63}
64export declare class ImportState implements Action {
65 nextLiftedState: any;
66 readonly type = "IMPORT_STATE";
67 constructor(nextLiftedState: any);
68}
69export declare class LockChanges implements Action {
70 status: boolean;
71 readonly type = "LOCK_CHANGES";
72 constructor(status: boolean);
73}
74export declare class PauseRecording implements Action {
75 status: boolean;
76 readonly type = "PAUSE_RECORDING";
77 constructor(status: boolean);
78}
79export declare type All = PerformAction | Refresh | Reset | Rollback | Commit | Sweep | ToggleAction | SetActionsActive | JumpToState | JumpToAction | ImportState | LockChanges | PauseRecording;