@microsoft/teamsfx-core 2.0.1-alpha.cb1f62669.0 → 2.0.1-alpha.d4f96cccc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (719) hide show
  1. package/build/common/deps-checker/checkerFactory.d.ts.map +1 -1
  2. package/build/common/deps-checker/checkerFactory.js +0 -7
  3. package/build/common/deps-checker/checkerFactory.js.map +1 -1
  4. package/build/common/deps-checker/constant/helpLink.d.ts +0 -4
  5. package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
  6. package/build/common/deps-checker/constant/helpLink.js +1 -9
  7. package/build/common/deps-checker/constant/helpLink.js.map +1 -1
  8. package/build/common/deps-checker/constant/message.d.ts +0 -5
  9. package/build/common/deps-checker/constant/message.d.ts.map +1 -1
  10. package/build/common/deps-checker/constant/message.js +0 -6
  11. package/build/common/deps-checker/constant/message.js.map +1 -1
  12. package/build/common/deps-checker/constant/telemetry.d.ts +2 -33
  13. package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -1
  14. package/build/common/deps-checker/constant/telemetry.js +0 -31
  15. package/build/common/deps-checker/constant/telemetry.js.map +1 -1
  16. package/build/common/deps-checker/depsChecker.d.ts +0 -3
  17. package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
  18. package/build/common/deps-checker/depsChecker.js +0 -3
  19. package/build/common/deps-checker/depsChecker.js.map +1 -1
  20. package/build/common/deps-checker/depsError.d.ts +0 -9
  21. package/build/common/deps-checker/depsError.d.ts.map +1 -1
  22. package/build/common/deps-checker/depsError.js +1 -22
  23. package/build/common/deps-checker/depsError.js.map +1 -1
  24. package/build/common/deps-checker/depsManager.d.ts.map +1 -1
  25. package/build/common/deps-checker/depsManager.js +0 -3
  26. package/build/common/deps-checker/depsManager.js.map +1 -1
  27. package/build/common/deps-checker/internal/funcToolChecker.d.ts +2 -2
  28. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  29. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  30. package/build/common/deps-checker/internal/nodeChecker.d.ts +0 -20
  31. package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
  32. package/build/common/deps-checker/internal/nodeChecker.js +1 -51
  33. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
  34. package/build/common/local/localEnvManager.d.ts +0 -9
  35. package/build/common/local/localEnvManager.d.ts.map +1 -1
  36. package/build/common/local/localEnvManager.js +0 -59
  37. package/build/common/local/localEnvManager.js.map +1 -1
  38. package/build/common/local/localStateHelper.d.ts.map +1 -1
  39. package/build/common/local/localStateHelper.js.map +1 -1
  40. package/build/common/projectSettingsHelper.d.ts +1 -7
  41. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  42. package/build/common/projectSettingsHelper.js +5 -81
  43. package/build/common/projectSettingsHelper.js.map +1 -1
  44. package/build/common/projectSettingsHelperV3.d.ts +0 -1
  45. package/build/common/projectSettingsHelperV3.d.ts.map +1 -1
  46. package/build/common/projectSettingsHelperV3.js +1 -10
  47. package/build/common/projectSettingsHelperV3.js.map +1 -1
  48. package/build/common/samples.d.ts.map +1 -1
  49. package/build/common/samples.js +20 -42
  50. package/build/common/samples.js.map +1 -1
  51. package/build/common/telemetry.d.ts +0 -13
  52. package/build/common/telemetry.d.ts.map +1 -1
  53. package/build/common/telemetry.js +0 -13
  54. package/build/common/telemetry.js.map +1 -1
  55. package/build/common/templates-config.json +2 -1
  56. package/build/common/tools.d.ts +1 -16
  57. package/build/common/tools.d.ts.map +1 -1
  58. package/build/common/tools.js +54 -204
  59. package/build/common/tools.js.map +1 -1
  60. package/build/component/code/appSettingUtils.d.ts +1 -2
  61. package/build/component/code/appSettingUtils.d.ts.map +1 -1
  62. package/build/component/code/appSettingUtils.js +1 -46
  63. package/build/component/code/appSettingUtils.js.map +1 -1
  64. package/build/component/code/utils.d.ts +1 -8
  65. package/build/component/code/utils.d.ts.map +1 -1
  66. package/build/component/code/utils.js +5 -144
  67. package/build/component/code/utils.js.map +1 -1
  68. package/build/component/constant/deployConstant.d.ts.map +1 -1
  69. package/build/component/constant/deployConstant.js.map +1 -1
  70. package/build/component/constants.d.ts +3 -210
  71. package/build/component/constants.d.ts.map +1 -1
  72. package/build/component/constants.js +7 -404
  73. package/build/component/constants.js.map +1 -1
  74. package/build/component/coordinator/index.d.ts +8 -7
  75. package/build/component/coordinator/index.d.ts.map +1 -1
  76. package/build/component/coordinator/index.js +35 -188
  77. package/build/component/coordinator/index.js.map +1 -1
  78. package/build/component/debug/error.d.ts +0 -1
  79. package/build/component/debug/error.d.ts.map +1 -1
  80. package/build/component/debug/error.js +1 -11
  81. package/build/component/debug/error.js.map +1 -1
  82. package/build/component/debug/index.d.ts.map +1 -1
  83. package/build/component/debug/index.js +1 -25
  84. package/build/component/debug/index.js.map +1 -1
  85. package/build/component/deployUtils.d.ts +1 -8
  86. package/build/component/deployUtils.d.ts.map +1 -1
  87. package/build/component/deployUtils.js +2 -98
  88. package/build/component/deployUtils.js.map +1 -1
  89. package/build/component/driver/aad/create.d.ts.map +1 -1
  90. package/build/component/driver/aad/create.js +2 -2
  91. package/build/component/driver/aad/create.js.map +1 -1
  92. package/build/component/driver/aad/update.d.ts.map +1 -1
  93. package/build/component/driver/aad/update.js +2 -2
  94. package/build/component/driver/aad/update.js.map +1 -1
  95. package/build/component/driver/add/addWebPart.js +3 -3
  96. package/build/component/driver/add/addWebPart.js.map +1 -1
  97. package/build/component/driver/botAadApp/create.d.ts.map +1 -1
  98. package/build/component/driver/botAadApp/create.js +2 -2
  99. package/build/component/driver/botAadApp/create.js.map +1 -1
  100. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +9 -9
  101. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  102. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  103. package/build/component/driver/devTool/installDriver.js +3 -2
  104. package/build/component/driver/devTool/installDriver.js.map +1 -1
  105. package/build/component/driver/interface/buildAndDeployArgs.d.ts +11 -11
  106. package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -1
  107. package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
  108. package/build/component/driver/script/baseBuildDriver.js +2 -2
  109. package/build/component/driver/script/baseBuildDriver.js.map +1 -1
  110. package/build/component/driver/script/scriptDriver.d.ts +11 -1
  111. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  112. package/build/component/driver/script/scriptDriver.js +121 -4
  113. package/build/component/driver/script/scriptDriver.js.map +1 -1
  114. package/build/component/error.d.ts +0 -3
  115. package/build/component/error.d.ts.map +1 -1
  116. package/build/component/error.js +1 -11
  117. package/build/component/error.js.map +1 -1
  118. package/build/component/feature/bot/question.d.ts.map +1 -1
  119. package/build/component/feature/bot/question.js +7 -16
  120. package/build/component/feature/bot/question.js.map +1 -1
  121. package/build/component/feature/cicd/cicd.d.ts +1 -2
  122. package/build/component/feature/cicd/cicd.d.ts.map +1 -1
  123. package/build/component/feature/cicd/cicd.js +2 -87
  124. package/build/component/feature/cicd/cicd.js.map +1 -1
  125. package/build/component/feature/sso.d.ts +0 -4
  126. package/build/component/feature/sso.d.ts.map +1 -1
  127. package/build/component/feature/sso.js +10 -144
  128. package/build/component/feature/sso.js.map +1 -1
  129. package/build/component/generator/generatorAction.d.ts.map +1 -1
  130. package/build/component/generator/generatorAction.js +1 -1
  131. package/build/component/generator/generatorAction.js.map +1 -1
  132. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts +8 -0
  133. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
  134. package/build/component/generator/spfx/depsChecker/dependencyChecker.js.map +1 -0
  135. package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.d.ts +1 -4
  136. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
  137. package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.js +0 -39
  138. package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -0
  139. package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.d.ts +1 -4
  140. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -0
  141. package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.js +0 -33
  142. package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -0
  143. package/build/component/generator/spfx/error.d.ts +8 -0
  144. package/build/component/generator/spfx/error.d.ts.map +1 -0
  145. package/build/component/generator/spfx/error.js +55 -0
  146. package/build/component/generator/spfx/error.js.map +1 -0
  147. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -0
  148. package/build/component/generator/{spfxGenerator.js → spfx/spfxGenerator.js} +16 -16
  149. package/build/component/generator/spfx/spfxGenerator.js.map +1 -0
  150. package/build/component/{resource → generator}/spfx/utils/constants.d.ts +0 -33
  151. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -0
  152. package/build/component/{resource → generator}/spfx/utils/constants.js +1 -39
  153. package/build/component/generator/spfx/utils/constants.js.map +1 -0
  154. package/build/component/{resource → generator}/spfx/utils/progress-helper.d.ts +0 -5
  155. package/build/component/generator/spfx/utils/progress-helper.d.ts.map +1 -0
  156. package/build/component/generator/spfx/utils/progress-helper.js +21 -0
  157. package/build/component/generator/spfx/utils/progress-helper.js.map +1 -0
  158. package/build/component/generator/spfx/utils/question-helper.d.ts.map +1 -0
  159. package/build/component/generator/spfx/utils/question-helper.js.map +1 -0
  160. package/build/component/{resource → generator}/spfx/utils/questions.d.ts +0 -1
  161. package/build/component/generator/spfx/utils/questions.d.ts.map +1 -0
  162. package/build/component/{resource → generator}/spfx/utils/questions.js +2 -27
  163. package/build/component/generator/spfx/utils/questions.js.map +1 -0
  164. package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +1 -0
  165. package/build/component/generator/spfx/utils/telemetry-helper.js.map +1 -0
  166. package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +1 -0
  167. package/build/component/generator/spfx/utils/telemetryEvents.js.map +1 -0
  168. package/build/component/generator/spfx/utils/utils.d.ts.map +1 -0
  169. package/build/component/generator/spfx/utils/utils.js.map +1 -0
  170. package/build/component/generator/utils.js +2 -2
  171. package/build/component/generator/utils.js.map +1 -1
  172. package/build/component/middleware/envMW.js.map +1 -1
  173. package/build/component/provisionUtils.d.ts +2 -23
  174. package/build/component/provisionUtils.d.ts.map +1 -1
  175. package/build/component/provisionUtils.js +5 -523
  176. package/build/component/provisionUtils.js.map +1 -1
  177. package/build/component/question.d.ts +2 -64
  178. package/build/component/question.d.ts.map +1 -1
  179. package/build/component/question.js +50 -665
  180. package/build/component/question.js.map +1 -1
  181. package/build/component/registerService.d.ts +0 -16
  182. package/build/component/registerService.d.ts.map +1 -1
  183. package/build/component/registerService.js +0 -16
  184. package/build/component/registerService.js.map +1 -1
  185. package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
  186. package/build/component/resource/aadApp/aadApp.js +6 -24
  187. package/build/component/resource/aadApp/aadApp.js.map +1 -1
  188. package/build/component/resource/aadApp/utils/aadManifestHelper.js +2 -1
  189. package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -1
  190. package/build/component/resource/appManifest/appManifest.d.ts +0 -6
  191. package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
  192. package/build/component/resource/appManifest/appManifest.js +24 -247
  193. package/build/component/resource/appManifest/appManifest.js.map +1 -1
  194. package/build/component/resource/appManifest/appStudio.d.ts +1 -21
  195. package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
  196. package/build/component/resource/appManifest/appStudio.js +15 -257
  197. package/build/component/resource/appManifest/appStudio.js.map +1 -1
  198. package/build/component/resource/botService/errors.d.ts +0 -2
  199. package/build/component/resource/botService/errors.d.ts.map +1 -1
  200. package/build/component/resource/botService/errors.js +1 -43
  201. package/build/component/resource/botService/errors.js.map +1 -1
  202. package/build/component/utils/ResourceGroupHelper.d.ts +1 -5
  203. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  204. package/build/component/utils/ResourceGroupHelper.js +0 -6
  205. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  206. package/build/component/utils/charsetUtils.d.ts +3 -0
  207. package/build/component/utils/charsetUtils.d.ts.map +1 -0
  208. package/build/component/utils/charsetUtils.js +241 -0
  209. package/build/component/utils/charsetUtils.js.map +1 -0
  210. package/build/component/utils/metadataUtil.d.ts.map +1 -1
  211. package/build/component/utils/metadataUtil.js +9 -7
  212. package/build/component/utils/metadataUtil.js.map +1 -1
  213. package/build/component/utils/pathUtils.d.ts.map +1 -1
  214. package/build/component/utils/pathUtils.js +2 -2
  215. package/build/component/utils/pathUtils.js.map +1 -1
  216. package/build/component/utils.d.ts +1 -29
  217. package/build/component/utils.d.ts.map +1 -1
  218. package/build/component/utils.js +24 -501
  219. package/build/component/utils.js.map +1 -1
  220. package/build/component/workflow.d.ts +0 -2
  221. package/build/component/workflow.d.ts.map +1 -1
  222. package/build/component/workflow.js +1 -692
  223. package/build/component/workflow.js.map +1 -1
  224. package/build/core/FxCore.d.ts +0 -13
  225. package/build/core/FxCore.d.ts.map +1 -1
  226. package/build/core/FxCore.js +1 -55
  227. package/build/core/FxCore.js.map +1 -1
  228. package/build/core/FxCoreImplementV3.d.ts +2 -4
  229. package/build/core/FxCoreImplementV3.d.ts.map +1 -1
  230. package/build/core/FxCoreImplementV3.js +58 -102
  231. package/build/core/FxCoreImplementV3.js.map +1 -1
  232. package/build/core/collaborator.d.ts +2 -0
  233. package/build/core/collaborator.d.ts.map +1 -1
  234. package/build/core/collaborator.js +2 -0
  235. package/build/core/collaborator.js.map +1 -1
  236. package/build/core/environment.d.ts +2 -4
  237. package/build/core/environment.d.ts.map +1 -1
  238. package/build/core/environment.js +44 -108
  239. package/build/core/environment.js.map +1 -1
  240. package/build/core/error.d.ts +1 -34
  241. package/build/core/error.d.ts.map +1 -1
  242. package/build/core/error.js +1 -112
  243. package/build/core/error.js.map +1 -1
  244. package/build/core/globalVars.d.ts +0 -1
  245. package/build/core/globalVars.d.ts.map +1 -1
  246. package/build/core/globalVars.js +1 -15
  247. package/build/core/globalVars.js.map +1 -1
  248. package/build/core/middleware/projectMigratorV3.d.ts +3 -1
  249. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  250. package/build/core/middleware/projectMigratorV3.js +43 -49
  251. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  252. package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
  253. package/build/core/middleware/projectSettingsLoader.js +9 -20
  254. package/build/core/middleware/projectSettingsLoader.js.map +1 -1
  255. package/build/core/middleware/projectVersionChecker.d.ts.map +1 -1
  256. package/build/core/middleware/projectVersionChecker.js +10 -23
  257. package/build/core/middleware/projectVersionChecker.js.map +1 -1
  258. package/build/core/middleware/questionModel.d.ts +0 -1
  259. package/build/core/middleware/questionModel.d.ts.map +1 -1
  260. package/build/core/middleware/questionModel.js +8 -54
  261. package/build/core/middleware/questionModel.js.map +1 -1
  262. package/build/core/middleware/utils/MigrationUtils.d.ts +0 -5
  263. package/build/core/middleware/utils/MigrationUtils.d.ts.map +1 -1
  264. package/build/core/middleware/utils/MigrationUtils.js +1 -77
  265. package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
  266. package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
  267. package/build/core/middleware/utils/migrationContext.js +0 -4
  268. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  269. package/build/core/question.d.ts +1 -12
  270. package/build/core/question.d.ts.map +1 -1
  271. package/build/core/question.js +17 -240
  272. package/build/core/question.js.map +1 -1
  273. package/build/core/types.d.ts +0 -10
  274. package/build/core/types.d.ts.map +1 -1
  275. package/build/error/common.d.ts +6 -0
  276. package/build/error/common.d.ts.map +1 -1
  277. package/build/error/common.js +26 -1
  278. package/build/error/common.js.map +1 -1
  279. package/build/error/script.d.ts +1 -1
  280. package/build/error/script.d.ts.map +1 -1
  281. package/build/error/script.js +3 -3
  282. package/build/error/script.js.map +1 -1
  283. package/build/index.d.ts +0 -2
  284. package/build/index.d.ts.map +1 -1
  285. package/build/index.js +1 -4
  286. package/build/index.js.map +1 -1
  287. package/package.json +14 -34
  288. package/resource/package.nls.json +6 -241
  289. package/templates/fallback/common.zip +0 -0
  290. package/templates/fallback/csharp.zip +0 -0
  291. package/templates/fallback/js.zip +0 -0
  292. package/templates/fallback/ts.zip +0 -0
  293. package/build/common/azure-hosting/azureAppServiceHosting.d.ts +0 -16
  294. package/build/common/azure-hosting/azureAppServiceHosting.d.ts.map +0 -1
  295. package/build/common/azure-hosting/azureAppServiceHosting.js +0 -33
  296. package/build/common/azure-hosting/azureAppServiceHosting.js.map +0 -1
  297. package/build/common/azure-hosting/azureFunctionHosting.d.ts +0 -14
  298. package/build/common/azure-hosting/azureFunctionHosting.d.ts.map +0 -1
  299. package/build/common/azure-hosting/azureFunctionHosting.js +0 -34
  300. package/build/common/azure-hosting/azureFunctionHosting.js.map +0 -1
  301. package/build/common/azure-hosting/azureHosting.d.ts +0 -23
  302. package/build/common/azure-hosting/azureHosting.d.ts.map +0 -1
  303. package/build/common/azure-hosting/azureHosting.js +0 -95
  304. package/build/common/azure-hosting/azureHosting.js.map +0 -1
  305. package/build/common/azure-hosting/azureOps.d.ts +0 -17
  306. package/build/common/azure-hosting/azureOps.d.ts.map +0 -1
  307. package/build/common/azure-hosting/azureOps.js +0 -94
  308. package/build/common/azure-hosting/azureOps.js.map +0 -1
  309. package/build/common/azure-hosting/hostingConstant.d.ts +0 -46
  310. package/build/common/azure-hosting/hostingConstant.d.ts.map +0 -1
  311. package/build/common/azure-hosting/hostingConstant.js +0 -86
  312. package/build/common/azure-hosting/hostingConstant.js.map +0 -1
  313. package/build/common/azure-hosting/hostingError.d.ts +0 -47
  314. package/build/common/azure-hosting/hostingError.d.ts.map +0 -1
  315. package/build/common/azure-hosting/hostingError.js +0 -83
  316. package/build/common/azure-hosting/hostingError.js.map +0 -1
  317. package/build/common/azure-hosting/hostingFactory.d.ts +0 -6
  318. package/build/common/azure-hosting/hostingFactory.d.ts.map +0 -1
  319. package/build/common/azure-hosting/hostingFactory.js +0 -22
  320. package/build/common/azure-hosting/hostingFactory.js.map +0 -1
  321. package/build/common/azure-hosting/interfaces.d.ts +0 -58
  322. package/build/common/azure-hosting/interfaces.d.ts.map +0 -1
  323. package/build/common/azure-hosting/interfaces.js +0 -12
  324. package/build/common/azure-hosting/interfaces.js.map +0 -1
  325. package/build/common/azure-hosting/messages.d.ts +0 -10
  326. package/build/common/azure-hosting/messages.d.ts.map +0 -1
  327. package/build/common/azure-hosting/messages.js +0 -16
  328. package/build/common/azure-hosting/messages.js.map +0 -1
  329. package/build/common/azure-hosting/utils.d.ts +0 -10
  330. package/build/common/azure-hosting/utils.d.ts.map +0 -1
  331. package/build/common/azure-hosting/utils.js +0 -107
  332. package/build/common/azure-hosting/utils.js.map +0 -1
  333. package/build/common/deps-checker/internal/ngrokChecker.d.ts +0 -27
  334. package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +0 -1
  335. package/build/common/deps-checker/internal/ngrokChecker.js +0 -222
  336. package/build/common/deps-checker/internal/ngrokChecker.js.map +0 -1
  337. package/build/common/samples-config.json +0 -201
  338. package/build/component/code/spfxTabCode.d.ts +0 -11
  339. package/build/component/code/spfxTabCode.d.ts.map +0 -1
  340. package/build/component/code/spfxTabCode.js +0 -237
  341. package/build/component/code/spfxTabCode.js.map +0 -1
  342. package/build/component/connection/apimConfig.d.ts +0 -11
  343. package/build/component/connection/apimConfig.d.ts.map +0 -1
  344. package/build/component/connection/apimConfig.js +0 -44
  345. package/build/component/connection/apimConfig.js.map +0 -1
  346. package/build/component/connection/azureFunctionConfig.d.ts +0 -9
  347. package/build/component/connection/azureFunctionConfig.d.ts.map +0 -1
  348. package/build/component/connection/azureFunctionConfig.js +0 -25
  349. package/build/component/connection/azureFunctionConfig.js.map +0 -1
  350. package/build/component/connection/azureResourceConfig.d.ts +0 -11
  351. package/build/component/connection/azureResourceConfig.d.ts.map +0 -1
  352. package/build/component/connection/azureResourceConfig.js +0 -72
  353. package/build/component/connection/azureResourceConfig.js.map +0 -1
  354. package/build/component/connection/azureWebAppConfig.d.ts +0 -9
  355. package/build/component/connection/azureWebAppConfig.d.ts.map +0 -1
  356. package/build/component/connection/azureWebAppConfig.js +0 -25
  357. package/build/component/connection/azureWebAppConfig.js.map +0 -1
  358. package/build/component/coordinator/lifecycleStage.d.ts +0 -2
  359. package/build/component/coordinator/lifecycleStage.d.ts.map +0 -1
  360. package/build/component/coordinator/lifecycleStage.js +0 -23
  361. package/build/component/coordinator/lifecycleStage.js.map +0 -1
  362. package/build/component/core.d.ts +0 -65
  363. package/build/component/core.d.ts.map +0 -1
  364. package/build/component/core.js +0 -653
  365. package/build/component/core.js.map +0 -1
  366. package/build/component/debug/util/ngrok.d.ts +0 -6
  367. package/build/component/debug/util/ngrok.d.ts.map +0 -1
  368. package/build/component/debug/util/ngrok.js +0 -65
  369. package/build/component/debug/util/ngrok.js.map +0 -1
  370. package/build/component/envManager.d.ts +0 -4
  371. package/build/component/envManager.d.ts.map +0 -1
  372. package/build/component/envManager.js +0 -25
  373. package/build/component/envManager.js.map +0 -1
  374. package/build/component/feature/api/api.d.ts +0 -8
  375. package/build/component/feature/api/api.d.ts.map +0 -1
  376. package/build/component/feature/api/api.js +0 -188
  377. package/build/component/feature/api/api.js.map +0 -1
  378. package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts +0 -23
  379. package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts.map +0 -1
  380. package/build/component/feature/apiconnector/ApiConnectorImpl.js +0 -288
  381. package/build/component/feature/apiconnector/ApiConnectorImpl.js.map +0 -1
  382. package/build/component/feature/apiconnector/apiConnector.d.ts +0 -11
  383. package/build/component/feature/apiconnector/apiConnector.d.ts.map +0 -1
  384. package/build/component/feature/apiconnector/apiConnector.js +0 -43
  385. package/build/component/feature/apiconnector/apiConnector.js.map +0 -1
  386. package/build/component/feature/apiconnector/checker.d.ts +0 -7
  387. package/build/component/feature/apiconnector/checker.d.ts.map +0 -1
  388. package/build/component/feature/apiconnector/checker.js +0 -74
  389. package/build/component/feature/apiconnector/checker.js.map +0 -1
  390. package/build/component/feature/apiconnector/config.d.ts +0 -23
  391. package/build/component/feature/apiconnector/config.d.ts.map +0 -1
  392. package/build/component/feature/apiconnector/config.js +0 -5
  393. package/build/component/feature/apiconnector/config.js.map +0 -1
  394. package/build/component/feature/apiconnector/constants.d.ts +0 -50
  395. package/build/component/feature/apiconnector/constants.d.ts.map +0 -1
  396. package/build/component/feature/apiconnector/constants.js +0 -61
  397. package/build/component/feature/apiconnector/constants.js.map +0 -1
  398. package/build/component/feature/apiconnector/depsHandler.d.ts +0 -14
  399. package/build/component/feature/apiconnector/depsHandler.d.ts.map +0 -1
  400. package/build/component/feature/apiconnector/depsHandler.js +0 -109
  401. package/build/component/feature/apiconnector/depsHandler.js.map +0 -1
  402. package/build/component/feature/apiconnector/envHandler.d.ts +0 -21
  403. package/build/component/feature/apiconnector/envHandler.d.ts.map +0 -1
  404. package/build/component/feature/apiconnector/envHandler.js +0 -128
  405. package/build/component/feature/apiconnector/envHandler.js.map +0 -1
  406. package/build/component/feature/apiconnector/errors.d.ts +0 -53
  407. package/build/component/feature/apiconnector/errors.d.ts.map +0 -1
  408. package/build/component/feature/apiconnector/errors.js +0 -64
  409. package/build/component/feature/apiconnector/errors.js.map +0 -1
  410. package/build/component/feature/apiconnector/questions.d.ts +0 -41
  411. package/build/component/feature/apiconnector/questions.d.ts.map +0 -1
  412. package/build/component/feature/apiconnector/questions.js +0 -262
  413. package/build/component/feature/apiconnector/questions.js.map +0 -1
  414. package/build/component/feature/apiconnector/result.d.ts +0 -23
  415. package/build/component/feature/apiconnector/result.d.ts.map +0 -1
  416. package/build/component/feature/apiconnector/result.js +0 -40
  417. package/build/component/feature/apiconnector/result.js.map +0 -1
  418. package/build/component/feature/apiconnector/sampleHandler.d.ts +0 -10
  419. package/build/component/feature/apiconnector/sampleHandler.d.ts.map +0 -1
  420. package/build/component/feature/apiconnector/sampleHandler.js +0 -62
  421. package/build/component/feature/apiconnector/sampleHandler.js.map +0 -1
  422. package/build/component/feature/apiconnector/telemetry.d.ts +0 -42
  423. package/build/component/feature/apiconnector/telemetry.d.ts.map +0 -1
  424. package/build/component/feature/apiconnector/telemetry.js +0 -70
  425. package/build/component/feature/apiconnector/telemetry.js.map +0 -1
  426. package/build/component/feature/apiconnector/utils.d.ts +0 -18
  427. package/build/component/feature/apiconnector/utils.d.ts.map +0 -1
  428. package/build/component/feature/apiconnector/utils.js +0 -90
  429. package/build/component/feature/apiconnector/utils.js.map +0 -1
  430. package/build/component/feature/apim.d.ts +0 -8
  431. package/build/component/feature/apim.d.ts.map +0 -1
  432. package/build/component/feature/apim.js +0 -123
  433. package/build/component/feature/apim.js.map +0 -1
  434. package/build/component/feature/bot/bot.d.ts +0 -12
  435. package/build/component/feature/bot/bot.d.ts.map +0 -1
  436. package/build/component/feature/bot/bot.js +0 -309
  437. package/build/component/feature/bot/bot.js.map +0 -1
  438. package/build/component/feature/keyVault.d.ts +0 -16
  439. package/build/component/feature/keyVault.d.ts.map +0 -1
  440. package/build/component/feature/keyVault.js +0 -90
  441. package/build/component/feature/keyVault.js.map +0 -1
  442. package/build/component/feature/spfx.d.ts +0 -9
  443. package/build/component/feature/spfx.d.ts.map +0 -1
  444. package/build/component/feature/spfx.js +0 -121
  445. package/build/component/feature/spfx.js.map +0 -1
  446. package/build/component/feature/sql.d.ts +0 -10
  447. package/build/component/feature/sql.d.ts.map +0 -1
  448. package/build/component/feature/sql.js +0 -80
  449. package/build/component/feature/sql.js.map +0 -1
  450. package/build/component/feature/tab.d.ts +0 -10
  451. package/build/component/feature/tab.d.ts.map +0 -1
  452. package/build/component/feature/tab.js +0 -238
  453. package/build/component/feature/tab.js.map +0 -1
  454. package/build/component/generator/spfxGenerator.d.ts.map +0 -1
  455. package/build/component/generator/spfxGenerator.js.map +0 -1
  456. package/build/component/resource/azureAppService/azureAppService.d.ts +0 -12
  457. package/build/component/resource/azureAppService/azureAppService.d.ts.map +0 -1
  458. package/build/component/resource/azureAppService/azureAppService.js +0 -48
  459. package/build/component/resource/azureAppService/azureAppService.js.map +0 -1
  460. package/build/component/resource/azureAppService/azureFunction.d.ts +0 -36
  461. package/build/component/resource/azureAppService/azureFunction.d.ts.map +0 -1
  462. package/build/component/resource/azureAppService/azureFunction.js +0 -155
  463. package/build/component/resource/azureAppService/azureFunction.js.map +0 -1
  464. package/build/component/resource/azureAppService/azureLibs.d.ts +0 -6
  465. package/build/component/resource/azureAppService/azureLibs.d.ts.map +0 -1
  466. package/build/component/resource/azureAppService/azureLibs.js +0 -13
  467. package/build/component/resource/azureAppService/azureLibs.js.map +0 -1
  468. package/build/component/resource/azureAppService/azureWebApp.d.ts +0 -30
  469. package/build/component/resource/azureAppService/azureWebApp.d.ts.map +0 -1
  470. package/build/component/resource/azureAppService/azureWebApp.js +0 -43
  471. package/build/component/resource/azureAppService/azureWebApp.js.map +0 -1
  472. package/build/component/resource/azureAppService/common.d.ts +0 -10
  473. package/build/component/resource/azureAppService/common.d.ts.map +0 -1
  474. package/build/component/resource/azureAppService/common.js +0 -80
  475. package/build/component/resource/azureAppService/common.js.map +0 -1
  476. package/build/component/resource/azureAppService/dir-walk.d.ts +0 -4
  477. package/build/component/resource/azureAppService/dir-walk.d.ts.map +0 -1
  478. package/build/component/resource/azureAppService/dir-walk.js +0 -21
  479. package/build/component/resource/azureAppService/dir-walk.js.map +0 -1
  480. package/build/component/resource/azureSql/actions/configure.d.ts +0 -15
  481. package/build/component/resource/azureSql/actions/configure.d.ts.map +0 -1
  482. package/build/component/resource/azureSql/actions/configure.js +0 -92
  483. package/build/component/resource/azureSql/actions/configure.js.map +0 -1
  484. package/build/component/resource/azureSql/actions/provision.d.ts +0 -10
  485. package/build/component/resource/azureSql/actions/provision.d.ts.map +0 -1
  486. package/build/component/resource/azureSql/actions/provision.js +0 -63
  487. package/build/component/resource/azureSql/actions/provision.js.map +0 -1
  488. package/build/component/resource/azureSql/actions/utils.d.ts +0 -12
  489. package/build/component/resource/azureSql/actions/utils.d.ts.map +0 -1
  490. package/build/component/resource/azureSql/actions/utils.js +0 -82
  491. package/build/component/resource/azureSql/actions/utils.js.map +0 -1
  492. package/build/component/resource/azureSql/azureSql.d.ts +0 -24
  493. package/build/component/resource/azureSql/azureSql.d.ts.map +0 -1
  494. package/build/component/resource/azureSql/azureSql.js +0 -75
  495. package/build/component/resource/azureSql/azureSql.js.map +0 -1
  496. package/build/component/resource/azureSql/clients/management.d.ts +0 -18
  497. package/build/component/resource/azureSql/clients/management.d.ts.map +0 -1
  498. package/build/component/resource/azureSql/clients/management.js +0 -124
  499. package/build/component/resource/azureSql/clients/management.js.map +0 -1
  500. package/build/component/resource/azureSql/clients/sql.d.ts +0 -13
  501. package/build/component/resource/azureSql/clients/sql.d.ts.map +0 -1
  502. package/build/component/resource/azureSql/clients/sql.js +0 -153
  503. package/build/component/resource/azureSql/clients/sql.js.map +0 -1
  504. package/build/component/resource/azureSql/config.d.ts +0 -7
  505. package/build/component/resource/azureSql/config.d.ts.map +0 -1
  506. package/build/component/resource/azureSql/config.js +0 -77
  507. package/build/component/resource/azureSql/config.js.map +0 -1
  508. package/build/component/resource/azureSql/constants.d.ts +0 -85
  509. package/build/component/resource/azureSql/constants.d.ts.map +0 -1
  510. package/build/component/resource/azureSql/constants.js +0 -95
  511. package/build/component/resource/azureSql/constants.js.map +0 -1
  512. package/build/component/resource/azureSql/errors.d.ts +0 -63
  513. package/build/component/resource/azureSql/errors.d.ts.map +0 -1
  514. package/build/component/resource/azureSql/errors.js +0 -107
  515. package/build/component/resource/azureSql/errors.js.map +0 -1
  516. package/build/component/resource/azureSql/index.d.ts +0 -2
  517. package/build/component/resource/azureSql/index.d.ts.map +0 -1
  518. package/build/component/resource/azureSql/index.js +0 -7
  519. package/build/component/resource/azureSql/index.js.map +0 -1
  520. package/build/component/resource/azureSql/questions.d.ts +0 -6
  521. package/build/component/resource/azureSql/questions.d.ts.map +0 -1
  522. package/build/component/resource/azureSql/questions.js +0 -59
  523. package/build/component/resource/azureSql/questions.js.map +0 -1
  524. package/build/component/resource/azureSql/results.d.ts +0 -10
  525. package/build/component/resource/azureSql/results.d.ts.map +0 -1
  526. package/build/component/resource/azureSql/results.js +0 -34
  527. package/build/component/resource/azureSql/results.js.map +0 -1
  528. package/build/component/resource/azureSql/types.d.ts +0 -12
  529. package/build/component/resource/azureSql/types.d.ts.map +0 -1
  530. package/build/component/resource/azureSql/types.js +0 -5
  531. package/build/component/resource/azureSql/types.js.map +0 -1
  532. package/build/component/resource/azureSql/utils/checkInput.d.ts +0 -10
  533. package/build/component/resource/azureSql/utils/checkInput.d.ts.map +0 -1
  534. package/build/component/resource/azureSql/utils/checkInput.js +0 -89
  535. package/build/component/resource/azureSql/utils/checkInput.js.map +0 -1
  536. package/build/component/resource/azureSql/utils/common.d.ts +0 -12
  537. package/build/component/resource/azureSql/utils/common.d.ts.map +0 -1
  538. package/build/component/resource/azureSql/utils/common.js +0 -51
  539. package/build/component/resource/azureSql/utils/common.js.map +0 -1
  540. package/build/component/resource/azureStorage/azureStorage.d.ts +0 -31
  541. package/build/component/resource/azureStorage/azureStorage.d.ts.map +0 -1
  542. package/build/component/resource/azureStorage/azureStorage.js +0 -111
  543. package/build/component/resource/azureStorage/azureStorage.js.map +0 -1
  544. package/build/component/resource/azureStorage/clients.d.ts +0 -23
  545. package/build/component/resource/azureStorage/clients.d.ts.map +0 -1
  546. package/build/component/resource/azureStorage/clients.js +0 -133
  547. package/build/component/resource/azureStorage/clients.js.map +0 -1
  548. package/build/component/resource/azureStorage/configs.d.ts +0 -12
  549. package/build/component/resource/azureStorage/configs.d.ts.map +0 -1
  550. package/build/component/resource/azureStorage/configs.js +0 -30
  551. package/build/component/resource/azureStorage/configs.js.map +0 -1
  552. package/build/component/resource/azureStorage/constants.d.ts +0 -11
  553. package/build/component/resource/azureStorage/constants.d.ts.map +0 -1
  554. package/build/component/resource/azureStorage/constants.js +0 -17
  555. package/build/component/resource/azureStorage/constants.js.map +0 -1
  556. package/build/component/resource/azureStorage/messages.d.ts +0 -14
  557. package/build/component/resource/azureStorage/messages.d.ts.map +0 -1
  558. package/build/component/resource/azureStorage/messages.js +0 -28
  559. package/build/component/resource/azureStorage/messages.js.map +0 -1
  560. package/build/component/resource/botService/botService.d.ts +0 -24
  561. package/build/component/resource/botService/botService.d.ts.map +0 -1
  562. package/build/component/resource/botService/botService.js +0 -146
  563. package/build/component/resource/botService/botService.js.map +0 -1
  564. package/build/component/resource/identity.d.ts +0 -28
  565. package/build/component/resource/identity.d.ts.map +0 -1
  566. package/build/component/resource/identity.js +0 -42
  567. package/build/component/resource/identity.js.map +0 -1
  568. package/build/component/resource/keyVault.d.ts +0 -29
  569. package/build/component/resource/keyVault.d.ts.map +0 -1
  570. package/build/component/resource/keyVault.js +0 -47
  571. package/build/component/resource/keyVault.js.map +0 -1
  572. package/build/component/resource/simpleAuth/constants.d.ts +0 -122
  573. package/build/component/resource/simpleAuth/constants.d.ts.map +0 -1
  574. package/build/component/resource/simpleAuth/constants.js +0 -163
  575. package/build/component/resource/simpleAuth/constants.js.map +0 -1
  576. package/build/component/resource/simpleAuth/errors.d.ts +0 -17
  577. package/build/component/resource/simpleAuth/errors.d.ts.map +0 -1
  578. package/build/component/resource/simpleAuth/errors.js +0 -91
  579. package/build/component/resource/simpleAuth/errors.js.map +0 -1
  580. package/build/component/resource/simpleAuth/index.d.ts +0 -12
  581. package/build/component/resource/simpleAuth/index.d.ts.map +0 -1
  582. package/build/component/resource/simpleAuth/index.js +0 -115
  583. package/build/component/resource/simpleAuth/index.js.map +0 -1
  584. package/build/component/resource/simpleAuth/result.d.ts +0 -9
  585. package/build/component/resource/simpleAuth/result.d.ts.map +0 -1
  586. package/build/component/resource/simpleAuth/result.js +0 -35
  587. package/build/component/resource/simpleAuth/result.js.map +0 -1
  588. package/build/component/resource/simpleAuth/utils/common.d.ts +0 -23
  589. package/build/component/resource/simpleAuth/utils/common.d.ts.map +0 -1
  590. package/build/component/resource/simpleAuth/utils/common.js +0 -150
  591. package/build/component/resource/simpleAuth/utils/common.js.map +0 -1
  592. package/build/component/resource/simpleAuth/utils/dialog.d.ts +0 -5
  593. package/build/component/resource/simpleAuth/utils/dialog.d.ts.map +0 -1
  594. package/build/component/resource/simpleAuth/utils/dialog.js +0 -7
  595. package/build/component/resource/simpleAuth/utils/dialog.js.map +0 -1
  596. package/build/component/resource/simpleAuth/utils/telemetry.d.ts +0 -17
  597. package/build/component/resource/simpleAuth/utils/telemetry.d.ts.map +0 -1
  598. package/build/component/resource/simpleAuth/utils/telemetry.js +0 -45
  599. package/build/component/resource/simpleAuth/utils/telemetry.js.map +0 -1
  600. package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -11
  601. package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
  602. package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
  603. package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
  604. package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
  605. package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
  606. package/build/component/resource/spfx/depsChecker/yoChecker.js.map +0 -1
  607. package/build/component/resource/spfx/error.d.ts +0 -21
  608. package/build/component/resource/spfx/error.d.ts.map +0 -1
  609. package/build/component/resource/spfx/error.js +0 -138
  610. package/build/component/resource/spfx/error.js.map +0 -1
  611. package/build/component/resource/spfx/index.d.ts +0 -15
  612. package/build/component/resource/spfx/index.d.ts.map +0 -1
  613. package/build/component/resource/spfx/index.js +0 -248
  614. package/build/component/resource/spfx/index.js.map +0 -1
  615. package/build/component/resource/spfx/spoClient.d.ts +0 -25
  616. package/build/component/resource/spfx/spoClient.d.ts.map +0 -1
  617. package/build/component/resource/spfx/spoClient.js +0 -79
  618. package/build/component/resource/spfx/spoClient.js.map +0 -1
  619. package/build/component/resource/spfx/utils/constants.d.ts.map +0 -1
  620. package/build/component/resource/spfx/utils/constants.js.map +0 -1
  621. package/build/component/resource/spfx/utils/progress-helper.d.ts.map +0 -1
  622. package/build/component/resource/spfx/utils/progress-helper.js +0 -46
  623. package/build/component/resource/spfx/utils/progress-helper.js.map +0 -1
  624. package/build/component/resource/spfx/utils/question-helper.d.ts.map +0 -1
  625. package/build/component/resource/spfx/utils/question-helper.js.map +0 -1
  626. package/build/component/resource/spfx/utils/questions.d.ts.map +0 -1
  627. package/build/component/resource/spfx/utils/questions.js.map +0 -1
  628. package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
  629. package/build/component/resource/spfx/utils/telemetry-helper.js.map +0 -1
  630. package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
  631. package/build/component/resource/spfx/utils/telemetryEvents.js.map +0 -1
  632. package/build/component/resource/spfx/utils/utils.d.ts.map +0 -1
  633. package/build/component/resource/spfx/utils/utils.js.map +0 -1
  634. package/build/component/utils/backupFiles.d.ts +0 -3
  635. package/build/component/utils/backupFiles.d.ts.map +0 -1
  636. package/build/component/utils/backupFiles.js +0 -142
  637. package/build/component/utils/backupFiles.js.map +0 -1
  638. package/build/component/utils/executor.d.ts +0 -12
  639. package/build/component/utils/executor.d.ts.map +0 -1
  640. package/build/component/utils/executor.js +0 -87
  641. package/build/component/utils/executor.js.map +0 -1
  642. package/build/core/dependencyChecker.d.ts +0 -1
  643. package/build/core/dependencyChecker.d.ts.map +0 -1
  644. package/build/core/dependencyChecker.js +0 -2
  645. package/build/core/dependencyChecker.js.map +0 -1
  646. package/build/core/downloadSample.d.ts +0 -9
  647. package/build/core/downloadSample.d.ts.map +0 -1
  648. package/build/core/downloadSample.js +0 -161
  649. package/build/core/downloadSample.js.map +0 -1
  650. package/build/core/middleware/CommonErrorHandlerMW.d.ts +0 -14
  651. package/build/core/middleware/CommonErrorHandlerMW.d.ts.map +0 -1
  652. package/build/core/middleware/CommonErrorHandlerMW.js +0 -63
  653. package/build/core/middleware/CommonErrorHandlerMW.js.map +0 -1
  654. package/build/core/middleware/aadManifestMigration.d.ts +0 -3
  655. package/build/core/middleware/aadManifestMigration.d.ts.map +0 -1
  656. package/build/core/middleware/aadManifestMigration.js +0 -119
  657. package/build/core/middleware/aadManifestMigration.js.map +0 -1
  658. package/build/core/middleware/consolidateLocalRemote.d.ts +0 -5
  659. package/build/core/middleware/consolidateLocalRemote.d.ts.map +0 -1
  660. package/build/core/middleware/consolidateLocalRemote.js +0 -378
  661. package/build/core/middleware/consolidateLocalRemote.js.map +0 -1
  662. package/build/core/middleware/projectMigrator.d.ts +0 -40
  663. package/build/core/middleware/projectMigrator.d.ts.map +0 -1
  664. package/build/core/middleware/projectMigrator.js +0 -1014
  665. package/build/core/middleware/projectMigrator.js.map +0 -1
  666. package/resource/backup-config-change-logs.md +0 -24
  667. package/templates/bicep/azureSql.parameters.json +0 -4
  668. package/templates/bicep/azureSql.provisionDatabase.module.bicep +0 -15
  669. package/templates/bicep/azureSql.provisionDatabase.orchestration.bicep +0 -5
  670. package/templates/bicep/azureSql.provisionServer.module.bicep +0 -44
  671. package/templates/bicep/azureSql.provisionServer.orchestration.bicep +0 -14
  672. package/templates/bicep/identity.provision.module.bicep +0 -15
  673. package/templates/bicep/identity.provision.orchestration.bicep +0 -14
  674. package/templates/bicep/keyVault.provision.module.bicep +0 -57
  675. package/templates/bicep/keyVault.provision.orchestration.bicep +0 -15
  676. package/templates/plugins/resource/apiconnector/package.json +0 -5
  677. package/templates/plugins/resource/apiconnector/sample/footerComment.template +0 -20
  678. package/templates/plugins/resource/apiconnector/sample/headerComment.template +0 -52
  679. package/templates/plugins/resource/apiconnector/sample/js/aad.template +0 -31
  680. package/templates/plugins/resource/apiconnector/sample/js/apikey.template +0 -19
  681. package/templates/plugins/resource/apiconnector/sample/js/basic.template +0 -14
  682. package/templates/plugins/resource/apiconnector/sample/js/cert.template +0 -17
  683. package/templates/plugins/resource/apiconnector/sample/js/custom.template +0 -39
  684. package/templates/plugins/resource/apiconnector/sample/ts/aad.template +0 -36
  685. package/templates/plugins/resource/apiconnector/sample/ts/apikey.template +0 -16
  686. package/templates/plugins/resource/apiconnector/sample/ts/basic.template +0 -14
  687. package/templates/plugins/resource/apiconnector/sample/ts/cert.template +0 -19
  688. package/templates/plugins/resource/apiconnector/sample/ts/custom.template +0 -42
  689. package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +0 -15
  690. package/templates/plugins/resource/identity/bicep/provision.template.bicep +0 -14
  691. package/templates/plugins/resource/identity/parameters.json +0 -12
  692. package/templates/plugins/resource/identity/template.json +0 -28
  693. package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +0 -57
  694. package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +0 -15
  695. package/templates/plugins/resource/simpleauth/SimpleAuth.zip +0 -0
  696. package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +0 -12
  697. package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +0 -14
  698. package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +0 -62
  699. package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +0 -51
  700. package/templates/plugins/resource/simpleauth/version.txt +0 -2
  701. package/templates/plugins/resource/spfx/solution/README.md +0 -82
  702. package/templates/plugins/resource/spfx/solution/manifest.local.template.json +0 -62
  703. package/templates/plugins/resource/spfx/solution/manifest_multi_env.json +0 -63
  704. package/templates/plugins/resource/spfx/solution/rootREADME.md +0 -13
  705. package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +0 -5
  706. package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +0 -15
  707. package/templates/plugins/resource/sql/bicep/parameters.json +0 -4
  708. package/templates/plugins/resource/sql/bicep/provision.template.bicep +0 -14
  709. package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +0 -44
  710. /package/build/component/{resource → generator}/spfx/depsChecker/dependencyChecker.js +0 -0
  711. /package/build/component/generator/{spfxGenerator.d.ts → spfx/spfxGenerator.d.ts} +0 -0
  712. /package/build/component/{resource → generator}/spfx/utils/question-helper.d.ts +0 -0
  713. /package/build/component/{resource → generator}/spfx/utils/question-helper.js +0 -0
  714. /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.d.ts +0 -0
  715. /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.js +0 -0
  716. /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.d.ts +0 -0
  717. /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.js +0 -0
  718. /package/build/component/{resource → generator}/spfx/utils/utils.d.ts +0 -0
  719. /package/build/component/{resource → generator}/spfx/utils/utils.js +0 -0
@@ -1,12 +0,0 @@
1
- import { FxError, InputsWithProjectPath, ResourceContextV3, ResourceOutputs, Result } from "@microsoft/teamsfx-api";
2
- import { AzureResource } from "./../azureResource";
3
- export declare abstract class AzureAppService extends AzureResource {
4
- abstract readonly name: string;
5
- abstract readonly alias: string;
6
- abstract readonly displayName: string;
7
- abstract readonly bicepModuleName: string;
8
- abstract readonly outputs: ResourceOutputs;
9
- abstract readonly finalOutputKeys: string[];
10
- deploy(context: ResourceContextV3, inputs: InputsWithProjectPath, restart?: boolean, givenResourceIdKey?: string): Promise<Result<undefined, FxError>>;
11
- }
12
- //# sourceMappingURL=azureAppService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureAppService.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureAppService.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EACP,qBAAqB,EAErB,iBAAiB,EACjB,eAAe,EACf,MAAM,EACP,MAAM,wBAAwB,CAAC;AAUhC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQnD,8BAAsB,eAAgB,SAAQ,aAAa;IACzD,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IAC1C,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;IAC3C,QAAQ,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;IACtC,MAAM,CACV,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,EAC7B,OAAO,UAAQ,EACf,kBAAkB,CAAC,EAAE,MAAM,GAC1B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;CA2CvC"}
@@ -1,48 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AzureAppService = void 0;
6
- const tslib_1 = require("tslib");
7
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
8
- const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
9
- const path = tslib_1.__importStar(require("path"));
10
- const utils_1 = require("../../../common/azure-hosting/utils");
11
- const utils = tslib_1.__importStar(require("./common"));
12
- const error_1 = require("../../error");
13
- const azureResource_1 = require("./../azureResource");
14
- const messages_1 = require("../../messages");
15
- const azureOps_1 = require("../../../common/azure-hosting/azureOps");
16
- const tools_1 = require("../../../common/tools");
17
- class AzureAppService extends azureResource_1.AzureResource {
18
- async deploy(context, inputs, restart = false, givenResourceIdKey) {
19
- const progressBar = context.userInteraction.createProgressBar(messages_1.ProgressTitles.deploying(this.displayName, inputs.scenario), 2);
20
- await progressBar.start();
21
- try {
22
- // Preconditions checking.
23
- if (!inputs.projectPath || !inputs.artifactFolder) {
24
- throw new error_1.PreconditionError(this.alias, messages_1.ErrorMessage.WorkingDirIsMissing, []);
25
- }
26
- const publishDir = path.resolve(inputs.projectPath, inputs.artifactFolder);
27
- const packDirExisted = await fs_extra_1.default.pathExists(publishDir);
28
- if (!packDirExisted) {
29
- throw new error_1.PackDirectoryExistenceError(this.alias);
30
- }
31
- const state = context.envInfo.state[inputs.componentId];
32
- const resourceIdKey = givenResourceIdKey || this.outputs.resourceId.key;
33
- const resourceId = error_1.CheckThrowSomethingMissing(this.name, resourceIdKey, state[resourceIdKey]);
34
- await progressBar.next(messages_1.ProgressMessages.packingCode());
35
- const zipBuffer = await utils.zipFolderAsync(publishDir, "");
36
- const client = await utils_1.azureWebSiteDeploy(resourceId, context.tokenProvider, zipBuffer, context.logProvider, progressBar);
37
- if (restart) {
38
- await azureOps_1.AzureOperations.restartWebApp(client, tools_1.getResourceGroupNameFromResourceId(resourceId), tools_1.getSiteNameFromResourceId(resourceId), context.logProvider);
39
- }
40
- }
41
- finally {
42
- progressBar.end(true);
43
- }
44
- return teamsfx_api_1.ok(undefined);
45
- }
46
- }
47
- exports.AzureAppService = AzureAppService;
48
- //# sourceMappingURL=azureAppService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureAppService.js","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureAppService.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAOgC;AAChC,gEAA0B;AAC1B,mDAA6B;AAC7B,+DAAyE;AACzE,wDAAkC;AAClC,uCAIqB;AACrB,sDAAmD;AACnD,6CAAgF;AAChF,qEAAyE;AACzE,iDAG+B;AAE/B,MAAsB,eAAgB,SAAQ,6BAAa;IAOzD,KAAK,CAAC,MAAM,CACV,OAA0B,EAC1B,MAA6B,EAC7B,OAAO,GAAG,KAAK,EACf,kBAA2B;QAE3B,MAAM,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,iBAAiB,CAC3D,yBAAc,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,EAC3D,CAAC,CACF,CAAC;QACF,MAAM,WAAW,CAAC,KAAK,EAAE,CAAC;QAC1B,IAAI;YACF,0BAA0B;YAC1B,IAAI,CAAC,MAAM,CAAC,WAAW,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE;gBACjD,MAAM,IAAI,yBAAiB,CAAC,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DD,0CAuDC"}
@@ -1,36 +0,0 @@
1
- import { FxError, InputsWithProjectPath, ResourceContextV3, Result } from "@microsoft/teamsfx-api";
2
- import { AzureAppService } from "./azureAppService";
3
- import { Site } from "@azure/arm-appservice";
4
- export declare class AzureFunctionResource extends AzureAppService {
5
- readonly name = "azure-function";
6
- readonly alias = "Functions";
7
- readonly displayName = "Azure Functions";
8
- readonly bicepModuleName = "azureFunction";
9
- outputs: {
10
- resourceId: {
11
- key: string;
12
- bicepVariable: string;
13
- };
14
- endpoint: {
15
- key: string;
16
- bicepVariable: string;
17
- };
18
- endpointAsParam: {
19
- key: string;
20
- bicepVariable: string;
21
- };
22
- };
23
- finalOutputKeys: string[];
24
- templateContext: {
25
- identity: {
26
- resourceId: string;
27
- };
28
- };
29
- configure(context: ResourceContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
30
- deploy(context: ResourceContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
31
- private needConfigure;
32
- private collectFunctionAppSettings;
33
- ensureFunctionAllowAppIds(site: Site, clientIds: string[]): void;
34
- private pushAppSettings;
35
- }
36
- //# sourceMappingURL=azureFunction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureFunction.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureFunction.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EACP,qBAAqB,EAErB,iBAAiB,EACjB,MAAM,EACP,MAAM,wBAAwB,CAAC;AAWhC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,OAAO,EAAiB,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAO5D,qBACa,qBAAsB,SAAQ,eAAe;IACxD,QAAQ,CAAC,IAAI,oBAAoB;IACjC,QAAQ,CAAC,KAAK,eAAe;IAC7B,QAAQ,CAAC,WAAW,qBAAqB;IACzC,QAAQ,CAAC,eAAe,mBAAmB;IAC3C,OAAO;;;;;;;;;;;;;MAAmB;IAC1B,eAAe,WAA8B;IAC7C,eAAe;;;;MAIb;IAMI,SAAS,CACb,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IA8ChC,MAAM,CACV,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAetC,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,0BAA0B;IAe3B,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI;IA0BvE,OAAO,CAAC,eAAe;CAqBxB"}
@@ -1,155 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AzureFunctionResource = void 0;
6
- const tslib_1 = require("tslib");
7
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
8
- const typedi_1 = require("typedi");
9
- const workflow_1 = require("../../workflow");
10
- const constants_1 = require("../../constants");
11
- const azureAppService_1 = require("./azureAppService");
12
- const error_1 = require("../../error");
13
- const tools_1 = require("../../../common/tools");
14
- const lib_1 = require("@feathersjs/hooks/lib");
15
- const actionExecutionMW_1 = require("../../middleware/actionExecutionMW");
16
- const messages_1 = require("../../messages");
17
- const azureLibs_1 = require("./azureLibs");
18
- const ErrorSource = "Functions";
19
- let AzureFunctionResource = class AzureFunctionResource extends azureAppService_1.AzureAppService {
20
- constructor() {
21
- super(...arguments);
22
- this.name = "azure-function";
23
- this.alias = ErrorSource;
24
- this.displayName = "Azure Functions";
25
- this.bicepModuleName = "azureFunction";
26
- this.outputs = constants_1.FunctionOutputs;
27
- this.finalOutputKeys = ["resourceId", "endpoint"];
28
- this.templateContext = {
29
- identity: {
30
- resourceId: constants_1.IdentityOutputs.identityResourceId.bicepVariable,
31
- },
32
- };
33
- }
34
- async configure(context, inputs) {
35
- var e_1, _a;
36
- var _b;
37
- if (!this.needConfigure(context)) {
38
- return teamsfx_api_1.ok(undefined);
39
- }
40
- context.logProvider.info(messages_1.LogMessages.updateFunctionAppSettings);
41
- const resourceId = error_1.CheckThrowSomethingMissing(this.alias, "resourceId", (_b = context.envInfo.state[constants_1.ComponentNames.TeamsApi]) === null || _b === void 0 ? void 0 : _b[constants_1.FunctionOutputs.resourceId.key]);
42
- const credentials = error_1.CheckThrowSomethingMissing(this.alias, "Azure account", await context.tokenProvider.azureAccountProvider.getIdentityCredentialAsync());
43
- const resourceGroupName = tools_1.getResourceGroupNameFromResourceId(resourceId);
44
- const functionAppName = tools_1.getSiteNameFromResourceId(resourceId);
45
- const subscriptionId = tools_1.getSubscriptionIdFromResourceId(resourceId);
46
- const client = azureLibs_1.AzureClientFactory.getWebSiteManagementClient(credentials, subscriptionId);
47
- let site = undefined;
48
- try {
49
- for (var _c = tslib_1.__asyncValues(client.webApps.listByResourceGroup(resourceGroupName).byPage()), _d; _d = await _c.next(), !_d.done;) {
50
- const page = _d.value;
51
- for (const webApp of page) {
52
- if (webApp.name === functionAppName) {
53
- site = webApp;
54
- }
55
- }
56
- }
57
- }
58
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
59
- finally {
60
- try {
61
- if (_d && !_d.done && (_a = _c.return)) await _a.call(_c);
62
- }
63
- finally { if (e_1) throw e_1.error; }
64
- }
65
- if (!site) {
66
- throw new error_1.FindFunctionAppError(this.alias);
67
- }
68
- const settings = await client.webApps.listApplicationSettings(resourceGroupName, functionAppName);
69
- if (settings === null || settings === void 0 ? void 0 : settings.properties) {
70
- Object.entries(settings.properties).forEach((kv) => {
71
- this.pushAppSettings(site, kv[0], kv[1], false);
72
- });
73
- }
74
- this.collectFunctionAppSettings(context, site);
75
- await client.webApps.update(resourceGroupName, functionAppName, site);
76
- return teamsfx_api_1.ok(undefined);
77
- }
78
- async deploy(context, inputs) {
79
- let resourceIdKey = this.outputs.resourceId.key;
80
- if (inputs.componentId === constants_1.ComponentNames.TeamsBot) {
81
- const state = context.envInfo.state[inputs.componentId];
82
- if (!state[resourceIdKey]) {
83
- if (state["resourceId"]) {
84
- resourceIdKey = "resourceId";
85
- }
86
- else if (state["botWebAppResourceId"]) {
87
- resourceIdKey = "botWebAppResourceId";
88
- }
89
- }
90
- }
91
- return await super.deploy(context, inputs, true, resourceIdKey);
92
- }
93
- needConfigure(context) {
94
- var _a;
95
- const func = workflow_1.getComponentByScenario(context.projectSetting, constants_1.ComponentNames.Function, constants_1.Scenarios.Api);
96
- return (context.envInfo.envName !== "local" && !!((_a = func === null || func === void 0 ? void 0 : func.connections) === null || _a === void 0 ? void 0 : _a.includes(constants_1.ComponentNames.APIM)));
97
- }
98
- collectFunctionAppSettings(ctx, site) {
99
- const apimConfig = ctx.envInfo.state[constants_1.ComponentNames.APIM];
100
- if (apimConfig) {
101
- // Logger.info(InfoMessages.dependPluginDetected(ComponentNames.APIM));
102
- const clientId = error_1.CheckThrowSomethingMissing(this.alias, "APIM app Id", apimConfig[constants_1.APIMOutputs.apimClientAADClientId.key]);
103
- this.ensureFunctionAllowAppIds(site, [clientId]);
104
- }
105
- }
106
- ensureFunctionAllowAppIds(site, clientIds) {
107
- var _a, _b;
108
- if (!site.siteConfig) {
109
- site.siteConfig = {};
110
- }
111
- const rawOldClientIds = (_b = (_a = site.siteConfig.appSettings) === null || _a === void 0 ? void 0 : _a.find((kv) => kv.name === constants_1.FunctionAppSetting.keys.allowedAppIds)) === null || _b === void 0 ? void 0 : _b.value;
112
- const oldClientIds = rawOldClientIds
113
- ? rawOldClientIds.split(constants_1.FunctionAppSetting.allowedAppIdSep).filter((e) => e)
114
- : [];
115
- for (const id of oldClientIds) {
116
- if (!clientIds.includes(id)) {
117
- clientIds.push(id);
118
- }
119
- }
120
- this.pushAppSettings(site, constants_1.FunctionAppSetting.keys.allowedAppIds, clientIds.join(constants_1.FunctionAppSetting.allowedAppIdSep), true);
121
- }
122
- pushAppSettings(site, newName, newValue, replace = true) {
123
- if (!site.siteConfig) {
124
- site.siteConfig = {};
125
- }
126
- if (!site.siteConfig.appSettings) {
127
- site.siteConfig.appSettings = [];
128
- }
129
- const kv = site.siteConfig.appSettings.find((kv) => kv.name === newName);
130
- if (!kv) {
131
- site.siteConfig.appSettings.push({
132
- name: newName,
133
- value: newValue,
134
- });
135
- }
136
- else if (replace) {
137
- kv.value = newValue;
138
- }
139
- }
140
- };
141
- tslib_1.__decorate([
142
- lib_1.hooks([
143
- actionExecutionMW_1.ActionExecutionMW({
144
- errorSource: ErrorSource,
145
- }),
146
- ]),
147
- tslib_1.__metadata("design:type", Function),
148
- tslib_1.__metadata("design:paramtypes", [Object, Object]),
149
- tslib_1.__metadata("design:returntype", Promise)
150
- ], AzureFunctionResource.prototype, "configure", null);
151
- AzureFunctionResource = tslib_1.__decorate([
152
- typedi_1.Service("azure-function")
153
- ], AzureFunctionResource);
154
- exports.AzureFunctionResource = AzureFunctionResource;
155
- //# sourceMappingURL=azureFunction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureFunction.js","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureFunction.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAMgC;AAChC,mCAAiC;AACjC,6CAAwD;AACxD,+CAOyB;AACzB,uDAAoD;AACpD,uCAA+E;AAC/E,iDAI+B;AAE/B,+CAA8C;AAC9C,0EAAuE;AACvE,6CAA6C;AAC7C,2CAAiD;AAEjD,MAAM,WAAW,GAAG,WAAW,CAAC;AAEhC,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,iCAAe;IAA1D;;QACW,SAAI,GAAG,gBAAgB,CAAC;QACxB,UAAK,GAAG,WAAW,CAAC;QACpB,gBAAW,GAAG,iBAAiB,CAAC;QAChC,oBAAe,GAAG,eAAe,CAAC;QAC3C,YAAO,GAAG,2BAAe,CAAC;QAC1B,oBAAe,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Q,CAAC;SACrB;IACH,CAAC;CACF,CAAA;AA5IC;IALC,WAAK,CAAC;QACL,qCAAiB,CAAC;YAChB,WAAW,EAAE,WAAW;SACzB,CAAC;KACH,CAAC;;;;sDAgDD;AAhEU,qBAAqB;IADjC,gBAAO,CAAC,gBAAgB,CAAC;GACb,qBAAqB,CA6JjC;AA7JY,sDAAqB"}
@@ -1,6 +0,0 @@
1
- import { WebSiteManagementClient } from "@azure/arm-appservice";
2
- import { TokenCredential } from "@azure/identity";
3
- export declare class AzureClientFactory {
4
- static getWebSiteManagementClient(credentials: TokenCredential, subscriptionId: string): WebSiteManagementClient;
5
- }
6
- //# sourceMappingURL=azureLibs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureLibs.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureLibs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,qBAAa,kBAAkB;IAC7B,MAAM,CAAC,0BAA0B,CAC/B,WAAW,EAAE,eAAe,EAC5B,cAAc,EAAE,MAAM,GACrB,uBAAuB;CAG3B"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AzureClientFactory = void 0;
6
- const arm_appservice_1 = require("@azure/arm-appservice");
7
- class AzureClientFactory {
8
- static getWebSiteManagementClient(credentials, subscriptionId) {
9
- return new arm_appservice_1.WebSiteManagementClient(credentials, subscriptionId);
10
- }
11
- }
12
- exports.AzureClientFactory = AzureClientFactory;
13
- //# sourceMappingURL=azureLibs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureLibs.js","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureLibs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,0DAAgE;AAGhE,MAAa,kBAAkB;IAC7B,MAAM,CAAC,0BAA0B,CAC/B,WAA4B,EAC5B,cAAsB;QAEtB,OAAO,IAAI,wCAAuB,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;IAClE,CAAC;CACF;AAPD,gDAOC"}
@@ -1,30 +0,0 @@
1
- import { FxError, InputsWithProjectPath, ResourceContextV3, Result } from "@microsoft/teamsfx-api";
2
- import { AzureAppService } from "./azureAppService";
3
- export declare class AzureWebAppResource extends AzureAppService {
4
- readonly name = "azure-web-app";
5
- readonly alias = "WebApp";
6
- readonly displayName = "Azure Web App";
7
- readonly bicepModuleName = "azureWebApp";
8
- readonly outputs: {
9
- resourceId: {
10
- key: string;
11
- bicepVariable: string;
12
- };
13
- endpoint: {
14
- key: string;
15
- bicepVariable: string;
16
- };
17
- endpointAsParam: {
18
- key: string;
19
- bicepVariable: string;
20
- };
21
- };
22
- readonly finalOutputKeys: string[];
23
- templateContext: {
24
- identity: {
25
- resourceId: string;
26
- };
27
- };
28
- deploy(context: ResourceContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
29
- }
30
- //# sourceMappingURL=azureWebApp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureWebApp.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureWebApp.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGnG,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,qBACa,mBAAoB,SAAQ,eAAe;IACtD,QAAQ,CAAC,IAAI,mBAAmB;IAChC,QAAQ,CAAC,KAAK,YAAY;IAC1B,QAAQ,CAAC,WAAW,mBAAmB;IACvC,QAAQ,CAAC,eAAe,iBAAiB;IACzC,QAAQ,CAAC,OAAO;;;;;;;;;;;;;MAAiB;IACjC,QAAQ,CAAC,eAAe,WAA8B;IACtD,eAAe;;;;MAIb;IAEI,MAAM,CACV,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;CAavC"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AzureWebAppResource = void 0;
6
- const tslib_1 = require("tslib");
7
- const typedi_1 = require("typedi");
8
- const constants_1 = require("../../constants");
9
- const azureAppService_1 = require("./azureAppService");
10
- let AzureWebAppResource = class AzureWebAppResource extends azureAppService_1.AzureAppService {
11
- constructor() {
12
- super(...arguments);
13
- this.name = "azure-web-app";
14
- this.alias = "WebApp";
15
- this.displayName = "Azure Web App";
16
- this.bicepModuleName = "azureWebApp";
17
- this.outputs = constants_1.WebAppOutputs;
18
- this.finalOutputKeys = ["resourceId", "endpoint"];
19
- this.templateContext = {
20
- identity: {
21
- resourceId: constants_1.IdentityOutputs.identityResourceId.bicepVariable,
22
- },
23
- };
24
- }
25
- async deploy(context, inputs) {
26
- let resourceIdKey = this.outputs.resourceId.key;
27
- const state = context.envInfo.state[inputs.componentId];
28
- if (!state[resourceIdKey]) {
29
- if (state["botWebAppResourceId"]) {
30
- resourceIdKey = "botWebAppResourceId";
31
- }
32
- if (state["webAppResourceId"]) {
33
- resourceIdKey = "webAppResourceId";
34
- }
35
- }
36
- return await super.deploy(context, inputs, false, resourceIdKey);
37
- }
38
- };
39
- AzureWebAppResource = tslib_1.__decorate([
40
- typedi_1.Service("azure-web-app")
41
- ], AzureWebAppResource);
42
- exports.AzureWebAppResource = AzureWebAppResource;
43
- //# sourceMappingURL=azureWebApp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureWebApp.js","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/azureWebApp.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAGlC,mCAAiC;AACjC,+CAAiF;AACjF,uDAAoD;AAEpD,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,iCAAe;IAAxD;;QACW,SAAI,GAAG,eAAe,CAAC;QACvB,UAAK,GAAG,QAAQ,CAAC;QACjB,gBAAW,GAAG,eAAe,CAAC;QAC9B,oBAAe,GAAG,aAAa,CAAC;QAChC,YAAO,GAAG,yBAAa,CAAC;QACxB,oBAAe,GAAG,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QACtD,oBAAe,GAAG;YAChB,QAAQ,EAAE;gBACR,UAAU,EAAE,2BAAe,CAAC,kBAAkB,CAAC,aAAa;aAC7D;SACF,CAAC;IAkBJ,CAAC;IAhBC,KAAK,CAAC,MAAM,CACV,OAA0B,EAC1B,MAA6B;QAE7B,IAAI,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC;QAChD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE;YACzB,IAAI,KAAK,CAAC,qBAAqB,CAAC,EAAE;gBAChC,aAAa,GAAG,qBAAqB,CAAC;aACvC;YACD,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE;gBAC7B,aAAa,GAAG,kBAAkB,CAAC;aACpC;SACF;QACD,OAAO,MAAM,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC;IACnE,CAAC;CACF,CAAA;AA7BY,mBAAmB;IAD/B,gBAAO,CAAC,eAAe,CAAC;GACZ,mBAAmB,CA6B/B;AA7BY,kDAAmB"}
@@ -1,10 +0,0 @@
1
- /// <reference types="node" />
2
- import { Ignore } from "ignore";
3
- /**
4
- * Asynchronously zip a folder and return buffer
5
- * @param sourceDir base dir
6
- * @param notIncluded block list
7
- * @param cache zip cache file location
8
- */
9
- export declare function zipFolderAsync(sourceDir: string, cache: string, notIncluded?: Ignore): Promise<Buffer>;
10
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/common.ts"],"names":[],"mappings":";AAIA,OAAe,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMxC;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,MAAM,CAAC,CAyDjB"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.zipFolderAsync = void 0;
6
- const tslib_1 = require("tslib");
7
- const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
8
- const ignore_1 = tslib_1.__importDefault(require("ignore"));
9
- const fs = tslib_1.__importStar(require("fs-extra"));
10
- const dir_walk_1 = require("./dir-walk");
11
- const path_1 = tslib_1.__importDefault(require("path"));
12
- const hostingConstant_1 = require("../../../common/azure-hosting/hostingConstant");
13
- /**
14
- * Asynchronously zip a folder and return buffer
15
- * @param sourceDir base dir
16
- * @param notIncluded block list
17
- * @param cache zip cache file location
18
- */
19
- async function zipFolderAsync(sourceDir, cache, notIncluded) {
20
- const normalizeTime = (t) => Math.floor(t / hostingConstant_1.AzureOperationCommonConstants.zipTimeMSGranularity);
21
- const tasks = [];
22
- const zipFiles = new Set();
23
- const ig = notIncluded !== null && notIncluded !== void 0 ? notIncluded : ignore_1.default();
24
- const zip = (await readZipFromCache(cache)) || new adm_zip_1.default();
25
- const addFileIntoZip = async (zp, filePath, zipPath, stats) => {
26
- const content = await fs.readFile(filePath);
27
- zp.addFile(zipPath, content);
28
- if (stats) {
29
- zp.getEntry(zipPath).header.time = stats.mtime;
30
- }
31
- };
32
- await dir_walk_1.forEachFileAndDir(sourceDir, (itemPath, stats) => {
33
- const relativePath = path_1.default.relative(sourceDir, itemPath);
34
- if (relativePath && !stats.isDirectory() && ig.filter([relativePath]).length > 0) {
35
- zipFiles.add(relativePath);
36
- const entry = zip.getEntry(relativePath);
37
- if (entry) {
38
- // The header is an object, the ts declare of adm-zip is wrong.
39
- const header = entry.header;
40
- const mtime = header && header.time;
41
- // Some files' mtime in node_modules are too old, which may be invalid,
42
- // so we arbitrarily add a limitation to update this kind of files.
43
- // If mtime is valid and the two mtime is same in two-seconds, we think the two are same file.
44
- if (mtime >= hostingConstant_1.AzureOperationCommonConstants.latestTrustMtime &&
45
- normalizeTime(mtime.getTime()) === normalizeTime(stats.mtime.getTime())) {
46
- return;
47
- }
48
- // Delete the entry because the file has been updated.
49
- zip.deleteFile(relativePath);
50
- }
51
- // If fail to reuse cached entry, load it from disk.
52
- const fullPath = path_1.default.join(sourceDir, relativePath);
53
- const task = addFileIntoZip(zip, fullPath, relativePath, stats);
54
- tasks.push(task);
55
- }
56
- });
57
- await Promise.all(tasks);
58
- removeLegacyFileInZip(zip, zipFiles);
59
- return zip.toBuffer();
60
- }
61
- exports.zipFolderAsync = zipFolderAsync;
62
- async function readZipFromCache(cache) {
63
- try {
64
- const content = await fs.readFile(cache);
65
- return new adm_zip_1.default(content);
66
- }
67
- catch (_a) {
68
- // Failed to load cache, it doesn't block deployment.
69
- }
70
- return undefined;
71
- }
72
- function removeLegacyFileInZip(zip, existenceFiles) {
73
- zip
74
- .getEntries()
75
- .filter((entry) => !existenceFiles.has(entry.name))
76
- .forEach((entry) => {
77
- zip.deleteFile(entry.name);
78
- });
79
- }
80
- //# sourceMappingURL=common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/common.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,8DAA6B;AAC7B,4DAAwC;AACxC,qDAA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GAAW,EAAE,cAA2B;IACrE,GAAG;SACA,UAAU,EAAE;SACZ,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SAClD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACjB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -1,4 +0,0 @@
1
- /// <reference types="node" />
2
- import * as fs from "fs-extra";
3
- export declare function forEachFileAndDir(root: string, callback: (itemPath: string, stats: fs.Stats) => boolean | void, filter?: (itemPath: string) => boolean): Promise<void>;
4
- //# sourceMappingURL=dir-walk.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dir-walk.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/dir-walk.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,MAAM,UAAU,CAAC;AAG/B,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,GAAG,IAAI,EAC/D,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,GACrC,OAAO,CAAC,IAAI,CAAC,CAaf"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.forEachFileAndDir = void 0;
4
- const tslib_1 = require("tslib");
5
- const klaw_1 = tslib_1.__importDefault(require("klaw"));
6
- async function forEachFileAndDir(root, callback, filter) {
7
- await new Promise((resolve, reject) => {
8
- const stream = klaw_1.default(root, { filter: filter });
9
- stream
10
- .on("data", (item) => {
11
- if (callback(item.path, item.stats)) {
12
- stream.emit("close");
13
- }
14
- })
15
- .on("end", () => resolve({}))
16
- .on("error", (err) => reject(err))
17
- .on("close", () => resolve({}));
18
- });
19
- }
20
- exports.forEachFileAndDir = forEachFileAndDir;
21
- //# sourceMappingURL=dir-walk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dir-walk.js","sourceRoot":"","sources":["../../../../src/component/resource/azureAppService/dir-walk.ts"],"names":[],"mappings":";;;;AAGA,wDAAwB;AAEjB,KAAK,UAAU,iBAAiB,CACrC,IAAY,EACZ,QAA+D,EAC/D,MAAsC;IAEtC,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACpC,MAAM,MAAM,GAAgB,cAAI,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;QAC3D,MAAM;aACH,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;YACnB,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE;gBACnC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACtB;QACH,CAAC,CAAC;aACD,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;aAC5B,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aACjC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC;AAjBD,8CAiBC"}
@@ -1,15 +0,0 @@
1
- import { ContextV3, InputsWithProjectPath, Result, FxError, Effect } from "@microsoft/teamsfx-api";
2
- export declare class ConfigureActionImplement {
3
- static readonly source = "SQL";
4
- static readonly stage = "post-provision";
5
- static readonly telemetryComponentName = "fx-resource-azure-sql";
6
- static readonly progressTitle = "Configuring SQL";
7
- static readonly progressMessage: {
8
- addAadmin: string;
9
- addUser: string;
10
- };
11
- static readonly loggerPrefix = "[SQL Component]";
12
- static readonly logFormatter: (message: string) => string;
13
- static execute(context: ContextV3, inputs: InputsWithProjectPath): Promise<Result<Effect[], FxError>>;
14
- }
15
- //# sourceMappingURL=configure.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../../src/component/resource/azureSql/actions/configure.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,SAAS,EACT,qBAAqB,EAIrB,MAAM,EACN,OAAO,EACP,MAAM,EACP,MAAM,wBAAwB,CAAC;AAehC,qBAAa,wBAAwB;IACnC,MAAM,CAAC,QAAQ,CAAC,MAAM,SAAS;IAC/B,MAAM,CAAC,QAAQ,CAAC,KAAK,oBAAoB;IACzC,MAAM,CAAC,QAAQ,CAAC,sBAAsB,2BAA2B;IACjE,MAAM,CAAC,QAAQ,CAAC,aAAa,qBAAqB;IAClD,MAAM,CAAC,QAAQ,CAAC,eAAe;;;MAG7B;IACF,MAAM,CAAC,QAAQ,CAAC,YAAY,qBAAqB;IACjD,MAAM,CAAC,QAAQ,CAAC,YAAY,YAAa,MAAM,YACS;WAiB3C,OAAO,CAClB,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;CAuEtC"}