eas-cli 7.8.1 → 7.8.3
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 +59 -59
- package/build/build/local.js +1 -1
- package/build/commands/build/version/get.js +1 -0
- package/build/commands/build/version/set.js +1 -0
- package/build/commands/build/version/sync.js +1 -0
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +7 -1
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.js +41 -5
- package/build/credentials/ios/actions/DistributionCertificateUtils.js +7 -2
- package/build/credentials/ios/actions/PushKeyUtils.js +7 -2
- package/build/credentials/ios/actions/RemoveDistributionCertificate.js +8 -3
- package/build/credentials/ios/actions/RemovePushKey.js +7 -2
- package/build/credentials/ios/api/GraphqlClient.js +1 -1
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +7 -1
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.js +41 -5
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.d.ts +11 -3
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +77 -53
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.d.ts +7 -1
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +41 -5
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.d.ts +7 -1
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +41 -5
- package/build/devices/actions/create/action.js +1 -1
- package/build/devices/actions/create/developerPortalMethod.d.ts +2 -2
- package/build/devices/actions/create/developerPortalMethod.js +5 -5
- package/build/graphql/generated.d.ts +279 -178
- package/build/project/android/applicationId.d.ts +2 -1
- package/build/project/android/applicationId.js +12 -3
- package/build/project/applicationIdentifier.d.ts +2 -1
- package/build/project/applicationIdentifier.js +3 -1
- package/build/project/ios/bundleIdentifier.d.ts +2 -1
- package/build/project/ios/bundleIdentifier.js +6 -2
- package/build/project/publish.js +5 -4
- package/build/project/resolveRuntimeVersionAsync.js +5 -4
- package/build/utils/expoUpdatesCli.d.ts +2 -0
- package/build/utils/expoUpdatesCli.js +12 -4
- package/build/utils/relay.d.ts +6 -0
- package/build/utils/relay.js +40 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -1167,6 +1167,8 @@ export type App = Project & {
|
|
|
1167
1167
|
* @deprecated Classic updates have been deprecated.
|
|
1168
1168
|
*/
|
|
1169
1169
|
published: Scalars['Boolean']['output'];
|
|
1170
|
+
/** App query field for querying details about an app's push notifications */
|
|
1171
|
+
pushNotifications: AppPushNotifications;
|
|
1170
1172
|
pushSecurityEnabled: Scalars['Boolean']['output'];
|
|
1171
1173
|
/**
|
|
1172
1174
|
* Classic update release channel names (to be removed)
|
|
@@ -1494,6 +1496,19 @@ export declare enum AppPrivacy {
|
|
|
1494
1496
|
Public = "PUBLIC",
|
|
1495
1497
|
Unlisted = "UNLISTED"
|
|
1496
1498
|
}
|
|
1499
|
+
export type AppPushNotifications = {
|
|
1500
|
+
__typename?: 'AppPushNotifications';
|
|
1501
|
+
id: Scalars['ID']['output'];
|
|
1502
|
+
insights: AppPushNotificationsInsights;
|
|
1503
|
+
};
|
|
1504
|
+
export type AppPushNotificationsInsights = {
|
|
1505
|
+
__typename?: 'AppPushNotificationsInsights';
|
|
1506
|
+
id: Scalars['ID']['output'];
|
|
1507
|
+
notificationsSentOverTime: NotificationsSentOverTimeData;
|
|
1508
|
+
};
|
|
1509
|
+
export type AppPushNotificationsInsightsNotificationsSentOverTimeArgs = {
|
|
1510
|
+
timespan: InsightsTimespan;
|
|
1511
|
+
};
|
|
1497
1512
|
export type AppQuery = {
|
|
1498
1513
|
__typename?: 'AppQuery';
|
|
1499
1514
|
/**
|
|
@@ -3786,6 +3801,10 @@ export declare enum NotificationType {
|
|
|
3786
3801
|
Email = "EMAIL",
|
|
3787
3802
|
Web = "WEB"
|
|
3788
3803
|
}
|
|
3804
|
+
export type NotificationsSentOverTimeData = {
|
|
3805
|
+
__typename?: 'NotificationsSentOverTimeData';
|
|
3806
|
+
data: LineChartData;
|
|
3807
|
+
};
|
|
3789
3808
|
export type Offer = {
|
|
3790
3809
|
__typename?: 'Offer';
|
|
3791
3810
|
features?: Maybe<Array<Maybe<Feature>>>;
|
|
@@ -6318,6 +6337,47 @@ export type GoogleServiceAccountKeyByAccountQuery = {
|
|
|
6318
6337
|
};
|
|
6319
6338
|
};
|
|
6320
6339
|
};
|
|
6340
|
+
export type GoogleServiceAccountKeysPaginatedByAccountQueryVariables = Exact<{
|
|
6341
|
+
accountName: Scalars['String']['input'];
|
|
6342
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6343
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6344
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6345
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6346
|
+
}>;
|
|
6347
|
+
export type GoogleServiceAccountKeysPaginatedByAccountQuery = {
|
|
6348
|
+
__typename?: 'RootQuery';
|
|
6349
|
+
account: {
|
|
6350
|
+
__typename?: 'AccountQuery';
|
|
6351
|
+
byName: {
|
|
6352
|
+
__typename?: 'Account';
|
|
6353
|
+
id: string;
|
|
6354
|
+
googleServiceAccountKeysPaginated: {
|
|
6355
|
+
__typename?: 'AccountGoogleServiceAccountKeysConnection';
|
|
6356
|
+
edges: Array<{
|
|
6357
|
+
__typename?: 'AccountGoogleServiceAccountKeysEdge';
|
|
6358
|
+
cursor: string;
|
|
6359
|
+
node: {
|
|
6360
|
+
__typename?: 'GoogleServiceAccountKey';
|
|
6361
|
+
id: string;
|
|
6362
|
+
projectIdentifier: string;
|
|
6363
|
+
privateKeyIdentifier: string;
|
|
6364
|
+
clientEmail: string;
|
|
6365
|
+
clientIdentifier: string;
|
|
6366
|
+
createdAt: any;
|
|
6367
|
+
updatedAt: any;
|
|
6368
|
+
};
|
|
6369
|
+
}>;
|
|
6370
|
+
pageInfo: {
|
|
6371
|
+
__typename?: 'PageInfo';
|
|
6372
|
+
hasNextPage: boolean;
|
|
6373
|
+
hasPreviousPage: boolean;
|
|
6374
|
+
startCursor?: string | null;
|
|
6375
|
+
endCursor?: string | null;
|
|
6376
|
+
};
|
|
6377
|
+
};
|
|
6378
|
+
};
|
|
6379
|
+
};
|
|
6380
|
+
};
|
|
6321
6381
|
export type CreateAppStoreConnectApiKeyMutationVariables = Exact<{
|
|
6322
6382
|
appStoreConnectApiKeyInput: AppStoreConnectApiKeyInput;
|
|
6323
6383
|
accountId: Scalars['ID']['input'];
|
|
@@ -7742,32 +7802,50 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
|
|
|
7742
7802
|
};
|
|
7743
7803
|
};
|
|
7744
7804
|
};
|
|
7745
|
-
export type
|
|
7805
|
+
export type AppStoreConnectApiKeysPaginatedByAccountQueryVariables = Exact<{
|
|
7746
7806
|
accountName: Scalars['String']['input'];
|
|
7807
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
7808
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7809
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
7810
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7747
7811
|
}>;
|
|
7748
|
-
export type
|
|
7812
|
+
export type AppStoreConnectApiKeysPaginatedByAccountQuery = {
|
|
7749
7813
|
__typename?: 'RootQuery';
|
|
7750
7814
|
account: {
|
|
7751
7815
|
__typename?: 'AccountQuery';
|
|
7752
7816
|
byName: {
|
|
7753
7817
|
__typename?: 'Account';
|
|
7754
7818
|
id: string;
|
|
7755
|
-
|
|
7756
|
-
__typename?: '
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7819
|
+
appStoreConnectApiKeysPaginated: {
|
|
7820
|
+
__typename?: 'AccountAppStoreConnectApiKeysConnection';
|
|
7821
|
+
edges: Array<{
|
|
7822
|
+
__typename?: 'AccountAppStoreConnectApiKeysEdge';
|
|
7823
|
+
cursor: string;
|
|
7824
|
+
node: {
|
|
7825
|
+
__typename?: 'AppStoreConnectApiKey';
|
|
7826
|
+
id: string;
|
|
7827
|
+
issuerIdentifier: string;
|
|
7828
|
+
keyIdentifier: string;
|
|
7829
|
+
name?: string | null;
|
|
7830
|
+
roles?: Array<AppStoreConnectUserRole> | null;
|
|
7831
|
+
createdAt: any;
|
|
7832
|
+
updatedAt: any;
|
|
7833
|
+
appleTeam?: {
|
|
7834
|
+
__typename?: 'AppleTeam';
|
|
7835
|
+
id: string;
|
|
7836
|
+
appleTeamIdentifier: string;
|
|
7837
|
+
appleTeamName?: string | null;
|
|
7838
|
+
} | null;
|
|
7839
|
+
};
|
|
7840
|
+
}>;
|
|
7841
|
+
pageInfo: {
|
|
7842
|
+
__typename?: 'PageInfo';
|
|
7843
|
+
hasNextPage: boolean;
|
|
7844
|
+
hasPreviousPage: boolean;
|
|
7845
|
+
startCursor?: string | null;
|
|
7846
|
+
endCursor?: string | null;
|
|
7847
|
+
};
|
|
7848
|
+
};
|
|
7771
7849
|
};
|
|
7772
7850
|
};
|
|
7773
7851
|
};
|
|
@@ -7790,37 +7868,6 @@ export type AppleAppIdentifierByBundleIdQuery = {
|
|
|
7790
7868
|
};
|
|
7791
7869
|
};
|
|
7792
7870
|
};
|
|
7793
|
-
export type AppleDevicesByAppleTeamQueryVariables = Exact<{
|
|
7794
|
-
accountId: Scalars['ID']['input'];
|
|
7795
|
-
appleTeamIdentifier: Scalars['String']['input'];
|
|
7796
|
-
}>;
|
|
7797
|
-
export type AppleDevicesByAppleTeamQuery = {
|
|
7798
|
-
__typename?: 'RootQuery';
|
|
7799
|
-
appleTeam: {
|
|
7800
|
-
__typename?: 'AppleTeamQuery';
|
|
7801
|
-
byAppleTeamIdentifier?: {
|
|
7802
|
-
__typename?: 'AppleTeam';
|
|
7803
|
-
id: string;
|
|
7804
|
-
appleTeamIdentifier: string;
|
|
7805
|
-
appleTeamName?: string | null;
|
|
7806
|
-
appleDevices: Array<{
|
|
7807
|
-
__typename?: 'AppleDevice';
|
|
7808
|
-
id: string;
|
|
7809
|
-
identifier: string;
|
|
7810
|
-
name?: string | null;
|
|
7811
|
-
model?: string | null;
|
|
7812
|
-
deviceClass?: AppleDeviceClass | null;
|
|
7813
|
-
createdAt: any;
|
|
7814
|
-
appleTeam: {
|
|
7815
|
-
__typename?: 'AppleTeam';
|
|
7816
|
-
id: string;
|
|
7817
|
-
appleTeamIdentifier: string;
|
|
7818
|
-
appleTeamName?: string | null;
|
|
7819
|
-
};
|
|
7820
|
-
}>;
|
|
7821
|
-
} | null;
|
|
7822
|
-
};
|
|
7823
|
-
};
|
|
7824
7871
|
export type AppleDevicesByTeamIdentifierQueryVariables = Exact<{
|
|
7825
7872
|
accountName: Scalars['String']['input'];
|
|
7826
7873
|
appleTeamIdentifier: Scalars['String']['input'];
|
|
@@ -7853,32 +7900,50 @@ export type AppleDevicesByTeamIdentifierQuery = {
|
|
|
7853
7900
|
};
|
|
7854
7901
|
};
|
|
7855
7902
|
};
|
|
7856
|
-
export type
|
|
7903
|
+
export type AppleDevicesPaginatedByAccountQueryVariables = Exact<{
|
|
7857
7904
|
accountName: Scalars['String']['input'];
|
|
7858
|
-
|
|
7905
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
7906
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7907
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
7908
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7909
|
+
filter?: InputMaybe<AppleDeviceFilterInput>;
|
|
7859
7910
|
}>;
|
|
7860
|
-
export type
|
|
7911
|
+
export type AppleDevicesPaginatedByAccountQuery = {
|
|
7861
7912
|
__typename?: 'RootQuery';
|
|
7862
7913
|
account: {
|
|
7863
7914
|
__typename?: 'AccountQuery';
|
|
7864
7915
|
byName: {
|
|
7865
7916
|
__typename?: 'Account';
|
|
7866
7917
|
id: string;
|
|
7867
|
-
|
|
7868
|
-
__typename?: '
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7918
|
+
appleDevicesPaginated: {
|
|
7919
|
+
__typename?: 'AccountAppleDevicesConnection';
|
|
7920
|
+
edges: Array<{
|
|
7921
|
+
__typename?: 'AccountAppleDevicesEdge';
|
|
7922
|
+
cursor: string;
|
|
7923
|
+
node: {
|
|
7924
|
+
__typename?: 'AppleDevice';
|
|
7925
|
+
id: string;
|
|
7926
|
+
identifier: string;
|
|
7927
|
+
name?: string | null;
|
|
7928
|
+
model?: string | null;
|
|
7929
|
+
deviceClass?: AppleDeviceClass | null;
|
|
7930
|
+
createdAt: any;
|
|
7931
|
+
appleTeam: {
|
|
7932
|
+
__typename?: 'AppleTeam';
|
|
7933
|
+
id: string;
|
|
7934
|
+
appleTeamIdentifier: string;
|
|
7935
|
+
appleTeamName?: string | null;
|
|
7936
|
+
};
|
|
7937
|
+
};
|
|
7938
|
+
}>;
|
|
7939
|
+
pageInfo: {
|
|
7940
|
+
__typename?: 'PageInfo';
|
|
7941
|
+
hasNextPage: boolean;
|
|
7942
|
+
hasPreviousPage: boolean;
|
|
7943
|
+
startCursor?: string | null;
|
|
7944
|
+
endCursor?: string | null;
|
|
7880
7945
|
};
|
|
7881
|
-
}
|
|
7946
|
+
};
|
|
7882
7947
|
};
|
|
7883
7948
|
};
|
|
7884
7949
|
};
|
|
@@ -7974,85 +8039,103 @@ export type AppleDistributionCertificateByAppQuery = {
|
|
|
7974
8039
|
};
|
|
7975
8040
|
};
|
|
7976
8041
|
};
|
|
7977
|
-
export type
|
|
8042
|
+
export type AppleDistributionCertificatesPaginatedByAccountQueryVariables = Exact<{
|
|
7978
8043
|
accountName: Scalars['String']['input'];
|
|
8044
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
8045
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
8046
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
8047
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7979
8048
|
}>;
|
|
7980
|
-
export type
|
|
8049
|
+
export type AppleDistributionCertificatesPaginatedByAccountQuery = {
|
|
7981
8050
|
__typename?: 'RootQuery';
|
|
7982
8051
|
account: {
|
|
7983
8052
|
__typename?: 'AccountQuery';
|
|
7984
8053
|
byName: {
|
|
7985
8054
|
__typename?: 'Account';
|
|
7986
8055
|
id: string;
|
|
7987
|
-
|
|
7988
|
-
__typename?: '
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
validityNotBefore: any;
|
|
7995
|
-
validityNotAfter: any;
|
|
7996
|
-
updatedAt: any;
|
|
7997
|
-
appleTeam?: {
|
|
7998
|
-
__typename?: 'AppleTeam';
|
|
7999
|
-
id: string;
|
|
8000
|
-
appleTeamIdentifier: string;
|
|
8001
|
-
appleTeamName?: string | null;
|
|
8002
|
-
} | null;
|
|
8003
|
-
iosAppBuildCredentialsList: Array<{
|
|
8004
|
-
__typename?: 'IosAppBuildCredentials';
|
|
8005
|
-
id: string;
|
|
8006
|
-
iosAppCredentials: {
|
|
8007
|
-
__typename?: 'IosAppCredentials';
|
|
8056
|
+
appleDistributionCertificatesPaginated: {
|
|
8057
|
+
__typename?: 'AccountAppleDistributionCertificatesConnection';
|
|
8058
|
+
edges: Array<{
|
|
8059
|
+
__typename?: 'AccountAppleDistributionCertificatesEdge';
|
|
8060
|
+
cursor: string;
|
|
8061
|
+
node: {
|
|
8062
|
+
__typename?: 'AppleDistributionCertificate';
|
|
8008
8063
|
id: string;
|
|
8009
|
-
|
|
8010
|
-
|
|
8064
|
+
certificateP12?: string | null;
|
|
8065
|
+
certificatePassword?: string | null;
|
|
8066
|
+
serialNumber: string;
|
|
8067
|
+
developerPortalIdentifier?: string | null;
|
|
8068
|
+
validityNotBefore: any;
|
|
8069
|
+
validityNotAfter: any;
|
|
8070
|
+
updatedAt: any;
|
|
8071
|
+
appleTeam?: {
|
|
8072
|
+
__typename?: 'AppleTeam';
|
|
8011
8073
|
id: string;
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8074
|
+
appleTeamIdentifier: string;
|
|
8075
|
+
appleTeamName?: string | null;
|
|
8076
|
+
} | null;
|
|
8077
|
+
iosAppBuildCredentialsList: Array<{
|
|
8078
|
+
__typename?: 'IosAppBuildCredentials';
|
|
8079
|
+
id: string;
|
|
8080
|
+
iosAppCredentials: {
|
|
8081
|
+
__typename?: 'IosAppCredentials';
|
|
8016
8082
|
id: string;
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
__typename?: 'SSOUser';
|
|
8020
|
-
id: string;
|
|
8021
|
-
username: string;
|
|
8022
|
-
} | {
|
|
8023
|
-
__typename?: 'User';
|
|
8083
|
+
app: {
|
|
8084
|
+
__typename?: 'App';
|
|
8024
8085
|
id: string;
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
role: Role;
|
|
8030
|
-
actor: {
|
|
8031
|
-
__typename?: 'Robot';
|
|
8032
|
-
id: string;
|
|
8033
|
-
} | {
|
|
8034
|
-
__typename?: 'SSOUser';
|
|
8035
|
-
id: string;
|
|
8036
|
-
} | {
|
|
8037
|
-
__typename?: 'User';
|
|
8086
|
+
fullName: string;
|
|
8087
|
+
slug: string;
|
|
8088
|
+
ownerAccount: {
|
|
8089
|
+
__typename?: 'Account';
|
|
8038
8090
|
id: string;
|
|
8091
|
+
name: string;
|
|
8092
|
+
ownerUserActor?: {
|
|
8093
|
+
__typename?: 'SSOUser';
|
|
8094
|
+
id: string;
|
|
8095
|
+
username: string;
|
|
8096
|
+
} | {
|
|
8097
|
+
__typename?: 'User';
|
|
8098
|
+
id: string;
|
|
8099
|
+
username: string;
|
|
8100
|
+
} | null;
|
|
8101
|
+
users: Array<{
|
|
8102
|
+
__typename?: 'UserPermission';
|
|
8103
|
+
role: Role;
|
|
8104
|
+
actor: {
|
|
8105
|
+
__typename?: 'Robot';
|
|
8106
|
+
id: string;
|
|
8107
|
+
} | {
|
|
8108
|
+
__typename?: 'SSOUser';
|
|
8109
|
+
id: string;
|
|
8110
|
+
} | {
|
|
8111
|
+
__typename?: 'User';
|
|
8112
|
+
id: string;
|
|
8113
|
+
};
|
|
8114
|
+
}>;
|
|
8039
8115
|
};
|
|
8040
|
-
}
|
|
8116
|
+
};
|
|
8117
|
+
appleAppIdentifier: {
|
|
8118
|
+
__typename?: 'AppleAppIdentifier';
|
|
8119
|
+
id: string;
|
|
8120
|
+
bundleIdentifier: string;
|
|
8121
|
+
};
|
|
8041
8122
|
};
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
}
|
|
8123
|
+
provisioningProfile?: {
|
|
8124
|
+
__typename?: 'AppleProvisioningProfile';
|
|
8125
|
+
id: string;
|
|
8126
|
+
developerPortalIdentifier?: string | null;
|
|
8127
|
+
} | null;
|
|
8128
|
+
}>;
|
|
8048
8129
|
};
|
|
8049
|
-
provisioningProfile?: {
|
|
8050
|
-
__typename?: 'AppleProvisioningProfile';
|
|
8051
|
-
id: string;
|
|
8052
|
-
developerPortalIdentifier?: string | null;
|
|
8053
|
-
} | null;
|
|
8054
8130
|
}>;
|
|
8055
|
-
|
|
8131
|
+
pageInfo: {
|
|
8132
|
+
__typename?: 'PageInfo';
|
|
8133
|
+
hasNextPage: boolean;
|
|
8134
|
+
hasPreviousPage: boolean;
|
|
8135
|
+
startCursor?: string | null;
|
|
8136
|
+
endCursor?: string | null;
|
|
8137
|
+
};
|
|
8138
|
+
};
|
|
8056
8139
|
};
|
|
8057
8140
|
};
|
|
8058
8141
|
};
|
|
@@ -8108,71 +8191,89 @@ export type AppleProvisioningProfilesByAppQuery = {
|
|
|
8108
8191
|
};
|
|
8109
8192
|
};
|
|
8110
8193
|
};
|
|
8111
|
-
export type
|
|
8194
|
+
export type ApplePushKeysPaginatedByAccountQueryVariables = Exact<{
|
|
8112
8195
|
accountName: Scalars['String']['input'];
|
|
8196
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
8197
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
8198
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
8199
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
8113
8200
|
}>;
|
|
8114
|
-
export type
|
|
8201
|
+
export type ApplePushKeysPaginatedByAccountQuery = {
|
|
8115
8202
|
__typename?: 'RootQuery';
|
|
8116
8203
|
account: {
|
|
8117
8204
|
__typename?: 'AccountQuery';
|
|
8118
8205
|
byName: {
|
|
8119
8206
|
__typename?: 'Account';
|
|
8120
8207
|
id: string;
|
|
8121
|
-
|
|
8122
|
-
__typename?: '
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
id: string;
|
|
8129
|
-
appleTeamIdentifier: string;
|
|
8130
|
-
appleTeamName?: string | null;
|
|
8131
|
-
} | null;
|
|
8132
|
-
iosAppCredentialsList: Array<{
|
|
8133
|
-
__typename?: 'IosAppCredentials';
|
|
8134
|
-
id: string;
|
|
8135
|
-
app: {
|
|
8136
|
-
__typename?: 'App';
|
|
8208
|
+
applePushKeysPaginated: {
|
|
8209
|
+
__typename?: 'AccountApplePushKeysConnection';
|
|
8210
|
+
edges: Array<{
|
|
8211
|
+
__typename?: 'AccountApplePushKeysEdge';
|
|
8212
|
+
cursor: string;
|
|
8213
|
+
node: {
|
|
8214
|
+
__typename?: 'ApplePushKey';
|
|
8137
8215
|
id: string;
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
__typename?: '
|
|
8216
|
+
keyIdentifier: string;
|
|
8217
|
+
updatedAt: any;
|
|
8218
|
+
appleTeam?: {
|
|
8219
|
+
__typename?: 'AppleTeam';
|
|
8142
8220
|
id: string;
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8221
|
+
appleTeamIdentifier: string;
|
|
8222
|
+
appleTeamName?: string | null;
|
|
8223
|
+
} | null;
|
|
8224
|
+
iosAppCredentialsList: Array<{
|
|
8225
|
+
__typename?: 'IosAppCredentials';
|
|
8226
|
+
id: string;
|
|
8227
|
+
app: {
|
|
8228
|
+
__typename?: 'App';
|
|
8150
8229
|
id: string;
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
role: Role;
|
|
8156
|
-
actor: {
|
|
8157
|
-
__typename?: 'Robot';
|
|
8158
|
-
id: string;
|
|
8159
|
-
} | {
|
|
8160
|
-
__typename?: 'SSOUser';
|
|
8161
|
-
id: string;
|
|
8162
|
-
} | {
|
|
8163
|
-
__typename?: 'User';
|
|
8230
|
+
fullName: string;
|
|
8231
|
+
slug: string;
|
|
8232
|
+
ownerAccount: {
|
|
8233
|
+
__typename?: 'Account';
|
|
8164
8234
|
id: string;
|
|
8235
|
+
name: string;
|
|
8236
|
+
ownerUserActor?: {
|
|
8237
|
+
__typename?: 'SSOUser';
|
|
8238
|
+
id: string;
|
|
8239
|
+
username: string;
|
|
8240
|
+
} | {
|
|
8241
|
+
__typename?: 'User';
|
|
8242
|
+
id: string;
|
|
8243
|
+
username: string;
|
|
8244
|
+
} | null;
|
|
8245
|
+
users: Array<{
|
|
8246
|
+
__typename?: 'UserPermission';
|
|
8247
|
+
role: Role;
|
|
8248
|
+
actor: {
|
|
8249
|
+
__typename?: 'Robot';
|
|
8250
|
+
id: string;
|
|
8251
|
+
} | {
|
|
8252
|
+
__typename?: 'SSOUser';
|
|
8253
|
+
id: string;
|
|
8254
|
+
} | {
|
|
8255
|
+
__typename?: 'User';
|
|
8256
|
+
id: string;
|
|
8257
|
+
};
|
|
8258
|
+
}>;
|
|
8165
8259
|
};
|
|
8166
|
-
}
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8260
|
+
};
|
|
8261
|
+
appleAppIdentifier: {
|
|
8262
|
+
__typename?: 'AppleAppIdentifier';
|
|
8263
|
+
id: string;
|
|
8264
|
+
bundleIdentifier: string;
|
|
8265
|
+
};
|
|
8266
|
+
}>;
|
|
8173
8267
|
};
|
|
8174
8268
|
}>;
|
|
8175
|
-
|
|
8269
|
+
pageInfo: {
|
|
8270
|
+
__typename?: 'PageInfo';
|
|
8271
|
+
hasNextPage: boolean;
|
|
8272
|
+
hasPreviousPage: boolean;
|
|
8273
|
+
startCursor?: string | null;
|
|
8274
|
+
endCursor?: string | null;
|
|
8275
|
+
};
|
|
8276
|
+
};
|
|
8176
8277
|
};
|
|
8177
8278
|
};
|
|
8178
8279
|
};
|
|
@@ -3,12 +3,13 @@ import { GradleBuildContext } from './gradle';
|
|
|
3
3
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
4
|
import { Client } from '../../vcs/vcs';
|
|
5
5
|
export declare const INVALID_APPLICATION_ID_MESSAGE = "Invalid format of Android applicationId. Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter.";
|
|
6
|
-
export declare function ensureApplicationIdIsDefinedForManagedProjectAsync({ graphqlClient, projectDir, projectId, exp, vcsClient, }: {
|
|
6
|
+
export declare function ensureApplicationIdIsDefinedForManagedProjectAsync({ graphqlClient, projectDir, projectId, exp, vcsClient, nonInteractive, }: {
|
|
7
7
|
graphqlClient: ExpoGraphqlClient;
|
|
8
8
|
projectDir: string;
|
|
9
9
|
projectId: string;
|
|
10
10
|
exp: ExpoConfig;
|
|
11
11
|
vcsClient: Client;
|
|
12
|
+
nonInteractive: boolean;
|
|
12
13
|
}): Promise<string>;
|
|
13
14
|
export declare class AmbiguousApplicationIdError extends Error {
|
|
14
15
|
constructor(message?: string);
|
|
@@ -17,7 +17,7 @@ const projectUtils_1 = require("../../project/projectUtils");
|
|
|
17
17
|
const prompts_1 = require("../../prompts");
|
|
18
18
|
const workflow_1 = require("../workflow");
|
|
19
19
|
exports.INVALID_APPLICATION_ID_MESSAGE = `Invalid format of Android applicationId. Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter.`;
|
|
20
|
-
async function ensureApplicationIdIsDefinedForManagedProjectAsync({ graphqlClient, projectDir, projectId, exp, vcsClient, }) {
|
|
20
|
+
async function ensureApplicationIdIsDefinedForManagedProjectAsync({ graphqlClient, projectDir, projectId, exp, vcsClient, nonInteractive, }) {
|
|
21
21
|
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID, vcsClient);
|
|
22
22
|
(0, assert_1.default)(workflow === eas_build_job_1.Workflow.MANAGED, 'This function should be called only for managed projects');
|
|
23
23
|
try {
|
|
@@ -26,7 +26,13 @@ async function ensureApplicationIdIsDefinedForManagedProjectAsync({ graphqlClien
|
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
catch {
|
|
29
|
-
return await configureApplicationIdAsync({
|
|
29
|
+
return await configureApplicationIdAsync({
|
|
30
|
+
graphqlClient,
|
|
31
|
+
projectDir,
|
|
32
|
+
projectId,
|
|
33
|
+
exp,
|
|
34
|
+
nonInteractive,
|
|
35
|
+
});
|
|
30
36
|
}
|
|
31
37
|
}
|
|
32
38
|
exports.ensureApplicationIdIsDefinedForManagedProjectAsync = ensureApplicationIdIsDefinedForManagedProjectAsync;
|
|
@@ -85,8 +91,11 @@ async function getApplicationIdAsync(projectDir, exp, vcsClient, gradleContext)
|
|
|
85
91
|
}
|
|
86
92
|
}
|
|
87
93
|
exports.getApplicationIdAsync = getApplicationIdAsync;
|
|
88
|
-
async function configureApplicationIdAsync({ graphqlClient, projectDir, projectId, exp, }) {
|
|
94
|
+
async function configureApplicationIdAsync({ graphqlClient, projectDir, projectId, exp, nonInteractive, }) {
|
|
89
95
|
var _a;
|
|
96
|
+
if (nonInteractive) {
|
|
97
|
+
throw new Error(`The "android.package" is required to be set in app config when running in non-interactive mode. ${(0, log_1.learnMore)('https://docs.expo.dev/versions/latest/config/app/#package')}`);
|
|
98
|
+
}
|
|
90
99
|
const paths = (0, config_1.getConfigFilePaths)(projectDir);
|
|
91
100
|
// we can't automatically update app.config.js
|
|
92
101
|
if (paths.dynamicConfigPath) {
|
|
@@ -3,7 +3,7 @@ import { Platform } from '@expo/eas-build-job';
|
|
|
3
3
|
import { BuildProfile } from '@expo/eas-json';
|
|
4
4
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
5
5
|
import { Client } from '../vcs/vcs';
|
|
6
|
-
export declare function getApplicationIdentifierAsync({ graphqlClient, projectDir, projectId, exp, buildProfile, platform, vcsClient, }: {
|
|
6
|
+
export declare function getApplicationIdentifierAsync({ graphqlClient, projectDir, projectId, exp, buildProfile, platform, vcsClient, nonInteractive, }: {
|
|
7
7
|
graphqlClient: ExpoGraphqlClient;
|
|
8
8
|
projectDir: string;
|
|
9
9
|
projectId: string;
|
|
@@ -11,4 +11,5 @@ export declare function getApplicationIdentifierAsync({ graphqlClient, projectDi
|
|
|
11
11
|
buildProfile: BuildProfile;
|
|
12
12
|
platform: Platform;
|
|
13
13
|
vcsClient: Client;
|
|
14
|
+
nonInteractive: boolean;
|
|
14
15
|
}): Promise<string>;
|
|
@@ -8,7 +8,7 @@ const bundleIdentifier_1 = require("./ios/bundleIdentifier");
|
|
|
8
8
|
const scheme_1 = require("./ios/scheme");
|
|
9
9
|
const target_1 = require("./ios/target");
|
|
10
10
|
const workflow_1 = require("./workflow");
|
|
11
|
-
async function getApplicationIdentifierAsync({ graphqlClient, projectDir, projectId, exp, buildProfile, platform, vcsClient, }) {
|
|
11
|
+
async function getApplicationIdentifierAsync({ graphqlClient, projectDir, projectId, exp, buildProfile, platform, vcsClient, nonInteractive, }) {
|
|
12
12
|
if (platform === eas_build_job_1.Platform.ANDROID) {
|
|
13
13
|
const profile = buildProfile;
|
|
14
14
|
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID, vcsClient);
|
|
@@ -19,6 +19,7 @@ async function getApplicationIdentifierAsync({ graphqlClient, projectDir, projec
|
|
|
19
19
|
projectId,
|
|
20
20
|
exp,
|
|
21
21
|
vcsClient,
|
|
22
|
+
nonInteractive,
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
25
|
const gradleContext = await (0, gradle_1.resolveGradleBuildContextAsync)(projectDir, profile, vcsClient);
|
|
@@ -34,6 +35,7 @@ async function getApplicationIdentifierAsync({ graphqlClient, projectDir, projec
|
|
|
34
35
|
projectId,
|
|
35
36
|
exp,
|
|
36
37
|
vcsClient,
|
|
38
|
+
nonInteractive,
|
|
37
39
|
});
|
|
38
40
|
}
|
|
39
41
|
const xcodeBuildContext = await (0, scheme_1.resolveXcodeBuildContextAsync)({ exp, projectDir, nonInteractive: false, vcsClient }, profile);
|