eas-cli 0.31.1 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/README.md +29 -28
  2. package/build/analytics.js +3 -9
  3. package/build/build/android/UpdatesModule.js +4 -15
  4. package/build/build/android/configure.js +3 -3
  5. package/build/build/android/graphql.js +2 -4
  6. package/build/build/android/prepareJob.js +4 -3
  7. package/build/build/build.js +2 -2
  8. package/build/build/configure.js +26 -13
  9. package/build/build/ios/UpdatesModule.js +6 -18
  10. package/build/build/ios/configure.js +1 -1
  11. package/build/build/ios/graphql.js +2 -23
  12. package/build/build/ios/prepareJob.js +4 -6
  13. package/build/build/metadata.js +5 -10
  14. package/build/build/utils/appJson.d.ts +1 -0
  15. package/build/build/utils/appJson.js +13 -4
  16. package/build/build/utils/devClient.d.ts +4 -4
  17. package/build/build/utils/devClient.js +10 -18
  18. package/build/build/utils/repository.js +10 -7
  19. package/build/build/validate.js +4 -4
  20. package/build/commandUtils/EasCommand.d.ts +1 -0
  21. package/build/commandUtils/EasCommand.js +21 -0
  22. package/build/commands/branch/create.js +3 -2
  23. package/build/commands/branch/delete.js +1 -1
  24. package/build/commands/branch/list.js +1 -1
  25. package/build/commands/branch/publish.js +20 -48
  26. package/build/commands/branch/view.js +1 -1
  27. package/build/commands/build/index.d.ts +1 -1
  28. package/build/commands/build/index.js +64 -49
  29. package/build/commands/channel/edit.js +1 -1
  30. package/build/commands/channel/list.js +1 -1
  31. package/build/commands/channel/view.js +1 -1
  32. package/build/commands/diagnostics.js +2 -2
  33. package/build/commands/project/info.js +1 -1
  34. package/build/commands/submit.js +16 -11
  35. package/build/commands/update/view.js +1 -1
  36. package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.js +2 -0
  37. package/build/credentials/context.d.ts +1 -1
  38. package/build/credentials/context.js +5 -5
  39. package/build/credentials/credentialsJson/update.js +5 -4
  40. package/build/credentials/errors.d.ts +3 -0
  41. package/build/credentials/errors.js +7 -1
  42. package/build/credentials/ios/IosCredentialsProvider.js +1 -1
  43. package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +5 -0
  44. package/build/credentials/ios/actions/AscApiKeyUtils.js +63 -0
  45. package/build/credentials/ios/actions/CreateDistributionCertificate.js +1 -1
  46. package/build/credentials/ios/actions/CreatePushKey.js +1 -1
  47. package/build/credentials/ios/actions/DistributionCertificateUtils.d.ts +1 -1
  48. package/build/credentials/ios/actions/DistributionCertificateUtils.js +10 -12
  49. package/build/credentials/ios/actions/PushKeyUtils.d.ts +1 -1
  50. package/build/credentials/ios/actions/PushKeyUtils.js +5 -5
  51. package/build/credentials/ios/actions/SetupTargetBuildCredentials.js +1 -1
  52. package/build/credentials/ios/api/graphql/queries/AppQuery.js +3 -1
  53. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +6 -2
  54. package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +7 -1
  55. package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.js +5 -1
  56. package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +2 -0
  57. package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +5 -1
  58. package/build/credentials/ios/appstore/AppStoreApi.d.ts +7 -1
  59. package/build/credentials/ios/appstore/AppStoreApi.js +17 -0
  60. package/build/credentials/ios/appstore/Credentials.js +3 -3
  61. package/build/credentials/ios/appstore/Credentials.types.d.ts +13 -0
  62. package/build/credentials/ios/appstore/ascApiKey.d.ts +9 -0
  63. package/build/credentials/ios/appstore/ascApiKey.js +99 -0
  64. package/build/credentials/ios/credentials.d.ts +17 -0
  65. package/build/credentials/ios/credentials.js +16 -1
  66. package/build/credentials/manager/Actions.d.ts +47 -0
  67. package/build/credentials/manager/Actions.js +48 -0
  68. package/build/credentials/manager/AndroidActions.d.ts +6 -0
  69. package/build/credentials/manager/AndroidActions.js +114 -0
  70. package/build/credentials/manager/IosActions.d.ts +6 -0
  71. package/build/credentials/manager/IosActions.js +110 -0
  72. package/build/credentials/manager/ManageAndroid.d.ts +1 -29
  73. package/build/credentials/manager/ManageAndroid.js +26 -159
  74. package/build/credentials/manager/ManageIos.d.ts +1 -29
  75. package/build/credentials/manager/ManageIos.js +28 -155
  76. package/build/graphql/client.d.ts +8 -2
  77. package/build/graphql/generated.d.ts +134 -121
  78. package/build/graphql/generated.js +46 -28
  79. package/build/graphql/queries/BuildQuery.js +4 -1
  80. package/build/graphql/queries/EnvironmentSecretsQuery.js +4 -2
  81. package/build/graphql/queries/ProjectQuery.js +3 -1
  82. package/build/graphql/queries/PublishQuery.js +4 -1
  83. package/build/graphql/queries/SubmissionQuery.js +5 -2
  84. package/build/graphql/queries/UserQuery.js +4 -1
  85. package/build/graphql/queries/WebhookQuery.js +6 -2
  86. package/build/log.d.ts +11 -3
  87. package/build/log.js +23 -22
  88. package/build/project/android/applicationId.d.ts +1 -1
  89. package/build/project/android/applicationId.js +7 -6
  90. package/build/project/ios/bundleIdentifier.d.ts +1 -1
  91. package/build/project/ios/bundleIdentifier.js +7 -6
  92. package/build/project/projectUtils.js +1 -1
  93. package/build/project/publish.js +2 -2
  94. package/build/project/workflow.js +2 -2
  95. package/build/submit/ArchiveSource.d.ts +7 -2
  96. package/build/submit/ArchiveSource.js +94 -11
  97. package/build/submit/ios/AscApiKeySource.d.ts +28 -0
  98. package/build/submit/ios/AscApiKeySource.js +51 -0
  99. package/build/submit/ios/IosSubmitCommand.d.ts +2 -0
  100. package/build/submit/ios/IosSubmitCommand.js +55 -3
  101. package/build/submit/ios/IosSubmitter.d.ts +3 -1
  102. package/build/submit/ios/IosSubmitter.js +49 -5
  103. package/build/submit/submit.js +1 -1
  104. package/build/submit/utils/builds.d.ts +3 -1
  105. package/build/submit/utils/builds.js +6 -6
  106. package/build/user/User.js +1 -0
  107. package/build/utils/easCli.d.ts +1 -0
  108. package/build/utils/easCli.js +5 -0
  109. package/build/utils/{expoCommand.d.ts → expoCli.d.ts} +0 -0
  110. package/build/utils/{expoCommand.js → expoCli.js} +0 -0
  111. package/build/utils/profiles.d.ts +11 -0
  112. package/build/utils/profiles.js +46 -0
  113. package/build/vcs/clients/git.d.ts +26 -0
  114. package/build/vcs/clients/git.js +184 -0
  115. package/build/vcs/clients/gitNoCommit.d.ts +7 -0
  116. package/build/vcs/clients/gitNoCommit.js +27 -0
  117. package/build/vcs/clients/noVcs.d.ts +6 -0
  118. package/build/vcs/clients/noVcs.js +19 -0
  119. package/build/vcs/git.d.ts +10 -17
  120. package/build/vcs/git.js +7 -175
  121. package/build/vcs/index.d.ts +2 -2
  122. package/build/vcs/index.js +15 -6
  123. package/build/vcs/local.d.ts +18 -5
  124. package/build/vcs/local.js +61 -32
  125. package/build/vcs/vcs.d.ts +2 -1
  126. package/build/vcs/vcs.js +8 -4
  127. package/oclif.manifest.json +1 -1
  128. package/package.json +7 -7
@@ -198,6 +198,7 @@ export declare type Account = {
198
198
  appleProvisioningProfiles: Array<AppleProvisioningProfile>;
199
199
  appleDevices: Array<AppleDevice>;
200
200
  appleAppSpecificPasswords: Array<AppleAppSpecificPassword>;
201
+ appStoreConnectApiKeys: Array<AppStoreConnectApiKey>;
201
202
  /** Android credentials for account */
202
203
  googleServiceAccountKeys: Array<GoogleServiceAccountKey>;
203
204
  /** Environment secrets for an account */
@@ -312,12 +313,15 @@ export declare type Offer = {
312
313
  trialLength?: Maybe<Scalars['Int']>;
313
314
  type: OfferType;
314
315
  features?: Maybe<Array<Maybe<Feature>>>;
316
+ prerequisite?: Maybe<OfferPrerequisite>;
315
317
  };
316
318
  export declare enum OfferType {
317
319
  /** Term subscription */
318
320
  Subscription = "SUBSCRIPTION",
319
321
  /** Advanced Purchase of Paid Resource */
320
- Prepaid = "PREPAID"
322
+ Prepaid = "PREPAID",
323
+ /** Addon, or supplementary subscription */
324
+ Addon = "ADDON"
321
325
  }
322
326
  export declare enum Feature {
323
327
  /** Top Tier Support */
@@ -329,6 +333,11 @@ export declare enum Feature {
329
333
  /** Funds support for open source development */
330
334
  OpenSource = "OPEN_SOURCE"
331
335
  }
336
+ export declare type OfferPrerequisite = {
337
+ __typename?: 'OfferPrerequisite';
338
+ type: Scalars['String'];
339
+ stripeIds: Array<Scalars['String']>;
340
+ };
332
341
  export declare type Snack = Project & {
333
342
  __typename?: 'Snack';
334
343
  id: Scalars['ID'];
@@ -609,6 +618,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
609
618
  iosEnterpriseProvisioning?: Maybe<BuildIosEnterpriseProvisioning>;
610
619
  buildProfile?: Maybe<Scalars['String']>;
611
620
  gitCommitHash?: Maybe<Scalars['String']>;
621
+ isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
612
622
  error?: Maybe<BuildError>;
613
623
  submissions: Array<Submission>;
614
624
  };
@@ -838,7 +848,7 @@ export declare type IosSubmissionConfig = {
838
848
  __typename?: 'IosSubmissionConfig';
839
849
  ascAppIdentifier: Scalars['String'];
840
850
  appleIdUsername: Scalars['String'];
841
- appleAppSpecificPasswordId?: Maybe<Scalars['String']>;
851
+ ascApiKeyId?: Maybe<Scalars['String']>;
842
852
  };
843
853
  export declare type SubmissionError = {
844
854
  __typename?: 'SubmissionError';
@@ -966,6 +976,7 @@ export declare type IosAppCredentials = {
966
976
  appleAppIdentifier: AppleAppIdentifier;
967
977
  iosAppBuildCredentialsList: Array<IosAppBuildCredentials>;
968
978
  pushKey?: Maybe<ApplePushKey>;
979
+ appStoreConnectApiKeyForSubmissions?: Maybe<AppStoreConnectApiKey>;
969
980
  appSpecificPassword?: Maybe<AppleAppSpecificPassword>;
970
981
  /** @deprecated use iosAppBuildCredentialsList instead */
971
982
  iosAppBuildCredentialsArray: Array<IosAppBuildCredentials>;
@@ -1079,6 +1090,36 @@ export declare type ApplePushKey = {
1079
1090
  export declare type IosAppBuildCredentialsFilter = {
1080
1091
  iosDistributionType?: Maybe<IosDistributionType>;
1081
1092
  };
1093
+ export declare type AppStoreConnectApiKey = {
1094
+ __typename?: 'AppStoreConnectApiKey';
1095
+ id: Scalars['ID'];
1096
+ account: Account;
1097
+ appleTeam?: Maybe<AppleTeam>;
1098
+ issuerIdentifier: Scalars['String'];
1099
+ keyIdentifier: Scalars['String'];
1100
+ name?: Maybe<Scalars['String']>;
1101
+ roles?: Maybe<Array<AppStoreConnectUserRole>>;
1102
+ createdAt: Scalars['DateTime'];
1103
+ updatedAt: Scalars['DateTime'];
1104
+ };
1105
+ export declare enum AppStoreConnectUserRole {
1106
+ Admin = "ADMIN",
1107
+ Finance = "FINANCE",
1108
+ Technical = "TECHNICAL",
1109
+ AccountHolder = "ACCOUNT_HOLDER",
1110
+ ReadOnly = "READ_ONLY",
1111
+ Sales = "SALES",
1112
+ Marketing = "MARKETING",
1113
+ AppManager = "APP_MANAGER",
1114
+ Developer = "DEVELOPER",
1115
+ AccessToReports = "ACCESS_TO_REPORTS",
1116
+ CustomerSupport = "CUSTOMER_SUPPORT",
1117
+ CreateApps = "CREATE_APPS",
1118
+ CloudManagedDeveloperId = "CLOUD_MANAGED_DEVELOPER_ID",
1119
+ CloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION",
1120
+ ImageManager = "IMAGE_MANAGER",
1121
+ Unknown = "UNKNOWN"
1122
+ }
1082
1123
  export declare type AppleAppSpecificPassword = {
1083
1124
  __typename?: 'AppleAppSpecificPassword';
1084
1125
  id: Scalars['ID'];
@@ -1206,6 +1247,7 @@ export declare type UserPermission = {
1206
1247
  };
1207
1248
  export declare type Billing = {
1208
1249
  __typename?: 'Billing';
1250
+ id: Scalars['ID'];
1209
1251
  payment?: Maybe<PaymentDetails>;
1210
1252
  subscription?: Maybe<SubscriptionDetails>;
1211
1253
  /** History of invoices */
@@ -1236,7 +1278,10 @@ export declare type Address = {
1236
1278
  export declare type SubscriptionDetails = {
1237
1279
  __typename?: 'SubscriptionDetails';
1238
1280
  id: Scalars['ID'];
1281
+ planId?: Maybe<Scalars['String']>;
1282
+ addons: Array<AddonDetails>;
1239
1283
  name?: Maybe<Scalars['String']>;
1284
+ price: Scalars['Int'];
1240
1285
  nextInvoice?: Maybe<Scalars['DateTime']>;
1241
1286
  cancelledAt?: Maybe<Scalars['DateTime']>;
1242
1287
  willCancel?: Maybe<Scalars['Boolean']>;
@@ -1244,6 +1289,12 @@ export declare type SubscriptionDetails = {
1244
1289
  trialEnd?: Maybe<Scalars['DateTime']>;
1245
1290
  status?: Maybe<Scalars['String']>;
1246
1291
  };
1292
+ export declare type AddonDetails = {
1293
+ __typename?: 'AddonDetails';
1294
+ id: Scalars['ID'];
1295
+ planId: Scalars['String'];
1296
+ name: Scalars['String'];
1297
+ };
1247
1298
  export declare type Charge = {
1248
1299
  __typename?: 'Charge';
1249
1300
  id: Scalars['ID'];
@@ -1577,6 +1628,8 @@ export declare type RootMutation = {
1577
1628
  applePushKey: ApplePushKeyMutation;
1578
1629
  /** Mutations that modify an Apple Team */
1579
1630
  appleTeam: AppleTeamMutation;
1631
+ /** Mutations that modify an App Store Connect Api Key */
1632
+ appStoreConnectApiKey: AppStoreConnectApiKeyMutation;
1580
1633
  /** Mutations that modify an App */
1581
1634
  app?: Maybe<AppMutation>;
1582
1635
  asset: AssetMutation;
@@ -1663,6 +1716,8 @@ export declare type AccountMutation = {
1663
1716
  subscribeToProduct?: Maybe<Account>;
1664
1717
  /** Cancels the active subscription */
1665
1718
  cancelSubscription?: Maybe<Account>;
1719
+ /** Requests a refund for the specified charge. Returns true if auto-refund was possible, otherwise requests a manual refund from support and returns false. */
1720
+ requestRefund?: Maybe<Scalars['Boolean']>;
1666
1721
  /**
1667
1722
  * Makes a one time purchase
1668
1723
  * @deprecated Build packs are no longer supported
@@ -1698,6 +1753,10 @@ export declare type AccountMutationSubscribeToProductArgs = {
1698
1753
  export declare type AccountMutationCancelSubscriptionArgs = {
1699
1754
  accountName: Scalars['ID'];
1700
1755
  };
1756
+ export declare type AccountMutationRequestRefundArgs = {
1757
+ accountID: Scalars['ID'];
1758
+ chargeIdentifier: Scalars['ID'];
1759
+ };
1701
1760
  export declare type AccountMutationBuyProductArgs = {
1702
1761
  accountName: Scalars['ID'];
1703
1762
  productId: Scalars['ID'];
@@ -2015,6 +2074,32 @@ export declare type AppleTeamInput = {
2015
2074
  appleTeamIdentifier: Scalars['String'];
2016
2075
  appleTeamName?: Maybe<Scalars['String']>;
2017
2076
  };
2077
+ export declare type AppStoreConnectApiKeyMutation = {
2078
+ __typename?: 'AppStoreConnectApiKeyMutation';
2079
+ /** Create an App Store Connect Api Key for an Apple Team */
2080
+ createAppStoreConnectApiKey: AppStoreConnectApiKey;
2081
+ /** Delete an App Store Connect Api Key */
2082
+ deleteAppStoreConnectApiKey: DeleteAppStoreConnectApiKeyResult;
2083
+ };
2084
+ export declare type AppStoreConnectApiKeyMutationCreateAppStoreConnectApiKeyArgs = {
2085
+ appStoreConnectApiKeyInput: AppStoreConnectApiKeyInput;
2086
+ accountId: Scalars['ID'];
2087
+ };
2088
+ export declare type AppStoreConnectApiKeyMutationDeleteAppStoreConnectApiKeyArgs = {
2089
+ id: Scalars['ID'];
2090
+ };
2091
+ export declare type AppStoreConnectApiKeyInput = {
2092
+ issuerIdentifier: Scalars['String'];
2093
+ keyIdentifier: Scalars['String'];
2094
+ keyP8: Scalars['String'];
2095
+ name?: Maybe<Scalars['String']>;
2096
+ roles?: Maybe<Array<AppStoreConnectUserRole>>;
2097
+ appleTeamId?: Maybe<Scalars['ID']>;
2098
+ };
2099
+ export declare type DeleteAppStoreConnectApiKeyResult = {
2100
+ __typename?: 'deleteAppStoreConnectApiKeyResult';
2101
+ id: Scalars['ID'];
2102
+ };
2018
2103
  export declare type AppMutation = {
2019
2104
  __typename?: 'AppMutation';
2020
2105
  /** Create an unpublished app */
@@ -2072,22 +2157,8 @@ export declare type BuildMutation = {
2072
2157
  * @deprecated Use cancelBuild instead
2073
2158
  */
2074
2159
  cancel: Build;
2075
- /**
2076
- * Create an Android generic build
2077
- * @deprecated Use createAndroidBuild instead
2078
- */
2079
- createAndroidGenericBuild: CreateBuildResult;
2080
- /**
2081
- * Create an Android managed build
2082
- * @deprecated Use createAndroidBuild instead
2083
- */
2084
- createAndroidManagedBuild: CreateBuildResult;
2085
2160
  /** Create an Android build */
2086
2161
  createAndroidBuild: CreateBuildResult;
2087
- /** Create an iOS generic build */
2088
- createIosGenericBuild: CreateBuildResult;
2089
- /** Create an iOS managed build */
2090
- createIosManagedBuild: CreateBuildResult;
2091
2162
  /** Create an iOS build */
2092
2163
  createIosBuild: CreateBuildResult;
2093
2164
  };
@@ -2097,47 +2168,35 @@ export declare type BuildMutationCancelBuildArgs = {
2097
2168
  export declare type BuildMutationDeleteBuildArgs = {
2098
2169
  buildId: Scalars['ID'];
2099
2170
  };
2100
- export declare type BuildMutationCreateAndroidGenericBuildArgs = {
2101
- appId: Scalars['ID'];
2102
- job: AndroidGenericJobInput;
2103
- metadata?: Maybe<BuildMetadataInput>;
2104
- };
2105
- export declare type BuildMutationCreateAndroidManagedBuildArgs = {
2106
- appId: Scalars['ID'];
2107
- job: AndroidManagedJobInput;
2108
- metadata?: Maybe<BuildMetadataInput>;
2109
- };
2110
2171
  export declare type BuildMutationCreateAndroidBuildArgs = {
2111
2172
  appId: Scalars['ID'];
2112
2173
  job: AndroidJobInput;
2113
2174
  metadata?: Maybe<BuildMetadataInput>;
2114
2175
  };
2115
- export declare type BuildMutationCreateIosGenericBuildArgs = {
2116
- appId: Scalars['ID'];
2117
- job: IosGenericJobInput;
2118
- metadata?: Maybe<BuildMetadataInput>;
2119
- };
2120
- export declare type BuildMutationCreateIosManagedBuildArgs = {
2121
- appId: Scalars['ID'];
2122
- job: IosManagedJobInput;
2123
- metadata?: Maybe<BuildMetadataInput>;
2124
- };
2125
2176
  export declare type BuildMutationCreateIosBuildArgs = {
2126
2177
  appId: Scalars['ID'];
2127
2178
  job: IosJobInput;
2128
2179
  metadata?: Maybe<BuildMetadataInput>;
2129
2180
  };
2130
- export declare type AndroidGenericJobInput = {
2181
+ export declare type AndroidJobInput = {
2182
+ type: BuildWorkflow;
2131
2183
  projectArchive: ProjectArchiveSourceInput;
2132
2184
  projectRootDirectory: Scalars['String'];
2133
2185
  releaseChannel?: Maybe<Scalars['String']>;
2134
2186
  updates?: Maybe<BuildUpdatesInput>;
2187
+ developmentClient?: Maybe<Scalars['Boolean']>;
2135
2188
  secrets?: Maybe<AndroidJobSecretsInput>;
2136
2189
  builderEnvironment?: Maybe<AndroidBuilderEnvironmentInput>;
2137
2190
  cache?: Maybe<BuildCacheInput>;
2138
2191
  gradleCommand?: Maybe<Scalars['String']>;
2139
2192
  artifactPath?: Maybe<Scalars['String']>;
2193
+ buildType?: Maybe<AndroidBuildType>;
2194
+ username?: Maybe<Scalars['String']>;
2140
2195
  };
2196
+ export declare enum BuildWorkflow {
2197
+ Generic = "GENERIC",
2198
+ Managed = "MANAGED"
2199
+ }
2141
2200
  export declare type ProjectArchiveSourceInput = {
2142
2201
  type: ProjectArchiveSourceType;
2143
2202
  bucketKey?: Maybe<Scalars['String']>;
@@ -2178,6 +2237,12 @@ export declare type BuildCacheInput = {
2178
2237
  cacheDefaultPaths?: Maybe<Scalars['Boolean']>;
2179
2238
  customPaths?: Maybe<Array<Maybe<Scalars['String']>>>;
2180
2239
  };
2240
+ export declare enum AndroidBuildType {
2241
+ Apk = "APK",
2242
+ AppBundle = "APP_BUNDLE",
2243
+ /** @deprecated Use developmentClient option instead. */
2244
+ DevelopmentClient = "DEVELOPMENT_CLIENT"
2245
+ }
2181
2246
  export declare type BuildMetadataInput = {
2182
2247
  trackingContext?: Maybe<Scalars['JSONObject']>;
2183
2248
  appVersion?: Maybe<Scalars['String']>;
@@ -2195,12 +2260,9 @@ export declare type BuildMetadataInput = {
2195
2260
  appIdentifier?: Maybe<Scalars['String']>;
2196
2261
  buildProfile?: Maybe<Scalars['String']>;
2197
2262
  gitCommitHash?: Maybe<Scalars['String']>;
2263
+ isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
2198
2264
  username?: Maybe<Scalars['String']>;
2199
2265
  };
2200
- export declare enum BuildWorkflow {
2201
- Generic = "GENERIC",
2202
- Managed = "MANAGED"
2203
- }
2204
2266
  export declare enum BuildCredentialsSource {
2205
2267
  Local = "LOCAL",
2206
2268
  Remote = "REMOTE"
@@ -2219,54 +2281,25 @@ export declare enum EasBuildDeprecationInfoType {
2219
2281
  UserFacing = "USER_FACING",
2220
2282
  Internal = "INTERNAL"
2221
2283
  }
2222
- export declare type AndroidManagedJobInput = {
2223
- projectArchive: ProjectArchiveSourceInput;
2224
- projectRootDirectory: Scalars['String'];
2225
- releaseChannel?: Maybe<Scalars['String']>;
2226
- updates?: Maybe<BuildUpdatesInput>;
2227
- secrets?: Maybe<AndroidJobSecretsInput>;
2228
- builderEnvironment?: Maybe<AndroidBuilderEnvironmentInput>;
2229
- cache?: Maybe<BuildCacheInput>;
2230
- buildType?: Maybe<AndroidManagedBuildType>;
2231
- username?: Maybe<Scalars['String']>;
2232
- };
2233
- export declare enum AndroidManagedBuildType {
2234
- Apk = "APK",
2235
- AppBundle = "APP_BUNDLE",
2236
- DevelopmentClient = "DEVELOPMENT_CLIENT"
2237
- }
2238
- export declare type AndroidJobInput = {
2284
+ export declare type IosJobInput = {
2239
2285
  type: BuildWorkflow;
2240
2286
  projectArchive: ProjectArchiveSourceInput;
2241
2287
  projectRootDirectory: Scalars['String'];
2242
2288
  releaseChannel?: Maybe<Scalars['String']>;
2243
2289
  updates?: Maybe<BuildUpdatesInput>;
2244
- secrets?: Maybe<AndroidJobSecretsInput>;
2245
- builderEnvironment?: Maybe<AndroidBuilderEnvironmentInput>;
2246
- cache?: Maybe<BuildCacheInput>;
2247
- gradleCommand?: Maybe<Scalars['String']>;
2248
- artifactPath?: Maybe<Scalars['String']>;
2249
- buildType?: Maybe<AndroidBuildType>;
2250
- username?: Maybe<Scalars['String']>;
2251
- };
2252
- export declare enum AndroidBuildType {
2253
- Apk = "APK",
2254
- AppBundle = "APP_BUNDLE",
2255
- DevelopmentClient = "DEVELOPMENT_CLIENT"
2256
- }
2257
- export declare type IosGenericJobInput = {
2258
- projectArchive: ProjectArchiveSourceInput;
2259
- projectRootDirectory: Scalars['String'];
2260
- releaseChannel?: Maybe<Scalars['String']>;
2261
- updates?: Maybe<BuildUpdatesInput>;
2290
+ /** @deprecated */
2262
2291
  distribution?: Maybe<DistributionType>;
2292
+ simulator?: Maybe<Scalars['Boolean']>;
2293
+ developmentClient?: Maybe<Scalars['Boolean']>;
2263
2294
  secrets?: Maybe<IosJobSecretsInput>;
2264
2295
  builderEnvironment?: Maybe<IosBuilderEnvironmentInput>;
2265
2296
  cache?: Maybe<BuildCacheInput>;
2266
- scheme: Scalars['String'];
2267
- schemeBuildConfiguration?: Maybe<IosSchemeBuildConfiguration>;
2297
+ scheme?: Maybe<Scalars['String']>;
2268
2298
  buildConfiguration?: Maybe<Scalars['String']>;
2269
2299
  artifactPath?: Maybe<Scalars['String']>;
2300
+ /** @deprecated */
2301
+ buildType?: Maybe<IosBuildType>;
2302
+ username?: Maybe<Scalars['String']>;
2270
2303
  };
2271
2304
  export declare type IosJobSecretsInput = {
2272
2305
  buildCredentials?: Maybe<Array<Maybe<IosJobTargetCredentialsInput>>>;
@@ -2291,42 +2324,7 @@ export declare type IosBuilderEnvironmentInput = {
2291
2324
  expoCli?: Maybe<Scalars['String']>;
2292
2325
  env?: Maybe<Scalars['JSONObject']>;
2293
2326
  };
2294
- export declare enum IosSchemeBuildConfiguration {
2295
- Release = "RELEASE",
2296
- Debug = "DEBUG"
2297
- }
2298
- export declare type IosManagedJobInput = {
2299
- projectArchive: ProjectArchiveSourceInput;
2300
- projectRootDirectory: Scalars['String'];
2301
- releaseChannel?: Maybe<Scalars['String']>;
2302
- updates?: Maybe<BuildUpdatesInput>;
2303
- distribution?: Maybe<DistributionType>;
2304
- secrets?: Maybe<IosJobSecretsInput>;
2305
- builderEnvironment?: Maybe<IosBuilderEnvironmentInput>;
2306
- cache?: Maybe<BuildCacheInput>;
2307
- buildType?: Maybe<IosManagedBuildType>;
2308
- username?: Maybe<Scalars['String']>;
2309
- };
2310
- export declare enum IosManagedBuildType {
2311
- Release = "RELEASE",
2312
- DevelopmentClient = "DEVELOPMENT_CLIENT"
2313
- }
2314
- export declare type IosJobInput = {
2315
- type: BuildWorkflow;
2316
- projectArchive: ProjectArchiveSourceInput;
2317
- projectRootDirectory: Scalars['String'];
2318
- releaseChannel?: Maybe<Scalars['String']>;
2319
- updates?: Maybe<BuildUpdatesInput>;
2320
- distribution?: Maybe<DistributionType>;
2321
- secrets?: Maybe<IosJobSecretsInput>;
2322
- builderEnvironment?: Maybe<IosBuilderEnvironmentInput>;
2323
- cache?: Maybe<BuildCacheInput>;
2324
- scheme?: Maybe<Scalars['String']>;
2325
- buildConfiguration?: Maybe<Scalars['String']>;
2326
- artifactPath?: Maybe<Scalars['String']>;
2327
- buildType?: Maybe<IosBuildType>;
2328
- username?: Maybe<Scalars['String']>;
2329
- };
2327
+ /** @deprecated Use developmentClient option instead. */
2330
2328
  export declare enum IosBuildType {
2331
2329
  Release = "RELEASE",
2332
2330
  DevelopmentClient = "DEVELOPMENT_CLIENT"
@@ -2363,8 +2361,8 @@ export declare type IosAppCredentialsMutation = {
2363
2361
  createIosAppCredentials: IosAppCredentials;
2364
2362
  /** Set the push key to be used in an iOS app */
2365
2363
  setPushKey: IosAppCredentials;
2366
- /** Set the app-specific password to be used for an iOS app */
2367
- setAppSpecificPassword: IosAppCredentials;
2364
+ /** Set the App Store Connect Api Key to be used for submitting an iOS app */
2365
+ setAppStoreConnectApiKeyForSubmissions: IosAppCredentials;
2368
2366
  };
2369
2367
  export declare type IosAppCredentialsMutationCreateIosAppCredentialsArgs = {
2370
2368
  iosAppCredentialsInput: IosAppCredentialsInput;
@@ -2375,14 +2373,14 @@ export declare type IosAppCredentialsMutationSetPushKeyArgs = {
2375
2373
  id: Scalars['ID'];
2376
2374
  pushKeyId: Scalars['ID'];
2377
2375
  };
2378
- export declare type IosAppCredentialsMutationSetAppSpecificPasswordArgs = {
2376
+ export declare type IosAppCredentialsMutationSetAppStoreConnectApiKeyForSubmissionsArgs = {
2379
2377
  id: Scalars['ID'];
2380
- appSpecificPasswordId: Scalars['ID'];
2378
+ ascApiKeyId: Scalars['ID'];
2381
2379
  };
2382
2380
  export declare type IosAppCredentialsInput = {
2383
2381
  appleTeamId?: Maybe<Scalars['ID']>;
2384
2382
  pushKeyId?: Maybe<Scalars['ID']>;
2385
- appSpecificPasswordId?: Maybe<Scalars['ID']>;
2383
+ appStoreConnectApiKeyForSubmissionsId?: Maybe<Scalars['ID']>;
2386
2384
  };
2387
2385
  export declare type RobotMutation = {
2388
2386
  __typename?: 'RobotMutation';
@@ -2471,12 +2469,18 @@ export declare type CreateIosSubmissionInput = {
2471
2469
  submittedBuildId?: Maybe<Scalars['ID']>;
2472
2470
  };
2473
2471
  export declare type IosSubmissionConfigInput = {
2474
- appleAppSpecificPasswordId?: Maybe<Scalars['String']>;
2475
2472
  appleAppSpecificPassword?: Maybe<Scalars['String']>;
2473
+ ascApiKey?: Maybe<AscApiKeyInput>;
2474
+ ascApiKeyId?: Maybe<Scalars['String']>;
2476
2475
  archiveUrl?: Maybe<Scalars['String']>;
2477
- appleIdUsername: Scalars['String'];
2476
+ appleIdUsername?: Maybe<Scalars['String']>;
2478
2477
  ascAppIdentifier: Scalars['String'];
2479
2478
  };
2479
+ export declare type AscApiKeyInput = {
2480
+ keyP8: Scalars['String'];
2481
+ keyIdentifier: Scalars['String'];
2482
+ issuerIdentifier: Scalars['String'];
2483
+ };
2480
2484
  export declare type CreateAndroidSubmissionInput = {
2481
2485
  appId: Scalars['ID'];
2482
2486
  config: AndroidSubmissionConfigInput;
@@ -2910,6 +2914,15 @@ export declare enum StandardOffer {
2910
2914
  /** $800 USD per month */
2911
2915
  Support = "SUPPORT"
2912
2916
  }
2917
+ export declare enum IosSchemeBuildConfiguration {
2918
+ Release = "RELEASE",
2919
+ Debug = "DEBUG"
2920
+ }
2921
+ /** @deprecated Use developmentClient option instead. */
2922
+ export declare enum IosManagedBuildType {
2923
+ Release = "RELEASE",
2924
+ DevelopmentClient = "DEVELOPMENT_CLIENT"
2925
+ }
2913
2926
  export declare enum CacheControlScope {
2914
2927
  Public = "PUBLIC",
2915
2928
  Private = "PRIVATE"
@@ -6,13 +6,15 @@
6
6
  * For more info and docs, visit https://graphql-code-generator.com/
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.CacheControlScope = exports.StandardOffer = exports.MailchimpAudience = exports.MailchimpTag = exports.UploadSessionType = exports.IosBuildType = exports.IosManagedBuildType = exports.IosSchemeBuildConfiguration = exports.AndroidBuildType = exports.AndroidManagedBuildType = exports.EasBuildDeprecationInfoType = exports.BuildCredentialsSource = exports.BuildWorkflow = exports.ProjectArchiveSourceType = exports.Order = exports.AssetMetadataStatus = exports.AppSort = exports.AppsFilter = exports.WebhookType = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.IosDistributionType = exports.AppleDeviceClass = exports.BuildJobStatus = exports.BuildJobLogsFormat = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidTrack = exports.SubmissionAndroidArchiveType = exports.SubmissionStatus = exports.BuildIosEnterpriseProvisioning = exports.ActivityTimelineProjectActivityType = exports.Role = exports.Permission = exports.SecondFactorMethod = exports.DistributionType = exports.BuildStatus = exports.AppPlatform = exports.AppPrivacy = exports.Feature = exports.OfferType = void 0;
9
+ exports.CacheControlScope = exports.IosManagedBuildType = exports.IosSchemeBuildConfiguration = exports.StandardOffer = exports.MailchimpAudience = exports.MailchimpTag = exports.UploadSessionType = exports.IosBuildType = exports.EasBuildDeprecationInfoType = exports.BuildCredentialsSource = exports.AndroidBuildType = exports.ProjectArchiveSourceType = exports.BuildWorkflow = exports.Order = exports.AssetMetadataStatus = exports.AppSort = exports.AppsFilter = exports.WebhookType = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AppStoreConnectUserRole = exports.IosDistributionType = exports.AppleDeviceClass = exports.BuildJobStatus = exports.BuildJobLogsFormat = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidTrack = exports.SubmissionAndroidArchiveType = exports.SubmissionStatus = exports.BuildIosEnterpriseProvisioning = exports.ActivityTimelineProjectActivityType = exports.Role = exports.Permission = exports.SecondFactorMethod = exports.DistributionType = exports.BuildStatus = exports.AppPlatform = exports.AppPrivacy = exports.Feature = exports.OfferType = void 0;
10
10
  var OfferType;
11
11
  (function (OfferType) {
12
12
  /** Term subscription */
13
13
  OfferType["Subscription"] = "SUBSCRIPTION";
14
14
  /** Advanced Purchase of Paid Resource */
15
15
  OfferType["Prepaid"] = "PREPAID";
16
+ /** Addon, or supplementary subscription */
17
+ OfferType["Addon"] = "ADDON";
16
18
  })(OfferType = exports.OfferType || (exports.OfferType = {}));
17
19
  var Feature;
18
20
  (function (Feature) {
@@ -141,6 +143,25 @@ var IosDistributionType;
141
143
  IosDistributionType["AdHoc"] = "AD_HOC";
142
144
  IosDistributionType["Development"] = "DEVELOPMENT";
143
145
  })(IosDistributionType = exports.IosDistributionType || (exports.IosDistributionType = {}));
146
+ var AppStoreConnectUserRole;
147
+ (function (AppStoreConnectUserRole) {
148
+ AppStoreConnectUserRole["Admin"] = "ADMIN";
149
+ AppStoreConnectUserRole["Finance"] = "FINANCE";
150
+ AppStoreConnectUserRole["Technical"] = "TECHNICAL";
151
+ AppStoreConnectUserRole["AccountHolder"] = "ACCOUNT_HOLDER";
152
+ AppStoreConnectUserRole["ReadOnly"] = "READ_ONLY";
153
+ AppStoreConnectUserRole["Sales"] = "SALES";
154
+ AppStoreConnectUserRole["Marketing"] = "MARKETING";
155
+ AppStoreConnectUserRole["AppManager"] = "APP_MANAGER";
156
+ AppStoreConnectUserRole["Developer"] = "DEVELOPER";
157
+ AppStoreConnectUserRole["AccessToReports"] = "ACCESS_TO_REPORTS";
158
+ AppStoreConnectUserRole["CustomerSupport"] = "CUSTOMER_SUPPORT";
159
+ AppStoreConnectUserRole["CreateApps"] = "CREATE_APPS";
160
+ AppStoreConnectUserRole["CloudManagedDeveloperId"] = "CLOUD_MANAGED_DEVELOPER_ID";
161
+ AppStoreConnectUserRole["CloudManagedAppDistribution"] = "CLOUD_MANAGED_APP_DISTRIBUTION";
162
+ AppStoreConnectUserRole["ImageManager"] = "IMAGE_MANAGER";
163
+ AppStoreConnectUserRole["Unknown"] = "UNKNOWN";
164
+ })(AppStoreConnectUserRole = exports.AppStoreConnectUserRole || (exports.AppStoreConnectUserRole = {}));
144
165
  var AndroidFcmVersion;
145
166
  (function (AndroidFcmVersion) {
146
167
  AndroidFcmVersion["Legacy"] = "LEGACY";
@@ -180,16 +201,23 @@ var Order;
180
201
  Order["Desc"] = "DESC";
181
202
  Order["Asc"] = "ASC";
182
203
  })(Order = exports.Order || (exports.Order = {}));
183
- var ProjectArchiveSourceType;
184
- (function (ProjectArchiveSourceType) {
185
- ProjectArchiveSourceType["S3"] = "S3";
186
- ProjectArchiveSourceType["Url"] = "URL";
187
- })(ProjectArchiveSourceType = exports.ProjectArchiveSourceType || (exports.ProjectArchiveSourceType = {}));
188
204
  var BuildWorkflow;
189
205
  (function (BuildWorkflow) {
190
206
  BuildWorkflow["Generic"] = "GENERIC";
191
207
  BuildWorkflow["Managed"] = "MANAGED";
192
208
  })(BuildWorkflow = exports.BuildWorkflow || (exports.BuildWorkflow = {}));
209
+ var ProjectArchiveSourceType;
210
+ (function (ProjectArchiveSourceType) {
211
+ ProjectArchiveSourceType["S3"] = "S3";
212
+ ProjectArchiveSourceType["Url"] = "URL";
213
+ })(ProjectArchiveSourceType = exports.ProjectArchiveSourceType || (exports.ProjectArchiveSourceType = {}));
214
+ var AndroidBuildType;
215
+ (function (AndroidBuildType) {
216
+ AndroidBuildType["Apk"] = "APK";
217
+ AndroidBuildType["AppBundle"] = "APP_BUNDLE";
218
+ /** @deprecated Use developmentClient option instead. */
219
+ AndroidBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
220
+ })(AndroidBuildType = exports.AndroidBuildType || (exports.AndroidBuildType = {}));
193
221
  var BuildCredentialsSource;
194
222
  (function (BuildCredentialsSource) {
195
223
  BuildCredentialsSource["Local"] = "LOCAL";
@@ -200,28 +228,7 @@ var EasBuildDeprecationInfoType;
200
228
  EasBuildDeprecationInfoType["UserFacing"] = "USER_FACING";
201
229
  EasBuildDeprecationInfoType["Internal"] = "INTERNAL";
202
230
  })(EasBuildDeprecationInfoType = exports.EasBuildDeprecationInfoType || (exports.EasBuildDeprecationInfoType = {}));
203
- var AndroidManagedBuildType;
204
- (function (AndroidManagedBuildType) {
205
- AndroidManagedBuildType["Apk"] = "APK";
206
- AndroidManagedBuildType["AppBundle"] = "APP_BUNDLE";
207
- AndroidManagedBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
208
- })(AndroidManagedBuildType = exports.AndroidManagedBuildType || (exports.AndroidManagedBuildType = {}));
209
- var AndroidBuildType;
210
- (function (AndroidBuildType) {
211
- AndroidBuildType["Apk"] = "APK";
212
- AndroidBuildType["AppBundle"] = "APP_BUNDLE";
213
- AndroidBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
214
- })(AndroidBuildType = exports.AndroidBuildType || (exports.AndroidBuildType = {}));
215
- var IosSchemeBuildConfiguration;
216
- (function (IosSchemeBuildConfiguration) {
217
- IosSchemeBuildConfiguration["Release"] = "RELEASE";
218
- IosSchemeBuildConfiguration["Debug"] = "DEBUG";
219
- })(IosSchemeBuildConfiguration = exports.IosSchemeBuildConfiguration || (exports.IosSchemeBuildConfiguration = {}));
220
- var IosManagedBuildType;
221
- (function (IosManagedBuildType) {
222
- IosManagedBuildType["Release"] = "RELEASE";
223
- IosManagedBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
224
- })(IosManagedBuildType = exports.IosManagedBuildType || (exports.IosManagedBuildType = {}));
231
+ /** @deprecated Use developmentClient option instead. */
225
232
  var IosBuildType;
226
233
  (function (IosBuildType) {
227
234
  IosBuildType["Release"] = "RELEASE";
@@ -252,6 +259,17 @@ var StandardOffer;
252
259
  /** $800 USD per month */
253
260
  StandardOffer["Support"] = "SUPPORT";
254
261
  })(StandardOffer = exports.StandardOffer || (exports.StandardOffer = {}));
262
+ var IosSchemeBuildConfiguration;
263
+ (function (IosSchemeBuildConfiguration) {
264
+ IosSchemeBuildConfiguration["Release"] = "RELEASE";
265
+ IosSchemeBuildConfiguration["Debug"] = "DEBUG";
266
+ })(IosSchemeBuildConfiguration = exports.IosSchemeBuildConfiguration || (exports.IosSchemeBuildConfiguration = {}));
267
+ /** @deprecated Use developmentClient option instead. */
268
+ var IosManagedBuildType;
269
+ (function (IosManagedBuildType) {
270
+ IosManagedBuildType["Release"] = "RELEASE";
271
+ IosManagedBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
272
+ })(IosManagedBuildType = exports.IosManagedBuildType || (exports.IosManagedBuildType = {}));
255
273
  var CacheControlScope;
256
274
  (function (CacheControlScope) {
257
275
  CacheControlScope["Public"] = "PUBLIC";
@@ -21,6 +21,7 @@ exports.BuildQuery = {
21
21
  ${(0, graphql_1.print)(Build_1.BuildFragmentNode)}
22
22
  `, { buildId }, {
23
23
  requestPolicy: useCache ? 'cache-first' : 'network-only',
24
+ additionalTypenames: ['Build'],
24
25
  })
25
26
  .toPromise());
26
27
  return data.builds.byId;
@@ -48,7 +49,9 @@ exports.BuildQuery = {
48
49
  }
49
50
  }
50
51
  ${(0, graphql_1.print)(Build_1.BuildFragmentNode)}
51
- `, { appId, offset, limit, filter })
52
+ `, { appId, offset, limit, filter }, {
53
+ additionalTypenames: ['Build'],
54
+ })
52
55
  .toPromise());
53
56
  return (_b = (_a = data.app) === null || _a === void 0 ? void 0 : _a.byId.builds) !== null && _b !== void 0 ? _b : [];
54
57
  },
@@ -27,7 +27,9 @@ exports.EnvironmentSecretsQuery = {
27
27
  }
28
28
  }
29
29
  ${(0, graphql_1.print)(EnvironmentSecret_1.EnvironmentSecretFragmentNode)}
30
- `, { accountName })
30
+ `, { accountName }, {
31
+ additionalTypenames: ['EnvironmentSecret'],
32
+ })
31
33
  .toPromise());
32
34
  return data.account.byName.environmentSecrets;
33
35
  },
@@ -47,7 +49,7 @@ exports.EnvironmentSecretsQuery = {
47
49
  }
48
50
  }
49
51
  ${(0, graphql_1.print)(EnvironmentSecret_1.EnvironmentSecretFragmentNode)}
50
- `, { appId })
52
+ `, { appId }, { additionalTypenames: ['EnvironmentSecret'] })
51
53
  .toPromise());
52
54
  return (_b = (_a = data.app) === null || _a === void 0 ? void 0 : _a.byId.environmentSecrets) !== null && _b !== void 0 ? _b : [];
53
55
  },
@@ -15,7 +15,9 @@ exports.ProjectQuery = {
15
15
  }
16
16
  }
17
17
  }
18
- `, { username, slug })
18
+ `, { username, slug }, {
19
+ additionalTypenames: ['App', 'Snack'] /* typenames that use the Project type*/,
20
+ })
19
21
  .toPromise());
20
22
  return data.project.byUsernameAndSlug;
21
23
  },
@@ -18,7 +18,10 @@ exports.PublishQuery = {
18
18
  }
19
19
  `, {
20
20
  storageKeys,
21
- }, { requestPolicy: 'network-only' } // Since we reptitively query this to monitor the asset upload, we need to ensure it is not cached.
21
+ }, {
22
+ requestPolicy: 'network-only',
23
+ additionalTypenames: ['AssetMetadataResult'],
24
+ } // Since we reptitively query this to monitor the asset upload, we need to ensure it is not cached.
22
25
  )
23
26
  .toPromise());
24
27
  return data.asset.metadata;
@@ -19,7 +19,10 @@ exports.SubmissionQuery = {
19
19
  }
20
20
  }
21
21
  ${(0, graphql_1.print)(Submission_1.SubmissionFragmentNode)}
22
- `, { submissionId }, { requestPolicy: useCache ? 'cache-first' : 'network-only' })
22
+ `, { submissionId }, {
23
+ requestPolicy: useCache ? 'cache-first' : 'network-only',
24
+ additionalTypenames: ['Submission'],
25
+ })
23
26
  .toPromise());
24
27
  return data.submissions.byId;
25
28
  },
@@ -49,7 +52,7 @@ exports.SubmissionQuery = {
49
52
  }
50
53
  }
51
54
  ${(0, graphql_1.print)(Submission_1.SubmissionFragmentNode)}
52
- `, { appId, offset, limit, status, platform })
55
+ `, { appId, offset, limit, status, platform }, { additionalTypenames: ['Submission'] })
53
56
  .toPromise());
54
57
  return (_b = (_a = data.app) === null || _a === void 0 ? void 0 : _a.byId.submissions) !== null && _b !== void 0 ? _b : [];
55
58
  },