Documentation ¶
Index ¶
- Variables
- type Directive
- type DirectiveLocation
- type EnumValue
- type Field
- type InputValue
- type Integration
- type IntegrationInput
- type Preferences
- type PrefsAutomation
- type PrefsBase
- type PrefsBoard
- type PrefsDeck
- type PrefsDetails
- type PrefsLayout
- type PrefsSpace
- type PrefsTable
- type PrefsWorkflow
- type PrefsWorkspace
- type Profile
- type ProfileInput
- type Schema
- type SessionUser
- type Shortcut
- type Type
- type TypeKind
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var AllDirectiveLocation = []DirectiveLocation{ DirectiveLocationQuery, DirectiveLocationMutation, DirectiveLocationSubscription, DirectiveLocationField, DirectiveLocationFragmentDefinition, DirectiveLocationFragmentSpread, DirectiveLocationInlineFragment, DirectiveLocationSchema, DirectiveLocationScalar, DirectiveLocationObject, DirectiveLocationFieldDefinition, DirectiveLocationArgumentDefinition, DirectiveLocationInterface, DirectiveLocationUnion, DirectiveLocationEnum, DirectiveLocationEnumValue, DirectiveLocationInputObject, DirectiveLocationInputFieldDefinition, }
View Source
var AllTypeKind = []TypeKind{ TypeKindScalar, TypeKindObject, TypeKindInterface, TypeKindUnion, TypeKindEnum, TypeKindInputObject, TypeKindList, TypeKindNonNull, }
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 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 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 PrefsDetails ¶
type PrefsDetails struct { FocusWorkspaceIndex *int `json:"focusWorkspaceIndex" ` Workspaces []*PrefsWorkspace `json:"workspaces" ` }
type PrefsLayout ¶
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 ProfileInput ¶
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 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" ` }
Click to show internal directories.
Click to hide internal directories.