@microsoft/teamsfx-core 1.2.0-rc.1 → 1.2.2-alpha.01e159e5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/armInterface.d.ts +0 -20
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/constants.d.ts +9 -0
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +11 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/deps-checker/constant/message.d.ts +0 -1
- package/build/common/deps-checker/constant/message.d.ts.map +1 -1
- package/build/common/deps-checker/constant/message.js +0 -4
- package/build/common/deps-checker/constant/message.js.map +1 -1
- package/build/common/deps-checker/depsChecker.d.ts +1 -0
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
- package/build/common/deps-checker/depsChecker.js.map +1 -1
- package/build/common/deps-checker/depsLogger.d.ts +10 -0
- package/build/common/deps-checker/depsLogger.d.ts.map +1 -1
- package/build/common/deps-checker/depsLogger.js +26 -0
- package/build/common/deps-checker/depsLogger.js.map +1 -1
- package/build/common/deps-checker/depsManager.d.ts +9 -5
- package/build/common/deps-checker/depsManager.d.ts.map +1 -1
- package/build/common/deps-checker/depsManager.js +29 -17
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/index.d.ts +1 -0
- package/build/common/deps-checker/index.d.ts.map +1 -1
- package/build/common/deps-checker/index.js +1 -0
- package/build/common/deps-checker/index.js.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js +2 -1
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +2 -1
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.d.ts +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.js +2 -4
- package/build/common/deps-checker/internal/ngrokChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts +1 -0
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +11 -1
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- 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/index.d.ts +1 -3
- package/build/common/index.d.ts.map +1 -1
- package/build/common/index.js +1 -3
- package/build/common/index.js.map +1 -1
- package/build/common/local/constants.d.ts +5 -2
- package/build/common/local/constants.d.ts.map +1 -1
- package/build/common/local/constants.js +7 -3
- package/build/common/local/constants.js.map +1 -1
- package/build/common/local/index.d.ts +6 -0
- package/build/common/local/index.d.ts.map +1 -0
- package/build/common/local/index.js +11 -0
- package/build/common/local/index.js.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util/certificate.d.ts → common/local/localCertificateManager.d.ts} +4 -6
- package/build/common/local/localCertificateManager.d.ts.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util/certificate.js → common/local/localCertificateManager.js} +35 -48
- package/build/common/local/localCertificateManager.js.map +1 -0
- package/build/common/local/localEnvManager.d.ts +6 -2
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +42 -2
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/local/packageJsonHelper.d.ts +1 -0
- package/build/common/local/packageJsonHelper.d.ts.map +1 -1
- package/build/common/local/packageJsonHelper.js +29 -1
- package/build/common/local/packageJsonHelper.js.map +1 -1
- package/build/common/local/portChecker.d.ts +2 -2
- package/build/common/local/portChecker.d.ts.map +1 -1
- package/build/common/local/portChecker.js +33 -50
- package/build/common/local/portChecker.js.map +1 -1
- package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.d.ts +0 -0
- package/build/common/local/process.d.ts.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.js +0 -0
- package/build/common/local/process.js.map +1 -0
- package/build/common/local/projectSettingsHelper.d.ts +5 -5
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +28 -21
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/local/taskDefinition.d.ts +1 -8
- package/build/common/local/taskDefinition.d.ts.map +1 -1
- package/build/common/local/taskDefinition.js +8 -56
- package/build/common/local/taskDefinition.js.map +1 -1
- package/build/common/localSettingsConstants.d.ts +3 -2
- package/build/common/localSettingsConstants.d.ts.map +1 -1
- package/build/common/localSettingsConstants.js +4 -3
- package/build/common/localSettingsConstants.js.map +1 -1
- package/build/common/localSettingsProvider.d.ts +3 -3
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +14 -12
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/permissionInterface.d.ts +2 -2
- package/build/common/permissionInterface.d.ts.map +1 -1
- package/build/common/permissionInterface.js +2 -2
- package/build/common/permissionInterface.js.map +1 -1
- package/build/common/projectSettingsValidator.d.ts +4 -0
- package/build/common/projectSettingsValidator.d.ts.map +1 -0
- package/build/common/projectSettingsValidator.js +65 -0
- package/build/common/projectSettingsValidator.js.map +1 -0
- package/build/common/samples-config.json +24 -12
- package/build/common/samples.d.ts +1 -0
- package/build/common/samples.d.ts.map +1 -1
- package/build/common/samples.js +1 -0
- package/build/common/samples.js.map +1 -1
- package/build/common/telemetry.d.ts +10 -3
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +12 -4
- package/build/common/telemetry.js.map +1 -1
- package/build/common/{templates.d.ts → template-utils/templates.d.ts} +0 -0
- package/build/common/template-utils/templates.d.ts.map +1 -0
- package/build/common/{templates.js → template-utils/templates.js} +1 -1
- package/build/common/template-utils/templates.js.map +1 -0
- package/build/common/{templatesActions.d.ts → template-utils/templatesActions.d.ts} +0 -0
- package/build/common/template-utils/templatesActions.d.ts.map +1 -0
- package/build/common/{templatesActions.js → template-utils/templatesActions.js} +5 -5
- package/build/common/template-utils/templatesActions.js.map +1 -0
- package/build/common/{templatesUtils.d.ts → template-utils/templatesUtils.d.ts} +2 -1
- package/build/common/template-utils/templatesUtils.d.ts.map +1 -0
- package/build/common/{templatesUtils.js → template-utils/templatesUtils.js} +26 -8
- package/build/common/template-utils/templatesUtils.js.map +1 -0
- package/build/common/templates-config.json +1 -1
- package/build/common/tools.d.ts +1 -8
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +41 -19
- package/build/common/tools.js.map +1 -1
- package/build/core/downloadSample.js +1 -1
- package/build/core/downloadSample.js.map +1 -1
- package/build/core/environment.d.ts +4 -4
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +23 -2
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +5 -0
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +16 -2
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +2 -3
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +81 -82
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/CommonErrorHandlerMW.d.ts +14 -0
- package/build/core/middleware/CommonErrorHandlerMW.d.ts.map +1 -0
- package/build/core/middleware/CommonErrorHandlerMW.js +55 -0
- package/build/core/middleware/CommonErrorHandlerMW.js.map +1 -0
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +2 -1
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoWriter.js +5 -6
- package/build/core/middleware/envInfoWriter.js.map +1 -1
- package/build/core/middleware/errorHandler.js +2 -1
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/index.d.ts +0 -1
- package/build/core/middleware/index.d.ts.map +1 -1
- package/build/core/middleware/index.js +0 -1
- package/build/core/middleware/index.js.map +1 -1
- package/build/core/middleware/localSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/localSettingsLoader.js +26 -22
- package/build/core/middleware/localSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +3 -17
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts +1 -0
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +9 -5
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +6 -4
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +1 -2
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoader.d.ts.map +1 -1
- package/build/core/middleware/solutionLoader.js +5 -3
- package/build/core/middleware/solutionLoader.js.map +1 -1
- package/build/core/middleware/solutionLoaderV3.js +3 -2
- package/build/core/middleware/solutionLoaderV3.js.map +1 -1
- package/build/core/permissionRequest.js +2 -2
- package/build/core/permissionRequest.js.map +1 -1
- package/build/core/pvm/broker.d.ts +24 -0
- package/build/core/pvm/broker.d.ts.map +1 -0
- package/build/core/pvm/broker.js +93 -0
- package/build/core/pvm/broker.js.map +1 -0
- package/build/core/pvm/constant.d.ts +11 -0
- package/build/core/pvm/constant.d.ts.map +1 -0
- package/build/core/pvm/constant.js +14 -0
- package/build/core/pvm/constant.js.map +1 -0
- package/build/core/pvm/depot.d.ts +43 -0
- package/build/core/pvm/depot.d.ts.map +1 -0
- package/build/core/pvm/depot.js +243 -0
- package/build/core/pvm/depot.js.map +1 -0
- package/build/core/pvm/pvm.d.ts +50 -0
- package/build/core/pvm/pvm.d.ts.map +1 -0
- package/build/core/pvm/pvm.js +92 -0
- package/build/core/pvm/pvm.js.map +1 -0
- package/build/core/pvm/type.d.ts +11 -0
- package/build/core/pvm/type.d.ts.map +1 -0
- package/build/{plugins/resource/apim/interfaces/IApimResource.js → core/pvm/type.js} +1 -1
- package/build/core/pvm/type.js.map +1 -0
- package/build/core/pvm/utility.d.ts +2 -0
- package/build/core/pvm/utility.d.ts.map +1 -0
- package/build/core/pvm/utility.js +10 -0
- package/build/core/pvm/utility.js.map +1 -0
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +7 -4
- package/build/core/question.js.map +1 -1
- package/build/core/tools.d.ts +1 -2
- package/build/core/tools.d.ts.map +1 -1
- package/build/core/tools.js +3 -31
- package/build/core/tools.js.map +1 -1
- package/build/core/utils.d.ts +4 -0
- package/build/core/utils.d.ts.map +1 -0
- package/build/core/utils.js +14 -0
- package/build/core/utils.js.map +1 -0
- package/build/plugins/resource/aad/aadAppClient.d.ts +9 -9
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +30 -31
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/errors.d.ts.map +1 -1
- package/build/plugins/resource/aad/errors.js +1 -2
- package/build/plugins/resource/aad/errors.js.map +1 -1
- package/build/plugins/resource/aad/index.d.ts +1 -0
- package/build/plugins/resource/aad/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/index.js +6 -1
- package/build/plugins/resource/aad/index.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 +4 -3
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +46 -59
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/common.d.ts +8 -4
- package/build/plugins/resource/aad/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/common.js +70 -31
- package/build/plugins/resource/aad/utils/common.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts +10 -1
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +252 -38
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/aad/utils/telemetry.d.ts +0 -1
- package/build/plugins/resource/aad/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/telemetry.js +10 -17
- package/build/plugins/resource/aad/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts +6 -2
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.js +11 -11
- package/build/plugins/resource/aad/utils/tokenProvider.js.map +1 -1
- package/build/plugins/resource/aad/v2/index.d.ts +12 -13
- package/build/plugins/resource/aad/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v2/index.js +2 -1
- package/build/plugins/resource/aad/v2/index.js.map +1 -1
- package/build/plugins/resource/aad/v3/index.d.ts +24 -0
- package/build/plugins/resource/aad/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/aad/v3/index.js +248 -0
- package/build/plugins/resource/aad/v3/index.js.map +1 -0
- package/build/plugins/resource/apim/answer.d.ts +0 -6
- package/build/plugins/resource/apim/answer.d.ts.map +1 -1
- package/build/plugins/resource/apim/answer.js +6 -45
- package/build/plugins/resource/apim/answer.js.map +1 -1
- package/build/plugins/resource/apim/config.d.ts +0 -12
- package/build/plugins/resource/apim/config.d.ts.map +1 -1
- package/build/plugins/resource/apim/config.js +0 -24
- package/build/plugins/resource/apim/config.js.map +1 -1
- package/build/plugins/resource/apim/constants.d.ts +1 -30
- package/build/plugins/resource/apim/constants.d.ts.map +1 -1
- package/build/plugins/resource/apim/constants.js +37 -74
- package/build/plugins/resource/apim/constants.js.map +1 -1
- package/build/plugins/resource/apim/error.d.ts +0 -1
- package/build/plugins/resource/apim/error.d.ts.map +1 -1
- package/build/plugins/resource/apim/error.js +2 -10
- package/build/plugins/resource/apim/error.js.map +1 -1
- package/build/plugins/resource/apim/factory.d.ts.map +1 -1
- package/build/plugins/resource/apim/factory.js +2 -5
- package/build/plugins/resource/apim/factory.js.map +1 -1
- package/build/plugins/resource/apim/index.d.ts +0 -1
- package/build/plugins/resource/apim/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/index.js +1 -24
- package/build/plugins/resource/apim/index.js.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.d.ts +2 -3
- package/build/plugins/resource/apim/managers/apimManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.js +23 -63
- package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.d.ts +2 -8
- package/build/plugins/resource/apim/managers/questionManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.js +2 -28
- package/build/plugins/resource/apim/managers/questionManager.js.map +1 -1
- package/build/plugins/resource/apim/questions/cliQuestion.d.ts +0 -8
- package/build/plugins/resource/apim/questions/cliQuestion.d.ts.map +1 -1
- package/build/plugins/resource/apim/questions/cliQuestion.js +1 -33
- package/build/plugins/resource/apim/questions/cliQuestion.js.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.d.ts +0 -6
- package/build/plugins/resource/apim/questions/vscodeQuestion.d.ts.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.js +7 -56
- package/build/plugins/resource/apim/questions/vscodeQuestion.js.map +1 -1
- package/build/plugins/resource/apim/services/apimService.d.ts +1 -12
- package/build/plugins/resource/apim/services/apimService.d.ts.map +1 -1
- package/build/plugins/resource/apim/services/apimService.js +0 -112
- package/build/plugins/resource/apim/services/apimService.js.map +1 -1
- package/build/plugins/resource/apim/utils/commonUtils.d.ts +1 -1
- package/build/plugins/resource/apim/utils/commonUtils.js +3 -3
- package/build/plugins/resource/apim/utils/namingRules.d.ts +0 -4
- package/build/plugins/resource/apim/utils/namingRules.d.ts.map +1 -1
- package/build/plugins/resource/apim/utils/namingRules.js +0 -32
- package/build/plugins/resource/apim/utils/namingRules.js.map +1 -1
- package/build/plugins/resource/apim/v2/index.d.ts +5 -7
- package/build/plugins/resource/apim/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/v2/index.js +2 -7
- package/build/plugins/resource/apim/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +3 -0
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +3 -0
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +5 -2
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +82 -11
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +2 -36
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +1 -31
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +27 -11
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +4 -0
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +66 -15
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts +8 -4
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +13 -12
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +5 -5
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +2 -1
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +11 -4
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +76 -16
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/bot/aadRegistration.d.ts.map +1 -1
- package/build/plugins/resource/bot/aadRegistration.js +5 -4
- package/build/plugins/resource/bot/aadRegistration.js.map +1 -1
- package/build/plugins/resource/bot/configs/provisionConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/provisionConfig.js +0 -10
- package/build/plugins/resource/bot/configs/provisionConfig.js.map +1 -1
- package/build/plugins/resource/bot/dotnet/constants.d.ts +5 -0
- package/build/plugins/resource/bot/dotnet/constants.d.ts.map +1 -0
- package/build/plugins/resource/bot/dotnet/constants.js +13 -0
- package/build/plugins/resource/bot/dotnet/constants.js.map +1 -0
- package/build/plugins/resource/bot/dotnet/plugin.d.ts +14 -0
- package/build/plugins/resource/bot/dotnet/plugin.d.ts.map +1 -0
- package/build/plugins/resource/bot/dotnet/plugin.js +62 -0
- package/build/plugins/resource/bot/dotnet/plugin.js.map +1 -0
- package/build/plugins/resource/bot/enums/programmingLanguage.d.ts +2 -1
- package/build/plugins/resource/bot/enums/programmingLanguage.d.ts.map +1 -1
- package/build/plugins/resource/bot/enums/programmingLanguage.js +1 -0
- package/build/plugins/resource/bot/enums/programmingLanguage.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts +5 -0
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +24 -13
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/interface.d.ts +16 -0
- package/build/plugins/resource/bot/interface.d.ts.map +1 -0
- package/build/plugins/resource/bot/interface.js +5 -0
- package/build/plugins/resource/bot/interface.js.map +1 -0
- package/build/plugins/resource/bot/languageStrategy.d.ts +1 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.js +1 -1
- package/build/plugins/resource/bot/languageStrategy.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts +2 -1
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +16 -135
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/v2/index.d.ts +5 -5
- package/build/plugins/resource/bot/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/index.js +2 -1
- package/build/plugins/resource/bot/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/configs.d.ts +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 -8
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +3 -11
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.d.ts +56 -0
- package/build/plugins/resource/frontend/dotnet/constants.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/constants.js +73 -0
- package/build/plugins/resource/frontend/dotnet/constants.js.map +1 -0
- 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/dotnet/ops/deploy.d.ts.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js +19 -6
- package/build/plugins/resource/frontend/dotnet/ops/deploy.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +32 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js +132 -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/dotnet/resources/messages.d.ts +24 -0
- package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/messages.js +33 -0
- package/build/plugins/resource/frontend/dotnet/resources/messages.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.d.ts +3 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.js +16 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.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/index.d.ts +6 -4
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +29 -49
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/interface.d.ts +13 -0
- package/build/plugins/resource/frontend/interface.d.ts.map +1 -0
- package/build/plugins/resource/frontend/interface.js +5 -0
- package/build/plugins/resource/frontend/interface.js.map +1 -0
- package/build/plugins/resource/frontend/ops/deploy.d.ts +3 -0
- package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.js +58 -14
- package/build/plugins/resource/frontend/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.d.ts +0 -10
- package/build/plugins/resource/frontend/ops/scaffold.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.js +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts +3 -3
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +27 -58
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +23 -20
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +31 -67
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/resources/steps.d.ts +7 -0
- package/build/plugins/resource/frontend/resources/steps.d.ts.map +1 -0
- package/build/plugins/resource/frontend/resources/steps.js +41 -0
- package/build/plugins/resource/frontend/resources/steps.js.map +1 -0
- package/build/plugins/resource/frontend/resources/templateInfo.d.ts +4 -3
- package/build/plugins/resource/frontend/resources/templateInfo.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/templateInfo.js +9 -8
- package/build/plugins/resource/frontend/resources/templateInfo.js.map +1 -1
- package/build/plugins/resource/frontend/utils/logger.d.ts +3 -1
- package/build/plugins/resource/frontend/utils/logger.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/logger.js +9 -6
- package/build/plugins/resource/frontend/utils/logger.js.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts +9 -43
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.js +9 -100
- package/build/plugins/resource/frontend/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/frontend/v2/index.d.ts +5 -5
- package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v2/index.js +5 -4
- package/build/plugins/resource/frontend/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.d.ts +15 -0
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js +149 -0
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js.map +1 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts +8 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.js +95 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.js.map +1 -0
- package/build/plugins/resource/frontend/v3/error.d.ts +23 -0
- package/build/plugins/resource/frontend/v3/error.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/error.js +66 -0
- package/build/plugins/resource/frontend/v3/error.js.map +1 -0
- package/build/plugins/resource/frontend/v3/index.d.ts +3 -0
- package/build/plugins/resource/frontend/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/index.js +7 -0
- package/build/plugins/resource/frontend/v3/index.js.map +1 -0
- 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 -21
- package/build/plugins/resource/function/index.js.map +1 -1
- package/build/plugins/resource/function/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/function/ops/deploy.js +8 -9
- package/build/plugins/resource/function/ops/deploy.js.map +1 -1
- package/build/plugins/resource/function/ops/scaffold.js +1 -1
- package/build/plugins/resource/function/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +35 -138
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/resources/message.d.ts +0 -1
- package/build/plugins/resource/function/resources/message.d.ts.map +1 -1
- package/build/plugins/resource/function/resources/message.js +0 -1
- package/build/plugins/resource/function/resources/message.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts +11 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts.map +1 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js +48 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js.map +1 -0
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts +6 -4
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js +15 -8
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts +4 -3
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js +5 -4
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/function/v2/index.d.ts +5 -5
- package/build/plugins/resource/function/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/function/v2/index.js +2 -1
- package/build/plugins/resource/function/v2/index.js.map +1 -1
- package/build/plugins/resource/identity/index.d.ts +0 -1
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +3 -22
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/identity/v2/index.d.ts +4 -4
- package/build/plugins/resource/identity/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/v2/index.js +2 -1
- package/build/plugins/resource/identity/v2/index.js.map +1 -1
- package/build/plugins/resource/keyvault/plugin.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/plugin.js +1 -2
- package/build/plugins/resource/keyvault/plugin.js.map +1 -1
- package/build/plugins/resource/keyvault/v2/index.d.ts +2 -2
- package/build/plugins/resource/keyvault/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/v2/index.js +2 -1
- package/build/plugins/resource/keyvault/v2/index.js.map +1 -1
- package/build/plugins/resource/localdebug/constants.d.ts +0 -1
- package/build/plugins/resource/localdebug/constants.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/constants.js +0 -1
- package/build/plugins/resource/localdebug/constants.js.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.d.ts +2 -2
- package/build/plugins/resource/localdebug/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.js +3 -5
- package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/index.js +6 -11
- package/build/plugins/resource/simpleauth/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +4 -9
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.d.ts +4 -4
- package/build/plugins/resource/simpleauth/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.js +2 -1
- package/build/plugins/resource/simpleauth/v2/index.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/spfx/v2/index.d.ts +2 -2
- package/build/plugins/resource/spfx/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/v2/index.js +2 -1
- package/build/plugins/resource/spfx/v2/index.js.map +1 -1
- package/build/plugins/resource/sql/config.d.ts +1 -0
- package/build/plugins/resource/sql/config.d.ts.map +1 -1
- package/build/plugins/resource/sql/config.js +1 -0
- package/build/plugins/resource/sql/config.js.map +1 -1
- package/build/plugins/resource/sql/constants.d.ts +3 -3
- package/build/plugins/resource/sql/constants.d.ts.map +1 -1
- package/build/plugins/resource/sql/constants.js +3 -3
- package/build/plugins/resource/sql/constants.js.map +1 -1
- package/build/plugins/resource/sql/errors.d.ts +1 -17
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +1 -17
- package/build/plugins/resource/sql/errors.js.map +1 -1
- package/build/plugins/resource/sql/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/index.js +11 -11
- package/build/plugins/resource/sql/index.js.map +1 -1
- package/build/plugins/resource/sql/managementClient.d.ts +0 -4
- package/build/plugins/resource/sql/managementClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/managementClient.js +14 -70
- package/build/plugins/resource/sql/managementClient.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts +4 -2
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +77 -123
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +2 -2
- package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/sqlClient.js +13 -12
- package/build/plugins/resource/sql/sqlClient.js.map +1 -1
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts +0 -5
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/dialogUtils.js +1 -7
- package/build/plugins/resource/sql/utils/dialogUtils.js.map +1 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -10
- package/build/plugins/resource/sql/utils/message.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/message.js +0 -10
- package/build/plugins/resource/sql/utils/message.js.map +1 -1
- package/build/plugins/resource/sql/v2/index.d.ts +5 -5
- package/build/plugins/resource/sql/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/v2/index.js +2 -1
- package/build/plugins/resource/sql/v2/index.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts +17 -21
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +12 -36
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts +3 -3
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +7 -6
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +9 -2
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +74 -30
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +4 -3
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +11 -17
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +3 -4
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +4 -5
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.d.ts +0 -5
- package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.js +1 -7
- package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +19 -10
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +2 -2
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +5 -3
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.js +1 -4
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +2 -2
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +32 -22
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts +2 -1
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +48 -29
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts +31 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js +222 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js.map +1 -0
- 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/checkPermission.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +32 -15
- package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +1 -3
- 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 -3
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +3 -3
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +218 -122
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js +9 -16
- 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 +88 -99
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.js +33 -16
- package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js +26 -11
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts +2 -3
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +98 -130
- 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 +1 -6
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.js +2 -2
- package/build/plugins/solution/fx-solution/v2/publish.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 +23 -9
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.js +0 -2
- package/build/plugins/solution/fx-solution/v2/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts +6 -6
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +16 -16
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts +2 -4
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addModule.js +29 -6
- package/build/plugins/solution/fx-solution/v3/addModule.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts +6 -14
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addResource.js +33 -58
- package/build/plugins/solution/fx-solution/v3/addResource.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +2 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.js +3 -1
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts +1 -3
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/init.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/init.js +9 -1
- package/build/plugins/solution/fx-solution/v3/init.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +13 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +232 -16
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js +77 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +8 -13
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.js +30 -52
- package/build/plugins/solution/fx-solution/v3/scaffold.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.d.ts +5 -0
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.js +10 -0
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.js.map +1 -0
- package/build/plugins/solution/spfx-solution/addModule.d.ts +2 -4
- package/build/plugins/solution/spfx-solution/addModule.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/addModule.js +1 -1
- package/build/plugins/solution/spfx-solution/addModule.js.map +1 -1
- package/build/plugins/solution/spfx-solution/init.js +3 -4
- package/build/plugins/solution/spfx-solution/init.js.map +1 -1
- package/build/plugins/solution/spfx-solution/scaffold.d.ts +2 -10
- package/build/plugins/solution/spfx-solution/scaffold.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/scaffold.js +3 -39
- package/build/plugins/solution/spfx-solution/scaffold.js.map +1 -1
- package/build/plugins/solution/spfx-solution/solution.d.ts +12 -17
- package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/solution.js +7 -7
- package/build/plugins/solution/spfx-solution/solution.js.map +1 -1
- package/package.json +21 -10
- package/resource/strings.json +50 -8
- package/templates/plugins/resource/apim/bicep/apimConfiguration.bicep +1 -0
- package/templates/plugins/resource/apim/bicep/apimProvision.bicep +7 -5
- package/templates/plugins/resource/apim/bicep/config.template.bicep +1 -0
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +12 -12
- package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +15 -11
- package/templates/plugins/resource/bot/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/bot/bot-msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot-msgext.ts.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.ts.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.ts.default.zip +0 -0
- package/templates/plugins/resource/botservice/bicep/botServiceProvision.template.bicep +34 -0
- package/templates/plugins/resource/botservice/bicep/parameters.json +4 -0
- package/templates/plugins/resource/botservice/bicep/provision.template.bicep +13 -0
- package/templates/plugins/resource/frontend/bicep/frontendHostingProvision.bicep +4 -2
- package/templates/plugins/resource/frontend/bicep/provision.template.bicep +1 -0
- package/templates/plugins/resource/frontend/tab.js.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.ts.default.zip +0 -0
- package/templates/plugins/resource/function/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +15 -15
- package/templates/plugins/resource/function/bicep/functionProvision.template.bicep +17 -14
- package/templates/plugins/resource/function/function-base.js.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +2 -1
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +9 -7
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +7 -7
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +9 -6
- package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +5 -0
- package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +15 -0
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +9 -5
- package/templates/plugins/resource/storage/bicep/azureStorageProvision.bicep +25 -0
- package/templates/plugins/resource/storage/bicep/provision.template.bicep +15 -0
- package/templates/plugins/resource/webapp/bicep/config.template.bicep +10 -0
- package/templates/plugins/resource/webapp/bicep/provision.template.bicep +16 -0
- package/templates/plugins/resource/webapp/bicep/webappConfiguration.template.bicep +74 -0
- package/templates/plugins/resource/webapp/bicep/webappProvision.template.bicep +48 -0
- package/templates/plugins/solution/{main.bicep → mainConfig.bicep} +0 -12
- package/templates/plugins/solution/mainProvision.bicep +10 -0
- package/build/common/templates.d.ts.map +0 -1
- package/build/common/templates.js.map +0 -1
- package/build/common/templatesActions.d.ts.map +0 -1
- package/build/common/templatesActions.js.map +0 -1
- package/build/common/templatesUtils.d.ts.map +0 -1
- package/build/common/templatesUtils.js.map +0 -1
- package/build/core/middleware/projectSettingsLoaderV3.d.ts +0 -4
- package/build/core/middleware/projectSettingsLoaderV3.d.ts.map +0 -1
- package/build/core/middleware/projectSettingsLoaderV3.js +0 -49
- package/build/core/middleware/projectSettingsLoaderV3.js.map +0 -1
- package/build/core/middleware/projectUpgrader.d.ts +0 -6
- package/build/core/middleware/projectUpgrader.d.ts.map +0 -1
- package/build/core/middleware/projectUpgrader.js +0 -224
- package/build/core/middleware/projectUpgrader.js.map +0 -1
- package/build/plugins/resource/apim/interfaces/IApimResource.d.ts +0 -5
- package/build/plugins/resource/apim/interfaces/IApimResource.d.ts.map +0 -1
- package/build/plugins/resource/apim/interfaces/IApimResource.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/constants.d.ts +0 -75
- package/build/plugins/resource/frontend/blazor/constants.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/constants.js +0 -98
- package/build/plugins/resource/frontend/blazor/constants.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/enum.js +0 -39
- package/build/plugins/resource/frontend/blazor/ops/deploy.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/ops/deploy.js.map +0 -1
- 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 +0 -13
- package/build/plugins/resource/frontend/blazor/resources/messages.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/messages.js +0 -20
- 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/function/utils/depsChecker/backendExtensionsInstall.d.ts +0 -9
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js +0 -55
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts +0 -54
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.js +0 -104
- package/build/plugins/resource/function/utils/depsChecker/checker.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts +0 -84
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/common.js +0 -136
- package/build/plugins/resource/function/utils/depsChecker/common.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts +0 -22
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.js +0 -105
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts +0 -53
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js +0 -387
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/errors.d.ts +0 -14
- package/build/plugins/resource/function/utils/depsChecker/errors.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/errors.js +0 -41
- package/build/plugins/resource/function/utils/depsChecker/errors.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts +0 -26
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js +0 -111
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/certificate.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/certificate.js.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/process.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/process.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.js +0 -118
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.js.map +0 -1
- package/resource/plugins/resource/function/dotnet-install.ps1 +0 -1095
- package/resource/plugins/resource/function/dotnet-install.sh +0 -1222
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/v2/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/v2/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAyBlC,mCAAyC;AACzC,0BAA8B;AAC9B,mGAG+D;AAC/D,6CAUwB;AAGxB,IAAa,WAAW,GAAxB,MAAa,WAAW;IA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EACb,aAAa,EACb,IAAI,CAAC,MAAM,CACZ,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,sBAAsB,CAC1B,GAAY,EACZ,MAAc,EACd,aAAmB,EACnB,aAA4B;QAE5B,OAAO,MAAM,wCAA6B,CACxC,GAAG,EACH,MAAM,EACN,aAAa,EACb,aAAa,EACb,IAAI,CAAC,MAAM,CACZ,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,MAAM,CACV,GAAY,EACZ,MAAwB,EACxB,OAAmC,EACnC,aAA4B;QAE5B,OAAO,MAAM,wBAAa,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/E,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,GAAY,EACZ,MAAc,EACd,IAAU,EACV,aAAmB,EACnB,OAAqB,EACrB,aAA4B;QAE5B,OAAO,MAAM,iCAAsB,CACjC,GAAG,EACH,MAAM,EACN,IAAI,EACJ,aAAa,EACb,OAAO,EACP,aAAa,EACb,IAAI,CAAC,MAAM,CACZ,CAAC;IACJ,CAAC;CACF,CAAA;AAjGC;IADC,eAAM,CAAC,yCAAe,CAAC,SAAS,CAAC;sCACzB,YAAQ;2CAAC;AAJP,WAAW;IADvB,gBAAO,CAAC,2CAAiB,CAAC,SAAS,CAAC;GACxB,WAAW,CAqGvB;AArGY,kCAAW"}
|
|
@@ -9,7 +9,7 @@ export declare class FrontendConfig {
|
|
|
9
9
|
storageResourceId?: string;
|
|
10
10
|
endpoint?: string;
|
|
11
11
|
domain?: string;
|
|
12
|
-
|
|
12
|
+
constructor(subscriptionId: string, resourceGroupName: string, location: string, storageName: string, credentials: TokenCredentialsBase);
|
|
13
13
|
static fromPluginContext(ctx: PluginContext): Promise<FrontendConfig>;
|
|
14
14
|
syncToPluginContext(ctx: PluginContext): void;
|
|
15
15
|
static getStorageName(ctx: PluginContext): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configs.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/configs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAwB,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"configs.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/configs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAwB,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAe/D,qBAAa,cAAc;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,oBAAoB,CAAC;IAElC,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;gBAGd,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,oBAAoB;WAStB,iBAAiB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAkBpE,mBAAmB,CAAC,GAAG,EAAE,aAAa,GAAG,IAAI;IAUpD,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM;IAwBjD,MAAM,CAAC,oBAAoB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM;IAQvD,MAAM,CAAC,iBAAiB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM;IAQpD,MAAM,CAAC,oBAAoB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM;IAQvD,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAqC;IAExE,OAAO,CAAC,MAAM,CAAC,SAAS;IAQxB,OAAO,CAAC,MAAM,CAAC,oBAAoB;CAMpC"}
|
|
@@ -33,9 +33,7 @@ class FrontendConfig {
|
|
|
33
33
|
static getStorageName(ctx) {
|
|
34
34
|
let result;
|
|
35
35
|
try {
|
|
36
|
-
result = __1.
|
|
37
|
-
? __1.getStorageAccountNameFromResourceId(FrontendConfig.getStorageResourceId(ctx))
|
|
38
|
-
: ctx.config.getString(constants_1.FrontendConfigInfo.StorageName);
|
|
36
|
+
result = __1.getStorageAccountNameFromResourceId(FrontendConfig.getStorageResourceId(ctx));
|
|
39
37
|
}
|
|
40
38
|
catch (e) {
|
|
41
39
|
throw new errors_1.InvalidConfigError(constants_1.FrontendConfigInfo.StorageName, e.message);
|
|
@@ -57,18 +55,14 @@ class FrontendConfig {
|
|
|
57
55
|
return result;
|
|
58
56
|
}
|
|
59
57
|
static getSubscriptionId(ctx) {
|
|
60
|
-
const result = __1.
|
|
61
|
-
? __1.getSubscriptionIdFromResourceId(FrontendConfig.getStorageResourceId(ctx))
|
|
62
|
-
: FrontendConfig.getConfig(constants_1.DependentPluginInfo.SubscriptionId, ctx.envInfo.state.get(constants_1.DependentPluginInfo.SolutionPluginName));
|
|
58
|
+
const result = __1.getSubscriptionIdFromResourceId(FrontendConfig.getStorageResourceId(ctx));
|
|
63
59
|
if (!result) {
|
|
64
60
|
throw new errors_1.InvalidConfigError(constants_1.DependentPluginInfo.SubscriptionId);
|
|
65
61
|
}
|
|
66
62
|
return result;
|
|
67
63
|
}
|
|
68
64
|
static getResourceGroupName(ctx) {
|
|
69
|
-
const result = __1.
|
|
70
|
-
? __1.getResourceGroupNameFromResourceId(FrontendConfig.getStorageResourceId(ctx))
|
|
71
|
-
: FrontendConfig.getConfig(constants_1.DependentPluginInfo.ResourceGroupName, ctx.envInfo.state.get(constants_1.DependentPluginInfo.SolutionPluginName));
|
|
65
|
+
const result = __1.getResourceGroupNameFromResourceId(FrontendConfig.getStorageResourceId(ctx));
|
|
72
66
|
if (!result) {
|
|
73
67
|
throw new errors_1.InvalidConfigError(constants_1.DependentPluginInfo.ResourceGroupName);
|
|
74
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configs.js","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/configs.ts"],"names":[],"mappings":";;;AAKA,2CAA8F;AAC9F,+CAI4B;AAC5B,mCAAgC;AAChC,
|
|
1
|
+
{"version":3,"file":"configs.js","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/configs.ts"],"names":[],"mappings":";;;AAKA,2CAA8F;AAC9F,+CAI4B;AAC5B,mCAAgC;AAChC,gCAIkB;AAElB,MAAa,cAAc;IAWzB,YACE,cAAsB,EACtB,iBAAyB,EACzB,QAAgB,EAChB,WAAmB,EACnB,WAAiC;QAEjC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,GAAkB;;QAC/C,MAAM,WAAW,GAAG,MAAM,CAAA,MAAA,GAAG,CAAC,oBAAoB,0CAAE,yBAAyB,EAAE,CAAA,CAAC;QAChF,IAAI,CAAC,WAAW,EAAE;YAChB,MAAM,IAAI,6BAAoB,EAAE,CAAC;SAClC;QAED,OAAO,IAAI,cAAc,CACvB,cAAc,CAAC,iBAAiB,CAAC,GAAG,CAAC,EACrC,cAAc,CAAC,oBAAoB,CAAC,GAAG,CAAC,EACxC,cAAc,CAAC,SAAS,CACtB,+BAAmB,CAAC,QAAQ,EAC5B,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,+BAAmB,CAAC,kBAAkB,CAAC,CAC9D,EACD,cAAc,CAAC,cAAc,CAAC,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AAM,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC7B,CAAC;;AApHH,wCAqHC;AAhBgB,mCAAoB,GAAG,MAAM,CAAC,MAAM,CAAC,8BAAkB,CAAC,CAAC"}
|
|
@@ -8,6 +8,7 @@ export declare class Constants {
|
|
|
8
8
|
static FrontendIndexDocument: string;
|
|
9
9
|
static FrontendErrorDocument: string;
|
|
10
10
|
static FrontendSuffix: string;
|
|
11
|
+
static FrontendIndexPath: string;
|
|
11
12
|
static EmptyString: string;
|
|
12
13
|
static DayInMS: number;
|
|
13
14
|
static SasTokenLifetimePadding: number;
|
|
@@ -85,6 +86,7 @@ export declare class TelemetryEvent {
|
|
|
85
86
|
static readonly GenerateArmTemplates = "generate-arm-templates";
|
|
86
87
|
static readonly UpdateArmTemplates = "update-arm-templates";
|
|
87
88
|
static readonly ExecuteUserTask = "execute-user-task";
|
|
89
|
+
static readonly LocalDebug = "local-debug";
|
|
88
90
|
static readonly SaveEnvFile = "frontend-save-env-file";
|
|
89
91
|
static readonly LoadEnvFile = "frontend-load-env-file";
|
|
90
92
|
}
|
|
@@ -102,17 +104,9 @@ export declare class TelemetryValue {
|
|
|
102
104
|
static readonly UserError = "user";
|
|
103
105
|
static readonly SystemError = "system";
|
|
104
106
|
}
|
|
105
|
-
export declare class AzureErrorCode {
|
|
106
|
-
static readonly ReservedResourceName = "ReservedResourceName";
|
|
107
|
-
static readonly StorageAccountAlreadyTaken = "StorageAccountAlreadyTaken";
|
|
108
|
-
static readonly StorageAccountAlreadyExists = "StorageAccountAlreadyExists";
|
|
109
|
-
}
|
|
110
107
|
export declare class RegularExpr {
|
|
111
108
|
static readonly AllCharToBeSkippedInName: RegExp;
|
|
112
109
|
static readonly FrontendStorageNamePattern: RegExp;
|
|
113
110
|
static readonly ReplaceTemplateExt: RegExp;
|
|
114
111
|
}
|
|
115
|
-
export declare class AzureInfo {
|
|
116
|
-
static readonly RequiredResourceProviders: string[];
|
|
117
|
-
}
|
|
118
112
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/constants.ts"],"names":[],"mappings":"AAKA,qBAAa,SAAS;IACpB,MAAM,CAAC,uBAAuB,SAAc;IAC5C,MAAM,CAAC,sBAAsB,SAAkB;IAC/C,MAAM,CAAC,uBAAuB,SAAe;IAC7C,MAAM,CAAC,6BAA6B,SAAM;IAC1C,MAAM,CAAC,wBAAwB,SAAU;IACzC,MAAM,CAAC,YAAY,SAAM;IAEzB,MAAM,CAAC,qBAAqB,SAAgB;IAC5C,MAAM,CAAC,qBAAqB,SAAgB;IAC5C,MAAM,CAAC,cAAc,SAAQ;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/constants.ts"],"names":[],"mappings":"AAKA,qBAAa,SAAS;IACpB,MAAM,CAAC,uBAAuB,SAAc;IAC5C,MAAM,CAAC,sBAAsB,SAAkB;IAC/C,MAAM,CAAC,uBAAuB,SAAe;IAC7C,MAAM,CAAC,6BAA6B,SAAM;IAC1C,MAAM,CAAC,wBAAwB,SAAU;IACzC,MAAM,CAAC,YAAY,SAAM;IAEzB,MAAM,CAAC,qBAAqB,SAAgB;IAC5C,MAAM,CAAC,qBAAqB,SAAgB;IAC5C,MAAM,CAAC,cAAc,SAAQ;IAC7B,MAAM,CAAC,iBAAiB,SAA0C;IAElE,MAAM,CAAC,WAAW,SAAM;IAExB,MAAM,CAAC,OAAO,SAAuB;IACrC,MAAM,CAAC,uBAAuB,SAAqB;IACnD,MAAM,CAAC,gBAAgB,SAAyB;IAEhD,MAAM,CAAC,gBAAgB,SAAK;IAC5B,MAAM,CAAC,kBAAkB,SAAa;IACtC,MAAM,CAAC,iBAAiB,SAAK;CAC9B;AAED,qBAAa,kBAAkB;IAC7B,MAAM,CAAC,UAAU,SAAkC;IACnD,MAAM,CAAC,WAAW,SAAkB;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AiB;IAE3C,MAAM,CAAC,QAAQ,CAAC,WAAW,4BAA4B;IACvD,MAAM,CAAC,QAAQ,CAAC,WAAW,4BAA4B;CACxD;AAED,qBAAa,YAAY;IACvB,MAAM,CAAC,QAAQ,CAAC,SAAS,eAAe;IACxC,MAAM,CAAC,QAAQ,CAAC,OAAO,aAAa;IACpC,MAAM,CAAC,QAAQ,CAAC,SAAS,gBAAgB;IACzC,MAAM,CAAC,QAAQ,CAAC,YAAY,mBAAmB;IAC/C,MAAM,CAAC,QAAQ,CAAC,SAAS,gBAAgB;IACzC,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAW;CACjC;AAED,qBAAa,cAAc;IACzB,MAAM,CAAC,QAAQ,CAAC,OAAO,SAAS;IAChC,MAAM,CAAC,QAAQ,CAAC,IAAI,QAAQ;IAC5B,MAAM,CAAC,QAAQ,CAAC,SAAS,UAAU;IACnC,MAAM,CAAC,QAAQ,CAAC,WAAW,YAAY;CACxC;AAED,qBAAa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,wBAAwB,SAAmB;IAC3D,MAAM,CAAC,QAAQ,CAAC,0BAA0B,SAAsB;IAChE,MAAM,CAAC,QAAQ,CAAC,kBAAkB,SAAY;CAC/C"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT license.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.RegularExpr = exports.TelemetryValue = exports.TelemetryKey = exports.TelemetryEvent = exports.FrontendOutputBicepSnippet = exports.FrontendConfigInfo = exports.DependentPluginInfo = exports.FrontendPathInfo = exports.Commands = exports.FrontendPluginInfo = exports.Constants = void 0;
|
|
6
6
|
const tslib_1 = require("tslib");
|
|
7
7
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
8
8
|
class Constants {
|
|
@@ -17,6 +17,7 @@ Constants.SuffixLenMax = 12;
|
|
|
17
17
|
Constants.FrontendIndexDocument = "index.html";
|
|
18
18
|
Constants.FrontendErrorDocument = "index.html";
|
|
19
19
|
Constants.FrontendSuffix = "fe";
|
|
20
|
+
Constants.FrontendIndexPath = `/${Constants.FrontendIndexDocument}#`;
|
|
20
21
|
Constants.EmptyString = "";
|
|
21
22
|
Constants.DayInMS = 1000 * 60 * 60 * 24;
|
|
22
23
|
Constants.SasTokenLifetimePadding = Constants.DayInMS;
|
|
@@ -105,6 +106,7 @@ TelemetryEvent.DeploymentInfoNotFound = "deployment-info-not-found";
|
|
|
105
106
|
TelemetryEvent.GenerateArmTemplates = "generate-arm-templates";
|
|
106
107
|
TelemetryEvent.UpdateArmTemplates = "update-arm-templates";
|
|
107
108
|
TelemetryEvent.ExecuteUserTask = "execute-user-task";
|
|
109
|
+
TelemetryEvent.LocalDebug = "local-debug";
|
|
108
110
|
TelemetryEvent.SaveEnvFile = "frontend-save-env-file";
|
|
109
111
|
TelemetryEvent.LoadEnvFile = "frontend-load-env-file";
|
|
110
112
|
class TelemetryKey {
|
|
@@ -123,20 +125,10 @@ TelemetryValue.Success = "yes";
|
|
|
123
125
|
TelemetryValue.Fail = "no";
|
|
124
126
|
TelemetryValue.UserError = "user";
|
|
125
127
|
TelemetryValue.SystemError = "system";
|
|
126
|
-
class AzureErrorCode {
|
|
127
|
-
}
|
|
128
|
-
exports.AzureErrorCode = AzureErrorCode;
|
|
129
|
-
AzureErrorCode.ReservedResourceName = "ReservedResourceName";
|
|
130
|
-
AzureErrorCode.StorageAccountAlreadyTaken = "StorageAccountAlreadyTaken";
|
|
131
|
-
AzureErrorCode.StorageAccountAlreadyExists = "StorageAccountAlreadyExists";
|
|
132
128
|
class RegularExpr {
|
|
133
129
|
}
|
|
134
130
|
exports.RegularExpr = RegularExpr;
|
|
135
131
|
RegularExpr.AllCharToBeSkippedInName = /[^a-zA-Z0-9]/g;
|
|
136
132
|
RegularExpr.FrontendStorageNamePattern = /^[a-z0-9]{3,24}$/;
|
|
137
133
|
RegularExpr.ReplaceTemplateExt = /\.tpl$/;
|
|
138
|
-
class AzureInfo {
|
|
139
|
-
}
|
|
140
|
-
exports.AzureInfo = AzureInfo;
|
|
141
|
-
AzureInfo.RequiredResourceProviders = ["Microsoft.Storage"];
|
|
142
134
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAAwB;AAExB,MAAa,SAAS;;AAAtB,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAAwB;AAExB,MAAa,SAAS;;AAAtB,8BAsBC;AArBQ,iCAAuB,GAAG,UAAU,CAAC;AACrC,gCAAsB,GAAG,cAAc,CAAC;AACxC,iCAAuB,GAAG,WAAW,CAAC;AACtC,uCAA6B,GAAG,EAAE,CAAC;AACnC,kCAAwB,GAAG,MAAM,CAAC;AAClC,sBAAY,GAAG,EAAE,CAAC;AAElB,+BAAqB,GAAG,YAAY,CAAC;AACrC,+BAAqB,GAAG,YAAY,CAAC;AACrC,wBAAc,GAAG,IAAI,CAAC;AACtB,2BAAiB,GAAG,IAAI,SAAS,CAAC,qBAAqB,GAAG,CAAC;AAE3D,qBAAW,GAAG,EAAE,CAAC;AAEjB,iBAAO,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAC9B,iCAAuB,GAAG,SAAS,CAAC,OAAO,CAAC;AAC5C,0BAAgB,GAAG,SAAS,CAAC,OAAO,GAAG,CAAC,CAAC;AAEzC,0BAAgB,GAAG,CAAC,CAAC;AACrB,4BAAkB,GAAG,EAAE,GAAG,IAAI,CAAC;AAC/B,2BAAiB,GAAG,CAAC,CAAC;AAG/B,MAAa,kBAAkB;;A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vC,0BAAW,GAAG,wBAAwB,CAAC;AAGzD,MAAa,YAAY;;AAAzB,oCAOC;AANiB,sBAAS,GAAG,WAAW,CAAC;AACxB,oBAAO,GAAG,SAAS,CAAC;AACpB,sBAAS,GAAG,YAAY,CAAC;AACzB,yBAAY,GAAG,eAAe,CAAC;AAC/B,sBAAS,GAAG,YAAY,CAAC;AACzB,kBAAK,GAAG,OAAO,CAAC;AAGlC,MAAa,cAAc;;AAA3B,wCAKC;AAJiB,sBAAO,GAAG,KAAK,CAAC;AAChB,mBAAI,GAAG,IAAI,CAAC;AACZ,wBAAS,GAAG,MAAM,CAAC;AACnB,0BAAW,GAAG,QAAQ,CAAC;AAGzC,MAAa,WAAW;;AAAxB,kCAIC;AAHiB,oCAAwB,GAAG,eAAe,CAAC;AAC3C,sCAA0B,GAAG,kBAAkB,CAAC;AAChD,8BAAkB,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare class Constants {
|
|
2
|
+
static readonly emptyString = "";
|
|
3
|
+
}
|
|
4
|
+
export declare class AzureInfo {
|
|
5
|
+
static readonly zipDeployURL: (appName: string) => string;
|
|
6
|
+
}
|
|
7
|
+
export declare class RegularExpr {
|
|
8
|
+
static readonly targetFramework: RegExp;
|
|
9
|
+
}
|
|
10
|
+
export declare class DotnetPluginInfo {
|
|
11
|
+
static readonly pluginName = "fx-resource-dotnet";
|
|
12
|
+
static readonly displayName = "Dotnet";
|
|
13
|
+
static readonly alias = "DN";
|
|
14
|
+
static readonly issueLink = "https://github.com/OfficeDev/TeamsFx/issues/new";
|
|
15
|
+
static readonly helpLink = "https://aka.ms/teamsfx-bz-help";
|
|
16
|
+
static readonly defaultFramework = "net6.0";
|
|
17
|
+
static readonly defaultRuntime = "win-x86";
|
|
18
|
+
}
|
|
19
|
+
export declare class DotnetPathInfo {
|
|
20
|
+
static readonly publishFolderPath: (workingPath: string, framework?: string, runtime?: string) => string;
|
|
21
|
+
static readonly bicepTemplateFolder: (templateFolder: string) => string;
|
|
22
|
+
}
|
|
23
|
+
export declare class DotnetCommands {
|
|
24
|
+
static readonly buildRelease: (runtime: string) => string;
|
|
25
|
+
}
|
|
26
|
+
export declare class DependentPluginInfo {
|
|
27
|
+
static readonly solutionPluginName = "solution";
|
|
28
|
+
static readonly subscriptionId = "subscriptionId";
|
|
29
|
+
static readonly resourceGroupName = "resourceGroupName";
|
|
30
|
+
}
|
|
31
|
+
export declare class DotnetConfigInfo {
|
|
32
|
+
static readonly webAppName = "webAppName";
|
|
33
|
+
static readonly appServicePlanName = "appServicePlanName";
|
|
34
|
+
static readonly webAppEndpoint = "endpoint";
|
|
35
|
+
static readonly webAppDomain = "domain";
|
|
36
|
+
static readonly projectFilePath = "projectFilePath";
|
|
37
|
+
}
|
|
38
|
+
export declare class WebappBicepFile {
|
|
39
|
+
static readonly configurationTemplateFileName = "webappConfiguration.template.bicep";
|
|
40
|
+
static readonly provisionTemplateFileName = "webappProvision.template.bicep";
|
|
41
|
+
}
|
|
42
|
+
export declare class WebappBicep {
|
|
43
|
+
static readonly endpoint = "provisionOutputs.webappOutput.value.endpoint";
|
|
44
|
+
static readonly resourceId = "provisionOutputs.webappOutput.value.resourceId";
|
|
45
|
+
static readonly domain = "provisionOutputs.webappOutput.value.domain";
|
|
46
|
+
static readonly endpointAsParam = "webappProvision.outputs.endpoint";
|
|
47
|
+
static readonly domainAsParam = "webappProvision.outputs.domain";
|
|
48
|
+
static readonly Reference: {
|
|
49
|
+
webappResourceId: string;
|
|
50
|
+
endpoint: string;
|
|
51
|
+
domain: string;
|
|
52
|
+
endpointAsParam: string;
|
|
53
|
+
domainAsParam: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/constants.ts"],"names":[],"mappings":"AAKA,qBAAa,SAAS;IACp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e;IAC1B,MAAM,CAAC,QAAQ,CAAC,6BAA6B,wCAAwC;IACrF,MAAM,CAAC,QAAQ,CAAC,yBAAyB,oCAAoC;CAC9E;AAED,qBAAa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,QAAQ,kDAAkD;IAC1E,MAAM,CAAC,QAAQ,CAAC,UAAU,oDAAoD;IAC9E,MAAM,CAAC,QAAQ,CAAC,MAAM,gDAAgD;IACtE,MAAM,CAAC,QAAQ,CAAC,eAAe,sCAAsC;IACrE,MAAM,CAAC,QAAQ,CAAC,aAAa,oCAAoC;IAEjE,MAAM,CAAC,QAAQ,CAAC,SAAS;;;;;;MAMvB;CACH"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.WebappBicep = exports.WebappBicepFile = exports.DotnetConfigInfo = exports.DependentPluginInfo = exports.DotnetCommands = exports.DotnetPathInfo = exports.DotnetPluginInfo = 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.zipDeployURL = (appName) => `https://${appName}.scm.azurewebsites.net/api/zipdeploy`;
|
|
16
|
+
class RegularExpr {
|
|
17
|
+
}
|
|
18
|
+
exports.RegularExpr = RegularExpr;
|
|
19
|
+
RegularExpr.targetFramework = /(?<=<TargetFramework>)(.*)(?=<)/gim;
|
|
20
|
+
class DotnetPluginInfo {
|
|
21
|
+
}
|
|
22
|
+
exports.DotnetPluginInfo = DotnetPluginInfo;
|
|
23
|
+
DotnetPluginInfo.pluginName = "fx-resource-dotnet";
|
|
24
|
+
DotnetPluginInfo.displayName = "Dotnet";
|
|
25
|
+
DotnetPluginInfo.alias = "DN";
|
|
26
|
+
DotnetPluginInfo.issueLink = "https://github.com/OfficeDev/TeamsFx/issues/new";
|
|
27
|
+
DotnetPluginInfo.helpLink = "https://aka.ms/teamsfx-bz-help";
|
|
28
|
+
DotnetPluginInfo.defaultFramework = "net6.0";
|
|
29
|
+
DotnetPluginInfo.defaultRuntime = "win-x86";
|
|
30
|
+
class DotnetPathInfo {
|
|
31
|
+
}
|
|
32
|
+
exports.DotnetPathInfo = DotnetPathInfo;
|
|
33
|
+
DotnetPathInfo.publishFolderPath = (workingPath, framework = DotnetPluginInfo.defaultFramework, runtime = DotnetPluginInfo.defaultRuntime) => path_1.default.join(workingPath, "bin", "Release", framework, runtime, "publish");
|
|
34
|
+
DotnetPathInfo.bicepTemplateFolder = (templateFolder) => path_1.default.join(templateFolder, "plugins", "resource", "webapp", "bicep");
|
|
35
|
+
class DotnetCommands {
|
|
36
|
+
}
|
|
37
|
+
exports.DotnetCommands = DotnetCommands;
|
|
38
|
+
DotnetCommands.buildRelease = (runtime) => `dotnet publish --configuration Release --runtime ${runtime} --self-contained`;
|
|
39
|
+
class DependentPluginInfo {
|
|
40
|
+
}
|
|
41
|
+
exports.DependentPluginInfo = DependentPluginInfo;
|
|
42
|
+
DependentPluginInfo.solutionPluginName = "solution";
|
|
43
|
+
DependentPluginInfo.subscriptionId = "subscriptionId";
|
|
44
|
+
DependentPluginInfo.resourceGroupName = "resourceGroupName";
|
|
45
|
+
class DotnetConfigInfo {
|
|
46
|
+
}
|
|
47
|
+
exports.DotnetConfigInfo = DotnetConfigInfo;
|
|
48
|
+
DotnetConfigInfo.webAppName = "webAppName";
|
|
49
|
+
DotnetConfigInfo.appServicePlanName = "appServicePlanName";
|
|
50
|
+
DotnetConfigInfo.webAppEndpoint = "endpoint";
|
|
51
|
+
DotnetConfigInfo.webAppDomain = "domain";
|
|
52
|
+
DotnetConfigInfo.projectFilePath = "projectFilePath";
|
|
53
|
+
class WebappBicepFile {
|
|
54
|
+
}
|
|
55
|
+
exports.WebappBicepFile = WebappBicepFile;
|
|
56
|
+
WebappBicepFile.configurationTemplateFileName = "webappConfiguration.template.bicep";
|
|
57
|
+
WebappBicepFile.provisionTemplateFileName = "webappProvision.template.bicep";
|
|
58
|
+
class WebappBicep {
|
|
59
|
+
}
|
|
60
|
+
exports.WebappBicep = WebappBicep;
|
|
61
|
+
WebappBicep.endpoint = "provisionOutputs.webappOutput.value.endpoint";
|
|
62
|
+
WebappBicep.resourceId = "provisionOutputs.webappOutput.value.resourceId";
|
|
63
|
+
WebappBicep.domain = "provisionOutputs.webappOutput.value.domain";
|
|
64
|
+
WebappBicep.endpointAsParam = "webappProvision.outputs.endpoint";
|
|
65
|
+
WebappBicep.domainAsParam = "webappProvision.outputs.domain";
|
|
66
|
+
WebappBicep.Reference = {
|
|
67
|
+
webappResourceId: WebappBicep.resourceId,
|
|
68
|
+
endpoint: WebappBicep.endpoint,
|
|
69
|
+
domain: WebappBicep.domain,
|
|
70
|
+
endpointAsParam: WebappBicep.endpointAsParam,
|
|
71
|
+
domainAsParam: WebappBicep.domainAsParam,
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAAwB;AAExB,MAAa,SAAS;;AAAtB,8BAEC;AADiB,qBAAW,GAAG,EAAE,CAAC;AAGnC,MAAa,SAAS;;AAAtB,8BAGC;AAFiB,sBAAY,GAAG,CAAC,OAAe,EAAE,EAAE,CACjD,WAAW,OAAO,sCAAsC,CAAC;AAG7D,MAAa,WAAW;;AAAxB,kCAEC;AADiB,2BAAe,GAAW,o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CAAyB,GAAG,gCAAgC,CAAC;AAG/E,MAAa,WAAW;;AAAxB,kCAcC;AAbiB,oBAAQ,GAAG,8CAA8C,CAAC;AAC1D,sBAAU,GAAG,gDAAgD,CAAC;AAC9D,kBAAM,GAAG,4CAA4C,CAAC;AACtD,2BAAe,GAAG,kCAAkC,CAAC;AACrD,yBAAa,GAAG,gCAAgC,CAAC;AAEjD,qBAAS,GAAG;IAC1B,gBAAgB,EAAE,WAAW,CAAC,UAAU;IACxC,QAAQ,EAAE,WAAW,CAAC,QAAQ;IAC9B,MAAM,EAAE,WAAW,CAAC,MAAM;IAC1B,eAAe,EAAE,WAAW,CAAC,eAAe;IAC5C,aAAa,EAAE,WAAW,CAAC,aAAa;CACzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/
|
|
1
|
+
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IAEzB,iBAAiB,sBAAsB;IACvC,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;IACzC,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAG7B,UAAU,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,gBAAgB,qBAAqB;IAGrC,IAAI,SAAS;CACd;AAED,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,QAAQ,cAAc;IACtB,SAAS,oBAAoB;IAC7B,cAAc,qBAAqB;IACnC,kBAAkB,yBAAyB;IAC3C,KAAK,WAAW;IAChB,WAAW,iBAAiB;IAC5B,aAAa,mBAAmB;CACjC;AAED,oBAAY,YAAY;IACtB,MAAM,kBAAkB;IACxB,cAAc,2BAA2B;CAC1C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceType = exports.AppSettingsKey = exports.DotnetConfigKey = void 0;
|
|
4
|
+
var DotnetConfigKey;
|
|
5
|
+
(function (DotnetConfigKey) {
|
|
6
|
+
/* Config from solution */
|
|
7
|
+
DotnetConfigKey["resourceGroupName"] = "resourceGroupName";
|
|
8
|
+
DotnetConfigKey["subscriptionId"] = "subscriptionId";
|
|
9
|
+
DotnetConfigKey["resourceNameSuffix"] = "resourceNameSuffix";
|
|
10
|
+
DotnetConfigKey["location"] = "location";
|
|
11
|
+
DotnetConfigKey["credential"] = "credential";
|
|
12
|
+
DotnetConfigKey["teamsAppName"] = "teamsAppName";
|
|
13
|
+
/* Config exported by Dotnet plugin */
|
|
14
|
+
DotnetConfigKey["webAppName"] = "webAppName";
|
|
15
|
+
DotnetConfigKey["appServicePlanName"] = "appServicePlanName";
|
|
16
|
+
DotnetConfigKey["webAppEndpoint"] = "webAppEndpoint";
|
|
17
|
+
DotnetConfigKey["webAppDomain"] = "webAppDomain";
|
|
18
|
+
DotnetConfigKey["projectFilePath"] = "projectFilePath";
|
|
19
|
+
DotnetConfigKey["webAppResourceId"] = "webAppResourceId";
|
|
20
|
+
/* Intermediate */
|
|
21
|
+
DotnetConfigKey["site"] = "site";
|
|
22
|
+
})(DotnetConfigKey = exports.DotnetConfigKey || (exports.DotnetConfigKey = {}));
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/
|
|
1
|
+
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAmBX;AAnBD,WAAY,eAAe;IACzB,0BAA0B;IAC1B,0DAAuC,CAAA;IACvC,oDAAiC,CAAA;IACjC,4DAAyC,CAAA;IACzC,wCAAqB,CAAA;IACrB,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAE7B,sCAAsC;IACtC,4CAAyB,CAAA;IACzB,4DAAyC,CAAA;IACzC,oDAAiC,CAAA;IACjC,gDAA6B,CAAA;IAC7B,sDAAmC,CAAA;IACnC,wDAAqC,CAAA;IAErC,kBAAkB;IAClB,gCAAa,CAAA;AACf,CAAC,EAnBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAmB1B;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACxB,gDAA8B,CAAA;IAC9B,wCAAsB,CAAA;IACtB,+CAA6B,CAAA;IAC7B,qDAAmC,CAAA;IACnC,6DAA2C,CAAA;IAC3C,kCAAgB,CAAA;IAChB,8CAA4B,CAAA;IAC5B,kDAAgC,CAAA;AAClC,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,wCAAwB,CAAA;IACxB,yDAAyC,CAAA;AAC3C,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB"}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-factory.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/
|
|
1
|
+
{"version":3,"file":"error-factory.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/error-factory.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,EAA0B,MAAM,wBAAwB,CAAC;AAIjF,oBAAY,aAAa,GAAG,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAEjD,qBAAa,YAAY;IACvB,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAoB;IAClD,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAwB;IACzD,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAuB;WAEzC,SAAS,CACrB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,UAAU,CAAC,EAAE,GAAG,EAChB,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO;WAII,WAAW,CACvB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,UAAU,CAAC,EAAE,GAAG,EAChB,KAAK,CAAC,EAAE,MAAM,EACd,SAAS,SAAiB,GACzB,OAAO;CAGX"}
|
|
@@ -14,7 +14,7 @@ class ErrorFactory {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
exports.ErrorFactory = ErrorFactory;
|
|
17
|
-
ErrorFactory.source = constants_1.
|
|
18
|
-
ErrorFactory.issueLink = constants_1.
|
|
19
|
-
ErrorFactory.helpLink = constants_1.
|
|
17
|
+
ErrorFactory.source = constants_1.DotnetPluginInfo.alias;
|
|
18
|
+
ErrorFactory.issueLink = constants_1.DotnetPluginInfo.issueLink;
|
|
19
|
+
ErrorFactory.helpLink = constants_1.DotnetPluginInfo.helpLink;
|
|
20
20
|
//# sourceMappingURL=error-factory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-factory.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/
|
|
1
|
+
{"version":3,"file":"error-factory.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/error-factory.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,wDAAiF;AAEjF,2CAA6D;AAI7D,MAAa,YAAY;IAKhB,MAAM,CAAC,SAAS,CACrB,IAAY,EACZ,OAAe,EACf,UAAgB,EAChB,KAAc,EACd,QAAiB;QAEjB,OAAO,IAAI,uBAAS,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;IAChF,CAAC;IAEM,MAAM,CAAC,WAAW,CACvB,IAAY,EACZ,OAAe,EACf,UAAgB,EAChB,KAAc,EACd,SAAS,GAAG,IAAI,CAAC,SAAS;QAE1B,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;IACnF,CAAC;;AAvBH,oCAwBC;AAvBiB,mBAAM,GAAW,4BAAU,CAAC,KAAK,CAAC;AAClC,sBAAS,GAAW,4BAAU,CAAC,SAAS,CAAC;AACzC,qBAAQ,GAAW,4BAAU,CAAC,QAAQ,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/ops/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,SAAS,CAAC;AAW7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAchE,wBAAsB,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAOlF;AAED,wBAAsB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CASxE;AAED,wBAAsB,WAAW,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAwBxE;AAED,wBAAsB,SAAS,CAC7B,MAAM,EAAE,uBAAuB,EAC/B,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,IAAI,CAAC,CA6Cf"}
|
|
@@ -5,24 +5,31 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
6
|
const path = tslib_1.__importStar(require("path"));
|
|
7
7
|
const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
|
|
8
|
-
const templatesUtils_1 = require("../../../../../common/templatesUtils");
|
|
8
|
+
const templatesUtils_1 = require("../../../../../common/template-utils/templatesUtils");
|
|
9
9
|
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
10
10
|
const errors_1 = require("../resources/errors");
|
|
11
11
|
const constants_1 = require("../constants");
|
|
12
|
-
const execute_1 = require("../../../function/utils/execute");
|
|
13
12
|
const dir_walk_1 = require("../../../function/utils/dir-walk");
|
|
13
|
+
const logger_1 = require("../../utils/logger");
|
|
14
|
+
const messages_1 = require("../resources/messages");
|
|
15
|
+
const progress_helper_1 = require("../../utils/progress-helper");
|
|
16
|
+
const steps_1 = require("../resources/steps");
|
|
17
|
+
const utils_1 = require("../../utils");
|
|
14
18
|
async function getFrameworkVersion(projectFilePath) {
|
|
15
19
|
const content = await fs_extra_1.default.readFile(projectFilePath, "utf8");
|
|
16
20
|
const framework = content.match(constants_1.RegularExpr.targetFramework);
|
|
17
21
|
if (framework === null || framework === void 0 ? void 0 : framework.length) {
|
|
18
22
|
return framework[0].trim();
|
|
19
23
|
}
|
|
20
|
-
return constants_1.
|
|
24
|
+
return constants_1.DotnetPluginInfo.defaultFramework;
|
|
21
25
|
}
|
|
22
26
|
exports.getFrameworkVersion = getFrameworkVersion;
|
|
23
27
|
async function build(path, runtime) {
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
var _a;
|
|
29
|
+
(_a = progress_helper_1.ProgressHelper.progressHandler) === null || _a === void 0 ? void 0 : _a.next(steps_1.WebappDeployProgress.steps.build);
|
|
30
|
+
logger_1.Logger.info(messages_1.Messages.Build(path));
|
|
31
|
+
const command = constants_1.DotnetCommands.buildRelease(runtime);
|
|
32
|
+
await errors_1.runWithErrorCatchAndWrap((error) => new errors_1.BuildError(error), async () => await utils_1.Utils.execute(command, path));
|
|
26
33
|
}
|
|
27
34
|
exports.build = build;
|
|
28
35
|
async function generateZip(componentPath) {
|
|
@@ -48,15 +55,21 @@ async function generateZip(componentPath) {
|
|
|
48
55
|
}
|
|
49
56
|
exports.generateZip = generateZip;
|
|
50
57
|
async function zipDeploy(client, resourceGroupName, webAppName, componentPath) {
|
|
58
|
+
var _a, _b, _c;
|
|
59
|
+
logger_1.Logger.info(messages_1.Messages.GenerateZip(componentPath));
|
|
60
|
+
(_a = progress_helper_1.ProgressHelper.progressHandler) === null || _a === void 0 ? void 0 : _a.next(steps_1.WebappDeployProgress.steps.generateZip);
|
|
51
61
|
const zip = await errors_1.runWithErrorCatchAndThrow(new errors_1.ZipError(), async () => await generateZip(componentPath));
|
|
52
62
|
const zipContent = zip.toBuffer();
|
|
63
|
+
(_b = progress_helper_1.ProgressHelper.progressHandler) === null || _b === void 0 ? void 0 : _b.next(steps_1.WebappDeployProgress.steps.fetchCredential);
|
|
53
64
|
const publishCred = await errors_1.runWithErrorCatchAndThrow(new errors_1.PublishCredentialError(), async () => await client.webApps.listPublishingCredentials(resourceGroupName, webAppName));
|
|
54
65
|
const username = publishCred.publishingUserName;
|
|
55
66
|
const password = publishCred.publishingPassword;
|
|
56
67
|
if (!password) {
|
|
57
|
-
|
|
68
|
+
logger_1.Logger.error(messages_1.Messages.FailQueryPublishCred);
|
|
58
69
|
throw new errors_1.PublishCredentialError();
|
|
59
70
|
}
|
|
71
|
+
logger_1.Logger.info(messages_1.Messages.UploadZip(zipContent.length));
|
|
72
|
+
(_c = progress_helper_1.ProgressHelper.progressHandler) === null || _c === void 0 ? void 0 : _c.next(steps_1.WebappDeployProgress.steps.deploy);
|
|
60
73
|
await errors_1.runWithErrorCatchAndThrow(new errors_1.UploadZipError(), async () => await templatesUtils_1.sendRequestWithRetry(async () => await axios_1.default.post(constants_1.AzureInfo.zipDeployURL(webAppName), zipContent, {
|
|
61
74
|
headers: {
|
|
62
75
|
"Content-Type": "application/octet-stream",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/ops/deploy.ts"],"names":[],"mappings":";;;;AAAA,gEAA0B;AAC1B,mDAA6B;AAC7B,8DAA6B;AAC7B,wFAA2F;AAC3F,0DAA0B;AAC1B,gDAO6B;AAE7B,4CAKsB;AACtB,+DAAqE;AACrE,+CAA4C;AAC5C,oDAAiD;AACjD,iEAA6D;AAC7D,8CAA4E;AAC5E,uCAAoC;AAE7B,KAAK,UAAU,mBAAmB,CAAC,eAAuB;IAC/D,MAAM,OAAO,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAC3D,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,uBAAW,CAAC,eAAe,CAAC,CAAC;IAC7D,IAAI,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,MAAM,EAAE;QACrB,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;KAC5B;IACD,OAAO,4BAA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,CAAC,mBAAQ,CAAC,oBAAoB,CAAC,CAAC;QAC5C,MAAM,IAAI,+BAAsB,EAAE,CAAC;KACpC;IAED,eAAM,CAAC,IAAI,CAAC,mBAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IACnD,MAAA,gCAAc,CAAC,eAAe,0CAAE,IAAI,CAAC,4BAAc,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClE,MAAM,kCAAyB,CAC7B,IAAI,uBAAc,EAAE,EACpB,KAAK,IAAI,EAAE,CACT,MAAM,qCAAoB,CACxB,KAAK,IAAI,EAAE,CACT,MAAM,eAAK,CAAC,IAAI,CAAC,qBAAS,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,UAAU,EAAE;QAC/D,OAAO,EAAE;YACP,cAAc,EAAE,0BAA0B;YAC1C,eAAe,EAAE,UAAU;SAC5B;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB;QACD,gBAAgB,EAAE,QAAQ;QAC1B,aAAa,EAAE,QAAQ;QACvB,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KACxB,CAAC,EACJ,CAAC,CACF,CACJ,CAAC;AACJ,CAAC;AAlDD,8BAkDC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Func, PluginContext } from "@microsoft/teamsfx-api";
|
|
2
|
+
import { TeamsFxResult } from "./error-factory";
|
|
3
|
+
import { WebSiteManagementModels } from "@azure/arm-appservice";
|
|
4
|
+
import { PluginImpl } from "../interface";
|
|
5
|
+
declare type Site = WebSiteManagementModels.Site;
|
|
6
|
+
export interface DotnetPluginConfig {
|
|
7
|
+
resourceGroupName?: string;
|
|
8
|
+
subscriptionId?: string;
|
|
9
|
+
resourceNameSuffix?: string;
|
|
10
|
+
location?: string;
|
|
11
|
+
webAppName?: string;
|
|
12
|
+
appServicePlanName?: string;
|
|
13
|
+
endpoint?: string;
|
|
14
|
+
domain?: string;
|
|
15
|
+
projectFilePath?: string;
|
|
16
|
+
webAppResourceId?: string;
|
|
17
|
+
site?: Site;
|
|
18
|
+
}
|
|
19
|
+
export declare class DotnetPluginImpl implements PluginImpl {
|
|
20
|
+
private syncConfigFromContext;
|
|
21
|
+
private checkAndGet;
|
|
22
|
+
scaffold(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
23
|
+
generateArmTemplates(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
24
|
+
updateArmTemplates(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
25
|
+
localDebug(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
26
|
+
postProvision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
27
|
+
preDeploy(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
28
|
+
executeUserTask(func: Func, ctx: PluginContext): Promise<TeamsFxResult>;
|
|
29
|
+
deploy(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,aAAa,EAA4B,MAAM,wBAAwB,CAAC;AAUvF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAmBhE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,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,MA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