Reviews top-level constant
OperationDefinitionNode
const Reviews
Implementation
const Reviews = _i1.OperationDefinitionNode(
type: _i1.OperationType.query,
name: _i1.NameNode(value: 'Reviews'),
variableDefinitions: [
_i1.VariableDefinitionNode(
variable: _i1.VariableNode(name: _i1.NameNode(value: 'episode')),
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Episode'), isNonNull: false),
defaultValue: _i1.DefaultValueNode(value: null),
directives: []),
_i1.VariableDefinitionNode(
variable: _i1.VariableNode(name: _i1.NameNode(value: 'first')),
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Int'), isNonNull: false),
defaultValue: _i1.DefaultValueNode(value: null),
directives: []),
_i1.VariableDefinitionNode(
variable: _i1.VariableNode(name: _i1.NameNode(value: 'offset')),
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Int'), isNonNull: false),
defaultValue: _i1.DefaultValueNode(value: null),
directives: [])
],
directives: [],
selectionSet: _i1.SelectionSetNode(selections: [
_i1.FieldNode(
name: _i1.NameNode(value: 'reviews'),
alias: null,
arguments: [
_i1.ArgumentNode(
name: _i1.NameNode(value: 'episode'),
value: _i1.VariableNode(name: _i1.NameNode(value: 'episode'))),
_i1.ArgumentNode(
name: _i1.NameNode(value: 'first'),
value: _i1.VariableNode(name: _i1.NameNode(value: 'first'))),
_i1.ArgumentNode(
name: _i1.NameNode(value: 'offset'),
value: _i1.VariableNode(name: _i1.NameNode(value: 'offset')))
],
directives: [],
selectionSet: _i1.SelectionSetNode(selections: [
_i1.FieldNode(
name: _i1.NameNode(value: 'id'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
_i1.FieldNode(
name: _i1.NameNode(value: 'episode'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
_i1.FieldNode(
name: _i1.NameNode(value: 'stars'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
_i1.FieldNode(
name: _i1.NameNode(value: 'commentary'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
_i1.FieldNode(
name: _i1.NameNode(value: 'createdAt'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
_i1.FieldNode(
name: _i1.NameNode(value: 'seenOn'),
alias: null,
arguments: [],
directives: [],
selectionSet: null)
]))
]));