scene_and_api_filter

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomProps

type CustomProps struct {
	AllowClear     bool    `json:"allowClear"`
	Ranges         Ranges  `json:"ranges"`
	SelectableTime []int64 `json:"selectableTime"`
	BorderTime     bool    `json:"borderTime"`
}

type Filter

type Filter struct {
	base.DefaultProvider

	InParams InParams `json:"-"`
	State    State    `json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Filter) Render

type InParams

type InParams struct {
	FrontEndProjectID string `json:"projectID,omitempty"`
	ProjectID         uint64
}

type Ranges

type Ranges struct {
	Week  []int64 `json:"近一周"`
	Month []int64 `json:"近一月"`
}

type State

type State struct {
	Conditions []filter.PropCondition `json:"conditions,omitempty"`
	Values     Values                 `json:"values,omitempty"`
}

type Values

type Values struct {
	Time []int64 `json:"time"`
}

Jump to

Keyboard shortcuts

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