eas-cli 0.33.0 → 0.35.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 (170) hide show
  1. package/README.md +27 -27
  2. package/build/analytics.js +3 -9
  3. package/build/api.js +3 -3
  4. package/build/build/android/UpdatesModule.js +4 -15
  5. package/build/build/android/configure.js +2 -2
  6. package/build/build/android/graphql.js +2 -4
  7. package/build/build/android/prepareJob.js +4 -3
  8. package/build/build/build.js +2 -2
  9. package/build/build/configure.js +14 -7
  10. package/build/build/ios/UpdatesModule.js +6 -18
  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/devClient.js +8 -5
  15. package/build/build/utils/formatBuild.js +1 -9
  16. package/build/build/utils/repository.js +10 -7
  17. package/build/build/utils/url.js +1 -1
  18. package/build/build/validate.js +4 -4
  19. package/build/commandUtils/EasCommand.d.ts +1 -0
  20. package/build/commandUtils/EasCommand.js +21 -0
  21. package/build/commands/branch/create.js +3 -2
  22. package/build/commands/branch/delete.js +1 -1
  23. package/build/commands/branch/list.js +1 -1
  24. package/build/commands/branch/publish.js +20 -48
  25. package/build/commands/branch/view.js +1 -1
  26. package/build/commands/build/index.js +43 -24
  27. package/build/commands/channel/edit.js +1 -1
  28. package/build/commands/channel/list.js +1 -1
  29. package/build/commands/channel/view.js +1 -1
  30. package/build/commands/diagnostics.js +2 -2
  31. package/build/commands/project/info.js +1 -1
  32. package/build/commands/secret/delete.js +1 -1
  33. package/build/commands/update/view.js +1 -1
  34. package/build/credentials/android/AndroidCredentialsProvider.js +2 -2
  35. package/build/credentials/android/actions/{SetupBuildCredentials.d.ts → SetUpBuildCredentials.d.ts} +1 -1
  36. package/build/credentials/android/actions/{SetupBuildCredentials.js → SetUpBuildCredentials.js} +3 -3
  37. package/build/credentials/android/actions/{SetupBuildCredentialsFromCredentialsJson.d.ts → SetUpBuildCredentialsFromCredentialsJson.d.ts} +1 -1
  38. package/build/credentials/android/actions/{SetupBuildCredentialsFromCredentialsJson.js → SetUpBuildCredentialsFromCredentialsJson.js} +3 -3
  39. package/build/credentials/android/actions/{SetupGoogleServiceAccountKey.d.ts → SetUpGoogleServiceAccountKey.d.ts} +1 -1
  40. package/build/credentials/android/actions/{SetupGoogleServiceAccountKey.js → SetUpGoogleServiceAccountKey.js} +3 -3
  41. package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.js +2 -0
  42. package/build/credentials/credentialsJson/update.js +5 -4
  43. package/build/credentials/errors.d.ts +4 -0
  44. package/build/credentials/errors.js +8 -1
  45. package/build/credentials/ios/IosCredentialsProvider.js +4 -4
  46. package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +17 -1
  47. package/build/credentials/ios/actions/AscApiKeyUtils.js +156 -23
  48. package/build/credentials/ios/actions/AssignAscApiKey.d.ts +9 -0
  49. package/build/credentials/ios/actions/AssignAscApiKey.js +29 -0
  50. package/build/credentials/ios/actions/CreateAscApiKey.d.ts +9 -0
  51. package/build/credentials/ios/actions/CreateAscApiKey.js +21 -0
  52. package/build/credentials/ios/actions/CreateDistributionCertificate.js +1 -1
  53. package/build/credentials/ios/actions/CreatePushKey.js +1 -1
  54. package/build/credentials/ios/actions/DistributionCertificateUtils.d.ts +1 -1
  55. package/build/credentials/ios/actions/DistributionCertificateUtils.js +6 -8
  56. package/build/credentials/ios/actions/PushKeyUtils.d.ts +1 -1
  57. package/build/credentials/ios/actions/PushKeyUtils.js +6 -6
  58. package/build/credentials/ios/actions/RemoveAscApiKey.d.ts +14 -0
  59. package/build/credentials/ios/actions/RemoveAscApiKey.js +55 -0
  60. package/build/credentials/ios/actions/{SetupAdhocProvisioningProfile.d.ts → SetUpAdhocProvisioningProfile.d.ts} +1 -1
  61. package/build/credentials/ios/actions/{SetupAdhocProvisioningProfile.js → SetUpAdhocProvisioningProfile.js} +5 -5
  62. package/build/credentials/ios/actions/SetUpAscApiKey.d.ts +21 -0
  63. package/build/credentials/ios/actions/SetUpAscApiKey.js +114 -0
  64. package/build/credentials/ios/actions/{SetupBuildCredentials.d.ts → SetUpBuildCredentials.d.ts} +1 -1
  65. package/build/credentials/ios/actions/{SetupBuildCredentials.js → SetUpBuildCredentials.js} +5 -5
  66. package/build/credentials/ios/actions/{SetupBuildCredentialsFromCredentialsJson.d.ts → SetUpBuildCredentialsFromCredentialsJson.d.ts} +1 -1
  67. package/build/credentials/ios/actions/{SetupBuildCredentialsFromCredentialsJson.js → SetUpBuildCredentialsFromCredentialsJson.js} +5 -5
  68. package/build/credentials/ios/actions/{SetupDistributionCertificate.d.ts → SetUpDistributionCertificate.d.ts} +1 -1
  69. package/build/credentials/ios/actions/{SetupDistributionCertificate.js → SetUpDistributionCertificate.js} +3 -3
  70. package/build/credentials/ios/actions/{SetupInternalProvisioningProfile.d.ts → SetUpInternalProvisioningProfile.d.ts} +1 -1
  71. package/build/credentials/ios/actions/{SetupInternalProvisioningProfile.js → SetUpInternalProvisioningProfile.js} +7 -7
  72. package/build/credentials/ios/actions/{SetupProvisioningProfile.d.ts → SetUpProvisioningProfile.d.ts} +1 -1
  73. package/build/credentials/ios/actions/{SetupProvisioningProfile.js → SetUpProvisioningProfile.js} +5 -5
  74. package/build/credentials/ios/actions/{SetupPushKey.d.ts → SetUpPushKey.d.ts} +1 -1
  75. package/build/credentials/ios/actions/{SetupPushKey.js → SetUpPushKey.js} +3 -3
  76. package/build/credentials/ios/actions/SetUpSubmissionCredentials.d.ts +10 -0
  77. package/build/credentials/ios/actions/SetUpSubmissionCredentials.js +53 -0
  78. package/build/credentials/ios/actions/{SetupTargetBuildCredentials.d.ts → SetUpTargetBuildCredentials.d.ts} +1 -1
  79. package/build/credentials/ios/actions/{SetupTargetBuildCredentials.js → SetUpTargetBuildCredentials.js} +10 -10
  80. package/build/credentials/ios/actions/{SetupTargetBuildCredentialsFromCredentialsJson.d.ts → SetUpTargetBuildCredentialsFromCredentialsJson.d.ts} +1 -1
  81. package/build/credentials/ios/actions/{SetupTargetBuildCredentialsFromCredentialsJson.js → SetUpTargetBuildCredentialsFromCredentialsJson.js} +3 -3
  82. package/build/credentials/ios/api/GraphqlClient.d.ts +8 -2
  83. package/build/credentials/ios/api/GraphqlClient.js +74 -2
  84. package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.d.ts +5 -0
  85. package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.js +54 -0
  86. package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.d.ts +1 -0
  87. package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.js +25 -0
  88. package/build/credentials/ios/api/graphql/queries/AppQuery.js +3 -1
  89. package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +4 -0
  90. package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.js +33 -0
  91. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +6 -2
  92. package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +7 -1
  93. package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.js +5 -1
  94. package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +2 -0
  95. package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +5 -1
  96. package/build/credentials/ios/appstore/AppStoreApi.d.ts +1 -1
  97. package/build/credentials/ios/appstore/Credentials.types.d.ts +1 -0
  98. package/build/credentials/ios/appstore/ascApiKey.d.ts +1 -1
  99. package/build/credentials/ios/appstore/ascApiKey.js +22 -12
  100. package/build/credentials/ios/credentials.d.ts +2 -1
  101. package/build/credentials/ios/credentials.js +8 -3
  102. package/build/credentials/ios/utils/printCredentials.js +30 -1
  103. package/build/credentials/ios/validators/validateAscApiKey.d.ts +5 -0
  104. package/build/credentials/ios/validators/validateAscApiKey.js +21 -0
  105. package/build/credentials/manager/Actions.d.ts +52 -0
  106. package/build/credentials/manager/Actions.js +53 -0
  107. package/build/credentials/manager/AndroidActions.d.ts +6 -0
  108. package/build/credentials/manager/AndroidActions.js +114 -0
  109. package/build/credentials/manager/IosActions.d.ts +7 -0
  110. package/build/credentials/manager/IosActions.js +145 -0
  111. package/build/credentials/manager/ManageAndroid.d.ts +1 -29
  112. package/build/credentials/manager/ManageAndroid.js +30 -163
  113. package/build/credentials/manager/ManageIos.d.ts +1 -29
  114. package/build/credentials/manager/ManageIos.js +78 -166
  115. package/build/credentials/utils/promptForCredentials.d.ts +2 -1
  116. package/build/credentials/utils/promptForCredentials.js +3 -2
  117. package/build/graphql/client.d.ts +8 -2
  118. package/build/graphql/client.js +1 -1
  119. package/build/graphql/generated.d.ts +170 -33
  120. package/build/graphql/generated.js +23 -1
  121. package/build/graphql/queries/BuildQuery.js +4 -1
  122. package/build/graphql/queries/EnvironmentSecretsQuery.js +4 -2
  123. package/build/graphql/queries/ProjectQuery.js +3 -1
  124. package/build/graphql/queries/PublishQuery.js +4 -1
  125. package/build/graphql/queries/SubmissionQuery.js +5 -2
  126. package/build/graphql/queries/UserQuery.js +4 -1
  127. package/build/graphql/queries/WebhookQuery.js +6 -2
  128. package/build/graphql/types/Build.js +1 -6
  129. package/build/graphql/types/credentials/AppStoreConnectApiKey.d.ts +1 -0
  130. package/build/graphql/types/credentials/AppStoreConnectApiKey.js +23 -0
  131. package/build/graphql/types/credentials/IosAppCredentials.js +6 -0
  132. package/build/log.d.ts +0 -2
  133. package/build/log.js +2 -12
  134. package/build/project/projectUtils.js +1 -1
  135. package/build/project/publish.js +2 -2
  136. package/build/project/workflow.js +2 -2
  137. package/build/submit/ArchiveSource.js +6 -5
  138. package/build/submit/android/ServiceAccountSource.js +2 -2
  139. package/build/submit/ios/AppSpecificPasswordSource.d.ts +2 -6
  140. package/build/submit/ios/AppSpecificPasswordSource.js +0 -18
  141. package/build/submit/ios/AscApiKeySource.d.ts +9 -3
  142. package/build/submit/ios/AscApiKeySource.js +10 -10
  143. package/build/submit/ios/CredentialsServiceSource.d.ts +14 -0
  144. package/build/submit/ios/CredentialsServiceSource.js +46 -0
  145. package/build/submit/ios/IosSubmitCommand.js +22 -14
  146. package/build/submit/ios/IosSubmitter.d.ts +3 -0
  147. package/build/submit/ios/IosSubmitter.js +30 -20
  148. package/build/submit/utils/errors.js +2 -0
  149. package/build/user/User.js +1 -0
  150. package/build/utils/easCli.d.ts +1 -0
  151. package/build/utils/easCli.js +5 -0
  152. package/build/utils/{expoCommand.d.ts → expoCli.d.ts} +0 -0
  153. package/build/utils/{expoCommand.js → expoCli.js} +0 -0
  154. package/build/utils/profiles.js +9 -2
  155. package/build/vcs/clients/git.d.ts +26 -0
  156. package/build/vcs/clients/git.js +184 -0
  157. package/build/vcs/clients/gitNoCommit.d.ts +7 -0
  158. package/build/vcs/clients/gitNoCommit.js +27 -0
  159. package/build/vcs/clients/noVcs.d.ts +6 -0
  160. package/build/vcs/clients/noVcs.js +19 -0
  161. package/build/vcs/git.d.ts +10 -17
  162. package/build/vcs/git.js +7 -175
  163. package/build/vcs/index.d.ts +2 -2
  164. package/build/vcs/index.js +15 -6
  165. package/build/vcs/local.d.ts +18 -5
  166. package/build/vcs/local.js +61 -32
  167. package/build/vcs/vcs.d.ts +2 -1
  168. package/build/vcs/vcs.js +8 -4
  169. package/oclif.manifest.json +1 -1
  170. package/package.json +10 -10
@@ -136,6 +136,11 @@ export declare type Actor = {
136
136
  firstName?: Maybe<Scalars['String']>;
137
137
  created: Scalars['DateTime'];
138
138
  isExpoAdmin: Scalars['Boolean'];
139
+ /**
140
+ * Best-effort human readable name for this actor for use in user interfaces during action attribution.
141
+ * For example, when displaying a sentence indicating that actor X created a build or published an update.
142
+ */
143
+ displayName: Scalars['String'];
139
144
  /** Associated accounts */
140
145
  accounts: Array<Account>;
141
146
  /** Access Tokens belonging to this actor */
@@ -197,7 +202,7 @@ export declare type Account = {
197
202
  applePushKeys: Array<ApplePushKey>;
198
203
  appleProvisioningProfiles: Array<AppleProvisioningProfile>;
199
204
  appleDevices: Array<AppleDevice>;
200
- appleAppSpecificPasswords: Array<AppleAppSpecificPassword>;
205
+ appStoreConnectApiKeys: Array<AppStoreConnectApiKey>;
201
206
  /** Android credentials for account */
202
207
  googleServiceAccountKeys: Array<GoogleServiceAccountKey>;
203
208
  /** Environment secrets for an account */
@@ -391,6 +396,7 @@ export declare type App = Project & {
391
396
  privacySetting: AppPrivacy;
392
397
  latestReleaseId: Scalars['ID'];
393
398
  pushSecurityEnabled: Scalars['Boolean'];
399
+ releaseChannels: Array<Scalars['String']>;
394
400
  /** (EAS Build) Builds associated with this app */
395
401
  builds: Array<Build>;
396
402
  buildJobs: Array<BuildJob>;
@@ -520,6 +526,8 @@ export declare type AppActivityTimelineProjectActivitiesArgs = {
520
526
  limit: Scalars['Int'];
521
527
  createdBefore?: Maybe<Scalars['DateTime']>;
522
528
  filterTypes?: Maybe<Array<ActivityTimelineProjectActivityType>>;
529
+ filterPlatforms?: Maybe<Array<AppPlatform>>;
530
+ filterReleaseChannels?: Maybe<Array<Scalars['String']>>;
523
531
  };
524
532
  /** Represents an Exponent App (or Experience in legacy terms) */
525
533
  export declare type AppEnvironmentSecretsArgs = {
@@ -617,6 +625,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
617
625
  iosEnterpriseProvisioning?: Maybe<BuildIosEnterpriseProvisioning>;
618
626
  buildProfile?: Maybe<Scalars['String']>;
619
627
  gitCommitHash?: Maybe<Scalars['String']>;
628
+ isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
620
629
  error?: Maybe<BuildError>;
621
630
  submissions: Array<Submission>;
622
631
  };
@@ -642,6 +651,7 @@ export declare type User = Actor & {
642
651
  appetizeCode?: Maybe<Scalars['String']>;
643
652
  emailVerified: Scalars['Boolean'];
644
653
  isExpoAdmin: Scalars['Boolean'];
654
+ displayName: Scalars['String'];
645
655
  isSecondFactorAuthenticationEnabled: Scalars['Boolean'];
646
656
  /** Get all certified second factor authentication methods */
647
657
  secondFactorDevices: Array<UserSecondFactorDevice>;
@@ -846,7 +856,7 @@ export declare type IosSubmissionConfig = {
846
856
  __typename?: 'IosSubmissionConfig';
847
857
  ascAppIdentifier: Scalars['String'];
848
858
  appleIdUsername: Scalars['String'];
849
- appleAppSpecificPasswordId?: Maybe<Scalars['String']>;
859
+ ascApiKeyId?: Maybe<Scalars['String']>;
850
860
  };
851
861
  export declare type SubmissionError = {
852
862
  __typename?: 'SubmissionError';
@@ -974,7 +984,7 @@ export declare type IosAppCredentials = {
974
984
  appleAppIdentifier: AppleAppIdentifier;
975
985
  iosAppBuildCredentialsList: Array<IosAppBuildCredentials>;
976
986
  pushKey?: Maybe<ApplePushKey>;
977
- appSpecificPassword?: Maybe<AppleAppSpecificPassword>;
987
+ appStoreConnectApiKeyForSubmissions?: Maybe<AppStoreConnectApiKey>;
978
988
  /** @deprecated use iosAppBuildCredentialsList instead */
979
989
  iosAppBuildCredentialsArray: Array<IosAppBuildCredentials>;
980
990
  };
@@ -1087,15 +1097,36 @@ export declare type ApplePushKey = {
1087
1097
  export declare type IosAppBuildCredentialsFilter = {
1088
1098
  iosDistributionType?: Maybe<IosDistributionType>;
1089
1099
  };
1090
- export declare type AppleAppSpecificPassword = {
1091
- __typename?: 'AppleAppSpecificPassword';
1100
+ export declare type AppStoreConnectApiKey = {
1101
+ __typename?: 'AppStoreConnectApiKey';
1092
1102
  id: Scalars['ID'];
1093
1103
  account: Account;
1094
- appleIdUsername: Scalars['String'];
1095
- passwordLabel?: Maybe<Scalars['String']>;
1104
+ appleTeam?: Maybe<AppleTeam>;
1105
+ issuerIdentifier: Scalars['String'];
1106
+ keyIdentifier: Scalars['String'];
1107
+ name?: Maybe<Scalars['String']>;
1108
+ roles?: Maybe<Array<AppStoreConnectUserRole>>;
1096
1109
  createdAt: Scalars['DateTime'];
1097
1110
  updatedAt: Scalars['DateTime'];
1098
1111
  };
1112
+ export declare enum AppStoreConnectUserRole {
1113
+ Admin = "ADMIN",
1114
+ Finance = "FINANCE",
1115
+ Technical = "TECHNICAL",
1116
+ AccountHolder = "ACCOUNT_HOLDER",
1117
+ ReadOnly = "READ_ONLY",
1118
+ Sales = "SALES",
1119
+ Marketing = "MARKETING",
1120
+ AppManager = "APP_MANAGER",
1121
+ Developer = "DEVELOPER",
1122
+ AccessToReports = "ACCESS_TO_REPORTS",
1123
+ CustomerSupport = "CUSTOMER_SUPPORT",
1124
+ CreateApps = "CREATE_APPS",
1125
+ CloudManagedDeveloperId = "CLOUD_MANAGED_DEVELOPER_ID",
1126
+ CloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION",
1127
+ ImageManager = "IMAGE_MANAGER",
1128
+ Unknown = "UNKNOWN"
1129
+ }
1099
1130
  export declare type AndroidAppCredentialsFilter = {
1100
1131
  legacyOnly?: Maybe<Scalars['Boolean']>;
1101
1132
  applicationIdentifier?: Maybe<Scalars['String']>;
@@ -1248,6 +1279,7 @@ export declare type SubscriptionDetails = {
1248
1279
  planId?: Maybe<Scalars['String']>;
1249
1280
  addons: Array<AddonDetails>;
1250
1281
  name?: Maybe<Scalars['String']>;
1282
+ price: Scalars['Int'];
1251
1283
  nextInvoice?: Maybe<Scalars['DateTime']>;
1252
1284
  cancelledAt?: Maybe<Scalars['DateTime']>;
1253
1285
  willCancel?: Maybe<Scalars['Boolean']>;
@@ -1260,6 +1292,8 @@ export declare type AddonDetails = {
1260
1292
  id: Scalars['ID'];
1261
1293
  planId: Scalars['String'];
1262
1294
  name: Scalars['String'];
1295
+ nextInvoice?: Maybe<Scalars['DateTime']>;
1296
+ willCancel?: Maybe<Scalars['Boolean']>;
1263
1297
  };
1264
1298
  export declare type Charge = {
1265
1299
  __typename?: 'Charge';
@@ -1318,7 +1352,10 @@ export declare type AppQuery = {
1318
1352
  /** Look up app by app id */
1319
1353
  byId: App;
1320
1354
  byFullName: App;
1321
- /** Public apps in the app directory */
1355
+ /**
1356
+ * Public apps in the app directory
1357
+ * @deprecated App directory no longer supported
1358
+ */
1322
1359
  all: Array<App>;
1323
1360
  };
1324
1361
  export declare type AppQueryByIdArgs = {
@@ -1580,8 +1617,6 @@ export declare type RootMutation = {
1580
1617
  googleServiceAccountKey: GoogleServiceAccountKeyMutation;
1581
1618
  /** Mutations that modify an Identifier for an iOS App */
1582
1619
  appleAppIdentifier: AppleAppIdentifierMutation;
1583
- /** Mutations that modify an App Specific Password for an Apple User Account */
1584
- appleAppSpecificPassword: AppleAppSpecificPasswordMutation;
1585
1620
  /** Mutations that modify an Apple Device */
1586
1621
  appleDevice: AppleDeviceMutation;
1587
1622
  /** Mutations that modify an Apple Device registration request */
@@ -1594,6 +1629,8 @@ export declare type RootMutation = {
1594
1629
  applePushKey: ApplePushKeyMutation;
1595
1630
  /** Mutations that modify an Apple Team */
1596
1631
  appleTeam: AppleTeamMutation;
1632
+ /** Mutations that modify an App Store Connect Api Key */
1633
+ appStoreConnectApiKey: AppStoreConnectApiKeyMutation;
1597
1634
  /** Mutations that modify an App */
1598
1635
  app?: Maybe<AppMutation>;
1599
1636
  asset: AssetMutation;
@@ -1680,6 +1717,8 @@ export declare type AccountMutation = {
1680
1717
  subscribeToProduct?: Maybe<Account>;
1681
1718
  /** Cancels the active subscription */
1682
1719
  cancelSubscription?: Maybe<Account>;
1720
+ /** Requests a refund for the specified charge. Returns true if auto-refund was possible, otherwise requests a manual refund from support and returns false. */
1721
+ requestRefund?: Maybe<Scalars['Boolean']>;
1683
1722
  /**
1684
1723
  * Makes a one time purchase
1685
1724
  * @deprecated Build packs are no longer supported
@@ -1715,6 +1754,10 @@ export declare type AccountMutationSubscribeToProductArgs = {
1715
1754
  export declare type AccountMutationCancelSubscriptionArgs = {
1716
1755
  accountName: Scalars['ID'];
1717
1756
  };
1757
+ export declare type AccountMutationRequestRefundArgs = {
1758
+ accountID: Scalars['ID'];
1759
+ chargeIdentifier: Scalars['ID'];
1760
+ };
1718
1761
  export declare type AccountMutationBuyProductArgs = {
1719
1762
  accountName: Scalars['ID'];
1720
1763
  productId: Scalars['ID'];
@@ -1887,20 +1930,6 @@ export declare type AppleAppIdentifierInput = {
1887
1930
  appleTeamId?: Maybe<Scalars['ID']>;
1888
1931
  parentAppleAppId?: Maybe<Scalars['ID']>;
1889
1932
  };
1890
- export declare type AppleAppSpecificPasswordMutation = {
1891
- __typename?: 'AppleAppSpecificPasswordMutation';
1892
- /** Create an App Specific Password for an Apple User Account */
1893
- createAppleAppSpecificPassword: AppleAppSpecificPassword;
1894
- };
1895
- export declare type AppleAppSpecificPasswordMutationCreateAppleAppSpecificPasswordArgs = {
1896
- appleAppSpecificPasswordInput: AppleAppSpecificPasswordInput;
1897
- accountId: Scalars['ID'];
1898
- };
1899
- export declare type AppleAppSpecificPasswordInput = {
1900
- appleIdUsername: Scalars['String'];
1901
- passwordLabel?: Maybe<Scalars['String']>;
1902
- appSpecificPassword: Scalars['String'];
1903
- };
1904
1933
  export declare type AppleDeviceMutation = {
1905
1934
  __typename?: 'AppleDeviceMutation';
1906
1935
  /** Create an Apple Device */
@@ -2032,6 +2061,32 @@ export declare type AppleTeamInput = {
2032
2061
  appleTeamIdentifier: Scalars['String'];
2033
2062
  appleTeamName?: Maybe<Scalars['String']>;
2034
2063
  };
2064
+ export declare type AppStoreConnectApiKeyMutation = {
2065
+ __typename?: 'AppStoreConnectApiKeyMutation';
2066
+ /** Create an App Store Connect Api Key for an Apple Team */
2067
+ createAppStoreConnectApiKey: AppStoreConnectApiKey;
2068
+ /** Delete an App Store Connect Api Key */
2069
+ deleteAppStoreConnectApiKey: DeleteAppStoreConnectApiKeyResult;
2070
+ };
2071
+ export declare type AppStoreConnectApiKeyMutationCreateAppStoreConnectApiKeyArgs = {
2072
+ appStoreConnectApiKeyInput: AppStoreConnectApiKeyInput;
2073
+ accountId: Scalars['ID'];
2074
+ };
2075
+ export declare type AppStoreConnectApiKeyMutationDeleteAppStoreConnectApiKeyArgs = {
2076
+ id: Scalars['ID'];
2077
+ };
2078
+ export declare type AppStoreConnectApiKeyInput = {
2079
+ issuerIdentifier: Scalars['String'];
2080
+ keyIdentifier: Scalars['String'];
2081
+ keyP8: Scalars['String'];
2082
+ name?: Maybe<Scalars['String']>;
2083
+ roles?: Maybe<Array<AppStoreConnectUserRole>>;
2084
+ appleTeamId?: Maybe<Scalars['ID']>;
2085
+ };
2086
+ export declare type DeleteAppStoreConnectApiKeyResult = {
2087
+ __typename?: 'deleteAppStoreConnectApiKeyResult';
2088
+ id: Scalars['ID'];
2089
+ };
2035
2090
  export declare type AppMutation = {
2036
2091
  __typename?: 'AppMutation';
2037
2092
  /** Create an unpublished app */
@@ -2116,6 +2171,7 @@ export declare type AndroidJobInput = {
2116
2171
  projectRootDirectory: Scalars['String'];
2117
2172
  releaseChannel?: Maybe<Scalars['String']>;
2118
2173
  updates?: Maybe<BuildUpdatesInput>;
2174
+ developmentClient?: Maybe<Scalars['Boolean']>;
2119
2175
  secrets?: Maybe<AndroidJobSecretsInput>;
2120
2176
  builderEnvironment?: Maybe<AndroidBuilderEnvironmentInput>;
2121
2177
  cache?: Maybe<BuildCacheInput>;
@@ -2171,6 +2227,7 @@ export declare type BuildCacheInput = {
2171
2227
  export declare enum AndroidBuildType {
2172
2228
  Apk = "APK",
2173
2229
  AppBundle = "APP_BUNDLE",
2230
+ /** @deprecated Use developmentClient option instead. */
2174
2231
  DevelopmentClient = "DEVELOPMENT_CLIENT"
2175
2232
  }
2176
2233
  export declare type BuildMetadataInput = {
@@ -2190,6 +2247,7 @@ export declare type BuildMetadataInput = {
2190
2247
  appIdentifier?: Maybe<Scalars['String']>;
2191
2248
  buildProfile?: Maybe<Scalars['String']>;
2192
2249
  gitCommitHash?: Maybe<Scalars['String']>;
2250
+ isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
2193
2251
  username?: Maybe<Scalars['String']>;
2194
2252
  };
2195
2253
  export declare enum BuildCredentialsSource {
@@ -2216,13 +2274,17 @@ export declare type IosJobInput = {
2216
2274
  projectRootDirectory: Scalars['String'];
2217
2275
  releaseChannel?: Maybe<Scalars['String']>;
2218
2276
  updates?: Maybe<BuildUpdatesInput>;
2277
+ /** @deprecated */
2219
2278
  distribution?: Maybe<DistributionType>;
2279
+ simulator?: Maybe<Scalars['Boolean']>;
2280
+ developmentClient?: Maybe<Scalars['Boolean']>;
2220
2281
  secrets?: Maybe<IosJobSecretsInput>;
2221
2282
  builderEnvironment?: Maybe<IosBuilderEnvironmentInput>;
2222
2283
  cache?: Maybe<BuildCacheInput>;
2223
2284
  scheme?: Maybe<Scalars['String']>;
2224
2285
  buildConfiguration?: Maybe<Scalars['String']>;
2225
2286
  artifactPath?: Maybe<Scalars['String']>;
2287
+ /** @deprecated */
2226
2288
  buildType?: Maybe<IosBuildType>;
2227
2289
  username?: Maybe<Scalars['String']>;
2228
2290
  };
@@ -2249,6 +2311,7 @@ export declare type IosBuilderEnvironmentInput = {
2249
2311
  expoCli?: Maybe<Scalars['String']>;
2250
2312
  env?: Maybe<Scalars['JSONObject']>;
2251
2313
  };
2314
+ /** @deprecated Use developmentClient option instead. */
2252
2315
  export declare enum IosBuildType {
2253
2316
  Release = "RELEASE",
2254
2317
  DevelopmentClient = "DEVELOPMENT_CLIENT"
@@ -2285,8 +2348,8 @@ export declare type IosAppCredentialsMutation = {
2285
2348
  createIosAppCredentials: IosAppCredentials;
2286
2349
  /** Set the push key to be used in an iOS app */
2287
2350
  setPushKey: IosAppCredentials;
2288
- /** Set the app-specific password to be used for an iOS app */
2289
- setAppSpecificPassword: IosAppCredentials;
2351
+ /** Set the App Store Connect Api Key to be used for submitting an iOS app */
2352
+ setAppStoreConnectApiKeyForSubmissions: IosAppCredentials;
2290
2353
  };
2291
2354
  export declare type IosAppCredentialsMutationCreateIosAppCredentialsArgs = {
2292
2355
  iosAppCredentialsInput: IosAppCredentialsInput;
@@ -2297,14 +2360,14 @@ export declare type IosAppCredentialsMutationSetPushKeyArgs = {
2297
2360
  id: Scalars['ID'];
2298
2361
  pushKeyId: Scalars['ID'];
2299
2362
  };
2300
- export declare type IosAppCredentialsMutationSetAppSpecificPasswordArgs = {
2363
+ export declare type IosAppCredentialsMutationSetAppStoreConnectApiKeyForSubmissionsArgs = {
2301
2364
  id: Scalars['ID'];
2302
- appSpecificPasswordId: Scalars['ID'];
2365
+ ascApiKeyId: Scalars['ID'];
2303
2366
  };
2304
2367
  export declare type IosAppCredentialsInput = {
2305
2368
  appleTeamId?: Maybe<Scalars['ID']>;
2306
2369
  pushKeyId?: Maybe<Scalars['ID']>;
2307
- appSpecificPasswordId?: Maybe<Scalars['ID']>;
2370
+ appStoreConnectApiKeyForSubmissionsId?: Maybe<Scalars['ID']>;
2308
2371
  };
2309
2372
  export declare type RobotMutation = {
2310
2373
  __typename?: 'RobotMutation';
@@ -2337,6 +2400,7 @@ export declare type Robot = Actor & {
2337
2400
  firstName?: Maybe<Scalars['String']>;
2338
2401
  created: Scalars['DateTime'];
2339
2402
  isExpoAdmin: Scalars['Boolean'];
2403
+ displayName: Scalars['String'];
2340
2404
  /** Associated accounts */
2341
2405
  accounts: Array<Account>;
2342
2406
  /** Access Tokens belonging to this actor */
@@ -2393,11 +2457,11 @@ export declare type CreateIosSubmissionInput = {
2393
2457
  submittedBuildId?: Maybe<Scalars['ID']>;
2394
2458
  };
2395
2459
  export declare type IosSubmissionConfigInput = {
2396
- appleAppSpecificPasswordId?: Maybe<Scalars['String']>;
2397
2460
  appleAppSpecificPassword?: Maybe<Scalars['String']>;
2398
2461
  ascApiKey?: Maybe<AscApiKeyInput>;
2462
+ ascApiKeyId?: Maybe<Scalars['String']>;
2399
2463
  archiveUrl?: Maybe<Scalars['String']>;
2400
- appleIdUsername: Scalars['String'];
2464
+ appleIdUsername?: Maybe<Scalars['String']>;
2401
2465
  ascAppIdentifier: Scalars['String'];
2402
2466
  };
2403
2467
  export declare type AscApiKeyInput = {
@@ -2842,6 +2906,7 @@ export declare enum IosSchemeBuildConfiguration {
2842
2906
  Release = "RELEASE",
2843
2907
  Debug = "DEBUG"
2844
2908
  }
2909
+ /** @deprecated Use developmentClient option instead. */
2845
2910
  export declare enum IosManagedBuildType {
2846
2911
  Release = "RELEASE",
2847
2912
  DevelopmentClient = "DEVELOPMENT_CLIENT"
@@ -3351,6 +3416,35 @@ export declare type GoogleServiceAccountKeyByAccountQuery = ({
3351
3416
  });
3352
3417
  });
3353
3418
  });
3419
+ export declare type CreateAppStoreConnectApiKeyMutationVariables = Exact<{
3420
+ appStoreConnectApiKeyInput: AppStoreConnectApiKeyInput;
3421
+ accountId: Scalars['ID'];
3422
+ }>;
3423
+ export declare type CreateAppStoreConnectApiKeyMutation = ({
3424
+ __typename?: 'RootMutation';
3425
+ } & {
3426
+ appStoreConnectApiKey: ({
3427
+ __typename?: 'AppStoreConnectApiKeyMutation';
3428
+ } & {
3429
+ createAppStoreConnectApiKey: ({
3430
+ __typename?: 'AppStoreConnectApiKey';
3431
+ } & Pick<AppStoreConnectApiKey, 'id'> & AppStoreConnectApiKeyFragment);
3432
+ });
3433
+ });
3434
+ export declare type DeleteAppStoreConnectApiKeyMutationVariables = Exact<{
3435
+ appStoreConnectApiKeyId: Scalars['ID'];
3436
+ }>;
3437
+ export declare type DeleteAppStoreConnectApiKeyMutation = ({
3438
+ __typename?: 'RootMutation';
3439
+ } & {
3440
+ appStoreConnectApiKey: ({
3441
+ __typename?: 'AppStoreConnectApiKeyMutation';
3442
+ } & {
3443
+ deleteAppStoreConnectApiKey: ({
3444
+ __typename?: 'deleteAppStoreConnectApiKeyResult';
3445
+ } & Pick<DeleteAppStoreConnectApiKeyResult, 'id'>);
3446
+ });
3447
+ });
3354
3448
  export declare type CreateAppleAppIdentifierMutationVariables = Exact<{
3355
3449
  appleAppIdentifierInput: AppleAppIdentifierInput;
3356
3450
  accountId: Scalars['ID'];
@@ -3606,6 +3700,21 @@ export declare type SetPushKeyMutation = ({
3606
3700
  } & Pick<IosAppCredentials, 'id'> & CommonIosAppCredentialsFragment);
3607
3701
  });
3608
3702
  });
3703
+ export declare type SetAppStoreConnectApiKeyForSubmissionsMutationVariables = Exact<{
3704
+ iosAppCredentialsId: Scalars['ID'];
3705
+ ascApiKeyId: Scalars['ID'];
3706
+ }>;
3707
+ export declare type SetAppStoreConnectApiKeyForSubmissionsMutation = ({
3708
+ __typename?: 'RootMutation';
3709
+ } & {
3710
+ iosAppCredentials: ({
3711
+ __typename?: 'IosAppCredentialsMutation';
3712
+ } & {
3713
+ setAppStoreConnectApiKeyForSubmissions: ({
3714
+ __typename?: 'IosAppCredentials';
3715
+ } & Pick<IosAppCredentials, 'id'> & CommonIosAppCredentialsFragment);
3716
+ });
3717
+ });
3609
3718
  export declare type AppByFullNameQueryVariables = Exact<{
3610
3719
  fullName: Scalars['String'];
3611
3720
  }>;
@@ -3620,6 +3729,24 @@ export declare type AppByFullNameQuery = ({
3620
3729
  } & Pick<App, 'id'> & AppFragment);
3621
3730
  })>;
3622
3731
  });
3732
+ export declare type AppStoreConnectApiKeyByAccountQueryVariables = Exact<{
3733
+ accountName: Scalars['String'];
3734
+ }>;
3735
+ export declare type AppStoreConnectApiKeyByAccountQuery = ({
3736
+ __typename?: 'RootQuery';
3737
+ } & {
3738
+ account: ({
3739
+ __typename?: 'AccountQuery';
3740
+ } & {
3741
+ byName: ({
3742
+ __typename?: 'Account';
3743
+ } & Pick<Account, 'id'> & {
3744
+ appStoreConnectApiKeys: Array<({
3745
+ __typename?: 'AppStoreConnectApiKey';
3746
+ } & Pick<AppStoreConnectApiKey, 'id'> & AppStoreConnectApiKeyFragment)>;
3747
+ });
3748
+ });
3749
+ });
3623
3750
  export declare type AppleAppIdentifierByBundleIdQueryVariables = Exact<{
3624
3751
  accountName: Scalars['String'];
3625
3752
  bundleIdentifier: Scalars['String'];
@@ -4345,9 +4472,9 @@ export declare type BuildFragment = ({
4345
4472
  } & Pick<BuildArtifacts, 'buildUrl' | 'xcodeBuildLogsUrl'>)>;
4346
4473
  initiatingActor?: Maybe<({
4347
4474
  __typename: 'User';
4348
- } & Pick<User, 'username' | 'id'>) | ({
4475
+ } & Pick<User, 'id' | 'displayName'>) | ({
4349
4476
  __typename: 'Robot';
4350
- } & Pick<Robot, 'firstName' | 'id'>)>;
4477
+ } & Pick<Robot, 'id' | 'displayName'>)>;
4351
4478
  project: ({
4352
4479
  __typename: 'Snack';
4353
4480
  } & Pick<Snack, 'id' | 'name'>) | ({
@@ -4432,6 +4559,13 @@ export declare type AndroidFcmFragment = ({
4432
4559
  export declare type AndroidKeystoreFragment = ({
4433
4560
  __typename?: 'AndroidKeystore';
4434
4561
  } & Pick<AndroidKeystore, 'id' | 'type' | 'keystore' | 'keystorePassword' | 'keyAlias' | 'keyPassword' | 'md5CertificateFingerprint' | 'sha1CertificateFingerprint' | 'sha256CertificateFingerprint' | 'createdAt' | 'updatedAt'>);
4562
+ export declare type AppStoreConnectApiKeyFragment = ({
4563
+ __typename?: 'AppStoreConnectApiKey';
4564
+ } & Pick<AppStoreConnectApiKey, 'id' | 'issuerIdentifier' | 'keyIdentifier' | 'name' | 'roles' | 'createdAt' | 'updatedAt'> & {
4565
+ appleTeam?: Maybe<({
4566
+ __typename?: 'AppleTeam';
4567
+ } & Pick<AppleTeam, 'id'> & AppleTeamFragment)>;
4568
+ });
4435
4569
  export declare type AppleAppIdentifierFragment = ({
4436
4570
  __typename?: 'AppleAppIdentifier';
4437
4571
  } & Pick<AppleAppIdentifier, 'id' | 'bundleIdentifier'>);
@@ -4526,6 +4660,9 @@ export declare type CommonIosAppCredentialsWithoutBuildCredentialsFragment = ({
4526
4660
  pushKey?: Maybe<({
4527
4661
  __typename?: 'ApplePushKey';
4528
4662
  } & Pick<ApplePushKey, 'id'> & ApplePushKeyFragment)>;
4663
+ appStoreConnectApiKeyForSubmissions?: Maybe<({
4664
+ __typename?: 'AppStoreConnectApiKey';
4665
+ } & Pick<AppStoreConnectApiKey, 'id'> & AppStoreConnectApiKeyFragment)>;
4529
4666
  });
4530
4667
  export declare type CommonIosAppCredentialsFragment = ({
4531
4668
  __typename?: 'IosAppCredentials';
@@ -6,7 +6,7 @@
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.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.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 */
@@ -143,6 +143,25 @@ var IosDistributionType;
143
143
  IosDistributionType["AdHoc"] = "AD_HOC";
144
144
  IosDistributionType["Development"] = "DEVELOPMENT";
145
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 = {}));
146
165
  var AndroidFcmVersion;
147
166
  (function (AndroidFcmVersion) {
148
167
  AndroidFcmVersion["Legacy"] = "LEGACY";
@@ -196,6 +215,7 @@ var AndroidBuildType;
196
215
  (function (AndroidBuildType) {
197
216
  AndroidBuildType["Apk"] = "APK";
198
217
  AndroidBuildType["AppBundle"] = "APP_BUNDLE";
218
+ /** @deprecated Use developmentClient option instead. */
199
219
  AndroidBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
200
220
  })(AndroidBuildType = exports.AndroidBuildType || (exports.AndroidBuildType = {}));
201
221
  var BuildCredentialsSource;
@@ -208,6 +228,7 @@ var EasBuildDeprecationInfoType;
208
228
  EasBuildDeprecationInfoType["UserFacing"] = "USER_FACING";
209
229
  EasBuildDeprecationInfoType["Internal"] = "INTERNAL";
210
230
  })(EasBuildDeprecationInfoType = exports.EasBuildDeprecationInfoType || (exports.EasBuildDeprecationInfoType = {}));
231
+ /** @deprecated Use developmentClient option instead. */
211
232
  var IosBuildType;
212
233
  (function (IosBuildType) {
213
234
  IosBuildType["Release"] = "RELEASE";
@@ -243,6 +264,7 @@ var IosSchemeBuildConfiguration;
243
264
  IosSchemeBuildConfiguration["Release"] = "RELEASE";
244
265
  IosSchemeBuildConfiguration["Debug"] = "DEBUG";
245
266
  })(IosSchemeBuildConfiguration = exports.IosSchemeBuildConfiguration || (exports.IosSchemeBuildConfiguration = {}));
267
+ /** @deprecated Use developmentClient option instead. */
246
268
  var IosManagedBuildType;
247
269
  (function (IosManagedBuildType) {
248
270
  IosManagedBuildType["Release"] = "RELEASE";
@@ -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
  },
@@ -25,7 +25,10 @@ exports.UserQuery = {
25
25
  isExpoAdmin
26
26
  }
27
27
  }
28
- `)
28
+ `,
29
+ /* variables */ undefined, {
30
+ additionalTypenames: ['User'],
31
+ })
29
32
  .toPromise());
30
33
  return data.meActor;
31
34
  },
@@ -23,7 +23,9 @@ exports.WebhookQuery = {
23
23
  }
24
24
  }
25
25
  ${(0, graphql_1.print)(Webhook_1.WebhookFragmentNode)}
26
- `, { appId, webhookFilter })
26
+ `, { appId, webhookFilter }, {
27
+ additionalTypenames: ['Webhook'],
28
+ })
27
29
  .toPromise());
28
30
  return (_b = (_a = data.app) === null || _a === void 0 ? void 0 : _a.byId.webhooks) !== null && _b !== void 0 ? _b : [];
29
31
  },
@@ -39,7 +41,9 @@ exports.WebhookQuery = {
39
41
  }
40
42
  }
41
43
  ${(0, graphql_1.print)(Webhook_1.WebhookFragmentNode)}
42
- `, { webhookId })
44
+ `, { webhookId }, {
45
+ additionalTypenames: ['Webhook'],
46
+ })
43
47
  .toPromise());
44
48
  return data.webhook.byId;
45
49
  },
@@ -20,12 +20,7 @@ exports.BuildFragmentNode = (0, graphql_tag_1.default) `
20
20
  initiatingActor {
21
21
  __typename
22
22
  id
23
- ... on User {
24
- username
25
- }
26
- ... on Robot {
27
- firstName
28
- }
23
+ displayName
29
24
  }
30
25
  project {
31
26
  __typename
@@ -0,0 +1 @@
1
+ export declare const AppStoreConnectApiKeyFragmentNode: import("graphql").DocumentNode;