table

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonTable

type CommonTable struct {
	State      State                                            `json:"state"`
	Type       string                                           `json:"type"`
	Operations map[apistructs.OperationKey]apistructs.Operation `json:"operations"`
	Props      Props                                            `json:"props"`
	Data       Data                                             `json:"data"`
}

type Data

type Data struct {
	List []NotifyTableList `json:"list"`
}

type FormData

type FormData struct {
	Id       int64    `json:"id"`
	Name     string   `json:"name"`
	Items    []string `json:"items"`
	Target   string   `json:"target"`
	Channels []string `json:"channels"`
}

type Meta

type Meta struct {
	Id int64 `json:"id"`
}

type NotifyTableList

type NotifyTableList struct {
	Id        int64   `json:"id"`
	Name      string  `json:"name"`
	Targets   Target  `json:"targets"`
	CreatedAt string  `json:"createdAt"`
	Operate   Operate `json:"operate"`
	Enable    bool    `json:"enable"`
}

type Operate

type Operate struct {
	RenderType string                `json:"renderType"`
	Value      string                `json:"value"`
	Operations map[string]Operations `json:"operations"`
}

type Operations

type Operations struct {
	Key     string `json:"key"`
	Text    string `json:"text"`
	Reload  bool   `json:"reload"`
	Confirm string `json:"confirm"`
	Meta    Meta   `json:"meta"`
}

type PropColumn

type PropColumn struct {
	Title     string `json:"title"`
	DataIndex string `json:"dataIndex"`
	Width     uint64 `json:"width"`
}

type Props

type Props struct {
	RowKey     string       `json:"rowKey"`
	Columns    []PropColumn `json:"columns"`
	Pagination bool         `json:"pagination"`
}

type State

type State struct {
	EditId    uint64 `json:"editId"`
	Operation string `json:"operation"`
	Visible   bool   `json:"visible"`
}

type Target

type Target struct {
	Value      []apistructs.Value `json:"value"`
	RoleMap    map[string]string  `json:"roleMap"`
	RenderType string             `json:"renderType"`
}

Jump to

Keyboard shortcuts

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