eas-cli 16.27.0 → 16.30.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 +97 -94
- package/build/analytics/AnalyticsManager.js +4 -4
- package/build/analytics/common.js +1 -2
- package/build/api.js +5 -5
- package/build/branch/delete.d.ts +5 -0
- package/build/branch/delete.js +23 -0
- package/build/branch/queries.js +5 -5
- package/build/branch/utils.js +2 -2
- package/build/build/android/build.js +3 -4
- package/build/build/android/graphql.js +1 -2
- package/build/build/android/prepareJob.js +1 -2
- package/build/build/android/syncProjectConfiguration.js +2 -3
- package/build/build/android/version.js +6 -6
- package/build/build/build.js +3 -4
- package/build/build/configure.js +4 -5
- package/build/build/context.d.ts +1 -0
- package/build/build/createContext.js +2 -2
- package/build/build/evaluateConfigWithEnvVarsAsync.js +1 -2
- package/build/build/graphql.js +7 -7
- package/build/build/ios/build.js +2 -3
- package/build/build/ios/credentials.js +2 -3
- package/build/build/ios/graphql.js +2 -3
- package/build/build/ios/prepareJob.js +2 -3
- package/build/build/ios/syncProjectConfiguration.js +1 -2
- package/build/build/ios/version.js +10 -10
- package/build/build/local.js +2 -2
- package/build/build/metadata.js +3 -4
- package/build/build/queries.js +4 -4
- package/build/build/runBuildAndSubmit.js +12 -3
- package/build/build/utils/appJson.js +2 -3
- package/build/build/utils/credentials.js +1 -2
- package/build/build/utils/devClient.js +1 -2
- package/build/build/utils/formatBuild.js +2 -3
- package/build/build/utils/printBuildInfo.js +4 -5
- package/build/build/utils/repository.js +8 -9
- package/build/build/utils/resourceClass.js +1 -2
- package/build/build/utils/url.js +8 -9
- package/build/build/utils/version.js +2 -3
- package/build/build/validate.js +3 -4
- package/build/channel/branch-mapping.js +24 -24
- package/build/channel/delete.d.ts +5 -0
- package/build/channel/delete.js +23 -0
- package/build/channel/print-utils.js +2 -3
- package/build/channel/queries.js +8 -8
- package/build/channel/utils.js +1 -2
- package/build/commandUtils/builds.js +3 -4
- package/build/commandUtils/context/contextUtils/createGraphqlClient.js +1 -2
- package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +2 -3
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +3 -4
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.js +1 -2
- package/build/commandUtils/experienceParser.d.ts +6 -0
- package/build/commandUtils/experienceParser.js +42 -0
- package/build/commandUtils/new/commands.js +3 -4
- package/build/commandUtils/new/configs.js +11 -9
- package/build/commandUtils/new/projectFiles.js +6 -7
- package/build/commandUtils/new/utils.js +1 -2
- package/build/commandUtils/projectNameValidation.d.ts +8 -0
- package/build/commandUtils/projectNameValidation.js +30 -0
- package/build/commandUtils/workflow/buildProfileUtils.js +12 -13
- package/build/commandUtils/workflow/creation.js +5 -5
- package/build/commandUtils/workflow/fetchLogs.js +2 -3
- package/build/commandUtils/workflow/inputs.js +5 -5
- package/build/commandUtils/workflow/stateMachine.js +7 -7
- package/build/commandUtils/workflow/utils.js +12 -12
- package/build/commandUtils/workflow/validation.js +4 -5
- package/build/commands/branch/delete.js +6 -20
- package/build/commands/build/cancel.js +1 -2
- package/build/commands/build/delete.js +1 -2
- package/build/commands/build/index.js +1 -10
- package/build/commands/channel/delete.js +7 -23
- package/build/commands/channel/edit.js +1 -2
- package/build/commands/channel/pause.js +1 -2
- package/build/commands/channel/resume.js +1 -2
- package/build/commands/deploy/index.js +1 -1
- package/build/commands/project/init.js +3 -1
- package/build/commands/project/new.js +3 -4
- package/build/commands/update/index.d.ts +8 -0
- package/build/commands/update/index.js +39 -2
- package/build/commands/update/list.d.ts +3 -0
- package/build/commands/update/list.js +30 -1
- package/build/commands/update/revert-update-rollout.js +1 -2
- package/build/credentials/android/actions/BuildCredentialsUtils.js +6 -7
- package/build/credentials/android/api/GraphqlClient.js +21 -21
- package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.d.ts +2 -2
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +5 -5
- package/build/credentials/android/utils/googleServiceAccountKey.js +4 -4
- package/build/credentials/android/utils/keystore.js +2 -3
- package/build/credentials/android/utils/keystoreNew.js +3 -4
- package/build/credentials/android/utils/printCredentials.js +3 -4
- package/build/credentials/credentialsJson/read.js +3 -4
- package/build/credentials/credentialsJson/update.js +2 -3
- package/build/credentials/credentialsJson/utils.js +2 -3
- package/build/credentials/ios/actions/AppleTeamFormatting.js +1 -2
- package/build/credentials/ios/actions/AppleTeamUtils.js +1 -2
- package/build/credentials/ios/actions/AscApiKeyUtils.js +10 -10
- package/build/credentials/ios/actions/BuildCredentialsUtils.js +7 -8
- package/build/credentials/ios/actions/DeviceUtils.js +2 -3
- package/build/credentials/ios/actions/DistributionCertificateUtils.js +4 -5
- package/build/credentials/ios/actions/ProvisioningProfileUtils.js +2 -3
- package/build/credentials/ios/actions/PushKeyUtils.js +5 -6
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +2 -2
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +6 -2
- package/build/credentials/ios/api/GraphqlClient.js +24 -25
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +5 -5
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.d.ts +8 -8
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.d.ts +5 -5
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.d.ts +5 -5
- package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.d.ts +1 -1
- package/build/credentials/ios/appstore/AppStoreApi.d.ts +0 -2
- package/build/credentials/ios/appstore/Credentials.js +4 -5
- package/build/credentials/ios/appstore/Credentials.types.d.ts +0 -1
- package/build/credentials/ios/appstore/CredentialsUtils.js +6 -7
- package/build/credentials/ios/appstore/ascApiKey.d.ts +0 -1
- package/build/credentials/ios/appstore/ascApiKey.js +6 -7
- package/build/credentials/ios/appstore/authenticate.d.ts +0 -1
- package/build/credentials/ios/appstore/authenticate.js +4 -5
- package/build/credentials/ios/appstore/authenticateTypes.d.ts +0 -1
- package/build/credentials/ios/appstore/bundleId.d.ts +0 -1
- package/build/credentials/ios/appstore/bundleId.js +2 -3
- package/build/credentials/ios/appstore/bundleIdCapabilities.d.ts +0 -1
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +3 -3
- package/build/credentials/ios/appstore/capabilityIdentifiers.d.ts +0 -1
- package/build/credentials/ios/appstore/capabilityIdentifiers.js +1 -2
- package/build/credentials/ios/appstore/capabilityList.d.ts +0 -1
- package/build/credentials/ios/appstore/contractMessages.d.ts +0 -1
- package/build/credentials/ios/appstore/contractMessages.js +2 -3
- package/build/credentials/ios/appstore/distributionCertificate.d.ts +0 -1
- package/build/credentials/ios/appstore/distributionCertificate.js +7 -7
- package/build/credentials/ios/appstore/ensureAppExists.d.ts +6 -1
- package/build/credentials/ios/appstore/ensureAppExists.js +55 -18
- package/build/credentials/ios/appstore/ensureTestFlightGroup.d.ts +0 -1
- package/build/credentials/ios/appstore/ensureTestFlightGroup.js +1 -2
- package/build/credentials/ios/appstore/keychain.js +4 -4
- package/build/credentials/ios/appstore/provisioningProfile.d.ts +0 -1
- package/build/credentials/ios/appstore/provisioningProfile.js +5 -5
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.d.ts +0 -1
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.js +1 -2
- package/build/credentials/ios/appstore/pushKey.js +4 -4
- package/build/credentials/ios/appstore/resolveCredentials.d.ts +0 -1
- package/build/credentials/ios/appstore/resolveCredentials.js +6 -7
- package/build/credentials/ios/credentials.d.ts +0 -1
- package/build/credentials/ios/credentials.js +2 -2
- package/build/credentials/ios/utils/authType.d.ts +0 -1
- package/build/credentials/ios/utils/authType.js +1 -2
- package/build/credentials/ios/utils/convertHTMLToASCII.js +1 -2
- package/build/credentials/ios/utils/p12Certificate.d.ts +0 -1
- package/build/credentials/ios/utils/p12Certificate.js +3 -4
- package/build/credentials/ios/utils/printCredentials.js +3 -4
- package/build/credentials/ios/utils/provisioningProfile.js +5 -6
- package/build/credentials/ios/validators/validateAscApiKey.js +2 -3
- package/build/credentials/ios/validators/validateDistributionCertificate.js +1 -2
- package/build/credentials/ios/validators/validateProvisioningProfile.js +1 -2
- package/build/credentials/ios/validators/validatePushKey.js +1 -2
- package/build/credentials/manager/IosActions.js +4 -4
- package/build/credentials/manager/SelectPlatform.js +1 -1
- package/build/credentials/utils/promptForCredentials.js +3 -4
- package/build/devices/actions/create/currentMachineMethod.js +1 -2
- package/build/devices/actions/create/developerPortalMethod.d.ts +0 -1
- package/build/devices/actions/create/developerPortalMethod.js +2 -3
- package/build/devices/actions/create/inputMethod.js +1 -2
- package/build/devices/actions/create/registrationUrlMethod.js +1 -2
- package/build/devices/actions/create/utils.js +4 -5
- package/build/devices/context.js +1 -2
- package/build/devices/queries.js +4 -4
- package/build/devices/udids.js +2 -3
- package/build/devices/utils/formatDevice.js +2 -3
- package/build/fetch.d.ts +0 -1
- package/build/fetch.js +1 -1
- package/build/fingerprint/cli.js +3 -4
- package/build/fingerprint/diff.js +1 -2
- package/build/fingerprint/types.d.ts +0 -1
- package/build/fingerprint/utils.js +4 -5
- package/build/graphql/client.js +2 -2
- package/build/graphql/generated.d.ts +331 -103
- package/build/graphql/generated.js +45 -3
- package/build/graphql/mutations/PublishMutation.d.ts +2 -2
- package/build/graphql/queries/AccountUsageQuery.d.ts +1 -1
- package/build/graphql/queries/AppVersionQuery.d.ts +1 -1
- package/build/graphql/queries/BackgroundJobReceiptQuery.d.ts +1 -1
- package/build/graphql/queries/BranchQuery.d.ts +3 -3
- package/build/graphql/queries/BuildQuery.d.ts +3 -3
- package/build/graphql/queries/ChannelQuery.d.ts +2 -2
- package/build/graphql/queries/ChannelQuery.js +2 -2
- package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +12 -12
- package/build/graphql/queries/FingerprintQuery.d.ts +6 -6
- package/build/graphql/queries/PublishQuery.d.ts +1 -1
- package/build/graphql/queries/SubmissionQuery.d.ts +1 -1
- package/build/graphql/queries/UserQuery.d.ts +1 -1
- package/build/graphql/queries/WorkflowJobQuery.d.ts +2 -2
- package/build/graphql/queries/WorkflowRunQuery.d.ts +4 -4
- package/build/graphql/types/AppPlatform.js +2 -3
- package/build/log.js +2 -3
- package/build/metadata/apple/config/reader.d.ts +0 -1
- package/build/metadata/apple/config/writer.d.ts +0 -1
- package/build/metadata/apple/data.d.ts +0 -1
- package/build/metadata/apple/tasks/age-rating.d.ts +0 -1
- package/build/metadata/apple/tasks/age-rating.js +0 -1
- package/build/metadata/apple/tasks/app-info.d.ts +0 -1
- package/build/metadata/apple/tasks/app-info.js +15 -4
- package/build/metadata/apple/tasks/app-review-detail.d.ts +0 -1
- package/build/metadata/apple/tasks/app-review-detail.js +0 -1
- package/build/metadata/apple/tasks/app-version.d.ts +0 -1
- package/build/metadata/apple/tasks/app-version.js +15 -3
- package/build/metadata/apple/tasks/index.js +1 -2
- package/build/metadata/apple/types.d.ts +0 -1
- package/build/metadata/auth.d.ts +0 -1
- package/build/metadata/auth.js +1 -2
- package/build/metadata/config/resolve.js +4 -5
- package/build/metadata/config/validate.js +1 -2
- package/build/metadata/download.js +1 -2
- package/build/metadata/errors.js +3 -3
- package/build/metadata/upload.js +1 -2
- package/build/metadata/utils/ajv.js +2 -3
- package/build/metadata/utils/asc.d.ts +0 -1
- package/build/metadata/utils/date.js +1 -2
- package/build/metadata/utils/log.js +1 -2
- package/build/metadata/utils/retry.js +2 -3
- package/build/metadata/utils/telemetry.d.ts +0 -1
- package/build/metadata/utils/telemetry.js +2 -3
- package/build/onboarding/git.js +3 -4
- package/build/onboarding/installDependencies.js +3 -3
- package/build/onboarding/runCommand.js +1 -2
- package/build/ora.js +1 -2
- package/build/platform.d.ts +1 -0
- package/build/platform.js +28 -10
- package/build/project/android/applicationId.js +6 -6
- package/build/project/android/gradle.js +1 -2
- package/build/project/android/gradleUtils.js +4 -4
- package/build/project/android/versions.js +3 -3
- package/build/project/applicationIdentifier.js +1 -2
- package/build/project/customBuildConfig.js +3 -4
- package/build/project/expoConfig.js +5 -6
- package/build/project/expoSdk.js +1 -2
- package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +2 -3
- package/build/project/ios/bundleIdentifier.js +6 -6
- package/build/project/ios/entitlements.js +2 -3
- package/build/project/ios/exemptEncryption.js +1 -2
- package/build/project/ios/scheme.js +2 -3
- package/build/project/ios/target.d.ts +0 -1
- package/build/project/ios/target.js +8 -9
- package/build/project/ios/versions.js +3 -3
- package/build/project/maybeUploadAssetMapAsync.js +1 -2
- package/build/project/maybeUploadFingerprintAsync.js +1 -2
- package/build/project/metroConfig.js +1 -2
- package/build/project/projectUtils.js +15 -16
- package/build/project/publish.d.ts +15 -2
- package/build/project/publish.js +56 -29
- package/build/project/remoteVersionSource.js +6 -6
- package/build/project/resolveRuntimeVersionAsync.js +2 -3
- package/build/project/uploadAccountScopedFileAsync.js +1 -2
- package/build/project/uploadAccountScopedProjectSourceAsync.js +1 -2
- package/build/project/workflow.js +3 -4
- package/build/prompts.js +5 -6
- package/build/rollout/branch-mapping.js +14 -15
- package/build/rollout/utils.js +5 -6
- package/build/run/android/aapt.js +2 -3
- package/build/run/android/adb.js +8 -9
- package/build/run/android/emulator.js +6 -6
- package/build/run/android/run.js +1 -2
- package/build/run/android/sdk.d.ts +0 -1
- package/build/run/android/sdk.js +2 -2
- package/build/run/android/systemRequirements.js +1 -2
- package/build/run/ios/run.js +1 -2
- package/build/run/ios/simctl.js +1 -2
- package/build/run/ios/simulator.js +9 -10
- package/build/run/ios/systemRequirements.js +1 -2
- package/build/run/ios/xcode.js +5 -5
- package/build/run/ios/xcrun.js +3 -4
- package/build/run/run.js +2 -3
- package/build/run/utils.js +1 -2
- package/build/submit/ArchiveSource.js +3 -3
- package/build/submit/android/ServiceAccountSource.js +4 -4
- package/build/submit/commons.js +2 -3
- package/build/submit/context.js +1 -2
- package/build/submit/ios/AppProduce.js +1 -2
- package/build/submit/ios/AppSpecificPasswordSource.js +3 -3
- package/build/submit/ios/AscApiKeySource.js +4 -4
- package/build/submit/ios/utils/language.js +1 -2
- package/build/submit/submit.js +3 -4
- package/build/submit/utils/builds.js +1 -2
- package/build/submit/utils/errors.js +1 -2
- package/build/submit/utils/files.js +2 -3
- package/build/submit/utils/logs.js +1 -2
- package/build/submit/utils/summary.js +2 -3
- package/build/submit/utils/urls.js +2 -3
- package/build/submit/utils/wait.js +2 -3
- package/build/update/android/UpdatesModule.js +2 -3
- package/build/update/configure.js +4 -4
- package/build/update/delete.js +1 -2
- package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js +1 -2
- package/build/update/ios/UpdatesModule.js +2 -3
- package/build/update/queries.d.ts +5 -3
- package/build/update/queries.js +12 -9
- package/build/update/republish.js +5 -6
- package/build/update/roll-back-to-embedded.js +1 -2
- package/build/update/utils.js +15 -15
- package/build/uploads.js +3 -4
- package/build/user/User.js +2 -3
- package/build/user/actions.js +1 -2
- package/build/user/expoSsoLauncher.js +1 -2
- package/build/user/fetchSessionSecretAndSsoUser.js +1 -2
- package/build/user/fetchSessionSecretAndUser.js +1 -2
- package/build/user/fetchUser.js +1 -2
- package/build/utils/code-signing.d.ts +0 -1
- package/build/utils/code-signing.js +7 -8
- package/build/utils/date.js +1 -2
- package/build/utils/download.js +2 -3
- package/build/utils/expoCli.js +4 -4
- package/build/utils/expoUpdatesCli.js +2 -2
- package/build/utils/expodash/areSetsEqual.js +1 -1
- package/build/utils/expodash/capitalize.js +1 -1
- package/build/utils/expodash/chunk.js +1 -1
- package/build/utils/expodash/differenceBy.js +1 -1
- package/build/utils/expodash/filter.js +1 -2
- package/build/utils/expodash/groupBy.js +1 -1
- package/build/utils/expodash/intersection.js +1 -1
- package/build/utils/expodash/mapMapAsync.js +1 -1
- package/build/utils/expodash/memoize.js +1 -2
- package/build/utils/expodash/pick.js +1 -1
- package/build/utils/expodash/sortBy.js +1 -1
- package/build/utils/expodash/uniq.js +1 -1
- package/build/utils/expodash/uniqBy.js +1 -1
- package/build/utils/expodash/zipObject.js +1 -1
- package/build/utils/files.js +2 -3
- package/build/utils/formatFields.js +1 -1
- package/build/utils/image.js +3 -3
- package/build/utils/json.js +2 -3
- package/build/utils/plist.d.ts +0 -1
- package/build/utils/plist.js +3 -4
- package/build/utils/pollForBackgroundJobReceiptAsync.js +2 -2
- package/build/utils/profiles.js +3 -4
- package/build/utils/progress.js +1 -2
- package/build/utils/promise.js +1 -2
- package/build/utils/prompts.js +8 -9
- package/build/utils/queries.js +2 -3
- package/build/utils/relay.js +4 -4
- package/build/utils/statuspageService.js +1 -2
- package/build/utils/timer.js +4 -5
- package/build/utils/usage/checkForOverages.js +4 -6
- package/build/utils/variableUtils.js +4 -5
- package/build/vcs/clients/git.js +1 -2
- package/build/vcs/git.js +5 -6
- package/build/vcs/index.js +1 -2
- package/build/vcs/local.js +2 -2
- package/build/webhooks/formatWebhook.js +1 -2
- package/build/webhooks/input.js +3 -4
- package/build/worker/assets.d.ts +0 -1
- package/build/worker/assets.js +6 -7
- package/build/worker/deployment.js +8 -9
- package/build/worker/mutations.d.ts +1 -1
- package/build/worker/queries.d.ts +4 -4
- package/build/worker/upload.d.ts +0 -2
- package/build/worker/upload.js +5 -6
- package/build/worker/utils/logs.js +5 -5
- package/build/worker/utils/multipart.js +3 -3
- package/oclif.manifest.json +35 -1
- package/package.json +13 -11
|
@@ -6,9 +6,9 @@
|
|
|
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.
|
|
11
|
-
exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.TargetEntityMutationType = void 0;
|
|
9
|
+
exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveEventName = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountAppsSortByField = void 0;
|
|
10
|
+
exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = void 0;
|
|
11
|
+
exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = void 0;
|
|
12
12
|
var AccountAppsSortByField;
|
|
13
13
|
(function (AccountAppsSortByField) {
|
|
14
14
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -54,6 +54,29 @@ var AppInternalDistributionBuildPrivacy;
|
|
|
54
54
|
AppInternalDistributionBuildPrivacy["Private"] = "PRIVATE";
|
|
55
55
|
AppInternalDistributionBuildPrivacy["Public"] = "PUBLIC";
|
|
56
56
|
})(AppInternalDistributionBuildPrivacy || (exports.AppInternalDistributionBuildPrivacy = AppInternalDistributionBuildPrivacy = {}));
|
|
57
|
+
var AppObserveEventName;
|
|
58
|
+
(function (AppObserveEventName) {
|
|
59
|
+
AppObserveEventName["BundleLoadTime"] = "BUNDLE_LOAD_TIME";
|
|
60
|
+
AppObserveEventName["LaunchTime"] = "LAUNCH_TIME";
|
|
61
|
+
AppObserveEventName["LoadTime"] = "LOAD_TIME";
|
|
62
|
+
AppObserveEventName["TimeToFirstRender"] = "TIME_TO_FIRST_RENDER";
|
|
63
|
+
AppObserveEventName["TimeToInteractive"] = "TIME_TO_INTERACTIVE";
|
|
64
|
+
})(AppObserveEventName || (exports.AppObserveEventName = AppObserveEventName = {}));
|
|
65
|
+
var AppObserveEventsOrderByDirection;
|
|
66
|
+
(function (AppObserveEventsOrderByDirection) {
|
|
67
|
+
AppObserveEventsOrderByDirection["Asc"] = "ASC";
|
|
68
|
+
AppObserveEventsOrderByDirection["Desc"] = "DESC";
|
|
69
|
+
})(AppObserveEventsOrderByDirection || (exports.AppObserveEventsOrderByDirection = AppObserveEventsOrderByDirection = {}));
|
|
70
|
+
var AppObserveEventsOrderByField;
|
|
71
|
+
(function (AppObserveEventsOrderByField) {
|
|
72
|
+
AppObserveEventsOrderByField["MetricValue"] = "METRIC_VALUE";
|
|
73
|
+
AppObserveEventsOrderByField["Timestamp"] = "TIMESTAMP";
|
|
74
|
+
})(AppObserveEventsOrderByField || (exports.AppObserveEventsOrderByField = AppObserveEventsOrderByField = {}));
|
|
75
|
+
var AppObservePlatform;
|
|
76
|
+
(function (AppObservePlatform) {
|
|
77
|
+
AppObservePlatform["Android"] = "ANDROID";
|
|
78
|
+
AppObservePlatform["Ios"] = "IOS";
|
|
79
|
+
})(AppObservePlatform || (exports.AppObservePlatform = AppObservePlatform = {}));
|
|
57
80
|
var AppPlatform;
|
|
58
81
|
(function (AppPlatform) {
|
|
59
82
|
AppPlatform["Android"] = "ANDROID";
|
|
@@ -65,6 +88,13 @@ var AppPrivacy;
|
|
|
65
88
|
AppPrivacy["Public"] = "PUBLIC";
|
|
66
89
|
AppPrivacy["Unlisted"] = "UNLISTED";
|
|
67
90
|
})(AppPrivacy || (exports.AppPrivacy = AppPrivacy = {}));
|
|
91
|
+
var AppProfileImageWidth;
|
|
92
|
+
(function (AppProfileImageWidth) {
|
|
93
|
+
AppProfileImageWidth["ExtraLarge"] = "EXTRA_LARGE";
|
|
94
|
+
AppProfileImageWidth["Large"] = "LARGE";
|
|
95
|
+
AppProfileImageWidth["Medium"] = "MEDIUM";
|
|
96
|
+
AppProfileImageWidth["Small"] = "SMALL";
|
|
97
|
+
})(AppProfileImageWidth || (exports.AppProfileImageWidth = AppProfileImageWidth = {}));
|
|
68
98
|
var AppSort;
|
|
69
99
|
(function (AppSort) {
|
|
70
100
|
/** Sort by recently published */
|
|
@@ -150,6 +180,7 @@ var BackgroundJobResultType;
|
|
|
150
180
|
BackgroundJobResultType["GithubBuild"] = "GITHUB_BUILD";
|
|
151
181
|
BackgroundJobResultType["UserAuditLogsExport"] = "USER_AUDIT_LOGS_EXPORT";
|
|
152
182
|
BackgroundJobResultType["Void"] = "VOID";
|
|
183
|
+
BackgroundJobResultType["WorkflowsInsightsExport"] = "WORKFLOWS_INSIGHTS_EXPORT";
|
|
153
184
|
})(BackgroundJobResultType || (exports.BackgroundJobResultType = BackgroundJobResultType = {}));
|
|
154
185
|
var BackgroundJobState;
|
|
155
186
|
(function (BackgroundJobState) {
|
|
@@ -930,3 +961,14 @@ var WorkflowRunTriggerEventType;
|
|
|
930
961
|
WorkflowRunTriggerEventType["Manual"] = "MANUAL";
|
|
931
962
|
WorkflowRunTriggerEventType["Schedule"] = "SCHEDULE";
|
|
932
963
|
})(WorkflowRunTriggerEventType || (exports.WorkflowRunTriggerEventType = WorkflowRunTriggerEventType = {}));
|
|
964
|
+
var WorkflowsInsightsExportFormat;
|
|
965
|
+
(function (WorkflowsInsightsExportFormat) {
|
|
966
|
+
WorkflowsInsightsExportFormat["Csv"] = "CSV";
|
|
967
|
+
WorkflowsInsightsExportFormat["Ndjson"] = "NDJSON";
|
|
968
|
+
})(WorkflowsInsightsExportFormat || (exports.WorkflowsInsightsExportFormat = WorkflowsInsightsExportFormat = {}));
|
|
969
|
+
var WorkflowsInsightsRunsOverTimeGranularity;
|
|
970
|
+
(function (WorkflowsInsightsRunsOverTimeGranularity) {
|
|
971
|
+
WorkflowsInsightsRunsOverTimeGranularity["Day"] = "DAY";
|
|
972
|
+
WorkflowsInsightsRunsOverTimeGranularity["Hour"] = "HOUR";
|
|
973
|
+
WorkflowsInsightsRunsOverTimeGranularity["Minute"] = "MINUTE";
|
|
974
|
+
})(WorkflowsInsightsRunsOverTimeGranularity || (exports.WorkflowsInsightsRunsOverTimeGranularity = WorkflowsInsightsRunsOverTimeGranularity = {}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { CodeSigningInfoInput, GetSignedUploadMutation, PublishUpdateGroupInput, SetCodeSigningInfoMutation, UpdateFragment } from '../generated';
|
|
3
3
|
export declare const PublishMutation: {
|
|
4
|
-
getUploadURLsAsync(graphqlClient: ExpoGraphqlClient, contentTypes: string[]): Promise<GetSignedUploadMutation[
|
|
4
|
+
getUploadURLsAsync(graphqlClient: ExpoGraphqlClient, contentTypes: string[]): Promise<GetSignedUploadMutation["asset"]["getSignedAssetUploadSpecifications"]>;
|
|
5
5
|
publishUpdateGroupAsync(graphqlClient: ExpoGraphqlClient, publishUpdateGroupsInput: PublishUpdateGroupInput[]): Promise<UpdateFragment[]>;
|
|
6
|
-
setCodeSigningInfoAsync(graphqlClient: ExpoGraphqlClient, updateId: string, codeSigningInfo: CodeSigningInfoInput): Promise<SetCodeSigningInfoMutation[
|
|
6
|
+
setCodeSigningInfoAsync(graphqlClient: ExpoGraphqlClient, updateId: string, codeSigningInfo: CodeSigningInfoInput): Promise<SetCodeSigningInfoMutation["update"]["setCodeSigningInfo"]>;
|
|
7
7
|
setRolloutPercentageAsync(graphqlClient: ExpoGraphqlClient, updateId: string, rolloutPercentage: number): Promise<UpdateFragment>;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { AccountUsageForOverageWarningQuery } from '../generated';
|
|
3
3
|
export declare const AccountUsageQuery: {
|
|
4
|
-
getUsageForOverageWarningAsync(graphqlClient: ExpoGraphqlClient, accountId: string, currentDate: Date): Promise<AccountUsageForOverageWarningQuery[
|
|
4
|
+
getUsageForOverageWarningAsync(graphqlClient: ExpoGraphqlClient, accountId: string, currentDate: Date): Promise<AccountUsageForOverageWarningQuery["account"]["byId"]>;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { AppPlatform, AppVersion } from '../generated';
|
|
3
3
|
export declare const AppVersionQuery: {
|
|
4
|
-
latestVersionAsync(graphqlClient: ExpoGraphqlClient, appId: string, platform: AppPlatform, applicationIdentifier: string): Promise<Pick<AppVersion,
|
|
4
|
+
latestVersionAsync(graphqlClient: ExpoGraphqlClient, appId: string, platform: AppPlatform, applicationIdentifier: string): Promise<Pick<AppVersion, "storeVersion" | "buildVersion"> | null>;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { BackgroundJobReceiptByIdQuery } from '../generated';
|
|
3
3
|
export declare const BackgroundJobReceiptQuery: {
|
|
4
|
-
byIdAsync(graphqlClient: ExpoGraphqlClient, backgroundJobReceiptId: string): Promise<BackgroundJobReceiptByIdQuery[
|
|
4
|
+
byIdAsync(graphqlClient: ExpoGraphqlClient, backgroundJobReceiptId: string): Promise<BackgroundJobReceiptByIdQuery["backgroundJobReceipt"]["byId"] | null>;
|
|
5
5
|
};
|
|
@@ -8,8 +8,8 @@ export declare const BranchQuery: {
|
|
|
8
8
|
branchName: string;
|
|
9
9
|
platform: AppPlatform;
|
|
10
10
|
runtimeVersion: string;
|
|
11
|
-
offset?: number
|
|
12
|
-
limit?: number
|
|
11
|
+
offset?: number;
|
|
12
|
+
limit?: number;
|
|
13
13
|
}): Promise<string[]>;
|
|
14
14
|
getLatestUpdateIdOnBranchAsync(graphqlClient: ExpoGraphqlClient, { appId, branchName, platform, runtimeVersion, }: {
|
|
15
15
|
appId: string;
|
|
@@ -18,6 +18,6 @@ export declare const BranchQuery: {
|
|
|
18
18
|
runtimeVersion: string;
|
|
19
19
|
}): Promise<string | null>;
|
|
20
20
|
listBranchesOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, limit, offset }: BranchesByAppQueryVariables): Promise<UpdateBranchFragment[]>;
|
|
21
|
-
listBranchesBasicInfoPaginatedOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, first, after, last, before }: BranchesBasicPaginatedOnAppQueryVariables): Promise<BranchesBasicPaginatedOnAppQuery[
|
|
21
|
+
listBranchesBasicInfoPaginatedOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, first, after, last, before }: BranchesBasicPaginatedOnAppQueryVariables): Promise<BranchesBasicPaginatedOnAppQuery["app"]["byId"]["branchesPaginated"]>;
|
|
22
22
|
listBranchesOnChannelAsync(graphqlClient: ExpoGraphqlClient, { appId, channelName, offset, limit }: ViewBranchesOnUpdateChannelQueryVariables): Promise<UpdateBranchOnChannelObject[]>;
|
|
23
23
|
};
|
|
@@ -2,13 +2,13 @@ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/creat
|
|
|
2
2
|
import { BuildFragment, BuildWithFingerprintFragment, BuildWithSubmissionsFragment, ViewBuildsOnAppQueryVariables } from '../generated';
|
|
3
3
|
export declare const BuildQuery: {
|
|
4
4
|
byIdAsync(graphqlClient: ExpoGraphqlClient, buildId: string, { useCache }?: {
|
|
5
|
-
useCache?: boolean
|
|
5
|
+
useCache?: boolean;
|
|
6
6
|
}): Promise<BuildFragment>;
|
|
7
7
|
withSubmissionsByIdAsync(graphqlClient: ExpoGraphqlClient, buildId: string, { useCache }?: {
|
|
8
|
-
useCache?: boolean
|
|
8
|
+
useCache?: boolean;
|
|
9
9
|
}): Promise<BuildWithSubmissionsFragment>;
|
|
10
10
|
withFingerprintByIdAsync(graphqlClient: ExpoGraphqlClient, buildId: string, { useCache }?: {
|
|
11
|
-
useCache?: boolean
|
|
11
|
+
useCache?: boolean;
|
|
12
12
|
}): Promise<BuildWithFingerprintFragment>;
|
|
13
13
|
viewBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, limit, offset, filter }: ViewBuildsOnAppQueryVariables): Promise<BuildFragment[]>;
|
|
14
14
|
};
|
|
@@ -6,9 +6,9 @@ export type UpdateChannelObject = ViewUpdateChannelsOnAppObject & UpdateChannelB
|
|
|
6
6
|
export type UpdateBranchObject = UpdateChannelObject['updateBranches'][number];
|
|
7
7
|
export declare function composeUpdateBranchObject(branchInfo: UpdateBranchBasicInfoFragment, updateGroups: UpdateFragment[][]): UpdateBranchObject;
|
|
8
8
|
export declare const ChannelQuery: {
|
|
9
|
-
viewUpdateChannelBasicInfoAsync(graphqlClient: ExpoGraphqlClient, { appId, channelName }: ViewUpdateChannelBasicInfoOnAppQueryVariables): Promise<NonNullable<ViewUpdateChannelBasicInfoOnAppQuery[
|
|
9
|
+
viewUpdateChannelBasicInfoAsync(graphqlClient: ExpoGraphqlClient, { appId, channelName }: ViewUpdateChannelBasicInfoOnAppQueryVariables): Promise<NonNullable<ViewUpdateChannelBasicInfoOnAppQuery["app"]["byId"]["updateChannelByName"]>>;
|
|
10
10
|
viewUpdateChannelAsync(graphqlClient: ExpoGraphqlClient, { appId, channelName, filter }: ViewUpdateChannelOnAppQueryVariables): Promise<UpdateChannelByNameObject>;
|
|
11
11
|
viewUpdateChannelsOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, limit, offset }: ViewUpdateChannelsOnAppQueryVariables): Promise<UpdateChannelObject[]>;
|
|
12
|
-
viewUpdateChannelsBasicInfoPaginatedOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, first, after, last, before }: ViewUpdateChannelsPaginatedOnAppQueryVariables): Promise<ViewUpdateChannelsPaginatedOnAppQuery[
|
|
12
|
+
viewUpdateChannelsBasicInfoPaginatedOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, first, after, last, before }: ViewUpdateChannelsPaginatedOnAppQueryVariables): Promise<ViewUpdateChannelsPaginatedOnAppQuery["app"]["byId"]["channelsPaginated"]>;
|
|
13
13
|
};
|
|
14
14
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChannelQuery =
|
|
3
|
+
exports.ChannelQuery = void 0;
|
|
4
|
+
exports.composeUpdateBranchObject = composeUpdateBranchObject;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const graphql_1 = require("graphql");
|
|
6
7
|
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
@@ -14,7 +15,6 @@ function composeUpdateBranchObject(branchInfo, updateGroups) {
|
|
|
14
15
|
updateGroups,
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
|
-
exports.composeUpdateBranchObject = composeUpdateBranchObject;
|
|
18
18
|
exports.ChannelQuery = {
|
|
19
19
|
async viewUpdateChannelBasicInfoAsync(graphqlClient, { appId, channelName }) {
|
|
20
20
|
const response = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
@@ -10,27 +10,27 @@ export declare const EnvironmentVariablesQuery: {
|
|
|
10
10
|
environmentVariableEnvironmentsAsync(graphqlClient: ExpoGraphqlClient, appId: string): Promise<string[]>;
|
|
11
11
|
byAppIdWithSensitiveAsync(graphqlClient: ExpoGraphqlClient, { appId, environment, filterNames, includeFileContent, }: {
|
|
12
12
|
appId: string;
|
|
13
|
-
environment?: string
|
|
14
|
-
filterNames?: string[]
|
|
15
|
-
includeFileContent?: boolean
|
|
13
|
+
environment?: string;
|
|
14
|
+
filterNames?: string[];
|
|
15
|
+
includeFileContent?: boolean;
|
|
16
16
|
}): Promise<EnvironmentVariableWithFileContent[]>;
|
|
17
17
|
byAppIdAsync(graphqlClient: ExpoGraphqlClient, { appId, environment, filterNames, includeFileContent, }: {
|
|
18
18
|
appId: string;
|
|
19
|
-
environment?: string
|
|
20
|
-
filterNames?: string[]
|
|
21
|
-
includeFileContent?: boolean
|
|
19
|
+
environment?: string;
|
|
20
|
+
filterNames?: string[];
|
|
21
|
+
includeFileContent?: boolean;
|
|
22
22
|
}): Promise<(EnvironmentVariableWithFileContent & EnvironmentVariableWithLinkedEnvironments)[]>;
|
|
23
23
|
sharedAsync(graphqlClient: ExpoGraphqlClient, { appId, filterNames, environment, includeFileContent, }: {
|
|
24
24
|
appId: string;
|
|
25
|
-
filterNames?: string[]
|
|
26
|
-
environment?: string
|
|
27
|
-
includeFileContent?: boolean
|
|
25
|
+
filterNames?: string[];
|
|
26
|
+
environment?: string;
|
|
27
|
+
includeFileContent?: boolean;
|
|
28
28
|
}): Promise<(EnvironmentVariableWithFileContent & EnvironmentVariableWithLinkedEnvironments)[]>;
|
|
29
29
|
sharedWithSensitiveAsync(graphqlClient: ExpoGraphqlClient, { appId, filterNames, environment, includeFileContent, }: {
|
|
30
30
|
appId: string;
|
|
31
|
-
filterNames?: string[]
|
|
32
|
-
environment?: string
|
|
33
|
-
includeFileContent?: boolean
|
|
31
|
+
filterNames?: string[];
|
|
32
|
+
environment?: string;
|
|
33
|
+
includeFileContent?: boolean;
|
|
34
34
|
}): Promise<EnvironmentVariableWithFileContent[]>;
|
|
35
35
|
};
|
|
36
36
|
export {};
|
|
@@ -7,10 +7,10 @@ export declare const FingerprintQuery: {
|
|
|
7
7
|
}): Promise<FingerprintFragment | null>;
|
|
8
8
|
getFingerprintsAsync(graphqlClient: ExpoGraphqlClient, { appId, first, after, last, before, fingerprintFilter, }: {
|
|
9
9
|
appId: string;
|
|
10
|
-
first?: number
|
|
11
|
-
after?: string
|
|
12
|
-
last?: number
|
|
13
|
-
before?: string
|
|
14
|
-
fingerprintFilter?: FingerprintFilterInput
|
|
15
|
-
}): Promise<FingerprintsByAppIdQuery[
|
|
10
|
+
first?: number;
|
|
11
|
+
after?: string;
|
|
12
|
+
last?: number;
|
|
13
|
+
before?: string;
|
|
14
|
+
fingerprintFilter?: FingerprintFilterInput;
|
|
15
|
+
}): Promise<FingerprintsByAppIdQuery["app"]["byId"]["fingerprintsPaginated"]>;
|
|
16
16
|
};
|
|
@@ -2,5 +2,5 @@ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/creat
|
|
|
2
2
|
import { AssetMetadataResult, GetAssetLimitPerUpdateGroupForAppQuery } from '../generated';
|
|
3
3
|
export declare const PublishQuery: {
|
|
4
4
|
getAssetMetadataAsync(graphqlClient: ExpoGraphqlClient, storageKeys: string[]): Promise<AssetMetadataResult[]>;
|
|
5
|
-
getAssetLimitPerUpdateGroupAsync(graphqlClient: ExpoGraphqlClient, appId: string): Promise<GetAssetLimitPerUpdateGroupForAppQuery[
|
|
5
|
+
getAssetLimitPerUpdateGroupAsync(graphqlClient: ExpoGraphqlClient, appId: string): Promise<GetAssetLimitPerUpdateGroupForAppQuery["app"]["byId"]["assetLimitPerUpdateGroup"]>;
|
|
6
6
|
};
|
|
@@ -8,7 +8,7 @@ type Filters = {
|
|
|
8
8
|
};
|
|
9
9
|
export declare const SubmissionQuery: {
|
|
10
10
|
byIdAsync(graphqlClient: ExpoGraphqlClient, submissionId: string, { useCache }?: {
|
|
11
|
-
useCache?: boolean
|
|
11
|
+
useCache?: boolean;
|
|
12
12
|
}): Promise<SubmissionFragment>;
|
|
13
13
|
allForAppAsync(graphqlClient: ExpoGraphqlClient, appId: string, { limit, offset, status, platform }: Filters): Promise<SubmissionFragment[]>;
|
|
14
14
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { CurrentUserQuery } from '../generated';
|
|
3
3
|
export declare const UserQuery: {
|
|
4
|
-
currentUserAsync(graphqlClient: ExpoGraphqlClient): Promise<CurrentUserQuery[
|
|
4
|
+
currentUserAsync(graphqlClient: ExpoGraphqlClient): Promise<CurrentUserQuery["meActor"]>;
|
|
5
5
|
};
|
|
@@ -2,6 +2,6 @@ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/creat
|
|
|
2
2
|
import { WorkflowJobByIdQuery } from '../generated';
|
|
3
3
|
export declare const WorkflowJobQuery: {
|
|
4
4
|
byIdAsync(graphqlClient: ExpoGraphqlClient, workflowJobId: string, { useCache }?: {
|
|
5
|
-
useCache?: boolean
|
|
6
|
-
}): Promise<WorkflowJobByIdQuery[
|
|
5
|
+
useCache?: boolean;
|
|
6
|
+
}): Promise<WorkflowJobByIdQuery["workflowJobs"]["byId"]>;
|
|
7
7
|
};
|
|
@@ -2,10 +2,10 @@ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/creat
|
|
|
2
2
|
import { WorkflowRunByIdQuery, WorkflowRunByIdWithJobsQuery, WorkflowRunFragment, WorkflowRunStatus } from '../generated';
|
|
3
3
|
export declare const WorkflowRunQuery: {
|
|
4
4
|
byIdAsync(graphqlClient: ExpoGraphqlClient, workflowRunId: string, { useCache }?: {
|
|
5
|
-
useCache?: boolean
|
|
6
|
-
}): Promise<WorkflowRunByIdQuery[
|
|
5
|
+
useCache?: boolean;
|
|
6
|
+
}): Promise<WorkflowRunByIdQuery["workflowRuns"]["byId"]>;
|
|
7
7
|
withJobsByIdAsync(graphqlClient: ExpoGraphqlClient, workflowRunId: string, { useCache }?: {
|
|
8
|
-
useCache?: boolean
|
|
9
|
-
}): Promise<WorkflowRunByIdWithJobsQuery[
|
|
8
|
+
useCache?: boolean;
|
|
9
|
+
}): Promise<WorkflowRunByIdWithJobsQuery["workflowRuns"]["byId"]>;
|
|
10
10
|
byAppIdFileNameAndStatusAsync(graphqlClient: ExpoGraphqlClient, appId: string, fileName: string, status?: WorkflowRunStatus, limit?: number): Promise<WorkflowRunFragment[]>;
|
|
11
11
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.toAppPlatform = toAppPlatform;
|
|
4
|
+
exports.toPlatform = toPlatform;
|
|
4
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
5
6
|
const generated_1 = require("../generated");
|
|
6
7
|
function toAppPlatform(platform) {
|
|
@@ -14,7 +15,6 @@ function toAppPlatform(platform) {
|
|
|
14
15
|
throw new Error(`Unsupported platform: ${platform}`);
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
|
-
exports.toAppPlatform = toAppPlatform;
|
|
18
18
|
function toPlatform(appPlatform) {
|
|
19
19
|
if (appPlatform === generated_1.AppPlatform.Android) {
|
|
20
20
|
return eas_build_job_1.Platform.ANDROID;
|
|
@@ -23,4 +23,3 @@ function toPlatform(appPlatform) {
|
|
|
23
23
|
return eas_build_job_1.Platform.IOS;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
exports.toPlatform = toPlatform;
|
package/build/log.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.link = link;
|
|
4
|
+
exports.learnMore = learnMore;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
7
|
const figures_1 = tslib_1.__importDefault(require("figures"));
|
|
@@ -93,7 +94,6 @@ function link(url, { text = url, fallback, dim = true } = {}) {
|
|
|
93
94
|
});
|
|
94
95
|
return dim ? chalk_1.default.dim(output) : output;
|
|
95
96
|
}
|
|
96
|
-
exports.link = link;
|
|
97
97
|
/**
|
|
98
98
|
* Provide a consistent "Learn more" link experience.
|
|
99
99
|
* Format links as dim (unless disabled) with an underline.
|
|
@@ -103,4 +103,3 @@ exports.link = link;
|
|
|
103
103
|
function learnMore(url, { learnMoreMessage: maybeLearnMoreMessage, dim = true, } = {}) {
|
|
104
104
|
return link(url, { text: maybeLearnMoreMessage ?? 'Learn more', dim });
|
|
105
105
|
}
|
|
106
|
-
exports.learnMore = learnMore;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@expo/apple-utils/ts-declarations/expo__app-store" />
|
|
2
1
|
import { AgeRatingDeclaration, AppInfoLocalization, AppStoreReviewDetail, AppStoreVersion, AppStoreVersionLocalization, AppStoreVersionPhasedRelease, CategoryIds } from '@expo/apple-utils';
|
|
3
2
|
import { AttributesOf } from '../../utils/asc';
|
|
4
3
|
import { AppleMetadata } from '../types';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@expo/apple-utils/ts-declarations/expo__app-store" />
|
|
2
1
|
import { AgeRatingDeclaration, AppInfo, AppInfoLocalization, AppStoreReviewDetail, AppStoreVersion, AppStoreVersionLocalization, AppStoreVersionPhasedRelease } from '@expo/apple-utils';
|
|
3
2
|
import { AttributesOf } from '../../utils/asc';
|
|
4
3
|
import { AppleMetadata } from '../types';
|
|
@@ -10,7 +10,6 @@ const task_1 = require("../task");
|
|
|
10
10
|
class AgeRatingTask extends task_1.AppleTask {
|
|
11
11
|
name = () => 'age rating declarations';
|
|
12
12
|
async prepareAsync({ context }) {
|
|
13
|
-
(0, assert_1.default)(context.version, `App version information is not prepared, can't update age rating`);
|
|
14
13
|
context.ageRating = (await context.version.getAgeRatingDeclarationAsync()) ?? undefined;
|
|
15
14
|
}
|
|
16
15
|
async downloadAsync({ config, context }) {
|
|
@@ -11,15 +11,26 @@ const task_1 = require("../task");
|
|
|
11
11
|
class AppInfoTask extends task_1.AppleTask {
|
|
12
12
|
name = () => 'app information';
|
|
13
13
|
async prepareAsync({ context }) {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
let info = await (0, retry_1.retryIfNullAsync)(() => context.app.getEditAppInfoAsync());
|
|
15
|
+
// Fallback to live app info if no editable info is found (for metadata:pull)
|
|
16
|
+
if (!info) {
|
|
17
|
+
info = await context.app.getLiveAppInfoAsync();
|
|
18
|
+
}
|
|
19
|
+
if (!info) {
|
|
20
|
+
// No app info available - this is OK for metadata:pull
|
|
21
|
+
// when the app hasn't been set up yet
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
16
24
|
context.info = info;
|
|
17
25
|
context.infoLocales = await info.getLocalizationsAsync();
|
|
18
26
|
}
|
|
19
27
|
async downloadAsync({ config, context }) {
|
|
20
|
-
|
|
28
|
+
if (!context.info) {
|
|
29
|
+
// No app info available to download - skip silently
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
21
32
|
config.setCategories(context.info.attributes);
|
|
22
|
-
for (const locale of context.infoLocales) {
|
|
33
|
+
for (const locale of context.infoLocales ?? []) {
|
|
23
34
|
config.setInfoLocale(locale.attributes);
|
|
24
35
|
}
|
|
25
36
|
}
|
|
@@ -11,7 +11,6 @@ const task_1 = require("../task");
|
|
|
11
11
|
class AppReviewDetailTask extends task_1.AppleTask {
|
|
12
12
|
name = () => 'app review detail';
|
|
13
13
|
async prepareAsync({ context }) {
|
|
14
|
-
(0, assert_1.default)(context.version, `App version not initialized, can't download store review details`);
|
|
15
14
|
context.reviewDetail = (await context.version.getAppStoreReviewDetailAsync()) ?? undefined;
|
|
16
15
|
}
|
|
17
16
|
async downloadAsync({ config, context }) {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@expo/apple-utils/ts-declarations/expo__app-store" />
|
|
2
1
|
import { AppStoreVersion, AppStoreVersionLocalization, AppStoreVersionPhasedRelease, Platform } from '@expo/apple-utils';
|
|
3
2
|
import { AppleTask, TaskDownloadOptions, TaskPrepareOptions, TaskUploadOptions } from '../task';
|
|
4
3
|
export type AppVersionOptions = {
|
|
@@ -22,7 +22,11 @@ class AppVersionTask extends task_1.AppleTask {
|
|
|
22
22
|
name = () => (this.options.editLive ? 'live app version' : 'editable app version');
|
|
23
23
|
async prepareAsync({ context }) {
|
|
24
24
|
const { version, versionIsFirst, versionIsLive } = await resolveVersionAsync(context.app, this.options);
|
|
25
|
-
|
|
25
|
+
if (!version) {
|
|
26
|
+
// No live or editable version available - this is OK for metadata:pull
|
|
27
|
+
// when the app hasn't been submitted yet
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
26
30
|
context.version = version;
|
|
27
31
|
context.versionIsFirst = versionIsFirst;
|
|
28
32
|
context.versionIsLive = versionIsLive;
|
|
@@ -30,11 +34,14 @@ class AppVersionTask extends task_1.AppleTask {
|
|
|
30
34
|
context.versionPhasedRelease = await version.getPhasedReleaseAsync();
|
|
31
35
|
}
|
|
32
36
|
async downloadAsync({ config, context }) {
|
|
33
|
-
|
|
37
|
+
if (!context.version) {
|
|
38
|
+
// No version available to download - skip silently
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
34
41
|
config.setVersion(context.version.attributes);
|
|
35
42
|
config.setVersionReleaseType(context.version.attributes);
|
|
36
43
|
config.setVersionReleasePhased(context.versionPhasedRelease?.attributes);
|
|
37
|
-
for (const locale of context.versionLocales) {
|
|
44
|
+
for (const locale of context.versionLocales ?? []) {
|
|
38
45
|
config.setVersionLocale(locale.attributes);
|
|
39
46
|
}
|
|
40
47
|
}
|
|
@@ -136,6 +143,11 @@ async function resolveVersionAsync(app, { editLive, platform, version: versionSt
|
|
|
136
143
|
if (!version) {
|
|
137
144
|
version = await (0, retry_1.retryIfNullAsync)(() => app.getEditAppStoreVersionAsync({ platform }));
|
|
138
145
|
}
|
|
146
|
+
// Fallback to live version if no editable version is found (for metadata:pull)
|
|
147
|
+
if (!version) {
|
|
148
|
+
version = await app.getLiveAppStoreVersionAsync({ platform });
|
|
149
|
+
versionIsLive = !!version;
|
|
150
|
+
}
|
|
139
151
|
const versions = await app.getAppStoreVersionsAsync({
|
|
140
152
|
query: { limit: 2, filter: { platform } },
|
|
141
153
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createAppleTasks =
|
|
3
|
+
exports.createAppleTasks = createAppleTasks;
|
|
4
4
|
const age_rating_1 = require("./age-rating");
|
|
5
5
|
const app_info_1 = require("./app-info");
|
|
6
6
|
const app_review_detail_1 = require("./app-review-detail");
|
|
@@ -16,4 +16,3 @@ function createAppleTasks({ version } = {}) {
|
|
|
16
16
|
new app_review_detail_1.AppReviewDetailTask(),
|
|
17
17
|
];
|
|
18
18
|
}
|
|
19
|
-
exports.createAppleTasks = createAppleTasks;
|
package/build/metadata/auth.d.ts
CHANGED
package/build/metadata/auth.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAppStoreAuthAsync =
|
|
3
|
+
exports.getAppStoreAuthAsync = getAppStoreAuthAsync;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
6
|
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
@@ -29,4 +29,3 @@ async function getAppStoreAuthAsync({ projectDir, profile, exp, credentialsCtx,
|
|
|
29
29
|
(0, assert_1.default)(app, `Failed to load app "${bundleId}" from App Store Connect`);
|
|
30
30
|
return { app, auth: authCtx.authState };
|
|
31
31
|
}
|
|
32
|
-
exports.getAppStoreAuthAsync = getAppStoreAuthAsync;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getStaticConfigFilePath = getStaticConfigFilePath;
|
|
4
|
+
exports.loadConfigAsync = loadConfigAsync;
|
|
5
|
+
exports.createAppleReader = createAppleReader;
|
|
6
|
+
exports.createAppleWriter = createAppleWriter;
|
|
4
7
|
const tslib_1 = require("tslib");
|
|
5
8
|
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
9
|
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
@@ -39,7 +42,6 @@ function getStaticConfigFilePath({ projectDir, profile, }) {
|
|
|
39
42
|
const configExtension = path_1.default.extname(configFile);
|
|
40
43
|
return path_1.default.join(projectDir, `${path_1.default.basename(configFile, configExtension)}.json`);
|
|
41
44
|
}
|
|
42
|
-
exports.getStaticConfigFilePath = getStaticConfigFilePath;
|
|
43
45
|
/**
|
|
44
46
|
* Load the store configuration from a metadata context.
|
|
45
47
|
* This can load `.json` and `.js` config files, using `require`.
|
|
@@ -60,16 +62,13 @@ async function loadConfigAsync({ projectDir, profile, skipValidation = false, })
|
|
|
60
62
|
}
|
|
61
63
|
return configData;
|
|
62
64
|
}
|
|
63
|
-
exports.loadConfigAsync = loadConfigAsync;
|
|
64
65
|
/** Create a versioned deserializer to fetch App Store data from the store configuration. */
|
|
65
66
|
function createAppleReader(config) {
|
|
66
67
|
(0, assert_1.default)(config.configVersion === 0, 'Unsupported store configuration version');
|
|
67
68
|
(0, assert_1.default)(config.apple !== undefined, 'No apple configuration found');
|
|
68
69
|
return new reader_1.AppleConfigReader(config.apple);
|
|
69
70
|
}
|
|
70
|
-
exports.createAppleReader = createAppleReader;
|
|
71
71
|
/** Create the serializer to write the App Store to the store configuration. */
|
|
72
72
|
function createAppleWriter() {
|
|
73
73
|
return new writer_1.AppleConfigWriter();
|
|
74
74
|
}
|
|
75
|
-
exports.createAppleWriter = createAppleWriter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateConfig =
|
|
3
|
+
exports.validateConfig = validateConfig;
|
|
4
4
|
const issue_1 = require("./issue");
|
|
5
5
|
const rules_1 = require("../apple/rules");
|
|
6
6
|
const ajv_1 = require("../utils/ajv");
|
|
@@ -28,7 +28,6 @@ function validateConfig(config) {
|
|
|
28
28
|
}
|
|
29
29
|
return issues;
|
|
30
30
|
}
|
|
31
|
-
exports.validateConfig = validateConfig;
|
|
32
31
|
/** Validate the set of rules against the parsed metadata config */
|
|
33
32
|
function validateRules(rules, config) {
|
|
34
33
|
const issues = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.downloadMetadataAsync =
|
|
3
|
+
exports.downloadMetadataAsync = downloadMetadataAsync;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
@@ -68,4 +68,3 @@ async function downloadMetadataAsync({ projectDir, profile, exp, analytics, cred
|
|
|
68
68
|
}
|
|
69
69
|
return filePath;
|
|
70
70
|
}
|
|
71
|
-
exports.downloadMetadataAsync = downloadMetadataAsync;
|