Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllNodeState = []NodeState{ NodeStateUpload, NodeStateReady, }
Functions ¶
func CreateFileNodeFromDTO ¶
func CreateFileNodeFromDTO(meta CreateFileNode) model.CreateFileNode
Types ¶
type CreateFileNode ¶
type FileNode ¶
type FileNode struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` IsFolder bool `json:"isFolder"` State NodeState `json:"state"` MimeType *string `json:"mimeType"` Size int64 `json:"size"` Children []FileNode `json:"children"` }
func FileNodeFromModel ¶
type NodeState ¶
type NodeState string
func (NodeState) MarshalGQL ¶
func (*NodeState) UnmarshalGQL ¶
Click to show internal directories.
Click to hide internal directories.