@microsoft/teamsfx-core 0.7.0 → 0.7.1-alpha.5e8f6dea.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 +5 -0
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +6 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/fileUtils.d.ts.map +1 -1
- package/build/common/fileUtils.js +12 -6
- package/build/common/fileUtils.js.map +1 -1
- package/build/common/localSettingsProvider.d.ts +4 -2
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +32 -1
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/templates.d.ts.map +1 -1
- package/build/common/templates.js +9 -9
- package/build/common/templates.js.map +1 -1
- package/build/common/templatesActions.d.ts +39 -0
- package/build/common/templatesActions.d.ts.map +1 -0
- package/build/common/templatesActions.js +120 -0
- package/build/common/templatesActions.js.map +1 -0
- package/build/common/templatesUtils.d.ts +14 -0
- package/build/common/templatesUtils.d.ts.map +1 -0
- package/build/common/templatesUtils.js +94 -0
- package/build/common/templatesUtils.js.map +1 -0
- package/build/common/tools.d.ts +12 -2
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +52 -7
- package/build/common/tools.js.map +1 -1
- package/build/core/SolutionPluginContainer.d.ts +15 -0
- package/build/core/SolutionPluginContainer.d.ts.map +1 -0
- package/build/core/SolutionPluginContainer.js +54 -0
- package/build/core/SolutionPluginContainer.js.map +1 -0
- package/build/core/callback.d.ts +9 -0
- package/build/core/callback.d.ts.map +1 -0
- package/build/core/callback.js +33 -0
- package/build/core/callback.js.map +1 -0
- package/build/core/environment.d.ts +7 -3
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +68 -13
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +19 -2
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +72 -34
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +24 -12
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +604 -309
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +13 -6
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/contextInjector.d.ts +3 -0
- package/build/core/middleware/contextInjector.d.ts.map +1 -0
- package/build/core/middleware/{contextInjecter.js → contextInjector.js} +4 -4
- package/build/core/middleware/contextInjector.js.map +1 -0
- package/build/core/middleware/envInfoLoader.d.ts +8 -4
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +77 -40
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoWriter.d.ts +1 -1
- package/build/core/middleware/envInfoWriter.d.ts.map +1 -1
- package/build/core/middleware/envInfoWriter.js +30 -13
- 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 +18 -8
- 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 +14 -5
- package/build/core/middleware/localSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts +5 -0
- package/build/core/middleware/projectMigrator.d.ts.map +1 -0
- package/build/core/middleware/projectMigrator.js +382 -0
- package/build/core/middleware/projectMigrator.js.map +1 -0
- package/build/core/middleware/projectSettingsLoader.d.ts +2 -2
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +13 -9
- 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 -7
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectUpgrader.d.ts.map +1 -1
- package/build/core/middleware/projectUpgrader.js +15 -7
- package/build/core/middleware/projectUpgrader.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +25 -17
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoader.d.ts +1 -2
- package/build/core/middleware/solutionLoader.d.ts.map +1 -1
- package/build/core/middleware/solutionLoader.js +24 -4
- package/build/core/middleware/solutionLoader.js.map +1 -1
- package/build/core/question.d.ts +2 -0
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +12 -1
- package/build/core/question.js.map +1 -1
- package/build/core/tools.d.ts +2 -2
- package/build/core/tools.d.ts.map +1 -1
- package/build/core/tools.js +15 -5
- package/build/core/tools.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/plugins/resource/aad/appStudio.js +1 -1
- package/build/plugins/resource/aad/appStudio.js.map +1 -1
- package/build/plugins/resource/aad/errors.d.ts.map +1 -1
- package/build/plugins/resource/aad/errors.js +1 -0
- package/build/plugins/resource/aad/errors.js.map +1 -1
- package/build/plugins/resource/aad/index.d.ts +1 -0
- package/build/plugins/resource/aad/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/index.js +2 -1
- package/build/plugins/resource/aad/index.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +9 -10
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/aad/utils/telemetry.js +1 -1
- package/build/plugins/resource/aad/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/aad/v2/index.d.ts +7 -7
- package/build/plugins/resource/aad/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v2/index.js +6 -6
- package/build/plugins/resource/aad/v2/index.js.map +1 -1
- package/build/plugins/resource/apim/config.d.ts +1 -0
- package/build/plugins/resource/apim/config.d.ts.map +1 -1
- package/build/plugins/resource/apim/config.js.map +1 -1
- package/build/plugins/resource/apim/constants.d.ts +3 -0
- package/build/plugins/resource/apim/constants.d.ts.map +1 -1
- package/build/plugins/resource/apim/constants.js +5 -1
- package/build/plugins/resource/apim/constants.js.map +1 -1
- package/build/plugins/resource/apim/factory.d.ts +2 -1
- package/build/plugins/resource/apim/factory.d.ts.map +1 -1
- package/build/plugins/resource/apim/factory.js +19 -8
- package/build/plugins/resource/apim/factory.js.map +1 -1
- package/build/plugins/resource/apim/index.d.ts +2 -0
- package/build/plugins/resource/apim/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/index.js +15 -8
- package/build/plugins/resource/apim/index.js.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.js +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.js.map +1 -1
- package/build/plugins/resource/apim/v2/index.d.ts +9 -11
- package/build/plugins/resource/apim/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/v2/index.js +25 -29
- package/build/plugins/resource/apim/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +9 -8
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +6 -2
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +124 -13
- 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 +8 -0
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +1 -0
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +23 -5
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/interfaces/IAppDefinition.d.ts +1 -0
- package/build/plugins/resource/appstudio/interfaces/IAppDefinition.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +2 -1
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +197 -68
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts +2 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +17 -12
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +10 -13
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +25 -20
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/bot/appStudio/appStudio.js +2 -2
- package/build/plugins/resource/bot/appStudio/appStudio.js.map +1 -1
- package/build/plugins/resource/bot/configs/localDebugConfig.d.ts +1 -1
- package/build/plugins/resource/bot/configs/localDebugConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/localDebugConfig.js +3 -3
- package/build/plugins/resource/bot/configs/localDebugConfig.js.map +1 -1
- package/build/plugins/resource/bot/configs/provisionConfig.js +21 -20
- package/build/plugins/resource/bot/configs/provisionConfig.js.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts +1 -3
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.js +9 -10
- package/build/plugins/resource/bot/configs/scaffoldConfig.js.map +1 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.js +5 -5
- package/build/plugins/resource/bot/configs/teamsBotConfig.js.map +1 -1
- package/build/plugins/resource/bot/constants.d.ts +0 -2
- package/build/plugins/resource/bot/constants.d.ts.map +1 -1
- package/build/plugins/resource/bot/constants.js +2 -14
- package/build/plugins/resource/bot/constants.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts +2 -3
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +1 -7
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts +1 -4
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +21 -80
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/resources/messages.d.ts +0 -1
- package/build/plugins/resource/bot/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/messages.js +0 -1
- package/build/plugins/resource/bot/resources/messages.js.map +1 -1
- package/build/plugins/resource/bot/resources/strings.d.ts +1 -1
- package/build/plugins/resource/bot/resources/strings.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/strings.js +1 -1
- package/build/plugins/resource/bot/resources/strings.js.map +1 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.js +1 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/bot/v2/index.d.ts +9 -13
- package/build/plugins/resource/bot/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/index.js +7 -7
- package/build/plugins/resource/bot/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/configs.d.ts +7 -2
- package/build/plugins/resource/frontend/configs.d.ts.map +1 -1
- package/build/plugins/resource/frontend/configs.js +49 -29
- package/build/plugins/resource/frontend/configs.js.map +1 -1
- package/build/plugins/resource/frontend/constants.d.ts +3 -2
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +4 -3
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/index.d.ts +1 -1
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +6 -5
- 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 +1 -0
- package/build/plugins/resource/frontend/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts +4 -1
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +32 -32
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +5 -2
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.js +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/frontend/v2/index.d.ts +6 -9
- package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v2/index.js +5 -2
- package/build/plugins/resource/frontend/v2/index.js.map +1 -1
- package/build/plugins/resource/function/constants.d.ts +2 -6
- package/build/plugins/resource/function/constants.d.ts.map +1 -1
- package/build/plugins/resource/function/constants.js +3 -8
- package/build/plugins/resource/function/constants.js.map +1 -1
- package/build/plugins/resource/function/enums.d.ts +2 -0
- package/build/plugins/resource/function/enums.d.ts.map +1 -1
- package/build/plugins/resource/function/enums.js +2 -0
- package/build/plugins/resource/function/enums.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 -1
- package/build/plugins/resource/function/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/function/ops/deploy.js +13 -5
- package/build/plugins/resource/function/ops/deploy.js.map +1 -1
- package/build/plugins/resource/function/ops/scaffold.d.ts +4 -7
- package/build/plugins/resource/function/ops/scaffold.d.ts.map +1 -1
- package/build/plugins/resource/function/ops/scaffold.js +42 -40
- package/build/plugins/resource/function/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts +4 -0
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +57 -41
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/resources/errors.d.ts +2 -5
- package/build/plugins/resource/function/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/function/resources/errors.js +5 -13
- package/build/plugins/resource/function/resources/errors.js.map +1 -1
- package/build/plugins/resource/function/resources/message.d.ts +1 -0
- package/build/plugins/resource/function/resources/message.d.ts.map +1 -1
- package/build/plugins/resource/function/resources/message.js +1 -0
- package/build/plugins/resource/function/resources/message.js.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.js +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/function/v2/index.d.ts +8 -11
- package/build/plugins/resource/function/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/function/v2/index.js +9 -17
- package/build/plugins/resource/function/v2/index.js.map +1 -1
- 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 +7 -9
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/identity/utils/contextUtils.js +1 -1
- package/build/plugins/resource/identity/utils/contextUtils.js.map +1 -1
- package/build/plugins/resource/identity/utils/telemetryUtil.d.ts.map +1 -1
- package/build/plugins/resource/identity/utils/telemetryUtil.js +1 -1
- package/build/plugins/resource/identity/utils/telemetryUtil.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 +2 -2
- package/build/plugins/resource/identity/v2/index.js.map +1 -1
- package/build/plugins/resource/localdebug/constants.d.ts +4 -0
- package/build/plugins/resource/localdebug/constants.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/constants.js +6 -1
- package/build/plugins/resource/localdebug/constants.js.map +1 -1
- package/build/plugins/resource/localdebug/index.d.ts +1 -0
- package/build/plugins/resource/localdebug/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/index.js +12 -6
- package/build/plugins/resource/localdebug/index.js.map +1 -1
- package/build/plugins/resource/localdebug/launch.d.ts +1 -0
- package/build/plugins/resource/localdebug/launch.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/launch.js +66 -1
- package/build/plugins/resource/localdebug/launch.js.map +1 -1
- package/build/plugins/resource/localdebug/legacyPlugin.js +4 -4
- package/build/plugins/resource/localdebug/legacyPlugin.js.map +1 -1
- package/build/plugins/resource/localdebug/tasks.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/tasks.js +12 -2
- package/build/plugins/resource/localdebug/tasks.js.map +1 -1
- package/build/plugins/resource/localdebug/util/telemetry.js +1 -1
- package/build/plugins/resource/localdebug/util/telemetry.js.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.d.ts +6 -8
- package/build/plugins/resource/localdebug/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.js +2 -2
- package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/index.d.ts +1 -0
- package/build/plugins/resource/simpleauth/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/index.js +1 -0
- package/build/plugins/resource/simpleauth/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +1 -6
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/simpleauth/utils/common.js +1 -1
- package/build/plugins/resource/simpleauth/utils/common.js.map +1 -1
- package/build/plugins/resource/simpleauth/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/utils/telemetry.js +2 -1
- package/build/plugins/resource/simpleauth/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.d.ts +4 -4
- package/build/plugins/resource/simpleauth/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.js.map +1 -1
- package/build/plugins/resource/spfx/index.d.ts +1 -0
- package/build/plugins/resource/spfx/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/index.js +1 -0
- package/build/plugins/resource/spfx/index.js.map +1 -1
- package/build/plugins/resource/spfx/v2/index.d.ts +4 -8
- package/build/plugins/resource/spfx/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/v2/index.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/errors.d.ts +4 -0
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +4 -0
- 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 +1 -0
- package/build/plugins/resource/sql/index.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts +4 -0
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +68 -69
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/sql/utils/contextUtils.js +1 -1
- package/build/plugins/resource/sql/utils/contextUtils.js.map +1 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.js +2 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.js.map +1 -1
- package/build/plugins/resource/sql/v2/index.d.ts +5 -4
- package/build/plugins/resource/sql/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/v2/index.js +18 -16
- package/build/plugins/resource/sql/v2/index.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts +16 -14
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +127 -92
- 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 +4 -2
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +11 -0
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +118 -40
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +2 -2
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +120 -47
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +16 -2
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +15 -1
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/executor.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/executor.js +39 -21
- package/build/plugins/solution/fx-solution/executor.js.map +1 -1
- package/build/plugins/solution/fx-solution/index.d.ts +2 -0
- package/build/plugins/solution/fx-solution/index.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/index.js +2 -0
- package/build/plugins/solution/fx-solution/index.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +2 -1
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +18 -1
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts +3 -6
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +406 -379
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/util.js +1 -1
- package/build/plugins/solution/fx-solution/utils/util.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.d.ts +3 -0
- package/build/plugins/solution/fx-solution/v2/adaptor.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js +37 -3
- package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts +3 -0
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/createEnv.js +28 -0
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts +2 -4
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +19 -14
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +20 -4
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executor.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/executor.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executor.js +27 -3
- package/build/plugins/solution/fx-solution/v2/executor.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 +8 -2
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts +8 -0
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +393 -0
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/package.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/package.js +12 -2
- package/build/plugins/solution/fx-solution/v2/package.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/provision.js +153 -0
- package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts +3 -0
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +73 -0
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/publish.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.js +11 -11
- package/build/plugins/solution/fx-solution/v2/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts +3 -7
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +21 -6
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +18 -0
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/solution.js +38 -0
- package/build/plugins/solution/fx-solution/v2/solution.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/utils.d.ts +11 -9
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +81 -1
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/package.json +8 -5
- package/resource/strings.json +2 -1
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +0 -4
- package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +0 -6
- package/templates/plugins/resource/bot/bicep/module.template.bicep +0 -4
- package/templates/plugins/resource/bot/bicep/output.template.bicep +0 -2
- package/templates/plugins/resource/bot/bicep/param.template.bicep +0 -2
- 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/bicep/frontendHosting.bicep +1 -1
- package/templates/plugins/resource/frontend/bicep/output.template.bicep +1 -1
- 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/functionProvision.template.bicep +1 -3
- package/templates/plugins/resource/function/bicep/output.template.bicep +1 -3
- 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/spfx/solution/manifest_multi_env.json +62 -0
- package/build/core/loader.d.ts +0 -11
- package/build/core/loader.d.ts.map +0 -1
- package/build/core/loader.js +0 -17
- package/build/core/loader.js.map +0 -1
- package/build/core/middleware/contextInjecter.d.ts +0 -3
- package/build/core/middleware/contextInjecter.d.ts.map +0 -1
- package/build/core/middleware/contextInjecter.js.map +0 -1
- package/build/plugins/resource/bot/enums/wayToRegisterBot.d.ts +0 -5
- package/build/plugins/resource/bot/enums/wayToRegisterBot.d.ts.map +0 -1
- package/build/plugins/resource/bot/enums/wayToRegisterBot.js +0 -11
- package/build/plugins/resource/bot/enums/wayToRegisterBot.js.map +0 -1
- package/build/plugins/resource/bot/questions.d.ts +0 -4
- package/build/plugins/resource/bot/questions.d.ts.map +0 -1
- package/build/plugins/resource/bot/questions.js +0 -65
- package/build/plugins/resource/bot/questions.js.map +0 -1
- package/build/plugins/resource/function/utils/templates-fetch.d.ts +0 -10
- package/build/plugins/resource/function/utils/templates-fetch.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/templates-fetch.js +0 -107
- package/build/plugins/resource/function/utils/templates-fetch.js.map +0 -1
|
@@ -2,11 +2,9 @@ module botProvision '\{{PluginOutput.fx-resource-bot.Modules.botProvision.Path}}
|
|
|
2
2
|
name: 'botProvision'
|
|
3
3
|
params: {
|
|
4
4
|
botServerfarmsName: bot_serverfarmsName
|
|
5
|
-
{{#if createNewBotService}}
|
|
6
5
|
botServiceName: bot_serviceName
|
|
7
6
|
botAadClientId: bot_aadClientId
|
|
8
7
|
botDisplayName: bot_displayName
|
|
9
|
-
{{/if}}
|
|
10
8
|
botServiceSKU: bot_serviceSKU
|
|
11
9
|
botWebAppName: bot_sitesName
|
|
12
10
|
botWebAppSKU: bot_webAppSKU
|
|
@@ -23,9 +21,7 @@ module botConfiguration '\{{PluginOutput.fx-resource-bot.Modules.botConfiguratio
|
|
|
23
21
|
params: {
|
|
24
22
|
botAadClientId: bot_aadClientId
|
|
25
23
|
botAadClientSecret: bot_aadClientSecret
|
|
26
|
-
{{#if createNewBotService}}
|
|
27
24
|
botServiceName: bot_serviceName
|
|
28
|
-
{{/if}}
|
|
29
25
|
botWebAppName: bot_sitesName
|
|
30
26
|
authLoginUriSuffix: authLoginUriSuffix
|
|
31
27
|
botEndpoint: botProvision.outputs.botWebAppEndpoint
|
|
@@ -3,7 +3,5 @@ output bot_serviceSKU string = botProvision.outputs.botServiceSKU
|
|
|
3
3
|
output bot_webAppName string = botProvision.outputs.botWebAppName
|
|
4
4
|
output bot_domain string = botProvision.outputs.botDomain
|
|
5
5
|
output bot_appServicePlanName string = botProvision.outputs.appServicePlanName
|
|
6
|
-
{{#if createNewBotService}}
|
|
7
6
|
output bot_serviceName string = botProvision.outputs.botServiceName
|
|
8
|
-
{{/if}}
|
|
9
7
|
output bot_webAppEndpoint string = botProvision.outputs.botWebAppEndpoint
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
param bot_aadClientId string
|
|
3
3
|
@secure()
|
|
4
4
|
param bot_aadClientSecret string
|
|
5
|
-
{{#if createNewBotService}}
|
|
6
5
|
param bot_serviceName string = '${resourceBaseName}-bot-service'
|
|
7
6
|
param bot_displayName string = '${resourceBaseName}-bot-displayname'
|
|
8
|
-
{{/if}}
|
|
9
7
|
param bot_serverfarmsName string = '${resourceBaseName}-bot-serverfarms'
|
|
10
8
|
param bot_webAppSKU string = 'F1'
|
|
11
9
|
param bot_serviceSKU string = 'F1'
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -19,6 +19,6 @@ resource frontendHostingStorage 'Microsoft.Storage/storageAccounts@2021-04-01' =
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
output
|
|
22
|
+
output resourceId string = frontendHostingStorage.id
|
|
23
23
|
output endpoint string = 'https://${siteDomain}'
|
|
24
24
|
output domain string = siteDomain
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
output
|
|
1
|
+
output frontendHosting_storageResourceId string = frontendHostingProvision.outputs.resourceId
|
|
2
2
|
output frontendHosting_endpoint string = frontendHostingProvision.outputs.endpoint
|
|
3
3
|
output frontendHosting_domain string = frontendHostingProvision.outputs.domain
|
|
Binary file
|
|
Binary file
|
|
@@ -44,7 +44,5 @@ resource functionStorage 'Microsoft.Storage/storageAccounts@2021-04-01' = {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
output appServicePlanName string = functionServerfarms.name
|
|
48
47
|
output functionEndpoint string = functionApp.properties.hostNames[0]
|
|
49
|
-
output
|
|
50
|
-
output appName string = functionAppName
|
|
48
|
+
output functionAppResourceId string = functionApp.id
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
output function_storageAccountName string = functionProvision.outputs.storageAccountName
|
|
3
|
-
output function_appServicePlanName string = functionProvision.outputs.appServicePlanName
|
|
4
2
|
output function_functionEndpoint string = functionProvision.outputs.functionEndpoint
|
|
5
|
-
output
|
|
3
|
+
output function_appResourceId string = functionProvision.outputs.functionAppResourceId
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.schema.json",
|
|
3
|
+
"manifestVersion": "1.9",
|
|
4
|
+
"packageName": "<%= componentNameUnescaped %>",
|
|
5
|
+
"id": "{{profile.fx-resource-appstudio.teamsAppId}}",
|
|
6
|
+
"version": "1.0.0",
|
|
7
|
+
"developer": {
|
|
8
|
+
"name": "SPFx + Teams Dev",
|
|
9
|
+
"websiteUrl": "https://products.office.com/en-us/sharepoint/collaboration",
|
|
10
|
+
"privacyUrl": "https://privacy.microsoft.com/en-us/privacystatement",
|
|
11
|
+
"termsOfUseUrl": "https://www.microsoft.com/en-us/servicesagreement"
|
|
12
|
+
},
|
|
13
|
+
"name": {
|
|
14
|
+
"short": "<%= componentNameUnescaped %>"
|
|
15
|
+
},
|
|
16
|
+
"description": {
|
|
17
|
+
"short": "<%= componentNameUnescaped %>",
|
|
18
|
+
"full": "<%= componentNameUnescaped %>"
|
|
19
|
+
},
|
|
20
|
+
"icons": {
|
|
21
|
+
"outline": "resources/outline.png",
|
|
22
|
+
"color": "resources/color.png"
|
|
23
|
+
},
|
|
24
|
+
"accentColor": "#004578",
|
|
25
|
+
"staticTabs": [
|
|
26
|
+
{
|
|
27
|
+
"entityId": "<%= componentId %>",
|
|
28
|
+
"name": "<%= componentNameUnescaped %>",
|
|
29
|
+
"contentUrl": "https://{teamSiteDomain}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/_layouts/15/teamshostedapp.aspx%3Fteams%26personal%26componentId=<%= componentId %>%26forceLocale={locale}",
|
|
30
|
+
"websiteUrl": "https://products.office.com/en-us/sharepoint/collaboration",
|
|
31
|
+
"scopes": [
|
|
32
|
+
"personal"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"configurableTabs": [
|
|
37
|
+
{
|
|
38
|
+
"configurationUrl": "https://{teamSiteDomain}{teamSitePath}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest={teamSitePath}/_layouts/15/teamshostedapp.aspx%3FopenPropertyPane=true%26teams%26componentId=<%= componentId %>%26forceLocale={locale}",
|
|
39
|
+
"canUpdateConfiguration": true,
|
|
40
|
+
"scopes": [
|
|
41
|
+
"team"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"permissions": [
|
|
46
|
+
"identity",
|
|
47
|
+
"messageTeamMembers"
|
|
48
|
+
],
|
|
49
|
+
"validDomains": [
|
|
50
|
+
"*.login.microsoftonline.com",
|
|
51
|
+
"*.sharepoint.com",
|
|
52
|
+
"*.sharepoint-df.com",
|
|
53
|
+
"spoppe-a.akamaihd.net",
|
|
54
|
+
"spoprod-a.akamaihd.net",
|
|
55
|
+
"resourceseng.blob.core.windows.net",
|
|
56
|
+
"msft.spoppe.com"
|
|
57
|
+
],
|
|
58
|
+
"webApplicationInfo": {
|
|
59
|
+
"resource": "https://{teamSiteDomain}",
|
|
60
|
+
"id": "00000003-0000-0ff1-ce00-000000000000"
|
|
61
|
+
}
|
|
62
|
+
}
|
package/build/core/loader.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Inputs, Solution } from "@microsoft/teamsfx-api";
|
|
2
|
-
export interface SolutionLoader {
|
|
3
|
-
loadSolution(inputs: Inputs): Promise<Solution>;
|
|
4
|
-
loadGlobalSolutions(inputs: Inputs): Promise<Solution[]>;
|
|
5
|
-
}
|
|
6
|
-
export declare class DefaultSolutionLoader implements SolutionLoader {
|
|
7
|
-
loadSolution(inputs: Inputs): Promise<Solution>;
|
|
8
|
-
loadGlobalSolutions(inputs: Inputs): Promise<Solution[]>;
|
|
9
|
-
}
|
|
10
|
-
export declare const defaultSolutionLoader: DefaultSolutionLoader;
|
|
11
|
-
//# sourceMappingURL=loader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../src/core/loader.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAExD,MAAM,WAAW,cAAc;IAC7B,YAAY,CAAC,MAAM,EAAE,MAAM,GAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/C,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;CACzD;AAGD,qBAAa,qBAAsB,YAAW,cAAc;IACpD,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAG/C,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;CAG/D;AAGD,eAAO,MAAM,qBAAqB,uBAA8B,CAAC"}
|
package/build/core/loader.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.defaultSolutionLoader = exports.DefaultSolutionLoader = void 0;
|
|
6
|
-
const solution_1 = require("../plugins/solution/fx-solution/solution");
|
|
7
|
-
class DefaultSolutionLoader {
|
|
8
|
-
async loadSolution(inputs) {
|
|
9
|
-
return new solution_1.TeamsAppSolution();
|
|
10
|
-
}
|
|
11
|
-
async loadGlobalSolutions(inputs) {
|
|
12
|
-
return [new solution_1.TeamsAppSolution()];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.DefaultSolutionLoader = DefaultSolutionLoader;
|
|
16
|
-
exports.defaultSolutionLoader = new DefaultSolutionLoader();
|
|
17
|
-
//# sourceMappingURL=loader.js.map
|
package/build/core/loader.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/core/loader.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAGlC,uEAA4E;AAO5E,MAAa,qBAAqB;IAChC,KAAK,CAAC,YAAY,CAAC,MAAc;QAC/B,OAAO,IAAI,2BAAgB,EAAE,CAAC;IAChC,CAAC;IACD,KAAK,CAAC,mBAAmB,CAAC,MAAc;QACtC,OAAO,CAAC,IAAI,2BAAgB,EAAE,CAAC,CAAC;IAClC,CAAC;CACF;AAPD,sDAOC;AAGY,QAAA,qBAAqB,GAAG,IAAI,qBAAqB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contextInjecter.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/contextInjecter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAElE,eAAO,MAAM,iBAAiB,QACrB,WAAW,QACV,YAAY,kBAIrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contextInjecter.js","sourceRoot":"","sources":["../../../src/core/middleware/contextInjecter.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAI3B,MAAM,iBAAiB,GAAG,KAAK,EAClC,GAAgB,EAChB,IAAkB,EAClB,EAAE;IACF,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxB,MAAM,IAAI,EAAE,CAAC;AACjB,CAAC,CAAC;AANW,QAAA,iBAAiB,qBAM5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wayToRegisterBot.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/enums/wayToRegisterBot.ts"],"names":[],"mappings":"AAEA,oBAAY,gBAAgB;IAC1B,aAAa,mBAAmB;IAChC,SAAS,eAAe;CACzB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WayToRegisterBot = void 0;
|
|
4
|
-
// Copyright (c) Microsoft Corporation.
|
|
5
|
-
// Licensed under the MIT license.
|
|
6
|
-
var WayToRegisterBot;
|
|
7
|
-
(function (WayToRegisterBot) {
|
|
8
|
-
WayToRegisterBot["ReuseExisting"] = "reuse-existing";
|
|
9
|
-
WayToRegisterBot["CreateNew"] = "create-new";
|
|
10
|
-
})(WayToRegisterBot = exports.WayToRegisterBot || (exports.WayToRegisterBot = {}));
|
|
11
|
-
//# sourceMappingURL=wayToRegisterBot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wayToRegisterBot.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/bot/enums/wayToRegisterBot.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,oDAAgC,CAAA;IAChC,4CAAwB,CAAA;AAC1B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/bot/questions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAG3D,QAAA,MAAM,eAAe,WAEnB,CAAC;AA6DH,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createQuestions = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
// Copyright (c) Microsoft Corporation.
|
|
6
|
-
// Licensed under the MIT license.
|
|
7
|
-
const wayToRegisterBot_1 = require("./enums/wayToRegisterBot");
|
|
8
|
-
const constants_1 = require("./constants");
|
|
9
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
10
|
-
const isUUID_1 = tslib_1.__importDefault(require("validator/lib/isUUID"));
|
|
11
|
-
const createQuestions = new teamsfx_api_1.QTreeNode({
|
|
12
|
-
type: "group",
|
|
13
|
-
});
|
|
14
|
-
exports.createQuestions = createQuestions;
|
|
15
|
-
const wayToRegisterBotQuestion = new teamsfx_api_1.QTreeNode({
|
|
16
|
-
name: constants_1.QuestionNames.WAY_TO_REGISTER_BOT,
|
|
17
|
-
type: "singleSelect",
|
|
18
|
-
staticOptions: constants_1.QuestionOptions.WAY_TO_REGISTER_BOT_OPTIONS,
|
|
19
|
-
title: "Bot registration",
|
|
20
|
-
default: wayToRegisterBot_1.WayToRegisterBot.CreateNew,
|
|
21
|
-
placeholder: "Select an option",
|
|
22
|
-
});
|
|
23
|
-
const botIdQuestion = new teamsfx_api_1.QTreeNode({
|
|
24
|
-
name: constants_1.QuestionNames.GET_BOT_ID,
|
|
25
|
-
type: "text",
|
|
26
|
-
title: "Enter bot id",
|
|
27
|
-
default: "",
|
|
28
|
-
placeholder: "00000000-0000-0000-0000-00000000000",
|
|
29
|
-
prompt: "Open bot managment tool to get bot id",
|
|
30
|
-
validation: {
|
|
31
|
-
validFunc: async (input, previousInputs) => {
|
|
32
|
-
const botId = input;
|
|
33
|
-
if (!botId || !isUUID_1.default(botId)) {
|
|
34
|
-
return "Invalid bot id: must be a valid GUID.";
|
|
35
|
-
}
|
|
36
|
-
return undefined;
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
const botPasswordQuestion = new teamsfx_api_1.QTreeNode({
|
|
41
|
-
name: constants_1.QuestionNames.GET_BOT_PASSWORD,
|
|
42
|
-
type: "text",
|
|
43
|
-
password: true,
|
|
44
|
-
title: "Enter bot password",
|
|
45
|
-
default: "",
|
|
46
|
-
validation: {
|
|
47
|
-
validFunc: async (input, previousInputs) => {
|
|
48
|
-
if (!input) {
|
|
49
|
-
return "Invalid bot password. Password is empty.";
|
|
50
|
-
}
|
|
51
|
-
return undefined;
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
const reusingExistingBotGroup = new teamsfx_api_1.QTreeNode({
|
|
56
|
-
type: "group",
|
|
57
|
-
});
|
|
58
|
-
reusingExistingBotGroup.addChild(botIdQuestion);
|
|
59
|
-
reusingExistingBotGroup.addChild(botPasswordQuestion);
|
|
60
|
-
reusingExistingBotGroup.condition = {
|
|
61
|
-
equals: wayToRegisterBot_1.WayToRegisterBot.ReuseExisting,
|
|
62
|
-
};
|
|
63
|
-
wayToRegisterBotQuestion.addChild(reusingExistingBotGroup);
|
|
64
|
-
createQuestions.addChild(wayToRegisterBotQuestion);
|
|
65
|
-
//# sourceMappingURL=questions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"questions.js","sourceRoot":"","sources":["../../../../src/plugins/resource/bot/questions.ts"],"names":[],"mappings":";;;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,+DAA4D;AAC5D,2CAA6D;AAC7D,wDAA2D;AAC3D,0EAA0C;AAE1C,MAAM,eAAe,GAAG,IAAI,uBAAS,CAAC;IACpC,IAAI,EAAE,OAAO;CACd,CAAC,CAAC;AA6DM,0CAAe;AA3DxB,MAAM,wBAAwB,GAAG,IA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,CAAC;AAChD,uBAAuB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAEtD,uBAAuB,CAAC,SAAS,GAAG;IAClC,MAAM,EAAE,mCAAgB,CAAC,aAAa;CACvC,CAAC;AAEF,wBAAwB,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;AAE3D,eAAe,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import AdmZip from "adm-zip";
|
|
3
|
-
import { AxiosResponse } from "axios";
|
|
4
|
-
import { FunctionLanguage } from "../enums";
|
|
5
|
-
export declare function convertTemplateLanguage(language: FunctionLanguage): string;
|
|
6
|
-
export declare function getTemplateURL(group: string, language: FunctionLanguage, scenario: string): Promise<string>;
|
|
7
|
-
export declare function fetchZipFromURL(url: string): Promise<AdmZip>;
|
|
8
|
-
export declare function unzip(zip: AdmZip, dstPath: string, nameReplaceFn?: (filePath: string, data: Buffer) => string, dataReplaceFn?: (filePath: string, data: Buffer) => Buffer | string): Promise<void>;
|
|
9
|
-
export declare function requestWithRetry<T>(maxTryCount: number, requestFn: () => Promise<AxiosResponse<T>>): Promise<AxiosResponse<T>>;
|
|
10
|
-
//# sourceMappingURL=templates-fetch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-fetch.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/function/utils/templates-fetch.ts"],"names":[],"mappings":";AAIA,OAAO,MAAM,MAAM,SAAS,CAAC;AAC7B,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAa7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAgB5C,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAO1E;AAED,wBAAsB,cAAc,CAClC,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC,CAQjB;AAED,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAelE;AAGD,wBAAsB,KAAK,CACzB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,EAC1D,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,GAClE,OAAO,CAAC,IAAI,CAAC,CAoBf;AAED,wBAAsB,gBAAgB,CAAC,CAAC,EACtC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,GACzC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CA6B3B"}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.requestWithRetry = exports.unzip = exports.fetchZipFromURL = exports.getTemplateURL = exports.convertTemplateLanguage = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
// Copyright (c) Microsoft Corporation.
|
|
6
|
-
// Licensed under the MIT license.
|
|
7
|
-
const fs = tslib_1.__importStar(require("fs-extra"));
|
|
8
|
-
const path = tslib_1.__importStar(require("path"));
|
|
9
|
-
const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
|
|
10
|
-
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
11
|
-
const errors_1 = require("../resources/errors");
|
|
12
|
-
const constants_1 = require("../constants");
|
|
13
|
-
const message_1 = require("../resources/message");
|
|
14
|
-
const logger_1 = require("./logger");
|
|
15
|
-
const templates_1 = require("../../../../common/templates");
|
|
16
|
-
const enums_1 = require("../enums");
|
|
17
|
-
async function fetchTemplateTagList(url) {
|
|
18
|
-
return await errors_1.runWithErrorCatchAndThrow(new errors_1.TemplateManifestNetworkError(url), async () => {
|
|
19
|
-
const res = await requestWithRetry(constants_1.DefaultValues.scaffoldTryCount, async () => {
|
|
20
|
-
return await axios_1.default.get(url, {
|
|
21
|
-
timeout: constants_1.DefaultValues.scaffoldTimeoutInMs,
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
return res.data;
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function convertTemplateLanguage(language) {
|
|
28
|
-
switch (language) {
|
|
29
|
-
case enums_1.FunctionLanguage.JavaScript:
|
|
30
|
-
return "js";
|
|
31
|
-
case enums_1.FunctionLanguage.TypeScript:
|
|
32
|
-
return "ts";
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.convertTemplateLanguage = convertTemplateLanguage;
|
|
36
|
-
async function getTemplateURL(group, language, scenario) {
|
|
37
|
-
const tags = await fetchTemplateTagList(templates_1.tagListURL);
|
|
38
|
-
const selectedTag = templates_1.selectTag(tags.replace(/\r/g, "").split("\n"));
|
|
39
|
-
if (!selectedTag) {
|
|
40
|
-
throw new errors_1.BadTemplateManifestError(`${group}+${language}+${scenario}`);
|
|
41
|
-
}
|
|
42
|
-
const templateLanguage = convertTemplateLanguage(language);
|
|
43
|
-
return templates_1.templateURL(selectedTag, `${group}.${templateLanguage}.${scenario}`);
|
|
44
|
-
}
|
|
45
|
-
exports.getTemplateURL = getTemplateURL;
|
|
46
|
-
async function fetchZipFromURL(url) {
|
|
47
|
-
return await errors_1.runWithErrorCatchAndThrow(new errors_1.TemplateZipNetworkError(url), async () => {
|
|
48
|
-
const res = await requestWithRetry(constants_1.DefaultValues.scaffoldTryCount, async () => {
|
|
49
|
-
return await axios_1.default.get(url, {
|
|
50
|
-
responseType: "arraybuffer",
|
|
51
|
-
timeout: constants_1.DefaultValues.scaffoldTimeoutInMs,
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
const zip = new adm_zip_1.default(res.data);
|
|
55
|
-
return zip;
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
exports.fetchZipFromURL = fetchZipFromURL;
|
|
59
|
-
/* The unzip used for scaffold which would drop the attr of the files and dirs. */
|
|
60
|
-
async function unzip(zip, dstPath, nameReplaceFn, dataReplaceFn) {
|
|
61
|
-
await errors_1.runWithErrorCatchAndThrow(new errors_1.UnzipError(), async () => {
|
|
62
|
-
const entries = zip.getEntries().filter((entry) => !entry.isDirectory);
|
|
63
|
-
for (const entry of entries) {
|
|
64
|
-
const rawEntryData = entry.getData();
|
|
65
|
-
const entryName = nameReplaceFn
|
|
66
|
-
? nameReplaceFn(entry.entryName, rawEntryData)
|
|
67
|
-
: entry.entryName;
|
|
68
|
-
const entryData = dataReplaceFn
|
|
69
|
-
? dataReplaceFn(entry.name, rawEntryData)
|
|
70
|
-
: rawEntryData;
|
|
71
|
-
const filePath = path.join(dstPath, entryName);
|
|
72
|
-
const dirPath = path.dirname(filePath);
|
|
73
|
-
await fs.ensureDir(dirPath);
|
|
74
|
-
await fs.writeFile(filePath, entryData);
|
|
75
|
-
logger_1.Logger.debug(message_1.InfoMessages.functionScaffoldAt(filePath));
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
exports.unzip = unzip;
|
|
80
|
-
async function requestWithRetry(maxTryCount, requestFn) {
|
|
81
|
-
var _a;
|
|
82
|
-
// !status means network error, see https://github.com/axios/axios/issues/383
|
|
83
|
-
const canTry = (status) => !status || (status >= 500 && status < 600);
|
|
84
|
-
let error = new Error(`RequestWithRetry got bad max try number ${maxTryCount}`);
|
|
85
|
-
let tryCount = 0;
|
|
86
|
-
while (tryCount++ < maxTryCount) {
|
|
87
|
-
try {
|
|
88
|
-
const res = await requestFn();
|
|
89
|
-
if (res.status === 200 || res.status === 201) {
|
|
90
|
-
return res;
|
|
91
|
-
}
|
|
92
|
-
error = new Error(`HTTP Request failed: ${JSON.stringify(res)}`);
|
|
93
|
-
if (!canTry(res.status)) {
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
catch (e) {
|
|
98
|
-
error = e;
|
|
99
|
-
if (!canTry((_a = e.response) === null || _a === void 0 ? void 0 : _a.status)) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
throw error;
|
|
105
|
-
}
|
|
106
|
-
exports.requestWithRetry = requestWithRetry;
|
|
107
|
-
//# sourceMappingURL=templates-fetch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-fetch.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/function/utils/templates-fetch.ts"],"names":[],"mappings":";;;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,qDAA+B;AAC/B,mDAA6B;AAC7B,8DAA6B;AAC7B,0DAA6C;AAE7C,gDAM6B;AAC7B,4CAA6C;AAC7C,kDAAoD;AACpD,qCAAkC;AAClC,4DAAkF;AAClF,oCAA4C;AAE5C,KAAK,UAAU,oBAAoB,CAAC,GAAW;IAC7C,OAAO,MAAM,kCAAyB,CAAC,IAAI,qCAA4B,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,EAAE;QACvF,MAAM,GAAG,GAA0B,MAAM,gBAAgB,CACvD,yBAAa,CAAC,gBAAgB,EAC9B,KAAK,IAAI,EAAE;YACT,OAAO,MAAM,eAAK,CAAC,GAAG,CAAC,GAAG,EAAE;gBAC1B,OAAO,EAAE,yBAAa,CAAC,mBAAmB;aAC3C,CAAC,CAAC;QACL,CAAC,CACF,CAAC;QACF,OAAO,GAAG,CAAC,IAAI,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,uBAAuB,CAAC,QAA0B;IAChE,QAAQ,QAAQ,EAAE;QAChB,KAAK,wBAAgB,CAAC,UAAU;YAC9B,OAAO,IAAI,CAAC;QACd,KAAK,wBAAgB,CAAC,UAAU;YAC9B,OAA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