@ricsam/formula-engine 0.0.16 → 0.0.18
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/dist/cjs/core/api/api-builder.cjs +67 -0
- package/dist/cjs/core/api/api-builder.cjs.map +10 -0
- package/dist/cjs/core/api/api-helpers.cjs +191 -0
- package/dist/cjs/core/api/api-helpers.cjs.map +10 -0
- package/dist/cjs/core/api/api.cjs +65 -0
- package/dist/cjs/core/api/api.cjs.map +10 -0
- package/dist/cjs/core/api/cell-orm.cjs +80 -0
- package/dist/cjs/core/api/cell-orm.cjs.map +10 -0
- package/dist/cjs/core/api/table-orm.cjs +171 -0
- package/dist/cjs/core/api/table-orm.cjs.map +10 -0
- package/dist/cjs/core/autofill-utils.cjs +75 -39
- package/dist/cjs/core/autofill-utils.cjs.map +3 -3
- package/dist/cjs/core/cell-mover.cjs +178 -0
- package/dist/cjs/core/cell-mover.cjs.map +10 -0
- package/dist/cjs/core/commands/command-executor.cjs +140 -0
- package/dist/cjs/core/commands/command-executor.cjs.map +10 -0
- package/dist/cjs/core/commands/content-commands.cjs +574 -0
- package/dist/cjs/core/commands/content-commands.cjs.map +10 -0
- package/dist/cjs/core/commands/index.cjs +95 -0
- package/dist/cjs/core/commands/index.cjs.map +10 -0
- package/dist/cjs/core/commands/metadata-commands.cjs +150 -0
- package/dist/cjs/core/commands/metadata-commands.cjs.map +10 -0
- package/dist/cjs/core/commands/named-expression-commands.cjs +238 -0
- package/dist/cjs/core/commands/named-expression-commands.cjs.map +10 -0
- package/dist/cjs/core/commands/structure-commands.cjs +495 -0
- package/dist/cjs/core/commands/structure-commands.cjs.map +10 -0
- package/dist/cjs/core/commands/style-commands.cjs +219 -0
- package/dist/cjs/core/commands/style-commands.cjs.map +10 -0
- package/dist/cjs/core/commands/table-commands.cjs +226 -0
- package/dist/cjs/core/commands/table-commands.cjs.map +10 -0
- package/dist/cjs/core/commands/types.cjs +72 -0
- package/dist/cjs/core/commands/types.cjs.map +10 -0
- package/dist/cjs/core/engine.cjs +218 -263
- package/dist/cjs/core/engine.cjs.map +3 -3
- package/dist/cjs/core/managers/api-schema-manager.cjs +304 -0
- package/dist/cjs/core/managers/api-schema-manager.cjs.map +10 -0
- package/dist/cjs/core/managers/copy-manager.cjs +336 -82
- package/dist/cjs/core/managers/copy-manager.cjs.map +3 -3
- package/dist/cjs/core/managers/reference-manager.cjs +124 -0
- package/dist/cjs/core/managers/reference-manager.cjs.map +10 -0
- package/dist/cjs/core/managers/style-manager.cjs +115 -147
- package/dist/cjs/core/managers/style-manager.cjs.map +3 -3
- package/dist/cjs/core/managers/workbook-manager.cjs +87 -3
- package/dist/cjs/core/managers/workbook-manager.cjs.map +3 -3
- package/dist/cjs/core/types.cjs.map +1 -1
- package/dist/cjs/lib.cjs +13 -2
- package/dist/cjs/lib.cjs.map +3 -3
- package/dist/cjs/package.json +1 -1
- package/dist/mjs/core/api/api-builder.mjs +37 -0
- package/dist/mjs/core/api/api-builder.mjs.map +10 -0
- package/dist/mjs/core/api/api-helpers.mjs +161 -0
- package/dist/mjs/core/api/api-helpers.mjs.map +10 -0
- package/dist/mjs/core/api/api.mjs +35 -0
- package/dist/mjs/core/api/api.mjs.map +10 -0
- package/dist/mjs/core/api/cell-orm.mjs +49 -0
- package/dist/mjs/core/api/cell-orm.mjs.map +10 -0
- package/dist/mjs/core/api/table-orm.mjs +148 -0
- package/dist/mjs/core/api/table-orm.mjs.map +10 -0
- package/dist/mjs/core/autofill-utils.mjs +75 -39
- package/dist/mjs/core/autofill-utils.mjs.map +3 -3
- package/dist/mjs/core/cell-mover.mjs +148 -0
- package/dist/mjs/core/cell-mover.mjs.map +10 -0
- package/dist/mjs/core/commands/command-executor.mjs +109 -0
- package/dist/mjs/core/commands/command-executor.mjs.map +10 -0
- package/dist/mjs/core/commands/content-commands.mjs +544 -0
- package/dist/mjs/core/commands/content-commands.mjs.map +10 -0
- package/dist/mjs/core/commands/index.mjs +87 -0
- package/dist/mjs/core/commands/index.mjs.map +10 -0
- package/dist/mjs/core/commands/metadata-commands.mjs +120 -0
- package/dist/mjs/core/commands/metadata-commands.mjs.map +10 -0
- package/dist/mjs/core/commands/named-expression-commands.mjs +208 -0
- package/dist/mjs/core/commands/named-expression-commands.mjs.map +10 -0
- package/dist/mjs/core/commands/structure-commands.mjs +465 -0
- package/dist/mjs/core/commands/structure-commands.mjs.map +10 -0
- package/dist/mjs/core/commands/style-commands.mjs +189 -0
- package/dist/mjs/core/commands/style-commands.mjs.map +10 -0
- package/dist/mjs/core/commands/table-commands.mjs +196 -0
- package/dist/mjs/core/commands/table-commands.mjs.map +10 -0
- package/dist/mjs/core/commands/types.mjs +42 -0
- package/dist/mjs/core/commands/types.mjs.map +10 -0
- package/dist/mjs/core/engine.mjs +253 -263
- package/dist/mjs/core/engine.mjs.map +3 -3
- package/dist/mjs/core/managers/api-schema-manager.mjs +274 -0
- package/dist/mjs/core/managers/api-schema-manager.mjs.map +10 -0
- package/dist/mjs/core/managers/copy-manager.mjs +338 -82
- package/dist/mjs/core/managers/copy-manager.mjs.map +3 -3
- package/dist/mjs/core/managers/reference-manager.mjs +93 -0
- package/dist/mjs/core/managers/reference-manager.mjs.map +10 -0
- package/dist/mjs/core/managers/style-manager.mjs +115 -147
- package/dist/mjs/core/managers/style-manager.mjs.map +3 -3
- package/dist/mjs/core/managers/workbook-manager.mjs +87 -3
- package/dist/mjs/core/managers/workbook-manager.mjs.map +3 -3
- package/dist/mjs/core/types.mjs.map +1 -1
- package/dist/mjs/lib.mjs +13 -2
- package/dist/mjs/lib.mjs.map +3 -3
- package/dist/mjs/package.json +1 -1
- package/dist/types/core/api/api-builder.d.ts +16 -0
- package/dist/types/core/api/api-helpers.d.ts +37 -0
- package/dist/types/core/api/api.d.ts +83 -0
- package/dist/types/core/api/api.type-test.d.ts +1 -0
- package/dist/types/core/api/cell-orm.d.ts +29 -0
- package/dist/types/core/api/table-orm.d.ts +46 -0
- package/dist/types/core/autofill-utils.d.ts +6 -9
- package/dist/types/core/cell-mover.d.ts +63 -0
- package/dist/types/core/commands/command-executor.d.ts +83 -0
- package/dist/types/core/commands/content-commands.d.ts +142 -0
- package/dist/types/core/commands/index.d.ts +16 -0
- package/dist/types/core/commands/metadata-commands.d.ts +55 -0
- package/dist/types/core/commands/named-expression-commands.d.ts +115 -0
- package/dist/types/core/commands/structure-commands.d.ts +132 -0
- package/dist/types/core/commands/style-commands.d.ts +76 -0
- package/dist/types/core/commands/table-commands.d.ts +104 -0
- package/dist/types/core/commands/types.d.ts +114 -0
- package/dist/types/core/engine.d.ts +241 -23
- package/dist/types/core/managers/api-schema-manager.d.ts +121 -0
- package/dist/types/core/managers/copy-manager.d.ts +47 -2
- package/dist/types/core/managers/reference-manager.d.ts +54 -0
- package/dist/types/core/managers/style-manager.d.ts +6 -6
- package/dist/types/core/managers/workbook-manager.d.ts +39 -1
- package/dist/types/core/types.d.ts +52 -11
- package/dist/types/lib.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Style Commands - Commands that modify conditional and direct cell styles
|
|
3
|
+
*
|
|
4
|
+
* These commands do NOT require re-evaluation after execution.
|
|
5
|
+
* They only affect styling, not cell values or formulas.
|
|
6
|
+
*/
|
|
7
|
+
import type { StyleManager } from "../managers/style-manager";
|
|
8
|
+
import type { ConditionalStyle, DirectCellStyle, RangeAddress } from "../types";
|
|
9
|
+
import type { EngineCommand, EngineAction } from "./types";
|
|
10
|
+
/**
|
|
11
|
+
* Command to add a conditional style.
|
|
12
|
+
*/
|
|
13
|
+
export declare class AddConditionalStyleCommand implements EngineCommand {
|
|
14
|
+
private styleManager;
|
|
15
|
+
private style;
|
|
16
|
+
readonly requiresReevaluation = false;
|
|
17
|
+
private addedIndex;
|
|
18
|
+
constructor(styleManager: StyleManager, style: ConditionalStyle);
|
|
19
|
+
execute(): void;
|
|
20
|
+
undo(): void;
|
|
21
|
+
toAction(): EngineAction;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Command to remove a conditional style.
|
|
25
|
+
*/
|
|
26
|
+
export declare class RemoveConditionalStyleCommand implements EngineCommand {
|
|
27
|
+
private styleManager;
|
|
28
|
+
private workbookName;
|
|
29
|
+
private index;
|
|
30
|
+
readonly requiresReevaluation = false;
|
|
31
|
+
private removedStyle;
|
|
32
|
+
constructor(styleManager: StyleManager, workbookName: string, index: number);
|
|
33
|
+
execute(): void;
|
|
34
|
+
undo(): void;
|
|
35
|
+
toAction(): EngineAction;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Command to add a direct cell style.
|
|
39
|
+
*/
|
|
40
|
+
export declare class AddCellStyleCommand implements EngineCommand {
|
|
41
|
+
private styleManager;
|
|
42
|
+
private style;
|
|
43
|
+
readonly requiresReevaluation = false;
|
|
44
|
+
private addedIndex;
|
|
45
|
+
constructor(styleManager: StyleManager, style: DirectCellStyle);
|
|
46
|
+
execute(): void;
|
|
47
|
+
undo(): void;
|
|
48
|
+
toAction(): EngineAction;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Command to remove a direct cell style.
|
|
52
|
+
*/
|
|
53
|
+
export declare class RemoveCellStyleCommand implements EngineCommand {
|
|
54
|
+
private styleManager;
|
|
55
|
+
private workbookName;
|
|
56
|
+
private index;
|
|
57
|
+
readonly requiresReevaluation = false;
|
|
58
|
+
private removedStyle;
|
|
59
|
+
constructor(styleManager: StyleManager, workbookName: string, index: number);
|
|
60
|
+
execute(): void;
|
|
61
|
+
undo(): void;
|
|
62
|
+
toAction(): EngineAction;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Command to clear cell styles in a range.
|
|
66
|
+
*/
|
|
67
|
+
export declare class ClearCellStylesCommand implements EngineCommand {
|
|
68
|
+
private styleManager;
|
|
69
|
+
private range;
|
|
70
|
+
readonly requiresReevaluation = false;
|
|
71
|
+
private snapshot;
|
|
72
|
+
constructor(styleManager: StyleManager, range: RangeAddress);
|
|
73
|
+
execute(): void;
|
|
74
|
+
undo(): void;
|
|
75
|
+
toAction(): EngineAction;
|
|
76
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Table Commands - Commands that modify table definitions
|
|
3
|
+
*
|
|
4
|
+
* These commands all require re-evaluation after execution.
|
|
5
|
+
*/
|
|
6
|
+
import type { TableManager } from "../managers/table-manager";
|
|
7
|
+
import type { NamedExpressionManager } from "../managers/named-expression-manager";
|
|
8
|
+
import type { WorkbookManager } from "../managers/workbook-manager";
|
|
9
|
+
import type { ApiSchemaManager } from "../managers/api-schema-manager";
|
|
10
|
+
import type { CellAddress, SerializedCellValue, SpreadsheetRangeEnd, TableDefinition } from "../types";
|
|
11
|
+
import type { EngineCommand, EngineAction } from "./types";
|
|
12
|
+
/**
|
|
13
|
+
* Dependencies needed for table commands.
|
|
14
|
+
*/
|
|
15
|
+
export interface TableCommandDeps {
|
|
16
|
+
tableManager: TableManager;
|
|
17
|
+
namedExpressionManager: NamedExpressionManager;
|
|
18
|
+
workbookManager: WorkbookManager;
|
|
19
|
+
apiSchemaManager: ApiSchemaManager;
|
|
20
|
+
getCellValue: (cellAddress: CellAddress) => SerializedCellValue;
|
|
21
|
+
renameTableInFormula: (formula: string, oldName: string, newName: string) => string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Command to add a table.
|
|
25
|
+
*/
|
|
26
|
+
export declare class AddTableCommand implements EngineCommand {
|
|
27
|
+
private deps;
|
|
28
|
+
private props;
|
|
29
|
+
readonly requiresReevaluation = true;
|
|
30
|
+
constructor(deps: TableCommandDeps, props: {
|
|
31
|
+
tableName: string;
|
|
32
|
+
sheetName: string;
|
|
33
|
+
workbookName: string;
|
|
34
|
+
start: string;
|
|
35
|
+
numRows: SpreadsheetRangeEnd;
|
|
36
|
+
numCols: number;
|
|
37
|
+
});
|
|
38
|
+
execute(): void;
|
|
39
|
+
undo(): void;
|
|
40
|
+
toAction(): EngineAction;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Command to remove a table.
|
|
44
|
+
*/
|
|
45
|
+
export declare class RemoveTableCommand implements EngineCommand {
|
|
46
|
+
private deps;
|
|
47
|
+
private opts;
|
|
48
|
+
readonly requiresReevaluation = true;
|
|
49
|
+
private removedTable;
|
|
50
|
+
constructor(deps: TableCommandDeps, opts: {
|
|
51
|
+
tableName: string;
|
|
52
|
+
workbookName: string;
|
|
53
|
+
});
|
|
54
|
+
execute(): void;
|
|
55
|
+
undo(): void;
|
|
56
|
+
toAction(): EngineAction;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Command to rename a table.
|
|
60
|
+
*/
|
|
61
|
+
export declare class RenameTableCommand implements EngineCommand {
|
|
62
|
+
private deps;
|
|
63
|
+
private workbookName;
|
|
64
|
+
private oldName;
|
|
65
|
+
private newName;
|
|
66
|
+
readonly requiresReevaluation = true;
|
|
67
|
+
constructor(deps: TableCommandDeps, workbookName: string, oldName: string, newName: string);
|
|
68
|
+
execute(): void;
|
|
69
|
+
undo(): void;
|
|
70
|
+
toAction(): EngineAction;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Command to update a table.
|
|
74
|
+
*/
|
|
75
|
+
export declare class UpdateTableCommand implements EngineCommand {
|
|
76
|
+
private deps;
|
|
77
|
+
private opts;
|
|
78
|
+
readonly requiresReevaluation = true;
|
|
79
|
+
private previousTable;
|
|
80
|
+
constructor(deps: TableCommandDeps, opts: {
|
|
81
|
+
tableName: string;
|
|
82
|
+
sheetName?: string;
|
|
83
|
+
start?: string;
|
|
84
|
+
numRows?: SpreadsheetRangeEnd;
|
|
85
|
+
numCols?: number;
|
|
86
|
+
workbookName: string;
|
|
87
|
+
});
|
|
88
|
+
execute(): void;
|
|
89
|
+
undo(): void;
|
|
90
|
+
toAction(): EngineAction;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Command to reset all tables.
|
|
94
|
+
*/
|
|
95
|
+
export declare class ResetTablesCommand implements EngineCommand {
|
|
96
|
+
private deps;
|
|
97
|
+
private newTables;
|
|
98
|
+
readonly requiresReevaluation = true;
|
|
99
|
+
private previousTables;
|
|
100
|
+
constructor(deps: TableCommandDeps, newTables: Map<string, Map<string, TableDefinition>>);
|
|
101
|
+
execute(): void;
|
|
102
|
+
undo(): void;
|
|
103
|
+
toAction(): EngineAction;
|
|
104
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command Pattern Types for FormulaEngine
|
|
3
|
+
*
|
|
4
|
+
* Commands encapsulate all mutating operations on the engine,
|
|
5
|
+
* enabling undo/redo, schema validation with rollback, and action serialization.
|
|
6
|
+
*/
|
|
7
|
+
import type { CellAddress } from "../types";
|
|
8
|
+
/**
|
|
9
|
+
* Serializable action representation of a command.
|
|
10
|
+
* Used for persistence, collaboration, and changelog functionality.
|
|
11
|
+
*/
|
|
12
|
+
export interface EngineAction {
|
|
13
|
+
type: string;
|
|
14
|
+
payload: unknown;
|
|
15
|
+
timestamp?: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Base interface for all engine commands.
|
|
19
|
+
*/
|
|
20
|
+
export interface EngineCommand {
|
|
21
|
+
/**
|
|
22
|
+
* Whether this command affects cell values/formulas and requires re-evaluation.
|
|
23
|
+
* Commands that only affect metadata or styles don't need re-evaluation.
|
|
24
|
+
*/
|
|
25
|
+
readonly requiresReevaluation: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Execute the command (forward operation).
|
|
28
|
+
*/
|
|
29
|
+
execute(): void;
|
|
30
|
+
/**
|
|
31
|
+
* Undo the command (reverse operation).
|
|
32
|
+
*/
|
|
33
|
+
undo(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Convert the command to a serializable action for persistence/collaboration.
|
|
36
|
+
*/
|
|
37
|
+
toAction(): EngineAction;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Options for command execution.
|
|
41
|
+
*/
|
|
42
|
+
export interface ExecuteOptions {
|
|
43
|
+
/**
|
|
44
|
+
* Whether to validate schema constraints after execution.
|
|
45
|
+
* Only applies to commands that require re-evaluation.
|
|
46
|
+
*/
|
|
47
|
+
validate?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to skip adding to undo stack (for internal use).
|
|
50
|
+
*/
|
|
51
|
+
skipUndoStack?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to skip emitting update events.
|
|
54
|
+
*/
|
|
55
|
+
skipEmitUpdate?: boolean;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Result of schema validation.
|
|
59
|
+
*/
|
|
60
|
+
export interface SchemaValidationResult {
|
|
61
|
+
valid: boolean;
|
|
62
|
+
errors: SchemaValidationErrorInfo[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Information about a schema validation error.
|
|
66
|
+
*/
|
|
67
|
+
export interface SchemaValidationErrorInfo {
|
|
68
|
+
message: string;
|
|
69
|
+
cellAddress?: CellAddress;
|
|
70
|
+
schemaNamespace?: string;
|
|
71
|
+
columnName?: string;
|
|
72
|
+
originalError?: Error;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Action types for all commands.
|
|
76
|
+
* Used for serialization and deserialization.
|
|
77
|
+
*/
|
|
78
|
+
export declare const ActionTypes: {
|
|
79
|
+
readonly SET_CELL_CONTENT: "SET_CELL_CONTENT";
|
|
80
|
+
readonly SET_SHEET_CONTENT: "SET_SHEET_CONTENT";
|
|
81
|
+
readonly CLEAR_RANGE: "CLEAR_RANGE";
|
|
82
|
+
readonly PASTE_CELLS: "PASTE_CELLS";
|
|
83
|
+
readonly FILL_AREAS: "FILL_AREAS";
|
|
84
|
+
readonly MOVE_CELL: "MOVE_CELL";
|
|
85
|
+
readonly MOVE_RANGE: "MOVE_RANGE";
|
|
86
|
+
readonly AUTO_FILL: "AUTO_FILL";
|
|
87
|
+
readonly ADD_WORKBOOK: "ADD_WORKBOOK";
|
|
88
|
+
readonly REMOVE_WORKBOOK: "REMOVE_WORKBOOK";
|
|
89
|
+
readonly RENAME_WORKBOOK: "RENAME_WORKBOOK";
|
|
90
|
+
readonly CLONE_WORKBOOK: "CLONE_WORKBOOK";
|
|
91
|
+
readonly ADD_SHEET: "ADD_SHEET";
|
|
92
|
+
readonly REMOVE_SHEET: "REMOVE_SHEET";
|
|
93
|
+
readonly RENAME_SHEET: "RENAME_SHEET";
|
|
94
|
+
readonly ADD_TABLE: "ADD_TABLE";
|
|
95
|
+
readonly REMOVE_TABLE: "REMOVE_TABLE";
|
|
96
|
+
readonly RENAME_TABLE: "RENAME_TABLE";
|
|
97
|
+
readonly UPDATE_TABLE: "UPDATE_TABLE";
|
|
98
|
+
readonly RESET_TABLES: "RESET_TABLES";
|
|
99
|
+
readonly ADD_NAMED_EXPRESSION: "ADD_NAMED_EXPRESSION";
|
|
100
|
+
readonly REMOVE_NAMED_EXPRESSION: "REMOVE_NAMED_EXPRESSION";
|
|
101
|
+
readonly UPDATE_NAMED_EXPRESSION: "UPDATE_NAMED_EXPRESSION";
|
|
102
|
+
readonly RENAME_NAMED_EXPRESSION: "RENAME_NAMED_EXPRESSION";
|
|
103
|
+
readonly SET_NAMED_EXPRESSIONS: "SET_NAMED_EXPRESSIONS";
|
|
104
|
+
readonly SET_CELL_METADATA: "SET_CELL_METADATA";
|
|
105
|
+
readonly SET_SHEET_METADATA: "SET_SHEET_METADATA";
|
|
106
|
+
readonly SET_WORKBOOK_METADATA: "SET_WORKBOOK_METADATA";
|
|
107
|
+
readonly ADD_CONDITIONAL_STYLE: "ADD_CONDITIONAL_STYLE";
|
|
108
|
+
readonly REMOVE_CONDITIONAL_STYLE: "REMOVE_CONDITIONAL_STYLE";
|
|
109
|
+
readonly ADD_CELL_STYLE: "ADD_CELL_STYLE";
|
|
110
|
+
readonly REMOVE_CELL_STYLE: "REMOVE_CELL_STYLE";
|
|
111
|
+
readonly CLEAR_CELL_STYLES: "CLEAR_CELL_STYLES";
|
|
112
|
+
readonly RESET_TO_SERIALIZED: "RESET_TO_SERIALIZED";
|
|
113
|
+
};
|
|
114
|
+
export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
|