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:
parent
59993f5beb
commit
eda46bdb9d
4 changed files with 75 additions and 48 deletions
|
@ -62,6 +62,7 @@ export const NODE_COMPONENTS: INodeComponents = {
|
|||
export const EMPTY_COMMENT: IComment = {
|
||||
text: '',
|
||||
files: [],
|
||||
temp_ids: [],
|
||||
is_private: false,
|
||||
user: null,
|
||||
};
|
||||
|
|
|
@ -116,6 +116,7 @@ export interface INode {
|
|||
|
||||
export interface IComment {
|
||||
text: string;
|
||||
temp_ids?: string[];
|
||||
files: IFile[];
|
||||
is_private: boolean;
|
||||
user: IUser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue