@donotuse/eas-cli 18.5.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2520 -0
- package/bin/dev +10 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +6 -0
- package/bin/run.cmd +3 -0
- package/build/ApiV2Error.d.ts +17 -0
- package/build/ApiV2Error.js +20 -0
- package/build/analytics/AnalyticsManager.d.ts +79 -0
- package/build/analytics/AnalyticsManager.js +189 -0
- package/build/analytics/common.d.ts +7 -0
- package/build/analytics/common.js +18 -0
- package/build/api.d.ts +23 -0
- package/build/api.js +111 -0
- package/build/branch/actions/SelectBranch.d.ts +33 -0
- package/build/branch/actions/SelectBranch.js +67 -0
- package/build/branch/delete.d.ts +5 -0
- package/build/branch/delete.js +23 -0
- package/build/branch/queries.d.ts +23 -0
- package/build/branch/queries.js +127 -0
- package/build/branch/utils.d.ts +5 -0
- package/build/branch/utils.js +13 -0
- package/build/build/android/build.d.ts +9 -0
- package/build/build/android/build.js +126 -0
- package/build/build/android/graphql.d.ts +3 -0
- package/build/build/android/graphql.js +40 -0
- package/build/build/android/prepareJob.d.ts +9 -0
- package/build/build/android/prepareJob.js +101 -0
- package/build/build/android/syncProjectConfiguration.d.ts +12 -0
- package/build/build/android/syncProjectConfiguration.js +57 -0
- package/build/build/android/version.d.ts +42 -0
- package/build/build/android/version.js +186 -0
- package/build/build/build.d.ts +32 -0
- package/build/build/build.js +530 -0
- package/build/build/configure.d.ts +27 -0
- package/build/build/configure.js +110 -0
- package/build/build/context.d.ts +64 -0
- package/build/build/context.js +2 -0
- package/build/build/createContext.d.ts +35 -0
- package/build/build/createContext.js +145 -0
- package/build/build/errors.d.ts +25 -0
- package/build/build/errors.js +40 -0
- package/build/build/evaluateConfigWithEnvVarsAsync.d.ts +14 -0
- package/build/build/evaluateConfigWithEnvVarsAsync.js +70 -0
- package/build/build/graphql.d.ts +13 -0
- package/build/build/graphql.js +106 -0
- package/build/build/ios/build.d.ts +5 -0
- package/build/build/ios/build.js +94 -0
- package/build/build/ios/credentials.d.ts +8 -0
- package/build/build/ios/credentials.js +43 -0
- package/build/build/ios/graphql.d.ts +6 -0
- package/build/build/ios/graphql.js +49 -0
- package/build/build/ios/prepareJob.d.ts +12 -0
- package/build/build/ios/prepareJob.js +119 -0
- package/build/build/ios/syncProjectConfiguration.d.ts +13 -0
- package/build/build/ios/syncProjectConfiguration.js +35 -0
- package/build/build/ios/version.d.ts +49 -0
- package/build/build/ios/version.js +273 -0
- package/build/build/local.d.ts +28 -0
- package/build/build/local.js +100 -0
- package/build/build/metadata.d.ts +8 -0
- package/build/build/metadata.js +137 -0
- package/build/build/queries.d.ts +22 -0
- package/build/build/queries.js +135 -0
- package/build/build/runBuildAndSubmit.d.ts +44 -0
- package/build/build/runBuildAndSubmit.js +420 -0
- package/build/build/types.d.ts +34 -0
- package/build/build/types.js +20 -0
- package/build/build/utils/appJson.d.ts +6 -0
- package/build/build/utils/appJson.js +25 -0
- package/build/build/utils/credentials.d.ts +3 -0
- package/build/build/utils/credentials.js +18 -0
- package/build/build/utils/devClient.d.ts +9 -0
- package/build/build/utils/devClient.js +96 -0
- package/build/build/utils/environment.d.ts +5 -0
- package/build/build/utils/environment.js +9 -0
- package/build/build/utils/formatBuild.d.ts +4 -0
- package/build/build/utils/formatBuild.js +157 -0
- package/build/build/utils/printBuildInfo.d.ts +5 -0
- package/build/build/utils/printBuildInfo.js +127 -0
- package/build/build/utils/repository.d.ts +19 -0
- package/build/build/utils/repository.js +195 -0
- package/build/build/utils/resourceClass.d.ts +4 -0
- package/build/build/utils/resourceClass.js +52 -0
- package/build/build/utils/url.d.ts +9 -0
- package/build/build/utils/url.js +46 -0
- package/build/build/utils/version.d.ts +7 -0
- package/build/build/utils/version.js +36 -0
- package/build/build/validate.d.ts +5 -0
- package/build/build/validate.js +159 -0
- package/build/channel/actions/SelectChannel.d.ts +33 -0
- package/build/channel/actions/SelectChannel.js +67 -0
- package/build/channel/branch-mapping.d.ts +55 -0
- package/build/channel/branch-mapping.js +145 -0
- package/build/channel/delete.d.ts +5 -0
- package/build/channel/delete.js +23 -0
- package/build/channel/errors.d.ts +3 -0
- package/build/channel/errors.js +9 -0
- package/build/channel/print-utils.d.ts +7 -0
- package/build/channel/print-utils.js +57 -0
- package/build/channel/queries.d.ts +46 -0
- package/build/channel/queries.js +274 -0
- package/build/channel/utils.d.ts +13 -0
- package/build/channel/utils.js +15 -0
- package/build/commandUtils/EasCommand.d.ts +151 -0
- package/build/commandUtils/EasCommand.js +214 -0
- package/build/commandUtils/builds.d.ts +16 -0
- package/build/commandUtils/builds.js +84 -0
- package/build/commandUtils/context/AnalyticsContextField.d.ts +5 -0
- package/build/commandUtils/context/AnalyticsContextField.js +10 -0
- package/build/commandUtils/context/ContextField.d.ts +16 -0
- package/build/commandUtils/context/ContextField.js +5 -0
- package/build/commandUtils/context/DynamicLoggedInContextField.d.ts +14 -0
- package/build/commandUtils/context/DynamicLoggedInContextField.js +25 -0
- package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +14 -0
- package/build/commandUtils/context/DynamicProjectConfigContextField.js +84 -0
- package/build/commandUtils/context/LoggedInContextField.d.ts +15 -0
- package/build/commandUtils/context/LoggedInContextField.js +23 -0
- package/build/commandUtils/context/MaybeLoggedInContextField.d.ts +17 -0
- package/build/commandUtils/context/MaybeLoggedInContextField.js +25 -0
- package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.d.ts +13 -0
- package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.js +52 -0
- package/build/commandUtils/context/PrivateProjectConfigContextField.d.ts +13 -0
- package/build/commandUtils/context/PrivateProjectConfigContextField.js +39 -0
- package/build/commandUtils/context/ProjectDirContextField.d.ts +4 -0
- package/build/commandUtils/context/ProjectDirContextField.js +11 -0
- package/build/commandUtils/context/ProjectIdContextField.d.ts +4 -0
- package/build/commandUtils/context/ProjectIdContextField.js +19 -0
- package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.d.ts +5 -0
- package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.js +36 -0
- package/build/commandUtils/context/SessionManagementContextField.d.ts +5 -0
- package/build/commandUtils/context/SessionManagementContextField.js +10 -0
- package/build/commandUtils/context/VcsClientContextField.d.ts +7 -0
- package/build/commandUtils/context/VcsClientContextField.js +19 -0
- package/build/commandUtils/context/contextUtils/createGraphqlClient.d.ts +7 -0
- package/build/commandUtils/context/contextUtils/createGraphqlClient.js +41 -0
- package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.d.ts +19 -0
- package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +103 -0
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +38 -0
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +139 -0
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.d.ts +6 -0
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.js +30 -0
- package/build/commandUtils/errors.d.ts +3 -0
- package/build/commandUtils/errors.js +11 -0
- package/build/commandUtils/experienceParser.d.ts +6 -0
- package/build/commandUtils/experienceParser.js +42 -0
- package/build/commandUtils/flags.d.ts +43 -0
- package/build/commandUtils/flags.js +88 -0
- package/build/commandUtils/gating/FeatureGateEnvOverrides.d.ts +7 -0
- package/build/commandUtils/gating/FeatureGateEnvOverrides.js +34 -0
- package/build/commandUtils/gating/FeatureGateKey.d.ts +4 -0
- package/build/commandUtils/gating/FeatureGateKey.js +11 -0
- package/build/commandUtils/gating/FeatureGateTestOverrides.d.ts +5 -0
- package/build/commandUtils/gating/FeatureGateTestOverrides.js +17 -0
- package/build/commandUtils/gating/FeatureGating.d.ts +16 -0
- package/build/commandUtils/gating/FeatureGating.js +61 -0
- package/build/commandUtils/new/commands.d.ts +4 -0
- package/build/commandUtils/new/commands.js +69 -0
- package/build/commandUtils/new/configs.d.ts +24 -0
- package/build/commandUtils/new/configs.js +129 -0
- package/build/commandUtils/new/projectFiles.d.ts +8 -0
- package/build/commandUtils/new/projectFiles.js +157 -0
- package/build/commandUtils/new/templates/.eas/workflows/create-development-builds.yml +21 -0
- package/build/commandUtils/new/templates/.eas/workflows/create-draft.yml +15 -0
- package/build/commandUtils/new/templates/.eas/workflows/deploy-to-production.yml +68 -0
- package/build/commandUtils/new/templates/AGENTS.md +162 -0
- package/build/commandUtils/new/templates/CLAUDE.md +9 -0
- package/build/commandUtils/new/templates/readme-additions.md +36 -0
- package/build/commandUtils/new/utils.d.ts +6 -0
- package/build/commandUtils/new/utils.js +20 -0
- package/build/commandUtils/pagination.d.ts +17 -0
- package/build/commandUtils/pagination.js +39 -0
- package/build/commandUtils/projectNameValidation.d.ts +8 -0
- package/build/commandUtils/projectNameValidation.js +30 -0
- package/build/commandUtils/usageUtils.d.ts +58 -0
- package/build/commandUtils/usageUtils.js +204 -0
- package/build/commandUtils/workflow/buildProfileUtils.d.ts +36 -0
- package/build/commandUtils/workflow/buildProfileUtils.js +209 -0
- package/build/commandUtils/workflow/creation.d.ts +20 -0
- package/build/commandUtils/workflow/creation.js +462 -0
- package/build/commandUtils/workflow/fetchLogs.d.ts +6 -0
- package/build/commandUtils/workflow/fetchLogs.js +44 -0
- package/build/commandUtils/workflow/inputs.d.ts +40 -0
- package/build/commandUtils/workflow/inputs.js +165 -0
- package/build/commandUtils/workflow/parse.d.ts +3 -0
- package/build/commandUtils/workflow/parse.js +12 -0
- package/build/commandUtils/workflow/stateMachine.d.ts +44 -0
- package/build/commandUtils/workflow/stateMachine.js +212 -0
- package/build/commandUtils/workflow/types.d.ts +40 -0
- package/build/commandUtils/workflow/types.js +13 -0
- package/build/commandUtils/workflow/utils.d.ts +33 -0
- package/build/commandUtils/workflow/utils.js +325 -0
- package/build/commandUtils/workflow/validation.d.ts +7 -0
- package/build/commandUtils/workflow/validation.js +159 -0
- package/build/commands/account/login.d.ts +14 -0
- package/build/commands/account/login.js +49 -0
- package/build/commands/account/logout.d.ts +9 -0
- package/build/commands/account/logout.js +18 -0
- package/build/commands/account/usage.d.ts +15 -0
- package/build/commands/account/usage.js +326 -0
- package/build/commands/account/view.d.ts +11 -0
- package/build/commands/account/view.js +67 -0
- package/build/commands/analytics.d.ts +8 -0
- package/build/commands/analytics.js +27 -0
- package/build/commands/branch/create.d.ts +17 -0
- package/build/commands/branch/create.js +65 -0
- package/build/commands/branch/delete.d.ts +16 -0
- package/build/commands/branch/delete.js +102 -0
- package/build/commands/branch/list.d.ts +15 -0
- package/build/commands/branch/list.js +32 -0
- package/build/commands/branch/publish.d.ts +6 -0
- package/build/commands/branch/publish.js +12 -0
- package/build/commands/branch/rename.d.ts +15 -0
- package/build/commands/branch/rename.js +99 -0
- package/build/commands/branch/view.d.ts +18 -0
- package/build/commands/branch/view.js +63 -0
- package/build/commands/build/cancel.d.ts +24 -0
- package/build/commands/build/cancel.js +131 -0
- package/build/commands/build/configure.d.ts +13 -0
- package/build/commands/build/configure.js +99 -0
- package/build/commands/build/delete.d.ts +24 -0
- package/build/commands/build/delete.js +114 -0
- package/build/commands/build/dev.d.ts +26 -0
- package/build/commands/build/dev.js +262 -0
- package/build/commands/build/download.d.ts +20 -0
- package/build/commands/build/download.js +116 -0
- package/build/commands/build/index.d.ts +39 -0
- package/build/commands/build/index.js +301 -0
- package/build/commands/build/inspect.d.ts +30 -0
- package/build/commands/build/inspect.js +153 -0
- package/build/commands/build/internal.d.ts +25 -0
- package/build/commands/build/internal.js +87 -0
- package/build/commands/build/list.d.ts +31 -0
- package/build/commands/build/list.js +157 -0
- package/build/commands/build/resign.d.ts +63 -0
- package/build/commands/build/resign.js +233 -0
- package/build/commands/build/run.d.ts +21 -0
- package/build/commands/build/run.js +191 -0
- package/build/commands/build/version/get.d.ts +18 -0
- package/build/commands/build/version/get.js +114 -0
- package/build/commands/build/version/set.d.ts +16 -0
- package/build/commands/build/version/set.js +105 -0
- package/build/commands/build/version/sync.d.ts +18 -0
- package/build/commands/build/version/sync.js +149 -0
- package/build/commands/build/view.d.ts +16 -0
- package/build/commands/build/view.js +77 -0
- package/build/commands/channel/create.d.ts +16 -0
- package/build/commands/channel/create.js +60 -0
- package/build/commands/channel/delete.d.ts +16 -0
- package/build/commands/channel/delete.js +84 -0
- package/build/commands/channel/edit.d.ts +20 -0
- package/build/commands/channel/edit.js +113 -0
- package/build/commands/channel/list.d.ts +15 -0
- package/build/commands/channel/list.js +36 -0
- package/build/commands/channel/pause.d.ts +20 -0
- package/build/commands/channel/pause.js +87 -0
- package/build/commands/channel/resume.d.ts +20 -0
- package/build/commands/channel/resume.js +87 -0
- package/build/commands/channel/rollout.d.ts +33 -0
- package/build/commands/channel/rollout.js +141 -0
- package/build/commands/channel/view.d.ts +18 -0
- package/build/commands/channel/view.js +61 -0
- package/build/commands/config.d.ts +19 -0
- package/build/commands/config.js +106 -0
- package/build/commands/credentials/configure-build.d.ts +18 -0
- package/build/commands/credentials/configure-build.js +42 -0
- package/build/commands/credentials/index.d.ts +16 -0
- package/build/commands/credentials/index.js +28 -0
- package/build/commands/deploy/alias/delete.d.ts +21 -0
- package/build/commands/deploy/alias/delete.js +101 -0
- package/build/commands/deploy/alias/index.d.ts +21 -0
- package/build/commands/deploy/alias/index.js +165 -0
- package/build/commands/deploy/alias.d.ts +21 -0
- package/build/commands/deploy/alias.js +165 -0
- package/build/commands/deploy/delete.d.ts +21 -0
- package/build/commands/deploy/delete.js +87 -0
- package/build/commands/deploy/index.d.ts +26 -0
- package/build/commands/deploy/index.js +370 -0
- package/build/commands/device/create.d.ts +9 -0
- package/build/commands/device/create.js +30 -0
- package/build/commands/device/delete.d.ts +24 -0
- package/build/commands/device/delete.js +135 -0
- package/build/commands/device/list.d.ts +16 -0
- package/build/commands/device/list.js +60 -0
- package/build/commands/device/rename.d.ts +24 -0
- package/build/commands/device/rename.js +125 -0
- package/build/commands/device/view.d.ts +12 -0
- package/build/commands/device/view.js +54 -0
- package/build/commands/diagnostics.d.ts +10 -0
- package/build/commands/diagnostics.js +61 -0
- package/build/commands/env/create.d.ts +26 -0
- package/build/commands/env/create.js +226 -0
- package/build/commands/env/delete.d.ts +19 -0
- package/build/commands/env/delete.js +115 -0
- package/build/commands/env/exec.d.ts +22 -0
- package/build/commands/env/exec.js +158 -0
- package/build/commands/env/get.d.ts +20 -0
- package/build/commands/env/get.js +130 -0
- package/build/commands/env/link.d.ts +23 -0
- package/build/commands/env/link.js +128 -0
- package/build/commands/env/list.d.ts +20 -0
- package/build/commands/env/list.js +123 -0
- package/build/commands/env/pull.d.ts +18 -0
- package/build/commands/env/pull.js +106 -0
- package/build/commands/env/push.d.ts +29 -0
- package/build/commands/env/push.js +193 -0
- package/build/commands/env/unlink.d.ts +22 -0
- package/build/commands/env/unlink.js +117 -0
- package/build/commands/env/update.d.ts +26 -0
- package/build/commands/env/update.js +229 -0
- package/build/commands/fingerprint/compare.d.ts +26 -0
- package/build/commands/fingerprint/compare.js +600 -0
- package/build/commands/fingerprint/generate.d.ts +23 -0
- package/build/commands/fingerprint/generate.js +123 -0
- package/build/commands/go.d.ts +23 -0
- package/build/commands/go.js +483 -0
- package/build/commands/metadata/lint.d.ts +12 -0
- package/build/commands/metadata/lint.js +73 -0
- package/build/commands/metadata/pull.d.ts +14 -0
- package/build/commands/metadata/pull.js +81 -0
- package/build/commands/metadata/push.d.ts +14 -0
- package/build/commands/metadata/push.js +75 -0
- package/build/commands/open.d.ts +9 -0
- package/build/commands/open.js +41 -0
- package/build/commands/project/info.d.ts +9 -0
- package/build/commands/project/info.js +45 -0
- package/build/commands/project/init.d.ts +22 -0
- package/build/commands/project/init.js +317 -0
- package/build/commands/project/new.d.ts +34 -0
- package/build/commands/project/new.js +120 -0
- package/build/commands/project/onboarding.d.ts +14 -0
- package/build/commands/project/onboarding.js +372 -0
- package/build/commands/secret/create.d.ts +20 -0
- package/build/commands/secret/create.js +187 -0
- package/build/commands/secret/delete.d.ts +14 -0
- package/build/commands/secret/delete.js +70 -0
- package/build/commands/secret/list.d.ts +10 -0
- package/build/commands/secret/list.js +38 -0
- package/build/commands/secret/push.d.ts +17 -0
- package/build/commands/secret/push.js +150 -0
- package/build/commands/submit/internal.d.ts +24 -0
- package/build/commands/submit/internal.js +167 -0
- package/build/commands/submit.d.ts +29 -0
- package/build/commands/submit.js +166 -0
- package/build/commands/update/configure.d.ts +16 -0
- package/build/commands/update/configure.js +63 -0
- package/build/commands/update/delete.d.ts +15 -0
- package/build/commands/update/delete.js +58 -0
- package/build/commands/update/edit.d.ts +18 -0
- package/build/commands/update/edit.js +138 -0
- package/build/commands/update/index.d.ts +38 -0
- package/build/commands/update/index.js +545 -0
- package/build/commands/update/list.d.ts +20 -0
- package/build/commands/update/list.js +113 -0
- package/build/commands/update/republish.d.ts +23 -0
- package/build/commands/update/republish.js +150 -0
- package/build/commands/update/revert-update-rollout.d.ts +24 -0
- package/build/commands/update/revert-update-rollout.js +263 -0
- package/build/commands/update/roll-back-to-embedded.d.ts +22 -0
- package/build/commands/update/roll-back-to-embedded.js +150 -0
- package/build/commands/update/rollback.d.ts +8 -0
- package/build/commands/update/rollback.js +39 -0
- package/build/commands/update/view.d.ts +14 -0
- package/build/commands/update/view.js +43 -0
- package/build/commands/upload.d.ts +18 -0
- package/build/commands/upload.js +367 -0
- package/build/commands/webhook/create.d.ts +16 -0
- package/build/commands/webhook/create.js +47 -0
- package/build/commands/webhook/delete.d.ts +15 -0
- package/build/commands/webhook/delete.js +102 -0
- package/build/commands/webhook/list.d.ts +14 -0
- package/build/commands/webhook/list.js +62 -0
- package/build/commands/webhook/update.d.ts +16 -0
- package/build/commands/webhook/update.js +52 -0
- package/build/commands/webhook/view.d.ts +11 -0
- package/build/commands/webhook/view.js +36 -0
- package/build/commands/worker/alias.d.ts +22 -0
- package/build/commands/worker/alias.js +169 -0
- package/build/commands/worker/deploy.d.ts +76 -0
- package/build/commands/worker/deploy.js +323 -0
- package/build/commands/workflow/cancel.d.ts +13 -0
- package/build/commands/workflow/cancel.js +81 -0
- package/build/commands/workflow/create.d.ts +17 -0
- package/build/commands/workflow/create.js +171 -0
- package/build/commands/workflow/list.d.ts +13 -0
- package/build/commands/workflow/list.js +53 -0
- package/build/commands/workflow/logs.d.ts +17 -0
- package/build/commands/workflow/logs.js +96 -0
- package/build/commands/workflow/run.d.ts +63 -0
- package/build/commands/workflow/run.js +318 -0
- package/build/commands/workflow/runs.d.ts +16 -0
- package/build/commands/workflow/runs.js +73 -0
- package/build/commands/workflow/status.d.ts +31 -0
- package/build/commands/workflow/status.js +111 -0
- package/build/commands/workflow/validate.d.ts +18 -0
- package/build/commands/workflow/validate.js +51 -0
- package/build/commands/workflow/view.d.ts +16 -0
- package/build/commands/workflow/view.js +169 -0
- package/build/credentials/android/AndroidCredentialsProvider.d.ts +23 -0
- package/build/credentials/android/AndroidCredentialsProvider.js +44 -0
- package/build/credentials/android/actions/AssignFcm.d.ts +8 -0
- package/build/credentials/android/actions/AssignFcm.js +20 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.d.ts +8 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.js +20 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.d.ts +8 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.js +20 -0
- package/build/credentials/android/actions/BuildCredentialsUtils.d.ts +20 -0
- package/build/credentials/android/actions/BuildCredentialsUtils.js +115 -0
- package/build/credentials/android/actions/CreateFcm.d.ts +7 -0
- package/build/credentials/android/actions/CreateFcm.js +30 -0
- package/build/credentials/android/actions/CreateGoogleServiceAccountKey.d.ts +9 -0
- package/build/credentials/android/actions/CreateGoogleServiceAccountKey.js +63 -0
- package/build/credentials/android/actions/CreateKeystore.d.ts +8 -0
- package/build/credentials/android/actions/CreateKeystore.js +34 -0
- package/build/credentials/android/actions/DownloadKeystore.d.ts +19 -0
- package/build/credentials/android/actions/DownloadKeystore.js +68 -0
- package/build/credentials/android/actions/RemoveFcm.d.ts +7 -0
- package/build/credentials/android/actions/RemoveFcm.js +34 -0
- package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.d.ts +12 -0
- package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.js +50 -0
- package/build/credentials/android/actions/RemoveKeystore.d.ts +9 -0
- package/build/credentials/android/actions/RemoveKeystore.js +45 -0
- package/build/credentials/android/actions/SetUpBuildCredentials.d.ts +33 -0
- package/build/credentials/android/actions/SetUpBuildCredentials.js +72 -0
- package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.d.ts +8 -0
- package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.js +69 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.d.ts +10 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.js +60 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.d.ts +10 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.js +60 -0
- package/build/credentials/android/actions/UpdateCredentialsJson.d.ts +5 -0
- package/build/credentials/android/actions/UpdateCredentialsJson.js +14 -0
- package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.d.ts +7 -0
- package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.js +24 -0
- package/build/credentials/android/api/GraphqlClient.d.ts +41 -0
- package/build/credentials/android/api/GraphqlClient.js +151 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.d.ts +8 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.js +80 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.d.ts +10 -0
- package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.js +112 -0
- package/build/credentials/android/api/graphql/mutations/AndroidFcmMutation.d.ts +6 -0
- package/build/credentials/android/api/graphql/mutations/AndroidFcmMutation.js +48 -0
- package/build/credentials/android/api/graphql/mutations/AndroidKeystoreMutation.d.ts +6 -0
- package/build/credentials/android/api/graphql/mutations/AndroidKeystoreMutation.js +54 -0
- package/build/credentials/android/api/graphql/mutations/GoogleServiceAccountKeyMutation.d.ts +6 -0
- package/build/credentials/android/api/graphql/mutations/GoogleServiceAccountKeyMutation.js +54 -0
- package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.d.ts +8 -0
- package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.js +51 -0
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +11 -0
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.js +69 -0
- package/build/credentials/android/credentials.d.ts +26 -0
- package/build/credentials/android/credentials.js +32 -0
- package/build/credentials/android/utils/googleServiceAccountKey.d.ts +7 -0
- package/build/credentials/android/utils/googleServiceAccountKey.js +123 -0
- package/build/credentials/android/utils/keystore.d.ts +5 -0
- package/build/credentials/android/utils/keystore.js +144 -0
- package/build/credentials/android/utils/keystoreNew.d.ts +5 -0
- package/build/credentials/android/utils/keystoreNew.js +84 -0
- package/build/credentials/android/utils/printCredentials.d.ts +8 -0
- package/build/credentials/android/utils/printCredentials.js +160 -0
- package/build/credentials/context.d.ts +50 -0
- package/build/credentials/context.js +89 -0
- package/build/credentials/credentialsJson/read.d.ts +7 -0
- package/build/credentials/credentialsJson/read.js +90 -0
- package/build/credentials/credentialsJson/types.d.ts +34 -0
- package/build/credentials/credentialsJson/types.js +26 -0
- package/build/credentials/credentialsJson/update.d.ts +14 -0
- package/build/credentials/credentialsJson/update.js +208 -0
- package/build/credentials/credentialsJson/utils.d.ts +4 -0
- package/build/credentials/credentialsJson/utils.js +26 -0
- package/build/credentials/errors.d.ts +19 -0
- package/build/credentials/errors.js +44 -0
- package/build/credentials/ios/IosCredentialsProvider.d.ts +23 -0
- package/build/credentials/ios/IosCredentialsProvider.js +132 -0
- package/build/credentials/ios/actions/AppleTeamFormatting.d.ts +2 -0
- package/build/credentials/ios/actions/AppleTeamFormatting.js +6 -0
- package/build/credentials/ios/actions/AppleTeamUtils.d.ts +4 -0
- package/build/credentials/ios/actions/AppleTeamUtils.js +12 -0
- package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +20 -0
- package/build/credentials/ios/actions/AscApiKeyUtils.js +196 -0
- package/build/credentials/ios/actions/AssignAscApiKey.d.ts +9 -0
- package/build/credentials/ios/actions/AssignAscApiKey.js +29 -0
- package/build/credentials/ios/actions/AssignPushKey.d.ts +8 -0
- package/build/credentials/ios/actions/AssignPushKey.js +22 -0
- package/build/credentials/ios/actions/BuildCredentialsUtils.d.ts +11 -0
- package/build/credentials/ios/actions/BuildCredentialsUtils.js +63 -0
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.d.ts +14 -0
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.js +81 -0
- package/build/credentials/ios/actions/CreateAscApiKey.d.ts +8 -0
- package/build/credentials/ios/actions/CreateAscApiKey.js +18 -0
- package/build/credentials/ios/actions/CreateDistributionCertificate.d.ts +8 -0
- package/build/credentials/ios/actions/CreateDistributionCertificate.js +19 -0
- package/build/credentials/ios/actions/CreateProvisioningProfile.d.ts +14 -0
- package/build/credentials/ios/actions/CreateProvisioningProfile.js +72 -0
- package/build/credentials/ios/actions/CreatePushKey.d.ts +7 -0
- package/build/credentials/ios/actions/CreatePushKey.js +22 -0
- package/build/credentials/ios/actions/DeviceUtils.d.ts +3 -0
- package/build/credentials/ios/actions/DeviceUtils.js +40 -0
- package/build/credentials/ios/actions/DistributionCertificateUtils.d.ts +14 -0
- package/build/credentials/ios/actions/DistributionCertificateUtils.js +192 -0
- package/build/credentials/ios/actions/ProvisioningProfileUtils.d.ts +5 -0
- package/build/credentials/ios/actions/ProvisioningProfileUtils.js +22 -0
- package/build/credentials/ios/actions/PushKeyUtils.d.ts +11 -0
- package/build/credentials/ios/actions/PushKeyUtils.js +175 -0
- package/build/credentials/ios/actions/RemoveAscApiKey.d.ts +12 -0
- package/build/credentials/ios/actions/RemoveAscApiKey.js +56 -0
- package/build/credentials/ios/actions/RemoveDistributionCertificate.d.ts +14 -0
- package/build/credentials/ios/actions/RemoveDistributionCertificate.js +88 -0
- package/build/credentials/ios/actions/RemoveProvisioningProfile.d.ts +9 -0
- package/build/credentials/ios/actions/RemoveProvisioningProfile.js +27 -0
- package/build/credentials/ios/actions/RemovePushKey.d.ts +12 -0
- package/build/credentials/ios/actions/RemovePushKey.js +64 -0
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.d.ts +21 -0
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +254 -0
- package/build/credentials/ios/actions/SetUpAscApiKey.d.ts +21 -0
- package/build/credentials/ios/actions/SetUpAscApiKey.js +122 -0
- package/build/credentials/ios/actions/SetUpBuildCredentials.d.ts +15 -0
- package/build/credentials/ios/actions/SetUpBuildCredentials.js +76 -0
- package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.d.ts +11 -0
- package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.js +49 -0
- package/build/credentials/ios/actions/SetUpDistributionCertificate.d.ts +17 -0
- package/build/credentials/ios/actions/SetUpDistributionCertificate.js +144 -0
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.d.ts +24 -0
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +94 -0
- package/build/credentials/ios/actions/SetUpProvisioningProfile.d.ts +19 -0
- package/build/credentials/ios/actions/SetUpProvisioningProfile.js +102 -0
- package/build/credentials/ios/actions/SetUpPushKey.d.ts +10 -0
- package/build/credentials/ios/actions/SetUpPushKey.js +83 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.d.ts +20 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +55 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.d.ts +14 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.js +112 -0
- package/build/credentials/ios/actions/UpdateCredentialsJson.d.ts +10 -0
- package/build/credentials/ios/actions/UpdateCredentialsJson.js +22 -0
- package/build/credentials/ios/api/GraphqlClient.d.ts +60 -0
- package/build/credentials/ios/api/GraphqlClient.js +300 -0
- package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.d.ts +6 -0
- package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.js +54 -0
- package/build/credentials/ios/api/graphql/mutations/AppleAppIdentifierMutation.d.ts +5 -0
- package/build/credentials/ios/api/graphql/mutations/AppleAppIdentifierMutation.js +37 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.d.ts +7 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.js +70 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.d.ts +5 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.js +35 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.d.ts +9 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.js +60 -0
- package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.d.ts +13 -0
- package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.js +91 -0
- package/build/credentials/ios/api/graphql/mutations/ApplePushKeyMutation.d.ts +6 -0
- package/build/credentials/ios/api/graphql/mutations/ApplePushKeyMutation.js +51 -0
- package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.d.ts +6 -0
- package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.js +51 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppBuildCredentialsMutation.d.ts +7 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppBuildCredentialsMutation.js +87 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.d.ts +7 -0
- package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.js +84 -0
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +11 -0
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.js +69 -0
- package/build/credentials/ios/api/graphql/queries/AppleAppIdentifierQuery.d.ts +5 -0
- package/build/credentials/ios/api/graphql/queries/AppleAppIdentifierQuery.js +37 -0
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.d.ts +27 -0
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +145 -0
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.d.ts +15 -0
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +119 -0
- package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.d.ts +15 -0
- package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.js +72 -0
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.d.ts +11 -0
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +69 -0
- package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.d.ts +6 -0
- package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +52 -0
- package/build/credentials/ios/api/graphql/queries/IosAppBuildCredentialsQuery.d.ts +8 -0
- package/build/credentials/ios/api/graphql/queries/IosAppBuildCredentialsQuery.js +46 -0
- package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.d.ts +11 -0
- package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.js +77 -0
- package/build/credentials/ios/api/graphql/types/AppLookupParams.d.ts +7 -0
- package/build/credentials/ios/api/graphql/types/AppLookupParams.js +2 -0
- package/build/credentials/ios/appstore/AppStoreApi.d.ts +33 -0
- package/build/credentials/ios/appstore/AppStoreApi.js +106 -0
- package/build/credentials/ios/appstore/Credentials.d.ts +9 -0
- package/build/credentials/ios/appstore/Credentials.js +35 -0
- package/build/credentials/ios/appstore/Credentials.types.d.ts +60 -0
- package/build/credentials/ios/appstore/Credentials.types.js +2 -0
- package/build/credentials/ios/appstore/CredentialsUtils.d.ts +18 -0
- package/build/credentials/ios/appstore/CredentialsUtils.js +78 -0
- package/build/credentials/ios/appstore/ascApiKey.d.ts +36 -0
- package/build/credentials/ios/appstore/ascApiKey.js +172 -0
- package/build/credentials/ios/appstore/authenticate.d.ts +20 -0
- package/build/credentials/ios/appstore/authenticate.js +171 -0
- package/build/credentials/ios/appstore/authenticateTypes.d.ts +41 -0
- package/build/credentials/ios/appstore/authenticateTypes.js +16 -0
- package/build/credentials/ios/appstore/bundleId.d.ts +3 -0
- package/build/credentials/ios/appstore/bundleId.js +43 -0
- package/build/credentials/ios/appstore/bundleIdCapabilities.d.ts +27 -0
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +148 -0
- package/build/credentials/ios/appstore/capabilityIdentifiers.d.ts +18 -0
- package/build/credentials/ios/appstore/capabilityIdentifiers.js +109 -0
- package/build/credentials/ios/appstore/capabilityList.d.ts +32 -0
- package/build/credentials/ios/appstore/capabilityList.js +656 -0
- package/build/credentials/ios/appstore/constants.d.ts +1 -0
- package/build/credentials/ios/appstore/constants.js +6 -0
- package/build/credentials/ios/appstore/contractMessages.d.ts +7 -0
- package/build/credentials/ios/appstore/contractMessages.js +101 -0
- package/build/credentials/ios/appstore/distributionCertificate.d.ts +14 -0
- package/build/credentials/ios/appstore/distributionCertificate.js +111 -0
- package/build/credentials/ios/appstore/ensureAppExists.d.ts +53 -0
- package/build/credentials/ios/appstore/ensureAppExists.js +247 -0
- package/build/credentials/ios/appstore/ensureTestFlightGroup.d.ts +6 -0
- package/build/credentials/ios/appstore/ensureTestFlightGroup.js +175 -0
- package/build/credentials/ios/appstore/keychain.d.ts +10 -0
- package/build/credentials/ios/appstore/keychain.js +67 -0
- package/build/credentials/ios/appstore/provisioningProfile.d.ts +11 -0
- package/build/credentials/ios/appstore/provisioningProfile.js +181 -0
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.d.ts +4 -0
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.js +192 -0
- package/build/credentials/ios/appstore/pushKey.d.ts +18 -0
- package/build/credentials/ios/appstore/pushKey.js +82 -0
- package/build/credentials/ios/appstore/resolveCredentials.d.ts +19 -0
- package/build/credentials/ios/appstore/resolveCredentials.js +256 -0
- package/build/credentials/ios/credentials.d.ts +57 -0
- package/build/credentials/ios/credentials.js +105 -0
- package/build/credentials/ios/errors.d.ts +3 -0
- package/build/credentials/ios/errors.js +9 -0
- package/build/credentials/ios/types.d.ts +28 -0
- package/build/credentials/ios/types.js +37 -0
- package/build/credentials/ios/utils/authType.d.ts +3 -0
- package/build/credentials/ios/utils/authType.js +7 -0
- package/build/credentials/ios/utils/convertHTMLToASCII.d.ts +4 -0
- package/build/credentials/ios/utils/convertHTMLToASCII.js +58 -0
- package/build/credentials/ios/utils/p12Certificate.d.ts +4 -0
- package/build/credentials/ios/utils/p12Certificate.js +59 -0
- package/build/credentials/ios/utils/printCredentials.d.ts +5 -0
- package/build/credentials/ios/utils/printCredentials.js +251 -0
- package/build/credentials/ios/utils/provisioningProfile.d.ts +11 -0
- package/build/credentials/ios/utils/provisioningProfile.js +41 -0
- package/build/credentials/ios/validators/validateAscApiKey.d.ts +5 -0
- package/build/credentials/ios/validators/validateAscApiKey.js +20 -0
- package/build/credentials/ios/validators/validateDistributionCertificate.d.ts +3 -0
- package/build/credentials/ios/validators/validateDistributionCertificate.js +9 -0
- package/build/credentials/ios/validators/validateProvisioningProfile.d.ts +5 -0
- package/build/credentials/ios/validators/validateProvisioningProfile.js +114 -0
- package/build/credentials/ios/validators/validatePushKey.d.ts +3 -0
- package/build/credentials/ios/validators/validatePushKey.js +9 -0
- package/build/credentials/manager/Actions.d.ts +62 -0
- package/build/credentials/manager/Actions.js +63 -0
- package/build/credentials/manager/AndroidActions.d.ts +8 -0
- package/build/credentials/manager/AndroidActions.js +158 -0
- package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.d.ts +10 -0
- package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.js +38 -0
- package/build/credentials/manager/CreateAndroidBuildCredentials.d.ts +8 -0
- package/build/credentials/manager/CreateAndroidBuildCredentials.js +34 -0
- package/build/credentials/manager/HelperActions.d.ts +18 -0
- package/build/credentials/manager/HelperActions.js +15 -0
- package/build/credentials/manager/IosActions.d.ts +7 -0
- package/build/credentials/manager/IosActions.js +150 -0
- package/build/credentials/manager/ManageAndroid.d.ts +14 -0
- package/build/credentials/manager/ManageAndroid.js +223 -0
- package/build/credentials/manager/ManageIos.d.ts +22 -0
- package/build/credentials/manager/ManageIos.js +338 -0
- package/build/credentials/manager/SelectAndroidBuildCredentials.d.ts +27 -0
- package/build/credentials/manager/SelectAndroidBuildCredentials.js +98 -0
- package/build/credentials/manager/SelectBuildProfileFromEasJson.d.ts +9 -0
- package/build/credentials/manager/SelectBuildProfileFromEasJson.js +38 -0
- package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.d.ts +10 -0
- package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.js +63 -0
- package/build/credentials/manager/SelectPlatform.d.ts +17 -0
- package/build/credentials/manager/SelectPlatform.js +33 -0
- package/build/credentials/manager/SetDefaultAndroidKeystore.d.ts +8 -0
- package/build/credentials/manager/SetDefaultAndroidKeystore.js +42 -0
- package/build/credentials/manager/SetUpAndroidBuildCredentials.d.ts +7 -0
- package/build/credentials/manager/SetUpAndroidBuildCredentials.js +49 -0
- package/build/credentials/manager/SetUpBuildCredentialsCommandAction.d.ts +20 -0
- package/build/credentials/manager/SetUpBuildCredentialsCommandAction.js +36 -0
- package/build/credentials/manager/SetUpIosBuildCredentials.d.ts +7 -0
- package/build/credentials/manager/SetUpIosBuildCredentials.js +59 -0
- package/build/credentials/utils/promptForCredentials.d.ts +17 -0
- package/build/credentials/utils/promptForCredentials.js +107 -0
- package/build/devices/actions/create/action.d.ts +19 -0
- package/build/devices/actions/create/action.js +81 -0
- package/build/devices/actions/create/currentMachineMethod.d.ts +3 -0
- package/build/devices/actions/create/currentMachineMethod.js +98 -0
- package/build/devices/actions/create/developerPortalMethod.d.ts +6 -0
- package/build/devices/actions/create/developerPortalMethod.js +89 -0
- package/build/devices/actions/create/inputMethod.d.ts +3 -0
- package/build/devices/actions/create/inputMethod.js +62 -0
- package/build/devices/actions/create/registrationUrlMethod.d.ts +3 -0
- package/build/devices/actions/create/registrationUrlMethod.js +27 -0
- package/build/devices/actions/create/utils.d.ts +10 -0
- package/build/devices/actions/create/utils.js +72 -0
- package/build/devices/context.d.ts +15 -0
- package/build/devices/context.js +11 -0
- package/build/devices/manager.d.ts +19 -0
- package/build/devices/manager.js +82 -0
- package/build/devices/queries.d.ts +22 -0
- package/build/devices/queries.js +145 -0
- package/build/devices/udids.d.ts +2 -0
- package/build/devices/udids.js +27 -0
- package/build/devices/utils/errors.d.ts +6 -0
- package/build/devices/utils/errors.js +15 -0
- package/build/devices/utils/formatDevice.d.ts +7 -0
- package/build/devices/utils/formatDevice.js +49 -0
- package/build/eas-update/utils.d.ts +18 -0
- package/build/eas-update/utils.js +6 -0
- package/build/easMultiselect.d.ts +24 -0
- package/build/easMultiselect.js +50 -0
- package/build/env.d.ts +24 -0
- package/build/env.js +25 -0
- package/build/fetch.d.ts +9 -0
- package/build/fetch.js +36 -0
- package/build/fingerprint/cli.d.ts +29 -0
- package/build/fingerprint/cli.js +126 -0
- package/build/fingerprint/diff.d.ts +33 -0
- package/build/fingerprint/diff.js +122 -0
- package/build/fingerprint/types.d.ts +96 -0
- package/build/fingerprint/types.js +5 -0
- package/build/fingerprint/utils.d.ts +11 -0
- package/build/fingerprint/utils.js +92 -0
- package/build/graphql/client.d.ts +3 -0
- package/build/graphql/client.js +27 -0
- package/build/graphql/generated.d.ts +19152 -0
- package/build/graphql/generated.js +1079 -0
- package/build/graphql/mutations/AppMutation.d.ts +7 -0
- package/build/graphql/mutations/AppMutation.js +27 -0
- package/build/graphql/mutations/AppVersionMutation.d.ts +12 -0
- package/build/graphql/mutations/AppVersionMutation.js +27 -0
- package/build/graphql/mutations/BuildMutation.d.ts +28 -0
- package/build/graphql/mutations/BuildMutation.js +107 -0
- package/build/graphql/mutations/EnvironmentSecretMutation.d.ts +17 -0
- package/build/graphql/mutations/EnvironmentSecretMutation.js +65 -0
- package/build/graphql/mutations/EnvironmentVariableMutation.d.ts +11 -0
- package/build/graphql/mutations/EnvironmentVariableMutation.js +98 -0
- package/build/graphql/mutations/FingerprintMutation.d.ts +8 -0
- package/build/graphql/mutations/FingerprintMutation.js +29 -0
- package/build/graphql/mutations/KeystoreGenerationUrlMutation.d.ts +4 -0
- package/build/graphql/mutations/KeystoreGenerationUrlMutation.js +23 -0
- package/build/graphql/mutations/LocalBuildMutation.d.ts +5 -0
- package/build/graphql/mutations/LocalBuildMutation.js +38 -0
- package/build/graphql/mutations/PublishMutation.d.ts +8 -0
- package/build/graphql/mutations/PublishMutation.js +85 -0
- package/build/graphql/mutations/SubmissionMutation.d.ts +6 -0
- package/build/graphql/mutations/SubmissionMutation.js +71 -0
- package/build/graphql/mutations/UploadSessionMutation.d.ts +14 -0
- package/build/graphql/mutations/UploadSessionMutation.js +41 -0
- package/build/graphql/mutations/UserPreferencesMutation.d.ts +10 -0
- package/build/graphql/mutations/UserPreferencesMutation.js +41 -0
- package/build/graphql/mutations/WebhookMutation.d.ts +7 -0
- package/build/graphql/mutations/WebhookMutation.js +55 -0
- package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +21 -0
- package/build/graphql/mutations/WorkflowRevisionMutation.js +59 -0
- package/build/graphql/mutations/WorkflowRunMutation.d.ts +27 -0
- package/build/graphql/mutations/WorkflowRunMutation.js +98 -0
- package/build/graphql/queries/AccountQuery.d.ts +15 -0
- package/build/graphql/queries/AccountQuery.js +197 -0
- package/build/graphql/queries/AppQuery.d.ts +8 -0
- package/build/graphql/queries/AppQuery.js +106 -0
- package/build/graphql/queries/AppStoreConnectApiKeyQuery.d.ts +8 -0
- package/build/graphql/queries/AppStoreConnectApiKeyQuery.js +32 -0
- package/build/graphql/queries/AppVersionQuery.d.ts +5 -0
- package/build/graphql/queries/AppVersionQuery.js +32 -0
- package/build/graphql/queries/AssetQuery.d.ts +5 -0
- package/build/graphql/queries/AssetQuery.js +27 -0
- package/build/graphql/queries/BackgroundJobReceiptQuery.d.ts +5 -0
- package/build/graphql/queries/BackgroundJobReceiptQuery.js +28 -0
- package/build/graphql/queries/BranchQuery.d.ts +23 -0
- package/build/graphql/queries/BranchQuery.js +190 -0
- package/build/graphql/queries/BuildQuery.d.ts +14 -0
- package/build/graphql/queries/BuildQuery.js +95 -0
- package/build/graphql/queries/ChannelQuery.d.ts +14 -0
- package/build/graphql/queries/ChannelQuery.js +156 -0
- package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +16 -0
- package/build/graphql/queries/EnvironmentSecretsQuery.js +51 -0
- package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +36 -0
- package/build/graphql/queries/EnvironmentVariablesQuery.js +144 -0
- package/build/graphql/queries/FingerprintQuery.d.ts +16 -0
- package/build/graphql/queries/FingerprintQuery.js +61 -0
- package/build/graphql/queries/GoogleServiceAccountKeyQuery.d.ts +6 -0
- package/build/graphql/queries/GoogleServiceAccountKeyQuery.js +25 -0
- package/build/graphql/queries/PublishQuery.d.ts +6 -0
- package/build/graphql/queries/PublishQuery.js +45 -0
- package/build/graphql/queries/RuntimeQuery.d.ts +6 -0
- package/build/graphql/queries/RuntimeQuery.js +70 -0
- package/build/graphql/queries/StatuspageServiceQuery.d.ts +5 -0
- package/build/graphql/queries/StatuspageServiceQuery.js +28 -0
- package/build/graphql/queries/SubmissionQuery.d.ts +15 -0
- package/build/graphql/queries/SubmissionQuery.js +58 -0
- package/build/graphql/queries/UpdateQuery.d.ts +8 -0
- package/build/graphql/queries/UpdateQuery.js +115 -0
- package/build/graphql/queries/UserQuery.d.ts +5 -0
- package/build/graphql/queries/UserQuery.js +58 -0
- package/build/graphql/queries/WebhookQuery.d.ts +6 -0
- package/build/graphql/queries/WebhookQuery.js +49 -0
- package/build/graphql/queries/WorkflowJobQuery.d.ts +7 -0
- package/build/graphql/queries/WorkflowJobQuery.js +29 -0
- package/build/graphql/queries/WorkflowRunQuery.d.ts +11 -0
- package/build/graphql/queries/WorkflowRunQuery.js +100 -0
- package/build/graphql/types/Account.d.ts +12 -0
- package/build/graphql/types/Account.js +162 -0
- package/build/graphql/types/App.d.ts +1 -0
- package/build/graphql/types/App.js +27 -0
- package/build/graphql/types/AppPlatform.d.ts +4 -0
- package/build/graphql/types/AppPlatform.js +25 -0
- package/build/graphql/types/BackgroundJobReceipt.d.ts +1 -0
- package/build/graphql/types/BackgroundJobReceipt.js +20 -0
- package/build/graphql/types/Build.d.ts +3 -0
- package/build/graphql/types/Build.js +99 -0
- package/build/graphql/types/EnvironmentSecret.d.ts +8 -0
- package/build/graphql/types/EnvironmentSecret.js +27 -0
- package/build/graphql/types/EnvironmentVariable.d.ts +1 -0
- package/build/graphql/types/EnvironmentVariable.js +18 -0
- package/build/graphql/types/EnvironmentVariableWithSecret.d.ts +1 -0
- package/build/graphql/types/EnvironmentVariableWithSecret.js +18 -0
- package/build/graphql/types/Fingerprint.d.ts +1 -0
- package/build/graphql/types/Fingerprint.js +30 -0
- package/build/graphql/types/Runtime.d.ts +1 -0
- package/build/graphql/types/Runtime.js +11 -0
- package/build/graphql/types/StatuspageService.d.ts +1 -0
- package/build/graphql/types/StatuspageService.js +19 -0
- package/build/graphql/types/Submission.d.ts +1 -0
- package/build/graphql/types/Submission.js +36 -0
- package/build/graphql/types/Update.d.ts +1 -0
- package/build/graphql/types/Update.js +60 -0
- package/build/graphql/types/UpdateBranch.d.ts +1 -0
- package/build/graphql/types/UpdateBranch.js +20 -0
- package/build/graphql/types/UpdateBranchBasicInfo.d.ts +1 -0
- package/build/graphql/types/UpdateBranchBasicInfo.js +11 -0
- package/build/graphql/types/UpdateChannelBasicInfo.d.ts +1 -0
- package/build/graphql/types/UpdateChannelBasicInfo.js +12 -0
- package/build/graphql/types/Webhook.d.ts +1 -0
- package/build/graphql/types/Webhook.js +14 -0
- package/build/graphql/types/Workflow.d.ts +1 -0
- package/build/graphql/types/Workflow.js +25 -0
- package/build/graphql/types/WorkflowJob.d.ts +1 -0
- package/build/graphql/types/WorkflowJob.js +46 -0
- package/build/graphql/types/WorkflowRun.d.ts +1 -0
- package/build/graphql/types/WorkflowRun.js +38 -0
- package/build/graphql/types/credentials/AndroidAppBuildCredentials.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidAppBuildCredentials.js +20 -0
- package/build/graphql/types/credentials/AndroidAppCredentials.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidAppCredentials.js +40 -0
- package/build/graphql/types/credentials/AndroidFcm.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidFcm.js +26 -0
- package/build/graphql/types/credentials/AndroidKeystore.d.ts +1 -0
- package/build/graphql/types/credentials/AndroidKeystore.js +20 -0
- package/build/graphql/types/credentials/AppStoreConnectApiKey.d.ts +1 -0
- package/build/graphql/types/credentials/AppStoreConnectApiKey.js +23 -0
- package/build/graphql/types/credentials/AppleAppIdentifier.d.ts +1 -0
- package/build/graphql/types/credentials/AppleAppIdentifier.js +11 -0
- package/build/graphql/types/credentials/AppleDevice.d.ts +3 -0
- package/build/graphql/types/credentials/AppleDevice.js +22 -0
- package/build/graphql/types/credentials/AppleDeviceRegistrationRequest.d.ts +1 -0
- package/build/graphql/types/credentials/AppleDeviceRegistrationRequest.js +10 -0
- package/build/graphql/types/credentials/AppleDistributionCertificate.d.ts +1 -0
- package/build/graphql/types/credentials/AppleDistributionCertificate.js +48 -0
- package/build/graphql/types/credentials/AppleProvisioningProfile.d.ts +2 -0
- package/build/graphql/types/credentials/AppleProvisioningProfile.js +34 -0
- package/build/graphql/types/credentials/ApplePushKey.d.ts +1 -0
- package/build/graphql/types/credentials/ApplePushKey.js +34 -0
- package/build/graphql/types/credentials/AppleTeam.d.ts +1 -0
- package/build/graphql/types/credentials/AppleTeam.js +12 -0
- package/build/graphql/types/credentials/GoogleServiceAccountKey.d.ts +1 -0
- package/build/graphql/types/credentials/GoogleServiceAccountKey.js +16 -0
- package/build/graphql/types/credentials/IosAppBuildCredentials.d.ts +1 -0
- package/build/graphql/types/credentials/IosAppBuildCredentials.js +24 -0
- package/build/graphql/types/credentials/IosAppCredentials.d.ts +2 -0
- package/build/graphql/types/credentials/IosAppCredentials.js +53 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +5 -0
- package/build/log.d.ts +46 -0
- package/build/log.js +113 -0
- package/build/metadata/apple/config/reader.d.ts +26 -0
- package/build/metadata/apple/config/reader.js +166 -0
- package/build/metadata/apple/config/writer.d.ts +24 -0
- package/build/metadata/apple/config/writer.js +153 -0
- package/build/metadata/apple/data.d.ts +20 -0
- package/build/metadata/apple/data.js +2 -0
- package/build/metadata/apple/rules/index.d.ts +1 -0
- package/build/metadata/apple/rules/index.js +6 -0
- package/build/metadata/apple/rules/infoKeywordLength.d.ts +6 -0
- package/build/metadata/apple/rules/infoKeywordLength.js +33 -0
- package/build/metadata/apple/rules/infoRestrictedWords.d.ts +6 -0
- package/build/metadata/apple/rules/infoRestrictedWords.js +55 -0
- package/build/metadata/apple/task.d.ts +24 -0
- package/build/metadata/apple/task.js +6 -0
- package/build/metadata/apple/tasks/age-rating.d.ts +12 -0
- package/build/metadata/apple/tasks/age-rating.js +35 -0
- package/build/metadata/apple/tasks/app-info.d.ts +14 -0
- package/build/metadata/apple/tasks/app-info.js +81 -0
- package/build/metadata/apple/tasks/app-review-detail.d.ts +13 -0
- package/build/metadata/apple/tasks/app-review-detail.js +45 -0
- package/build/metadata/apple/tasks/app-version.d.ts +30 -0
- package/build/metadata/apple/tasks/app-version.js +216 -0
- package/build/metadata/apple/tasks/index.d.ts +10 -0
- package/build/metadata/apple/tasks/index.js +18 -0
- package/build/metadata/apple/types.d.ts +43 -0
- package/build/metadata/apple/types.js +2 -0
- package/build/metadata/auth.d.ts +20 -0
- package/build/metadata/auth.js +31 -0
- package/build/metadata/config/issue.d.ts +21 -0
- package/build/metadata/config/issue.js +9 -0
- package/build/metadata/config/resolve.d.ts +27 -0
- package/build/metadata/config/resolve.js +74 -0
- package/build/metadata/config/schema.d.ts +7 -0
- package/build/metadata/config/schema.js +2 -0
- package/build/metadata/config/validate.d.ts +3 -0
- package/build/metadata/config/validate.js +44 -0
- package/build/metadata/download.d.ts +15 -0
- package/build/metadata/download.js +70 -0
- package/build/metadata/errors.d.ts +42 -0
- package/build/metadata/errors.js +92 -0
- package/build/metadata/upload.d.ts +17 -0
- package/build/metadata/upload.js +73 -0
- package/build/metadata/utils/ajv.d.ts +10 -0
- package/build/metadata/utils/ajv.js +29 -0
- package/build/metadata/utils/asc.d.ts +3 -0
- package/build/metadata/utils/asc.js +2 -0
- package/build/metadata/utils/date.d.ts +12 -0
- package/build/metadata/utils/date.js +29 -0
- package/build/metadata/utils/log.d.ts +16 -0
- package/build/metadata/utils/log.js +22 -0
- package/build/metadata/utils/retry.d.ts +8 -0
- package/build/metadata/utils/retry.js +20 -0
- package/build/metadata/utils/telemetry.d.ts +19 -0
- package/build/metadata/utils/telemetry.js +82 -0
- package/build/onboarding/git.d.ts +16 -0
- package/build/onboarding/git.js +88 -0
- package/build/onboarding/installDependencies.d.ts +8 -0
- package/build/onboarding/installDependencies.js +27 -0
- package/build/onboarding/runCommand.d.ts +9 -0
- package/build/onboarding/runCommand.js +68 -0
- package/build/ora.d.ts +9 -0
- package/build/ora.js +101 -0
- package/build/platform.d.ts +17 -0
- package/build/platform.js +90 -0
- package/build/project/android/applicationId.d.ts +20 -0
- package/build/project/android/applicationId.js +152 -0
- package/build/project/android/gradle.d.ts +9 -0
- package/build/project/android/gradle.js +41 -0
- package/build/project/android/gradleUtils.d.ts +42 -0
- package/build/project/android/gradleUtils.js +85 -0
- package/build/project/android/versions.d.ts +3 -0
- package/build/project/android/versions.js +23 -0
- package/build/project/applicationIdentifier.d.ts +16 -0
- package/build/project/applicationIdentifier.js +55 -0
- package/build/project/customBuildConfig.d.ts +13 -0
- package/build/project/customBuildConfig.js +49 -0
- package/build/project/discourageExpoGoForProdAsync.d.ts +4 -0
- package/build/project/discourageExpoGoForProdAsync.js +46 -0
- package/build/project/expoConfig.d.ts +19 -0
- package/build/project/expoConfig.js +108 -0
- package/build/project/expoSdk.d.ts +3 -0
- package/build/project/expoSdk.js +29 -0
- package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.d.ts +21 -0
- package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +86 -0
- package/build/project/ios/bundleIdentifier.d.ts +22 -0
- package/build/project/ios/bundleIdentifier.js +151 -0
- package/build/project/ios/entitlements.d.ts +9 -0
- package/build/project/ios/entitlements.js +61 -0
- package/build/project/ios/exemptEncryption.d.ts +7 -0
- package/build/project/ios/exemptEncryption.js +81 -0
- package/build/project/ios/scheme.d.ts +18 -0
- package/build/project/ios/scheme.js +69 -0
- package/build/project/ios/target.d.ts +38 -0
- package/build/project/ios/target.js +230 -0
- package/build/project/ios/versions.d.ts +3 -0
- package/build/project/ios/versions.js +17 -0
- package/build/project/maybeUploadAssetMapAsync.d.ts +3 -0
- package/build/project/maybeUploadAssetMapAsync.js +39 -0
- package/build/project/maybeUploadFingerprintAsync.d.ts +15 -0
- package/build/project/maybeUploadFingerprintAsync.js +51 -0
- package/build/project/metroConfig.d.ts +3 -0
- package/build/project/metroConfig.js +71 -0
- package/build/project/projectUtils.d.ts +26 -0
- package/build/project/projectUtils.js +134 -0
- package/build/project/publish.d.ts +233 -0
- package/build/project/publish.js +681 -0
- package/build/project/remoteVersionSource.d.ts +17 -0
- package/build/project/remoteVersionSource.js +153 -0
- package/build/project/resolveRuntimeVersionAsync.d.ts +31 -0
- package/build/project/resolveRuntimeVersionAsync.js +51 -0
- package/build/project/uploadAccountScopedFileAsync.d.ts +14 -0
- package/build/project/uploadAccountScopedFileAsync.js +34 -0
- package/build/project/uploadAccountScopedProjectSourceAsync.d.ts +13 -0
- package/build/project/uploadAccountScopedProjectSourceAsync.js +43 -0
- package/build/project/workflow.d.ts +5 -0
- package/build/project/workflow.js +50 -0
- package/build/prompts.d.ts +22 -0
- package/build/prompts.js +76 -0
- package/build/rollout/actions/CreateRollout.d.ts +24 -0
- package/build/rollout/actions/CreateRollout.js +239 -0
- package/build/rollout/actions/EditRollout.d.ts +16 -0
- package/build/rollout/actions/EditRollout.js +83 -0
- package/build/rollout/actions/EndRollout.d.ts +25 -0
- package/build/rollout/actions/EndRollout.js +165 -0
- package/build/rollout/actions/ManageRollout.d.ts +24 -0
- package/build/rollout/actions/ManageRollout.js +90 -0
- package/build/rollout/actions/NonInteractiveRollout.d.ts +23 -0
- package/build/rollout/actions/NonInteractiveRollout.js +115 -0
- package/build/rollout/actions/RolloutMainMenu.d.ts +27 -0
- package/build/rollout/actions/RolloutMainMenu.js +122 -0
- package/build/rollout/actions/SelectRollout.d.ts +8 -0
- package/build/rollout/actions/SelectRollout.js +33 -0
- package/build/rollout/actions/SelectRuntime.d.ts +19 -0
- package/build/rollout/actions/SelectRuntime.js +160 -0
- package/build/rollout/branch-mapping.d.ts +128 -0
- package/build/rollout/branch-mapping.js +271 -0
- package/build/rollout/utils.d.ts +10 -0
- package/build/rollout/utils.js +91 -0
- package/build/run/android/aapt.d.ts +5 -0
- package/build/run/android/aapt.js +50 -0
- package/build/run/android/adb.d.ts +23 -0
- package/build/run/android/adb.js +116 -0
- package/build/run/android/emulator.d.ts +7 -0
- package/build/run/android/emulator.js +109 -0
- package/build/run/android/run.d.ts +1 -0
- package/build/run/android/run.js +15 -0
- package/build/run/android/sdk.d.ts +2 -0
- package/build/run/android/sdk.js +29 -0
- package/build/run/android/systemRequirements.d.ts +1 -0
- package/build/run/android/systemRequirements.js +23 -0
- package/build/run/ios/run.d.ts +1 -0
- package/build/run/ios/run.js +30 -0
- package/build/run/ios/simctl.d.ts +2 -0
- package/build/run/ios/simctl.js +7 -0
- package/build/run/ios/simulator.d.ts +21 -0
- package/build/run/ios/simulator.js +160 -0
- package/build/run/ios/systemRequirements.d.ts +1 -0
- package/build/run/ios/systemRequirements.js +81 -0
- package/build/run/ios/xcode.d.ts +19 -0
- package/build/run/ios/xcode.js +63 -0
- package/build/run/ios/xcrun.d.ts +4 -0
- package/build/run/ios/xcrun.js +66 -0
- package/build/run/run.d.ts +9 -0
- package/build/run/run.js +21 -0
- package/build/run/utils.d.ts +2 -0
- package/build/run/utils.js +17 -0
- package/build/submit/ArchiveSource.d.ts +58 -0
- package/build/submit/ArchiveSource.js +412 -0
- package/build/submit/BaseSubmitter.d.ts +36 -0
- package/build/submit/BaseSubmitter.js +88 -0
- package/build/submit/android/AndroidSubmitCommand.d.ts +14 -0
- package/build/submit/android/AndroidSubmitCommand.js +125 -0
- package/build/submit/android/AndroidSubmitter.d.ts +23 -0
- package/build/submit/android/AndroidSubmitter.js +110 -0
- package/build/submit/android/ServiceAccountSource.d.ts +41 -0
- package/build/submit/android/ServiceAccountSource.js +120 -0
- package/build/submit/commons.d.ts +5 -0
- package/build/submit/commons.js +64 -0
- package/build/submit/context.d.ts +56 -0
- package/build/submit/context.js +53 -0
- package/build/submit/ios/AppProduce.d.ts +7 -0
- package/build/submit/ios/AppProduce.js +77 -0
- package/build/submit/ios/AppSpecificPasswordSource.d.ts +20 -0
- package/build/submit/ios/AppSpecificPasswordSource.js +57 -0
- package/build/submit/ios/AscApiKeySource.d.ts +39 -0
- package/build/submit/ios/AscApiKeySource.js +115 -0
- package/build/submit/ios/IosSubmitCommand.d.ts +14 -0
- package/build/submit/ios/IosSubmitCommand.js +156 -0
- package/build/submit/ios/IosSubmitter.d.ts +31 -0
- package/build/submit/ios/IosSubmitter.js +141 -0
- package/build/submit/ios/utils/language.d.ts +9 -0
- package/build/submit/ios/utils/language.js +244 -0
- package/build/submit/submit.d.ts +9 -0
- package/build/submit/submit.js +81 -0
- package/build/submit/utils/builds.d.ts +5 -0
- package/build/submit/utils/builds.js +29 -0
- package/build/submit/utils/errors.d.ts +5 -0
- package/build/submit/utils/errors.js +23 -0
- package/build/submit/utils/files.d.ts +3 -0
- package/build/submit/utils/files.js +27 -0
- package/build/submit/utils/logs.d.ts +5 -0
- package/build/submit/utils/logs.js +68 -0
- package/build/submit/utils/summary.d.ts +8 -0
- package/build/submit/utils/summary.js +60 -0
- package/build/submit/utils/urls.d.ts +3 -0
- package/build/submit/utils/urls.js +24 -0
- package/build/submit/utils/wait.d.ts +3 -0
- package/build/submit/utils/wait.js +113 -0
- package/build/update/android/UpdatesModule.d.ts +12 -0
- package/build/update/android/UpdatesModule.js +53 -0
- package/build/update/configure.d.ts +36 -0
- package/build/update/configure.js +292 -0
- package/build/update/delete.d.ts +5 -0
- package/build/update/delete.js +23 -0
- package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.d.ts +5 -0
- package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js +45 -0
- package/build/update/ios/UpdatesModule.d.ts +11 -0
- package/build/update/ios/UpdatesModule.js +41 -0
- package/build/update/queries.d.ts +33 -0
- package/build/update/queries.js +232 -0
- package/build/update/republish.d.ts +56 -0
- package/build/update/republish.js +416 -0
- package/build/update/roll-back-to-embedded.d.ts +18 -0
- package/build/update/roll-back-to-embedded.js +118 -0
- package/build/update/utils.d.ts +64 -0
- package/build/update/utils.js +267 -0
- package/build/uploads.d.ts +16 -0
- package/build/uploads.js +100 -0
- package/build/user/SessionManager.d.ts +76 -0
- package/build/user/SessionManager.js +268 -0
- package/build/user/User.d.ts +9 -0
- package/build/user/User.js +34 -0
- package/build/user/UserSettings.d.ts +10 -0
- package/build/user/UserSettings.js +13 -0
- package/build/user/actions.d.ts +3 -0
- package/build/user/actions.js +9 -0
- package/build/user/expoBrowserAuthFlowLauncher.d.ts +3 -0
- package/build/user/expoBrowserAuthFlowLauncher.js +72 -0
- package/build/user/expoSsoLauncher.d.ts +3 -0
- package/build/user/expoSsoLauncher.js +98 -0
- package/build/user/fetchSessionSecretAndSsoUser.d.ts +5 -0
- package/build/user/fetchSessionSecretAndSsoUser.js +18 -0
- package/build/user/fetchSessionSecretAndUser.d.ts +9 -0
- package/build/user/fetchSessionSecretAndUser.js +22 -0
- package/build/user/fetchSessionSecretAndUserFromBrowserAuthFlow.d.ts +7 -0
- package/build/user/fetchSessionSecretAndUserFromBrowserAuthFlow.js +14 -0
- package/build/user/fetchUser.d.ts +6 -0
- package/build/user/fetchUser.js +28 -0
- package/build/utils/buildDistribution.d.ts +3 -0
- package/build/utils/buildDistribution.js +20 -0
- package/build/utils/code-signing.d.ts +25 -0
- package/build/utils/code-signing.js +130 -0
- package/build/utils/date.d.ts +4 -0
- package/build/utils/date.js +36 -0
- package/build/utils/download.d.ts +3 -0
- package/build/utils/download.js +155 -0
- package/build/utils/easCli.d.ts +1 -0
- package/build/utils/easCli.js +5 -0
- package/build/utils/expoCli.d.ts +17 -0
- package/build/utils/expoCli.js +105 -0
- package/build/utils/expoUpdatesCli.d.ts +11 -0
- package/build/utils/expoUpdatesCli.js +49 -0
- package/build/utils/expodash/areSetsEqual.d.ts +1 -0
- package/build/utils/expodash/areSetsEqual.js +6 -0
- package/build/utils/expodash/capitalize.d.ts +1 -0
- package/build/utils/expodash/capitalize.js +6 -0
- package/build/utils/expodash/chunk.d.ts +1 -0
- package/build/utils/expodash/chunk.js +16 -0
- package/build/utils/expodash/differenceBy.d.ts +1 -0
- package/build/utils/expodash/differenceBy.js +7 -0
- package/build/utils/expodash/filter.d.ts +2 -0
- package/build/utils/expodash/filter.js +7 -0
- package/build/utils/expodash/groupBy.d.ts +1 -0
- package/build/utils/expodash/groupBy.js +13 -0
- package/build/utils/expodash/intersection.d.ts +1 -0
- package/build/utils/expodash/intersection.js +8 -0
- package/build/utils/expodash/mapMapAsync.d.ts +1 -0
- package/build/utils/expodash/mapMapAsync.js +12 -0
- package/build/utils/expodash/memoize.d.ts +2 -0
- package/build/utils/expodash/memoize.js +16 -0
- package/build/utils/expodash/pick.d.ts +1 -0
- package/build/utils/expodash/pick.js +11 -0
- package/build/utils/expodash/sortBy.d.ts +1 -0
- package/build/utils/expodash/sortBy.js +11 -0
- package/build/utils/expodash/uniq.d.ts +1 -0
- package/build/utils/expodash/uniq.js +7 -0
- package/build/utils/expodash/uniqBy.d.ts +1 -0
- package/build/utils/expodash/uniqBy.js +14 -0
- package/build/utils/expodash/zipObject.d.ts +1 -0
- package/build/utils/expodash/zipObject.js +13 -0
- package/build/utils/files.d.ts +2 -0
- package/build/utils/files.js +52 -0
- package/build/utils/filterAsync.d.ts +7 -0
- package/build/utils/filterAsync.js +11 -0
- package/build/utils/fingerprint.d.ts +97 -0
- package/build/utils/fingerprint.js +5 -0
- package/build/utils/fingerprintCli.d.ts +28 -0
- package/build/utils/fingerprintCli.js +110 -0
- package/build/utils/fingerprintDiff.d.ts +33 -0
- package/build/utils/fingerprintDiff.js +122 -0
- package/build/utils/formatFields.d.ts +9 -0
- package/build/utils/formatFields.js +19 -0
- package/build/utils/image.d.ts +6 -0
- package/build/utils/image.js +107 -0
- package/build/utils/json.d.ts +2 -0
- package/build/utils/json.js +42 -0
- package/build/utils/paths.d.ts +7 -0
- package/build/utils/paths.js +43 -0
- package/build/utils/plist.d.ts +4 -0
- package/build/utils/plist.js +51 -0
- package/build/utils/pollForBackgroundJobReceiptAsync.d.ts +29 -0
- package/build/utils/pollForBackgroundJobReceiptAsync.js +92 -0
- package/build/utils/profiles.d.ts +21 -0
- package/build/utils/profiles.js +89 -0
- package/build/utils/progress.d.ts +15 -0
- package/build/utils/progress.js +64 -0
- package/build/utils/promise.d.ts +7 -0
- package/build/utils/promise.js +12 -0
- package/build/utils/prompts.d.ts +32 -0
- package/build/utils/prompts.js +219 -0
- package/build/utils/queries.d.ts +31 -0
- package/build/utils/queries.js +68 -0
- package/build/utils/relay.d.ts +104 -0
- package/build/utils/relay.js +255 -0
- package/build/utils/statuspageService.d.ts +3 -0
- package/build/utils/statuspageService.js +44 -0
- package/build/utils/timer.d.ts +12 -0
- package/build/utils/timer.js +54 -0
- package/build/utils/usage/checkForOverages.d.ts +12 -0
- package/build/utils/usage/checkForOverages.js +59 -0
- package/build/utils/variableUtils.d.ts +6 -0
- package/build/utils/variableUtils.js +61 -0
- package/build/utils/workflowFile.d.ts +14 -0
- package/build/utils/workflowFile.js +58 -0
- package/build/vcs/clients/git.d.ts +37 -0
- package/build/vcs/clients/git.js +456 -0
- package/build/vcs/clients/gitNoCommit.d.ts +8 -0
- package/build/vcs/clients/gitNoCommit.js +42 -0
- package/build/vcs/clients/noVcs.d.ts +11 -0
- package/build/vcs/clients/noVcs.js +52 -0
- package/build/vcs/git.d.ts +13 -0
- package/build/vcs/git.js +59 -0
- package/build/vcs/index.d.ts +2 -0
- package/build/vcs/index.js +25 -0
- package/build/vcs/local.d.ts +25 -0
- package/build/vcs/local.js +117 -0
- package/build/vcs/vcs.d.ts +25 -0
- package/build/vcs/vcs.js +61 -0
- package/build/webhooks/formatWebhook.d.ts +2 -0
- package/build/webhooks/formatWebhook.js +14 -0
- package/build/webhooks/input.d.ts +9 -0
- package/build/webhooks/input.js +83 -0
- package/build/worker/assets.d.ts +54 -0
- package/build/worker/assets.js +193 -0
- package/build/worker/deployment.d.ts +61 -0
- package/build/worker/deployment.js +184 -0
- package/build/worker/fragments/WorkerDeployment.d.ts +1 -0
- package/build/worker/fragments/WorkerDeployment.js +14 -0
- package/build/worker/fragments/WorkerDeploymentAlias.d.ts +1 -0
- package/build/worker/fragments/WorkerDeploymentAlias.js +12 -0
- package/build/worker/mutations.d.ts +28 -0
- package/build/worker/mutations.js +105 -0
- package/build/worker/queries.d.ts +14 -0
- package/build/worker/queries.js +103 -0
- package/build/worker/upload.d.ts +33 -0
- package/build/worker/upload.js +213 -0
- package/build/worker/utils/logs.d.ts +36 -0
- package/build/worker/utils/logs.js +54 -0
- package/build/worker/utils/multipart.d.ts +11 -0
- package/build/worker/utils/multipart.js +98 -0
- package/package.json +246 -0
- package/schema/metadata-0.json +828 -0
package/bin/dev
ADDED
package/bin/dev.cmd
ADDED
package/bin/run
ADDED
package/bin/run.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { JSONValue } from '@expo/json-file';
|
|
2
|
+
export declare class ApiV2Error extends Error {
|
|
3
|
+
readonly name = "ApiV2Error";
|
|
4
|
+
readonly expoApiV2ErrorCode: string;
|
|
5
|
+
readonly expoApiV2ErrorDetails?: JSONValue;
|
|
6
|
+
readonly expoApiV2ErrorServerStack?: string;
|
|
7
|
+
readonly expoApiV2ErrorMetadata?: object;
|
|
8
|
+
readonly expoApiV2ErrorRequestId?: string;
|
|
9
|
+
constructor(response: {
|
|
10
|
+
message: string;
|
|
11
|
+
code: string;
|
|
12
|
+
stack?: string;
|
|
13
|
+
details?: JSONValue;
|
|
14
|
+
metadata?: object;
|
|
15
|
+
requestId?: string;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiV2Error = void 0;
|
|
4
|
+
class ApiV2Error extends Error {
|
|
5
|
+
name = 'ApiV2Error';
|
|
6
|
+
expoApiV2ErrorCode;
|
|
7
|
+
expoApiV2ErrorDetails;
|
|
8
|
+
expoApiV2ErrorServerStack;
|
|
9
|
+
expoApiV2ErrorMetadata;
|
|
10
|
+
expoApiV2ErrorRequestId;
|
|
11
|
+
constructor(response) {
|
|
12
|
+
super(response.message);
|
|
13
|
+
this.expoApiV2ErrorCode = response.code;
|
|
14
|
+
this.expoApiV2ErrorDetails = response.details;
|
|
15
|
+
this.expoApiV2ErrorServerStack = response.stack;
|
|
16
|
+
this.expoApiV2ErrorMetadata = response.metadata;
|
|
17
|
+
this.expoApiV2ErrorRequestId = response.requestId;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.ApiV2Error = ApiV2Error;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Actor } from '../user/User';
|
|
2
|
+
export type AnalyticsEvent = CommandEvent | BuildEvent | SubmissionEvent | MetadataEvent;
|
|
3
|
+
export declare enum CommandEvent {
|
|
4
|
+
ACTION = "action"
|
|
5
|
+
}
|
|
6
|
+
export declare enum SubmissionEvent {
|
|
7
|
+
SUBMIT_COMMAND = "submit cli submit command",
|
|
8
|
+
SUBMIT_COMMAND_ATTEMPT = "submit cli attempt",
|
|
9
|
+
SUBMIT_COMMAND_SUCCESS = "submit cli success",
|
|
10
|
+
SUBMIT_COMMAND_FAIL = "submit cli fail",
|
|
11
|
+
GATHER_CREDENTIALS_ATTEMPT = "submit cli gather credentials attempt",
|
|
12
|
+
GATHER_CREDENTIALS_SUCCESS = "submit cli gather credentials success",
|
|
13
|
+
GATHER_CREDENTIALS_FAIL = "submit cli gather credentials fail",
|
|
14
|
+
GATHER_ARCHIVE_ATTEMPT = "submit cli gather archive attempt",
|
|
15
|
+
GATHER_ARCHIVE_SUCCESS = "submit cli gather archive success",
|
|
16
|
+
GATHER_ARCHIVE_FAIL = "submit cli gather archive fail",
|
|
17
|
+
SUBMIT_REQUEST_ATTEMPT = "submit cli request attempt",
|
|
18
|
+
SUBMIT_REQUEST_SUCCESS = "submit cli request success",
|
|
19
|
+
SUBMIT_REQUEST_FAIL = "submit cli request fail",
|
|
20
|
+
API_KEY_DOWNLOAD_FAIL = "submit cli credentials api key download fail",
|
|
21
|
+
API_KEY_DOWNLOAD_RETRY = "submit cli credentials api key download fail temporary",
|
|
22
|
+
API_KEY_DOWNLOAD_SUCCESS = "submit cli credentials api key download succeed"
|
|
23
|
+
}
|
|
24
|
+
export declare enum BuildEvent {
|
|
25
|
+
BUILD_COMMAND = "build cli build command",
|
|
26
|
+
PROJECT_UPLOAD_ATTEMPT = "build cli project upload attempt",
|
|
27
|
+
PROJECT_UPLOAD_SUCCESS = "build cli project upload success",
|
|
28
|
+
PROJECT_UPLOAD_FAIL = "build cli project upload fail",
|
|
29
|
+
GATHER_CREDENTIALS_ATTEMPT = "build cli gather credentials attempt",
|
|
30
|
+
GATHER_CREDENTIALS_SUCCESS = "build cli gather credentials success",
|
|
31
|
+
GATHER_CREDENTIALS_FAIL = "build cli gather credentials fail",
|
|
32
|
+
CONFIGURE_PROJECT_ATTEMPT = "build cli configure project attempt",
|
|
33
|
+
CONFIGURE_PROJECT_SUCCESS = "build cli configure project success",
|
|
34
|
+
CONFIGURE_PROJECT_FAIL = "build cli configure project fail",
|
|
35
|
+
BUILD_REQUEST_ATTEMPT = "build cli build request attempt",
|
|
36
|
+
BUILD_REQUEST_SUCCESS = "build cli build request success",
|
|
37
|
+
BUILD_REQUEST_FAIL = "build cli build request fail",
|
|
38
|
+
BUILD_STATUS_COMMAND = "build cli build status",
|
|
39
|
+
CREDENTIALS_SYNC_COMMAND = "build cli credentials sync command",
|
|
40
|
+
CREDENTIALS_SYNC_UPDATE_LOCAL_ATTEMPT = "build cli credentials sync update local attempt",
|
|
41
|
+
CREDENTIALS_SYNC_UPDATE_LOCAL_SUCCESS = "build cli credentials sync update local success",
|
|
42
|
+
CREDENTIALS_SYNC_UPDATE_LOCAL_FAIL = "build cli credentials sync update local fail",
|
|
43
|
+
CREDENTIALS_SYNC_UPDATE_REMOTE_ATTEMPT = "build cli credentials sync update remote attempt",
|
|
44
|
+
CREDENTIALS_SYNC_UPDATE_REMOTE_SUCCESS = "build cli credentials sync update remote success",
|
|
45
|
+
CREDENTIALS_SYNC_UPDATE_REMOTE_FAIL = "build cli credentials sync update remote fail",
|
|
46
|
+
ANDROID_KEYSTORE_CREATE = "build cli credentials keystore create"
|
|
47
|
+
}
|
|
48
|
+
export declare enum MetadataEvent {
|
|
49
|
+
APPLE_METADATA_DOWNLOAD = "metadata cli download apple response",
|
|
50
|
+
APPLE_METADATA_UPLOAD = "metadata cli upload apple response"
|
|
51
|
+
}
|
|
52
|
+
export type AnalyticsEventProperties = Record<string, string | number | boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* The interface for commands to use to log events to analytics.
|
|
55
|
+
*/
|
|
56
|
+
export interface Analytics {
|
|
57
|
+
logEvent(name: AnalyticsEvent, properties: AnalyticsEventProperties): void;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The interface for commands to use to orchestrate the analytics system. Should only be necessary to use
|
|
61
|
+
* this within EASCommand.
|
|
62
|
+
*/
|
|
63
|
+
export interface AnalyticsWithOrchestration extends Analytics {
|
|
64
|
+
setActor(actor: Actor): void;
|
|
65
|
+
flushAsync(): Promise<void>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Sets the user's analytics enabled preference. Note that this will only take effect
|
|
69
|
+
* upon the next run of the CLI.
|
|
70
|
+
*/
|
|
71
|
+
export declare function setAnalyticsEnabledAsync(enabled: boolean): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Returns the user's analytics enabled preference.
|
|
74
|
+
*/
|
|
75
|
+
export declare function getAnalyticsEnabledAsync(): Promise<boolean>;
|
|
76
|
+
/**
|
|
77
|
+
* Create an instance of Analytics based on the user's analytics enabled preferences.
|
|
78
|
+
*/
|
|
79
|
+
export declare function createAnalyticsAsync(): Promise<AnalyticsWithOrchestration>;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MetadataEvent = exports.BuildEvent = exports.SubmissionEvent = exports.CommandEvent = void 0;
|
|
4
|
+
exports.setAnalyticsEnabledAsync = setAnalyticsEnabledAsync;
|
|
5
|
+
exports.getAnalyticsEnabledAsync = getAnalyticsEnabledAsync;
|
|
6
|
+
exports.createAnalyticsAsync = createAnalyticsAsync;
|
|
7
|
+
const tslib_1 = require("tslib");
|
|
8
|
+
const rudder_sdk_node_1 = tslib_1.__importDefault(require("@expo/rudder-sdk-node"));
|
|
9
|
+
const os_1 = tslib_1.__importDefault(require("os"));
|
|
10
|
+
const url_1 = require("url");
|
|
11
|
+
const uuid_1 = require("uuid");
|
|
12
|
+
const User_1 = require("../user/User");
|
|
13
|
+
const UserSettings_1 = tslib_1.__importDefault(require("../user/UserSettings"));
|
|
14
|
+
const easCli_1 = require("../utils/easCli");
|
|
15
|
+
const PLATFORM_TO_ANALYTICS_PLATFORM = {
|
|
16
|
+
darwin: 'Mac',
|
|
17
|
+
win32: 'Windows',
|
|
18
|
+
linux: 'Linux',
|
|
19
|
+
};
|
|
20
|
+
var CommandEvent;
|
|
21
|
+
(function (CommandEvent) {
|
|
22
|
+
CommandEvent["ACTION"] = "action";
|
|
23
|
+
})(CommandEvent || (exports.CommandEvent = CommandEvent = {}));
|
|
24
|
+
var SubmissionEvent;
|
|
25
|
+
(function (SubmissionEvent) {
|
|
26
|
+
SubmissionEvent["SUBMIT_COMMAND"] = "submit cli submit command";
|
|
27
|
+
SubmissionEvent["SUBMIT_COMMAND_ATTEMPT"] = "submit cli attempt";
|
|
28
|
+
SubmissionEvent["SUBMIT_COMMAND_SUCCESS"] = "submit cli success";
|
|
29
|
+
SubmissionEvent["SUBMIT_COMMAND_FAIL"] = "submit cli fail";
|
|
30
|
+
SubmissionEvent["GATHER_CREDENTIALS_ATTEMPT"] = "submit cli gather credentials attempt";
|
|
31
|
+
SubmissionEvent["GATHER_CREDENTIALS_SUCCESS"] = "submit cli gather credentials success";
|
|
32
|
+
SubmissionEvent["GATHER_CREDENTIALS_FAIL"] = "submit cli gather credentials fail";
|
|
33
|
+
SubmissionEvent["GATHER_ARCHIVE_ATTEMPT"] = "submit cli gather archive attempt";
|
|
34
|
+
SubmissionEvent["GATHER_ARCHIVE_SUCCESS"] = "submit cli gather archive success";
|
|
35
|
+
SubmissionEvent["GATHER_ARCHIVE_FAIL"] = "submit cli gather archive fail";
|
|
36
|
+
SubmissionEvent["SUBMIT_REQUEST_ATTEMPT"] = "submit cli request attempt";
|
|
37
|
+
SubmissionEvent["SUBMIT_REQUEST_SUCCESS"] = "submit cli request success";
|
|
38
|
+
SubmissionEvent["SUBMIT_REQUEST_FAIL"] = "submit cli request fail";
|
|
39
|
+
SubmissionEvent["API_KEY_DOWNLOAD_FAIL"] = "submit cli credentials api key download fail";
|
|
40
|
+
SubmissionEvent["API_KEY_DOWNLOAD_RETRY"] = "submit cli credentials api key download fail temporary";
|
|
41
|
+
SubmissionEvent["API_KEY_DOWNLOAD_SUCCESS"] = "submit cli credentials api key download succeed";
|
|
42
|
+
})(SubmissionEvent || (exports.SubmissionEvent = SubmissionEvent = {}));
|
|
43
|
+
var BuildEvent;
|
|
44
|
+
(function (BuildEvent) {
|
|
45
|
+
BuildEvent["BUILD_COMMAND"] = "build cli build command";
|
|
46
|
+
BuildEvent["PROJECT_UPLOAD_ATTEMPT"] = "build cli project upload attempt";
|
|
47
|
+
BuildEvent["PROJECT_UPLOAD_SUCCESS"] = "build cli project upload success";
|
|
48
|
+
BuildEvent["PROJECT_UPLOAD_FAIL"] = "build cli project upload fail";
|
|
49
|
+
BuildEvent["GATHER_CREDENTIALS_ATTEMPT"] = "build cli gather credentials attempt";
|
|
50
|
+
BuildEvent["GATHER_CREDENTIALS_SUCCESS"] = "build cli gather credentials success";
|
|
51
|
+
BuildEvent["GATHER_CREDENTIALS_FAIL"] = "build cli gather credentials fail";
|
|
52
|
+
BuildEvent["CONFIGURE_PROJECT_ATTEMPT"] = "build cli configure project attempt";
|
|
53
|
+
BuildEvent["CONFIGURE_PROJECT_SUCCESS"] = "build cli configure project success";
|
|
54
|
+
BuildEvent["CONFIGURE_PROJECT_FAIL"] = "build cli configure project fail";
|
|
55
|
+
BuildEvent["BUILD_REQUEST_ATTEMPT"] = "build cli build request attempt";
|
|
56
|
+
BuildEvent["BUILD_REQUEST_SUCCESS"] = "build cli build request success";
|
|
57
|
+
BuildEvent["BUILD_REQUEST_FAIL"] = "build cli build request fail";
|
|
58
|
+
BuildEvent["BUILD_STATUS_COMMAND"] = "build cli build status";
|
|
59
|
+
BuildEvent["CREDENTIALS_SYNC_COMMAND"] = "build cli credentials sync command";
|
|
60
|
+
BuildEvent["CREDENTIALS_SYNC_UPDATE_LOCAL_ATTEMPT"] = "build cli credentials sync update local attempt";
|
|
61
|
+
BuildEvent["CREDENTIALS_SYNC_UPDATE_LOCAL_SUCCESS"] = "build cli credentials sync update local success";
|
|
62
|
+
BuildEvent["CREDENTIALS_SYNC_UPDATE_LOCAL_FAIL"] = "build cli credentials sync update local fail";
|
|
63
|
+
BuildEvent["CREDENTIALS_SYNC_UPDATE_REMOTE_ATTEMPT"] = "build cli credentials sync update remote attempt";
|
|
64
|
+
BuildEvent["CREDENTIALS_SYNC_UPDATE_REMOTE_SUCCESS"] = "build cli credentials sync update remote success";
|
|
65
|
+
BuildEvent["CREDENTIALS_SYNC_UPDATE_REMOTE_FAIL"] = "build cli credentials sync update remote fail";
|
|
66
|
+
BuildEvent["ANDROID_KEYSTORE_CREATE"] = "build cli credentials keystore create";
|
|
67
|
+
})(BuildEvent || (exports.BuildEvent = BuildEvent = {}));
|
|
68
|
+
var MetadataEvent;
|
|
69
|
+
(function (MetadataEvent) {
|
|
70
|
+
MetadataEvent["APPLE_METADATA_DOWNLOAD"] = "metadata cli download apple response";
|
|
71
|
+
MetadataEvent["APPLE_METADATA_UPLOAD"] = "metadata cli upload apple response";
|
|
72
|
+
})(MetadataEvent || (exports.MetadataEvent = MetadataEvent = {}));
|
|
73
|
+
const USER_SETTINGS_KEY_AMPLITUDE_ENABLED = 'amplitudeEnabled';
|
|
74
|
+
const USER_SETTINGS_KEY_AMPLITUDE_DEVICE_ID = 'amplitudeDeviceId';
|
|
75
|
+
const USER_SETTINGS_KEY_ANALYTICS_ENABLED = 'analyticsEnabled';
|
|
76
|
+
const USER_SETTINGS_KEY_ANALYTICS_DEVICE_ID = 'analyticsDeviceId';
|
|
77
|
+
/**
|
|
78
|
+
* Sets the user's analytics enabled preference. Note that this will only take effect
|
|
79
|
+
* upon the next run of the CLI.
|
|
80
|
+
*/
|
|
81
|
+
async function setAnalyticsEnabledAsync(enabled) {
|
|
82
|
+
await UserSettings_1.default.setAsync(USER_SETTINGS_KEY_ANALYTICS_ENABLED, enabled);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Returns the user's analytics enabled preference.
|
|
86
|
+
*/
|
|
87
|
+
async function getAnalyticsEnabledAsync() {
|
|
88
|
+
const analyticsEnabled = await UserSettings_1.default.getAsync(USER_SETTINGS_KEY_ANALYTICS_ENABLED, null);
|
|
89
|
+
return !!analyticsEnabled;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Create an instance of Analytics based on the user's analytics enabled preferences.
|
|
93
|
+
*/
|
|
94
|
+
async function createAnalyticsAsync() {
|
|
95
|
+
// TODO: remove after some time
|
|
96
|
+
const amplitudeEnabled = await UserSettings_1.default.getAsync(USER_SETTINGS_KEY_AMPLITUDE_ENABLED, null);
|
|
97
|
+
if (amplitudeEnabled !== null) {
|
|
98
|
+
await UserSettings_1.default.setAsync(USER_SETTINGS_KEY_ANALYTICS_ENABLED, amplitudeEnabled);
|
|
99
|
+
await UserSettings_1.default.deleteKeyAsync(USER_SETTINGS_KEY_AMPLITUDE_ENABLED);
|
|
100
|
+
}
|
|
101
|
+
const amplitudeDeviceId = await UserSettings_1.default.getAsync(USER_SETTINGS_KEY_AMPLITUDE_DEVICE_ID, null);
|
|
102
|
+
if (amplitudeDeviceId !== null) {
|
|
103
|
+
await UserSettings_1.default.setAsync(USER_SETTINGS_KEY_ANALYTICS_DEVICE_ID, amplitudeDeviceId);
|
|
104
|
+
await UserSettings_1.default.deleteKeyAsync(USER_SETTINGS_KEY_AMPLITUDE_DEVICE_ID);
|
|
105
|
+
}
|
|
106
|
+
if (process.env.DISABLE_EAS_ANALYTICS) {
|
|
107
|
+
await UserSettings_1.default.setAsync(USER_SETTINGS_KEY_ANALYTICS_ENABLED, false);
|
|
108
|
+
}
|
|
109
|
+
const analyticsEnabled = !process.env.https_proxy && // disable analytics if running behind proxy
|
|
110
|
+
(await UserSettings_1.default.getAsync(USER_SETTINGS_KEY_ANALYTICS_ENABLED, true));
|
|
111
|
+
if (!analyticsEnabled) {
|
|
112
|
+
return new NoOpAnalytics();
|
|
113
|
+
}
|
|
114
|
+
const persistedDeviceId = await UserSettings_1.default.getAsync(USER_SETTINGS_KEY_ANALYTICS_DEVICE_ID, null);
|
|
115
|
+
const deviceId = persistedDeviceId ?? (0, uuid_1.v4)();
|
|
116
|
+
if (!persistedDeviceId) {
|
|
117
|
+
await UserSettings_1.default.setAsync(USER_SETTINGS_KEY_ANALYTICS_DEVICE_ID, deviceId);
|
|
118
|
+
}
|
|
119
|
+
return new RudderstackAnalytics(deviceId);
|
|
120
|
+
}
|
|
121
|
+
class NoOpAnalytics {
|
|
122
|
+
logEvent() { }
|
|
123
|
+
setActor() { }
|
|
124
|
+
async flushAsync() { }
|
|
125
|
+
}
|
|
126
|
+
const RudderstackAnalyticsConfig = process.env.EXPO_STAGING || process.env.EXPO_LOCAL
|
|
127
|
+
? {
|
|
128
|
+
// staging environment
|
|
129
|
+
rudderstackWriteKey: '1wpX20Da4ltFGSXbPFYUL00Chb7',
|
|
130
|
+
rudderstackDataPlaneURL: 'https://cdp.expo.dev',
|
|
131
|
+
}
|
|
132
|
+
: {
|
|
133
|
+
// prod environment
|
|
134
|
+
rudderstackWriteKey: '1wpXLFxmujq86etH6G6cc90hPcC',
|
|
135
|
+
rudderstackDataPlaneURL: 'https://cdp.expo.dev',
|
|
136
|
+
};
|
|
137
|
+
class RudderstackAnalytics {
|
|
138
|
+
persistentDeviceId;
|
|
139
|
+
rudderstackClient = new rudder_sdk_node_1.default(RudderstackAnalyticsConfig.rudderstackWriteKey, new url_1.URL('/v1/batch', RudderstackAnalyticsConfig.rudderstackDataPlaneURL).toString(), {
|
|
140
|
+
flushInterval: 300,
|
|
141
|
+
});
|
|
142
|
+
identifiedActor = null;
|
|
143
|
+
constructor(persistentDeviceId) {
|
|
144
|
+
this.persistentDeviceId = persistentDeviceId;
|
|
145
|
+
// identify once with just anonymous ID. Once the actor is fetched, re-indentify with
|
|
146
|
+
// both so that they can be associated
|
|
147
|
+
this.rudderstackClient.identify({
|
|
148
|
+
anonymousId: persistentDeviceId,
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
setActor(actor) {
|
|
152
|
+
if (this.identifiedActor) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
this.rudderstackClient.identify({
|
|
156
|
+
userId: actor.id,
|
|
157
|
+
anonymousId: this.persistentDeviceId,
|
|
158
|
+
traits: {
|
|
159
|
+
username: (0, User_1.getActorDisplayName)(actor),
|
|
160
|
+
user_id: actor.id,
|
|
161
|
+
user_type: actor.__typename,
|
|
162
|
+
},
|
|
163
|
+
});
|
|
164
|
+
this.identifiedActor = actor;
|
|
165
|
+
}
|
|
166
|
+
logEvent(name, properties) {
|
|
167
|
+
const userId = this.identifiedActor?.id;
|
|
168
|
+
const deviceId = this.persistentDeviceId;
|
|
169
|
+
const commonEventProperties = { source_version: easCli_1.easCliVersion, source: 'eas cli' };
|
|
170
|
+
const identity = { userId: userId ?? undefined, anonymousId: deviceId ?? (0, uuid_1.v4)() };
|
|
171
|
+
this.rudderstackClient.track({
|
|
172
|
+
event: name,
|
|
173
|
+
properties: { ...properties, ...commonEventProperties },
|
|
174
|
+
...identity,
|
|
175
|
+
context: this.getRudderStackContext(),
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
async flushAsync() {
|
|
179
|
+
await this.rudderstackClient.flush();
|
|
180
|
+
}
|
|
181
|
+
getRudderStackContext() {
|
|
182
|
+
const platform = PLATFORM_TO_ANALYTICS_PLATFORM[os_1.default.platform()] || os_1.default.platform();
|
|
183
|
+
return {
|
|
184
|
+
os: { name: platform, version: os_1.default.release() },
|
|
185
|
+
device: { type: platform, model: platform },
|
|
186
|
+
app: { name: 'eas cli', version: easCli_1.easCliVersion ?? undefined },
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Analytics, AnalyticsEvent, AnalyticsEventProperties } from './AnalyticsManager';
|
|
2
|
+
export declare function withAnalyticsAsync<Result>(analytics: Analytics, fn: () => Promise<Result>, { attemptEvent, successEvent, failureEvent, properties, }: {
|
|
3
|
+
attemptEvent: AnalyticsEvent;
|
|
4
|
+
successEvent: AnalyticsEvent;
|
|
5
|
+
failureEvent: AnalyticsEvent;
|
|
6
|
+
properties: AnalyticsEventProperties;
|
|
7
|
+
}): Promise<Result>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.withAnalyticsAsync = withAnalyticsAsync;
|
|
4
|
+
async function withAnalyticsAsync(analytics, fn, { attemptEvent, successEvent, failureEvent, properties, }) {
|
|
5
|
+
try {
|
|
6
|
+
analytics.logEvent(attemptEvent, properties);
|
|
7
|
+
const result = await fn();
|
|
8
|
+
analytics.logEvent(successEvent, properties);
|
|
9
|
+
return result;
|
|
10
|
+
}
|
|
11
|
+
catch (error) {
|
|
12
|
+
analytics.logEvent(failureEvent, {
|
|
13
|
+
...properties,
|
|
14
|
+
reason: error.message,
|
|
15
|
+
});
|
|
16
|
+
throw error;
|
|
17
|
+
}
|
|
18
|
+
}
|
package/build/api.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { JSONValue } from '@expo/json-file';
|
|
2
|
+
interface RequestOptions {
|
|
3
|
+
body: JSONValue;
|
|
4
|
+
}
|
|
5
|
+
export declare class ApiV2Client {
|
|
6
|
+
private readonly authInfo;
|
|
7
|
+
constructor(authInfo: {
|
|
8
|
+
accessToken: string | null;
|
|
9
|
+
sessionSecret: string | null;
|
|
10
|
+
});
|
|
11
|
+
putAsync(path: string, options: RequestOptions): Promise<any>;
|
|
12
|
+
postAsync(path: string, options: RequestOptions): Promise<any>;
|
|
13
|
+
deleteAsync(path: string): Promise<any>;
|
|
14
|
+
getAsync(path: string): Promise<any>;
|
|
15
|
+
private getAuthHeaders;
|
|
16
|
+
private requestAsync;
|
|
17
|
+
private static handleApiErrorAsync;
|
|
18
|
+
}
|
|
19
|
+
export declare function getExpoApiBaseUrl(): string;
|
|
20
|
+
export declare function getExpoWebsiteBaseUrl(): string;
|
|
21
|
+
export declare function getEASUpdateURL(projectId: string, manifestHostOverride: string | null): string;
|
|
22
|
+
export declare function getExpoApiWorkflowSchemaURL(): string;
|
|
23
|
+
export {};
|
package/build/api.js
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiV2Client = void 0;
|
|
4
|
+
exports.getExpoApiBaseUrl = getExpoApiBaseUrl;
|
|
5
|
+
exports.getExpoWebsiteBaseUrl = getExpoWebsiteBaseUrl;
|
|
6
|
+
exports.getEASUpdateURL = getEASUpdateURL;
|
|
7
|
+
exports.getExpoApiWorkflowSchemaURL = getExpoApiWorkflowSchemaURL;
|
|
8
|
+
const tslib_1 = require("tslib");
|
|
9
|
+
const ApiV2Error_1 = require("./ApiV2Error");
|
|
10
|
+
const fetch_1 = tslib_1.__importStar(require("./fetch"));
|
|
11
|
+
class ApiV2Client {
|
|
12
|
+
authInfo;
|
|
13
|
+
constructor(authInfo) {
|
|
14
|
+
this.authInfo = authInfo;
|
|
15
|
+
}
|
|
16
|
+
async putAsync(path, options) {
|
|
17
|
+
return await this.requestAsync(path, { method: 'PUT', body: JSON.stringify(options.body) });
|
|
18
|
+
}
|
|
19
|
+
async postAsync(path, options) {
|
|
20
|
+
return await this.requestAsync(path, { method: 'POST', body: JSON.stringify(options.body) });
|
|
21
|
+
}
|
|
22
|
+
async deleteAsync(path) {
|
|
23
|
+
return await this.requestAsync(path, { method: 'DELETE' });
|
|
24
|
+
}
|
|
25
|
+
async getAsync(path) {
|
|
26
|
+
return await this.requestAsync(path, { method: 'GET' });
|
|
27
|
+
}
|
|
28
|
+
getAuthHeaders() {
|
|
29
|
+
const token = this.authInfo.accessToken;
|
|
30
|
+
if (token) {
|
|
31
|
+
return { authorization: `Bearer ${token}` };
|
|
32
|
+
}
|
|
33
|
+
const sessionSecret = this.authInfo.sessionSecret;
|
|
34
|
+
if (sessionSecret) {
|
|
35
|
+
return { 'expo-session': sessionSecret };
|
|
36
|
+
}
|
|
37
|
+
return {};
|
|
38
|
+
}
|
|
39
|
+
async requestAsync(path, options) {
|
|
40
|
+
try {
|
|
41
|
+
const response = await (0, fetch_1.default)(`${getExpoApiBaseUrl()}/v2/${path}`, {
|
|
42
|
+
...options,
|
|
43
|
+
headers: {
|
|
44
|
+
'Content-Type': 'application/json',
|
|
45
|
+
...this.getAuthHeaders(),
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
return await response.json();
|
|
49
|
+
}
|
|
50
|
+
catch (err) {
|
|
51
|
+
await ApiV2Client.handleApiErrorAsync(err);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
static async handleApiErrorAsync(err) {
|
|
55
|
+
if (err instanceof fetch_1.RequestError) {
|
|
56
|
+
let result;
|
|
57
|
+
try {
|
|
58
|
+
result = (await err.response.json());
|
|
59
|
+
}
|
|
60
|
+
catch {
|
|
61
|
+
throw new Error(`Malformed api response: ${await err.response.text()}`);
|
|
62
|
+
}
|
|
63
|
+
if (result.errors?.length) {
|
|
64
|
+
throw new ApiV2Error_1.ApiV2Error(result.errors[0]);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
throw err;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.ApiV2Client = ApiV2Client;
|
|
73
|
+
function getExpoApiBaseUrl() {
|
|
74
|
+
if (process.env.EXPO_STAGING) {
|
|
75
|
+
return `https://staging-api.expo.dev`;
|
|
76
|
+
}
|
|
77
|
+
else if (process.env.EXPO_LOCAL) {
|
|
78
|
+
return `http://127.0.0.1:3000`;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
return `https://api.expo.dev`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function getExpoWebsiteBaseUrl() {
|
|
85
|
+
if (process.env.EXPO_STAGING) {
|
|
86
|
+
return `https://staging.expo.dev`;
|
|
87
|
+
}
|
|
88
|
+
else if (process.env.EXPO_LOCAL) {
|
|
89
|
+
return `http://expo.test`;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
return `https://expo.dev`;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function getEASUpdateURL(projectId, manifestHostOverride) {
|
|
96
|
+
if (manifestHostOverride) {
|
|
97
|
+
return new URL(projectId, `https://${manifestHostOverride}`).href;
|
|
98
|
+
}
|
|
99
|
+
if (process.env.EXPO_STAGING) {
|
|
100
|
+
return new URL(projectId, `https://staging-u.expo.dev`).href;
|
|
101
|
+
}
|
|
102
|
+
else if (process.env.EXPO_LOCAL) {
|
|
103
|
+
return new URL(`expo-updates/${projectId}`, `http://127.0.0.1:3000`).href;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
return new URL(projectId, `https://u.expo.dev`).href;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function getExpoApiWorkflowSchemaURL() {
|
|
110
|
+
return getExpoApiBaseUrl() + '/v2/workflows/schema';
|
|
111
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EASUpdateAction, EASUpdateContext } from '../../eas-update/utils';
|
|
2
|
+
import { UpdateBranchBasicInfoFragment } from '../../graphql/generated';
|
|
3
|
+
import { Connection, Edge, QueryParams } from '../../utils/relay';
|
|
4
|
+
/**
|
|
5
|
+
* Select a branch for the project.
|
|
6
|
+
*
|
|
7
|
+
* @constructor
|
|
8
|
+
* @param {function} options.filterPredicate - A predicate to filter the branches that are shown to the user. It takes a branchInfo object as a parameter and returns a boolean.
|
|
9
|
+
* @param {string} options.printedType - The type of branch printed to the user. Defaults to 'branch'.
|
|
10
|
+
* @param {number} options.pageSize - The number of branches to show per page. Defaults to 100.
|
|
11
|
+
* @param {function} options.beforeEachFilterQuery Optional. If a filter predicate was specified, this callback function will be called before each query.
|
|
12
|
+
* @args externalQueryParams The query params for the pagination.
|
|
13
|
+
* @args totalNodesFetched The total number of nodes fetched so far.
|
|
14
|
+
* @args dataset The dataset so far.
|
|
15
|
+
* @param {function} options.afterEachFilterQuery Optional. If a filter predicate was specified, this callback function will be called after each query.
|
|
16
|
+
* @args externalQueryParams The query params for the pagination.
|
|
17
|
+
* @args totalNodesFetched The total number of nodes fetched so far.
|
|
18
|
+
* @args dataset The dataset so far.
|
|
19
|
+
* @args willFetchAgain If the query will fetch again to get a complete page.
|
|
20
|
+
*/
|
|
21
|
+
export declare class SelectBranch implements EASUpdateAction<UpdateBranchBasicInfoFragment | null> {
|
|
22
|
+
private readonly options;
|
|
23
|
+
constructor(options?: {
|
|
24
|
+
filterPredicate?: (branchInfo: UpdateBranchBasicInfoFragment) => boolean;
|
|
25
|
+
printedType?: string;
|
|
26
|
+
pageSize?: number;
|
|
27
|
+
beforeEachFilterQuery?: (externalQueryParams: QueryParams, totalNodesFetched: number, dataset: Edge<UpdateBranchBasicInfoFragment>[]) => void;
|
|
28
|
+
afterEachFilterQuery?: (externalQueryParams: QueryParams, totalNodesFetched: number, dataset: Edge<UpdateBranchBasicInfoFragment>[], willFetchAgain: boolean) => void;
|
|
29
|
+
});
|
|
30
|
+
queryAsync(ctx: EASUpdateContext, queryParams: QueryParams): Promise<Connection<UpdateBranchBasicInfoFragment>>;
|
|
31
|
+
filterQueryAsync(ctx: EASUpdateContext, queryParams: QueryParams, filterPredicate: (branchInfo: UpdateBranchBasicInfoFragment) => boolean): Promise<Connection<UpdateBranchBasicInfoFragment>>;
|
|
32
|
+
runAsync(ctx: EASUpdateContext): Promise<UpdateBranchBasicInfoFragment | null>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectBranch = void 0;
|
|
4
|
+
const utils_1 = require("../../eas-update/utils");
|
|
5
|
+
const BranchQuery_1 = require("../../graphql/queries/BranchQuery");
|
|
6
|
+
const relay_1 = require("../../utils/relay");
|
|
7
|
+
/**
|
|
8
|
+
* Select a branch for the project.
|
|
9
|
+
*
|
|
10
|
+
* @constructor
|
|
11
|
+
* @param {function} options.filterPredicate - A predicate to filter the branches that are shown to the user. It takes a branchInfo object as a parameter and returns a boolean.
|
|
12
|
+
* @param {string} options.printedType - The type of branch printed to the user. Defaults to 'branch'.
|
|
13
|
+
* @param {number} options.pageSize - The number of branches to show per page. Defaults to 100.
|
|
14
|
+
* @param {function} options.beforeEachFilterQuery Optional. If a filter predicate was specified, this callback function will be called before each query.
|
|
15
|
+
* @args externalQueryParams The query params for the pagination.
|
|
16
|
+
* @args totalNodesFetched The total number of nodes fetched so far.
|
|
17
|
+
* @args dataset The dataset so far.
|
|
18
|
+
* @param {function} options.afterEachFilterQuery Optional. If a filter predicate was specified, this callback function will be called after each query.
|
|
19
|
+
* @args externalQueryParams The query params for the pagination.
|
|
20
|
+
* @args totalNodesFetched The total number of nodes fetched so far.
|
|
21
|
+
* @args dataset The dataset so far.
|
|
22
|
+
* @args willFetchAgain If the query will fetch again to get a complete page.
|
|
23
|
+
*/
|
|
24
|
+
class SelectBranch {
|
|
25
|
+
options;
|
|
26
|
+
constructor(options = {}) {
|
|
27
|
+
this.options = options;
|
|
28
|
+
}
|
|
29
|
+
async queryAsync(ctx, queryParams) {
|
|
30
|
+
const { graphqlClient, app } = ctx;
|
|
31
|
+
const { projectId } = app;
|
|
32
|
+
return await BranchQuery_1.BranchQuery.listBranchesBasicInfoPaginatedOnAppAsync(graphqlClient, {
|
|
33
|
+
appId: projectId,
|
|
34
|
+
...queryParams,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async filterQueryAsync(ctx, queryParams, filterPredicate) {
|
|
38
|
+
const queryAsync = async (queryParams) => await this.queryAsync(ctx, queryParams);
|
|
39
|
+
return await relay_1.FilterPagination.getPageAsync({
|
|
40
|
+
queryParams,
|
|
41
|
+
queryAsync,
|
|
42
|
+
filterPredicate,
|
|
43
|
+
beforeEachQuery: this.options.beforeEachFilterQuery,
|
|
44
|
+
afterEachQuery: this.options.afterEachFilterQuery,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
async runAsync(ctx) {
|
|
48
|
+
const { nonInteractive } = ctx;
|
|
49
|
+
const { filterPredicate } = this.options;
|
|
50
|
+
const printedType = this.options.printedType ?? 'branch';
|
|
51
|
+
const pageSize = this.options.pageSize ?? 100;
|
|
52
|
+
if (nonInteractive) {
|
|
53
|
+
throw new utils_1.NonInteractiveError(`${printedType} selection cannot be run in non-interactive mode.`);
|
|
54
|
+
}
|
|
55
|
+
const queryAsync = async (queryParams) => filterPredicate
|
|
56
|
+
? await this.filterQueryAsync(ctx, queryParams, filterPredicate)
|
|
57
|
+
: await this.queryAsync(ctx, queryParams);
|
|
58
|
+
const getTitleAsync = async (branchInfo) => branchInfo.name;
|
|
59
|
+
return await (0, relay_1.selectPaginatedAsync)({
|
|
60
|
+
queryAsync,
|
|
61
|
+
getTitleAsync,
|
|
62
|
+
printedType,
|
|
63
|
+
pageSize,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.SelectBranch = SelectBranch;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { BackgroundJobReceiptDataFragment } from '../graphql/generated';
|
|
3
|
+
export declare function scheduleBranchDeletionAsync(graphqlClient: ExpoGraphqlClient, { branchId, }: {
|
|
4
|
+
branchId: string;
|
|
5
|
+
}): Promise<BackgroundJobReceiptDataFragment>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.scheduleBranchDeletionAsync = scheduleBranchDeletionAsync;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
|
+
const client_1 = require("../graphql/client");
|
|
7
|
+
const BackgroundJobReceipt_1 = require("../graphql/types/BackgroundJobReceipt");
|
|
8
|
+
async function scheduleBranchDeletionAsync(graphqlClient, { branchId, }) {
|
|
9
|
+
const result = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
10
|
+
.mutation((0, graphql_tag_1.default) `
|
|
11
|
+
mutation ScheduleBranchDeletion($branchId: ID!) {
|
|
12
|
+
updateBranch {
|
|
13
|
+
scheduleUpdateBranchDeletion(branchId: $branchId) {
|
|
14
|
+
id
|
|
15
|
+
...BackgroundJobReceiptData
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
${BackgroundJobReceipt_1.BackgroundJobReceiptNode}
|
|
20
|
+
`, { branchId })
|
|
21
|
+
.toPromise());
|
|
22
|
+
return result.updateBranch.scheduleUpdateBranchDeletion;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { PaginatedQueryOptions } from '../commandUtils/pagination';
|
|
3
|
+
import { CreateUpdateBranchForAppMutationVariables, UpdateBranchBasicInfoFragment, UpdateBranchFragment } from '../graphql/generated';
|
|
4
|
+
import { SelectPromptEntry } from '../utils/queries';
|
|
5
|
+
export declare const BRANCHES_LIMIT = 50;
|
|
6
|
+
export declare function selectBranchOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, promptTitle, displayTextForListItem, paginatedQueryOptions, }: {
|
|
7
|
+
projectId: string;
|
|
8
|
+
displayTextForListItem: (queryItem: UpdateBranchFragment) => SelectPromptEntry;
|
|
9
|
+
promptTitle: string;
|
|
10
|
+
paginatedQueryOptions: PaginatedQueryOptions;
|
|
11
|
+
}): Promise<UpdateBranchFragment>;
|
|
12
|
+
export declare function listAndRenderBranchesOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, paginatedQueryOptions, }: {
|
|
13
|
+
projectId: string;
|
|
14
|
+
paginatedQueryOptions: PaginatedQueryOptions;
|
|
15
|
+
}): Promise<void>;
|
|
16
|
+
export declare function createUpdateBranchOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, name }: CreateUpdateBranchForAppMutationVariables): Promise<UpdateBranchBasicInfoFragment>;
|
|
17
|
+
export declare function ensureBranchExistsAsync(graphqlClient: ExpoGraphqlClient, { appId, branchName, }: {
|
|
18
|
+
appId: string;
|
|
19
|
+
branchName: string;
|
|
20
|
+
}): Promise<{
|
|
21
|
+
branch: UpdateBranchBasicInfoFragment;
|
|
22
|
+
createdBranch: boolean;
|
|
23
|
+
}>;
|