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"` }
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. TimePath string `json:"timePath"` LabelOptions []LabelOption `json:"labelOptions"` }
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{} 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.