@microsoft/teamsfx-core 1.17.0-rc.2 → 1.17.1-alpha.28543dcd0.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 (981) hide show
  1. package/build/common/constants.d.ts +2 -1
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +2 -1
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/deps-checker/constant/helpLink.d.ts +1 -0
  6. package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
  7. package/build/common/deps-checker/constant/helpLink.js +2 -1
  8. package/build/common/deps-checker/constant/helpLink.js.map +1 -1
  9. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  10. package/build/common/deps-checker/internal/funcToolChecker.js +5 -4
  11. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  12. package/build/common/local/constants.d.ts +2 -0
  13. package/build/common/local/constants.d.ts.map +1 -1
  14. package/build/common/local/constants.js +2 -0
  15. package/build/common/local/constants.js.map +1 -1
  16. package/build/common/local/localCertificateManager.d.ts.map +1 -1
  17. package/build/common/local/localCertificateManager.js +5 -8
  18. package/build/common/local/localCertificateManager.js.map +1 -1
  19. package/build/common/local/localEnvManager.d.ts.map +1 -1
  20. package/build/common/local/localEnvManager.js +2 -2
  21. package/build/common/local/localEnvManager.js.map +1 -1
  22. package/build/common/permissionInterface.d.ts +4 -0
  23. package/build/common/permissionInterface.d.ts.map +1 -1
  24. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  25. package/build/common/projectSettingsHelper.js +28 -15
  26. package/build/common/projectSettingsHelper.js.map +1 -1
  27. package/build/common/samples-config.json +8 -6
  28. package/build/common/samples.d.ts +1 -0
  29. package/build/common/samples.d.ts.map +1 -1
  30. package/build/common/samples.js +1 -0
  31. package/build/common/samples.js.map +1 -1
  32. package/build/common/telemetry.d.ts +5 -0
  33. package/build/common/telemetry.d.ts.map +1 -1
  34. package/build/common/telemetry.js +5 -0
  35. package/build/common/telemetry.js.map +1 -1
  36. package/build/common/templates-config.json +2 -2
  37. package/build/common/tools.d.ts +7 -0
  38. package/build/common/tools.d.ts.map +1 -1
  39. package/build/common/tools.js +62 -41
  40. package/build/common/tools.js.map +1 -1
  41. package/build/{plugins/solution/fx-solution → component}/arm.d.ts +8 -33
  42. package/build/component/arm.d.ts.map +1 -0
  43. package/build/component/arm.js +641 -0
  44. package/build/component/arm.js.map +1 -0
  45. package/build/component/bicep.js +1 -1
  46. package/build/component/bicep.js.map +1 -1
  47. package/build/component/code/api/apiCode.js.map +1 -1
  48. package/build/component/code/appSettingUtils.js +1 -1
  49. package/build/component/code/appSettingUtils.js.map +1 -1
  50. package/build/component/code/botCode.js.map +1 -1
  51. package/build/component/code/spfxTabCode.js +1 -1
  52. package/build/component/code/spfxTabCode.js.map +1 -1
  53. package/build/component/code/tab/tabCode.d.ts.map +1 -1
  54. package/build/component/code/tab/tabCode.js +3 -4
  55. package/build/component/code/tab/tabCode.js.map +1 -1
  56. package/build/component/configManager/error.d.ts +12 -0
  57. package/build/component/configManager/error.d.ts.map +1 -0
  58. package/build/component/configManager/error.js +52 -0
  59. package/build/component/configManager/error.js.map +1 -0
  60. package/build/component/configManager/interface.d.ts +78 -0
  61. package/build/component/configManager/interface.d.ts.map +1 -0
  62. package/build/component/configManager/interface.js +11 -0
  63. package/build/component/configManager/interface.js.map +1 -0
  64. package/build/component/configManager/lifecycle.d.ts +14 -0
  65. package/build/component/configManager/lifecycle.d.ts.map +1 -0
  66. package/build/component/configManager/lifecycle.js +155 -0
  67. package/build/component/configManager/lifecycle.js.map +1 -0
  68. package/build/component/configManager/parser.d.ts +7 -0
  69. package/build/component/configManager/parser.d.ts.map +1 -0
  70. package/build/component/configManager/parser.js +68 -0
  71. package/build/component/configManager/parser.js.map +1 -0
  72. package/build/component/constant/commonConstant.d.ts +4 -0
  73. package/build/component/constant/commonConstant.d.ts.map +1 -1
  74. package/build/component/constant/commonConstant.js +8 -1
  75. package/build/component/constant/commonConstant.js.map +1 -1
  76. package/build/component/constant/deployConstant.d.ts +2 -0
  77. package/build/component/constant/deployConstant.d.ts.map +1 -1
  78. package/build/component/constant/deployConstant.js +4 -0
  79. package/build/component/constant/deployConstant.js.map +1 -1
  80. package/build/component/constants.d.ts +345 -0
  81. package/build/component/constants.d.ts.map +1 -1
  82. package/build/component/constants.js +643 -2
  83. package/build/component/constants.js.map +1 -1
  84. package/build/component/coordinator/index.d.ts +24 -5
  85. package/build/component/coordinator/index.d.ts.map +1 -1
  86. package/build/component/coordinator/index.js +274 -35
  87. package/build/component/coordinator/index.js.map +1 -1
  88. package/build/component/core.d.ts +7 -0
  89. package/build/component/core.d.ts.map +1 -1
  90. package/build/component/core.js +71 -58
  91. package/build/component/core.js.map +1 -1
  92. package/build/{plugins/solution/fx-solution → component}/debug/constants.d.ts +0 -0
  93. package/build/component/debug/constants.d.ts.map +1 -0
  94. package/build/{plugins/solution/fx-solution → component}/debug/constants.js +0 -0
  95. package/build/component/debug/constants.js.map +1 -0
  96. package/build/{plugins/solution/fx-solution → component}/debug/error.d.ts +0 -0
  97. package/build/component/debug/error.d.ts.map +1 -0
  98. package/build/{plugins/solution/fx-solution → component}/debug/error.js +1 -1
  99. package/build/component/debug/error.js.map +1 -0
  100. package/build/component/{debug.d.ts → debug/index.d.ts} +6 -1
  101. package/build/component/debug/index.d.ts.map +1 -0
  102. package/build/component/{debug.js → debug/index.js} +116 -39
  103. package/build/component/debug/index.js.map +1 -0
  104. package/build/{plugins/solution/fx-solution → component}/debug/util/codespace.d.ts +0 -0
  105. package/build/component/debug/util/codespace.d.ts.map +1 -0
  106. package/build/{plugins/solution/fx-solution → component}/debug/util/codespace.js +0 -0
  107. package/build/component/debug/util/codespace.js.map +1 -0
  108. package/build/{plugins/solution/fx-solution → component}/debug/util/launch.d.ts +0 -0
  109. package/build/component/debug/util/launch.d.ts.map +1 -0
  110. package/build/{plugins/solution/fx-solution → component}/debug/util/launch.js +0 -0
  111. package/build/component/debug/util/launch.js.map +1 -0
  112. package/build/{plugins/solution/fx-solution → component}/debug/util/launchNext.d.ts +0 -0
  113. package/build/component/debug/util/launchNext.d.ts.map +1 -0
  114. package/build/{plugins/solution/fx-solution → component}/debug/util/launchNext.js +0 -0
  115. package/build/component/debug/util/launchNext.js.map +1 -0
  116. package/build/{plugins/solution/fx-solution → component}/debug/util/launchTransparency.d.ts +0 -0
  117. package/build/component/debug/util/launchTransparency.d.ts.map +1 -0
  118. package/build/{plugins/solution/fx-solution → component}/debug/util/launchTransparency.js +1 -1
  119. package/build/component/debug/util/launchTransparency.js.map +1 -0
  120. package/build/{plugins/solution/fx-solution → component}/debug/util/localService.d.ts +0 -0
  121. package/build/component/debug/util/localService.d.ts.map +1 -0
  122. package/build/{plugins/solution/fx-solution → component}/debug/util/localService.js +0 -0
  123. package/build/component/debug/util/localService.js.map +1 -0
  124. package/build/{plugins/solution/fx-solution → component}/debug/util/ngrok.d.ts +0 -0
  125. package/build/component/debug/util/ngrok.d.ts.map +1 -0
  126. package/build/{plugins/solution/fx-solution → component}/debug/util/ngrok.js +0 -0
  127. package/build/component/debug/util/ngrok.js.map +1 -0
  128. package/build/{plugins/solution/fx-solution → component}/debug/util/settings.d.ts +0 -0
  129. package/build/component/debug/util/settings.d.ts.map +1 -0
  130. package/build/{plugins/solution/fx-solution → component}/debug/util/settings.js +1 -1
  131. package/build/component/debug/util/settings.js.map +1 -0
  132. package/build/{plugins/solution/fx-solution → component}/debug/util/tasks.d.ts +0 -0
  133. package/build/component/debug/util/tasks.d.ts.map +1 -0
  134. package/build/{plugins/solution/fx-solution → component}/debug/util/tasks.js +1 -1
  135. package/build/component/debug/util/tasks.js.map +1 -0
  136. package/build/{plugins/solution/fx-solution → component}/debug/util/tasksNext.d.ts +0 -0
  137. package/build/component/debug/util/tasksNext.d.ts.map +1 -0
  138. package/build/{plugins/solution/fx-solution → component}/debug/util/tasksNext.js +1 -1
  139. package/build/component/debug/util/tasksNext.js.map +1 -0
  140. package/build/{plugins/solution/fx-solution → component}/debug/util/tasksTransparency.d.ts +0 -0
  141. package/build/component/debug/util/tasksTransparency.d.ts.map +1 -0
  142. package/build/{plugins/solution/fx-solution → component}/debug/util/tasksTransparency.js +2 -2
  143. package/build/component/debug/util/tasksTransparency.js.map +1 -0
  144. package/build/{plugins/solution/fx-solution → component}/debug/util/telemetry.d.ts +0 -0
  145. package/build/component/debug/util/telemetry.d.ts.map +1 -0
  146. package/build/{plugins/solution/fx-solution → component}/debug/util/telemetry.js +0 -0
  147. package/build/component/debug/util/telemetry.js.map +1 -0
  148. package/build/component/debugHandler/appManifest.d.ts.map +1 -1
  149. package/build/component/debugHandler/appManifest.js +8 -0
  150. package/build/component/debugHandler/appManifest.js.map +1 -1
  151. package/build/component/debugHandler/bot.d.ts +1 -0
  152. package/build/component/debugHandler/bot.d.ts.map +1 -1
  153. package/build/component/debugHandler/bot.js +9 -8
  154. package/build/component/debugHandler/bot.js.map +1 -1
  155. package/build/component/debugHandler/localEnvProvider.d.ts.map +1 -1
  156. package/build/component/debugHandler/localEnvProvider.js +7 -7
  157. package/build/component/debugHandler/localEnvProvider.js.map +1 -1
  158. package/build/component/debugHandler/sso.d.ts.map +1 -1
  159. package/build/component/debugHandler/sso.js +3 -1
  160. package/build/component/debugHandler/sso.js.map +1 -1
  161. package/build/component/debugHandler/utils.js +3 -3
  162. package/build/component/debugHandler/utils.js.map +1 -1
  163. package/build/component/deployUtils.d.ts.map +1 -1
  164. package/build/component/deployUtils.js +6 -11
  165. package/build/component/deployUtils.js.map +1 -1
  166. package/build/component/driver/aad/create.d.ts +5 -3
  167. package/build/component/driver/aad/create.d.ts.map +1 -1
  168. package/build/component/driver/aad/create.js +43 -8
  169. package/build/component/driver/aad/create.js.map +1 -1
  170. package/build/component/driver/aad/error/invalidFieldInManifestError.d.ts +5 -0
  171. package/build/component/driver/aad/error/invalidFieldInManifestError.d.ts.map +1 -0
  172. package/build/component/driver/aad/error/invalidFieldInManifestError.js +29 -0
  173. package/build/component/driver/aad/error/invalidFieldInManifestError.js.map +1 -0
  174. package/build/component/driver/aad/interface/updateAadAppArgs.d.ts +5 -0
  175. package/build/component/driver/aad/interface/updateAadAppArgs.d.ts.map +1 -0
  176. package/build/component/driver/aad/interface/updateAadAppArgs.js +5 -0
  177. package/build/component/driver/aad/interface/updateAadAppArgs.js.map +1 -0
  178. package/build/component/driver/aad/interface/updateAadAppOutput.d.ts +4 -0
  179. package/build/component/driver/aad/interface/updateAadAppOutput.d.ts.map +1 -0
  180. package/build/component/driver/aad/interface/updateAadAppOutput.js +5 -0
  181. package/build/component/driver/aad/interface/updateAadAppOutput.js.map +1 -0
  182. package/build/component/driver/aad/update.d.ts +12 -0
  183. package/build/component/driver/aad/update.d.ts.map +1 -0
  184. package/build/component/driver/aad/update.js +146 -0
  185. package/build/component/driver/aad/update.js.map +1 -0
  186. package/build/component/driver/aad/utility/aadAppClient.d.ts +2 -0
  187. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  188. package/build/component/driver/aad/utility/aadAppClient.js +7 -0
  189. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  190. package/build/component/driver/aad/utility/constants.d.ts +13 -0
  191. package/build/component/driver/aad/utility/constants.d.ts.map +1 -0
  192. package/build/component/driver/aad/utility/constants.js +18 -0
  193. package/build/component/driver/aad/utility/constants.js.map +1 -0
  194. package/build/component/driver/arm/constant.d.ts +12 -0
  195. package/build/component/driver/arm/constant.d.ts.map +1 -0
  196. package/build/component/driver/arm/constant.js +18 -0
  197. package/build/component/driver/arm/constant.js.map +1 -0
  198. package/build/component/driver/arm/deploy.d.ts +8 -0
  199. package/build/component/driver/arm/deploy.d.ts.map +1 -0
  200. package/build/component/driver/arm/deploy.js +22 -0
  201. package/build/component/driver/arm/deploy.js.map +1 -0
  202. package/build/component/driver/arm/deployImpl.d.ts +23 -0
  203. package/build/component/driver/arm/deployImpl.d.ts.map +1 -0
  204. package/build/component/driver/arm/deployImpl.js +160 -0
  205. package/build/component/driver/arm/deployImpl.js.map +1 -0
  206. package/build/component/driver/arm/interface.d.ts +13 -0
  207. package/build/component/driver/arm/interface.d.ts.map +1 -0
  208. package/build/component/driver/arm/interface.js +5 -0
  209. package/build/component/driver/arm/interface.js.map +1 -0
  210. package/build/component/driver/arm/util/util.d.ts +5 -0
  211. package/build/component/driver/arm/util/util.d.ts.map +1 -0
  212. package/build/component/driver/arm/util/util.js +71 -0
  213. package/build/component/driver/arm/util/util.js.map +1 -0
  214. package/build/component/driver/arm/validator.d.ts +3 -0
  215. package/build/component/driver/arm/validator.d.ts.map +1 -0
  216. package/build/component/driver/arm/validator.js +64 -0
  217. package/build/component/driver/arm/validator.js.map +1 -0
  218. package/build/component/driver/botAadApp/create.d.ts +11 -0
  219. package/build/component/driver/botAadApp/create.d.ts.map +1 -0
  220. package/build/component/driver/botAadApp/create.js +97 -0
  221. package/build/component/driver/botAadApp/create.js.map +1 -0
  222. package/build/component/driver/botAadApp/error/invalidParameterUserError.d.ts +5 -0
  223. package/build/component/driver/botAadApp/error/invalidParameterUserError.d.ts.map +1 -0
  224. package/build/component/driver/botAadApp/error/invalidParameterUserError.js +29 -0
  225. package/build/component/driver/botAadApp/error/invalidParameterUserError.js.map +1 -0
  226. package/build/component/driver/botAadApp/error/unhandledError.d.ts +8 -0
  227. package/build/component/driver/botAadApp/error/unhandledError.d.ts.map +1 -0
  228. package/build/component/driver/botAadApp/error/unhandledError.js +33 -0
  229. package/build/component/driver/botAadApp/error/unhandledError.js.map +1 -0
  230. package/build/component/driver/botAadApp/interface/createBotAadAppArgs.d.ts +4 -0
  231. package/build/component/driver/botAadApp/interface/createBotAadAppArgs.d.ts.map +1 -0
  232. package/build/component/driver/botAadApp/interface/createBotAadAppArgs.js +5 -0
  233. package/build/component/driver/botAadApp/interface/createBotAadAppArgs.js.map +1 -0
  234. package/build/component/driver/botAadApp/interface/createBotAadAppOutput.d.ts +5 -0
  235. package/build/component/driver/botAadApp/interface/createBotAadAppOutput.d.ts.map +1 -0
  236. package/build/component/driver/botAadApp/interface/createBotAadAppOutput.js +5 -0
  237. package/build/component/driver/botAadApp/interface/createBotAadAppOutput.js.map +1 -0
  238. package/build/component/driver/botAadApp/utility/constants.d.ts +6 -0
  239. package/build/component/driver/botAadApp/utility/constants.d.ts.map +1 -0
  240. package/build/component/driver/botAadApp/utility/constants.js +11 -0
  241. package/build/component/driver/botAadApp/utility/constants.js.map +1 -0
  242. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.d.ts +16 -0
  243. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.d.ts.map +1 -0
  244. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js +46 -0
  245. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js.map +1 -0
  246. package/build/component/{deploy → driver/deploy/azure}/azureDeployDriver.d.ts +2 -2
  247. package/build/component/driver/deploy/azure/azureDeployDriver.d.ts.map +1 -0
  248. package/build/component/{deploy → driver/deploy/azure}/azureDeployDriver.js +26 -11
  249. package/build/component/driver/deploy/azure/azureDeployDriver.js.map +1 -0
  250. package/build/component/{deploy → driver/deploy/azure}/azureFunctionDeployDriver.d.ts +7 -4
  251. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.d.ts.map +1 -0
  252. package/build/component/{deploy → driver/deploy/azure}/azureFunctionDeployDriver.js +23 -4
  253. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js.map +1 -0
  254. package/build/component/{deploy → driver/deploy/azure}/azureStorageDeployDriver.d.ts +5 -4
  255. package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts.map +1 -0
  256. package/build/component/{deploy → driver/deploy/azure}/azureStorageDeployDriver.js +19 -8
  257. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js.map +1 -0
  258. package/build/component/{provision → driver/deploy/azure}/azureStorageStaticWebsiteConfigDriver.d.ts +6 -4
  259. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.d.ts.map +1 -0
  260. package/build/component/{provision → driver/deploy/azure}/azureStorageStaticWebsiteConfigDriver.js +23 -8
  261. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js.map +1 -0
  262. package/build/component/{deploy → driver/deploy/azure}/baseDeployDriver.d.ts +3 -3
  263. package/build/component/driver/deploy/azure/baseDeployDriver.d.ts.map +1 -0
  264. package/build/component/{deploy → driver/deploy/azure}/baseDeployDriver.js +19 -12
  265. package/build/component/driver/deploy/azure/baseDeployDriver.js.map +1 -0
  266. package/build/component/driver/deploy/spfx/deployDriver.d.ts +14 -0
  267. package/build/component/driver/deploy/spfx/deployDriver.d.ts.map +1 -0
  268. package/build/component/driver/deploy/spfx/deployDriver.js +181 -0
  269. package/build/component/driver/deploy/spfx/deployDriver.js.map +1 -0
  270. package/build/component/driver/deploy/spfx/error/createAppCatalogFailedError.d.ts +5 -0
  271. package/build/component/driver/deploy/spfx/error/createAppCatalogFailedError.d.ts.map +1 -0
  272. package/build/component/driver/deploy/spfx/error/createAppCatalogFailedError.js +22 -0
  273. package/build/component/driver/deploy/spfx/error/createAppCatalogFailedError.js.map +1 -0
  274. package/build/component/driver/deploy/spfx/error/getGraphTokenFailedError.d.ts +5 -0
  275. package/build/component/driver/deploy/spfx/error/getGraphTokenFailedError.d.ts.map +1 -0
  276. package/build/component/driver/deploy/spfx/error/getGraphTokenFailedError.js +22 -0
  277. package/build/component/driver/deploy/spfx/error/getGraphTokenFailedError.js.map +1 -0
  278. package/build/component/driver/deploy/spfx/error/getSPOTokenFailedError.d.ts +5 -0
  279. package/build/component/driver/deploy/spfx/error/getSPOTokenFailedError.d.ts.map +1 -0
  280. package/build/component/driver/deploy/spfx/error/getSPOTokenFailedError.js +22 -0
  281. package/build/component/driver/deploy/spfx/error/getSPOTokenFailedError.js.map +1 -0
  282. package/build/component/driver/deploy/spfx/error/getTenantFailedError.d.ts +5 -0
  283. package/build/component/driver/deploy/spfx/error/getTenantFailedError.d.ts.map +1 -0
  284. package/build/component/driver/deploy/spfx/error/getTenantFailedError.js +25 -0
  285. package/build/component/driver/deploy/spfx/error/getTenantFailedError.js.map +1 -0
  286. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.d.ts +5 -0
  287. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.d.ts.map +1 -0
  288. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.js +22 -0
  289. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.js.map +1 -0
  290. package/build/component/driver/deploy/spfx/error/noSPPackageError.d.ts +5 -0
  291. package/build/component/driver/deploy/spfx/error/noSPPackageError.d.ts.map +1 -0
  292. package/build/component/driver/deploy/spfx/error/noSPPackageError.js +22 -0
  293. package/build/component/driver/deploy/spfx/error/noSPPackageError.js.map +1 -0
  294. package/build/component/driver/deploy/spfx/error/noValidAppCatelogError.d.ts +5 -0
  295. package/build/component/driver/deploy/spfx/error/noValidAppCatelogError.d.ts.map +1 -0
  296. package/build/component/driver/deploy/spfx/error/noValidAppCatelogError.js +22 -0
  297. package/build/component/driver/deploy/spfx/error/noValidAppCatelogError.js.map +1 -0
  298. package/build/component/driver/deploy/spfx/error/uploadAppPackageFailedError.d.ts +5 -0
  299. package/build/component/driver/deploy/spfx/error/uploadAppPackageFailedError.d.ts.map +1 -0
  300. package/build/component/driver/deploy/spfx/error/uploadAppPackageFailedError.js +22 -0
  301. package/build/component/driver/deploy/spfx/error/uploadAppPackageFailedError.js.map +1 -0
  302. package/build/component/driver/deploy/spfx/interface/deployArgs.d.ts +13 -0
  303. package/build/component/driver/deploy/spfx/interface/deployArgs.d.ts.map +1 -0
  304. package/build/component/driver/deploy/spfx/interface/deployArgs.js +5 -0
  305. package/build/component/driver/deploy/spfx/interface/deployArgs.js.map +1 -0
  306. package/build/component/driver/deploy/spfx/utility/constants.d.ts +14 -0
  307. package/build/component/driver/deploy/spfx/utility/constants.d.ts.map +1 -0
  308. package/build/component/driver/deploy/spfx/utility/constants.js +22 -0
  309. package/build/component/driver/deploy/spfx/utility/constants.js.map +1 -0
  310. package/build/component/driver/deploy/spfx/utility/sleep.d.ts +2 -0
  311. package/build/component/driver/deploy/spfx/utility/sleep.d.ts.map +1 -0
  312. package/build/component/driver/deploy/spfx/utility/sleep.js +10 -0
  313. package/build/component/driver/deploy/spfx/utility/sleep.js.map +1 -0
  314. package/build/component/driver/deploy/spfx/utility/spoClient.d.ts +25 -0
  315. package/build/component/driver/deploy/spfx/utility/spoClient.d.ts.map +1 -0
  316. package/build/component/driver/deploy/spfx/utility/spoClient.js +79 -0
  317. package/build/component/driver/deploy/spfx/utility/spoClient.js.map +1 -0
  318. package/build/component/driver/env/error/invalidParameterUserError.d.ts +5 -0
  319. package/build/component/driver/env/error/invalidParameterUserError.d.ts.map +1 -0
  320. package/build/component/driver/env/error/invalidParameterUserError.js +29 -0
  321. package/build/component/driver/env/error/invalidParameterUserError.js.map +1 -0
  322. package/build/component/driver/env/error/unhandledError.d.ts +5 -0
  323. package/build/component/driver/env/error/unhandledError.d.ts.map +1 -0
  324. package/build/component/driver/env/error/unhandledError.js +25 -0
  325. package/build/component/driver/env/error/unhandledError.js.map +1 -0
  326. package/build/component/driver/env/generate.d.ts +10 -0
  327. package/build/component/driver/env/generate.d.ts.map +1 -0
  328. package/build/component/driver/env/generate.js +81 -0
  329. package/build/component/driver/env/generate.js.map +1 -0
  330. package/build/component/driver/env/interface/generateEnvArgs.d.ts +8 -0
  331. package/build/component/driver/env/interface/generateEnvArgs.d.ts.map +1 -0
  332. package/build/component/driver/env/interface/generateEnvArgs.js +5 -0
  333. package/build/component/driver/env/interface/generateEnvArgs.js.map +1 -0
  334. package/build/component/driver/interface/baseDeployStepDriver.d.ts +18 -0
  335. package/build/component/driver/interface/baseDeployStepDriver.d.ts.map +1 -0
  336. package/build/component/driver/interface/baseDeployStepDriver.js +31 -0
  337. package/build/component/driver/interface/baseDeployStepDriver.js.map +1 -0
  338. package/build/component/{interface → driver/interface}/buildAndDeployArgs.d.ts +6 -6
  339. package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -0
  340. package/build/component/{interface → driver/interface}/buildAndDeployArgs.js +0 -0
  341. package/build/component/driver/interface/buildAndDeployArgs.js.map +1 -0
  342. package/build/component/{interface → driver/interface}/commonArgs.d.ts +5 -3
  343. package/build/component/driver/interface/commonArgs.d.ts.map +1 -0
  344. package/build/component/{interface → driver/interface}/commonArgs.js +0 -0
  345. package/build/component/driver/interface/commonArgs.js.map +1 -0
  346. package/build/component/{interface → driver/interface}/provisionArgs.d.ts +2 -2
  347. package/build/component/driver/interface/provisionArgs.d.ts.map +1 -0
  348. package/build/component/{interface → driver/interface}/provisionArgs.js +0 -0
  349. package/build/component/driver/interface/provisionArgs.js.map +1 -0
  350. package/build/component/{interface → driver/interface}/stepDriver.d.ts +2 -1
  351. package/build/component/driver/interface/stepDriver.d.ts.map +1 -0
  352. package/build/component/{interface → driver/interface}/stepDriver.js +0 -0
  353. package/build/component/driver/interface/stepDriver.js.map +1 -0
  354. package/build/component/driver/middleware/addStartAndEndTelemetry.d.ts +3 -0
  355. package/build/component/driver/middleware/addStartAndEndTelemetry.d.ts.map +1 -0
  356. package/build/component/driver/middleware/addStartAndEndTelemetry.js +29 -0
  357. package/build/component/driver/middleware/addStartAndEndTelemetry.js.map +1 -0
  358. package/build/component/driver/script/baseBuildDriver.d.ts +24 -0
  359. package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -0
  360. package/build/component/driver/script/baseBuildDriver.js +59 -0
  361. package/build/component/driver/script/baseBuildDriver.js.map +1 -0
  362. package/build/component/{deploy → driver/script}/dotnetBuildDriver.d.ts +4 -1
  363. package/build/component/driver/script/dotnetBuildDriver.d.ts.map +1 -0
  364. package/build/component/driver/script/dotnetBuildDriver.js +39 -0
  365. package/build/component/driver/script/dotnetBuildDriver.js.map +1 -0
  366. package/build/component/{deploy → driver/script}/npmBuildDriver.d.ts +2 -1
  367. package/build/component/driver/script/npmBuildDriver.d.ts.map +1 -0
  368. package/build/component/driver/script/npmBuildDriver.js +37 -0
  369. package/build/component/driver/script/npmBuildDriver.js.map +1 -0
  370. package/build/component/driver/script/npxBuildDriver.d.ts +11 -0
  371. package/build/component/driver/script/npxBuildDriver.d.ts.map +1 -0
  372. package/build/component/driver/script/npxBuildDriver.js +27 -0
  373. package/build/component/driver/script/npxBuildDriver.js.map +1 -0
  374. package/build/component/driver/teamsApp/configure.d.ts +8 -0
  375. package/build/component/driver/teamsApp/configure.d.ts.map +1 -0
  376. package/build/component/driver/teamsApp/configure.js +65 -0
  377. package/build/component/driver/teamsApp/configure.js.map +1 -0
  378. package/build/component/driver/teamsApp/copyAppPackageForSPFx.d.ts +18 -0
  379. package/build/component/driver/teamsApp/copyAppPackageForSPFx.d.ts.map +1 -0
  380. package/build/component/driver/teamsApp/copyAppPackageForSPFx.js +75 -0
  381. package/build/component/driver/teamsApp/copyAppPackageForSPFx.js.map +1 -0
  382. package/build/component/driver/teamsApp/create.d.ts +9 -0
  383. package/build/component/driver/teamsApp/create.d.ts.map +1 -0
  384. package/build/component/driver/teamsApp/create.js +118 -0
  385. package/build/component/driver/teamsApp/create.js.map +1 -0
  386. package/build/component/driver/teamsApp/createAppPackage.d.ts +9 -0
  387. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -0
  388. package/build/component/driver/teamsApp/createAppPackage.js +120 -0
  389. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -0
  390. package/build/component/driver/teamsApp/interfaces/ConfigureTeamsAppArgs.d.ts +7 -0
  391. package/build/component/driver/teamsApp/interfaces/ConfigureTeamsAppArgs.d.ts.map +1 -0
  392. package/build/component/driver/teamsApp/interfaces/ConfigureTeamsAppArgs.js +5 -0
  393. package/build/component/driver/teamsApp/interfaces/ConfigureTeamsAppArgs.js.map +1 -0
  394. package/build/component/driver/teamsApp/interfaces/CopyAppPackageForSPFxArgs.d.ts +11 -0
  395. package/build/component/driver/teamsApp/interfaces/CopyAppPackageForSPFxArgs.d.ts.map +1 -0
  396. package/build/component/driver/teamsApp/interfaces/CopyAppPackageForSPFxArgs.js +5 -0
  397. package/build/component/driver/teamsApp/interfaces/CopyAppPackageForSPFxArgs.js.map +1 -0
  398. package/build/component/driver/teamsApp/interfaces/CreateAppPackageArgs.d.ts +15 -0
  399. package/build/component/driver/teamsApp/interfaces/CreateAppPackageArgs.d.ts.map +1 -0
  400. package/build/component/driver/teamsApp/interfaces/CreateAppPackageArgs.js +5 -0
  401. package/build/component/driver/teamsApp/interfaces/CreateAppPackageArgs.js.map +1 -0
  402. package/build/component/driver/teamsApp/interfaces/CreateTeamsAppArgs.d.ts +7 -0
  403. package/build/component/driver/teamsApp/interfaces/CreateTeamsAppArgs.d.ts.map +1 -0
  404. package/build/component/driver/teamsApp/interfaces/CreateTeamsAppArgs.js +5 -0
  405. package/build/component/driver/teamsApp/interfaces/CreateTeamsAppArgs.js.map +1 -0
  406. package/build/component/driver/teamsApp/interfaces/PublishAppPackageArgs.d.ts +7 -0
  407. package/build/component/driver/teamsApp/interfaces/PublishAppPackageArgs.d.ts.map +1 -0
  408. package/build/component/driver/teamsApp/interfaces/PublishAppPackageArgs.js +5 -0
  409. package/build/component/driver/teamsApp/interfaces/PublishAppPackageArgs.js.map +1 -0
  410. package/build/component/driver/teamsApp/interfaces/ValidateTeamsAppArgs.d.ts +7 -0
  411. package/build/component/driver/teamsApp/interfaces/ValidateTeamsAppArgs.d.ts.map +1 -0
  412. package/build/component/driver/teamsApp/interfaces/ValidateTeamsAppArgs.js +5 -0
  413. package/build/component/driver/teamsApp/interfaces/ValidateTeamsAppArgs.js.map +1 -0
  414. package/build/component/driver/teamsApp/publishAppPackage.d.ts +8 -0
  415. package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -0
  416. package/build/component/driver/teamsApp/publishAppPackage.js +106 -0
  417. package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -0
  418. package/build/component/driver/teamsApp/validate.d.ts +9 -0
  419. package/build/component/driver/teamsApp/validate.d.ts.map +1 -0
  420. package/build/component/driver/teamsApp/validate.js +76 -0
  421. package/build/component/driver/teamsApp/validate.js.map +1 -0
  422. package/build/component/driver/tools/error/invalidParameterUserError.d.ts +5 -0
  423. package/build/component/driver/tools/error/invalidParameterUserError.d.ts.map +1 -0
  424. package/build/component/driver/tools/error/invalidParameterUserError.js +29 -0
  425. package/build/component/driver/tools/error/invalidParameterUserError.js.map +1 -0
  426. package/build/component/driver/tools/installDriver.d.ts +17 -0
  427. package/build/component/driver/tools/installDriver.d.ts.map +1 -0
  428. package/build/component/driver/tools/installDriver.js +81 -0
  429. package/build/component/driver/tools/installDriver.js.map +1 -0
  430. package/build/component/driver/tools/interfaces/InstallToolArgs.d.ts +18 -0
  431. package/build/component/driver/tools/interfaces/InstallToolArgs.d.ts.map +1 -0
  432. package/build/component/driver/tools/interfaces/InstallToolArgs.js +5 -0
  433. package/build/component/driver/tools/interfaces/InstallToolArgs.js.map +1 -0
  434. package/build/component/driver/util/wrapUtil.d.ts +23 -0
  435. package/build/component/driver/util/wrapUtil.d.ts.map +1 -0
  436. package/build/component/driver/util/wrapUtil.js +93 -0
  437. package/build/component/driver/util/wrapUtil.js.map +1 -0
  438. package/build/component/feature/api/api.js +32 -32
  439. package/build/component/feature/api/api.js.map +1 -1
  440. package/build/component/feature/apiconnector/apiConnector.js +1 -1
  441. package/build/component/feature/apiconnector/apiConnector.js.map +1 -1
  442. package/build/component/feature/apim.d.ts.map +1 -1
  443. package/build/component/feature/apim.js +15 -15
  444. package/build/component/feature/apim.js.map +1 -1
  445. package/build/component/feature/bot/bot.d.ts.map +1 -1
  446. package/build/component/feature/bot/bot.js +46 -45
  447. package/build/component/feature/bot/bot.js.map +1 -1
  448. package/build/component/feature/bot/constants.js +3 -3
  449. package/build/component/feature/bot/constants.js.map +1 -1
  450. package/build/component/feature/bot/question.d.ts.map +1 -1
  451. package/build/component/feature/bot/question.js +14 -14
  452. package/build/component/feature/bot/question.js.map +1 -1
  453. package/build/component/feature/cicd/provider/provider.d.ts.map +1 -1
  454. package/build/component/feature/cicd/provider/provider.js +3 -2
  455. package/build/component/feature/cicd/provider/provider.js.map +1 -1
  456. package/build/component/feature/keyVault.js +7 -7
  457. package/build/component/feature/keyVault.js.map +1 -1
  458. package/build/component/feature/spfx.js +2 -2
  459. package/build/component/feature/spfx.js.map +1 -1
  460. package/build/component/feature/sql.d.ts.map +1 -1
  461. package/build/component/feature/sql.js +3 -3
  462. package/build/component/feature/sql.js.map +1 -1
  463. package/build/component/feature/sso.js +21 -21
  464. package/build/component/feature/sso.js.map +1 -1
  465. package/build/component/feature/tab.d.ts.map +1 -1
  466. package/build/component/feature/tab.js +33 -33
  467. package/build/component/feature/tab.js.map +1 -1
  468. package/build/component/generator/constant.d.ts +10 -0
  469. package/build/component/generator/constant.d.ts.map +1 -0
  470. package/build/component/generator/constant.js +15 -0
  471. package/build/component/generator/constant.js.map +1 -0
  472. package/build/component/generator/error.d.ts +14 -0
  473. package/build/component/generator/error.d.ts.map +1 -0
  474. package/build/component/generator/error.js +34 -0
  475. package/build/component/generator/error.js.map +1 -0
  476. package/build/component/generator/generator.d.ts +10 -0
  477. package/build/component/generator/generator.d.ts.map +1 -0
  478. package/build/component/generator/generator.js +133 -0
  479. package/build/component/generator/generator.js.map +1 -0
  480. package/build/component/generator/generatorAction.d.ts +36 -0
  481. package/build/component/generator/generatorAction.d.ts.map +1 -0
  482. package/build/component/generator/generatorAction.js +95 -0
  483. package/build/component/generator/generatorAction.js.map +1 -0
  484. package/build/component/generator/utils.d.ts +17 -0
  485. package/build/component/generator/utils.d.ts.map +1 -0
  486. package/build/component/generator/utils.js +165 -0
  487. package/build/component/generator/utils.js.map +1 -0
  488. package/build/component/messages.d.ts +32 -23
  489. package/build/component/messages.d.ts.map +1 -1
  490. package/build/component/messages.js +32 -23
  491. package/build/component/messages.js.map +1 -1
  492. package/build/component/middleware/actionExecutionMW.js +2 -2
  493. package/build/component/middleware/actionExecutionMW.js.map +1 -1
  494. package/build/component/middleware/envMW.d.ts +4 -0
  495. package/build/component/middleware/envMW.d.ts.map +1 -0
  496. package/build/component/middleware/envMW.js +63 -0
  497. package/build/component/middleware/envMW.js.map +1 -0
  498. package/build/component/migrate.js +44 -44
  499. package/build/component/migrate.js.map +1 -1
  500. package/build/component/provisionUtils.d.ts +14 -2
  501. package/build/component/provisionUtils.d.ts.map +1 -1
  502. package/build/component/provisionUtils.js +254 -44
  503. package/build/component/provisionUtils.js.map +1 -1
  504. package/build/component/{questionV3.d.ts → question.d.ts} +10 -2
  505. package/build/component/question.d.ts.map +1 -0
  506. package/build/component/{questionV3.js → question.js} +222 -104
  507. package/build/component/question.js.map +1 -0
  508. package/build/component/resource/aadApp/aadApp.d.ts +4 -3
  509. package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
  510. package/build/component/resource/aadApp/aadApp.js +34 -11
  511. package/build/component/resource/aadApp/aadApp.js.map +1 -1
  512. package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts +3 -3
  513. package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts.map +1 -1
  514. package/build/component/resource/aadApp/aadAppForTeamsImpl.js +25 -11
  515. package/build/component/resource/aadApp/aadAppForTeamsImpl.js.map +1 -1
  516. package/build/component/resource/aadApp/constants.d.ts +3 -0
  517. package/build/component/resource/aadApp/constants.d.ts.map +1 -1
  518. package/build/component/resource/aadApp/constants.js +9 -0
  519. package/build/component/resource/aadApp/constants.js.map +1 -1
  520. package/build/component/resource/aadApp/permissions/index.d.ts.map +1 -1
  521. package/build/component/resource/aadApp/permissions/index.js +1 -1
  522. package/build/component/resource/aadApp/permissions/index.js.map +1 -1
  523. package/build/component/resource/aadApp/utils/configs.d.ts +1 -0
  524. package/build/component/resource/aadApp/utils/configs.d.ts.map +1 -1
  525. package/build/component/resource/aadApp/utils/configs.js +10 -4
  526. package/build/component/resource/aadApp/utils/configs.js.map +1 -1
  527. package/build/component/resource/aadApp/utils/telemetry.d.ts.map +1 -1
  528. package/build/component/resource/aadApp/utils/telemetry.js +1 -2
  529. package/build/component/resource/aadApp/utils/telemetry.js.map +1 -1
  530. package/build/component/resource/aadApp/utils.d.ts.map +1 -1
  531. package/build/component/resource/aadApp/utils.js +1 -1
  532. package/build/component/resource/aadApp/utils.js.map +1 -1
  533. package/build/component/resource/apim/managers/questionManager.js +1 -1
  534. package/build/component/resource/apim/managers/questionManager.js.map +1 -1
  535. package/build/component/resource/apim/questions/vscodeQuestion.js +1 -1
  536. package/build/component/resource/apim/questions/vscodeQuestion.js.map +1 -1
  537. package/build/component/resource/apim/utils/telemetry.d.ts.map +1 -1
  538. package/build/component/resource/apim/utils/telemetry.js +2 -4
  539. package/build/component/resource/apim/utils/telemetry.js.map +1 -1
  540. package/build/component/resource/appManifest/appManifest.d.ts +3 -3
  541. package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
  542. package/build/component/resource/appManifest/appManifest.js +21 -10
  543. package/build/component/resource/appManifest/appManifest.js.map +1 -1
  544. package/build/component/resource/appManifest/appStudio.d.ts +5 -1
  545. package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
  546. package/build/component/resource/appManifest/appStudio.js +197 -11
  547. package/build/component/resource/appManifest/appStudio.js.map +1 -1
  548. package/build/component/resource/appManifest/appStudioClient.d.ts +1 -0
  549. package/build/component/resource/appManifest/appStudioClient.d.ts.map +1 -1
  550. package/build/component/resource/appManifest/appStudioClient.js +22 -2
  551. package/build/component/resource/appManifest/appStudioClient.js.map +1 -1
  552. package/build/component/resource/appManifest/constants.d.ts +7 -2
  553. package/build/component/resource/appManifest/constants.d.ts.map +1 -1
  554. package/build/component/resource/appManifest/constants.js +147 -3
  555. package/build/component/resource/appManifest/constants.js.map +1 -1
  556. package/build/component/resource/appManifest/errors.d.ts +4 -0
  557. package/build/component/resource/appManifest/errors.d.ts.map +1 -1
  558. package/build/component/resource/appManifest/errors.js +7 -0
  559. package/build/component/resource/appManifest/errors.js.map +1 -1
  560. package/build/component/resource/appManifest/interfaces/appPackage.d.ts +10 -0
  561. package/build/component/resource/appManifest/interfaces/appPackage.d.ts.map +1 -0
  562. package/build/component/resource/appManifest/interfaces/appPackage.js +5 -0
  563. package/build/component/resource/appManifest/interfaces/appPackage.js.map +1 -0
  564. package/build/component/resource/appManifest/utils/ManifestUtils.d.ts +2 -0
  565. package/build/component/resource/appManifest/utils/ManifestUtils.d.ts.map +1 -1
  566. package/build/component/resource/appManifest/utils/ManifestUtils.js +98 -24
  567. package/build/component/resource/appManifest/utils/ManifestUtils.js.map +1 -1
  568. package/build/component/resource/appManifest/utils/telemetry.d.ts.map +1 -1
  569. package/build/component/resource/appManifest/utils/telemetry.js +5 -3
  570. package/build/component/resource/appManifest/utils/telemetry.js.map +1 -1
  571. package/build/component/resource/appManifest/utils/utils.d.ts +17 -0
  572. package/build/component/resource/appManifest/utils/utils.d.ts.map +1 -1
  573. package/build/component/resource/appManifest/utils/utils.js +50 -1
  574. package/build/component/resource/appManifest/utils/utils.js.map +1 -1
  575. package/build/component/resource/botService/AadAppCredentials.d.ts +5 -0
  576. package/build/component/resource/botService/AadAppCredentials.d.ts.map +1 -0
  577. package/build/component/resource/botService/AadAppCredentials.js +5 -0
  578. package/build/component/resource/botService/AadAppCredentials.js.map +1 -0
  579. package/build/component/resource/botService/appStudio/appStudioClient.d.ts +11 -0
  580. package/build/component/resource/botService/appStudio/appStudioClient.d.ts.map +1 -0
  581. package/build/component/resource/botService/appStudio/appStudioClient.js +117 -0
  582. package/build/component/resource/botService/appStudio/appStudioClient.js.map +1 -0
  583. package/build/component/resource/botService/botRegistration/botRegistration.d.ts +21 -0
  584. package/build/component/resource/botService/botRegistration/botRegistration.d.ts.map +1 -0
  585. package/build/component/resource/botService/botRegistration/botRegistration.js +71 -0
  586. package/build/component/resource/botService/botRegistration/botRegistration.js.map +1 -0
  587. package/build/component/resource/botService/botRegistration/constants.d.ts +10 -0
  588. package/build/component/resource/botService/botRegistration/constants.d.ts.map +1 -0
  589. package/build/component/resource/botService/botRegistration/constants.js +15 -0
  590. package/build/component/resource/botService/botRegistration/constants.js.map +1 -0
  591. package/build/component/resource/botService/botRegistration/factory.d.ts +9 -0
  592. package/build/component/resource/botService/botRegistration/factory.d.ts.map +1 -0
  593. package/build/component/resource/botService/botRegistration/factory.js +26 -0
  594. package/build/component/resource/botService/botRegistration/factory.js.map +1 -0
  595. package/build/component/resource/botService/botRegistration/graphClient.d.ts +5 -0
  596. package/build/component/resource/botService/botRegistration/graphClient.d.ts.map +1 -0
  597. package/build/component/resource/botService/botRegistration/graphClient.js +58 -0
  598. package/build/component/resource/botService/botRegistration/graphClient.js.map +1 -0
  599. package/build/component/resource/botService/botRegistration/localBotRegistration.d.ts +7 -0
  600. package/build/component/resource/botService/botRegistration/localBotRegistration.d.ts.map +1 -0
  601. package/build/component/resource/botService/botRegistration/localBotRegistration.js +53 -0
  602. package/build/component/resource/botService/botRegistration/localBotRegistration.js.map +1 -0
  603. package/build/component/resource/botService/botRegistration/remoteBotRegistration.d.ts +7 -0
  604. package/build/component/resource/botService/botRegistration/remoteBotRegistration.d.ts.map +1 -0
  605. package/build/component/resource/botService/botRegistration/remoteBotRegistration.js +25 -0
  606. package/build/component/resource/botService/botRegistration/remoteBotRegistration.js.map +1 -0
  607. package/build/component/resource/botService/botService.d.ts +0 -2
  608. package/build/component/resource/botService/botService.d.ts.map +1 -1
  609. package/build/component/resource/botService/botService.js +46 -93
  610. package/build/component/resource/botService/botService.js.map +1 -1
  611. package/build/component/resource/botService/errors.d.ts +2 -3
  612. package/build/component/resource/botService/errors.d.ts.map +1 -1
  613. package/build/component/resource/botService/errors.js +12 -7
  614. package/build/component/resource/botService/errors.js.map +1 -1
  615. package/build/component/resource/spfx/utils/constants.d.ts +2 -2
  616. package/build/component/resource/spfx/utils/constants.d.ts.map +1 -1
  617. package/build/component/resource/spfx/utils/constants.js +2 -2
  618. package/build/component/resource/spfx/utils/constants.js.map +1 -1
  619. package/build/component/telemetry.js +29 -29
  620. package/build/component/telemetry.js.map +1 -1
  621. package/build/{plugins/solution/fx-solution → component}/utils/ResourceGroupHelper.d.ts +4 -0
  622. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -0
  623. package/build/{plugins/solution/fx-solution → component}/utils/ResourceGroupHelper.js +19 -12
  624. package/build/component/utils/ResourceGroupHelper.js.map +1 -0
  625. package/build/component/utils/azureResourceOperation.d.ts +1 -1
  626. package/build/component/utils/azureResourceOperation.d.ts.map +1 -1
  627. package/build/{plugins/solution/fx-solution → component}/utils/backupFiles.d.ts +0 -0
  628. package/build/component/utils/backupFiles.d.ts.map +1 -0
  629. package/build/{plugins/solution/fx-solution → component}/utils/backupFiles.js +4 -4
  630. package/build/component/utils/backupFiles.js.map +1 -0
  631. package/build/component/utils/common.d.ts +9 -1
  632. package/build/component/utils/common.d.ts.map +1 -1
  633. package/build/component/utils/common.js +57 -9
  634. package/build/component/utils/common.js.map +1 -1
  635. package/build/component/utils/depsChecker/bicepChecker.d.ts +11 -0
  636. package/build/component/utils/depsChecker/bicepChecker.d.ts.map +1 -0
  637. package/build/{plugins/solution/fx-solution → component}/utils/depsChecker/bicepChecker.js +59 -19
  638. package/build/component/utils/depsChecker/bicepChecker.js.map +1 -0
  639. package/build/{plugins/solution/fx-solution → component}/utils/depsChecker/common.d.ts +0 -0
  640. package/build/component/utils/depsChecker/common.d.ts.map +1 -0
  641. package/build/{plugins/solution/fx-solution → component}/utils/depsChecker/common.js +8 -7
  642. package/build/component/utils/depsChecker/common.js.map +1 -0
  643. package/build/{plugins/solution/fx-solution → component}/utils/depsChecker/cpUtils.d.ts +0 -0
  644. package/build/component/utils/depsChecker/cpUtils.d.ts.map +1 -0
  645. package/build/{plugins/solution/fx-solution → component}/utils/depsChecker/cpUtils.js +0 -0
  646. package/build/component/utils/depsChecker/cpUtils.js.map +1 -0
  647. package/build/component/utils/envUtil.d.ts +11 -0
  648. package/build/component/utils/envUtil.d.ts.map +1 -0
  649. package/build/component/utils/envUtil.js +96 -0
  650. package/build/component/utils/envUtil.js.map +1 -0
  651. package/build/{plugins/solution/fx-solution/v2 → component/utils}/executor.d.ts +0 -1
  652. package/build/component/utils/executor.d.ts.map +1 -0
  653. package/build/{plugins/solution/fx-solution/v2 → component/utils}/executor.js +2 -18
  654. package/build/component/utils/executor.js.map +1 -0
  655. package/build/component/utils/fileOperation.d.ts.map +1 -1
  656. package/build/component/utils/fileOperation.js +6 -1
  657. package/build/component/utils/fileOperation.js.map +1 -1
  658. package/build/{plugins/solution/fx-solution → component}/utils/progressHelper.d.ts +0 -0
  659. package/build/component/utils/progressHelper.d.ts.map +1 -0
  660. package/build/{plugins/solution/fx-solution → component}/utils/progressHelper.js +1 -1
  661. package/build/component/utils/progressHelper.js.map +1 -0
  662. package/build/component/utils/settingsUtil.d.ts +9 -0
  663. package/build/component/utils/settingsUtil.d.ts.map +1 -0
  664. package/build/component/utils/settingsUtil.js +34 -0
  665. package/build/component/utils/settingsUtil.js.map +1 -0
  666. package/build/component/utils/teamsFxTelemetryReporter.d.ts +25 -0
  667. package/build/component/utils/teamsFxTelemetryReporter.d.ts.map +1 -0
  668. package/build/component/utils/teamsFxTelemetryReporter.js +73 -0
  669. package/build/component/utils/teamsFxTelemetryReporter.js.map +1 -0
  670. package/build/component/utils.d.ts +8 -1
  671. package/build/component/utils.d.ts.map +1 -1
  672. package/build/component/utils.js +35 -2
  673. package/build/component/utils.js.map +1 -1
  674. package/build/core/FxCore.d.ts +49 -5
  675. package/build/core/FxCore.d.ts.map +1 -1
  676. package/build/core/FxCore.js +339 -69
  677. package/build/core/FxCore.js.map +1 -1
  678. package/build/core/collaborator.d.ts +16 -4
  679. package/build/core/collaborator.d.ts.map +1 -1
  680. package/build/core/collaborator.js +189 -64
  681. package/build/core/collaborator.js.map +1 -1
  682. package/build/core/downloadSample.js +2 -2
  683. package/build/core/downloadSample.js.map +1 -1
  684. package/build/core/environment.d.ts.map +1 -1
  685. package/build/core/environment.js +15 -1
  686. package/build/core/environment.js.map +1 -1
  687. package/build/core/error.d.ts +3 -0
  688. package/build/core/error.d.ts.map +1 -1
  689. package/build/core/error.js +11 -1
  690. package/build/core/error.js.map +1 -1
  691. package/build/core/middleware/CommonErrorHandlerMW.js +3 -3
  692. package/build/core/middleware/CommonErrorHandlerMW.js.map +1 -1
  693. package/build/core/middleware/MigrationUtils.js +1 -1
  694. package/build/core/middleware/MigrationUtils.js.map +1 -1
  695. package/build/core/middleware/aadManifestMigration.d.ts.map +1 -1
  696. package/build/core/middleware/aadManifestMigration.js +1 -1
  697. package/build/core/middleware/aadManifestMigration.js.map +1 -1
  698. package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
  699. package/build/core/middleware/concurrentLocker.js +3 -1
  700. package/build/core/middleware/concurrentLocker.js.map +1 -1
  701. package/build/core/middleware/consolidateLocalRemote.js +2 -2
  702. package/build/core/middleware/consolidateLocalRemote.js.map +1 -1
  703. package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
  704. package/build/core/middleware/envInfoLoaderV3.js +6 -0
  705. package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
  706. package/build/core/middleware/envInfoWriter.js +1 -1
  707. package/build/core/middleware/envInfoWriter.js.map +1 -1
  708. package/build/core/middleware/projectMigrator.js +123 -123
  709. package/build/core/middleware/projectMigrator.js.map +1 -1
  710. package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
  711. package/build/core/middleware/projectSettingsLoader.js +34 -13
  712. package/build/core/middleware/projectSettingsLoader.js.map +1 -1
  713. package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
  714. package/build/core/middleware/projectSettingsWriter.js +22 -14
  715. package/build/core/middleware/projectSettingsWriter.js.map +1 -1
  716. package/build/core/middleware/questionModel.js +10 -10
  717. package/build/core/middleware/questionModel.js.map +1 -1
  718. package/build/core/permissionRequest.js +1 -1
  719. package/build/core/permissionRequest.js.map +1 -1
  720. package/build/core/question.d.ts +2 -2
  721. package/build/core/question.d.ts.map +1 -1
  722. package/build/core/question.js +83 -73
  723. package/build/core/question.js.map +1 -1
  724. package/build/core/types.d.ts +2 -0
  725. package/build/core/types.d.ts.map +1 -1
  726. package/build/index.d.ts +1 -0
  727. package/build/index.d.ts.map +1 -1
  728. package/build/index.js +3 -1
  729. package/build/index.js.map +1 -1
  730. package/package.json +13 -4
  731. package/resource/package.nls.json +125 -5
  732. package/resource/package.nls.zh-cn.json +929 -0
  733. package/resource/package.nls.zh-tw.json +929 -0
  734. package/templates/bicep/azureWebApp.provision.module.bicep +1 -1
  735. package/templates/fallback/bot.csharp.command-and-response.zip +0 -0
  736. package/templates/fallback/bot.csharp.default.zip +0 -0
  737. package/templates/fallback/bot.csharp.notification-function-base.zip +0 -0
  738. package/templates/fallback/bot.csharp.notification-trigger-http.zip +0 -0
  739. package/templates/fallback/bot.csharp.notification-trigger-timer.zip +0 -0
  740. package/templates/fallback/bot.csharp.notification-webapi.zip +0 -0
  741. package/templates/fallback/bot.csharp.workflow.zip +0 -0
  742. package/templates/fallback/bot.js.command-and-response.zip +0 -0
  743. package/templates/fallback/bot.js.default.zip +0 -0
  744. package/templates/fallback/bot.js.m365.zip +0 -0
  745. package/templates/fallback/bot.js.notification-function-base.zip +0 -0
  746. package/templates/fallback/bot.js.notification-restify.zip +0 -0
  747. package/templates/fallback/bot.js.notification-trigger-http.zip +0 -0
  748. package/templates/fallback/bot.js.notification-trigger-timer.zip +0 -0
  749. package/templates/fallback/bot.js.workflow.zip +0 -0
  750. package/templates/fallback/bot.ts.command-and-response.zip +0 -0
  751. package/templates/fallback/bot.ts.default.zip +0 -0
  752. package/templates/fallback/bot.ts.m365.zip +0 -0
  753. package/templates/fallback/bot.ts.notification-function-base.zip +0 -0
  754. package/templates/fallback/bot.ts.notification-restify.zip +0 -0
  755. package/templates/fallback/bot.ts.notification-trigger-http.zip +0 -0
  756. package/templates/fallback/bot.ts.notification-trigger-timer.zip +0 -0
  757. package/templates/fallback/bot.ts.workflow.zip +0 -0
  758. package/templates/fallback/command-and-response-csharp.zip +0 -0
  759. package/templates/fallback/command-and-response-js.zip +0 -0
  760. package/templates/fallback/command-and-response-ts.zip +0 -0
  761. package/templates/fallback/function-base.js.default.zip +0 -0
  762. package/templates/fallback/function-base.ts.default.zip +0 -0
  763. package/templates/fallback/function-triggers.js.HTTPTrigger.zip +0 -0
  764. package/templates/fallback/function-triggers.ts.HTTPTrigger.zip +0 -0
  765. package/templates/fallback/init-infra.zip +0 -0
  766. package/templates/fallback/m365-tab-js.zip +0 -0
  767. package/templates/fallback/m365-tab-ts.zip +0 -0
  768. package/templates/fallback/message-extension-csharp.zip +0 -0
  769. package/templates/fallback/non-sso-tab-csharp.zip +0 -0
  770. package/templates/fallback/non-sso-tab-js.zip +0 -0
  771. package/templates/fallback/non-sso-tab-ts.zip +0 -0
  772. package/templates/fallback/notification-http-timer-trigger-csharp.zip +0 -0
  773. package/templates/fallback/notification-http-timer-trigger-js.zip +0 -0
  774. package/templates/fallback/notification-http-timer-trigger-ts.zip +0 -0
  775. package/templates/fallback/notification-http-trigger-csharp.zip +0 -0
  776. package/templates/fallback/notification-http-trigger-js.zip +0 -0
  777. package/templates/fallback/notification-http-trigger-ts.zip +0 -0
  778. package/templates/fallback/notification-restify-js.zip +0 -0
  779. package/templates/fallback/notification-restify-ts.zip +0 -0
  780. package/templates/fallback/notification-timer-trigger-csharp.zip +0 -0
  781. package/templates/fallback/notification-timer-trigger-js.zip +0 -0
  782. package/templates/fallback/notification-timer-trigger-ts.zip +0 -0
  783. package/templates/fallback/notification-webapi-csharp.zip +0 -0
  784. package/templates/fallback/sso-tab-csharp.zip +0 -0
  785. package/templates/fallback/sso-tab-js.zip +0 -0
  786. package/templates/fallback/sso-tab-ts.zip +0 -0
  787. package/templates/fallback/tab.csharp.default.zip +0 -0
  788. package/templates/fallback/tab.csharp.non-sso.zip +0 -0
  789. package/templates/fallback/tab.js.default.zip +0 -0
  790. package/templates/fallback/tab.js.m365.zip +0 -0
  791. package/templates/fallback/tab.js.non-sso.zip +0 -0
  792. package/templates/fallback/tab.ts.default.zip +0 -0
  793. package/templates/fallback/tab.ts.m365.zip +0 -0
  794. package/templates/fallback/tab.ts.non-sso.zip +0 -0
  795. package/templates/plugins/resource/aad/auth/tab/README.md +2 -3
  796. package/templates/plugins/resource/aad/auth/tab/js/public/auth-end.html +31 -31
  797. package/templates/plugins/resource/aad/auth/tab/js/public/auth-start.html +29 -31
  798. package/templates/plugins/resource/aad/auth/tab/ts/public/auth-end.html +31 -31
  799. package/templates/plugins/resource/aad/auth/tab/ts/public/auth-start.html +29 -31
  800. package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +1 -1
  801. package/templates/plugins/resource/cicd/azdo/cd.yml +4 -4
  802. package/templates/plugins/resource/cicd/azdo/provision.yml +4 -4
  803. package/templates/plugins/resource/cicd/azdo/publish.yml +4 -4
  804. package/templates/plugins/resource/cicd/github/cd.yml +4 -0
  805. package/templates/plugins/resource/cicd/github/provision.yml +4 -0
  806. package/templates/plugins/resource/cicd/github/publish.yml +4 -0
  807. package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.cd +4 -4
  808. package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.provision +4 -4
  809. package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.publish +4 -4
  810. package/templates/plugins/resource/cicd_v2/azdo/README.md +48 -0
  811. package/templates/plugins/resource/cicd_v2/azdo/cd.yml +56 -0
  812. package/templates/plugins/resource/cicd_v2/azdo/ci.yml +37 -0
  813. package/templates/plugins/resource/cicd_v2/azdo/provision.yml +53 -0
  814. package/templates/plugins/resource/cicd_v2/azdo/publish.yml +45 -0
  815. package/templates/plugins/resource/cicd_v2/github/README.md +48 -0
  816. package/templates/plugins/resource/cicd_v2/github/cd.yml +71 -0
  817. package/templates/plugins/resource/cicd_v2/github/ci.yml +34 -0
  818. package/templates/plugins/resource/cicd_v2/github/provision.yml +65 -0
  819. package/templates/plugins/resource/cicd_v2/github/publish.yml +47 -0
  820. package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.cd +77 -0
  821. package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.ci +34 -0
  822. package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.provision +79 -0
  823. package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.publish +57 -0
  824. package/templates/plugins/resource/cicd_v2/jenkins/README.md +45 -0
  825. package/templates/plugins/resource/hosting/bicep/webapp/webappProvision.template.bicep +1 -1
  826. package/build/component/debug.d.ts.map +0 -1
  827. package/build/component/debug.js.map +0 -1
  828. package/build/component/deploy/azureAppServiceDeployDriver.d.ts +0 -13
  829. package/build/component/deploy/azureAppServiceDeployDriver.d.ts.map +0 -1
  830. package/build/component/deploy/azureAppServiceDeployDriver.js +0 -29
  831. package/build/component/deploy/azureAppServiceDeployDriver.js.map +0 -1
  832. package/build/component/deploy/azureDeployDriver.d.ts.map +0 -1
  833. package/build/component/deploy/azureDeployDriver.js.map +0 -1
  834. package/build/component/deploy/azureFunctionDeployDriver.d.ts.map +0 -1
  835. package/build/component/deploy/azureFunctionDeployDriver.js.map +0 -1
  836. package/build/component/deploy/azureStorageDeployDriver.d.ts.map +0 -1
  837. package/build/component/deploy/azureStorageDeployDriver.js.map +0 -1
  838. package/build/component/deploy/baseBuildDriver.d.ts +0 -10
  839. package/build/component/deploy/baseBuildDriver.d.ts.map +0 -1
  840. package/build/component/deploy/baseBuildDriver.js +0 -36
  841. package/build/component/deploy/baseBuildDriver.js.map +0 -1
  842. package/build/component/deploy/baseDeployDriver.d.ts.map +0 -1
  843. package/build/component/deploy/baseDeployDriver.js.map +0 -1
  844. package/build/component/deploy/baseStepDriver.d.ts +0 -10
  845. package/build/component/deploy/baseStepDriver.d.ts.map +0 -1
  846. package/build/component/deploy/baseStepDriver.js +0 -21
  847. package/build/component/deploy/baseStepDriver.js.map +0 -1
  848. package/build/component/deploy/dotnetBuildDriver.d.ts.map +0 -1
  849. package/build/component/deploy/dotnetBuildDriver.js +0 -26
  850. package/build/component/deploy/dotnetBuildDriver.js.map +0 -1
  851. package/build/component/deploy/npmBuildDriver.d.ts.map +0 -1
  852. package/build/component/deploy/npmBuildDriver.js +0 -26
  853. package/build/component/deploy/npmBuildDriver.js.map +0 -1
  854. package/build/component/interface/buildAndDeployArgs.d.ts.map +0 -1
  855. package/build/component/interface/buildAndDeployArgs.js.map +0 -1
  856. package/build/component/interface/commonArgs.d.ts.map +0 -1
  857. package/build/component/interface/commonArgs.js.map +0 -1
  858. package/build/component/interface/provisionArgs.d.ts.map +0 -1
  859. package/build/component/interface/provisionArgs.js.map +0 -1
  860. package/build/component/interface/stepDriver.d.ts.map +0 -1
  861. package/build/component/interface/stepDriver.js.map +0 -1
  862. package/build/component/provision/azureStorageStaticWebsiteConfigDriver.d.ts.map +0 -1
  863. package/build/component/provision/azureStorageStaticWebsiteConfigDriver.js.map +0 -1
  864. package/build/component/questionV3.d.ts.map +0 -1
  865. package/build/component/questionV3.js.map +0 -1
  866. package/build/component/resource/botService/aadRegistration.d.ts +0 -6
  867. package/build/component/resource/botService/aadRegistration.d.ts.map +0 -1
  868. package/build/component/resource/botService/aadRegistration.js +0 -88
  869. package/build/component/resource/botService/aadRegistration.js.map +0 -1
  870. package/build/component/resource/botService/appStudio/appStudio.d.ts +0 -16
  871. package/build/component/resource/botService/appStudio/appStudio.d.ts.map +0 -1
  872. package/build/component/resource/botService/appStudio/appStudio.js +0 -174
  873. package/build/component/resource/botService/appStudio/appStudio.js.map +0 -1
  874. package/build/core/SolutionPluginContainer.d.ts +0 -15
  875. package/build/core/SolutionPluginContainer.d.ts.map +0 -1
  876. package/build/core/SolutionPluginContainer.js +0 -54
  877. package/build/core/SolutionPluginContainer.js.map +0 -1
  878. package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts +0 -33
  879. package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +0 -1
  880. package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +0 -78
  881. package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +0 -1
  882. package/build/plugins/solution/fx-solution/arm.d.ts.map +0 -1
  883. package/build/plugins/solution/fx-solution/arm.js +0 -1225
  884. package/build/plugins/solution/fx-solution/arm.js.map +0 -1
  885. package/build/plugins/solution/fx-solution/commonQuestions.d.ts +0 -59
  886. package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +0 -1
  887. package/build/plugins/solution/fx-solution/commonQuestions.js +0 -456
  888. package/build/plugins/solution/fx-solution/commonQuestions.js.map +0 -1
  889. package/build/plugins/solution/fx-solution/constants.d.ts +0 -272
  890. package/build/plugins/solution/fx-solution/constants.d.ts.map +0 -1
  891. package/build/plugins/solution/fx-solution/constants.js +0 -313
  892. package/build/plugins/solution/fx-solution/constants.js.map +0 -1
  893. package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +0 -1
  894. package/build/plugins/solution/fx-solution/debug/constants.js.map +0 -1
  895. package/build/plugins/solution/fx-solution/debug/error.d.ts.map +0 -1
  896. package/build/plugins/solution/fx-solution/debug/error.js.map +0 -1
  897. package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts +0 -6
  898. package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +0 -1
  899. package/build/plugins/solution/fx-solution/debug/provisionLocal.js +0 -326
  900. package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +0 -1
  901. package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +0 -9
  902. package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +0 -1
  903. package/build/plugins/solution/fx-solution/debug/scaffolding.js +0 -145
  904. package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +0 -1
  905. package/build/plugins/solution/fx-solution/debug/util/codespace.d.ts.map +0 -1
  906. package/build/plugins/solution/fx-solution/debug/util/codespace.js.map +0 -1
  907. package/build/plugins/solution/fx-solution/debug/util/launch.d.ts.map +0 -1
  908. package/build/plugins/solution/fx-solution/debug/util/launch.js.map +0 -1
  909. package/build/plugins/solution/fx-solution/debug/util/launchNext.d.ts.map +0 -1
  910. package/build/plugins/solution/fx-solution/debug/util/launchNext.js.map +0 -1
  911. package/build/plugins/solution/fx-solution/debug/util/launchTransparency.d.ts.map +0 -1
  912. package/build/plugins/solution/fx-solution/debug/util/launchTransparency.js.map +0 -1
  913. package/build/plugins/solution/fx-solution/debug/util/localService.d.ts.map +0 -1
  914. package/build/plugins/solution/fx-solution/debug/util/localService.js.map +0 -1
  915. package/build/plugins/solution/fx-solution/debug/util/ngrok.d.ts.map +0 -1
  916. package/build/plugins/solution/fx-solution/debug/util/ngrok.js.map +0 -1
  917. package/build/plugins/solution/fx-solution/debug/util/settings.d.ts.map +0 -1
  918. package/build/plugins/solution/fx-solution/debug/util/settings.js.map +0 -1
  919. package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts.map +0 -1
  920. package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +0 -1
  921. package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts.map +0 -1
  922. package/build/plugins/solution/fx-solution/debug/util/tasksNext.js.map +0 -1
  923. package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.d.ts.map +0 -1
  924. package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.js.map +0 -1
  925. package/build/plugins/solution/fx-solution/debug/util/telemetry.d.ts.map +0 -1
  926. package/build/plugins/solution/fx-solution/debug/util/telemetry.js.map +0 -1
  927. package/build/plugins/solution/fx-solution/executor.d.ts +0 -27
  928. package/build/plugins/solution/fx-solution/executor.d.ts.map +0 -1
  929. package/build/plugins/solution/fx-solution/executor.js +0 -164
  930. package/build/plugins/solution/fx-solution/executor.js.map +0 -1
  931. package/build/plugins/solution/fx-solution/question.d.ts +0 -65
  932. package/build/plugins/solution/fx-solution/question.d.ts.map +0 -1
  933. package/build/plugins/solution/fx-solution/question.js +0 -416
  934. package/build/plugins/solution/fx-solution/question.js.map +0 -1
  935. package/build/plugins/solution/fx-solution/types.d.ts +0 -10
  936. package/build/plugins/solution/fx-solution/types.d.ts.map +0 -1
  937. package/build/plugins/solution/fx-solution/types.js +0 -12
  938. package/build/plugins/solution/fx-solution/types.js.map +0 -1
  939. package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts.map +0 -1
  940. package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js.map +0 -1
  941. package/build/plugins/solution/fx-solution/utils/backupFiles.d.ts.map +0 -1
  942. package/build/plugins/solution/fx-solution/utils/backupFiles.js.map +0 -1
  943. package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts +0 -8
  944. package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts.map +0 -1
  945. package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.js.map +0 -1
  946. package/build/plugins/solution/fx-solution/utils/depsChecker/common.d.ts.map +0 -1
  947. package/build/plugins/solution/fx-solution/utils/depsChecker/common.js.map +0 -1
  948. package/build/plugins/solution/fx-solution/utils/depsChecker/cpUtils.d.ts.map +0 -1
  949. package/build/plugins/solution/fx-solution/utils/depsChecker/cpUtils.js.map +0 -1
  950. package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts.map +0 -1
  951. package/build/plugins/solution/fx-solution/utils/progressHelper.js.map +0 -1
  952. package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.d.ts +0 -3
  953. package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.d.ts.map +0 -1
  954. package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.js +0 -19
  955. package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.js.map +0 -1
  956. package/build/plugins/solution/fx-solution/utils/util.d.ts +0 -22
  957. package/build/plugins/solution/fx-solution/utils/util.d.ts.map +0 -1
  958. package/build/plugins/solution/fx-solution/utils/util.js +0 -129
  959. package/build/plugins/solution/fx-solution/utils/util.js.map +0 -1
  960. package/build/plugins/solution/fx-solution/v2/adaptor.d.ts +0 -11
  961. package/build/plugins/solution/fx-solution/v2/adaptor.d.ts.map +0 -1
  962. package/build/plugins/solution/fx-solution/v2/adaptor.js +0 -64
  963. package/build/plugins/solution/fx-solution/v2/adaptor.js.map +0 -1
  964. package/build/plugins/solution/fx-solution/v2/constants.d.ts +0 -2
  965. package/build/plugins/solution/fx-solution/v2/constants.d.ts.map +0 -1
  966. package/build/plugins/solution/fx-solution/v2/constants.js +0 -7
  967. package/build/plugins/solution/fx-solution/v2/constants.js.map +0 -1
  968. package/build/plugins/solution/fx-solution/v2/executor.d.ts.map +0 -1
  969. package/build/plugins/solution/fx-solution/v2/executor.js.map +0 -1
  970. package/build/plugins/solution/fx-solution/v2/utils.d.ts +0 -28
  971. package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +0 -1
  972. package/build/plugins/solution/fx-solution/v2/utils.js +0 -276
  973. package/build/plugins/solution/fx-solution/v2/utils.js.map +0 -1
  974. package/build/plugins/solution/fx-solution/v3/constants.d.ts +0 -18
  975. package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +0 -1
  976. package/build/plugins/solution/fx-solution/v3/constants.js +0 -23
  977. package/build/plugins/solution/fx-solution/v3/constants.js.map +0 -1
  978. package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.d.ts +0 -5
  979. package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.d.ts.map +0 -1
  980. package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.js +0 -10
  981. package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.js.map +0 -1
@@ -14,22 +14,22 @@ const localSettingsProvider_1 = require("../../common/localSettingsProvider");
14
14
  const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
15
15
  const path_1 = tslib_1.__importDefault(require("path"));
16
16
  const os_1 = tslib_1.__importDefault(require("os"));
17
- const constants_1 = require("../../plugins/solution/fx-solution/constants");
17
+ const constants_1 = require("../../component/constants");
18
18
  const projectSettingsLoader_1 = require("./projectSettingsLoader");
19
- const question_1 = require("../../plugins/solution/fx-solution/question");
20
- const constants_2 = require("../../common/constants");
21
- const constants_3 = require("../../component/resource/appManifest/constants");
19
+ const constants_2 = require("../../component/constants");
20
+ const constants_3 = require("../../common/constants");
21
+ const constants_4 = require("../../component/resource/appManifest/constants");
22
22
  const utils_1 = require("../../component/resource/appManifest/utils/utils");
23
23
  const telemetry_1 = require("../../common/telemetry");
24
24
  const dotenv = tslib_1.__importStar(require("dotenv"));
25
- const constants_4 = require("../../component/resource/spfx/utils/constants");
25
+ const constants_5 = require("../../component/resource/spfx/utils/constants");
26
26
  const utils_2 = require("../../component/resource/spfx/utils/utils");
27
27
  const localEnvProvider_1 = require("../../common/local/localEnvProvider");
28
28
  const globalVars_1 = require("../globalVars");
29
29
  const localizeUtils_1 = require("../../common/localizeUtils");
30
30
  const utils_3 = require("../../common/utils");
31
31
  const typedi_1 = require("typedi");
32
- const constants_5 = require("../../component/constants");
32
+ const constants_6 = require("../../component/constants");
33
33
  const workflow_1 = require("../../component/workflow");
34
34
  const utils_4 = require("../../component/utils");
35
35
  const lodash_1 = require("lodash");
@@ -37,8 +37,8 @@ const migrate_1 = require("../../component/migrate");
37
37
  const projectSettingsHelperV3_1 = require("../../common/projectSettingsHelperV3");
38
38
  const programmingLanguage = "programmingLanguage";
39
39
  const defaultFunctionName = "defaultFunctionName";
40
- const learnMoreText = "Learn More";
41
- const upgradeButton = "Upgrade";
40
+ const learnMoreText = localizeUtils_1.getLocalizedString("core.option.learnMore");
41
+ const upgradeButton = localizeUtils_1.getLocalizedString("core.option.upgrade");
42
42
  const solutionName = "solution";
43
43
  const subscriptionId = "subscriptionId";
44
44
  const resourceGroupName = "resourceGroupName";
@@ -181,11 +181,11 @@ async function getOldProjectInfoForTelemetry(projectPath) {
181
181
  const solutionSettings = projectSettings.solutionSettings;
182
182
  const hostType = solutionSettings === null || solutionSettings === void 0 ? void 0 : solutionSettings.hostType;
183
183
  const result = { [telemetry_1.TelemetryProperty.HostType]: hostType };
184
- if (hostType === question_1.HostTypeOptionAzure.id || hostType === question_1.HostTypeOptionSPFx.id) {
184
+ if (hostType === constants_2.HostTypeOptionAzure.id || hostType === constants_2.HostTypeOptionSPFx.id) {
185
185
  result[telemetry_1.TelemetryProperty.ActivePlugins] = JSON.stringify(solutionSettings.activeResourcePlugins);
186
186
  result[telemetry_1.TelemetryProperty.Capabilities] = JSON.stringify(solutionSettings.capabilities);
187
187
  }
188
- if (hostType === question_1.HostTypeOptionAzure.id) {
188
+ if (hostType === constants_2.HostTypeOptionAzure.id) {
189
189
  const azureSolutionSettings = solutionSettings;
190
190
  result[telemetry_1.TelemetryProperty.AzureResources] = JSON.stringify(azureSolutionSettings.azureResources);
191
191
  }
@@ -231,15 +231,15 @@ async function migrateToArmAndMultiEnv(ctx) {
231
231
  await postMigration(projectPath, ctx, inputs, backupFolder);
232
232
  }
233
233
  async function getManifestPath(fx, projectPath) {
234
- if (await fs_extra_1.default.pathExists(path_1.default.join(projectPath, teamsfx_api_1.AppPackageFolderName, constants_3.REMOTE_MANIFEST))) {
235
- return path_1.default.join(projectPath, teamsfx_api_1.AppPackageFolderName, constants_3.REMOTE_MANIFEST);
234
+ if (await fs_extra_1.default.pathExists(path_1.default.join(projectPath, teamsfx_api_1.AppPackageFolderName, constants_4.REMOTE_MANIFEST))) {
235
+ return path_1.default.join(projectPath, teamsfx_api_1.AppPackageFolderName, constants_4.REMOTE_MANIFEST);
236
236
  }
237
237
  // 2.3.2<= version <= 2.4.1
238
- if (await fs_extra_1.default.pathExists(path_1.default.join(fx, teamsfx_api_1.AppPackageFolderName, constants_3.REMOTE_MANIFEST))) {
239
- return path_1.default.join(fx, teamsfx_api_1.AppPackageFolderName, constants_3.REMOTE_MANIFEST);
238
+ if (await fs_extra_1.default.pathExists(path_1.default.join(fx, teamsfx_api_1.AppPackageFolderName, constants_4.REMOTE_MANIFEST))) {
239
+ return path_1.default.join(fx, teamsfx_api_1.AppPackageFolderName, constants_4.REMOTE_MANIFEST);
240
240
  }
241
241
  // 2.0.1 <= version <= 2.3.1
242
- return path_1.default.join(fx, constants_3.REMOTE_MANIFEST);
242
+ return path_1.default.join(fx, constants_4.REMOTE_MANIFEST);
243
243
  }
244
244
  async function preCheckKeyFiles(projectPath, ctx) {
245
245
  const fx = path_1.default.join(projectPath, `.${teamsfx_api_1.ConfigFolderName}`);
@@ -392,8 +392,8 @@ async function copyManifest(projectPath, fx, target) {
392
392
  }
393
393
  else {
394
394
  // version <= 2.3.1
395
- await fs_extra_1.default.copy(path_1.default.join(fx, constants_3.REMOTE_MANIFEST), path_1.default.join(target, constants_3.REMOTE_MANIFEST));
396
- const manifest = await getManifest(path_1.default.join(target, constants_3.REMOTE_MANIFEST));
395
+ await fs_extra_1.default.copy(path_1.default.join(fx, constants_4.REMOTE_MANIFEST), path_1.default.join(target, constants_4.REMOTE_MANIFEST));
396
+ const manifest = await getManifest(path_1.default.join(target, constants_4.REMOTE_MANIFEST));
397
397
  const color = (await fs_extra_1.default.pathExists(path_1.default.join(fx, "color.png")))
398
398
  ? "color.png"
399
399
  : manifest.icons.color;
@@ -415,8 +415,8 @@ async function migrateProjectSettings(projectPath) {
415
415
  }
416
416
  const projectSettings = loadRes.value;
417
417
  if (projectSettingsHelperV3_1.hasAzureResourceV3(projectSettings, true)) {
418
- if (!workflow_1.getComponent(projectSettings, constants_5.ComponentNames.Identity)) {
419
- projectSettings.components.push({ name: constants_5.ComponentNames.Identity });
418
+ if (!workflow_1.getComponent(projectSettings, constants_6.ComponentNames.Identity)) {
419
+ projectSettings.components.push({ name: constants_6.ComponentNames.Identity });
420
420
  }
421
421
  }
422
422
  return projectSettings;
@@ -439,40 +439,40 @@ async function migrateMultiEnv(projectPath, log) {
439
439
  const configDev = getConfigDevJson(appName);
440
440
  // migrate skipAddingSqlUser
441
441
  const envDefault = await fs_extra_1.default.readJson(envDefaultFilePath);
442
- if ((_a = envDefault[constants_2.ResourcePlugins.AzureSQL]) === null || _a === void 0 ? void 0 : _a[EnvConfigName.SqlSkipAddingUser]) {
442
+ if ((_a = envDefault[constants_3.ResourcePlugins.AzureSQL]) === null || _a === void 0 ? void 0 : _a[EnvConfigName.SqlSkipAddingUser]) {
443
443
  configDev["skipAddingSqlUser"] =
444
- envDefault[constants_2.ResourcePlugins.AzureSQL][EnvConfigName.SqlSkipAddingUser];
444
+ envDefault[constants_3.ResourcePlugins.AzureSQL][EnvConfigName.SqlSkipAddingUser];
445
445
  }
446
- if (((_b = envDefault[constants_2.ResourcePlugins.Aad]) === null || _b === void 0 ? void 0 : _b[EnvConfigName.AadSkipProvision]) === "true") {
446
+ if (((_b = envDefault[constants_3.ResourcePlugins.Aad]) === null || _b === void 0 ? void 0 : _b[EnvConfigName.AadSkipProvision]) === "true") {
447
447
  configDev.auth = {};
448
- if (envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.OAuthScopeId]) {
448
+ if (envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.OAuthScopeId]) {
449
449
  configDev.auth.accessAsUserScopeId =
450
- envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.OAuthScopeId];
450
+ envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.OAuthScopeId];
451
451
  }
452
- if (envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.ObjectId]) {
453
- configDev.auth.objectId = envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.ObjectId];
452
+ if (envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.ObjectId]) {
453
+ configDev.auth.objectId = envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.ObjectId];
454
454
  }
455
- if (envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.ClientId]) {
456
- configDev.auth.clientId = envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.ClientId];
455
+ if (envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.ClientId]) {
456
+ configDev.auth.clientId = envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.ClientId];
457
457
  }
458
- if (envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.ClientSecret]) {
459
- await globalState_1.globalStateUpdate(AADClientSecretFlag, envDefault[constants_2.ResourcePlugins.Aad][EnvConfigName.ClientSecret]);
458
+ if (envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.ClientSecret]) {
459
+ await globalState_1.globalStateUpdate(AADClientSecretFlag, envDefault[constants_3.ResourcePlugins.Aad][EnvConfigName.ClientSecret]);
460
460
  configDev.auth.clientSecret = AadSecret;
461
461
  }
462
462
  }
463
463
  await fs_extra_1.default.writeFile(configDevJsonFilePath, JSON.stringify(configDev, null, 4));
464
464
  // appPackage
465
465
  await copyManifest(projectPath, fx, templateAppPackage);
466
- const sourceManifestFile = path_1.default.join(templateAppPackage, constants_3.REMOTE_MANIFEST);
466
+ const sourceManifestFile = path_1.default.join(templateAppPackage, constants_4.REMOTE_MANIFEST);
467
467
  const manifest = await getManifest(sourceManifestFile);
468
468
  await fs_extra_1.default.remove(sourceManifestFile);
469
469
  // generate manifest.remote.template.json
470
- const targetRemoteManifestFile = path_1.default.join(templateAppPackage, constants_3.MANIFEST_TEMPLATE);
470
+ const targetRemoteManifestFile = path_1.default.join(templateAppPackage, constants_4.MANIFEST_TEMPLATE);
471
471
  const remoteManifest = await generateRemoteTemplate(JSON.stringify(manifest));
472
472
  await fs_extra_1.default.writeFile(targetRemoteManifestFile, JSON.stringify(remoteManifest, null, 4));
473
473
  // generate manifest.local.template.json
474
474
  const localManifest = await generateLocalTemplate(JSON.stringify(manifest), isSPFx, log);
475
- const targetLocalManifestFile = path_1.default.join(templateAppPackage, constants_3.MANIFEST_LOCAL);
475
+ const targetLocalManifestFile = path_1.default.join(templateAppPackage, constants_4.MANIFEST_LOCAL);
476
476
  await fs_extra_1.default.writeFile(targetLocalManifestFile, JSON.stringify(localManifest, null, 4));
477
477
  if (isSPFx) {
478
478
  const replaceMap = new Map();
@@ -481,8 +481,8 @@ async function migrateMultiEnv(projectPath, log) {
481
481
  throw error_1.SPFxConfigError(packageSolutionFile);
482
482
  }
483
483
  const solutionConfig = await fs_extra_1.default.readJson(packageSolutionFile);
484
- replaceMap.set(constants_4.PlaceHolders.componentId, solutionConfig.solution.id);
485
- replaceMap.set(constants_4.PlaceHolders.componentNameUnescaped, localManifest.packageName);
484
+ replaceMap.set(constants_5.PlaceHolders.componentId, solutionConfig.solution.id);
485
+ replaceMap.set(constants_5.PlaceHolders.componentNameUnescaped, localManifest.packageName);
486
486
  await utils_2.Utils.configure(targetLocalManifestFile, replaceMap);
487
487
  }
488
488
  // state.dev.json / dev.userdata
@@ -564,8 +564,8 @@ async function queryProjectStatus(fx) {
564
564
  const hasFrontend = projectSettingsHelperV3_1.hasAzureTab(settingsV3);
565
565
  const hasBackend = projectSettingsHelperV3_1.hasApi(settingsV3);
566
566
  const hasBot = projectSettingsHelperV3_1.hasBot(settingsV3);
567
- const hasBotCapability = settings.solutionSettings.capabilities.includes(question_1.BotOptionItem.id);
568
- const hasMessageExtensionCapability = settings.solutionSettings.capabilities.includes(question_1.MessageExtensionItem.id);
567
+ const hasBotCapability = settings.solutionSettings.capabilities.includes(constants_2.BotOptionItem.id);
568
+ const hasMessageExtensionCapability = settings.solutionSettings.capabilities.includes(constants_2.MessageExtensionItem.id);
569
569
  const isSPFx = projectSettingsHelperV3_1.hasSPFxTab(settingsV3);
570
570
  const hasProvision = (_a = envDefaultJson.solution) === null || _a === void 0 ? void 0 : _a.provisionSucceeded;
571
571
  return {
@@ -648,7 +648,7 @@ async function removeOldProjectFiles(projectPath) {
648
648
  // version <= 2.4.1, remove .fx/appPackage.
649
649
  await fs_extra_1.default.remove(path_1.default.join(fx, teamsfx_api_1.AppPackageFolderName));
650
650
  // version <= 3.2.1
651
- await fs_extra_1.default.remove(path_1.default.join(fx, constants_3.REMOTE_MANIFEST));
651
+ await fs_extra_1.default.remove(path_1.default.join(fx, constants_4.REMOTE_MANIFEST));
652
652
  await fs_extra_1.default.remove(path_1.default.join(fx, "color.png"));
653
653
  await fs_extra_1.default.remove(path_1.default.join(fx, "outline.png"));
654
654
  }
@@ -705,9 +705,9 @@ async function updateConfig(ctx) {
705
705
  const inputs = ctx.arguments[ctx.arguments.length - 1];
706
706
  const fx = path_1.default.join(inputs.projectPath, `.${teamsfx_api_1.ConfigFolderName}`);
707
707
  const envConfig = await fs_extra_1.default.readJson(path_1.default.join(fx, "env.default.json"));
708
- if (envConfig[constants_2.ResourcePlugins.Bot]) {
709
- delete envConfig[constants_2.ResourcePlugins.Bot];
710
- envConfig[constants_2.ResourcePlugins.Bot] = { wayToRegisterBot: "create-new" };
708
+ if (envConfig[constants_3.ResourcePlugins.Bot]) {
709
+ delete envConfig[constants_3.ResourcePlugins.Bot];
710
+ envConfig[constants_3.ResourcePlugins.Bot] = { wayToRegisterBot: "create-new" };
711
711
  envConfig.solution.provisionSucceeded = false;
712
712
  }
713
713
  let needUpdate = false;
@@ -716,43 +716,43 @@ async function updateConfig(ctx) {
716
716
  configPrefix = `/subscriptions/${envConfig[solutionName][subscriptionId]}/resourcegroups/${envConfig[solutionName][resourceGroupName]}`;
717
717
  needUpdate = true;
718
718
  }
719
- if (needUpdate && ((_a = envConfig[constants_2.ResourcePlugins.FrontendHosting]) === null || _a === void 0 ? void 0 : _a[EnvConfigName.StorageName])) {
720
- envConfig[constants_2.ResourcePlugins.FrontendHosting][EnvConfigName.StorageResourceId] = `${configPrefix}/providers/Microsoft.Storage/storageAccounts/${envConfig[constants_2.ResourcePlugins.FrontendHosting][EnvConfigName.StorageName]}`;
719
+ if (needUpdate && ((_a = envConfig[constants_3.ResourcePlugins.FrontendHosting]) === null || _a === void 0 ? void 0 : _a[EnvConfigName.StorageName])) {
720
+ envConfig[constants_3.ResourcePlugins.FrontendHosting][EnvConfigName.StorageResourceId] = `${configPrefix}/providers/Microsoft.Storage/storageAccounts/${envConfig[constants_3.ResourcePlugins.FrontendHosting][EnvConfigName.StorageName]}`;
721
721
  }
722
- if (needUpdate && ((_b = envConfig[constants_2.ResourcePlugins.AzureSQL]) === null || _b === void 0 ? void 0 : _b[EnvConfigName.SqlEndpoint])) {
723
- envConfig[constants_2.ResourcePlugins.AzureSQL][EnvConfigName.SqlResourceId] = `${configPrefix}/providers/Microsoft.Sql/servers/${envConfig[constants_2.ResourcePlugins.AzureSQL][EnvConfigName.SqlEndpoint].split(".database.windows.net")[0]}`;
722
+ if (needUpdate && ((_b = envConfig[constants_3.ResourcePlugins.AzureSQL]) === null || _b === void 0 ? void 0 : _b[EnvConfigName.SqlEndpoint])) {
723
+ envConfig[constants_3.ResourcePlugins.AzureSQL][EnvConfigName.SqlResourceId] = `${configPrefix}/providers/Microsoft.Sql/servers/${envConfig[constants_3.ResourcePlugins.AzureSQL][EnvConfigName.SqlEndpoint].split(".database.windows.net")[0]}`;
724
724
  }
725
- if (needUpdate && ((_c = envConfig[constants_2.ResourcePlugins.Function]) === null || _c === void 0 ? void 0 : _c[EnvConfigName.FuncAppName])) {
726
- envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.FunctionAppResourceId] = `${configPrefix}/providers/Microsoft.Web/sites/${envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.FuncAppName]}`;
727
- delete envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.FuncAppName];
728
- if (envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.StorageAccountName]) {
729
- delete envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.StorageAccountName];
725
+ if (needUpdate && ((_c = envConfig[constants_3.ResourcePlugins.Function]) === null || _c === void 0 ? void 0 : _c[EnvConfigName.FuncAppName])) {
726
+ envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.FunctionAppResourceId] = `${configPrefix}/providers/Microsoft.Web/sites/${envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.FuncAppName]}`;
727
+ delete envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.FuncAppName];
728
+ if (envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.StorageAccountName]) {
729
+ delete envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.StorageAccountName];
730
730
  }
731
- if (envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.AppServicePlanName]) {
732
- delete envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.AppServicePlanName];
731
+ if (envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.AppServicePlanName]) {
732
+ delete envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.AppServicePlanName];
733
733
  }
734
734
  }
735
- if (needUpdate && ((_d = envConfig[constants_2.ResourcePlugins.Identity]) === null || _d === void 0 ? void 0 : _d[EnvConfigName.Identity])) {
736
- envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.IdentityResourceId] = `${configPrefix}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/${envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.Identity]}`;
737
- envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.IdentityName] =
738
- envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.Identity];
739
- delete envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.Identity];
735
+ if (needUpdate && ((_d = envConfig[constants_3.ResourcePlugins.Identity]) === null || _d === void 0 ? void 0 : _d[EnvConfigName.Identity])) {
736
+ envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.IdentityResourceId] = `${configPrefix}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/${envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.Identity]}`;
737
+ envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.IdentityName] =
738
+ envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.Identity];
739
+ delete envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.Identity];
740
740
  }
741
- if (needUpdate && ((_e = envConfig[constants_2.ResourcePlugins.Identity]) === null || _e === void 0 ? void 0 : _e[EnvConfigName.IdentityId])) {
742
- envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.IdentityClientId] =
743
- envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.IdentityId];
744
- delete envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.IdentityId];
741
+ if (needUpdate && ((_e = envConfig[constants_3.ResourcePlugins.Identity]) === null || _e === void 0 ? void 0 : _e[EnvConfigName.IdentityId])) {
742
+ envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.IdentityClientId] =
743
+ envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.IdentityId];
744
+ delete envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.IdentityId];
745
745
  }
746
- if (needUpdate && ((_f = envConfig[constants_2.ResourcePlugins.Apim]) === null || _f === void 0 ? void 0 : _f[EnvConfigName.ServiceName])) {
747
- envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ServiceResourceId] = `${configPrefix}/providers/Microsoft.ApiManagement/service/${envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ServiceName]}`;
748
- delete envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ServiceName];
749
- if ((_g = envConfig[constants_2.ResourcePlugins.Apim]) === null || _g === void 0 ? void 0 : _g[EnvConfigName.ProductId]) {
750
- envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ProductResourceId] = `${envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ServiceResourceId]}/products/${envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ProductId]}`;
751
- delete envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ProductId];
746
+ if (needUpdate && ((_f = envConfig[constants_3.ResourcePlugins.Apim]) === null || _f === void 0 ? void 0 : _f[EnvConfigName.ServiceName])) {
747
+ envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ServiceResourceId] = `${configPrefix}/providers/Microsoft.ApiManagement/service/${envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ServiceName]}`;
748
+ delete envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ServiceName];
749
+ if ((_g = envConfig[constants_3.ResourcePlugins.Apim]) === null || _g === void 0 ? void 0 : _g[EnvConfigName.ProductId]) {
750
+ envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ProductResourceId] = `${envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ServiceResourceId]}/products/${envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ProductId]}`;
751
+ delete envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ProductId];
752
752
  }
753
- if ((_h = envConfig[constants_2.ResourcePlugins.Apim]) === null || _h === void 0 ? void 0 : _h[EnvConfigName.OAuthServerId]) {
754
- envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.AuthServerResourceId] = `${envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.ServiceResourceId]}/authorizationServers/${envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.OAuthServerId]}`;
755
- delete envConfig[constants_2.ResourcePlugins.Apim][EnvConfigName.OAuthServerId];
753
+ if ((_h = envConfig[constants_3.ResourcePlugins.Apim]) === null || _h === void 0 ? void 0 : _h[EnvConfigName.OAuthServerId]) {
754
+ envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.AuthServerResourceId] = `${envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.ServiceResourceId]}/authorizationServers/${envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.OAuthServerId]}`;
755
+ delete envConfig[constants_3.ResourcePlugins.Apim][EnvConfigName.OAuthServerId];
756
756
  }
757
757
  }
758
758
  await fs_extra_1.default.writeFile(path_1.default.join(fx, "new.env.default.json"), JSON.stringify(envConfig, null, 4));
@@ -769,14 +769,14 @@ async function generateBicepsV3(projectSettings, inputs) {
769
769
  const context = utils_4.createContextV3(projectSettings);
770
770
  // teams-tab
771
771
  {
772
- const config = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.TeamsTab);
772
+ const config = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.TeamsTab);
773
773
  if (config) {
774
- const hosting = config.hosting || constants_5.ComponentNames.AzureStorage;
774
+ const hosting = config.hosting || constants_6.ComponentNames.AzureStorage;
775
775
  const hostingComponent = typedi_1.Container.get(hosting);
776
776
  const clonedInputs = lodash_1.cloneDeep(inputs);
777
777
  lodash_1.assign(clonedInputs, {
778
- componentId: constants_5.ComponentNames.TeamsTab,
779
- scenario: constants_5.Scenarios.Tab,
778
+ componentId: constants_6.ComponentNames.TeamsTab,
779
+ scenario: constants_6.Scenarios.Tab,
780
780
  });
781
781
  const res = await hostingComponent.generateBicep(context, clonedInputs);
782
782
  if (res.isErr())
@@ -786,16 +786,16 @@ async function generateBicepsV3(projectSettings, inputs) {
786
786
  }
787
787
  // teams-bot
788
788
  {
789
- const config = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.TeamsBot);
789
+ const config = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.TeamsBot);
790
790
  if (config) {
791
791
  // bot hosting
792
- const hosting = config.hosting || constants_5.ComponentNames.AzureWebApp;
792
+ const hosting = config.hosting || constants_6.ComponentNames.AzureWebApp;
793
793
  {
794
794
  const hostingComponent = typedi_1.Container.get(hosting);
795
795
  const clonedInputs = lodash_1.cloneDeep(inputs);
796
796
  lodash_1.assign(clonedInputs, {
797
- componentId: constants_5.ComponentNames.TeamsBot,
798
- scenario: constants_5.Scenarios.Bot,
797
+ componentId: constants_6.ComponentNames.TeamsBot,
798
+ scenario: constants_6.Scenarios.Bot,
799
799
  });
800
800
  const res = await hostingComponent.generateBicep(context, clonedInputs);
801
801
  if (res.isErr())
@@ -807,9 +807,9 @@ async function generateBicepsV3(projectSettings, inputs) {
807
807
  const clonedInputs = lodash_1.cloneDeep(inputs);
808
808
  lodash_1.assign(clonedInputs, {
809
809
  hosting: hosting,
810
- scenario: constants_5.Scenarios.Bot,
810
+ scenario: constants_6.Scenarios.Bot,
811
811
  });
812
- const botService = typedi_1.Container.get(constants_5.ComponentNames.BotService);
812
+ const botService = typedi_1.Container.get(constants_6.ComponentNames.BotService);
813
813
  const res = await botService.generateBicep(context, clonedInputs);
814
814
  if (res.isErr())
815
815
  return teamsfx_api_1.err(res.error);
@@ -819,15 +819,15 @@ async function generateBicepsV3(projectSettings, inputs) {
819
819
  }
820
820
  // teams-api
821
821
  {
822
- const config = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.TeamsApi);
822
+ const config = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.TeamsApi);
823
823
  if (config) {
824
824
  const clonedInputs = lodash_1.cloneDeep(inputs);
825
825
  lodash_1.assign(clonedInputs, {
826
- componentId: constants_5.ComponentNames.TeamsApi,
827
- hosting: constants_5.ComponentNames.Function,
828
- scenario: constants_5.Scenarios.Api,
826
+ componentId: constants_6.ComponentNames.TeamsApi,
827
+ hosting: constants_6.ComponentNames.Function,
828
+ scenario: constants_6.Scenarios.Api,
829
829
  });
830
- const functionComponent = typedi_1.Container.get(constants_5.ComponentNames.Function);
830
+ const functionComponent = typedi_1.Container.get(constants_6.ComponentNames.Function);
831
831
  const res = await functionComponent.generateBicep(context, clonedInputs);
832
832
  if (res.isErr())
833
833
  return teamsfx_api_1.err(res.error);
@@ -836,14 +836,14 @@ async function generateBicepsV3(projectSettings, inputs) {
836
836
  }
837
837
  // identity
838
838
  {
839
- const identity = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.Identity);
839
+ const identity = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.Identity);
840
840
  if (identity) {
841
841
  const clonedInputs = lodash_1.cloneDeep(inputs);
842
842
  lodash_1.assign(clonedInputs, {
843
843
  componentId: "",
844
844
  scenario: "",
845
845
  });
846
- const identityComponent = typedi_1.Container.get(constants_5.ComponentNames.Identity);
846
+ const identityComponent = typedi_1.Container.get(constants_6.ComponentNames.Identity);
847
847
  const res = await identityComponent.generateBicep(context, clonedInputs);
848
848
  if (res.isErr())
849
849
  return teamsfx_api_1.err(res.error);
@@ -852,9 +852,9 @@ async function generateBicepsV3(projectSettings, inputs) {
852
852
  }
853
853
  // apim
854
854
  {
855
- const config = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.APIM);
855
+ const config = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.APIM);
856
856
  if (config) {
857
- const resource = typedi_1.Container.get(constants_5.ComponentNames.APIM);
857
+ const resource = typedi_1.Container.get(constants_6.ComponentNames.APIM);
858
858
  const res = await resource.generateBicep(context, inputs);
859
859
  if (res.isErr())
860
860
  return teamsfx_api_1.err(res.error);
@@ -863,9 +863,9 @@ async function generateBicepsV3(projectSettings, inputs) {
863
863
  }
864
864
  // keyvault
865
865
  {
866
- const config = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.KeyVault);
866
+ const config = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.KeyVault);
867
867
  if (config) {
868
- const resource = typedi_1.Container.get(constants_5.ComponentNames.KeyVault);
868
+ const resource = typedi_1.Container.get(constants_6.ComponentNames.KeyVault);
869
869
  const res = await resource.generateBicep(context, inputs);
870
870
  if (res.isErr())
871
871
  return teamsfx_api_1.err(res.error);
@@ -874,12 +874,12 @@ async function generateBicepsV3(projectSettings, inputs) {
874
874
  }
875
875
  // sql
876
876
  {
877
- const config = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.AzureSQL);
877
+ const config = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.AzureSQL);
878
878
  if (config) {
879
879
  const provisionType = "server";
880
880
  const clonedInputs = lodash_1.cloneDeep(inputs);
881
881
  clonedInputs.provisionType = provisionType;
882
- const sqlResource = typedi_1.Container.get(constants_5.ComponentNames.AzureSQL);
882
+ const sqlResource = typedi_1.Container.get(constants_6.ComponentNames.AzureSQL);
883
883
  const res = await sqlResource.generateBicep(context, clonedInputs);
884
884
  if (res.isErr())
885
885
  return teamsfx_api_1.err(res.error);
@@ -888,9 +888,9 @@ async function generateBicepsV3(projectSettings, inputs) {
888
888
  }
889
889
  // aad
890
890
  {
891
- const config = workflow_1.getComponent(projectSettings, constants_5.ComponentNames.AadApp);
891
+ const config = workflow_1.getComponent(projectSettings, constants_6.ComponentNames.AadApp);
892
892
  if (config) {
893
- const aadApp = typedi_1.Container.get(constants_5.ComponentNames.AadApp);
893
+ const aadApp = typedi_1.Container.get(constants_6.ComponentNames.AadApp);
894
894
  const res = await aadApp.generateBicep(context, inputs);
895
895
  if (res.isErr())
896
896
  return teamsfx_api_1.err(res.error);
@@ -941,71 +941,71 @@ async function generateArmParameterJson(ctx) {
941
941
  const targetJson = await fs_extra_1.default.readJson(path_1.default.join(fxConfig, parameterEnvFileName));
942
942
  const parameterObj = targetJson["parameters"]["provisionParameters"]["value"];
943
943
  // frontend hosting
944
- if ((_a = envConfig[constants_2.ResourcePlugins.FrontendHosting]) === null || _a === void 0 ? void 0 : _a[EnvConfigName.StorageName]) {
944
+ if ((_a = envConfig[constants_3.ResourcePlugins.FrontendHosting]) === null || _a === void 0 ? void 0 : _a[EnvConfigName.StorageName]) {
945
945
  parameterObj[ArmParameters.FEStorageName] =
946
- envConfig[constants_2.ResourcePlugins.FrontendHosting][EnvConfigName.StorageName];
946
+ envConfig[constants_3.ResourcePlugins.FrontendHosting][EnvConfigName.StorageName];
947
947
  }
948
948
  // manage identity
949
- if ((_b = envConfig[constants_2.ResourcePlugins.Identity]) === null || _b === void 0 ? void 0 : _b[EnvConfigName.Identity]) {
949
+ if ((_b = envConfig[constants_3.ResourcePlugins.Identity]) === null || _b === void 0 ? void 0 : _b[EnvConfigName.Identity]) {
950
950
  // Teams Toolkit <= 2.7
951
951
  parameterObj[ArmParameters.IdentityName] =
952
- envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.Identity];
952
+ envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.Identity];
953
953
  }
954
- else if ((_c = envConfig[constants_2.ResourcePlugins.Identity]) === null || _c === void 0 ? void 0 : _c[EnvConfigName.IdentityName]) {
954
+ else if ((_c = envConfig[constants_3.ResourcePlugins.Identity]) === null || _c === void 0 ? void 0 : _c[EnvConfigName.IdentityName]) {
955
955
  // Teams Toolkit >= 2.8
956
956
  parameterObj[ArmParameters.IdentityName] =
957
- envConfig[constants_2.ResourcePlugins.Identity][EnvConfigName.IdentityName];
957
+ envConfig[constants_3.ResourcePlugins.Identity][EnvConfigName.IdentityName];
958
958
  }
959
959
  // azure SQL
960
- if ((_d = envConfig[constants_2.ResourcePlugins.AzureSQL]) === null || _d === void 0 ? void 0 : _d[EnvConfigName.SqlEndpoint]) {
960
+ if ((_d = envConfig[constants_3.ResourcePlugins.AzureSQL]) === null || _d === void 0 ? void 0 : _d[EnvConfigName.SqlEndpoint]) {
961
961
  parameterObj[ArmParameters.SQLServer] =
962
- envConfig[constants_2.ResourcePlugins.AzureSQL][EnvConfigName.SqlEndpoint].split(".database.windows.net")[0];
962
+ envConfig[constants_3.ResourcePlugins.AzureSQL][EnvConfigName.SqlEndpoint].split(".database.windows.net")[0];
963
963
  }
964
- if ((_e = envConfig[constants_2.ResourcePlugins.AzureSQL]) === null || _e === void 0 ? void 0 : _e[EnvConfigName.SqlDataBase]) {
964
+ if ((_e = envConfig[constants_3.ResourcePlugins.AzureSQL]) === null || _e === void 0 ? void 0 : _e[EnvConfigName.SqlDataBase]) {
965
965
  parameterObj[ArmParameters.SQLDatabase] =
966
- envConfig[constants_2.ResourcePlugins.AzureSQL][EnvConfigName.SqlDataBase];
966
+ envConfig[constants_3.ResourcePlugins.AzureSQL][EnvConfigName.SqlDataBase];
967
967
  }
968
968
  // SimpleAuth
969
- if ((_f = envConfig[constants_2.ResourcePlugins.SimpleAuth]) === null || _f === void 0 ? void 0 : _f[EnvConfigName.SkuName]) {
969
+ if ((_f = envConfig[constants_3.ResourcePlugins.SimpleAuth]) === null || _f === void 0 ? void 0 : _f[EnvConfigName.SkuName]) {
970
970
  parameterObj[ArmParameters.SimpleAuthSku] =
971
- envConfig[constants_2.ResourcePlugins.SimpleAuth][EnvConfigName.SkuName];
971
+ envConfig[constants_3.ResourcePlugins.SimpleAuth][EnvConfigName.SkuName];
972
972
  }
973
- if ((_g = envConfig[constants_2.ResourcePlugins.SimpleAuth]) === null || _g === void 0 ? void 0 : _g[EnvConfigName.Endpoint]) {
974
- const simpleAuthHost = new URL((_h = envConfig[constants_2.ResourcePlugins.SimpleAuth]) === null || _h === void 0 ? void 0 : _h[EnvConfigName.Endpoint])
973
+ if ((_g = envConfig[constants_3.ResourcePlugins.SimpleAuth]) === null || _g === void 0 ? void 0 : _g[EnvConfigName.Endpoint]) {
974
+ const simpleAuthHost = new URL((_h = envConfig[constants_3.ResourcePlugins.SimpleAuth]) === null || _h === void 0 ? void 0 : _h[EnvConfigName.Endpoint])
975
975
  .hostname;
976
976
  const simpleAuthName = simpleAuthHost.split(".")[0];
977
977
  parameterObj[ArmParameters.SimpleAuthWebAppName] = parameterObj[ArmParameters.SimpleAuthServerFarm] = simpleAuthName;
978
978
  }
979
979
  // Function
980
- if ((_j = envConfig[constants_2.ResourcePlugins.Function]) === null || _j === void 0 ? void 0 : _j[EnvConfigName.AppServicePlanName]) {
980
+ if ((_j = envConfig[constants_3.ResourcePlugins.Function]) === null || _j === void 0 ? void 0 : _j[EnvConfigName.AppServicePlanName]) {
981
981
  parameterObj[ArmParameters.functionServerName] =
982
- envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.AppServicePlanName];
982
+ envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.AppServicePlanName];
983
983
  }
984
- if ((_k = envConfig[constants_2.ResourcePlugins.Function]) === null || _k === void 0 ? void 0 : _k[EnvConfigName.StorageAccountName]) {
984
+ if ((_k = envConfig[constants_3.ResourcePlugins.Function]) === null || _k === void 0 ? void 0 : _k[EnvConfigName.StorageAccountName]) {
985
985
  parameterObj[ArmParameters.functionStorageName] =
986
- envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.StorageAccountName];
986
+ envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.StorageAccountName];
987
987
  }
988
- if ((_l = envConfig[constants_2.ResourcePlugins.Function]) === null || _l === void 0 ? void 0 : _l[EnvConfigName.FuncAppName]) {
988
+ if ((_l = envConfig[constants_3.ResourcePlugins.Function]) === null || _l === void 0 ? void 0 : _l[EnvConfigName.FuncAppName]) {
989
989
  parameterObj[ArmParameters.functionAppName] =
990
- envConfig[constants_2.ResourcePlugins.Function][EnvConfigName.FuncAppName];
990
+ envConfig[constants_3.ResourcePlugins.Function][EnvConfigName.FuncAppName];
991
991
  }
992
992
  // Bot
993
- if ((_m = envConfig[constants_2.ResourcePlugins.Bot]) === null || _m === void 0 ? void 0 : _m[EnvConfigName.SkuName]) {
993
+ if ((_m = envConfig[constants_3.ResourcePlugins.Bot]) === null || _m === void 0 ? void 0 : _m[EnvConfigName.SkuName]) {
994
994
  parameterObj[ArmParameters.botWebAppSku] =
995
- (_o = envConfig[constants_2.ResourcePlugins.Bot]) === null || _o === void 0 ? void 0 : _o[EnvConfigName.SkuName];
995
+ (_o = envConfig[constants_3.ResourcePlugins.Bot]) === null || _o === void 0 ? void 0 : _o[EnvConfigName.SkuName];
996
996
  }
997
997
  // Apim
998
- if ((_p = envConfig[constants_2.ResourcePlugins.Apim]) === null || _p === void 0 ? void 0 : _p[EnvConfigName.ServiceName]) {
998
+ if ((_p = envConfig[constants_3.ResourcePlugins.Apim]) === null || _p === void 0 ? void 0 : _p[EnvConfigName.ServiceName]) {
999
999
  parameterObj[ArmParameters.ApimServiceName] =
1000
- (_q = envConfig[constants_2.ResourcePlugins.Apim]) === null || _q === void 0 ? void 0 : _q[EnvConfigName.ServiceName];
1000
+ (_q = envConfig[constants_3.ResourcePlugins.Apim]) === null || _q === void 0 ? void 0 : _q[EnvConfigName.ServiceName];
1001
1001
  }
1002
- if ((_r = envConfig[constants_2.ResourcePlugins.Apim]) === null || _r === void 0 ? void 0 : _r[EnvConfigName.ProductId]) {
1002
+ if ((_r = envConfig[constants_3.ResourcePlugins.Apim]) === null || _r === void 0 ? void 0 : _r[EnvConfigName.ProductId]) {
1003
1003
  parameterObj[ArmParameters.ApimProductName] =
1004
- (_s = envConfig[constants_2.ResourcePlugins.Apim]) === null || _s === void 0 ? void 0 : _s[EnvConfigName.ProductId];
1004
+ (_s = envConfig[constants_3.ResourcePlugins.Apim]) === null || _s === void 0 ? void 0 : _s[EnvConfigName.ProductId];
1005
1005
  }
1006
- if ((_t = envConfig[constants_2.ResourcePlugins.Apim]) === null || _t === void 0 ? void 0 : _t[EnvConfigName.OAuthServerId]) {
1006
+ if ((_t = envConfig[constants_3.ResourcePlugins.Apim]) === null || _t === void 0 ? void 0 : _t[EnvConfigName.OAuthServerId]) {
1007
1007
  parameterObj[ArmParameters.ApimOauthServerName] =
1008
- (_u = envConfig[constants_2.ResourcePlugins.Apim]) === null || _u === void 0 ? void 0 : _u[EnvConfigName.OAuthServerId];
1008
+ (_u = envConfig[constants_3.ResourcePlugins.Apim]) === null || _u === void 0 ? void 0 : _u[EnvConfigName.OAuthServerId];
1009
1009
  }
1010
1010
  await fs_extra_1.default.writeFile(path_1.default.join(fxConfig, parameterEnvFileName), JSON.stringify(targetJson, null, 4));
1011
1011
  }