mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
node and upload reducer
This commit is contained in:
parent
e0bba90d2e
commit
5045fbce8b
11 changed files with 87 additions and 19 deletions
20
src/redux/node/constants.ts
Normal file
20
src/redux/node/constants.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
import { INode } from "../types";
|
||||
|
||||
export const EMPTY_NODE: INode = {
|
||||
id: null,
|
||||
|
||||
user_id: null,
|
||||
|
||||
title: '',
|
||||
files: [],
|
||||
|
||||
cover: null,
|
||||
type: null,
|
||||
|
||||
options: {
|
||||
flow: {
|
||||
display: 'single',
|
||||
show_description: false,
|
||||
}
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue