@microsoft/teamsfx-core 2.0.1-alpha.c8eab1a43.0 → 2.0.1-alpha.d4f96cccc.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/local/localStateHelper.d.ts.map +1 -1
- package/build/common/local/localStateHelper.js.map +1 -1
- package/build/common/samples.d.ts.map +1 -1
- package/build/common/samples.js +2 -2
- package/build/common/samples.js.map +1 -1
- package/build/common/telemetry.d.ts +0 -13
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +0 -13
- package/build/common/telemetry.js.map +1 -1
- package/build/common/templates-config.json +2 -1
- package/build/common/tools.d.ts +1 -15
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +53 -138
- package/build/common/tools.js.map +1 -1
- package/build/component/code/appSettingUtils.d.ts +1 -2
- package/build/component/code/appSettingUtils.d.ts.map +1 -1
- package/build/component/code/appSettingUtils.js +1 -46
- package/build/component/code/appSettingUtils.js.map +1 -1
- package/build/component/constant/deployConstant.d.ts.map +1 -1
- package/build/component/constant/deployConstant.js.map +1 -1
- package/build/component/constants.d.ts +3 -210
- package/build/component/constants.d.ts.map +1 -1
- package/build/component/constants.js +7 -404
- package/build/component/constants.js.map +1 -1
- package/build/component/coordinator/index.d.ts +1 -0
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +21 -10
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/deployUtils.d.ts +1 -8
- package/build/component/deployUtils.d.ts.map +1 -1
- package/build/component/deployUtils.js +2 -98
- package/build/component/deployUtils.js.map +1 -1
- package/build/component/driver/add/addWebPart.js +3 -3
- package/build/component/driver/add/addWebPart.js.map +1 -1
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +9 -9
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
- package/build/component/driver/interface/buildAndDeployArgs.d.ts +11 -11
- package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -1
- package/build/component/driver/script/scriptDriver.js +6 -6
- package/build/component/driver/script/scriptDriver.js.map +1 -1
- package/build/component/error.d.ts +0 -3
- package/build/component/error.d.ts.map +1 -1
- package/build/component/error.js +1 -11
- package/build/component/error.js.map +1 -1
- package/build/component/feature/cicd/cicd.d.ts +1 -2
- package/build/component/feature/cicd/cicd.d.ts.map +1 -1
- package/build/component/feature/cicd/cicd.js +2 -87
- package/build/component/feature/cicd/cicd.js.map +1 -1
- package/build/component/feature/sso.d.ts +0 -1
- package/build/component/feature/sso.d.ts.map +1 -1
- package/build/component/feature/sso.js +0 -1
- package/build/component/feature/sso.js.map +1 -1
- package/build/component/generator/generatorAction.d.ts.map +1 -1
- package/build/component/generator/generatorAction.js +1 -1
- package/build/component/generator/generatorAction.js.map +1 -1
- package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts +8 -0
- package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
- package/build/component/generator/spfx/depsChecker/dependencyChecker.js.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.d.ts +1 -4
- package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.js +0 -39
- package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.d.ts +1 -4
- package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.js +0 -33
- package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -0
- package/build/component/generator/spfx/error.d.ts +8 -0
- package/build/component/generator/spfx/error.d.ts.map +1 -0
- package/build/component/generator/spfx/error.js +55 -0
- package/build/component/generator/spfx/error.js.map +1 -0
- package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -0
- package/build/component/generator/{spfxGenerator.js → spfx/spfxGenerator.js} +16 -16
- package/build/component/generator/spfx/spfxGenerator.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/constants.d.ts +0 -33
- package/build/component/generator/spfx/utils/constants.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/constants.js +1 -39
- package/build/component/generator/spfx/utils/constants.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/progress-helper.d.ts +0 -5
- package/build/component/generator/spfx/utils/progress-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/progress-helper.js +21 -0
- package/build/component/generator/spfx/utils/progress-helper.js.map +1 -0
- package/build/component/generator/spfx/utils/question-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/question-helper.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/questions.d.ts +0 -1
- package/build/component/generator/spfx/utils/questions.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/questions.js +1 -23
- package/build/component/generator/spfx/utils/questions.js.map +1 -0
- package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/telemetry-helper.js.map +1 -0
- package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/telemetryEvents.js.map +1 -0
- package/build/component/generator/spfx/utils/utils.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/utils.js.map +1 -0
- package/build/component/generator/utils.js +2 -2
- package/build/component/generator/utils.js.map +1 -1
- package/build/component/middleware/envMW.js.map +1 -1
- package/build/component/provisionUtils.d.ts +2 -23
- package/build/component/provisionUtils.d.ts.map +1 -1
- package/build/component/provisionUtils.js +5 -523
- package/build/component/provisionUtils.js.map +1 -1
- package/build/component/question.js +1 -1
- package/build/component/question.js.map +1 -1
- package/build/component/registerService.d.ts +0 -3
- package/build/component/registerService.d.ts.map +1 -1
- package/build/component/registerService.js +0 -3
- package/build/component/registerService.js.map +1 -1
- package/build/component/resource/aadApp/utils/aadManifestHelper.js +2 -1
- package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts +0 -6
- package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
- package/build/component/resource/appManifest/appManifest.js +24 -247
- package/build/component/resource/appManifest/appManifest.js.map +1 -1
- package/build/component/resource/appManifest/appStudio.d.ts +1 -21
- package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
- package/build/component/resource/appManifest/appStudio.js +15 -257
- package/build/component/resource/appManifest/appStudio.js.map +1 -1
- package/build/component/resource/botService/errors.d.ts +0 -2
- package/build/component/resource/botService/errors.d.ts.map +1 -1
- package/build/component/resource/botService/errors.js +1 -43
- package/build/component/resource/botService/errors.js.map +1 -1
- package/build/component/utils/ResourceGroupHelper.d.ts +1 -5
- package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
- package/build/component/utils/ResourceGroupHelper.js +0 -6
- package/build/component/utils/ResourceGroupHelper.js.map +1 -1
- package/build/component/utils/pathUtils.d.ts.map +1 -1
- package/build/component/utils/pathUtils.js +2 -2
- package/build/component/utils/pathUtils.js.map +1 -1
- package/build/component/utils.d.ts +1 -18
- package/build/component/utils.d.ts.map +1 -1
- package/build/component/utils.js +23 -277
- package/build/component/utils.js.map +1 -1
- package/build/component/workflow.d.ts +0 -1
- package/build/component/workflow.d.ts.map +1 -1
- package/build/component/workflow.js +1 -6
- package/build/component/workflow.js.map +1 -1
- package/build/core/FxCore.d.ts +0 -8
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +0 -12
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCoreImplementV3.d.ts.map +1 -1
- package/build/core/FxCoreImplementV3.js +7 -20
- package/build/core/FxCoreImplementV3.js.map +1 -1
- package/build/core/collaborator.d.ts +2 -0
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +2 -0
- package/build/core/collaborator.js.map +1 -1
- package/build/core/environment.d.ts +2 -4
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +44 -108
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +1 -34
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +1 -112
- package/build/core/error.js.map +1 -1
- package/build/core/globalVars.d.ts +0 -1
- package/build/core/globalVars.d.ts.map +1 -1
- package/build/core/globalVars.js +1 -15
- package/build/core/globalVars.js.map +1 -1
- package/build/core/middleware/projectMigratorV3.d.ts +2 -1
- package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
- package/build/core/middleware/projectMigratorV3.js +40 -46
- package/build/core/middleware/projectMigratorV3.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +9 -20
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectVersionChecker.d.ts.map +1 -1
- package/build/core/middleware/projectVersionChecker.js +6 -18
- package/build/core/middleware/projectVersionChecker.js.map +1 -1
- package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
- package/build/core/middleware/utils/migrationContext.js +0 -4
- package/build/core/middleware/utils/migrationContext.js.map +1 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +4 -4
- package/build/core/question.js.map +1 -1
- package/build/core/types.d.ts +0 -10
- package/build/core/types.d.ts.map +1 -1
- package/build/index.d.ts +0 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +0 -1
- package/build/index.js.map +1 -1
- package/package.json +7 -11
- package/resource/package.nls.json +3 -177
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/build/common/azure-hosting/azureAppServiceHosting.d.ts +0 -16
- package/build/common/azure-hosting/azureAppServiceHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureAppServiceHosting.js +0 -33
- package/build/common/azure-hosting/azureAppServiceHosting.js.map +0 -1
- package/build/common/azure-hosting/azureFunctionHosting.d.ts +0 -14
- package/build/common/azure-hosting/azureFunctionHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureFunctionHosting.js +0 -34
- package/build/common/azure-hosting/azureFunctionHosting.js.map +0 -1
- package/build/common/azure-hosting/azureHosting.d.ts +0 -23
- package/build/common/azure-hosting/azureHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureHosting.js +0 -95
- package/build/common/azure-hosting/azureHosting.js.map +0 -1
- package/build/common/azure-hosting/azureOps.d.ts +0 -17
- package/build/common/azure-hosting/azureOps.d.ts.map +0 -1
- package/build/common/azure-hosting/azureOps.js +0 -94
- package/build/common/azure-hosting/azureOps.js.map +0 -1
- package/build/common/azure-hosting/hostingConstant.d.ts +0 -46
- package/build/common/azure-hosting/hostingConstant.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingConstant.js +0 -86
- package/build/common/azure-hosting/hostingConstant.js.map +0 -1
- package/build/common/azure-hosting/hostingError.d.ts +0 -47
- package/build/common/azure-hosting/hostingError.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingError.js +0 -83
- package/build/common/azure-hosting/hostingError.js.map +0 -1
- package/build/common/azure-hosting/hostingFactory.d.ts +0 -6
- package/build/common/azure-hosting/hostingFactory.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingFactory.js +0 -22
- package/build/common/azure-hosting/hostingFactory.js.map +0 -1
- package/build/common/azure-hosting/interfaces.d.ts +0 -58
- package/build/common/azure-hosting/interfaces.d.ts.map +0 -1
- package/build/common/azure-hosting/interfaces.js +0 -12
- package/build/common/azure-hosting/interfaces.js.map +0 -1
- package/build/common/azure-hosting/messages.d.ts +0 -10
- package/build/common/azure-hosting/messages.d.ts.map +0 -1
- package/build/common/azure-hosting/messages.js +0 -16
- package/build/common/azure-hosting/messages.js.map +0 -1
- package/build/common/azure-hosting/utils.d.ts +0 -10
- package/build/common/azure-hosting/utils.d.ts.map +0 -1
- package/build/common/azure-hosting/utils.js +0 -107
- package/build/common/azure-hosting/utils.js.map +0 -1
- package/build/common/samples-config.json +0 -201
- package/build/component/code/spfxTabCode.d.ts +0 -11
- package/build/component/code/spfxTabCode.d.ts.map +0 -1
- package/build/component/code/spfxTabCode.js +0 -237
- package/build/component/code/spfxTabCode.js.map +0 -1
- package/build/component/envManager.d.ts +0 -4
- package/build/component/envManager.d.ts.map +0 -1
- package/build/component/envManager.js +0 -25
- package/build/component/envManager.js.map +0 -1
- package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts +0 -23
- package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts.map +0 -1
- package/build/component/feature/apiconnector/ApiConnectorImpl.js +0 -288
- package/build/component/feature/apiconnector/ApiConnectorImpl.js.map +0 -1
- package/build/component/feature/apiconnector/checker.d.ts +0 -7
- package/build/component/feature/apiconnector/checker.d.ts.map +0 -1
- package/build/component/feature/apiconnector/checker.js +0 -74
- package/build/component/feature/apiconnector/checker.js.map +0 -1
- package/build/component/feature/apiconnector/config.d.ts +0 -23
- package/build/component/feature/apiconnector/config.d.ts.map +0 -1
- package/build/component/feature/apiconnector/config.js +0 -5
- package/build/component/feature/apiconnector/config.js.map +0 -1
- package/build/component/feature/apiconnector/constants.d.ts +0 -50
- package/build/component/feature/apiconnector/constants.d.ts.map +0 -1
- package/build/component/feature/apiconnector/constants.js +0 -61
- package/build/component/feature/apiconnector/constants.js.map +0 -1
- package/build/component/feature/apiconnector/depsHandler.d.ts +0 -14
- package/build/component/feature/apiconnector/depsHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/depsHandler.js +0 -109
- package/build/component/feature/apiconnector/depsHandler.js.map +0 -1
- package/build/component/feature/apiconnector/envHandler.d.ts +0 -21
- package/build/component/feature/apiconnector/envHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/envHandler.js +0 -128
- package/build/component/feature/apiconnector/envHandler.js.map +0 -1
- package/build/component/feature/apiconnector/errors.d.ts +0 -53
- package/build/component/feature/apiconnector/errors.d.ts.map +0 -1
- package/build/component/feature/apiconnector/errors.js +0 -64
- package/build/component/feature/apiconnector/errors.js.map +0 -1
- package/build/component/feature/apiconnector/questions.d.ts +0 -41
- package/build/component/feature/apiconnector/questions.d.ts.map +0 -1
- package/build/component/feature/apiconnector/questions.js +0 -262
- package/build/component/feature/apiconnector/questions.js.map +0 -1
- package/build/component/feature/apiconnector/result.d.ts +0 -23
- package/build/component/feature/apiconnector/result.d.ts.map +0 -1
- package/build/component/feature/apiconnector/result.js +0 -40
- package/build/component/feature/apiconnector/result.js.map +0 -1
- package/build/component/feature/apiconnector/sampleHandler.d.ts +0 -10
- package/build/component/feature/apiconnector/sampleHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/sampleHandler.js +0 -62
- package/build/component/feature/apiconnector/sampleHandler.js.map +0 -1
- package/build/component/feature/apiconnector/telemetry.d.ts +0 -42
- package/build/component/feature/apiconnector/telemetry.d.ts.map +0 -1
- package/build/component/feature/apiconnector/telemetry.js +0 -70
- package/build/component/feature/apiconnector/telemetry.js.map +0 -1
- package/build/component/feature/apiconnector/utils.d.ts +0 -18
- package/build/component/feature/apiconnector/utils.d.ts.map +0 -1
- package/build/component/feature/apiconnector/utils.js +0 -90
- package/build/component/feature/apiconnector/utils.js.map +0 -1
- package/build/component/generator/spfxGenerator.d.ts.map +0 -1
- package/build/component/generator/spfxGenerator.js.map +0 -1
- package/build/component/resource/azureAppService/azureAppService.d.ts +0 -12
- package/build/component/resource/azureAppService/azureAppService.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureAppService.js +0 -48
- package/build/component/resource/azureAppService/azureAppService.js.map +0 -1
- package/build/component/resource/azureAppService/azureFunction.d.ts +0 -36
- package/build/component/resource/azureAppService/azureFunction.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureFunction.js +0 -155
- package/build/component/resource/azureAppService/azureFunction.js.map +0 -1
- package/build/component/resource/azureAppService/azureLibs.d.ts +0 -6
- package/build/component/resource/azureAppService/azureLibs.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureLibs.js +0 -13
- package/build/component/resource/azureAppService/azureLibs.js.map +0 -1
- package/build/component/resource/azureAppService/azureWebApp.d.ts +0 -30
- package/build/component/resource/azureAppService/azureWebApp.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureWebApp.js +0 -43
- package/build/component/resource/azureAppService/azureWebApp.js.map +0 -1
- package/build/component/resource/azureAppService/common.d.ts +0 -10
- package/build/component/resource/azureAppService/common.d.ts.map +0 -1
- package/build/component/resource/azureAppService/common.js +0 -80
- package/build/component/resource/azureAppService/common.js.map +0 -1
- package/build/component/resource/azureAppService/dir-walk.d.ts +0 -4
- package/build/component/resource/azureAppService/dir-walk.d.ts.map +0 -1
- package/build/component/resource/azureAppService/dir-walk.js +0 -21
- package/build/component/resource/azureAppService/dir-walk.js.map +0 -1
- package/build/component/resource/azureSql/actions/configure.d.ts +0 -15
- package/build/component/resource/azureSql/actions/configure.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/configure.js +0 -92
- package/build/component/resource/azureSql/actions/configure.js.map +0 -1
- package/build/component/resource/azureSql/actions/provision.d.ts +0 -10
- package/build/component/resource/azureSql/actions/provision.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/provision.js +0 -63
- package/build/component/resource/azureSql/actions/provision.js.map +0 -1
- package/build/component/resource/azureSql/actions/utils.d.ts +0 -12
- package/build/component/resource/azureSql/actions/utils.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/utils.js +0 -82
- package/build/component/resource/azureSql/actions/utils.js.map +0 -1
- package/build/component/resource/azureSql/azureSql.d.ts +0 -24
- package/build/component/resource/azureSql/azureSql.d.ts.map +0 -1
- package/build/component/resource/azureSql/azureSql.js +0 -75
- package/build/component/resource/azureSql/azureSql.js.map +0 -1
- package/build/component/resource/azureSql/clients/management.d.ts +0 -18
- package/build/component/resource/azureSql/clients/management.d.ts.map +0 -1
- package/build/component/resource/azureSql/clients/management.js +0 -124
- package/build/component/resource/azureSql/clients/management.js.map +0 -1
- package/build/component/resource/azureSql/clients/sql.d.ts +0 -13
- package/build/component/resource/azureSql/clients/sql.d.ts.map +0 -1
- package/build/component/resource/azureSql/clients/sql.js +0 -153
- package/build/component/resource/azureSql/clients/sql.js.map +0 -1
- package/build/component/resource/azureSql/config.d.ts +0 -7
- package/build/component/resource/azureSql/config.d.ts.map +0 -1
- package/build/component/resource/azureSql/config.js +0 -77
- package/build/component/resource/azureSql/config.js.map +0 -1
- package/build/component/resource/azureSql/constants.d.ts +0 -85
- package/build/component/resource/azureSql/constants.d.ts.map +0 -1
- package/build/component/resource/azureSql/constants.js +0 -95
- package/build/component/resource/azureSql/constants.js.map +0 -1
- package/build/component/resource/azureSql/errors.d.ts +0 -63
- package/build/component/resource/azureSql/errors.d.ts.map +0 -1
- package/build/component/resource/azureSql/errors.js +0 -107
- package/build/component/resource/azureSql/errors.js.map +0 -1
- package/build/component/resource/azureSql/index.d.ts +0 -2
- package/build/component/resource/azureSql/index.d.ts.map +0 -1
- package/build/component/resource/azureSql/index.js +0 -7
- package/build/component/resource/azureSql/index.js.map +0 -1
- package/build/component/resource/azureSql/questions.d.ts +0 -6
- package/build/component/resource/azureSql/questions.d.ts.map +0 -1
- package/build/component/resource/azureSql/questions.js +0 -59
- package/build/component/resource/azureSql/questions.js.map +0 -1
- package/build/component/resource/azureSql/results.d.ts +0 -10
- package/build/component/resource/azureSql/results.d.ts.map +0 -1
- package/build/component/resource/azureSql/results.js +0 -34
- package/build/component/resource/azureSql/results.js.map +0 -1
- package/build/component/resource/azureSql/types.d.ts +0 -12
- package/build/component/resource/azureSql/types.d.ts.map +0 -1
- package/build/component/resource/azureSql/types.js +0 -5
- package/build/component/resource/azureSql/types.js.map +0 -1
- package/build/component/resource/azureSql/utils/checkInput.d.ts +0 -10
- package/build/component/resource/azureSql/utils/checkInput.d.ts.map +0 -1
- package/build/component/resource/azureSql/utils/checkInput.js +0 -89
- package/build/component/resource/azureSql/utils/checkInput.js.map +0 -1
- package/build/component/resource/azureSql/utils/common.d.ts +0 -12
- package/build/component/resource/azureSql/utils/common.d.ts.map +0 -1
- package/build/component/resource/azureSql/utils/common.js +0 -51
- package/build/component/resource/azureSql/utils/common.js.map +0 -1
- package/build/component/resource/azureStorage/azureStorage.d.ts +0 -31
- package/build/component/resource/azureStorage/azureStorage.d.ts.map +0 -1
- package/build/component/resource/azureStorage/azureStorage.js +0 -111
- package/build/component/resource/azureStorage/azureStorage.js.map +0 -1
- package/build/component/resource/azureStorage/clients.d.ts +0 -23
- package/build/component/resource/azureStorage/clients.d.ts.map +0 -1
- package/build/component/resource/azureStorage/clients.js +0 -133
- package/build/component/resource/azureStorage/clients.js.map +0 -1
- package/build/component/resource/azureStorage/configs.d.ts +0 -12
- package/build/component/resource/azureStorage/configs.d.ts.map +0 -1
- package/build/component/resource/azureStorage/configs.js +0 -30
- package/build/component/resource/azureStorage/configs.js.map +0 -1
- package/build/component/resource/azureStorage/constants.d.ts +0 -11
- package/build/component/resource/azureStorage/constants.d.ts.map +0 -1
- package/build/component/resource/azureStorage/constants.js +0 -17
- package/build/component/resource/azureStorage/constants.js.map +0 -1
- package/build/component/resource/azureStorage/messages.d.ts +0 -14
- package/build/component/resource/azureStorage/messages.d.ts.map +0 -1
- package/build/component/resource/azureStorage/messages.js +0 -28
- package/build/component/resource/azureStorage/messages.js.map +0 -1
- package/build/component/resource/botService/botService.d.ts +0 -24
- package/build/component/resource/botService/botService.d.ts.map +0 -1
- package/build/component/resource/botService/botService.js +0 -146
- package/build/component/resource/botService/botService.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -11
- package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/yoChecker.js.map +0 -1
- package/build/component/resource/spfx/error.d.ts +0 -21
- package/build/component/resource/spfx/error.d.ts.map +0 -1
- package/build/component/resource/spfx/error.js +0 -138
- package/build/component/resource/spfx/error.js.map +0 -1
- package/build/component/resource/spfx/index.d.ts +0 -15
- package/build/component/resource/spfx/index.d.ts.map +0 -1
- package/build/component/resource/spfx/index.js +0 -248
- package/build/component/resource/spfx/index.js.map +0 -1
- package/build/component/resource/spfx/spoClient.d.ts +0 -25
- package/build/component/resource/spfx/spoClient.d.ts.map +0 -1
- package/build/component/resource/spfx/spoClient.js +0 -79
- package/build/component/resource/spfx/spoClient.js.map +0 -1
- package/build/component/resource/spfx/utils/constants.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/constants.js.map +0 -1
- package/build/component/resource/spfx/utils/progress-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/progress-helper.js +0 -46
- package/build/component/resource/spfx/utils/progress-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/question-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/question-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/questions.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/questions.js.map +0 -1
- package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/telemetry-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/telemetryEvents.js.map +0 -1
- package/build/component/resource/spfx/utils/utils.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/utils.js.map +0 -1
- package/build/component/utils/backupFiles.d.ts +0 -4
- package/build/component/utils/backupFiles.d.ts.map +0 -1
- package/build/component/utils/backupFiles.js +0 -162
- package/build/component/utils/backupFiles.js.map +0 -1
- package/build/component/utils/executor.d.ts +0 -12
- package/build/component/utils/executor.d.ts.map +0 -1
- package/build/component/utils/executor.js +0 -87
- package/build/component/utils/executor.js.map +0 -1
- package/build/core/downloadSample.d.ts +0 -9
- package/build/core/downloadSample.d.ts.map +0 -1
- package/build/core/downloadSample.js +0 -161
- package/build/core/downloadSample.js.map +0 -1
- package/resource/backup-config-change-logs.md +0 -24
- package/templates/bicep/azureSql.parameters.json +0 -4
- package/templates/bicep/azureSql.provisionDatabase.module.bicep +0 -15
- package/templates/bicep/azureSql.provisionDatabase.orchestration.bicep +0 -5
- package/templates/bicep/azureSql.provisionServer.module.bicep +0 -44
- package/templates/bicep/azureSql.provisionServer.orchestration.bicep +0 -14
- package/templates/bicep/identity.provision.module.bicep +0 -15
- package/templates/bicep/identity.provision.orchestration.bicep +0 -14
- package/templates/bicep/keyVault.provision.module.bicep +0 -57
- package/templates/bicep/keyVault.provision.orchestration.bicep +0 -15
- package/templates/plugins/resource/apiconnector/package.json +0 -5
- package/templates/plugins/resource/apiconnector/sample/footerComment.template +0 -20
- package/templates/plugins/resource/apiconnector/sample/headerComment.template +0 -52
- package/templates/plugins/resource/apiconnector/sample/js/aad.template +0 -31
- package/templates/plugins/resource/apiconnector/sample/js/apikey.template +0 -19
- package/templates/plugins/resource/apiconnector/sample/js/basic.template +0 -14
- package/templates/plugins/resource/apiconnector/sample/js/cert.template +0 -17
- package/templates/plugins/resource/apiconnector/sample/js/custom.template +0 -39
- package/templates/plugins/resource/apiconnector/sample/ts/aad.template +0 -36
- package/templates/plugins/resource/apiconnector/sample/ts/apikey.template +0 -16
- package/templates/plugins/resource/apiconnector/sample/ts/basic.template +0 -14
- package/templates/plugins/resource/apiconnector/sample/ts/cert.template +0 -19
- package/templates/plugins/resource/apiconnector/sample/ts/custom.template +0 -42
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +0 -15
- package/templates/plugins/resource/identity/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/identity/parameters.json +0 -12
- package/templates/plugins/resource/identity/template.json +0 -28
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +0 -57
- package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +0 -15
- package/templates/plugins/resource/simpleauth/SimpleAuth.zip +0 -0
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +0 -12
- package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +0 -62
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +0 -51
- package/templates/plugins/resource/simpleauth/version.txt +0 -2
- package/templates/plugins/resource/spfx/solution/README.md +0 -82
- package/templates/plugins/resource/spfx/solution/manifest.local.template.json +0 -62
- package/templates/plugins/resource/spfx/solution/manifest_multi_env.json +0 -63
- package/templates/plugins/resource/spfx/solution/rootREADME.md +0 -13
- package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +0 -5
- package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +0 -15
- package/templates/plugins/resource/sql/bicep/parameters.json +0 -4
- package/templates/plugins/resource/sql/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +0 -44
- /package/build/component/{resource → generator}/spfx/depsChecker/dependencyChecker.js +0 -0
- /package/build/component/generator/{spfxGenerator.d.ts → spfx/spfxGenerator.d.ts} +0 -0
- /package/build/component/{resource → generator}/spfx/utils/question-helper.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/question-helper.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/utils.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/utils.js +0 -0
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.validateAppPackageOption = exports.validateSchemaOption = exports.AadConstants = exports.TabFeatureIds = exports.BotFeatureIds = exports.AzureResourcesQuestion = exports.BotNotificationTriggers = exports.BotScenario = exports.CicdOptionItem = exports.ApiConnectionOptionItem = exports.SingleSignOnOptionItem = exports.AzureResourceKeyVaultNewUI = exports.AzureResourceKeyVault = exports.AzureResourceApimNewUI = exports.AzureResourceApim = exports.AzureResourceFunctionNewUI = exports.AzureResourceFunction = exports.AzureResourceSQLNewUI = exports.AzureResourceSQL = exports.HostTypeOptionSPFx = exports.HostTypeOptionAzure = exports.SPFxQuestionNames = exports.AzureSolutionQuestionNames = exports.NewProjectTypeOutlookAddinOptionItem = exports.NewProjectTypeMessageExtensionOptionItem = exports.NewProjectTypeBotOptionItem = void 0;
|
|
3
|
+
exports.TabSPFxItem = exports.MessageExtensionNewUIItem = exports.MessageExtensionItem = exports.WorkflowOptionItem = exports.CommandAndResponseOptionItem = exports.NotificationOptionItem = exports.BotOptionItem = exports.DashboardOptionItem = exports.TabOptionItem = exports.AddSsoParameters = exports.Language = exports.CoordinatorSource = exports.SolutionSource = exports.SolutionTelemetryComponentName = exports.SolutionTelemetrySuccess = exports.SolutionTelemetryProperty = exports.SolutionTelemetryEvent = exports.ViewAadAppHelpLinkV5 = exports.SharePointManageSiteAdminHelpLink = exports.AzureRoleAssignmentsHelpLink = exports.REMOTE_TEAMS_APP_TENANT_ID = exports.REMOTE_AAD_ID = exports.SolutionError = exports.BuiltInFeaturePluginNames = exports.PluginNames = exports.DEFAULT_PERMISSION_REQUEST = exports.TEAMS_FX_RESOURCE_ID_KEY = exports.ARM_TEMPLATE_OUTPUT = exports.SOLUTION_PROVISION_SUCCEEDED = exports.GLOBAL_CONFIG = exports.Void = exports.PathConstants = exports.FunctionAppSetting = exports.AadAppOutputs = exports.BotServiceOutputs = exports.StorageOutputs = exports.FunctionOutputs = exports.WebAppOutputs = exports.APIMOutputs = exports.IdentityOutputs = exports.ErrorConstants = exports.TelemetryConstants = exports.languageToRuntime = exports.Runtime = exports.ProgrammingLanguage = exports.scenarioToComponent = exports.componentToScenario = exports.Scenarios = exports.AzureResources = exports.ComponentNames = void 0;
|
|
4
|
+
exports.validateAppPackageOption = exports.validateSchemaOption = exports.AadConstants = exports.BotNotificationTriggers = exports.BotScenario = exports.SingleSignOnOptionItem = exports.SPFxQuestionNames = exports.AzureSolutionQuestionNames = exports.NewProjectTypeOutlookAddinOptionItem = exports.NewProjectTypeMessageExtensionOptionItem = exports.NewProjectTypeBotOptionItem = exports.NewProjectTypeTabOptionItem = exports.M365SearchAppOptionItem = exports.M365SsoLaunchPageOptionItem = exports.DefaultBotAndMessageExtensionItem = exports.TabNonSsoAndDefaultBotItem = exports.TabNonSsoItem = exports.BotSsoItem = exports.TabSsoItem = void 0;
|
|
6
5
|
const tslib_1 = require("tslib");
|
|
7
|
-
// Copyright (c) Microsoft Corporation.
|
|
8
|
-
// Licensed under the MIT license.
|
|
9
|
-
/**
|
|
10
|
-
* @author Huajie Zhang <huajiezhang@microsoft.com>
|
|
11
|
-
*/
|
|
12
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
13
|
-
const ms_rest_js_1 = require("@azure/ms-rest-js");
|
|
14
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
15
7
|
const localizeUtils_1 = require("../common/localizeUtils");
|
|
16
8
|
exports.ComponentNames = {
|
|
@@ -31,7 +23,6 @@ exports.ComponentNames = {
|
|
|
31
23
|
AzureSQL: "azure-sql",
|
|
32
24
|
TabCode: "tab-code",
|
|
33
25
|
BotCode: "bot-code",
|
|
34
|
-
SPFxTabCode: "spfx-tab-code",
|
|
35
26
|
ApiCode: "api-code",
|
|
36
27
|
Function: "azure-function",
|
|
37
28
|
SimpleAuth: "simple-auth",
|
|
@@ -80,18 +71,6 @@ exports.languageToRuntime = new Map([
|
|
|
80
71
|
[ProgrammingLanguage.TS, Runtime.nodejs],
|
|
81
72
|
[ProgrammingLanguage.CSharp, Runtime.dotnet],
|
|
82
73
|
]);
|
|
83
|
-
exports.ActionNames = {
|
|
84
|
-
provision: "provision",
|
|
85
|
-
configure: "configure",
|
|
86
|
-
generateBicep: "generateBicep",
|
|
87
|
-
};
|
|
88
|
-
exports.ActionTypeFunction = "function";
|
|
89
|
-
exports.ActionTypeCall = "call";
|
|
90
|
-
exports.ActionTypeGroup = "group";
|
|
91
|
-
exports.ActionTypeShell = "shell";
|
|
92
|
-
exports.BicepConstants = {
|
|
93
|
-
writeFile: "1",
|
|
94
|
-
};
|
|
95
74
|
exports.TelemetryConstants = {
|
|
96
75
|
eventPrefix: "-start",
|
|
97
76
|
properties: {
|
|
@@ -115,20 +94,6 @@ exports.ErrorConstants = {
|
|
|
115
94
|
unhandledError: "UnhandledError",
|
|
116
95
|
unhandledErrorMessage: "Unhandled Error",
|
|
117
96
|
};
|
|
118
|
-
exports.AzureSqlOutputs = {
|
|
119
|
-
sqlResourceId: {
|
|
120
|
-
key: "sqlResourceId",
|
|
121
|
-
bicepVariable: "provisionOutputs.azureSqlOutput.value.sqlResourceId",
|
|
122
|
-
},
|
|
123
|
-
sqlEndpoint: {
|
|
124
|
-
key: "sqlEndpoint",
|
|
125
|
-
bicepVariable: "provisionOutputs.azureSqlOutput.value.sqlEndpoint",
|
|
126
|
-
},
|
|
127
|
-
databaseName: {
|
|
128
|
-
key: "databaseName",
|
|
129
|
-
bicepVariable: "provisionOutputs.azureSqlOutput.value.databaseName",
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
97
|
exports.IdentityOutputs = {
|
|
133
98
|
identityResourceId: {
|
|
134
99
|
key: "identityResourceId",
|
|
@@ -147,20 +112,6 @@ exports.IdentityOutputs = {
|
|
|
147
112
|
bicepVariable: "userAssignedIdentityProvision.outputs.identityPrincipalId",
|
|
148
113
|
},
|
|
149
114
|
};
|
|
150
|
-
exports.KeyVaultOutputs = {
|
|
151
|
-
keyVaultResourceId: {
|
|
152
|
-
key: "keyVaultResourceId",
|
|
153
|
-
bicepVariable: "provisionOutputs.keyVaultOutput.value.keyVaultResourceId",
|
|
154
|
-
},
|
|
155
|
-
m365ClientSecretReference: {
|
|
156
|
-
key: "m365ClientSecretReference",
|
|
157
|
-
bicepVariable: "provisionOutputs.keyVaultOutput.value.m365ClientSecretReference",
|
|
158
|
-
},
|
|
159
|
-
botClientSecretReference: {
|
|
160
|
-
key: "botClientSecretReference",
|
|
161
|
-
bicepVariable: "provisionOutputs.keyVaultOutput.value.botClientSecretReference",
|
|
162
|
-
},
|
|
163
|
-
};
|
|
164
115
|
exports.APIMOutputs = {
|
|
165
116
|
serviceResourceId: {
|
|
166
117
|
key: "serviceResourceId",
|
|
@@ -300,9 +251,6 @@ exports.PathConstants = {
|
|
|
300
251
|
reactTabIndexPath: "/index.html#",
|
|
301
252
|
blazorTabIndexPath: "/",
|
|
302
253
|
};
|
|
303
|
-
exports.RegularExpr = {
|
|
304
|
-
validFunctionNamePattern: /^[a-zA-Z][\w-]{0,126}$/,
|
|
305
|
-
};
|
|
306
254
|
/**
|
|
307
255
|
* Void is used to construct Result<Void, FxError>.
|
|
308
256
|
* e.g. return ok(Void);
|
|
@@ -319,35 +267,11 @@ exports.GLOBAL_CONFIG = "solution";
|
|
|
319
267
|
* Set to true when provison succeeds, to false when a new resource is added.
|
|
320
268
|
*/
|
|
321
269
|
exports.SOLUTION_PROVISION_SUCCEEDED = "provisionSucceeded";
|
|
322
|
-
|
|
323
|
-
* Config key whose value is either javascript, typescript or csharp.
|
|
324
|
-
*/
|
|
325
|
-
exports.PROGRAMMING_LANGUAGE = "programmingLanguage";
|
|
326
|
-
/**
|
|
327
|
-
* Config key whose value is the default function name for adding a new function.
|
|
328
|
-
*/
|
|
329
|
-
exports.DEFAULT_FUNC_NAME = "defaultFunctionName";
|
|
270
|
+
exports.ARM_TEMPLATE_OUTPUT = "armTemplateOutput";
|
|
330
271
|
/**
|
|
331
272
|
* Config key whose value is output of ARM templates deployment.
|
|
332
273
|
*/
|
|
333
|
-
exports.ARM_TEMPLATE_OUTPUT = "armTemplateOutput";
|
|
334
274
|
exports.TEAMS_FX_RESOURCE_ID_KEY = "teamsFxPluginId";
|
|
335
|
-
/**
|
|
336
|
-
* Config key whose value is the resource group name of project.
|
|
337
|
-
*/
|
|
338
|
-
exports.RESOURCE_GROUP_NAME = "resourceGroupName";
|
|
339
|
-
/**
|
|
340
|
-
* Config key whose value is the resource group location of project.
|
|
341
|
-
*/
|
|
342
|
-
exports.LOCATION = "location";
|
|
343
|
-
/**
|
|
344
|
-
* Config key whose value is the subscription ID of project.
|
|
345
|
-
*/
|
|
346
|
-
exports.SUBSCRIPTION_ID = "subscriptionId";
|
|
347
|
-
/**
|
|
348
|
-
* Config key whose value is the subscription name of project.
|
|
349
|
-
*/
|
|
350
|
-
exports.SUBSCRIPTION_NAME = "subscriptionName";
|
|
351
275
|
exports.DEFAULT_PERMISSION_REQUEST = [
|
|
352
276
|
{
|
|
353
277
|
resource: "Microsoft Graph",
|
|
@@ -385,165 +309,54 @@ exports.BuiltInFeaturePluginNames = {
|
|
|
385
309
|
};
|
|
386
310
|
var SolutionError;
|
|
387
311
|
(function (SolutionError) {
|
|
388
|
-
SolutionError["InvalidSelectedPluginNames"] = "InvalidSelectedPluginNames";
|
|
389
|
-
SolutionError["PluginNotFound"] = "PluginNotFound";
|
|
390
|
-
SolutionError["AADPluginNotEnabled"] = "AADPluginNotEnabled";
|
|
391
312
|
SolutionError["MissingPermissionsJson"] = "MissingPermissionsJson";
|
|
392
|
-
SolutionError["DialogIsNotPresent"] = "DialogIsNotPresent";
|
|
393
|
-
SolutionError["NoResourcePluginSelected"] = "NoResourcePluginSelected";
|
|
394
313
|
SolutionError["NoAppStudioToken"] = "NoAppStudioToken";
|
|
395
|
-
SolutionError["NoTeamsAppTenantId"] = "NoTeamsAppTenantId";
|
|
396
314
|
SolutionError["NoUserName"] = "NoUserName";
|
|
397
|
-
SolutionError["FailedToCreateResourceGroup"] = "FailedToCreateResourceGroup";
|
|
398
|
-
SolutionError["FailedToListResourceGroup"] = "FailedToListResourceGrouop";
|
|
399
|
-
SolutionError["FailedToListResourceGroupLocation"] = "FailedToListResourceGroupLocation";
|
|
400
|
-
SolutionError["FailedToGetResourceGroupInfoInputs"] = "FailedToGetResourceGroupInfoInputs";
|
|
401
315
|
SolutionError["ResourceGroupNotFound"] = "ResourceGroupNotFound";
|
|
402
316
|
SolutionError["SubscriptionNotFound"] = "SubscriptionNotFound";
|
|
403
|
-
SolutionError["NotLoginToAzure"] = "NotLoginToAzure";
|
|
404
|
-
SolutionError["AzureAccountExtensionNotInitialized"] = "AzureAccountExtensionNotInitialized";
|
|
405
|
-
SolutionError["LocalTabEndpointMissing"] = "LocalTabEndpointMissing";
|
|
406
|
-
SolutionError["LocalTabDomainMissing"] = "LocalTabDomainMissing";
|
|
407
|
-
SolutionError["LocalClientIDMissing"] = "LocalDebugClientIDMissing";
|
|
408
|
-
SolutionError["LocalApplicationIdUrisMissing"] = "LocalApplicationIdUrisMissing";
|
|
409
|
-
SolutionError["LocalClientSecretMissing"] = "LocalClientSecretMissing";
|
|
410
|
-
SolutionError["CannotUpdatePermissionForSPFx"] = "CannotUpdatePermissionForSPFx";
|
|
411
|
-
SolutionError["CannotAddResourceForSPFx"] = "CannotAddResourceForSPFx";
|
|
412
|
-
SolutionError["FailedToParseAzureTenantId"] = "FailedToParseAzureTenantId";
|
|
413
|
-
SolutionError["CannotRunProvisionInSPFxProject"] = "CannotRunProvisionInSPFxProject";
|
|
414
|
-
SolutionError["CannotRunThisTaskInSPFxProject"] = "CannotRunThisTaskInSPFxProject";
|
|
415
|
-
SolutionError["FrontendEndpointAndDomainNotFound"] = "FrontendEndpointAndDomainNotFound";
|
|
416
|
-
SolutionError["RemoteClientIdNotFound"] = "RemoteClientIdNotFound";
|
|
417
|
-
SolutionError["AddResourceNotSupport"] = "AddResourceNotSupport";
|
|
418
|
-
SolutionError["AddCapabilityNotSupport"] = "AddCapabilityNotSupport";
|
|
419
|
-
SolutionError["FailedToAddCapability"] = "FailedToAddCapability";
|
|
420
|
-
SolutionError["NoResourceToDeploy"] = "NoResourceToDeploy";
|
|
421
|
-
SolutionError["ProvisionInProgress"] = "ProvisionInProgress";
|
|
422
|
-
SolutionError["DeploymentInProgress"] = "DeploymentInProgress";
|
|
423
|
-
SolutionError["PublishInProgress"] = "PublishInProgress";
|
|
424
|
-
SolutionError["UnknownSolutionRunningState"] = "UnknownSolutionRunningState";
|
|
425
|
-
SolutionError["CannotDeployBeforeProvision"] = "CannotDeployBeforeProvision";
|
|
426
|
-
SolutionError["CannotPublishBeforeProvision"] = "CannotPublishBeforeProvision";
|
|
427
317
|
SolutionError["CannotLocalDebugInDifferentTenant"] = "CannotLocalDebugInDifferentTenant";
|
|
428
|
-
SolutionError["NoSubscriptionFound"] = "NoSubscriptionFound";
|
|
429
318
|
SolutionError["NoSubscriptionSelected"] = "NoSubscriptionSelected";
|
|
430
|
-
SolutionError["FailedToGetParamForRegisterTeamsAppAndAad"] = "FailedToGetParamForRegisterTeamsAppAndAad";
|
|
431
|
-
SolutionError["BotInternalError"] = "BotInternalError";
|
|
432
|
-
SolutionError["InternelError"] = "InternelError";
|
|
433
|
-
SolutionError["RegisterTeamsAppAndAadError"] = "RegisterTeamsAppAndAadError";
|
|
434
|
-
SolutionError["GetLocalDebugConfigError"] = "GetLocalDebugConfigError";
|
|
435
|
-
SolutionError["GetRemoteConfigError"] = "GetRemoteConfigError";
|
|
436
|
-
SolutionError["UnsupportedPlatform"] = "UnsupportedPlatform";
|
|
437
319
|
SolutionError["InvalidInput"] = "InvalidInput";
|
|
438
|
-
SolutionError["FailedToCompileBicepFiles"] = "FailedToCompileBicepFiles";
|
|
439
|
-
SolutionError["FailedToGetAzureCredential"] = "FailedToGetAzureCredential";
|
|
440
|
-
SolutionError["FailedToGenerateArmTemplates"] = "FailedToGenerateArmTemplates";
|
|
441
|
-
SolutionError["FailedToUpdateArmParameters"] = "FailedToUpdateArmTemplates";
|
|
442
320
|
SolutionError["FailedToDeployArmTemplatesToAzure"] = "FailedToDeployArmTemplatesToAzure";
|
|
443
321
|
SolutionError["FailedToPollArmDeploymentStatus"] = "FailedToPollArmDeploymentStatus";
|
|
444
322
|
SolutionError["FailedToValidateArmTemplates"] = "FailedToValidateArmTemplates";
|
|
445
323
|
SolutionError["FailedToRetrieveUserInfo"] = "FailedToRetrieveUserInfo";
|
|
446
|
-
SolutionError["FeatureNotSupported"] = "FeatureNotSupported";
|
|
447
324
|
SolutionError["CannotFindUserInCurrentTenant"] = "CannotFindUserInCurrentTenant";
|
|
448
|
-
SolutionError["FailedToGrantPermission"] = "FailedToGrantPermission";
|
|
449
|
-
SolutionError["FailedToCheckPermission"] = "FailedToCheckPermission";
|
|
450
|
-
SolutionError["FailedToListCollaborator"] = "FailedToListCollaborator";
|
|
451
325
|
SolutionError["EmailCannotBeEmptyOrSame"] = "EmailCannotBeEmptyOrSame";
|
|
452
|
-
SolutionError["FailedToExecuteTasks"] = "FailedToExecuteTasks";
|
|
453
|
-
SolutionError["FailedToGetEnvName"] = "FailedToGetEnvName";
|
|
454
326
|
SolutionError["TeamsAppTenantIdNotRight"] = "TeamsAppTenantIdNotRight";
|
|
455
327
|
SolutionError["AddSsoNotSupported"] = "AddSsoNotSupported";
|
|
456
|
-
SolutionError["NeedEnableFeatureFlag"] = "NeedEnableFeatureFlag";
|
|
457
328
|
SolutionError["SsoEnabled"] = "SsoEnabled";
|
|
458
|
-
SolutionError["InvalidSsoProject"] = "InvalidSsoProject";
|
|
459
329
|
SolutionError["InvalidProjectPath"] = "InvalidProjectPath";
|
|
460
330
|
SolutionError["FailedToCreateAuthFiles"] = "FailedToCreateAuthFiles";
|
|
461
331
|
SolutionError["FailedToUpdateAzureParameters"] = "FailedToUpdateAzureParameters";
|
|
462
|
-
SolutionError["FailedToBackupFiles"] = "FailedToBackupFiles";
|
|
463
|
-
SolutionError["MissingSubscriptionIdInConfig"] = "MissingSubscriptionIdInConfig";
|
|
464
|
-
SolutionError["FailedToResetAppSettingsDevelopment"] = "FailedToResetAppSettingsDevelopment";
|
|
465
332
|
SolutionError["FailedToLoadDotEnvFile"] = "FailedToLoadDotEnvFile";
|
|
466
|
-
SolutionError["FailedToGetTeamsAppId"] = "FailedToGetTeamsAppId";
|
|
467
333
|
SolutionError["InvalidManifestError"] = "InvalidManifestError";
|
|
468
334
|
SolutionError["FailedToLoadManifestFile"] = "FailedToLoadManifestFile";
|
|
469
335
|
})(SolutionError = exports.SolutionError || (exports.SolutionError = {}));
|
|
470
|
-
exports.LOCAL_DEBUG_TAB_ENDPOINT = "localTabEndpoint";
|
|
471
|
-
exports.LOCAL_DEBUG_TAB_DOMAIN = "localTabDomain";
|
|
472
|
-
exports.LOCAL_DEBUG_BOT_DOMAIN = "localBotDomain";
|
|
473
|
-
exports.BOT_DOMAIN = "validDomain";
|
|
474
|
-
exports.BOT_SECTION = "bots";
|
|
475
|
-
exports.COMPOSE_EXTENSIONS_SECTION = "composeExtensions";
|
|
476
|
-
exports.LOCAL_WEB_APPLICATION_INFO_SOURCE = "local_applicationIdUris";
|
|
477
|
-
exports.WEB_APPLICATION_INFO_SOURCE = "applicationIdUris";
|
|
478
|
-
exports.LOCAL_DEBUG_AAD_ID = "local_clientId";
|
|
479
336
|
exports.REMOTE_AAD_ID = "clientId";
|
|
480
|
-
exports.LOCAL_APPLICATION_ID_URIS = "local_applicationIdUris";
|
|
481
|
-
exports.REMOTE_APPLICATION_ID_URIS = "applicationIdUris";
|
|
482
|
-
exports.LOCAL_CLIENT_SECRET = "local_clientSecret";
|
|
483
|
-
exports.REMOTE_CLIENT_SECRET = "clientSecret";
|
|
484
337
|
exports.REMOTE_TEAMS_APP_TENANT_ID = "teamsAppTenantId";
|
|
485
|
-
exports.LOCAL_TENANT_ID = "local_tenantId";
|
|
486
|
-
// Teams App Id for local debug
|
|
487
|
-
exports.LOCAL_DEBUG_TEAMS_APP_ID = "localDebugTeamsAppId";
|
|
488
|
-
// Teams App Id for remote
|
|
489
|
-
exports.REMOTE_TEAMS_APP_ID = "remoteTeamsAppId";
|
|
490
|
-
exports.TEAMS_APP_ID = "teamsAppId";
|
|
491
338
|
exports.AzureRoleAssignmentsHelpLink = "https://aka.ms/teamsfx-azure-role-assignments-help-link";
|
|
492
339
|
exports.SharePointManageSiteAdminHelpLink = "https://aka.ms/teamsfx-sharepoint-manage-site-admin-help-link";
|
|
493
340
|
exports.ViewAadAppHelpLinkV5 = "https://aka.ms/teamsfx-view-aad-app-v5";
|
|
494
|
-
exports.ViewAadAppHelpLink = "https://aka.ms/teamsfx-view-aad-app";
|
|
495
|
-
exports.DoProvisionFirstError = new teamsfx_api_1.UserError("DoProvisionFirst", "DoProvisionFirst", "Solution");
|
|
496
|
-
exports.CancelError = new teamsfx_api_1.UserError("Solution", "UserCancel", "UserCancel");
|
|
497
|
-
// This is the max length specified in
|
|
498
|
-
// https://developer.microsoft.com/en-us/json-schemas/teams/v1.7/MicrosoftTeams.schema.json
|
|
499
341
|
var SolutionTelemetryEvent;
|
|
500
342
|
(function (SolutionTelemetryEvent) {
|
|
501
|
-
SolutionTelemetryEvent["CreateStart"] = "create-start";
|
|
502
|
-
SolutionTelemetryEvent["Create"] = "create";
|
|
503
|
-
SolutionTelemetryEvent["AddResourceStart"] = "add-resource-start";
|
|
504
|
-
SolutionTelemetryEvent["AddResource"] = "add-resource";
|
|
505
|
-
SolutionTelemetryEvent["AddCapabilityStart"] = "add-capability-start";
|
|
506
|
-
SolutionTelemetryEvent["AddCapability"] = "add-capability";
|
|
507
|
-
SolutionTelemetryEvent["GrantPermissionStart"] = "grant-permission-start";
|
|
508
|
-
SolutionTelemetryEvent["GrantPermission"] = "grant-permission";
|
|
509
|
-
SolutionTelemetryEvent["CheckPermissionStart"] = "check-permission-start";
|
|
510
|
-
SolutionTelemetryEvent["CheckPermission"] = "check-permission";
|
|
511
|
-
SolutionTelemetryEvent["ListCollaboratorStart"] = "list-collaborator-start";
|
|
512
|
-
SolutionTelemetryEvent["ListCollaborator"] = "list-collaborator";
|
|
513
|
-
SolutionTelemetryEvent["GenerateArmTemplateStart"] = "generate-armtemplate-start";
|
|
514
|
-
SolutionTelemetryEvent["GenerateArmTemplate"] = "generate-armtemplate";
|
|
515
343
|
SolutionTelemetryEvent["ArmDeploymentStart"] = "deploy-armtemplate-start";
|
|
516
344
|
SolutionTelemetryEvent["ArmDeployment"] = "deploy-armtemplate";
|
|
517
345
|
SolutionTelemetryEvent["AddSsoStart"] = "add-sso-start";
|
|
518
346
|
SolutionTelemetryEvent["AddSso"] = "add-sso";
|
|
519
|
-
SolutionTelemetryEvent["AddSsoReadme"] = "add-sso-readme";
|
|
520
|
-
SolutionTelemetryEvent["DeployStart"] = "deploy-start";
|
|
521
|
-
SolutionTelemetryEvent["Deploy"] = "deploy";
|
|
522
|
-
SolutionTelemetryEvent["ProvisionStart"] = "provision-start";
|
|
523
|
-
SolutionTelemetryEvent["Provision"] = "provision";
|
|
524
347
|
})(SolutionTelemetryEvent = exports.SolutionTelemetryEvent || (exports.SolutionTelemetryEvent = {}));
|
|
525
348
|
var SolutionTelemetryProperty;
|
|
526
349
|
(function (SolutionTelemetryProperty) {
|
|
527
350
|
SolutionTelemetryProperty["Component"] = "component";
|
|
528
|
-
SolutionTelemetryProperty["Resources"] = "resources";
|
|
529
|
-
SolutionTelemetryProperty["Capabilities"] = "capabilities";
|
|
530
351
|
SolutionTelemetryProperty["Success"] = "success";
|
|
531
352
|
SolutionTelemetryProperty["CollaboratorCount"] = "collaborator-count";
|
|
532
353
|
SolutionTelemetryProperty["AadOwnerCount"] = "aad-owner-count";
|
|
533
354
|
SolutionTelemetryProperty["AadPermission"] = "aad-permission";
|
|
534
355
|
SolutionTelemetryProperty["ArmDeploymentError"] = "arm-deployment-error";
|
|
535
356
|
SolutionTelemetryProperty["TeamsAppPermission"] = "teams-app-permission";
|
|
536
|
-
SolutionTelemetryProperty["ProgrammingLanguage"] = "programming-language";
|
|
537
357
|
SolutionTelemetryProperty["Env"] = "env";
|
|
538
|
-
SolutionTelemetryProperty["IncludeAadManifest"] = "include-aad-manifest";
|
|
539
|
-
SolutionTelemetryProperty["ErrorCode"] = "error-code";
|
|
540
|
-
SolutionTelemetryProperty["ErrorMessage"] = "error-message";
|
|
541
|
-
SolutionTelemetryProperty["HostType"] = "host-type";
|
|
542
358
|
SolutionTelemetryProperty["SubscriptionId"] = "subscription-id";
|
|
543
|
-
SolutionTelemetryProperty["AddTabSso"] = "tab-sso";
|
|
544
|
-
SolutionTelemetryProperty["AddBotSso"] = "bot-sso";
|
|
545
359
|
SolutionTelemetryProperty["M365TenantId"] = "m365-tenant-id";
|
|
546
|
-
SolutionTelemetryProperty["PreviousSubsriptionId"] = "previous-subscription-id";
|
|
547
360
|
SolutionTelemetryProperty["PreviousM365TenantId"] = "previous-m365-tenant-id";
|
|
548
361
|
SolutionTelemetryProperty["ConfirmRes"] = "confirm-res";
|
|
549
362
|
})(SolutionTelemetryProperty = exports.SolutionTelemetryProperty || (exports.SolutionTelemetryProperty = {}));
|
|
@@ -555,39 +368,6 @@ var SolutionTelemetrySuccess;
|
|
|
555
368
|
exports.SolutionTelemetryComponentName = "solution";
|
|
556
369
|
exports.SolutionSource = "Solution";
|
|
557
370
|
exports.CoordinatorSource = "coordinator";
|
|
558
|
-
class UnauthorizedToCheckResourceGroupError extends teamsfx_api_1.UserError {
|
|
559
|
-
constructor(resourceGroupName, subscriptionId, subscriptionName) {
|
|
560
|
-
const subscriptionInfoString = subscriptionId + (subscriptionName.length > 0 ? `(${subscriptionName})` : "");
|
|
561
|
-
super(exports.SolutionSource, new.target.name, localizeUtils_1.getLocalizedString("error.rgUnauthorizedError", resourceGroupName, subscriptionInfoString));
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
exports.UnauthorizedToCheckResourceGroupError = UnauthorizedToCheckResourceGroupError;
|
|
565
|
-
class FailedToCheckResourceGroupExistenceError extends teamsfx_api_1.UserError {
|
|
566
|
-
constructor(error, resourceGroupName, subscriptionId, subscriptionName) {
|
|
567
|
-
const subscriptionInfoString = subscriptionId + (subscriptionName.length > 0 ? `(${subscriptionName})` : "");
|
|
568
|
-
const baseErrorMessage = localizeUtils_1.getLocalizedString("error.rgCheckBaseError", resourceGroupName, subscriptionInfoString);
|
|
569
|
-
if (error instanceof ms_rest_js_1.RestError) {
|
|
570
|
-
// Avoid sensitive information like request headers in the error message.
|
|
571
|
-
const rawErrorString = JSON.stringify({
|
|
572
|
-
code: error.code,
|
|
573
|
-
statusCode: error.statusCode,
|
|
574
|
-
body: error.body,
|
|
575
|
-
name: error.name,
|
|
576
|
-
message: error.message,
|
|
577
|
-
});
|
|
578
|
-
super(exports.SolutionSource, new.target.name, `${baseErrorMessage}, error: '${rawErrorString}'`);
|
|
579
|
-
}
|
|
580
|
-
else if (error instanceof Error) {
|
|
581
|
-
// Reuse the original error object to prevent losing the stack info
|
|
582
|
-
error.message = `${baseErrorMessage}, error: '${error.message}'`;
|
|
583
|
-
super({ error, source: exports.SolutionSource });
|
|
584
|
-
}
|
|
585
|
-
else {
|
|
586
|
-
super(exports.SolutionSource, new.target.name, `${baseErrorMessage}, error: '${JSON.stringify(error)}'`);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
exports.FailedToCheckResourceGroupExistenceError = FailedToCheckResourceGroupExistenceError;
|
|
591
371
|
var Language;
|
|
592
372
|
(function (Language) {
|
|
593
373
|
Language["JavaScript"] = "javascript";
|
|
@@ -627,10 +407,6 @@ AddSsoParameters.AppSettingsToAddForBot = {
|
|
|
627
407
|
},
|
|
628
408
|
},
|
|
629
409
|
};
|
|
630
|
-
class UserTaskFunctionName {
|
|
631
|
-
}
|
|
632
|
-
exports.UserTaskFunctionName = UserTaskFunctionName;
|
|
633
|
-
UserTaskFunctionName.ConnectExistingApi = "connectExistingApi";
|
|
634
410
|
function TabOptionItem() {
|
|
635
411
|
return {
|
|
636
412
|
id: "Tab",
|
|
@@ -641,24 +417,6 @@ function TabOptionItem() {
|
|
|
641
417
|
};
|
|
642
418
|
}
|
|
643
419
|
exports.TabOptionItem = TabOptionItem;
|
|
644
|
-
function TabNewUIOptionItem() {
|
|
645
|
-
return {
|
|
646
|
-
id: "Tab",
|
|
647
|
-
label: `$(browser) ${localizeUtils_1.getLocalizedString("core.TabOption.labelNew")}`,
|
|
648
|
-
cliName: "tab",
|
|
649
|
-
detail: localizeUtils_1.getLocalizedString("core.TabOption.detailNew"),
|
|
650
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.scenario"),
|
|
651
|
-
data: "https://aka.ms/teamsfx-tab-with-sso",
|
|
652
|
-
buttons: [
|
|
653
|
-
{
|
|
654
|
-
iconPath: "file-symlink-file",
|
|
655
|
-
tooltip: localizeUtils_1.getLocalizedString("core.option.github"),
|
|
656
|
-
command: "fx-extension.openTutorial",
|
|
657
|
-
},
|
|
658
|
-
],
|
|
659
|
-
};
|
|
660
|
-
}
|
|
661
|
-
exports.TabNewUIOptionItem = TabNewUIOptionItem;
|
|
662
420
|
function DashboardOptionItem() {
|
|
663
421
|
return {
|
|
664
422
|
id: "dashboard-tab",
|
|
@@ -678,16 +436,6 @@ function DashboardOptionItem() {
|
|
|
678
436
|
}
|
|
679
437
|
exports.DashboardOptionItem = DashboardOptionItem;
|
|
680
438
|
function BotOptionItem() {
|
|
681
|
-
return {
|
|
682
|
-
id: "Bot",
|
|
683
|
-
label: "Bot",
|
|
684
|
-
cliName: "bot",
|
|
685
|
-
description: localizeUtils_1.getLocalizedString("core.BotOption.description"),
|
|
686
|
-
detail: localizeUtils_1.getLocalizedString("core.BotOption.detail"),
|
|
687
|
-
};
|
|
688
|
-
}
|
|
689
|
-
exports.BotOptionItem = BotOptionItem;
|
|
690
|
-
function BotNewUIOptionItem() {
|
|
691
439
|
return {
|
|
692
440
|
id: "Bot",
|
|
693
441
|
label: `${localizeUtils_1.getLocalizedString("core.BotNewUIOption.label")}`,
|
|
@@ -695,7 +443,7 @@ function BotNewUIOptionItem() {
|
|
|
695
443
|
detail: localizeUtils_1.getLocalizedString("core.BotNewUIOption.detail"),
|
|
696
444
|
};
|
|
697
445
|
}
|
|
698
|
-
exports.
|
|
446
|
+
exports.BotOptionItem = BotOptionItem;
|
|
699
447
|
function NotificationOptionItem() {
|
|
700
448
|
return {
|
|
701
449
|
// For default option, id and cliName must be the same
|
|
@@ -750,24 +498,6 @@ function WorkflowOptionItem() {
|
|
|
750
498
|
};
|
|
751
499
|
}
|
|
752
500
|
exports.WorkflowOptionItem = WorkflowOptionItem;
|
|
753
|
-
function ExistingTabOptionItem() {
|
|
754
|
-
return {
|
|
755
|
-
id: "ExistingTab",
|
|
756
|
-
label: `$(browser) ${localizeUtils_1.getLocalizedString("core.ExistingTabOption.label")}`,
|
|
757
|
-
cliName: "existing-tab",
|
|
758
|
-
detail: localizeUtils_1.getLocalizedString("core.ExistingTabOption.detail"),
|
|
759
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.scenario"),
|
|
760
|
-
data: "https://aka.ms/teamsfx-embed-existing-web",
|
|
761
|
-
buttons: [
|
|
762
|
-
{
|
|
763
|
-
iconPath: "tasklist",
|
|
764
|
-
tooltip: localizeUtils_1.getLocalizedString("core.option.tutorial"),
|
|
765
|
-
command: "fx-extension.openTutorial",
|
|
766
|
-
},
|
|
767
|
-
],
|
|
768
|
-
};
|
|
769
|
-
}
|
|
770
|
-
exports.ExistingTabOptionItem = ExistingTabOptionItem;
|
|
771
501
|
function MessageExtensionItem() {
|
|
772
502
|
return {
|
|
773
503
|
id: "MessagingExtension",
|
|
@@ -790,23 +520,13 @@ exports.MessageExtensionNewUIItem = MessageExtensionNewUIItem;
|
|
|
790
520
|
function TabSPFxItem() {
|
|
791
521
|
return {
|
|
792
522
|
id: "TabSPFx",
|
|
793
|
-
label: localizeUtils_1.getLocalizedString("core.TabSPFxOption.
|
|
794
|
-
cliName: "tab-spfx",
|
|
795
|
-
description: localizeUtils_1.getLocalizedString("core.TabSPFxOption.description"),
|
|
796
|
-
detail: localizeUtils_1.getLocalizedString("core.TabSPFxOption.detail"),
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
exports.TabSPFxItem = TabSPFxItem;
|
|
800
|
-
function TabSPFxNewUIItem() {
|
|
801
|
-
return {
|
|
802
|
-
id: "TabSPFx",
|
|
803
|
-
label: `${localizeUtils_1.getLocalizedString("core.TabSPFxOption.labelNew")}`,
|
|
523
|
+
label: localizeUtils_1.getLocalizedString("core.TabSPFxOption.labelNew"),
|
|
804
524
|
cliName: "tab-spfx",
|
|
805
|
-
detail: localizeUtils_1.getLocalizedString("core.TabSPFxOption.detailNew"),
|
|
806
525
|
description: localizeUtils_1.getLocalizedString("core.createProjectQuestion.option.description.worksInOutlookM365"),
|
|
526
|
+
detail: localizeUtils_1.getLocalizedString("core.TabSPFxOption.detailNew"),
|
|
807
527
|
};
|
|
808
528
|
}
|
|
809
|
-
exports.
|
|
529
|
+
exports.TabSPFxItem = TabSPFxItem;
|
|
810
530
|
function TabSsoItem() {
|
|
811
531
|
return {
|
|
812
532
|
id: "TabSSO",
|
|
@@ -926,65 +646,6 @@ var SPFxQuestionNames;
|
|
|
926
646
|
SPFxQuestionNames["ManifestPath"] = "manifest-path";
|
|
927
647
|
SPFxQuestionNames["LocalManifestPath"] = "local-manifest-path";
|
|
928
648
|
})(SPFxQuestionNames = exports.SPFxQuestionNames || (exports.SPFxQuestionNames = {}));
|
|
929
|
-
function HostTypeOptionAzure() {
|
|
930
|
-
return {
|
|
931
|
-
id: "Azure",
|
|
932
|
-
label: localizeUtils_1.getLocalizedString("core.HostTypeOptionAzure.label"),
|
|
933
|
-
cliName: "azure",
|
|
934
|
-
};
|
|
935
|
-
}
|
|
936
|
-
exports.HostTypeOptionAzure = HostTypeOptionAzure;
|
|
937
|
-
function HostTypeOptionSPFx() {
|
|
938
|
-
return {
|
|
939
|
-
id: "SPFx",
|
|
940
|
-
label: localizeUtils_1.getLocalizedString("core.HostTypeOptionSPFx.label"),
|
|
941
|
-
cliName: "spfx",
|
|
942
|
-
};
|
|
943
|
-
}
|
|
944
|
-
exports.HostTypeOptionSPFx = HostTypeOptionSPFx;
|
|
945
|
-
exports.AzureResourceSQL = {
|
|
946
|
-
id: "sql",
|
|
947
|
-
label: localizeUtils_1.getLocalizedString("core.AzureResourceSQL.label"),
|
|
948
|
-
description: localizeUtils_1.getLocalizedString("core.AzureResourceSQL.description"),
|
|
949
|
-
};
|
|
950
|
-
exports.AzureResourceSQLNewUI = {
|
|
951
|
-
id: "sql",
|
|
952
|
-
label: `$(azure) ${localizeUtils_1.getLocalizedString("core.AzureResourceSQLNewUI.label")}`,
|
|
953
|
-
detail: localizeUtils_1.getLocalizedString("core.AzureResourceSQLNewUI.detail"),
|
|
954
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.resource"),
|
|
955
|
-
};
|
|
956
|
-
exports.AzureResourceFunction = {
|
|
957
|
-
id: "function",
|
|
958
|
-
label: localizeUtils_1.getLocalizedString("core.AzureResourceFunction.label"),
|
|
959
|
-
};
|
|
960
|
-
exports.AzureResourceFunctionNewUI = {
|
|
961
|
-
id: "function",
|
|
962
|
-
label: `$(azure) ${localizeUtils_1.getLocalizedString("core.AzureResourceFunctionNewUI.label")}`,
|
|
963
|
-
detail: localizeUtils_1.getLocalizedString("core.AzureResourceFunctionNewUI.detail"),
|
|
964
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.resource"),
|
|
965
|
-
};
|
|
966
|
-
exports.AzureResourceApim = {
|
|
967
|
-
id: "apim",
|
|
968
|
-
label: localizeUtils_1.getLocalizedString("core.AzureResourceApim.label"),
|
|
969
|
-
description: localizeUtils_1.getLocalizedString("core.AzureResourceApim.description"),
|
|
970
|
-
};
|
|
971
|
-
exports.AzureResourceApimNewUI = {
|
|
972
|
-
id: "apim",
|
|
973
|
-
label: `$(azure) ${localizeUtils_1.getLocalizedString("core.AzureResourceApimNewUI.label")}`,
|
|
974
|
-
detail: localizeUtils_1.getLocalizedString("core.AzureResourceApimNewUI.detail"),
|
|
975
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.resource"),
|
|
976
|
-
};
|
|
977
|
-
exports.AzureResourceKeyVault = {
|
|
978
|
-
id: "keyvault",
|
|
979
|
-
label: localizeUtils_1.getLocalizedString("core.AzureResourceKeyVault.label"),
|
|
980
|
-
description: localizeUtils_1.getLocalizedString("core.AzureResourceKeyVault.description"),
|
|
981
|
-
};
|
|
982
|
-
exports.AzureResourceKeyVaultNewUI = {
|
|
983
|
-
id: "keyvault",
|
|
984
|
-
label: `$(azure) ${localizeUtils_1.getLocalizedString("core.AzureResourceKeyVaultNewUI.label")}`,
|
|
985
|
-
detail: localizeUtils_1.getLocalizedString("core.AzureResourceKeyVaultNewUI.detail"),
|
|
986
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.resource"),
|
|
987
|
-
};
|
|
988
649
|
exports.SingleSignOnOptionItem = {
|
|
989
650
|
id: "sso",
|
|
990
651
|
label: `$(unlock) ${localizeUtils_1.getLocalizedString("core.SingleSignOnOption.label")}`,
|
|
@@ -999,34 +660,6 @@ exports.SingleSignOnOptionItem = {
|
|
|
999
660
|
},
|
|
1000
661
|
],
|
|
1001
662
|
};
|
|
1002
|
-
exports.ApiConnectionOptionItem = {
|
|
1003
|
-
id: "api-connection",
|
|
1004
|
-
label: `$(arrow-swap) ${localizeUtils_1.getLocalizedString("core.ApiConnectionOption.label")}`,
|
|
1005
|
-
detail: localizeUtils_1.getLocalizedString("core.ApiConnectionOption.detail"),
|
|
1006
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.additional"),
|
|
1007
|
-
data: "https://aka.ms/teamsfx-connect-api",
|
|
1008
|
-
buttons: [
|
|
1009
|
-
{
|
|
1010
|
-
iconPath: "tasklist",
|
|
1011
|
-
tooltip: localizeUtils_1.getLocalizedString("core.option.tutorial"),
|
|
1012
|
-
command: "fx-extension.openTutorial",
|
|
1013
|
-
},
|
|
1014
|
-
],
|
|
1015
|
-
};
|
|
1016
|
-
exports.CicdOptionItem = {
|
|
1017
|
-
id: "cicd",
|
|
1018
|
-
label: `$(sync) ${localizeUtils_1.getLocalizedString("core.cicdWorkflowOption.label")}`,
|
|
1019
|
-
detail: localizeUtils_1.getLocalizedString("core.cicdWorkflowOption.detail"),
|
|
1020
|
-
groupName: localizeUtils_1.getLocalizedString("core.options.separator.additional"),
|
|
1021
|
-
data: "https://aka.ms/teamsfx-add-cicd",
|
|
1022
|
-
buttons: [
|
|
1023
|
-
{
|
|
1024
|
-
iconPath: "tasklist",
|
|
1025
|
-
tooltip: localizeUtils_1.getLocalizedString("core.option.tutorial"),
|
|
1026
|
-
command: "fx-extension.openTutorial",
|
|
1027
|
-
},
|
|
1028
|
-
],
|
|
1029
|
-
};
|
|
1030
663
|
var BotScenario;
|
|
1031
664
|
(function (BotScenario) {
|
|
1032
665
|
BotScenario["NotificationBot"] = "notificationBot";
|
|
@@ -1037,36 +670,6 @@ exports.BotNotificationTriggers = {
|
|
|
1037
670
|
Timer: "timer",
|
|
1038
671
|
Http: "http",
|
|
1039
672
|
};
|
|
1040
|
-
exports.AzureResourcesQuestion = {
|
|
1041
|
-
name: AzureSolutionQuestionNames.AzureResources,
|
|
1042
|
-
title: localizeUtils_1.getLocalizedString("core.question.AzureResourcesQuestion.title"),
|
|
1043
|
-
type: "multiSelect",
|
|
1044
|
-
staticOptions: [exports.AzureResourceSQL, exports.AzureResourceFunction],
|
|
1045
|
-
default: [],
|
|
1046
|
-
onDidChangeSelection: async function (currentSelectedIds, previousSelectedIds) {
|
|
1047
|
-
if (currentSelectedIds.has(exports.AzureResourceSQL.id)) {
|
|
1048
|
-
currentSelectedIds.add(exports.AzureResourceFunction.id);
|
|
1049
|
-
}
|
|
1050
|
-
return currentSelectedIds;
|
|
1051
|
-
},
|
|
1052
|
-
placeholder: localizeUtils_1.getLocalizedString("core.question.AzureResourcesQuestion.placeholder"),
|
|
1053
|
-
};
|
|
1054
|
-
const BotFeatureIds = () => [
|
|
1055
|
-
BotOptionItem().id,
|
|
1056
|
-
NotificationOptionItem().id,
|
|
1057
|
-
CommandAndResponseOptionItem().id,
|
|
1058
|
-
WorkflowOptionItem().id,
|
|
1059
|
-
MessageExtensionItem().id,
|
|
1060
|
-
M365SearchAppOptionItem().id,
|
|
1061
|
-
];
|
|
1062
|
-
exports.BotFeatureIds = BotFeatureIds;
|
|
1063
|
-
const TabFeatureIds = () => [
|
|
1064
|
-
TabOptionItem().id,
|
|
1065
|
-
TabNonSsoItem().id,
|
|
1066
|
-
M365SsoLaunchPageOptionItem().id,
|
|
1067
|
-
DashboardOptionItem().id,
|
|
1068
|
-
];
|
|
1069
|
-
exports.TabFeatureIds = TabFeatureIds;
|
|
1070
673
|
exports.AadConstants = {
|
|
1071
674
|
DefaultTemplateFileName: "aad.manifest.json",
|
|
1072
675
|
};
|