model

package
v0.0.0-...-cee479c Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Directive

type Directive struct {
	Name        string                      `json:"name" `
	Description *string                     `json:"description" `
	Locations   []string                    `json:"locations" `
	Args        []*introspection.InputValue `json:"args" `
}

type DirectiveLocation

type DirectiveLocation string
const (
	DirectiveLocationQuery                DirectiveLocation = "QUERY"
	DirectiveLocationMutation             DirectiveLocation = "MUTATION"
	DirectiveLocationSubscription         DirectiveLocation = "SUBSCRIPTION"
	DirectiveLocationField                DirectiveLocation = "FIELD"
	DirectiveLocationFragmentDefinition   DirectiveLocation = "FRAGMENT_DEFINITION"
	DirectiveLocationFragmentSpread       DirectiveLocation = "FRAGMENT_SPREAD"
	DirectiveLocationInlineFragment       DirectiveLocation = "INLINE_FRAGMENT"
	DirectiveLocationSchema               DirectiveLocation = "SCHEMA"
	DirectiveLocationScalar               DirectiveLocation = "SCALAR"
	DirectiveLocationObject               DirectiveLocation = "OBJECT"
	DirectiveLocationFieldDefinition      DirectiveLocation = "FIELD_DEFINITION"
	DirectiveLocationArgumentDefinition   DirectiveLocation = "ARGUMENT_DEFINITION"
	DirectiveLocationInterface            DirectiveLocation = "INTERFACE"
	DirectiveLocationUnion                DirectiveLocation = "UNION"
	DirectiveLocationEnum                 DirectiveLocation = "ENUM"
	DirectiveLocationEnumValue            DirectiveLocation = "ENUM_VALUE"
	DirectiveLocationInputObject          DirectiveLocation = "INPUT_OBJECT"
	DirectiveLocationInputFieldDefinition DirectiveLocation = "INPUT_FIELD_DEFINITION"
)

func (DirectiveLocation) IsValid

func (e DirectiveLocation) IsValid() bool

func (DirectiveLocation) MarshalGQL

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

func (DirectiveLocation) String

func (e DirectiveLocation) String() string

func (*DirectiveLocation) UnmarshalGQL

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

type EnumValue

type EnumValue struct {
	Name              string  `json:"name" `
	Description       *string `json:"description" `
	IsDeprecated      bool    `json:"isDeprecated" `
	DeprecationReason *string `json:"deprecationReason" `
}

type Field

type Field struct {
	Name              string                      `json:"name" `
	Description       *string                     `json:"description" `
	Args              []*introspection.InputValue `json:"args" `
	Type              *introspection.Type         `json:"type" `
	IsDeprecated      bool                        `json:"isDeprecated" `
	DeprecationReason *string                     `json:"deprecationReason" `
}

type InputValue

type InputValue struct {
	Name         string              `json:"name" `
	Description  *string             `json:"description" `
	Type         *introspection.Type `json:"type" `
	DefaultValue *string             `json:"defaultValue" `
}

type Integration

type Integration struct {
	ID                   string `json:"id" `
	Name                 string `json:"name" `
	Specification        string `json:"specification" `
	SpecificationFileURL string `json:"specificationFileURL" `
	CreatorID            string `json:"creatorID" `
}

type IntegrationInput

type IntegrationInput struct {
	Specification string `json:"specification" `
}

type Preferences

type Preferences struct {
	ID      string        `json:"id" `
	UserID  string        `json:"userID" `
	Details *PrefsDetails `json:"details" `
}

type PrefsAutomation

type PrefsAutomation struct {
	ID                 string           `json:"id" `
	FocusWorkflowIndex *int             `json:"focusWorkflowIndex" `
	Workflows          []*PrefsWorkflow `json:"workflows" `
}

type PrefsBase

type PrefsBase struct {
	ID              string        `json:"id" `
	FocusTableIndex *int          `json:"focusTableIndex" `
	Tables          []*PrefsTable `json:"tables" `
}

type PrefsBoard

type PrefsBoard struct {
	ID string `json:"id" `
}

type PrefsDeck

type PrefsDeck struct {
	ID              string       `json:"id" `
	FocusBoardIndex *int         `json:"focusBoardIndex" `
	Decks           []*PrefsDeck `json:"decks" `
}

type PrefsDetails

type PrefsDetails struct {
	FocusWorkspaceIndex *int              `json:"focusWorkspaceIndex" `
	Workspaces          []*PrefsWorkspace `json:"workspaces" `
}

type PrefsLayout

type PrefsLayout struct {
	MainShortcuts  []*Shortcut `json:"mainShortcuts" `
	QuickShortcuts []*Shortcut `json:"quickShortcuts" `
	OtherShortcuts []*Shortcut `json:"otherShortcuts" `
}

type PrefsSpace

type PrefsSpace struct {
	ID                   string             `json:"id" `
	FocusDeckIndex       *int               `json:"focusDeckIndex" `
	FocusAppIndex        *int               `json:"focusAppIndex" `
	FocusAutomationIndex *int               `json:"focusAutomationIndex" `
	FocusBaseIndex       *int               `json:"focusBaseIndex" `
	Decks                []*PrefsDeck       `json:"decks" `
	Automations          []*PrefsAutomation `json:"automations" `
	Bases                []*PrefsBase       `json:"bases" `
}

type PrefsTable

type PrefsTable struct {
	ID string `json:"id" `
}

type PrefsWorkflow

type PrefsWorkflow struct {
	ID string `json:"id" `
}

type PrefsWorkspace

type PrefsWorkspace struct {
	ID              string        `json:"id" `
	FocusSpaceIndex *int          `json:"focusSpaceIndex" `
	Spaces          []*PrefsSpace `json:"spaces" `
	Layout          *PrefsLayout  `json:"layout" `
}

type Profile

type Profile struct {
	ID        string  `json:"id" `
	Username  *string `json:"username" `
	FirstName *string `json:"firstName" `
	LastName  *string `json:"lastName" `
	Email     *string `json:"email" `
	AvatarURL *string `json:"avatarURL" `
	UserID    string  `json:"userID" `
}

type ProfileInput

type ProfileInput struct {
	Username  *string `json:"username" `
	FirstName *string `json:"firstName" `
	LastName  *string `json:"lastName" `
	Email     *string `json:"email" `
	AvatarURL *string `json:"avatarURL" `
}

type Schema

type Schema struct {
	Types            []*introspection.Type      `json:"types" `
	QueryType        *introspection.Type        `json:"queryType" `
	MutationType     *introspection.Type        `json:"mutationType" `
	SubscriptionType *introspection.Type        `json:"subscriptionType" `
	Directives       []*introspection.Directive `json:"directives" `
}

type SessionUser

type SessionUser struct {
	ID          string       `json:"id" `
	Profile     *Profile     `json:"profile" `
	Preferences *Preferences `json:"preferences" `
}

type Shortcut

type Shortcut struct {
	IconName   string `json:"iconName" `
	EntityName string `json:"entityName" `
	Route      string `json:"route" `
}

type Type

type Type struct {
	Kind          string                      `json:"kind" `
	Name          *string                     `json:"name" `
	Description   *string                     `json:"description" `
	Fields        []*introspection.Field      `json:"fields" `
	Interfaces    []*introspection.Type       `json:"interfaces" `
	PossibleTypes []*introspection.Type       `json:"possibleTypes" `
	EnumValues    []*introspection.EnumValue  `json:"enumValues" `
	InputFields   []*introspection.InputValue `json:"inputFields" `
	OfType        *introspection.Type         `json:"ofType" `
}

type TypeKind

type TypeKind string
const (
	TypeKindScalar      TypeKind = "SCALAR"
	TypeKindObject      TypeKind = "OBJECT"
	TypeKindInterface   TypeKind = "INTERFACE"
	TypeKindUnion       TypeKind = "UNION"
	TypeKindEnum        TypeKind = "ENUM"
	TypeKindInputObject TypeKind = "INPUT_OBJECT"
	TypeKindList        TypeKind = "LIST"
	TypeKindNonNull     TypeKind = "NON_NULL"
)

func (TypeKind) IsValid

func (e TypeKind) IsValid() bool

func (TypeKind) MarshalGQL

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

func (TypeKind) String

func (e TypeKind) String() string

func (*TypeKind) UnmarshalGQL

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

type User

type User struct {
	ID string `json:"id" `
}

Jump to

Keyboard shortcuts

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