@microsoft/teamsfx-core 2.0.1-alpha.cb1f62669.0 → 2.0.1-alpha.d4f96cccc.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/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.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/local/localStateHelper.d.ts.map +1 -1
- package/build/common/local/localStateHelper.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 +20 -42
- package/build/common/samples.js.map +1 -1
- package/build/common/telemetry.d.ts +0 -13
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +0 -13
- package/build/common/telemetry.js.map +1 -1
- package/build/common/templates-config.json +2 -1
- package/build/common/tools.d.ts +1 -16
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +54 -204
- package/build/common/tools.js.map +1 -1
- package/build/component/code/appSettingUtils.d.ts +1 -2
- package/build/component/code/appSettingUtils.d.ts.map +1 -1
- package/build/component/code/appSettingUtils.js +1 -46
- package/build/component/code/appSettingUtils.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/constant/deployConstant.d.ts.map +1 -1
- package/build/component/constant/deployConstant.js.map +1 -1
- package/build/component/constants.d.ts +3 -210
- package/build/component/constants.d.ts.map +1 -1
- package/build/component/constants.js +7 -404
- package/build/component/constants.js.map +1 -1
- package/build/component/coordinator/index.d.ts +8 -7
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +35 -188
- 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/deployUtils.d.ts +1 -8
- package/build/component/deployUtils.d.ts.map +1 -1
- package/build/component/deployUtils.js +2 -98
- package/build/component/deployUtils.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 +2 -2
- package/build/component/driver/aad/update.js.map +1 -1
- package/build/component/driver/add/addWebPart.js +3 -3
- package/build/component/driver/add/addWebPart.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/deploy/azure/impl/AzureZipDeployImpl.js +9 -9
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
- package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
- package/build/component/driver/devTool/installDriver.js +3 -2
- package/build/component/driver/devTool/installDriver.js.map +1 -1
- package/build/component/driver/interface/buildAndDeployArgs.d.ts +11 -11
- package/build/component/driver/interface/buildAndDeployArgs.d.ts.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/error.d.ts +0 -3
- package/build/component/error.d.ts.map +1 -1
- package/build/component/error.js +1 -11
- package/build/component/error.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/cicd/cicd.d.ts +1 -2
- package/build/component/feature/cicd/cicd.d.ts.map +1 -1
- package/build/component/feature/cicd/cicd.js +2 -87
- package/build/component/feature/cicd/cicd.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/generator/generatorAction.d.ts.map +1 -1
- package/build/component/generator/generatorAction.js +1 -1
- package/build/component/generator/generatorAction.js.map +1 -1
- package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts +8 -0
- package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
- package/build/component/generator/spfx/depsChecker/dependencyChecker.js.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.d.ts +1 -4
- package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.js +0 -39
- package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.d.ts +1 -4
- package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.js +0 -33
- package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -0
- package/build/component/generator/spfx/error.d.ts +8 -0
- package/build/component/generator/spfx/error.d.ts.map +1 -0
- package/build/component/generator/spfx/error.js +55 -0
- package/build/component/generator/spfx/error.js.map +1 -0
- package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -0
- package/build/component/generator/{spfxGenerator.js → spfx/spfxGenerator.js} +16 -16
- package/build/component/generator/spfx/spfxGenerator.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/constants.d.ts +0 -33
- package/build/component/generator/spfx/utils/constants.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/constants.js +1 -39
- package/build/component/generator/spfx/utils/constants.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/progress-helper.d.ts +0 -5
- package/build/component/generator/spfx/utils/progress-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/progress-helper.js +21 -0
- package/build/component/generator/spfx/utils/progress-helper.js.map +1 -0
- package/build/component/generator/spfx/utils/question-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/question-helper.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/questions.d.ts +0 -1
- package/build/component/generator/spfx/utils/questions.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/questions.js +2 -27
- package/build/component/generator/spfx/utils/questions.js.map +1 -0
- package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/telemetry-helper.js.map +1 -0
- package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/telemetryEvents.js.map +1 -0
- package/build/component/generator/spfx/utils/utils.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/utils.js.map +1 -0
- package/build/component/generator/utils.js +2 -2
- package/build/component/generator/utils.js.map +1 -1
- package/build/component/middleware/envMW.js.map +1 -1
- package/build/component/provisionUtils.d.ts +2 -23
- package/build/component/provisionUtils.d.ts.map +1 -1
- package/build/component/provisionUtils.js +5 -523
- package/build/component/provisionUtils.js.map +1 -1
- package/build/component/question.d.ts +2 -64
- package/build/component/question.d.ts.map +1 -1
- package/build/component/question.js +50 -665
- package/build/component/question.js.map +1 -1
- package/build/component/registerService.d.ts +0 -16
- package/build/component/registerService.d.ts.map +1 -1
- package/build/component/registerService.js +0 -16
- 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/aadApp/utils/aadManifestHelper.js +2 -1
- package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts +0 -6
- package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
- package/build/component/resource/appManifest/appManifest.js +24 -247
- package/build/component/resource/appManifest/appManifest.js.map +1 -1
- package/build/component/resource/appManifest/appStudio.d.ts +1 -21
- package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
- package/build/component/resource/appManifest/appStudio.js +15 -257
- package/build/component/resource/appManifest/appStudio.js.map +1 -1
- package/build/component/resource/botService/errors.d.ts +0 -2
- package/build/component/resource/botService/errors.d.ts.map +1 -1
- package/build/component/resource/botService/errors.js +1 -43
- package/build/component/resource/botService/errors.js.map +1 -1
- package/build/component/utils/ResourceGroupHelper.d.ts +1 -5
- package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
- package/build/component/utils/ResourceGroupHelper.js +0 -6
- package/build/component/utils/ResourceGroupHelper.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/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 +2 -2
- package/build/component/utils/pathUtils.js.map +1 -1
- package/build/component/utils.d.ts +1 -29
- package/build/component/utils.d.ts.map +1 -1
- package/build/component/utils.js +24 -501
- package/build/component/utils.js.map +1 -1
- package/build/component/workflow.d.ts +0 -2
- package/build/component/workflow.d.ts.map +1 -1
- package/build/component/workflow.js +1 -692
- package/build/component/workflow.js.map +1 -1
- package/build/core/FxCore.d.ts +0 -13
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +1 -55
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCoreImplementV3.d.ts +2 -4
- package/build/core/FxCoreImplementV3.d.ts.map +1 -1
- package/build/core/FxCoreImplementV3.js +58 -102
- package/build/core/FxCoreImplementV3.js.map +1 -1
- package/build/core/collaborator.d.ts +2 -0
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +2 -0
- package/build/core/collaborator.js.map +1 -1
- package/build/core/environment.d.ts +2 -4
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +44 -108
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +1 -34
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +1 -112
- package/build/core/error.js.map +1 -1
- package/build/core/globalVars.d.ts +0 -1
- package/build/core/globalVars.d.ts.map +1 -1
- package/build/core/globalVars.js +1 -15
- package/build/core/globalVars.js.map +1 -1
- package/build/core/middleware/projectMigratorV3.d.ts +3 -1
- package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
- package/build/core/middleware/projectMigratorV3.js +43 -49
- package/build/core/middleware/projectMigratorV3.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +9 -20
- 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 +10 -23
- 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/middleware/utils/migrationContext.d.ts.map +1 -1
- package/build/core/middleware/utils/migrationContext.js +0 -4
- package/build/core/middleware/utils/migrationContext.js.map +1 -1
- package/build/core/question.d.ts +1 -12
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +17 -240
- package/build/core/question.js.map +1 -1
- package/build/core/types.d.ts +0 -10
- package/build/core/types.d.ts.map +1 -1
- package/build/error/common.d.ts +6 -0
- package/build/error/common.d.ts.map +1 -1
- package/build/error/common.js +26 -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 +14 -34
- package/resource/package.nls.json +6 -241
- 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/azure-hosting/azureAppServiceHosting.d.ts +0 -16
- package/build/common/azure-hosting/azureAppServiceHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureAppServiceHosting.js +0 -33
- package/build/common/azure-hosting/azureAppServiceHosting.js.map +0 -1
- package/build/common/azure-hosting/azureFunctionHosting.d.ts +0 -14
- package/build/common/azure-hosting/azureFunctionHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureFunctionHosting.js +0 -34
- package/build/common/azure-hosting/azureFunctionHosting.js.map +0 -1
- package/build/common/azure-hosting/azureHosting.d.ts +0 -23
- package/build/common/azure-hosting/azureHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureHosting.js +0 -95
- package/build/common/azure-hosting/azureHosting.js.map +0 -1
- package/build/common/azure-hosting/azureOps.d.ts +0 -17
- package/build/common/azure-hosting/azureOps.d.ts.map +0 -1
- package/build/common/azure-hosting/azureOps.js +0 -94
- package/build/common/azure-hosting/azureOps.js.map +0 -1
- package/build/common/azure-hosting/hostingConstant.d.ts +0 -46
- package/build/common/azure-hosting/hostingConstant.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingConstant.js +0 -86
- package/build/common/azure-hosting/hostingConstant.js.map +0 -1
- package/build/common/azure-hosting/hostingError.d.ts +0 -47
- package/build/common/azure-hosting/hostingError.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingError.js +0 -83
- package/build/common/azure-hosting/hostingError.js.map +0 -1
- package/build/common/azure-hosting/hostingFactory.d.ts +0 -6
- package/build/common/azure-hosting/hostingFactory.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingFactory.js +0 -22
- package/build/common/azure-hosting/hostingFactory.js.map +0 -1
- package/build/common/azure-hosting/interfaces.d.ts +0 -58
- package/build/common/azure-hosting/interfaces.d.ts.map +0 -1
- package/build/common/azure-hosting/interfaces.js +0 -12
- package/build/common/azure-hosting/interfaces.js.map +0 -1
- package/build/common/azure-hosting/messages.d.ts +0 -10
- package/build/common/azure-hosting/messages.d.ts.map +0 -1
- package/build/common/azure-hosting/messages.js +0 -16
- package/build/common/azure-hosting/messages.js.map +0 -1
- package/build/common/azure-hosting/utils.d.ts +0 -10
- package/build/common/azure-hosting/utils.d.ts.map +0 -1
- package/build/common/azure-hosting/utils.js +0 -107
- package/build/common/azure-hosting/utils.js.map +0 -1
- 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/common/samples-config.json +0 -201
- package/build/component/code/spfxTabCode.d.ts +0 -11
- package/build/component/code/spfxTabCode.d.ts.map +0 -1
- package/build/component/code/spfxTabCode.js +0 -237
- package/build/component/code/spfxTabCode.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/envManager.d.ts +0 -4
- package/build/component/envManager.d.ts.map +0 -1
- package/build/component/envManager.js +0 -25
- package/build/component/envManager.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/ApiConnectorImpl.d.ts +0 -23
- package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts.map +0 -1
- package/build/component/feature/apiconnector/ApiConnectorImpl.js +0 -288
- package/build/component/feature/apiconnector/ApiConnectorImpl.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/apiconnector/checker.d.ts +0 -7
- package/build/component/feature/apiconnector/checker.d.ts.map +0 -1
- package/build/component/feature/apiconnector/checker.js +0 -74
- package/build/component/feature/apiconnector/checker.js.map +0 -1
- package/build/component/feature/apiconnector/config.d.ts +0 -23
- package/build/component/feature/apiconnector/config.d.ts.map +0 -1
- package/build/component/feature/apiconnector/config.js +0 -5
- package/build/component/feature/apiconnector/config.js.map +0 -1
- package/build/component/feature/apiconnector/constants.d.ts +0 -50
- package/build/component/feature/apiconnector/constants.d.ts.map +0 -1
- package/build/component/feature/apiconnector/constants.js +0 -61
- package/build/component/feature/apiconnector/constants.js.map +0 -1
- package/build/component/feature/apiconnector/depsHandler.d.ts +0 -14
- package/build/component/feature/apiconnector/depsHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/depsHandler.js +0 -109
- package/build/component/feature/apiconnector/depsHandler.js.map +0 -1
- package/build/component/feature/apiconnector/envHandler.d.ts +0 -21
- package/build/component/feature/apiconnector/envHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/envHandler.js +0 -128
- package/build/component/feature/apiconnector/envHandler.js.map +0 -1
- package/build/component/feature/apiconnector/errors.d.ts +0 -53
- package/build/component/feature/apiconnector/errors.d.ts.map +0 -1
- package/build/component/feature/apiconnector/errors.js +0 -64
- package/build/component/feature/apiconnector/errors.js.map +0 -1
- package/build/component/feature/apiconnector/questions.d.ts +0 -41
- package/build/component/feature/apiconnector/questions.d.ts.map +0 -1
- package/build/component/feature/apiconnector/questions.js +0 -262
- package/build/component/feature/apiconnector/questions.js.map +0 -1
- package/build/component/feature/apiconnector/result.d.ts +0 -23
- package/build/component/feature/apiconnector/result.d.ts.map +0 -1
- package/build/component/feature/apiconnector/result.js +0 -40
- package/build/component/feature/apiconnector/result.js.map +0 -1
- package/build/component/feature/apiconnector/sampleHandler.d.ts +0 -10
- package/build/component/feature/apiconnector/sampleHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/sampleHandler.js +0 -62
- package/build/component/feature/apiconnector/sampleHandler.js.map +0 -1
- package/build/component/feature/apiconnector/telemetry.d.ts +0 -42
- package/build/component/feature/apiconnector/telemetry.d.ts.map +0 -1
- package/build/component/feature/apiconnector/telemetry.js +0 -70
- package/build/component/feature/apiconnector/telemetry.js.map +0 -1
- package/build/component/feature/apiconnector/utils.d.ts +0 -18
- package/build/component/feature/apiconnector/utils.d.ts.map +0 -1
- package/build/component/feature/apiconnector/utils.js +0 -90
- package/build/component/feature/apiconnector/utils.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/generator/spfxGenerator.d.ts.map +0 -1
- package/build/component/generator/spfxGenerator.js.map +0 -1
- package/build/component/resource/azureAppService/azureAppService.d.ts +0 -12
- package/build/component/resource/azureAppService/azureAppService.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureAppService.js +0 -48
- package/build/component/resource/azureAppService/azureAppService.js.map +0 -1
- package/build/component/resource/azureAppService/azureFunction.d.ts +0 -36
- package/build/component/resource/azureAppService/azureFunction.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureFunction.js +0 -155
- package/build/component/resource/azureAppService/azureFunction.js.map +0 -1
- package/build/component/resource/azureAppService/azureLibs.d.ts +0 -6
- package/build/component/resource/azureAppService/azureLibs.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureLibs.js +0 -13
- package/build/component/resource/azureAppService/azureLibs.js.map +0 -1
- package/build/component/resource/azureAppService/azureWebApp.d.ts +0 -30
- package/build/component/resource/azureAppService/azureWebApp.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureWebApp.js +0 -43
- package/build/component/resource/azureAppService/azureWebApp.js.map +0 -1
- package/build/component/resource/azureAppService/common.d.ts +0 -10
- package/build/component/resource/azureAppService/common.d.ts.map +0 -1
- package/build/component/resource/azureAppService/common.js +0 -80
- package/build/component/resource/azureAppService/common.js.map +0 -1
- package/build/component/resource/azureAppService/dir-walk.d.ts +0 -4
- package/build/component/resource/azureAppService/dir-walk.d.ts.map +0 -1
- package/build/component/resource/azureAppService/dir-walk.js +0 -21
- package/build/component/resource/azureAppService/dir-walk.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/azureStorage/azureStorage.d.ts +0 -31
- package/build/component/resource/azureStorage/azureStorage.d.ts.map +0 -1
- package/build/component/resource/azureStorage/azureStorage.js +0 -111
- package/build/component/resource/azureStorage/azureStorage.js.map +0 -1
- package/build/component/resource/azureStorage/clients.d.ts +0 -23
- package/build/component/resource/azureStorage/clients.d.ts.map +0 -1
- package/build/component/resource/azureStorage/clients.js +0 -133
- package/build/component/resource/azureStorage/clients.js.map +0 -1
- package/build/component/resource/azureStorage/configs.d.ts +0 -12
- package/build/component/resource/azureStorage/configs.d.ts.map +0 -1
- package/build/component/resource/azureStorage/configs.js +0 -30
- package/build/component/resource/azureStorage/configs.js.map +0 -1
- package/build/component/resource/azureStorage/constants.d.ts +0 -11
- package/build/component/resource/azureStorage/constants.d.ts.map +0 -1
- package/build/component/resource/azureStorage/constants.js +0 -17
- package/build/component/resource/azureStorage/constants.js.map +0 -1
- package/build/component/resource/azureStorage/messages.d.ts +0 -14
- package/build/component/resource/azureStorage/messages.d.ts.map +0 -1
- package/build/component/resource/azureStorage/messages.js +0 -28
- package/build/component/resource/azureStorage/messages.js.map +0 -1
- package/build/component/resource/botService/botService.d.ts +0 -24
- package/build/component/resource/botService/botService.d.ts.map +0 -1
- package/build/component/resource/botService/botService.js +0 -146
- package/build/component/resource/botService/botService.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/component/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -11
- package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/yoChecker.js.map +0 -1
- package/build/component/resource/spfx/error.d.ts +0 -21
- package/build/component/resource/spfx/error.d.ts.map +0 -1
- package/build/component/resource/spfx/error.js +0 -138
- package/build/component/resource/spfx/error.js.map +0 -1
- package/build/component/resource/spfx/index.d.ts +0 -15
- package/build/component/resource/spfx/index.d.ts.map +0 -1
- package/build/component/resource/spfx/index.js +0 -248
- package/build/component/resource/spfx/index.js.map +0 -1
- package/build/component/resource/spfx/spoClient.d.ts +0 -25
- package/build/component/resource/spfx/spoClient.d.ts.map +0 -1
- package/build/component/resource/spfx/spoClient.js +0 -79
- package/build/component/resource/spfx/spoClient.js.map +0 -1
- package/build/component/resource/spfx/utils/constants.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/constants.js.map +0 -1
- package/build/component/resource/spfx/utils/progress-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/progress-helper.js +0 -46
- package/build/component/resource/spfx/utils/progress-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/question-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/question-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/questions.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/questions.js.map +0 -1
- package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/telemetry-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/telemetryEvents.js.map +0 -1
- package/build/component/resource/spfx/utils/utils.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/utils.js.map +0 -1
- package/build/component/utils/backupFiles.d.ts +0 -3
- package/build/component/utils/backupFiles.d.ts.map +0 -1
- package/build/component/utils/backupFiles.js +0 -142
- package/build/component/utils/backupFiles.js.map +0 -1
- package/build/component/utils/executor.d.ts +0 -12
- package/build/component/utils/executor.d.ts.map +0 -1
- package/build/component/utils/executor.js +0 -87
- package/build/component/utils/executor.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/downloadSample.d.ts +0 -9
- package/build/core/downloadSample.d.ts.map +0 -1
- package/build/core/downloadSample.js +0 -161
- package/build/core/downloadSample.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/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/resource/backup-config-change-logs.md +0 -24
- package/templates/bicep/azureSql.parameters.json +0 -4
- package/templates/bicep/azureSql.provisionDatabase.module.bicep +0 -15
- package/templates/bicep/azureSql.provisionDatabase.orchestration.bicep +0 -5
- package/templates/bicep/azureSql.provisionServer.module.bicep +0 -44
- package/templates/bicep/azureSql.provisionServer.orchestration.bicep +0 -14
- package/templates/bicep/identity.provision.module.bicep +0 -15
- package/templates/bicep/identity.provision.orchestration.bicep +0 -14
- package/templates/bicep/keyVault.provision.module.bicep +0 -57
- package/templates/bicep/keyVault.provision.orchestration.bicep +0 -15
- package/templates/plugins/resource/apiconnector/package.json +0 -5
- package/templates/plugins/resource/apiconnector/sample/footerComment.template +0 -20
- package/templates/plugins/resource/apiconnector/sample/headerComment.template +0 -52
- package/templates/plugins/resource/apiconnector/sample/js/aad.template +0 -31
- package/templates/plugins/resource/apiconnector/sample/js/apikey.template +0 -19
- package/templates/plugins/resource/apiconnector/sample/js/basic.template +0 -14
- package/templates/plugins/resource/apiconnector/sample/js/cert.template +0 -17
- package/templates/plugins/resource/apiconnector/sample/js/custom.template +0 -39
- package/templates/plugins/resource/apiconnector/sample/ts/aad.template +0 -36
- package/templates/plugins/resource/apiconnector/sample/ts/apikey.template +0 -16
- package/templates/plugins/resource/apiconnector/sample/ts/basic.template +0 -14
- package/templates/plugins/resource/apiconnector/sample/ts/cert.template +0 -19
- package/templates/plugins/resource/apiconnector/sample/ts/custom.template +0 -42
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +0 -15
- package/templates/plugins/resource/identity/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/identity/parameters.json +0 -12
- package/templates/plugins/resource/identity/template.json +0 -28
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +0 -57
- package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +0 -15
- package/templates/plugins/resource/simpleauth/SimpleAuth.zip +0 -0
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +0 -12
- package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +0 -62
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +0 -51
- package/templates/plugins/resource/simpleauth/version.txt +0 -2
- package/templates/plugins/resource/spfx/solution/README.md +0 -82
- package/templates/plugins/resource/spfx/solution/manifest.local.template.json +0 -62
- package/templates/plugins/resource/spfx/solution/manifest_multi_env.json +0 -63
- package/templates/plugins/resource/spfx/solution/rootREADME.md +0 -13
- package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +0 -5
- package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +0 -15
- package/templates/plugins/resource/sql/bicep/parameters.json +0 -4
- package/templates/plugins/resource/sql/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +0 -44
- /package/build/component/{resource → generator}/spfx/depsChecker/dependencyChecker.js +0 -0
- /package/build/component/generator/{spfxGenerator.d.ts → spfx/spfxGenerator.d.ts} +0 -0
- /package/build/component/{resource → generator}/spfx/utils/question-helper.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/question-helper.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/utils.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/utils.js +0 -0
|
@@ -73,21 +73,8 @@ export declare enum TelemetryEvent {
|
|
|
73
73
|
ProjectMigratorNotification = "project-migrator-notification",
|
|
74
74
|
ProjectMigratorMigrateStart = "project-migrator-migrate-start",
|
|
75
75
|
ProjectMigratorMigrate = "project-migrator-migrate",
|
|
76
|
-
ProjectMigratorMigrateArmStart = "project-migrator-migrate-arm-start",
|
|
77
|
-
ProjectMigratorMigrateArm = "project-migrator-migrate-arm",
|
|
78
|
-
ProjectMigratorMigrateMultiEnvStart = "project-migrator-migrate-multi-env-start",
|
|
79
|
-
ProjectMigratorMigrateMultiEnv = "project-migrator-migrate-multi-env",
|
|
80
|
-
ProjectMigratorGuideStart = "project-migrator-guide-start",
|
|
81
|
-
ProjectMigratorGuide = "project-migrator-guide",
|
|
82
76
|
ProjectMigratorPrecheckFailed = "project-migrator-pre-check-failed",
|
|
83
77
|
ProjectMigratorError = "project-migrator-error",
|
|
84
|
-
ProjectAadManifestMigrationError = "project-aad-manifest-migration-error",
|
|
85
|
-
ProjectAadManifestMigrationStart = "project-aad-manifest-migration-start",
|
|
86
|
-
ProjectAadManifestMigration = "project-aad-manifest-migration",
|
|
87
|
-
ProjectAadManifestMigrationAddAADTemplateStart = "project-aad-manifest-migration-add-aad-template-start",
|
|
88
|
-
ProjectAadManifestMigrationAddAADTemplate = "project-aad-manifest-migration-add-aad-template",
|
|
89
|
-
ProjectAadManifestMigrationBackupStart = "project-aad-manifest-migration-backup-start",
|
|
90
|
-
ProjectAadManifestMigrationBackup = "project-aad-manifest-migration-backup",
|
|
91
78
|
ProjectConsolidateNotificationStart = "project-consolidate-notification-start",
|
|
92
79
|
ProjectConsolidateNotification = "project-consolidate-notification",
|
|
93
80
|
ProjectConsolidateUpgradeStart = "project-consolidate-upgrade-start",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/common/telemetry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAa,MAAM,wBAAwB,CAAC;AAE/E,qBAAa,yBAAyB;IACpC,OAAc,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAChE;AAED,oBAAY,iBAAiB;IAC3B,WAAW,iBAAiB;IAC5B,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,OA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,MAAM,GAAG,MAAM,CAAA;CAAE,GACnC,IAAI,CAkBN"}
|
|
@@ -80,21 +80,8 @@ var TelemetryEvent;
|
|
|
80
80
|
TelemetryEvent["ProjectMigratorNotification"] = "project-migrator-notification";
|
|
81
81
|
TelemetryEvent["ProjectMigratorMigrateStart"] = "project-migrator-migrate-start";
|
|
82
82
|
TelemetryEvent["ProjectMigratorMigrate"] = "project-migrator-migrate";
|
|
83
|
-
TelemetryEvent["ProjectMigratorMigrateArmStart"] = "project-migrator-migrate-arm-start";
|
|
84
|
-
TelemetryEvent["ProjectMigratorMigrateArm"] = "project-migrator-migrate-arm";
|
|
85
|
-
TelemetryEvent["ProjectMigratorMigrateMultiEnvStart"] = "project-migrator-migrate-multi-env-start";
|
|
86
|
-
TelemetryEvent["ProjectMigratorMigrateMultiEnv"] = "project-migrator-migrate-multi-env";
|
|
87
|
-
TelemetryEvent["ProjectMigratorGuideStart"] = "project-migrator-guide-start";
|
|
88
|
-
TelemetryEvent["ProjectMigratorGuide"] = "project-migrator-guide";
|
|
89
83
|
TelemetryEvent["ProjectMigratorPrecheckFailed"] = "project-migrator-pre-check-failed";
|
|
90
84
|
TelemetryEvent["ProjectMigratorError"] = "project-migrator-error";
|
|
91
|
-
TelemetryEvent["ProjectAadManifestMigrationError"] = "project-aad-manifest-migration-error";
|
|
92
|
-
TelemetryEvent["ProjectAadManifestMigrationStart"] = "project-aad-manifest-migration-start";
|
|
93
|
-
TelemetryEvent["ProjectAadManifestMigration"] = "project-aad-manifest-migration";
|
|
94
|
-
TelemetryEvent["ProjectAadManifestMigrationAddAADTemplateStart"] = "project-aad-manifest-migration-add-aad-template-start";
|
|
95
|
-
TelemetryEvent["ProjectAadManifestMigrationAddAADTemplate"] = "project-aad-manifest-migration-add-aad-template";
|
|
96
|
-
TelemetryEvent["ProjectAadManifestMigrationBackupStart"] = "project-aad-manifest-migration-backup-start";
|
|
97
|
-
TelemetryEvent["ProjectAadManifestMigrationBackup"] = "project-aad-manifest-migration-backup";
|
|
98
85
|
TelemetryEvent["ProjectConsolidateNotificationStart"] = "project-consolidate-notification-start";
|
|
99
86
|
TelemetryEvent["ProjectConsolidateNotification"] = "project-consolidate-notification";
|
|
100
87
|
TelemetryEvent["ProjectConsolidateUpgradeStart"] = "project-consolidate-upgrade-start";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../src/common/telemetry.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAA+E;AAE/E,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED,IAAY,iBA0CX;AA1CD,WAAY,iBAAiB;IAC3B,iDAA4B,CAAA;IAC5B,4CAAuB,CAAA;IACvB,8CAAyB,CAAA;IACzB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,oCAAe,CAAA;IACf,wCAAmB,CAAA;IACnB,6CAAwB,CAAA;IACxB,6CAAwB,CAAA;IACxB,mDAA8B,CAAA;IAC9B,sDAAiC,CAAA;IACjC,6CAAwB,CAAA;IACxB,oDAA+B,CAAA;IAC/B,qDAAgC,CAAA;IAChC,gCAAW,CAAA;IACX,iFAA4D,CAAA;IAC5D,6CAAwB,CAAA;IACxB,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,uDAAkC,CAAA;IAClC,kDAA6B,CAAA;IAC7B,qDAAgC,CAAA;IAChC,oEAA+C,CAAA;IAC/C,yEAAoD,CAAA;IACpD,+DAA0C,CAAA;IAC1C,sDAAiC,CAAA;IACjC,gDAA2B,CAAA;IAC3B,qDAAgC,CAAA;IAChC,2DAAsC,CAAA;IACtC,2DAAsC,CAAA;IACtC,2DAAsC,CAAA;IACtC,mDAA8B,CAAA;IAC9B,+CAA0B,CAAA;IAC1B,0EAAqD,CAAA;IACrD,0CAAqB,CAAA;IACrB,0EAAqD,CAAA;IACrD,gEAA2C,CAAA;IAC3C,8EAAyD,CAAA;IACzD,2DAAsC,CAAA;IACtC,uDAA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,CAAC;IAEH,MAAA,yBAAyB,CAAC,iBAAiB,0CAAE,uBAAuB,CAAC,SAAS,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;AAClG,CAAC;AAvBD,0DAuBC"}
|
|
@@ -5,5 +5,6 @@
|
|
|
5
5
|
"templateDownloadBaseURL": "https://github.com/OfficeDev/TeamsFx/releases/download",
|
|
6
6
|
"templateReleaseURL": "https://github.com/OfficeDev/TeamsFx/releases/expanded_assets",
|
|
7
7
|
"templateDownloadBasePath": "/OfficeDev/TeamsFx/releases/download",
|
|
8
|
-
"templateExt": ".zip"
|
|
8
|
+
"templateExt": ".zip",
|
|
9
|
+
"useLocalTemplate": true
|
|
9
10
|
}
|
package/build/common/tools.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { AzureAccountProvider, ConfigMap, FxError, Json,
|
|
2
|
+
import { AzureAccountProvider, ConfigMap, FxError, Json, M365TokenProvider, ProjectSettings, Result, SubscriptionInfo, UserInteraction, v2 } from "@microsoft/teamsfx-api";
|
|
3
3
|
import { ExecOptions } from "child_process";
|
|
4
4
|
export declare const Executor: {
|
|
5
5
|
execCommandAsync(command: string, options?: ExecOptions | undefined): Promise<{
|
|
@@ -52,10 +52,6 @@ export declare function isApiConnectEnabled(): boolean;
|
|
|
52
52
|
export declare function isV3Enabled(): boolean;
|
|
53
53
|
export declare function isDownloadDirectoryEnabled(): boolean;
|
|
54
54
|
export declare function isVideoFilterEnabled(): boolean;
|
|
55
|
-
export declare function isAADEnabled(solutionSettings: AzureSolutionSettings | undefined): boolean;
|
|
56
|
-
export declare function canAddSso(projectSettings: ProjectSettings, returnError?: boolean): boolean | Result<Void, FxError>;
|
|
57
|
-
export declare function canAddApiConnection(solutionSettings?: AzureSolutionSettings): boolean;
|
|
58
|
-
export declare function canAddCICDWorkflows(inputs: Inputs, ctx: v2.Context): Promise<boolean>;
|
|
59
55
|
export declare function getAppSPFxVersion(root: string): Promise<string | undefined>;
|
|
60
56
|
export declare function generateBicepFromFile(templateFilePath: string, context: any): Promise<string>;
|
|
61
57
|
export declare function compileHandlebarsTemplateString(templateString: string, context: any): string;
|
|
@@ -70,7 +66,6 @@ export declare function getUuid(): string;
|
|
|
70
66
|
export declare function isSPFxProject(projectSettings?: ProjectSettings): boolean;
|
|
71
67
|
export declare function isVideoFilterProject(projectPath: string): Promise<Result<boolean, FxError>>;
|
|
72
68
|
export declare function getHashedEnv(envName: string): string;
|
|
73
|
-
export declare function IsSimpleAuthEnabled(projectSettings: ProjectSettings | undefined): boolean;
|
|
74
69
|
/** Redact user content in "obj";
|
|
75
70
|
*
|
|
76
71
|
* DFS "obj" and "jsonSchema" together to redact the following things:
|
|
@@ -121,15 +116,5 @@ export declare function setRegion(authSvcToken: string): Promise<void>;
|
|
|
121
116
|
export declare function ConvertTokenToJson(token: string): Record<string, unknown>;
|
|
122
117
|
export declare function getFixedCommonProjectSettings(rootPath: string | undefined): {
|
|
123
118
|
projectId: any;
|
|
124
|
-
isFromSample?: undefined;
|
|
125
|
-
programmingLanguage?: undefined;
|
|
126
|
-
hostType?: undefined;
|
|
127
|
-
isM365?: undefined;
|
|
128
|
-
} | {
|
|
129
|
-
projectId: any;
|
|
130
|
-
isFromSample: any;
|
|
131
|
-
programmingLanguage: any;
|
|
132
|
-
hostType: any;
|
|
133
|
-
isM365: any;
|
|
134
119
|
} | undefined;
|
|
135
120
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/common/tools.ts"],"names":[],"mappings":";AAEA,OAAO,EAEL,oBAAoB,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/common/tools.ts"],"names":[],"mappings":";AAEA,OAAO,EAEL,oBAAoB,EAGpB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,iBAAiB,EAEjB,eAAe,EACf,MAAM,EACN,gBAAgB,EAGh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E,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,OAE9E;AAED,eAAO,MAAM,eAAe,UAAyD,CAAC;AACtF,eAAO,MAAM,aAAa,UAAoD,CAAC;AAC/E,eAAO,MAAM,WAAW,UAAoE,CAAC;AAC7F,eAAO,MAAM,mBAAmB,UAAqD,CAAC;AACtF,eAAO,MAAM,UAAU,WAAY,MAAM,aAAwC,CAAC;AAClF,eAAO,MAAM,WAAW,UAA6D,CAAC;AAEtF,wBAAsB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CASvE;AAED,wBAAsB,YAAY,CAChC,iBAAiB,EAAE,iBAAiB,GACnC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAa7B;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,YAAY,EAAE,MAAM,iBAMnD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAIzE;AAED,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS;;cAmBzE"}
|
package/build/common/tools.js
CHANGED
|
@@ -1,43 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.getFixedCommonProjectSettings = exports.ConvertTokenToJson = exports.setRegion = exports.getSPFxToken = exports.getSPFxTenant = exports.AzureScopes = exports.SPFxScopes = exports.GraphReadUserScopes = exports.GraphScopes =
|
|
3
|
+
exports.AuthSvcScopes = exports.AppStudioScopes = exports.getPropertyByPath = exports.undefinedName = exports.createV2Context = exports.getSideloadingStatus = exports.getAllowedAppMaps = exports.getAllowedAppIds = exports.redactObject = exports.getHashedEnv = exports.isVideoFilterProject = exports.isSPFxProject = exports.getUuid = exports.waitSeconds = exports.parseFromResourceId = exports.getSubscriptionIdFromResourceId = exports.getResourceGroupNameFromResourceId = exports.getSiteNameFromResourceId = exports.getStorageAccountNameFromResourceId = exports.getAppDirectory = exports.compileHandlebarsTemplateString = exports.generateBicepFromFile = exports.getAppSPFxVersion = exports.isVideoFilterEnabled = exports.isDownloadDirectoryEnabled = exports.isV3Enabled = exports.isApiConnectEnabled = exports.isM365AppEnabled = exports.isDeployManifestEnabled = exports.isAadManifestEnabled = exports.isExistingTabAppEnabled = exports.isBicepEnvCheckerEnabled = exports.getResourceGroupInPortal = exports.askSubscription = exports.isCheckAccountError = exports.isUserCancelError = exports.deepCopy = exports.serializeDict = exports.replaceTemplateWithUserData = exports.convertDotenvToEmbeddedJson = exports.separateSecretData = exports.dataNeedEncryption = exports.AzurePortalUrl = exports.CryptoDataMatchers = exports.objectToConfigMap = exports.objectToMap = exports.mapToJson = exports.ensureUniqueFolder = exports.npmInstall = exports.Executor = void 0;
|
|
4
|
+
exports.getFixedCommonProjectSettings = exports.ConvertTokenToJson = exports.setRegion = exports.getSPFxToken = exports.getSPFxTenant = exports.AzureScopes = exports.SPFxScopes = exports.GraphReadUserScopes = exports.GraphScopes = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
// Copyright (c) Microsoft Corporation.
|
|
7
7
|
// Licensed under the MIT license.
|
|
8
8
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
9
9
|
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
10
10
|
const child_process_1 = require("child_process");
|
|
11
|
+
const crypto = tslib_1.__importStar(require("crypto"));
|
|
11
12
|
const fs = tslib_1.__importStar(require("fs-extra"));
|
|
12
13
|
const Handlebars = tslib_1.__importStar(require("handlebars"));
|
|
14
|
+
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
15
|
+
const mustache_1 = tslib_1.__importDefault(require("mustache"));
|
|
16
|
+
const path = tslib_1.__importStar(require("path"));
|
|
13
17
|
const util_1 = require("util");
|
|
14
18
|
const uuid = tslib_1.__importStar(require("uuid"));
|
|
15
|
-
const
|
|
16
|
-
const
|
|
19
|
+
const yaml_1 = require("yaml");
|
|
20
|
+
const constants_1 = require("../component/constants");
|
|
21
|
+
const appStudioClient_1 = require("../component/resource/appManifest/appStudioClient");
|
|
22
|
+
const authSvcClient_1 = require("../component/resource/appManifest/authSvcClient");
|
|
23
|
+
const constants_2 = require("../component/resource/appManifest/constants");
|
|
24
|
+
const ManifestUtils_1 = require("../component/resource/appManifest/utils/ManifestUtils");
|
|
25
|
+
const appStudioClient_2 = require("../component/resource/botService/appStudio/appStudioClient");
|
|
26
|
+
const crypto_1 = require("../core/crypto");
|
|
17
27
|
const error_1 = require("../core/error");
|
|
18
|
-
const constants_2 = require("../component/constants");
|
|
19
|
-
const mustache_1 = tslib_1.__importDefault(require("mustache"));
|
|
20
|
-
const constants_3 = require("../component/constants");
|
|
21
28
|
const globalVars_1 = require("../core/globalVars");
|
|
22
|
-
const
|
|
23
|
-
const
|
|
29
|
+
const projectSettingsLoader_1 = require("../core/middleware/projectSettingsLoader");
|
|
30
|
+
const constants_3 = require("./constants");
|
|
24
31
|
const featureFlags_1 = require("./featureFlags");
|
|
25
|
-
const
|
|
26
|
-
const constants_4 = require("./local/constants");
|
|
27
|
-
const projectSettingsHelper_1 = require("./projectSettingsHelper");
|
|
28
|
-
const existingTemplatesStat_1 = require("../component/feature/cicd/existingTemplatesStat");
|
|
29
|
-
const environment_1 = require("../core/environment");
|
|
30
|
-
const errors_1 = require("../component/feature/cicd/errors");
|
|
32
|
+
const localizeUtils_1 = require("./localizeUtils");
|
|
31
33
|
const utils_1 = require("./utils");
|
|
32
|
-
const path = tslib_1.__importStar(require("path"));
|
|
33
|
-
const projectSettingsHelperV3_1 = require("./projectSettingsHelperV3");
|
|
34
|
-
const constants_5 = require("../component/resource/appManifest/constants");
|
|
35
|
-
const ManifestUtils_1 = require("../component/resource/appManifest/utils/ManifestUtils");
|
|
36
|
-
const authSvcClient_1 = require("../component/resource/appManifest/authSvcClient");
|
|
37
|
-
const appStudioClient_1 = require("../component/resource/appManifest/appStudioClient");
|
|
38
|
-
const appStudioClient_2 = require("../component/resource/botService/appStudio/appStudioClient");
|
|
39
|
-
const projectSettingsLoader_1 = require("../core/middleware/projectSettingsLoader");
|
|
40
|
-
const yaml_1 = require("yaml");
|
|
41
34
|
Handlebars.registerHelper("contains", (value, array) => {
|
|
42
35
|
array = array instanceof Array ? array : [array];
|
|
43
36
|
return array.indexOf(value) > -1 ? this : "";
|
|
@@ -262,8 +255,8 @@ function isUserCancelError(error) {
|
|
|
262
255
|
exports.isUserCancelError = isUserCancelError;
|
|
263
256
|
function isCheckAccountError(error) {
|
|
264
257
|
const errorName = "name" in error ? error["name"] : "";
|
|
265
|
-
return (errorName ===
|
|
266
|
-
errorName ===
|
|
258
|
+
return (errorName === constants_1.SolutionError.TeamsAppTenantIdNotRight ||
|
|
259
|
+
errorName === constants_1.SolutionError.SubscriptionNotFound);
|
|
267
260
|
}
|
|
268
261
|
exports.isCheckAccountError = isCheckAccountError;
|
|
269
262
|
async function askSubscription(azureAccountProvider, ui, activeSubscriptionId) {
|
|
@@ -319,27 +312,27 @@ function getResourceGroupInPortal(subscriptionId, tenantId, resourceGroupName) {
|
|
|
319
312
|
exports.getResourceGroupInPortal = getResourceGroupInPortal;
|
|
320
313
|
// TODO: move other feature flags to featureFlags.ts to prevent import loop
|
|
321
314
|
function isBicepEnvCheckerEnabled() {
|
|
322
|
-
return featureFlags_1.isFeatureFlagEnabled(
|
|
315
|
+
return featureFlags_1.isFeatureFlagEnabled(constants_3.FeatureFlagName.BicepEnvCheckerEnable, true);
|
|
323
316
|
}
|
|
324
317
|
exports.isBicepEnvCheckerEnabled = isBicepEnvCheckerEnabled;
|
|
325
318
|
function isExistingTabAppEnabled() {
|
|
326
|
-
return
|
|
319
|
+
return false;
|
|
327
320
|
}
|
|
328
321
|
exports.isExistingTabAppEnabled = isExistingTabAppEnabled;
|
|
329
322
|
function isAadManifestEnabled() {
|
|
330
|
-
return featureFlags_1.isFeatureFlagEnabled(
|
|
323
|
+
return featureFlags_1.isFeatureFlagEnabled(constants_3.FeatureFlagName.AadManifest, false);
|
|
331
324
|
}
|
|
332
325
|
exports.isAadManifestEnabled = isAadManifestEnabled;
|
|
333
326
|
function isDeployManifestEnabled() {
|
|
334
|
-
return featureFlags_1.isFeatureFlagEnabled(
|
|
327
|
+
return featureFlags_1.isFeatureFlagEnabled(constants_3.FeatureFlagName.DeployManifest, false);
|
|
335
328
|
}
|
|
336
329
|
exports.isDeployManifestEnabled = isDeployManifestEnabled;
|
|
337
330
|
function isM365AppEnabled() {
|
|
338
|
-
return featureFlags_1.isFeatureFlagEnabled(
|
|
331
|
+
return featureFlags_1.isFeatureFlagEnabled(constants_3.FeatureFlagName.M365App, false);
|
|
339
332
|
}
|
|
340
333
|
exports.isM365AppEnabled = isM365AppEnabled;
|
|
341
334
|
function isApiConnectEnabled() {
|
|
342
|
-
return featureFlags_1.isFeatureFlagEnabled(
|
|
335
|
+
return featureFlags_1.isFeatureFlagEnabled(constants_3.FeatureFlagName.ApiConnect, false);
|
|
343
336
|
}
|
|
344
337
|
exports.isApiConnectEnabled = isApiConnectEnabled;
|
|
345
338
|
function isV3Enabled() {
|
|
@@ -351,130 +344,9 @@ function isDownloadDirectoryEnabled() {
|
|
|
351
344
|
}
|
|
352
345
|
exports.isDownloadDirectoryEnabled = isDownloadDirectoryEnabled;
|
|
353
346
|
function isVideoFilterEnabled() {
|
|
354
|
-
return featureFlags_1.isFeatureFlagEnabled(
|
|
347
|
+
return featureFlags_1.isFeatureFlagEnabled(constants_3.FeatureFlagName.VideoFilter, false);
|
|
355
348
|
}
|
|
356
349
|
exports.isVideoFilterEnabled = isVideoFilterEnabled;
|
|
357
|
-
// This method is for deciding whether AAD should be activated.
|
|
358
|
-
// Currently AAD plugin will always be activated when scaffold.
|
|
359
|
-
// This part will be updated when we support adding aad separately.
|
|
360
|
-
function isAADEnabled(solutionSettings) {
|
|
361
|
-
var _a;
|
|
362
|
-
if (!solutionSettings) {
|
|
363
|
-
return false;
|
|
364
|
-
}
|
|
365
|
-
if (isAadManifestEnabled()) {
|
|
366
|
-
return (solutionSettings.hostType === constants_3.HostTypeOptionAzure().id &&
|
|
367
|
-
(solutionSettings.capabilities.includes(constants_3.TabSsoItem().id) ||
|
|
368
|
-
solutionSettings.capabilities.includes(constants_3.BotSsoItem().id)));
|
|
369
|
-
}
|
|
370
|
-
else {
|
|
371
|
-
return (solutionSettings.hostType === constants_3.HostTypeOptionAzure().id &&
|
|
372
|
-
// For scaffold, activeResourecPlugins is undefined
|
|
373
|
-
(!solutionSettings.activeResourcePlugins ||
|
|
374
|
-
((_a = solutionSettings.activeResourcePlugins) === null || _a === void 0 ? void 0 : _a.includes(constants_1.ResourcePlugins.Aad))));
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
exports.isAADEnabled = isAADEnabled;
|
|
378
|
-
// TODO: handle VS scenario
|
|
379
|
-
function canAddSso(projectSettings, returnError = false) {
|
|
380
|
-
var _a, _b;
|
|
381
|
-
// Can not add sso if feature flag is not enabled
|
|
382
|
-
if (!isAadManifestEnabled()) {
|
|
383
|
-
return returnError
|
|
384
|
-
? teamsfx_api_1.err(new teamsfx_api_1.SystemError(constants_2.SolutionSource, constants_2.SolutionError.NeedEnableFeatureFlag, localizeUtils_1.getLocalizedString("core.addSso.needEnableFeatureFlag")))
|
|
385
|
-
: false;
|
|
386
|
-
}
|
|
387
|
-
const solutionSettings = projectSettings.solutionSettings;
|
|
388
|
-
if (projectSettingsHelper_1.isExistingTabApp(projectSettings) &&
|
|
389
|
-
!(solutionSettings && solutionSettings.capabilities.includes(constants_3.TabSsoItem().id))) {
|
|
390
|
-
return teamsfx_api_1.ok(teamsfx_api_1.Void);
|
|
391
|
-
}
|
|
392
|
-
if (!(solutionSettings.hostType === constants_3.HostTypeOptionAzure().id)) {
|
|
393
|
-
return returnError
|
|
394
|
-
? teamsfx_api_1.err(new teamsfx_api_1.SystemError(constants_2.SolutionSource, constants_2.SolutionError.AddSsoNotSupported, localizeUtils_1.getLocalizedString("core.addSso.onlySupportAzure")))
|
|
395
|
-
: false;
|
|
396
|
-
}
|
|
397
|
-
// Will throw error if only Messaging Extension is selected
|
|
398
|
-
if (solutionSettings.capabilities.length === 1 &&
|
|
399
|
-
solutionSettings.capabilities[0] === constants_3.MessageExtensionItem().id) {
|
|
400
|
-
return returnError
|
|
401
|
-
? teamsfx_api_1.err(new teamsfx_api_1.SystemError(constants_2.SolutionSource, constants_2.SolutionError.AddSsoNotSupported, localizeUtils_1.getLocalizedString("core.addSso.onlyMeNotSupport")))
|
|
402
|
-
: false;
|
|
403
|
-
}
|
|
404
|
-
// Will throw error if bot host type is Azure Function
|
|
405
|
-
if (solutionSettings.capabilities.includes(constants_3.BotOptionItem().id) &&
|
|
406
|
-
!(solutionSettings.capabilities.includes(constants_3.TabOptionItem().id) &&
|
|
407
|
-
!solutionSettings.capabilities.includes(constants_3.TabSsoItem().id))) {
|
|
408
|
-
const botHostType = (_b = (_a = projectSettings.pluginSettings) === null || _a === void 0 ? void 0 : _a[constants_1.ResourcePlugins.Bot]) === null || _b === void 0 ? void 0 : _b[constants_4.BotHostTypeName];
|
|
409
|
-
if (botHostType === constants_4.BotHostTypes.AzureFunctions) {
|
|
410
|
-
return returnError
|
|
411
|
-
? teamsfx_api_1.err(new teamsfx_api_1.SystemError(constants_2.SolutionSource, constants_2.SolutionError.AddSsoNotSupported, localizeUtils_1.getLocalizedString("core.addSso.functionNotSupport")))
|
|
412
|
-
: false;
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
// Check whether SSO is enabled
|
|
416
|
-
const activeResourcePlugins = solutionSettings.activeResourcePlugins;
|
|
417
|
-
const containTabSsoItem = solutionSettings.capabilities.includes(constants_3.TabSsoItem().id);
|
|
418
|
-
const containTab = solutionSettings.capabilities.includes(constants_3.TabOptionItem().id);
|
|
419
|
-
const containBotSsoItem = solutionSettings.capabilities.includes(constants_3.BotSsoItem().id);
|
|
420
|
-
const containBot = solutionSettings.capabilities.includes(constants_3.BotOptionItem().id);
|
|
421
|
-
const containAadPlugin = activeResourcePlugins.includes(constants_2.PluginNames.AAD);
|
|
422
|
-
if (((containTabSsoItem && !containBot) ||
|
|
423
|
-
(containBot && containBotSsoItem && !containTab) ||
|
|
424
|
-
(containTabSsoItem && containBot && containBotSsoItem)) &&
|
|
425
|
-
containAadPlugin) {
|
|
426
|
-
return returnError
|
|
427
|
-
? teamsfx_api_1.err(new teamsfx_api_1.SystemError(constants_2.SolutionSource, constants_2.SolutionError.SsoEnabled, localizeUtils_1.getLocalizedString("core.addSso.ssoEnabled")))
|
|
428
|
-
: false;
|
|
429
|
-
}
|
|
430
|
-
else if (((containBotSsoItem && !containBot) ||
|
|
431
|
-
(containTabSsoItem || containBotSsoItem) !== containAadPlugin) &&
|
|
432
|
-
returnError) {
|
|
433
|
-
// Throw error if the project is invalid
|
|
434
|
-
// Will not stop showing add sso
|
|
435
|
-
const e = new teamsfx_api_1.UserError(constants_2.SolutionSource, constants_2.SolutionError.InvalidSsoProject, localizeUtils_1.getLocalizedString("core.addSso.invalidSsoProject"));
|
|
436
|
-
return teamsfx_api_1.err(e);
|
|
437
|
-
}
|
|
438
|
-
return returnError ? teamsfx_api_1.ok(teamsfx_api_1.Void) : true;
|
|
439
|
-
}
|
|
440
|
-
exports.canAddSso = canAddSso;
|
|
441
|
-
function canAddApiConnection(solutionSettings) {
|
|
442
|
-
const activePlugins = solutionSettings === null || solutionSettings === void 0 ? void 0 : solutionSettings.activeResourcePlugins;
|
|
443
|
-
if (!activePlugins) {
|
|
444
|
-
return false;
|
|
445
|
-
}
|
|
446
|
-
return (activePlugins.includes(constants_1.ResourcePlugins.Bot) || activePlugins.includes(constants_1.ResourcePlugins.Function));
|
|
447
|
-
}
|
|
448
|
-
exports.canAddApiConnection = canAddApiConnection;
|
|
449
|
-
// Conditions required to be met:
|
|
450
|
-
// 1. Not (All templates were existing env x provider x templates)
|
|
451
|
-
// 2. Not minimal app
|
|
452
|
-
async function canAddCICDWorkflows(inputs, ctx) {
|
|
453
|
-
var _a;
|
|
454
|
-
// Not include `Add CICD Workflows` in minimal app case.
|
|
455
|
-
const isExistingApp = ((_a = ctx.projectSetting.solutionSettings) === null || _a === void 0 ? void 0 : _a.hostType) === constants_3.HostTypeOptionAzure().id &&
|
|
456
|
-
projectSettingsHelperV3_1.isMiniApp(ctx.projectSetting);
|
|
457
|
-
if (isExistingApp) {
|
|
458
|
-
return false;
|
|
459
|
-
}
|
|
460
|
-
if (!inputs.projectPath) {
|
|
461
|
-
throw new errors_1.NoProjectOpenedError();
|
|
462
|
-
}
|
|
463
|
-
const envProfilesResult = await environment_1.environmentManager.listRemoteEnvConfigs(inputs.projectPath);
|
|
464
|
-
if (envProfilesResult.isErr()) {
|
|
465
|
-
throw new teamsfx_api_1.SystemError("Core", "ListMultiEnvError", localizeUtils_1.getDefaultString("error.cicd.FailedToListMultiEnv", envProfilesResult.error.message), localizeUtils_1.getLocalizedString("error.cicd.FailedToListMultiEnv", envProfilesResult.error.message));
|
|
466
|
-
}
|
|
467
|
-
const existingInstance = existingTemplatesStat_1.ExistingTemplatesStat.getInstance(inputs.projectPath, envProfilesResult.value);
|
|
468
|
-
await existingInstance.scan();
|
|
469
|
-
// If at least one env are not all-existing, return true.
|
|
470
|
-
for (const envName of envProfilesResult.value) {
|
|
471
|
-
if (existingInstance.notExisting(envName)) {
|
|
472
|
-
return true;
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
return false;
|
|
476
|
-
}
|
|
477
|
-
exports.canAddCICDWorkflows = canAddCICDWorkflows;
|
|
478
350
|
async function getAppSPFxVersion(root) {
|
|
479
351
|
var _a;
|
|
480
352
|
let projectSPFxVersion = undefined;
|
|
@@ -495,7 +367,7 @@ async function getAppSPFxVersion(root) {
|
|
|
495
367
|
exports.getAppSPFxVersion = getAppSPFxVersion;
|
|
496
368
|
async function generateBicepFromFile(templateFilePath, context) {
|
|
497
369
|
try {
|
|
498
|
-
const templateString = await fs.readFile(templateFilePath,
|
|
370
|
+
const templateString = await fs.readFile(templateFilePath, constants_3.ConstantString.UTF8Encoding);
|
|
499
371
|
const updatedBicepFile = compileHandlebarsTemplateString(templateString, context);
|
|
500
372
|
return updatedBicepFile;
|
|
501
373
|
}
|
|
@@ -599,12 +471,6 @@ function getHashedEnv(envName) {
|
|
|
599
471
|
return crypto.createHash("sha256").update(envName).digest("hex");
|
|
600
472
|
}
|
|
601
473
|
exports.getHashedEnv = getHashedEnv;
|
|
602
|
-
function IsSimpleAuthEnabled(projectSettings) {
|
|
603
|
-
var _a;
|
|
604
|
-
const solutionSettings = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.solutionSettings;
|
|
605
|
-
return (_a = solutionSettings === null || solutionSettings === void 0 ? void 0 : solutionSettings.activeResourcePlugins) === null || _a === void 0 ? void 0 : _a.includes(constants_1.ResourcePlugins.SimpleAuth);
|
|
606
|
-
}
|
|
607
|
-
exports.IsSimpleAuthEnabled = IsSimpleAuthEnabled;
|
|
608
474
|
function isBasicJsonSchema(jsonSchema) {
|
|
609
475
|
if (!jsonSchema || typeof jsonSchema !== "object") {
|
|
610
476
|
return false;
|
|
@@ -668,27 +534,27 @@ function redactObject(obj, jsonSchema, maxRecursionDepth = 8) {
|
|
|
668
534
|
exports.redactObject = redactObject;
|
|
669
535
|
function getAllowedAppIds() {
|
|
670
536
|
return [
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
537
|
+
constants_3.TeamsClientId.MobileDesktop,
|
|
538
|
+
constants_3.TeamsClientId.Web,
|
|
539
|
+
constants_3.OfficeClientId.Desktop,
|
|
540
|
+
constants_3.OfficeClientId.Web1,
|
|
541
|
+
constants_3.OfficeClientId.Web2,
|
|
542
|
+
constants_3.OutlookClientId.Desktop,
|
|
543
|
+
constants_3.OutlookClientId.Web1,
|
|
544
|
+
constants_3.OutlookClientId.Web2,
|
|
679
545
|
];
|
|
680
546
|
}
|
|
681
547
|
exports.getAllowedAppIds = getAllowedAppIds;
|
|
682
548
|
function getAllowedAppMaps() {
|
|
683
549
|
return {
|
|
684
|
-
[
|
|
685
|
-
[
|
|
686
|
-
[
|
|
687
|
-
[
|
|
688
|
-
[
|
|
689
|
-
[
|
|
690
|
-
[
|
|
691
|
-
[
|
|
550
|
+
[constants_3.TeamsClientId.MobileDesktop]: localizeUtils_1.getLocalizedString("core.common.TeamsMobileDesktopClientName"),
|
|
551
|
+
[constants_3.TeamsClientId.Web]: localizeUtils_1.getLocalizedString("core.common.TeamsWebClientName"),
|
|
552
|
+
[constants_3.OfficeClientId.Desktop]: localizeUtils_1.getLocalizedString("core.common.OfficeDesktopClientName"),
|
|
553
|
+
[constants_3.OfficeClientId.Web1]: localizeUtils_1.getLocalizedString("core.common.OfficeWebClientName1"),
|
|
554
|
+
[constants_3.OfficeClientId.Web2]: localizeUtils_1.getLocalizedString("core.common.OfficeWebClientName2"),
|
|
555
|
+
[constants_3.OutlookClientId.Desktop]: localizeUtils_1.getLocalizedString("core.common.OutlookDesktopClientName"),
|
|
556
|
+
[constants_3.OutlookClientId.Web1]: localizeUtils_1.getLocalizedString("core.common.OutlookWebClientName1"),
|
|
557
|
+
[constants_3.OutlookClientId.Web2]: localizeUtils_1.getLocalizedString("core.common.OutlookWebClientName2"),
|
|
692
558
|
};
|
|
693
559
|
}
|
|
694
560
|
exports.getAllowedAppMaps = getAllowedAppMaps;
|
|
@@ -721,7 +587,7 @@ function getPropertyByPath(obj, path, defaultValue) {
|
|
|
721
587
|
return lodash_1.default.get(obj, path, defaultValue);
|
|
722
588
|
}
|
|
723
589
|
exports.getPropertyByPath = getPropertyByPath;
|
|
724
|
-
exports.AppStudioScopes = [`${
|
|
590
|
+
exports.AppStudioScopes = [`${constants_2.getAppStudioEndpoint()}/AppDefinitions.ReadWrite`];
|
|
725
591
|
exports.AuthSvcScopes = ["https://api.spaces.skype.com/Region.ReadWrite"];
|
|
726
592
|
exports.GraphScopes = ["Application.ReadWrite.All", "TeamsAppInstallation.ReadForUser"];
|
|
727
593
|
exports.GraphReadUserScopes = ["https://graph.microsoft.com/User.ReadBasic.All"];
|
|
@@ -773,38 +639,22 @@ function ConvertTokenToJson(token) {
|
|
|
773
639
|
}
|
|
774
640
|
exports.ConvertTokenToJson = ConvertTokenToJson;
|
|
775
641
|
function getFixedCommonProjectSettings(rootPath) {
|
|
776
|
-
var _a
|
|
642
|
+
var _a;
|
|
777
643
|
if (!rootPath) {
|
|
778
644
|
return undefined;
|
|
779
645
|
}
|
|
780
646
|
try {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
return undefined;
|
|
785
|
-
}
|
|
786
|
-
const settingsContent = fs.readFileSync(settingsPath, "utf-8");
|
|
787
|
-
const settings = yaml_1.parse(settingsContent);
|
|
788
|
-
return {
|
|
789
|
-
projectId: (_a = settings === null || settings === void 0 ? void 0 : settings.projectId) !== null && _a !== void 0 ? _a : undefined,
|
|
790
|
-
};
|
|
791
|
-
}
|
|
792
|
-
else {
|
|
793
|
-
const projectSettingsPath = path.join(rootPath, `.${teamsfx_api_1.ConfigFolderName}`, teamsfx_api_1.InputConfigsFolderName, teamsfx_api_1.ProjectSettingsFileName);
|
|
794
|
-
if (!projectSettingsPath || !fs.pathExistsSync(projectSettingsPath)) {
|
|
795
|
-
return undefined;
|
|
796
|
-
}
|
|
797
|
-
const projectSettings = fs.readJsonSync(projectSettingsPath);
|
|
798
|
-
return {
|
|
799
|
-
projectId: (_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.projectId) !== null && _b !== void 0 ? _b : undefined,
|
|
800
|
-
isFromSample: (_c = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.isFromSample) !== null && _c !== void 0 ? _c : undefined,
|
|
801
|
-
programmingLanguage: (_d = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.programmingLanguage) !== null && _d !== void 0 ? _d : undefined,
|
|
802
|
-
hostType: (_f = (_e = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.solutionSettings) === null || _e === void 0 ? void 0 : _e.hostType) !== null && _f !== void 0 ? _f : undefined,
|
|
803
|
-
isM365: (_g = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.isM365) !== null && _g !== void 0 ? _g : false,
|
|
804
|
-
};
|
|
647
|
+
const settingsPath = projectSettingsLoader_1.getProjectSettingPathV3(rootPath);
|
|
648
|
+
if (!settingsPath || !fs.pathExistsSync(settingsPath)) {
|
|
649
|
+
return undefined;
|
|
805
650
|
}
|
|
651
|
+
const settingsContent = fs.readFileSync(settingsPath, "utf-8");
|
|
652
|
+
const settings = yaml_1.parse(settingsContent);
|
|
653
|
+
return {
|
|
654
|
+
projectId: (_a = settings === null || settings === void 0 ? void 0 : settings.projectId) !== null && _a !== void 0 ? _a : undefined,
|
|
655
|
+
};
|
|
806
656
|
}
|
|
807
|
-
catch (
|
|
657
|
+
catch (_b) {
|
|
808
658
|
return undefined;
|
|
809
659
|
}
|
|
810
660
|
}
|