eas-cli 0.32.0 → 0.34.1

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 (110) 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 +16 -21
  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 +15 -8
  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/credentialsJson/update.js +5 -4
  38. package/build/credentials/ios/IosCredentialsProvider.js +1 -1
  39. package/build/credentials/ios/actions/CreateDistributionCertificate.js +1 -1
  40. package/build/credentials/ios/actions/CreatePushKey.js +1 -1
  41. package/build/credentials/ios/actions/DistributionCertificateUtils.d.ts +1 -1
  42. package/build/credentials/ios/actions/DistributionCertificateUtils.js +5 -7
  43. package/build/credentials/ios/actions/PushKeyUtils.d.ts +1 -1
  44. package/build/credentials/ios/actions/PushKeyUtils.js +5 -5
  45. package/build/credentials/ios/actions/SetupTargetBuildCredentials.js +1 -1
  46. package/build/credentials/ios/api/graphql/queries/AppQuery.js +3 -1
  47. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +6 -2
  48. package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +7 -1
  49. package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.js +5 -1
  50. package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +2 -0
  51. package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +5 -1
  52. package/build/credentials/ios/utils/printCredentials.js +30 -1
  53. package/build/credentials/manager/Actions.d.ts +47 -0
  54. package/build/credentials/manager/Actions.js +48 -0
  55. package/build/credentials/manager/AndroidActions.d.ts +6 -0
  56. package/build/credentials/manager/AndroidActions.js +114 -0
  57. package/build/credentials/manager/IosActions.d.ts +6 -0
  58. package/build/credentials/manager/IosActions.js +110 -0
  59. package/build/credentials/manager/ManageAndroid.d.ts +1 -29
  60. package/build/credentials/manager/ManageAndroid.js +26 -159
  61. package/build/credentials/manager/ManageIos.d.ts +1 -29
  62. package/build/credentials/manager/ManageIos.js +28 -155
  63. package/build/graphql/client.d.ts +8 -2
  64. package/build/graphql/generated.d.ts +131 -143
  65. package/build/graphql/generated.js +44 -28
  66. package/build/graphql/queries/BuildQuery.js +4 -1
  67. package/build/graphql/queries/EnvironmentSecretsQuery.js +4 -2
  68. package/build/graphql/queries/ProjectQuery.js +3 -1
  69. package/build/graphql/queries/PublishQuery.js +4 -1
  70. package/build/graphql/queries/SubmissionQuery.js +5 -2
  71. package/build/graphql/queries/UserQuery.js +4 -1
  72. package/build/graphql/queries/WebhookQuery.js +6 -2
  73. package/build/graphql/types/credentials/AppStoreConnectApiKey.d.ts +1 -0
  74. package/build/graphql/types/credentials/AppStoreConnectApiKey.js +23 -0
  75. package/build/graphql/types/credentials/IosAppCredentials.js +6 -0
  76. package/build/log.d.ts +0 -2
  77. package/build/log.js +2 -12
  78. package/build/project/android/applicationId.d.ts +1 -1
  79. package/build/project/android/applicationId.js +7 -6
  80. package/build/project/ios/bundleIdentifier.d.ts +1 -1
  81. package/build/project/ios/bundleIdentifier.js +7 -6
  82. package/build/project/projectUtils.js +1 -1
  83. package/build/project/publish.js +2 -2
  84. package/build/project/workflow.js +2 -2
  85. package/build/submit/ArchiveSource.js +4 -4
  86. package/build/submit/ios/IosSubmitCommand.js +4 -0
  87. package/build/submit/ios/IosSubmitter.js +1 -1
  88. package/build/user/User.js +1 -0
  89. package/build/utils/easCli.d.ts +1 -0
  90. package/build/utils/easCli.js +5 -0
  91. package/build/utils/{expoCommand.d.ts → expoCli.d.ts} +0 -0
  92. package/build/utils/{expoCommand.js → expoCli.js} +0 -0
  93. package/build/utils/profiles.d.ts +11 -0
  94. package/build/utils/profiles.js +46 -0
  95. package/build/vcs/clients/git.d.ts +26 -0
  96. package/build/vcs/clients/git.js +184 -0
  97. package/build/vcs/clients/gitNoCommit.d.ts +7 -0
  98. package/build/vcs/clients/gitNoCommit.js +27 -0
  99. package/build/vcs/clients/noVcs.d.ts +6 -0
  100. package/build/vcs/clients/noVcs.js +19 -0
  101. package/build/vcs/git.d.ts +10 -17
  102. package/build/vcs/git.js +7 -175
  103. package/build/vcs/index.d.ts +2 -2
  104. package/build/vcs/index.js +15 -6
  105. package/build/vcs/local.d.ts +18 -5
  106. package/build/vcs/local.js +61 -32
  107. package/build/vcs/vcs.d.ts +2 -1
  108. package/build/vcs/vcs.js +8 -4
  109. package/oclif.manifest.json +1 -1
  110. package/package.json +9 -9
@@ -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 */
@@ -2089,22 +2144,8 @@ export declare type BuildMutation = {
2089
2144
  * @deprecated Use cancelBuild instead
2090
2145
  */
2091
2146
  cancel: Build;
2092
- /**
2093
- * Create an Android generic build
2094
- * @deprecated Use createAndroidBuild instead
2095
- */
2096
- createAndroidGenericBuild: CreateBuildResult;
2097
- /**
2098
- * Create an Android managed build
2099
- * @deprecated Use createAndroidBuild instead
2100
- */
2101
- createAndroidManagedBuild: CreateBuildResult;
2102
2147
  /** Create an Android build */
2103
2148
  createAndroidBuild: CreateBuildResult;
2104
- /** Create an iOS generic build */
2105
- createIosGenericBuild: CreateBuildResult;
2106
- /** Create an iOS managed build */
2107
- createIosManagedBuild: CreateBuildResult;
2108
2149
  /** Create an iOS build */
2109
2150
  createIosBuild: CreateBuildResult;
2110
2151
  };
@@ -2114,47 +2155,35 @@ export declare type BuildMutationCancelBuildArgs = {
2114
2155
  export declare type BuildMutationDeleteBuildArgs = {
2115
2156
  buildId: Scalars['ID'];
2116
2157
  };
2117
- export declare type BuildMutationCreateAndroidGenericBuildArgs = {
2118
- appId: Scalars['ID'];
2119
- job: AndroidGenericJobInput;
2120
- metadata?: Maybe<BuildMetadataInput>;
2121
- };
2122
- export declare type BuildMutationCreateAndroidManagedBuildArgs = {
2123
- appId: Scalars['ID'];
2124
- job: AndroidManagedJobInput;
2125
- metadata?: Maybe<BuildMetadataInput>;
2126
- };
2127
2158
  export declare type BuildMutationCreateAndroidBuildArgs = {
2128
2159
  appId: Scalars['ID'];
2129
2160
  job: AndroidJobInput;
2130
2161
  metadata?: Maybe<BuildMetadataInput>;
2131
2162
  };
2132
- export declare type BuildMutationCreateIosGenericBuildArgs = {
2133
- appId: Scalars['ID'];
2134
- job: IosGenericJobInput;
2135
- metadata?: Maybe<BuildMetadataInput>;
2136
- };
2137
- export declare type BuildMutationCreateIosManagedBuildArgs = {
2138
- appId: Scalars['ID'];
2139
- job: IosManagedJobInput;
2140
- metadata?: Maybe<BuildMetadataInput>;
2141
- };
2142
2163
  export declare type BuildMutationCreateIosBuildArgs = {
2143
2164
  appId: Scalars['ID'];
2144
2165
  job: IosJobInput;
2145
2166
  metadata?: Maybe<BuildMetadataInput>;
2146
2167
  };
2147
- export declare type AndroidGenericJobInput = {
2168
+ export declare type AndroidJobInput = {
2169
+ type: BuildWorkflow;
2148
2170
  projectArchive: ProjectArchiveSourceInput;
2149
2171
  projectRootDirectory: Scalars['String'];
2150
2172
  releaseChannel?: Maybe<Scalars['String']>;
2151
2173
  updates?: Maybe<BuildUpdatesInput>;
2174
+ developmentClient?: Maybe<Scalars['Boolean']>;
2152
2175
  secrets?: Maybe<AndroidJobSecretsInput>;
2153
2176
  builderEnvironment?: Maybe<AndroidBuilderEnvironmentInput>;
2154
2177
  cache?: Maybe<BuildCacheInput>;
2155
2178
  gradleCommand?: Maybe<Scalars['String']>;
2156
2179
  artifactPath?: Maybe<Scalars['String']>;
2180
+ buildType?: Maybe<AndroidBuildType>;
2181
+ username?: Maybe<Scalars['String']>;
2157
2182
  };
2183
+ export declare enum BuildWorkflow {
2184
+ Generic = "GENERIC",
2185
+ Managed = "MANAGED"
2186
+ }
2158
2187
  export declare type ProjectArchiveSourceInput = {
2159
2188
  type: ProjectArchiveSourceType;
2160
2189
  bucketKey?: Maybe<Scalars['String']>;
@@ -2195,6 +2224,12 @@ export declare type BuildCacheInput = {
2195
2224
  cacheDefaultPaths?: Maybe<Scalars['Boolean']>;
2196
2225
  customPaths?: Maybe<Array<Maybe<Scalars['String']>>>;
2197
2226
  };
2227
+ export declare enum AndroidBuildType {
2228
+ Apk = "APK",
2229
+ AppBundle = "APP_BUNDLE",
2230
+ /** @deprecated Use developmentClient option instead. */
2231
+ DevelopmentClient = "DEVELOPMENT_CLIENT"
2232
+ }
2198
2233
  export declare type BuildMetadataInput = {
2199
2234
  trackingContext?: Maybe<Scalars['JSONObject']>;
2200
2235
  appVersion?: Maybe<Scalars['String']>;
@@ -2212,12 +2247,9 @@ export declare type BuildMetadataInput = {
2212
2247
  appIdentifier?: Maybe<Scalars['String']>;
2213
2248
  buildProfile?: Maybe<Scalars['String']>;
2214
2249
  gitCommitHash?: Maybe<Scalars['String']>;
2250
+ isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
2215
2251
  username?: Maybe<Scalars['String']>;
2216
2252
  };
2217
- export declare enum BuildWorkflow {
2218
- Generic = "GENERIC",
2219
- Managed = "MANAGED"
2220
- }
2221
2253
  export declare enum BuildCredentialsSource {
2222
2254
  Local = "LOCAL",
2223
2255
  Remote = "REMOTE"
@@ -2236,54 +2268,25 @@ export declare enum EasBuildDeprecationInfoType {
2236
2268
  UserFacing = "USER_FACING",
2237
2269
  Internal = "INTERNAL"
2238
2270
  }
2239
- export declare type AndroidManagedJobInput = {
2240
- projectArchive: ProjectArchiveSourceInput;
2241
- projectRootDirectory: Scalars['String'];
2242
- releaseChannel?: Maybe<Scalars['String']>;
2243
- updates?: Maybe<BuildUpdatesInput>;
2244
- secrets?: Maybe<AndroidJobSecretsInput>;
2245
- builderEnvironment?: Maybe<AndroidBuilderEnvironmentInput>;
2246
- cache?: Maybe<BuildCacheInput>;
2247
- buildType?: Maybe<AndroidManagedBuildType>;
2248
- username?: Maybe<Scalars['String']>;
2249
- };
2250
- export declare enum AndroidManagedBuildType {
2251
- Apk = "APK",
2252
- AppBundle = "APP_BUNDLE",
2253
- DevelopmentClient = "DEVELOPMENT_CLIENT"
2254
- }
2255
- export declare type AndroidJobInput = {
2271
+ export declare type IosJobInput = {
2256
2272
  type: BuildWorkflow;
2257
2273
  projectArchive: ProjectArchiveSourceInput;
2258
2274
  projectRootDirectory: Scalars['String'];
2259
2275
  releaseChannel?: Maybe<Scalars['String']>;
2260
2276
  updates?: Maybe<BuildUpdatesInput>;
2261
- secrets?: Maybe<AndroidJobSecretsInput>;
2262
- builderEnvironment?: Maybe<AndroidBuilderEnvironmentInput>;
2263
- cache?: Maybe<BuildCacheInput>;
2264
- gradleCommand?: Maybe<Scalars['String']>;
2265
- artifactPath?: Maybe<Scalars['String']>;
2266
- buildType?: Maybe<AndroidBuildType>;
2267
- username?: Maybe<Scalars['String']>;
2268
- };
2269
- export declare enum AndroidBuildType {
2270
- Apk = "APK",
2271
- AppBundle = "APP_BUNDLE",
2272
- DevelopmentClient = "DEVELOPMENT_CLIENT"
2273
- }
2274
- export declare type IosGenericJobInput = {
2275
- projectArchive: ProjectArchiveSourceInput;
2276
- projectRootDirectory: Scalars['String'];
2277
- releaseChannel?: Maybe<Scalars['String']>;
2278
- updates?: Maybe<BuildUpdatesInput>;
2277
+ /** @deprecated */
2279
2278
  distribution?: Maybe<DistributionType>;
2279
+ simulator?: Maybe<Scalars['Boolean']>;
2280
+ developmentClient?: Maybe<Scalars['Boolean']>;
2280
2281
  secrets?: Maybe<IosJobSecretsInput>;
2281
2282
  builderEnvironment?: Maybe<IosBuilderEnvironmentInput>;
2282
2283
  cache?: Maybe<BuildCacheInput>;
2283
- scheme: Scalars['String'];
2284
- schemeBuildConfiguration?: Maybe<IosSchemeBuildConfiguration>;
2284
+ scheme?: Maybe<Scalars['String']>;
2285
2285
  buildConfiguration?: Maybe<Scalars['String']>;
2286
2286
  artifactPath?: Maybe<Scalars['String']>;
2287
+ /** @deprecated */
2288
+ buildType?: Maybe<IosBuildType>;
2289
+ username?: Maybe<Scalars['String']>;
2287
2290
  };
2288
2291
  export declare type IosJobSecretsInput = {
2289
2292
  buildCredentials?: Maybe<Array<Maybe<IosJobTargetCredentialsInput>>>;
@@ -2308,42 +2311,7 @@ export declare type IosBuilderEnvironmentInput = {
2308
2311
  expoCli?: Maybe<Scalars['String']>;
2309
2312
  env?: Maybe<Scalars['JSONObject']>;
2310
2313
  };
2311
- export declare enum IosSchemeBuildConfiguration {
2312
- Release = "RELEASE",
2313
- Debug = "DEBUG"
2314
- }
2315
- export declare type IosManagedJobInput = {
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
- buildType?: Maybe<IosManagedBuildType>;
2325
- username?: Maybe<Scalars['String']>;
2326
- };
2327
- export declare enum IosManagedBuildType {
2328
- Release = "RELEASE",
2329
- DevelopmentClient = "DEVELOPMENT_CLIENT"
2330
- }
2331
- export declare type IosJobInput = {
2332
- type: BuildWorkflow;
2333
- projectArchive: ProjectArchiveSourceInput;
2334
- projectRootDirectory: Scalars['String'];
2335
- releaseChannel?: Maybe<Scalars['String']>;
2336
- updates?: Maybe<BuildUpdatesInput>;
2337
- distribution?: Maybe<DistributionType>;
2338
- secrets?: Maybe<IosJobSecretsInput>;
2339
- builderEnvironment?: Maybe<IosBuilderEnvironmentInput>;
2340
- cache?: Maybe<BuildCacheInput>;
2341
- scheme?: Maybe<Scalars['String']>;
2342
- buildConfiguration?: Maybe<Scalars['String']>;
2343
- artifactPath?: Maybe<Scalars['String']>;
2344
- buildType?: Maybe<IosBuildType>;
2345
- username?: Maybe<Scalars['String']>;
2346
- };
2314
+ /** @deprecated Use developmentClient option instead. */
2347
2315
  export declare enum IosBuildType {
2348
2316
  Release = "RELEASE",
2349
2317
  DevelopmentClient = "DEVELOPMENT_CLIENT"
@@ -2380,8 +2348,8 @@ export declare type IosAppCredentialsMutation = {
2380
2348
  createIosAppCredentials: IosAppCredentials;
2381
2349
  /** Set the push key to be used in an iOS app */
2382
2350
  setPushKey: IosAppCredentials;
2383
- /** Set the app-specific password to be used for an iOS app */
2384
- setAppSpecificPassword: IosAppCredentials;
2351
+ /** Set the App Store Connect Api Key to be used for submitting an iOS app */
2352
+ setAppStoreConnectApiKeyForSubmissions: IosAppCredentials;
2385
2353
  };
2386
2354
  export declare type IosAppCredentialsMutationCreateIosAppCredentialsArgs = {
2387
2355
  iosAppCredentialsInput: IosAppCredentialsInput;
@@ -2392,14 +2360,14 @@ export declare type IosAppCredentialsMutationSetPushKeyArgs = {
2392
2360
  id: Scalars['ID'];
2393
2361
  pushKeyId: Scalars['ID'];
2394
2362
  };
2395
- export declare type IosAppCredentialsMutationSetAppSpecificPasswordArgs = {
2363
+ export declare type IosAppCredentialsMutationSetAppStoreConnectApiKeyForSubmissionsArgs = {
2396
2364
  id: Scalars['ID'];
2397
- appSpecificPasswordId: Scalars['ID'];
2365
+ ascApiKeyId: Scalars['ID'];
2398
2366
  };
2399
2367
  export declare type IosAppCredentialsInput = {
2400
2368
  appleTeamId?: Maybe<Scalars['ID']>;
2401
2369
  pushKeyId?: Maybe<Scalars['ID']>;
2402
- appSpecificPasswordId?: Maybe<Scalars['ID']>;
2370
+ appStoreConnectApiKeyForSubmissionsId?: Maybe<Scalars['ID']>;
2403
2371
  };
2404
2372
  export declare type RobotMutation = {
2405
2373
  __typename?: 'RobotMutation';
@@ -2432,6 +2400,7 @@ export declare type Robot = Actor & {
2432
2400
  firstName?: Maybe<Scalars['String']>;
2433
2401
  created: Scalars['DateTime'];
2434
2402
  isExpoAdmin: Scalars['Boolean'];
2403
+ displayName: Scalars['String'];
2435
2404
  /** Associated accounts */
2436
2405
  accounts: Array<Account>;
2437
2406
  /** Access Tokens belonging to this actor */
@@ -2488,11 +2457,11 @@ export declare type CreateIosSubmissionInput = {
2488
2457
  submittedBuildId?: Maybe<Scalars['ID']>;
2489
2458
  };
2490
2459
  export declare type IosSubmissionConfigInput = {
2491
- appleAppSpecificPasswordId?: Maybe<Scalars['String']>;
2492
2460
  appleAppSpecificPassword?: Maybe<Scalars['String']>;
2493
2461
  ascApiKey?: Maybe<AscApiKeyInput>;
2462
+ ascApiKeyId?: Maybe<Scalars['String']>;
2494
2463
  archiveUrl?: Maybe<Scalars['String']>;
2495
- appleIdUsername: Scalars['String'];
2464
+ appleIdUsername?: Maybe<Scalars['String']>;
2496
2465
  ascAppIdentifier: Scalars['String'];
2497
2466
  };
2498
2467
  export declare type AscApiKeyInput = {
@@ -2933,6 +2902,15 @@ export declare enum StandardOffer {
2933
2902
  /** $800 USD per month */
2934
2903
  Support = "SUPPORT"
2935
2904
  }
2905
+ export declare enum IosSchemeBuildConfiguration {
2906
+ Release = "RELEASE",
2907
+ Debug = "DEBUG"
2908
+ }
2909
+ /** @deprecated Use developmentClient option instead. */
2910
+ export declare enum IosManagedBuildType {
2911
+ Release = "RELEASE",
2912
+ DevelopmentClient = "DEVELOPMENT_CLIENT"
2913
+ }
2936
2914
  export declare enum CacheControlScope {
2937
2915
  Public = "PUBLIC",
2938
2916
  Private = "PRIVATE"
@@ -4519,6 +4497,13 @@ export declare type AndroidFcmFragment = ({
4519
4497
  export declare type AndroidKeystoreFragment = ({
4520
4498
  __typename?: 'AndroidKeystore';
4521
4499
  } & Pick<AndroidKeystore, 'id' | 'type' | 'keystore' | 'keystorePassword' | 'keyAlias' | 'keyPassword' | 'md5CertificateFingerprint' | 'sha1CertificateFingerprint' | 'sha256CertificateFingerprint' | 'createdAt' | 'updatedAt'>);
4500
+ export declare type AppStoreConnectApiKeyFragment = ({
4501
+ __typename?: 'AppStoreConnectApiKey';
4502
+ } & Pick<AppStoreConnectApiKey, 'id' | 'issuerIdentifier' | 'keyIdentifier' | 'name' | 'roles' | 'createdAt' | 'updatedAt'> & {
4503
+ appleTeam?: Maybe<({
4504
+ __typename?: 'AppleTeam';
4505
+ } & Pick<AppleTeam, 'id'> & AppleTeamFragment)>;
4506
+ });
4522
4507
  export declare type AppleAppIdentifierFragment = ({
4523
4508
  __typename?: 'AppleAppIdentifier';
4524
4509
  } & Pick<AppleAppIdentifier, 'id' | 'bundleIdentifier'>);
@@ -4613,6 +4598,9 @@ export declare type CommonIosAppCredentialsWithoutBuildCredentialsFragment = ({
4613
4598
  pushKey?: Maybe<({
4614
4599
  __typename?: 'ApplePushKey';
4615
4600
  } & Pick<ApplePushKey, 'id'> & ApplePushKeyFragment)>;
4601
+ appStoreConnectApiKeyForSubmissions?: Maybe<({
4602
+ __typename?: 'AppStoreConnectApiKey';
4603
+ } & Pick<AppStoreConnectApiKey, 'id'> & AppStoreConnectApiKeyFragment)>;
4616
4604
  });
4617
4605
  export declare type CommonIosAppCredentialsFragment = ({
4618
4606
  __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.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 */
@@ -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";
@@ -182,16 +201,23 @@ var Order;
182
201
  Order["Desc"] = "DESC";
183
202
  Order["Asc"] = "ASC";
184
203
  })(Order = exports.Order || (exports.Order = {}));
185
- var ProjectArchiveSourceType;
186
- (function (ProjectArchiveSourceType) {
187
- ProjectArchiveSourceType["S3"] = "S3";
188
- ProjectArchiveSourceType["Url"] = "URL";
189
- })(ProjectArchiveSourceType = exports.ProjectArchiveSourceType || (exports.ProjectArchiveSourceType = {}));
190
204
  var BuildWorkflow;
191
205
  (function (BuildWorkflow) {
192
206
  BuildWorkflow["Generic"] = "GENERIC";
193
207
  BuildWorkflow["Managed"] = "MANAGED";
194
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 = {}));
195
221
  var BuildCredentialsSource;
196
222
  (function (BuildCredentialsSource) {
197
223
  BuildCredentialsSource["Local"] = "LOCAL";
@@ -202,28 +228,7 @@ var EasBuildDeprecationInfoType;
202
228
  EasBuildDeprecationInfoType["UserFacing"] = "USER_FACING";
203
229
  EasBuildDeprecationInfoType["Internal"] = "INTERNAL";
204
230
  })(EasBuildDeprecationInfoType = exports.EasBuildDeprecationInfoType || (exports.EasBuildDeprecationInfoType = {}));
205
- var AndroidManagedBuildType;
206
- (function (AndroidManagedBuildType) {
207
- AndroidManagedBuildType["Apk"] = "APK";
208
- AndroidManagedBuildType["AppBundle"] = "APP_BUNDLE";
209
- AndroidManagedBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
210
- })(AndroidManagedBuildType = exports.AndroidManagedBuildType || (exports.AndroidManagedBuildType = {}));
211
- var AndroidBuildType;
212
- (function (AndroidBuildType) {
213
- AndroidBuildType["Apk"] = "APK";
214
- AndroidBuildType["AppBundle"] = "APP_BUNDLE";
215
- AndroidBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
216
- })(AndroidBuildType = exports.AndroidBuildType || (exports.AndroidBuildType = {}));
217
- var IosSchemeBuildConfiguration;
218
- (function (IosSchemeBuildConfiguration) {
219
- IosSchemeBuildConfiguration["Release"] = "RELEASE";
220
- IosSchemeBuildConfiguration["Debug"] = "DEBUG";
221
- })(IosSchemeBuildConfiguration = exports.IosSchemeBuildConfiguration || (exports.IosSchemeBuildConfiguration = {}));
222
- var IosManagedBuildType;
223
- (function (IosManagedBuildType) {
224
- IosManagedBuildType["Release"] = "RELEASE";
225
- IosManagedBuildType["DevelopmentClient"] = "DEVELOPMENT_CLIENT";
226
- })(IosManagedBuildType = exports.IosManagedBuildType || (exports.IosManagedBuildType = {}));
231
+ /** @deprecated Use developmentClient option instead. */
227
232
  var IosBuildType;
228
233
  (function (IosBuildType) {
229
234
  IosBuildType["Release"] = "RELEASE";
@@ -254,6 +259,17 @@ var StandardOffer;
254
259
  /** $800 USD per month */
255
260
  StandardOffer["Support"] = "SUPPORT";
256
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 = {}));
257
273
  var CacheControlScope;
258
274
  (function (CacheControlScope) {
259
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
  },