@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,47 +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.KeyVaultResource = void 0;
6
- const tslib_1 = require("tslib");
7
- const lib_1 = require("@feathersjs/hooks/lib");
8
- require("reflect-metadata");
9
- const typedi_1 = require("typedi");
10
- const constants_1 = require("../constants");
11
- const actionExecutionMW_1 = require("../middleware/actionExecutionMW");
12
- const azureResource_1 = require("./azureResource");
13
- let KeyVaultResource = class KeyVaultResource extends azureResource_1.AzureResource {
14
- constructor() {
15
- super(...arguments);
16
- this.name = constants_1.ComponentNames.KeyVault;
17
- this.bicepModuleName = "keyVault";
18
- this.outputs = constants_1.KeyVaultOutputs;
19
- this.finalOutputKeys = ["keyVaultResourceId", "m365ClientSecretReference", "botClientSecretReference"];
20
- this.templateContext = {
21
- identity: {
22
- principalId: constants_1.IdentityOutputs.identityPrincipalId.bicepVariable,
23
- },
24
- };
25
- }
26
- async generateBicep(context, inputs) {
27
- return super.generateBicep(context, inputs);
28
- }
29
- };
30
- tslib_1.__decorate([
31
- lib_1.hooks([
32
- actionExecutionMW_1.ActionExecutionMW({
33
- enableTelemetry: true,
34
- telemetryComponentName: "fx-resource-key-vault",
35
- telemetryEventName: "generate-arm-templates",
36
- errorSource: "kv",
37
- }),
38
- ]),
39
- tslib_1.__metadata("design:type", Function),
40
- tslib_1.__metadata("design:paramtypes", [Object, Object]),
41
- tslib_1.__metadata("design:returntype", Promise)
42
- ], KeyVaultResource.prototype, "generateBicep", null);
43
- KeyVaultResource = tslib_1.__decorate([
44
- typedi_1.Service(constants_1.ComponentNames.KeyVault)
45
- ], KeyVaultResource);
46
- exports.KeyVaultResource = KeyVaultResource;
47
- //# sourceMappingURL=keyVault.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keyVault.js","sourceRoot":"","sources":["../../../src/component/resource/keyVault.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,+CAA8C;AAE9C,4BAA0B;AAC1B,mCAAiC;AACjC,4CAAgF;AAChF,uEAAoE;AACpE,mDAAgD;AAEhD,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,6BAAa;IAAnD;;QACW,SAAI,GAAG,0BAAc,CAAC,QAAQ,CAAC;QAC/B,oBAAe,GAAG,UAAU,CAAC;QACtC,YAAO,GAAG,2BAAe,CAAC;QAC1B,oBAAe,GAAG,CAAC,oBAAoB,EAAE,2BAA2B,EAAE,0BAA0B,CAAC,CAAC;QAClG,oBAAe,GAAG;YAChB,QAAQ,EAAE;gBACR,WAAW,EAAE,2BAAe,CAAC,mBAAmB,CAAC,aAAa;aAC/D;SACF,CAAC;IAgBJ,CAAC;IANC,KAAK,CAAC,aAAa,CACjB,OAAkB,EAClB,MAA6B;QAE7B,OAAO,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AANC;IARC,WAAK,CAAC;QACL,qCAAiB,CAAC;YAChB,eAAe,EAAE,IAAI;YACrB,sBAAsB,EAAE,uBAAuB;YAC/C,kBAAkB,EAAE,wBAAwB;YAC5C,WAAW,EAAE,IAAI;SAClB,CAAC;KACH,CAAC;;;;qDAMD;AAxBU,gBAAgB;IAD5B,gBAAO,CAAC,0BAAc,CAAC,QAAQ,CAAC;GACpB,gBAAgB,CAyB5B;AAzBY,4CAAgB"}
@@ -1,122 +0,0 @@
1
- export declare class Constants {
2
- static readonly SolutionPlugin: {
3
- id: string;
4
- configKeys: {
5
- resourceNameSuffix: string;
6
- subscriptionId: string;
7
- resourceGroupName: string;
8
- location: string;
9
- remoteTeamsAppId: string;
10
- };
11
- };
12
- static readonly AadAppPlugin: {
13
- id: string;
14
- configKeys: {
15
- clientId: string;
16
- clientSecret: string;
17
- applicationIdUris: string;
18
- oauthAuthority: string;
19
- };
20
- };
21
- static readonly FrontendPlugin: {
22
- id: string;
23
- configKeys: {
24
- endpoint: string;
25
- };
26
- };
27
- static readonly LocalDebugPlugin: {
28
- id: string;
29
- configKeys: {
30
- endpoint: string;
31
- };
32
- };
33
- static readonly SimpleAuthPlugin: {
34
- id: string;
35
- name: string;
36
- shortName: string;
37
- configKeys: {
38
- endpoint: string;
39
- filePath: string;
40
- environmentVariableParams: string;
41
- skuName: string;
42
- };
43
- };
44
- static readonly provisionModuleTemplateFileName: string;
45
- static readonly configModuleTemplateFileName: string;
46
- static readonly SimpleAuthBicepOutputSkuName: string;
47
- static readonly SimpleAuthBicepOutputEndpoint: string;
48
- static readonly SimpleAuthFileName: string;
49
- static readonly SimpleAuthZipName: (version: string) => string;
50
- static readonly SimpleAuthTag: (version: string) => string;
51
- static readonly SimpleAuthReleaseUrl: (tagName: string, fileName: string) => string;
52
- static readonly VersionFileName: string;
53
- static readonly ResourceNameMaxLength = 40;
54
- static readonly SimpleAuthSuffix = "sa";
55
- static readonly LocalPrefix = "local_";
56
- static readonly Component = "component";
57
- static readonly ApplicationSettingsKeys: {
58
- clientId: string;
59
- clientSecret: string;
60
- oauthAuthority: string;
61
- applicationIdUris: string;
62
- allowedAppIds: string;
63
- tabAppEndpoint: string;
64
- aadMetadataAddress: string;
65
- };
66
- static readonly ProgressBar: {
67
- start: string;
68
- provision: {
69
- title: string;
70
- registerResourceProvider: string;
71
- createAppServicePlan: string;
72
- createWebApp: string;
73
- zipDeploy: string;
74
- };
75
- postProvision: {
76
- title: string;
77
- updateWebApp: string;
78
- };
79
- };
80
- static readonly RegisterRersourceProviderFailed: (message: string) => string;
81
- static readonly FreeServerFarmsQuotaErrorFromAzure = "The maximum number of Free ServerFarms allowed in a Subscription is 10";
82
- static readonly FreeServerFarmsQuotaErrorToUser: string;
83
- static readonly MissingSubscriptionRegistrationErrorFromAzure = "The subscription is not registered to use namespace 'Microsoft.Web'";
84
- static readonly HelpLink = "https://aka.ms/teamsfx-sa-help";
85
- static readonly RequiredResourceProviders: string[];
86
- static readonly statusCodeUserError = 400;
87
- static readonly statusCodeServerError = 500;
88
- }
89
- export declare class Telemetry {
90
- static component: string;
91
- static errorCode: string;
92
- static errorType: string;
93
- static skuName: string;
94
- static errorMessage: string;
95
- static userError: string;
96
- static systemError: string;
97
- static isSuccess: string;
98
- static success: string;
99
- static fail: string;
100
- static appId: string;
101
- }
102
- export interface Message {
103
- log: string;
104
- telemetry: string;
105
- }
106
- export declare class Messages {
107
- static readonly getLog: (log: string) => string;
108
- private static readonly getEventName;
109
- static readonly StartLocalDebug: Message;
110
- static readonly EndLocalDebug: Message;
111
- static readonly StartPostLocalDebug: Message;
112
- static readonly EndPostLocalDebug: Message;
113
- static readonly StartProvision: Message;
114
- static readonly EndProvision: Message;
115
- static readonly StartGenerateArmTemplates: Message;
116
- static readonly EndGenerateArmTemplates: Message;
117
- static readonly StartUpdateArmTemplates: Message;
118
- static readonly EndUpdateArmTemplates: Message;
119
- static readonly StartPostProvision: Message;
120
- static readonly EndPostProvision: Message;
121
- }
122
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/simpleAuth/constants.ts"],"names":[],"mappings":"AAKA,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,cAAc;;;;;;;;;MAS5B;IAEF,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;MAQ1B;IAEF,MAAM,CAAC,QAAQ,CAAC,cAAc;;;;;MAK5B;IAEF,MAAM,CAAC,QAA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AqB,EAAE,OAAO,CAG5C;IACF,MAAM,CAAC,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAGzC;IACF,MAAM,CAAC,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAGvC;CACH"}
@@ -1,163 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Messages = exports.Telemetry = exports.Constants = void 0;
5
- const localizeUtils_1 = require("../../../common/localizeUtils");
6
- // Licensed under the MIT license.
7
- class Constants {
8
- }
9
- exports.Constants = Constants;
10
- Constants.SolutionPlugin = {
11
- id: "solution",
12
- configKeys: {
13
- resourceNameSuffix: "resourceNameSuffix",
14
- subscriptionId: "subscriptionId",
15
- resourceGroupName: "resourceGroupName",
16
- location: "location",
17
- remoteTeamsAppId: "remoteTeamsAppId",
18
- },
19
- };
20
- Constants.AadAppPlugin = {
21
- id: "fx-resource-aad-app-for-teams",
22
- configKeys: {
23
- clientId: "clientId",
24
- clientSecret: "clientSecret",
25
- applicationIdUris: "applicationIdUris",
26
- oauthAuthority: "oauthAuthority",
27
- },
28
- };
29
- Constants.FrontendPlugin = {
30
- id: "fx-resource-frontend-hosting",
31
- configKeys: {
32
- endpoint: "endpoint",
33
- },
34
- };
35
- Constants.LocalDebugPlugin = {
36
- id: "fx-resource-local-debug",
37
- configKeys: {
38
- endpoint: "localTabEndpoint",
39
- },
40
- };
41
- Constants.SimpleAuthPlugin = {
42
- id: "fx-resource-simple-auth",
43
- name: "Simple Auth Plugin",
44
- shortName: "sa",
45
- configKeys: {
46
- endpoint: "endpoint",
47
- filePath: "filePath",
48
- environmentVariableParams: "environmentVariableParams",
49
- skuName: "skuName",
50
- },
51
- };
52
- Constants.provisionModuleTemplateFileName = "simpleAuthProvision.template.bicep";
53
- Constants.configModuleTemplateFileName = "simpleAuthConfiguration.template.bicep";
54
- Constants.SimpleAuthBicepOutputSkuName = "provisionOutputs.simpleAuthProvision.outputs.skuName";
55
- Constants.SimpleAuthBicepOutputEndpoint = "provisionOutputs.simpleAuthProvision.outputs.endpoint";
56
- Constants.SimpleAuthFileName = "SimpleAuth.zip";
57
- Constants.SimpleAuthZipName = (version) => `Microsoft.TeamsFx.SimpleAuth_${version}.zip`;
58
- Constants.SimpleAuthTag = (version) => `simpleauth@${version}`;
59
- Constants.SimpleAuthReleaseUrl = (tagName, fileName) => `https://github.com/OfficeDev/TeamsFx/releases/download/${tagName}/${fileName}`;
60
- Constants.VersionFileName = "version.txt";
61
- Constants.ResourceNameMaxLength = 40;
62
- Constants.SimpleAuthSuffix = "sa";
63
- Constants.LocalPrefix = "local_";
64
- Constants.Component = "component";
65
- Constants.ApplicationSettingsKeys = {
66
- clientId: "CLIENT_ID",
67
- clientSecret: "CLIENT_SECRET",
68
- oauthAuthority: "OAUTH_AUTHORITY",
69
- applicationIdUris: "IDENTIFIER_URI",
70
- allowedAppIds: "ALLOWED_APP_IDS",
71
- tabAppEndpoint: "TAB_APP_ENDPOINT",
72
- aadMetadataAddress: "AAD_METADATA_ADDRESS",
73
- };
74
- Constants.ProgressBar = {
75
- start: "Starting",
76
- provision: {
77
- title: "Provisioning Simple Auth",
78
- registerResourceProvider: "Registering required resource provider.",
79
- createAppServicePlan: "Creating Azure App Service plan",
80
- createWebApp: "Creating Azure Web App",
81
- zipDeploy: "Deploying Simple Auth",
82
- },
83
- postProvision: {
84
- title: "Configuring Simple Auth",
85
- updateWebApp: "Updating Azure Web App",
86
- },
87
- };
88
- Constants.RegisterRersourceProviderFailed = (message) => localizeUtils_1.getLocalizedString("plugins.sa.RegisterRersourceProviderFailed", message, Constants.RequiredResourceProviders.join(","));
89
- Constants.FreeServerFarmsQuotaErrorFromAzure = "The maximum number of Free ServerFarms allowed in a Subscription is 10";
90
- Constants.FreeServerFarmsQuotaErrorToUser = localizeUtils_1.getLocalizedString("plugins.sa.FreeServerFarmsQuotaErrorToUser");
91
- Constants.MissingSubscriptionRegistrationErrorFromAzure = "The subscription is not registered to use namespace 'Microsoft.Web'";
92
- Constants.HelpLink = "https://aka.ms/teamsfx-sa-help";
93
- Constants.RequiredResourceProviders = ["Microsoft.Web"];
94
- Constants.statusCodeUserError = 400;
95
- Constants.statusCodeServerError = 500;
96
- class Telemetry {
97
- }
98
- exports.Telemetry = Telemetry;
99
- Telemetry.component = "component";
100
- Telemetry.errorCode = "error-code";
101
- Telemetry.errorType = "error-type";
102
- Telemetry.skuName = "sku-name";
103
- Telemetry.errorMessage = "error-message";
104
- Telemetry.userError = "user";
105
- Telemetry.systemError = "system";
106
- Telemetry.isSuccess = "success";
107
- Telemetry.success = "yes";
108
- Telemetry.fail = "no";
109
- Telemetry.appId = "appid";
110
- class Messages {
111
- }
112
- exports.Messages = Messages;
113
- Messages.getLog = (log) => `[${Constants.SimpleAuthPlugin.name}] ${log}`;
114
- Messages.getEventName = (eventName) => `${eventName}`;
115
- Messages.StartLocalDebug = {
116
- log: Messages.getLog("Starting local-debug"),
117
- telemetry: Messages.getEventName("local-debug-start"),
118
- };
119
- Messages.EndLocalDebug = {
120
- log: Messages.getLog("Successfully started local-debug"),
121
- telemetry: Messages.getEventName("local-debug"),
122
- };
123
- Messages.StartPostLocalDebug = {
124
- log: Messages.getLog("Starting post-local-debug"),
125
- telemetry: Messages.getEventName("post-local-debug-start"),
126
- };
127
- Messages.EndPostLocalDebug = {
128
- log: Messages.getLog("Successfully started post-local-debug"),
129
- telemetry: Messages.getEventName("post-local-debug"),
130
- };
131
- Messages.StartProvision = {
132
- log: Messages.getLog("Provisioning"),
133
- telemetry: Messages.getEventName("provision-start"),
134
- };
135
- Messages.EndProvision = {
136
- log: Messages.getLog("Successfully provisioned"),
137
- telemetry: Messages.getEventName("provision"),
138
- };
139
- Messages.StartGenerateArmTemplates = {
140
- log: Messages.getLog("Starting generating arm templates"),
141
- telemetry: Messages.getEventName("generate-arm-templates-start"),
142
- };
143
- Messages.EndGenerateArmTemplates = {
144
- log: Messages.getLog("Successfully generated arm templates"),
145
- telemetry: Messages.getEventName("generate-arm-templates"),
146
- };
147
- Messages.StartUpdateArmTemplates = {
148
- log: Messages.getLog("Starting updating arm templates"),
149
- telemetry: Messages.getEventName("update-arm-templates-start"),
150
- };
151
- Messages.EndUpdateArmTemplates = {
152
- log: Messages.getLog("Successfully generated arm templates"),
153
- telemetry: Messages.getEventName("update-arm-templates"),
154
- };
155
- Messages.StartPostProvision = {
156
- log: Messages.getLog("Post-provisioning"),
157
- telemetry: Messages.getEventName("post-provision-start"),
158
- };
159
- Messages.EndPostProvision = {
160
- log: Messages.getLog("Successfully post-provisioned"),
161
- telemetry: Messages.getEventName("post-provision"),
162
- };
163
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/component/resource/simpleAuth/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,iEAAmE;AAEnE,kCAAkC;AAClC,MAAa,SAAS;;AAAtB,8BAkHC;AAjHiB,wBAAc,GAAG;IAC/B,EAAE,EAAE,UAAU;IACd,UAAU,EAAE;QACV,kBAAkB,EAAE,oBAAoB;QACxC,cAAc,EAAE,gBAAgB;QAChC,iBAAiB,EAAE,mBAAmB;QACtC,QAAQ,EAAE,UAAU;QACpB,gBAAgB,EAAE,kBAAkB;KACrC;CACF,CAAC;AAEc,sBAAY,GAAG;IAC7B,EAAE,EAAE,+BAA+B;IACnC,UAAU,EAAE;QACV,QAAQ,EAAE,UAAU;QACpB,YAAY,EAAE,cAAc;QAC5B,iBAAiB,EAAE,mBAAmB;QACtC,cAAc,EAAE,gBAAgB;KACjC;CACF,CAAC;AAEc,wBAAc,GAAG;IAC/B,EAAE,EAAE,8BAA8B;IAClC,UAAU,EAAE;QACV,QAAQ,EAAE,UAAU;KACrB;CACF,CAAC;AAEc,0BAAgB,GAAG;IACjC,EAAE,EAAE,yBAAyB;IAC7B,UAAU,EAAE;QACV,QAAQ,EAAE,kBAAkB;KAC7B;CACF,CAAC;AAEc,0BAAgB,GAA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,GAAY;IAC/C,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,sCAAsC,CAAC;IAC5D,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,sBAAsB,CAAC;CACzD,CAAC;AACc,2BAAkB,GAAY;IAC5C,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC;IACzC,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,sBAAsB,CAAC;CACzD,CAAC;AACc,yBAAgB,GAAY;IAC1C,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,+BAA+B,CAAC;IACrD,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,gBAAgB,CAAC;CACnD,CAAC"}
@@ -1,17 +0,0 @@
1
- export interface PluginError {
2
- name: string;
3
- message: (...args: string[]) => [string, string];
4
- }
5
- export declare const NoConfigError: PluginError;
6
- export declare const UnauthenticatedError: PluginError;
7
- export declare const CreateAppServicePlanError: PluginError;
8
- export declare const FreeServerFarmsQuotaError: PluginError;
9
- export declare const MissingSubscriptionRegistrationError: PluginError;
10
- export declare const CreateWebAppError: PluginError;
11
- export declare const ZipDeployError: PluginError;
12
- export declare const UpdateApplicationSettingsError: PluginError;
13
- export declare const UnhandledError: PluginError;
14
- export declare const EndpointInvalidError: PluginError;
15
- export declare const ZipDownloadError: PluginError;
16
- export declare const VersionFileNotExist: PluginError;
17
- //# sourceMappingURL=errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/simpleAuth/errors.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClD;AAED,eAAO,MAAM,aAAa,EAAE,WAM3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,WAMlC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,WAMvC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,WAMvC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,WAMlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAM/B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAM5B,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAM5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,WAMlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAM9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,WAMjC,CAAC"}
@@ -1,91 +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.VersionFileNotExist = exports.ZipDownloadError = exports.EndpointInvalidError = exports.UnhandledError = exports.UpdateApplicationSettingsError = exports.ZipDeployError = exports.CreateWebAppError = exports.MissingSubscriptionRegistrationError = exports.FreeServerFarmsQuotaError = exports.CreateAppServicePlanError = exports.UnauthenticatedError = exports.NoConfigError = void 0;
6
- const localizeUtils_1 = require("../../../common/localizeUtils");
7
- exports.NoConfigError = {
8
- name: "NoConfigError",
9
- message: (pluginId, configKey) => [
10
- localizeUtils_1.getDefaultString("error.sa.NoConfigError", configKey, pluginId),
11
- localizeUtils_1.getLocalizedString("error.sa.NoConfigError", configKey, pluginId),
12
- ],
13
- };
14
- exports.UnauthenticatedError = {
15
- name: "UnauthenticatedError",
16
- message: () => [
17
- localizeUtils_1.getDefaultString("error.sa.UnauthenticatedError"),
18
- localizeUtils_1.getLocalizedString("error.sa.UnauthenticatedError"),
19
- ],
20
- };
21
- exports.CreateAppServicePlanError = {
22
- name: "CreateAppServicePlanError",
23
- message: (message) => [
24
- localizeUtils_1.getDefaultString("error.sa.CreateAppServicePlanError", message),
25
- localizeUtils_1.getLocalizedString("error.sa.CreateAppServicePlanError", message),
26
- ],
27
- };
28
- exports.FreeServerFarmsQuotaError = {
29
- name: "FreeServerFarmsQuotaError",
30
- message: (message) => [
31
- localizeUtils_1.getDefaultString("error.sa.FreeServerFarmsQuotaError", message),
32
- localizeUtils_1.getLocalizedString("error.sa.FreeServerFarmsQuotaError", message),
33
- ],
34
- };
35
- exports.MissingSubscriptionRegistrationError = {
36
- name: "MissingSubscriptionRegistrationError",
37
- message: (message) => [
38
- localizeUtils_1.getDefaultString("error.sa.MissingSubscriptionRegistrationError", message),
39
- localizeUtils_1.getLocalizedString("error.sa.MissingSubscriptionRegistrationError", message),
40
- ],
41
- };
42
- exports.CreateWebAppError = {
43
- name: "CreateWebAppError",
44
- message: (message) => [
45
- localizeUtils_1.getDefaultString("error.sa.CreateWebAppError", message),
46
- localizeUtils_1.getLocalizedString("error.sa.CreateWebAppError", message),
47
- ],
48
- };
49
- exports.ZipDeployError = {
50
- name: "ZipDeployError",
51
- message: (message) => [
52
- localizeUtils_1.getDefaultString("error.sa.ZipDeployError", message),
53
- localizeUtils_1.getLocalizedString("error.sa.ZipDeployError", message),
54
- ],
55
- };
56
- exports.UpdateApplicationSettingsError = {
57
- name: "UpdateApplicationSettingsError",
58
- message: (message) => [
59
- localizeUtils_1.getDefaultString("error.sa.UpdateApplicationSettingsError", message),
60
- localizeUtils_1.getLocalizedString("error.sa.UpdateApplicationSettingsError", message),
61
- ],
62
- };
63
- exports.UnhandledError = {
64
- name: "UnhandledError",
65
- message: (message) => [
66
- localizeUtils_1.getDefaultString("error.common.UnhandledError", message),
67
- localizeUtils_1.getLocalizedString("error.common.UnhandledError", message),
68
- ],
69
- };
70
- exports.EndpointInvalidError = {
71
- name: "EndpointInvalidError",
72
- message: (endpoint, message) => [
73
- localizeUtils_1.getDefaultString("error.sa.EndpointInvalidError", endpoint, message),
74
- localizeUtils_1.getLocalizedString("error.sa.EndpointInvalidError", endpoint, message),
75
- ],
76
- };
77
- exports.ZipDownloadError = {
78
- name: "ZipDownloadError",
79
- message: (message) => [
80
- localizeUtils_1.getDefaultString("error.sa.ZipDownloadError", message),
81
- localizeUtils_1.getLocalizedString("error.sa.ZipDownloadError", message),
82
- ],
83
- };
84
- exports.VersionFileNotExist = {
85
- name: "VersionFileNotExist",
86
- message: (filePath) => [
87
- localizeUtils_1.getDefaultString("error.sa.VersionFileNotExist", filePath !== null && filePath !== void 0 ? filePath : "File not exist."),
88
- localizeUtils_1.getLocalizedString("error.sa.VersionFileNotExist", filePath !== null && filePath !== void 0 ? filePath : "File not exist."),
89
- ],
90
- };
91
- //# sourceMappingURL=errors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../src/component/resource/simpleAuth/errors.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iEAAqF;AAOxE,QAAA,aAAa,GAAgB;IACxC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,CAAC;QAChC,gCAAgB,CAAC,wBAAwB,EAAE,SAAS,EAAE,QAAQ,CAAC;QAC/D,kCAAkB,CAAC,wBAAwB,EAAE,SAAS,EAAE,QAAQ,CAAC;KAClE;CACF,CAAC;AAEW,QAAA,oBAAoB,GAAgB;IAC/C,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,GAAG,EAAE,CAAC;QACb,gCAAgB,CAAC,+BAA+B,CAAC;QACjD,kCAAkB,CAAC,+BAA+B,CAAC;KACpD;CACF,CAAC;AAEW,QAAA,yBAAyB,GAAgB;IACpD,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC;QACpB,gCAAgB,CAAC,oCAAoC,EAAE,OAAO,CAAC;QAC/D,kCAAkB,CAAC,oCAAoC,EAAE,OAAO,CAAC;KAClE;CACF,CAAC;AAEW,QAAA,yBAAyB,GAAgB;IACpD,IAAI,EAAE,2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AC;AAEW,QAAA,oBAAoB,GAAgB;IAC/C,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,CAAC;QAC9B,gCAAgB,CAAC,+BAA+B,EAAE,QAAQ,EAAE,OAAO,CAAC;QACpE,kCAAkB,CAAC,+BAA+B,EAAE,QAAQ,EAAE,OAAO,CAAC;KACvE;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAgB;IAC3C,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC;QACpB,gCAAgB,CAAC,2BAA2B,EAAE,OAAO,CAAC;QACtD,kCAAkB,CAAC,2BAA2B,EAAE,OAAO,CAAC;KACzD;CACF,CAAC;AAEW,QAAA,mBAAmB,GAAgB;IAC9C,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,CAAC,QAAS,EAAE,EAAE,CAAC;QACtB,gCAAgB,CAAC,8BAA8B,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,iBAAiB,CAAC;QAC/E,kCAAkB,CAAC,8BAA8B,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,iBAAiB,CAAC;KAClF;CACF,CAAC"}
@@ -1,12 +0,0 @@
1
- import { FxError, InputsWithProjectPath, ResourceContextV3, Result } from "@microsoft/teamsfx-api";
2
- import { EnvInfoV3 } from "@microsoft/teamsfx-api/build/v3";
3
- import "reflect-metadata";
4
- export declare class SimpleAuth {
5
- provision(context: ResourceContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
6
- configure(context: ResourceContextV3, inputs: InputsWithProjectPath): Promise<Result<undefined, FxError>>;
7
- checkDefined(key: string, value: any, component?: string): void;
8
- getWebAppConfig(envInfo: EnvInfoV3): {
9
- [propertyName: string]: string;
10
- };
11
- }
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/simpleAuth/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,OAAO,EACP,qBAAqB,EAErB,iBAAiB,EACjB,MAAM,EACP,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,kBAAkB,CAAC;AAY1B,qBACa,UAAU;IASf,SAAS,CACb,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAsBhC,SAAS,CACb,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAkBtC,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,SAAgB;IAM/D,eAAe,CAAC,OAAO,EAAE,SAAS,GAAG;QAAE,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;CAiCxE"}
@@ -1,115 +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.SimpleAuth = void 0;
6
- const tslib_1 = require("tslib");
7
- const lib_1 = require("@feathersjs/hooks/lib");
8
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
9
- require("reflect-metadata");
10
- const typedi_1 = require("typedi");
11
- const localSettingsConstants_1 = require("../../../common/localSettingsConstants");
12
- const localStateConstants_1 = require("../../../common/localStateConstants");
13
- const tools_1 = require("../../../common/tools");
14
- const constants_1 = require("./constants");
15
- const errors_1 = require("./errors");
16
- const result_1 = require("./result");
17
- const common_1 = require("./utils/common");
18
- const constants_2 = require("../../constants");
19
- const actionExecutionMW_1 = require("../../middleware/actionExecutionMW");
20
- let SimpleAuth = class SimpleAuth {
21
- async provision(context, inputs) {
22
- if (context.envInfo.envName === "local") {
23
- context.logProvider.info(constants_1.Messages.StartLocalDebug.log);
24
- context.envInfo.state[constants_2.ComponentNames.SimpleAuth] =
25
- context.envInfo.state[constants_2.ComponentNames.SimpleAuth] || {};
26
- const simpleAuthFilePath = common_1.Utils.getSimpleAuthFilePath();
27
- context.envInfo.state[constants_2.ComponentNames.SimpleAuth][localSettingsConstants_1.LocalSettingsSimpleAuthKeys.SimpleAuthFilePath] = simpleAuthFilePath;
28
- await common_1.Utils.downloadZip(simpleAuthFilePath);
29
- context.logProvider.info(constants_1.Messages.EndLocalDebug.log);
30
- }
31
- return teamsfx_api_1.ok(undefined);
32
- }
33
- async configure(context, inputs) {
34
- context.logProvider.info(constants_1.Messages.StartPostLocalDebug.log);
35
- context.envInfo.state[constants_2.ComponentNames.SimpleAuth] =
36
- context.envInfo.state[constants_2.ComponentNames.SimpleAuth] || {};
37
- const configs = this.getWebAppConfig(context.envInfo); //
38
- if (context.envInfo.envName === "local") {
39
- const configArray = [];
40
- for (const [key, value] of Object.entries(configs)) {
41
- configArray.push(`${key}="${value}"`);
42
- }
43
- context.envInfo.state[constants_2.ComponentNames.SimpleAuth][localStateConstants_1.LocalStateSimpleAuthKeys.EnvironmentVariableParams] = configArray.join(" ");
44
- context.logProvider.info(constants_1.Messages.EndPostLocalDebug.log);
45
- }
46
- return teamsfx_api_1.ok(undefined);
47
- }
48
- checkDefined(key, value, component = "simple-auth") {
49
- if (!value) {
50
- throw result_1.ResultFactory.SystemError(errors_1.NoConfigError.name, errors_1.NoConfigError.message(component, key));
51
- }
52
- }
53
- getWebAppConfig(envInfo) {
54
- const clientId = envInfo.state[constants_2.ComponentNames.AadApp].clientId;
55
- const clientSecret = envInfo.state[constants_2.ComponentNames.AadApp].clientSecret;
56
- const oauthAuthority = envInfo.state[constants_2.ComponentNames.AadApp].oauthAuthority;
57
- const applicationIdUris = envInfo.state[constants_2.ComponentNames.AadApp].applicationIdUris;
58
- const endpoint = envInfo.state[constants_2.ComponentNames.TeamsTab].endpoint;
59
- this.checkDefined("clientId", clientId);
60
- this.checkDefined("clientSecret", clientSecret);
61
- this.checkDefined("oauthAuthority", oauthAuthority);
62
- this.checkDefined("applicationIdUris", applicationIdUris);
63
- this.checkDefined("endpoint", endpoint, "teams-tab");
64
- const allowedAppIds = tools_1.getAllowedAppIds().join(";");
65
- const aadMetadataAddress = `${oauthAuthority}/v2.0/.well-known/openid-configuration`;
66
- let endpointUrl;
67
- try {
68
- endpointUrl = new URL(endpoint);
69
- }
70
- catch (error) {
71
- throw result_1.ResultFactory.SystemError(errors_1.EndpointInvalidError.name, errors_1.EndpointInvalidError.message(endpoint, error.message));
72
- }
73
- const tabAppEndpoint = endpointUrl.origin;
74
- return {
75
- [constants_1.Constants.ApplicationSettingsKeys.clientId]: clientId,
76
- [constants_1.Constants.ApplicationSettingsKeys.clientSecret]: clientSecret,
77
- [constants_1.Constants.ApplicationSettingsKeys.oauthAuthority]: oauthAuthority,
78
- [constants_1.Constants.ApplicationSettingsKeys.applicationIdUris]: applicationIdUris,
79
- [constants_1.Constants.ApplicationSettingsKeys.allowedAppIds]: allowedAppIds,
80
- [constants_1.Constants.ApplicationSettingsKeys.tabAppEndpoint]: tabAppEndpoint,
81
- [constants_1.Constants.ApplicationSettingsKeys.aadMetadataAddress]: aadMetadataAddress,
82
- };
83
- }
84
- };
85
- tslib_1.__decorate([
86
- lib_1.hooks([
87
- actionExecutionMW_1.ActionExecutionMW({
88
- errorSource: "sa",
89
- enableTelemetry: true,
90
- telemetryComponentName: "fx-resource-simple-auth",
91
- telemetryEventName: "local-debug",
92
- }),
93
- ]),
94
- tslib_1.__metadata("design:type", Function),
95
- tslib_1.__metadata("design:paramtypes", [Object, Object]),
96
- tslib_1.__metadata("design:returntype", Promise)
97
- ], SimpleAuth.prototype, "provision", null);
98
- tslib_1.__decorate([
99
- lib_1.hooks([
100
- actionExecutionMW_1.ActionExecutionMW({
101
- errorSource: "sa",
102
- enableTelemetry: true,
103
- telemetryComponentName: "fx-resource-simple-auth",
104
- telemetryEventName: "configure",
105
- }),
106
- ]),
107
- tslib_1.__metadata("design:type", Function),
108
- tslib_1.__metadata("design:paramtypes", [Object, Object]),
109
- tslib_1.__metadata("design:returntype", Promise)
110
- ], SimpleAuth.prototype, "configure", null);
111
- SimpleAuth = tslib_1.__decorate([
112
- typedi_1.Service(constants_2.ComponentNames.SimpleAuth)
113
- ], SimpleAuth);
114
- exports.SimpleAuth = SimpleAuth;
115
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/component/resource/simpleAuth/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,+CAA8C;AAC9C,wDAMgC;AAEhC,4BAA0B;AAC1B,mCAAiC;AACjC,mFAAqF;AACrF,6EAA+E;AAC/E,iDAAyD;AACzD,2CAAkD;AAClD,qCAA+D;AAC/D,qCAAyC;AACzC,2CAAuC;AACvC,+CAAiD;AACjD,0EAAuE;AAGvE,IAAa,UAAU,GAAvB,MAAa,UAAU;IASrB,KAAK,CAAC,SAAS,CACb,OAA0B,EAC1B,MAA6B;QAE7B,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,KAAK,OAAO,EAAE;YACvC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,oBAAQ,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;YACvD,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,0BAAc,CAAC,UAAU,CAAC;gBAC9C,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,0BAAc,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;YACzD,MAAM,kBAAkB,GAAG,cAAK,CAAC,qBAAqB,EAAE,CAAC;YACzD,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,0BAAc,CAAC,UAAU,CAAC,CAC9C,oDAA2B,CAAC,kBAAkB,CAC/C,GAAG,kBAAkB,CAAC;YACvB,MAAM,cAAK,CAAC,WAAW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CAC7B,6BAAoB,CAAC,IAAI,EACzB,6BAAoB,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CACtD,CAAC;SACH;QACD,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,CAAC;QAC1C,OAAO;YACL,CAAC,qBAAS,CAAC,uBAAuB,CAAC,QAAQ,CAAC,EAAE,QAAQ;YACtD,CAAC,qBAAS,CAAC,uBAAuB,CAAC,YAAY,CAAC,EAAE,YAAY;YAC9D,CAAC,qBAAS,CAAC,uBAAuB,CAAC,cAAc,CAAC,EAAE,cAAc;YAClE,CAAC,qBAAS,CAAC,uBAAuB,CAAC,iBAAiB,CAAC,EAAE,iBAAiB;YACxE,CAAC,qBAAS,CAAC,uBAAuB,CAAC,aAAa,CAAC,EAAE,aAAa;YAChE,CAAC,qBAAS,CAAC,uBAAuB,CAAC,cAAc,CAAC,EAAE,cAAc;YAClE,CAAC,qBAAS,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,EAAE,kBAAkB;SAC3E,CAAC;IACJ,CAAC;CACF,CAAA;AArFC;IARC,WAAK,CAAC;QACL,qCAAiB,CAAC;YAChB,WAAW,EAAE,IAAI;YACjB,eAAe,EAAE,IAAI;YACrB,sBAAsB,EAAE,yBAAyB;YACjD,kBAAkB,EAAE,aAAa;SAClC,CAAC;KACH,CAAC;;;;2CAiBD;AASD;IARC,WAAK,CAAC;QACL,qCAAiB,CAAC;YAChB,WAAW,EAAE,IAAI;YACjB,eAAe,EAAE,IAAI;YACrB,sBAAsB,EAAE,yBAAyB;YACjD,kBAAkB,EAAE,WAAW;SAChC,CAAC;KACH,CAAC;;;;2CAoBD;AArDU,UAAU;IADtB,gBAAO,CAAC,0BAAc,CAAC,UAAU,CAAC;GACtB,UAAU,CA8FtB;AA9FY,gCAAU"}
@@ -1,9 +0,0 @@
1
- import { FxError, Result, SystemError, UserError } from "@microsoft/teamsfx-api";
2
- export declare type SimpleAuthResult = Result<any, FxError>;
3
- export declare class ResultFactory {
4
- static readonly source: string;
5
- static UserError(name: string, messages: [string, string], innerError?: any, stack?: string, helpLink?: string): UserError;
6
- static SystemError(name: string, messages: [string, string], innerError?: any, stack?: string, issueLink?: string): SystemError;
7
- static Success(result?: any): SimpleAuthResult;
8
- }
9
- //# sourceMappingURL=result.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/simpleAuth/result.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAM,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAIrF,oBAAY,gBAAgB,GAAG,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAEpD,qBAAa,aAAa;IACxB,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAwC;WAExD,SAAS,CACrB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAC1B,UAAU,CAAC,EAAE,GAAG,EAChB,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,GAChB,SAAS;WAWE,WAAW,CACvB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAC1B,UAAU,CAAC,EAAE,GAAG,EAChB,KAAK,CAAC,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,MAAM,GACjB,WAAW;WAWA,OAAO,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,gBAAgB;CAGtD"}