@microsoft/teamsfx-core 1.10.0 → 1.10.1-alpha.009656ebb.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/azure-hosting/azureFunctionHosting.d.ts +3 -5
- package/build/common/azure-hosting/azureFunctionHosting.d.ts.map +1 -1
- package/build/common/azure-hosting/azureFunctionHosting.js +6 -8
- package/build/common/azure-hosting/azureFunctionHosting.js.map +1 -1
- package/build/common/azure-hosting/azureHosting.d.ts +4 -5
- package/build/common/azure-hosting/azureHosting.d.ts.map +1 -1
- package/build/common/azure-hosting/azureHosting.js +12 -15
- package/build/common/azure-hosting/azureHosting.js.map +1 -1
- package/build/common/azure-hosting/hostingConstant.d.ts.map +1 -1
- package/build/common/azure-hosting/hostingConstant.js +1 -1
- package/build/common/azure-hosting/hostingConstant.js.map +1 -1
- package/build/common/azure-hosting/interfaces.d.ts +14 -1
- package/build/common/azure-hosting/interfaces.d.ts.map +1 -1
- package/build/common/azure-hosting/interfaces.js +1 -1
- package/build/common/azure-hosting/interfaces.js.map +1 -1
- package/build/common/azure-hosting/utils.d.ts +3 -1
- package/build/common/azure-hosting/utils.d.ts.map +1 -1
- package/build/common/azure-hosting/utils.js +18 -1
- package/build/common/azure-hosting/utils.js.map +1 -1
- package/build/common/deps-checker/depsError.d.ts +1 -1
- package/build/common/deps-checker/depsError.d.ts.map +1 -1
- package/build/common/deps-checker/depsError.js +2 -2
- package/build/common/deps-checker/depsError.js.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/local/index.d.ts +1 -0
- package/build/common/local/index.d.ts.map +1 -1
- package/build/common/local/index.js +1 -0
- package/build/common/local/index.js.map +1 -1
- package/build/common/local/localTelemetryReporter.d.ts +68 -0
- package/build/common/local/localTelemetryReporter.d.ts.map +1 -0
- package/build/common/local/localTelemetryReporter.js +113 -0
- package/build/common/local/localTelemetryReporter.js.map +1 -0
- package/build/common/projectSettingsHelper.d.ts +1 -2
- package/build/common/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/projectSettingsHelper.js +1 -19
- package/build/common/projectSettingsHelper.js.map +1 -1
- package/build/common/projectSettingsHelperV3.d.ts +10 -0
- package/build/common/projectSettingsHelperV3.d.ts.map +1 -0
- package/build/common/projectSettingsHelperV3.js +64 -0
- package/build/common/projectSettingsHelperV3.js.map +1 -0
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +3 -2
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +23 -6
- package/build/common/tools.js.map +1 -1
- package/build/common/utils.d.ts +2 -0
- package/build/common/utils.d.ts.map +1 -0
- package/build/common/utils.js +22 -0
- package/build/common/utils.js.map +1 -0
- package/build/component/bicep.d.ts.map +1 -1
- package/build/component/bicep.js +0 -8
- package/build/component/bicep.js.map +1 -1
- package/build/component/code/apiCode.d.ts +1 -0
- package/build/component/code/apiCode.d.ts.map +1 -0
- package/build/component/code/apiCode.js +2 -0
- package/build/component/code/apiCode.js.map +1 -0
- package/build/component/{botCode.d.ts → code/botCode.d.ts} +2 -3
- package/build/component/code/botCode.d.ts.map +1 -0
- package/build/component/code/botCode.js +154 -0
- package/build/component/code/botCode.js.map +1 -0
- package/build/component/code/tabCode.d.ts +11 -0
- package/build/component/code/tabCode.d.ts.map +1 -0
- package/build/component/code/tabCode.js +123 -0
- package/build/component/code/tabCode.js.map +1 -0
- package/build/component/connection/aadConfig.d.ts +1 -0
- package/build/component/connection/aadConfig.d.ts.map +1 -0
- package/build/component/connection/aadConfig.js +2 -0
- package/build/component/connection/aadConfig.js.map +1 -0
- package/build/component/connection/azureFunctionConfig.d.ts +9 -0
- package/build/component/connection/azureFunctionConfig.d.ts.map +1 -0
- package/build/component/connection/azureFunctionConfig.js +88 -0
- package/build/component/connection/azureFunctionConfig.js.map +1 -0
- package/build/component/{connection.d.ts → connection/azureWebAppConfig.d.ts} +1 -1
- package/build/component/connection/azureWebAppConfig.d.ts.map +1 -0
- package/build/component/{connection.js → connection/azureWebAppConfig.js} +5 -5
- package/build/component/connection/azureWebAppConfig.js.map +1 -0
- package/build/component/constants.d.ts +65 -0
- package/build/component/constants.d.ts.map +1 -0
- package/build/component/constants.js +70 -0
- package/build/component/constants.js.map +1 -0
- package/build/component/core.d.ts +21 -34
- package/build/component/core.d.ts.map +1 -1
- package/build/component/core.js +195 -603
- package/build/component/core.js.map +1 -1
- package/build/component/debug.d.ts +10 -0
- package/build/component/debug.d.ts.map +1 -0
- package/build/component/debug.js +327 -0
- package/build/component/debug.js.map +1 -0
- package/build/component/envManager.d.ts +2 -0
- package/build/component/envManager.d.ts.map +1 -1
- package/build/component/envManager.js +63 -84
- package/build/component/envManager.js.map +1 -1
- package/build/component/feature/bot.d.ts +35 -0
- package/build/component/feature/bot.d.ts.map +1 -0
- package/build/component/feature/bot.js +191 -0
- package/build/component/feature/bot.js.map +1 -0
- package/build/component/feature/sql.d.ts +15 -0
- package/build/component/feature/sql.d.ts.map +1 -0
- package/build/component/feature/sql.js +135 -0
- package/build/component/feature/sql.js.map +1 -0
- package/build/component/feature/tab.d.ts +7 -0
- package/build/component/feature/tab.d.ts.map +1 -0
- package/build/component/feature/tab.js +76 -0
- package/build/component/feature/tab.js.map +1 -0
- package/build/component/fx/preDeployAction.d.ts +7 -0
- package/build/component/fx/preDeployAction.d.ts.map +1 -0
- package/build/component/fx/preDeployAction.js +32 -0
- package/build/component/fx/preDeployAction.js.map +1 -0
- package/build/component/fx/preProvisionAction.d.ts +7 -0
- package/build/component/fx/preProvisionAction.d.ts.map +1 -0
- package/build/component/fx/preProvisionAction.js +63 -0
- package/build/component/fx/preProvisionAction.js.map +1 -0
- package/build/component/middleware/logger.d.ts +20 -0
- package/build/component/middleware/logger.d.ts.map +1 -0
- package/build/component/middleware/logger.js +50 -0
- package/build/component/middleware/logger.js.map +1 -0
- package/build/component/middleware/progressbar.d.ts +3 -0
- package/build/component/middleware/progressbar.d.ts.map +1 -0
- package/build/component/middleware/progressbar.js +22 -0
- package/build/component/middleware/progressbar.js.map +1 -0
- package/build/component/middleware/runWithCatchError.d.ts +6 -0
- package/build/component/middleware/runWithCatchError.d.ts.map +1 -0
- package/build/component/middleware/runWithCatchError.js +43 -0
- package/build/component/middleware/runWithCatchError.js.map +1 -0
- package/build/component/middleware/telemetry.d.ts +36 -0
- package/build/component/middleware/telemetry.d.ts.map +1 -0
- package/build/component/middleware/telemetry.js +67 -0
- package/build/component/middleware/telemetry.js.map +1 -0
- package/build/component/middleware/types.d.ts +24 -0
- package/build/component/middleware/types.d.ts.map +1 -0
- package/build/component/middleware/types.js +5 -0
- package/build/component/middleware/types.js.map +1 -0
- package/build/component/resource/{teamsManifest.d.ts → appManifest/appManifest.d.ts} +4 -3
- package/build/component/resource/appManifest/appManifest.d.ts.map +1 -0
- package/build/component/resource/appManifest/appManifest.js +272 -0
- package/build/component/resource/appManifest/appManifest.js.map +1 -0
- package/build/component/resource/appManifest/appStudio.d.ts +18 -0
- package/build/component/resource/appManifest/appStudio.d.ts.map +1 -0
- package/build/component/resource/appManifest/appStudio.js +208 -0
- package/build/component/resource/appManifest/appStudio.js.map +1 -0
- package/build/component/resource/appManifest/constants.d.ts +16 -0
- package/build/component/resource/appManifest/constants.d.ts.map +1 -0
- package/build/component/resource/appManifest/constants.js +186 -0
- package/build/component/resource/appManifest/constants.js.map +1 -0
- package/build/component/resource/appManifest/utils.d.ts +5 -0
- package/build/component/resource/appManifest/utils.d.ts.map +1 -0
- package/build/component/resource/appManifest/utils.js +23 -0
- package/build/component/resource/appManifest/utils.js.map +1 -0
- package/build/component/resource/azureFunction.d.ts +4 -3
- package/build/component/resource/azureFunction.d.ts.map +1 -1
- package/build/component/resource/azureFunction.js +6 -28
- package/build/component/resource/azureFunction.js.map +1 -1
- package/build/component/resource/azureResource.d.ts +11 -0
- package/build/component/resource/azureResource.d.ts.map +1 -0
- package/build/component/resource/azureResource.js +55 -0
- package/build/component/resource/azureResource.js.map +1 -0
- package/build/component/resource/azureSql/actions/configure.d.ts +16 -0
- package/build/component/resource/azureSql/actions/configure.d.ts.map +1 -0
- package/build/component/resource/azureSql/actions/configure.js +161 -0
- package/build/component/resource/azureSql/actions/configure.js.map +1 -0
- package/build/component/resource/azureSql/actions/generateBicep.d.ts +3 -0
- package/build/component/resource/azureSql/actions/generateBicep.d.ts.map +1 -0
- package/build/component/resource/azureSql/actions/generateBicep.js +61 -0
- package/build/component/resource/azureSql/actions/generateBicep.js.map +1 -0
- package/build/component/resource/azureSql/actions/provision.d.ts +3 -0
- package/build/component/resource/azureSql/actions/provision.d.ts.map +1 -0
- package/build/component/resource/azureSql/actions/provision.js +27 -0
- package/build/component/resource/azureSql/actions/provision.js.map +1 -0
- package/build/component/resource/{azureSql.d.ts → azureSql/azureSql.d.ts} +4 -4
- package/build/component/resource/azureSql/azureSql.d.ts.map +1 -0
- package/build/component/resource/azureSql/azureSql.js +34 -0
- package/build/component/resource/azureSql/azureSql.js.map +1 -0
- package/build/component/resource/azureSql/clients/management.d.ts +18 -0
- package/build/component/resource/azureSql/clients/management.d.ts.map +1 -0
- package/build/component/resource/azureSql/clients/management.js +111 -0
- package/build/component/resource/azureSql/clients/management.js.map +1 -0
- package/build/component/resource/azureSql/clients/sql.d.ts +13 -0
- package/build/component/resource/azureSql/clients/sql.d.ts.map +1 -0
- package/build/component/resource/azureSql/clients/sql.js +153 -0
- package/build/component/resource/azureSql/clients/sql.js.map +1 -0
- package/build/component/resource/azureSql/config.d.ts +5 -0
- package/build/component/resource/azureSql/config.d.ts.map +1 -0
- package/build/component/resource/azureSql/config.js +69 -0
- package/build/component/resource/azureSql/config.js.map +1 -0
- package/build/component/resource/azureSql/constants.d.ts +91 -0
- package/build/component/resource/azureSql/constants.d.ts.map +1 -0
- package/build/component/resource/azureSql/constants.js +101 -0
- package/build/component/resource/azureSql/constants.js.map +1 -0
- package/build/component/resource/azureSql/errors.d.ts +63 -0
- package/build/component/resource/azureSql/errors.d.ts.map +1 -0
- package/build/component/resource/azureSql/errors.js +107 -0
- package/build/component/resource/azureSql/errors.js.map +1 -0
- package/build/component/resource/azureSql/index.d.ts +2 -0
- package/build/component/resource/azureSql/index.d.ts.map +1 -0
- package/build/component/resource/azureSql/index.js +7 -0
- package/build/component/resource/azureSql/index.js.map +1 -0
- package/build/component/resource/azureSql/questions.d.ts +5 -0
- package/build/component/resource/azureSql/questions.d.ts.map +1 -0
- package/build/component/resource/azureSql/questions.js +48 -0
- package/build/component/resource/azureSql/questions.js.map +1 -0
- package/build/component/resource/azureSql/results.d.ts +10 -0
- package/build/component/resource/azureSql/results.d.ts.map +1 -0
- package/build/component/resource/azureSql/results.js +34 -0
- package/build/component/resource/azureSql/results.js.map +1 -0
- package/build/component/resource/azureSql/types.d.ts +12 -0
- package/build/component/resource/azureSql/types.d.ts.map +1 -0
- package/build/component/resource/azureSql/types.js +5 -0
- package/build/component/resource/azureSql/types.js.map +1 -0
- package/build/component/resource/azureSql/utils/checkInput.d.ts +10 -0
- package/build/component/resource/azureSql/utils/checkInput.d.ts.map +1 -0
- package/build/component/resource/azureSql/utils/checkInput.js +89 -0
- package/build/component/resource/azureSql/utils/checkInput.js.map +1 -0
- package/build/component/resource/azureSql/utils/common.d.ts +12 -0
- package/build/component/resource/azureSql/utils/common.d.ts.map +1 -0
- package/build/component/resource/azureSql/utils/common.js +51 -0
- package/build/component/resource/azureSql/utils/common.js.map +1 -0
- package/build/component/resource/azureSql/utils/message.d.ts +16 -0
- package/build/component/resource/azureSql/utils/message.d.ts.map +1 -0
- package/build/component/resource/azureSql/utils/message.js +23 -0
- package/build/component/resource/azureSql/utils/message.js.map +1 -0
- package/build/component/resource/azureStorage.d.ts +8 -0
- package/build/component/resource/azureStorage.d.ts.map +1 -1
- package/build/component/resource/azureStorage.js +44 -3
- package/build/component/resource/azureStorage.js.map +1 -1
- package/build/component/resource/azureWebApp.d.ts +8 -3
- package/build/component/resource/azureWebApp.d.ts.map +1 -1
- package/build/component/resource/azureWebApp.js +74 -37
- package/build/component/resource/azureWebApp.js.map +1 -1
- package/build/component/resource/botService.d.ts +2 -1
- package/build/component/resource/botService.d.ts.map +1 -1
- package/build/component/resource/botService.js +81 -24
- package/build/component/resource/botService.js.map +1 -1
- package/build/component/utils.d.ts +3 -2
- package/build/component/utils.d.ts.map +1 -1
- package/build/component/utils.js +12 -4
- package/build/component/utils.js.map +1 -1
- package/build/component/workflow.d.ts.map +1 -1
- package/build/component/workflow.js +6 -3
- package/build/component/workflow.js.map +1 -1
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +36 -49
- package/build/core/FxCore.js.map +1 -1
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +14 -8
- package/build/core/collaborator.js.map +1 -1
- package/build/core/downloadSample.js +1 -1
- package/build/core/downloadSample.js.map +1 -1
- package/build/core/generateAadManifestTemplate.d.ts +0 -7
- package/build/core/generateAadManifestTemplate.d.ts.map +1 -1
- package/build/core/generateAadManifestTemplate.js +1 -19
- package/build/core/generateAadManifestTemplate.js.map +1 -1
- package/build/core/globalVars.d.ts +5 -0
- package/build/core/globalVars.d.ts.map +1 -1
- package/build/core/globalVars.js +9 -1
- package/build/core/globalVars.js.map +1 -1
- package/build/core/middleware/MigrationUtils.d.ts +2 -1
- package/build/core/middleware/MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/MigrationUtils.js +33 -14
- package/build/core/middleware/MigrationUtils.js.map +1 -1
- package/build/core/middleware/aadManifestMigration.d.ts.map +1 -1
- package/build/core/middleware/aadManifestMigration.js +2 -7
- package/build/core/middleware/aadManifestMigration.js.map +1 -1
- package/build/core/middleware/consolidateLocalRemote.d.ts.map +1 -1
- package/build/core/middleware/consolidateLocalRemote.js +2 -7
- package/build/core/middleware/consolidateLocalRemote.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts +2 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +2 -1
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +1 -0
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +6 -4
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/questionModelV3.d.ts.map +1 -1
- package/build/core/middleware/questionModelV3.js +51 -0
- package/build/core/middleware/questionModelV3.js.map +1 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +7 -2
- package/build/core/question.js.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.d.ts +3 -3
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +4 -4
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/constants.d.ts +1 -1
- package/build/plugins/resource/aad/constants.d.ts.map +1 -1
- package/build/plugins/resource/aad/constants.js +1 -1
- package/build/plugins/resource/aad/constants.js.map +1 -1
- package/build/plugins/resource/aad/index.js.map +1 -1
- package/build/plugins/resource/aad/plugin.d.ts +3 -3
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +27 -20
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts +2 -2
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +3 -2
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts +2 -3
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.js +9 -4
- package/build/plugins/resource/aad/utils/tokenProvider.js.map +1 -1
- package/build/plugins/resource/aad/v3/index.d.ts +3 -3
- package/build/plugins/resource/aad/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v3/index.js +6 -8
- package/build/plugins/resource/aad/v3/index.js.map +1 -1
- package/build/plugins/resource/apim/factory.d.ts +4 -4
- package/build/plugins/resource/apim/factory.d.ts.map +1 -1
- package/build/plugins/resource/apim/factory.js +10 -7
- package/build/plugins/resource/apim/factory.js.map +1 -1
- package/build/plugins/resource/apim/index.js +3 -3
- package/build/plugins/resource/apim/index.js.map +1 -1
- package/build/plugins/resource/apim/v3/index.js +3 -3
- package/build/plugins/resource/apim/v3/index.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +9 -11
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +47 -63
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +4 -5
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +34 -35
- 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 +3 -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 +16 -7
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/interfaces/activitiesDefinitionItem.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/activitiesDefinitionItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/activitiesDefinitionItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/activitiesDefinitionItem.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/activityDefinitionItem.d.ts +6 -0
- package/build/plugins/resource/appstudio/interfaces/activityDefinitionItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/activityDefinitionItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/activityDefinitionItem.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appAuthorizationItem.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/appAuthorizationItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appAuthorizationItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appAuthorizationItem.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appCategory.d.ts +38 -0
- package/build/plugins/resource/appstudio/interfaces/appCategory.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appCategory.js +44 -0
- package/build/plugins/resource/appstudio/interfaces/appCategory.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appDefinition.d.ts +92 -0
- package/build/plugins/resource/appstudio/interfaces/appDefinition.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appDefinition.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appDefinition.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironment.d.ts +7 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironment.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironment.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironment.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironmentProperty.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironmentProperty.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironmentProperty.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appEnvironmentProperty.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appItemHostedCapability.d.ts +4 -0
- package/build/plugins/resource/appstudio/interfaces/appItemHostedCapability.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appItemHostedCapability.js +10 -0
- package/build/plugins/resource/appstudio/interfaces/appItemHostedCapability.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appItemIndustry.d.ts +13 -0
- package/build/plugins/resource/appstudio/interfaces/appItemIndustry.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appItemIndustry.js +19 -0
- package/build/plugins/resource/appstudio/interfaces/appItemIndustry.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItem.d.ts +6 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItem.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItemType.d.ts +6 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItemType.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItemType.js +12 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItemType.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionsItem.d.ts +6 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionsItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionsItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appPermissionsItem.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appUser.d.ts +8 -0
- package/build/plugins/resource/appstudio/interfaces/appUser.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appUser.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appUser.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appUserSetting.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/appUserSetting.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/appUserSetting.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/appUserSetting.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/bot.d.ts +15 -0
- package/build/plugins/resource/appstudio/interfaces/bot.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/bot.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/bot.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/botCommand.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/botCommand.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/botCommand.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/botCommand.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/configurableTab.d.ts +10 -0
- package/build/plugins/resource/appstudio/interfaces/configurableTab.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/configurableTab.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/configurableTab.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/connector.d.ts +8 -0
- package/build/plugins/resource/appstudio/interfaces/connector.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/connector.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/connector.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/defaultGroupCapability.d.ts +6 -0
- package/build/plugins/resource/appstudio/interfaces/defaultGroupCapability.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/defaultGroupCapability.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/defaultGroupCapability.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/disabledScopeItemType.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/disabledScopeItemType.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/disabledScopeItemType.js +11 -0
- package/build/plugins/resource/appstudio/interfaces/disabledScopeItemType.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/graphConnector.d.ts +4 -0
- package/build/plugins/resource/appstudio/interfaces/graphConnector.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/graphConnector.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/graphConnector.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/language.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/language.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/language.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/language.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/localizationInfo.d.ts +6 -0
- package/build/plugins/resource/appstudio/interfaces/localizationInfo.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/localizationInfo.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/localizationInfo.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/meetingExtensionDefinitionItem.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/meetingExtensionDefinitionItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/meetingExtensionDefinitionItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/meetingExtensionDefinitionItem.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtension.d.ts +10 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtension.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtension.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtension.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommand.d.ts +14 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommand.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommand.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommand.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandParameter.d.ts +9 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandParameter.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandParameter.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandParameter.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandTaskInfo.d.ts +7 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandTaskInfo.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandTaskInfo.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandTaskInfo.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandler.d.ts +6 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandler.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandler.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandler.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandlerLink.d.ts +4 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandlerLink.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandlerLink.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandlerLink.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionParameterChoice.d.ts +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionParameterChoice.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionParameterChoice.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionParameterChoice.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/staticTab.d.ts +15 -0
- package/build/plugins/resource/appstudio/interfaces/staticTab.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/staticTab.js +12 -0
- package/build/plugins/resource/appstudio/interfaces/staticTab.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/subscriptionOffer.d.ts +4 -0
- package/build/plugins/resource/appstudio/interfaces/subscriptionOffer.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/subscriptionOffer.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/subscriptionOffer.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/togetherModeSceneItem.d.ts +9 -0
- package/build/plugins/resource/appstudio/interfaces/togetherModeSceneItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/togetherModeSceneItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/togetherModeSceneItem.js.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/webApplicationInfoItem.d.ts +7 -0
- package/build/plugins/resource/appstudio/interfaces/webApplicationInfoItem.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/interfaces/webApplicationInfoItem.js +5 -0
- package/build/plugins/resource/appstudio/interfaces/webApplicationInfoItem.js.map +1 -0
- package/build/plugins/resource/appstudio/plugin.d.ts +3 -3
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +177 -54
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts +3 -3
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +16 -3
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/utils.d.ts +7 -4
- package/build/plugins/resource/appstudio/utils/utils.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/utils.js +90 -9
- package/build/plugins/resource/appstudio/utils/utils.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +2 -2
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +1 -1
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +6 -7
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +32 -25
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.js +5 -6
- package/build/plugins/resource/bot/configs/scaffoldConfig.js.map +1 -1
- package/build/plugins/resource/bot/constants.d.ts +1 -0
- package/build/plugins/resource/bot/constants.d.ts.map +1 -1
- package/build/plugins/resource/bot/constants.js +14 -0
- package/build/plugins/resource/bot/constants.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +22 -18
- 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 +18 -7
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/question.d.ts +7 -5
- package/build/plugins/resource/bot/question.d.ts.map +1 -1
- package/build/plugins/resource/bot/question.js +38 -57
- package/build/plugins/resource/bot/question.js.map +1 -1
- package/build/plugins/resource/bot/resources/strings.d.ts +1 -0
- package/build/plugins/resource/bot/resources/strings.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/strings.js +1 -0
- 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 +3 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/bot/v2/common.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/common.js +5 -6
- package/build/plugins/resource/bot/v2/common.js.map +1 -1
- package/build/plugins/resource/bot/v2/enum.d.ts +4 -1
- package/build/plugins/resource/bot/v2/enum.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/enum.js +6 -2
- package/build/plugins/resource/bot/v2/enum.js.map +1 -1
- package/build/plugins/resource/bot/v2/mapping.d.ts +5 -0
- package/build/plugins/resource/bot/v2/mapping.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/mapping.js +25 -9
- package/build/plugins/resource/bot/v2/mapping.js.map +1 -1
- package/build/plugins/resource/bot/v2/plugin.d.ts +2 -0
- package/build/plugins/resource/bot/v2/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/plugin.js +20 -16
- package/build/plugins/resource/bot/v2/plugin.js.map +1 -1
- package/build/plugins/resource/bot/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v3/index.js +12 -3
- package/build/plugins/resource/bot/v3/index.js.map +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.js +3 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.js +3 -1
- package/build/plugins/resource/function/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/spfx/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/plugin.js +15 -13
- package/build/plugins/resource/spfx/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/v3/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/v3/plugin.js +18 -13
- package/build/plugins/resource/spfx/v3/plugin.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +9 -0
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +4 -3
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +10 -9
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +3 -1
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +2 -0
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +81 -33
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.d.ts +2 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js +3 -0
- package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +6 -6
- package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts +5 -5
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js +7 -5
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +9 -3
- package/build/plugins/solution/fx-solution/v2/deploy.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 -1
- 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 +5 -2
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.js +7 -7
- package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts +3 -3
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js +6 -6
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +7 -2
- package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +12 -3
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- 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.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +18 -4
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +11 -7
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.d.ts +3 -3
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.js +1 -4
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v3/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.d.ts +2 -2
- package/build/plugins/solution/spfx-solution/addFeature.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.js.map +1 -1
- package/package.json +5 -5
- package/resource/package.nls.json +8 -2
- package/templates/bicep/azureFunction.config.module.bicep +62 -0
- package/templates/bicep/azureFunction.config.orchestration.bicep +12 -0
- package/templates/bicep/azureFunction.parameters.json +4 -0
- package/templates/bicep/azureFunction.provision.module.bicep +89 -0
- package/templates/bicep/azureFunction.provision.orchestration.bicep +17 -0
- package/templates/bicep/azureWebApp.provision.module.bicep +1 -1
- package/templates/fallback/blazor-base.csharp.default.zip +0 -0
- package/templates/fallback/bot.csharp.command-and-response.zip +0 -0
- package/templates/fallback/bot.csharp.default.zip +0 -0
- package/templates/fallback/bot.csharp.notification-function-base.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.csharp.notification-webapi.zip +0 -0
- package/templates/fallback/bot.js.command-and-response.zip +0 -0
- package/templates/fallback/bot.js.default.zip +0 -0
- package/templates/fallback/bot.js.m365.zip +0 -0
- package/templates/fallback/bot.js.notification-function-base.zip +0 -0
- package/templates/fallback/bot.js.notification-restify.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.ts.command-and-response.zip +0 -0
- package/templates/fallback/bot.ts.default.zip +0 -0
- package/templates/fallback/bot.ts.m365.zip +0 -0
- package/templates/fallback/bot.ts.notification-function-base.zip +0 -0
- package/templates/fallback/bot.ts.notification-restify.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.ts.notification.zip +0 -0
- package/templates/fallback/function-base.js.default.zip +0 -0
- package/templates/fallback/function-base.ts.default.zip +0 -0
- package/templates/fallback/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/fallback/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/templates/fallback/tab.csharp.default.zip +0 -0
- package/templates/fallback/tab.js.default.zip +0 -0
- package/templates/fallback/tab.js.m365.zip +0 -0
- package/templates/fallback/tab.js.non-sso.zip +0 -0
- package/templates/fallback/tab.ts.default.zip +0 -0
- package/templates/fallback/tab.ts.m365.zip +0 -0
- package/templates/fallback/tab.ts.non-sso.zip +0 -0
- package/templates/plugins/resource/hosting/bicep/botservice/provision.template.bicep +1 -1
- package/templates/plugins/resource/hosting/bicep/function/config.template.bicep +12 -0
- package/templates/plugins/resource/hosting/bicep/{botFunction/botFunctionConfiguration.template.bicep → function/functionConfiguration.template.bicep} +2 -2
- package/templates/plugins/resource/hosting/bicep/{botFunction/botFunctionProvision.template.bicep → function/functionProvision.template.bicep} +18 -12
- package/templates/plugins/resource/hosting/bicep/function/provision.template.bicep +19 -0
- package/templates/plugins/resource/hosting/bicep/webapp/config.template.bicep +2 -2
- package/templates/plugins/resource/hosting/bicep/webapp/provision.template.bicep +3 -3
- package/templates/plugins/resource/hosting/bicep/webapp/webappConfiguration.template.bicep +1 -1
- package/templates/plugins/resource/hosting/bicep/webapp/webappProvision.template.bicep +9 -4
- package/build/component/botCode.d.ts.map +0 -1
- package/build/component/botCode.js +0 -138
- package/build/component/botCode.js.map +0 -1
- package/build/component/connection.d.ts.map +0 -1
- package/build/component/connection.js.map +0 -1
- package/build/component/debugManager.d.ts +0 -8
- package/build/component/debugManager.d.ts.map +0 -1
- package/build/component/debugManager.js +0 -57
- package/build/component/debugManager.js.map +0 -1
- package/build/component/resource/azureSql.d.ts.map +0 -1
- package/build/component/resource/azureSql.js +0 -101
- package/build/component/resource/azureSql.js.map +0 -1
- package/build/component/resource/index.d.ts +0 -17
- package/build/component/resource/index.d.ts.map +0 -1
- package/build/component/resource/index.js +0 -25
- package/build/component/resource/index.js.map +0 -1
- package/build/component/resource/teamsManifest.d.ts.map +0 -1
- package/build/component/resource/teamsManifest.js +0 -135
- package/build/component/resource/teamsManifest.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/IAppDefinition.d.ts +0 -102
- package/build/plugins/resource/appstudio/interfaces/IAppDefinition.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/IAppDefinition.js +0 -3
- package/build/plugins/resource/appstudio/interfaces/IAppDefinition.js.map +0 -1
- package/build/plugins/resource/appstudio/v3/plugin.d.ts +0 -21
- package/build/plugins/resource/appstudio/v3/plugin.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/v3/plugin.js +0 -198
- package/build/plugins/resource/appstudio/v3/plugin.js.map +0 -1
- package/templates/plugins/resource/hosting/bicep/botFunction/config.template.bicep +0 -12
- package/templates/plugins/resource/hosting/bicep/botFunction/provision.template.bicep +0 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addFeature.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/addFeature.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAWgC;AAChC,mCAAmC;AACnC,2DAAwE;AAEjE,KAAK,UAAU,yBAAyB,CAC7C,GAAe,EACf,MAAgC;IAEhC,MAAM,MAAM,GAAG,kBAAS,CAAC,GAAG,CAAc,qCAAyB,CAAC,IAAI,CAAC,CAAC;IAC1E,IAAI,MAAM,CAAC,0BAA0B,EAAE;QACrC,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QACvE,IAAI,SAAS,CAAC,KAAK,EAAE;YAAE,OAAO,iBAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACnD,IAAI,SAAS,CAAC,KAAK,EAAE;YACnB,OAAO,gBAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;SAC5B;KACF;IACD,OAAO,gBAAE,CAAC,SAAS,CAAC,CAAC;AACvB,CAAC;AAbD,8DAaC;AAEM,KAAK,UAAU,UAAU,CAC9B,GAAe,EACf,MAAmC;IAEnC,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AALD,gCAKC;AAEM,KAAK,UAAU,kBAAkB,CACtC,GAAe,EACf,MAAc,EACd,OAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"addFeature.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/addFeature.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAWgC;AAChC,mCAAmC;AACnC,2DAAwE;AAEjE,KAAK,UAAU,yBAAyB,CAC7C,GAAe,EACf,MAAgC;IAEhC,MAAM,MAAM,GAAG,kBAAS,CAAC,GAAG,CAAc,qCAAyB,CAAC,IAAI,CAAC,CAAC;IAC1E,IAAI,MAAM,CAAC,0BAA0B,EAAE;QACrC,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QACvE,IAAI,SAAS,CAAC,KAAK,EAAE;YAAE,OAAO,iBAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACnD,IAAI,SAAS,CAAC,KAAK,EAAE;YACnB,OAAO,gBAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;SAC5B;KACF;IACD,OAAO,gBAAE,CAAC,SAAS,CAAC,CAAC;AACvB,CAAC;AAbD,8DAaC;AAEM,KAAK,UAAU,UAAU,CAC9B,GAAe,EACf,MAAmC;IAEnC,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AALD,gCAKC;AAEM,KAAK,UAAU,kBAAkB,CACtC,GAAe,EACf,MAAc,EACd,OAAqB,EACrB,aAAgC;IAEhC,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AAPD,gDAOC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "1.10.0",
|
|
3
|
+
"version": "1.10.1-alpha.009656ebb.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"test:env-checker": "npx mocha \"tests/common/deps-checker/**/*.it.ts\"",
|
|
41
41
|
"test:core:miniapp": "nyc mocha \"tests/core/miniapp.test.ts\"",
|
|
42
42
|
"test:core:other": "nyc mocha \"tests/core/other.test.ts\"",
|
|
43
|
-
"test:
|
|
43
|
+
"test:component": "nyc mocha \"tests/component/**/*.test.ts\"",
|
|
44
44
|
"test:hosting": "nyc mocha \"tests/common/hosting/**/*.test.ts\"",
|
|
45
45
|
"clean": "rm -rf build",
|
|
46
46
|
"build": "rimraf build && npx tsc -p ./",
|
|
47
47
|
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
48
|
-
"postbuild": "node ./scripts/download-templates-zip.js $(git tag
|
|
48
|
+
"postbuild": "node ./scripts/download-templates-zip.js $(git tag -l templates*)",
|
|
49
49
|
"prepublishOnly": "npm run test:unit -- check-coverage --lines 0 && npm run build",
|
|
50
50
|
"package": "rimraf build && webpack --mode production --config ./webpack.config.js",
|
|
51
51
|
"check-sensitive": "npx eslint --plugin 'no-secrets' --cache --ignore-pattern 'package.json' --ignore-pattern 'package-lock.json'",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@azure/storage-blob": "^12.7.0",
|
|
69
69
|
"@dbpiper/timer": "1.0.0-beta.2",
|
|
70
70
|
"@feathersjs/hooks": "^0.6.5",
|
|
71
|
-
"@microsoft/teamsfx-api": "
|
|
71
|
+
"@microsoft/teamsfx-api": "0.20.1-alpha.009656ebb.0",
|
|
72
72
|
"@npmcli/arborist": "^4.2.0",
|
|
73
73
|
"@types/jwt-decode": "3.1.0",
|
|
74
74
|
"@types/proper-lockfile": "^4.1.1",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"resource/**/*",
|
|
190
190
|
"templates/**/*"
|
|
191
191
|
],
|
|
192
|
-
"gitHead": "
|
|
192
|
+
"gitHead": "83ee30c3d1b75c9c2e212d5722fb66081bc59a3e",
|
|
193
193
|
"publishConfig": {
|
|
194
194
|
"access": "public"
|
|
195
195
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"core.generateArmTemplate.failNotice": "'%s' Failed to create ARM template for required Azure services.",
|
|
46
46
|
"core.updateArmTemplate.failNotice": "'%s' Failed to update ARM template for required Azure services.",
|
|
47
47
|
"core.updateArmTemplate.successNotice": "The Azure resource template is updated based on your resource and capability selection.",
|
|
48
|
-
"core.localDebug.tenantConfirmNotice": "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
|
|
48
|
+
"core.localDebug.tenantConfirmNotice": "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 local file(s) (%s) and re-run local debug.",
|
|
49
49
|
"core.migrationToArmAndMultiEnv.Message": "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",
|
|
50
50
|
"core.migrationToArmAndMultiEnv.SuccessMessage": "Upgrade succeeded. Your project is upgraded to new configuration files.",
|
|
51
51
|
"core.migrationToArmAndMultiEnv.ErrorMessage": "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.",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"core.consolidateLocalRemoteWithAadManifest.SuccessMessage": "Congratulations! You have successfully upgraded your Teams App project structure. We have added config.local.json for local debug, manifest.template.json for both Teams app running locally and remotely and aad.template.json for AAD manifest template. And we have backed up localSettings.json, manifest.local.template.json, manifest.remote.template.json, projectSettings.json to .backup folder.",
|
|
58
58
|
"core.aadManifestMigration.outputMsg": "Congratulations! AAD manifest has been added, and please start to use this file to customize your AAD App registration. We have added aad.template.json, updated your projectSettings.json file and backed up projectSettings.json to .backup folder.",
|
|
59
59
|
"core.aadManifestMigration.SuccessMessage": "Congratulations! AAD manifest has been added, and please start to use this file to customize your AAD App registration. We have added aad.template.json, updated your projectSettings.json and backed up projectSettings.json to .backup folder. For more information about AAD manifest, please refer %s",
|
|
60
|
+
"core.aadManifestMigration.ParsePermissionsFailedWarning": "Cannot parse permissions.json file when migration, and please follow this link to update permissions in aad.template.json file if necessary: https://aka.ms/teamsfx-aad-manifest#customize-requiredresourceaccess",
|
|
60
61
|
"core.projectVersionChecker.vscodeUseNewVersion":"Your Teams Toolkit extension is too old to support current project, please update the extension to latest version and try to open this project again",
|
|
61
62
|
"core.projectVersionChecker.cliUseNewVersion": "[core] Your TeamsFx CLI is too old to support current project, please update to latest version using command below:\nnpm install -g @microsoft/teamsfx-cli@latest",
|
|
62
63
|
"core.aad.includeAadQuestionTitle": "Whether to deploy aad manifest",
|
|
@@ -162,6 +163,7 @@
|
|
|
162
163
|
"plugins.baseErrorMessage": "%s Suggestions: %s",
|
|
163
164
|
"suggestions.retryTheCurrentStep": "Please retry the current step.",
|
|
164
165
|
"plugins.appstudio.buildSucceedNotice": "Teams package is successfully built at [local address](%s).",
|
|
166
|
+
"plugins.appstudio.buildSucceedNotice.fallback": "Teams package is successfully built at %s.",
|
|
165
167
|
"plugins.appstudio.publishTip": "Teams: Publish to Teams",
|
|
166
168
|
"plugins.appstudio.whetherToDeployManifest": "Whether to deploy app manifest to Teams platform",
|
|
167
169
|
"plugins.appstudio.validationFailedNotice": "Manifest Validation failed!",
|
|
@@ -205,6 +207,10 @@
|
|
|
205
207
|
"plugins.bot.triggers.http-restify.description": "Restify Server",
|
|
206
208
|
"plugins.bot.triggers.http-restify.detail": "A running restify server hosted on Azure App Service can listen to HTTP requests.",
|
|
207
209
|
"plugins.bot.triggers.http-restify.label": "HTTP Trigger",
|
|
210
|
+
"plugins.bot.triggers.http-webapi.cliName": "http-webapi",
|
|
211
|
+
"plugins.bot.triggers.http-webapi.description": "Web API Server",
|
|
212
|
+
"plugins.bot.triggers.http-webapi.detail": "A running Web API server hosted on Azure App Service can listen to HTTP requests.",
|
|
213
|
+
"plugins.bot.triggers.http-webapi.label": "HTTP Trigger",
|
|
208
214
|
"plugins.bot.triggers.timer-functions.cliName": "timer-functions",
|
|
209
215
|
"plugins.bot.triggers.timer-functions.description": "Azure Functions",
|
|
210
216
|
"plugins.bot.triggers.timer-functions.detail": "A running function hosted on Azure Functions can respond based on a specific schedule.",
|
|
@@ -869,7 +875,7 @@
|
|
|
869
875
|
"depChecker.NodeNotSupported": "Node.js (@CurrentVersion) is not in the supported version list (@SupportedVersions).\n\nClick \"Learn more\" to learn more about the supported Node.js versions.\n\n(If you just installed Node.js (@SupportedVersions), restart Visual Studio Code for the change to take effect.)",
|
|
870
876
|
"depChecker.dotnetNotFound": "Cannot find @NameVersion. For the details why .NET SDK is needed, refer to @HelpLink",
|
|
871
877
|
"depChecker.depsNotFound": "Cannot find @SupportedPackages.\n\nTeams Toolkit requires these dependencies.\n\nClick \"Install\" to install @InstallPackages.",
|
|
872
|
-
"depChecker.linuxDepsNotFound": "Cannot find @SupportedPackages
|
|
878
|
+
"depChecker.linuxDepsNotFound": "Cannot find @SupportedPackages. Install @SupportedPackages manually and restart Visual Studio Code.",
|
|
873
879
|
"depChecker.linuxDepsNotFoundHelpLinkMessage": "Cannot find @SupportedPackages.\n\nTeams Toolkit requires these dependencies.",
|
|
874
880
|
"error.ActionNotExist": "Action not exist: %s"
|
|
875
881
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Auto generated content, please customize files under provision folder
|
|
2
|
+
|
|
3
|
+
@secure()
|
|
4
|
+
param provisionParameters object
|
|
5
|
+
param provisionOutputs object
|
|
6
|
+
@secure()
|
|
7
|
+
param currentAppSettings object
|
|
8
|
+
|
|
9
|
+
var functionAppName = split({{azure-function.outputs.resourceId}}, '/')[8]
|
|
10
|
+
{{#if (contains "aad" connections)}}
|
|
11
|
+
var m365ClientId = provisionParameters['m365ClientId']
|
|
12
|
+
{{#if (contains "key-vault" connections) }}
|
|
13
|
+
var m365ClientSecret = {{key-vault.outputs.m365ClientSecretReference}}
|
|
14
|
+
{{else}}
|
|
15
|
+
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
16
|
+
{{/if}}
|
|
17
|
+
var m365TenantId = provisionParameters['m365TenantId']
|
|
18
|
+
var m365OauthAuthorityHost = provisionParameters['m365OauthAuthorityHost']
|
|
19
|
+
{{#if (contains "bot-service" connections) }}
|
|
20
|
+
var botId = provisionParameters['botAadAppClientId']
|
|
21
|
+
{{#if (contains "teams-tab" connections)}}
|
|
22
|
+
var m365ApplicationIdUri = 'api://${ {{tabDomainVarName}} }/botid-${botId}'
|
|
23
|
+
{{else}}
|
|
24
|
+
var m365ApplicationIdUri = 'api://botid-${botId}'
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{else}}
|
|
27
|
+
var m365ApplicationIdUri = 'api://${ {{tabDomainVarName}} }'
|
|
28
|
+
{{/if}}
|
|
29
|
+
{{/if}}
|
|
30
|
+
{{#if (contains "teams-bot" connections)}}
|
|
31
|
+
var botAadAppClientId = provisionParameters['botAadAppClientId']
|
|
32
|
+
{{#if (contains "key-vault" connections) }}
|
|
33
|
+
var botAadAppClientSecret = {{key-vault.outputs.botClientSecretReference}}
|
|
34
|
+
{{else}}
|
|
35
|
+
var botAadAppClientSecret = provisionParameters['botAadAppClientSecret']
|
|
36
|
+
{{/if}}
|
|
37
|
+
{{/if}}
|
|
38
|
+
|
|
39
|
+
resource functionAppSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
40
|
+
name: '${functionAppName}/appsettings'
|
|
41
|
+
properties: union({
|
|
42
|
+
{{#if (contains "aad" connections)}}
|
|
43
|
+
INITIATE_LOGIN_ENDPOINT: uri({{azure-web-app.outputs.endpoint}}, 'auth-start.html') // The page is used to let users consent required OAuth permissions during bot SSO process
|
|
44
|
+
M365_AUTHORITY_HOST: m365OauthAuthorityHost // AAD authority host
|
|
45
|
+
M365_CLIENT_ID: m365ClientId // Client id of AAD application
|
|
46
|
+
M365_CLIENT_SECRET: m365ClientSecret // Client secret of AAD application
|
|
47
|
+
M365_TENANT_ID: m365TenantId // Tenant id of AAD application
|
|
48
|
+
M365_APPLICATION_ID_URI: m365ApplicationIdUri // Application ID URI of AAD application
|
|
49
|
+
{{/if}}
|
|
50
|
+
{{#if (contains "teams-bot" connections)}}
|
|
51
|
+
BOT_ID: botAadAppClientId // ID of your bot
|
|
52
|
+
BOT_PASSWORD: botAadAppClientSecret // Secret of your bot
|
|
53
|
+
{{/if}}
|
|
54
|
+
{{#if (contains "azure-sql" connections)}}
|
|
55
|
+
SQL_DATABASE_NAME: {{azure-sql.outputs.sqlDatabaseName}} // SQL database name
|
|
56
|
+
SQL_ENDPOINT: {{azure-sql.outputs.sqlEndpoint}} // SQL server endpoint
|
|
57
|
+
{{/if}}
|
|
58
|
+
{{#if (contains "identity" connections)}}
|
|
59
|
+
IDENTITY_ID: {{identity.outputs.identityClientId}} // User assigned identity id, the identity is used to access other Azure resources
|
|
60
|
+
{{/if}}
|
|
61
|
+
}, currentAppSettings)
|
|
62
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Get existing app settings for merge
|
|
2
|
+
var currentAppSettings = list('${provisionOutputs.azureFunctionOutput.value.resourceId}/config/appsettings', '2021-02-01').properties
|
|
3
|
+
|
|
4
|
+
// Merge TeamsFx configurations to Azure Function App
|
|
5
|
+
module teamsFxAzureFunctionConfig './teamsFx/azureFunctionConfig.bicep' = {
|
|
6
|
+
name: 'teamsFxAzureFunctionConfig'
|
|
7
|
+
params: {
|
|
8
|
+
provisionParameters: provisionParameters
|
|
9
|
+
provisionOutputs: provisionOutputs
|
|
10
|
+
currentAppSettings: currentAppSettings
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
@secure()
|
|
2
|
+
param provisionParameters object
|
|
3
|
+
|
|
4
|
+
var resourceBaseName = provisionParameters.resourceBaseName
|
|
5
|
+
var serverfarmsName = contains(provisionParameters, 'functionServerfarmsName') ? provisionParameters['botServerfarmsName'] : '${resourceBaseName}bot' // Try to read name for App Service Plan from parameters
|
|
6
|
+
var functionAppSKU = contains(provisionParameters, 'functionAppSKU') ? provisionParameters['botfunctionAppSKU'] : 'B1' // Try to read SKU for Azure Web App from parameters
|
|
7
|
+
var functionAppName = contains(provisionParameters, 'SitesName') ? provisionParameters['botSitesName'] : '${resourceBaseName}bot' // Try to read name for Azure Web App from parameters
|
|
8
|
+
var storageName = contains(provisionParameters, 'StorageName') ? provisionParameters['botStorageName'] : '${resourceBaseName}bot' // Try to read name for Azure Storage from parameters
|
|
9
|
+
var storageSku = contains(provisionParameters, 'StorageSku') ? provisionParameters['botStorageSku'] : 'Standard_LRS' // Try to read SKU for Azure Storage from parameters
|
|
10
|
+
|
|
11
|
+
// Compute resources for your Web App
|
|
12
|
+
resource serverfarm 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
13
|
+
kind: 'functionapp'
|
|
14
|
+
location: resourceGroup().location
|
|
15
|
+
name: serverfarmsName
|
|
16
|
+
sku: {
|
|
17
|
+
name: functionAppSKU
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Azure Function that host your app
|
|
22
|
+
resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
23
|
+
kind: 'functionapp'
|
|
24
|
+
location: resourceGroup().location
|
|
25
|
+
name: functionAppName
|
|
26
|
+
properties: {
|
|
27
|
+
serverFarmId: serverfarm.id
|
|
28
|
+
httpsOnly: true
|
|
29
|
+
siteConfig: {
|
|
30
|
+
alwaysOn: true
|
|
31
|
+
appSettings: [
|
|
32
|
+
{
|
|
33
|
+
name: 'AzureWebJobsDashboard'
|
|
34
|
+
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Function internal setting
|
|
35
|
+
}
|
|
36
|
+
{
|
|
37
|
+
name: 'AzureWebJobsStorage'
|
|
38
|
+
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Function internal setting
|
|
39
|
+
}
|
|
40
|
+
{
|
|
41
|
+
name: 'FUNCTIONS_EXTENSION_VERSION'
|
|
42
|
+
value: '~4' // Use Azure Function runtime v4
|
|
43
|
+
}
|
|
44
|
+
{
|
|
45
|
+
name: 'FUNCTIONS_WORKER_RUNTIME'
|
|
46
|
+
value: 'node' // Set runtime to NodeJS
|
|
47
|
+
}
|
|
48
|
+
{
|
|
49
|
+
name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING'
|
|
50
|
+
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Function internal setting
|
|
51
|
+
}
|
|
52
|
+
{
|
|
53
|
+
name: 'WEBSITE_RUN_FROM_PACKAGE'
|
|
54
|
+
value: '1' // Run Azure Function from a package file
|
|
55
|
+
}
|
|
56
|
+
{
|
|
57
|
+
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
58
|
+
value: '~16' // Set NodeJS version to 16.x
|
|
59
|
+
}
|
|
60
|
+
{
|
|
61
|
+
name: 'RUNNING_ON_AZURE'
|
|
62
|
+
value: '1'
|
|
63
|
+
}
|
|
64
|
+
{
|
|
65
|
+
name: 'SCM_ZIPDEPLOY_DONOT_PRESERVE_FILETIME'
|
|
66
|
+
value: '1' // Zipdeploy files will always be updated. Detail: https://aka.ms/teamsfx-zipdeploy-donot-preserve-filetime
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
ftpsState: 'FtpsOnly'
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Azure Storage is required when creating Azure Function instance
|
|
75
|
+
resource storage 'Microsoft.Storage/storageAccounts@2021-06-01' = {
|
|
76
|
+
name: storageName
|
|
77
|
+
kind: 'StorageV2'
|
|
78
|
+
location: resourceGroup().location
|
|
79
|
+
sku: {
|
|
80
|
+
name: storageSku // You can follow https://aka.ms/teamsfx-bicep-add-param-tutorial to add functionStorageSku property to provisionParameters to override the default value "Standard_LRS".
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
output sku string = functionAppSKU
|
|
85
|
+
output appName string = functionAppName
|
|
86
|
+
output domain string = functionApp.properties.defaultHostName
|
|
87
|
+
output appServicePlanName string = serverfarmsName
|
|
88
|
+
output resourceId string = functionApp.id
|
|
89
|
+
output endpoint string = 'https://${functionApp.properties.defaultHostName}'
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Resources Azure Function App
|
|
2
|
+
module azureFunctionProvision './provision/azureFunction.bicep' = {
|
|
3
|
+
name: 'azureFunctionProvision'
|
|
4
|
+
params: {
|
|
5
|
+
provisionParameters: provisionParameters
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
output azureFunctionOutput object = {
|
|
10
|
+
teamsFxPluginId: 'azure-function'
|
|
11
|
+
sku: azureFunctionProvision.outputs.sku
|
|
12
|
+
appName: azureFunctionProvision.outputs.appName
|
|
13
|
+
domain: azureFunctionProvision.outputs.domain
|
|
14
|
+
appServicePlanName: azureFunctionProvision.outputs.appServicePlanName
|
|
15
|
+
resourceId: azureFunctionProvision.outputs.resourceId
|
|
16
|
+
endpoint: azureFunctionProvision.outputs.endpoint
|
|
17
|
+
}
|
|
@@ -5,7 +5,7 @@ var resourceBaseName = provisionParameters.resourceBaseName
|
|
|
5
5
|
var serverfarmsName = contains(provisionParameters, 'webAppServerfarmsName') ? provisionParameters['webAppServerfarmsName'] : '${resourceBaseName}webApp' // Try to read name for App Service Plan from parameters
|
|
6
6
|
var webAppSKU = contains(provisionParameters, 'webAppSKU') ? provisionParameters['webAppSKU'] : 'F1' // Try to read SKU for Azure Web App from parameters
|
|
7
7
|
var webAppName = contains(provisionParameters, 'webAppSitesName') ? provisionParameters['webAppSitesName'] : '${resourceBaseName}webApp' // Try to read name for Azure Web App from parameters
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
// Compute resources for your Web App
|
|
10
10
|
resource serverfarm 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
11
11
|
kind: 'app'
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Get existing app settings for merge
|
|
2
|
+
var {{moduleName}}CurrentAppSettings = list('${ provisionOutputs.{{moduleName}}Output.value.resourceId }/config/appsettings', '2021-02-01').properties
|
|
3
|
+
|
|
4
|
+
// Merge TeamsFx configurations to Function resources
|
|
5
|
+
module teamsFx{{moduleNameCapitalized}}Config './teamsFx/{{moduleName}}.bicep' = {
|
|
6
|
+
name: 'addTeamsFx{{moduleNameCapitalized}}Configuration'
|
|
7
|
+
params: {
|
|
8
|
+
provisionParameters: provisionParameters
|
|
9
|
+
provisionOutputs: provisionOutputs
|
|
10
|
+
currentAppSettings: {{moduleName}}CurrentAppSettings
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -6,7 +6,7 @@ param provisionOutputs object
|
|
|
6
6
|
@secure()
|
|
7
7
|
param currentAppSettings object
|
|
8
8
|
|
|
9
|
-
var functionName = split(provisionOutputs.
|
|
9
|
+
var functionName = split(provisionOutputs.{{moduleName}}Output.value.resourceId, '/')[8]
|
|
10
10
|
|
|
11
11
|
{{#if (contains "fx-resource-aad-app-for-teams" plugins)}}
|
|
12
12
|
var m365ClientId = provisionParameters['m365ClientId']
|
|
@@ -35,7 +35,7 @@ var botAadAppClientSecret = provisionParameters['botAadAppClientSecret']
|
|
|
35
35
|
{{/if}}
|
|
36
36
|
{{/if}}
|
|
37
37
|
|
|
38
|
-
resource
|
|
38
|
+
resource {{moduleName}}Settings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
39
39
|
name: '${functionName}/appsettings'
|
|
40
40
|
properties: union({
|
|
41
41
|
{{#if (contains "fx-resource-aad-app-for-teams" plugins)}}
|
|
@@ -3,11 +3,11 @@ param provisionParameters object
|
|
|
3
3
|
param userAssignedIdentityId string
|
|
4
4
|
|
|
5
5
|
var resourceBaseName = provisionParameters.resourceBaseName
|
|
6
|
-
var serverfarmsName = contains(provisionParameters, '
|
|
7
|
-
var functionSKU = contains(provisionParameters, '
|
|
8
|
-
var functionAppName = contains(provisionParameters, '
|
|
9
|
-
var storageName = contains(provisionParameters, '
|
|
10
|
-
var storageSku = contains(provisionParameters, '
|
|
6
|
+
var serverfarmsName = contains(provisionParameters, '{{moduleAlias}}ServerfarmsName') ? provisionParameters['{{moduleAlias}}ServerfarmsName'] : '${resourceBaseName}{{moduleAlias}}' // Try to read name for App Service Plan from parameters
|
|
7
|
+
var functionSKU = contains(provisionParameters, '{{moduleName}}AppSKU') ? provisionParameters['{{moduleName}}AppSKU'] : 'B1' // Try to read SKU for Azure Functions from parameters
|
|
8
|
+
var functionAppName = contains(provisionParameters, '{{moduleAlias}}SitesName') ? provisionParameters['{{moduleAlias}}SitesName'] : '${resourceBaseName}{{moduleAlias}}' // Try to read name for Azure Functions from parameters
|
|
9
|
+
var storageName = contains(provisionParameters, '{{moduleAlias}}StorageName') ? provisionParameters['{{moduleAlias}}StorageName'] : '${resourceBaseName}{{moduleAlias}}' // Try to read name for Azure Storage from parameters
|
|
10
|
+
var storageSku = contains(provisionParameters, '{{moduleAlias}}StorageSku') ? provisionParameters['{{moduleAlias}}StorageSku'] : 'Standard_LRS' // Try to read SKU for Azure Storage from parameters
|
|
11
11
|
|
|
12
12
|
// Compute resources for your Function App
|
|
13
13
|
resource serverfarm 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
@@ -29,7 +29,7 @@ resource storage 'Microsoft.Storage/storageAccounts@2021-06-01' = {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// Function App
|
|
32
|
+
// Function App
|
|
33
33
|
resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
34
34
|
kind: 'functionapp'
|
|
35
35
|
location: resourceGroup().location
|
|
@@ -53,10 +53,22 @@ resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
|
53
53
|
name: 'FUNCTIONS_EXTENSION_VERSION'
|
|
54
54
|
value: '~4' // Use Azure Functions runtime v4
|
|
55
55
|
}
|
|
56
|
+
{{#if (contains "node" configs)}}
|
|
56
57
|
{
|
|
57
58
|
name: 'FUNCTIONS_WORKER_RUNTIME'
|
|
58
59
|
value: 'node' // Set runtime to NodeJS
|
|
59
60
|
}
|
|
61
|
+
{
|
|
62
|
+
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
63
|
+
value: '~16' // Set NodeJS version to 16.x
|
|
64
|
+
}
|
|
65
|
+
{{/if}}
|
|
66
|
+
{{#if (contains "dotnet" configs)}}
|
|
67
|
+
{
|
|
68
|
+
name: 'FUNCTIONS_WORKER_RUNTIME'
|
|
69
|
+
value: 'dotnet' // Set runtime to .NET
|
|
70
|
+
}
|
|
71
|
+
{{/if}}
|
|
60
72
|
{
|
|
61
73
|
name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING'
|
|
62
74
|
value: 'DefaultEndpointsProtocol=https;AccountName=${storage.name};AccountKey=${listKeys(storage.id, storage.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}' // Azure Functions internal setting
|
|
@@ -65,12 +77,6 @@ resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
|
65
77
|
name: 'WEBSITE_RUN_FROM_PACKAGE'
|
|
66
78
|
value: '1' // Run Azure Functions from a package file
|
|
67
79
|
}
|
|
68
|
-
{{#if (contains "node" configs)}}
|
|
69
|
-
{
|
|
70
|
-
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
71
|
-
value: '~16' // Set NodeJS version to 16.x
|
|
72
|
-
}
|
|
73
|
-
{{/if}}
|
|
74
80
|
{{#if (contains "running-on-azure" configs)}}
|
|
75
81
|
{
|
|
76
82
|
name: 'RUNNING_ON_AZURE'
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module {{moduleName}}Provision './provision/{{moduleName}}.bicep' = {
|
|
2
|
+
name: '{{moduleName}}Provision'
|
|
3
|
+
params: {
|
|
4
|
+
provisionParameters: provisionParameters
|
|
5
|
+
{{#if (contains "fx-resource-identity" plugins)}}
|
|
6
|
+
userAssignedIdentityId: \{{fx-resource-identity.References.identityResourceId}}
|
|
7
|
+
{{/if}}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
output {{moduleName}}Output object = {
|
|
12
|
+
teamsFxPluginId: '{{pluginId}}'
|
|
13
|
+
skuName: {{moduleName}}Provision.outputs.functionSKU
|
|
14
|
+
siteName: {{moduleName}}Provision.outputs.functionName
|
|
15
|
+
validDomain: {{moduleName}}Provision.outputs.domain
|
|
16
|
+
appServicePlanName: {{moduleName}}Provision.outputs.appServicePlanName
|
|
17
|
+
resourceId: {{moduleName}}Provision.outputs.functionResourceId
|
|
18
|
+
siteEndpoint: {{moduleName}}Provision.outputs.functionEndpoint
|
|
19
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Get existing app settings for merge
|
|
2
|
-
var botCurrentAppSettings = list('${provisionOutputs.webAppOutput.value.
|
|
2
|
+
var botCurrentAppSettings = list('${provisionOutputs.webAppOutput.value.resourceId}/config/appsettings', '2021-02-01').properties
|
|
3
3
|
|
|
4
4
|
// Merge TeamsFx configurations to Bot resources
|
|
5
|
-
module teamsFxBotConfig '
|
|
5
|
+
module teamsFxBotConfig './teamsFx/webapp.bicep' = {
|
|
6
6
|
name: 'addTeamsFxBotConfiguration'
|
|
7
7
|
params: {
|
|
8
8
|
provisionParameters: provisionParameters
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Resources for bot
|
|
2
|
-
module webAppProvision '
|
|
2
|
+
module webAppProvision './provision/webapp.bicep' = {
|
|
3
3
|
name: 'webAppProvision'
|
|
4
4
|
params: {
|
|
5
5
|
provisionParameters: provisionParameters
|
|
@@ -10,11 +10,11 @@ module webAppProvision '\{{PluginIdPlaceholder.Provision.webapp.path}}' = {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
output webAppOutput object = {
|
|
13
|
-
teamsFxPluginId: '
|
|
13
|
+
teamsFxPluginId: '{{pluginId}}'
|
|
14
14
|
skuName: webAppProvision.outputs.webAppSKU
|
|
15
15
|
siteName: webAppProvision.outputs.webAppName
|
|
16
16
|
validDomain: webAppProvision.outputs.webAppDomain
|
|
17
17
|
appServicePlanName: webAppProvision.outputs.appServicePlanName
|
|
18
|
-
|
|
18
|
+
resourceId: webAppProvision.outputs.webAppResourceId
|
|
19
19
|
siteEndpoint: webAppProvision.outputs.webAppEndpoint
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@ param provisionOutputs object
|
|
|
6
6
|
@secure()
|
|
7
7
|
param currentAppSettings object
|
|
8
8
|
|
|
9
|
-
var botWebAppName = split(provisionOutputs.webAppOutput.value.
|
|
9
|
+
var botWebAppName = split(provisionOutputs.webAppOutput.value.resourceId, '/')[8]
|
|
10
10
|
|
|
11
11
|
{{#if (contains "fx-resource-aad-app-for-teams" plugins)}}
|
|
12
12
|
var m365ClientId = provisionParameters['m365ClientId']
|
|
@@ -29,15 +29,20 @@ resource webApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
|
29
29
|
siteConfig: {
|
|
30
30
|
alwaysOn: true
|
|
31
31
|
appSettings: [
|
|
32
|
-
{
|
|
33
|
-
name: 'SCM_DO_BUILD_DURING_DEPLOYMENT'
|
|
34
|
-
value: 'true' // Execute build steps on your site during deployment
|
|
35
|
-
}
|
|
36
32
|
{{#if (contains "node" configs)}}
|
|
37
33
|
{
|
|
38
34
|
name: 'WEBSITE_NODE_DEFAULT_VERSION'
|
|
39
35
|
value: '~14' // Set NodeJS version to 14.x for your site
|
|
40
36
|
}
|
|
37
|
+
{
|
|
38
|
+
name: 'SCM_SCRIPT_GENERATOR_ARGS'
|
|
39
|
+
value: '--node' // Register as node server
|
|
40
|
+
}
|
|
41
|
+
{{else}}
|
|
42
|
+
{
|
|
43
|
+
name: 'SCM_DO_BUILD_DURING_DEPLOYMENT'
|
|
44
|
+
value: 'true' // Execute build steps on your site during deployment
|
|
45
|
+
}
|
|
41
46
|
{{/if}}
|
|
42
47
|
{
|
|
43
48
|
name: 'RUNNING_ON_AZURE'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"botCode.d.ts","sourceRoot":"","sources":["../../src/component/botCode.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EAEP,MAAM,EACN,EAAE,EACF,MAAM,EACN,SAAS,EAET,YAAY,EAGZ,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,kBAAkB,CAAC;AAa1B;;GAEG;AACH,qBACa,eAAgB,YAAW,kBAAkB;IACxD,QAAQ,CAAC,IAAI,UAAU;IACvB,IAAI,SAAc;IAClB,QAAQ,CACN,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC;IA6DpD,KAAK,CACH,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,MAAM,EAAE,qBAAqB,GAC5B,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC;CAoCrD;AAED,wBAAgB,gBAAgB,CAAC,mBAAmB,EAAE,MAAM,GAAG,MAAM,CAYpE"}
|