eas-cli 0.35.0 → 0.38.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 +37 -37
- package/build/analytics/common.d.ts +8 -0
- package/build/analytics/common.js +19 -0
- package/build/analytics/events.d.ts +43 -0
- package/build/analytics/events.js +51 -0
- package/build/{analytics.d.ts → analytics/rudderstackClient.d.ts} +0 -0
- package/build/{analytics.js → analytics/rudderstackClient.js} +2 -2
- package/build/build/android/build.d.ts +2 -1
- package/build/build/android/build.js +11 -9
- package/build/build/build.d.ts +0 -2
- package/build/build/build.js +19 -29
- package/build/build/configure.js +0 -1
- package/build/build/context.d.ts +19 -11
- package/build/build/context.js +0 -96
- package/build/build/createContext.d.ts +13 -0
- package/build/build/createContext.js +114 -0
- package/build/build/ios/UpdatesModule.js +3 -2
- package/build/build/ios/build.d.ts +2 -1
- package/build/build/ios/build.js +24 -19
- package/build/build/ios/credentials.js +3 -3
- package/build/build/ios/version.js +7 -3
- package/build/build/local.js +28 -26
- package/build/build/metadata.d.ts +1 -12
- package/build/build/metadata.js +24 -19
- package/build/build/types.d.ts +0 -1
- package/build/build/utils/devClient.d.ts +1 -2
- package/build/build/utils/repository.js +1 -0
- package/build/build/validate.d.ts +3 -3
- package/build/commandUtils/EasCommand.js +4 -4
- package/build/commands/branch/publish.js +24 -2
- package/build/commands/build/configure.js +2 -0
- package/build/commands/build/index.js +12 -17
- package/build/commands/channel/create.d.ts +6 -0
- package/build/commands/channel/create.js +2 -0
- package/build/commands/secret/create.js +0 -6
- package/build/commands/secret/delete.js +0 -6
- package/build/commands/secret/list.js +0 -6
- package/build/commands/submit.js +2 -11
- package/build/commands/webhook/create.js +1 -2
- package/build/commands/webhook/list.js +1 -1
- package/build/commands/webhook/update.js +1 -2
- package/build/credentials/android/actions/RemoveFcm.js +4 -4
- package/build/credentials/android/utils/keystore.js +67 -32
- package/build/credentials/ios/actions/AscApiKeyUtils.js +8 -7
- package/build/credentials/ios/actions/AssignAscApiKey.js +1 -1
- package/build/credentials/ios/actions/CreateAscApiKey.js +2 -2
- package/build/credentials/ios/actions/RemoveAscApiKey.js +6 -6
- package/build/credentials/ios/actions/SetUpAscApiKey.js +8 -8
- package/build/credentials/ios/actions/SetUpSubmissionCredentials.js +3 -3
- package/build/credentials/ios/appstore/ascApiKey.js +12 -12
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +11 -1
- package/build/credentials/ios/appstore/entitlements.d.ts +2 -2
- package/build/credentials/ios/appstore/entitlements.js +28 -21
- package/build/credentials/ios/credentials.js +2 -2
- package/build/credentials/ios/utils/printCredentials.js +1 -1
- package/build/credentials/manager/AndroidActions.js +3 -3
- package/build/credentials/manager/IosActions.js +5 -5
- package/build/credentials/manager/ManageIos.js +4 -4
- package/build/graphql/generated.d.ts +146 -54
- package/build/graphql/generated.js +1 -0
- package/build/graphql/mutations/KeystoreGenerationUrlMutation.d.ts +3 -0
- package/build/graphql/mutations/KeystoreGenerationUrlMutation.js +23 -0
- package/build/project/android/applicationId.d.ts +6 -0
- package/build/project/android/applicationId.js +39 -29
- package/build/project/android/gradle.js +3 -2
- package/build/project/android/gradleUtils.d.ts +1 -0
- package/build/project/ios/bundleIdentifier.d.ts +6 -1
- package/build/project/ios/bundleIdentifier.js +29 -18
- package/build/submit/BaseSubmitter.d.ts +20 -4
- package/build/submit/BaseSubmitter.js +34 -1
- package/build/submit/android/AndroidSubmitCommand.d.ts +1 -2
- package/build/submit/android/AndroidSubmitCommand.js +23 -35
- package/build/submit/android/AndroidSubmitter.d.ts +12 -8
- package/build/submit/android/AndroidSubmitter.js +30 -21
- package/build/submit/android/ServiceAccountSource.d.ts +3 -2
- package/build/submit/android/ServiceAccountSource.js +16 -4
- package/build/submit/context.d.ts +4 -0
- package/build/submit/context.js +16 -1
- package/build/submit/ios/AppSpecificPasswordSource.d.ts +8 -1
- package/build/submit/ios/AppSpecificPasswordSource.js +44 -4
- package/build/submit/ios/CredentialsServiceSource.d.ts +9 -5
- package/build/submit/ios/CredentialsServiceSource.js +22 -5
- package/build/submit/ios/IosSubmitCommand.d.ts +2 -2
- package/build/submit/ios/IosSubmitCommand.js +46 -53
- package/build/submit/ios/IosSubmitter.d.ts +17 -7
- package/build/submit/ios/IosSubmitter.js +55 -29
- package/build/submit/submit.js +13 -4
- package/build/user/User.js +1 -1
- package/build/{build/ios → utils}/plist.d.ts +1 -1
- package/build/{build/ios → utils}/plist.js +8 -2
- package/build/utils/profiles.d.ts +9 -4
- package/build/utils/profiles.js +14 -7
- package/build/vcs/clients/git.d.ts +2 -1
- package/build/vcs/clients/git.js +87 -6
- package/build/vcs/vcs.d.ts +4 -3
- package/build/vcs/vcs.js +3 -3
- package/build/webhooks/input.d.ts +2 -2
- package/build/webhooks/input.js +19 -2
- package/oclif.manifest.json +1 -1
- package/package.json +10 -10
- package/build/build/utils/analytics.d.ts +0 -22
- package/build/build/utils/analytics.js +0 -28
- package/build/project/isEasEnabledForProject.d.ts +0 -8
- package/build/project/isEasEnabledForProject.js +0 -33
- package/build/submit/android/AndroidPackageSource.d.ts +0 -17
- package/build/submit/android/AndroidPackageSource.js +0 -27
|
@@ -43,7 +43,7 @@ export declare type RootQuery = {
|
|
|
43
43
|
appleDeviceRegistrationRequest: AppleDeviceRegistrationRequestQuery;
|
|
44
44
|
/** Top-level query object for querying Apple Teams. */
|
|
45
45
|
appleTeam: AppleTeamQuery;
|
|
46
|
-
app
|
|
46
|
+
app: AppQuery;
|
|
47
47
|
/**
|
|
48
48
|
* Look up app by app id
|
|
49
49
|
* @deprecated Use 'byId' field under 'app'.
|
|
@@ -62,6 +62,8 @@ export declare type RootQuery = {
|
|
|
62
62
|
clientBuilds: ClientBuildQuery;
|
|
63
63
|
/** Top-level query object for querying Experimentation configuration. */
|
|
64
64
|
experimentation: ExperimentationQuery;
|
|
65
|
+
/** Top-level query object for querying Stripe Invoices. */
|
|
66
|
+
invoice: InvoiceQuery;
|
|
65
67
|
project: ProjectQuery;
|
|
66
68
|
snack: SnackQuery;
|
|
67
69
|
submissions: SubmissionQuery;
|
|
@@ -384,19 +386,31 @@ export declare type App = Project & {
|
|
|
384
386
|
fullName: Scalars['String'];
|
|
385
387
|
description: Scalars['String'];
|
|
386
388
|
slug: Scalars['String'];
|
|
387
|
-
updated: Scalars['DateTime'];
|
|
388
|
-
published: Scalars['Boolean'];
|
|
389
389
|
ownerAccount: Account;
|
|
390
|
+
privacySetting: AppPrivacy;
|
|
391
|
+
pushSecurityEnabled: Scalars['Boolean'];
|
|
392
|
+
/** Whether there have been any classic update publishes */
|
|
393
|
+
published: Scalars['Boolean'];
|
|
394
|
+
/** Time of last classic update publish */
|
|
395
|
+
updated: Scalars['DateTime'];
|
|
396
|
+
/** ID of latest classic update release */
|
|
397
|
+
latestReleaseId: Scalars['ID'];
|
|
398
|
+
/** Whether the latest classic update publish is using a deprecated SDK version */
|
|
399
|
+
isDeprecated: Scalars['Boolean'];
|
|
400
|
+
/** SDK version of the latest classic update publish, 0.0.0 otherwise */
|
|
401
|
+
sdkVersion: Scalars['String'];
|
|
402
|
+
/** Classic update release channel names (to be removed) */
|
|
403
|
+
releaseChannels: Array<Scalars['String']>;
|
|
404
|
+
/** Classic update release channel names that have at least one build */
|
|
405
|
+
buildsReleaseChannels: Array<Scalars['String']>;
|
|
406
|
+
/** githubUrl field from most recent classic update manifest */
|
|
390
407
|
githubUrl?: Maybe<Scalars['String']>;
|
|
408
|
+
/** android.playStoreUrl field from most recent classic update manifest */
|
|
391
409
|
playStoreUrl?: Maybe<Scalars['String']>;
|
|
410
|
+
/** ios.appStoreUrl field from most recent classic update manifest */
|
|
392
411
|
appStoreUrl?: Maybe<Scalars['String']>;
|
|
412
|
+
/** Info about the icon specified in the most recent classic update manifest */
|
|
393
413
|
icon?: Maybe<AppIcon>;
|
|
394
|
-
sdkVersion: Scalars['String'];
|
|
395
|
-
isDeprecated: Scalars['Boolean'];
|
|
396
|
-
privacySetting: AppPrivacy;
|
|
397
|
-
latestReleaseId: Scalars['ID'];
|
|
398
|
-
pushSecurityEnabled: Scalars['Boolean'];
|
|
399
|
-
releaseChannels: Array<Scalars['String']>;
|
|
400
414
|
/** (EAS Build) Builds associated with this app */
|
|
401
415
|
builds: Array<Build>;
|
|
402
416
|
buildJobs: Array<BuildJob>;
|
|
@@ -553,6 +567,11 @@ export declare type AppLatestReleaseForReleaseChannelArgs = {
|
|
|
553
567
|
platform: AppPlatform;
|
|
554
568
|
releaseChannel: Scalars['String'];
|
|
555
569
|
};
|
|
570
|
+
export declare enum AppPrivacy {
|
|
571
|
+
Public = "PUBLIC",
|
|
572
|
+
Unlisted = "UNLISTED",
|
|
573
|
+
Hidden = "HIDDEN"
|
|
574
|
+
}
|
|
556
575
|
export declare type AppIcon = {
|
|
557
576
|
__typename?: 'AppIcon';
|
|
558
577
|
url: Scalars['String'];
|
|
@@ -561,11 +580,6 @@ export declare type AppIcon = {
|
|
|
561
580
|
/** Nullable color palette of the app icon. If null, color palette couldn't be retrieved from external service (imgix) */
|
|
562
581
|
colorPalette?: Maybe<Scalars['JSON']>;
|
|
563
582
|
};
|
|
564
|
-
export declare enum AppPrivacy {
|
|
565
|
-
Public = "PUBLIC",
|
|
566
|
-
Unlisted = "UNLISTED",
|
|
567
|
-
Hidden = "HIDDEN"
|
|
568
|
-
}
|
|
569
583
|
export declare type BuildFilter = {
|
|
570
584
|
platform?: Maybe<AppPlatform>;
|
|
571
585
|
status?: Maybe<BuildStatus>;
|
|
@@ -830,7 +844,8 @@ export declare enum SubmissionStatus {
|
|
|
830
844
|
}
|
|
831
845
|
export declare type AndroidSubmissionConfig = {
|
|
832
846
|
__typename?: 'AndroidSubmissionConfig';
|
|
833
|
-
applicationIdentifier
|
|
847
|
+
/** @deprecated applicationIdentifier is deprecated and will be auto-detected on submit */
|
|
848
|
+
applicationIdentifier?: Maybe<Scalars['String']>;
|
|
834
849
|
/** @deprecated archiveType is deprecated and will be null */
|
|
835
850
|
archiveType?: Maybe<SubmissionAndroidArchiveType>;
|
|
836
851
|
track: SubmissionAndroidTrack;
|
|
@@ -855,7 +870,7 @@ export declare enum SubmissionAndroidReleaseStatus {
|
|
|
855
870
|
export declare type IosSubmissionConfig = {
|
|
856
871
|
__typename?: 'IosSubmissionConfig';
|
|
857
872
|
ascAppIdentifier: Scalars['String'];
|
|
858
|
-
appleIdUsername
|
|
873
|
+
appleIdUsername?: Maybe<Scalars['String']>;
|
|
859
874
|
ascApiKeyId?: Maybe<Scalars['String']>;
|
|
860
875
|
};
|
|
861
876
|
export declare type SubmissionError = {
|
|
@@ -1224,7 +1239,8 @@ export declare type WebhookFilter = {
|
|
|
1224
1239
|
event?: Maybe<WebhookType>;
|
|
1225
1240
|
};
|
|
1226
1241
|
export declare enum WebhookType {
|
|
1227
|
-
Build = "BUILD"
|
|
1242
|
+
Build = "BUILD",
|
|
1243
|
+
Submit = "SUBMIT"
|
|
1228
1244
|
}
|
|
1229
1245
|
export declare type Webhook = {
|
|
1230
1246
|
__typename?: 'Webhook';
|
|
@@ -1286,6 +1302,7 @@ export declare type SubscriptionDetails = {
|
|
|
1286
1302
|
endedAt?: Maybe<Scalars['DateTime']>;
|
|
1287
1303
|
trialEnd?: Maybe<Scalars['DateTime']>;
|
|
1288
1304
|
status?: Maybe<Scalars['String']>;
|
|
1305
|
+
isDowngrading?: Maybe<Scalars['Boolean']>;
|
|
1289
1306
|
};
|
|
1290
1307
|
export declare type AddonDetails = {
|
|
1291
1308
|
__typename?: 'AddonDetails';
|
|
@@ -1510,6 +1527,45 @@ export declare type ExperimentationQuery = {
|
|
|
1510
1527
|
/** Get experimentation unit to use for device experiments. In this case, it is the IP address. */
|
|
1511
1528
|
deviceExperimentationUnit: Scalars['ID'];
|
|
1512
1529
|
};
|
|
1530
|
+
export declare type InvoiceQuery = {
|
|
1531
|
+
__typename?: 'InvoiceQuery';
|
|
1532
|
+
/** Preview an upgrade subscription invoice, with proration */
|
|
1533
|
+
previewInvoiceForSubscriptionUpdate: Invoice;
|
|
1534
|
+
};
|
|
1535
|
+
export declare type InvoiceQueryPreviewInvoiceForSubscriptionUpdateArgs = {
|
|
1536
|
+
accountId: Scalars['String'];
|
|
1537
|
+
newPlanIdentifier: Scalars['String'];
|
|
1538
|
+
};
|
|
1539
|
+
export declare type Invoice = {
|
|
1540
|
+
__typename?: 'Invoice';
|
|
1541
|
+
id: Scalars['ID'];
|
|
1542
|
+
/** The total amount due for the invoice, in cents */
|
|
1543
|
+
amountDue: Scalars['Int'];
|
|
1544
|
+
/** The total amount that has been paid, considering any discounts or account credit. Value is in cents. */
|
|
1545
|
+
amountPaid: Scalars['Int'];
|
|
1546
|
+
/** The total amount that needs to be paid, considering any discounts or account credit. Value is in cents. */
|
|
1547
|
+
amountRemaining: Scalars['Int'];
|
|
1548
|
+
lineItems: Array<InvoiceLineItem>;
|
|
1549
|
+
period: InvoicePeriod;
|
|
1550
|
+
startingBalance: Scalars['Int'];
|
|
1551
|
+
subtotal: Scalars['Int'];
|
|
1552
|
+
total: Scalars['Int'];
|
|
1553
|
+
};
|
|
1554
|
+
export declare type InvoiceLineItem = {
|
|
1555
|
+
__typename?: 'InvoiceLineItem';
|
|
1556
|
+
id: Scalars['ID'];
|
|
1557
|
+
description: Scalars['String'];
|
|
1558
|
+
/** Line-item amount in cents */
|
|
1559
|
+
amount: Scalars['Int'];
|
|
1560
|
+
period: InvoicePeriod;
|
|
1561
|
+
proration: Scalars['Boolean'];
|
|
1562
|
+
quantity: Scalars['Int'];
|
|
1563
|
+
};
|
|
1564
|
+
export declare type InvoicePeriod = {
|
|
1565
|
+
__typename?: 'InvoicePeriod';
|
|
1566
|
+
start: Scalars['DateTime'];
|
|
1567
|
+
end: Scalars['DateTime'];
|
|
1568
|
+
};
|
|
1513
1569
|
export declare type ProjectQuery = {
|
|
1514
1570
|
__typename?: 'ProjectQuery';
|
|
1515
1571
|
byAccountNameAndSlug: Project;
|
|
@@ -1642,6 +1698,7 @@ export declare type RootMutation = {
|
|
|
1642
1698
|
iosAppBuildCredentials: IosAppBuildCredentialsMutation;
|
|
1643
1699
|
/** Mutations that modify the credentials for an iOS app */
|
|
1644
1700
|
iosAppCredentials: IosAppCredentialsMutation;
|
|
1701
|
+
keystoreGenerationUrl: KeystoreGenerationUrlMutation;
|
|
1645
1702
|
/** Mutations that create, update, and delete Robots */
|
|
1646
1703
|
robot: RobotMutation;
|
|
1647
1704
|
/** Mutations that modify an EAS Submit submission */
|
|
@@ -1717,6 +1774,10 @@ export declare type AccountMutation = {
|
|
|
1717
1774
|
subscribeToProduct?: Maybe<Account>;
|
|
1718
1775
|
/** Cancels the active subscription */
|
|
1719
1776
|
cancelSubscription?: Maybe<Account>;
|
|
1777
|
+
/** Upgrades or downgrades the active subscription to the newPlanIdentifier, which must be one of the EAS plans (i.e., Production or Enterprise). */
|
|
1778
|
+
changePlan: Account;
|
|
1779
|
+
/** Cancel scheduled subscription change */
|
|
1780
|
+
cancelScheduledSubscriptionChange: Account;
|
|
1720
1781
|
/** 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
1782
|
requestRefund?: Maybe<Scalars['Boolean']>;
|
|
1722
1783
|
/**
|
|
@@ -1754,6 +1815,13 @@ export declare type AccountMutationSubscribeToProductArgs = {
|
|
|
1754
1815
|
export declare type AccountMutationCancelSubscriptionArgs = {
|
|
1755
1816
|
accountName: Scalars['ID'];
|
|
1756
1817
|
};
|
|
1818
|
+
export declare type AccountMutationChangePlanArgs = {
|
|
1819
|
+
accountID: Scalars['ID'];
|
|
1820
|
+
newPlanIdentifier: Scalars['String'];
|
|
1821
|
+
};
|
|
1822
|
+
export declare type AccountMutationCancelScheduledSubscriptionChangeArgs = {
|
|
1823
|
+
accountID: Scalars['ID'];
|
|
1824
|
+
};
|
|
1757
1825
|
export declare type AccountMutationRequestRefundArgs = {
|
|
1758
1826
|
accountID: Scalars['ID'];
|
|
1759
1827
|
chargeIdentifier: Scalars['ID'];
|
|
@@ -2369,6 +2437,16 @@ export declare type IosAppCredentialsInput = {
|
|
|
2369
2437
|
pushKeyId?: Maybe<Scalars['ID']>;
|
|
2370
2438
|
appStoreConnectApiKeyForSubmissionsId?: Maybe<Scalars['ID']>;
|
|
2371
2439
|
};
|
|
2440
|
+
export declare type KeystoreGenerationUrlMutation = {
|
|
2441
|
+
__typename?: 'KeystoreGenerationUrlMutation';
|
|
2442
|
+
/** Create a Keystore Generation URL */
|
|
2443
|
+
createKeystoreGenerationUrl: KeystoreGenerationUrl;
|
|
2444
|
+
};
|
|
2445
|
+
export declare type KeystoreGenerationUrl = {
|
|
2446
|
+
__typename?: 'KeystoreGenerationUrl';
|
|
2447
|
+
id: Scalars['ID'];
|
|
2448
|
+
url: Scalars['String'];
|
|
2449
|
+
};
|
|
2372
2450
|
export declare type RobotMutation = {
|
|
2373
2451
|
__typename?: 'RobotMutation';
|
|
2374
2452
|
/** Create a Robot and grant it Permissions on an Account */
|
|
@@ -2478,7 +2556,7 @@ export declare type AndroidSubmissionConfigInput = {
|
|
|
2478
2556
|
googleServiceAccountKeyId?: Maybe<Scalars['String']>;
|
|
2479
2557
|
googleServiceAccountKeyJson?: Maybe<Scalars['String']>;
|
|
2480
2558
|
archiveUrl?: Maybe<Scalars['String']>;
|
|
2481
|
-
applicationIdentifier
|
|
2559
|
+
applicationIdentifier?: Maybe<Scalars['String']>;
|
|
2482
2560
|
track: SubmissionAndroidTrack;
|
|
2483
2561
|
releaseStatus?: Maybe<SubmissionAndroidReleaseStatus>;
|
|
2484
2562
|
changesNotSentForReview?: Maybe<Scalars['Boolean']>;
|
|
@@ -2937,7 +3015,7 @@ export declare type GetBranchInfoQueryVariables = Exact<{
|
|
|
2937
3015
|
export declare type GetBranchInfoQuery = ({
|
|
2938
3016
|
__typename?: 'RootQuery';
|
|
2939
3017
|
} & {
|
|
2940
|
-
app
|
|
3018
|
+
app: ({
|
|
2941
3019
|
__typename?: 'AppQuery';
|
|
2942
3020
|
} & {
|
|
2943
3021
|
byId: ({
|
|
@@ -2947,7 +3025,7 @@ export declare type GetBranchInfoQuery = ({
|
|
|
2947
3025
|
__typename?: 'UpdateBranch';
|
|
2948
3026
|
} & Pick<UpdateBranch, 'id' | 'name'>)>;
|
|
2949
3027
|
});
|
|
2950
|
-
})
|
|
3028
|
+
});
|
|
2951
3029
|
});
|
|
2952
3030
|
export declare type DeleteUpdateBranchMutationVariables = Exact<{
|
|
2953
3031
|
branchId: Scalars['ID'];
|
|
@@ -2970,7 +3048,7 @@ export declare type BranchesByAppQueryVariables = Exact<{
|
|
|
2970
3048
|
export declare type BranchesByAppQuery = ({
|
|
2971
3049
|
__typename?: 'RootQuery';
|
|
2972
3050
|
} & {
|
|
2973
|
-
app
|
|
3051
|
+
app: ({
|
|
2974
3052
|
__typename?: 'AppQuery';
|
|
2975
3053
|
} & {
|
|
2976
3054
|
byId: ({
|
|
@@ -2980,7 +3058,7 @@ export declare type BranchesByAppQuery = ({
|
|
|
2980
3058
|
__typename?: 'UpdateBranch';
|
|
2981
3059
|
} & Pick<UpdateBranch, 'id'> & UpdateBranchFragment)>;
|
|
2982
3060
|
});
|
|
2983
|
-
})
|
|
3061
|
+
});
|
|
2984
3062
|
});
|
|
2985
3063
|
export declare type GetUpdateGroupAsyncQueryVariables = Exact<{
|
|
2986
3064
|
group: Scalars['ID'];
|
|
@@ -3014,7 +3092,7 @@ export declare type ViewBranchQueryVariables = Exact<{
|
|
|
3014
3092
|
export declare type ViewBranchQuery = ({
|
|
3015
3093
|
__typename?: 'RootQuery';
|
|
3016
3094
|
} & {
|
|
3017
|
-
app
|
|
3095
|
+
app: ({
|
|
3018
3096
|
__typename?: 'AppQuery';
|
|
3019
3097
|
} & {
|
|
3020
3098
|
byId: ({
|
|
@@ -3034,7 +3112,7 @@ export declare type ViewBranchQuery = ({
|
|
|
3034
3112
|
})>;
|
|
3035
3113
|
})>;
|
|
3036
3114
|
});
|
|
3037
|
-
})
|
|
3115
|
+
});
|
|
3038
3116
|
});
|
|
3039
3117
|
export declare type CancelBuildMutationVariables = Exact<{
|
|
3040
3118
|
buildId: Scalars['ID'];
|
|
@@ -3073,7 +3151,7 @@ export declare type GetChannelByNameToEditQueryVariables = Exact<{
|
|
|
3073
3151
|
export declare type GetChannelByNameToEditQuery = ({
|
|
3074
3152
|
__typename?: 'RootQuery';
|
|
3075
3153
|
} & {
|
|
3076
|
-
app
|
|
3154
|
+
app: ({
|
|
3077
3155
|
__typename?: 'AppQuery';
|
|
3078
3156
|
} & {
|
|
3079
3157
|
byId: ({
|
|
@@ -3087,7 +3165,7 @@ export declare type GetChannelByNameToEditQuery = ({
|
|
|
3087
3165
|
} & Pick<UpdateBranch, 'id' | 'name'>)>;
|
|
3088
3166
|
})>;
|
|
3089
3167
|
});
|
|
3090
|
-
})
|
|
3168
|
+
});
|
|
3091
3169
|
});
|
|
3092
3170
|
export declare type UpdateChannelBranchMappingMutationVariables = Exact<{
|
|
3093
3171
|
channelId: Scalars['ID'];
|
|
@@ -3112,7 +3190,7 @@ export declare type GetAllChannelsForAppQueryVariables = Exact<{
|
|
|
3112
3190
|
export declare type GetAllChannelsForAppQuery = ({
|
|
3113
3191
|
__typename?: 'RootQuery';
|
|
3114
3192
|
} & {
|
|
3115
|
-
app
|
|
3193
|
+
app: ({
|
|
3116
3194
|
__typename?: 'AppQuery';
|
|
3117
3195
|
} & {
|
|
3118
3196
|
byId: ({
|
|
@@ -3136,7 +3214,7 @@ export declare type GetAllChannelsForAppQuery = ({
|
|
|
3136
3214
|
})>;
|
|
3137
3215
|
})>;
|
|
3138
3216
|
});
|
|
3139
|
-
})
|
|
3217
|
+
});
|
|
3140
3218
|
});
|
|
3141
3219
|
export declare type GetChannelByNameForAppQueryVariables = Exact<{
|
|
3142
3220
|
appId: Scalars['String'];
|
|
@@ -3145,7 +3223,7 @@ export declare type GetChannelByNameForAppQueryVariables = Exact<{
|
|
|
3145
3223
|
export declare type GetChannelByNameForAppQuery = ({
|
|
3146
3224
|
__typename?: 'RootQuery';
|
|
3147
3225
|
} & {
|
|
3148
|
-
app
|
|
3226
|
+
app: ({
|
|
3149
3227
|
__typename?: 'AppQuery';
|
|
3150
3228
|
} & {
|
|
3151
3229
|
byId: ({
|
|
@@ -3169,7 +3247,7 @@ export declare type GetChannelByNameForAppQuery = ({
|
|
|
3169
3247
|
})>;
|
|
3170
3248
|
})>;
|
|
3171
3249
|
});
|
|
3172
|
-
})
|
|
3250
|
+
});
|
|
3173
3251
|
});
|
|
3174
3252
|
export declare type AppInfoQueryVariables = Exact<{
|
|
3175
3253
|
appId: Scalars['String'];
|
|
@@ -3177,13 +3255,13 @@ export declare type AppInfoQueryVariables = Exact<{
|
|
|
3177
3255
|
export declare type AppInfoQuery = ({
|
|
3178
3256
|
__typename?: 'RootQuery';
|
|
3179
3257
|
} & {
|
|
3180
|
-
app
|
|
3258
|
+
app: ({
|
|
3181
3259
|
__typename?: 'AppQuery';
|
|
3182
3260
|
} & {
|
|
3183
3261
|
byId: ({
|
|
3184
3262
|
__typename?: 'App';
|
|
3185
3263
|
} & Pick<App, 'id' | 'fullName'>);
|
|
3186
|
-
})
|
|
3264
|
+
});
|
|
3187
3265
|
});
|
|
3188
3266
|
export declare type DeleteUpdateGroupMutationVariables = Exact<{
|
|
3189
3267
|
group: Scalars['ID'];
|
|
@@ -3386,7 +3464,7 @@ export declare type CommonAndroidAppCredentialsWithBuildCredentialsByApplication
|
|
|
3386
3464
|
export declare type CommonAndroidAppCredentialsWithBuildCredentialsByApplicationIdentifierQuery = ({
|
|
3387
3465
|
__typename?: 'RootQuery';
|
|
3388
3466
|
} & {
|
|
3389
|
-
app
|
|
3467
|
+
app: ({
|
|
3390
3468
|
__typename?: 'AppQuery';
|
|
3391
3469
|
} & {
|
|
3392
3470
|
byFullName: ({
|
|
@@ -3396,7 +3474,7 @@ export declare type CommonAndroidAppCredentialsWithBuildCredentialsByApplication
|
|
|
3396
3474
|
__typename?: 'AndroidAppCredentials';
|
|
3397
3475
|
} & Pick<AndroidAppCredentials, 'id'> & CommonAndroidAppCredentialsFragment)>;
|
|
3398
3476
|
});
|
|
3399
|
-
})
|
|
3477
|
+
});
|
|
3400
3478
|
});
|
|
3401
3479
|
export declare type GoogleServiceAccountKeyByAccountQueryVariables = Exact<{
|
|
3402
3480
|
accountName: Scalars['String'];
|
|
@@ -3721,13 +3799,13 @@ export declare type AppByFullNameQueryVariables = Exact<{
|
|
|
3721
3799
|
export declare type AppByFullNameQuery = ({
|
|
3722
3800
|
__typename?: 'RootQuery';
|
|
3723
3801
|
} & {
|
|
3724
|
-
app
|
|
3802
|
+
app: ({
|
|
3725
3803
|
__typename?: 'AppQuery';
|
|
3726
3804
|
} & {
|
|
3727
3805
|
byFullName: ({
|
|
3728
3806
|
__typename?: 'App';
|
|
3729
3807
|
} & Pick<App, 'id'> & AppFragment);
|
|
3730
|
-
})
|
|
3808
|
+
});
|
|
3731
3809
|
});
|
|
3732
3810
|
export declare type AppStoreConnectApiKeyByAccountQueryVariables = Exact<{
|
|
3733
3811
|
accountName: Scalars['String'];
|
|
@@ -3843,7 +3921,7 @@ export declare type AppleDistributionCertificateByAppQueryVariables = Exact<{
|
|
|
3843
3921
|
export declare type AppleDistributionCertificateByAppQuery = ({
|
|
3844
3922
|
__typename?: 'RootQuery';
|
|
3845
3923
|
} & {
|
|
3846
|
-
app
|
|
3924
|
+
app: ({
|
|
3847
3925
|
__typename?: 'AppQuery';
|
|
3848
3926
|
} & {
|
|
3849
3927
|
byFullName: ({
|
|
@@ -3865,7 +3943,7 @@ export declare type AppleDistributionCertificateByAppQuery = ({
|
|
|
3865
3943
|
})>;
|
|
3866
3944
|
})>;
|
|
3867
3945
|
});
|
|
3868
|
-
})
|
|
3946
|
+
});
|
|
3869
3947
|
});
|
|
3870
3948
|
export declare type AppleDistributionCertificateByAccountQueryVariables = Exact<{
|
|
3871
3949
|
accountName: Scalars['String'];
|
|
@@ -3893,7 +3971,7 @@ export declare type AppleProvisioningProfilesByAppQueryVariables = Exact<{
|
|
|
3893
3971
|
export declare type AppleProvisioningProfilesByAppQuery = ({
|
|
3894
3972
|
__typename?: 'RootQuery';
|
|
3895
3973
|
} & {
|
|
3896
|
-
app
|
|
3974
|
+
app: ({
|
|
3897
3975
|
__typename?: 'AppQuery';
|
|
3898
3976
|
} & {
|
|
3899
3977
|
byFullName: ({
|
|
@@ -3921,7 +3999,7 @@ export declare type AppleProvisioningProfilesByAppQuery = ({
|
|
|
3921
3999
|
})>;
|
|
3922
4000
|
})>;
|
|
3923
4001
|
});
|
|
3924
|
-
})
|
|
4002
|
+
});
|
|
3925
4003
|
});
|
|
3926
4004
|
export declare type ApplePushKeyByAccountQueryVariables = Exact<{
|
|
3927
4005
|
accountName: Scalars['String'];
|
|
@@ -3982,7 +4060,7 @@ export declare type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuer
|
|
|
3982
4060
|
export declare type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuery = ({
|
|
3983
4061
|
__typename?: 'RootQuery';
|
|
3984
4062
|
} & {
|
|
3985
|
-
app
|
|
4063
|
+
app: ({
|
|
3986
4064
|
__typename?: 'AppQuery';
|
|
3987
4065
|
} & {
|
|
3988
4066
|
byFullName: ({
|
|
@@ -3996,7 +4074,7 @@ export declare type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuer
|
|
|
3996
4074
|
} & Pick<IosAppBuildCredentials, 'id'> & IosAppBuildCredentialsFragment)>;
|
|
3997
4075
|
})>;
|
|
3998
4076
|
});
|
|
3999
|
-
})
|
|
4077
|
+
});
|
|
4000
4078
|
});
|
|
4001
4079
|
export declare type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQueryVariables = Exact<{
|
|
4002
4080
|
projectFullName: Scalars['String'];
|
|
@@ -4006,7 +4084,7 @@ export declare type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQueryV
|
|
|
4006
4084
|
export declare type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = ({
|
|
4007
4085
|
__typename?: 'RootQuery';
|
|
4008
4086
|
} & {
|
|
4009
|
-
app
|
|
4087
|
+
app: ({
|
|
4010
4088
|
__typename?: 'AppQuery';
|
|
4011
4089
|
} & {
|
|
4012
4090
|
byFullName: ({
|
|
@@ -4020,7 +4098,7 @@ export declare type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery
|
|
|
4020
4098
|
} & Pick<IosAppBuildCredentials, 'id'> & IosAppBuildCredentialsFragment)>;
|
|
4021
4099
|
} & CommonIosAppCredentialsWithoutBuildCredentialsFragment)>;
|
|
4022
4100
|
});
|
|
4023
|
-
})
|
|
4101
|
+
});
|
|
4024
4102
|
});
|
|
4025
4103
|
export declare type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQueryVariables = Exact<{
|
|
4026
4104
|
projectFullName: Scalars['String'];
|
|
@@ -4029,7 +4107,7 @@ export declare type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierId
|
|
|
4029
4107
|
export declare type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = ({
|
|
4030
4108
|
__typename?: 'RootQuery';
|
|
4031
4109
|
} & {
|
|
4032
|
-
app
|
|
4110
|
+
app: ({
|
|
4033
4111
|
__typename?: 'AppQuery';
|
|
4034
4112
|
} & {
|
|
4035
4113
|
byFullName: ({
|
|
@@ -4039,7 +4117,7 @@ export declare type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierId
|
|
|
4039
4117
|
__typename?: 'IosAppCredentials';
|
|
4040
4118
|
} & Pick<IosAppCredentials, 'id'> & CommonIosAppCredentialsFragment)>;
|
|
4041
4119
|
});
|
|
4042
|
-
})
|
|
4120
|
+
});
|
|
4043
4121
|
});
|
|
4044
4122
|
export declare type CreateAppMutationVariables = Exact<{
|
|
4045
4123
|
appInput: AppInput;
|
|
@@ -4145,6 +4223,20 @@ export declare type DeleteEnvironmentSecretMutation = ({
|
|
|
4145
4223
|
} & Pick<DeleteEnvironmentSecretResult, 'id'>);
|
|
4146
4224
|
});
|
|
4147
4225
|
});
|
|
4226
|
+
export declare type CreateKeystoreGenerationUrlMutationVariables = Exact<{
|
|
4227
|
+
[key: string]: never;
|
|
4228
|
+
}>;
|
|
4229
|
+
export declare type CreateKeystoreGenerationUrlMutation = ({
|
|
4230
|
+
__typename?: 'RootMutation';
|
|
4231
|
+
} & {
|
|
4232
|
+
keystoreGenerationUrl: ({
|
|
4233
|
+
__typename?: 'KeystoreGenerationUrlMutation';
|
|
4234
|
+
} & {
|
|
4235
|
+
createKeystoreGenerationUrl: ({
|
|
4236
|
+
__typename?: 'KeystoreGenerationUrl';
|
|
4237
|
+
} & Pick<KeystoreGenerationUrl, 'id' | 'url'>);
|
|
4238
|
+
});
|
|
4239
|
+
});
|
|
4148
4240
|
export declare type GetSignedUploadMutationVariables = Exact<{
|
|
4149
4241
|
contentTypes: Array<Scalars['String']>;
|
|
4150
4242
|
}>;
|
|
@@ -4290,7 +4382,7 @@ export declare type GetAllBuildsForAppQueryVariables = Exact<{
|
|
|
4290
4382
|
export declare type GetAllBuildsForAppQuery = ({
|
|
4291
4383
|
__typename?: 'RootQuery';
|
|
4292
4384
|
} & {
|
|
4293
|
-
app
|
|
4385
|
+
app: ({
|
|
4294
4386
|
__typename?: 'AppQuery';
|
|
4295
4387
|
} & {
|
|
4296
4388
|
byId: ({
|
|
@@ -4300,7 +4392,7 @@ export declare type GetAllBuildsForAppQuery = ({
|
|
|
4300
4392
|
__typename?: 'Build';
|
|
4301
4393
|
} & Pick<Build, 'id'> & BuildFragment)>;
|
|
4302
4394
|
});
|
|
4303
|
-
})
|
|
4395
|
+
});
|
|
4304
4396
|
});
|
|
4305
4397
|
export declare type EnvironmentSecretsByAccountNameQueryVariables = Exact<{
|
|
4306
4398
|
accountName: Scalars['String'];
|
|
@@ -4326,7 +4418,7 @@ export declare type EnvironmentSecretsByAppIdQueryVariables = Exact<{
|
|
|
4326
4418
|
export declare type EnvironmentSecretsByAppIdQuery = ({
|
|
4327
4419
|
__typename?: 'RootQuery';
|
|
4328
4420
|
} & {
|
|
4329
|
-
app
|
|
4421
|
+
app: ({
|
|
4330
4422
|
__typename?: 'AppQuery';
|
|
4331
4423
|
} & {
|
|
4332
4424
|
byId: ({
|
|
@@ -4336,7 +4428,7 @@ export declare type EnvironmentSecretsByAppIdQuery = ({
|
|
|
4336
4428
|
__typename?: 'EnvironmentSecret';
|
|
4337
4429
|
} & Pick<EnvironmentSecret, 'id'> & EnvironmentSecretFragment)>;
|
|
4338
4430
|
});
|
|
4339
|
-
})
|
|
4431
|
+
});
|
|
4340
4432
|
});
|
|
4341
4433
|
export declare type ProjectByUsernameAndSlugQueryVariables = Exact<{
|
|
4342
4434
|
username: Scalars['String'];
|
|
@@ -4393,7 +4485,7 @@ export declare type GetAllSubmissionsForAppQueryVariables = Exact<{
|
|
|
4393
4485
|
export declare type GetAllSubmissionsForAppQuery = ({
|
|
4394
4486
|
__typename?: 'RootQuery';
|
|
4395
4487
|
} & {
|
|
4396
|
-
app
|
|
4488
|
+
app: ({
|
|
4397
4489
|
__typename?: 'AppQuery';
|
|
4398
4490
|
} & {
|
|
4399
4491
|
byId: ({
|
|
@@ -4403,7 +4495,7 @@ export declare type GetAllSubmissionsForAppQuery = ({
|
|
|
4403
4495
|
__typename?: 'Submission';
|
|
4404
4496
|
} & Pick<Submission, 'id'> & SubmissionFragment)>;
|
|
4405
4497
|
});
|
|
4406
|
-
})
|
|
4498
|
+
});
|
|
4407
4499
|
});
|
|
4408
4500
|
export declare type CurrentUserQueryVariables = Exact<{
|
|
4409
4501
|
[key: string]: never;
|
|
@@ -4432,7 +4524,7 @@ export declare type WebhooksByAppIdQueryVariables = Exact<{
|
|
|
4432
4524
|
export declare type WebhooksByAppIdQuery = ({
|
|
4433
4525
|
__typename?: 'RootQuery';
|
|
4434
4526
|
} & {
|
|
4435
|
-
app
|
|
4527
|
+
app: ({
|
|
4436
4528
|
__typename?: 'AppQuery';
|
|
4437
4529
|
} & {
|
|
4438
4530
|
byId: ({
|
|
@@ -4442,7 +4534,7 @@ export declare type WebhooksByAppIdQuery = ({
|
|
|
4442
4534
|
__typename?: 'Webhook';
|
|
4443
4535
|
} & Pick<Webhook, 'id'> & WebhookFragment)>;
|
|
4444
4536
|
});
|
|
4445
|
-
})
|
|
4537
|
+
});
|
|
4446
4538
|
});
|
|
4447
4539
|
export declare type WebhookByIdQueryVariables = Exact<{
|
|
4448
4540
|
webhookId: Scalars['ID'];
|
|
@@ -176,6 +176,7 @@ var AndroidKeystoreType;
|
|
|
176
176
|
var WebhookType;
|
|
177
177
|
(function (WebhookType) {
|
|
178
178
|
WebhookType["Build"] = "BUILD";
|
|
179
|
+
WebhookType["Submit"] = "SUBMIT";
|
|
179
180
|
})(WebhookType = exports.WebhookType || (exports.WebhookType = {}));
|
|
180
181
|
var AppsFilter;
|
|
181
182
|
(function (AppsFilter) {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KeystoreGenerationUrlMutation = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = (0, tslib_1.__importDefault)(require("graphql-tag"));
|
|
6
|
+
const client_1 = require("../client");
|
|
7
|
+
exports.KeystoreGenerationUrlMutation = {
|
|
8
|
+
async createKeystoreGenerationUrlAsync() {
|
|
9
|
+
const data = await (0, client_1.withErrorHandlingAsync)(client_1.graphqlClient
|
|
10
|
+
.mutation((0, graphql_tag_1.default) `
|
|
11
|
+
mutation CreateKeystoreGenerationUrlMutation {
|
|
12
|
+
keystoreGenerationUrl {
|
|
13
|
+
createKeystoreGenerationUrl {
|
|
14
|
+
id
|
|
15
|
+
url
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
`)
|
|
20
|
+
.toPromise());
|
|
21
|
+
return data.keystoreGenerationUrl.createKeystoreGenerationUrl.url;
|
|
22
|
+
},
|
|
23
|
+
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { ExpoConfig } from '@expo/config';
|
|
2
2
|
import { GradleBuildContext } from './gradle';
|
|
3
|
+
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.";
|
|
3
4
|
export declare function ensureApplicationIdIsDefinedForManagedProjectAsync(projectDir: string, exp: ExpoConfig): Promise<string>;
|
|
5
|
+
export declare class AmbiguousApplicationIdError extends Error {
|
|
6
|
+
constructor(message?: string);
|
|
7
|
+
}
|
|
8
|
+
export declare function getApplicationIdFromBareAsync(projectDir: string, gradleContext?: GradleBuildContext): Promise<string>;
|
|
4
9
|
export declare function getApplicationIdAsync(projectDir: string, exp: ExpoConfig, gradleContext?: GradleBuildContext): Promise<string>;
|
|
10
|
+
export declare function isApplicationIdValid(applicationId: string): boolean;
|
|
5
11
|
export declare function warnIfAndroidPackageDefinedInAppConfigForBareWorkflowProject(projectDir: string, exp: ExpoConfig): void;
|