@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.
Files changed (493) hide show
  1. package/build/common/local/localStateHelper.d.ts.map +1 -1
  2. package/build/common/local/localStateHelper.js.map +1 -1
  3. package/build/common/samples.d.ts.map +1 -1
  4. package/build/common/samples.js +2 -2
  5. package/build/common/samples.js.map +1 -1
  6. package/build/common/telemetry.d.ts +0 -13
  7. package/build/common/telemetry.d.ts.map +1 -1
  8. package/build/common/telemetry.js +0 -13
  9. package/build/common/telemetry.js.map +1 -1
  10. package/build/common/templates-config.json +2 -1
  11. package/build/common/tools.d.ts +1 -15
  12. package/build/common/tools.d.ts.map +1 -1
  13. package/build/common/tools.js +53 -138
  14. package/build/common/tools.js.map +1 -1
  15. package/build/component/code/appSettingUtils.d.ts +1 -2
  16. package/build/component/code/appSettingUtils.d.ts.map +1 -1
  17. package/build/component/code/appSettingUtils.js +1 -46
  18. package/build/component/code/appSettingUtils.js.map +1 -1
  19. package/build/component/constant/deployConstant.d.ts.map +1 -1
  20. package/build/component/constant/deployConstant.js.map +1 -1
  21. package/build/component/constants.d.ts +3 -210
  22. package/build/component/constants.d.ts.map +1 -1
  23. package/build/component/constants.js +7 -404
  24. package/build/component/constants.js.map +1 -1
  25. package/build/component/coordinator/index.d.ts +1 -0
  26. package/build/component/coordinator/index.d.ts.map +1 -1
  27. package/build/component/coordinator/index.js +21 -10
  28. package/build/component/coordinator/index.js.map +1 -1
  29. package/build/component/deployUtils.d.ts +1 -8
  30. package/build/component/deployUtils.d.ts.map +1 -1
  31. package/build/component/deployUtils.js +2 -98
  32. package/build/component/deployUtils.js.map +1 -1
  33. package/build/component/driver/add/addWebPart.js +3 -3
  34. package/build/component/driver/add/addWebPart.js.map +1 -1
  35. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +9 -9
  36. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  37. package/build/component/driver/interface/buildAndDeployArgs.d.ts +11 -11
  38. package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -1
  39. package/build/component/driver/script/scriptDriver.js +6 -6
  40. package/build/component/driver/script/scriptDriver.js.map +1 -1
  41. package/build/component/error.d.ts +0 -3
  42. package/build/component/error.d.ts.map +1 -1
  43. package/build/component/error.js +1 -11
  44. package/build/component/error.js.map +1 -1
  45. package/build/component/feature/cicd/cicd.d.ts +1 -2
  46. package/build/component/feature/cicd/cicd.d.ts.map +1 -1
  47. package/build/component/feature/cicd/cicd.js +2 -87
  48. package/build/component/feature/cicd/cicd.js.map +1 -1
  49. package/build/component/feature/sso.d.ts +0 -1
  50. package/build/component/feature/sso.d.ts.map +1 -1
  51. package/build/component/feature/sso.js +0 -1
  52. package/build/component/feature/sso.js.map +1 -1
  53. package/build/component/generator/generatorAction.d.ts.map +1 -1
  54. package/build/component/generator/generatorAction.js +1 -1
  55. package/build/component/generator/generatorAction.js.map +1 -1
  56. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts +8 -0
  57. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
  58. package/build/component/generator/spfx/depsChecker/dependencyChecker.js.map +1 -0
  59. package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.d.ts +1 -4
  60. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
  61. package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.js +0 -39
  62. package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -0
  63. package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.d.ts +1 -4
  64. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -0
  65. package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.js +0 -33
  66. package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -0
  67. package/build/component/generator/spfx/error.d.ts +8 -0
  68. package/build/component/generator/spfx/error.d.ts.map +1 -0
  69. package/build/component/generator/spfx/error.js +55 -0
  70. package/build/component/generator/spfx/error.js.map +1 -0
  71. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -0
  72. package/build/component/generator/{spfxGenerator.js → spfx/spfxGenerator.js} +16 -16
  73. package/build/component/generator/spfx/spfxGenerator.js.map +1 -0
  74. package/build/component/{resource → generator}/spfx/utils/constants.d.ts +0 -33
  75. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -0
  76. package/build/component/{resource → generator}/spfx/utils/constants.js +1 -39
  77. package/build/component/generator/spfx/utils/constants.js.map +1 -0
  78. package/build/component/{resource → generator}/spfx/utils/progress-helper.d.ts +0 -5
  79. package/build/component/generator/spfx/utils/progress-helper.d.ts.map +1 -0
  80. package/build/component/generator/spfx/utils/progress-helper.js +21 -0
  81. package/build/component/generator/spfx/utils/progress-helper.js.map +1 -0
  82. package/build/component/generator/spfx/utils/question-helper.d.ts.map +1 -0
  83. package/build/component/generator/spfx/utils/question-helper.js.map +1 -0
  84. package/build/component/{resource → generator}/spfx/utils/questions.d.ts +0 -1
  85. package/build/component/generator/spfx/utils/questions.d.ts.map +1 -0
  86. package/build/component/{resource → generator}/spfx/utils/questions.js +1 -23
  87. package/build/component/generator/spfx/utils/questions.js.map +1 -0
  88. package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +1 -0
  89. package/build/component/generator/spfx/utils/telemetry-helper.js.map +1 -0
  90. package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +1 -0
  91. package/build/component/generator/spfx/utils/telemetryEvents.js.map +1 -0
  92. package/build/component/generator/spfx/utils/utils.d.ts.map +1 -0
  93. package/build/component/generator/spfx/utils/utils.js.map +1 -0
  94. package/build/component/generator/utils.js +2 -2
  95. package/build/component/generator/utils.js.map +1 -1
  96. package/build/component/middleware/envMW.js.map +1 -1
  97. package/build/component/provisionUtils.d.ts +2 -23
  98. package/build/component/provisionUtils.d.ts.map +1 -1
  99. package/build/component/provisionUtils.js +5 -523
  100. package/build/component/provisionUtils.js.map +1 -1
  101. package/build/component/question.js +1 -1
  102. package/build/component/question.js.map +1 -1
  103. package/build/component/registerService.d.ts +0 -3
  104. package/build/component/registerService.d.ts.map +1 -1
  105. package/build/component/registerService.js +0 -3
  106. package/build/component/registerService.js.map +1 -1
  107. package/build/component/resource/aadApp/utils/aadManifestHelper.js +2 -1
  108. package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -1
  109. package/build/component/resource/appManifest/appManifest.d.ts +0 -6
  110. package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
  111. package/build/component/resource/appManifest/appManifest.js +24 -247
  112. package/build/component/resource/appManifest/appManifest.js.map +1 -1
  113. package/build/component/resource/appManifest/appStudio.d.ts +1 -21
  114. package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
  115. package/build/component/resource/appManifest/appStudio.js +15 -257
  116. package/build/component/resource/appManifest/appStudio.js.map +1 -1
  117. package/build/component/resource/botService/errors.d.ts +0 -2
  118. package/build/component/resource/botService/errors.d.ts.map +1 -1
  119. package/build/component/resource/botService/errors.js +1 -43
  120. package/build/component/resource/botService/errors.js.map +1 -1
  121. package/build/component/utils/ResourceGroupHelper.d.ts +1 -5
  122. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  123. package/build/component/utils/ResourceGroupHelper.js +0 -6
  124. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  125. package/build/component/utils/pathUtils.d.ts.map +1 -1
  126. package/build/component/utils/pathUtils.js +2 -2
  127. package/build/component/utils/pathUtils.js.map +1 -1
  128. package/build/component/utils.d.ts +1 -18
  129. package/build/component/utils.d.ts.map +1 -1
  130. package/build/component/utils.js +23 -277
  131. package/build/component/utils.js.map +1 -1
  132. package/build/component/workflow.d.ts +0 -1
  133. package/build/component/workflow.d.ts.map +1 -1
  134. package/build/component/workflow.js +1 -6
  135. package/build/component/workflow.js.map +1 -1
  136. package/build/core/FxCore.d.ts +0 -8
  137. package/build/core/FxCore.d.ts.map +1 -1
  138. package/build/core/FxCore.js +0 -12
  139. package/build/core/FxCore.js.map +1 -1
  140. package/build/core/FxCoreImplementV3.d.ts.map +1 -1
  141. package/build/core/FxCoreImplementV3.js +7 -20
  142. package/build/core/FxCoreImplementV3.js.map +1 -1
  143. package/build/core/collaborator.d.ts +2 -0
  144. package/build/core/collaborator.d.ts.map +1 -1
  145. package/build/core/collaborator.js +2 -0
  146. package/build/core/collaborator.js.map +1 -1
  147. package/build/core/environment.d.ts +2 -4
  148. package/build/core/environment.d.ts.map +1 -1
  149. package/build/core/environment.js +44 -108
  150. package/build/core/environment.js.map +1 -1
  151. package/build/core/error.d.ts +1 -34
  152. package/build/core/error.d.ts.map +1 -1
  153. package/build/core/error.js +1 -112
  154. package/build/core/error.js.map +1 -1
  155. package/build/core/globalVars.d.ts +0 -1
  156. package/build/core/globalVars.d.ts.map +1 -1
  157. package/build/core/globalVars.js +1 -15
  158. package/build/core/globalVars.js.map +1 -1
  159. package/build/core/middleware/projectMigratorV3.d.ts +2 -1
  160. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  161. package/build/core/middleware/projectMigratorV3.js +40 -46
  162. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  163. package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
  164. package/build/core/middleware/projectSettingsLoader.js +9 -20
  165. package/build/core/middleware/projectSettingsLoader.js.map +1 -1
  166. package/build/core/middleware/projectVersionChecker.d.ts.map +1 -1
  167. package/build/core/middleware/projectVersionChecker.js +6 -18
  168. package/build/core/middleware/projectVersionChecker.js.map +1 -1
  169. package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
  170. package/build/core/middleware/utils/migrationContext.js +0 -4
  171. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  172. package/build/core/question.d.ts.map +1 -1
  173. package/build/core/question.js +4 -4
  174. package/build/core/question.js.map +1 -1
  175. package/build/core/types.d.ts +0 -10
  176. package/build/core/types.d.ts.map +1 -1
  177. package/build/index.d.ts +0 -1
  178. package/build/index.d.ts.map +1 -1
  179. package/build/index.js +0 -1
  180. package/build/index.js.map +1 -1
  181. package/package.json +7 -11
  182. package/resource/package.nls.json +3 -177
  183. package/templates/fallback/common.zip +0 -0
  184. package/templates/fallback/csharp.zip +0 -0
  185. package/templates/fallback/js.zip +0 -0
  186. package/templates/fallback/ts.zip +0 -0
  187. package/build/common/azure-hosting/azureAppServiceHosting.d.ts +0 -16
  188. package/build/common/azure-hosting/azureAppServiceHosting.d.ts.map +0 -1
  189. package/build/common/azure-hosting/azureAppServiceHosting.js +0 -33
  190. package/build/common/azure-hosting/azureAppServiceHosting.js.map +0 -1
  191. package/build/common/azure-hosting/azureFunctionHosting.d.ts +0 -14
  192. package/build/common/azure-hosting/azureFunctionHosting.d.ts.map +0 -1
  193. package/build/common/azure-hosting/azureFunctionHosting.js +0 -34
  194. package/build/common/azure-hosting/azureFunctionHosting.js.map +0 -1
  195. package/build/common/azure-hosting/azureHosting.d.ts +0 -23
  196. package/build/common/azure-hosting/azureHosting.d.ts.map +0 -1
  197. package/build/common/azure-hosting/azureHosting.js +0 -95
  198. package/build/common/azure-hosting/azureHosting.js.map +0 -1
  199. package/build/common/azure-hosting/azureOps.d.ts +0 -17
  200. package/build/common/azure-hosting/azureOps.d.ts.map +0 -1
  201. package/build/common/azure-hosting/azureOps.js +0 -94
  202. package/build/common/azure-hosting/azureOps.js.map +0 -1
  203. package/build/common/azure-hosting/hostingConstant.d.ts +0 -46
  204. package/build/common/azure-hosting/hostingConstant.d.ts.map +0 -1
  205. package/build/common/azure-hosting/hostingConstant.js +0 -86
  206. package/build/common/azure-hosting/hostingConstant.js.map +0 -1
  207. package/build/common/azure-hosting/hostingError.d.ts +0 -47
  208. package/build/common/azure-hosting/hostingError.d.ts.map +0 -1
  209. package/build/common/azure-hosting/hostingError.js +0 -83
  210. package/build/common/azure-hosting/hostingError.js.map +0 -1
  211. package/build/common/azure-hosting/hostingFactory.d.ts +0 -6
  212. package/build/common/azure-hosting/hostingFactory.d.ts.map +0 -1
  213. package/build/common/azure-hosting/hostingFactory.js +0 -22
  214. package/build/common/azure-hosting/hostingFactory.js.map +0 -1
  215. package/build/common/azure-hosting/interfaces.d.ts +0 -58
  216. package/build/common/azure-hosting/interfaces.d.ts.map +0 -1
  217. package/build/common/azure-hosting/interfaces.js +0 -12
  218. package/build/common/azure-hosting/interfaces.js.map +0 -1
  219. package/build/common/azure-hosting/messages.d.ts +0 -10
  220. package/build/common/azure-hosting/messages.d.ts.map +0 -1
  221. package/build/common/azure-hosting/messages.js +0 -16
  222. package/build/common/azure-hosting/messages.js.map +0 -1
  223. package/build/common/azure-hosting/utils.d.ts +0 -10
  224. package/build/common/azure-hosting/utils.d.ts.map +0 -1
  225. package/build/common/azure-hosting/utils.js +0 -107
  226. package/build/common/azure-hosting/utils.js.map +0 -1
  227. package/build/common/samples-config.json +0 -201
  228. package/build/component/code/spfxTabCode.d.ts +0 -11
  229. package/build/component/code/spfxTabCode.d.ts.map +0 -1
  230. package/build/component/code/spfxTabCode.js +0 -237
  231. package/build/component/code/spfxTabCode.js.map +0 -1
  232. package/build/component/envManager.d.ts +0 -4
  233. package/build/component/envManager.d.ts.map +0 -1
  234. package/build/component/envManager.js +0 -25
  235. package/build/component/envManager.js.map +0 -1
  236. package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts +0 -23
  237. package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts.map +0 -1
  238. package/build/component/feature/apiconnector/ApiConnectorImpl.js +0 -288
  239. package/build/component/feature/apiconnector/ApiConnectorImpl.js.map +0 -1
  240. package/build/component/feature/apiconnector/checker.d.ts +0 -7
  241. package/build/component/feature/apiconnector/checker.d.ts.map +0 -1
  242. package/build/component/feature/apiconnector/checker.js +0 -74
  243. package/build/component/feature/apiconnector/checker.js.map +0 -1
  244. package/build/component/feature/apiconnector/config.d.ts +0 -23
  245. package/build/component/feature/apiconnector/config.d.ts.map +0 -1
  246. package/build/component/feature/apiconnector/config.js +0 -5
  247. package/build/component/feature/apiconnector/config.js.map +0 -1
  248. package/build/component/feature/apiconnector/constants.d.ts +0 -50
  249. package/build/component/feature/apiconnector/constants.d.ts.map +0 -1
  250. package/build/component/feature/apiconnector/constants.js +0 -61
  251. package/build/component/feature/apiconnector/constants.js.map +0 -1
  252. package/build/component/feature/apiconnector/depsHandler.d.ts +0 -14
  253. package/build/component/feature/apiconnector/depsHandler.d.ts.map +0 -1
  254. package/build/component/feature/apiconnector/depsHandler.js +0 -109
  255. package/build/component/feature/apiconnector/depsHandler.js.map +0 -1
  256. package/build/component/feature/apiconnector/envHandler.d.ts +0 -21
  257. package/build/component/feature/apiconnector/envHandler.d.ts.map +0 -1
  258. package/build/component/feature/apiconnector/envHandler.js +0 -128
  259. package/build/component/feature/apiconnector/envHandler.js.map +0 -1
  260. package/build/component/feature/apiconnector/errors.d.ts +0 -53
  261. package/build/component/feature/apiconnector/errors.d.ts.map +0 -1
  262. package/build/component/feature/apiconnector/errors.js +0 -64
  263. package/build/component/feature/apiconnector/errors.js.map +0 -1
  264. package/build/component/feature/apiconnector/questions.d.ts +0 -41
  265. package/build/component/feature/apiconnector/questions.d.ts.map +0 -1
  266. package/build/component/feature/apiconnector/questions.js +0 -262
  267. package/build/component/feature/apiconnector/questions.js.map +0 -1
  268. package/build/component/feature/apiconnector/result.d.ts +0 -23
  269. package/build/component/feature/apiconnector/result.d.ts.map +0 -1
  270. package/build/component/feature/apiconnector/result.js +0 -40
  271. package/build/component/feature/apiconnector/result.js.map +0 -1
  272. package/build/component/feature/apiconnector/sampleHandler.d.ts +0 -10
  273. package/build/component/feature/apiconnector/sampleHandler.d.ts.map +0 -1
  274. package/build/component/feature/apiconnector/sampleHandler.js +0 -62
  275. package/build/component/feature/apiconnector/sampleHandler.js.map +0 -1
  276. package/build/component/feature/apiconnector/telemetry.d.ts +0 -42
  277. package/build/component/feature/apiconnector/telemetry.d.ts.map +0 -1
  278. package/build/component/feature/apiconnector/telemetry.js +0 -70
  279. package/build/component/feature/apiconnector/telemetry.js.map +0 -1
  280. package/build/component/feature/apiconnector/utils.d.ts +0 -18
  281. package/build/component/feature/apiconnector/utils.d.ts.map +0 -1
  282. package/build/component/feature/apiconnector/utils.js +0 -90
  283. package/build/component/feature/apiconnector/utils.js.map +0 -1
  284. package/build/component/generator/spfxGenerator.d.ts.map +0 -1
  285. package/build/component/generator/spfxGenerator.js.map +0 -1
  286. package/build/component/resource/azureAppService/azureAppService.d.ts +0 -12
  287. package/build/component/resource/azureAppService/azureAppService.d.ts.map +0 -1
  288. package/build/component/resource/azureAppService/azureAppService.js +0 -48
  289. package/build/component/resource/azureAppService/azureAppService.js.map +0 -1
  290. package/build/component/resource/azureAppService/azureFunction.d.ts +0 -36
  291. package/build/component/resource/azureAppService/azureFunction.d.ts.map +0 -1
  292. package/build/component/resource/azureAppService/azureFunction.js +0 -155
  293. package/build/component/resource/azureAppService/azureFunction.js.map +0 -1
  294. package/build/component/resource/azureAppService/azureLibs.d.ts +0 -6
  295. package/build/component/resource/azureAppService/azureLibs.d.ts.map +0 -1
  296. package/build/component/resource/azureAppService/azureLibs.js +0 -13
  297. package/build/component/resource/azureAppService/azureLibs.js.map +0 -1
  298. package/build/component/resource/azureAppService/azureWebApp.d.ts +0 -30
  299. package/build/component/resource/azureAppService/azureWebApp.d.ts.map +0 -1
  300. package/build/component/resource/azureAppService/azureWebApp.js +0 -43
  301. package/build/component/resource/azureAppService/azureWebApp.js.map +0 -1
  302. package/build/component/resource/azureAppService/common.d.ts +0 -10
  303. package/build/component/resource/azureAppService/common.d.ts.map +0 -1
  304. package/build/component/resource/azureAppService/common.js +0 -80
  305. package/build/component/resource/azureAppService/common.js.map +0 -1
  306. package/build/component/resource/azureAppService/dir-walk.d.ts +0 -4
  307. package/build/component/resource/azureAppService/dir-walk.d.ts.map +0 -1
  308. package/build/component/resource/azureAppService/dir-walk.js +0 -21
  309. package/build/component/resource/azureAppService/dir-walk.js.map +0 -1
  310. package/build/component/resource/azureSql/actions/configure.d.ts +0 -15
  311. package/build/component/resource/azureSql/actions/configure.d.ts.map +0 -1
  312. package/build/component/resource/azureSql/actions/configure.js +0 -92
  313. package/build/component/resource/azureSql/actions/configure.js.map +0 -1
  314. package/build/component/resource/azureSql/actions/provision.d.ts +0 -10
  315. package/build/component/resource/azureSql/actions/provision.d.ts.map +0 -1
  316. package/build/component/resource/azureSql/actions/provision.js +0 -63
  317. package/build/component/resource/azureSql/actions/provision.js.map +0 -1
  318. package/build/component/resource/azureSql/actions/utils.d.ts +0 -12
  319. package/build/component/resource/azureSql/actions/utils.d.ts.map +0 -1
  320. package/build/component/resource/azureSql/actions/utils.js +0 -82
  321. package/build/component/resource/azureSql/actions/utils.js.map +0 -1
  322. package/build/component/resource/azureSql/azureSql.d.ts +0 -24
  323. package/build/component/resource/azureSql/azureSql.d.ts.map +0 -1
  324. package/build/component/resource/azureSql/azureSql.js +0 -75
  325. package/build/component/resource/azureSql/azureSql.js.map +0 -1
  326. package/build/component/resource/azureSql/clients/management.d.ts +0 -18
  327. package/build/component/resource/azureSql/clients/management.d.ts.map +0 -1
  328. package/build/component/resource/azureSql/clients/management.js +0 -124
  329. package/build/component/resource/azureSql/clients/management.js.map +0 -1
  330. package/build/component/resource/azureSql/clients/sql.d.ts +0 -13
  331. package/build/component/resource/azureSql/clients/sql.d.ts.map +0 -1
  332. package/build/component/resource/azureSql/clients/sql.js +0 -153
  333. package/build/component/resource/azureSql/clients/sql.js.map +0 -1
  334. package/build/component/resource/azureSql/config.d.ts +0 -7
  335. package/build/component/resource/azureSql/config.d.ts.map +0 -1
  336. package/build/component/resource/azureSql/config.js +0 -77
  337. package/build/component/resource/azureSql/config.js.map +0 -1
  338. package/build/component/resource/azureSql/constants.d.ts +0 -85
  339. package/build/component/resource/azureSql/constants.d.ts.map +0 -1
  340. package/build/component/resource/azureSql/constants.js +0 -95
  341. package/build/component/resource/azureSql/constants.js.map +0 -1
  342. package/build/component/resource/azureSql/errors.d.ts +0 -63
  343. package/build/component/resource/azureSql/errors.d.ts.map +0 -1
  344. package/build/component/resource/azureSql/errors.js +0 -107
  345. package/build/component/resource/azureSql/errors.js.map +0 -1
  346. package/build/component/resource/azureSql/index.d.ts +0 -2
  347. package/build/component/resource/azureSql/index.d.ts.map +0 -1
  348. package/build/component/resource/azureSql/index.js +0 -7
  349. package/build/component/resource/azureSql/index.js.map +0 -1
  350. package/build/component/resource/azureSql/questions.d.ts +0 -6
  351. package/build/component/resource/azureSql/questions.d.ts.map +0 -1
  352. package/build/component/resource/azureSql/questions.js +0 -59
  353. package/build/component/resource/azureSql/questions.js.map +0 -1
  354. package/build/component/resource/azureSql/results.d.ts +0 -10
  355. package/build/component/resource/azureSql/results.d.ts.map +0 -1
  356. package/build/component/resource/azureSql/results.js +0 -34
  357. package/build/component/resource/azureSql/results.js.map +0 -1
  358. package/build/component/resource/azureSql/types.d.ts +0 -12
  359. package/build/component/resource/azureSql/types.d.ts.map +0 -1
  360. package/build/component/resource/azureSql/types.js +0 -5
  361. package/build/component/resource/azureSql/types.js.map +0 -1
  362. package/build/component/resource/azureSql/utils/checkInput.d.ts +0 -10
  363. package/build/component/resource/azureSql/utils/checkInput.d.ts.map +0 -1
  364. package/build/component/resource/azureSql/utils/checkInput.js +0 -89
  365. package/build/component/resource/azureSql/utils/checkInput.js.map +0 -1
  366. package/build/component/resource/azureSql/utils/common.d.ts +0 -12
  367. package/build/component/resource/azureSql/utils/common.d.ts.map +0 -1
  368. package/build/component/resource/azureSql/utils/common.js +0 -51
  369. package/build/component/resource/azureSql/utils/common.js.map +0 -1
  370. package/build/component/resource/azureStorage/azureStorage.d.ts +0 -31
  371. package/build/component/resource/azureStorage/azureStorage.d.ts.map +0 -1
  372. package/build/component/resource/azureStorage/azureStorage.js +0 -111
  373. package/build/component/resource/azureStorage/azureStorage.js.map +0 -1
  374. package/build/component/resource/azureStorage/clients.d.ts +0 -23
  375. package/build/component/resource/azureStorage/clients.d.ts.map +0 -1
  376. package/build/component/resource/azureStorage/clients.js +0 -133
  377. package/build/component/resource/azureStorage/clients.js.map +0 -1
  378. package/build/component/resource/azureStorage/configs.d.ts +0 -12
  379. package/build/component/resource/azureStorage/configs.d.ts.map +0 -1
  380. package/build/component/resource/azureStorage/configs.js +0 -30
  381. package/build/component/resource/azureStorage/configs.js.map +0 -1
  382. package/build/component/resource/azureStorage/constants.d.ts +0 -11
  383. package/build/component/resource/azureStorage/constants.d.ts.map +0 -1
  384. package/build/component/resource/azureStorage/constants.js +0 -17
  385. package/build/component/resource/azureStorage/constants.js.map +0 -1
  386. package/build/component/resource/azureStorage/messages.d.ts +0 -14
  387. package/build/component/resource/azureStorage/messages.d.ts.map +0 -1
  388. package/build/component/resource/azureStorage/messages.js +0 -28
  389. package/build/component/resource/azureStorage/messages.js.map +0 -1
  390. package/build/component/resource/botService/botService.d.ts +0 -24
  391. package/build/component/resource/botService/botService.d.ts.map +0 -1
  392. package/build/component/resource/botService/botService.js +0 -146
  393. package/build/component/resource/botService/botService.js.map +0 -1
  394. package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -11
  395. package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
  396. package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
  397. package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
  398. package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
  399. package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
  400. package/build/component/resource/spfx/depsChecker/yoChecker.js.map +0 -1
  401. package/build/component/resource/spfx/error.d.ts +0 -21
  402. package/build/component/resource/spfx/error.d.ts.map +0 -1
  403. package/build/component/resource/spfx/error.js +0 -138
  404. package/build/component/resource/spfx/error.js.map +0 -1
  405. package/build/component/resource/spfx/index.d.ts +0 -15
  406. package/build/component/resource/spfx/index.d.ts.map +0 -1
  407. package/build/component/resource/spfx/index.js +0 -248
  408. package/build/component/resource/spfx/index.js.map +0 -1
  409. package/build/component/resource/spfx/spoClient.d.ts +0 -25
  410. package/build/component/resource/spfx/spoClient.d.ts.map +0 -1
  411. package/build/component/resource/spfx/spoClient.js +0 -79
  412. package/build/component/resource/spfx/spoClient.js.map +0 -1
  413. package/build/component/resource/spfx/utils/constants.d.ts.map +0 -1
  414. package/build/component/resource/spfx/utils/constants.js.map +0 -1
  415. package/build/component/resource/spfx/utils/progress-helper.d.ts.map +0 -1
  416. package/build/component/resource/spfx/utils/progress-helper.js +0 -46
  417. package/build/component/resource/spfx/utils/progress-helper.js.map +0 -1
  418. package/build/component/resource/spfx/utils/question-helper.d.ts.map +0 -1
  419. package/build/component/resource/spfx/utils/question-helper.js.map +0 -1
  420. package/build/component/resource/spfx/utils/questions.d.ts.map +0 -1
  421. package/build/component/resource/spfx/utils/questions.js.map +0 -1
  422. package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
  423. package/build/component/resource/spfx/utils/telemetry-helper.js.map +0 -1
  424. package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
  425. package/build/component/resource/spfx/utils/telemetryEvents.js.map +0 -1
  426. package/build/component/resource/spfx/utils/utils.d.ts.map +0 -1
  427. package/build/component/resource/spfx/utils/utils.js.map +0 -1
  428. package/build/component/utils/backupFiles.d.ts +0 -4
  429. package/build/component/utils/backupFiles.d.ts.map +0 -1
  430. package/build/component/utils/backupFiles.js +0 -162
  431. package/build/component/utils/backupFiles.js.map +0 -1
  432. package/build/component/utils/executor.d.ts +0 -12
  433. package/build/component/utils/executor.d.ts.map +0 -1
  434. package/build/component/utils/executor.js +0 -87
  435. package/build/component/utils/executor.js.map +0 -1
  436. package/build/core/downloadSample.d.ts +0 -9
  437. package/build/core/downloadSample.d.ts.map +0 -1
  438. package/build/core/downloadSample.js +0 -161
  439. package/build/core/downloadSample.js.map +0 -1
  440. package/resource/backup-config-change-logs.md +0 -24
  441. package/templates/bicep/azureSql.parameters.json +0 -4
  442. package/templates/bicep/azureSql.provisionDatabase.module.bicep +0 -15
  443. package/templates/bicep/azureSql.provisionDatabase.orchestration.bicep +0 -5
  444. package/templates/bicep/azureSql.provisionServer.module.bicep +0 -44
  445. package/templates/bicep/azureSql.provisionServer.orchestration.bicep +0 -14
  446. package/templates/bicep/identity.provision.module.bicep +0 -15
  447. package/templates/bicep/identity.provision.orchestration.bicep +0 -14
  448. package/templates/bicep/keyVault.provision.module.bicep +0 -57
  449. package/templates/bicep/keyVault.provision.orchestration.bicep +0 -15
  450. package/templates/plugins/resource/apiconnector/package.json +0 -5
  451. package/templates/plugins/resource/apiconnector/sample/footerComment.template +0 -20
  452. package/templates/plugins/resource/apiconnector/sample/headerComment.template +0 -52
  453. package/templates/plugins/resource/apiconnector/sample/js/aad.template +0 -31
  454. package/templates/plugins/resource/apiconnector/sample/js/apikey.template +0 -19
  455. package/templates/plugins/resource/apiconnector/sample/js/basic.template +0 -14
  456. package/templates/plugins/resource/apiconnector/sample/js/cert.template +0 -17
  457. package/templates/plugins/resource/apiconnector/sample/js/custom.template +0 -39
  458. package/templates/plugins/resource/apiconnector/sample/ts/aad.template +0 -36
  459. package/templates/plugins/resource/apiconnector/sample/ts/apikey.template +0 -16
  460. package/templates/plugins/resource/apiconnector/sample/ts/basic.template +0 -14
  461. package/templates/plugins/resource/apiconnector/sample/ts/cert.template +0 -19
  462. package/templates/plugins/resource/apiconnector/sample/ts/custom.template +0 -42
  463. package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +0 -15
  464. package/templates/plugins/resource/identity/bicep/provision.template.bicep +0 -14
  465. package/templates/plugins/resource/identity/parameters.json +0 -12
  466. package/templates/plugins/resource/identity/template.json +0 -28
  467. package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +0 -57
  468. package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +0 -15
  469. package/templates/plugins/resource/simpleauth/SimpleAuth.zip +0 -0
  470. package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +0 -12
  471. package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +0 -14
  472. package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +0 -62
  473. package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +0 -51
  474. package/templates/plugins/resource/simpleauth/version.txt +0 -2
  475. package/templates/plugins/resource/spfx/solution/README.md +0 -82
  476. package/templates/plugins/resource/spfx/solution/manifest.local.template.json +0 -62
  477. package/templates/plugins/resource/spfx/solution/manifest_multi_env.json +0 -63
  478. package/templates/plugins/resource/spfx/solution/rootREADME.md +0 -13
  479. package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +0 -5
  480. package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +0 -15
  481. package/templates/plugins/resource/sql/bicep/parameters.json +0 -4
  482. package/templates/plugins/resource/sql/bicep/provision.template.bicep +0 -14
  483. package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +0 -44
  484. /package/build/component/{resource → generator}/spfx/depsChecker/dependencyChecker.js +0 -0
  485. /package/build/component/generator/{spfxGenerator.d.ts → spfx/spfxGenerator.d.ts} +0 -0
  486. /package/build/component/{resource → generator}/spfx/utils/question-helper.d.ts +0 -0
  487. /package/build/component/{resource → generator}/spfx/utils/question-helper.js +0 -0
  488. /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.d.ts +0 -0
  489. /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.js +0 -0
  490. /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.d.ts +0 -0
  491. /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.js +0 -0
  492. /package/build/component/{resource → generator}/spfx/utils/utils.d.ts +0 -0
  493. /package/build/component/{resource → generator}/spfx/utils/utils.js +0 -0
@@ -1,44 +1,23 @@
1
1
  {
2
2
  "core.provision.provision": "Provision",
3
3
  "core.provision.learnMore": "Learn more",
4
- "core.provision.switchedM365AccountNotice": "You are now using a different Microsoft 365 tenant from what you previously used.",
5
- "core.provision.switchedAzureSubscriptionNotice": "You are now using a different Azure subscription from what you previously used.",
6
- "core.provision.switchedM365AccountAndAzureSubscriptionNotice": "You are now using a different Microsoft 365 tenant and a different Azure subscription from what you previously used.",
7
- "core.provision.createNewAzureBotNotice": "We will create a new Azure bot resource.",
8
4
  "core.provision.azureAccount": "Azure account: %s",
9
5
  "core.provision.azureSubscription": "Azure subscription: %s",
10
6
  "core.provision.m365Account": "Microsoft 365 account: %s",
11
7
  "core.provision.confirmEnvAndCostNotice": "Cost may incur according to the usage. Do you want to provision resources in %s environment using accounts listed above?",
12
- "core.provision.confirmEnvOnlyNotice": "Do you want to provision resources in %s environment using the account listed above?",
13
- "core.deploy.confirmEnvNotice": "Do you want to deploy resources in %s environment?\nAzure account (%s) with subscription (%s) will be used for deployment.",
14
8
  "core.deploy.confirmEnvNoticeV3": "Do you want to deploy resources in %s environment?",
15
9
  "core.provision.viewResources": "View provisioned resources",
16
- "core.deploy.noCapabilityFound": "No capability found to %s. Click Get Help to learn more about how to add capabilities.",
17
10
  "core.deploy.aadManifestSuccessNotice": "Your Azure Active Directory application has been successfully deployed. Click \"Learn more\" to check how to view your Azure Active Directory application.",
18
11
  "core.deploy.aadManifestOnCLISuccessNotice": "Your Azure Active Directory application has been successfully updated.",
19
12
  "core.deploy.aadManifestLearnMore": "Learn more",
20
- "core.deploy.failNotice": "Unable to deploy '%s'!",
21
13
  "core.deploy.botTroubleShoot": "To troubleshoot bot application in azure, please click learn more for documentation.",
22
14
  "core.deploy.botTroubleShoot.learnMore": "Learn more",
23
- "core.deploy.startNotice": "[%s] Deployment start.",
24
- "core.deploy.selectedPluginsToDeployNotice": "[%s] Selected plugins to deploy: %s",
25
15
  "core.option.deploy": "Deploy",
26
16
  "core.option.confirm": "Confirm",
27
17
  "core.option.cancel": "Cancel",
28
18
  "core.option.learnMore": "Learn more",
29
19
  "core.option.upgrade": "Upgrade",
30
20
  "core.option.moreInfo": "More Info",
31
- "core.addCapability.addCapabilityNotice": "Capability %s has been successfully added to your project. F5 to debug the application or trigger 'Teams: Provision in the cloud' to create resources.",
32
- "core.addCapability.addCapabilitiesNotice": "Capabilities %s have been successfully added to your project. F5 to debug the application or trigger 'Teams: Provision in the cloud' to create resources.",
33
- "core.addCapability.addCapabilityNoticeForCli": "Capability %s has been successfully added to your project. Run 'teamsfx provision' to create resources.",
34
- "core.addCapability.addCapabilitiesNoticeForCli": "Capabilities %s have been successfully added to your project. Run 'teamsfx provision' to create resources.",
35
- "core.addResource.addResourceNotice": "Resource %s has been successfully configured for your project, trigger 'Teams: Provision in the cloud' will create the resource in your Azure subscription.",
36
- "core.addResource.addResourceNoticeForCli": "Resource %s has been successfully configured for your project, run 'teamsfx provision' will create the resource in your Azure subscription.",
37
- "core.addResource.addResourcesNotice": "Resources %s have been successfully configured for your project, trigger 'Teams: Provision in the cloud' will create the resources in your Azure subscription.",
38
- "core.addResource.addResourcesNoticeForCli": "Resources %s have been successfully configured for your project, run 'teamsfx provision' will create the resources in your Azure subscription.",
39
- "core.NoPluginSelected": "No plugin selected",
40
- "core.question.AzureResourcesQuestion.placeholder": "Select a resource (optional)",
41
- "core.question.AzureResourcesQuestion.title": "Cloud resources",
42
21
  "core.progress.scaffoldTab": "Scaffolding Tab",
43
22
  "core.progress.scaffoldTab.detail": "Scaffolding tab app.",
44
23
  "core.progress.scaffoldBot": "Scaffolding Bot",
@@ -99,8 +78,6 @@
99
78
  "core.deployArmTemplates.FailedToGetSubsId": "Unable to get subscription id.",
100
79
  "core.deployArmTemplates.ActionSuccess": "Successfully deployed ARM templates. Resource group name: %s. Deployment name: %s",
101
80
  "core.handleConfigFile.FailedToUpdateAzureParameters": "Unable to update Azure parameters for %s environment.",
102
- "core.appSettingsUtil.FailedToResetAppSettingsDevelopment": "Unable to reset values in appsettings.Development.json.",
103
- "core.backupFiles.FailedToBackupFiles": "Unable to backup %s.",
104
81
  "core.collaboration.ListCollaboratorsSuccess": "'List Microsoft 365 App owners' succeeded, you can view it in [Output panel](%s).",
105
82
  "core.collaboration.GrantingPermission": "Granting permission",
106
83
  "core.collaboration.EmailCannotBeEmptyOrSame": "Collaborator's email cannot be null or same as current user",
@@ -130,7 +107,6 @@
130
107
  "core.collaboration.tenantNotMatch": "Tenant id of your account and the provisioned Azure AD app does not match. Check whether you logined with wrong account.",
131
108
  "core.developerPortal.scaffold.CannotFindManifest": "Could not find manifest from the downloaded package for teams app %s.",
132
109
  "plugins.spfx.questions.framework.title": "Framework",
133
- "plugins.spfx.questions.versionCheck.title": "Checking Node.js and NPM versions...",
134
110
  "plugins.spfx.questions.webpartName.error.duplicate": "The folder %s already exists. Choose a different name for your component.",
135
111
  "plugins.spfx.questions.webpartName.error.notMatch": "%s doesn't match pattern: %s",
136
112
  "plugins.spfx.questions.packageSelect.title": "SharePoint Framework",
@@ -140,12 +116,8 @@
140
116
  "plugins.spfx.questions.packageSelect.useGlobalPackage.detail": "SPFx %s or later",
141
117
  "plugins.spfx.questions.packageSelect.installLocally.withVersion.label": "Install the latest SPFx (%s) locally in Teams Toolkit directory ",
142
118
  "plugins.spfx.questions.packageSelect.installLocally.noVersion.label": "Install the latest SPFx locally in Teams Toolkit directory ",
143
- "plugins.spfx.buildNotice": "SharePoint package successfully built at %s.",
144
119
  "plugins.spfx.deployNotice": "SharePoint package %s has been successfully deployed to [%s](%s).",
145
- "plugins.spfx.deployFailedNotice": "You don't have permission to upload and deploy package to App Catalog %s, use site admin account, or you can get your own free Microsoft 365 tenant from [Microsoft 365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program)",
146
- "plugins.spfx.createAppCatalogNotice": "There is no tenant app catalog under %s, do you want to create one?",
147
120
  "plugins.spfx.cannotFindPackage": "Cannot find SharePoint package %s",
148
- "plugins.spfx.cannotFindManifest": "Cannot find manifest file %s",
149
121
  "plugins.spfx.cannotGetSPOToken": "Cannot get SPO access token",
150
122
  "plugins.spfx.cannotGetGraphToken": "Cannot get Graph access token",
151
123
  "plugins.spfx.insufficientPermission": "Unable to upload and deploy package to App Catalog %s. You need your org's Microsoft 365 tenant admin permissions. You can get free Microsoft 365 tenant from [Microsoft 365 developer program](%s) for testing purpose.",
@@ -153,12 +125,7 @@
153
125
  "plugins.spfx.uploadAppcatalogFail": "Unable to upload app package, due to %s",
154
126
  "plugins.spfx.buildSharepointPackage": "Building SharePoint package",
155
127
  "plugins.spfx.deploy.title": "Upload and deploy SharePoint package",
156
- "plugins.spfx.deploy.createAppcatalog": "Create SharePoint app catalog",
157
- "plugins.spfx.deploy.uploadAddDeploy": "Upload and deploy SPFx package to your tenant app catalog",
158
128
  "plugins.spfx.scaffold.title": "Scaffolding project",
159
- "plugins.spfx.error.npmNotFound": "NPM not found on your machine. Install the supported version.",
160
- "plugins.spfx.error.npmVersionNotSupported": "NPM version v%s is not supported for SPFx v%s.",
161
- "plugins.spfx.error.nodeVersionNotSupported": "Node.js version v%s is not supported for SPFx v%s.",
162
129
  "plugins.spfx.error.npmInstallFailed": "Unable to run 'npm install' due to %s",
163
130
  "plugins.spfx.error.invalidDependency": "Unable to validate package %s",
164
131
  "plugins.spfx.error.noConfiguration": "There's no .yo-rc.json file in your SPFx project, add the configuration file and try again.",
@@ -182,12 +149,9 @@
182
149
  "plugins.appstudio.createPackage.progressBar.message": "Building Teams app package...",
183
150
  "plugins.appstudio.publishTip": "Teams: Publish to Teams",
184
151
  "plugins.appstudio.validationFailedNotice": "Manifest Validation failed!",
185
- "plugins.appstudio.validationSucceedNotice": "Manifest Validation succeed!",
186
152
  "plugins.appstudio.validateManifest.progressBar.message": "Validating manifest...",
187
153
  "plugins.appstudio.validateAppPackage.progressBar.message": "Validating app package...",
188
- "plugins.appstudio.adminApprovalTip": "Successfully created %s app package file at %s. Send this to your administrator for approval.",
189
154
  "plugins.appstudio.adminPortal": "Go to admin portal",
190
- "plugins.appstudio.publishSucceedNotice": "[%s] successfully published to the admin portal. Once approved, your app will be available for your organization. [Learn more](%s)",
191
155
  "plugins.appstudio.publishSucceedNotice.cli": "[%s] has been successfully published to the Admin Portal (%s). Once approved, your app will be available for your organization. Learn more from %s.",
192
156
  "plugins.appstudio.updatePublihsedAppConfirm": "Do you want to submit a new update?",
193
157
  "plugins.appstudio.teamsAppCreatedNotice": "Teams app created %s",
@@ -196,10 +160,8 @@
196
160
  "plugins.appstudio.teamsAppUpdatedCLINotice": "Your Teams application manifest has been successfully deployed to ",
197
161
  "plugins.appstudio.updateManifestTip": "The manifest file configurations has been modified already. Do you want to continue to regenerate the manifest file and update to Teams platform?",
198
162
  "plugins.appstudio.updateOverwriteTip": "The manifest file on Teams platform has been changed since your last update. Do you want to continue to update and overwrite the manifest file on Teams platform?",
199
- "plugins.appstudio.provisionTip": "You must run 'Provision in the cloud' first to fill out certain fields in manifest. Click Get Help to learn more about why you need to provision.",
200
163
  "plugins.appstudio.provisionTitle": "Provision Teams app",
201
164
  "plugins.appstudio.provisionProgress": "Registering Teams app %s...",
202
- "plugins.appstudio.postProvisionProgress": "Updating Teams app %s...",
203
165
  "plugins.appstudio.manuallySubmitTip": "Manually submit Teams app package file",
204
166
  "plugins.appstudio.manuallySubmitDescription": "Build the Teams app package. You will need to send it to your Teams administrator manually",
205
167
  "plugins.appstudio.autoPublishTip": "Install for your organization",
@@ -234,98 +196,26 @@
234
196
  "plugins.bot.triggers.timer-functions.description": "Azure Functions",
235
197
  "plugins.bot.triggers.timer-functions.detail": "A running function hosted on Azure Functions can respond based on a specific schedule.",
236
198
  "plugins.bot.triggers.timer-functions.label": "Timer Trigger",
237
- "plugins.sql.getQuestionAdminName.title": "Azure SQL server admin username",
238
- "plugins.sql.getQuestionAdminName.validation.sqlUserNameEmpty": "Azure SQL server admin username cannot be empty",
239
- "plugins.sql.getQuestionAdminName.validation.sqlUserNameContainsSqlIdentifier": "Azure SQL server admin username cannot be empty",
240
- "plugins.sql.getQuestionAdminName.validation.sqlUserNameContainsNonAlphanumeric": "Azure SQL server admin username cannot include non-alphanumeric characters",
241
- "plugins.sql.getQuestionAdminName.validation.sqlUserNameStartWithNumber": "Azure SQL server admin username cannot start with a number",
242
- "plugins.sql.getQuestionAdminPassword.title": "Azure SQL server admin password",
243
- "plugins.sql.getQuestionAdminPassword.validation.sqlPasswordEmpty": "Azure SQL server admin password cannot be empty",
244
- "plugins.sql.getQuestionAdminPassword.validation.sqlPasswordLengthLessThan8": "Azure SQL server admin password must be at least 8 characters in length",
245
- "plugins.sql.getQuestionAdminPassword.validation.sqlPasswordLengthGreatThan128": "Azure SQL server admin password must be no more than 128 characters in length",
246
- "plugins.sql.getQuestionAdminPassword.validation.sqlPasswordMustContain3Categories": "Your password must contain characters from three of the following categories – English uppercase letters, English lowercase letters, numbers (0-9), and non-alphanumeric characters (!, $, #, %, etc.)",
247
- "plugins.sql.getQuestionAdminPassword.validation.sqlPasswordCannotContainUserName": "Your password cannot contain part or all of the user name",
248
- "plugins.sql.getQuestionConfirmPassword.title": "Confirm Azure SQL server admin password",
249
- "plugins.sql.getQuestionConfirmPassword.validation.sqlPasswordMustMatch": "Password and password confirmation must match",
250
199
  "plugins.cicd.ciOption.detail": "Help checkout code, build and run test.",
251
200
  "plugins.cicd.cdOption.detail": "Help checkout code, build, test and deploy to cloud.",
252
201
  "plugins.cicd.provisionOption.detail": "Help create/update resources in cloud and Teams app registration.",
253
202
  "plugins.cicd.publishOption.detail": "Help publish Teams app to tenants.",
254
- "plugins.cicd.whichProvider.title": "Select a CI/CD Provider",
255
- "plugins.cicd.whichTemplate.title": "Select template(s)",
256
- "plugins.cicd.whichEnvironment.title": "Select an environment",
257
203
  "plugins.cicd.ProgressBar.scaffold.title": "Scaffolding workflow automation files",
258
204
  "plugins.cicd.ProgressBar.scaffold.detail": "Scaffolding workflow file for %s.",
259
205
  "plugins.cicd.result.scaffold.created": "Workflow automation - including %s using %s for %s environment - has been successfully added to your project. Follow the instructions in README file to configure your workflow(s).",
260
206
  "plugins.cicd.result.scaffold.skipped": "You have already created template(s) of %s using %s for %s environment, customize it or remove it to create a new one.",
261
207
  "plugins.cicd.suggestions.checkPermission": "Check if you got sufficient permission.",
262
208
  "plugins.cicd.suggestions.createProjectOrOpenExisting": "You can create a new project or open an existing one.",
263
- "error.cicd.FailedToListMultiEnv": "Unable to list multi env: %s.",
264
209
  "error.cicd.PreconditionNotMet": "Some preconditions of inputs are not met.",
265
- "plugins.apiConnector.getQuestionApiName.title": "Enter a friendly name for your API.",
266
- "plugins.apiConnector.getQuestionApiName.placeholder": "API alias will be used to generate app setting names.",
267
- "plugins.apiConnector.getQuestionEndpoint.title": "Enter an API endpoint for debugging.",
268
- "plugins.apiConnector.getQuestionEndpoint.placeholder": "API endpoint will be added to local app setting.",
269
- "plugins.apiConnector.getQuestion.basicAuth.userName.title": "Enter the username for Basic Auth.",
270
- "plugins.apiConnector.getQuestion.basicAuth.userName.placeholder": "Username will be added to local app setting.",
271
- "plugins.apiConnector.getQuestion.appType.title": "Select an AAD app registration you want to use.",
272
- "plugins.apiConnector.getQuestion.apiKeyLocation.title": "Select the API Key position in request.",
273
- "plugins.apiConnector.getQuestion.apiKeyName.title": "Enter an API Key name.",
274
- "plugins.apiConnector.getQuestion.apiKeyName.placeholder": "We will add the key name to generated file.",
275
- "plugins.apiConnector.whichService.title": "Select component(s) to invoke the API.",
276
- "plugins.apiConnector.whichService.placeholder": "We will import packages and add app settings.",
277
- "plugins.apiConnector.whichAuthType.title": "Select an API authentication type.",
278
- "plugins.apiConnector.whichAuthType.placeholder": "We will generate sample code based on your selection.",
279
- "plugins.apiConnector.reuseAppOption.title": "Reuse app registration in current Teams app",
280
- "plugins.apiConnector.anotherAppOption.title": "Use another app registration",
281
- "plugins.apiConnector.requestHeaderOption.title": "Request header",
282
- "plugins.apiConnector.queryParamsOption.title": "Query parameter",
283
- "plugins.apiConnector.appTenantId.title": "Enter an AAD tenant id.",
284
- "plugins.apiConnector.appTenantId.placeholder": "AAD tenant id will be added to local app setting.",
285
- "plugins.apiConnector.appId.title": "Enter an AAD application id (client id).",
286
- "plugins.apiConnector.appId.placeholder": "AAD application id (client id) will be added to local app setting.",
287
- "plugins.apiConnector.botOption.title": "Notification / Command & Response",
288
- "plugins.apiConnector.functionOption.title": "Azure Functions App",
289
- "plugins.apiConnector.BasicAuthOption.detail": "Use username and password to authentication requests",
290
- "plugins.apiConnector.CertAuthOption.detail": "Use certificate to authenticate requests",
291
- "plugins.apiConnector.AADAuthOption.detail": "Use access token issued by Azure Active Directory to authenticate requests",
292
- "plugins.apiConnector.APIKeyOption.detail": "Use API Key to authenticate requests",
293
- "plugins.apiConnector.ImplementMyselfOption.detail": "Use customized logic to authenticate requests",
294
- "plugins.apiConnector.questionComponentSelect.emptySelection": "You have to select at least one component.",
295
- "plugins.apiConnector.QuestionAppName.validation.ApiNameExist": "Please provide a different API name to avoid conflicts with existing file %s",
296
- "plugins.apiConnector.QuestionAppName.validation.ApiNameAlphanumeric": "Please provide a different API name contains alphanumeric only",
297
- "plugins.apiConnector.QuestionAppName.validation.ApiNameNumberPrefix": "Please provide a different API name without number beginning",
298
- "plugins.apiConnector.Question.validation.EmptyValue": "The value should not be empty",
299
- "plugins.apiConnector.Question.validation.NotGuid": "The value should be guid",
300
- "plugins.apiConnector.QuestionApiEndpoint.validation.NotHttp": "The API endpoint should be a valid http(s) url",
301
- "plugins.apiConnector.Notification.GenerateFiles": "We have generated sample code to call your API at %s. Open the file(s) and follow the instructions in it to start invoking your APIs.",
302
- "plugins.apiConnector.Notification.LinkNotification": "You can visit %s to understand how to call your API with TeamsFx SDK.",
303
- "plugins.apiConnector.Log.CommandSuccess": "We have successfully updated your project to call target API. Here is a list of created/updated files:\n\n%s",
304
- "error.rgCheckBaseError": "Unable to check the existence of resource group '%s' in subscription '%'",
305
- "error.rgUnauthorizedError": "Unauthorized to check the existence of resource group '%s' in subscription '%s'. Check your Azure subscription.",
306
- "error.ProjectFolderExistError": "Path %s already exists. Select a different folder.",
307
- "error.ProjectFolderInvalidError": "Path %s is invalid, set valid root folder in user settings(Use absolute directory or relative directory start with \\${homeDir} ).",
308
210
  "error.NoProjectOpenedError": "No project opened, you can create a new project or open an existing one.",
309
- "error.InitializedFileExistError": "Initialized file(s) %s already exist, clean up and try again.",
310
211
  "error.InvalidProjectSettingsFileError": "The projectSettings.json file is invalid: %s.",
311
- "error.FetchSampleError": "Unable to get data from remote repository for %s.",
312
212
  "error.InvalidEnvNameError": "Environment name can only contain letters, digits, _ and -.",
313
- "error.UpgradeCanceledError": "If you don't want to upgrade your project, install another version of Teams Toolkit (version <= 2.10.0).",
314
213
  "error.UpgradeV3CanceledError": "If you are not ready to upgrade, please continue to use the old version of Teams Toolkit",
315
- "error.ConsolidateCanceledError": "If you don't want to upgrade your project, install another version of Teams Toolkit (version <= 3.7.0).",
316
- "error.OperationNotPermittedError": "Operation is not permitted: %s",
317
214
  "error.InvalidInputError": "Invalid inputs: %s",
318
- "error.ProjectSettingsUndefinedError": "Project settings is undefined",
319
- "error.MultipleEnvNotEnabledError": "MultipleEnv feature is not enabled",
320
215
  "error.ProjectEnvAlreadyExistError": "Project environment %s already exists.",
321
216
  "error.InvalidEnvConfigError": "The configuration %s is invalid, details: %s.",
322
217
  "error.NotImplementedError": "Method not implemented: %s",
323
- "error.LoadPluginError": "Unable to load plugin",
324
- "error.SPFxConfigError": "Load SPFx config %s failed.",
325
- "error.ProjectSettingError": "Load project settings failed.",
326
- "error.SolutionConfigError": "Load solution context failed.",
327
218
  "error.FailedToParseResourceIdError": "Unable to get '%s' from resource id: '%s'",
328
- "error.MissingSubscriptionInConfig": "Please provide the subscription id of the resource group (%s) in (%s)",
329
219
  "error.NoSubscriptionFound": "Unable to find a subscription.",
330
220
  "error.TrustCertificateCancelError": "User canceled. For Teams to trust the self-signed SSL certificate used by the toolkit, a self-signed certificate must be added to your certificate store.",
331
221
  "error.BicepGenerationError": "Unable to generate Bicep file %s. Reason: %s",
@@ -370,36 +260,6 @@
370
260
  "error.generator.DownloadSampleApiLimitError": "Unable to download sample due to throttling. Retry later after rate limit reset (This may take up to 1 hour). Alternatively, you can go to %s to git clone the repo manually",
371
261
  "error.generator.DownloadSampleNetworkError": "Unable to download sample due to network error. Check your network connection and retry. Alternatively, you can go to %s to git clone the repo manually",
372
262
  "error.generator.ParseUrlError": "Unable to parse url %s",
373
- "error.sql.GetDetail": "Get the detailed error message in [Output panel](command:fx-extension.showOutputChannel).",
374
- "error.sql.LinkHelpMessage": "You can follow %s to handle it.",
375
- "error.sql.SqlInputError": "SQL admin name or password is empty",
376
- "error.sql.SqlAskInputError": "Unable to get answer for SQL questions",
377
- "error.sql.SqlEndpointError": "SQL Server %s is invalid.",
378
- "error.sql.DatabaseUserCreateError": "Unable to create user '%s' in database %s",
379
- "error.sql.SqlAddAdminError": "Unable to add AAD admin '%s'. %s",
380
- "error.sql.SqlLocalFirwallError": "Unable to add local firewall for '%s'. %s",
381
- "error.sql.SqlDeleteLocalFirwallError": "Unable to delete local firewall for '%s'. Delete '%s' manually. %s",
382
- "error.sql.SqlUserInfoError": "Unable to get login user info.",
383
- "error.sql.SqlGetConfigError": "Unable to get config value of '%s' from '%s'.",
384
- "error.sql.SqlInvalidConfigError": "The config value of '%s' is invalid for %s.",
385
- "error.sql.SqlCheckError": "Unable to check SQL Server '%s'. %s",
386
- "error.sql.SqlCheckAdminError": "Unable to check AAD admin '%s'. %s",
387
- "error.sql.IdentityCredentialUndefine": "Cannot access database to add managed identity user %s. Please add the user for database %s manually",
388
- "error.sql.ServicePrincipalWarning": "service principal admin in azure sql can't add database user <%s>. You can add the user for %s manually",
389
- "error.sql.DomainError": "Conditional Access policy requires a compliant device, and the device is not compliant. %s",
390
- "error.sql.GuestAdminError": "SQL admin does not have enough permission to add database user. %s",
391
- "error.apiConnector.SampleCodeCreateFailError": "Unable to scaffold API connection samples. Reason: %s",
392
- "error.apiConnector.ScaffoldApiFilesError": "Unable to scaffold connect API files, Reason: %s",
393
- "error.apiConnector.ApiConnectorInputError": "API connector input %s is invalid",
394
- "error.apiConnector.ApiConnectorPathNotExistError": "Path %s not exists. Select a valid folder.",
395
- "error.apiConnector.ApiConnectorCreateFileFail": "Unable to create %s",
396
- "error.apiConnector.NoActivePluginsExistError": "Please create active resource first.",
397
- "error.apiConnector.NoBotOrFunctionExistError": "Please create bot or function resource first.",
398
- "error.apiConnector.ApiConnectorFunctionRouteError": "Unable to route function call: %s",
399
- "error.apiConnector.SDKVersionImcompatibleError": "In %s project, @microsoft/teamsfx version %s is not compatible. Please upgrade the @microsoft/teamsfx version to %s and retry this feature.",
400
- "error.apiConnector.pkgFileNotExistError": "In %s project, there is no package.json exist",
401
- "error.apiConnector.componentNotExistError": "Component %s not exist, please add first",
402
- "error.apiConnector.envVarExistError": "Please provide a different API name to avoid conflicts with existing env variables %s in .env.teamsfx.local",
403
263
  "error.debugHandler.InvalidAppManifestPackageFileFormatError": "manifestPackagePath must be .zip file path.",
404
264
  "error.debugHandler.InvalidExistingAADArgsError": "objectId, clientId and clientSecret are all required if you use existing AAD app for SSO.",
405
265
  "error.debugHandler.InvalidExistingBotArgsError": "botId and botPassword need to be set together if you use existing bot.",
@@ -415,14 +275,10 @@
415
275
  "core.option.github": "Open a GitHub guide",
416
276
  "core.option.inProduct": "Open a in-product guide",
417
277
  "core.TabOption.label": "Tab",
418
- "core.TabOption.labelNew": "SSO-enabled tab",
419
278
  "core.TabOption.description": "UI-based app",
420
279
  "core.TabOption.detail": "Teams-aware webpages embedded in Microsoft Teams",
421
- "core.TabOption.detailNew": "Teams identity aware webpages embedded in Microsoft Teams",
422
280
  "core.DashboardOption.label": "Dashboard",
423
281
  "core.DashboardOption.detail": "A canvas with cards and widgets for displaying important information",
424
- "core.BotOption.description": "Conversational Agent",
425
- "core.BotOption.detail": "Running simple and repetitive automated tasks through conversations",
426
282
  "core.BotNewUIOption.label": "Basic Bot",
427
283
  "core.BotNewUIOption.detail": "A simple implementation of a bot that's ready to customize",
428
284
  "core.MessageExtensionOption.labelNew": "Collect Form Input and Process Data",
@@ -435,12 +291,7 @@
435
291
  "core.CommandAndResponseOption.detail": "Trigger work with custom chat commands in Teams chats",
436
292
  "core.WorkflowOption.label": "Sequential Workflow in Chat",
437
293
  "core.WorkflowOption.detail": "Interact with multi-step processes in Teams chats",
438
- "core.ExistingTabOption.label": "Embed existing web app",
439
- "core.ExistingTabOption.detail": "Bring your own static webpages and embed in Microsoft Teams",
440
- "core.TabSPFxOption.label": "Tab (SPFx)",
441
294
  "core.TabSPFxOption.labelNew": "SPFx",
442
- "core.TabSPFxOption.description": "Client-side app with SharePoint Framework",
443
- "core.TabSPFxOption.detail": "Auto-hosted SPFx web part tightly integrated with Microsoft Teams",
444
295
  "core.TabSPFxOption.detailNew": "Build UI with SharePoint Framework",
445
296
  "core.TabSso.description": "Single Sign On for Tab",
446
297
  "core.TabSso.detail": "Enable Single Sign On in your Teams Tab app",
@@ -501,8 +352,6 @@
501
352
  "core.SampleSelect.title": "Start from a sample",
502
353
  "core.SampleSelect.placeholder": "Select a sample",
503
354
  "core.SampleSelect.buttons.viewSamples": "View samples",
504
- "core.HostTypeOptionAzure.label": "Azure",
505
- "core.HostTypeOptionSPFx.label": "SharePoint Framework (SPFx)",
506
355
  "core.updateBotIdsQuestion.title": "Create new bot(s) for debugging",
507
356
  "core.updateBotIdsQuestion.placeholder": "Unselect to keep with the original value of botId",
508
357
  "_core.updateBotIdsQuestion.placeholder.comment": "'botId' is the field name which should not be localized.",
@@ -517,27 +366,8 @@
517
366
  "core.updateContentUrlOption.description": "Update the content URL from %s to %s",
518
367
  "core.updateWebsiteUrlOption.description": "Update the website URL from %s to %s",
519
368
  "core.updateUrlQuestion.placeholder": "Unselect to keep with the original URL",
520
- "core.AzureResourceSQL.label": "Azure SQL Database",
521
- "core.AzureResourceSQL.description": "Azure Functions App will be also selected to access Azure SQL Database",
522
- "core.AzureResourceSQLNewUI.label": "Azure SQL Database",
523
- "core.AzureResourceSQLNewUI.detail": "An always-up-to-date relational database service built for the cloud",
524
- "core.AzureResourceFunction.label": "Azure Functions App",
525
- "core.AzureResourceFunctionNewUI.label": "Azure Functions",
526
- "core.AzureResourceFunctionNewUI.detail": "A serverless, event-driven compute solution that allows you to write less code",
527
- "core.AzureResourceApim.label": "Register APIs in Azure API Management",
528
- "core.AzureResourceApim.description": "Azure Functions App will be also selected to be published as an API",
529
- "core.AzureResourceApimNewUI.label": "Azure API Management",
530
- "core.AzureResourceApimNewUI.detail": "A hybrid, multi-cloud management platform for APIs across all environments",
531
- "core.AzureResourceKeyVault.label": "Azure Key Vault",
532
- "core.AzureResourceKeyVault.description": "Secure runtime application secrets with Azure Key Vault",
533
- "core.AzureResourceKeyVaultNewUI.label": "Azure Key Vault",
534
- "core.AzureResourceKeyVaultNewUI.detail": "A cloud service for securely storing and accessing secrets",
535
369
  "core.SingleSignOnOption.label": "Single Sign-On",
536
370
  "core.SingleSignOnOption.detail": "Develop a Single Sign-On feature for Teams Launch pages and Bot capability",
537
- "core.ApiConnectionOption.label": "API Connection",
538
- "core.ApiConnectionOption.detail": "Connect to an API with authentication support using TeamsFx SDK",
539
- "core.cicdWorkflowOption.label": "CI/CD workflows",
540
- "core.cicdWorkflowOption.detail": "Add CI/CD Workflows for GitHub, Azure DevOps or Jenkins",
541
371
  "core.getUserEmailQuestion.title": "Add owner to Teams/AAD app for the account under the same Microsoft 365 tenant (email)",
542
372
  "core.getUserEmailQuestion.validation1": "Email address cannot be null or empty",
543
373
  "core.getUserEmailQuestion.validation2": "Please change [UserName] to the real user name",
@@ -545,7 +375,7 @@
545
375
  "core.collaboration.error.failedToGetTeamsAppId": "Unable to find Teams app id in your .env file. Make sure you have already run 'Provision' or correctly set the value with key '%s' in your .env file.",
546
376
  "core.selectAadAppManifestQuestion.title": "Select Azure Active Directory manifest.json file",
547
377
  "core.selectTeamsAppManifestQuestion.title": "Select Teams manifest.json file",
548
- "core.selectTeamsAppPackageQuestion.title": "Select Teams app package file",
378
+ "core.selectTeamsAppPackageQuestion.title": "Select Teams app package file",
549
379
  "core.selectLocalTeamsAppManifestQuestion.title": "Select local Teams manifest.json file",
550
380
  "core.selectCollaborationAppTypeQuestion.title": "Select app you want to manage the collaborators",
551
381
  "core.selectValidateMethodQuestion.validate.selectTitle": "Select a validation method",
@@ -557,7 +387,7 @@
557
387
  "core.aadAppQuestion.label": "Azure Active Directory app",
558
388
  "core.aadAppQuestion.description": "Your Azure Active Directory app for Single Sign On",
559
389
  "core.teamsAppQuestion.label": "Teams app",
560
- "core.teamsAppQuestion.description": "Your Teams app",
390
+ "core.teamsAppQuestion.description": "Your Teams app",
561
391
  "core.M365SsoLaunchPageOptionItem.label": "React with Fluent UI",
562
392
  "core.M365SsoLaunchPageOptionItem.detail": "A web app that uses Fluent UI React components to get a Teams look and feel",
563
393
  "core.M365SearchAppOptionItem.label": "Custom Search Results",
@@ -565,7 +395,6 @@
565
395
  "core.M365HostQuestion.title": "Platform",
566
396
  "core.M365HostQuestion.placeholder": "Select a platform to preview the app",
567
397
  "core.options.separator.scenario": "Scenario-based Teams apps",
568
- "core.options.separator.resource": "Cloud resources",
569
398
  "core.options.separator.additional": "Additional features",
570
399
  "core.common.LifecycleComplete.provision": "Successfully executed %s/%s actions in provision stage.",
571
400
  "core.common.LifecycleComplete.deploy": "Successfully executed %s/%s actions in deploy stage.",
@@ -709,8 +538,6 @@
709
538
  "core.addSsoFiles.FailedToCreateAuthFiles": "Unable to create files for add sso. Detail error: %s.",
710
539
  "core.addSsoFiles.invalidLanguage": "Invalid language. Please make sure '.fx/projectSettings.json' is not modified and try again.",
711
540
  "core.getUserEmailQuestion.validation3": "Email address is not valid",
712
- "plugins.bot.DetailedError": "Detailed error: %s.",
713
- "plugins.bot.DetailedErrorReason": "Reason: %s",
714
541
  "plugins.bot.ErrorSuggestions": "Suggestions: %s",
715
542
  "plugins.bot.InvalidValue": "%s is invalid with value: %s",
716
543
  "plugins.bot.TemplateZipFallbackError": "Unable to download zip package and open local zip package.",
@@ -772,7 +599,6 @@
772
599
  "depChecker.failToValidateVxTestAppInstallOptions": "Invalid argument for video extensibility test app prerequisites checker. Please check tasks.json file.",
773
600
  "depChecker.failToValidateVxTestApp": "Unable to validate video extensibility test app after installation.",
774
601
  "error.BadComponent": "Component '%s' lacks of property: %s.",
775
- "error.InvalidFeature": "This feature is not applicable for your project.",
776
602
  "error.UpdateAadManifest.MissingEnvHint": "If you are developing with a new project created with Teams Toolkit, running provision or debug will register correct values for these environment variables.",
777
603
  "error.driver.outputEnvironmentVariableUndefined": "The output environment variable name(s) are not defined.",
778
604
  "driver.aadApp.description.create": "Create an Azure Active Directory app to authenticate users",
@@ -958,4 +784,4 @@
958
784
  "error.deploy.AzureStorageGetContainerPropertiesError": "Unable to get properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
959
785
  "error.deploy.AzureStorageSetContainerPropertiesError.Notification": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
960
786
  "error.deploy.AzureStorageSetContainerPropertiesError": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again."
961
- }
787
+ }
Binary file
Binary file
Binary file
Binary file
@@ -1,16 +0,0 @@
1
- /// <reference types="node" />
2
- import { AzureHosting } from "./azureHosting";
3
- import { ServiceType } from "./interfaces";
4
- import { TokenProvider, Void } from "@microsoft/teamsfx-api";
5
- export declare class AzureAppServiceHosting extends AzureHosting {
6
- configurable: boolean;
7
- hostType: ServiceType;
8
- reference: {
9
- resourceId: string;
10
- hostName: string;
11
- webAppEndpoint: string;
12
- endpointAsParam: string;
13
- };
14
- deploy(resourceId: string, tokenProvider: TokenProvider, buffer: Buffer): Promise<Void>;
15
- }
16
- //# sourceMappingURL=azureAppServiceHosting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureAppServiceHosting.d.ts","sourceRoot":"","sources":["../../../src/common/azure-hosting/azureAppServiceHosting.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAQ7D,qBAAa,sBAAuB,SAAQ,YAAY;IACtD,YAAY,UAAQ;IACpB,QAAQ,cAA0B;IAClC,SAAS;;;;;MAKP;IAEI,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAK9F"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AzureAppServiceHosting = void 0;
6
- const azureHosting_1 = require("./azureHosting");
7
- const interfaces_1 = require("./interfaces");
8
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
9
- const utils_1 = require("./utils");
10
- const resourceId = "provisionOutputs.webAppOutput.value.webAppResourceId";
11
- const hostName = "provisionOutputs.webAppOutput.value.validDomain";
12
- const webAppEndpoint = "provisionOutputs.webAppOutput.value.siteEndpoint";
13
- const endpointAsParam = "webAppProvision.outputs.webAppEndpoint";
14
- class AzureAppServiceHosting extends azureHosting_1.AzureHosting {
15
- constructor() {
16
- super(...arguments);
17
- this.configurable = true;
18
- this.hostType = interfaces_1.ServiceType.AppService;
19
- this.reference = {
20
- resourceId: resourceId,
21
- hostName: hostName,
22
- webAppEndpoint: webAppEndpoint,
23
- endpointAsParam: endpointAsParam,
24
- };
25
- }
26
- async deploy(resourceId, tokenProvider, buffer) {
27
- await super.deploy(resourceId, tokenProvider, buffer);
28
- await utils_1.azureWebSiteDeploy(resourceId, tokenProvider, buffer, this.logger);
29
- return teamsfx_api_1.Void;
30
- }
31
- }
32
- exports.AzureAppServiceHosting = AzureAppServiceHosting;
33
- //# sourceMappingURL=azureAppServiceHosting.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureAppServiceHosting.js","sourceRoot":"","sources":["../../../src/common/azure-hosting/azureAppServiceHosting.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iDAA8C;AAC9C,6CAA2C;AAC3C,wDAA6D;AAC7D,mCAA6C;AAE7C,MAAM,UAAU,GAAG,sDAAsD,CAAC;AAC1E,MAAM,QAAQ,GAAG,iDAAiD,CAAC;AACnE,MAAM,cAAc,GAAG,kDAAkD,CAAC;AAC1E,MAAM,eAAe,GAAG,wCAAwC,CAAC;AAEjE,MAAa,sBAAuB,SAAQ,2BAAY;IAAxD;;QACE,iBAAY,GAAG,IAAI,CAAC;QACpB,aAAQ,GAAG,wBAAW,CAAC,UAAU,CAAC;QAClC,cAAS,GAAG;YACV,UAAU,EAAE,UAAU;YACtB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,cAAc;YAC9B,eAAe,EAAE,eAAe;SACjC,CAAC;IAOJ,CAAC;IALC,KAAK,CAAC,MAAM,CAAC,UAAkB,EAAE,aAA4B,EAAE,MAAc;QAC3E,MAAM,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;QACtD,MAAM,0BAAkB,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACzE,OAAO,kBAAI,CAAC;IACd,CAAC;CACF;AAfD,wDAeC"}
@@ -1,14 +0,0 @@
1
- /// <reference types="node" />
2
- import { AzureHosting } from "./azureHosting";
3
- import { BicepContext, ServiceType } from "./interfaces";
4
- import { ResourceTemplate, TokenProvider, Void } from "@microsoft/teamsfx-api";
5
- export declare class AzureFunctionHosting extends AzureHosting {
6
- configurable: boolean;
7
- hostType: ServiceType;
8
- reference: {
9
- endpointAsParam: string;
10
- };
11
- generateBicep(bicepContext: BicepContext): Promise<ResourceTemplate>;
12
- deploy(resourceId: string, tokenProvider: TokenProvider, buffer: Buffer): Promise<Void>;
13
- }
14
- //# sourceMappingURL=azureFunctionHosting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureFunctionHosting.d.ts","sourceRoot":"","sources":["../../../src/common/azure-hosting/azureFunctionHosting.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAQ/E,qBAAa,oBAAqB,SAAQ,YAAY;IACpD,YAAY,UAAQ;IACpB,QAAQ,cAAyB;IACjC,SAAS;;MAEP;IAEI,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAOpE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAY9F"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AzureFunctionHosting = void 0;
6
- const azureHosting_1 = require("./azureHosting");
7
- const interfaces_1 = require("./interfaces");
8
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
9
- const utils_1 = require("./utils");
10
- const azureOps_1 = require("./azureOps");
11
- const tools_1 = require("../tools");
12
- const endpointAsParam = (moduleName) => `${moduleName}Provision.outputs.functionEndpoint`;
13
- class AzureFunctionHosting extends azureHosting_1.AzureHosting {
14
- constructor() {
15
- super(...arguments);
16
- this.configurable = true;
17
- this.hostType = interfaces_1.ServiceType.Functions;
18
- this.reference = {
19
- endpointAsParam: endpointAsParam("function"),
20
- };
21
- }
22
- async generateBicep(bicepContext) {
23
- this.reference.endpointAsParam = endpointAsParam(bicepContext.moduleNames[interfaces_1.ServiceType.Functions]);
24
- return super.generateBicep(bicepContext);
25
- }
26
- async deploy(resourceId, tokenProvider, buffer) {
27
- await super.deploy(resourceId, tokenProvider, buffer);
28
- const client = await utils_1.azureWebSiteDeploy(resourceId, tokenProvider, buffer, this.logger);
29
- await azureOps_1.AzureOperations.restartWebApp(client, tools_1.getResourceGroupNameFromResourceId(resourceId), tools_1.getSiteNameFromResourceId(resourceId), this.logger);
30
- return teamsfx_api_1.Void;
31
- }
32
- }
33
- exports.AzureFunctionHosting = AzureFunctionHosting;
34
- //# sourceMappingURL=azureFunctionHosting.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureFunctionHosting.js","sourceRoot":"","sources":["../../../src/common/azure-hosting/azureFunctionHosting.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iDAA8C;AAC9C,6CAAyD;AACzD,wDAA+E;AAC/E,mCAA6C;AAC7C,yCAA6C;AAC7C,oCAAyF;AAEzF,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAU,EAAE,CACrD,GAAG,UAAU,oCAAoC,CAAC;AAEpD,MAAa,oBAAqB,SAAQ,2BAAY;IAAtD;;QACE,iBAAY,GAAG,IAAI,CAAC;QACpB,aAAQ,GAAG,wBAAW,CAAC,SAAS,CAAC;QACjC,cAAS,GAAG;YACV,eAAe,EAAE,eAAe,CAAC,UAAU,CAAC;SAC7C,CAAC;IAqBJ,CAAC;IAnBC,KAAK,CAAC,aAAa,CAAC,YAA0B;QAC5C,IAAI,CAAC,SAAS,CAAC,eAAe,GAAG,eAAe,CAC9C,YAAY,CAAC,WAAW,CAAC,wBAAW,CAAC,SAAS,CAAC,CAChD,CAAC;QACF,OAAO,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAC3C,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,UAAkB,EAAE,aAA4B,EAAE,MAAc;QAC3E,MAAM,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;QACtD,MAAM,MAAM,GAAG,MAAM,0BAAkB,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAExF,MAAM,0BAAe,CAAC,aAAa,CACjC,MAAM,EACN,0CAAkC,CAAC,UAAU,CAAC,EAC9C,iCAAyB,CAAC,UAAU,CAAC,EACrC,IAAI,CAAC,MAAM,CACZ,CAAC;QACF,OAAO,kBAAI,CAAC;IACd,CAAC;CACF;AA1BD,oDA0BC"}
@@ -1,23 +0,0 @@
1
- /// <reference types="node" />
2
- import { ResourceTemplate, TokenProvider, Void } from "@microsoft/teamsfx-api";
3
- import { Context } from "@microsoft/teamsfx-api/build/v2";
4
- import { BicepContext, Logger, ServiceType } from "./interfaces";
5
- export declare abstract class AzureHosting {
6
- abstract hostType: ServiceType;
7
- abstract configurable: boolean;
8
- reference: any;
9
- logger?: Logger;
10
- protected getBicepTemplateFolder(): string;
11
- generateBicep(bicepContext: BicepContext): Promise<ResourceTemplate>;
12
- updateBicep(bicepContext: BicepContext): Promise<ResourceTemplate>;
13
- configure(ctx: Context): Promise<Void>;
14
- /**
15
- * deploy to Azure
16
- * @param resourceId Azure resource id
17
- * @param tokenProvider token environment
18
- * @param buffer zip file stream buffer
19
- */
20
- deploy(resourceId: string, tokenProvider: TokenProvider, buffer: Buffer): Promise<Void>;
21
- setLogger(logger: any): void;
22
- }
23
- //# sourceMappingURL=azureHosting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureHosting.d.ts","sourceRoot":"","sources":["../../../src/common/azure-hosting/azureHosting.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAK1D,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAKjE,8BAAsB,YAAY;IAChC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAE/B,SAAS,EAAE,GAAG,CAAa;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,SAAS,CAAC,sBAAsB,IAAI,MAAM;IAWpC,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC;IA8CpE,WAAW,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAuBlE,SAAS,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5C;;;;;OAKG;IACG,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7F,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI;CAG7B"}