models

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DateFilter

type DateFilter struct {
	Value    string        `json:"value"`
	Timezone *string       `json:"timezone"`
	Op       *DateFilterOp `json:"op"`
}

type DateFilterOp

type DateFilterOp string
const (
	DateFilterOpEq  DateFilterOp = "EQ"
	DateFilterOpNeq DateFilterOp = "NEQ"
	DateFilterOpGt  DateFilterOp = "GT"
	DateFilterOpGte DateFilterOp = "GTE"
	DateFilterOpLt  DateFilterOp = "LT"
	DateFilterOpLte DateFilterOp = "LTE"
)

func (DateFilterOp) IsValid

func (e DateFilterOp) IsValid() bool

func (DateFilterOp) MarshalGQL

func (e DateFilterOp) MarshalGQL(w io.Writer)

func (DateFilterOp) String

func (e DateFilterOp) String() string

func (*DateFilterOp) UnmarshalGQL

func (e *DateFilterOp) UnmarshalGQL(v interface{}) error

type Element

type Element struct {
	ID int
}

func (*Element) Mismatched

func (e *Element) Mismatched() []Element

type ErrorType

type ErrorType string
const (
	ErrorTypeCustom ErrorType = "CUSTOM"
	ErrorTypeNormal ErrorType = "NORMAL"
)

func (ErrorType) IsValid

func (e ErrorType) IsValid() bool

func (ErrorType) MarshalGQL

func (e ErrorType) MarshalGQL(w io.Writer)

func (ErrorType) String

func (e ErrorType) String() string

func (*ErrorType) UnmarshalGQL

func (e *ErrorType) UnmarshalGQL(v interface{}) error

type ListCoercion added in v0.15.2

type ListCoercion struct {
	EnumVal   []*ErrorType             `json:"enumVal"`
	StrVal    []*string                `json:"strVal"`
	IntVal    []*int                   `json:"intVal"`
	ScalarVal []map[string]interface{} `json:"scalarVal"`
}

type Viewer

type Viewer struct {
	User *remote_api.User
}

Jump to

Keyboard shortcuts

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