@microsoft/teamsfx-core 1.1.1 → 1.1.2-alpha.30d0724a.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/armInterface.d.ts +1 -1
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/constants.d.ts +3 -2
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +3 -2
- package/build/common/constants.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts +17 -0
- package/build/common/local/localEnvManager.d.ts.map +1 -0
- package/build/common/local/localEnvManager.js +72 -0
- package/build/common/local/localEnvManager.js.map +1 -0
- package/build/common/localSettingsProvider.d.ts +3 -3
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +11 -6
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/samples-config.json +14 -0
- package/build/common/tools.d.ts +11 -1
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +23 -10
- package/build/common/tools.js.map +1 -1
- package/build/core/SolutionPluginContainer.d.ts +2 -1
- package/build/core/SolutionPluginContainer.d.ts.map +1 -1
- package/build/core/SolutionPluginContainer.js +9 -1
- package/build/core/SolutionPluginContainer.js.map +1 -1
- package/build/core/environment.d.ts +4 -3
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +37 -7
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +2 -1
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +7 -3
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +52 -14
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +699 -485
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +23 -12
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts +5 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +51 -44
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts +3 -0
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/envInfoLoaderV3.js +64 -0
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -0
- package/build/core/middleware/envInfoWriter.js +13 -30
- package/build/core/middleware/envInfoWriter.js.map +1 -1
- package/build/core/middleware/envInfoWriterV3.d.ts +6 -0
- package/build/core/middleware/envInfoWriterV3.d.ts.map +1 -0
- package/build/core/middleware/envInfoWriterV3.js +63 -0
- package/build/core/middleware/envInfoWriterV3.js.map +1 -0
- package/build/core/middleware/errorHandler.d.ts.map +1 -1
- package/build/core/middleware/errorHandler.js +3 -5
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/localSettingsLoader.js.map +1 -1
- package/build/core/middleware/localSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/localSettingsWriter.js +6 -16
- package/build/core/middleware/localSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +22 -54
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +2 -4
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsLoaderV3.d.ts +4 -0
- package/build/core/middleware/projectSettingsLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/projectSettingsLoaderV3.js +49 -0
- package/build/core/middleware/projectSettingsLoaderV3.js.map +1 -0
- package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +2 -2
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +14 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +319 -23
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoader.d.ts +3 -2
- package/build/core/middleware/solutionLoader.d.ts.map +1 -1
- package/build/core/middleware/solutionLoader.js +21 -23
- package/build/core/middleware/solutionLoader.js.map +1 -1
- package/build/core/middleware/solutionLoaderV3.d.ts +4 -0
- package/build/core/middleware/solutionLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/solutionLoaderV3.js +19 -0
- package/build/core/middleware/solutionLoaderV3.js.map +1 -0
- package/build/core/question.d.ts +9 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +113 -3
- package/build/core/question.js.map +1 -1
- package/build/core/tools.d.ts +2 -1
- package/build/core/tools.d.ts.map +1 -1
- package/build/core/tools.js +15 -1
- package/build/core/tools.js.map +1 -1
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +1 -10
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.js +5 -7
- package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +106 -85
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +6 -1
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +6 -1
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +2 -1
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +10 -2
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +2 -3
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +93 -119
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +5 -1
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +9 -11
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/constants.d.ts +1 -7
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +2 -9
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/env.d.ts +21 -0
- package/build/plugins/resource/frontend/env.d.ts.map +1 -0
- package/build/plugins/resource/frontend/env.js +82 -0
- package/build/plugins/resource/frontend/env.js.map +1 -0
- package/build/plugins/resource/frontend/ops/deploy.d.ts +2 -1
- package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.js +2 -2
- package/build/plugins/resource/frontend/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts +2 -0
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +28 -16
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/utils/environment-utils.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/environment-utils.js +4 -2
- package/build/plugins/resource/frontend/utils/environment-utils.js.map +1 -1
- package/build/plugins/resource/frontend/utils.d.ts +6 -1
- package/build/plugins/resource/frontend/utils.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils.js +17 -6
- package/build/plugins/resource/frontend/utils.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +7 -9
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.js +2 -2
- package/build/plugins/resource/function/utils/depsChecker/checker.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts +2 -2
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/common.js +6 -6
- package/build/plugins/resource/function/utils/depsChecker/common.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts +3 -2
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js +3 -2
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js +1 -23
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js.map +1 -1
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +11 -13
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/keyvault/plugin.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/plugin.js +7 -9
- package/build/plugins/resource/keyvault/plugin.js.map +1 -1
- package/build/plugins/resource/localdebug/certificate.js +3 -3
- package/build/plugins/resource/localdebug/certificate.js.map +1 -1
- package/build/plugins/resource/localdebug/index.d.ts +0 -1
- package/build/plugins/resource/localdebug/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/index.js +3 -280
- package/build/plugins/resource/localdebug/index.js.map +1 -1
- package/build/plugins/resource/localdebug/util/error.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/util/error.js +1 -1
- package/build/plugins/resource/localdebug/util/error.js.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.js +34 -1
- package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +7 -9
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/simpleauth/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/utils/common.js +3 -1
- package/build/plugins/resource/simpleauth/utils/common.js.map +1 -1
- package/build/plugins/resource/sql/config.d.ts +0 -1
- package/build/plugins/resource/sql/config.d.ts.map +1 -1
- package/build/plugins/resource/sql/config.js +0 -1
- package/build/plugins/resource/sql/config.js.map +1 -1
- package/build/plugins/resource/sql/constants.d.ts +1 -0
- package/build/plugins/resource/sql/constants.d.ts.map +1 -1
- package/build/plugins/resource/sql/constants.js +1 -0
- package/build/plugins/resource/sql/constants.js.map +1 -1
- package/build/plugins/resource/sql/errors.d.ts +1 -0
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +1 -0
- package/build/plugins/resource/sql/errors.js.map +1 -1
- package/build/plugins/resource/sql/managementClient.d.ts +3 -1
- package/build/plugins/resource/sql/managementClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/managementClient.js +11 -2
- package/build/plugins/resource/sql/managementClient.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts +3 -0
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +37 -27
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/sqlClient.js +15 -24
- package/build/plugins/resource/sql/sqlClient.js.map +1 -1
- package/build/plugins/resource/sql/utils/checkInput.js +2 -2
- package/build/plugins/resource/sql/utils/checkInput.js.map +1 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -1
- package/build/plugins/resource/sql/utils/message.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/message.js +0 -1
- package/build/plugins/resource/sql/utils/message.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +18 -11
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +387 -120
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +13 -2
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +24 -26
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.d.ts +9 -0
- package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/constants.js +16 -0
- package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/error.d.ts +7 -0
- package/build/plugins/solution/fx-solution/debug/error.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/error.js +28 -0
- package/build/plugins/solution/fx-solution/debug/error.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts +3 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +107 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +3 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +153 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/codespace.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/codespace.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/codespace.js +0 -0
- package/build/plugins/solution/fx-solution/debug/util/codespace.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/contextHelper.d.ts +10 -0
- package/build/plugins/solution/fx-solution/debug/util/contextHelper.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/contextHelper.js +34 -0
- package/build/plugins/solution/fx-solution/debug/util/contextHelper.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/launch.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/launch.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/launch.js +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/ngrok.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/ngrok.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/ngrok.js +2 -2
- package/build/plugins/solution/fx-solution/debug/util/ngrok.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.d.ts +2 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.js +22 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/tasks.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/tasks.js +6 -6
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/telemetry.d.ts +27 -0
- package/build/plugins/solution/fx-solution/debug/util/telemetry.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/telemetry.js +81 -0
- package/build/plugins/solution/fx-solution/debug/util/telemetry.js.map +1 -0
- package/build/plugins/solution/fx-solution/index.d.ts +1 -0
- package/build/plugins/solution/fx-solution/index.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/index.js +1 -0
- package/build/plugins/solution/fx-solution/index.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +2 -2
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +2 -32
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +9 -5
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts +2 -2
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.js +13 -14
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts +2 -2
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.js +4 -4
- package/build/plugins/solution/fx-solution/utils/progressHelper.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/constants.d.ts +2 -0
- package/build/plugins/solution/fx-solution/v2/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/constants.js +7 -0
- package/build/plugins/solution/fx-solution/v2/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +7 -4
- package/build/plugins/solution/fx-solution/v2/executeUserTask.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 +67 -25
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +9 -1
- 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 +5 -0
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +5 -0
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.js +2 -1
- package/build/plugins/solution/fx-solution/v2/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts +6 -0
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addModule.js +35 -0
- package/build/plugins/solution/fx-solution/v3/addModule.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts +37 -0
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addResource.js +260 -0
- package/build/plugins/solution/fx-solution/v3/addResource.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +20 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.js +25 -0
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts +6 -0
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/deploy.js +78 -0
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/error.d.ts +11 -0
- package/build/plugins/solution/fx-solution/v3/error.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/error.js +23 -0
- package/build/plugins/solution/fx-solution/v3/error.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/init.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/init.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/init.js +35 -0
- package/build/plugins/solution/fx-solution/v3/init.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provision.js +124 -0
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js +13 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/publish.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/publish.js +15 -0
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/questions.d.ts +16 -0
- package/build/plugins/solution/fx-solution/v3/questions.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/questions.js +86 -0
- package/build/plugins/solution/fx-solution/v3/questions.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +27 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.js +241 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solution.d.ts +32 -0
- package/build/plugins/solution/fx-solution/v3/solution.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solution.js +45 -0
- package/build/plugins/solution/fx-solution/v3/solution.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/userTask.js +15 -0
- package/build/plugins/solution/fx-solution/v3/userTask.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/utils.d.ts +3 -0
- package/build/plugins/solution/fx-solution/v3/utils.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/utils.js +16 -0
- package/build/plugins/solution/fx-solution/v3/utils.js.map +1 -0
- package/build/plugins/solution/index.d.ts +1 -0
- package/build/plugins/solution/index.d.ts.map +1 -1
- package/build/plugins/solution/index.js +1 -0
- package/build/plugins/solution/index.js.map +1 -1
- package/build/plugins/solution/spfx-solution/constants.d.ts +2 -0
- package/build/plugins/solution/spfx-solution/constants.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/constants.js +7 -0
- package/build/plugins/solution/spfx-solution/constants.js.map +1 -0
- package/build/plugins/solution/spfx-solution/index.d.ts +2 -0
- package/build/plugins/solution/spfx-solution/index.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/index.js +5 -0
- package/build/plugins/solution/spfx-solution/index.js.map +1 -0
- package/build/plugins/solution/spfx-solution/init.d.ts +3 -0
- package/build/plugins/solution/spfx-solution/init.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/init.js +20 -0
- package/build/plugins/solution/spfx-solution/init.js.map +1 -0
- package/build/plugins/solution/spfx-solution/questions.d.ts +6 -0
- package/build/plugins/solution/spfx-solution/questions.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/questions.js +36 -0
- package/build/plugins/solution/spfx-solution/questions.js.map +1 -0
- package/build/plugins/solution/spfx-solution/scaffolding.d.ts +17 -0
- package/build/plugins/solution/spfx-solution/scaffolding.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/scaffolding.js +29 -0
- package/build/plugins/solution/spfx-solution/scaffolding.js.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts +23 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.js +29 -0
- package/build/plugins/solution/spfx-solution/solution.js.map +1 -0
- package/package.json +9 -4
- package/resource/strings.json +0 -1
- package/templates/plugins/resource/apim/bicep/apimConfiguration.bicep +16 -16
- package/templates/plugins/resource/apim/bicep/config.template.bicep +1 -1
- package/templates/plugins/resource/apim/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +28 -29
- package/templates/plugins/resource/bot/bicep/config.template.bicep +1 -1
- package/templates/plugins/resource/bot/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/frontend/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/function/bicep/config.template.bicep +1 -1
- package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +33 -31
- package/templates/plugins/resource/function/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/identity/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +3 -2
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +1 -1
- package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +20 -24
- package/templates/plugins/resource/simpleauth/version.txt +2 -1
- package/templates/plugins/resource/sql/bicep/provision.template.bicep +1 -1
- package/build/plugins/resource/localdebug/launch.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/launch.js.map +0 -1
- package/build/plugins/resource/localdebug/legacyPlugin.d.ts +0 -6
- package/build/plugins/resource/localdebug/legacyPlugin.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/legacyPlugin.js +0 -208
- package/build/plugins/resource/localdebug/legacyPlugin.js.map +0 -1
- package/build/plugins/resource/localdebug/settings.d.ts +0 -2
- package/build/plugins/resource/localdebug/settings.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/settings.js +0 -18
- package/build/plugins/resource/localdebug/settings.js.map +0 -1
- package/build/plugins/resource/localdebug/tasks.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/tasks.js.map +0 -1
- package/build/plugins/resource/localdebug/util/codespace.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/codespace.js.map +0 -1
- package/build/plugins/resource/localdebug/util/ngrok.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/ngrok.js.map +0 -1
- package/templates/azure/config.bicep +0 -25
- package/templates/azure/main.bicep +0 -20
- package/templates/azure/provision/azureSql.bicep +0 -39
- package/templates/azure/provision/frontendHosting.bicep +0 -23
- package/templates/azure/provision/function.bicep +0 -79
- package/templates/azure/provision/simpleAuth.bicep +0 -44
- package/templates/azure/provision.bicep +0 -58
- package/templates/azure/teamsFx/bot.bicep +0 -34
- package/templates/azure/teamsFx/function.bicep +0 -71
- package/templates/azure/teamsFx/simpleAuth.bicep +0 -40
- package/templates/plugins/resource/aad/bicep/param.template.bicep +0 -6
- package/templates/plugins/resource/aad/bicep/variables.template.bicep +0 -13
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FxError, Inputs, Json, Result, v2, v3, AppStudioTokenProvider, Void, QTreeNode } from "@microsoft/teamsfx-api";
|
|
2
|
+
import { OptionItem } from "@microsoft/teamsfx-api";
|
|
3
|
+
export declare class TeamsSPFxSolution implements v3.ISolution {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
init: (ctx: v2.Context, inputs: v2.InputsWithProjectPath) => Promise<Result<Void, FxError>>;
|
|
7
|
+
getQuestionsForInit?: (ctx: v2.Context, inputs: Inputs) => Promise<Result<QTreeNode | undefined, FxError>>;
|
|
8
|
+
scaffold: (ctx: v2.Context, inputs: v2.InputsWithProjectPath & {
|
|
9
|
+
module?: string;
|
|
10
|
+
template?: OptionItem;
|
|
11
|
+
}) => Promise<Result<Void, FxError>>;
|
|
12
|
+
generateResourceTemplate: (ctx: v2.Context, inputs: Inputs) => Promise<Result<Json, FxError>>;
|
|
13
|
+
publishApplication: (ctx: v2.Context, inputs: Inputs, envInfo: v2.EnvInfoV2, tokenProvider: AppStudioTokenProvider) => Promise<Result<Void, FxError>>;
|
|
14
|
+
addResource: (ctx: v2.Context, inputs: v2.InputsWithProjectPath & {
|
|
15
|
+
module?: string;
|
|
16
|
+
resource?: string;
|
|
17
|
+
}) => Promise<Result<Void, FxError>>;
|
|
18
|
+
addModule: (ctx: v2.Context, localSettings: Json, inputs: v2.InputsWithProjectPath & {
|
|
19
|
+
capabilities?: string[];
|
|
20
|
+
}) => Promise<Result<Void, FxError>>;
|
|
21
|
+
getQuestionsForScaffold?: (ctx: v2.Context, inputs: v2.InputsWithProjectPath) => Promise<Result<QTreeNode | undefined, FxError>>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=solution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solution.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/solution.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,EACP,MAAM,EACN,IAAI,EACJ,MAAM,EACN,EAAE,EACF,EAAE,EACF,sBAAsB,EACtB,IAAI,EACJ,SAAS,EACV,MAAM,wBAAwB,CAAC;AAehC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,qBACa,iBAAkB,YAAW,EAAE,CAAC,SAAS;IACpD,IAAI,SAA6B;IACjC,WAAW,EAAE,MAAM,CAAkC;IAErD,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,E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EAAE,MAAM,EAAE,CAAA;KAAE,KAC3D,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAa;IAEhD,uBAAuB,CAAC,EAAE,CACxB,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,KAC7B,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,CAA8B;CACnF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TeamsSPFxSolution = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const constants_1 = require("../../../common/constants");
|
|
6
|
+
const scaffolding_1 = require("./scaffolding");
|
|
7
|
+
const init_1 = require("./init");
|
|
8
|
+
const typedi_1 = require("typedi");
|
|
9
|
+
const questions_1 = require("./questions");
|
|
10
|
+
const constants_2 = require("../fx-solution/v3/constants");
|
|
11
|
+
let TeamsSPFxSolution = class TeamsSPFxSolution {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.name = constants_2.BuiltInSolutionNames.spfx;
|
|
14
|
+
this.displayName = constants_1.PluginDisplayName.SpfxSolution;
|
|
15
|
+
this.init = scaffolding_1.init;
|
|
16
|
+
this.getQuestionsForInit = init_1.getQuestionsForInit;
|
|
17
|
+
this.scaffold = scaffolding_1.scaffold;
|
|
18
|
+
this.generateResourceTemplate = scaffolding_1.generateResourceTemplate;
|
|
19
|
+
this.publishApplication = scaffolding_1.publishApplication;
|
|
20
|
+
this.addResource = scaffolding_1.addResource;
|
|
21
|
+
this.addModule = scaffolding_1.addModule;
|
|
22
|
+
this.getQuestionsForScaffold = questions_1.getQuestionsForScaffolding;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
TeamsSPFxSolution = tslib_1.__decorate([
|
|
26
|
+
typedi_1.Service(constants_2.BuiltInSolutionNames.spfx)
|
|
27
|
+
], TeamsSPFxSolution);
|
|
28
|
+
exports.TeamsSPFxSolution = TeamsSPFxSolution;
|
|
29
|
+
//# sourceMappingURL=solution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solution.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/solution.ts"],"names":[],"mappings":";;;;AAYA,yDAA8D;AAE9D,+CAOuB;AACvB,iCAA6C;AAC7C,mCAAiC;AACjC,2CAAyD;AACzD,2DAAmE;AAInE,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAA9B;QACE,SAAI,GAAG,gCAAoB,CAAC,IAAI,CAAC;QACjC,gBAAW,GAAW,6BAAiB,CAAC,YAAY,CAAC;QAErD,SAAI,GACF,kBAAI,CAAC;QACP,wBAAmB,GAGoC,0BAAmB,CAAC;QAE3E,aAAQ,GAG8B,sBAAQ,CAAC;QAE/C,6BAAwB,GACtB,sCAAwB,CAAC;QAE3B,uBAAkB,GAKoB,gCAAkB,CAAC;QAEzD,gBAAW,GAG2B,yBAAW,CAAC;QAElD,cAAS,GAI6B,uBAAS,CAAC;QAEhD,4BAAuB,GAGgC,sCAA0B,CAAC;IACpF,CAAC;CAAA,CAAA;AAzCY,iBAAiB;IAD7B,gBAAO,CAAC,gCAAoB,CAAC,IAAI,CAAC;GACtB,iBAAiB,CAyC7B;AAzCY,8CAAiB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2-alpha.30d0724a.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,11 +21,16 @@
|
|
|
21
21
|
"test:apim": "nyc mocha \"tests/plugins/resource/apim/**/*.test.ts\"",
|
|
22
22
|
"test:keyvault": "nyc mocha \"tests/plugins/resource/keyvault/**/*.test.ts\"",
|
|
23
23
|
"test:unit": "nyc --no-clean mocha \"tests/**/*.test.ts\"",
|
|
24
|
+
"test:common": "nyc --no-clean mocha \"tests/common/*.test.ts\"",
|
|
24
25
|
"test:solution": "nyc mocha \"tests/plugins/solution/*.test.ts\"",
|
|
25
|
-
"test:
|
|
26
|
+
"test:solution:debug": "nyc mocha \"tests/plugins/solution/debug/*.test.ts\"",
|
|
27
|
+
"test:core": "nyc mocha \"tests/core/**/*.test.ts\"",
|
|
28
|
+
"test:corev3": "nyc mocha \"tests/core/corev3.test.ts\"",
|
|
26
29
|
"test:core-mw": "nyc mocha \"tests/core/middleware/*.test.ts\"",
|
|
27
30
|
"test:core-tools": "nyc mocha \"tests/core/tools.test.ts\"",
|
|
28
31
|
"test:apiv2": "nyc mocha \"tests/plugins/resource/apiv2/*.test.ts\"",
|
|
32
|
+
"test:solutionv3": "nyc mocha \"tests/plugins/solutionv3/*.test.ts\"",
|
|
33
|
+
"test:env-checker": "nyc mocha \"tests/common/deps-checker/*.test.ts\"",
|
|
29
34
|
"clean": "rm -rf build",
|
|
30
35
|
"build": "rimraf build && npx tsc -p ./",
|
|
31
36
|
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
@@ -48,7 +53,7 @@
|
|
|
48
53
|
"@azure/storage-blob": "^12.7.0",
|
|
49
54
|
"@dbpiper/timer": "1.0.0-beta.2",
|
|
50
55
|
"@feathersjs/hooks": "^0.6.5",
|
|
51
|
-
"@microsoft/teamsfx-api": "
|
|
56
|
+
"@microsoft/teamsfx-api": "0.12.1-alpha.30d0724a.0",
|
|
52
57
|
"@npmcli/package-json": "^1.0.1",
|
|
53
58
|
"@types/jwt-decode": "3.1.0",
|
|
54
59
|
"@types/proper-lockfile": "^4.1.1",
|
|
@@ -155,7 +160,7 @@
|
|
|
155
160
|
"resource/**/*",
|
|
156
161
|
"templates/**/*"
|
|
157
162
|
],
|
|
158
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "eeef86eb516610fa457172001c6f0f13b824e736",
|
|
159
164
|
"publishConfig": {
|
|
160
165
|
"access": "public"
|
|
161
166
|
},
|
package/resource/strings.json
CHANGED
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"LocalDebugTenantConfirmNotice": "You already run local debug for the Teams app in another tenant '%s'. You can sign out %s and sign in with the matched M365 account to re-use the previous local debug resource. If you really want to switch tenant for local debug, you can delete the %s file and re-run local debug.",
|
|
29
29
|
"MigrationToArmAndMultiEnvMessage": "Teams Toolkit will upgrade your project configuration files to support the latest features. The upgrade process will not change your custom code and create the backup files in case revert is needed.\nNotice this upgrade is a must-have to continue to use current version Teams Toolkit. If you are not ready to upgrade and want to continue to use the old version, please find Teams Toolkit in Extension and install the version <= 2.10.0",
|
|
30
30
|
"MigrationToArmAndMultiEnvSuccessMessage": "Upgrade succeeded. Your project is upgraded to new configuration files.",
|
|
31
|
-
"NeedToUpdateTeamsToolkitVersionMessage": "Your project is not supported. Please update Teams Toolkit to the latest version from the VSCode Extension Marketplace and make sure the setting (fx-extension: Insider Preview) is enabled",
|
|
32
31
|
"MigrationToArmAndMultiEnvErrorMessage": "Upgrade Failed. Please check the error message in Output window to troubleshoot and fix. You can also click Learn More for the FAQ and how to upgrade manually.",
|
|
33
32
|
"MigrationToArmAndMultiEnvPreCheckErrorMessage": "Upgrade Failed. '%s' doesn't exist or is not in json format. Please fix it and try again by running command (Teams: Upgrade project).\nYou can also click Learn More for the FAQ.",
|
|
34
33
|
"DeployArmTemplates": {
|
|
@@ -13,26 +13,26 @@ var oauthServerName = contains(provisionParameters, 'apimOauthServerName') ? pro
|
|
|
13
13
|
var clientId = provisionParameters['apimClientId']
|
|
14
14
|
var clientSecret = provisionParameters['apimClientSecret']
|
|
15
15
|
|
|
16
|
-
{{#
|
|
16
|
+
{{#if fx-resource-bot }}
|
|
17
17
|
var botId = provisionParameters['botAadAppClientId']
|
|
18
|
-
{{/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
{{
|
|
22
|
-
{{
|
|
23
|
-
|
|
18
|
+
{{/if}}
|
|
19
|
+
|
|
20
|
+
{{#if fx-resource-frontend-hosting }}
|
|
21
|
+
var tabAppDomain = {{fx-resource-frontend-hosting.References.domain}}
|
|
22
|
+
{{/if}}
|
|
23
|
+
|
|
24
|
+
{{#if fx-resource-frontend-hosting }}
|
|
25
|
+
{{#if fx-resource-bot}}
|
|
26
|
+
var m365ApplicationIdUri = 'api://${tabAppDomain}/botid-${botId}'
|
|
27
|
+
{{else}}
|
|
24
28
|
var m365ClientId = provisionParameters['m365ClientId']
|
|
25
29
|
var m365ApplicationIdUri = 'api://${tabAppDomain}/${m365ClientId}'
|
|
26
|
-
{{/
|
|
27
|
-
{{
|
|
28
|
-
|
|
29
|
-
{{/contains}}
|
|
30
|
-
{{/contains}}
|
|
31
|
-
{{#notContains 'fx-resource-frontend-hosting' Plugins}}
|
|
32
|
-
{{#contains 'fx-resource-bot' ../Plugins}}
|
|
30
|
+
{{/if}}
|
|
31
|
+
{{else}}
|
|
32
|
+
{{#if fx-resource-bot }}
|
|
33
33
|
var m365ApplicationIdUri = 'api://botid-${botId}'
|
|
34
|
-
{{/
|
|
35
|
-
{{/
|
|
34
|
+
{{/if}}
|
|
35
|
+
{{/if}}
|
|
36
36
|
|
|
37
37
|
var scope = '${m365ApplicationIdUri}/.default'
|
|
38
38
|
var authorizationEndpoint = uri(m365OauthAuthorityHost, '${m365TenantId}/oauth2/v2.0/authorize')
|
|
@@ -8,37 +8,36 @@ param currentAppSettings object
|
|
|
8
8
|
|
|
9
9
|
var botWebAppName = split(provisionOutputs.botOutput.value.botWebAppResourceId, '/')[8]
|
|
10
10
|
var m365ClientId = provisionParameters['m365ClientId']
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{{
|
|
14
|
-
{{
|
|
11
|
+
|
|
12
|
+
{{#if fx-resource-key-vault }}
|
|
13
|
+
var m365ClientSecret = {{fx-resource-key-vault.References.m365ClientSecretReference}}
|
|
14
|
+
{{else}}
|
|
15
15
|
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
16
|
-
{{/
|
|
16
|
+
{{/if}}
|
|
17
|
+
|
|
17
18
|
var m365TenantId = provisionParameters['m365TenantId']
|
|
18
19
|
var m365OauthAuthorityHost = provisionParameters['m365OauthAuthorityHost']
|
|
19
20
|
var botAadAppClientId = provisionParameters['botAadAppClientId']
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
{{
|
|
23
|
-
{{
|
|
21
|
+
|
|
22
|
+
{{#if fx-resource-key-vault }}
|
|
23
|
+
var botAadAppClientSecret = {{fx-resource-key-vault.References.botClientSecretReference}}
|
|
24
|
+
{{else}}
|
|
24
25
|
var botAadAppClientSecret = provisionParameters['botAadAppClientSecret']
|
|
25
|
-
{{/
|
|
26
|
+
{{/if}}
|
|
26
27
|
|
|
27
28
|
var botId = provisionParameters['botAadAppClientId']
|
|
28
29
|
|
|
29
|
-
{{#
|
|
30
|
-
{{#
|
|
31
|
-
var m365ApplicationIdUri = 'api://${ {{
|
|
32
|
-
{{
|
|
33
|
-
{{
|
|
34
|
-
|
|
35
|
-
{{
|
|
36
|
-
{{
|
|
37
|
-
{{#notContains 'fx-resource-frontend-hosting' Plugins}}
|
|
38
|
-
{{#contains 'fx-resource-bot' ../Plugins}}
|
|
30
|
+
{{#if fx-resource-frontend-hosting }}
|
|
31
|
+
{{#if fx-resource-bot }}
|
|
32
|
+
var m365ApplicationIdUri = 'api://${ {{fx-resource-frontend-hosting.References.domain}} }/botid-${botId}'
|
|
33
|
+
{{else }}
|
|
34
|
+
var m365ApplicationIdUri = 'api://${ {{fx-resource-frontend-hosting.References.domain}} }/${m365ClientId}'
|
|
35
|
+
{{/if}}
|
|
36
|
+
{{else}}
|
|
37
|
+
{{#if fx-resource-bot }}
|
|
39
38
|
var m365ApplicationIdUri = 'api://botid-${botId}'
|
|
40
|
-
{{/
|
|
41
|
-
{{/
|
|
39
|
+
{{/if}}
|
|
40
|
+
{{/if}}
|
|
42
41
|
|
|
43
42
|
resource botWebAppSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
44
43
|
name: '${botWebAppName}/appsettings'
|
|
@@ -51,13 +50,13 @@ resource botWebAppSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
|
51
50
|
M365_APPLICATION_ID_URI: m365ApplicationIdUri
|
|
52
51
|
BOT_ID: botAadAppClientId
|
|
53
52
|
BOT_PASSWORD: botAadAppClientSecret
|
|
54
|
-
{{#
|
|
53
|
+
{{#if fx-resource-function }}
|
|
55
54
|
API_ENDPOINT: provisionOutputs.functionOutput.value.functionEndpoint
|
|
56
|
-
{{/
|
|
57
|
-
{{#
|
|
58
|
-
SQL_DATABASE_NAME: {{
|
|
59
|
-
SQL_ENDPOINT: {{
|
|
60
|
-
{{/
|
|
61
|
-
IDENTITY_ID: {{
|
|
55
|
+
{{/if}}
|
|
56
|
+
{{#if fx-resource-azure-sql}}
|
|
57
|
+
SQL_DATABASE_NAME: {{fx-resource-azure-sql.References.databaseName}}
|
|
58
|
+
SQL_ENDPOINT: {{fx-resource-azure-sql.References.sqlEndpoint}}
|
|
59
|
+
{{/if}}
|
|
60
|
+
IDENTITY_ID: {{fx-resource-identity.References.identityClientId}}
|
|
62
61
|
}, currentAppSettings)
|
|
63
62
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var botCurrentAppSettings = list('${provisionOutputs.botOutput.value.botWebAppResourceId}/config/appsettings', '2021-02-01').properties
|
|
2
2
|
|
|
3
|
-
module teamsFxBotConfig '{{
|
|
3
|
+
module teamsFxBotConfig '{{fx-resource-bot.Configuration.bot.path}}' = {
|
|
4
4
|
name: 'addTeamsFxBotConfiguration'
|
|
5
5
|
params: {
|
|
6
6
|
provisionParameters: provisionParameters
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Resources for bot
|
|
2
|
-
module botProvision '{{
|
|
2
|
+
module botProvision '{{fx-resource-bot.Provision.bot.path}}' = {
|
|
3
3
|
name: 'botProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
6
|
-
userAssignedIdentityId: {{
|
|
6
|
+
userAssignedIdentityId: {{fx-resource-identity.References.identityResourceId}}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Resources for frontend hosting
|
|
2
|
-
module frontendHostingProvision '{{
|
|
2
|
+
module frontendHostingProvision '{{fx-resource-frontend-hosting.Provision.frontendHosting.path}}' = {
|
|
3
3
|
name: 'frontendHostingProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var functionCurrentConfigs = reference('${provisionOutputs.functionOutput.value.functionAppResourceId}/config/web', '2021-02-01')
|
|
2
2
|
var functionCurrentAppSettings = list('${provisionOutputs.functionOutput.value.functionAppResourceId}/config/appsettings', '2021-02-01').properties
|
|
3
3
|
|
|
4
|
-
module teamsFxFunctionConfig '{{
|
|
4
|
+
module teamsFxFunctionConfig '{{fx-resource-function.Configuration.function.path}}' = {
|
|
5
5
|
name: 'addTeamsFxFunctionConfiguration'
|
|
6
6
|
params: {
|
|
7
7
|
provisionParameters: provisionParameters
|
|
@@ -8,38 +8,40 @@ param currentConfigs object
|
|
|
8
8
|
@secure()
|
|
9
9
|
param currentAppSettings object
|
|
10
10
|
|
|
11
|
-
var functionAppName = split({{
|
|
11
|
+
var functionAppName = split({{fx-resource-function.References.functionAppResourceId}}, '/')[8]
|
|
12
12
|
|
|
13
13
|
var m365ClientId = provisionParameters['m365ClientId']
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{{
|
|
17
|
-
{{
|
|
14
|
+
|
|
15
|
+
{{#if fx-resource-key-vault}}
|
|
16
|
+
var m365ClientSecret = {{fx-resource-key-vault.References.m365ClientSecretReference}}
|
|
17
|
+
{{else}}
|
|
18
18
|
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
19
|
-
{{/
|
|
19
|
+
{{/if}}
|
|
20
|
+
|
|
20
21
|
var m365TenantId = provisionParameters['m365TenantId']
|
|
21
22
|
var m365OauthAuthorityHost = provisionParameters['m365OauthAuthorityHost']
|
|
22
23
|
var oauthAuthority = uri(m365OauthAuthorityHost, m365TenantId)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var
|
|
26
|
-
{{
|
|
27
|
-
{{
|
|
24
|
+
|
|
25
|
+
{{#if fx-resource-frontend-hosting }}
|
|
26
|
+
var tabAppDomain = {{fx-resource-frontend-hosting.References.domain}}
|
|
27
|
+
var tabAppEndpoint = {{fx-resource-frontend-hosting.References.endpoint}}
|
|
28
|
+
{{/if}}
|
|
29
|
+
|
|
30
|
+
{{#if fx-resource-bot }}
|
|
28
31
|
var botId = provisionParameters['botAadAppClientId']
|
|
29
|
-
{{/
|
|
30
|
-
|
|
31
|
-
{{#
|
|
32
|
-
|
|
33
|
-
{{/notContains}}
|
|
34
|
-
{{#contains 'fx-resource-bot' ../Plugins}}
|
|
32
|
+
{{/if}}
|
|
33
|
+
|
|
34
|
+
{{#if fx-resource-frontend-hosting }}
|
|
35
|
+
{{#if fx-resource-bot }}
|
|
35
36
|
var m365ApplicationIdUri = 'api://${tabAppDomain}/botid-${botId}'
|
|
36
|
-
{{
|
|
37
|
-
{{
|
|
38
|
-
{{
|
|
39
|
-
{{
|
|
37
|
+
{{else}}
|
|
38
|
+
var m365ApplicationIdUri = 'api://${tabAppDomain}/${m365ClientId}'
|
|
39
|
+
{{/if}}
|
|
40
|
+
{{else}}
|
|
41
|
+
{{#if fx-resource-bot }}
|
|
40
42
|
var m365ApplicationIdUri = 'api://botid-${botId}'
|
|
41
|
-
{{/
|
|
42
|
-
{{/
|
|
43
|
+
{{/if}}
|
|
44
|
+
{{/if}}
|
|
43
45
|
|
|
44
46
|
var teamsMobileOrDesktopAppClientId = '1fec8e78-bce4-4aaf-ab1b-5451cc387264'
|
|
45
47
|
var teamsWebAppClientId = '5e3ce6c0-2b1f-4285-8d4b-75ee78787346'
|
|
@@ -51,7 +53,7 @@ var authorizedClientApplicationIds = '${teamsMobileOrDesktopAppClientId};${teams
|
|
|
51
53
|
|
|
52
54
|
var currentAllowedOrigins = empty(currentConfigs.cors) ? [] : currentConfigs.cors.allowedOrigins
|
|
53
55
|
|
|
54
|
-
{{#
|
|
56
|
+
{{#if fx-resource-frontend-hosting }}
|
|
55
57
|
resource appConfig 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
56
58
|
name: '${functionAppName}/web'
|
|
57
59
|
kind: 'functionapp'
|
|
@@ -63,22 +65,22 @@ resource appConfig 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
}
|
|
66
|
-
{{/
|
|
68
|
+
{{/if}}
|
|
67
69
|
resource appSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
68
70
|
name: '${functionAppName}/appsettings'
|
|
69
71
|
properties: union({
|
|
70
|
-
API_ENDPOINT: {{
|
|
72
|
+
API_ENDPOINT: {{fx-resource-function.References.functionEndpoint}}
|
|
71
73
|
ALLOWED_APP_IDS: authorizedClientApplicationIds
|
|
72
74
|
M365_CLIENT_ID: m365ClientId
|
|
73
75
|
M365_CLIENT_SECRET: m365ClientSecret
|
|
74
76
|
M365_TENANT_ID: m365TenantId
|
|
75
77
|
M365_AUTHORITY_HOST: m365OauthAuthorityHost
|
|
76
78
|
M365_APPLICATION_ID_URI: m365ApplicationIdUri
|
|
77
|
-
IDENTITY_ID: {{
|
|
78
|
-
{{#
|
|
79
|
-
SQL_DATABASE_NAME: {{
|
|
80
|
-
SQL_ENDPOINT: {{
|
|
81
|
-
{{/
|
|
79
|
+
IDENTITY_ID: {{fx-resource-identity.References.identityClientId}}
|
|
80
|
+
{{#if fx-resource-azure-sql }}
|
|
81
|
+
SQL_DATABASE_NAME: {{fx-resource-azure-sql.References.databaseName}}
|
|
82
|
+
SQL_ENDPOINT: {{fx-resource-azure-sql.References.sqlEndpoint}}
|
|
83
|
+
{{/if}}
|
|
82
84
|
}, currentAppSettings)
|
|
83
85
|
}
|
|
84
86
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Resources for Azure Functions
|
|
2
|
-
module functionProvision '{{
|
|
2
|
+
module functionProvision '{{fx-resource-function.Provision.function.path}}' = {
|
|
3
3
|
name: 'functionProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
6
|
-
userAssignedIdentityId: {{
|
|
6
|
+
userAssignedIdentityId: {{fx-resource-identity.References.identityResourceId}}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Resources for identity
|
|
2
|
-
module userAssignedIdentityProvision '{{
|
|
2
|
+
module userAssignedIdentityProvision '{{fx-resource-identity.Provision.identity.path}}' = {
|
|
3
3
|
name: 'userAssignedIdentityProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
// Resources for Azure Key Vault
|
|
2
|
-
module keyVaultProvision '{{
|
|
2
|
+
module keyVaultProvision '{{fx-resource-key-vault.Provision.keyVault.path}}' = {
|
|
3
3
|
name: 'keyVaultProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
6
|
-
userAssignedIdentityObjectId: {{
|
|
6
|
+
userAssignedIdentityObjectId: {{fx-resource-identity.References.identityPrincipalId}}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
output keyVaultOutput object = {
|
|
11
|
+
teamsFxPluginId: 'fx-resource-key-vault'
|
|
11
12
|
m365ClientSecretReference: keyVaultProvision.outputs.m365ClientSecretReference
|
|
12
13
|
botClientSecretReference: keyVaultProvision.outputs.botClientSecretReference
|
|
13
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var simpleAuthCurrentAppSettings = list('${provisionOutputs.simpleAuthOutput.value.webAppResourceId}/config/appsettings', '2021-02-01').properties
|
|
2
2
|
|
|
3
|
-
module teamsFxSimpleAuthConfig '{{
|
|
3
|
+
module teamsFxSimpleAuthConfig '{{fx-resource-simple-auth.Configuration.simpleAuth.path}}' = {
|
|
4
4
|
name: 'addTeamsFxSimpleAuthConfiguration'
|
|
5
5
|
params: {
|
|
6
6
|
provisionParameters: provisionParameters
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Resources for Simple Auth
|
|
2
|
-
module simpleAuthProvision '{{
|
|
2
|
+
module simpleAuthProvision '{{fx-resource-simple-auth.Provision.simpleAuth.path}}' = {
|
|
3
3
|
name: 'simpleAuthProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
6
|
-
userAssignedIdentityId: {{
|
|
6
|
+
userAssignedIdentityId: {{fx-resource-identity.References.identityResourceId}}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -9,36 +9,32 @@ param currentAppSettings object
|
|
|
9
9
|
var webAppName = split(provisionOutputs.simpleAuthOutput.value.webAppResourceId, '/')[8]
|
|
10
10
|
|
|
11
11
|
var m365ClientId = provisionParameters['m365ClientId']
|
|
12
|
-
{{#
|
|
13
|
-
var m365ClientSecret = {{
|
|
14
|
-
{{
|
|
15
|
-
{{#notContains 'fx-resource-key-vault' Plugins}}
|
|
12
|
+
{{#if fx-resource-key-vault}}
|
|
13
|
+
var m365ClientSecret = {{fx-resource-key-vault.References.m365ClientSecretReference}}
|
|
14
|
+
{{else}}
|
|
16
15
|
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
17
|
-
{{/
|
|
16
|
+
{{/if}}
|
|
18
17
|
var m365TenantId = provisionParameters['m365TenantId']
|
|
19
18
|
var m365OauthAuthorityHost = provisionParameters['m365OauthAuthorityHost']
|
|
20
19
|
var oauthAuthority = uri(m365OauthAuthorityHost, m365TenantId)
|
|
21
20
|
var aadMetadataAddress = uri(m365OauthAuthorityHost, '${m365TenantId}/v2.0/.well-known/openid-configuration')
|
|
22
|
-
{{#
|
|
21
|
+
{{#if fx-resource-bot}}
|
|
23
22
|
var botId = provisionParameters['botAadAppClientId']
|
|
24
|
-
{{/
|
|
25
|
-
{{#
|
|
26
|
-
var tabAppDomain = {{
|
|
27
|
-
var tabAppEndpoint = {{
|
|
28
|
-
{{/
|
|
29
|
-
|
|
30
|
-
{{#
|
|
31
|
-
|
|
32
|
-
{{/notContains}}
|
|
33
|
-
{{#contains 'fx-resource-bot' ../Plugins}}
|
|
23
|
+
{{/if}}
|
|
24
|
+
{{#if fx-resource-frontend-hosting}}
|
|
25
|
+
var tabAppDomain = {{fx-resource-frontend-hosting.References.domain}}
|
|
26
|
+
var tabAppEndpoint = {{fx-resource-frontend-hosting.References.endpoint}}
|
|
27
|
+
{{/if}}
|
|
28
|
+
|
|
29
|
+
{{#if fx-resource-frontend-hosting}}
|
|
30
|
+
{{#if fx-resource-bot}}
|
|
34
31
|
var m365ApplicationIdUri = 'api://${tabAppDomain}/botid-${botId}'
|
|
35
|
-
{{
|
|
36
|
-
{{
|
|
37
|
-
{{
|
|
38
|
-
{{
|
|
32
|
+
{{else}}
|
|
33
|
+
var m365ApplicationIdUri = 'api://${tabAppDomain}/${m365ClientId}'
|
|
34
|
+
{{/if}}
|
|
35
|
+
{{else if fx-resource-bot}}
|
|
39
36
|
var m365ApplicationIdUri = 'api://botid-${botId}'
|
|
40
|
-
{{/
|
|
41
|
-
{{/notContains}}
|
|
37
|
+
{{/if}}
|
|
42
38
|
|
|
43
39
|
var teamsMobileOrDesktopAppClientId = '1fec8e78-bce4-4aaf-ab1b-5451cc387264'
|
|
44
40
|
var teamsWebAppClientId = '5e3ce6c0-2b1f-4285-8d4b-75ee78787346'
|
|
@@ -57,8 +53,8 @@ resource simpleAuthWebAppSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
|
57
53
|
CLIENT_ID: m365ClientId
|
|
58
54
|
CLIENT_SECRET: m365ClientSecret
|
|
59
55
|
OAUTH_AUTHORITY: oauthAuthority
|
|
60
|
-
{{#
|
|
56
|
+
{{#if fx-resource-frontend-hosting}}
|
|
61
57
|
TAB_APP_ENDPOINT: tabAppEndpoint
|
|
62
|
-
{{/
|
|
58
|
+
{{/if}}
|
|
63
59
|
}
|
|
64
60
|
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
0.1.1
|
|
1
|
+
0.1.1
|
|
2
|
+
md5: 01f306767cb689dac8d973deccc1062d
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Resources for Azure SQL
|
|
2
|
-
module azureSqlProvision '{{
|
|
2
|
+
module azureSqlProvision '{{fx-resource-azure-sql.Provision.azureSql.path}}' = {
|
|
3
3
|
name: 'azureSqlProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"launch.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/localdebug/launch.ts"],"names":[],"mappings":"AAOA,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,OAAO,EACxB,cAAc,EAAE,OAAO,EACvB,UAAU,EAAE,OAAO,EACnB,eAAe,EAAE,OAAO,GACvB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CA+M3B;AAED,wBAAgB,iBAAiB,CAC/B,eAAe,EAAE,OAAO,EACxB,cAAc,EAAE,OAAO,EACvB,UAAU,EAAE,OAAO,GAClB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAuI3B;AAED,wBAAgB,0BAA0B,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAkItE;AAED,wBAAgB,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CA+BjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"launch.js","sourceRoot":"","sources":["../../../../src/plugins/resource/localdebug/launch.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kC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,SAAS,GAAG,CAAC,EACf,WAAW,GAAG,CAAC,CAAC;IAClB,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,YAAY,EAAE;QAC9B,SAAS,GAAG,CAAC,CAAC;QACd,WAAW,GAAG,CAAC,CAAC;KACjB;IACD,eAAe,CAAC,IAAI,CAClB;QACE,IAAI,EAAE,wBAAwB;QAC9B,cAAc,EAAE,CAAC,8BAA8B,CAAC;QAChD,aAAa,EAAE,iBAAiB;QAChC,YAAY,EAAE;YACZ,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,SAAS;SACjB;QACD,OAAO,EAAE,IAAI;KACd,EACD;QACE,IAAI,EAAE,0BAA0B;QAChC,cAAc,EAAE,CAAC,gCAAgC,CAAC;QAClD,aAAa,EAAE,iBAAiB;QAChC,YAAY,EAAE;YACZ,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,WAAW;SACnB;QACD,OAAO,EAAE,IAAI;KACd,CACF,CAAC;IACF,OAAO,eAAe,CAAC;AACzB,CAAC;AA/BD,sDA+BC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FxError, PluginContext, Result } from "@microsoft/teamsfx-api";
|
|
2
|
-
export declare class legacyLocalDebugPlugin {
|
|
3
|
-
static localDebug(ctx: PluginContext): Promise<Result<any, FxError>>;
|
|
4
|
-
static postLocalDebug(ctx: PluginContext): Promise<Result<any, FxError>>;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=legacyPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legacyPlugin.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/localdebug/legacyPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,OAAO,EAGP,aAAa,EACb,MAAM,EAEP,MAAM,wBAAwB,CAAC;AA4BhC,qBAAa,sBAAsB;WACb,UAAU,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;WA4F7D,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;CAyJtF"}
|