build: upgrade artemis
This commit is contained in:
parent
1f23f076ed
commit
9bcd742c75
|
@ -4414,6 +4414,309 @@ class GhReposQuery extends GraphQLQuery<GhRepos, GhReposArguments> {
|
|||
GhRepos parse(Map<String, dynamic> json) => GhRepos.fromJson(json);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatch with EquatableMixin {
|
||||
GhWatch();
|
||||
|
||||
factory GhWatch.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchFromJson(json);
|
||||
|
||||
GhWatchUpdateSubscriptionPayload updateSubscription;
|
||||
|
||||
@override
|
||||
List<Object> get props => [updateSubscription];
|
||||
Map<String, dynamic> toJson() => _$GhWatchToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchUpdateSubscriptionPayload with EquatableMixin {
|
||||
GhWatchUpdateSubscriptionPayload();
|
||||
|
||||
factory GhWatchUpdateSubscriptionPayload.fromJson(
|
||||
Map<String, dynamic> json) =>
|
||||
_$GhWatchUpdateSubscriptionPayloadFromJson(json);
|
||||
|
||||
GhWatchSubscribable subscribable;
|
||||
|
||||
@override
|
||||
List<Object> get props => [subscribable];
|
||||
Map<String, dynamic> toJson() =>
|
||||
_$GhWatchUpdateSubscriptionPayloadToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchSubscribable with EquatableMixin {
|
||||
GhWatchSubscribable();
|
||||
|
||||
factory GhWatchSubscribable.fromJson(Map<String, dynamic> json) {
|
||||
switch (json['__typename'].toString()) {
|
||||
case 'Repository':
|
||||
return GhWatchRepository.fromJson(json);
|
||||
default:
|
||||
}
|
||||
return _$GhWatchSubscribableFromJson(json);
|
||||
}
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() {
|
||||
switch (resolveType) {
|
||||
case 'Repository':
|
||||
return (this as GhWatchRepository).toJson();
|
||||
default:
|
||||
}
|
||||
return _$GhWatchSubscribableToJson(this);
|
||||
}
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRepository extends GhWatchPinnableItem
|
||||
with EquatableMixin
|
||||
implements
|
||||
GhWatchNode,
|
||||
GhWatchProjectOwner,
|
||||
GhWatchRegistryPackageOwner,
|
||||
GhWatchRegistryPackageSearch,
|
||||
GhWatchSubscribable,
|
||||
GhWatchStarrable,
|
||||
GhWatchUniformResourceLocatable,
|
||||
GhWatchRepositoryInfo {
|
||||
GhWatchRepository();
|
||||
|
||||
factory GhWatchRepository.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRepositoryFromJson(json);
|
||||
|
||||
GhWatchSubscriptionState viewerSubscription;
|
||||
|
||||
@override
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [viewerSubscription, resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRepositoryToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchPinnableItem with EquatableMixin {
|
||||
GhWatchPinnableItem();
|
||||
|
||||
factory GhWatchPinnableItem.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchPinnableItemFromJson(json);
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
Map<String, dynamic> toJson() => _$GhWatchPinnableItemToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchNode with EquatableMixin {
|
||||
GhWatchNode();
|
||||
|
||||
factory GhWatchNode.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchNodeFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchNodeToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchProjectOwner with EquatableMixin {
|
||||
GhWatchProjectOwner();
|
||||
|
||||
factory GhWatchProjectOwner.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchProjectOwnerFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchProjectOwnerToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRegistryPackageOwner with EquatableMixin {
|
||||
GhWatchRegistryPackageOwner();
|
||||
|
||||
factory GhWatchRegistryPackageOwner.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRegistryPackageOwnerFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRegistryPackageOwnerToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRegistryPackageSearch with EquatableMixin {
|
||||
GhWatchRegistryPackageSearch();
|
||||
|
||||
factory GhWatchRegistryPackageSearch.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRegistryPackageSearchFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRegistryPackageSearchToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchStarrable with EquatableMixin {
|
||||
GhWatchStarrable();
|
||||
|
||||
factory GhWatchStarrable.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchStarrableFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchStarrableToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchUniformResourceLocatable with EquatableMixin {
|
||||
GhWatchUniformResourceLocatable();
|
||||
|
||||
factory GhWatchUniformResourceLocatable.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchUniformResourceLocatableFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() =>
|
||||
_$GhWatchUniformResourceLocatableToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRepositoryInfo with EquatableMixin {
|
||||
GhWatchRepositoryInfo();
|
||||
|
||||
factory GhWatchRepositoryInfo.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRepositoryInfoFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRepositoryInfoToJson(this);
|
||||
}
|
||||
|
||||
enum GhWatchSubscriptionState {
|
||||
UNSUBSCRIBED,
|
||||
SUBSCRIBED,
|
||||
IGNORED,
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchArguments extends JsonSerializable with EquatableMixin {
|
||||
GhWatchArguments({this.id, this.state});
|
||||
|
||||
factory GhWatchArguments.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchArgumentsFromJson(json);
|
||||
|
||||
final String id;
|
||||
|
||||
final GhWatchSubscriptionState state;
|
||||
|
||||
@override
|
||||
List<Object> get props => [id, state];
|
||||
Map<String, dynamic> toJson() => _$GhWatchArgumentsToJson(this);
|
||||
}
|
||||
|
||||
class GhWatchQuery extends GraphQLQuery<GhWatch, GhWatchArguments> {
|
||||
GhWatchQuery({this.variables});
|
||||
|
||||
@override
|
||||
final DocumentNode document = DocumentNode(definitions: [
|
||||
OperationDefinitionNode(
|
||||
type: OperationType.mutation,
|
||||
name: NameNode(value: 'GhWatch'),
|
||||
variableDefinitions: [
|
||||
VariableDefinitionNode(
|
||||
variable: VariableNode(name: NameNode(value: 'id')),
|
||||
type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true),
|
||||
defaultValue: DefaultValueNode(value: null),
|
||||
directives: []),
|
||||
VariableDefinitionNode(
|
||||
variable: VariableNode(name: NameNode(value: 'state')),
|
||||
type: NamedTypeNode(
|
||||
name: NameNode(value: 'SubscriptionState'), isNonNull: true),
|
||||
defaultValue: DefaultValueNode(value: null),
|
||||
directives: [])
|
||||
],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'updateSubscription'),
|
||||
alias: null,
|
||||
arguments: [
|
||||
ArgumentNode(
|
||||
name: NameNode(value: 'input'),
|
||||
value: ObjectValueNode(fields: [
|
||||
ObjectFieldNode(
|
||||
name: NameNode(value: 'subscribableId'),
|
||||
value: VariableNode(name: NameNode(value: 'id'))),
|
||||
ObjectFieldNode(
|
||||
name: NameNode(value: 'state'),
|
||||
value: VariableNode(name: NameNode(value: 'state')))
|
||||
]))
|
||||
],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'subscribable'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
InlineFragmentNode(
|
||||
typeCondition: TypeConditionNode(
|
||||
on: NamedTypeNode(
|
||||
name: NameNode(value: 'Repository'),
|
||||
isNonNull: false)),
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'viewerSubscription'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null)
|
||||
]))
|
||||
]))
|
||||
]))
|
||||
]))
|
||||
]);
|
||||
|
||||
@override
|
||||
final String operationName = 'GhWatch';
|
||||
|
||||
@override
|
||||
final GhWatchArguments variables;
|
||||
|
||||
@override
|
||||
List<Object> get props => [document, operationName, variables];
|
||||
@override
|
||||
GhWatch parse(Map<String, dynamic> json) => GhWatch.fromJson(json);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhUser with EquatableMixin {
|
||||
GhUser();
|
||||
|
@ -8108,306 +8411,3 @@ class GhRepoIdQuery extends GraphQLQuery<GhRepoId, GhRepoIdArguments> {
|
|||
@override
|
||||
GhRepoId parse(Map<String, dynamic> json) => GhRepoId.fromJson(json);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatch with EquatableMixin {
|
||||
GhWatch();
|
||||
|
||||
factory GhWatch.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchFromJson(json);
|
||||
|
||||
GhWatchUpdateSubscriptionPayload updateSubscription;
|
||||
|
||||
@override
|
||||
List<Object> get props => [updateSubscription];
|
||||
Map<String, dynamic> toJson() => _$GhWatchToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchUpdateSubscriptionPayload with EquatableMixin {
|
||||
GhWatchUpdateSubscriptionPayload();
|
||||
|
||||
factory GhWatchUpdateSubscriptionPayload.fromJson(
|
||||
Map<String, dynamic> json) =>
|
||||
_$GhWatchUpdateSubscriptionPayloadFromJson(json);
|
||||
|
||||
GhWatchSubscribable subscribable;
|
||||
|
||||
@override
|
||||
List<Object> get props => [subscribable];
|
||||
Map<String, dynamic> toJson() =>
|
||||
_$GhWatchUpdateSubscriptionPayloadToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchSubscribable with EquatableMixin {
|
||||
GhWatchSubscribable();
|
||||
|
||||
factory GhWatchSubscribable.fromJson(Map<String, dynamic> json) {
|
||||
switch (json['__typename'].toString()) {
|
||||
case 'Repository':
|
||||
return GhWatchRepository.fromJson(json);
|
||||
default:
|
||||
}
|
||||
return _$GhWatchSubscribableFromJson(json);
|
||||
}
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() {
|
||||
switch (resolveType) {
|
||||
case 'Repository':
|
||||
return (this as GhWatchRepository).toJson();
|
||||
default:
|
||||
}
|
||||
return _$GhWatchSubscribableToJson(this);
|
||||
}
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRepository extends GhWatchPinnableItem
|
||||
with EquatableMixin
|
||||
implements
|
||||
GhWatchNode,
|
||||
GhWatchProjectOwner,
|
||||
GhWatchRegistryPackageOwner,
|
||||
GhWatchRegistryPackageSearch,
|
||||
GhWatchSubscribable,
|
||||
GhWatchStarrable,
|
||||
GhWatchUniformResourceLocatable,
|
||||
GhWatchRepositoryInfo {
|
||||
GhWatchRepository();
|
||||
|
||||
factory GhWatchRepository.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRepositoryFromJson(json);
|
||||
|
||||
GhWatchSubscriptionState viewerSubscription;
|
||||
|
||||
@override
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [viewerSubscription, resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRepositoryToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchPinnableItem with EquatableMixin {
|
||||
GhWatchPinnableItem();
|
||||
|
||||
factory GhWatchPinnableItem.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchPinnableItemFromJson(json);
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
Map<String, dynamic> toJson() => _$GhWatchPinnableItemToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchNode with EquatableMixin {
|
||||
GhWatchNode();
|
||||
|
||||
factory GhWatchNode.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchNodeFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchNodeToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchProjectOwner with EquatableMixin {
|
||||
GhWatchProjectOwner();
|
||||
|
||||
factory GhWatchProjectOwner.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchProjectOwnerFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchProjectOwnerToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRegistryPackageOwner with EquatableMixin {
|
||||
GhWatchRegistryPackageOwner();
|
||||
|
||||
factory GhWatchRegistryPackageOwner.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRegistryPackageOwnerFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRegistryPackageOwnerToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRegistryPackageSearch with EquatableMixin {
|
||||
GhWatchRegistryPackageSearch();
|
||||
|
||||
factory GhWatchRegistryPackageSearch.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRegistryPackageSearchFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRegistryPackageSearchToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchStarrable with EquatableMixin {
|
||||
GhWatchStarrable();
|
||||
|
||||
factory GhWatchStarrable.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchStarrableFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchStarrableToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchUniformResourceLocatable with EquatableMixin {
|
||||
GhWatchUniformResourceLocatable();
|
||||
|
||||
factory GhWatchUniformResourceLocatable.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchUniformResourceLocatableFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() =>
|
||||
_$GhWatchUniformResourceLocatableToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchRepositoryInfo with EquatableMixin {
|
||||
GhWatchRepositoryInfo();
|
||||
|
||||
factory GhWatchRepositoryInfo.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchRepositoryInfoFromJson(json);
|
||||
|
||||
@JsonKey(name: '__typename')
|
||||
String resolveType;
|
||||
|
||||
@override
|
||||
List<Object> get props => [resolveType];
|
||||
Map<String, dynamic> toJson() => _$GhWatchRepositoryInfoToJson(this);
|
||||
}
|
||||
|
||||
enum GhWatchSubscriptionState {
|
||||
UNSUBSCRIBED,
|
||||
SUBSCRIBED,
|
||||
IGNORED,
|
||||
}
|
||||
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class GhWatchArguments extends JsonSerializable with EquatableMixin {
|
||||
GhWatchArguments({this.id, this.state});
|
||||
|
||||
factory GhWatchArguments.fromJson(Map<String, dynamic> json) =>
|
||||
_$GhWatchArgumentsFromJson(json);
|
||||
|
||||
final String id;
|
||||
|
||||
final GhWatchSubscriptionState state;
|
||||
|
||||
@override
|
||||
List<Object> get props => [id, state];
|
||||
Map<String, dynamic> toJson() => _$GhWatchArgumentsToJson(this);
|
||||
}
|
||||
|
||||
class GhWatchQuery extends GraphQLQuery<GhWatch, GhWatchArguments> {
|
||||
GhWatchQuery({this.variables});
|
||||
|
||||
@override
|
||||
final DocumentNode document = DocumentNode(definitions: [
|
||||
OperationDefinitionNode(
|
||||
type: OperationType.mutation,
|
||||
name: NameNode(value: 'GhWatch'),
|
||||
variableDefinitions: [
|
||||
VariableDefinitionNode(
|
||||
variable: VariableNode(name: NameNode(value: 'id')),
|
||||
type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true),
|
||||
defaultValue: DefaultValueNode(value: null),
|
||||
directives: []),
|
||||
VariableDefinitionNode(
|
||||
variable: VariableNode(name: NameNode(value: 'state')),
|
||||
type: NamedTypeNode(
|
||||
name: NameNode(value: 'SubscriptionState'), isNonNull: true),
|
||||
defaultValue: DefaultValueNode(value: null),
|
||||
directives: [])
|
||||
],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'updateSubscription'),
|
||||
alias: null,
|
||||
arguments: [
|
||||
ArgumentNode(
|
||||
name: NameNode(value: 'input'),
|
||||
value: ObjectValueNode(fields: [
|
||||
ObjectFieldNode(
|
||||
name: NameNode(value: 'subscribableId'),
|
||||
value: VariableNode(name: NameNode(value: 'id'))),
|
||||
ObjectFieldNode(
|
||||
name: NameNode(value: 'state'),
|
||||
value: VariableNode(name: NameNode(value: 'state')))
|
||||
]))
|
||||
],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'subscribable'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
InlineFragmentNode(
|
||||
typeCondition: TypeConditionNode(
|
||||
on: NamedTypeNode(
|
||||
name: NameNode(value: 'Repository'),
|
||||
isNonNull: false)),
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
FieldNode(
|
||||
name: NameNode(value: 'viewerSubscription'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null)
|
||||
]))
|
||||
]))
|
||||
]))
|
||||
]))
|
||||
]);
|
||||
|
||||
@override
|
||||
final String operationName = 'GhWatch';
|
||||
|
||||
@override
|
||||
final GhWatchArguments variables;
|
||||
|
||||
@override
|
||||
List<Object> get props => [document, operationName, variables];
|
||||
@override
|
||||
GhWatch parse(Map<String, dynamic> json) => GhWatch.fromJson(json);
|
||||
}
|
||||
|
|
|
@ -1892,6 +1892,160 @@ Map<String, dynamic> _$GhReposArgumentsToJson(GhReposArguments instance) =>
|
|||
'isStar': instance.isStar,
|
||||
};
|
||||
|
||||
GhWatch _$GhWatchFromJson(Map<String, dynamic> json) {
|
||||
return GhWatch()
|
||||
..updateSubscription = json['updateSubscription'] == null
|
||||
? null
|
||||
: GhWatchUpdateSubscriptionPayload.fromJson(
|
||||
json['updateSubscription'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchToJson(GhWatch instance) => <String, dynamic>{
|
||||
'updateSubscription': instance.updateSubscription?.toJson(),
|
||||
};
|
||||
|
||||
GhWatchUpdateSubscriptionPayload _$GhWatchUpdateSubscriptionPayloadFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchUpdateSubscriptionPayload()
|
||||
..subscribable = json['subscribable'] == null
|
||||
? null
|
||||
: GhWatchSubscribable.fromJson(
|
||||
json['subscribable'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchUpdateSubscriptionPayloadToJson(
|
||||
GhWatchUpdateSubscriptionPayload instance) =>
|
||||
<String, dynamic>{
|
||||
'subscribable': instance.subscribable?.toJson(),
|
||||
};
|
||||
|
||||
GhWatchSubscribable _$GhWatchSubscribableFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchSubscribable()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchSubscribableToJson(
|
||||
GhWatchSubscribable instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRepository _$GhWatchRepositoryFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchRepository()
|
||||
..viewerSubscription = _$enumDecodeNullable(
|
||||
_$GhWatchSubscriptionStateEnumMap, json['viewerSubscription'])
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRepositoryToJson(GhWatchRepository instance) =>
|
||||
<String, dynamic>{
|
||||
'viewerSubscription':
|
||||
_$GhWatchSubscriptionStateEnumMap[instance.viewerSubscription],
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
const _$GhWatchSubscriptionStateEnumMap = {
|
||||
GhWatchSubscriptionState.UNSUBSCRIBED: 'UNSUBSCRIBED',
|
||||
GhWatchSubscriptionState.SUBSCRIBED: 'SUBSCRIBED',
|
||||
GhWatchSubscriptionState.IGNORED: 'IGNORED',
|
||||
};
|
||||
|
||||
GhWatchPinnableItem _$GhWatchPinnableItemFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchPinnableItem();
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchPinnableItemToJson(
|
||||
GhWatchPinnableItem instance) =>
|
||||
<String, dynamic>{};
|
||||
|
||||
GhWatchNode _$GhWatchNodeFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchNode()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchNodeToJson(GhWatchNode instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchProjectOwner _$GhWatchProjectOwnerFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchProjectOwner()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchProjectOwnerToJson(
|
||||
GhWatchProjectOwner instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRegistryPackageOwner _$GhWatchRegistryPackageOwnerFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchRegistryPackageOwner()
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRegistryPackageOwnerToJson(
|
||||
GhWatchRegistryPackageOwner instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRegistryPackageSearch _$GhWatchRegistryPackageSearchFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchRegistryPackageSearch()
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRegistryPackageSearchToJson(
|
||||
GhWatchRegistryPackageSearch instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchStarrable _$GhWatchStarrableFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchStarrable()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchStarrableToJson(GhWatchStarrable instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchUniformResourceLocatable _$GhWatchUniformResourceLocatableFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchUniformResourceLocatable()
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchUniformResourceLocatableToJson(
|
||||
GhWatchUniformResourceLocatable instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRepositoryInfo _$GhWatchRepositoryInfoFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchRepositoryInfo()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRepositoryInfoToJson(
|
||||
GhWatchRepositoryInfo instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchArguments _$GhWatchArgumentsFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchArguments(
|
||||
id: json['id'] as String,
|
||||
state:
|
||||
_$enumDecodeNullable(_$GhWatchSubscriptionStateEnumMap, json['state']),
|
||||
);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchArgumentsToJson(GhWatchArguments instance) =>
|
||||
<String, dynamic>{
|
||||
'id': instance.id,
|
||||
'state': _$GhWatchSubscriptionStateEnumMap[instance.state],
|
||||
};
|
||||
|
||||
GhUser _$GhUserFromJson(Map<String, dynamic> json) {
|
||||
return GhUser()
|
||||
..repositoryOwner = json['repositoryOwner'] == null
|
||||
|
@ -3350,157 +3504,3 @@ Map<String, dynamic> _$GhRepoIdArgumentsToJson(GhRepoIdArguments instance) =>
|
|||
'owner': instance.owner,
|
||||
'name': instance.name,
|
||||
};
|
||||
|
||||
GhWatch _$GhWatchFromJson(Map<String, dynamic> json) {
|
||||
return GhWatch()
|
||||
..updateSubscription = json['updateSubscription'] == null
|
||||
? null
|
||||
: GhWatchUpdateSubscriptionPayload.fromJson(
|
||||
json['updateSubscription'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchToJson(GhWatch instance) => <String, dynamic>{
|
||||
'updateSubscription': instance.updateSubscription?.toJson(),
|
||||
};
|
||||
|
||||
GhWatchUpdateSubscriptionPayload _$GhWatchUpdateSubscriptionPayloadFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchUpdateSubscriptionPayload()
|
||||
..subscribable = json['subscribable'] == null
|
||||
? null
|
||||
: GhWatchSubscribable.fromJson(
|
||||
json['subscribable'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchUpdateSubscriptionPayloadToJson(
|
||||
GhWatchUpdateSubscriptionPayload instance) =>
|
||||
<String, dynamic>{
|
||||
'subscribable': instance.subscribable?.toJson(),
|
||||
};
|
||||
|
||||
GhWatchSubscribable _$GhWatchSubscribableFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchSubscribable()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchSubscribableToJson(
|
||||
GhWatchSubscribable instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRepository _$GhWatchRepositoryFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchRepository()
|
||||
..viewerSubscription = _$enumDecodeNullable(
|
||||
_$GhWatchSubscriptionStateEnumMap, json['viewerSubscription'])
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRepositoryToJson(GhWatchRepository instance) =>
|
||||
<String, dynamic>{
|
||||
'viewerSubscription':
|
||||
_$GhWatchSubscriptionStateEnumMap[instance.viewerSubscription],
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
const _$GhWatchSubscriptionStateEnumMap = {
|
||||
GhWatchSubscriptionState.UNSUBSCRIBED: 'UNSUBSCRIBED',
|
||||
GhWatchSubscriptionState.SUBSCRIBED: 'SUBSCRIBED',
|
||||
GhWatchSubscriptionState.IGNORED: 'IGNORED',
|
||||
};
|
||||
|
||||
GhWatchPinnableItem _$GhWatchPinnableItemFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchPinnableItem();
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchPinnableItemToJson(
|
||||
GhWatchPinnableItem instance) =>
|
||||
<String, dynamic>{};
|
||||
|
||||
GhWatchNode _$GhWatchNodeFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchNode()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchNodeToJson(GhWatchNode instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchProjectOwner _$GhWatchProjectOwnerFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchProjectOwner()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchProjectOwnerToJson(
|
||||
GhWatchProjectOwner instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRegistryPackageOwner _$GhWatchRegistryPackageOwnerFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchRegistryPackageOwner()
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRegistryPackageOwnerToJson(
|
||||
GhWatchRegistryPackageOwner instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRegistryPackageSearch _$GhWatchRegistryPackageSearchFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchRegistryPackageSearch()
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRegistryPackageSearchToJson(
|
||||
GhWatchRegistryPackageSearch instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchStarrable _$GhWatchStarrableFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchStarrable()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchStarrableToJson(GhWatchStarrable instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchUniformResourceLocatable _$GhWatchUniformResourceLocatableFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchUniformResourceLocatable()
|
||||
..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchUniformResourceLocatableToJson(
|
||||
GhWatchUniformResourceLocatable instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchRepositoryInfo _$GhWatchRepositoryInfoFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GhWatchRepositoryInfo()..resolveType = json['__typename'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchRepositoryInfoToJson(
|
||||
GhWatchRepositoryInfo instance) =>
|
||||
<String, dynamic>{
|
||||
'__typename': instance.resolveType,
|
||||
};
|
||||
|
||||
GhWatchArguments _$GhWatchArgumentsFromJson(Map<String, dynamic> json) {
|
||||
return GhWatchArguments(
|
||||
id: json['id'] as String,
|
||||
state:
|
||||
_$enumDecodeNullable(_$GhWatchSubscriptionStateEnumMap, json['state']),
|
||||
);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GhWatchArgumentsToJson(GhWatchArguments instance) =>
|
||||
<String, dynamic>{
|
||||
'id': instance.id,
|
||||
'state': _$GhWatchSubscriptionStateEnumMap[instance.state],
|
||||
};
|
||||
|
|
|
@ -36,7 +36,7 @@ dependencies:
|
|||
uri: ^0.11.3
|
||||
fimber: ^0.3.2
|
||||
photo_view: ^0.7.0
|
||||
artemis: ^2.2.0
|
||||
artemis: ^2.2.2
|
||||
# path: ../../github/artemis
|
||||
# git:
|
||||
# url: git://github.com/pd4d10/artemis.git
|
||||
|
|
Loading…
Reference in New Issue