@microsoft/teamsfx-core 1.3.0 → 1.3.1-alpha.59b5e7c6.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/constants.d.ts +13 -1
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +15 -2
- package/build/common/constants.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 +8 -5
- package/build/common/deps-checker/depsManager.d.ts.map +1 -1
- package/build/common/deps-checker/depsManager.js +19 -12
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js +1 -0
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +2 -0
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- package/build/common/local/constants.d.ts +0 -42
- package/build/common/local/constants.d.ts.map +1 -1
- package/build/common/local/constants.js +1 -43
- package/build/common/local/constants.js.map +1 -1
- package/build/common/local/localCertificateManager.d.ts +2 -1
- package/build/common/local/localCertificateManager.d.ts.map +1 -1
- package/build/common/local/localCertificateManager.js +24 -15
- package/build/common/local/localCertificateManager.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts +2 -1
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +7 -5
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/local/localEnvProvider.js +1 -1
- package/build/common/local/localSettingsHelper.d.ts.map +1 -1
- package/build/common/local/localSettingsHelper.js +17 -16
- package/build/common/local/localSettingsHelper.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 +18 -5
- package/build/common/local/portChecker.js.map +1 -1
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +3 -3
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/local/taskDefinition.d.ts +0 -7
- package/build/common/local/taskDefinition.d.ts.map +1 -1
- package/build/common/local/taskDefinition.js +1 -51
- package/build/common/local/taskDefinition.js.map +1 -1
- package/build/common/localSettingsConstants.d.ts +2 -6
- package/build/common/localSettingsConstants.d.ts.map +1 -1
- package/build/common/localSettingsConstants.js +3 -7
- 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 +15 -14
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/permissionInterface.d.ts +1 -3
- package/build/common/permissionInterface.d.ts.map +1 -1
- package/build/common/permissionInterface.js +0 -2
- package/build/common/permissionInterface.js.map +1 -1
- package/build/common/projectSettingsValidator.d.ts +0 -1
- package/build/common/projectSettingsValidator.d.ts.map +1 -1
- package/build/common/projectSettingsValidator.js +2 -18
- package/build/common/projectSettingsValidator.js.map +1 -1
- package/build/common/telemetry.d.ts +3 -1
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +2 -0
- package/build/common/telemetry.js.map +1 -1
- package/build/common/template-utils/templatesActions.js +2 -2
- package/build/common/template-utils/templatesUtils.d.ts +2 -1
- package/build/common/template-utils/templatesUtils.d.ts.map +1 -1
- package/build/common/template-utils/templatesUtils.js +25 -7
- package/build/common/template-utils/templatesUtils.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +1 -4
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +7 -8
- 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 +8 -5
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +43 -4
- 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 +15 -1
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +15 -18
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +205 -262
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/CommonErrorHandlerMW.d.ts.map +1 -1
- package/build/core/middleware/CommonErrorHandlerMW.js +3 -0
- package/build/core/middleware/CommonErrorHandlerMW.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +4 -3
- 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/localSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/localSettingsLoader.js +27 -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 +2 -6
- 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 +8 -4
- 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 +6 -8
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +21 -44
- 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/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 +49 -0
- package/build/core/pvm/pvm.d.ts.map +1 -0
- package/build/core/pvm/pvm.js +82 -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.js +1 -1
- 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 +1 -25
- 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 +8 -8
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +29 -29
- package/build/plugins/resource/aad/aadAppClient.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/plugin.d.ts +4 -3
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +13 -13
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/common.d.ts +6 -4
- package/build/plugins/resource/aad/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/common.js +60 -21
- package/build/plugins/resource/aad/utils/common.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts +9 -1
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +204 -0
- 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 +10 -11
- package/build/plugins/resource/aad/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v2/index.js.map +1 -1
- package/build/plugins/resource/aad/v3/index.d.ts +20 -0
- package/build/plugins/resource/aad/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/aad/v3/index.js +213 -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 +5 -19
- package/build/plugins/resource/apim/config.d.ts.map +1 -1
- package/build/plugins/resource/apim/config.js +9 -35
- 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 +1 -6
- package/build/plugins/resource/apim/error.js.map +1 -1
- package/build/plugins/resource/apim/factory.d.ts +12 -12
- package/build/plugins/resource/apim/factory.d.ts.map +1 -1
- package/build/plugins/resource/apim/factory.js +38 -42
- package/build/plugins/resource/apim/factory.js.map +1 -1
- package/build/plugins/resource/apim/index.d.ts +1 -1
- package/build/plugins/resource/apim/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/index.js +17 -39
- 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 +2 -3
- package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.d.ts +7 -13
- package/build/plugins/resource/apim/managers/questionManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.js +17 -32
- 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 +8 -14
- package/build/plugins/resource/apim/questions/vscodeQuestion.d.ts.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.js +39 -79
- 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/utils/progressBar.d.ts +2 -2
- package/build/plugins/resource/apim/utils/progressBar.d.ts.map +1 -1
- package/build/plugins/resource/apim/utils/progressBar.js +3 -3
- package/build/plugins/resource/apim/utils/progressBar.js.map +1 -1
- package/build/plugins/resource/apim/utils/telemetry.d.ts +2 -2
- package/build/plugins/resource/apim/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/apim/utils/telemetry.js +4 -5
- package/build/plugins/resource/apim/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/apim/v2/index.d.ts +3 -5
- package/build/plugins/resource/apim/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/v2/index.js +0 -6
- package/build/plugins/resource/apim/v2/index.js.map +1 -1
- package/build/plugins/resource/apim/v3/index.d.ts +15 -0
- package/build/plugins/resource/apim/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/apim/v3/index.js +192 -0
- package/build/plugins/resource/apim/v3/index.js.map +1 -0
- 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 +4 -0
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +45 -1
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +4 -0
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +4 -0
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +3 -27
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +46 -13
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +3 -2
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +54 -70
- 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/utils/utils.d.ts +11 -0
- package/build/plugins/resource/appstudio/utils/utils.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/utils.js +105 -1
- package/build/plugins/resource/appstudio/utils/utils.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +3 -3
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +6 -26
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +37 -3
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/plugin.d.ts +8 -0
- package/build/plugins/resource/appstudio/v3/plugin.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/v3/plugin.js +95 -0
- package/build/plugins/resource/appstudio/v3/plugin.js.map +1 -0
- package/build/plugins/resource/bot/dotnet/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/dotnet/plugin.js +1 -1
- package/build/plugins/resource/bot/dotnet/plugin.js.map +1 -1
- 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.js +3 -2
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/v2/index.d.ts +3 -3
- package/build/plugins/resource/bot/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.d.ts +6 -0
- package/build/plugins/resource/frontend/dotnet/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.js +8 -1
- package/build/plugins/resource/frontend/dotnet/constants.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/enum.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/enum.js +2 -0
- package/build/plugins/resource/frontend/dotnet/enum.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/ops/deploy.js +18 -3
- package/build/plugins/resource/frontend/dotnet/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/ops/scaffold.d.ts +6 -0
- package/build/plugins/resource/frontend/dotnet/ops/scaffold.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/ops/scaffold.js +55 -0
- package/build/plugins/resource/frontend/dotnet/ops/scaffold.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +1 -3
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.js +42 -19
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts +3 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/resources/errors.js +7 -1
- package/build/plugins/resource/frontend/dotnet/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts +23 -6
- package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/resources/messages.js +26 -7
- package/build/plugins/resource/frontend/dotnet/resources/messages.js.map +1 -1
- 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/resources/templateInfo.d.ts +19 -0
- package/build/plugins/resource/frontend/dotnet/resources/templateInfo.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/templateInfo.js +42 -0
- package/build/plugins/resource/frontend/dotnet/resources/templateInfo.js.map +1 -0
- package/build/plugins/resource/frontend/index.d.ts +0 -1
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +4 -6
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.js +25 -24
- 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.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +15 -14
- package/build/plugins/resource/frontend/plugin.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 +8 -7
- package/build/plugins/resource/frontend/resources/templateInfo.js.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts +9 -35
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.js +9 -82
- package/build/plugins/resource/frontend/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/frontend/v2/index.d.ts +2 -3
- package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v2/index.js +3 -4
- package/build/plugins/resource/frontend/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/v3/index.d.ts +15 -2
- package/build/plugins/resource/frontend/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v3/index.js +266 -2
- package/build/plugins/resource/frontend/v3/index.js.map +1 -1
- package/build/plugins/resource/function/index.d.ts +1 -0
- package/build/plugins/resource/function/index.d.ts.map +1 -1
- package/build/plugins/resource/function/index.js +1 -0
- package/build/plugins/resource/function/index.js.map +1 -1
- package/build/plugins/resource/function/ops/deploy.d.ts +1 -2
- package/build/plugins/resource/function/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/function/ops/deploy.js +1 -1
- package/build/plugins/resource/function/ops/deploy.js.map +1 -1
- package/build/plugins/resource/function/plugin.js +2 -2
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/resources/errors.d.ts +22 -1
- package/build/plugins/resource/function/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/function/resources/errors.js +32 -32
- package/build/plugins/resource/function/resources/errors.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts +2 -2
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js +3 -3
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js.map +1 -1
- package/build/plugins/resource/function/v2/index.d.ts +3 -3
- package/build/plugins/resource/function/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/function/v2/index.js.map +1 -1
- package/build/plugins/resource/function/v3/error.d.ts +26 -0
- package/build/plugins/resource/function/v3/error.d.ts.map +1 -0
- package/build/plugins/resource/function/v3/error.js +69 -0
- package/build/plugins/resource/function/v3/error.js.map +1 -0
- package/build/plugins/resource/function/v3/index.d.ts +30 -0
- package/build/plugins/resource/function/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/function/v3/index.js +388 -0
- package/build/plugins/resource/function/v3/index.js.map +1 -0
- package/build/plugins/resource/identity/index.d.ts +1 -0
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +1 -0
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/identity/v2/index.d.ts +3 -3
- package/build/plugins/resource/identity/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/v2/index.js.map +1 -1
- package/build/plugins/resource/identity/v3/index.d.ts +12 -0
- package/build/plugins/resource/identity/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/identity/v3/index.js +89 -0
- package/build/plugins/resource/identity/v3/index.js.map +1 -0
- package/build/plugins/resource/keyvault/index.d.ts +1 -0
- package/build/plugins/resource/keyvault/index.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/index.js +1 -0
- package/build/plugins/resource/keyvault/index.js.map +1 -1
- package/build/plugins/resource/keyvault/v3/index.d.ts +10 -0
- package/build/plugins/resource/keyvault/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/keyvault/v3/index.js +90 -0
- package/build/plugins/resource/keyvault/v3/index.js.map +1 -0
- 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.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.js +1 -4
- package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +2 -2
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.d.ts +2 -2
- package/build/plugins/resource/simpleauth/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.js.map +1 -1
- package/build/plugins/resource/sql/constants.d.ts +0 -3
- package/build/plugins/resource/sql/constants.d.ts.map +1 -1
- package/build/plugins/resource/sql/constants.js +0 -3
- package/build/plugins/resource/sql/constants.js.map +1 -1
- package/build/plugins/resource/sql/errors.d.ts +0 -16
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +0 -16
- package/build/plugins/resource/sql/errors.js.map +1 -1
- package/build/plugins/resource/sql/index.d.ts +1 -0
- package/build/plugins/resource/sql/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/index.js +2 -1
- package/build/plugins/resource/sql/index.js.map +1 -1
- package/build/plugins/resource/sql/managementClient.d.ts +5 -10
- package/build/plugins/resource/sql/managementClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/managementClient.js +17 -65
- package/build/plugins/resource/sql/managementClient.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts +2 -3
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +15 -69
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +3 -4
- package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/sqlClient.js +6 -7
- package/build/plugins/resource/sql/sqlClient.js.map +1 -1
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts +2 -8
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/dialogUtils.js +3 -11
- 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/utils/telemetryUtils.d.ts +3 -3
- package/build/plugins/resource/sql/utils/telemetryUtils.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.js +6 -7
- package/build/plugins/resource/sql/utils/telemetryUtils.js.map +1 -1
- package/build/plugins/resource/sql/v2/index.d.ts +4 -4
- package/build/plugins/resource/sql/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/v2/index.js.map +1 -1
- package/build/plugins/resource/sql/v3/index.d.ts +25 -0
- package/build/plugins/resource/sql/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/sql/v3/index.js +297 -0
- package/build/plugins/resource/sql/v3/index.js.map +1 -0
- package/build/plugins/resource/utils4v2.d.ts +16 -20
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +9 -33
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +5 -4
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +3 -4
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +122 -74
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +0 -7
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +2 -4
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +3 -5
- package/build/plugins/solution/fx-solution/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 +2 -7
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +18 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.js +2 -4
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts +2 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js +145 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js.map +1 -0
- 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 +33 -14
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.d.ts +3 -0
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.js +19 -0
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +32 -14
- package/build/plugins/solution/fx-solution/v2/checkPermission.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 +11 -6
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +31 -10
- 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 +4 -5
- 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 +32 -25
- 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 -15
- 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 +20 -10
- 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 +2 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +10 -8
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.js +1 -1
- 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 +9 -8
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +3 -3
- 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 -5
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +18 -17
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts +9 -0
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addFeature.js +128 -0
- package/build/plugins/solution/fx-solution/v3/addFeature.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +7 -9
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.js +9 -11
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.js +15 -18
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/error.d.ts +1 -7
- package/build/plugins/solution/fx-solution/v3/error.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/error.js +0 -14
- package/build/plugins/solution/fx-solution/v3/error.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +8 -3
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +150 -110
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.js +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.d.ts +14 -24
- package/build/plugins/solution/fx-solution/v3/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.js +75 -19
- package/build/plugins/solution/fx-solution/v3/solution.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/fx-solution/v3/userTask.d.ts +5 -3
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/userTask.js +161 -5
- package/build/plugins/solution/fx-solution/v3/userTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/utils.d.ts +1 -2
- package/build/plugins/solution/fx-solution/v3/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/utils.js +0 -13
- package/build/plugins/solution/fx-solution/v3/utils.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.d.ts +5 -0
- package/build/plugins/solution/spfx-solution/addFeature.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/addFeature.js +38 -0
- package/build/plugins/solution/spfx-solution/addFeature.js.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts +3 -10
- package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/solution.js +4 -11
- package/build/plugins/solution/spfx-solution/solution.js.map +1 -1
- package/build/plugins/solution/utils/questions.d.ts +5 -11
- package/build/plugins/solution/utils/questions.d.ts.map +1 -1
- package/build/plugins/solution/utils/questions.js +9 -62
- package/build/plugins/solution/utils/questions.js.map +1 -1
- package/package.json +12 -6
- package/resource/strings.json +28 -1
- 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/frontend/tab.js.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.ts.default.zip +0 -0
- package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +4 -2
- 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/simpleauth/bicep/simpleAuthConfiguration.template.bicep +4 -2
- package/templates/plugins/resource/webapp/bicep/webappConfiguration.template.bicep +3 -29
- package/templates/plugins/solution/{main.bicep → mainConfig.bicep} +0 -12
- package/templates/plugins/solution/mainProvision.bicep +10 -0
- 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/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/v3/AzureStoragePlugin.d.ts +0 -15
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.d.ts.map +0 -1
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js +0 -149
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js.map +0 -1
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts +0 -8
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts.map +0 -1
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.js +0 -95
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.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/build/plugins/solution/fx-solution/v3/addModule.d.ts +0 -4
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/addModule.js +0 -58
- package/build/plugins/solution/fx-solution/v3/addModule.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts +0 -29
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/addResource.js +0 -233
- package/build/plugins/solution/fx-solution/v3/addResource.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/init.d.ts +0 -4
- package/build/plugins/solution/fx-solution/v3/init.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/init.js +0 -44
- package/build/plugins/solution/fx-solution/v3/init.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts +0 -4
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js +0 -108
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +0 -22
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.js +0 -219
- package/build/plugins/solution/fx-solution/v3/scaffold.js.map +0 -1
- package/build/plugins/solution/spfx-solution/addModule.d.ts +0 -3
- package/build/plugins/solution/spfx-solution/addModule.d.ts.map +0 -1
- package/build/plugins/solution/spfx-solution/addModule.js +0 -29
- package/build/plugins/solution/spfx-solution/addModule.js.map +0 -1
- package/build/plugins/solution/spfx-solution/init.d.ts +0 -4
- package/build/plugins/solution/spfx-solution/init.d.ts.map +0 -1
- package/build/plugins/solution/spfx-solution/init.js +0 -52
- package/build/plugins/solution/spfx-solution/init.js.map +0 -1
- package/build/plugins/solution/spfx-solution/scaffold.d.ts +0 -5
- package/build/plugins/solution/spfx-solution/scaffold.d.ts.map +0 -1
- package/build/plugins/solution/spfx-solution/scaffold.js +0 -69
- package/build/plugins/solution/spfx-solution/scaffold.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { FxError, Result, v2,
|
|
1
|
+
import { FxError, Result, v2, TeamsAppManifest, TokenProvider, Void, v3 } from "@microsoft/teamsfx-api";
|
|
2
2
|
export declare class AppStudioPluginV3 {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
|
+
private appStudioPluginImpl;
|
|
5
6
|
/**
|
|
6
7
|
* Generate initial manifest template file, for both local debug & remote
|
|
7
8
|
* @param ctx
|
|
@@ -16,31 +17,7 @@ export declare class AppStudioPluginV3 {
|
|
|
16
17
|
* @param capabilities
|
|
17
18
|
* @returns
|
|
18
19
|
*/
|
|
19
|
-
addCapabilities(ctx: v2.Context, inputs: v2.InputsWithProjectPath, capabilities:
|
|
20
|
-
name: "staticTab";
|
|
21
|
-
snippet?: {
|
|
22
|
-
local: IStaticTab;
|
|
23
|
-
remote: IStaticTab;
|
|
24
|
-
};
|
|
25
|
-
} | {
|
|
26
|
-
name: "configurableTab";
|
|
27
|
-
snippet?: {
|
|
28
|
-
local: IConfigurableTab;
|
|
29
|
-
remote: IConfigurableTab;
|
|
30
|
-
};
|
|
31
|
-
} | {
|
|
32
|
-
name: "Bot";
|
|
33
|
-
snippet?: {
|
|
34
|
-
local: IBot;
|
|
35
|
-
remote: IBot;
|
|
36
|
-
};
|
|
37
|
-
} | {
|
|
38
|
-
name: "MessageExtension";
|
|
39
|
-
snippet?: {
|
|
40
|
-
local: IComposeExtension;
|
|
41
|
-
remote: IComposeExtension;
|
|
42
|
-
};
|
|
43
|
-
})[]): Promise<Result<any, FxError>>;
|
|
20
|
+
addCapabilities(ctx: v2.Context, inputs: v2.InputsWithProjectPath, capabilities: v3.ManifestCapability[]): Promise<Result<any, FxError>>;
|
|
44
21
|
/**
|
|
45
22
|
* Should conside both local and remote
|
|
46
23
|
* @returns
|
|
@@ -67,5 +44,8 @@ export declare class AppStudioPluginV3 {
|
|
|
67
44
|
* @returns
|
|
68
45
|
*/
|
|
69
46
|
capabilityExceedLimit(ctx: v2.Context, inputs: v2.InputsWithProjectPath, capability: "staticTab" | "configurableTab" | "Bot" | "MessageExtension"): Promise<Result<boolean, FxError>>;
|
|
47
|
+
registerTeamsApp(ctx: v2.Context, inputs: v2.InputsWithProjectPath, envInfo: v3.EnvInfoV3, tokenProvider: TokenProvider): Promise<Result<string, FxError>>;
|
|
48
|
+
updateTeamsApp(ctx: v2.Context, inputs: v2.InputsWithProjectPath, envInfo: v3.EnvInfoV3): Promise<Result<Void, FxError>>;
|
|
49
|
+
publishTeamsApp(ctx: v2.Context, inputs: v2.InputsWithProjectPath, envInfo: v3.EnvInfoV3): Promise<Result<Void, FxError>>;
|
|
70
50
|
}
|
|
71
51
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/appstudio/v3/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EACP,MAAM,EAEN,EAAE,EACF,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/appstudio/v3/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EACP,MAAM,EAEN,EAAE,EACF,gBAAgB,EAIhB,aAAa,EACb,IAAI,EACJ,EAAE,EACH,MAAM,wBAAwB,CAAC;AA2BhC,qBACa,iBAAiB;IAC5B,IAAI,SAA2B;IAC/B,WAAW,SAAgB;IAE3B,OAAO,CAAC,mBAAmB,CAA6B;IAExD;;;;;OAKG;IACG,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAiB5F;;;;;;OAMG;IACG,eAAe,CACnB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,EAChC,YAAY,EAAE,EAAE,CAAC,kBAAkB,EAAE,GACpC,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IA2BhC;;;OAGG;IACG,YAAY,CAChB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,GAC/B,OAAO,CAAC,MAAM,CAAC;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,MAAM,EAAE,gBAAgB,CAAA;KAAE,EAAE,OAAO,CAAC,CAAC;IAoBlF;;;;;OAKG;IACG,YAAY,CAChB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,EAChC,QAAQ,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,MAAM,EAAE,gBAAgB,CAAA;KAAE,GAC9D,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAoBhC;;;;;;OAMG;IACG,qBAAqB,CACzB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,EAChC,UAAU,EAAE,WAAW,GAAG,iBAAiB,GAAG,KAAK,GAAG,kBAAkB,GACvE,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAK9B,gBAAgB,CACpB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,EAChC,OAAO,EAAE,EAAE,CAAC,SAAS,EACrB,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAI7B,cAAc,CAClB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,EAChC,OAAO,EAAE,EAAE,CAAC,SAAS,GACpB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAI3B,eAAe,CACnB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,EAChC,OAAO,EAAE,EAAE,CAAC,SAAS,GACpB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;CAGlC"}
|
|
@@ -15,10 +15,13 @@ const folder_1 = require("../../../../folder");
|
|
|
15
15
|
const path = tslib_1.__importStar(require("path"));
|
|
16
16
|
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
17
17
|
const constants_2 = require("../constants");
|
|
18
|
+
const telemetry_1 = require("../utils/telemetry");
|
|
19
|
+
const plugin_1 = require("./plugin");
|
|
18
20
|
let AppStudioPluginV3 = class AppStudioPluginV3 {
|
|
19
21
|
constructor() {
|
|
20
22
|
this.name = "fx-resource-appstudio";
|
|
21
23
|
this.displayName = "App Studio";
|
|
24
|
+
this.appStudioPluginImpl = new plugin_1.AppStudioPluginImpl();
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
27
|
* Generate initial manifest template file, for both local debug & remote
|
|
@@ -27,7 +30,9 @@ let AppStudioPluginV3 = class AppStudioPluginV3 {
|
|
|
27
30
|
* @returns
|
|
28
31
|
*/
|
|
29
32
|
async init(ctx, inputs) {
|
|
30
|
-
|
|
33
|
+
telemetry_1.TelemetryUtils.init(ctx);
|
|
34
|
+
telemetry_1.TelemetryUtils.sendStartEvent(telemetry_1.TelemetryEventName.init);
|
|
35
|
+
const res = await manifestTemplate_1.init(inputs.projectPath, ctx.projectSetting.appName);
|
|
31
36
|
if (res.isErr())
|
|
32
37
|
return teamsfx_api_1.err(res.error);
|
|
33
38
|
const templatesFolder = folder_1.getTemplatesFolder();
|
|
@@ -38,6 +43,7 @@ let AppStudioPluginV3 = class AppStudioPluginV3 {
|
|
|
38
43
|
await fs_extra_1.default.ensureDir(resourcesDir);
|
|
39
44
|
await fs_extra_1.default.copy(defaultColorPath, path.join(resourcesDir, constants_2.DEFAULT_COLOR_PNG_FILENAME));
|
|
40
45
|
await fs_extra_1.default.copy(defaultOutlinePath, path.join(resourcesDir, constants_2.DEFAULT_OUTLINE_PNG_FILENAME));
|
|
46
|
+
telemetry_1.TelemetryUtils.sendSuccessEvent(telemetry_1.TelemetryEventName.init);
|
|
41
47
|
return teamsfx_api_1.ok(undefined);
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
@@ -48,6 +54,8 @@ let AppStudioPluginV3 = class AppStudioPluginV3 {
|
|
|
48
54
|
* @returns
|
|
49
55
|
*/
|
|
50
56
|
async addCapabilities(ctx, inputs, capabilities) {
|
|
57
|
+
telemetry_1.TelemetryUtils.init(ctx);
|
|
58
|
+
telemetry_1.TelemetryUtils.sendStartEvent(telemetry_1.TelemetryEventName.addCapability);
|
|
51
59
|
const pluginContext = utils4v2_1.convert2PluginContext(this.name, ctx, inputs);
|
|
52
60
|
capabilities.map(async (capability) => {
|
|
53
61
|
const exceedLimit = await this.capabilityExceedLimit(ctx, inputs, capability.name);
|
|
@@ -58,22 +66,34 @@ let AppStudioPluginV3 = class AppStudioPluginV3 {
|
|
|
58
66
|
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.CapabilityExceedLimitError.name, errors_1.AppStudioError.CapabilityExceedLimitError.message(capability.name)));
|
|
59
67
|
}
|
|
60
68
|
});
|
|
61
|
-
|
|
69
|
+
const res = await manifestTemplate_1.addCapabilities(pluginContext.root, capabilities);
|
|
70
|
+
if (res.isOk()) {
|
|
71
|
+
telemetry_1.TelemetryUtils.sendSuccessEvent(telemetry_1.TelemetryEventName.addCapability);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
telemetry_1.TelemetryUtils.sendErrorEvent(telemetry_1.TelemetryEventName.addCapability, res.error);
|
|
75
|
+
}
|
|
76
|
+
return res;
|
|
62
77
|
}
|
|
63
78
|
/**
|
|
64
79
|
* Should conside both local and remote
|
|
65
80
|
* @returns
|
|
66
81
|
*/
|
|
67
82
|
async loadManifest(ctx, inputs) {
|
|
83
|
+
telemetry_1.TelemetryUtils.init(ctx);
|
|
84
|
+
telemetry_1.TelemetryUtils.sendStartEvent(telemetry_1.TelemetryEventName.loadManifest);
|
|
68
85
|
const pluginContext = utils4v2_1.convert2PluginContext(this.name, ctx, inputs);
|
|
69
86
|
const localManifest = await manifestTemplate_1.loadManifest(pluginContext.root, true);
|
|
70
87
|
if (localManifest.isErr()) {
|
|
88
|
+
telemetry_1.TelemetryUtils.sendErrorEvent(telemetry_1.TelemetryEventName.loadManifest, localManifest.error);
|
|
71
89
|
return teamsfx_api_1.err(localManifest.error);
|
|
72
90
|
}
|
|
73
91
|
const remoteManifest = await manifestTemplate_1.loadManifest(pluginContext.root, false);
|
|
74
92
|
if (remoteManifest.isErr()) {
|
|
93
|
+
telemetry_1.TelemetryUtils.sendErrorEvent(telemetry_1.TelemetryEventName.loadManifest, remoteManifest.error);
|
|
75
94
|
return teamsfx_api_1.err(remoteManifest.error);
|
|
76
95
|
}
|
|
96
|
+
telemetry_1.TelemetryUtils.sendSuccessEvent(telemetry_1.TelemetryEventName.loadManifest);
|
|
77
97
|
return teamsfx_api_1.ok({ local: localManifest.value, remote: remoteManifest.value });
|
|
78
98
|
}
|
|
79
99
|
/**
|
|
@@ -83,15 +103,20 @@ let AppStudioPluginV3 = class AppStudioPluginV3 {
|
|
|
83
103
|
* @returns
|
|
84
104
|
*/
|
|
85
105
|
async saveManifest(ctx, inputs, manifest) {
|
|
106
|
+
telemetry_1.TelemetryUtils.init(ctx);
|
|
107
|
+
telemetry_1.TelemetryUtils.sendStartEvent(telemetry_1.TelemetryEventName.saveManifest);
|
|
86
108
|
const pluginContext = utils4v2_1.convert2PluginContext(this.name, ctx, inputs);
|
|
87
109
|
let res = await manifestTemplate_1.saveManifest(pluginContext.root, manifest.local, true);
|
|
88
110
|
if (res.isErr()) {
|
|
111
|
+
telemetry_1.TelemetryUtils.sendErrorEvent(telemetry_1.TelemetryEventName.saveManifest, res.error);
|
|
89
112
|
return teamsfx_api_1.err(res.error);
|
|
90
113
|
}
|
|
91
114
|
res = await manifestTemplate_1.saveManifest(pluginContext.root, manifest.remote, false);
|
|
92
115
|
if (res.isErr()) {
|
|
116
|
+
telemetry_1.TelemetryUtils.sendErrorEvent(telemetry_1.TelemetryEventName.saveManifest, res.error);
|
|
93
117
|
return teamsfx_api_1.err(res.error);
|
|
94
118
|
}
|
|
119
|
+
telemetry_1.TelemetryUtils.sendSuccessEvent(telemetry_1.TelemetryEventName.saveManifest);
|
|
95
120
|
return teamsfx_api_1.ok(undefined);
|
|
96
121
|
}
|
|
97
122
|
/**
|
|
@@ -105,9 +130,18 @@ let AppStudioPluginV3 = class AppStudioPluginV3 {
|
|
|
105
130
|
const pluginContext = utils4v2_1.convert2PluginContext(this.name, ctx, inputs);
|
|
106
131
|
return await manifestTemplate_1.capabilityExceedLimit(pluginContext.root, capability);
|
|
107
132
|
}
|
|
133
|
+
async registerTeamsApp(ctx, inputs, envInfo, tokenProvider) {
|
|
134
|
+
return await this.appStudioPluginImpl.createTeamsApp(ctx, inputs, envInfo, tokenProvider);
|
|
135
|
+
}
|
|
136
|
+
async updateTeamsApp(ctx, inputs, envInfo) {
|
|
137
|
+
return teamsfx_api_1.ok(teamsfx_api_1.Void);
|
|
138
|
+
}
|
|
139
|
+
async publishTeamsApp(ctx, inputs, envInfo) {
|
|
140
|
+
return teamsfx_api_1.ok(teamsfx_api_1.Void);
|
|
141
|
+
}
|
|
108
142
|
};
|
|
109
143
|
AppStudioPluginV3 = tslib_1.__decorate([
|
|
110
|
-
typedi_1.Service(constants_1.
|
|
144
|
+
typedi_1.Service(constants_1.BuiltInFeaturePluginNames.appStudio)
|
|
111
145
|
], AppStudioPluginV3);
|
|
112
146
|
exports.AppStudioPluginV3 = AppStudioPluginV3;
|
|
113
147
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/appstudio/v3/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAYgC;AAChC,mCAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/appstudio/v3/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAYgC;AAChC,mCAAiC;AACjC,0EAAuF;AACvF,6CAAuD;AACvD,wCAAoD;AACpD,sCAA2C;AAC3C,0DAM6B;AAC7B,+CAAwD;AACxD,mDAA6B;AAC7B,gEAA0B;AAC1B,4CAOsB;AACtB,kDAAwE;AACxE,qCAA+C;AAG/C,IAAa,iBAAiB,GAA9B,MAAa,iB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,CAAC,cAAc,CAClB,GAAe,EACf,MAAgC,EAChC,OAAqB;QAErB,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;IAClB,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,GAAe,EACf,MAAgC,EAChC,OAAqB;QAErB,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;IAClB,CAAC;CACF,CAAA;AApKY,iBAAiB;IAD7B,gBAAO,CAAC,qCAAyB,CAAC,SAAS,CAAC;GAChC,iBAAiB,CAoK7B;AApKY,8CAAiB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { v2, v3, Result, FxError, TokenProvider } from "@microsoft/teamsfx-api";
|
|
2
|
+
export declare class AppStudioPluginImpl {
|
|
3
|
+
createTeamsApp(ctx: v2.Context, inputs: v2.InputsWithProjectPath, envInfo: v3.EnvInfoV3, tokenProvider: TokenProvider): Promise<Result<string, FxError>>;
|
|
4
|
+
updateTeamsApp(): Promise<void>;
|
|
5
|
+
publishTeamsApp(): Promise<void>;
|
|
6
|
+
private getAppDefinitionAndManifest;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/appstudio/v3/plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,EAAE,EACF,EAAE,EACF,MAAM,EACN,OAAO,EAIP,aAAa,EACd,MAAM,wBAAwB,CAAC;AAWhC,qBAAa,mBAAmB;IACjB,cAAc,CACzB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,EAChC,OAAO,EAAE,EAAE,CAAC,SAAS,EACrB,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAmHtB,cAAc;IAEd,eAAe;YAEd,2BAA2B;CAS1C"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AppStudioPluginImpl = void 0;
|
|
6
|
+
const tslib_1 = require("tslib");
|
|
7
|
+
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
|
+
const fs = tslib_1.__importStar(require("fs-extra"));
|
|
9
|
+
const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
|
|
10
|
+
const appStudio_1 = require("../appStudio");
|
|
11
|
+
const results_1 = require("../results");
|
|
12
|
+
const errors_1 = require("../errors");
|
|
13
|
+
const common_1 = require("../../../../common");
|
|
14
|
+
const constants_1 = require("../constants");
|
|
15
|
+
const utils_1 = require("../utils/utils");
|
|
16
|
+
class AppStudioPluginImpl {
|
|
17
|
+
async createTeamsApp(ctx, inputs, envInfo, tokenProvider) {
|
|
18
|
+
var _a, _b;
|
|
19
|
+
let archivedFile;
|
|
20
|
+
// User provided zip file
|
|
21
|
+
if (inputs.appPackagePath) {
|
|
22
|
+
if (await fs.pathExists(inputs.appPackagePath)) {
|
|
23
|
+
archivedFile = await fs.readFile(inputs.appPackagePath);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(inputs.appPackagePath)));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
const appDefinitionRes = await this.getAppDefinitionAndManifest(inputs.projectPath, envInfo);
|
|
31
|
+
if (appDefinitionRes.isErr()) {
|
|
32
|
+
return teamsfx_api_1.err(appDefinitionRes.error);
|
|
33
|
+
}
|
|
34
|
+
const manifest = appDefinitionRes.value[1];
|
|
35
|
+
manifest.bots = undefined;
|
|
36
|
+
manifest.composeExtensions = undefined;
|
|
37
|
+
return teamsfx_api_1.ok("");
|
|
38
|
+
const appDirectory = await common_1.getAppDirectory(inputs.projectPath);
|
|
39
|
+
const colorFile = `${appDirectory}/${manifest.icons.color}`;
|
|
40
|
+
if (!(await fs.pathExists(colorFile))) {
|
|
41
|
+
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(colorFile));
|
|
42
|
+
}
|
|
43
|
+
const outlineFile = `${appDirectory}/${manifest.icons.outline}`;
|
|
44
|
+
if (!(await fs.pathExists(outlineFile))) {
|
|
45
|
+
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(outlineFile));
|
|
46
|
+
}
|
|
47
|
+
const zip = new adm_zip_1.default();
|
|
48
|
+
zip.addFile(constants_1.Constants.MANIFEST_FILE, Buffer.from(JSON.stringify(manifest)));
|
|
49
|
+
zip.addLocalFile(colorFile);
|
|
50
|
+
zip.addLocalFile(outlineFile);
|
|
51
|
+
archivedFile = zip.toBuffer();
|
|
52
|
+
}
|
|
53
|
+
const appStudioToken = await tokenProvider.appStudioToken.getAccessToken();
|
|
54
|
+
try {
|
|
55
|
+
const appDefinition = await appStudio_1.AppStudioClient.createApp(archivedFile, appStudioToken, ctx.logProvider);
|
|
56
|
+
return teamsfx_api_1.ok(appDefinition.appId);
|
|
57
|
+
}
|
|
58
|
+
catch (e) {
|
|
59
|
+
// Teams app already exists, will update it
|
|
60
|
+
if (e.name === "409") {
|
|
61
|
+
const zipEntries = new adm_zip_1.default(archivedFile).getEntries();
|
|
62
|
+
const manifestFile = zipEntries.find((x) => x.entryName === constants_1.Constants.MANIFEST_FILE);
|
|
63
|
+
if (!manifestFile) {
|
|
64
|
+
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(constants_1.Constants.MANIFEST_FILE)));
|
|
65
|
+
}
|
|
66
|
+
const manifestString = manifestFile.getData().toString();
|
|
67
|
+
const manifest = JSON.parse(manifestString);
|
|
68
|
+
const appDefinition = utils_1.convertToAppDefinition(manifest);
|
|
69
|
+
const colorIconContent = (_a = zipEntries
|
|
70
|
+
.find((x) => x.entryName === manifest.icons.color)) === null || _a === void 0 ? void 0 : _a.getData().toString();
|
|
71
|
+
const outlineIconContent = (_b = zipEntries
|
|
72
|
+
.find((x) => x.entryName === manifest.icons.outline)) === null || _b === void 0 ? void 0 : _b.getData().toString();
|
|
73
|
+
try {
|
|
74
|
+
const app = await appStudio_1.AppStudioClient.updateApp(manifest.id, appDefinition, appStudioToken, undefined, colorIconContent, outlineIconContent);
|
|
75
|
+
return teamsfx_api_1.ok(app.teamsAppId);
|
|
76
|
+
}
|
|
77
|
+
catch (e) {
|
|
78
|
+
return teamsfx_api_1.err(results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.TeamsAppUpdateFailedError.name, errors_1.AppStudioError.TeamsAppUpdateFailedError.message(e)));
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
return teamsfx_api_1.err(results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.TeamsAppCreateFailedError.name, errors_1.AppStudioError.TeamsAppCreateFailedError.message(e)));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
async updateTeamsApp() { }
|
|
87
|
+
async publishTeamsApp() { }
|
|
88
|
+
async getAppDefinitionAndManifest(projectPath, envInfo) {
|
|
89
|
+
// Read template
|
|
90
|
+
// Render mustache template with state and config
|
|
91
|
+
return teamsfx_api_1.ok([{ appName: "appName" }, new teamsfx_api_1.TeamsAppManifest()]);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.AppStudioPluginImpl = AppStudioPluginImpl;
|
|
95
|
+
//# sourceMappingURL=plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":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CAAC;oBAEF,OAAO,gBAAE,CAAC,GAAG,CAAC,UAAW,CAAC,CAAC;iBAC5B;gBAAC,OAAO,CAAM,EAAE;oBACf,OAAO,iBAAG,CACR,gCAAsB,CAAC,WAAW,CAChC,uBAAc,CAAC,yBAAyB,CAAC,IAAI,EAC7C,uBAAc,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CACpD,CACF,CAAC;iBACH;aACF;iBAAM;gBACL,OAAO,iBAAG,CACR,gCAAsB,CAAC,WAAW,CAChC,uBAAc,CAAC,yBAAyB,CAAC,IAAI,EAC7C,uBAAc,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CACpD,CACF,CAAC;aACH;SACF;IACH,CAAC;IAEM,KAAK,CAAC,cAAc,KAAI,CAAC;IAEzB,KAAK,CAAC,eAAe,KAAI,CAAC;IAEzB,KAAK,CAAC,2BAA2B,CACvC,WAAmB,EACnB,OAAqB;QAErB,gBAAgB;QAEhB,iDAAiD;QACjD,OAAO,gBAAE,CAAC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,IAAI,8BAAgB,EAAE,CAAC,CAAC,CAAC;IAC9D,CAAC;CACF;AAtID,kDAsIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/dotnet/plugin.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/dotnet/plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQvD,OAAO,EAAE,QAAQ,EAA6C,MAAM,WAAW,CAAC;AAKhF,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAGzC,qBAAa,aAAc,SAAQ,YAAY;IAChC,oBAAoB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAkC3D,kBAAkB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIzD,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAInD,UAAU,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIrD,SAAS,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIhD,MAAM,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAI7C,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;CAGrE"}
|
|
@@ -37,7 +37,7 @@ class DotnetBotImpl extends plugin_1.TeamsBotImpl {
|
|
|
37
37
|
}
|
|
38
38
|
// Overwrite below lifecycle for dotnet scenario
|
|
39
39
|
async updateArmTemplates(ctx) {
|
|
40
|
-
return result_1.FxBotPluginResultFactory.Success();
|
|
40
|
+
return result_1.FxBotPluginResultFactory.Success({});
|
|
41
41
|
}
|
|
42
42
|
async scaffold(context) {
|
|
43
43
|
return result_1.FxBotPluginResultFactory.Success();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/dotnet/plugin.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAGlC,wDAAwB;AACxB,+CAAwD;AACxD,4DAAqE;AACrE,mGAAsG;AACtG,sEAAyF;AACzF,sCAAmC;AACnC,oDAAiD;AACjD,sCAAgF;AAChF,oDAAiE;AAEjE,gEAA0B;AAC1B,2CAAuC;AACvC,sCAAyC;AAEzC,iDAAiD;AACjD,MAAa,aAAc,SAAQ,qBAAY;IACtC,KAAK,CAAC,oBAAoB,CAAC,GAAkB;QAClD,eAAM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AO,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE;aAC1C;YACD,UAAU,EAAE,IAAI,CAAC,KAAK,CACpB,MAAM,kBAAE,CAAC,QAAQ,CACf,cAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,iBAAK,CAAC,iBAAiB,CAAC,EACpD,0BAAc,CAAC,YAAY,CAC5B,CACF;SACF,CAAC;QAEF,eAAM,CAAC,IAAI,CAAC,mBAAQ,CAAC,mCAAmC,CAAC,CAAC;QAC1D,OAAO,iCAAa,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAED,gDAAgD;IACzC,KAAK,CAAC,kBAAkB,CAAC,GAAkB;QAChD,OAAO,iCAAa,CAAC,OAAO,CAAC,EAAuB,CAAC,CAAC;IACxD,CAAC;IAEM,KAAK,CAAC,QAAQ,CAAC,OAAsB;QAC1C,OAAO,iCAAa,CAAC,OAAO,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,GAAkB;QACxC,OAAO,iCAAa,CAAC,OAAO,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,cAAc,CAAC,GAAkB;QAC5C,OAAO,iCAAa,CAAC,OAAO,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,SAAS,CAAC,GAAkB;QACvC,OAAO,iCAAa,CAAC,OAAO,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,GAAkB;QACpC,OAAO,iCAAa,CAAC,OAAO,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAC,GAAkB;QAC9C,OAAO,iCAAa,CAAC,OAAO,EAAE,CAAC;IACjC,CAAC;CACF;AA9DD,sCA8DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programmingLanguage.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/enums/programmingLanguage.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB;IAC7B,UAAU,eAAe;IACzB,UAAU,eAAe;
|
|
1
|
+
{"version":3,"file":"programmingLanguage.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/enums/programmingLanguage.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB;IAC7B,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,MAAM,WAAW;CAClB"}
|
|
@@ -7,5 +7,6 @@ var ProgrammingLanguage;
|
|
|
7
7
|
(function (ProgrammingLanguage) {
|
|
8
8
|
ProgrammingLanguage["JavaScript"] = "javascript";
|
|
9
9
|
ProgrammingLanguage["TypeScript"] = "typescript";
|
|
10
|
+
ProgrammingLanguage["Csharp"] = "csharp";
|
|
10
11
|
})(ProgrammingLanguage = exports.ProgrammingLanguage || (exports.ProgrammingLanguage = {}));
|
|
11
12
|
//# sourceMappingURL=programmingLanguage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programmingLanguage.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/enums/programmingLanguage.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,IAAY,
|
|
1
|
+
{"version":3,"file":"programmingLanguage.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/enums/programmingLanguage.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,gDAAyB,CAAA;IACzB,gDAAyB,CAAA;IACzB,wCAAiB,CAAA;AACnB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B"}
|
|
@@ -18,7 +18,7 @@ const typedi_1 = require("typedi");
|
|
|
18
18
|
const ResourcePluginContainer_1 = require("../../solution/fx-solution/ResourcePluginContainer");
|
|
19
19
|
require("./v2");
|
|
20
20
|
const plugin_2 = require("./dotnet/plugin");
|
|
21
|
-
const
|
|
21
|
+
const programmingLanguage_1 = require("./enums/programmingLanguage");
|
|
22
22
|
let TeamsBot = TeamsBot_1 = class TeamsBot {
|
|
23
23
|
constructor() {
|
|
24
24
|
this.name = "fx-resource-bot";
|
|
@@ -34,7 +34,8 @@ let TeamsBot = TeamsBot_1 = class TeamsBot {
|
|
|
34
34
|
return TeamsBot_1.isVsPlatform(context) ? this.dotnetBotImpl : this.teamsBotImpl;
|
|
35
35
|
}
|
|
36
36
|
static isVsPlatform(context) {
|
|
37
|
-
|
|
37
|
+
var _a;
|
|
38
|
+
return ((_a = context.projectSettings) === null || _a === void 0 ? void 0 : _a.programmingLanguage) === programmingLanguage_1.ProgrammingLanguage.Csharp;
|
|
38
39
|
}
|
|
39
40
|
async scaffold(context) {
|
|
40
41
|
logger_1.Logger.setLogger(context.logProvider);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/resource/bot/index.ts"],"names":[],"mappings":";;;;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,wDASgC;AAEhC,qCAA+E;AAC/E,qCAAwC;AACxC,iDAAoD;AACpD,2CAAuE;AACvE,qCAAkD;AAClD,qCAAkC;AAClC,+DAA2D;AAC3D,kEAA0F;AAC1F,mCAAiC;AACjC,gGAAqF;AACrF,gBAAc;AACd,4CAAgD;AAEhD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/resource/bot/index.ts"],"names":[],"mappings":";;;;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,wDASgC;AAEhC,qCAA+E;AAC/E,qCAAwC;AACxC,iDAAoD;AACpD,2CAAuE;AACvE,qCAAkD;AAClD,qCAAkC;AAClC,+DAA2D;AAC3D,kEAA0F;AAC1F,mCAAiC;AACjC,gGAAqF;AACrF,gBAAc;AACd,4CAAgD;AAEhD,qEAAkE;AAGlE,IAAa,QAAQ,gBAArB,MAAa,QAAQ;IAArB;QACE,SAAI,GAAG,iBAAiB,CAAC;QACzB,gBAAW,GAAG,KAAK,CAAC;QA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AAC,CAAC;YACxE,OAAO,MAAM,CAAC;SACf;aAAM;YACL,0BAA0B;YAC1B,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;YAC5C,aAAa;gBACX,kCAAe,CAAC,eAAe,CAC7B,OAAO,EACP,IAAI,EACJ,iCAAa,CAAC,WAAW,CACvB,kBAAkB,EAClB,2BAA2B,CAAC,CAAC,OAAO,EAAE,EACtC,CAAC,CAAC,UAAU,CACb,CACF,CAAC;YACJ,OAAO,iCAAa,CAAC,WAAW,CAAC,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;SAC/E;IACH,CAAC;IAEO,KAAK,CAAC,wBAAwB,CACpC,OAAsB,EACtB,EAA2B,EAC3B,aAAsB,EACtB,IAAY;QAEZ,IAAI;YACF,aAAa,IAAI,kCAAe,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YAC/D,MAAM,GAAG,GAAa,MAAM,EAAE,EAAE,CAAC;YACjC,aAAa,IAAI,kCAAe,CAAC,eAAe,CAAC,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;YACrE,OAAO,GAAG,CAAC;SACZ;QAAC,OAAO,CAAC,EAAE;YACV,MAAM,iCAAkB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,2BAA2B;YAC7E,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;SACxD;IACH,CAAC;CACF,CAAA;AApOY,QAAQ;IADpB,gBAAO,CAAC,yCAAe,CAAC,SAAS,CAAC;GACtB,QAAQ,CAoOpB;AApOY,4BAAQ;AAsOrB,kBAAe,IAAI,QAAQ,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Func, FxError, Inputs, Json, ProjectSettings, Result, TokenProvider, v2, Void } from "@microsoft/teamsfx-api";
|
|
2
|
-
import { Context, DeploymentInputs, DeepReadonly, ProvisionInputs, ResourcePlugin,
|
|
2
|
+
import { Context, DeploymentInputs, DeepReadonly, ProvisionInputs, ResourcePlugin, ResourceTemplate } from "@microsoft/teamsfx-api/build/v2";
|
|
3
3
|
import { TeamsBot } from "..";
|
|
4
4
|
export declare class BotPluginV2 implements ResourcePlugin {
|
|
5
5
|
name: string;
|
|
@@ -9,8 +9,8 @@ export declare class BotPluginV2 implements ResourcePlugin {
|
|
|
9
9
|
scaffoldSourceCode(ctx: Context, inputs: Inputs): Promise<Result<Void, FxError>>;
|
|
10
10
|
generateResourceTemplate(ctx: Context, inputs: Inputs): Promise<Result<ResourceTemplate, FxError>>;
|
|
11
11
|
updateResourceTemplate(ctx: Context, inputs: Inputs): Promise<Result<v2.ResourceTemplate, FxError>>;
|
|
12
|
-
provisionResource(ctx: Context, inputs: ProvisionInputs, envInfo:
|
|
13
|
-
configureResource(ctx: Context, inputs: ProvisionInputs, envInfo:
|
|
12
|
+
provisionResource(ctx: Context, inputs: ProvisionInputs, envInfo: v2.EnvInfoV2, tokenProvider: TokenProvider): Promise<Result<Void, FxError>>;
|
|
13
|
+
configureResource(ctx: Context, inputs: ProvisionInputs, envInfo: v2.EnvInfoV2, tokenProvider: TokenProvider): Promise<Result<Void, FxError>>;
|
|
14
14
|
provisionLocalResource(ctx: Context, inputs: Inputs, localSettings: Json, tokenProvider: TokenProvider): Promise<Result<Void, FxError>>;
|
|
15
15
|
configureLocalResource(ctx: Context, inputs: Inputs, localSettings: Json, tokenProvider: TokenProvider): Promise<Result<Void, FxError>>;
|
|
16
16
|
deploy(ctx: Context, inputs: DeploymentInputs, envInfo: DeepReadonly<v2.EnvInfoV2>, tokenProvider: TokenProvider): Promise<Result<Void, FxError>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/v2/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,IAAI,EACJ,OAAO,EACP,MAAM,EACN,IA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M,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"}
|
|
@@ -19,6 +19,8 @@ export declare class DotnetPluginInfo {
|
|
|
19
19
|
export declare class DotnetPathInfo {
|
|
20
20
|
static readonly publishFolderPath: (workingPath: string, framework?: string, runtime?: string) => string;
|
|
21
21
|
static readonly bicepTemplateFolder: (templateFolder: string) => string;
|
|
22
|
+
static readonly TemplateFolderName = "dotnet";
|
|
23
|
+
static readonly projectFilename: (projectName: string) => string;
|
|
22
24
|
}
|
|
23
25
|
export declare class DotnetCommands {
|
|
24
26
|
static readonly buildRelease: (runtime: string) => string;
|
|
@@ -35,6 +37,10 @@ export declare class DotnetConfigInfo {
|
|
|
35
37
|
static readonly webAppDomain = "domain";
|
|
36
38
|
static readonly projectFilePath = "projectFilePath";
|
|
37
39
|
}
|
|
40
|
+
export declare class Capability {
|
|
41
|
+
static readonly tab = "Tab";
|
|
42
|
+
static readonly bot = "Bot";
|
|
43
|
+
}
|
|
38
44
|
export declare class WebappBicepFile {
|
|
39
45
|
static readonly configurationTemplateFileName = "webappConfiguration.template.bicep";
|
|
40
46
|
static readonly provisionTemplateFileName = "webappProvision.template.bicep";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/constants.ts"],"names":[],"mappings":"AAKA,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,WAAW,MAAM;CAClC;AAED,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,YAAY,YAAa,MAAM,YACY;CAC5D;AAED,qBAAa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAwC;CAChF;AAED,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ,CAAC,UAAU,wBAAwB;IAClD,MAAM,CAAC,QAAQ,CAAC,WAAW,YAAY;IACvC,MAAM,CAAC,QAAQ,CAAC,KAAK,QAAQ;IAC7B,MAAM,CAAC,QAAQ,CAAC,SAAS,qDAAqD;IAC9E,MAAM,CAAC,QAAQ,CAAC,QAAQ,oCAAoC;IAE5D,MAAM,CAAC,QAAQ,CAAC,gBAAgB,YAAY;IAC5C,MAAM,CAAC,QAAQ,CAAC,cAAc,aAAa;CAC5C;AAED,qBAAa,cAAc;IACzB,MAAM,CAAC,QAAQ,CAAC,iBAAiB,gBAClB,MAAM,2CAGlB,MAAM,CAA4E;IAErF,MAAM,CAAC,QAAQ,CAAC,mBAAmB,mBAAoB,MAAM,YACS;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/constants.ts"],"names":[],"mappings":"AAKA,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,WAAW,MAAM;CAClC;AAED,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,YAAY,YAAa,MAAM,YACY;CAC5D;AAED,qBAAa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,eAA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CAAC,QAAQ,CAAC,GAAG,SAAS;CAC7B;AAED,qBAAa,eAAe;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"}
|
|
@@ -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.WebappBicep = exports.WebappBicepFile = exports.DotnetConfigInfo = exports.DependentPluginInfo = exports.DotnetCommands = exports.DotnetPathInfo = exports.DotnetPluginInfo = exports.RegularExpr = exports.AzureInfo = exports.Constants = void 0;
|
|
5
|
+
exports.WebappBicep = exports.WebappBicepFile = exports.Capability = exports.DotnetConfigInfo = exports.DependentPluginInfo = exports.DotnetCommands = exports.DotnetPathInfo = exports.DotnetPluginInfo = exports.RegularExpr = exports.AzureInfo = 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 {
|
|
@@ -32,6 +32,8 @@ class DotnetPathInfo {
|
|
|
32
32
|
exports.DotnetPathInfo = DotnetPathInfo;
|
|
33
33
|
DotnetPathInfo.publishFolderPath = (workingPath, framework = DotnetPluginInfo.defaultFramework, runtime = DotnetPluginInfo.defaultRuntime) => path_1.default.join(workingPath, "bin", "Release", framework, runtime, "publish");
|
|
34
34
|
DotnetPathInfo.bicepTemplateFolder = (templateFolder) => path_1.default.join(templateFolder, "plugins", "resource", "webapp", "bicep");
|
|
35
|
+
DotnetPathInfo.TemplateFolderName = "dotnet";
|
|
36
|
+
DotnetPathInfo.projectFilename = (projectName) => `${projectName}.csproj`;
|
|
35
37
|
class DotnetCommands {
|
|
36
38
|
}
|
|
37
39
|
exports.DotnetCommands = DotnetCommands;
|
|
@@ -50,6 +52,11 @@ DotnetConfigInfo.appServicePlanName = "appServicePlanName";
|
|
|
50
52
|
DotnetConfigInfo.webAppEndpoint = "endpoint";
|
|
51
53
|
DotnetConfigInfo.webAppDomain = "domain";
|
|
52
54
|
DotnetConfigInfo.projectFilePath = "projectFilePath";
|
|
55
|
+
class Capability {
|
|
56
|
+
}
|
|
57
|
+
exports.Capability = Capability;
|
|
58
|
+
Capability.tab = "Tab";
|
|
59
|
+
Capability.bot = "Bot";
|
|
53
60
|
class WebappBicepFile {
|
|
54
61
|
}
|
|
55
62
|
exports.WebappBicepFile = WebappBicepFile;
|
|
@@ -1 +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,oCAAoC,CAAC;AAGjF,MAAa,gBAAgB;;AAA7B,4CASC;AARiB,2BAAU,GAAG,oBAAoB,CAAC;AAClC,4BAAW,GAAG,QAAQ,CAAC;AACvB,sBAAK,GAAG,IAAI,CAAC;AACb,0BAAS,GAAG,iDAAiD,CAAC;AAC9D,yBAAQ,GAA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src/plugins/resource/frontend/dotnet/enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/enum.ts"],"names":[],"mappings":"AAGA,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/enum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/enum.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/ops/deploy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/ops/deploy.ts"],"names":[],"mappings":"AAKA,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"}
|