@microsoft/teamsfx-core 2.0.8-alpha.e17ffd4d1.0 → 2.0.8-alpha.f2bd7316b.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 (346) hide show
  1. package/build/common/constants.d.ts +6 -19
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +6 -20
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/deps-checker/constant/message.d.ts +1 -1
  6. package/build/common/deps-checker/constant/message.d.ts.map +1 -1
  7. package/build/common/deps-checker/constant/message.js +1 -1
  8. package/build/common/deps-checker/constant/message.js.map +1 -1
  9. package/build/common/deps-checker/util/fileHelper.js +1 -1
  10. package/build/common/deps-checker/util/fileHelper.js.map +1 -1
  11. package/build/common/featureFlags.d.ts +70 -7
  12. package/build/common/featureFlags.d.ts.map +1 -1
  13. package/build/common/featureFlags.js +66 -42
  14. package/build/common/featureFlags.js.map +1 -1
  15. package/build/common/m365/launchHelper.d.ts +1 -1
  16. package/build/common/m365/launchHelper.d.ts.map +1 -1
  17. package/build/common/m365/launchHelper.js +3 -6
  18. package/build/common/m365/launchHelper.js.map +1 -1
  19. package/build/common/m365/packageService.d.ts +1 -1
  20. package/build/common/m365/packageService.d.ts.map +1 -1
  21. package/build/common/m365/packageService.js +18 -39
  22. package/build/common/m365/packageService.js.map +1 -1
  23. package/build/common/projectSettingsHelper.d.ts +7 -2
  24. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  25. package/build/common/projectSettingsHelper.js +25 -7
  26. package/build/common/projectSettingsHelper.js.map +1 -1
  27. package/build/common/projectTypeChecker.d.ts +2 -0
  28. package/build/common/projectTypeChecker.d.ts.map +1 -1
  29. package/build/common/projectTypeChecker.js +13 -0
  30. package/build/common/projectTypeChecker.js.map +1 -1
  31. package/build/common/samples.d.ts +1 -2
  32. package/build/common/samples.d.ts.map +1 -1
  33. package/build/common/samples.js +37 -83
  34. package/build/common/samples.js.map +1 -1
  35. package/build/common/stringUtils.d.ts +10 -0
  36. package/build/common/stringUtils.d.ts.map +1 -0
  37. package/build/common/stringUtils.js +121 -0
  38. package/build/common/stringUtils.js.map +1 -0
  39. package/build/common/telemetry.d.ts +14 -2
  40. package/build/common/telemetry.d.ts.map +1 -1
  41. package/build/common/telemetry.js +36 -6
  42. package/build/common/telemetry.js.map +1 -1
  43. package/build/common/templates-config.json +1 -1
  44. package/build/common/wrappedAxiosClient.d.ts.map +1 -1
  45. package/build/common/wrappedAxiosClient.js +7 -5
  46. package/build/common/wrappedAxiosClient.js.map +1 -1
  47. package/build/component/configManager/constant.d.ts +2 -1
  48. package/build/component/configManager/constant.d.ts.map +1 -1
  49. package/build/component/configManager/constant.js +1 -0
  50. package/build/component/configManager/constant.js.map +1 -1
  51. package/build/component/configManager/validator.js +1 -1
  52. package/build/component/configManager/validator.js.map +1 -1
  53. package/build/component/constants.js +2 -2
  54. package/build/component/constants.js.map +1 -1
  55. package/build/component/coordinator/index.d.ts +0 -38
  56. package/build/component/coordinator/index.d.ts.map +1 -1
  57. package/build/component/coordinator/index.js +133 -199
  58. package/build/component/coordinator/index.js.map +1 -1
  59. package/build/component/driver/aad/create.d.ts +1 -0
  60. package/build/component/driver/aad/create.d.ts.map +1 -1
  61. package/build/component/driver/aad/create.js +22 -11
  62. package/build/component/driver/aad/create.js.map +1 -1
  63. package/build/component/driver/aad/error/aadManifestError.d.ts +6 -0
  64. package/build/component/driver/aad/error/aadManifestError.d.ts.map +1 -1
  65. package/build/component/driver/aad/error/aadManifestError.js +25 -1
  66. package/build/component/driver/aad/error/aadManifestError.js.map +1 -1
  67. package/build/component/driver/aad/error/clientSecretNotAllowedError.d.ts +5 -0
  68. package/build/component/driver/aad/error/clientSecretNotAllowedError.d.ts.map +1 -0
  69. package/build/component/driver/aad/error/clientSecretNotAllowedError.js +23 -0
  70. package/build/component/driver/aad/error/clientSecretNotAllowedError.js.map +1 -0
  71. package/build/component/driver/aad/error/credentialInvalidLifetimeError.d.ts +5 -0
  72. package/build/component/driver/aad/error/credentialInvalidLifetimeError.d.ts.map +1 -0
  73. package/build/component/driver/aad/error/credentialInvalidLifetimeError.js +23 -0
  74. package/build/component/driver/aad/error/credentialInvalidLifetimeError.js.map +1 -0
  75. package/build/component/driver/aad/interface/IAADDefinition.d.ts +1 -0
  76. package/build/component/driver/aad/interface/IAADDefinition.d.ts.map +1 -1
  77. package/build/component/driver/aad/interface/createAadAppArgs.d.ts +3 -0
  78. package/build/component/driver/aad/interface/createAadAppArgs.d.ts.map +1 -1
  79. package/build/component/driver/aad/permissions/index.d.ts.map +1 -1
  80. package/build/component/driver/aad/permissions/index.js +9 -0
  81. package/build/component/driver/aad/permissions/index.js.map +1 -1
  82. package/build/component/driver/aad/utility/aadAppClient.d.ts +3 -2
  83. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  84. package/build/component/driver/aad/utility/aadAppClient.js +35 -17
  85. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  86. package/build/component/driver/aad/utility/aadManifestHelper.d.ts.map +1 -1
  87. package/build/component/driver/aad/utility/aadManifestHelper.js +9 -1
  88. package/build/component/driver/aad/utility/aadManifestHelper.js.map +1 -1
  89. package/build/component/driver/aad/utility/constants.d.ts +6 -0
  90. package/build/component/driver/aad/utility/constants.d.ts.map +1 -1
  91. package/build/component/driver/aad/utility/constants.js +8 -2
  92. package/build/component/driver/aad/utility/constants.js.map +1 -1
  93. package/build/component/driver/apiKey/create.d.ts +0 -3
  94. package/build/component/driver/apiKey/create.d.ts.map +1 -1
  95. package/build/component/driver/apiKey/create.js +23 -48
  96. package/build/component/driver/apiKey/create.js.map +1 -1
  97. package/build/component/driver/apiKey/interface/createApiKeyArgs.d.ts +2 -0
  98. package/build/component/driver/apiKey/interface/createApiKeyArgs.d.ts.map +1 -1
  99. package/build/component/driver/apiKey/interface/updateApiKeyArgs.d.ts +9 -0
  100. package/build/component/driver/apiKey/interface/updateApiKeyArgs.d.ts.map +1 -0
  101. package/build/component/driver/apiKey/interface/updateApiKeyArgs.js +5 -0
  102. package/build/component/driver/apiKey/interface/updateApiKeyArgs.js.map +1 -0
  103. package/build/component/driver/apiKey/update.d.ts +13 -0
  104. package/build/component/driver/apiKey/update.d.ts.map +1 -0
  105. package/build/component/driver/apiKey/update.js +182 -0
  106. package/build/component/driver/apiKey/update.js.map +1 -0
  107. package/build/component/driver/apiKey/utility/constants.d.ts +2 -0
  108. package/build/component/driver/apiKey/utility/constants.d.ts.map +1 -1
  109. package/build/component/driver/apiKey/utility/constants.js +2 -0
  110. package/build/component/driver/apiKey/utility/constants.js.map +1 -1
  111. package/build/component/driver/apiKey/utility/utility.d.ts +7 -0
  112. package/build/component/driver/apiKey/utility/utility.d.ts.map +1 -0
  113. package/build/component/driver/apiKey/utility/utility.js +55 -0
  114. package/build/component/driver/apiKey/utility/utility.js.map +1 -0
  115. package/build/component/driver/deploy/spfx/utility/spoClient.d.ts.map +1 -1
  116. package/build/component/driver/deploy/spfx/utility/spoClient.js +3 -1
  117. package/build/component/driver/deploy/spfx/utility/spoClient.js.map +1 -1
  118. package/build/component/driver/index.d.ts +3 -0
  119. package/build/component/driver/index.d.ts.map +1 -1
  120. package/build/component/driver/index.js +3 -0
  121. package/build/component/driver/index.js.map +1 -1
  122. package/build/component/driver/middleware/addSWADeployTelemetry.js +2 -2
  123. package/build/component/driver/middleware/addSWADeployTelemetry.js.map +1 -1
  124. package/build/component/driver/oauth/create.d.ts +12 -0
  125. package/build/component/driver/oauth/create.d.ts.map +1 -0
  126. package/build/component/driver/oauth/create.js +193 -0
  127. package/build/component/driver/oauth/create.js.map +1 -0
  128. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts +5 -0
  129. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts.map +1 -0
  130. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js +21 -0
  131. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js.map +1 -0
  132. package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts +5 -0
  133. package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts.map +1 -0
  134. package/build/component/driver/oauth/error/oauthDomainInvalid.js +22 -0
  135. package/build/component/driver/oauth/error/oauthDomainInvalid.js.map +1 -0
  136. package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts +5 -0
  137. package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts.map +1 -0
  138. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js +21 -0
  139. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js.map +1 -0
  140. package/build/component/driver/oauth/error/oauthNameTooLong.d.ts +5 -0
  141. package/build/component/driver/oauth/error/oauthNameTooLong.d.ts.map +1 -0
  142. package/build/component/driver/oauth/error/oauthNameTooLong.js +21 -0
  143. package/build/component/driver/oauth/error/oauthNameTooLong.js.map +1 -0
  144. package/build/component/driver/oauth/interface/createOauthArgs.d.ts +12 -0
  145. package/build/component/driver/oauth/interface/createOauthArgs.d.ts.map +1 -0
  146. package/build/component/driver/oauth/interface/createOauthArgs.js +5 -0
  147. package/build/component/driver/oauth/interface/createOauthArgs.js.map +1 -0
  148. package/build/component/driver/oauth/interface/createOauthOutputs.d.ts +7 -0
  149. package/build/component/driver/oauth/interface/createOauthOutputs.d.ts.map +1 -0
  150. package/build/component/driver/oauth/interface/createOauthOutputs.js +10 -0
  151. package/build/component/driver/oauth/interface/createOauthOutputs.js.map +1 -0
  152. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts +9 -0
  153. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts.map +1 -0
  154. package/build/component/driver/oauth/interface/updateOauthArgs.js +5 -0
  155. package/build/component/driver/oauth/interface/updateOauthArgs.js.map +1 -0
  156. package/build/component/driver/oauth/update.d.ts +13 -0
  157. package/build/component/driver/oauth/update.d.ts.map +1 -0
  158. package/build/component/driver/oauth/update.js +181 -0
  159. package/build/component/driver/oauth/update.js.map +1 -0
  160. package/build/component/driver/oauth/utility/constants.d.ts +13 -0
  161. package/build/component/driver/oauth/utility/constants.d.ts.map +1 -0
  162. package/build/component/driver/oauth/utility/constants.js +18 -0
  163. package/build/component/driver/oauth/utility/constants.js.map +1 -0
  164. package/build/component/driver/oauth/utility/utility.d.ts +12 -0
  165. package/build/component/driver/oauth/utility/utility.d.ts.map +1 -0
  166. package/build/component/driver/oauth/utility/utility.js +90 -0
  167. package/build/component/driver/oauth/utility/utility.js.map +1 -0
  168. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  169. package/build/component/driver/script/scriptDriver.js +8 -8
  170. package/build/component/driver/script/scriptDriver.js.map +1 -1
  171. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +11 -3
  172. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  173. package/build/component/driver/teamsApp/clients/appStudioClient.js +54 -2
  174. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  175. package/build/component/driver/teamsApp/constants.d.ts +4 -0
  176. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  177. package/build/component/driver/teamsApp/constants.js +4 -0
  178. package/build/component/driver/teamsApp/constants.js.map +1 -1
  179. package/build/component/driver/teamsApp/createAppPackage.d.ts +19 -1
  180. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  181. package/build/component/driver/teamsApp/createAppPackage.js +97 -26
  182. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  183. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.d.ts +20 -0
  184. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.d.ts.map +1 -1
  185. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.js.map +1 -1
  186. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.d.ts +7 -0
  187. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.d.ts.map +1 -0
  188. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.js +5 -0
  189. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.js.map +1 -0
  190. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts +44 -0
  191. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts.map +1 -0
  192. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js +21 -0
  193. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js.map +1 -0
  194. package/build/component/driver/teamsApp/teamsappMgr.d.ts.map +1 -1
  195. package/build/component/driver/teamsApp/teamsappMgr.js +22 -8
  196. package/build/component/driver/teamsApp/teamsappMgr.js.map +1 -1
  197. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts +8 -0
  198. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts.map +1 -0
  199. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js +65 -0
  200. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js.map +1 -0
  201. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  202. package/build/component/driver/teamsApp/utils/ManifestUtils.js +3 -15
  203. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  204. package/build/component/driver/teamsApp/utils/telemetry.d.ts +2 -0
  205. package/build/component/driver/teamsApp/utils/telemetry.d.ts.map +1 -1
  206. package/build/component/driver/teamsApp/utils/telemetry.js +2 -0
  207. package/build/component/driver/teamsApp/utils/telemetry.js.map +1 -1
  208. package/build/component/driver/teamsApp/utils/utils.d.ts +1 -0
  209. package/build/component/driver/teamsApp/utils/utils.d.ts.map +1 -1
  210. package/build/component/driver/teamsApp/utils/utils.js +5 -1
  211. package/build/component/driver/teamsApp/utils/utils.js.map +1 -1
  212. package/build/component/driver/teamsApp/validateTestCases.d.ts +18 -0
  213. package/build/component/driver/teamsApp/validateTestCases.d.ts.map +1 -1
  214. package/build/component/driver/teamsApp/validateTestCases.js +132 -50
  215. package/build/component/driver/teamsApp/validateTestCases.js.map +1 -1
  216. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
  217. package/build/component/generator/copilotPlugin/generator.js +16 -18
  218. package/build/component/generator/copilotPlugin/generator.js.map +1 -1
  219. package/build/component/generator/copilotPlugin/helper.d.ts +3 -2
  220. package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
  221. package/build/component/generator/copilotPlugin/helper.js +152 -51
  222. package/build/component/generator/copilotPlugin/helper.js.map +1 -1
  223. package/build/component/generator/generator.d.ts +4 -2
  224. package/build/component/generator/generator.d.ts.map +1 -1
  225. package/build/component/generator/generator.js +11 -7
  226. package/build/component/generator/generator.js.map +1 -1
  227. package/build/component/generator/generatorProvider.d.ts +3 -0
  228. package/build/component/generator/generatorProvider.d.ts.map +1 -0
  229. package/build/component/generator/generatorProvider.js +15 -0
  230. package/build/component/generator/generatorProvider.js.map +1 -0
  231. package/build/component/generator/officeAddin/generator.d.ts +16 -2
  232. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  233. package/build/component/generator/officeAddin/generator.js +96 -44
  234. package/build/component/generator/officeAddin/generator.js.map +1 -1
  235. package/build/component/generator/officeAddin/helperMethods.d.ts +0 -3
  236. package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
  237. package/build/component/generator/officeAddin/helperMethods.js +1 -67
  238. package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
  239. package/build/component/generator/officeXMLAddin/generator.d.ts +6 -2
  240. package/build/component/generator/officeXMLAddin/generator.d.ts.map +1 -1
  241. package/build/component/generator/officeXMLAddin/generator.js +39 -19
  242. package/build/component/generator/officeXMLAddin/generator.js.map +1 -1
  243. package/build/component/generator/officeXMLAddin/projectConfig.d.ts +21 -33
  244. package/build/component/generator/officeXMLAddin/projectConfig.d.ts.map +1 -1
  245. package/build/component/generator/officeXMLAddin/projectConfig.js +85 -86
  246. package/build/component/generator/officeXMLAddin/projectConfig.js.map +1 -1
  247. package/build/component/generator/templates/ssrTabGenerator.d.ts +12 -0
  248. package/build/component/generator/templates/ssrTabGenerator.d.ts.map +1 -0
  249. package/build/component/generator/templates/ssrTabGenerator.js +36 -0
  250. package/build/component/generator/templates/ssrTabGenerator.js.map +1 -0
  251. package/build/component/generator/templates/templateGenerator.d.ts +12 -0
  252. package/build/component/generator/templates/templateGenerator.d.ts.map +1 -0
  253. package/build/component/generator/templates/templateGenerator.js +99 -0
  254. package/build/component/generator/templates/templateGenerator.js.map +1 -0
  255. package/build/component/generator/templates/templateInfo.d.ts +10 -0
  256. package/build/component/generator/templates/templateInfo.d.ts.map +1 -0
  257. package/build/component/generator/templates/templateInfo.js +3 -0
  258. package/build/component/generator/templates/templateInfo.js.map +1 -0
  259. package/build/component/generator/templates/templateNames.d.ts +52 -0
  260. package/build/component/generator/templates/templateNames.d.ts.map +1 -0
  261. package/build/component/generator/templates/templateNames.js +303 -0
  262. package/build/component/generator/templates/templateNames.js.map +1 -0
  263. package/build/component/generator/templates/templateReplaceMap.d.ts +5 -0
  264. package/build/component/generator/templates/templateReplaceMap.d.ts.map +1 -0
  265. package/build/component/generator/templates/templateReplaceMap.js +39 -0
  266. package/build/component/generator/templates/templateReplaceMap.js.map +1 -0
  267. package/build/component/generator/utils.d.ts +1 -0
  268. package/build/component/generator/utils.d.ts.map +1 -1
  269. package/build/component/generator/utils.js +2 -1
  270. package/build/component/generator/utils.js.map +1 -1
  271. package/build/component/middleware/actionExecutionMW.d.ts.map +1 -1
  272. package/build/component/middleware/actionExecutionMW.js +5 -4
  273. package/build/component/middleware/actionExecutionMW.js.map +1 -1
  274. package/build/component/middleware/questionMW.d.ts.map +1 -1
  275. package/build/component/middleware/questionMW.js +9 -1
  276. package/build/component/middleware/questionMW.js.map +1 -1
  277. package/build/component/utils/envUtil.d.ts +0 -1
  278. package/build/component/utils/envUtil.d.ts.map +1 -1
  279. package/build/component/utils/envUtil.js +1 -13
  280. package/build/component/utils/envUtil.js.map +1 -1
  281. package/build/component/utils/metadataGraphPermssion.d.ts +8 -6
  282. package/build/component/utils/metadataGraphPermssion.d.ts.map +1 -1
  283. package/build/component/utils/metadataGraphPermssion.js +10 -2
  284. package/build/component/utils/metadataGraphPermssion.js.map +1 -1
  285. package/build/component/utils/metadataRscPermission.d.ts +16 -0
  286. package/build/component/utils/metadataRscPermission.d.ts.map +1 -0
  287. package/build/component/utils/metadataRscPermission.js +69 -0
  288. package/build/component/utils/metadataRscPermission.js.map +1 -0
  289. package/build/component/utils/metadataUtil.d.ts.map +1 -1
  290. package/build/component/utils/metadataUtil.js +2 -0
  291. package/build/component/utils/metadataUtil.js.map +1 -1
  292. package/build/component/utils.d.ts +2 -1
  293. package/build/component/utils.d.ts.map +1 -1
  294. package/build/component/utils.js +43 -1
  295. package/build/component/utils.js.map +1 -1
  296. package/build/core/FxCore.d.ts +6 -5
  297. package/build/core/FxCore.d.ts.map +1 -1
  298. package/build/core/FxCore.js +138 -26
  299. package/build/core/FxCore.js.map +1 -1
  300. package/build/error/common.js +1 -1
  301. package/build/error/common.js.map +1 -1
  302. package/build/error/script.d.ts +2 -2
  303. package/build/error/script.d.ts.map +1 -1
  304. package/build/error/script.js +6 -6
  305. package/build/error/script.js.map +1 -1
  306. package/build/index.d.ts +4 -0
  307. package/build/index.d.ts.map +1 -1
  308. package/build/index.js +7 -1
  309. package/build/index.js.map +1 -1
  310. package/build/question/constants.d.ts.map +1 -1
  311. package/build/question/constants.js +6 -1
  312. package/build/question/constants.js.map +1 -1
  313. package/build/question/create.d.ts +22 -8
  314. package/build/question/create.d.ts.map +1 -1
  315. package/build/question/create.js +386 -235
  316. package/build/question/create.js.map +1 -1
  317. package/build/question/index.d.ts +1 -0
  318. package/build/question/index.d.ts.map +1 -1
  319. package/build/question/index.js +3 -0
  320. package/build/question/index.js.map +1 -1
  321. package/build/question/inputs/CreateProjectInputs.d.ts +9 -7
  322. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
  323. package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
  324. package/build/question/options/CreateProjectOptions.js +40 -12
  325. package/build/question/options/CreateProjectOptions.js.map +1 -1
  326. package/build/question/other.d.ts +1 -0
  327. package/build/question/other.d.ts.map +1 -1
  328. package/build/question/other.js +86 -1
  329. package/build/question/other.js.map +1 -1
  330. package/build/question/questionNames.d.ts +4 -1
  331. package/build/question/questionNames.d.ts.map +1 -1
  332. package/build/question/questionNames.js +4 -1
  333. package/build/question/questionNames.js.map +1 -1
  334. package/package.json +15 -11
  335. package/resource/package.nls.json +115 -56
  336. package/resource/yaml-schema/v1.5/yaml.schema.json +1784 -0
  337. package/resource/yaml-schema/yaml.schema.json +198 -2
  338. package/templates/fallback/common.zip +0 -0
  339. package/templates/fallback/csharp.zip +0 -0
  340. package/templates/fallback/js.zip +0 -0
  341. package/templates/fallback/python.zip +0 -0
  342. package/templates/fallback/ts.zip +0 -0
  343. package/build/component/generator/officeAddin/config/projectsJsonData.d.ts +0 -26
  344. package/build/component/generator/officeAddin/config/projectsJsonData.d.ts.map +0 -1
  345. package/build/component/generator/officeAddin/config/projectsJsonData.js +0 -165
  346. package/build/component/generator/officeAddin/config/projectsJsonData.js.map +0 -1
@@ -14,7 +14,7 @@
14
14
  "version": {
15
15
  "type": "string",
16
16
  "description": "The version of the yaml file schema",
17
- "const": "v1.4"
17
+ "const": "v1.5"
18
18
  },
19
19
  "additionalMetadata": {
20
20
  "type": "object",
@@ -72,7 +72,10 @@
72
72
  { "$ref": "#/definitions/teamsAppCopyAppPackageToSPFx" },
73
73
  { "$ref": "#/definitions/script" },
74
74
  { "$ref": "#/definitions/apiKeyRegister"},
75
- { "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"}
75
+ { "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"},
76
+ { "$ref": "#/definitions/apiKeyUpdate"},
77
+ { "$ref": "#/definitions/oauthRegister"},
78
+ { "$ref": "#/definitions/oauthUpdate"}
76
79
  ]
77
80
  }
78
81
  },
@@ -127,6 +130,19 @@
127
130
  "type": "string",
128
131
  "description": "Specifies what Microsoft accounts are supported for the current application.",
129
132
  "enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
133
+ },
134
+ "serviceManagementReference": {
135
+ "type": "string",
136
+ "description": "References application or service contact information from a Service or Asset Management database."
137
+ },
138
+ "clientSecretExpireDays": {
139
+ "type": "integer",
140
+ "description": "The number of days the client secret is valid.",
141
+ "minimum": 1
142
+ },
143
+ "clientSecretDescription": {
144
+ "type": "string",
145
+ "description": "The description of the client secret."
130
146
  }
131
147
  }
132
148
  },
@@ -192,6 +208,10 @@
192
208
  "type": "string",
193
209
  "description": "Specifies what Microsoft accounts are supported for the current application.",
194
210
  "enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
211
+ },
212
+ "serviceManagementReference": {
213
+ "type": "string",
214
+ "description": "References application or service contact information from a Service or Asset Management database."
195
215
  }
196
216
  }
197
217
  },
@@ -1530,6 +1550,16 @@
1530
1550
  "apiSpecPath": {
1531
1551
  "type": "string",
1532
1552
  "description": "The path of API specification file."
1553
+ },
1554
+ "applicableToApps": {
1555
+ "type": "string",
1556
+ "description": "Which app can access the API key? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1557
+ "enum": ["SpecificApp", "AnyApp"]
1558
+ },
1559
+ "targetAudience": {
1560
+ "type": "string",
1561
+ "description": "Which tenant can access the API key? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1562
+ "enum": ["HomeTenant", "AnyTenant"]
1533
1563
  }
1534
1564
  }
1535
1565
  },
@@ -1583,6 +1613,172 @@
1583
1613
  }
1584
1614
  }
1585
1615
  }
1616
+ },
1617
+ "apiKeyUpdate": {
1618
+ "type": "object",
1619
+ "additionalProperties": false,
1620
+ "description": "Update an API key.",
1621
+ "required": ["uses", "with"],
1622
+ "properties": {
1623
+ "uses": {
1624
+ "type": "string",
1625
+ "description": "Updagte API key. Refer to https://aka.ms/teamsfx-actions/apiKey-update for more details.",
1626
+ "const": "apiKey/update"
1627
+ },
1628
+ "with": {
1629
+ "type": "object",
1630
+ "additionalProperties": false,
1631
+ "description": "Parameters for this action",
1632
+ "required": ["name", "appId", "apiSpecPath", "registrationId"],
1633
+ "properties": {
1634
+ "name": {
1635
+ "type": "string",
1636
+ "description": "The name of API key."
1637
+ },
1638
+ "appId": {
1639
+ "type": "string",
1640
+ "description": "The app ID of Teams app."
1641
+ },
1642
+ "apiSpecPath": {
1643
+ "type": "string",
1644
+ "description": "The path of API specification file."
1645
+ },
1646
+ "registrationId": {
1647
+ "type": "string",
1648
+ "description": "The registration id of API key."
1649
+ },
1650
+ "applicableToApps": {
1651
+ "type": "string",
1652
+ "description": "Which app can access the API key? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1653
+ "enum": ["SpecificApp", "AnyApp"]
1654
+ },
1655
+ "targetAudience": {
1656
+ "type": "string",
1657
+ "description": "Which tenant can access the API key? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1658
+ "enum": ["HomeTenant", "AnyTenant"]
1659
+ }
1660
+ }
1661
+ }
1662
+ }
1663
+ },
1664
+ "oauthRegister": {
1665
+ "type": "object",
1666
+ "additionalProperties": false,
1667
+ "description": "Create an OAuth registration.",
1668
+ "required": ["uses", "with", "writeToEnvironmentFile"],
1669
+ "properties": {
1670
+ "uses": {
1671
+ "type": "string",
1672
+ "description": "Register OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-register for more details.",
1673
+ "const": "oauth/register"
1674
+ },
1675
+ "with": {
1676
+ "type": "object",
1677
+ "additionalProperties": false,
1678
+ "description": "Parameters for this action",
1679
+ "required": ["name", "appId", "apiSpecPath", "flow"],
1680
+ "properties": {
1681
+ "name": {
1682
+ "type": "string",
1683
+ "description": "The name of OAuth registration."
1684
+ },
1685
+ "appId": {
1686
+ "type": "string",
1687
+ "description": "The app ID of OAuth registration."
1688
+ },
1689
+ "apiSpecPath": {
1690
+ "type": "string",
1691
+ "description": "The path of API specification file."
1692
+ },
1693
+ "applicableToApps": {
1694
+ "type": "string",
1695
+ "description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1696
+ "enum": ["SpecificApp", "AnyApp"]
1697
+ },
1698
+ "targetAudience": {
1699
+ "type": "string",
1700
+ "description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1701
+ "enum": ["HomeTenant", "AnyTenant"]
1702
+ },
1703
+ "flow": {
1704
+ "type": "string",
1705
+ "description": "The flow of OAuth registration. Values can be \"authorizationCode\" .",
1706
+ "enum": ["authorizationCode"]
1707
+ },
1708
+ "clientId": {
1709
+ "type": "string",
1710
+ "description": "The client id of OAuth registration."
1711
+ },
1712
+ "clientSecret": {
1713
+ "type": "string",
1714
+ "description": "The client secret of OAuth registration."
1715
+ },
1716
+ "refreshUrl": {
1717
+ "type": "string",
1718
+ "description": "The refresh url of OAuth registration."
1719
+ }
1720
+ }
1721
+ },
1722
+ "writeToEnvironmentFile": {
1723
+ "type": "object",
1724
+ "additionalProperties": false,
1725
+ "description": "Write environment variables to environment file",
1726
+ "required": ["configurationId"],
1727
+ "properties": {
1728
+ "configurationId": {
1729
+ "description": "Required. The configuration id of created OAuth registration.",
1730
+ "$ref": "#/definitions/envVarName"
1731
+ }
1732
+ }
1733
+ }
1734
+ }
1735
+ },
1736
+ "oauthUpdate": {
1737
+ "type": "object",
1738
+ "additionalProperties": false,
1739
+ "description": "Update an OAuth registration.",
1740
+ "required": ["uses", "with"],
1741
+ "properties": {
1742
+ "uses": {
1743
+ "type": "string",
1744
+ "description": "Updagte OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-update for more details.",
1745
+ "const": "oauth/update"
1746
+ },
1747
+ "with": {
1748
+ "type": "object",
1749
+ "additionalProperties": false,
1750
+ "description": "Parameters for this action",
1751
+ "required": ["name", "appId", "apiSpecPath", "configurationId"],
1752
+ "properties": {
1753
+ "name": {
1754
+ "type": "string",
1755
+ "description": "The name of OAuth registration."
1756
+ },
1757
+ "appId": {
1758
+ "type": "string",
1759
+ "description": "The app ID of OAuth registration."
1760
+ },
1761
+ "apiSpecPath": {
1762
+ "type": "string",
1763
+ "description": "The path of API specification file."
1764
+ },
1765
+ "configurationId": {
1766
+ "type": "string",
1767
+ "description": "The configuration id of OAuth registration."
1768
+ },
1769
+ "applicableToApps": {
1770
+ "type": "string",
1771
+ "description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1772
+ "enum": ["SpecificApp", "AnyApp"]
1773
+ },
1774
+ "targetAudience": {
1775
+ "type": "string",
1776
+ "description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1777
+ "enum": ["HomeTenant", "AnyTenant"]
1778
+ }
1779
+ }
1780
+ }
1781
+ }
1586
1782
  }
1587
1783
  }
1588
1784
  }
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,26 +0,0 @@
1
- export default class projectsJsonData {
2
- projectJsonData: any;
3
- constructor();
4
- getProjectDisplayName(projectType: string): string;
5
- getProjectDetails(projectType: string): string;
6
- getParsedProjectJsonData(): unknown;
7
- getProjectTemplateNames(): string[];
8
- projectBothScriptTypes(projectType: string): boolean;
9
- projectBothScriptTypesNew(projectType: string): boolean;
10
- getManifestPath(projectType: string): string | undefined;
11
- getHostTemplateNames(projectType: string): string[];
12
- getSupportedScriptTypes(projectType: string): string[];
13
- getSupportedScriptTypesNew(projectType: string): string[];
14
- getHostDisplayName(hostKey: string): string | undefined;
15
- getProjectTemplateRepository(projectTypeKey: string, scriptType: string): string | undefined;
16
- getProjectTemplateBranchName(projectTypeKey: string, scriptType: string, prerelease: boolean): string | undefined;
17
- getProjectDownloadLink(projectTypeKey: string, scriptType: string): string;
18
- getProjectDownloadLinkNew(projectTypeKey: string, scriptType: string, frameworkType: string): string;
19
- getProjectRepoAndBranchNew(projectTypeKey: string, scriptType: string, frameworkType: string, prerelease: boolean): {
20
- repo: string | undefined;
21
- branch: string | undefined;
22
- };
23
- getProjectTemplateRepositoryNew(projectTypeKey: string, scriptType: string, frameworkType: string): string | undefined;
24
- getProjectTemplateBranchNameNew(projectTypeKey: string, scriptType: string, frameworkType: string, prerelease: boolean): string | undefined;
25
- }
26
- //# sourceMappingURL=projectsJsonData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectsJsonData.d.ts","sourceRoot":"","sources":["../../../../../src/component/generator/officeAddin/config/projectsJsonData.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,OAAO,gBAAgB;IAEnC,eAAe,EAAE,GAAG,CAAC;;IAMrB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM;IAIlD,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM;IAI9C,wBAAwB,IAAI,OAAO;IAInC,uBAAuB,IAAI,MAAM,EAAE;IAQnC,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO;IASpD,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO;IAOvD,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAIxD,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE;IAYnD,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE;IAetD,0BAA0B,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE;IAiBzD,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IASvD,4BAA4B,CAAC,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAa5F,4BAA4B,CAC1B,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,OAAO,GAClB,MAAM,GAAG,SAAS;IAiBrB,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;IAM1E,yBAAyB,CACvB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,GACpB,MAAM;IAOT,0BAA0B,CACxB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,OAAO,GAClB;QAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;IAkB3D,+BAA+B,CAC7B,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,GACpB,MAAM,GAAG,SAAS;IAWrB,+BAA+B,CAC7B,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,OAAO,GAClB,MAAM,GAAG,SAAS;CAgBtB"}
@@ -1,165 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- const tslib_1 = require("tslib");
6
- const lodash_1 = tslib_1.__importDefault(require("lodash"));
7
- const projectProperties_1 = require("./projectProperties");
8
- class projectsJsonData {
9
- constructor() {
10
- this.projectJsonData = projectProperties_1.projectProperties;
11
- }
12
- getProjectDisplayName(projectType) {
13
- return this.projectJsonData.projectTypes[lodash_1.default.toLower(projectType)].displayname;
14
- }
15
- getProjectDetails(projectType) {
16
- return this.projectJsonData.projectTypes[lodash_1.default.toLower(projectType)].detail;
17
- }
18
- getParsedProjectJsonData() {
19
- return this.projectJsonData;
20
- }
21
- getProjectTemplateNames() {
22
- const projectTemplates = [];
23
- for (const key in this.projectJsonData.projectTypes) {
24
- projectTemplates.push(key);
25
- }
26
- return projectTemplates;
27
- }
28
- projectBothScriptTypes(projectType) {
29
- return (this.projectJsonData.projectTypes[lodash_1.default.toLower(projectType)].templates.javascript.archive !=
30
- undefined &&
31
- this.projectJsonData.projectTypes[lodash_1.default.toLower(projectType)].templates.typescript.archive !=
32
- undefined);
33
- }
34
- projectBothScriptTypesNew(projectType) {
35
- return (this.projectJsonData.projectTypes[lodash_1.default.toLower(projectType)].templates.javascript != undefined &&
36
- this.projectJsonData.projectTypes[lodash_1.default.toLower(projectType)].templates.typescript != undefined);
37
- }
38
- getManifestPath(projectType) {
39
- return this.projectJsonData.projectTypes[projectType].manifestPath;
40
- }
41
- getHostTemplateNames(projectType) {
42
- let hosts = [];
43
- if (projectType) {
44
- for (const key in this.projectJsonData.projectTypes) {
45
- if (key === projectType) {
46
- hosts = this.projectJsonData.projectTypes[key].supportedHosts;
47
- }
48
- }
49
- }
50
- return hosts;
51
- }
52
- getSupportedScriptTypes(projectType) {
53
- const scriptTypes = [];
54
- if (projectType) {
55
- for (const template in this.projectJsonData.projectTypes[projectType].templates) {
56
- const archive = this.projectJsonData.projectTypes[projectType].templates[template].archive;
57
- if (template === "javascript" && archive !== undefined) {
58
- scriptTypes.push("JavaScript");
59
- }
60
- else if (template === "typescript" && archive !== undefined) {
61
- scriptTypes.push("TypeScript");
62
- }
63
- }
64
- }
65
- return scriptTypes;
66
- }
67
- getSupportedScriptTypesNew(projectType) {
68
- const scriptTypes = [];
69
- if (projectType) {
70
- for (const template in this.projectJsonData.projectTypes[projectType].templates) {
71
- let scriptType = "";
72
- if (template === "javascript") {
73
- scriptType = "JavaScript";
74
- }
75
- else if (template === "typescript") {
76
- scriptType = "TypeScript";
77
- }
78
- scriptTypes.push(scriptType);
79
- }
80
- }
81
- return scriptTypes;
82
- }
83
- getHostDisplayName(hostKey) {
84
- for (const key in this.projectJsonData.hostTypes) {
85
- if (lodash_1.default.toLower(hostKey) == key) {
86
- return this.projectJsonData.hostTypes[key].displayname;
87
- }
88
- }
89
- return undefined;
90
- }
91
- getProjectTemplateRepository(projectTypeKey, scriptType) {
92
- for (const key in this.projectJsonData.projectTypes) {
93
- if (lodash_1.default.toLower(projectTypeKey) == key) {
94
- if (projectTypeKey == "manifest") {
95
- return this.projectJsonData.projectTypes[key].templates.manifestonly.repository;
96
- }
97
- else {
98
- return this.projectJsonData.projectTypes[key].templates[scriptType].repository;
99
- }
100
- }
101
- }
102
- return undefined;
103
- }
104
- getProjectTemplateBranchName(projectTypeKey, scriptType, prerelease) {
105
- for (const key in this.projectJsonData.projectTypes) {
106
- if (lodash_1.default.toLower(projectTypeKey) == key) {
107
- if (projectTypeKey == "manifest") {
108
- return this.projectJsonData.projectTypes.manifest.templates.branch;
109
- }
110
- else {
111
- if (prerelease) {
112
- return this.projectJsonData.projectTypes[key].templates[scriptType].prerelease;
113
- }
114
- else {
115
- return this.projectJsonData.projectTypes[key].templates[scriptType].branch;
116
- }
117
- }
118
- }
119
- }
120
- return undefined;
121
- }
122
- getProjectDownloadLink(projectTypeKey, scriptType) {
123
- scriptType = scriptType.toLowerCase();
124
- return this.projectJsonData.projectTypes[projectTypeKey].templates[scriptType]
125
- .archive;
126
- }
127
- getProjectDownloadLinkNew(projectTypeKey, scriptType, frameworkType) {
128
- scriptType = scriptType.toLowerCase();
129
- return this.projectJsonData.projectTypes[projectTypeKey].templates[scriptType].frameworks[frameworkType].archive;
130
- }
131
- getProjectRepoAndBranchNew(projectTypeKey, scriptType, frameworkType, prerelease) {
132
- const repoBranchInfo = {
133
- repo: null,
134
- branch: null,
135
- };
136
- repoBranchInfo.repo = this.getProjectTemplateRepositoryNew(projectTypeKey, scriptType, frameworkType);
137
- repoBranchInfo.branch = repoBranchInfo.repo
138
- ? this.getProjectTemplateBranchNameNew(projectTypeKey, scriptType, frameworkType, prerelease)
139
- : undefined;
140
- return repoBranchInfo;
141
- }
142
- getProjectTemplateRepositoryNew(projectTypeKey, scriptType, frameworkType) {
143
- for (const key in this.projectJsonData.projectTypes) {
144
- if (lodash_1.default.toLower(projectTypeKey) == key) {
145
- return this.projectJsonData.projectTypes[key].templates[scriptType].frameworks[frameworkType].repository;
146
- }
147
- }
148
- return undefined;
149
- }
150
- getProjectTemplateBranchNameNew(projectTypeKey, scriptType, frameworkType, prerelease) {
151
- for (const key in this.projectJsonData.projectTypes) {
152
- if (lodash_1.default.toLower(projectTypeKey) == key) {
153
- if (prerelease) {
154
- return this.projectJsonData.projectTypes[key].templates[scriptType].frameworks[frameworkType].prerelease;
155
- }
156
- else {
157
- return this.projectJsonData.projectTypes[key].templates[scriptType].frameworks[frameworkType].branch;
158
- }
159
- }
160
- }
161
- return undefined;
162
- }
163
- }
164
- exports.default = projectsJsonData;
165
- //# sourceMappingURL=projectsJsonData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectsJsonData.js","sourceRoot":"","sources":["../../../../../src/component/generator/officeAddin/config/projectsJsonData.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,4DAAuB;AACvB,2DAAwD;AAExD,MAAqB,gBAAgB;IAInC;QACE,IAAI,CAAC,eAAe,GAAG,qCAAiB,CAAC;IAC3C,CAAC;IAED,qBAAqB,CAAC,WAAmB;QACvC,OAAO,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,gBAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC;IAC/E,CAAC;IAED,iBAAiB,CAAC,WAAmB;QACnC,OAAO,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,gBAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1E,CAAC;IAED,wBAAwB;QACtB,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IAED,uBAAuB;QACrB,MAAM,gBAAgB,GAAa,EAAE,CAAC;QACtC,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE;YACnD,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SAC5B;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,sBAAsB,CAAC,WAAmB;QACxC,OAAO,CACL,IAAI,CAAC,eAAe,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