stash/vendor/github.com/vektah/gqlparser/v2/ast/fragment.go
WithoutPants 7a45943e8e
Stash box client interface (#751)
* Add gql client generation files
* Update dependencies
* Add stash-box client generation to the makefile
* Move scraped scene object matchers to models
* Add stash-box to scrape with dropdown
* Add scrape scene from fingerprint in UI
2020-09-17 19:57:18 +10:00

38 lines
782 B
Go

package ast
type FragmentSpread struct {
Name string
Directives DirectiveList
// Require validation
ObjectDefinition *Definition
Definition *FragmentDefinition
Position *Position `dump:"-"`
}
type InlineFragment struct {
TypeCondition string
Directives DirectiveList
SelectionSet SelectionSet
// Require validation
ObjectDefinition *Definition
Position *Position `dump:"-"`
}
type FragmentDefinition struct {
Name string
// Note: fragment variable definitions are experimental and may be changed
// or removed in the future.
VariableDefinition VariableDefinitionList
TypeCondition string
Directives DirectiveList
SelectionSet SelectionSet
// Require validation
Definition *Definition
Position *Position `dump:"-"`
}