1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

drag-and-drop on form

This commit is contained in:
muerwre 2019-08-06 20:56:48 +07:00
parent 1ccc87178e
commit b4bba2ea3b
7 changed files with 51 additions and 15 deletions

View file

@ -1,4 +1,10 @@
import { INode } from "../types";
import {IBlock, INode} from "../types";
export const EMPTY_BLOCK: IBlock = {
type: null,
temp_ids: [],
attaches: [],
};
export const EMPTY_NODE: INode = {
id: null,
@ -11,10 +17,12 @@ export const EMPTY_NODE: INode = {
cover: null,
type: null,
blocks: [],
options: {
flow: {
display: 'single',
show_description: false,
}
},
}
}