model

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllRefRoot = []RefRoot{
	RefRootAppRef,
}

Functions

This section is empty.

Types

type Query

type Query struct {
}

type QueryOperatorAndDate

type QueryOperatorAndDate struct {
	Op    QueryOperators `json:"op" bson:"-" query:"op"`
	Value *time.Time     `json:"value,omitempty" bson:"-" query:"value"`
}

type QueryOperatorAndValue

type QueryOperatorAndValue struct {
	Op    QueryOperators `json:"op" bson:"-" query:"op"`
	Value any            `json:"value,omitempty" bson:"-" query:"value"`
}

type QueryOperatorFieldAndValue

type QueryOperatorFieldAndValue struct {
	Field  string         `json:"field" bson:"-" query:"field"`
	Op     QueryOperators `json:"op" bson:"-" query:"op"`
	Value  any            `json:"value,omitempty" bson:"-" query:"value"`
	Exists *bool          `json:"exists,omitempty" bson:"-" query:"fieldExists"`
}

type QueryOperators

type QueryOperators string
const (
	QueryOperatorsEqual              QueryOperators = "Equal"
	QueryOperatorsNotEqual           QueryOperators = "NotEqual"
	QueryOperatorsContains           QueryOperators = "Contains"
	QueryOperatorsIn                 QueryOperators = "In"
	QueryOperatorsNotIn              QueryOperators = "NotIn"
	QueryOperatorsGreaterThan        QueryOperators = "GreaterThan"
	QueryOperatorsLessThan           QueryOperators = "LessThan"
	QueryOperatorsLessThanOrEqual    QueryOperators = "LessThanOrEqual"
	QueryOperatorsGreaterThanOrEqual QueryOperators = "GreaterThanOrEqual"
	QueryOperatorsRegex              QueryOperators = "Regex"
)

func (QueryOperators) IsValid

func (e QueryOperators) IsValid() bool

func (QueryOperators) MarshalGQL

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

func (QueryOperators) String

func (e QueryOperators) String() string

func (*QueryOperators) UnmarshalGQL

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

type QueryType

type QueryType string
const (
	QueryTypeDate    QueryType = "Date"
	QueryTypeDeleted QueryType = "Deleted"
)

func (QueryType) IsValid

func (e QueryType) IsValid() bool

func (QueryType) MarshalGQL

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

func (QueryType) String

func (e QueryType) String() string

func (*QueryType) UnmarshalGQL

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

type QueryValue

type QueryValue struct {
	Value any `json:"value,omitempty" bson:"-" query:"value"`
}

type RefRoot

type RefRoot string
const (
	RefRootAppRef RefRoot = "AppRef"
)

func (RefRoot) IsValid

func (e RefRoot) IsValid() bool

func (RefRoot) MarshalGQL

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

func (RefRoot) String

func (e RefRoot) String() string

func (*RefRoot) UnmarshalGQL

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

type TagValue

type TagValue struct {
	Value any `json:"Value" bson:"value" yaml:"value"`
}

type TagValues

type TagValues struct {
	Key    string      `json:"Key" bson:"key" yaml:"key"`
	Values []*TagValue `json:"Values,omitempty" bson:"values" yaml:"values"`
}

type ValueInput

type ValueInput struct {
	Value string `json:"value" bson:"-"`
}

type ValueOutput

type ValueOutput struct {
	Value string `json:"value" bson:"-"`
}

Jump to

Keyboard shortcuts

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