UNPKG

403 BTypeScriptView Raw
1export declare enum ActionType {
2 ADD_PLACEHOLDER = 0,
3 REMOVE_PLACEHOLDER = 1
4}
5interface AddPlaceholderAction {
6 type: ActionType.ADD_PLACEHOLDER;
7 id: string;
8 payload: any;
9 pos: number;
10}
11interface RemovePlaceholderAction {
12 type: ActionType.REMOVE_PLACEHOLDER;
13 id: string;
14}
15export type PlaceholderPluginAction = AddPlaceholderAction | RemovePlaceholderAction;
16export {};