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

refactored code

This commit is contained in:
muerwre 2019-08-28 20:03:18 +07:00
parent 59993f5beb
commit eda46bdb9d
4 changed files with 75 additions and 48 deletions

View file

@ -62,6 +62,7 @@ export const NODE_COMPONENTS: INodeComponents = {
export const EMPTY_COMMENT: IComment = {
text: '',
files: [],
temp_ids: [],
is_private: false,
user: null,
};

View file

@ -116,6 +116,7 @@ export interface INode {
export interface IComment {
text: string;
temp_ids?: string[];
files: IFile[];
is_private: boolean;
user: IUser;