1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-16 18:28:51 +01:00

chore: remove unused query

This commit is contained in:
Rongjian Zhang 2020-01-04 15:28:49 +08:00
parent 2fa6c14137
commit e3b050b5a2
4 changed files with 0 additions and 917 deletions

View File

@ -54,11 +54,6 @@ targets:
queries_glob: lib/graphql/github_commits.graphql
resolve_type_field: __typename
add_query_prefix: true
- schema: lib/github.schema.json
output: lib/graphql/github_me.dart
queries_glob: lib/graphql/github_me.graphql
resolve_type_field: __typename
add_query_prefix: true
scalar_mapping:
- graphql_type: URI
dart_type: String

View File

@ -1,565 +0,0 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
import 'package:artemis/artemis.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:equatable/equatable.dart';
import 'package:gql/ast.dart';
part 'github_me.g.dart';
@JsonSerializable(explicitToJson: true)
class GithubMe with EquatableMixin {
GithubMe();
factory GithubMe.fromJson(Map<String, dynamic> json) =>
_$GithubMeFromJson(json);
GithubMeUser viewer;
@override
List<Object> get props => [viewer];
Map<String, dynamic> toJson() => _$GithubMeToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeUser extends GithubMeAuditEntryActor
with EquatableMixin
implements
GithubMeNode,
GithubMeActor,
GithubMeRegistryPackageOwner,
GithubMeRegistryPackageSearch,
GithubMeProjectOwner,
GithubMeRepositoryOwner,
GithubMeUniformResourceLocatable,
GithubMeProfileOwner,
GithubMeSponsorable {
GithubMeUser();
factory GithubMeUser.fromJson(Map<String, dynamic> json) =>
_$GithubMeUserFromJson(json);
@override
String login;
@override
String avatarUrl;
@override
String url;
@override
String name;
String bio;
String company;
@override
String location;
@override
String email;
@override
String websiteUrl;
GithubMeStarredRepositoryConnection starredRepositories;
GithubMeFollowerConnection followers;
GithubMeFollowingConnection following;
@override
GithubMeRepositoryConnection repositories;
GithubMeContributionsCollection contributionsCollection;
@override
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [
login,
avatarUrl,
url,
name,
bio,
company,
location,
email,
websiteUrl,
starredRepositories,
followers,
following,
repositories,
contributionsCollection,
resolveType
];
Map<String, dynamic> toJson() => _$GithubMeUserToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeStarredRepositoryConnection with EquatableMixin {
GithubMeStarredRepositoryConnection();
factory GithubMeStarredRepositoryConnection.fromJson(
Map<String, dynamic> json) =>
_$GithubMeStarredRepositoryConnectionFromJson(json);
int totalCount;
@override
List<Object> get props => [totalCount];
Map<String, dynamic> toJson() =>
_$GithubMeStarredRepositoryConnectionToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeFollowerConnection with EquatableMixin {
GithubMeFollowerConnection();
factory GithubMeFollowerConnection.fromJson(Map<String, dynamic> json) =>
_$GithubMeFollowerConnectionFromJson(json);
int totalCount;
@override
List<Object> get props => [totalCount];
Map<String, dynamic> toJson() => _$GithubMeFollowerConnectionToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeFollowingConnection with EquatableMixin {
GithubMeFollowingConnection();
factory GithubMeFollowingConnection.fromJson(Map<String, dynamic> json) =>
_$GithubMeFollowingConnectionFromJson(json);
int totalCount;
@override
List<Object> get props => [totalCount];
Map<String, dynamic> toJson() => _$GithubMeFollowingConnectionToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeRepositoryConnection with EquatableMixin {
GithubMeRepositoryConnection();
factory GithubMeRepositoryConnection.fromJson(Map<String, dynamic> json) =>
_$GithubMeRepositoryConnectionFromJson(json);
int totalCount;
@override
List<Object> get props => [totalCount];
Map<String, dynamic> toJson() => _$GithubMeRepositoryConnectionToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeContributionsCollection with EquatableMixin {
GithubMeContributionsCollection();
factory GithubMeContributionsCollection.fromJson(Map<String, dynamic> json) =>
_$GithubMeContributionsCollectionFromJson(json);
GithubMeContributionCalendar contributionCalendar;
@override
List<Object> get props => [contributionCalendar];
Map<String, dynamic> toJson() =>
_$GithubMeContributionsCollectionToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeContributionCalendar with EquatableMixin {
GithubMeContributionCalendar();
factory GithubMeContributionCalendar.fromJson(Map<String, dynamic> json) =>
_$GithubMeContributionCalendarFromJson(json);
List<GithubMeContributionCalendarWeek> weeks;
@override
List<Object> get props => [weeks];
Map<String, dynamic> toJson() => _$GithubMeContributionCalendarToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeContributionCalendarWeek with EquatableMixin {
GithubMeContributionCalendarWeek();
factory GithubMeContributionCalendarWeek.fromJson(
Map<String, dynamic> json) =>
_$GithubMeContributionCalendarWeekFromJson(json);
List<GithubMeContributionCalendarDay> contributionDays;
@override
List<Object> get props => [contributionDays];
Map<String, dynamic> toJson() =>
_$GithubMeContributionCalendarWeekToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeContributionCalendarDay with EquatableMixin {
GithubMeContributionCalendarDay();
factory GithubMeContributionCalendarDay.fromJson(Map<String, dynamic> json) =>
_$GithubMeContributionCalendarDayFromJson(json);
String color;
@override
List<Object> get props => [color];
Map<String, dynamic> toJson() =>
_$GithubMeContributionCalendarDayToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeAuditEntryActor with EquatableMixin {
GithubMeAuditEntryActor();
factory GithubMeAuditEntryActor.fromJson(Map<String, dynamic> json) =>
_$GithubMeAuditEntryActorFromJson(json);
@override
List<Object> get props => [];
Map<String, dynamic> toJson() => _$GithubMeAuditEntryActorToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeNode with EquatableMixin {
GithubMeNode();
factory GithubMeNode.fromJson(Map<String, dynamic> json) =>
_$GithubMeNodeFromJson(json);
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [resolveType];
Map<String, dynamic> toJson() => _$GithubMeNodeToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeActor with EquatableMixin {
GithubMeActor();
factory GithubMeActor.fromJson(Map<String, dynamic> json) =>
_$GithubMeActorFromJson(json);
String login;
String avatarUrl;
String url;
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [login, avatarUrl, url, resolveType];
Map<String, dynamic> toJson() => _$GithubMeActorToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeRegistryPackageOwner with EquatableMixin {
GithubMeRegistryPackageOwner();
factory GithubMeRegistryPackageOwner.fromJson(Map<String, dynamic> json) =>
_$GithubMeRegistryPackageOwnerFromJson(json);
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [resolveType];
Map<String, dynamic> toJson() => _$GithubMeRegistryPackageOwnerToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeRegistryPackageSearch with EquatableMixin {
GithubMeRegistryPackageSearch();
factory GithubMeRegistryPackageSearch.fromJson(Map<String, dynamic> json) =>
_$GithubMeRegistryPackageSearchFromJson(json);
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [resolveType];
Map<String, dynamic> toJson() => _$GithubMeRegistryPackageSearchToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeProjectOwner with EquatableMixin {
GithubMeProjectOwner();
factory GithubMeProjectOwner.fromJson(Map<String, dynamic> json) =>
_$GithubMeProjectOwnerFromJson(json);
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [resolveType];
Map<String, dynamic> toJson() => _$GithubMeProjectOwnerToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeRepositoryOwner with EquatableMixin {
GithubMeRepositoryOwner();
factory GithubMeRepositoryOwner.fromJson(Map<String, dynamic> json) =>
_$GithubMeRepositoryOwnerFromJson(json);
String login;
String avatarUrl;
String url;
GithubMeRepositoryConnection repositories;
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [login, avatarUrl, url, repositories, resolveType];
Map<String, dynamic> toJson() => _$GithubMeRepositoryOwnerToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeUniformResourceLocatable with EquatableMixin {
GithubMeUniformResourceLocatable();
factory GithubMeUniformResourceLocatable.fromJson(
Map<String, dynamic> json) =>
_$GithubMeUniformResourceLocatableFromJson(json);
String url;
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [url, resolveType];
Map<String, dynamic> toJson() =>
_$GithubMeUniformResourceLocatableToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeProfileOwner with EquatableMixin {
GithubMeProfileOwner();
factory GithubMeProfileOwner.fromJson(Map<String, dynamic> json) =>
_$GithubMeProfileOwnerFromJson(json);
String login;
String name;
String location;
String email;
String websiteUrl;
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props =>
[login, name, location, email, websiteUrl, resolveType];
Map<String, dynamic> toJson() => _$GithubMeProfileOwnerToJson(this);
}
@JsonSerializable(explicitToJson: true)
class GithubMeSponsorable with EquatableMixin {
GithubMeSponsorable();
factory GithubMeSponsorable.fromJson(Map<String, dynamic> json) =>
_$GithubMeSponsorableFromJson(json);
@JsonKey(name: '__typename')
String resolveType;
@override
List<Object> get props => [resolveType];
Map<String, dynamic> toJson() => _$GithubMeSponsorableToJson(this);
}
class GithubMeQuery extends GraphQLQuery<GithubMe, JsonSerializable> {
GithubMeQuery();
@override
final DocumentNode document = DocumentNode(definitions: [
OperationDefinitionNode(
type: OperationType.query,
name: null,
variableDefinitions: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'viewer'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'login'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'avatarUrl'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'url'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'name'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'bio'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'company'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'location'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'email'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'websiteUrl'),
alias: null,
arguments: [],
directives: [],
selectionSet: null),
FieldNode(
name: NameNode(value: 'starredRepositories'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'totalCount'),
alias: null,
arguments: [],
directives: [],
selectionSet: null)
])),
FieldNode(
name: NameNode(value: 'followers'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'totalCount'),
alias: null,
arguments: [],
directives: [],
selectionSet: null)
])),
FieldNode(
name: NameNode(value: 'following'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'totalCount'),
alias: null,
arguments: [],
directives: [],
selectionSet: null)
])),
FieldNode(
name: NameNode(value: 'repositories'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'totalCount'),
alias: null,
arguments: [],
directives: [],
selectionSet: null)
])),
FieldNode(
name: NameNode(value: 'contributionsCollection'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'contributionCalendar'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'weeks'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'contributionDays'),
alias: null,
arguments: [],
directives: [],
selectionSet:
SelectionSetNode(selections: [
FieldNode(
name: NameNode(value: 'color'),
alias: null,
arguments: [],
directives: [],
selectionSet: null)
]))
]))
]))
]))
]))
]))
]);
@override
final String operationName = 'github_me';
@override
List<Object> get props => [document, operationName];
@override
GithubMe parse(Map<String, dynamic> json) => GithubMe.fromJson(json);
}

View File

@ -1,313 +0,0 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'github_me.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
GithubMe _$GithubMeFromJson(Map<String, dynamic> json) {
return GithubMe()
..viewer = json['viewer'] == null
? null
: GithubMeUser.fromJson(json['viewer'] as Map<String, dynamic>);
}
Map<String, dynamic> _$GithubMeToJson(GithubMe instance) => <String, dynamic>{
'viewer': instance.viewer?.toJson(),
};
GithubMeUser _$GithubMeUserFromJson(Map<String, dynamic> json) {
return GithubMeUser()
..login = json['login'] as String
..avatarUrl = json['avatarUrl'] as String
..url = json['url'] as String
..name = json['name'] as String
..bio = json['bio'] as String
..company = json['company'] as String
..location = json['location'] as String
..email = json['email'] as String
..websiteUrl = json['websiteUrl'] as String
..starredRepositories = json['starredRepositories'] == null
? null
: GithubMeStarredRepositoryConnection.fromJson(
json['starredRepositories'] as Map<String, dynamic>)
..followers = json['followers'] == null
? null
: GithubMeFollowerConnection.fromJson(
json['followers'] as Map<String, dynamic>)
..following = json['following'] == null
? null
: GithubMeFollowingConnection.fromJson(
json['following'] as Map<String, dynamic>)
..repositories = json['repositories'] == null
? null
: GithubMeRepositoryConnection.fromJson(
json['repositories'] as Map<String, dynamic>)
..contributionsCollection = json['contributionsCollection'] == null
? null
: GithubMeContributionsCollection.fromJson(
json['contributionsCollection'] as Map<String, dynamic>)
..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeUserToJson(GithubMeUser instance) =>
<String, dynamic>{
'login': instance.login,
'avatarUrl': instance.avatarUrl,
'url': instance.url,
'name': instance.name,
'bio': instance.bio,
'company': instance.company,
'location': instance.location,
'email': instance.email,
'websiteUrl': instance.websiteUrl,
'starredRepositories': instance.starredRepositories?.toJson(),
'followers': instance.followers?.toJson(),
'following': instance.following?.toJson(),
'repositories': instance.repositories?.toJson(),
'contributionsCollection': instance.contributionsCollection?.toJson(),
'__typename': instance.resolveType,
};
GithubMeStarredRepositoryConnection
_$GithubMeStarredRepositoryConnectionFromJson(Map<String, dynamic> json) {
return GithubMeStarredRepositoryConnection()
..totalCount = json['totalCount'] as int;
}
Map<String, dynamic> _$GithubMeStarredRepositoryConnectionToJson(
GithubMeStarredRepositoryConnection instance) =>
<String, dynamic>{
'totalCount': instance.totalCount,
};
GithubMeFollowerConnection _$GithubMeFollowerConnectionFromJson(
Map<String, dynamic> json) {
return GithubMeFollowerConnection()..totalCount = json['totalCount'] as int;
}
Map<String, dynamic> _$GithubMeFollowerConnectionToJson(
GithubMeFollowerConnection instance) =>
<String, dynamic>{
'totalCount': instance.totalCount,
};
GithubMeFollowingConnection _$GithubMeFollowingConnectionFromJson(
Map<String, dynamic> json) {
return GithubMeFollowingConnection()..totalCount = json['totalCount'] as int;
}
Map<String, dynamic> _$GithubMeFollowingConnectionToJson(
GithubMeFollowingConnection instance) =>
<String, dynamic>{
'totalCount': instance.totalCount,
};
GithubMeRepositoryConnection _$GithubMeRepositoryConnectionFromJson(
Map<String, dynamic> json) {
return GithubMeRepositoryConnection()..totalCount = json['totalCount'] as int;
}
Map<String, dynamic> _$GithubMeRepositoryConnectionToJson(
GithubMeRepositoryConnection instance) =>
<String, dynamic>{
'totalCount': instance.totalCount,
};
GithubMeContributionsCollection _$GithubMeContributionsCollectionFromJson(
Map<String, dynamic> json) {
return GithubMeContributionsCollection()
..contributionCalendar = json['contributionCalendar'] == null
? null
: GithubMeContributionCalendar.fromJson(
json['contributionCalendar'] as Map<String, dynamic>);
}
Map<String, dynamic> _$GithubMeContributionsCollectionToJson(
GithubMeContributionsCollection instance) =>
<String, dynamic>{
'contributionCalendar': instance.contributionCalendar?.toJson(),
};
GithubMeContributionCalendar _$GithubMeContributionCalendarFromJson(
Map<String, dynamic> json) {
return GithubMeContributionCalendar()
..weeks = (json['weeks'] as List)
?.map((e) => e == null
? null
: GithubMeContributionCalendarWeek.fromJson(
e as Map<String, dynamic>))
?.toList();
}
Map<String, dynamic> _$GithubMeContributionCalendarToJson(
GithubMeContributionCalendar instance) =>
<String, dynamic>{
'weeks': instance.weeks?.map((e) => e?.toJson())?.toList(),
};
GithubMeContributionCalendarWeek _$GithubMeContributionCalendarWeekFromJson(
Map<String, dynamic> json) {
return GithubMeContributionCalendarWeek()
..contributionDays = (json['contributionDays'] as List)
?.map((e) => e == null
? null
: GithubMeContributionCalendarDay.fromJson(
e as Map<String, dynamic>))
?.toList();
}
Map<String, dynamic> _$GithubMeContributionCalendarWeekToJson(
GithubMeContributionCalendarWeek instance) =>
<String, dynamic>{
'contributionDays':
instance.contributionDays?.map((e) => e?.toJson())?.toList(),
};
GithubMeContributionCalendarDay _$GithubMeContributionCalendarDayFromJson(
Map<String, dynamic> json) {
return GithubMeContributionCalendarDay()..color = json['color'] as String;
}
Map<String, dynamic> _$GithubMeContributionCalendarDayToJson(
GithubMeContributionCalendarDay instance) =>
<String, dynamic>{
'color': instance.color,
};
GithubMeAuditEntryActor _$GithubMeAuditEntryActorFromJson(
Map<String, dynamic> json) {
return GithubMeAuditEntryActor();
}
Map<String, dynamic> _$GithubMeAuditEntryActorToJson(
GithubMeAuditEntryActor instance) =>
<String, dynamic>{};
GithubMeNode _$GithubMeNodeFromJson(Map<String, dynamic> json) {
return GithubMeNode()..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeNodeToJson(GithubMeNode instance) =>
<String, dynamic>{
'__typename': instance.resolveType,
};
GithubMeActor _$GithubMeActorFromJson(Map<String, dynamic> json) {
return GithubMeActor()
..login = json['login'] as String
..avatarUrl = json['avatarUrl'] as String
..url = json['url'] as String
..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeActorToJson(GithubMeActor instance) =>
<String, dynamic>{
'login': instance.login,
'avatarUrl': instance.avatarUrl,
'url': instance.url,
'__typename': instance.resolveType,
};
GithubMeRegistryPackageOwner _$GithubMeRegistryPackageOwnerFromJson(
Map<String, dynamic> json) {
return GithubMeRegistryPackageOwner()
..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeRegistryPackageOwnerToJson(
GithubMeRegistryPackageOwner instance) =>
<String, dynamic>{
'__typename': instance.resolveType,
};
GithubMeRegistryPackageSearch _$GithubMeRegistryPackageSearchFromJson(
Map<String, dynamic> json) {
return GithubMeRegistryPackageSearch()
..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeRegistryPackageSearchToJson(
GithubMeRegistryPackageSearch instance) =>
<String, dynamic>{
'__typename': instance.resolveType,
};
GithubMeProjectOwner _$GithubMeProjectOwnerFromJson(Map<String, dynamic> json) {
return GithubMeProjectOwner()..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeProjectOwnerToJson(
GithubMeProjectOwner instance) =>
<String, dynamic>{
'__typename': instance.resolveType,
};
GithubMeRepositoryOwner _$GithubMeRepositoryOwnerFromJson(
Map<String, dynamic> json) {
return GithubMeRepositoryOwner()
..login = json['login'] as String
..avatarUrl = json['avatarUrl'] as String
..url = json['url'] as String
..repositories = json['repositories'] == null
? null
: GithubMeRepositoryConnection.fromJson(
json['repositories'] as Map<String, dynamic>)
..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeRepositoryOwnerToJson(
GithubMeRepositoryOwner instance) =>
<String, dynamic>{
'login': instance.login,
'avatarUrl': instance.avatarUrl,
'url': instance.url,
'repositories': instance.repositories?.toJson(),
'__typename': instance.resolveType,
};
GithubMeUniformResourceLocatable _$GithubMeUniformResourceLocatableFromJson(
Map<String, dynamic> json) {
return GithubMeUniformResourceLocatable()
..url = json['url'] as String
..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeUniformResourceLocatableToJson(
GithubMeUniformResourceLocatable instance) =>
<String, dynamic>{
'url': instance.url,
'__typename': instance.resolveType,
};
GithubMeProfileOwner _$GithubMeProfileOwnerFromJson(Map<String, dynamic> json) {
return GithubMeProfileOwner()
..login = json['login'] as String
..name = json['name'] as String
..location = json['location'] as String
..email = json['email'] as String
..websiteUrl = json['websiteUrl'] as String
..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeProfileOwnerToJson(
GithubMeProfileOwner instance) =>
<String, dynamic>{
'login': instance.login,
'name': instance.name,
'location': instance.location,
'email': instance.email,
'websiteUrl': instance.websiteUrl,
'__typename': instance.resolveType,
};
GithubMeSponsorable _$GithubMeSponsorableFromJson(Map<String, dynamic> json) {
return GithubMeSponsorable()..resolveType = json['__typename'] as String;
}
Map<String, dynamic> _$GithubMeSponsorableToJson(
GithubMeSponsorable instance) =>
<String, dynamic>{
'__typename': instance.resolveType,
};

View File

@ -1,34 +0,0 @@
{
viewer {
login
avatarUrl
url
name
bio
company
location
email
websiteUrl
starredRepositories {
totalCount
}
followers {
totalCount
}
following {
totalCount
}
repositories {
totalCount
}
contributionsCollection {
contributionCalendar {
weeks {
contributionDays {
color
}
}
}
}
}
}