@microsoft/teamsfx-core 2.0.0 → 2.0.1-alpha.6f92bb6f7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/armInterface.d.ts +0 -5
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/deps-checker/checkerFactory.d.ts.map +1 -1
- package/build/common/deps-checker/checkerFactory.js +0 -7
- package/build/common/deps-checker/checkerFactory.js.map +1 -1
- package/build/common/deps-checker/constant/helpLink.d.ts +0 -4
- package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
- package/build/common/deps-checker/constant/helpLink.js +1 -9
- package/build/common/deps-checker/constant/helpLink.js.map +1 -1
- package/build/common/deps-checker/constant/message.d.ts +0 -5
- package/build/common/deps-checker/constant/message.d.ts.map +1 -1
- package/build/common/deps-checker/constant/message.js +0 -6
- package/build/common/deps-checker/constant/message.js.map +1 -1
- package/build/common/deps-checker/constant/telemetry.d.ts +2 -33
- package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -1
- package/build/common/deps-checker/constant/telemetry.js +0 -31
- package/build/common/deps-checker/constant/telemetry.js.map +1 -1
- package/build/common/deps-checker/depsChecker.d.ts +0 -3
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
- package/build/common/deps-checker/depsChecker.js +0 -3
- package/build/common/deps-checker/depsChecker.js.map +1 -1
- package/build/common/deps-checker/depsError.d.ts +0 -9
- package/build/common/deps-checker/depsError.d.ts.map +1 -1
- package/build/common/deps-checker/depsError.js +1 -22
- package/build/common/deps-checker/depsError.js.map +1 -1
- package/build/common/deps-checker/depsManager.d.ts.map +1 -1
- package/build/common/deps-checker/depsManager.js +0 -3
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts +2 -2
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +4 -2
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts +0 -20
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +1 -51
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts +0 -9
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +0 -59
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/projectSettingsHelper.d.ts +1 -7
- package/build/common/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/projectSettingsHelper.js +5 -81
- package/build/common/projectSettingsHelper.js.map +1 -1
- package/build/common/projectSettingsHelperV3.d.ts +0 -1
- package/build/common/projectSettingsHelperV3.d.ts.map +1 -1
- package/build/common/projectSettingsHelperV3.js +1 -10
- package/build/common/projectSettingsHelperV3.js.map +1 -1
- package/build/common/samples.d.ts.map +1 -1
- package/build/common/samples.js +18 -40
- package/build/common/samples.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +1 -2
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +5 -70
- package/build/common/tools.js.map +1 -1
- package/build/component/code/utils.d.ts +1 -8
- package/build/component/code/utils.d.ts.map +1 -1
- package/build/component/code/utils.js +5 -144
- package/build/component/code/utils.js.map +1 -1
- package/build/component/constants.d.ts +3 -0
- package/build/component/constants.d.ts.map +1 -1
- package/build/component/constants.js +13 -2
- package/build/component/constants.js.map +1 -1
- package/build/component/coordinator/index.d.ts +7 -7
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +15 -179
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/debug/error.d.ts +0 -1
- package/build/component/debug/error.d.ts.map +1 -1
- package/build/component/debug/error.js +1 -11
- package/build/component/debug/error.js.map +1 -1
- package/build/component/debug/index.d.ts.map +1 -1
- package/build/component/debug/index.js +1 -25
- package/build/component/debug/index.js.map +1 -1
- package/build/component/driver/aad/create.d.ts.map +1 -1
- package/build/component/driver/aad/create.js +2 -2
- package/build/component/driver/aad/create.js.map +1 -1
- package/build/component/driver/aad/update.d.ts.map +1 -1
- package/build/component/driver/aad/update.js +6 -20
- package/build/component/driver/aad/update.js.map +1 -1
- package/build/component/driver/botAadApp/create.d.ts.map +1 -1
- package/build/component/driver/botAadApp/create.js +2 -2
- package/build/component/driver/botAadApp/create.js.map +1 -1
- package/build/component/driver/devTool/error/dotnetInstallationUserError.d.ts +1 -1
- package/build/component/driver/devTool/error/dotnetInstallationUserError.d.ts.map +1 -1
- package/build/component/driver/devTool/error/dotnetInstallationUserError.js +4 -2
- package/build/component/driver/devTool/error/dotnetInstallationUserError.js.map +1 -1
- package/build/component/driver/devTool/error/funcInstallationUserError.d.ts +1 -1
- package/build/component/driver/devTool/error/funcInstallationUserError.d.ts.map +1 -1
- package/build/component/driver/devTool/error/funcInstallationUserError.js +4 -2
- package/build/component/driver/devTool/error/funcInstallationUserError.js.map +1 -1
- package/build/component/driver/devTool/installDriver.d.ts +1 -0
- package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
- package/build/component/driver/devTool/installDriver.js +17 -24
- package/build/component/driver/devTool/installDriver.js.map +1 -1
- package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
- package/build/component/driver/script/baseBuildDriver.js +2 -2
- package/build/component/driver/script/baseBuildDriver.js.map +1 -1
- package/build/component/driver/script/scriptDriver.d.ts +11 -1
- package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
- package/build/component/driver/script/scriptDriver.js +121 -4
- package/build/component/driver/script/scriptDriver.js.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts +0 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js +1 -11
- package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/validate.d.ts +0 -1
- package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
- package/build/component/driver/teamsApp/validate.js +34 -18
- package/build/component/driver/teamsApp/validate.js.map +1 -1
- package/build/component/feature/bot/question.d.ts.map +1 -1
- package/build/component/feature/bot/question.js +7 -16
- package/build/component/feature/bot/question.js.map +1 -1
- package/build/component/feature/sso.d.ts +0 -4
- package/build/component/feature/sso.d.ts.map +1 -1
- package/build/component/feature/sso.js +10 -144
- package/build/component/feature/sso.js.map +1 -1
- package/build/component/question.d.ts +3 -64
- package/build/component/question.d.ts.map +1 -1
- package/build/component/question.js +61 -663
- package/build/component/question.js.map +1 -1
- package/build/component/registerService.d.ts +0 -14
- package/build/component/registerService.d.ts.map +1 -1
- package/build/component/registerService.js +0 -14
- package/build/component/registerService.js.map +1 -1
- package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
- package/build/component/resource/aadApp/aadApp.js +6 -24
- package/build/component/resource/aadApp/aadApp.js.map +1 -1
- package/build/component/resource/appManifest/appStudio.js +1 -1
- package/build/component/resource/appManifest/appStudio.js.map +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts.map +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.js +1 -9
- package/build/component/resource/appManifest/utils/ManifestUtils.js.map +1 -1
- package/build/component/resource/spfx/utils/questions.d.ts.map +1 -1
- package/build/component/resource/spfx/utils/questions.js +1 -4
- package/build/component/resource/spfx/utils/questions.js.map +1 -1
- package/build/component/utils/backupFiles.d.ts +2 -1
- package/build/component/utils/backupFiles.d.ts.map +1 -1
- package/build/component/utils/backupFiles.js +23 -3
- package/build/component/utils/backupFiles.js.map +1 -1
- package/build/component/utils/charsetUtils.d.ts +3 -0
- package/build/component/utils/charsetUtils.d.ts.map +1 -0
- package/build/component/utils/charsetUtils.js +241 -0
- package/build/component/utils/charsetUtils.js.map +1 -0
- package/build/component/utils/envUtil.d.ts.map +1 -1
- package/build/component/utils/envUtil.js +4 -1
- package/build/component/utils/envUtil.js.map +1 -1
- package/build/component/utils/metadataUtil.d.ts.map +1 -1
- package/build/component/utils/metadataUtil.js +9 -7
- package/build/component/utils/metadataUtil.js.map +1 -1
- package/build/component/utils/pathUtils.d.ts.map +1 -1
- package/build/component/utils/pathUtils.js +8 -7
- package/build/component/utils/pathUtils.js.map +1 -1
- package/build/component/utils/settingsUtil.js +3 -3
- package/build/component/utils/settingsUtil.js.map +1 -1
- package/build/component/utils.d.ts +1 -12
- package/build/component/utils.d.ts.map +1 -1
- package/build/component/utils.js +2 -225
- package/build/component/utils.js.map +1 -1
- package/build/component/workflow.d.ts +0 -1
- package/build/component/workflow.d.ts.map +1 -1
- package/build/component/workflow.js +1 -687
- package/build/component/workflow.js.map +1 -1
- package/build/core/FxCore.d.ts +26 -34
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +86 -654
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCoreImplementV3.d.ts +15 -9
- package/build/core/FxCoreImplementV3.d.ts.map +1 -1
- package/build/core/FxCoreImplementV3.js +105 -105
- package/build/core/FxCoreImplementV3.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts +1 -10
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.js +1 -207
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
- package/build/core/middleware/projectMigratorV3.d.ts +1 -0
- package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
- package/build/core/middleware/projectMigratorV3.js +7 -7
- package/build/core/middleware/projectMigratorV3.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts +1 -4
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +4 -58
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectVersionChecker.d.ts.map +1 -1
- package/build/core/middleware/projectVersionChecker.js +4 -5
- package/build/core/middleware/projectVersionChecker.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +0 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +8 -54
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/utils/MigrationUtils.d.ts +0 -5
- package/build/core/middleware/utils/MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/MigrationUtils.js +1 -77
- package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
- package/build/core/question.d.ts +2 -12
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +14 -236
- package/build/core/question.js.map +1 -1
- package/build/core/types.d.ts +3 -3
- package/build/core/types.d.ts.map +1 -1
- package/build/error/common.d.ts +9 -0
- package/build/error/common.d.ts.map +1 -1
- package/build/error/common.js +39 -1
- package/build/error/common.js.map +1 -1
- package/build/error/script.d.ts +1 -1
- package/build/error/script.d.ts.map +1 -1
- package/build/error/script.js +3 -3
- package/build/error/script.js.map +1 -1
- package/build/index.d.ts +0 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -4
- package/build/index.js.map +1 -1
- package/package.json +12 -28
- package/resource/package.nls.json +10 -97
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/build/common/deps-checker/internal/ngrokChecker.d.ts +0 -27
- package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +0 -1
- package/build/common/deps-checker/internal/ngrokChecker.js +0 -222
- package/build/common/deps-checker/internal/ngrokChecker.js.map +0 -1
- package/build/component/connection/apimConfig.d.ts +0 -11
- package/build/component/connection/apimConfig.d.ts.map +0 -1
- package/build/component/connection/apimConfig.js +0 -44
- package/build/component/connection/apimConfig.js.map +0 -1
- package/build/component/connection/azureFunctionConfig.d.ts +0 -9
- package/build/component/connection/azureFunctionConfig.d.ts.map +0 -1
- package/build/component/connection/azureFunctionConfig.js +0 -25
- package/build/component/connection/azureFunctionConfig.js.map +0 -1
- package/build/component/connection/azureResourceConfig.d.ts +0 -11
- package/build/component/connection/azureResourceConfig.d.ts.map +0 -1
- package/build/component/connection/azureResourceConfig.js +0 -72
- package/build/component/connection/azureResourceConfig.js.map +0 -1
- package/build/component/connection/azureWebAppConfig.d.ts +0 -9
- package/build/component/connection/azureWebAppConfig.d.ts.map +0 -1
- package/build/component/connection/azureWebAppConfig.js +0 -25
- package/build/component/connection/azureWebAppConfig.js.map +0 -1
- package/build/component/coordinator/lifecycleStage.d.ts +0 -2
- package/build/component/coordinator/lifecycleStage.d.ts.map +0 -1
- package/build/component/coordinator/lifecycleStage.js +0 -23
- package/build/component/coordinator/lifecycleStage.js.map +0 -1
- package/build/component/core.d.ts +0 -65
- package/build/component/core.d.ts.map +0 -1
- package/build/component/core.js +0 -653
- package/build/component/core.js.map +0 -1
- package/build/component/debug/util/ngrok.d.ts +0 -6
- package/build/component/debug/util/ngrok.d.ts.map +0 -1
- package/build/component/debug/util/ngrok.js +0 -65
- package/build/component/debug/util/ngrok.js.map +0 -1
- package/build/component/feature/api/api.d.ts +0 -8
- package/build/component/feature/api/api.d.ts.map +0 -1
- package/build/component/feature/api/api.js +0 -188
- package/build/component/feature/api/api.js.map +0 -1
- package/build/component/feature/apiconnector/apiConnector.d.ts +0 -11
- package/build/component/feature/apiconnector/apiConnector.d.ts.map +0 -1
- package/build/component/feature/apiconnector/apiConnector.js +0 -43
- package/build/component/feature/apiconnector/apiConnector.js.map +0 -1
- package/build/component/feature/apim.d.ts +0 -8
- package/build/component/feature/apim.d.ts.map +0 -1
- package/build/component/feature/apim.js +0 -123
- package/build/component/feature/apim.js.map +0 -1
- package/build/component/feature/bot/bot.d.ts +0 -12
- package/build/component/feature/bot/bot.d.ts.map +0 -1
- package/build/component/feature/bot/bot.js +0 -309
- package/build/component/feature/bot/bot.js.map +0 -1
- package/build/component/feature/keyVault.d.ts +0 -16
- package/build/component/feature/keyVault.d.ts.map +0 -1
- package/build/component/feature/keyVault.js +0 -90
- package/build/component/feature/keyVault.js.map +0 -1
- package/build/component/feature/spfx.d.ts +0 -9
- package/build/component/feature/spfx.d.ts.map +0 -1
- package/build/component/feature/spfx.js +0 -121
- package/build/component/feature/spfx.js.map +0 -1
- package/build/component/feature/sql.d.ts +0 -10
- package/build/component/feature/sql.d.ts.map +0 -1
- package/build/component/feature/sql.js +0 -80
- package/build/component/feature/sql.js.map +0 -1
- package/build/component/feature/tab.d.ts +0 -10
- package/build/component/feature/tab.d.ts.map +0 -1
- package/build/component/feature/tab.js +0 -238
- package/build/component/feature/tab.js.map +0 -1
- package/build/component/resource/azureSql/actions/configure.d.ts +0 -15
- package/build/component/resource/azureSql/actions/configure.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/configure.js +0 -92
- package/build/component/resource/azureSql/actions/configure.js.map +0 -1
- package/build/component/resource/azureSql/actions/provision.d.ts +0 -10
- package/build/component/resource/azureSql/actions/provision.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/provision.js +0 -63
- package/build/component/resource/azureSql/actions/provision.js.map +0 -1
- package/build/component/resource/azureSql/actions/utils.d.ts +0 -12
- package/build/component/resource/azureSql/actions/utils.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/utils.js +0 -82
- package/build/component/resource/azureSql/actions/utils.js.map +0 -1
- package/build/component/resource/azureSql/azureSql.d.ts +0 -24
- package/build/component/resource/azureSql/azureSql.d.ts.map +0 -1
- package/build/component/resource/azureSql/azureSql.js +0 -75
- package/build/component/resource/azureSql/azureSql.js.map +0 -1
- package/build/component/resource/azureSql/clients/management.d.ts +0 -18
- package/build/component/resource/azureSql/clients/management.d.ts.map +0 -1
- package/build/component/resource/azureSql/clients/management.js +0 -124
- package/build/component/resource/azureSql/clients/management.js.map +0 -1
- package/build/component/resource/azureSql/clients/sql.d.ts +0 -13
- package/build/component/resource/azureSql/clients/sql.d.ts.map +0 -1
- package/build/component/resource/azureSql/clients/sql.js +0 -153
- package/build/component/resource/azureSql/clients/sql.js.map +0 -1
- package/build/component/resource/azureSql/config.d.ts +0 -7
- package/build/component/resource/azureSql/config.d.ts.map +0 -1
- package/build/component/resource/azureSql/config.js +0 -77
- package/build/component/resource/azureSql/config.js.map +0 -1
- package/build/component/resource/azureSql/constants.d.ts +0 -85
- package/build/component/resource/azureSql/constants.d.ts.map +0 -1
- package/build/component/resource/azureSql/constants.js +0 -95
- package/build/component/resource/azureSql/constants.js.map +0 -1
- package/build/component/resource/azureSql/errors.d.ts +0 -63
- package/build/component/resource/azureSql/errors.d.ts.map +0 -1
- package/build/component/resource/azureSql/errors.js +0 -107
- package/build/component/resource/azureSql/errors.js.map +0 -1
- package/build/component/resource/azureSql/index.d.ts +0 -2
- package/build/component/resource/azureSql/index.d.ts.map +0 -1
- package/build/component/resource/azureSql/index.js +0 -7
- package/build/component/resource/azureSql/index.js.map +0 -1
- package/build/component/resource/azureSql/questions.d.ts +0 -6
- package/build/component/resource/azureSql/questions.d.ts.map +0 -1
- package/build/component/resource/azureSql/questions.js +0 -59
- package/build/component/resource/azureSql/questions.js.map +0 -1
- package/build/component/resource/azureSql/results.d.ts +0 -10
- package/build/component/resource/azureSql/results.d.ts.map +0 -1
- package/build/component/resource/azureSql/results.js +0 -34
- package/build/component/resource/azureSql/results.js.map +0 -1
- package/build/component/resource/azureSql/types.d.ts +0 -12
- package/build/component/resource/azureSql/types.d.ts.map +0 -1
- package/build/component/resource/azureSql/types.js +0 -5
- package/build/component/resource/azureSql/types.js.map +0 -1
- package/build/component/resource/azureSql/utils/checkInput.d.ts +0 -10
- package/build/component/resource/azureSql/utils/checkInput.d.ts.map +0 -1
- package/build/component/resource/azureSql/utils/checkInput.js +0 -89
- package/build/component/resource/azureSql/utils/checkInput.js.map +0 -1
- package/build/component/resource/azureSql/utils/common.d.ts +0 -12
- package/build/component/resource/azureSql/utils/common.d.ts.map +0 -1
- package/build/component/resource/azureSql/utils/common.js +0 -51
- package/build/component/resource/azureSql/utils/common.js.map +0 -1
- package/build/component/resource/identity.d.ts +0 -28
- package/build/component/resource/identity.d.ts.map +0 -1
- package/build/component/resource/identity.js +0 -42
- package/build/component/resource/identity.js.map +0 -1
- package/build/component/resource/keyVault.d.ts +0 -29
- package/build/component/resource/keyVault.d.ts.map +0 -1
- package/build/component/resource/keyVault.js +0 -47
- package/build/component/resource/keyVault.js.map +0 -1
- package/build/component/resource/simpleAuth/constants.d.ts +0 -122
- package/build/component/resource/simpleAuth/constants.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/constants.js +0 -163
- package/build/component/resource/simpleAuth/constants.js.map +0 -1
- package/build/component/resource/simpleAuth/errors.d.ts +0 -17
- package/build/component/resource/simpleAuth/errors.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/errors.js +0 -91
- package/build/component/resource/simpleAuth/errors.js.map +0 -1
- package/build/component/resource/simpleAuth/index.d.ts +0 -12
- package/build/component/resource/simpleAuth/index.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/index.js +0 -115
- package/build/component/resource/simpleAuth/index.js.map +0 -1
- package/build/component/resource/simpleAuth/result.d.ts +0 -9
- package/build/component/resource/simpleAuth/result.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/result.js +0 -35
- package/build/component/resource/simpleAuth/result.js.map +0 -1
- package/build/component/resource/simpleAuth/utils/common.d.ts +0 -23
- package/build/component/resource/simpleAuth/utils/common.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/utils/common.js +0 -150
- package/build/component/resource/simpleAuth/utils/common.js.map +0 -1
- package/build/component/resource/simpleAuth/utils/dialog.d.ts +0 -5
- package/build/component/resource/simpleAuth/utils/dialog.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/utils/dialog.js +0 -7
- package/build/component/resource/simpleAuth/utils/dialog.js.map +0 -1
- package/build/component/resource/simpleAuth/utils/telemetry.d.ts +0 -17
- package/build/component/resource/simpleAuth/utils/telemetry.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/utils/telemetry.js +0 -45
- package/build/component/resource/simpleAuth/utils/telemetry.js.map +0 -1
- package/build/core/dependencyChecker.d.ts +0 -1
- package/build/core/dependencyChecker.d.ts.map +0 -1
- package/build/core/dependencyChecker.js +0 -2
- package/build/core/dependencyChecker.js.map +0 -1
- package/build/core/middleware/CommonErrorHandlerMW.d.ts +0 -14
- package/build/core/middleware/CommonErrorHandlerMW.d.ts.map +0 -1
- package/build/core/middleware/CommonErrorHandlerMW.js +0 -63
- package/build/core/middleware/CommonErrorHandlerMW.js.map +0 -1
- package/build/core/middleware/aadManifestMigration.d.ts +0 -3
- package/build/core/middleware/aadManifestMigration.d.ts.map +0 -1
- package/build/core/middleware/aadManifestMigration.js +0 -119
- package/build/core/middleware/aadManifestMigration.js.map +0 -1
- package/build/core/middleware/consolidateLocalRemote.d.ts +0 -5
- package/build/core/middleware/consolidateLocalRemote.d.ts.map +0 -1
- package/build/core/middleware/consolidateLocalRemote.js +0 -378
- package/build/core/middleware/consolidateLocalRemote.js.map +0 -1
- package/build/core/middleware/envInfoWriter.d.ts +0 -8
- package/build/core/middleware/envInfoWriter.d.ts.map +0 -1
- package/build/core/middleware/envInfoWriter.js +0 -76
- package/build/core/middleware/envInfoWriter.js.map +0 -1
- package/build/core/middleware/envInfoWriterV3.d.ts +0 -6
- package/build/core/middleware/envInfoWriterV3.d.ts.map +0 -1
- package/build/core/middleware/envInfoWriterV3.js +0 -67
- package/build/core/middleware/envInfoWriterV3.js.map +0 -1
- package/build/core/middleware/projectMigrator.d.ts +0 -40
- package/build/core/middleware/projectMigrator.d.ts.map +0 -1
- package/build/core/middleware/projectMigrator.js +0 -1014
- package/build/core/middleware/projectMigrator.js.map +0 -1
- package/build/core/middleware/projectSettingsWriter.d.ts +0 -6
- package/build/core/middleware/projectSettingsWriter.d.ts.map +0 -1
- package/build/core/middleware/projectSettingsWriter.js +0 -52
- package/build/core/middleware/projectSettingsWriter.js.map +0 -1
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.NgrokChecker = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const fs = tslib_1.__importStar(require("fs-extra"));
|
|
8
|
-
const path = tslib_1.__importStar(require("path"));
|
|
9
|
-
const os = tslib_1.__importStar(require("os"));
|
|
10
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
11
|
-
const helpLink_1 = require("../constant/helpLink");
|
|
12
|
-
const depsError_1 = require("../depsError");
|
|
13
|
-
const progressIndicator_1 = require("../util/progressIndicator");
|
|
14
|
-
const cpUtils_1 = require("../util/cpUtils");
|
|
15
|
-
const system_1 = require("../util/system");
|
|
16
|
-
const telemetry_1 = require("../constant/telemetry");
|
|
17
|
-
const depsChecker_1 = require("../depsChecker");
|
|
18
|
-
const message_1 = require("../constant/message");
|
|
19
|
-
const localizeUtils_1 = require("../../localizeUtils");
|
|
20
|
-
const ngrokName = "ngrok";
|
|
21
|
-
const installPackageVersion = "4.3.3";
|
|
22
|
-
const supportedPackageVersions = [">=3.4.0"];
|
|
23
|
-
const supportedBinVersions = ["2.3"];
|
|
24
|
-
const displayNgrokName = `${ngrokName}@${installPackageVersion}`;
|
|
25
|
-
const timeout = 5 * 60 * 1000;
|
|
26
|
-
class NgrokChecker {
|
|
27
|
-
constructor(logger, telemetry) {
|
|
28
|
-
this._logger = logger;
|
|
29
|
-
this._telemetry = telemetry;
|
|
30
|
-
}
|
|
31
|
-
async command() {
|
|
32
|
-
return "ngrok";
|
|
33
|
-
}
|
|
34
|
-
async getDepsInfo(isInstalled, error) {
|
|
35
|
-
return Promise.resolve({
|
|
36
|
-
name: ngrokName,
|
|
37
|
-
type: depsChecker_1.DepsType.Ngrok,
|
|
38
|
-
isInstalled: isInstalled,
|
|
39
|
-
command: await this.command(),
|
|
40
|
-
details: {
|
|
41
|
-
isLinuxSupported: true,
|
|
42
|
-
installVersion: installPackageVersion,
|
|
43
|
-
binFolders: [this.getNgrokBinFolder()],
|
|
44
|
-
supportedVersions: supportedPackageVersions,
|
|
45
|
-
},
|
|
46
|
-
error: error,
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
async getInstallationInfo() {
|
|
50
|
-
let isVersionSupported = false, hasSentinel = false;
|
|
51
|
-
try {
|
|
52
|
-
const ngrokVersion = await this.queryNgrokBinVersion();
|
|
53
|
-
isVersionSupported =
|
|
54
|
-
ngrokVersion !== undefined && supportedBinVersions.includes(ngrokVersion);
|
|
55
|
-
hasSentinel = await fs.pathExists(this.getSentinelPath());
|
|
56
|
-
}
|
|
57
|
-
catch (error) {
|
|
58
|
-
// do nothing
|
|
59
|
-
return await this.getDepsInfo(false);
|
|
60
|
-
}
|
|
61
|
-
return await this.getDepsInfo(isVersionSupported && hasSentinel);
|
|
62
|
-
}
|
|
63
|
-
async install() {
|
|
64
|
-
if (!(await this.hasNPM())) {
|
|
65
|
-
this.handleNpmNotFound();
|
|
66
|
-
}
|
|
67
|
-
await this.cleanup();
|
|
68
|
-
await this.installNgrok();
|
|
69
|
-
if (!(await this.validate())) {
|
|
70
|
-
await this.handleInstallNgrokFailed();
|
|
71
|
-
}
|
|
72
|
-
this._telemetry.sendEvent(telemetry_1.DepsCheckerEvent.ngrokInstallCompleted);
|
|
73
|
-
await this._logger.info(message_1.Messages.finishInstallNgrok().replace("@NameVersion", displayNgrokName));
|
|
74
|
-
}
|
|
75
|
-
getNgrokBinFolder() {
|
|
76
|
-
return path.join(this.getDefaultInstallPath(), "node_modules", "ngrok", "bin");
|
|
77
|
-
}
|
|
78
|
-
async resolve() {
|
|
79
|
-
try {
|
|
80
|
-
let installationInfo = await this.getInstallationInfo();
|
|
81
|
-
if (!installationInfo.isInstalled) {
|
|
82
|
-
// TODO: show output in extension
|
|
83
|
-
// this._adapter.showOutputChannel();
|
|
84
|
-
await this.install();
|
|
85
|
-
installationInfo = await this.getInstallationInfo();
|
|
86
|
-
this._logger.cleanup();
|
|
87
|
-
}
|
|
88
|
-
return installationInfo;
|
|
89
|
-
}
|
|
90
|
-
catch (error) {
|
|
91
|
-
await this._logger.printDetailLog();
|
|
92
|
-
this._logger.cleanup();
|
|
93
|
-
await this._logger.error(`Failed to install 'ngrok', error = '${error}'`);
|
|
94
|
-
if (error instanceof depsError_1.DepsCheckerError) {
|
|
95
|
-
return await this.getDepsInfo(false, error);
|
|
96
|
-
}
|
|
97
|
-
return await this.getDepsInfo(false, new depsError_1.DepsCheckerError(error.message, helpLink_1.ngrokInstallHelpLink));
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
async handleInstallNgrokFailed() {
|
|
101
|
-
await this.cleanup();
|
|
102
|
-
this._telemetry.sendSystemErrorEvent(telemetry_1.DepsCheckerEvent.ngrokInstallError, telemetry_1.TelemtryMessages.failedToInstallNgrok, message_1.Messages.failToValidateNgrok().replace("@NameVersion", displayNgrokName));
|
|
103
|
-
throw new depsError_1.DepsCheckerError(localizeUtils_1.getLocalizedString("error.common.InstallSoftwareError", displayNgrokName), helpLink_1.ngrokInstallHelpLink);
|
|
104
|
-
}
|
|
105
|
-
async validate() {
|
|
106
|
-
let isVersionSupported = false;
|
|
107
|
-
let hasSentinel = false;
|
|
108
|
-
try {
|
|
109
|
-
const binVersion = await this.queryNgrokBinVersion();
|
|
110
|
-
isVersionSupported = binVersion !== undefined && supportedBinVersions.includes(binVersion);
|
|
111
|
-
hasSentinel = await fs.pathExists(this.getSentinelPath());
|
|
112
|
-
}
|
|
113
|
-
catch (err) {
|
|
114
|
-
this._telemetry.sendSystemErrorEvent(telemetry_1.DepsCheckerEvent.ngrokValidationError, telemetry_1.TelemtryMessages.failedToValidateNgrok, err);
|
|
115
|
-
}
|
|
116
|
-
if (!isVersionSupported || !hasSentinel) {
|
|
117
|
-
this._telemetry.sendEvent(telemetry_1.DepsCheckerEvent.ngrokValidationError, {
|
|
118
|
-
"ngrok-v": String(isVersionSupported),
|
|
119
|
-
sentinel: String(hasSentinel),
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
return isVersionSupported && hasSentinel;
|
|
123
|
-
}
|
|
124
|
-
handleNpmNotFound() {
|
|
125
|
-
this._telemetry.sendEvent(telemetry_1.DepsCheckerEvent.npmNotFound);
|
|
126
|
-
throw new depsError_1.DepsCheckerError(message_1.Messages.needInstallNgrok().replace("@NameVersion", displayNgrokName), helpLink_1.ngrokInstallHelpLink);
|
|
127
|
-
}
|
|
128
|
-
getDefaultInstallPath() {
|
|
129
|
-
return path.join(os.homedir(), `.${teamsfx_api_1.ConfigFolderName}`, "bin", "ngrok");
|
|
130
|
-
}
|
|
131
|
-
getSentinelPath() {
|
|
132
|
-
return path.join(os.homedir(), `.${teamsfx_api_1.ConfigFolderName}`, "ngrok-sentinel");
|
|
133
|
-
}
|
|
134
|
-
async queryNgrokBinVersion() {
|
|
135
|
-
const output = await cpUtils_1.cpUtils.executeCommand(undefined, this._logger, {
|
|
136
|
-
shell: true,
|
|
137
|
-
env: { PATH: this.getNgrokBinFolder() },
|
|
138
|
-
}, ngrokName, "version");
|
|
139
|
-
const regex = /ngrok version (?<major_version>\d+)\.(?<minor_version>\d+)\.(?<patch_version>\d+)/gim;
|
|
140
|
-
const match = regex.exec(output);
|
|
141
|
-
if (!match || !match.groups) {
|
|
142
|
-
return undefined;
|
|
143
|
-
}
|
|
144
|
-
return `${match.groups.major_version}.${match.groups.minor_version}`;
|
|
145
|
-
}
|
|
146
|
-
async hasNPM() {
|
|
147
|
-
try {
|
|
148
|
-
const npmVersion = await cpUtils_1.cpUtils.executeCommand(undefined, this._logger, { shell: true }, "npm", "--version");
|
|
149
|
-
this._telemetry.sendEvent(telemetry_1.DepsCheckerEvent.npmAlreadyInstalled, {
|
|
150
|
-
"npm-version": npmVersion,
|
|
151
|
-
});
|
|
152
|
-
return true;
|
|
153
|
-
}
|
|
154
|
-
catch (error) {
|
|
155
|
-
this._telemetry.sendEvent(telemetry_1.DepsCheckerEvent.npmNotFound);
|
|
156
|
-
return false;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
async cleanup() {
|
|
160
|
-
try {
|
|
161
|
-
await fs.emptyDir(this.getDefaultInstallPath());
|
|
162
|
-
await fs.remove(this.getSentinelPath());
|
|
163
|
-
}
|
|
164
|
-
catch (err) {
|
|
165
|
-
await this._logger.debug(`Failed to clean up path: ${this.getDefaultInstallPath()}, error: ${err}`);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
async installNgrok() {
|
|
169
|
-
await this._telemetry.sendEventWithDuration(telemetry_1.DepsCheckerEvent.ngrokInstallScriptCompleted, async () => {
|
|
170
|
-
await progressIndicator_1.runWithProgressIndicator(async () => await this.doInstallNgrok(), this._logger);
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
static extractNpmInstallLog(exitCode, log) {
|
|
174
|
-
const nodePattern = /npm\s+info\s+using\s+node@(.*)/;
|
|
175
|
-
const nodeResult = log.match(nodePattern);
|
|
176
|
-
const nodeVersion = nodeResult ? nodeResult[1].trim() : undefined;
|
|
177
|
-
const npmPattern = /npm\s+info\s+using\s+npm@(.*)/;
|
|
178
|
-
const npmResult = log.match(npmPattern);
|
|
179
|
-
const npmVersion = npmResult ? npmResult[1].trim() : undefined;
|
|
180
|
-
// Save all error log and lines that contain "ngrok"
|
|
181
|
-
const errorPattern = /(npm\s+ERR+.*)|(.*ngrok.*)/gi;
|
|
182
|
-
const preventEmailRedactedRegex = /[^\s]*@[^\s]*/;
|
|
183
|
-
const errorResults = log.match(errorPattern);
|
|
184
|
-
const errorMessage = errorResults === null || errorResults === void 0 ? void 0 : errorResults.map((value) => {
|
|
185
|
-
// redact strings that contain "@" to prevent telemetry reporter from redacting the whole property
|
|
186
|
-
return value.trim().replace(preventEmailRedactedRegex, "<redacted: email>");
|
|
187
|
-
});
|
|
188
|
-
const properties = {};
|
|
189
|
-
properties[telemetry_1.TelemetryProperties.NgrokNpmInstallExitCode] = `${exitCode}`;
|
|
190
|
-
properties[telemetry_1.TelemetryProperties.NgrokNpmInstallNodeVersion] = `${nodeVersion}`;
|
|
191
|
-
properties[telemetry_1.TelemetryProperties.NgrokNpmInstallNpmVersion] = `${npmVersion}`;
|
|
192
|
-
properties[telemetry_1.TelemetryProperties.NgrokNpmInstallLog] = `${errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.join("\n")}`;
|
|
193
|
-
return properties;
|
|
194
|
-
}
|
|
195
|
-
async doInstallNgrok() {
|
|
196
|
-
await this._logger.info(message_1.Messages.startInstallNgrok().replace("@NameVersion", displayNgrokName));
|
|
197
|
-
try {
|
|
198
|
-
const npmCommand = this.getExecCommand("npm");
|
|
199
|
-
const result = await cpUtils_1.cpUtils.tryExecuteCommand(undefined, this._logger, { timeout: timeout, shell: false }, npmCommand, "install",
|
|
200
|
-
// not use -f, to avoid npm@6 bug: exit code = 0, even if install fail
|
|
201
|
-
`${ngrokName}@${installPackageVersion}`, "--prefix", `${this.getDefaultInstallPath()}`, "--no-audit", "--loglevel", // this will make npm output log to stderr
|
|
202
|
-
"verbose");
|
|
203
|
-
const log = result.cmdOutputIncludingStderr;
|
|
204
|
-
const properties = NgrokChecker.extractNpmInstallLog(result.code, log);
|
|
205
|
-
this._telemetry.sendEvent(telemetry_1.DepsCheckerEvent.ngrokNpmLog, properties);
|
|
206
|
-
if (result.code !== 0) {
|
|
207
|
-
const errorMessage = `Failed to run command: "${npmCommand} ${result.formattedArgs}", code: "${result.code}",
|
|
208
|
-
output: "${result.cmdOutput}", error: "${result.cmdOutputIncludingStderr}"`;
|
|
209
|
-
throw new Error(errorMessage);
|
|
210
|
-
}
|
|
211
|
-
await fs.ensureFile(this.getSentinelPath());
|
|
212
|
-
}
|
|
213
|
-
catch (error) {
|
|
214
|
-
this._telemetry.sendSystemErrorEvent(telemetry_1.DepsCheckerEvent.ngrokInstallScriptError, telemetry_1.TelemtryMessages.failedToInstallNgrok, error);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
getExecCommand(command) {
|
|
218
|
-
return system_1.isWindows() ? `${command}.cmd` : command;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
exports.NgrokChecker = NgrokChecker;
|
|
222
|
-
//# sourceMappingURL=ngrokChecker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngrokChecker.js","sourceRoot":"","sources":["../../../../src/common/deps-checker/internal/ngrokChecker.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,qDAA+B;AAC/B,mDAA6B;AAC7B,+CAAyB;AACzB,wDAA0D;AAE1D,mDAA4D;AAC5D,4CAAgD;AAChD,iEAAqE;AACrE,6CAA0C;AAC1C,2CAA2C;AAC3C,qDAAgG;AAGhG,gDAAyE;AACzE,iDAA+C;AAC/C,uDAAyD;AAEzD,MAAM,SAAS,GAAG,OAAO,CAAC;AAE1B,MAAM,qBAAqB,GAAG,OAAO,CAAC;AACtC,MAAM,wBAAwB,GAAG,CAAC,SAAS,CAAC,CAAC;AAC7C,MAAM,oBAAoB,GAAG,CAAC,KAAK,CAAC,CAAC;AACrC,MAAM,gBAAgB,GAAG,GAAG,SAAS,IAAI,qBAAqB,EAAE,CAAC;AAEjE,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAE9B,MAAa,YAAY;IAIvB,YAAY,MAAkB,EAAE,SAAwB;QACtD,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,CAAC;IAEM,KAAK,CAAC,OAAO;QAClB,OAAO,OAAO,CAAC;IACjB,CAAC;IAEO,KAAK,CAAC,WAAW,CACvB,WAAoB,EACpB,KAAwB;QAExB,OAAO,OAAO,CAAC,OAAO,CAAC;YACrB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,sBAAQ,CAAC,KAAK;YACpB,WAAW,EAAE,WAAW;YACxB,OAAO,EAAE,MAAM,IAAI,CAAC,OAAO,EAAE;YAC7B,OAAO,EAAE;g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AU,EACV,GAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,EACjC,YAAY,EACZ,YAAY,EAAE,0CAA0C;YACxD,SAAS,CACV,CAAC;YAEF,MAAM,GAAG,GAAG,MAAM,CAAC,wBAAwB,CAAC;YAC5C,MAAM,UAAU,GAAG,YAAY,CAAC,oBAAoB,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;YACvE,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,4BAAgB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;YACpE,IAAI,MAAM,CAAC,IAAI,KAAK,CAAC,EAAE;gBACrB,MAAM,YAAY,GAAG,2BAA2B,UAAU,IAAI,MAAM,CAAC,aAAa,aAAa,MAAM,CAAC,IAAI;yCACzE,MAAM,CAAC,SAAS,cAAc,MAAM,CAAC,wBAAwB,GAAG,CAAC;gBAClG,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC;aAC/B;YAED,MAAM,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC;SAC7C;QAAC,OAAO,KAAK,EAAE;YACd,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAClC,4BAAgB,CAAC,uBAAuB,EACxC,4BAAgB,CAAC,oBAAoB,EACrC,KAAK,CACN,CAAC;SACH;IACH,CAAC;IAEO,cAAc,CAAC,OAAe;QACpC,OAAO,kBAAS,EAAE,CAAC,CAAC,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;IAClD,CAAC;CACF;AAvRD,oCAuRC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Bicep, ContextV3, FxError, InputsWithProjectPath, Result } from "@microsoft/teamsfx-api";
|
|
2
|
-
import "reflect-metadata";
|
|
3
|
-
import { AzureResourceConfig } from "./azureResourceConfig";
|
|
4
|
-
export declare class APIMConfig extends AzureResourceConfig {
|
|
5
|
-
readonly name = "apim-config";
|
|
6
|
-
readonly bicepModuleName = "apim";
|
|
7
|
-
readonly requisite = "apim";
|
|
8
|
-
references: string[];
|
|
9
|
-
generateBicep(context: ContextV3, inputs: InputsWithProjectPath): Promise<Result<Bicep[], FxError>>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=apimConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apimConfig.d.ts","sourceRoot":"","sources":["../../../src/component/connection/apimConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,kBAAkB,CAAC;AAM1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,qBACa,UAAW,SAAQ,mBAAmB;IACjD,QAAQ,CAAC,IAAI,iBAAiB;IAC9B,QAAQ,CAAC,eAAe,UAAU;IAClC,QAAQ,CAAC,SAAS,UAAU;IAC5B,UAAU,WAA6C;IAUjD,aAAa,CACjB,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;CAGrC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.APIMConfig = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const lib_1 = require("@feathersjs/hooks/lib");
|
|
8
|
-
require("reflect-metadata");
|
|
9
|
-
const typedi_1 = require("typedi");
|
|
10
|
-
const constants_1 = require("../constants");
|
|
11
|
-
const actionExecutionMW_1 = require("../middleware/actionExecutionMW");
|
|
12
|
-
const constants_2 = require("../resource/apim/constants");
|
|
13
|
-
const utils_1 = require("../utils");
|
|
14
|
-
const azureResourceConfig_1 = require("./azureResourceConfig");
|
|
15
|
-
let APIMConfig = class APIMConfig extends azureResourceConfig_1.AzureResourceConfig {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.name = "apim-config";
|
|
19
|
-
this.bicepModuleName = "apim";
|
|
20
|
-
this.requisite = "apim";
|
|
21
|
-
this.references = utils_1.ComponentConnections[constants_1.ComponentNames.APIM];
|
|
22
|
-
}
|
|
23
|
-
async generateBicep(context, inputs) {
|
|
24
|
-
return super.generateBicep(context, inputs);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
tslib_1.__decorate([
|
|
28
|
-
lib_1.hooks([
|
|
29
|
-
actionExecutionMW_1.ActionExecutionMW({
|
|
30
|
-
enableTelemetry: true,
|
|
31
|
-
telemetryComponentName: "fx-resource-apim",
|
|
32
|
-
telemetryEventName: constants_2.PluginLifeCycle.UpdateArmTemplates,
|
|
33
|
-
errorSource: constants_2.ProjectConstants.pluginShortName,
|
|
34
|
-
}),
|
|
35
|
-
]),
|
|
36
|
-
tslib_1.__metadata("design:type", Function),
|
|
37
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object]),
|
|
38
|
-
tslib_1.__metadata("design:returntype", Promise)
|
|
39
|
-
], APIMConfig.prototype, "generateBicep", null);
|
|
40
|
-
APIMConfig = tslib_1.__decorate([
|
|
41
|
-
typedi_1.Service("apim-config")
|
|
42
|
-
], APIMConfig);
|
|
43
|
-
exports.APIMConfig = APIMConfig;
|
|
44
|
-
//# sourceMappingURL=apimConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apimConfig.js","sourceRoot":"","sources":["../../../src/component/connection/apimConfig.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,+CAA8C;AAE9C,4BAA0B;AAC1B,mCAAiC;AACjC,4CAA8C;AAC9C,uEAAoE;AACpE,0DAA+E;AAC/E,oCAAgD;AAChD,+DAA4D;AAE5D,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,yCAAmB;IAAnD;;QACW,SAAI,GAAG,aAAa,CAAC;QACrB,oBAAe,GAAG,MAAM,CAAC;QACzB,cAAS,GAAG,MAAM,CAAC;QAC5B,eAAU,GAAG,4BAAoB,CAAC,0BAAc,CAAC,IAAI,CAAC,CAAC;IAgBzD,CAAC;IANC,KAAK,CAAC,aAAa,CACjB,OAAkB,EAClB,MAA6B;QAE7B,OAAO,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AANC;IARC,WAAK,CAAC;QACL,qCAAiB,CAAC;YAChB,eAAe,EAAE,IAAI;YACrB,sBAAsB,EAAE,kBAAkB;YAC1C,kBAAkB,EAAE,2BAAe,CAAC,kBAAkB;YACtD,WAAW,EAAE,4BAAgB,CAAC,eAAe;SAC9C,CAAC;KACH,CAAC;;;;+CAMD;AAnBU,UAAU;IADtB,gBAAO,CAAC,aAAa,CAAC;GACV,UAAU,CAoBtB;AApBY,gCAAU"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "reflect-metadata";
|
|
2
|
-
import { AzureResourceConfig } from "./azureResourceConfig";
|
|
3
|
-
export declare class AzureFunctionsConfig extends AzureResourceConfig {
|
|
4
|
-
readonly name = "azure-function-config";
|
|
5
|
-
readonly bicepModuleName = "azureFunction";
|
|
6
|
-
readonly requisite = "azure-function";
|
|
7
|
-
references: string[];
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=azureFunctionConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureFunctionConfig.d.ts","sourceRoot":"","sources":["../../../src/component/connection/azureFunctionConfig.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBACa,oBAAqB,SAAQ,mBAAmB;IAC3D,QAAQ,CAAC,IAAI,2BAA2B;IACxC,QAAQ,CAAC,eAAe,mBAAmB;IAC3C,QAAQ,CAAC,SAAS,oBAAoB;IACtC,UAAU,WAAiD;CAC5D"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.AzureFunctionsConfig = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
require("reflect-metadata");
|
|
8
|
-
const typedi_1 = require("typedi");
|
|
9
|
-
const constants_1 = require("../constants");
|
|
10
|
-
const utils_1 = require("../utils");
|
|
11
|
-
const azureResourceConfig_1 = require("./azureResourceConfig");
|
|
12
|
-
let AzureFunctionsConfig = class AzureFunctionsConfig extends azureResourceConfig_1.AzureResourceConfig {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.name = "azure-function-config";
|
|
16
|
-
this.bicepModuleName = "azureFunction";
|
|
17
|
-
this.requisite = "azure-function";
|
|
18
|
-
this.references = utils_1.ComponentConnections[constants_1.ComponentNames.Function];
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
AzureFunctionsConfig = tslib_1.__decorate([
|
|
22
|
-
typedi_1.Service("azure-function-config")
|
|
23
|
-
], AzureFunctionsConfig);
|
|
24
|
-
exports.AzureFunctionsConfig = AzureFunctionsConfig;
|
|
25
|
-
//# sourceMappingURL=azureFunctionConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureFunctionConfig.js","sourceRoot":"","sources":["../../../src/component/connection/azureFunctionConfig.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,4BAA0B;AAC1B,mCAAiC;AACjC,4CAA8C;AAC9C,oCAAgD;AAChD,+DAA4D;AAG5D,IAAa,oBAAoB,GAAjC,MAAa,oBAAqB,SAAQ,yCAAmB;IAA7D;;QACW,SAAI,GAAG,uBAAuB,CAAC;QAC/B,oBAAe,GAAG,eAAe,CAAC;QAClC,cAAS,GAAG,gBAAgB,CAAC;QACtC,eAAU,GAAG,4BAAoB,CAAC,0BAAc,CAAC,QAAQ,CAAC,CAAC;IAC7D,CAAC;CAAA,CAAA;AALY,oBAAoB;IADhC,gBAAO,CAAC,uBAAuB,CAAC;GACpB,oBAAoB,CAKhC;AALY,oDAAoB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Bicep, ContextV3, FxError, InputsWithProjectPath, Result } from "@microsoft/teamsfx-api";
|
|
2
|
-
import "reflect-metadata";
|
|
3
|
-
export declare abstract class AzureResourceConfig {
|
|
4
|
-
abstract readonly name: string;
|
|
5
|
-
abstract readonly bicepModuleName: string;
|
|
6
|
-
abstract readonly requisite: string;
|
|
7
|
-
abstract references: string[];
|
|
8
|
-
templateContext: Record<string, any>;
|
|
9
|
-
generateBicep(context: ContextV3, inputs: InputsWithProjectPath): Promise<Result<Bicep[], FxError>>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=azureResourceConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureResourceConfig.d.ts","sourceRoot":"","sources":["../../../src/component/connection/azureResourceConfig.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,EAEL,SAAS,EACT,OAAO,EACP,qBAAqB,EAErB,MAAM,EACP,MAAM,wBAAwB,CAAC;AAGhC,OAAO,kBAAkB,CAAC;AAS1B,8BAAsB,mBAAmB;IACvC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IAC1C,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IACpC,aAAa,CACjB,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;CAqErC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.AzureResourceConfig = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
|
-
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
9
|
-
const path = tslib_1.__importStar(require("path"));
|
|
10
|
-
require("reflect-metadata");
|
|
11
|
-
const typedi_1 = require("typedi");
|
|
12
|
-
const tools_1 = require("../../common/tools");
|
|
13
|
-
const utils_1 = require("../../common/utils");
|
|
14
|
-
const question_1 = require("../../core/question");
|
|
15
|
-
const folder_1 = require("../../folder");
|
|
16
|
-
const constants_1 = require("../constants");
|
|
17
|
-
const workflow_1 = require("../workflow");
|
|
18
|
-
class AzureResourceConfig {
|
|
19
|
-
constructor() {
|
|
20
|
-
this.templateContext = {};
|
|
21
|
-
}
|
|
22
|
-
async generateBicep(context, inputs) {
|
|
23
|
-
var _a, _b;
|
|
24
|
-
const update = inputs.update;
|
|
25
|
-
const requisiteComponent = workflow_1.getComponentByScenario(context.projectSetting, this.requisite, inputs.scenario);
|
|
26
|
-
if (!requisiteComponent)
|
|
27
|
-
return teamsfx_api_1.ok([]);
|
|
28
|
-
this.templateContext.connections = requisiteComponent.connections || [];
|
|
29
|
-
for (const refComponentName of this.references) {
|
|
30
|
-
this.templateContext[refComponentName] = { outputs: {} };
|
|
31
|
-
try {
|
|
32
|
-
const refResource = typedi_1.Container.get(refComponentName);
|
|
33
|
-
if (refResource.outputs) {
|
|
34
|
-
for (const key of Object.keys(refResource.outputs)) {
|
|
35
|
-
const entry = refResource.outputs[key];
|
|
36
|
-
const value = tools_1.compileHandlebarsTemplateString((_a = entry.bicepVariable) !== null && _a !== void 0 ? _a : "", inputs);
|
|
37
|
-
this.templateContext[refComponentName].outputs[entry.key] = value;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
catch (e) { }
|
|
42
|
-
}
|
|
43
|
-
this.templateContext.scenario = inputs.scenario || "";
|
|
44
|
-
this.templateContext.scenarioInLowerCase = (inputs.scenario || "").toLowerCase();
|
|
45
|
-
const configs = [];
|
|
46
|
-
configs.push((_b = constants_1.languageToRuntime.get(context.projectSetting.programmingLanguage ||
|
|
47
|
-
(inputs === null || inputs === void 0 ? void 0 : inputs[question_1.CoreQuestionNames.ProgrammingLanguage]))) !== null && _b !== void 0 ? _b : "");
|
|
48
|
-
this.templateContext.configs = configs;
|
|
49
|
-
const modulePath = path.join(folder_1.getTemplatesFolder(), "bicep", `${this.bicepModuleName}.config.module.bicep`);
|
|
50
|
-
let module = await fs_extra_1.default.readFile(modulePath, "utf-8");
|
|
51
|
-
module = tools_1.compileHandlebarsTemplateString(module, this.templateContext);
|
|
52
|
-
const templatesFolder = await utils_1.getProjectTemplatesFolderPath(inputs.projectPath);
|
|
53
|
-
const targetModuleFilePath = path.join(templatesFolder, "azure", "teamsFx", `${this.bicepModuleName}${inputs.scenario}Config.bicep`);
|
|
54
|
-
const targetModuleFilePathExists = await fs_extra_1.default.pathExists(targetModuleFilePath);
|
|
55
|
-
const sourceOrchTemplatePath = path.join(folder_1.getTemplatesFolder(), "bicep", `${this.bicepModuleName}.config.orchestration.bicep`);
|
|
56
|
-
// orchestration part will be added only for first time
|
|
57
|
-
const orch = targetModuleFilePathExists
|
|
58
|
-
? undefined
|
|
59
|
-
: tools_1.compileHandlebarsTemplateString(await fs_extra_1.default.readFile(sourceOrchTemplatePath, "utf-8"), this.templateContext);
|
|
60
|
-
const moduleName = this.bicepModuleName + (inputs.scenario || "");
|
|
61
|
-
const bicep = {
|
|
62
|
-
type: "bicep",
|
|
63
|
-
Configuration: {
|
|
64
|
-
Modules: { [`${moduleName}Config`]: module },
|
|
65
|
-
Orchestration: update ? undefined : orch,
|
|
66
|
-
},
|
|
67
|
-
};
|
|
68
|
-
return teamsfx_api_1.ok([bicep]);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
exports.AzureResourceConfig = AzureResourceConfig;
|
|
72
|
-
//# sourceMappingURL=azureResourceConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureResourceConfig.js","sourceRoot":"","sources":["../../../src/component/connection/azureResourceConfig.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAQgC;AAChC,gEAA0B;AAC1B,mDAA6B;AAC7B,4BAA0B;AAC1B,mCAAmC;AACnC,8CAAqE;AACrE,8CAAmE;AACnE,kDAAwD;AACxD,yCAAkD;AAClD,4CAAiD;AACjD,0CAAqD;AAErD,MAAsB,mBAAmB;IAAzC;QAKE,oBAAe,GAAwB,EAAE,CAAC;IAyE5C,CAAC;IAxEC,KAAK,CAAC,aAAa,CACjB,OAAkB,EAClB,MAA6B;;QAE7B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAiB,CAAC;QACxC,MAAM,kBAAkB,GAAG,iCAAsB,CAC/C,OAAO,CAAC,cAAc,EACtB,IAAI,CAAC,SAAS,EACd,MAAM,CAAC,QAAQ,CAChB,CAAC;QACF,IAAI,CAAC,kBAAkB;YAAE,OAAO,gBAAE,CAAC,EAAE,CAAC,CAAC;QACvC,IAAI,CAAC,eAAe,CAAC,WAAW,GAAG,kBAAkB,CAAC,WAAW,IAAI,EAAE,CAAC;QACxE,KAAK,MAAM,gBAAgB,IAAI,IAAI,CAAC,UAAU,EAAE;YAC9C,IAAI,CAAC,eAAe,CAAC,gBAAgB,CAAC,GAAG,EAAE,OAAO,EAA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3
|
-
export declare class AzureWebAppConfig extends AzureResourceConfig {
|
|
4
|
-
readonly name = "azure-web-app-config";
|
|
5
|
-
readonly bicepModuleName = "azureWebApp";
|
|
6
|
-
readonly requisite = "azure-web-app";
|
|
7
|
-
references: string[];
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=azureWebAppConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureWebAppConfig.d.ts","sourceRoot":"","sources":["../../../src/component/connection/azureWebAppConfig.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,qBACa,iBAAkB,SAAQ,mBAAmB;IACxD,QAAQ,CAAC,IAAI,0BAA0B;IACvC,QAAQ,CAAC,eAAe,iBAAiB;IACzC,QAAQ,CAAC,SAAS,mBAAmB;IACrC,UAAU,WAAoD;CAC/D"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.AzureWebAppConfig = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
require("reflect-metadata");
|
|
8
|
-
const typedi_1 = require("typedi");
|
|
9
|
-
const constants_1 = require("../constants");
|
|
10
|
-
const utils_1 = require("../utils");
|
|
11
|
-
const azureResourceConfig_1 = require("./azureResourceConfig");
|
|
12
|
-
let AzureWebAppConfig = class AzureWebAppConfig extends azureResourceConfig_1.AzureResourceConfig {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.name = "azure-web-app-config";
|
|
16
|
-
this.bicepModuleName = "azureWebApp";
|
|
17
|
-
this.requisite = "azure-web-app";
|
|
18
|
-
this.references = utils_1.ComponentConnections[constants_1.ComponentNames.AzureWebApp];
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
AzureWebAppConfig = tslib_1.__decorate([
|
|
22
|
-
typedi_1.Service("azure-web-app-config")
|
|
23
|
-
], AzureWebAppConfig);
|
|
24
|
-
exports.AzureWebAppConfig = AzureWebAppConfig;
|
|
25
|
-
//# sourceMappingURL=azureWebAppConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureWebAppConfig.js","sourceRoot":"","sources":["../../../src/component/connection/azureWebAppConfig.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,4BAA0B;AAC1B,mCAAiC;AACjC,4CAA8C;AAC9C,oCAAgD;AAChD,+DAA4D;AAE5D,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,yCAAmB;IAA1D;;QACW,SAAI,GAAG,sBAAsB,CAAC;QAC9B,oBAAe,GAAG,aAAa,CAAC;QAChC,cAAS,GAAG,eAAe,CAAC;QACrC,eAAU,GAAG,4BAAoB,CAAC,0BAAc,CAAC,WAAW,CAAC,CAAC;IAChE,CAAC;CAAA,CAAA;AALY,iBAAiB;IAD7B,gBAAO,CAAC,sBAAsB,CAAC;GACnB,iBAAiB,CAK7B;AALY,8CAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycleStage.d.ts","sourceRoot":"","sources":["../../../src/component/coordinator/lifecycleStage.ts"],"names":[],"mappings":""}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
const componentError_1 = require("../error/componentError");
|
|
6
|
-
const typedi_1 = require("typedi");
|
|
7
|
-
/**
|
|
8
|
-
* entrance of the all lifecycle stage
|
|
9
|
-
*/
|
|
10
|
-
class LifecycleStage {
|
|
11
|
-
static async runSteps(steps, context) {
|
|
12
|
-
const drivers = steps.map((it) => typedi_1.Container.get(it.driver));
|
|
13
|
-
if (drivers.find((it) => !it)) {
|
|
14
|
-
throw componentError_1.PrerequisiteError.somethingIllegal("Deploy", "DriverName", "");
|
|
15
|
-
}
|
|
16
|
-
for (const step of steps) {
|
|
17
|
-
const driver = typedi_1.Container.get(step.driver);
|
|
18
|
-
await driver.run(step.args, context);
|
|
19
|
-
// write to .env file
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=lifecycleStage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycleStage.js","sourceRoot":"","sources":["../../../src/component/coordinator/lifecycleStage.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAGlC,4DAA4D;AAE5D,mCAAmC;AAGnC;;GAEG;AACH,MAAM,cAAc;IAClB,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAa,EAAE,OAAsB;QACzD,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,kBAAS,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAe,CAAC,CAAC;QAC1E,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;YAC7B,MAAM,kCAAiB,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;SACtE;QACD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACxB,MAAM,MAAM,GAAG,kBAAS,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAe,CAAC;YACxD,MAAM,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;YACrC,qBAAqB;SACtB;IACH,CAAC;CACF"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ActionContext, ContextV3, FxError, InputsWithProjectPath, ResourceContextV3, Result } from "@microsoft/teamsfx-api";
|
|
2
|
-
import "reflect-metadata";
|
|
3
|
-
import "./bicep";
|
|
4
|
-
import "./code/api/apiCode";
|
|
5
|
-
import "./code/botCode";
|
|
6
|
-
import "./code/spfxTabCode";
|
|
7
|
-
import "./code/tab/tabCode";
|
|
8
|
-
import "./connection/apimConfig";
|
|
9
|
-
import "./connection/azureFunctionConfig";
|
|
10
|
-
import "./connection/azureWebAppConfig";
|
|
11
|
-
import "./feature/api/api";
|
|
12
|
-
import "./feature/apiconnector/apiConnector";
|
|
13
|
-
import "./feature/apim";
|
|
14
|
-
import "./feature/bot/bot";
|
|
15
|
-
import "./feature/cicd/cicd";
|
|
16
|
-
import "./feature/keyVault";
|
|
17
|
-
import "./feature/spfx";
|
|
18
|
-
import "./feature/sql";
|
|
19
|
-
import "./feature/sso";
|
|
20
|
-
import "./feature/tab";
|
|
21
|
-
import "./resource/apim/apim";
|
|
22
|
-
import "./resource/azureAppService/azureFunction";
|
|
23
|
-
import "./resource/azureAppService/azureWebApp";
|
|
24
|
-
import "./resource/azureSql";
|
|
25
|
-
import "./resource/azureStorage/azureStorage";
|
|
26
|
-
import "./resource/botService/botService";
|
|
27
|
-
import "./resource/keyVault";
|
|
28
|
-
import "./resource/spfx";
|
|
29
|
-
import "./resource/aadApp/aadApp";
|
|
30
|
-
import "./resource/simpleAuth";
|
|
31
|
-
export declare class TeamsfxCore {
|
|
32
|
-
name: string;
|
|
33
|
-
/**
|
|
34
|
-
* create project
|
|
35
|
-
*/
|
|
36
|
-
create(context: ContextV3, inputs: InputsWithProjectPath, actionContext?: ActionContext): Promise<Result<string, FxError>>;
|
|
37
|
-
/**
|
|
38
|
-
* add feature
|
|
39
|
-
*/
|
|
40
|
-
addFeature(context: ContextV3, inputs: InputsWithProjectPath, actionContext?: ActionContext): Promise<Result<any, FxError>>;
|
|
41
|
-
init(context: ContextV3, inputs: InputsWithProjectPath, isInitExistingApp?: boolean): Promise<Result<undefined, FxError>>;
|
|
42
|
-
provision(ctx: ResourceContextV3, inputs: InputsWithProjectPath, actionContext?: ActionContext): Promise<Result<undefined, FxError>>;
|
|
43
|
-
/**
|
|
44
|
-
* About AAD deploy:
|
|
45
|
-
* 1. For VS platform, there is no "AAD" option in the deploy plugins selection question.
|
|
46
|
-
* "Deploy" command does not include "AAD" resource.
|
|
47
|
-
* 2. For VS Code platform, there is no "AAD" option in the deploy plugins selection question.
|
|
48
|
-
* "Deploy" command does not include "AAD" resource. But there is another command "Deploy aad manifest" in aad manifest's context menu that will trigger the "deploy" lifecycle command in fxcore (with inputs["include-aad-manifest"] === "yes") will trigger "AAD" only deployment.
|
|
49
|
-
* 3. For CLI platform, there is "AAD" option in the deploy plugins selection question.
|
|
50
|
-
* "Deploy" command includes "AAD" resource if the following conditions meet:
|
|
51
|
-
* 1). inputs["include-aad-manifest"] === "yes" AND
|
|
52
|
-
* 2). deploy options includes "AAD".
|
|
53
|
-
* In such a case "AAD" will be included in the deployment resources and will be deployed together with other resources.
|
|
54
|
-
*/
|
|
55
|
-
deploy(context: ResourceContextV3, inputs: InputsWithProjectPath, actionContext?: ActionContext): Promise<Result<undefined, FxError>>;
|
|
56
|
-
}
|
|
57
|
-
export declare function preCheck(projectPath: string): Promise<Result<undefined, FxError>>;
|
|
58
|
-
export interface BotTroubleShootMessage {
|
|
59
|
-
troubleShootLink: string;
|
|
60
|
-
textForLogging: string;
|
|
61
|
-
textForMsgBox: string;
|
|
62
|
-
textForActionButton: string;
|
|
63
|
-
}
|
|
64
|
-
export declare function getBotTroubleShootMessage(isBot: boolean): BotTroubleShootMessage;
|
|
65
|
-
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/component/core.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,aAAa,EAIb,SAAS,EAGT,OAAO,EACP,qBAAqB,EAIrB,iBAAiB,EACjB,MAAM,EAEP,MAAM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