@microsoft/teamsfx-core 1.1.2 → 1.1.3-alpha.12edbb86.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 +1 -1
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/constants.d.ts +3 -2
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +3 -2
- package/build/common/constants.js.map +1 -1
- package/build/common/deps-checker/checkerFactory.d.ts +8 -0
- package/build/common/deps-checker/checkerFactory.d.ts.map +1 -0
- package/build/common/deps-checker/checkerFactory.js +32 -0
- package/build/common/deps-checker/checkerFactory.js.map +1 -0
- package/build/common/deps-checker/constant/helpLink.d.ts +11 -0
- package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -0
- package/build/common/deps-checker/constant/helpLink.js +16 -0
- package/build/common/deps-checker/constant/helpLink.js.map +1 -0
- package/build/common/deps-checker/constant/index.d.ts +4 -0
- package/build/common/deps-checker/constant/index.d.ts.map +1 -0
- package/build/common/deps-checker/constant/index.js +9 -0
- package/build/common/deps-checker/constant/index.js.map +1 -0
- package/build/common/deps-checker/constant/message.d.ts +29 -0
- package/build/common/deps-checker/constant/message.d.ts.map +1 -0
- package/build/common/deps-checker/constant/message.js +57 -0
- package/build/common/deps-checker/constant/message.js.map +1 -0
- package/build/common/deps-checker/constant/telemetry.d.ts +43 -0
- package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -0
- package/build/common/deps-checker/constant/telemetry.js +51 -0
- package/build/common/deps-checker/constant/telemetry.js.map +1 -0
- package/build/common/deps-checker/depsChecker.d.ts +25 -0
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -0
- package/build/common/deps-checker/depsChecker.js +13 -0
- package/build/common/deps-checker/depsChecker.js.map +1 -0
- package/build/common/deps-checker/depsError.d.ts +17 -0
- package/build/common/deps-checker/depsError.d.ts.map +1 -0
- package/build/common/deps-checker/depsError.js +42 -0
- package/build/common/deps-checker/depsError.js.map +1 -0
- package/build/common/deps-checker/depsLogger.d.ts +11 -0
- package/build/common/deps-checker/depsLogger.d.ts.map +1 -0
- package/build/common/deps-checker/depsLogger.js +5 -0
- package/build/common/deps-checker/depsLogger.js.map +1 -0
- package/build/common/deps-checker/depsManager.d.ts +36 -0
- package/build/common/deps-checker/depsManager.d.ts.map +1 -0
- package/build/common/deps-checker/depsManager.js +80 -0
- package/build/common/deps-checker/depsManager.js.map +1 -0
- package/build/common/deps-checker/depsTelemetry.d.ts +10 -0
- package/build/common/deps-checker/depsTelemetry.d.ts.map +1 -0
- package/build/common/deps-checker/depsTelemetry.js +5 -0
- package/build/common/deps-checker/depsTelemetry.js.map +1 -0
- package/build/common/deps-checker/index.d.ts +9 -0
- package/build/common/deps-checker/index.d.ts.map +1 -0
- package/build/common/deps-checker/index.js +14 -0
- package/build/common/deps-checker/index.js.map +1 -0
- package/build/common/deps-checker/internal/dotnetChecker.d.ts +50 -0
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/dotnetChecker.js +406 -0
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -0
- package/build/common/deps-checker/internal/funcToolChecker.d.ts +40 -0
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/funcToolChecker.js +280 -0
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -0
- package/build/common/deps-checker/internal/ngrokChecker.d.ts +28 -0
- package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/ngrokChecker.js +181 -0
- package/build/common/deps-checker/internal/ngrokChecker.js.map +1 -0
- package/build/common/deps-checker/internal/nodeChecker.d.ts +40 -0
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/nodeChecker.js +144 -0
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -0
- package/build/common/deps-checker/util/cpUtils.d.ts +24 -0
- package/build/common/deps-checker/util/cpUtils.d.ts.map +1 -0
- package/build/common/deps-checker/util/cpUtils.js +99 -0
- package/build/common/deps-checker/util/cpUtils.js.map +1 -0
- package/build/common/deps-checker/util/extensionInstaller.d.ts +3 -0
- package/build/common/deps-checker/util/extensionInstaller.d.ts.map +1 -0
- package/build/common/deps-checker/util/extensionInstaller.js +47 -0
- package/build/common/deps-checker/util/extensionInstaller.js.map +1 -0
- package/build/common/deps-checker/util/index.d.ts +5 -0
- package/build/common/deps-checker/util/index.d.ts.map +1 -0
- package/build/common/deps-checker/util/index.js +10 -0
- package/build/common/deps-checker/util/index.js.map +1 -0
- package/build/common/deps-checker/util/progressIndicator.d.ts +3 -0
- package/build/common/deps-checker/util/progressIndicator.d.ts.map +1 -0
- package/build/common/deps-checker/util/progressIndicator.js +18 -0
- package/build/common/deps-checker/util/progressIndicator.js.map +1 -0
- package/build/common/deps-checker/util/system.d.ts +5 -0
- package/build/common/deps-checker/util/system.d.ts.map +1 -0
- package/build/common/deps-checker/util/system.js +24 -0
- package/build/common/deps-checker/util/system.js.map +1 -0
- package/build/common/index.d.ts +4 -0
- package/build/common/index.d.ts.map +1 -1
- package/build/common/index.js +4 -0
- package/build/common/index.js.map +1 -1
- package/build/common/local/constants.d.ts +115 -0
- package/build/common/local/constants.d.ts.map +1 -0
- package/build/common/local/constants.js +122 -0
- package/build/common/local/constants.js.map +1 -0
- package/build/common/local/depsAdapter.d.ts +27 -0
- package/build/common/local/depsAdapter.d.ts.map +1 -0
- package/build/common/local/depsAdapter.js +86 -0
- package/build/common/local/depsAdapter.js.map +1 -0
- package/build/common/local/localEnvManager.d.ts +24 -0
- package/build/common/local/localEnvManager.d.ts.map +1 -0
- package/build/common/local/localEnvManager.js +113 -0
- package/build/common/local/localEnvManager.js.map +1 -0
- package/build/{plugins/resource/localdebug/localEnvMulti.d.ts → common/local/localEnvProvider.d.ts} +5 -4
- package/build/common/local/localEnvProvider.d.ts.map +1 -0
- package/build/{plugins/resource/localdebug/localEnvMulti.js → common/local/localEnvProvider.js} +19 -15
- package/build/common/local/localEnvProvider.js.map +1 -0
- package/build/common/local/localSettingsHelper.d.ts +3 -0
- package/build/common/local/localSettingsHelper.d.ts.map +1 -0
- package/build/common/local/localSettingsHelper.js +133 -0
- package/build/common/local/localSettingsHelper.js.map +1 -0
- package/build/common/local/npmLogHelper.d.ts +11 -0
- package/build/common/local/npmLogHelper.d.ts.map +1 -0
- package/build/common/local/npmLogHelper.js +82 -0
- package/build/common/local/npmLogHelper.js.map +1 -0
- package/build/common/local/packageJsonHelper.d.ts +4 -0
- package/build/common/local/packageJsonHelper.d.ts.map +1 -0
- package/build/common/local/packageJsonHelper.js +36 -0
- package/build/common/local/packageJsonHelper.js.map +1 -0
- package/build/common/local/portChecker.d.ts +3 -0
- package/build/common/local/portChecker.d.ts.map +1 -0
- package/build/common/local/portChecker.js +104 -0
- package/build/common/local/portChecker.js.map +1 -0
- package/build/common/local/projectSettingsHelper.d.ts +11 -0
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -0
- package/build/common/local/projectSettingsHelper.js +37 -0
- package/build/common/local/projectSettingsHelper.js.map +1 -0
- package/build/common/local/taskDefinition.d.ts +37 -0
- package/build/common/local/taskDefinition.d.ts.map +1 -0
- package/build/common/local/taskDefinition.js +231 -0
- package/build/common/local/taskDefinition.js.map +1 -0
- package/build/common/localSettingsProvider.d.ts +3 -3
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +12 -10
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/samples-config.json +14 -0
- package/build/common/templatesActions.d.ts +2 -0
- package/build/common/templatesActions.d.ts.map +1 -1
- package/build/common/templatesActions.js +33 -1
- package/build/common/templatesActions.js.map +1 -1
- package/build/common/tools.d.ts +11 -5
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +35 -85
- package/build/common/tools.js.map +1 -1
- package/build/core/SolutionPluginContainer.d.ts +2 -1
- package/build/core/SolutionPluginContainer.d.ts.map +1 -1
- package/build/core/SolutionPluginContainer.js +9 -1
- package/build/core/SolutionPluginContainer.js.map +1 -1
- package/build/core/dependencyChecker.d.ts +1 -0
- package/build/core/dependencyChecker.d.ts.map +1 -0
- package/build/core/dependencyChecker.js +2 -0
- package/build/core/dependencyChecker.js.map +1 -0
- package/build/core/downloadSample.d.ts +9 -0
- package/build/core/downloadSample.d.ts.map +1 -0
- package/build/core/downloadSample.js +150 -0
- package/build/core/downloadSample.js.map +1 -0
- package/build/core/environment.d.ts +5 -5
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +40 -25
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +2 -1
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +7 -3
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +54 -15
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +693 -575
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +23 -12
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts +5 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +52 -46
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts +3 -0
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/envInfoLoaderV3.js +64 -0
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -0
- package/build/core/middleware/envInfoWriter.js +14 -31
- package/build/core/middleware/envInfoWriter.js.map +1 -1
- package/build/core/middleware/envInfoWriterV3.d.ts +6 -0
- package/build/core/middleware/envInfoWriterV3.d.ts.map +1 -0
- package/build/core/middleware/envInfoWriterV3.js +63 -0
- package/build/core/middleware/envInfoWriterV3.js.map +1 -0
- package/build/core/middleware/errorHandler.d.ts.map +1 -1
- package/build/core/middleware/errorHandler.js +3 -5
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/localSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/localSettingsLoader.js +1 -2
- package/build/core/middleware/localSettingsLoader.js.map +1 -1
- package/build/core/middleware/localSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/localSettingsWriter.js +7 -18
- package/build/core/middleware/localSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +25 -57
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +3 -6
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsLoaderV3.d.ts +4 -0
- package/build/core/middleware/projectSettingsLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/projectSettingsLoaderV3.js +49 -0
- package/build/core/middleware/projectSettingsLoaderV3.js.map +1 -0
- package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +5 -12
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectUpgrader.d.ts.map +1 -1
- package/build/core/middleware/projectUpgrader.js +7 -15
- package/build/core/middleware/projectUpgrader.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +14 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +319 -23
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoader.d.ts +3 -2
- package/build/core/middleware/solutionLoader.d.ts.map +1 -1
- package/build/core/middleware/solutionLoader.js +21 -23
- package/build/core/middleware/solutionLoader.js.map +1 -1
- package/build/core/middleware/solutionLoaderV3.d.ts +4 -0
- package/build/core/middleware/solutionLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/solutionLoaderV3.js +19 -0
- package/build/core/middleware/solutionLoaderV3.js.map +1 -0
- package/build/core/question.d.ts +9 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +113 -3
- package/build/core/question.js.map +1 -1
- package/build/core/tools.d.ts +2 -1
- package/build/core/tools.d.ts.map +1 -1
- package/build/core/tools.js +19 -10
- package/build/core/tools.js.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.d.ts +2 -2
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +3 -4
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts +4 -0
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +18 -17
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/common.d.ts +2 -0
- package/build/plugins/resource/aad/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/common.js +10 -0
- package/build/plugins/resource/aad/utils/common.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts +1 -0
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +7 -0
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/apim/config.d.ts +2 -1
- package/build/plugins/resource/apim/config.d.ts.map +1 -1
- package/build/plugins/resource/apim/config.js +5 -0
- package/build/plugins/resource/apim/config.js.map +1 -1
- package/build/plugins/resource/apim/constants.d.ts +1 -0
- package/build/plugins/resource/apim/constants.d.ts.map +1 -1
- package/build/plugins/resource/apim/constants.js +1 -0
- package/build/plugins/resource/apim/constants.js.map +1 -1
- package/build/plugins/resource/apim/index.js +2 -2
- package/build/plugins/resource/apim/index.js.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.d.ts +2 -2
- package/build/plugins/resource/apim/managers/apimManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.js +26 -20
- package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +106 -85
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +7 -6
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +8 -152
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +9 -5
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +10 -5
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +37 -1
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +58 -21
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +32 -0
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/manifestTemplate.js +190 -0
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -0
- package/build/plugins/resource/appstudio/plugin.d.ts +2 -4
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +256 -465
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +12 -16
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +73 -0
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/v3/index.js +87 -0
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -0
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +5 -1
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts +2 -2
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +40 -37
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/configs.d.ts.map +1 -1
- package/build/plugins/resource/frontend/configs.js +3 -9
- package/build/plugins/resource/frontend/configs.js.map +1 -1
- package/build/plugins/resource/frontend/constants.d.ts +2 -15
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +3 -19
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/constants.d.ts +7 -24
- package/build/plugins/resource/frontend/{blazor → dotnet}/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.js +81 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/constants.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/enum.js +39 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts +0 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js +3 -3
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.d.ts +0 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js +2 -2
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +26 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js +69 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts +35 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/resources/errors.js +10 -22
- package/build/plugins/resource/frontend/dotnet/resources/errors.js.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/resources/messages.d.ts +0 -4
- package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/resources/messages.js +0 -4
- package/build/plugins/resource/frontend/dotnet/resources/messages.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts +6 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js +11 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js.map +1 -0
- package/build/plugins/resource/frontend/env.d.ts +22 -0
- package/build/plugins/resource/frontend/env.d.ts.map +1 -0
- package/build/plugins/resource/frontend/env.js +103 -0
- package/build/plugins/resource/frontend/env.js.map +1 -0
- package/build/plugins/resource/frontend/index.d.ts +2 -2
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +8 -20
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.d.ts +5 -4
- package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.js +35 -29
- package/build/plugins/resource/frontend/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts +2 -3
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +50 -75
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +3 -18
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +7 -39
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.d.ts +2 -0
- package/build/plugins/resource/frontend/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.js +2 -0
- package/build/plugins/resource/frontend/resources/messages.js.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts +0 -8
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.js +1 -19
- package/build/plugins/resource/frontend/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.d.ts +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.js +8 -2
- package/build/plugins/resource/frontend/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/frontend/utils.d.ts +6 -1
- package/build/plugins/resource/frontend/utils.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils.js +17 -6
- package/build/plugins/resource/frontend/utils.js.map +1 -1
- package/build/plugins/resource/function/index.d.ts +1 -1
- package/build/plugins/resource/function/index.d.ts.map +1 -1
- package/build/plugins/resource/function/index.js +8 -12
- package/build/plugins/resource/function/index.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +26 -21
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.js +2 -2
- package/build/plugins/resource/function/utils/depsChecker/checker.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts +2 -2
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/common.js +6 -6
- package/build/plugins/resource/function/utils/depsChecker/common.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts +3 -2
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js +3 -2
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js +1 -23
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js.map +1 -1
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +21 -17
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/keyvault/plugin.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/plugin.js +17 -14
- package/build/plugins/resource/keyvault/plugin.js.map +1 -1
- package/build/plugins/resource/localdebug/index.d.ts +0 -7
- package/build/plugins/resource/localdebug/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/index.js +3 -501
- package/build/plugins/resource/localdebug/index.js.map +1 -1
- package/build/plugins/resource/localdebug/util/error.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/util/error.js +1 -1
- package/build/plugins/resource/localdebug/util/error.js.map +1 -1
- package/build/plugins/resource/localdebug/util/localService.d.ts +0 -1
- package/build/plugins/resource/localdebug/util/localService.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/util/localService.js +1 -40
- package/build/plugins/resource/localdebug/util/localService.js.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.js +41 -1
- package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +26 -21
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/simpleauth/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/utils/common.js +3 -1
- package/build/plugins/resource/simpleauth/utils/common.js.map +1 -1
- package/build/plugins/resource/spfx/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/plugin.js +14 -9
- package/build/plugins/resource/spfx/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts +5 -4
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.js +5 -4
- package/build/plugins/resource/spfx/utils/constants.js.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/sql/config.d.ts +0 -1
- package/build/plugins/resource/sql/config.d.ts.map +1 -1
- package/build/plugins/resource/sql/config.js +0 -1
- package/build/plugins/resource/sql/config.js.map +1 -1
- package/build/plugins/resource/sql/constants.d.ts +1 -0
- package/build/plugins/resource/sql/constants.d.ts.map +1 -1
- package/build/plugins/resource/sql/constants.js +2 -1
- package/build/plugins/resource/sql/constants.js.map +1 -1
- package/build/plugins/resource/sql/errors.d.ts +3 -1
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +3 -1
- package/build/plugins/resource/sql/errors.js.map +1 -1
- package/build/plugins/resource/sql/managementClient.d.ts +3 -1
- package/build/plugins/resource/sql/managementClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/managementClient.js +11 -20
- package/build/plugins/resource/sql/managementClient.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts +3 -0
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +51 -40
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/sql/results.d.ts +2 -2
- package/build/plugins/resource/sql/results.d.ts.map +1 -1
- package/build/plugins/resource/sql/results.js +4 -4
- package/build/plugins/resource/sql/results.js.map +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/sqlClient.js +33 -46
- package/build/plugins/resource/sql/sqlClient.js.map +1 -1
- package/build/plugins/resource/sql/utils/checkInput.js +2 -2
- package/build/plugins/resource/sql/utils/checkInput.js.map +1 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -1
- package/build/plugins/resource/sql/utils/message.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/message.js +0 -1
- package/build/plugins/resource/sql/utils/message.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +0 -4
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +26 -10
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +429 -146
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +13 -2
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +24 -26
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +2 -0
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +2 -0
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.d.ts +10 -0
- package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/constants.js +17 -0
- package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/error.d.ts +9 -0
- package/build/plugins/solution/fx-solution/debug/error.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/error.js +36 -0
- package/build/plugins/solution/fx-solution/debug/error.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts +4 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +237 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +5 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +165 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/certificate.d.ts +2 -2
- package/build/plugins/solution/fx-solution/debug/util/certificate.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/certificate.js +8 -9
- package/build/plugins/solution/fx-solution/debug/util/certificate.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/codespace.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/codespace.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/codespace.js +0 -0
- package/build/plugins/solution/fx-solution/debug/util/codespace.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/launch.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/launch.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/launch.js +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.d.ts +3 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.js +52 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/ngrok.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/ngrok.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/ngrok.js +2 -2
- package/build/plugins/solution/fx-solution/debug/util/ngrok.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/process.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/process.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/process.js +0 -0
- package/build/plugins/solution/fx-solution/debug/util/process.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.d.ts +2 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.js +22 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/tasks.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/tasks.js +11 -11
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/telemetry.d.ts +7 -6
- package/build/plugins/solution/fx-solution/debug/util/telemetry.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/telemetry.js +16 -19
- package/build/plugins/solution/fx-solution/debug/util/telemetry.js.map +1 -0
- package/build/plugins/solution/fx-solution/index.d.ts +1 -0
- package/build/plugins/solution/fx-solution/index.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/index.js +1 -0
- package/build/plugins/solution/fx-solution/index.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +3 -3
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +4 -36
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +19 -10
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts +2 -2
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.js +13 -14
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts +2 -2
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.js +4 -4
- package/build/plugins/solution/fx-solution/utils/progressHelper.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/constants.d.ts +2 -0
- package/build/plugins/solution/fx-solution/v2/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/constants.js +7 -0
- package/build/plugins/solution/fx-solution/v2/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +3 -0
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +199 -124
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +3 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js +9 -14
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +142 -120
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +13 -3
- package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +12 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +11 -0
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.js +2 -1
- package/build/plugins/solution/fx-solution/v2/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts +6 -0
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addModule.js +35 -0
- package/build/plugins/solution/fx-solution/v3/addModule.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts +37 -0
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addResource.js +264 -0
- package/build/plugins/solution/fx-solution/v3/addResource.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +20 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.js +25 -0
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts +6 -0
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/deploy.js +78 -0
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/error.d.ts +8 -0
- package/build/plugins/solution/fx-solution/v3/error.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/error.js +17 -0
- package/build/plugins/solution/fx-solution/v3/error.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/init.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/init.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/init.js +35 -0
- package/build/plugins/solution/fx-solution/v3/init.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provision.js +124 -0
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js +13 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/publish.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/publish.js +15 -0
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +27 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.js +241 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solution.d.ts +32 -0
- package/build/plugins/solution/fx-solution/v3/solution.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solution.js +45 -0
- package/build/plugins/solution/fx-solution/v3/solution.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/userTask.js +15 -0
- package/build/plugins/solution/fx-solution/v3/userTask.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/utils.d.ts +3 -0
- package/build/plugins/solution/fx-solution/v3/utils.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/utils.js +16 -0
- package/build/plugins/solution/fx-solution/v3/utils.js.map +1 -0
- package/build/plugins/solution/index.d.ts +1 -0
- package/build/plugins/solution/index.d.ts.map +1 -1
- package/build/plugins/solution/index.js +1 -0
- package/build/plugins/solution/index.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addModule.d.ts +5 -0
- package/build/plugins/solution/spfx-solution/addModule.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/addModule.js +29 -0
- package/build/plugins/solution/spfx-solution/addModule.js.map +1 -0
- package/build/plugins/solution/spfx-solution/constants.d.ts +2 -0
- package/build/plugins/solution/spfx-solution/constants.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/constants.js +7 -0
- package/build/plugins/solution/spfx-solution/constants.js.map +1 -0
- package/build/plugins/solution/spfx-solution/error.d.ts +5 -0
- package/build/plugins/solution/spfx-solution/error.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/error.js +13 -0
- package/build/plugins/solution/spfx-solution/error.js.map +1 -0
- package/build/plugins/solution/spfx-solution/index.d.ts +2 -0
- package/build/plugins/solution/spfx-solution/index.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/index.js +7 -0
- package/build/plugins/solution/spfx-solution/index.js.map +1 -0
- package/build/plugins/solution/spfx-solution/init.d.ts +4 -0
- package/build/plugins/solution/spfx-solution/init.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/init.js +52 -0
- package/build/plugins/solution/spfx-solution/init.js.map +1 -0
- package/build/plugins/solution/spfx-solution/questions.d.ts +4 -0
- package/build/plugins/solution/spfx-solution/questions.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/questions.js +10 -0
- package/build/plugins/solution/spfx-solution/questions.js.map +1 -0
- package/build/plugins/solution/spfx-solution/scaffold.d.ts +13 -0
- package/build/plugins/solution/spfx-solution/scaffold.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/scaffold.js +105 -0
- package/build/plugins/solution/spfx-solution/scaffold.js.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts +22 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.js +31 -0
- package/build/plugins/solution/spfx-solution/solution.js.map +1 -0
- package/build/plugins/solution/utils/error.d.ts +5 -0
- package/build/plugins/solution/utils/error.d.ts.map +1 -0
- package/build/plugins/solution/utils/error.js +13 -0
- package/build/plugins/solution/utils/error.js.map +1 -0
- package/build/plugins/solution/utils/questions.d.ts +16 -0
- package/build/plugins/solution/utils/questions.d.ts.map +1 -0
- package/build/plugins/solution/utils/questions.js +86 -0
- package/build/plugins/solution/utils/questions.js.map +1 -0
- package/package.json +21 -6
- package/resource/deps-checker/dotnet-install.ps1 +1095 -0
- package/resource/deps-checker/dotnet-install.sh +1222 -0
- package/resource/strings.json +18 -9
- package/templates/plugins/resource/apim/bicep/apimConfiguration.bicep +16 -16
- package/templates/plugins/resource/apim/bicep/config.template.bicep +1 -1
- package/templates/plugins/resource/apim/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +33 -38
- package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +15 -11
- package/templates/plugins/resource/bot/bicep/config.template.bicep +3 -1
- package/templates/plugins/resource/bot/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/frontend/bicep/frontendHostingProvision.bicep +3 -2
- package/templates/plugins/resource/frontend/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/function/bicep/config.template.bicep +3 -1
- package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +44 -42
- package/templates/plugins/resource/function/bicep/functionProvision.template.bicep +17 -14
- package/templates/plugins/resource/function/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +2 -1
- package/templates/plugins/resource/identity/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +10 -7
- package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +4 -2
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +3 -1
- package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +27 -31
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +9 -6
- package/templates/plugins/resource/simpleauth/version.txt +2 -1
- package/templates/plugins/resource/sql/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +8 -5
- package/build/plugins/resource/frontend/blazor/constants.js +0 -98
- package/build/plugins/resource/frontend/blazor/enum.js +0 -39
- package/build/plugins/resource/frontend/blazor/ops/provision.d.ts +0 -8
- package/build/plugins/resource/frontend/blazor/ops/provision.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/ops/provision.js +0 -42
- package/build/plugins/resource/frontend/blazor/ops/provision.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/plugin.d.ts +0 -35
- package/build/plugins/resource/frontend/blazor/plugin.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/plugin.js +0 -190
- package/build/plugins/resource/frontend/blazor/plugin.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/errors.d.ts +0 -41
- package/build/plugins/resource/frontend/blazor/resources/errors.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/errors.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/messages.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/messages.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts +0 -21
- package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/utils/azure-client.js +0 -47
- package/build/plugins/resource/frontend/blazor/utils/azure-client.js.map +0 -1
- package/build/plugins/resource/frontend/utils/azure-client.d.ts +0 -12
- package/build/plugins/resource/frontend/utils/azure-client.d.ts.map +0 -1
- package/build/plugins/resource/frontend/utils/azure-client.js +0 -29
- package/build/plugins/resource/frontend/utils/azure-client.js.map +0 -1
- package/build/plugins/resource/frontend/utils/environment-utils.d.ts +0 -9
- package/build/plugins/resource/frontend/utils/environment-utils.d.ts.map +0 -1
- package/build/plugins/resource/frontend/utils/environment-utils.js +0 -36
- package/build/plugins/resource/frontend/utils/environment-utils.js.map +0 -1
- package/build/plugins/resource/localdebug/certificate.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/certificate.js.map +0 -1
- package/build/plugins/resource/localdebug/launch.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/launch.js.map +0 -1
- package/build/plugins/resource/localdebug/legacyPlugin.d.ts +0 -6
- package/build/plugins/resource/localdebug/legacyPlugin.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/legacyPlugin.js +0 -208
- package/build/plugins/resource/localdebug/legacyPlugin.js.map +0 -1
- package/build/plugins/resource/localdebug/localEnvMulti.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/localEnvMulti.js.map +0 -1
- package/build/plugins/resource/localdebug/settings.d.ts +0 -2
- package/build/plugins/resource/localdebug/settings.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/settings.js +0 -18
- package/build/plugins/resource/localdebug/settings.js.map +0 -1
- package/build/plugins/resource/localdebug/tasks.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/tasks.js.map +0 -1
- package/build/plugins/resource/localdebug/util/codespace.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/codespace.js.map +0 -1
- package/build/plugins/resource/localdebug/util/ngrok.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/ngrok.js.map +0 -1
- package/build/plugins/resource/localdebug/util/process.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/process.js.map +0 -1
- package/build/plugins/resource/localdebug/util/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/telemetry.js.map +0 -1
- package/templates/azure/config.bicep +0 -25
- package/templates/azure/main.bicep +0 -20
- package/templates/azure/provision/azureSql.bicep +0 -39
- package/templates/azure/provision/frontendHosting.bicep +0 -23
- package/templates/azure/provision/function.bicep +0 -79
- package/templates/azure/provision/simpleAuth.bicep +0 -44
- package/templates/azure/provision.bicep +0 -58
- package/templates/azure/teamsFx/bot.bicep +0 -34
- package/templates/azure/teamsFx/function.bicep +0 -71
- package/templates/azure/teamsFx/simpleAuth.bicep +0 -40
- package/templates/plugins/resource/aad/bicep/param.template.bicep +0 -6
- package/templates/plugins/resource/aad/bicep/variables.template.bicep +0 -13
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
@secure()
|
|
2
2
|
param provisionParameters object
|
|
3
|
-
param userAssignedIdentityObjectId string
|
|
3
|
+
param userAssignedIdentityObjectId string // User assigned identity that will be grant Key Vault access permission
|
|
4
4
|
|
|
5
5
|
var resourceBaseName = provisionParameters.resourceBaseName
|
|
6
|
-
var keyVaultName = contains(provisionParameters, 'keyVaultName') ? provisionParameters['keyVaultName'] : '${resourceBaseName}'
|
|
6
|
+
var keyVaultName = contains(provisionParameters, 'keyVaultName') ? provisionParameters['keyVaultName'] : '${resourceBaseName}' // Try to read name for Key Vault from parameters
|
|
7
7
|
var tenantId = subscription().tenantId
|
|
8
|
-
var m365ClientSecretName = 'm365ClientSecret'
|
|
9
|
-
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
10
|
-
var botClientSecretName = 'botClientSecret'
|
|
11
|
-
var botClientSecret = contains(provisionParameters, 'botAadAppClientSecret') ? provisionParameters['botAadAppClientSecret'] : ''
|
|
12
|
-
var keyVaultSkuName = contains(provisionParameters, 'keyVaultSkuName') ? provisionParameters['keyVaultSkuName'] : 'standard'
|
|
8
|
+
var m365ClientSecretName = 'm365ClientSecret' // Secret name of AAD app client secret
|
|
9
|
+
var m365ClientSecret = provisionParameters['m365ClientSecret'] // Read AAD app client secret from parameters
|
|
10
|
+
var botClientSecretName = 'botClientSecret' // Secret name of bot's AAD app client secret
|
|
11
|
+
var botClientSecret = contains(provisionParameters, 'botAadAppClientSecret') ? provisionParameters['botAadAppClientSecret'] : '' // Try to read bot's AAD app client secret from parameters
|
|
12
|
+
var keyVaultSkuName = contains(provisionParameters, 'keyVaultSkuName') ? provisionParameters['keyVaultSkuName'] : 'standard' // Try to read SKU for Key Vault from parameters
|
|
13
13
|
|
|
14
14
|
resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {
|
|
15
15
|
name: keyVaultName
|
|
@@ -34,6 +34,7 @@ resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
// Set or update AAD app client secret if it's not empty in parameters
|
|
37
38
|
resource clientSecretKv 'Microsoft.KeyVault/vaults/secrets@2019-09-01' = if (length(m365ClientSecret) != 0) {
|
|
38
39
|
parent: keyVault
|
|
39
40
|
name: m365ClientSecretName
|
|
@@ -42,6 +43,7 @@ resource clientSecretKv 'Microsoft.KeyVault/vaults/secrets@2019-09-01' = if (len
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
// Set or update bot's AAD app client secret if it's not empty in parameters
|
|
45
47
|
resource botClientSecretKv 'Microsoft.KeyVault/vaults/secrets@2019-09-01' = if (length(botClientSecret) != 0) {
|
|
46
48
|
parent: keyVault
|
|
47
49
|
name: botClientSecretName
|
|
@@ -50,5 +52,6 @@ resource botClientSecretKv 'Microsoft.KeyVault/vaults/secrets@2019-09-01' = if (
|
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
|
|
55
|
+
output keyVaultResourceId string = keyVault.id
|
|
53
56
|
output m365ClientSecretReference string = '@Microsoft.KeyVault(VaultName=${keyVaultName};SecretName=${m365ClientSecretName})'
|
|
54
57
|
output botClientSecretReference string = '@Microsoft.KeyVault(VaultName=${keyVaultName};SecretName=${botClientSecretName})'
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
// Resources for Azure Key Vault
|
|
2
|
-
module keyVaultProvision '{{
|
|
2
|
+
module keyVaultProvision '\{{fx-resource-key-vault.Provision.keyVault.path}}' = {
|
|
3
3
|
name: 'keyVaultProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
6
|
-
userAssignedIdentityObjectId: {{
|
|
6
|
+
userAssignedIdentityObjectId: \{{fx-resource-identity.References.identityPrincipalId}}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
output keyVaultOutput object = {
|
|
11
|
+
teamsFxPluginId: 'fx-resource-key-vault'
|
|
12
|
+
keyVaultResourceId: keyVaultProvision.outputs.keyVaultResourceId
|
|
11
13
|
m365ClientSecretReference: keyVaultProvision.outputs.m365ClientSecretReference
|
|
12
14
|
botClientSecretReference: keyVaultProvision.outputs.botClientSecretReference
|
|
13
15
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
// Get existing app settings and site config for merge
|
|
1
2
|
var simpleAuthCurrentAppSettings = list('${provisionOutputs.simpleAuthOutput.value.webAppResourceId}/config/appsettings', '2021-02-01').properties
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
// Merge TeamsFx configurations to Simple Auth resources
|
|
5
|
+
module teamsFxSimpleAuthConfig '\{{fx-resource-simple-auth.Configuration.simpleAuth.path}}' = {
|
|
4
6
|
name: 'addTeamsFxSimpleAuthConfiguration'
|
|
5
7
|
params: {
|
|
6
8
|
provisionParameters: provisionParameters
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Resources for Simple Auth
|
|
2
|
-
module simpleAuthProvision '{{
|
|
2
|
+
module simpleAuthProvision '\{{fx-resource-simple-auth.Provision.simpleAuth.path}}' = {
|
|
3
3
|
name: 'simpleAuthProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
6
|
-
userAssignedIdentityId: {{
|
|
6
|
+
userAssignedIdentityId: \{{fx-resource-identity.References.identityResourceId}}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -9,36 +9,32 @@ param currentAppSettings object
|
|
|
9
9
|
var webAppName = split(provisionOutputs.simpleAuthOutput.value.webAppResourceId, '/')[8]
|
|
10
10
|
|
|
11
11
|
var m365ClientId = provisionParameters['m365ClientId']
|
|
12
|
-
{{#contains
|
|
13
|
-
var m365ClientSecret = {{
|
|
14
|
-
{{
|
|
15
|
-
{{#notContains 'fx-resource-key-vault' Plugins}}
|
|
12
|
+
{{#if (contains "fx-resource-key-vault" plugins)}}
|
|
13
|
+
var m365ClientSecret = \{{fx-resource-key-vault.References.m365ClientSecretReference}}
|
|
14
|
+
{{else}}
|
|
16
15
|
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
17
|
-
{{/
|
|
16
|
+
{{/if}}
|
|
18
17
|
var m365TenantId = provisionParameters['m365TenantId']
|
|
19
18
|
var m365OauthAuthorityHost = provisionParameters['m365OauthAuthorityHost']
|
|
20
19
|
var oauthAuthority = uri(m365OauthAuthorityHost, m365TenantId)
|
|
21
20
|
var aadMetadataAddress = uri(m365OauthAuthorityHost, '${m365TenantId}/v2.0/.well-known/openid-configuration')
|
|
22
|
-
{{#contains
|
|
21
|
+
{{#if (contains "fx-resource-bot" plugins)}}
|
|
23
22
|
var botId = provisionParameters['botAadAppClientId']
|
|
24
|
-
{{/
|
|
25
|
-
{{#contains
|
|
26
|
-
var tabAppDomain = {{
|
|
27
|
-
var tabAppEndpoint = {{
|
|
28
|
-
{{/
|
|
29
|
-
|
|
30
|
-
{{#
|
|
31
|
-
|
|
32
|
-
{{/notContains}}
|
|
33
|
-
{{#contains 'fx-resource-bot' ../Plugins}}
|
|
23
|
+
{{/if}}
|
|
24
|
+
{{#if (contains "fx-resource-frontend-hosting" plugins)}}
|
|
25
|
+
var tabAppDomain = \{{fx-resource-frontend-hosting.References.domain}}
|
|
26
|
+
var tabAppEndpoint = \{{fx-resource-frontend-hosting.References.endpoint}}
|
|
27
|
+
{{/if}}
|
|
28
|
+
|
|
29
|
+
{{#if (contains "fx-resource-frontend-hosting" plugins)}}
|
|
30
|
+
{{#if (contains "fx-resource-bot" plugins)}}
|
|
34
31
|
var m365ApplicationIdUri = 'api://${tabAppDomain}/botid-${botId}'
|
|
35
|
-
{{
|
|
36
|
-
{{
|
|
37
|
-
{{
|
|
38
|
-
{{
|
|
32
|
+
{{else}}
|
|
33
|
+
var m365ApplicationIdUri = 'api://${tabAppDomain}/${m365ClientId}'
|
|
34
|
+
{{/if}}
|
|
35
|
+
{{else if (contains "fx-resource-bot" plugins)}}
|
|
39
36
|
var m365ApplicationIdUri = 'api://botid-${botId}'
|
|
40
|
-
{{/
|
|
41
|
-
{{/notContains}}
|
|
37
|
+
{{/if}}
|
|
42
38
|
|
|
43
39
|
var teamsMobileOrDesktopAppClientId = '1fec8e78-bce4-4aaf-ab1b-5451cc387264'
|
|
44
40
|
var teamsWebAppClientId = '5e3ce6c0-2b1f-4285-8d4b-75ee78787346'
|
|
@@ -51,14 +47,14 @@ var authorizedClientApplicationIds = '${teamsMobileOrDesktopAppClientId};${teams
|
|
|
51
47
|
resource simpleAuthWebAppSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
52
48
|
name: '${webAppName}/appsettings'
|
|
53
49
|
properties: {
|
|
54
|
-
AAD_METADATA_ADDRESS: aadMetadataAddress
|
|
55
|
-
ALLOWED_APP_IDS: authorizedClientApplicationIds
|
|
56
|
-
IDENTIFIER_URI: m365ApplicationIdUri
|
|
57
|
-
CLIENT_ID: m365ClientId
|
|
58
|
-
CLIENT_SECRET: m365ClientSecret
|
|
59
|
-
OAUTH_AUTHORITY: oauthAuthority
|
|
60
|
-
{{#contains
|
|
61
|
-
TAB_APP_ENDPOINT: tabAppEndpoint
|
|
62
|
-
{{/
|
|
50
|
+
AAD_METADATA_ADDRESS: aadMetadataAddress // AAD metadata address used to validate access tokens
|
|
51
|
+
ALLOWED_APP_IDS: authorizedClientApplicationIds // Only allow access tokens from these clients
|
|
52
|
+
IDENTIFIER_URI: m365ApplicationIdUri // Application ID URI of AAD app
|
|
53
|
+
CLIENT_ID: m365ClientId // Client id of AAD app
|
|
54
|
+
CLIENT_SECRET: m365ClientSecret // Client secret of AAD app
|
|
55
|
+
OAUTH_AUTHORITY: oauthAuthority // AAD authority
|
|
56
|
+
{{#if (contains "fx-resource-frontend-hosting" plugins)}}
|
|
57
|
+
TAB_APP_ENDPOINT: tabAppEndpoint // Enable CORS for tab app
|
|
58
|
+
{{/if}}
|
|
63
59
|
}
|
|
64
60
|
}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
param provisionParameters object
|
|
3
3
|
param userAssignedIdentityId string
|
|
4
4
|
var resourceBaseName = provisionParameters.resourceBaseName
|
|
5
|
-
var sku = contains(provisionParameters, 'simpleAuthSku') ? provisionParameters['simpleAuthSku'] : 'F1'
|
|
6
|
-
var serverFarmsName = contains(provisionParameters, 'simpleAuthServerFarmsName') ? provisionParameters['simpleAuthServerFarmsName'] : '${resourceBaseName}simpleAuth'
|
|
7
|
-
var webAppName = contains(provisionParameters, 'simpleAuthWebAppName') ? provisionParameters['simpleAuthWebAppName'] : '${resourceBaseName}simpleAuth'
|
|
8
|
-
var simpleAuthPackageUri = contains(provisionParameters, 'simpleAuthPackageUri') ? provisionParameters['simpleAuthPackageUri'] : 'https://github.com/OfficeDev/TeamsFx/releases/download/simpleauth@0.1.0/Microsoft.TeamsFx.SimpleAuth_0.1.0.zip'
|
|
5
|
+
var sku = contains(provisionParameters, 'simpleAuthSku') ? provisionParameters['simpleAuthSku'] : 'F1' // Try to read SKU for App Service Plan from parameters
|
|
6
|
+
var serverFarmsName = contains(provisionParameters, 'simpleAuthServerFarmsName') ? provisionParameters['simpleAuthServerFarmsName'] : '${resourceBaseName}simpleAuth' // Try to read name for App Service Plan from parameters
|
|
7
|
+
var webAppName = contains(provisionParameters, 'simpleAuthWebAppName') ? provisionParameters['simpleAuthWebAppName'] : '${resourceBaseName}simpleAuth' // Try to read name for Web App from parameters
|
|
8
|
+
var simpleAuthPackageUri = contains(provisionParameters, 'simpleAuthPackageUri') ? provisionParameters['simpleAuthPackageUri'] : 'https://github.com/OfficeDev/TeamsFx/releases/download/simpleauth@0.1.0/Microsoft.TeamsFx.SimpleAuth_0.1.0.zip' // Try to read url of Simple Auth bits from parameters
|
|
9
9
|
|
|
10
|
+
// Compute resources for Web App
|
|
10
11
|
resource serverFarms 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
11
12
|
name: serverFarmsName
|
|
12
13
|
location: resourceGroup().location
|
|
@@ -16,22 +17,24 @@ resource serverFarms 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
|
16
17
|
kind: 'app'
|
|
17
18
|
}
|
|
18
19
|
|
|
20
|
+
// Web App that hosts Simple Auth
|
|
19
21
|
resource webApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
20
22
|
kind: 'app'
|
|
21
23
|
name: webAppName
|
|
22
24
|
location: resourceGroup().location
|
|
23
25
|
properties: {
|
|
24
26
|
serverFarmId: serverFarms.id
|
|
25
|
-
keyVaultReferenceIdentity: userAssignedIdentityId
|
|
27
|
+
keyVaultReferenceIdentity: userAssignedIdentityId // Use given user assigned identity to access Key Vault
|
|
26
28
|
}
|
|
27
29
|
identity: {
|
|
28
30
|
type: 'UserAssigned'
|
|
29
31
|
userAssignedIdentities: {
|
|
30
|
-
'${userAssignedIdentityId}': {}
|
|
32
|
+
'${userAssignedIdentityId}': {} // The identity is used to access other Azure resources
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
|
|
37
|
+
// Deploy Simple Auth bits to Web App
|
|
35
38
|
resource simpleAuthDeploy 'Microsoft.Web/sites/extensions@2021-02-01' = {
|
|
36
39
|
parent: webApp
|
|
37
40
|
name: 'MSDeploy'
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
0.1.1
|
|
1
|
+
0.1.1
|
|
2
|
+
md5: 01f306767cb689dac8d973deccc1062d
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Resources for Azure SQL
|
|
2
|
-
module azureSqlProvision '{{
|
|
2
|
+
module azureSqlProvision '\{{fx-resource-azure-sql.Provision.azureSql.path}}' = {
|
|
3
3
|
name: 'azureSqlProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
@secure()
|
|
2
2
|
param provisionParameters object
|
|
3
3
|
var resourceBaseName = provisionParameters.resourceBaseName
|
|
4
|
-
var sqlServerName = contains(provisionParameters, 'sqlServerName') ? provisionParameters['sqlServerName'] : '${resourceBaseName}'
|
|
5
|
-
var sqlDatabaseName = contains(provisionParameters, 'sqlDatabaseName') ? provisionParameters['sqlDatabaseName'] : '${resourceBaseName}'
|
|
6
|
-
var sqlDatabaseSku = contains(provisionParameters, 'sqlDatabaseSku') ? provisionParameters['sqlDatabaseSku'] : 'Basic'
|
|
7
|
-
var administratorLogin = contains(provisionParameters, 'azureSqlAdmin') ? provisionParameters['azureSqlAdmin'] : ''
|
|
8
|
-
var administratorLoginPassword = contains(provisionParameters, 'azureSqlAdminPassword') ? provisionParameters['azureSqlAdminPassword'] : ''
|
|
4
|
+
var sqlServerName = contains(provisionParameters, 'sqlServerName') ? provisionParameters['sqlServerName'] : '${resourceBaseName}' // Try to read name for SQL Server from parameters
|
|
5
|
+
var sqlDatabaseName = contains(provisionParameters, 'sqlDatabaseName') ? provisionParameters['sqlDatabaseName'] : '${resourceBaseName}' // Try to read name for SQL Database from parameters
|
|
6
|
+
var sqlDatabaseSku = contains(provisionParameters, 'sqlDatabaseSku') ? provisionParameters['sqlDatabaseSku'] : 'Basic' // Try to read SKU for SQL Database from parameters
|
|
7
|
+
var administratorLogin = contains(provisionParameters, 'azureSqlAdmin') ? provisionParameters['azureSqlAdmin'] : '' // Try to read admin name for SQL Server from parameters, the value must be empty or same with the admin name used to create SQL Server
|
|
8
|
+
var administratorLoginPassword = contains(provisionParameters, 'azureSqlAdminPassword') ? provisionParameters['azureSqlAdminPassword'] : '' // Try to read admin password for SQL Server from parameters, empty means do not update admin password
|
|
9
9
|
|
|
10
|
+
// SQL Server that hosts the databases
|
|
10
11
|
resource sqlServer 'Microsoft.Sql/servers@2021-05-01-preview' = {
|
|
11
12
|
location: resourceGroup().location
|
|
12
13
|
name: sqlServerName
|
|
@@ -16,6 +17,7 @@ resource sqlServer 'Microsoft.Sql/servers@2021-05-01-preview' = {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
|
|
20
|
+
// SQL Database
|
|
19
21
|
resource sqlDatabase 'Microsoft.Sql/servers/databases@2021-05-01-preview' = {
|
|
20
22
|
parent: sqlServer
|
|
21
23
|
location: resourceGroup().location
|
|
@@ -25,6 +27,7 @@ resource sqlDatabase 'Microsoft.Sql/servers/databases@2021-05-01-preview' = {
|
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
|
|
30
|
+
// Allow Azure services connect to the SQL Server
|
|
28
31
|
resource sqlFirewallRules 'Microsoft.Sql/servers/firewallRules@2021-05-01-preview' = {
|
|
29
32
|
parent: sqlServer
|
|
30
33
|
name: 'AllowAzure'
|
|
@@ -1,98 +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.BlazorConfigInfo = exports.DependentPluginInfo = exports.BlazorCommands = exports.BlazorPathInfo = exports.BlazorPluginInfo = exports.DefaultProvisionConfigs = exports.RegularExpr = exports.AzureInfo = exports.Constants = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
8
|
-
class Constants {
|
|
9
|
-
}
|
|
10
|
-
exports.Constants = Constants;
|
|
11
|
-
Constants.emptyString = "";
|
|
12
|
-
class AzureInfo {
|
|
13
|
-
}
|
|
14
|
-
exports.AzureInfo = AzureInfo;
|
|
15
|
-
AzureInfo.webappNameLenMax = 24;
|
|
16
|
-
AzureInfo.suffixLenMax = 12;
|
|
17
|
-
AzureInfo.zipDeployURL = (appName) => `https://${appName}.scm.azurewebsites.net/api/zipdeploy`;
|
|
18
|
-
// TODO: static readonly requiredResourceProviders = ["Microsoft.Web"];
|
|
19
|
-
AzureInfo.aadMetadataAddress = (tenantId) => `https://login.microsoftonline.com/${tenantId}/v2.0/.well-known/openid-configuration`;
|
|
20
|
-
class RegularExpr {
|
|
21
|
-
}
|
|
22
|
-
exports.RegularExpr = RegularExpr;
|
|
23
|
-
RegularExpr.allCharToBeSkippedInName = /[^a-zA-Z0-9]/g;
|
|
24
|
-
RegularExpr.targetFramework = /(?<=<TargetFramework>)(.*)(?=<)/gim;
|
|
25
|
-
class DefaultProvisionConfigs {
|
|
26
|
-
}
|
|
27
|
-
exports.DefaultProvisionConfigs = DefaultProvisionConfigs;
|
|
28
|
-
DefaultProvisionConfigs.appServicePlansConfig = (location) => ({
|
|
29
|
-
location: location,
|
|
30
|
-
kind: "app",
|
|
31
|
-
sku: {
|
|
32
|
-
name: "B1",
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
DefaultProvisionConfigs.webAppConfig = (location) => ({
|
|
36
|
-
kind: "app",
|
|
37
|
-
location: location,
|
|
38
|
-
sku: {
|
|
39
|
-
name: "B1",
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
class BlazorPluginInfo {
|
|
43
|
-
}
|
|
44
|
-
exports.BlazorPluginInfo = BlazorPluginInfo;
|
|
45
|
-
BlazorPluginInfo.pluginName = "fx-resource-blazor";
|
|
46
|
-
BlazorPluginInfo.displayName = "Blazor";
|
|
47
|
-
BlazorPluginInfo.alias = "bz";
|
|
48
|
-
BlazorPluginInfo.issueLink = "https://github.com/OfficeDev/TeamsFx/issues/new";
|
|
49
|
-
BlazorPluginInfo.helpLink = "https://aka.ms/teamsfx-bz-help";
|
|
50
|
-
BlazorPluginInfo.persistentConfig = [
|
|
51
|
-
"webAppName",
|
|
52
|
-
"appServicePlanName",
|
|
53
|
-
"endpoint",
|
|
54
|
-
"domain",
|
|
55
|
-
"projectFilePath",
|
|
56
|
-
];
|
|
57
|
-
BlazorPluginInfo.defaultFramework = "net6.0";
|
|
58
|
-
BlazorPluginInfo.defaultRuntime = "win-x86";
|
|
59
|
-
class BlazorPathInfo {
|
|
60
|
-
}
|
|
61
|
-
exports.BlazorPathInfo = BlazorPathInfo;
|
|
62
|
-
BlazorPathInfo.publishFolderPath = (workingPath, framework = BlazorPluginInfo.defaultFramework, runtime = BlazorPluginInfo.defaultRuntime) => path_1.default.join(workingPath, "bin", "Release", framework, runtime, "publish");
|
|
63
|
-
class BlazorCommands {
|
|
64
|
-
}
|
|
65
|
-
exports.BlazorCommands = BlazorCommands;
|
|
66
|
-
BlazorCommands.buildRelease = (runtime) => `dotnet publish --configuration Release --runtime ${runtime} --self-contained`;
|
|
67
|
-
class DependentPluginInfo {
|
|
68
|
-
}
|
|
69
|
-
exports.DependentPluginInfo = DependentPluginInfo;
|
|
70
|
-
DependentPluginInfo.solutionPluginName = "solution";
|
|
71
|
-
DependentPluginInfo.subscriptionId = "subscriptionId";
|
|
72
|
-
DependentPluginInfo.resourceGroupName = "resourceGroupName";
|
|
73
|
-
DependentPluginInfo.resourceNameSuffix = "resourceNameSuffix";
|
|
74
|
-
DependentPluginInfo.location = "location";
|
|
75
|
-
DependentPluginInfo.remoteTeamsAppId = "remoteTeamsAppId";
|
|
76
|
-
DependentPluginInfo.functionPluginName = "fx-resource-function";
|
|
77
|
-
DependentPluginInfo.functionEndpoint = "functionEndpoint";
|
|
78
|
-
DependentPluginInfo.runtimePluginName = "fx-resource-simple-auth";
|
|
79
|
-
DependentPluginInfo.runtimeEndpoint = "endpoint";
|
|
80
|
-
DependentPluginInfo.startLoginPageURL = "auth-start.html";
|
|
81
|
-
DependentPluginInfo.aadPluginName = "fx-resource-aad-app-for-teams";
|
|
82
|
-
DependentPluginInfo.clientID = "clientId";
|
|
83
|
-
DependentPluginInfo.tenantId = "tenantId";
|
|
84
|
-
DependentPluginInfo.aadClientSecret = "clientSecret";
|
|
85
|
-
DependentPluginInfo.oauthHost = "oauthHost";
|
|
86
|
-
DependentPluginInfo.applicationIdUris = "applicationIdUris";
|
|
87
|
-
DependentPluginInfo.botPluginName = "fx-resource-bot";
|
|
88
|
-
DependentPluginInfo.botId = "botId";
|
|
89
|
-
DependentPluginInfo.botPassword = "botPassword";
|
|
90
|
-
class BlazorConfigInfo {
|
|
91
|
-
}
|
|
92
|
-
exports.BlazorConfigInfo = BlazorConfigInfo;
|
|
93
|
-
BlazorConfigInfo.webAppName = "webAppName";
|
|
94
|
-
BlazorConfigInfo.appServicePlanName = "appServicePlanName";
|
|
95
|
-
BlazorConfigInfo.webAppEndpoint = "endpoint";
|
|
96
|
-
BlazorConfigInfo.webAppDomain = "domain";
|
|
97
|
-
BlazorConfigInfo.projectFilePath = "projectFilePath";
|
|
98
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceType = exports.AppSettingsKey = exports.BlazorConfigKey = void 0;
|
|
4
|
-
var BlazorConfigKey;
|
|
5
|
-
(function (BlazorConfigKey) {
|
|
6
|
-
/* Config from solution */
|
|
7
|
-
BlazorConfigKey["resourceGroupName"] = "resourceGroupName";
|
|
8
|
-
BlazorConfigKey["subscriptionId"] = "subscriptionId";
|
|
9
|
-
BlazorConfigKey["resourceNameSuffix"] = "resourceNameSuffix";
|
|
10
|
-
BlazorConfigKey["location"] = "location";
|
|
11
|
-
BlazorConfigKey["credential"] = "credential";
|
|
12
|
-
BlazorConfigKey["teamsAppName"] = "teamsAppName";
|
|
13
|
-
/* Config exported by Blazor plugin */
|
|
14
|
-
BlazorConfigKey["webAppName"] = "webAppName";
|
|
15
|
-
BlazorConfigKey["appServicePlanName"] = "appServicePlanName";
|
|
16
|
-
BlazorConfigKey["webAppEndpoint"] = "webAppEndpoint";
|
|
17
|
-
BlazorConfigKey["webAppDomain"] = "webAppDomain";
|
|
18
|
-
BlazorConfigKey["projectFilePath"] = "projectFilePath";
|
|
19
|
-
BlazorConfigKey["webAppResourceId"] = "webAppResourceId";
|
|
20
|
-
/* Intermediate */
|
|
21
|
-
BlazorConfigKey["site"] = "site";
|
|
22
|
-
})(BlazorConfigKey = exports.BlazorConfigKey || (exports.BlazorConfigKey = {}));
|
|
23
|
-
var AppSettingsKey;
|
|
24
|
-
(function (AppSettingsKey) {
|
|
25
|
-
AppSettingsKey["clientSecret"] = "CLIENT_SECRET";
|
|
26
|
-
AppSettingsKey["clientId"] = "CLIENT_ID";
|
|
27
|
-
AppSettingsKey["oauthHost"] = "OAUTH_AUTHORITY";
|
|
28
|
-
AppSettingsKey["tabAppEndpoint"] = "TAB_APP_ENDPOINT";
|
|
29
|
-
AppSettingsKey["aadMetadataAddress"] = "AAD_METADATA_ADDRESS";
|
|
30
|
-
AppSettingsKey["botId"] = "BOT_ID";
|
|
31
|
-
AppSettingsKey["botPassword"] = "BOT_PASSWORD";
|
|
32
|
-
AppSettingsKey["identifierUri"] = "IDENTIFIER_URI";
|
|
33
|
-
})(AppSettingsKey = exports.AppSettingsKey || (exports.AppSettingsKey = {}));
|
|
34
|
-
var ResourceType;
|
|
35
|
-
(function (ResourceType) {
|
|
36
|
-
ResourceType["webApp"] = "Azure Web App";
|
|
37
|
-
ResourceType["appServicePlan"] = "Azure App Service Plan";
|
|
38
|
-
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
39
|
-
//# sourceMappingURL=enum.js.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Site } from "@azure/arm-appservice/esm/models/mappers";
|
|
2
|
-
import { WebSiteManagementClient, WebSiteManagementModels } from "@azure/arm-appservice";
|
|
3
|
-
declare type Site = WebSiteManagementModels.Site;
|
|
4
|
-
export declare function generateWebAppName(appName: string, classSuffix: string, identSuffix: string): string;
|
|
5
|
-
export declare function ensureWebApp(client: WebSiteManagementClient, resourceGroupName: string, location: string, webAppName: string, appServiceId: string): Promise<Site>;
|
|
6
|
-
export declare function ensureAppServicePlan(client: WebSiteManagementClient, resourceGroupName: string, appServicePlanName: string, location: string): Promise<string>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=provision.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provision.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/blazor/ops/provision.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAOzF,aAAK,IAAI,GAAG,uBAAuB,CAAC,IAAI,CAAC;AAazC,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,MAAM,CAGR;AAED,wBAAsB,YAAY,CAChC,MAAM,EAAE,uBAAuB,EAC/B,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAiBf;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,uBAAuB,EAC/B,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,QAAQ,EAAE,MAAM,mBAoBjB"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ensureAppServicePlan = exports.ensureWebApp = exports.generateWebAppName = void 0;
|
|
4
|
-
const constants_1 = require("../constants");
|
|
5
|
-
const azure_client_1 = require("../utils/azure-client");
|
|
6
|
-
const errors_1 = require("../resources/errors");
|
|
7
|
-
const enum_1 = require("../enum");
|
|
8
|
-
function normalize(raw) {
|
|
9
|
-
return raw.replace(constants_1.RegularExpr.allCharToBeSkippedInName, constants_1.Constants.emptyString).toLowerCase();
|
|
10
|
-
}
|
|
11
|
-
function concatName(appName, mergedSuffix) {
|
|
12
|
-
const suffix = normalize(mergedSuffix).substr(0, constants_1.AzureInfo.suffixLenMax);
|
|
13
|
-
const paddingLength = constants_1.AzureInfo.webappNameLenMax - suffix.length;
|
|
14
|
-
const normalizedAppName = normalize(appName).substr(0, paddingLength);
|
|
15
|
-
return normalizedAppName + suffix;
|
|
16
|
-
}
|
|
17
|
-
function generateWebAppName(appName, classSuffix, identSuffix) {
|
|
18
|
-
const mergedSuffix = classSuffix + identSuffix;
|
|
19
|
-
return concatName(appName, mergedSuffix);
|
|
20
|
-
}
|
|
21
|
-
exports.generateWebAppName = generateWebAppName;
|
|
22
|
-
async function ensureWebApp(client, resourceGroupName, location, webAppName, appServiceId) {
|
|
23
|
-
const siteEnvelope = Object.assign(Object.assign({}, constants_1.DefaultProvisionConfigs.webAppConfig(location)), { serverFarmId: appServiceId });
|
|
24
|
-
const site = await errors_1.runWithErrorCatchAndWrap((error) => new errors_1.ProvisionError(enum_1.ResourceType.webApp, error.code), async () => await azure_client_1.AzureLib.ensureWebApp(client, resourceGroupName, webAppName, siteEnvelope));
|
|
25
|
-
if (!site.defaultHostName) {
|
|
26
|
-
// TODO: Logger.error("failToGetWebAppEndpoint");
|
|
27
|
-
throw new errors_1.ProvisionError(enum_1.ResourceType.webApp);
|
|
28
|
-
}
|
|
29
|
-
return site;
|
|
30
|
-
}
|
|
31
|
-
exports.ensureWebApp = ensureWebApp;
|
|
32
|
-
async function ensureAppServicePlan(client, resourceGroupName, appServicePlanName, location) {
|
|
33
|
-
const appServicePlan = await errors_1.runWithErrorCatchAndWrap((error) => new errors_1.ProvisionError(enum_1.ResourceType.appServicePlan, error.code), async () => await azure_client_1.AzureLib.ensureAppServicePlan(client, resourceGroupName, appServicePlanName, constants_1.DefaultProvisionConfigs.appServicePlansConfig(location)));
|
|
34
|
-
const appServicePlanId = appServicePlan.id;
|
|
35
|
-
if (!appServicePlanId) {
|
|
36
|
-
// TODO: Logger.error("failToGetAppServicePlanId");
|
|
37
|
-
throw new errors_1.ProvisionError(enum_1.ResourceType.appServicePlan);
|
|
38
|
-
}
|
|
39
|
-
return appServicePlanId;
|
|
40
|
-
}
|
|
41
|
-
exports.ensureAppServicePlan = ensureAppServicePlan;
|
|
42
|
-
//# sourceMappingURL=provision.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provision.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/blazor/ops/provision.ts"],"names":[],"mappings":";;;AAKA,4CAA0F;AAC1F,wDAAiD;AACjD,gDAA+E;AAC/E,kCAAuC;AAIvC,SAAS,SAAS,CAAC,GAAW;IAC5B,OAAO,GAAG,CAAC,OAAO,CAAC,uBAAW,CAAC,wBAAwB,EAAE,qBAAS,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,CAAC;AAChG,CAAC;AAED,SAAS,UAAU,CAAC,OAAe,EAAE,YAAoB;IACvD,MAAM,MAAM,GAAG,SAAS,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,qBAAS,CAAC,YAAY,CAAC,CAAC;IACzE,MAAM,aAAa,GAAG,qBAAS,CAAC,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IACjE,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC;IACtE,OAAO,iBAAiB,GAAG,MAAM,CAAC;AACpC,CAAC;AAED,SAAgB,kBAAkB,CAChC,OAAe,EACf,WAAmB,EACnB,WAAmB;IAEnB,MAAM,YAAY,GAAW,WAAW,GAAG,WAAW,CAAC;IACvD,OAAO,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;AAC3C,CAAC;AAPD,gDAOC;AAEM,KAAK,UAAU,YAAY,CAChC,MAA+B,EAC/B,iBAAyB,EACzB,QAAgB,EAChB,UAAkB,EAClB,YAAoB;IAEpB,MAAM,YAAY,mCACb,mCAAuB,CAAC,YAAY,CAAC,QAAQ,CAAC,KACjD,YAAY,EAAE,YAAY,GAC3B,CAAC;IAEF,MAAM,IAAI,GAAG,MAAM,iCAAwB,CACzC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,uBAAc,CAAC,mBAAY,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,EAC9D,KAAK,IAAI,EAAE,CAAC,MAAM,uBAAQ,CAAC,YAAY,CAAC,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,YAAY,CAAC,CAC7F,CAAC;IAEF,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;QACzB,iDAAiD;QACjD,MAAM,IAAI,uBAAc,CAAC,mBAAY,CAAC,MAAM,CAAC,CAAC;KAC/C;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAvBD,oCAuBC;AAEM,KAAK,UAAU,oBAAoB,CACxC,MAA+B,EAC/B,iBAAyB,EACzB,kBAA0B,EAC1B,QAAgB;IAEhB,MAAM,cAAc,GAAG,MAAM,iCAAwB,CACnD,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,uBAAc,CAAC,mBAAY,CAAC,cAAc,EAAE,KAAK,CAAC,IAAI,CAAC,EACtE,KAAK,IAAI,EAAE,CACT,MAAM,uBAAQ,CAAC,oBAAoB,CACjC,MAAM,EACN,iBAAiB,EACjB,kBAAkB,EAClB,mCAAuB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CACxD,CACJ,CAAC;IAEF,MAAM,gBAAgB,GAAuB,cAAc,CAAC,EAAE,CAAC;IAC/D,IAAI,CAAC,gBAAgB,EAAE;QACrB,mDAAmD;QACnD,MAAM,IAAI,uBAAc,CAAC,mBAAY,CAAC,cAAc,CAAC,CAAC;KACvD;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAxBD,oDAwBC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { PluginContext, ReadonlyPluginConfig } from "@microsoft/teamsfx-api";
|
|
2
|
-
import { TeamsFxResult } from "./error-factory";
|
|
3
|
-
import { WebSiteManagementModels } from "@azure/arm-appservice";
|
|
4
|
-
declare type Site = WebSiteManagementModels.Site;
|
|
5
|
-
export interface BlazorPluginConfig {
|
|
6
|
-
resourceGroupName?: string;
|
|
7
|
-
subscriptionId?: string;
|
|
8
|
-
resourceNameSuffix?: string;
|
|
9
|
-
location?: string;
|
|
10
|
-
webAppName?: string;
|
|
11
|
-
appServicePlanName?: string;
|
|
12
|
-
endpoint?: string;
|
|
13
|
-
domain?: string;
|
|
14
|
-
projectFilePath?: string;
|
|
15
|
-
webAppResourceId?: string;
|
|
16
|
-
site?: Site;
|
|
17
|
-
}
|
|
18
|
-
export declare class BlazorPluginImpl {
|
|
19
|
-
config: BlazorPluginConfig;
|
|
20
|
-
private syncConfigFromContext;
|
|
21
|
-
private syncConfigToContext;
|
|
22
|
-
private checkAndGet;
|
|
23
|
-
private isPluginEnabled;
|
|
24
|
-
preProvision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
25
|
-
provision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
26
|
-
postProvision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
27
|
-
collectAppSettings(ctx: PluginContext, site: Site): void;
|
|
28
|
-
collectAppSettingsSelf(site: Site): void;
|
|
29
|
-
collectAppSettingsFromBot(site: Site, botConfig: ReadonlyPluginConfig): void;
|
|
30
|
-
collectAppSettingsFromAAD(site: Site, aadConfig: ReadonlyPluginConfig): void;
|
|
31
|
-
pushAppSettings(site: Site, newName: string, newValue: string, replace?: boolean): void;
|
|
32
|
-
deploy(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
35
|
-
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/blazor/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EAGb,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAShC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAwBhE,aAAK,IAAI,GAAG,uBAAuB,CAAC,IAAI,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IAEjC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,qBAAa,gBAAgB;IAC3B,MAAM,EAAE,kBAAkB,CAAM;IAEhC,OAAO,CAAC,qBAAqB;IA2B7B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,eAAe;IAMV,YAAY,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAYxD,SAAS,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAmDrD,aAAa,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAyC/D,kBAAkB,CAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI;IAkBjD,sBAAsB,CAAC,IAAI,EAAE,IAAI;IAKjC,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB;IAcrE,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB;IAiCrE,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,UAAO,GAAG,IAAI;IAsB9E,MAAM,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;CAwChE"}
|