file_tree

package
v1.0.0-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	TreeData []INode `json:"treeData"`
}

type Field

type Field struct {
	Label    string      `json:"label"`
	ValueKey interface{} `json:"valueKey"`
}

type INode

type INode struct {
	Key           string                 `json:"key"`
	Title         string                 `json:"title"`
	Icon          string                 `json:"icon"`
	IsColorIcon   bool                   `json:"isColorIcon"`
	Children      []INode                `json:"children"`
	Selectable    bool                   `json:"selectable"`
	ClickToExpand bool                   `json:"clickToExpand"`
	IsLeaf        bool                   `json:"isLeaf"`
	Operations    map[string]interface{} `json:"operations"`
	Type          string                 `json:"type"`
}

type Props

type Props struct {
	Searchable bool `json:"searchable"`
	Draggable  bool `json:"draggable"`
}

type Spec

type Spec struct {
	Type  string `json:"type"`
	Props Props  `json:"props"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL