342 lines
10 KiB
Dart
342 lines
10 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
// ignore_for_file: type=lint
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'package:gql/ast.dart' as _i1;
|
|
|
|
const RepoParts = _i1.FragmentDefinitionNode(
|
|
name: _i1.NameNode(value: 'RepoParts'),
|
|
typeCondition: _i1.TypeConditionNode(
|
|
on: _i1.NamedTypeNode(
|
|
name: _i1.NameNode(value: 'Repository'),
|
|
isNonNull: false,
|
|
)),
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'owner'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'login'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'avatarUrl'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
]),
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'name'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'description'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'isPrivate'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'isFork'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'stargazers'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'totalCount'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
)
|
|
]),
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'forks'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'totalCount'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
)
|
|
]),
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'primaryLanguage'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'color'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'name'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
]),
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'updatedAt'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
]),
|
|
);
|
|
const Repos = _i1.OperationDefinitionNode(
|
|
type: _i1.OperationType.query,
|
|
name: _i1.NameNode(value: 'Repos'),
|
|
variableDefinitions: [
|
|
_i1.VariableDefinitionNode(
|
|
variable: _i1.VariableNode(name: _i1.NameNode(value: 'login')),
|
|
type: _i1.NamedTypeNode(
|
|
name: _i1.NameNode(value: 'String'),
|
|
isNonNull: true,
|
|
),
|
|
defaultValue: _i1.DefaultValueNode(value: null),
|
|
directives: [],
|
|
),
|
|
_i1.VariableDefinitionNode(
|
|
variable: _i1.VariableNode(name: _i1.NameNode(value: 'after')),
|
|
type: _i1.NamedTypeNode(
|
|
name: _i1.NameNode(value: 'String'),
|
|
isNonNull: false,
|
|
),
|
|
defaultValue: _i1.DefaultValueNode(value: null),
|
|
directives: [],
|
|
),
|
|
],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'repositoryOwner'),
|
|
alias: null,
|
|
arguments: [
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'login'),
|
|
value: _i1.VariableNode(name: _i1.NameNode(value: 'login')),
|
|
)
|
|
],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'repositories'),
|
|
alias: null,
|
|
arguments: [
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'first'),
|
|
value: _i1.IntValueNode(value: '30'),
|
|
),
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'after'),
|
|
value: _i1.VariableNode(name: _i1.NameNode(value: 'after')),
|
|
),
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'orderBy'),
|
|
value: _i1.ObjectValueNode(fields: [
|
|
_i1.ObjectFieldNode(
|
|
name: _i1.NameNode(value: 'field'),
|
|
value: _i1.EnumValueNode(
|
|
name: _i1.NameNode(value: 'UPDATED_AT')),
|
|
),
|
|
_i1.ObjectFieldNode(
|
|
name: _i1.NameNode(value: 'direction'),
|
|
value: _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC')),
|
|
),
|
|
]),
|
|
),
|
|
],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'pageInfo'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'hasNextPage'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'endCursor'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
]),
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'nodes'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FragmentSpreadNode(
|
|
name: _i1.NameNode(value: 'RepoParts'),
|
|
directives: [],
|
|
)
|
|
]),
|
|
),
|
|
]),
|
|
)
|
|
]),
|
|
)
|
|
]),
|
|
);
|
|
const Stars = _i1.OperationDefinitionNode(
|
|
type: _i1.OperationType.query,
|
|
name: _i1.NameNode(value: 'Stars'),
|
|
variableDefinitions: [
|
|
_i1.VariableDefinitionNode(
|
|
variable: _i1.VariableNode(name: _i1.NameNode(value: 'login')),
|
|
type: _i1.NamedTypeNode(
|
|
name: _i1.NameNode(value: 'String'),
|
|
isNonNull: true,
|
|
),
|
|
defaultValue: _i1.DefaultValueNode(value: null),
|
|
directives: [],
|
|
),
|
|
_i1.VariableDefinitionNode(
|
|
variable: _i1.VariableNode(name: _i1.NameNode(value: 'after')),
|
|
type: _i1.NamedTypeNode(
|
|
name: _i1.NameNode(value: 'String'),
|
|
isNonNull: false,
|
|
),
|
|
defaultValue: _i1.DefaultValueNode(value: null),
|
|
directives: [],
|
|
),
|
|
],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'user'),
|
|
alias: null,
|
|
arguments: [
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'login'),
|
|
value: _i1.VariableNode(name: _i1.NameNode(value: 'login')),
|
|
)
|
|
],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'starredRepositories'),
|
|
alias: null,
|
|
arguments: [
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'first'),
|
|
value: _i1.IntValueNode(value: '30'),
|
|
),
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'after'),
|
|
value: _i1.VariableNode(name: _i1.NameNode(value: 'after')),
|
|
),
|
|
_i1.ArgumentNode(
|
|
name: _i1.NameNode(value: 'orderBy'),
|
|
value: _i1.ObjectValueNode(fields: [
|
|
_i1.ObjectFieldNode(
|
|
name: _i1.NameNode(value: 'field'),
|
|
value: _i1.EnumValueNode(
|
|
name: _i1.NameNode(value: 'STARRED_AT')),
|
|
),
|
|
_i1.ObjectFieldNode(
|
|
name: _i1.NameNode(value: 'direction'),
|
|
value: _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC')),
|
|
),
|
|
]),
|
|
),
|
|
],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'pageInfo'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'hasNextPage'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'endCursor'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: null,
|
|
),
|
|
]),
|
|
),
|
|
_i1.FieldNode(
|
|
name: _i1.NameNode(value: 'nodes'),
|
|
alias: null,
|
|
arguments: [],
|
|
directives: [],
|
|
selectionSet: _i1.SelectionSetNode(selections: [
|
|
_i1.FragmentSpreadNode(
|
|
name: _i1.NameNode(value: 'RepoParts'),
|
|
directives: [],
|
|
)
|
|
]),
|
|
),
|
|
]),
|
|
)
|
|
]),
|
|
)
|
|
]),
|
|
);
|
|
const document = _i1.DocumentNode(definitions: [
|
|
RepoParts,
|
|
Repos,
|
|
Stars,
|
|
]);
|