Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabelOption ¶ added in v0.0.3
type LabelOption struct { Name string `json:"name"` Type LabelOptionType `json:"type"` Value string `json:"value"` FieldConfig *LabelOptionFieldConfig `json:"fieldConfig"` }
type LabelOptionFieldConfig ¶ added in v0.0.6
type LabelOptionType ¶ added in v0.0.3
type LabelOptionType string
const ( CONSTANT LabelOptionType = "constant" FIELD LabelOptionType = "field" )
type ParsingOption ¶
type ParsingOption struct { // The path from the root to the array. This is dot-delimited DataPath string `json:"dataPath"` // the time path relative to the data path. TimeFields []TimeField `json:"timeFields"` LabelOptions []LabelOption `json:"labelOptions"` }
func (*ParsingOption) GetTimeField ¶ added in v0.0.6
func (parsingOption *ParsingOption) GetTimeField(key string) *TimeField
type QueryModel ¶
type QueryModel struct { QueryText string `json:"queryText"` // The name of the operation, or a blank string to let the GraphQL server infer the operation name OperationName string `json:"operationName"` // The variables for the operation. May either be a string or a map[string]interface{} or nil Variables interface{} `json:"variables"` ParsingOptions []ParsingOption `json:"parsingOptions"` }
QueryModel represents data sent from the frontend to perform a query
Click to show internal directories.
Click to hide internal directories.