eas-cli 3.11.0 → 3.12.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.
- package/README.md +80 -58
- package/build/build/context.d.ts +2 -0
- package/build/build/createContext.d.ts +3 -1
- package/build/build/createContext.js +2 -1
- package/build/build/metadata.js +2 -1
- package/build/build/runBuildAndSubmit.js +10 -3
- package/build/commandUtils/EasCommand.d.ts +2 -3
- package/build/commands/build/version/get.d.ts +16 -0
- package/build/commands/build/version/get.js +105 -0
- package/build/commands/build/version/set.js +2 -2
- package/build/commands/build/version/sync.js +2 -2
- package/build/graphql/generated.d.ts +76 -48
- package/build/graphql/generated.js +10 -2
- package/build/graphql/types/Build.js +1 -0
- package/build/platform.js +1 -1
- package/build/project/customBuildConfig.d.ts +4 -1
- package/build/project/customBuildConfig.js +7 -2
- package/build/project/remoteVersionSource.d.ts +3 -1
- package/build/project/remoteVersionSource.js +4 -1
- package/build/submit/ArchiveSource.js +12 -0
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
|
@@ -404,6 +404,7 @@ export type AccountSsoConfiguration = {
|
|
|
404
404
|
clientIdentifier: Scalars['String'];
|
|
405
405
|
clientSecret: Scalars['String'];
|
|
406
406
|
createdAt: Scalars['DateTime'];
|
|
407
|
+
endSessionEndpoint?: Maybe<Scalars['String']>;
|
|
407
408
|
id: Scalars['ID'];
|
|
408
409
|
issuer: Scalars['String'];
|
|
409
410
|
jwksEndpoint?: Maybe<Scalars['String']>;
|
|
@@ -418,6 +419,7 @@ export type AccountSsoConfigurationData = {
|
|
|
418
419
|
authProviderIdentifier: Scalars['String'];
|
|
419
420
|
clientIdentifier: Scalars['String'];
|
|
420
421
|
clientSecret: Scalars['String'];
|
|
422
|
+
endSessionEndpoint?: InputMaybe<Scalars['String']>;
|
|
421
423
|
issuer: Scalars['String'];
|
|
422
424
|
jwksEndpoint?: InputMaybe<Scalars['String']>;
|
|
423
425
|
revokeEndpoint?: InputMaybe<Scalars['String']>;
|
|
@@ -451,6 +453,7 @@ export type AccountSsoConfigurationPublicData = {
|
|
|
451
453
|
authProtocol: AuthProtocolType;
|
|
452
454
|
authProviderIdentifier: Scalars['String'];
|
|
453
455
|
clientIdentifier: Scalars['String'];
|
|
456
|
+
endSessionEndpoint?: Maybe<Scalars['String']>;
|
|
454
457
|
id: Scalars['ID'];
|
|
455
458
|
issuer: Scalars['String'];
|
|
456
459
|
jwksEndpoint?: Maybe<Scalars['String']>;
|
|
@@ -1654,6 +1657,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
|
|
|
1654
1657
|
childBuild?: Maybe<Build>;
|
|
1655
1658
|
completedAt?: Maybe<Scalars['DateTime']>;
|
|
1656
1659
|
createdAt: Scalars['DateTime'];
|
|
1660
|
+
customWorkflowName?: Maybe<Scalars['String']>;
|
|
1657
1661
|
distribution?: Maybe<DistributionType>;
|
|
1658
1662
|
enqueuedAt?: Maybe<Scalars['DateTime']>;
|
|
1659
1663
|
error?: Maybe<BuildError>;
|
|
@@ -1674,7 +1678,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
|
|
|
1674
1678
|
logFiles: Array<Scalars['String']>;
|
|
1675
1679
|
maxBuildTimeSeconds: Scalars['Int'];
|
|
1676
1680
|
/** Retry time starts after completedAt */
|
|
1677
|
-
maxRetryTimeMinutes
|
|
1681
|
+
maxRetryTimeMinutes?: Maybe<Scalars['Int']>;
|
|
1678
1682
|
message?: Maybe<Scalars['String']>;
|
|
1679
1683
|
metrics?: Maybe<BuildMetrics>;
|
|
1680
1684
|
parentBuild?: Maybe<Build>;
|
|
@@ -1694,6 +1698,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
|
|
|
1694
1698
|
resourceClass: BuildResourceClass;
|
|
1695
1699
|
/** String describing the resource class used to run the build */
|
|
1696
1700
|
resourceClassDisplayName: Scalars['String'];
|
|
1701
|
+
retryDisabledReason?: Maybe<BuildRetryDisabledReason>;
|
|
1697
1702
|
runFromCI?: Maybe<Scalars['Boolean']>;
|
|
1698
1703
|
runtimeVersion?: Maybe<Scalars['String']>;
|
|
1699
1704
|
sdkVersion?: Maybe<Scalars['String']>;
|
|
@@ -1706,6 +1711,10 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
|
|
|
1706
1711
|
export type BuildCanRetryArgs = {
|
|
1707
1712
|
newMode?: InputMaybe<BuildMode>;
|
|
1708
1713
|
};
|
|
1714
|
+
/** Represents an EAS Build */
|
|
1715
|
+
export type BuildRetryDisabledReasonArgs = {
|
|
1716
|
+
newMode?: InputMaybe<BuildMode>;
|
|
1717
|
+
};
|
|
1709
1718
|
export type BuildArtifact = {
|
|
1710
1719
|
__typename?: 'BuildArtifact';
|
|
1711
1720
|
manifestPlistUrl?: Maybe<Scalars['String']>;
|
|
@@ -1829,6 +1838,7 @@ export type BuildMetadataInput = {
|
|
|
1829
1838
|
channel?: InputMaybe<Scalars['String']>;
|
|
1830
1839
|
cliVersion?: InputMaybe<Scalars['String']>;
|
|
1831
1840
|
credentialsSource?: InputMaybe<BuildCredentialsSource>;
|
|
1841
|
+
customWorkflowName?: InputMaybe<Scalars['String']>;
|
|
1832
1842
|
distribution?: InputMaybe<DistributionType>;
|
|
1833
1843
|
gitCommitHash?: InputMaybe<Scalars['String']>;
|
|
1834
1844
|
gitCommitMessage?: InputMaybe<Scalars['String']>;
|
|
@@ -2008,6 +2018,13 @@ export declare enum BuildResourceClass {
|
|
|
2008
2018
|
IosMMedium = "IOS_M_MEDIUM",
|
|
2009
2019
|
Legacy = "LEGACY"
|
|
2010
2020
|
}
|
|
2021
|
+
export declare enum BuildRetryDisabledReason {
|
|
2022
|
+
AlreadyRetried = "ALREADY_RETRIED",
|
|
2023
|
+
InvalidStatus = "INVALID_STATUS",
|
|
2024
|
+
IsGithubBuild = "IS_GITHUB_BUILD",
|
|
2025
|
+
NotCompletedYet = "NOT_COMPLETED_YET",
|
|
2026
|
+
TooMuchTimeElapsed = "TOO_MUCH_TIME_ELAPSED"
|
|
2027
|
+
}
|
|
2011
2028
|
export declare enum BuildStatus {
|
|
2012
2029
|
Canceled = "CANCELED",
|
|
2013
2030
|
Errored = "ERRORED",
|
|
@@ -2208,6 +2225,8 @@ export type Deployment = {
|
|
|
2208
2225
|
builds: DeploymentBuildsConnection;
|
|
2209
2226
|
channel: UpdateChannel;
|
|
2210
2227
|
id: Scalars['ID'];
|
|
2228
|
+
/** @deprecated Not required for the new Deployment UI */
|
|
2229
|
+
latestUpdate?: Maybe<Update>;
|
|
2211
2230
|
runtime: Runtime;
|
|
2212
2231
|
};
|
|
2213
2232
|
/** Represents a Deployment - a set of Builds with the same Runtime Version and Channel */
|
|
@@ -4340,7 +4359,7 @@ export type UserPermission = {
|
|
|
4340
4359
|
__typename?: 'UserPermission';
|
|
4341
4360
|
actor: Actor;
|
|
4342
4361
|
permissions: Array<Permission>;
|
|
4343
|
-
role
|
|
4362
|
+
role: Role;
|
|
4344
4363
|
/** @deprecated User type is deprecated */
|
|
4345
4364
|
user?: Maybe<User>;
|
|
4346
4365
|
userActor?: Maybe<UserActor>;
|
|
@@ -4670,7 +4689,7 @@ export type CreateAndroidAppCredentialsMutation = {
|
|
|
4670
4689
|
name: string;
|
|
4671
4690
|
users: Array<{
|
|
4672
4691
|
__typename?: 'UserPermission';
|
|
4673
|
-
role
|
|
4692
|
+
role: Role;
|
|
4674
4693
|
actor: {
|
|
4675
4694
|
__typename?: 'Robot';
|
|
4676
4695
|
id: string;
|
|
@@ -4761,7 +4780,7 @@ export type SetFcmMutation = {
|
|
|
4761
4780
|
name: string;
|
|
4762
4781
|
users: Array<{
|
|
4763
4782
|
__typename?: 'UserPermission';
|
|
4764
|
-
role
|
|
4783
|
+
role: Role;
|
|
4765
4784
|
actor: {
|
|
4766
4785
|
__typename?: 'Robot';
|
|
4767
4786
|
id: string;
|
|
@@ -4852,7 +4871,7 @@ export type SetGoogleServiceAccountKeyForSubmissionsMutation = {
|
|
|
4852
4871
|
name: string;
|
|
4853
4872
|
users: Array<{
|
|
4854
4873
|
__typename?: 'UserPermission';
|
|
4855
|
-
role
|
|
4874
|
+
role: Role;
|
|
4856
4875
|
actor: {
|
|
4857
4876
|
__typename?: 'Robot';
|
|
4858
4877
|
id: string;
|
|
@@ -5059,7 +5078,7 @@ export type CommonAndroidAppCredentialsWithBuildCredentialsByApplicationIdentifi
|
|
|
5059
5078
|
name: string;
|
|
5060
5079
|
users: Array<{
|
|
5061
5080
|
__typename?: 'UserPermission';
|
|
5062
|
-
role
|
|
5081
|
+
role: Role;
|
|
5063
5082
|
actor: {
|
|
5064
5083
|
__typename?: 'Robot';
|
|
5065
5084
|
id: string;
|
|
@@ -5308,7 +5327,7 @@ export type CreateAppleDistributionCertificateMutation = {
|
|
|
5308
5327
|
name: string;
|
|
5309
5328
|
users: Array<{
|
|
5310
5329
|
__typename?: 'UserPermission';
|
|
5311
|
-
role
|
|
5330
|
+
role: Role;
|
|
5312
5331
|
actor: {
|
|
5313
5332
|
__typename?: 'Robot';
|
|
5314
5333
|
id: string;
|
|
@@ -5463,7 +5482,7 @@ export type CreateApplePushKeyMutation = {
|
|
|
5463
5482
|
name: string;
|
|
5464
5483
|
users: Array<{
|
|
5465
5484
|
__typename?: 'UserPermission';
|
|
5466
|
-
role
|
|
5485
|
+
role: Role;
|
|
5467
5486
|
actor: {
|
|
5468
5487
|
__typename?: 'Robot';
|
|
5469
5488
|
id: string;
|
|
@@ -5518,7 +5537,7 @@ export type CreateAppleTeamMutation = {
|
|
|
5518
5537
|
name: string;
|
|
5519
5538
|
users: Array<{
|
|
5520
5539
|
__typename?: 'UserPermission';
|
|
5521
|
-
role
|
|
5540
|
+
role: Role;
|
|
5522
5541
|
actor: {
|
|
5523
5542
|
__typename?: 'Robot';
|
|
5524
5543
|
id: string;
|
|
@@ -5579,7 +5598,7 @@ export type CreateIosAppBuildCredentialsMutation = {
|
|
|
5579
5598
|
name: string;
|
|
5580
5599
|
users: Array<{
|
|
5581
5600
|
__typename?: 'UserPermission';
|
|
5582
|
-
role
|
|
5601
|
+
role: Role;
|
|
5583
5602
|
actor: {
|
|
5584
5603
|
__typename?: 'Robot';
|
|
5585
5604
|
id: string;
|
|
@@ -5677,7 +5696,7 @@ export type SetDistributionCertificateMutation = {
|
|
|
5677
5696
|
name: string;
|
|
5678
5697
|
users: Array<{
|
|
5679
5698
|
__typename?: 'UserPermission';
|
|
5680
|
-
role
|
|
5699
|
+
role: Role;
|
|
5681
5700
|
actor: {
|
|
5682
5701
|
__typename?: 'Robot';
|
|
5683
5702
|
id: string;
|
|
@@ -5775,7 +5794,7 @@ export type SetProvisioningProfileMutation = {
|
|
|
5775
5794
|
name: string;
|
|
5776
5795
|
users: Array<{
|
|
5777
5796
|
__typename?: 'UserPermission';
|
|
5778
|
-
role
|
|
5797
|
+
role: Role;
|
|
5779
5798
|
actor: {
|
|
5780
5799
|
__typename?: 'Robot';
|
|
5781
5800
|
id: string;
|
|
@@ -5877,7 +5896,7 @@ export type CreateIosAppCredentialsMutation = {
|
|
|
5877
5896
|
name: string;
|
|
5878
5897
|
users: Array<{
|
|
5879
5898
|
__typename?: 'UserPermission';
|
|
5880
|
-
role
|
|
5899
|
+
role: Role;
|
|
5881
5900
|
actor: {
|
|
5882
5901
|
__typename?: 'Robot';
|
|
5883
5902
|
id: string;
|
|
@@ -5939,7 +5958,7 @@ export type CreateIosAppCredentialsMutation = {
|
|
|
5939
5958
|
name: string;
|
|
5940
5959
|
users: Array<{
|
|
5941
5960
|
__typename?: 'UserPermission';
|
|
5942
|
-
role
|
|
5961
|
+
role: Role;
|
|
5943
5962
|
actor: {
|
|
5944
5963
|
__typename?: 'Robot';
|
|
5945
5964
|
id: string;
|
|
@@ -5989,7 +6008,7 @@ export type CreateIosAppCredentialsMutation = {
|
|
|
5989
6008
|
name: string;
|
|
5990
6009
|
users: Array<{
|
|
5991
6010
|
__typename?: 'UserPermission';
|
|
5992
|
-
role
|
|
6011
|
+
role: Role;
|
|
5993
6012
|
actor: {
|
|
5994
6013
|
__typename?: 'Robot';
|
|
5995
6014
|
id: string;
|
|
@@ -6077,7 +6096,7 @@ export type SetPushKeyMutation = {
|
|
|
6077
6096
|
name: string;
|
|
6078
6097
|
users: Array<{
|
|
6079
6098
|
__typename?: 'UserPermission';
|
|
6080
|
-
role
|
|
6099
|
+
role: Role;
|
|
6081
6100
|
actor: {
|
|
6082
6101
|
__typename?: 'Robot';
|
|
6083
6102
|
id: string;
|
|
@@ -6139,7 +6158,7 @@ export type SetPushKeyMutation = {
|
|
|
6139
6158
|
name: string;
|
|
6140
6159
|
users: Array<{
|
|
6141
6160
|
__typename?: 'UserPermission';
|
|
6142
|
-
role
|
|
6161
|
+
role: Role;
|
|
6143
6162
|
actor: {
|
|
6144
6163
|
__typename?: 'Robot';
|
|
6145
6164
|
id: string;
|
|
@@ -6189,7 +6208,7 @@ export type SetPushKeyMutation = {
|
|
|
6189
6208
|
name: string;
|
|
6190
6209
|
users: Array<{
|
|
6191
6210
|
__typename?: 'UserPermission';
|
|
6192
|
-
role
|
|
6211
|
+
role: Role;
|
|
6193
6212
|
actor: {
|
|
6194
6213
|
__typename?: 'Robot';
|
|
6195
6214
|
id: string;
|
|
@@ -6277,7 +6296,7 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
|
|
|
6277
6296
|
name: string;
|
|
6278
6297
|
users: Array<{
|
|
6279
6298
|
__typename?: 'UserPermission';
|
|
6280
|
-
role
|
|
6299
|
+
role: Role;
|
|
6281
6300
|
actor: {
|
|
6282
6301
|
__typename?: 'Robot';
|
|
6283
6302
|
id: string;
|
|
@@ -6339,7 +6358,7 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
|
|
|
6339
6358
|
name: string;
|
|
6340
6359
|
users: Array<{
|
|
6341
6360
|
__typename?: 'UserPermission';
|
|
6342
|
-
role
|
|
6361
|
+
role: Role;
|
|
6343
6362
|
actor: {
|
|
6344
6363
|
__typename?: 'Robot';
|
|
6345
6364
|
id: string;
|
|
@@ -6389,7 +6408,7 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
|
|
|
6389
6408
|
name: string;
|
|
6390
6409
|
users: Array<{
|
|
6391
6410
|
__typename?: 'UserPermission';
|
|
6392
|
-
role
|
|
6411
|
+
role: Role;
|
|
6393
6412
|
actor: {
|
|
6394
6413
|
__typename?: 'Robot';
|
|
6395
6414
|
id: string;
|
|
@@ -6618,7 +6637,7 @@ export type AppleDistributionCertificateByAppQuery = {
|
|
|
6618
6637
|
name: string;
|
|
6619
6638
|
users: Array<{
|
|
6620
6639
|
__typename?: 'UserPermission';
|
|
6621
|
-
role
|
|
6640
|
+
role: Role;
|
|
6622
6641
|
actor: {
|
|
6623
6642
|
__typename?: 'Robot';
|
|
6624
6643
|
id: string;
|
|
@@ -6693,7 +6712,7 @@ export type AppleDistributionCertificateByAccountQuery = {
|
|
|
6693
6712
|
name: string;
|
|
6694
6713
|
users: Array<{
|
|
6695
6714
|
__typename?: 'UserPermission';
|
|
6696
|
-
role
|
|
6715
|
+
role: Role;
|
|
6697
6716
|
actor: {
|
|
6698
6717
|
__typename?: 'Robot';
|
|
6699
6718
|
id: string;
|
|
@@ -6809,7 +6828,7 @@ export type ApplePushKeyByAccountQuery = {
|
|
|
6809
6828
|
name: string;
|
|
6810
6829
|
users: Array<{
|
|
6811
6830
|
__typename?: 'UserPermission';
|
|
6812
|
-
role
|
|
6831
|
+
role: Role;
|
|
6813
6832
|
actor: {
|
|
6814
6833
|
__typename?: 'Robot';
|
|
6815
6834
|
id: string;
|
|
@@ -6922,7 +6941,7 @@ export type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuery = {
|
|
|
6922
6941
|
name: string;
|
|
6923
6942
|
users: Array<{
|
|
6924
6943
|
__typename?: 'UserPermission';
|
|
6925
|
-
role
|
|
6944
|
+
role: Role;
|
|
6926
6945
|
actor: {
|
|
6927
6946
|
__typename?: 'Robot';
|
|
6928
6947
|
id: string;
|
|
@@ -7029,7 +7048,7 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
|
|
|
7029
7048
|
name: string;
|
|
7030
7049
|
users: Array<{
|
|
7031
7050
|
__typename?: 'UserPermission';
|
|
7032
|
-
role
|
|
7051
|
+
role: Role;
|
|
7033
7052
|
actor: {
|
|
7034
7053
|
__typename?: 'Robot';
|
|
7035
7054
|
id: string;
|
|
@@ -7091,7 +7110,7 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
|
|
|
7091
7110
|
name: string;
|
|
7092
7111
|
users: Array<{
|
|
7093
7112
|
__typename?: 'UserPermission';
|
|
7094
|
-
role
|
|
7113
|
+
role: Role;
|
|
7095
7114
|
actor: {
|
|
7096
7115
|
__typename?: 'Robot';
|
|
7097
7116
|
id: string;
|
|
@@ -7141,7 +7160,7 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
|
|
|
7141
7160
|
name: string;
|
|
7142
7161
|
users: Array<{
|
|
7143
7162
|
__typename?: 'UserPermission';
|
|
7144
|
-
role
|
|
7163
|
+
role: Role;
|
|
7145
7164
|
actor: {
|
|
7146
7165
|
__typename?: 'Robot';
|
|
7147
7166
|
id: string;
|
|
@@ -7233,7 +7252,7 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
|
|
|
7233
7252
|
name: string;
|
|
7234
7253
|
users: Array<{
|
|
7235
7254
|
__typename?: 'UserPermission';
|
|
7236
|
-
role
|
|
7255
|
+
role: Role;
|
|
7237
7256
|
actor: {
|
|
7238
7257
|
__typename?: 'Robot';
|
|
7239
7258
|
id: string;
|
|
@@ -7295,7 +7314,7 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
|
|
|
7295
7314
|
name: string;
|
|
7296
7315
|
users: Array<{
|
|
7297
7316
|
__typename?: 'UserPermission';
|
|
7298
|
-
role
|
|
7317
|
+
role: Role;
|
|
7299
7318
|
actor: {
|
|
7300
7319
|
__typename?: 'Robot';
|
|
7301
7320
|
id: string;
|
|
@@ -7345,7 +7364,7 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
|
|
|
7345
7364
|
name: string;
|
|
7346
7365
|
users: Array<{
|
|
7347
7366
|
__typename?: 'UserPermission';
|
|
7348
|
-
role
|
|
7367
|
+
role: Role;
|
|
7349
7368
|
actor: {
|
|
7350
7369
|
__typename?: 'Robot';
|
|
7351
7370
|
id: string;
|
|
@@ -7449,6 +7468,7 @@ export type CreateAndroidBuildMutation = {
|
|
|
7449
7468
|
message?: string | null;
|
|
7450
7469
|
completedAt?: any | null;
|
|
7451
7470
|
resourceClass: BuildResourceClass;
|
|
7471
|
+
expirationDate?: any | null;
|
|
7452
7472
|
error?: {
|
|
7453
7473
|
__typename?: 'BuildError';
|
|
7454
7474
|
errorCode: string;
|
|
@@ -7536,6 +7556,7 @@ export type CreateIosBuildMutation = {
|
|
|
7536
7556
|
message?: string | null;
|
|
7537
7557
|
completedAt?: any | null;
|
|
7538
7558
|
resourceClass: BuildResourceClass;
|
|
7559
|
+
expirationDate?: any | null;
|
|
7539
7560
|
error?: {
|
|
7540
7561
|
__typename?: 'BuildError';
|
|
7541
7562
|
errorCode: string;
|
|
@@ -7619,6 +7640,7 @@ export type UpdateBuildMetadataMutation = {
|
|
|
7619
7640
|
message?: string | null;
|
|
7620
7641
|
completedAt?: any | null;
|
|
7621
7642
|
resourceClass: BuildResourceClass;
|
|
7643
|
+
expirationDate?: any | null;
|
|
7622
7644
|
error?: {
|
|
7623
7645
|
__typename?: 'BuildError';
|
|
7624
7646
|
errorCode: string;
|
|
@@ -7696,6 +7718,7 @@ export type RetryIosBuildMutation = {
|
|
|
7696
7718
|
message?: string | null;
|
|
7697
7719
|
completedAt?: any | null;
|
|
7698
7720
|
resourceClass: BuildResourceClass;
|
|
7721
|
+
expirationDate?: any | null;
|
|
7699
7722
|
error?: {
|
|
7700
7723
|
__typename?: 'BuildError';
|
|
7701
7724
|
errorCode: string;
|
|
@@ -8056,7 +8079,7 @@ export type AppByIdQuery = {
|
|
|
8056
8079
|
name: string;
|
|
8057
8080
|
users: Array<{
|
|
8058
8081
|
__typename?: 'UserPermission';
|
|
8059
|
-
role
|
|
8082
|
+
role: Role;
|
|
8060
8083
|
actor: {
|
|
8061
8084
|
__typename?: 'Robot';
|
|
8062
8085
|
id: string;
|
|
@@ -8090,7 +8113,7 @@ export type AppByFullNameQuery = {
|
|
|
8090
8113
|
name: string;
|
|
8091
8114
|
users: Array<{
|
|
8092
8115
|
__typename?: 'UserPermission';
|
|
8093
|
-
role
|
|
8116
|
+
role: Role;
|
|
8094
8117
|
actor: {
|
|
8095
8118
|
__typename?: 'Robot';
|
|
8096
8119
|
id: string;
|
|
@@ -8295,6 +8318,7 @@ export type BuildsByIdQuery = {
|
|
|
8295
8318
|
message?: string | null;
|
|
8296
8319
|
completedAt?: any | null;
|
|
8297
8320
|
resourceClass: BuildResourceClass;
|
|
8321
|
+
expirationDate?: any | null;
|
|
8298
8322
|
error?: {
|
|
8299
8323
|
__typename?: 'BuildError';
|
|
8300
8324
|
errorCode: string;
|
|
@@ -8371,6 +8395,7 @@ export type BuildsWithSubmissionsByIdQuery = {
|
|
|
8371
8395
|
message?: string | null;
|
|
8372
8396
|
completedAt?: any | null;
|
|
8373
8397
|
resourceClass: BuildResourceClass;
|
|
8398
|
+
expirationDate?: any | null;
|
|
8374
8399
|
submissions: Array<{
|
|
8375
8400
|
__typename?: 'Submission';
|
|
8376
8401
|
id: string;
|
|
@@ -8487,6 +8512,7 @@ export type ViewBuildsOnAppQuery = {
|
|
|
8487
8512
|
message?: string | null;
|
|
8488
8513
|
completedAt?: any | null;
|
|
8489
8514
|
resourceClass: BuildResourceClass;
|
|
8515
|
+
expirationDate?: any | null;
|
|
8490
8516
|
error?: {
|
|
8491
8517
|
__typename?: 'BuildError';
|
|
8492
8518
|
errorCode: string;
|
|
@@ -9000,7 +9026,7 @@ export type CurrentUserQuery = {
|
|
|
9000
9026
|
name: string;
|
|
9001
9027
|
users: Array<{
|
|
9002
9028
|
__typename?: 'UserPermission';
|
|
9003
|
-
role
|
|
9029
|
+
role: Role;
|
|
9004
9030
|
actor: {
|
|
9005
9031
|
__typename?: 'Robot';
|
|
9006
9032
|
id: string;
|
|
@@ -9025,7 +9051,7 @@ export type CurrentUserQuery = {
|
|
|
9025
9051
|
name: string;
|
|
9026
9052
|
users: Array<{
|
|
9027
9053
|
__typename?: 'UserPermission';
|
|
9028
|
-
role
|
|
9054
|
+
role: Role;
|
|
9029
9055
|
actor: {
|
|
9030
9056
|
__typename?: 'Robot';
|
|
9031
9057
|
id: string;
|
|
@@ -9050,7 +9076,7 @@ export type CurrentUserQuery = {
|
|
|
9050
9076
|
name: string;
|
|
9051
9077
|
users: Array<{
|
|
9052
9078
|
__typename?: 'UserPermission';
|
|
9053
|
-
role
|
|
9079
|
+
role: Role;
|
|
9054
9080
|
actor: {
|
|
9055
9081
|
__typename?: 'Robot';
|
|
9056
9082
|
id: string;
|
|
@@ -9069,7 +9095,7 @@ export type CurrentUserQuery = {
|
|
|
9069
9095
|
name: string;
|
|
9070
9096
|
users: Array<{
|
|
9071
9097
|
__typename?: 'UserPermission';
|
|
9072
|
-
role
|
|
9098
|
+
role: Role;
|
|
9073
9099
|
actor: {
|
|
9074
9100
|
__typename?: 'Robot';
|
|
9075
9101
|
id: string;
|
|
@@ -9129,7 +9155,7 @@ export type AccountFragment = {
|
|
|
9129
9155
|
name: string;
|
|
9130
9156
|
users: Array<{
|
|
9131
9157
|
__typename?: 'UserPermission';
|
|
9132
|
-
role
|
|
9158
|
+
role: Role;
|
|
9133
9159
|
actor: {
|
|
9134
9160
|
__typename?: 'Robot';
|
|
9135
9161
|
id: string;
|
|
@@ -9153,7 +9179,7 @@ export type AppFragment = {
|
|
|
9153
9179
|
name: string;
|
|
9154
9180
|
users: Array<{
|
|
9155
9181
|
__typename?: 'UserPermission';
|
|
9156
|
-
role
|
|
9182
|
+
role: Role;
|
|
9157
9183
|
actor: {
|
|
9158
9184
|
__typename?: 'Robot';
|
|
9159
9185
|
id: string;
|
|
@@ -9192,6 +9218,7 @@ export type BuildFragment = {
|
|
|
9192
9218
|
message?: string | null;
|
|
9193
9219
|
completedAt?: any | null;
|
|
9194
9220
|
resourceClass: BuildResourceClass;
|
|
9221
|
+
expirationDate?: any | null;
|
|
9195
9222
|
error?: {
|
|
9196
9223
|
__typename?: 'BuildError';
|
|
9197
9224
|
errorCode: string;
|
|
@@ -9259,6 +9286,7 @@ export type BuildWithSubmissionsFragment = {
|
|
|
9259
9286
|
message?: string | null;
|
|
9260
9287
|
completedAt?: any | null;
|
|
9261
9288
|
resourceClass: BuildResourceClass;
|
|
9289
|
+
expirationDate?: any | null;
|
|
9262
9290
|
submissions: Array<{
|
|
9263
9291
|
__typename?: 'Submission';
|
|
9264
9292
|
id: string;
|
|
@@ -9512,7 +9540,7 @@ export type CommonAndroidAppCredentialsFragment = {
|
|
|
9512
9540
|
name: string;
|
|
9513
9541
|
users: Array<{
|
|
9514
9542
|
__typename?: 'UserPermission';
|
|
9515
|
-
role
|
|
9543
|
+
role: Role;
|
|
9516
9544
|
actor: {
|
|
9517
9545
|
__typename?: 'Robot';
|
|
9518
9546
|
id: string;
|
|
@@ -9676,7 +9704,7 @@ export type AppleDistributionCertificateFragment = {
|
|
|
9676
9704
|
name: string;
|
|
9677
9705
|
users: Array<{
|
|
9678
9706
|
__typename?: 'UserPermission';
|
|
9679
|
-
role
|
|
9707
|
+
role: Role;
|
|
9680
9708
|
actor: {
|
|
9681
9709
|
__typename?: 'Robot';
|
|
9682
9710
|
id: string;
|
|
@@ -9756,7 +9784,7 @@ export type ApplePushKeyFragment = {
|
|
|
9756
9784
|
name: string;
|
|
9757
9785
|
users: Array<{
|
|
9758
9786
|
__typename?: 'UserPermission';
|
|
9759
|
-
role
|
|
9787
|
+
role: Role;
|
|
9760
9788
|
actor: {
|
|
9761
9789
|
__typename?: 'Robot';
|
|
9762
9790
|
id: string;
|
|
@@ -9830,7 +9858,7 @@ export type IosAppBuildCredentialsFragment = {
|
|
|
9830
9858
|
name: string;
|
|
9831
9859
|
users: Array<{
|
|
9832
9860
|
__typename?: 'UserPermission';
|
|
9833
|
-
role
|
|
9861
|
+
role: Role;
|
|
9834
9862
|
actor: {
|
|
9835
9863
|
__typename?: 'Robot';
|
|
9836
9864
|
id: string;
|
|
@@ -9895,7 +9923,7 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
|
|
|
9895
9923
|
name: string;
|
|
9896
9924
|
users: Array<{
|
|
9897
9925
|
__typename?: 'UserPermission';
|
|
9898
|
-
role
|
|
9926
|
+
role: Role;
|
|
9899
9927
|
actor: {
|
|
9900
9928
|
__typename?: 'Robot';
|
|
9901
9929
|
id: string;
|
|
@@ -9945,7 +9973,7 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
|
|
|
9945
9973
|
name: string;
|
|
9946
9974
|
users: Array<{
|
|
9947
9975
|
__typename?: 'UserPermission';
|
|
9948
|
-
role
|
|
9976
|
+
role: Role;
|
|
9949
9977
|
actor: {
|
|
9950
9978
|
__typename?: 'Robot';
|
|
9951
9979
|
id: string;
|
|
@@ -10023,7 +10051,7 @@ export type CommonIosAppCredentialsFragment = {
|
|
|
10023
10051
|
name: string;
|
|
10024
10052
|
users: Array<{
|
|
10025
10053
|
__typename?: 'UserPermission';
|
|
10026
|
-
role
|
|
10054
|
+
role: Role;
|
|
10027
10055
|
actor: {
|
|
10028
10056
|
__typename?: 'Robot';
|
|
10029
10057
|
id: string;
|
|
@@ -10085,7 +10113,7 @@ export type CommonIosAppCredentialsFragment = {
|
|
|
10085
10113
|
name: string;
|
|
10086
10114
|
users: Array<{
|
|
10087
10115
|
__typename?: 'UserPermission';
|
|
10088
|
-
role
|
|
10116
|
+
role: Role;
|
|
10089
10117
|
actor: {
|
|
10090
10118
|
__typename?: 'Robot';
|
|
10091
10119
|
id: string;
|
|
@@ -10135,7 +10163,7 @@ export type CommonIosAppCredentialsFragment = {
|
|
|
10135
10163
|
name: string;
|
|
10136
10164
|
users: Array<{
|
|
10137
10165
|
__typename?: 'UserPermission';
|
|
10138
|
-
role
|
|
10166
|
+
role: Role;
|
|
10139
10167
|
actor: {
|
|
10140
10168
|
__typename?: 'Robot';
|
|
10141
10169
|
id: string;
|
|
@@ -6,8 +6,8 @@
|
|
|
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.
|
|
10
|
-
exports.WebhookType = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.SubmissionStatus = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = void 0;
|
|
9
|
+
exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.GitHubAppInstallationStatus = exports.GitHubAppEnvironment = exports.Feature = exports.EnvironmentSecretType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildMode = exports.BuildJobStatus = exports.BuildJobLogsFormat = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.AuthProtocolType = exports.AssetMetadataStatus = exports.AppsFilter = exports.AppleDeviceClass = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountAppsSortByField = void 0;
|
|
10
|
+
exports.WebhookType = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.SubmissionStatus = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = void 0;
|
|
11
11
|
var AccountAppsSortByField;
|
|
12
12
|
(function (AccountAppsSortByField) {
|
|
13
13
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -154,6 +154,14 @@ var BuildResourceClass;
|
|
|
154
154
|
BuildResourceClass["IosMMedium"] = "IOS_M_MEDIUM";
|
|
155
155
|
BuildResourceClass["Legacy"] = "LEGACY";
|
|
156
156
|
})(BuildResourceClass = exports.BuildResourceClass || (exports.BuildResourceClass = {}));
|
|
157
|
+
var BuildRetryDisabledReason;
|
|
158
|
+
(function (BuildRetryDisabledReason) {
|
|
159
|
+
BuildRetryDisabledReason["AlreadyRetried"] = "ALREADY_RETRIED";
|
|
160
|
+
BuildRetryDisabledReason["InvalidStatus"] = "INVALID_STATUS";
|
|
161
|
+
BuildRetryDisabledReason["IsGithubBuild"] = "IS_GITHUB_BUILD";
|
|
162
|
+
BuildRetryDisabledReason["NotCompletedYet"] = "NOT_COMPLETED_YET";
|
|
163
|
+
BuildRetryDisabledReason["TooMuchTimeElapsed"] = "TOO_MUCH_TIME_ELAPSED";
|
|
164
|
+
})(BuildRetryDisabledReason = exports.BuildRetryDisabledReason || (exports.BuildRetryDisabledReason = {}));
|
|
157
165
|
var BuildStatus;
|
|
158
166
|
(function (BuildStatus) {
|
|
159
167
|
BuildStatus["Canceled"] = "CANCELED";
|
package/build/platform.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.appPlatformDisplayNames = {
|
|
|
9
9
|
[generated_1.AppPlatform.Ios]: 'iOS',
|
|
10
10
|
};
|
|
11
11
|
exports.appPlatformEmojis = {
|
|
12
|
-
[generated_1.AppPlatform.Ios]: '
|
|
12
|
+
[generated_1.AppPlatform.Ios]: '🍏',
|
|
13
13
|
[generated_1.AppPlatform.Android]: '🤖',
|
|
14
14
|
};
|
|
15
15
|
// for `eas build`, `eas submit`, and `eas update`
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Platform } from '@expo/eas-build-job';
|
|
2
2
|
import { BuildProfile } from '@expo/eas-json';
|
|
3
|
-
export
|
|
3
|
+
export interface CustomBuildConfigMetadata {
|
|
4
|
+
workflowName?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function validateCustomBuildConfigAsync(projectDir: string, profile: BuildProfile<Platform>): Promise<CustomBuildConfigMetadata | undefined>;
|
|
4
7
|
export declare function getCustomBuildConfigPath(configFilename: string): string;
|
|
@@ -8,7 +8,7 @@ const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
|
8
8
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
9
9
|
async function validateCustomBuildConfigAsync(projectDir, profile) {
|
|
10
10
|
if (!profile.config) {
|
|
11
|
-
return;
|
|
11
|
+
return undefined;
|
|
12
12
|
}
|
|
13
13
|
const relativeConfigPath = getCustomBuildConfigPath(profile.config);
|
|
14
14
|
const configPath = path_1.default.join(projectDir, relativeConfigPath);
|
|
@@ -16,7 +16,12 @@ async function validateCustomBuildConfigAsync(projectDir, profile) {
|
|
|
16
16
|
throw new Error(`Custom build configuration file ${chalk_1.default.bold(relativeConfigPath)} does not exist.`);
|
|
17
17
|
}
|
|
18
18
|
try {
|
|
19
|
-
await (0, steps_1.readAndValidateBuildConfigAsync)(configPath, {
|
|
19
|
+
const config = await (0, steps_1.readAndValidateBuildConfigAsync)(configPath, {
|
|
20
|
+
skipNamespacedFunctionsCheck: true,
|
|
21
|
+
});
|
|
22
|
+
return {
|
|
23
|
+
workflowName: config.build.name,
|
|
24
|
+
};
|
|
20
25
|
}
|
|
21
26
|
catch (err) {
|
|
22
27
|
if (err instanceof steps_1.errors.BuildConfigYAMLError) {
|
|
@@ -2,7 +2,9 @@ import { ExpoConfig } from '@expo/config';
|
|
|
2
2
|
import { Platform } from '@expo/eas-build-job';
|
|
3
3
|
import { EasJson, EasJsonAccessor } from '@expo/eas-json';
|
|
4
4
|
import { ProfileData } from '../utils/profiles';
|
|
5
|
-
export declare function ensureVersionSourceIsRemoteAsync(easJsonAccessor: EasJsonAccessor
|
|
5
|
+
export declare function ensureVersionSourceIsRemoteAsync(easJsonAccessor: EasJsonAccessor, { nonInteractive }: {
|
|
6
|
+
nonInteractive: boolean;
|
|
7
|
+
}): Promise<void>;
|
|
6
8
|
export declare function validateBuildProfileVersionSettings(profileInfo: ProfileData<'build'>, cliConfig: EasJson['cli']): void;
|
|
7
9
|
export declare function validateAppConfigForRemoteVersionSource(exp: ExpoConfig, platform: Platform): void;
|
|
8
10
|
export declare function getBuildVersionName(platform: Platform): string;
|