eas-cli 2.9.0 → 3.1.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.
- package/README.md +6 -1209
- package/build/branch/queries.d.ts +2 -1
- package/build/build/ios/credentials.d.ts +3 -0
- package/build/build/ios/credentials.js +16 -1
- package/build/build/ios/graphql.d.ts +4 -1
- package/build/build/ios/graphql.js +2 -1
- package/build/build/ios/prepareJob.d.ts +2 -0
- package/build/build/ios/prepareJob.js +17 -1
- package/build/build/queries.d.ts +6 -0
- package/build/build/queries.js +25 -1
- package/build/channel/errors.d.ts +3 -0
- package/build/channel/errors.js +9 -0
- package/build/channel/queries.js +1 -1
- package/build/commands/branch/delete.js +1 -1
- package/build/commands/branch/view.js +3 -1
- package/build/commands/build/index.d.ts +1 -0
- package/build/commands/build/index.js +2 -0
- package/build/commands/build/resign.d.ts +55 -0
- package/build/commands/build/resign.js +207 -0
- package/build/commands/build/run.js +2 -2
- package/build/commands/channel/edit.js +1 -1
- package/build/commands/update/configure.js +15 -2
- package/build/commands/update/index.d.ts +1 -0
- package/build/commands/update/index.js +85 -139
- package/build/commands/update/list.js +3 -1
- package/build/commands/update/republish.d.ts +36 -0
- package/build/commands/update/republish.js +218 -0
- package/build/devices/queries.js +8 -4
- package/build/graphql/generated.d.ts +199 -5
- package/build/graphql/generated.js +9 -2
- package/build/graphql/mutations/BuildMutation.d.ts +5 -1
- package/build/graphql/mutations/BuildMutation.js +17 -0
- package/build/graphql/queries/ChannelQuery.js +2 -1
- package/build/graphql/types/Update.js +6 -0
- package/build/run/android/emulator.js +3 -3
- package/build/update/configure.d.ts +1 -1
- package/build/update/configure.js +52 -5
- package/build/update/getBranchNameFromChannelNameAsync.d.ts +2 -0
- package/build/update/getBranchNameFromChannelNameAsync.js +45 -0
- package/build/update/queries.js +3 -1
- package/build/utils/queries.d.ts +5 -1
- package/build/utils/queries.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -343,7 +343,6 @@ export declare type AccountSsoConfiguration = {
|
|
|
343
343
|
id: Scalars['ID'];
|
|
344
344
|
issuer?: Maybe<Scalars['String']>;
|
|
345
345
|
jwksEndpoint?: Maybe<Scalars['String']>;
|
|
346
|
-
redirectUri: Scalars['String'];
|
|
347
346
|
revokeEndpoint?: Maybe<Scalars['String']>;
|
|
348
347
|
tokenEndpoint?: Maybe<Scalars['String']>;
|
|
349
348
|
updatedAt: Scalars['DateTime'];
|
|
@@ -357,7 +356,6 @@ export declare type AccountSsoConfigurationData = {
|
|
|
357
356
|
clientSecret: Scalars['String'];
|
|
358
357
|
issuer?: InputMaybe<Scalars['String']>;
|
|
359
358
|
jwksEndpoint?: InputMaybe<Scalars['String']>;
|
|
360
|
-
redirectUri: Scalars['String'];
|
|
361
359
|
revokeEndpoint?: InputMaybe<Scalars['String']>;
|
|
362
360
|
tokenEndpoint?: InputMaybe<Scalars['String']>;
|
|
363
361
|
userInfoEndpoint?: InputMaybe<Scalars['String']>;
|
|
@@ -392,7 +390,6 @@ export declare type AccountSsoConfigurationPublicData = {
|
|
|
392
390
|
id: Scalars['ID'];
|
|
393
391
|
issuer?: Maybe<Scalars['String']>;
|
|
394
392
|
jwksEndpoint?: Maybe<Scalars['String']>;
|
|
395
|
-
redirectUri: Scalars['String'];
|
|
396
393
|
revokeEndpoint?: Maybe<Scalars['String']>;
|
|
397
394
|
tokenEndpoint?: Maybe<Scalars['String']>;
|
|
398
395
|
userInfoEndpoint?: Maybe<Scalars['String']>;
|
|
@@ -664,6 +661,7 @@ export declare type AndroidJobInput = {
|
|
|
664
661
|
developmentClient?: InputMaybe<Scalars['Boolean']>;
|
|
665
662
|
experimental?: InputMaybe<Scalars['JSONObject']>;
|
|
666
663
|
gradleCommand?: InputMaybe<Scalars['String']>;
|
|
664
|
+
mode?: InputMaybe<BuildMode>;
|
|
667
665
|
projectArchive: ProjectArchiveSourceInput;
|
|
668
666
|
projectRootDirectory: Scalars['String'];
|
|
669
667
|
releaseChannel?: InputMaybe<Scalars['String']>;
|
|
@@ -690,6 +688,7 @@ export declare type AndroidJobOverridesInput = {
|
|
|
690
688
|
developmentClient?: InputMaybe<Scalars['Boolean']>;
|
|
691
689
|
experimental?: InputMaybe<Scalars['JSONObject']>;
|
|
692
690
|
gradleCommand?: InputMaybe<Scalars['String']>;
|
|
691
|
+
mode?: InputMaybe<BuildMode>;
|
|
693
692
|
releaseChannel?: InputMaybe<Scalars['String']>;
|
|
694
693
|
secrets?: InputMaybe<AndroidJobSecretsInput>;
|
|
695
694
|
updates?: InputMaybe<BuildUpdatesInput>;
|
|
@@ -784,6 +783,7 @@ export declare type App = Project & {
|
|
|
784
783
|
/** Classic update release channel names that have at least one build */
|
|
785
784
|
buildsReleaseChannels: Array<Scalars['String']>;
|
|
786
785
|
deployment?: Maybe<Deployment>;
|
|
786
|
+
deploymentNew?: Maybe<DeploymentNew>;
|
|
787
787
|
/** Deployments associated with this app */
|
|
788
788
|
deployments: Array<Deployment>;
|
|
789
789
|
description: Scalars['String'];
|
|
@@ -900,6 +900,11 @@ export declare type AppDeploymentArgs = {
|
|
|
900
900
|
runtimeVersion: Scalars['String'];
|
|
901
901
|
};
|
|
902
902
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
903
|
+
export declare type AppDeploymentNewArgs = {
|
|
904
|
+
channel: Scalars['String'];
|
|
905
|
+
runtimeVersion: Scalars['String'];
|
|
906
|
+
};
|
|
907
|
+
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
903
908
|
export declare type AppDeploymentsArgs = {
|
|
904
909
|
limit: Scalars['Int'];
|
|
905
910
|
mostRecentlyUpdatedAt?: InputMaybe<Scalars['DateTime']>;
|
|
@@ -1511,6 +1516,10 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
|
|
|
1511
1516
|
updatedAt: Scalars['DateTime'];
|
|
1512
1517
|
workerStartedAt?: Maybe<Scalars['DateTime']>;
|
|
1513
1518
|
};
|
|
1519
|
+
/** Represents an EAS Build */
|
|
1520
|
+
export declare type BuildCanRetryArgs = {
|
|
1521
|
+
newMode?: InputMaybe<BuildMode>;
|
|
1522
|
+
};
|
|
1514
1523
|
export declare type BuildArtifact = {
|
|
1515
1524
|
__typename?: 'BuildArtifact';
|
|
1516
1525
|
manifestPlistUrl?: Maybe<Scalars['String']>;
|
|
@@ -1652,6 +1661,10 @@ export declare type BuildMetrics = {
|
|
|
1652
1661
|
buildQueueTime?: Maybe<Scalars['Int']>;
|
|
1653
1662
|
buildWaitTime?: Maybe<Scalars['Int']>;
|
|
1654
1663
|
};
|
|
1664
|
+
export declare enum BuildMode {
|
|
1665
|
+
Build = "BUILD",
|
|
1666
|
+
Resign = "RESIGN"
|
|
1667
|
+
}
|
|
1655
1668
|
export declare type BuildMutation = {
|
|
1656
1669
|
__typename?: 'BuildMutation';
|
|
1657
1670
|
/**
|
|
@@ -1776,6 +1789,9 @@ export declare type BuildQueryAllForAppArgs = {
|
|
|
1776
1789
|
export declare type BuildQueryByIdArgs = {
|
|
1777
1790
|
buildId: Scalars['ID'];
|
|
1778
1791
|
};
|
|
1792
|
+
export declare type BuildResignInput = {
|
|
1793
|
+
applicationArchiveSource?: InputMaybe<ProjectArchiveSourceInput>;
|
|
1794
|
+
};
|
|
1779
1795
|
export declare enum BuildResourceClass {
|
|
1780
1796
|
AndroidDefault = "ANDROID_DEFAULT",
|
|
1781
1797
|
AndroidLarge = "ANDROID_LARGE",
|
|
@@ -1798,7 +1814,8 @@ export declare type BuildUpdatesInput = {
|
|
|
1798
1814
|
};
|
|
1799
1815
|
export declare enum BuildWorkflow {
|
|
1800
1816
|
Generic = "GENERIC",
|
|
1801
|
-
Managed = "MANAGED"
|
|
1817
|
+
Managed = "MANAGED",
|
|
1818
|
+
Unknown = "UNKNOWN"
|
|
1802
1819
|
}
|
|
1803
1820
|
export declare enum CacheControlScope {
|
|
1804
1821
|
Private = "PRIVATE",
|
|
@@ -1998,6 +2015,31 @@ export declare type Deployment = {
|
|
|
1998
2015
|
recentBuilds: Array<Build>;
|
|
1999
2016
|
runtimeVersion: Scalars['String'];
|
|
2000
2017
|
};
|
|
2018
|
+
export declare type DeploymentBuildEdge = {
|
|
2019
|
+
__typename?: 'DeploymentBuildEdge';
|
|
2020
|
+
cursor: Scalars['String'];
|
|
2021
|
+
node: Build;
|
|
2022
|
+
};
|
|
2023
|
+
export declare type DeploymentBuildsConnection = {
|
|
2024
|
+
__typename?: 'DeploymentBuildsConnection';
|
|
2025
|
+
edges: Array<DeploymentBuildEdge>;
|
|
2026
|
+
pageInfo: PageInfo;
|
|
2027
|
+
};
|
|
2028
|
+
/** Represents a Deployment - a set of Builds with the same Runtime Version and Channel */
|
|
2029
|
+
export declare type DeploymentNew = {
|
|
2030
|
+
__typename?: 'DeploymentNew';
|
|
2031
|
+
builds: DeploymentBuildsConnection;
|
|
2032
|
+
channel: UpdateChannel;
|
|
2033
|
+
id: Scalars['ID'];
|
|
2034
|
+
runtime: Runtime;
|
|
2035
|
+
};
|
|
2036
|
+
/** Represents a Deployment - a set of Builds with the same Runtime Version and Channel */
|
|
2037
|
+
export declare type DeploymentNewBuildsArgs = {
|
|
2038
|
+
after?: InputMaybe<Scalars['String']>;
|
|
2039
|
+
before?: InputMaybe<Scalars['String']>;
|
|
2040
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
2041
|
+
last?: InputMaybe<Scalars['Int']>;
|
|
2042
|
+
};
|
|
2001
2043
|
export declare type DeploymentOptions = {
|
|
2002
2044
|
/** Max number of associated builds to return */
|
|
2003
2045
|
buildListMaxSize?: InputMaybe<Scalars['Int']>;
|
|
@@ -2134,7 +2176,7 @@ export declare type GitHubAppInstallationAccessibleRepositoriesArgs = {
|
|
|
2134
2176
|
};
|
|
2135
2177
|
export declare type GitHubAppInstallationAccessibleRepository = {
|
|
2136
2178
|
__typename?: 'GitHubAppInstallationAccessibleRepository';
|
|
2137
|
-
defaultBranch
|
|
2179
|
+
defaultBranch?: Maybe<Scalars['String']>;
|
|
2138
2180
|
description?: Maybe<Scalars['String']>;
|
|
2139
2181
|
id: Scalars['Int'];
|
|
2140
2182
|
name: Scalars['String'];
|
|
@@ -2488,6 +2530,7 @@ export declare type IosJobInput = {
|
|
|
2488
2530
|
/** @deprecated */
|
|
2489
2531
|
distribution?: InputMaybe<DistributionType>;
|
|
2490
2532
|
experimental?: InputMaybe<Scalars['JSONObject']>;
|
|
2533
|
+
mode?: InputMaybe<BuildMode>;
|
|
2491
2534
|
projectArchive: ProjectArchiveSourceInput;
|
|
2492
2535
|
projectRootDirectory: Scalars['String'];
|
|
2493
2536
|
releaseChannel?: InputMaybe<Scalars['String']>;
|
|
@@ -2513,10 +2556,13 @@ export declare type IosJobOverridesInput = {
|
|
|
2513
2556
|
/** @deprecated */
|
|
2514
2557
|
distribution?: InputMaybe<DistributionType>;
|
|
2515
2558
|
experimental?: InputMaybe<Scalars['JSONObject']>;
|
|
2559
|
+
mode?: InputMaybe<BuildMode>;
|
|
2516
2560
|
releaseChannel?: InputMaybe<Scalars['String']>;
|
|
2561
|
+
resign?: InputMaybe<BuildResignInput>;
|
|
2517
2562
|
scheme?: InputMaybe<Scalars['String']>;
|
|
2518
2563
|
secrets?: InputMaybe<IosJobSecretsInput>;
|
|
2519
2564
|
simulator?: InputMaybe<Scalars['Boolean']>;
|
|
2565
|
+
type?: InputMaybe<BuildWorkflow>;
|
|
2520
2566
|
updates?: InputMaybe<BuildUpdatesInput>;
|
|
2521
2567
|
username?: InputMaybe<Scalars['String']>;
|
|
2522
2568
|
version?: InputMaybe<IosJobVersionInput>;
|
|
@@ -2702,6 +2748,13 @@ export declare enum Order {
|
|
|
2702
2748
|
Asc = "ASC",
|
|
2703
2749
|
Desc = "DESC"
|
|
2704
2750
|
}
|
|
2751
|
+
export declare type PageInfo = {
|
|
2752
|
+
__typename?: 'PageInfo';
|
|
2753
|
+
endCursor?: Maybe<Scalars['String']>;
|
|
2754
|
+
hasNextPage: Scalars['Boolean'];
|
|
2755
|
+
hasPreviousPage: Scalars['Boolean'];
|
|
2756
|
+
startCursor?: Maybe<Scalars['String']>;
|
|
2757
|
+
};
|
|
2705
2758
|
export declare type PartialManifest = {
|
|
2706
2759
|
assets: Array<InputMaybe<PartialManifestAsset>>;
|
|
2707
2760
|
extra?: InputMaybe<Scalars['JSONObject']>;
|
|
@@ -2745,6 +2798,7 @@ export declare type ProjectArchiveSourceInput = {
|
|
|
2745
2798
|
};
|
|
2746
2799
|
export declare enum ProjectArchiveSourceType {
|
|
2747
2800
|
Gcs = "GCS",
|
|
2801
|
+
None = "NONE",
|
|
2748
2802
|
S3 = "S3",
|
|
2749
2803
|
Url = "URL"
|
|
2750
2804
|
}
|
|
@@ -3035,6 +3089,13 @@ export declare type RootQueryUserByUserIdArgs = {
|
|
|
3035
3089
|
export declare type RootQueryUserByUsernameArgs = {
|
|
3036
3090
|
username: Scalars['String'];
|
|
3037
3091
|
};
|
|
3092
|
+
export declare type Runtime = {
|
|
3093
|
+
__typename?: 'Runtime';
|
|
3094
|
+
app: App;
|
|
3095
|
+
firstBuildCreatedAt: Scalars['DateTime'];
|
|
3096
|
+
id: Scalars['ID'];
|
|
3097
|
+
version: Scalars['String'];
|
|
3098
|
+
};
|
|
3038
3099
|
export declare type SecondFactorBooleanResult = {
|
|
3039
3100
|
__typename?: 'SecondFactorBooleanResult';
|
|
3040
3101
|
success: Scalars['Boolean'];
|
|
@@ -6835,6 +6896,76 @@ export declare type CreateIosBuildMutation = {
|
|
|
6835
6896
|
};
|
|
6836
6897
|
};
|
|
6837
6898
|
};
|
|
6899
|
+
export declare type RetryIosBuildMutationVariables = Exact<{
|
|
6900
|
+
buildId: Scalars['ID'];
|
|
6901
|
+
jobOverrides: IosJobOverridesInput;
|
|
6902
|
+
}>;
|
|
6903
|
+
export declare type RetryIosBuildMutation = {
|
|
6904
|
+
__typename?: 'RootMutation';
|
|
6905
|
+
build: {
|
|
6906
|
+
__typename?: 'BuildMutation';
|
|
6907
|
+
retryIosBuild: {
|
|
6908
|
+
__typename?: 'Build';
|
|
6909
|
+
id: string;
|
|
6910
|
+
status: BuildStatus;
|
|
6911
|
+
platform: AppPlatform;
|
|
6912
|
+
channel?: string | null;
|
|
6913
|
+
releaseChannel?: string | null;
|
|
6914
|
+
distribution?: DistributionType | null;
|
|
6915
|
+
iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
|
|
6916
|
+
buildProfile?: string | null;
|
|
6917
|
+
sdkVersion?: string | null;
|
|
6918
|
+
appVersion?: string | null;
|
|
6919
|
+
appBuildVersion?: string | null;
|
|
6920
|
+
runtimeVersion?: string | null;
|
|
6921
|
+
gitCommitHash?: string | null;
|
|
6922
|
+
gitCommitMessage?: string | null;
|
|
6923
|
+
initialQueuePosition?: number | null;
|
|
6924
|
+
queuePosition?: number | null;
|
|
6925
|
+
estimatedWaitTimeLeftSeconds?: number | null;
|
|
6926
|
+
priority: BuildPriority;
|
|
6927
|
+
createdAt: any;
|
|
6928
|
+
updatedAt: any;
|
|
6929
|
+
error?: {
|
|
6930
|
+
__typename?: 'BuildError';
|
|
6931
|
+
errorCode: string;
|
|
6932
|
+
message: string;
|
|
6933
|
+
docsUrl?: string | null;
|
|
6934
|
+
} | null;
|
|
6935
|
+
artifacts?: {
|
|
6936
|
+
__typename?: 'BuildArtifacts';
|
|
6937
|
+
buildUrl?: string | null;
|
|
6938
|
+
xcodeBuildLogsUrl?: string | null;
|
|
6939
|
+
applicationArchiveUrl?: string | null;
|
|
6940
|
+
} | null;
|
|
6941
|
+
initiatingActor?: {
|
|
6942
|
+
__typename: 'Robot';
|
|
6943
|
+
id: string;
|
|
6944
|
+
displayName: string;
|
|
6945
|
+
} | {
|
|
6946
|
+
__typename: 'User';
|
|
6947
|
+
id: string;
|
|
6948
|
+
displayName: string;
|
|
6949
|
+
} | null;
|
|
6950
|
+
project: {
|
|
6951
|
+
__typename: 'App';
|
|
6952
|
+
id: string;
|
|
6953
|
+
name: string;
|
|
6954
|
+
slug: string;
|
|
6955
|
+
ownerAccount: {
|
|
6956
|
+
__typename?: 'Account';
|
|
6957
|
+
id: string;
|
|
6958
|
+
name: string;
|
|
6959
|
+
};
|
|
6960
|
+
} | {
|
|
6961
|
+
__typename: 'Snack';
|
|
6962
|
+
id: string;
|
|
6963
|
+
name: string;
|
|
6964
|
+
slug: string;
|
|
6965
|
+
};
|
|
6966
|
+
};
|
|
6967
|
+
};
|
|
6968
|
+
};
|
|
6838
6969
|
export declare type CreateEnvironmentSecretForAccountMutationVariables = Exact<{
|
|
6839
6970
|
input: CreateEnvironmentSecretInput;
|
|
6840
6971
|
accountId: Scalars['String'];
|
|
@@ -7232,6 +7363,7 @@ export declare type BranchesByAppQuery = {
|
|
|
7232
7363
|
runtimeVersion: string;
|
|
7233
7364
|
platform: string;
|
|
7234
7365
|
manifestFragment: string;
|
|
7366
|
+
gitCommitHash?: string | null;
|
|
7235
7367
|
actor?: {
|
|
7236
7368
|
__typename: 'Robot';
|
|
7237
7369
|
firstName?: string | null;
|
|
@@ -7246,6 +7378,12 @@ export declare type BranchesByAppQuery = {
|
|
|
7246
7378
|
id: string;
|
|
7247
7379
|
name: string;
|
|
7248
7380
|
};
|
|
7381
|
+
codeSigningInfo?: {
|
|
7382
|
+
__typename?: 'CodeSigningInfo';
|
|
7383
|
+
keyid: string;
|
|
7384
|
+
sig: string;
|
|
7385
|
+
alg: string;
|
|
7386
|
+
} | null;
|
|
7249
7387
|
}>;
|
|
7250
7388
|
}>;
|
|
7251
7389
|
};
|
|
@@ -7280,6 +7418,7 @@ export declare type ViewBranchesOnUpdateChannelQuery = {
|
|
|
7280
7418
|
runtimeVersion: string;
|
|
7281
7419
|
platform: string;
|
|
7282
7420
|
manifestFragment: string;
|
|
7421
|
+
gitCommitHash?: string | null;
|
|
7283
7422
|
actor?: {
|
|
7284
7423
|
__typename: 'Robot';
|
|
7285
7424
|
firstName?: string | null;
|
|
@@ -7294,6 +7433,12 @@ export declare type ViewBranchesOnUpdateChannelQuery = {
|
|
|
7294
7433
|
id: string;
|
|
7295
7434
|
name: string;
|
|
7296
7435
|
};
|
|
7436
|
+
codeSigningInfo?: {
|
|
7437
|
+
__typename?: 'CodeSigningInfo';
|
|
7438
|
+
keyid: string;
|
|
7439
|
+
sig: string;
|
|
7440
|
+
alg: string;
|
|
7441
|
+
} | null;
|
|
7297
7442
|
}>>;
|
|
7298
7443
|
}>;
|
|
7299
7444
|
} | null;
|
|
@@ -7578,6 +7723,7 @@ export declare type ViewUpdateChannelOnAppQuery = {
|
|
|
7578
7723
|
runtimeVersion: string;
|
|
7579
7724
|
platform: string;
|
|
7580
7725
|
manifestFragment: string;
|
|
7726
|
+
gitCommitHash?: string | null;
|
|
7581
7727
|
actor?: {
|
|
7582
7728
|
__typename: 'Robot';
|
|
7583
7729
|
firstName?: string | null;
|
|
@@ -7592,6 +7738,12 @@ export declare type ViewUpdateChannelOnAppQuery = {
|
|
|
7592
7738
|
id: string;
|
|
7593
7739
|
name: string;
|
|
7594
7740
|
};
|
|
7741
|
+
codeSigningInfo?: {
|
|
7742
|
+
__typename?: 'CodeSigningInfo';
|
|
7743
|
+
keyid: string;
|
|
7744
|
+
sig: string;
|
|
7745
|
+
alg: string;
|
|
7746
|
+
} | null;
|
|
7595
7747
|
}>>;
|
|
7596
7748
|
}>;
|
|
7597
7749
|
} | null;
|
|
@@ -7628,6 +7780,7 @@ export declare type ViewUpdateChannelsOnAppQuery = {
|
|
|
7628
7780
|
runtimeVersion: string;
|
|
7629
7781
|
platform: string;
|
|
7630
7782
|
manifestFragment: string;
|
|
7783
|
+
gitCommitHash?: string | null;
|
|
7631
7784
|
actor?: {
|
|
7632
7785
|
__typename: 'Robot';
|
|
7633
7786
|
firstName?: string | null;
|
|
@@ -7642,6 +7795,12 @@ export declare type ViewUpdateChannelsOnAppQuery = {
|
|
|
7642
7795
|
id: string;
|
|
7643
7796
|
name: string;
|
|
7644
7797
|
};
|
|
7798
|
+
codeSigningInfo?: {
|
|
7799
|
+
__typename?: 'CodeSigningInfo';
|
|
7800
|
+
keyid: string;
|
|
7801
|
+
sig: string;
|
|
7802
|
+
alg: string;
|
|
7803
|
+
} | null;
|
|
7645
7804
|
}>>;
|
|
7646
7805
|
}>;
|
|
7647
7806
|
}>;
|
|
@@ -7838,6 +7997,7 @@ export declare type ViewUpdatesByGroupQuery = {
|
|
|
7838
7997
|
runtimeVersion: string;
|
|
7839
7998
|
platform: string;
|
|
7840
7999
|
manifestFragment: string;
|
|
8000
|
+
gitCommitHash?: string | null;
|
|
7841
8001
|
actor?: {
|
|
7842
8002
|
__typename: 'Robot';
|
|
7843
8003
|
firstName?: string | null;
|
|
@@ -7852,6 +8012,12 @@ export declare type ViewUpdatesByGroupQuery = {
|
|
|
7852
8012
|
id: string;
|
|
7853
8013
|
name: string;
|
|
7854
8014
|
};
|
|
8015
|
+
codeSigningInfo?: {
|
|
8016
|
+
__typename?: 'CodeSigningInfo';
|
|
8017
|
+
keyid: string;
|
|
8018
|
+
sig: string;
|
|
8019
|
+
alg: string;
|
|
8020
|
+
} | null;
|
|
7855
8021
|
}>;
|
|
7856
8022
|
};
|
|
7857
8023
|
export declare type ViewUpdateGroupsOnBranchQueryVariables = Exact<{
|
|
@@ -7880,6 +8046,7 @@ export declare type ViewUpdateGroupsOnBranchQuery = {
|
|
|
7880
8046
|
runtimeVersion: string;
|
|
7881
8047
|
platform: string;
|
|
7882
8048
|
manifestFragment: string;
|
|
8049
|
+
gitCommitHash?: string | null;
|
|
7883
8050
|
actor?: {
|
|
7884
8051
|
__typename: 'Robot';
|
|
7885
8052
|
firstName?: string | null;
|
|
@@ -7894,6 +8061,12 @@ export declare type ViewUpdateGroupsOnBranchQuery = {
|
|
|
7894
8061
|
id: string;
|
|
7895
8062
|
name: string;
|
|
7896
8063
|
};
|
|
8064
|
+
codeSigningInfo?: {
|
|
8065
|
+
__typename?: 'CodeSigningInfo';
|
|
8066
|
+
keyid: string;
|
|
8067
|
+
sig: string;
|
|
8068
|
+
alg: string;
|
|
8069
|
+
} | null;
|
|
7897
8070
|
}>>;
|
|
7898
8071
|
} | null;
|
|
7899
8072
|
};
|
|
@@ -7921,6 +8094,7 @@ export declare type ViewUpdateGroupsOnAppQuery = {
|
|
|
7921
8094
|
runtimeVersion: string;
|
|
7922
8095
|
platform: string;
|
|
7923
8096
|
manifestFragment: string;
|
|
8097
|
+
gitCommitHash?: string | null;
|
|
7924
8098
|
actor?: {
|
|
7925
8099
|
__typename: 'Robot';
|
|
7926
8100
|
firstName?: string | null;
|
|
@@ -7935,6 +8109,12 @@ export declare type ViewUpdateGroupsOnAppQuery = {
|
|
|
7935
8109
|
id: string;
|
|
7936
8110
|
name: string;
|
|
7937
8111
|
};
|
|
8112
|
+
codeSigningInfo?: {
|
|
8113
|
+
__typename?: 'CodeSigningInfo';
|
|
8114
|
+
keyid: string;
|
|
8115
|
+
sig: string;
|
|
8116
|
+
alg: string;
|
|
8117
|
+
} | null;
|
|
7938
8118
|
}>>;
|
|
7939
8119
|
};
|
|
7940
8120
|
};
|
|
@@ -8301,6 +8481,7 @@ export declare type UpdateFragment = {
|
|
|
8301
8481
|
runtimeVersion: string;
|
|
8302
8482
|
platform: string;
|
|
8303
8483
|
manifestFragment: string;
|
|
8484
|
+
gitCommitHash?: string | null;
|
|
8304
8485
|
actor?: {
|
|
8305
8486
|
__typename: 'Robot';
|
|
8306
8487
|
firstName?: string | null;
|
|
@@ -8315,6 +8496,12 @@ export declare type UpdateFragment = {
|
|
|
8315
8496
|
id: string;
|
|
8316
8497
|
name: string;
|
|
8317
8498
|
};
|
|
8499
|
+
codeSigningInfo?: {
|
|
8500
|
+
__typename?: 'CodeSigningInfo';
|
|
8501
|
+
keyid: string;
|
|
8502
|
+
sig: string;
|
|
8503
|
+
alg: string;
|
|
8504
|
+
} | null;
|
|
8318
8505
|
};
|
|
8319
8506
|
export declare type UpdateBranchFragment = {
|
|
8320
8507
|
__typename?: 'UpdateBranch';
|
|
@@ -8329,6 +8516,7 @@ export declare type UpdateBranchFragment = {
|
|
|
8329
8516
|
runtimeVersion: string;
|
|
8330
8517
|
platform: string;
|
|
8331
8518
|
manifestFragment: string;
|
|
8519
|
+
gitCommitHash?: string | null;
|
|
8332
8520
|
actor?: {
|
|
8333
8521
|
__typename: 'Robot';
|
|
8334
8522
|
firstName?: string | null;
|
|
@@ -8343,6 +8531,12 @@ export declare type UpdateBranchFragment = {
|
|
|
8343
8531
|
id: string;
|
|
8344
8532
|
name: string;
|
|
8345
8533
|
};
|
|
8534
|
+
codeSigningInfo?: {
|
|
8535
|
+
__typename?: 'CodeSigningInfo';
|
|
8536
|
+
keyid: string;
|
|
8537
|
+
sig: string;
|
|
8538
|
+
alg: string;
|
|
8539
|
+
} | null;
|
|
8346
8540
|
}>;
|
|
8347
8541
|
};
|
|
8348
8542
|
export declare type WebhookFragment = {
|
|
@@ -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 = void 0;
|
|
9
|
+
exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OfferType = exports.MailchimpTag = exports.MailchimpAudience = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.GitHubAppInstallationStatus = exports.GitHubAppEnvironment = exports.Feature = exports.EnvironmentSecretType = exports.EasServiceMetric = exports.EasBuildDeprecationInfoType = exports.DistributionType = exports.CacheControlScope = exports.BuildWorkflow = exports.BuildStatus = 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 = void 0;
|
|
10
|
+
exports.WebhookType = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.SubmissionStatus = exports.SubmissionArchiveSourceType = void 0;
|
|
11
11
|
var ActivityTimelineProjectActivityType;
|
|
12
12
|
(function (ActivityTimelineProjectActivityType) {
|
|
13
13
|
ActivityTimelineProjectActivityType["Build"] = "BUILD";
|
|
@@ -115,6 +115,11 @@ var BuildJobStatus;
|
|
|
115
115
|
BuildJobStatus["SentToQueue"] = "SENT_TO_QUEUE";
|
|
116
116
|
BuildJobStatus["Started"] = "STARTED";
|
|
117
117
|
})(BuildJobStatus = exports.BuildJobStatus || (exports.BuildJobStatus = {}));
|
|
118
|
+
var BuildMode;
|
|
119
|
+
(function (BuildMode) {
|
|
120
|
+
BuildMode["Build"] = "BUILD";
|
|
121
|
+
BuildMode["Resign"] = "RESIGN";
|
|
122
|
+
})(BuildMode = exports.BuildMode || (exports.BuildMode = {}));
|
|
118
123
|
var BuildPriority;
|
|
119
124
|
(function (BuildPriority) {
|
|
120
125
|
BuildPriority["High"] = "HIGH";
|
|
@@ -144,6 +149,7 @@ var BuildWorkflow;
|
|
|
144
149
|
(function (BuildWorkflow) {
|
|
145
150
|
BuildWorkflow["Generic"] = "GENERIC";
|
|
146
151
|
BuildWorkflow["Managed"] = "MANAGED";
|
|
152
|
+
BuildWorkflow["Unknown"] = "UNKNOWN";
|
|
147
153
|
})(BuildWorkflow = exports.BuildWorkflow || (exports.BuildWorkflow = {}));
|
|
148
154
|
var CacheControlScope;
|
|
149
155
|
(function (CacheControlScope) {
|
|
@@ -260,6 +266,7 @@ var Permission;
|
|
|
260
266
|
var ProjectArchiveSourceType;
|
|
261
267
|
(function (ProjectArchiveSourceType) {
|
|
262
268
|
ProjectArchiveSourceType["Gcs"] = "GCS";
|
|
269
|
+
ProjectArchiveSourceType["None"] = "NONE";
|
|
263
270
|
ProjectArchiveSourceType["S3"] = "S3";
|
|
264
271
|
ProjectArchiveSourceType["Url"] = "URL";
|
|
265
272
|
})(ProjectArchiveSourceType = exports.ProjectArchiveSourceType || (exports.ProjectArchiveSourceType = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
-
import { AndroidJobInput, BuildFragment, BuildMetadataInput, BuildParamsInput, EasBuildDeprecationInfo, IosJobInput } from '../generated';
|
|
2
|
+
import { AndroidJobInput, BuildFragment, BuildMetadataInput, BuildParamsInput, EasBuildDeprecationInfo, IosJobInput, IosJobOverridesInput } from '../generated';
|
|
3
3
|
export interface BuildResult {
|
|
4
4
|
build: BuildFragment;
|
|
5
5
|
deprecationInfo?: EasBuildDeprecationInfo | null;
|
|
@@ -17,4 +17,8 @@ export declare const BuildMutation: {
|
|
|
17
17
|
metadata: BuildMetadataInput;
|
|
18
18
|
buildParams: BuildParamsInput;
|
|
19
19
|
}): Promise<BuildResult>;
|
|
20
|
+
retryIosBuildAsync(graphqlClient: ExpoGraphqlClient, input: {
|
|
21
|
+
buildId: string;
|
|
22
|
+
jobOverrides: IosJobOverridesInput;
|
|
23
|
+
}): Promise<BuildFragment>;
|
|
20
24
|
};
|
|
@@ -74,4 +74,21 @@ exports.BuildMutation = {
|
|
|
74
74
|
.toPromise());
|
|
75
75
|
return (0, nullthrows_1.default)((_a = data.build) === null || _a === void 0 ? void 0 : _a.createIosBuild);
|
|
76
76
|
},
|
|
77
|
+
async retryIosBuildAsync(graphqlClient, input) {
|
|
78
|
+
var _a;
|
|
79
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
80
|
+
.mutation((0, graphql_tag_1.default) `
|
|
81
|
+
mutation RetryIosBuildMutation($buildId: ID!, $jobOverrides: IosJobOverridesInput!) {
|
|
82
|
+
build {
|
|
83
|
+
retryIosBuild(buildId: $buildId, jobOverrides: $jobOverrides) {
|
|
84
|
+
id
|
|
85
|
+
...BuildFragment
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
${(0, graphql_1.print)(Build_1.BuildFragmentNode)}
|
|
90
|
+
`, input, { noRetry: true })
|
|
91
|
+
.toPromise());
|
|
92
|
+
return (0, nullthrows_1.default)((_a = data.build) === null || _a === void 0 ? void 0 : _a.retryIosBuild);
|
|
93
|
+
},
|
|
77
94
|
};
|
|
@@ -4,6 +4,7 @@ exports.ChannelQuery = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
6
|
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
|
+
const errors_1 = require("../../channel/errors");
|
|
7
8
|
const client_1 = require("../client");
|
|
8
9
|
const Update_1 = require("../types/Update");
|
|
9
10
|
exports.ChannelQuery = {
|
|
@@ -36,7 +37,7 @@ exports.ChannelQuery = {
|
|
|
36
37
|
.toPromise());
|
|
37
38
|
const { updateChannelByName } = response.app.byId;
|
|
38
39
|
if (!updateChannelByName) {
|
|
39
|
-
throw new
|
|
40
|
+
throw new errors_1.ChannelNotFoundError(`Could not find channel with the name ${channelName}`);
|
|
40
41
|
}
|
|
41
42
|
return updateChannelByName;
|
|
42
43
|
},
|
|
@@ -12,6 +12,7 @@ exports.UpdateFragmentNode = (0, graphql_tag_1.default) `
|
|
|
12
12
|
runtimeVersion
|
|
13
13
|
platform
|
|
14
14
|
manifestFragment
|
|
15
|
+
gitCommitHash
|
|
15
16
|
actor {
|
|
16
17
|
__typename
|
|
17
18
|
id
|
|
@@ -26,5 +27,10 @@ exports.UpdateFragmentNode = (0, graphql_tag_1.default) `
|
|
|
26
27
|
id
|
|
27
28
|
name
|
|
28
29
|
}
|
|
30
|
+
codeSigningInfo {
|
|
31
|
+
keyid
|
|
32
|
+
sig
|
|
33
|
+
alg
|
|
34
|
+
}
|
|
29
35
|
}
|
|
30
36
|
`;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.startAppAsync = exports.installAppAsync = exports.ensureEmulatorBootedAsync = exports.selectEmulatorAsync = exports.getEmulatorExecutableAsync = exports.EMULATOR_MAX_WAIT_TIMEOUT_MS = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
6
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
7
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
-
const node_assert_1 = tslib_1.__importDefault(require("node:assert"));
|
|
8
8
|
const os_1 = tslib_1.__importDefault(require("os"));
|
|
9
9
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
10
10
|
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
@@ -93,7 +93,7 @@ exports.ensureEmulatorBootedAsync = ensureEmulatorBootedAsync;
|
|
|
93
93
|
async function installAppAsync(emulator, apkFilePath) {
|
|
94
94
|
log_1.default.newLine();
|
|
95
95
|
log_1.default.log('Installing your app...');
|
|
96
|
-
(0,
|
|
96
|
+
(0, assert_1.default)(emulator.pid);
|
|
97
97
|
await (0, adb_1.adbAsync)('-s', emulator.pid, 'install', '-r', '-d', apkFilePath);
|
|
98
98
|
log_1.default.succeed('Successfully installed your app!');
|
|
99
99
|
}
|
|
@@ -101,7 +101,7 @@ exports.installAppAsync = installAppAsync;
|
|
|
101
101
|
async function startAppAsync(emulator, packageName, activityName) {
|
|
102
102
|
log_1.default.newLine();
|
|
103
103
|
log_1.default.log('Starting your app...');
|
|
104
|
-
(0,
|
|
104
|
+
(0, assert_1.default)(emulator.pid);
|
|
105
105
|
await (0, adb_1.adbAsync)('-s', emulator.pid, 'shell', 'am', 'start', '-a', 'android.intent.action.MAIN', '-f', '0x20000000', // FLAG_ACTIVITY_SINGLE_TOP -- If set, the activity will not be launched if it is already running at the top of the history stack.
|
|
106
106
|
'-n', `${packageName}/${activityName}`);
|
|
107
107
|
log_1.default.succeed('Successfully started your app!');
|
|
@@ -14,7 +14,7 @@ export declare const DEFAULT_BARE_RUNTIME_VERSION: "1.0.0";
|
|
|
14
14
|
* - Sets `updates.url` if not set
|
|
15
15
|
* - Ensure latest changes are reflected in the native config, if any
|
|
16
16
|
*/
|
|
17
|
-
export declare function
|
|
17
|
+
export declare function ensureEASUpdateIsConfiguredAsync(graphqlClient: ExpoGraphqlClient, { exp: expWithoutUpdates, projectId, projectDir, platform, }: {
|
|
18
18
|
exp: ExpoConfig;
|
|
19
19
|
projectId: string;
|
|
20
20
|
projectDir: string;
|