mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +00:00
chore: Update GraphQL schema with experimental system rebuild tracking
This commit is contained in:
parent
455b1ed7f9
commit
9a1f47711c
|
@ -150,9 +150,9 @@ type DnsRecord {
|
||||||
recordType: String!
|
recordType: String!
|
||||||
name: String!
|
name: String!
|
||||||
content: String!
|
content: String!
|
||||||
displayName: String!
|
|
||||||
ttl: Int!
|
ttl: Int!
|
||||||
priority: Int
|
priority: Int
|
||||||
|
displayName: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type GenericBackupConfigReturn implements MutationReturnInterface {
|
type GenericBackupConfigReturn implements MutationReturnInterface {
|
||||||
|
@ -272,6 +272,19 @@ enum RestoreStrategy {
|
||||||
DOWNLOAD_VERIFY_OVERWRITE
|
DOWNLOAD_VERIFY_OVERWRITE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input SSHSettingsInput {
|
||||||
|
enable: Boolean!
|
||||||
|
passwordAuthentication: Boolean!
|
||||||
|
}
|
||||||
|
|
||||||
|
type SSHSettingsMutationReturn implements MutationReturnInterface {
|
||||||
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
|
enable: Boolean!
|
||||||
|
passwordAuthentication: Boolean!
|
||||||
|
}
|
||||||
|
|
||||||
enum ServerProvider {
|
enum ServerProvider {
|
||||||
HETZNER
|
HETZNER
|
||||||
DIGITALOCEAN
|
DIGITALOCEAN
|
||||||
|
@ -424,9 +437,10 @@ type SystemInfo {
|
||||||
type SystemMutations {
|
type SystemMutations {
|
||||||
changeTimezone(timezone: String!): TimezoneMutationReturn!
|
changeTimezone(timezone: String!): TimezoneMutationReturn!
|
||||||
changeAutoUpgradeSettings(settings: AutoUpgradeSettingsInput!): AutoUpgradeSettingsMutationReturn!
|
changeAutoUpgradeSettings(settings: AutoUpgradeSettingsInput!): AutoUpgradeSettingsMutationReturn!
|
||||||
runSystemRebuild: GenericMutationReturn!
|
changeSshSettings(settings: SSHSettingsInput!): SSHSettingsMutationReturn!
|
||||||
|
runSystemRebuild: GenericJobMutationReturn!
|
||||||
runSystemRollback: GenericMutationReturn!
|
runSystemRollback: GenericMutationReturn!
|
||||||
runSystemUpgrade: GenericMutationReturn!
|
runSystemUpgrade: GenericJobMutationReturn!
|
||||||
rebootSystem: GenericMutationReturn!
|
rebootSystem: GenericMutationReturn!
|
||||||
pullRepositoryChanges: GenericMutationReturn!
|
pullRepositoryChanges: GenericMutationReturn!
|
||||||
}
|
}
|
||||||
|
|
|
@ -982,6 +982,135 @@ class _CopyWithStubImpl$Input$RecoveryKeyLimitsInput<TRes>
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Input$SSHSettingsInput {
|
||||||
|
factory Input$SSHSettingsInput({
|
||||||
|
required bool enable,
|
||||||
|
required bool passwordAuthentication,
|
||||||
|
}) =>
|
||||||
|
Input$SSHSettingsInput._({
|
||||||
|
r'enable': enable,
|
||||||
|
r'passwordAuthentication': passwordAuthentication,
|
||||||
|
});
|
||||||
|
|
||||||
|
Input$SSHSettingsInput._(this._$data);
|
||||||
|
|
||||||
|
factory Input$SSHSettingsInput.fromJson(Map<String, dynamic> data) {
|
||||||
|
final result$data = <String, dynamic>{};
|
||||||
|
final l$enable = data['enable'];
|
||||||
|
result$data['enable'] = (l$enable as bool);
|
||||||
|
final l$passwordAuthentication = data['passwordAuthentication'];
|
||||||
|
result$data['passwordAuthentication'] = (l$passwordAuthentication as bool);
|
||||||
|
return Input$SSHSettingsInput._(result$data);
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> _$data;
|
||||||
|
|
||||||
|
bool get enable => (_$data['enable'] as bool);
|
||||||
|
|
||||||
|
bool get passwordAuthentication => (_$data['passwordAuthentication'] as bool);
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final result$data = <String, dynamic>{};
|
||||||
|
final l$enable = enable;
|
||||||
|
result$data['enable'] = l$enable;
|
||||||
|
final l$passwordAuthentication = passwordAuthentication;
|
||||||
|
result$data['passwordAuthentication'] = l$passwordAuthentication;
|
||||||
|
return result$data;
|
||||||
|
}
|
||||||
|
|
||||||
|
CopyWith$Input$SSHSettingsInput<Input$SSHSettingsInput> get copyWith =>
|
||||||
|
CopyWith$Input$SSHSettingsInput(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other is Input$SSHSettingsInput) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$enable = enable;
|
||||||
|
final lOther$enable = other.enable;
|
||||||
|
if (l$enable != lOther$enable) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$passwordAuthentication = passwordAuthentication;
|
||||||
|
final lOther$passwordAuthentication = other.passwordAuthentication;
|
||||||
|
if (l$passwordAuthentication != lOther$passwordAuthentication) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$enable = enable;
|
||||||
|
final l$passwordAuthentication = passwordAuthentication;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$enable,
|
||||||
|
l$passwordAuthentication,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Input$SSHSettingsInput<TRes> {
|
||||||
|
factory CopyWith$Input$SSHSettingsInput(
|
||||||
|
Input$SSHSettingsInput instance,
|
||||||
|
TRes Function(Input$SSHSettingsInput) then,
|
||||||
|
) = _CopyWithImpl$Input$SSHSettingsInput;
|
||||||
|
|
||||||
|
factory CopyWith$Input$SSHSettingsInput.stub(TRes res) =
|
||||||
|
_CopyWithStubImpl$Input$SSHSettingsInput;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
bool? enable,
|
||||||
|
bool? passwordAuthentication,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Input$SSHSettingsInput<TRes>
|
||||||
|
implements CopyWith$Input$SSHSettingsInput<TRes> {
|
||||||
|
_CopyWithImpl$Input$SSHSettingsInput(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Input$SSHSettingsInput _instance;
|
||||||
|
|
||||||
|
final TRes Function(Input$SSHSettingsInput) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? enable = _undefined,
|
||||||
|
Object? passwordAuthentication = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Input$SSHSettingsInput._({
|
||||||
|
..._instance._$data,
|
||||||
|
if (enable != _undefined && enable != null) 'enable': (enable as bool),
|
||||||
|
if (passwordAuthentication != _undefined &&
|
||||||
|
passwordAuthentication != null)
|
||||||
|
'passwordAuthentication': (passwordAuthentication as bool),
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Input$SSHSettingsInput<TRes>
|
||||||
|
implements CopyWith$Input$SSHSettingsInput<TRes> {
|
||||||
|
_CopyWithStubImpl$Input$SSHSettingsInput(this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
bool? enable,
|
||||||
|
bool? passwordAuthentication,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Input$SshMutationInput {
|
class Input$SshMutationInput {
|
||||||
factory Input$SshMutationInput({
|
factory Input$SshMutationInput({
|
||||||
required String username,
|
required String username,
|
||||||
|
@ -1928,6 +2057,7 @@ const possibleTypesMap = <String, Set<String>>{
|
||||||
'GenericBackupConfigReturn',
|
'GenericBackupConfigReturn',
|
||||||
'GenericJobMutationReturn',
|
'GenericJobMutationReturn',
|
||||||
'GenericMutationReturn',
|
'GenericMutationReturn',
|
||||||
|
'SSHSettingsMutationReturn',
|
||||||
'ServiceJobMutationReturn',
|
'ServiceJobMutationReturn',
|
||||||
'ServiceMutationReturn',
|
'ServiceMutationReturn',
|
||||||
'TimezoneMutationReturn',
|
'TimezoneMutationReturn',
|
||||||
|
|
|
@ -45,6 +45,9 @@ mutation RunSystemRebuild {
|
||||||
system {
|
system {
|
||||||
runSystemRebuild {
|
runSystemRebuild {
|
||||||
...basicMutationReturnFields
|
...basicMutationReturnFields
|
||||||
|
job {
|
||||||
|
...basicApiJobsFields
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,6 +64,9 @@ mutation RunSystemUpgrade {
|
||||||
system {
|
system {
|
||||||
runSystemUpgrade {
|
runSystemUpgrade {
|
||||||
...basicMutationReturnFields
|
...basicMutationReturnFields
|
||||||
|
job {
|
||||||
|
...basicApiJobsFields
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,10 @@ class Fragment$basicMutationReturnFields {
|
||||||
return Fragment$basicMutationReturnFields$$GenericMutationReturn
|
return Fragment$basicMutationReturnFields$$GenericMutationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
|
||||||
|
case "SSHSettingsMutationReturn":
|
||||||
|
return Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn
|
||||||
|
.fromJson(json);
|
||||||
|
|
||||||
case "ServiceJobMutationReturn":
|
case "ServiceJobMutationReturn":
|
||||||
return Fragment$basicMutationReturnFields$$ServiceJobMutationReturn
|
return Fragment$basicMutationReturnFields$$ServiceJobMutationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
@ -164,6 +168,9 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$GenericMutationReturn)
|
Fragment$basicMutationReturnFields$$GenericMutationReturn)
|
||||||
genericMutationReturn,
|
genericMutationReturn,
|
||||||
|
required _T Function(
|
||||||
|
Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn)
|
||||||
|
sSHSettingsMutationReturn,
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn)
|
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn)
|
||||||
serviceJobMutationReturn,
|
serviceJobMutationReturn,
|
||||||
|
@ -202,6 +209,10 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return genericMutationReturn(
|
return genericMutationReturn(
|
||||||
this as Fragment$basicMutationReturnFields$$GenericMutationReturn);
|
this as Fragment$basicMutationReturnFields$$GenericMutationReturn);
|
||||||
|
|
||||||
|
case "SSHSettingsMutationReturn":
|
||||||
|
return sSHSettingsMutationReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn);
|
||||||
|
|
||||||
case "ServiceJobMutationReturn":
|
case "ServiceJobMutationReturn":
|
||||||
return serviceJobMutationReturn(this
|
return serviceJobMutationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$ServiceJobMutationReturn);
|
as Fragment$basicMutationReturnFields$$ServiceJobMutationReturn);
|
||||||
|
@ -238,6 +249,8 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
genericJobMutationReturn,
|
genericJobMutationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
||||||
genericMutationReturn,
|
genericMutationReturn,
|
||||||
|
_T Function(Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn)?
|
||||||
|
sSHSettingsMutationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$ServiceJobMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$ServiceJobMutationReturn)?
|
||||||
serviceJobMutationReturn,
|
serviceJobMutationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$ServiceMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$ServiceMutationReturn)?
|
||||||
|
@ -297,6 +310,14 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return orElse();
|
return orElse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "SSHSettingsMutationReturn":
|
||||||
|
if (sSHSettingsMutationReturn != null) {
|
||||||
|
return sSHSettingsMutationReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn);
|
||||||
|
} else {
|
||||||
|
return orElse();
|
||||||
|
}
|
||||||
|
|
||||||
case "ServiceJobMutationReturn":
|
case "ServiceJobMutationReturn":
|
||||||
if (serviceJobMutationReturn != null) {
|
if (serviceJobMutationReturn != null) {
|
||||||
return serviceJobMutationReturn(this
|
return serviceJobMutationReturn(this
|
||||||
|
@ -1568,6 +1589,186 @@ class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericMutationRetur
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn
|
||||||
|
implements Fragment$basicMutationReturnFields {
|
||||||
|
Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn({
|
||||||
|
required this.code,
|
||||||
|
required this.message,
|
||||||
|
required this.success,
|
||||||
|
this.$__typename = 'SSHSettingsMutationReturn',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn.fromJson(
|
||||||
|
Map<String, dynamic> json) {
|
||||||
|
final l$code = json['code'];
|
||||||
|
final l$message = json['message'];
|
||||||
|
final l$success = json['success'];
|
||||||
|
final l$$__typename = json['__typename'];
|
||||||
|
return Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn(
|
||||||
|
code: (l$code as int),
|
||||||
|
message: (l$message as String),
|
||||||
|
success: (l$success as bool),
|
||||||
|
$__typename: (l$$__typename as String),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
final int code;
|
||||||
|
|
||||||
|
final String message;
|
||||||
|
|
||||||
|
final bool success;
|
||||||
|
|
||||||
|
final String $__typename;
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final _resultData = <String, dynamic>{};
|
||||||
|
final l$code = code;
|
||||||
|
_resultData['code'] = l$code;
|
||||||
|
final l$message = message;
|
||||||
|
_resultData['message'] = l$message;
|
||||||
|
final l$success = success;
|
||||||
|
_resultData['success'] = l$success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
return _resultData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$code = code;
|
||||||
|
final l$message = message;
|
||||||
|
final l$success = success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$code,
|
||||||
|
l$message,
|
||||||
|
l$success,
|
||||||
|
l$$__typename,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other
|
||||||
|
is Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$code = code;
|
||||||
|
final lOther$code = other.code;
|
||||||
|
if (l$code != lOther$code) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$message = message;
|
||||||
|
final lOther$message = other.message;
|
||||||
|
if (l$message != lOther$message) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$success = success;
|
||||||
|
final lOther$success = other.success;
|
||||||
|
if (l$success != lOther$success) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
final lOther$$__typename = other.$__typename;
|
||||||
|
if (l$$__typename != lOther$$__typename) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn
|
||||||
|
on Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn {
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn<
|
||||||
|
Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn>
|
||||||
|
get copyWith =>
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn<
|
||||||
|
TRes> {
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn(
|
||||||
|
Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn instance,
|
||||||
|
TRes Function(Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn)
|
||||||
|
then,
|
||||||
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn;
|
||||||
|
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn.stub(
|
||||||
|
TRes res) =
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn _instance;
|
||||||
|
|
||||||
|
final TRes Function(
|
||||||
|
Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? code = _undefined,
|
||||||
|
Object? message = _undefined,
|
||||||
|
Object? success = _undefined,
|
||||||
|
Object? $__typename = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn(
|
||||||
|
code:
|
||||||
|
code == _undefined || code == null ? _instance.code : (code as int),
|
||||||
|
message: message == _undefined || message == null
|
||||||
|
? _instance.message
|
||||||
|
: (message as String),
|
||||||
|
success: success == _undefined || success == null
|
||||||
|
? _instance.success
|
||||||
|
: (success as bool),
|
||||||
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
|
? _instance.$__typename
|
||||||
|
: ($__typename as String),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$SSHSettingsMutationReturn(
|
||||||
|
this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Fragment$basicMutationReturnFields$$ServiceJobMutationReturn
|
class Fragment$basicMutationReturnFields$$ServiceJobMutationReturn
|
||||||
implements Fragment$basicMutationReturnFields {
|
implements Fragment$basicMutationReturnFields {
|
||||||
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn({
|
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn({
|
||||||
|
@ -4480,6 +4681,25 @@ const documentNodeMutationRunSystemRebuild = DocumentNode(definitions: [
|
||||||
name: NameNode(value: 'basicMutationReturnFields'),
|
name: NameNode(value: 'basicMutationReturnFields'),
|
||||||
directives: [],
|
directives: [],
|
||||||
),
|
),
|
||||||
|
FieldNode(
|
||||||
|
name: NameNode(value: 'job'),
|
||||||
|
alias: null,
|
||||||
|
arguments: [],
|
||||||
|
directives: [],
|
||||||
|
selectionSet: SelectionSetNode(selections: [
|
||||||
|
FragmentSpreadNode(
|
||||||
|
name: NameNode(value: 'basicApiJobsFields'),
|
||||||
|
directives: [],
|
||||||
|
),
|
||||||
|
FieldNode(
|
||||||
|
name: NameNode(value: '__typename'),
|
||||||
|
alias: null,
|
||||||
|
arguments: [],
|
||||||
|
directives: [],
|
||||||
|
selectionSet: null,
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
),
|
||||||
FieldNode(
|
FieldNode(
|
||||||
name: NameNode(value: '__typename'),
|
name: NameNode(value: '__typename'),
|
||||||
alias: null,
|
alias: null,
|
||||||
|
@ -4508,6 +4728,7 @@ const documentNodeMutationRunSystemRebuild = DocumentNode(definitions: [
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
fragmentDefinitionbasicMutationReturnFields,
|
fragmentDefinitionbasicMutationReturnFields,
|
||||||
|
fragmentDefinitionbasicApiJobsFields,
|
||||||
]);
|
]);
|
||||||
Mutation$RunSystemRebuild _parserFn$Mutation$RunSystemRebuild(
|
Mutation$RunSystemRebuild _parserFn$Mutation$RunSystemRebuild(
|
||||||
Map<String, dynamic> data) =>
|
Map<String, dynamic> data) =>
|
||||||
|
@ -4747,12 +4968,13 @@ class _CopyWithStubImpl$Mutation$RunSystemRebuild$system<TRes>
|
||||||
}
|
}
|
||||||
|
|
||||||
class Mutation$RunSystemRebuild$system$runSystemRebuild
|
class Mutation$RunSystemRebuild$system$runSystemRebuild
|
||||||
implements Fragment$basicMutationReturnFields$$GenericMutationReturn {
|
implements Fragment$basicMutationReturnFields$$GenericJobMutationReturn {
|
||||||
Mutation$RunSystemRebuild$system$runSystemRebuild({
|
Mutation$RunSystemRebuild$system$runSystemRebuild({
|
||||||
required this.code,
|
required this.code,
|
||||||
required this.message,
|
required this.message,
|
||||||
required this.success,
|
required this.success,
|
||||||
this.$__typename = 'GenericMutationReturn',
|
this.$__typename = 'GenericJobMutationReturn',
|
||||||
|
this.job,
|
||||||
});
|
});
|
||||||
|
|
||||||
factory Mutation$RunSystemRebuild$system$runSystemRebuild.fromJson(
|
factory Mutation$RunSystemRebuild$system$runSystemRebuild.fromJson(
|
||||||
|
@ -4761,11 +4983,16 @@ class Mutation$RunSystemRebuild$system$runSystemRebuild
|
||||||
final l$message = json['message'];
|
final l$message = json['message'];
|
||||||
final l$success = json['success'];
|
final l$success = json['success'];
|
||||||
final l$$__typename = json['__typename'];
|
final l$$__typename = json['__typename'];
|
||||||
|
final l$job = json['job'];
|
||||||
return Mutation$RunSystemRebuild$system$runSystemRebuild(
|
return Mutation$RunSystemRebuild$system$runSystemRebuild(
|
||||||
code: (l$code as int),
|
code: (l$code as int),
|
||||||
message: (l$message as String),
|
message: (l$message as String),
|
||||||
success: (l$success as bool),
|
success: (l$success as bool),
|
||||||
$__typename: (l$$__typename as String),
|
$__typename: (l$$__typename as String),
|
||||||
|
job: l$job == null
|
||||||
|
? null
|
||||||
|
: Fragment$basicApiJobsFields.fromJson(
|
||||||
|
(l$job as Map<String, dynamic>)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4777,6 +5004,8 @@ class Mutation$RunSystemRebuild$system$runSystemRebuild
|
||||||
|
|
||||||
final String $__typename;
|
final String $__typename;
|
||||||
|
|
||||||
|
final Fragment$basicApiJobsFields? job;
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _resultData = <String, dynamic>{};
|
final _resultData = <String, dynamic>{};
|
||||||
final l$code = code;
|
final l$code = code;
|
||||||
|
@ -4787,6 +5016,8 @@ class Mutation$RunSystemRebuild$system$runSystemRebuild
|
||||||
_resultData['success'] = l$success;
|
_resultData['success'] = l$success;
|
||||||
final l$$__typename = $__typename;
|
final l$$__typename = $__typename;
|
||||||
_resultData['__typename'] = l$$__typename;
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
final l$job = job;
|
||||||
|
_resultData['job'] = l$job?.toJson();
|
||||||
return _resultData;
|
return _resultData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4796,11 +5027,13 @@ class Mutation$RunSystemRebuild$system$runSystemRebuild
|
||||||
final l$message = message;
|
final l$message = message;
|
||||||
final l$success = success;
|
final l$success = success;
|
||||||
final l$$__typename = $__typename;
|
final l$$__typename = $__typename;
|
||||||
|
final l$job = job;
|
||||||
return Object.hashAll([
|
return Object.hashAll([
|
||||||
l$code,
|
l$code,
|
||||||
l$message,
|
l$message,
|
||||||
l$success,
|
l$success,
|
||||||
l$$__typename,
|
l$$__typename,
|
||||||
|
l$job,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4833,6 +5066,11 @@ class Mutation$RunSystemRebuild$system$runSystemRebuild
|
||||||
if (l$$__typename != lOther$$__typename) {
|
if (l$$__typename != lOther$$__typename) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
final l$job = job;
|
||||||
|
final lOther$job = other.job;
|
||||||
|
if (l$job != lOther$job) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4864,7 +5102,9 @@ abstract class CopyWith$Mutation$RunSystemRebuild$system$runSystemRebuild<
|
||||||
String? message,
|
String? message,
|
||||||
bool? success,
|
bool? success,
|
||||||
String? $__typename,
|
String? $__typename,
|
||||||
|
Fragment$basicApiJobsFields? job,
|
||||||
});
|
});
|
||||||
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job;
|
||||||
}
|
}
|
||||||
|
|
||||||
class _CopyWithImpl$Mutation$RunSystemRebuild$system$runSystemRebuild<TRes>
|
class _CopyWithImpl$Mutation$RunSystemRebuild$system$runSystemRebuild<TRes>
|
||||||
|
@ -4886,6 +5126,7 @@ class _CopyWithImpl$Mutation$RunSystemRebuild$system$runSystemRebuild<TRes>
|
||||||
Object? message = _undefined,
|
Object? message = _undefined,
|
||||||
Object? success = _undefined,
|
Object? success = _undefined,
|
||||||
Object? $__typename = _undefined,
|
Object? $__typename = _undefined,
|
||||||
|
Object? job = _undefined,
|
||||||
}) =>
|
}) =>
|
||||||
_then(Mutation$RunSystemRebuild$system$runSystemRebuild(
|
_then(Mutation$RunSystemRebuild$system$runSystemRebuild(
|
||||||
code:
|
code:
|
||||||
|
@ -4899,7 +5140,17 @@ class _CopyWithImpl$Mutation$RunSystemRebuild$system$runSystemRebuild<TRes>
|
||||||
$__typename: $__typename == _undefined || $__typename == null
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
? _instance.$__typename
|
? _instance.$__typename
|
||||||
: ($__typename as String),
|
: ($__typename as String),
|
||||||
|
job: job == _undefined
|
||||||
|
? _instance.job
|
||||||
|
: (job as Fragment$basicApiJobsFields?),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job {
|
||||||
|
final local$job = _instance.job;
|
||||||
|
return local$job == null
|
||||||
|
? CopyWith$Fragment$basicApiJobsFields.stub(_then(_instance))
|
||||||
|
: CopyWith$Fragment$basicApiJobsFields(local$job, (e) => call(job: e));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class _CopyWithStubImpl$Mutation$RunSystemRebuild$system$runSystemRebuild<TRes>
|
class _CopyWithStubImpl$Mutation$RunSystemRebuild$system$runSystemRebuild<TRes>
|
||||||
|
@ -4915,8 +5166,12 @@ class _CopyWithStubImpl$Mutation$RunSystemRebuild$system$runSystemRebuild<TRes>
|
||||||
String? message,
|
String? message,
|
||||||
bool? success,
|
bool? success,
|
||||||
String? $__typename,
|
String? $__typename,
|
||||||
|
Fragment$basicApiJobsFields? job,
|
||||||
}) =>
|
}) =>
|
||||||
_res;
|
_res;
|
||||||
|
|
||||||
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job =>
|
||||||
|
CopyWith$Fragment$basicApiJobsFields.stub(_res);
|
||||||
}
|
}
|
||||||
|
|
||||||
class Mutation$RunSystemRollback {
|
class Mutation$RunSystemRollback {
|
||||||
|
@ -5681,6 +5936,25 @@ const documentNodeMutationRunSystemUpgrade = DocumentNode(definitions: [
|
||||||
name: NameNode(value: 'basicMutationReturnFields'),
|
name: NameNode(value: 'basicMutationReturnFields'),
|
||||||
directives: [],
|
directives: [],
|
||||||
),
|
),
|
||||||
|
FieldNode(
|
||||||
|
name: NameNode(value: 'job'),
|
||||||
|
alias: null,
|
||||||
|
arguments: [],
|
||||||
|
directives: [],
|
||||||
|
selectionSet: SelectionSetNode(selections: [
|
||||||
|
FragmentSpreadNode(
|
||||||
|
name: NameNode(value: 'basicApiJobsFields'),
|
||||||
|
directives: [],
|
||||||
|
),
|
||||||
|
FieldNode(
|
||||||
|
name: NameNode(value: '__typename'),
|
||||||
|
alias: null,
|
||||||
|
arguments: [],
|
||||||
|
directives: [],
|
||||||
|
selectionSet: null,
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
),
|
||||||
FieldNode(
|
FieldNode(
|
||||||
name: NameNode(value: '__typename'),
|
name: NameNode(value: '__typename'),
|
||||||
alias: null,
|
alias: null,
|
||||||
|
@ -5709,6 +5983,7 @@ const documentNodeMutationRunSystemUpgrade = DocumentNode(definitions: [
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
fragmentDefinitionbasicMutationReturnFields,
|
fragmentDefinitionbasicMutationReturnFields,
|
||||||
|
fragmentDefinitionbasicApiJobsFields,
|
||||||
]);
|
]);
|
||||||
Mutation$RunSystemUpgrade _parserFn$Mutation$RunSystemUpgrade(
|
Mutation$RunSystemUpgrade _parserFn$Mutation$RunSystemUpgrade(
|
||||||
Map<String, dynamic> data) =>
|
Map<String, dynamic> data) =>
|
||||||
|
@ -5948,12 +6223,13 @@ class _CopyWithStubImpl$Mutation$RunSystemUpgrade$system<TRes>
|
||||||
}
|
}
|
||||||
|
|
||||||
class Mutation$RunSystemUpgrade$system$runSystemUpgrade
|
class Mutation$RunSystemUpgrade$system$runSystemUpgrade
|
||||||
implements Fragment$basicMutationReturnFields$$GenericMutationReturn {
|
implements Fragment$basicMutationReturnFields$$GenericJobMutationReturn {
|
||||||
Mutation$RunSystemUpgrade$system$runSystemUpgrade({
|
Mutation$RunSystemUpgrade$system$runSystemUpgrade({
|
||||||
required this.code,
|
required this.code,
|
||||||
required this.message,
|
required this.message,
|
||||||
required this.success,
|
required this.success,
|
||||||
this.$__typename = 'GenericMutationReturn',
|
this.$__typename = 'GenericJobMutationReturn',
|
||||||
|
this.job,
|
||||||
});
|
});
|
||||||
|
|
||||||
factory Mutation$RunSystemUpgrade$system$runSystemUpgrade.fromJson(
|
factory Mutation$RunSystemUpgrade$system$runSystemUpgrade.fromJson(
|
||||||
|
@ -5962,11 +6238,16 @@ class Mutation$RunSystemUpgrade$system$runSystemUpgrade
|
||||||
final l$message = json['message'];
|
final l$message = json['message'];
|
||||||
final l$success = json['success'];
|
final l$success = json['success'];
|
||||||
final l$$__typename = json['__typename'];
|
final l$$__typename = json['__typename'];
|
||||||
|
final l$job = json['job'];
|
||||||
return Mutation$RunSystemUpgrade$system$runSystemUpgrade(
|
return Mutation$RunSystemUpgrade$system$runSystemUpgrade(
|
||||||
code: (l$code as int),
|
code: (l$code as int),
|
||||||
message: (l$message as String),
|
message: (l$message as String),
|
||||||
success: (l$success as bool),
|
success: (l$success as bool),
|
||||||
$__typename: (l$$__typename as String),
|
$__typename: (l$$__typename as String),
|
||||||
|
job: l$job == null
|
||||||
|
? null
|
||||||
|
: Fragment$basicApiJobsFields.fromJson(
|
||||||
|
(l$job as Map<String, dynamic>)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5978,6 +6259,8 @@ class Mutation$RunSystemUpgrade$system$runSystemUpgrade
|
||||||
|
|
||||||
final String $__typename;
|
final String $__typename;
|
||||||
|
|
||||||
|
final Fragment$basicApiJobsFields? job;
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _resultData = <String, dynamic>{};
|
final _resultData = <String, dynamic>{};
|
||||||
final l$code = code;
|
final l$code = code;
|
||||||
|
@ -5988,6 +6271,8 @@ class Mutation$RunSystemUpgrade$system$runSystemUpgrade
|
||||||
_resultData['success'] = l$success;
|
_resultData['success'] = l$success;
|
||||||
final l$$__typename = $__typename;
|
final l$$__typename = $__typename;
|
||||||
_resultData['__typename'] = l$$__typename;
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
final l$job = job;
|
||||||
|
_resultData['job'] = l$job?.toJson();
|
||||||
return _resultData;
|
return _resultData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5997,11 +6282,13 @@ class Mutation$RunSystemUpgrade$system$runSystemUpgrade
|
||||||
final l$message = message;
|
final l$message = message;
|
||||||
final l$success = success;
|
final l$success = success;
|
||||||
final l$$__typename = $__typename;
|
final l$$__typename = $__typename;
|
||||||
|
final l$job = job;
|
||||||
return Object.hashAll([
|
return Object.hashAll([
|
||||||
l$code,
|
l$code,
|
||||||
l$message,
|
l$message,
|
||||||
l$success,
|
l$success,
|
||||||
l$$__typename,
|
l$$__typename,
|
||||||
|
l$job,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6034,6 +6321,11 @@ class Mutation$RunSystemUpgrade$system$runSystemUpgrade
|
||||||
if (l$$__typename != lOther$$__typename) {
|
if (l$$__typename != lOther$$__typename) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
final l$job = job;
|
||||||
|
final lOther$job = other.job;
|
||||||
|
if (l$job != lOther$job) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6065,7 +6357,9 @@ abstract class CopyWith$Mutation$RunSystemUpgrade$system$runSystemUpgrade<
|
||||||
String? message,
|
String? message,
|
||||||
bool? success,
|
bool? success,
|
||||||
String? $__typename,
|
String? $__typename,
|
||||||
|
Fragment$basicApiJobsFields? job,
|
||||||
});
|
});
|
||||||
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job;
|
||||||
}
|
}
|
||||||
|
|
||||||
class _CopyWithImpl$Mutation$RunSystemUpgrade$system$runSystemUpgrade<TRes>
|
class _CopyWithImpl$Mutation$RunSystemUpgrade$system$runSystemUpgrade<TRes>
|
||||||
|
@ -6087,6 +6381,7 @@ class _CopyWithImpl$Mutation$RunSystemUpgrade$system$runSystemUpgrade<TRes>
|
||||||
Object? message = _undefined,
|
Object? message = _undefined,
|
||||||
Object? success = _undefined,
|
Object? success = _undefined,
|
||||||
Object? $__typename = _undefined,
|
Object? $__typename = _undefined,
|
||||||
|
Object? job = _undefined,
|
||||||
}) =>
|
}) =>
|
||||||
_then(Mutation$RunSystemUpgrade$system$runSystemUpgrade(
|
_then(Mutation$RunSystemUpgrade$system$runSystemUpgrade(
|
||||||
code:
|
code:
|
||||||
|
@ -6100,7 +6395,17 @@ class _CopyWithImpl$Mutation$RunSystemUpgrade$system$runSystemUpgrade<TRes>
|
||||||
$__typename: $__typename == _undefined || $__typename == null
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
? _instance.$__typename
|
? _instance.$__typename
|
||||||
: ($__typename as String),
|
: ($__typename as String),
|
||||||
|
job: job == _undefined
|
||||||
|
? _instance.job
|
||||||
|
: (job as Fragment$basicApiJobsFields?),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job {
|
||||||
|
final local$job = _instance.job;
|
||||||
|
return local$job == null
|
||||||
|
? CopyWith$Fragment$basicApiJobsFields.stub(_then(_instance))
|
||||||
|
: CopyWith$Fragment$basicApiJobsFields(local$job, (e) => call(job: e));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class _CopyWithStubImpl$Mutation$RunSystemUpgrade$system$runSystemUpgrade<TRes>
|
class _CopyWithStubImpl$Mutation$RunSystemUpgrade$system$runSystemUpgrade<TRes>
|
||||||
|
@ -6116,8 +6421,12 @@ class _CopyWithStubImpl$Mutation$RunSystemUpgrade$system$runSystemUpgrade<TRes>
|
||||||
String? message,
|
String? message,
|
||||||
bool? success,
|
bool? success,
|
||||||
String? $__typename,
|
String? $__typename,
|
||||||
|
Fragment$basicApiJobsFields? job,
|
||||||
}) =>
|
}) =>
|
||||||
_res;
|
_res;
|
||||||
|
|
||||||
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job =>
|
||||||
|
CopyWith$Fragment$basicApiJobsFields.stub(_res);
|
||||||
}
|
}
|
||||||
|
|
||||||
class Mutation$PullRepositoryChanges {
|
class Mutation$PullRepositoryChanges {
|
||||||
|
|
Loading…
Reference in a new issue