@microsoft/teamsfx-core 2.0.4-alpha.6ff4defd0.0 → 2.0.4-alpha.7313f757f.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 (553) hide show
  1. package/build/common/constants.d.ts +1 -0
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +1 -0
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/deps-checker/checkerFactory.d.ts +1 -2
  6. package/build/common/deps-checker/checkerFactory.d.ts.map +1 -1
  7. package/build/common/deps-checker/checkerFactory.js +2 -2
  8. package/build/common/deps-checker/checkerFactory.js.map +1 -1
  9. package/build/common/deps-checker/depsLogger.d.ts +14 -14
  10. package/build/common/deps-checker/depsLogger.d.ts.map +1 -1
  11. package/build/common/deps-checker/depsLogger.js +7 -21
  12. package/build/common/deps-checker/depsLogger.js.map +1 -1
  13. package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
  14. package/build/common/deps-checker/internal/dotnetChecker.js +40 -35
  15. package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
  16. package/build/common/deps-checker/internal/nodeChecker.js +3 -3
  17. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
  18. package/build/common/deps-checker/util/cpUtils.d.ts +1 -1
  19. package/build/common/deps-checker/util/cpUtils.d.ts.map +1 -1
  20. package/build/common/deps-checker/util/cpUtils.js +4 -4
  21. package/build/common/deps-checker/util/cpUtils.js.map +1 -1
  22. package/build/common/deps-checker/util/progressIndicator.js +2 -2
  23. package/build/common/deps-checker/util/progressIndicator.js.map +1 -1
  24. package/build/common/featureFlags.d.ts +1 -0
  25. package/build/common/featureFlags.d.ts.map +1 -1
  26. package/build/common/featureFlags.js +5 -1
  27. package/build/common/featureFlags.js.map +1 -1
  28. package/build/common/local/localCertificateManager.d.ts.map +1 -1
  29. package/build/common/local/localCertificateManager.js +3 -0
  30. package/build/common/local/localCertificateManager.js.map +1 -1
  31. package/build/common/local/packageJsonHelper.d.ts.map +1 -1
  32. package/build/common/local/packageJsonHelper.js +1 -0
  33. package/build/common/local/packageJsonHelper.js.map +1 -1
  34. package/build/common/local/portChecker.js.map +1 -1
  35. package/build/common/m365/launchHelper.d.ts +2 -2
  36. package/build/common/m365/launchHelper.d.ts.map +1 -1
  37. package/build/common/m365/launchHelper.js +24 -6
  38. package/build/common/m365/launchHelper.js.map +1 -1
  39. package/build/common/m365/packageService.d.ts.map +1 -1
  40. package/build/common/m365/packageService.js +66 -19
  41. package/build/common/m365/packageService.js.map +1 -1
  42. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  43. package/build/common/projectSettingsHelper.js +1 -0
  44. package/build/common/projectSettingsHelper.js.map +1 -1
  45. package/build/common/samples.d.ts +15 -4
  46. package/build/common/samples.d.ts.map +1 -1
  47. package/build/common/samples.js +58 -28
  48. package/build/common/samples.js.map +1 -1
  49. package/build/common/spec-parser/adaptiveCardGenerator.d.ts.map +1 -1
  50. package/build/common/spec-parser/adaptiveCardGenerator.js +39 -32
  51. package/build/common/spec-parser/adaptiveCardGenerator.js.map +1 -1
  52. package/build/common/spec-parser/constants.d.ts +17 -10
  53. package/build/common/spec-parser/constants.d.ts.map +1 -1
  54. package/build/common/spec-parser/constants.js +42 -10
  55. package/build/common/spec-parser/constants.js.map +1 -1
  56. package/build/common/spec-parser/interfaces.d.ts +44 -21
  57. package/build/common/spec-parser/interfaces.d.ts.map +1 -1
  58. package/build/common/spec-parser/interfaces.js +24 -13
  59. package/build/common/spec-parser/interfaces.js.map +1 -1
  60. package/build/common/spec-parser/manifestUpdater.d.ts +4 -3
  61. package/build/common/spec-parser/manifestUpdater.d.ts.map +1 -1
  62. package/build/common/spec-parser/manifestUpdater.js +104 -49
  63. package/build/common/spec-parser/manifestUpdater.js.map +1 -1
  64. package/build/common/spec-parser/specFilter.d.ts +1 -1
  65. package/build/common/spec-parser/specFilter.d.ts.map +1 -1
  66. package/build/common/spec-parser/specFilter.js +28 -35
  67. package/build/common/spec-parser/specFilter.js.map +1 -1
  68. package/build/common/spec-parser/specParser.d.ts +8 -2
  69. package/build/common/spec-parser/specParser.d.ts.map +1 -1
  70. package/build/common/spec-parser/specParser.js +156 -97
  71. package/build/common/spec-parser/specParser.js.map +1 -1
  72. package/build/common/spec-parser/utils.d.ts +22 -0
  73. package/build/common/spec-parser/utils.d.ts.map +1 -1
  74. package/build/common/spec-parser/utils.js +251 -21
  75. package/build/common/spec-parser/utils.js.map +1 -1
  76. package/build/common/telemetry.d.ts +7 -4
  77. package/build/common/telemetry.d.ts.map +1 -1
  78. package/build/common/telemetry.js +43 -8
  79. package/build/common/telemetry.js.map +1 -1
  80. package/build/common/tools.d.ts.map +1 -1
  81. package/build/common/tools.js +5 -0
  82. package/build/common/tools.js.map +1 -1
  83. package/build/component/configManager/interface.d.ts +5 -3
  84. package/build/component/configManager/interface.d.ts.map +1 -1
  85. package/build/component/configManager/interface.js.map +1 -1
  86. package/build/component/configManager/lifecycle.d.ts +1 -3
  87. package/build/component/configManager/lifecycle.d.ts.map +1 -1
  88. package/build/component/configManager/lifecycle.js +23 -51
  89. package/build/component/configManager/lifecycle.js.map +1 -1
  90. package/build/component/configManager/parser.d.ts.map +1 -1
  91. package/build/component/configManager/parser.js +6 -7
  92. package/build/component/configManager/parser.js.map +1 -1
  93. package/build/component/configManager/validator.d.ts.map +1 -1
  94. package/build/component/configManager/validator.js +2 -3
  95. package/build/component/configManager/validator.js.map +1 -1
  96. package/build/component/constants.d.ts +6 -0
  97. package/build/component/constants.d.ts.map +1 -1
  98. package/build/component/constants.js +7 -1
  99. package/build/component/constants.js.map +1 -1
  100. package/build/component/coordinator/index.d.ts +11 -8
  101. package/build/component/coordinator/index.d.ts.map +1 -1
  102. package/build/component/coordinator/index.js +78 -67
  103. package/build/component/coordinator/index.js.map +1 -1
  104. package/build/component/coordinator/summary.d.ts.map +1 -1
  105. package/build/component/coordinator/summary.js +2 -1
  106. package/build/component/coordinator/summary.js.map +1 -1
  107. package/build/component/developerPortalScaffoldUtils.d.ts +1 -1
  108. package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
  109. package/build/component/developerPortalScaffoldUtils.js +7 -7
  110. package/build/component/developerPortalScaffoldUtils.js.map +1 -1
  111. package/build/component/driver/aad/create.d.ts +1 -2
  112. package/build/component/driver/aad/create.d.ts.map +1 -1
  113. package/build/component/driver/aad/create.js +4 -11
  114. package/build/component/driver/aad/create.js.map +1 -1
  115. package/build/component/driver/aad/error/aadManifestError.d.ts +3 -0
  116. package/build/component/driver/aad/error/aadManifestError.d.ts.map +1 -1
  117. package/build/component/driver/aad/error/aadManifestError.js +13 -1
  118. package/build/component/driver/aad/error/aadManifestError.js.map +1 -1
  119. package/build/component/driver/aad/update.d.ts +1 -2
  120. package/build/component/driver/aad/update.d.ts.map +1 -1
  121. package/build/component/driver/aad/update.js +4 -11
  122. package/build/component/driver/aad/update.js.map +1 -1
  123. package/build/component/driver/aad/utility/aadAppClient.d.ts +1 -1
  124. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  125. package/build/component/driver/aad/utility/aadAppClient.js +58 -13
  126. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  127. package/build/component/driver/aad/utility/constants.d.ts +3 -0
  128. package/build/component/driver/aad/utility/constants.d.ts.map +1 -1
  129. package/build/component/driver/aad/utility/constants.js +4 -1
  130. package/build/component/driver/aad/utility/constants.js.map +1 -1
  131. package/build/component/driver/add/addWebPart.d.ts.map +1 -1
  132. package/build/component/driver/add/addWebPart.js +10 -1
  133. package/build/component/driver/add/addWebPart.js.map +1 -1
  134. package/build/component/driver/arm/deploy.d.ts +1 -3
  135. package/build/component/driver/arm/deploy.d.ts.map +1 -1
  136. package/build/component/driver/arm/deploy.js +1 -14
  137. package/build/component/driver/arm/deploy.js.map +1 -1
  138. package/build/component/driver/arm/deployImpl.d.ts +2 -1
  139. package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
  140. package/build/component/driver/arm/deployImpl.js +15 -0
  141. package/build/component/driver/arm/deployImpl.js.map +1 -1
  142. package/build/component/driver/arm/util/bicepChecker.js +7 -6
  143. package/build/component/driver/arm/util/bicepChecker.js.map +1 -1
  144. package/build/component/driver/arm/util/handleError.js.map +1 -1
  145. package/build/component/driver/botAadApp/create.d.ts +2 -1
  146. package/build/component/driver/botAadApp/create.d.ts.map +1 -1
  147. package/build/component/driver/botAadApp/create.js +7 -10
  148. package/build/component/driver/botAadApp/create.js.map +1 -1
  149. package/build/component/driver/botFramework/createOrUpdateBot.d.ts +1 -0
  150. package/build/component/driver/botFramework/createOrUpdateBot.d.ts.map +1 -1
  151. package/build/component/driver/botFramework/createOrUpdateBot.js +6 -12
  152. package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
  153. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.d.ts +0 -2
  154. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.d.ts.map +1 -1
  155. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js +0 -10
  156. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js.map +1 -1
  157. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.d.ts +0 -2
  158. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.d.ts.map +1 -1
  159. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js +0 -10
  160. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js.map +1 -1
  161. package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts +0 -2
  162. package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts.map +1 -1
  163. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js +17 -19
  164. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js.map +1 -1
  165. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.d.ts.map +1 -1
  166. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js +11 -4
  167. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js.map +1 -1
  168. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.d.ts.map +1 -1
  169. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +29 -16
  170. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  171. package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts.map +1 -1
  172. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +18 -15
  173. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
  174. package/build/component/driver/deploy/azure/impl/baseDeployImpl.d.ts.map +1 -1
  175. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js +4 -4
  176. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js.map +1 -1
  177. package/build/component/driver/deploy/spfx/deployDriver.d.ts +1 -0
  178. package/build/component/driver/deploy/spfx/deployDriver.d.ts.map +1 -1
  179. package/build/component/driver/deploy/spfx/deployDriver.js +25 -3
  180. package/build/component/driver/deploy/spfx/deployDriver.js.map +1 -1
  181. package/build/component/driver/devTool/installDriver.d.ts +1 -0
  182. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  183. package/build/component/driver/devTool/installDriver.js +33 -11
  184. package/build/component/driver/devTool/installDriver.js.map +1 -1
  185. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts +1 -0
  186. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts.map +1 -1
  187. package/build/component/driver/file/createOrUpdateEnvironmentFile.js +12 -18
  188. package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
  189. package/build/component/driver/file/createOrUpdateJsonFile.d.ts +1 -0
  190. package/build/component/driver/file/createOrUpdateJsonFile.d.ts.map +1 -1
  191. package/build/component/driver/file/createOrUpdateJsonFile.js +5 -11
  192. package/build/component/driver/file/createOrUpdateJsonFile.js.map +1 -1
  193. package/build/component/driver/interface/stepDriver.d.ts +2 -7
  194. package/build/component/driver/interface/stepDriver.d.ts.map +1 -1
  195. package/build/component/driver/m365/acquire.d.ts +1 -0
  196. package/build/component/driver/m365/acquire.d.ts.map +1 -1
  197. package/build/component/driver/m365/acquire.js +6 -12
  198. package/build/component/driver/m365/acquire.js.map +1 -1
  199. package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
  200. package/build/component/driver/script/baseBuildDriver.js +1 -0
  201. package/build/component/driver/script/baseBuildDriver.js.map +1 -1
  202. package/build/component/driver/script/baseBuildStepDriver.d.ts +0 -2
  203. package/build/component/driver/script/baseBuildStepDriver.d.ts.map +1 -1
  204. package/build/component/driver/script/baseBuildStepDriver.js +0 -4
  205. package/build/component/driver/script/baseBuildStepDriver.js.map +1 -1
  206. package/build/component/driver/script/dotnetBuildDriver.d.ts +0 -2
  207. package/build/component/driver/script/dotnetBuildDriver.d.ts.map +1 -1
  208. package/build/component/driver/script/dotnetBuildDriver.js +0 -9
  209. package/build/component/driver/script/dotnetBuildDriver.js.map +1 -1
  210. package/build/component/driver/script/npmBuildDriver.d.ts +0 -2
  211. package/build/component/driver/script/npmBuildDriver.d.ts.map +1 -1
  212. package/build/component/driver/script/npmBuildDriver.js +0 -9
  213. package/build/component/driver/script/npmBuildDriver.js.map +1 -1
  214. package/build/component/driver/script/npxBuildDriver.d.ts +0 -2
  215. package/build/component/driver/script/npxBuildDriver.d.ts.map +1 -1
  216. package/build/component/driver/script/npxBuildDriver.js +0 -9
  217. package/build/component/driver/script/npxBuildDriver.js.map +1 -1
  218. package/build/component/driver/script/scriptDriver.d.ts +10 -1
  219. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  220. package/build/component/driver/script/scriptDriver.js +31 -30
  221. package/build/component/driver/script/scriptDriver.js.map +1 -1
  222. package/build/component/driver/teamsApp/appStudio.d.ts.map +1 -1
  223. package/build/component/driver/teamsApp/appStudio.js +8 -8
  224. package/build/component/driver/teamsApp/appStudio.js.map +1 -1
  225. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +5 -5
  226. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  227. package/build/component/driver/teamsApp/clients/appStudioClient.js +31 -11
  228. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  229. package/build/component/driver/teamsApp/clients/authSvcClient.d.ts.map +1 -1
  230. package/build/component/driver/teamsApp/clients/authSvcClient.js +2 -0
  231. package/build/component/driver/teamsApp/clients/authSvcClient.js.map +1 -1
  232. package/build/component/driver/teamsApp/configure.d.ts +1 -1
  233. package/build/component/driver/teamsApp/configure.d.ts.map +1 -1
  234. package/build/component/driver/teamsApp/configure.js +3 -11
  235. package/build/component/driver/teamsApp/configure.js.map +1 -1
  236. package/build/component/driver/teamsApp/copyAppPackageToSPFx.d.ts +1 -2
  237. package/build/component/driver/teamsApp/copyAppPackageToSPFx.d.ts.map +1 -1
  238. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js +4 -11
  239. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js.map +1 -1
  240. package/build/component/driver/teamsApp/create.d.ts +1 -1
  241. package/build/component/driver/teamsApp/create.d.ts.map +1 -1
  242. package/build/component/driver/teamsApp/create.js +6 -11
  243. package/build/component/driver/teamsApp/create.js.map +1 -1
  244. package/build/component/driver/teamsApp/createAppPackage.d.ts +4 -3
  245. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  246. package/build/component/driver/teamsApp/createAppPackage.js +53 -43
  247. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  248. package/build/component/driver/teamsApp/errors.d.ts.map +1 -1
  249. package/build/component/driver/teamsApp/errors.js +2 -0
  250. package/build/component/driver/teamsApp/errors.js.map +1 -1
  251. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtension.d.ts +2 -0
  252. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtension.d.ts.map +1 -1
  253. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtensionCommand.d.ts +1 -0
  254. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtensionCommand.d.ts.map +1 -1
  255. package/build/component/driver/teamsApp/publishAppPackage.d.ts +1 -1
  256. package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
  257. package/build/component/driver/teamsApp/publishAppPackage.js +5 -13
  258. package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
  259. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +2 -1
  260. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  261. package/build/component/driver/teamsApp/utils/ManifestUtils.js +7 -2
  262. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  263. package/build/component/driver/teamsApp/utils/telemetry.d.ts +1 -0
  264. package/build/component/driver/teamsApp/utils/telemetry.d.ts.map +1 -1
  265. package/build/component/driver/teamsApp/utils/telemetry.js +1 -0
  266. package/build/component/driver/teamsApp/utils/telemetry.js.map +1 -1
  267. package/build/component/driver/teamsApp/utils/utils.d.ts +2 -2
  268. package/build/component/driver/teamsApp/utils/utils.d.ts.map +1 -1
  269. package/build/component/driver/teamsApp/utils/utils.js +22 -10
  270. package/build/component/driver/teamsApp/utils/utils.js.map +1 -1
  271. package/build/component/driver/teamsApp/validate.d.ts +1 -1
  272. package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
  273. package/build/component/driver/teamsApp/validate.js +18 -13
  274. package/build/component/driver/teamsApp/validate.js.map +1 -1
  275. package/build/component/driver/teamsApp/validateAppPackage.d.ts +1 -1
  276. package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
  277. package/build/component/driver/teamsApp/validateAppPackage.js +3 -11
  278. package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
  279. package/build/component/error/componentError.d.ts +2 -1
  280. package/build/component/error/componentError.d.ts.map +1 -1
  281. package/build/component/error/componentError.js +8 -4
  282. package/build/component/error/componentError.js.map +1 -1
  283. package/build/component/feature/collaboration.d.ts.map +1 -1
  284. package/build/component/feature/collaboration.js +32 -13
  285. package/build/component/feature/collaboration.js.map +1 -1
  286. package/build/component/generator/copilotPlugin/generator.d.ts +7 -2
  287. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
  288. package/build/component/generator/copilotPlugin/generator.js +91 -20
  289. package/build/component/generator/copilotPlugin/generator.js.map +1 -1
  290. package/build/component/generator/copilotPlugin/helper.d.ts +8 -3
  291. package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
  292. package/build/component/generator/copilotPlugin/helper.js +135 -40
  293. package/build/component/generator/copilotPlugin/helper.js.map +1 -1
  294. package/build/component/generator/error.d.ts +7 -1
  295. package/build/component/generator/error.d.ts.map +1 -1
  296. package/build/component/generator/error.js +15 -3
  297. package/build/component/generator/error.js.map +1 -1
  298. package/build/component/generator/generator.d.ts.map +1 -1
  299. package/build/component/generator/generator.js +30 -21
  300. package/build/component/generator/generator.js.map +1 -1
  301. package/build/component/generator/generatorAction.d.ts +2 -1
  302. package/build/component/generator/generatorAction.d.ts.map +1 -1
  303. package/build/component/generator/generatorAction.js +8 -2
  304. package/build/component/generator/generatorAction.js.map +1 -1
  305. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  306. package/build/component/generator/officeAddin/generator.js +9 -1
  307. package/build/component/generator/officeAddin/generator.js.map +1 -1
  308. package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
  309. package/build/component/generator/officeAddin/helperMethods.js +8 -4
  310. package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
  311. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -1
  312. package/build/component/generator/spfx/depsChecker/generatorChecker.js +4 -2
  313. package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -1
  314. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -1
  315. package/build/component/generator/spfx/depsChecker/yoChecker.js +3 -3
  316. package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -1
  317. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
  318. package/build/component/generator/spfx/spfxGenerator.js +2 -2
  319. package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
  320. package/build/component/generator/spfx/utils/utils.js +3 -3
  321. package/build/component/generator/spfx/utils/utils.js.map +1 -1
  322. package/build/component/generator/utils.d.ts +12 -4
  323. package/build/component/generator/utils.d.ts.map +1 -1
  324. package/build/component/generator/utils.js +15 -14
  325. package/build/component/generator/utils.js.map +1 -1
  326. package/build/component/messages.d.ts +2 -3
  327. package/build/component/messages.d.ts.map +1 -1
  328. package/build/component/messages.js +3 -4
  329. package/build/component/messages.js.map +1 -1
  330. package/build/component/middleware/actionExecutionMW.d.ts +2 -2
  331. package/build/component/middleware/actionExecutionMW.d.ts.map +1 -1
  332. package/build/component/middleware/envMW.js +1 -1
  333. package/build/component/middleware/envMW.js.map +1 -1
  334. package/build/component/middleware/questionMW.d.ts +2 -2
  335. package/build/component/middleware/questionMW.d.ts.map +1 -1
  336. package/build/component/middleware/questionMW.js +7 -11
  337. package/build/component/middleware/questionMW.js.map +1 -1
  338. package/build/component/provisionUtils.d.ts +3 -3
  339. package/build/component/provisionUtils.d.ts.map +1 -1
  340. package/build/component/provisionUtils.js +3 -3
  341. package/build/component/provisionUtils.js.map +1 -1
  342. package/build/component/resource/botService/appStudio/appStudioClient.d.ts.map +1 -1
  343. package/build/component/resource/botService/appStudio/appStudioClient.js +24 -2
  344. package/build/component/resource/botService/appStudio/appStudioClient.js.map +1 -1
  345. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.d.ts +2 -2
  346. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.d.ts.map +1 -1
  347. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js +6 -1
  348. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js.map +1 -1
  349. package/build/component/telemetry.js +2 -2
  350. package/build/component/telemetry.js.map +1 -1
  351. package/build/component/utils/ResourceGroupHelper.d.ts +2 -2
  352. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  353. package/build/component/utils/ResourceGroupHelper.js +1 -4
  354. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  355. package/build/component/utils/charsetUtils.js +3 -3
  356. package/build/component/utils/charsetUtils.js.map +1 -1
  357. package/build/component/utils/common.d.ts +1 -1
  358. package/build/component/utils/common.d.ts.map +1 -1
  359. package/build/component/utils/common.js +4 -5
  360. package/build/component/utils/common.js.map +1 -1
  361. package/build/component/utils/depsChecker/cpUtils.d.ts.map +1 -1
  362. package/build/component/utils/depsChecker/cpUtils.js +8 -4
  363. package/build/component/utils/depsChecker/cpUtils.js.map +1 -1
  364. package/build/component/utils/envUtil.js +2 -2
  365. package/build/component/utils/envUtil.js.map +1 -1
  366. package/build/component/utils/metadataUtil.d.ts +3 -0
  367. package/build/component/utils/metadataUtil.d.ts.map +1 -1
  368. package/build/component/utils/metadataUtil.js +16 -3
  369. package/build/component/utils/metadataUtil.js.map +1 -1
  370. package/build/component/utils/teamsFxTelemetryReporter.js +2 -2
  371. package/build/component/utils/teamsFxTelemetryReporter.js.map +1 -1
  372. package/build/core/FxCore.d.ts +41 -33
  373. package/build/core/FxCore.d.ts.map +1 -1
  374. package/build/core/FxCore.js +817 -66
  375. package/build/core/FxCore.js.map +1 -1
  376. package/build/core/collaborator.js +2 -2
  377. package/build/core/collaborator.js.map +1 -1
  378. package/build/core/globalVars.d.ts +16 -0
  379. package/build/core/globalVars.d.ts.map +1 -1
  380. package/build/core/globalVars.js +34 -1
  381. package/build/core/globalVars.js.map +1 -1
  382. package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
  383. package/build/core/middleware/concurrentLocker.js +7 -3
  384. package/build/core/middleware/concurrentLocker.js.map +1 -1
  385. package/build/core/middleware/projectMigratorV3.d.ts +4 -0
  386. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  387. package/build/core/middleware/projectMigratorV3.js +34 -32
  388. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  389. package/build/core/middleware/projectVersionChecker.js +5 -5
  390. package/build/core/middleware/projectVersionChecker.js.map +1 -1
  391. package/build/core/middleware/utils/appYmlGenerator.d.ts.map +1 -1
  392. package/build/core/middleware/utils/appYmlGenerator.js +2 -1
  393. package/build/core/middleware/utils/appYmlGenerator.js.map +1 -1
  394. package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +1 -1
  395. package/build/core/middleware/utils/debug/taskMigrator.js +3 -0
  396. package/build/core/middleware/utils/debug/taskMigrator.js.map +1 -1
  397. package/build/core/middleware/utils/migrationContext.d.ts +1 -0
  398. package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
  399. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  400. package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
  401. package/build/core/middleware/utils/v3MigrationUtils.js +5 -1
  402. package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
  403. package/build/error/common.d.ts +4 -10
  404. package/build/error/common.d.ts.map +1 -1
  405. package/build/error/common.js +13 -35
  406. package/build/error/common.js.map +1 -1
  407. package/build/index.d.ts +4 -1
  408. package/build/index.d.ts.map +1 -1
  409. package/build/index.js +3 -0
  410. package/build/index.js.map +1 -1
  411. package/build/question/constants.d.ts +6 -0
  412. package/build/question/constants.d.ts.map +1 -0
  413. package/build/question/constants.js +18 -0
  414. package/build/question/constants.js.map +1 -0
  415. package/build/question/create.d.ts +23 -9
  416. package/build/question/create.d.ts.map +1 -1
  417. package/build/question/create.js +342 -281
  418. package/build/question/create.js.map +1 -1
  419. package/build/question/generator.d.ts +4 -0
  420. package/build/question/generator.d.ts.map +1 -0
  421. package/build/question/generator.js +365 -0
  422. package/build/question/generator.js.map +1 -0
  423. package/build/question/index.d.ts +19 -30
  424. package/build/question/index.d.ts.map +1 -1
  425. package/build/question/index.js +14 -47
  426. package/build/question/index.js.map +1 -1
  427. package/build/question/inputs/CreateEnvInputs.d.ts +14 -0
  428. package/build/question/inputs/CreateEnvInputs.d.ts.map +1 -0
  429. package/build/question/inputs/CreateEnvInputs.js +5 -0
  430. package/build/question/inputs/CreateEnvInputs.js.map +1 -0
  431. package/build/question/inputs/CreateProjectInputs.d.ts +38 -0
  432. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -0
  433. package/build/question/inputs/CreateProjectInputs.js +5 -0
  434. package/build/question/inputs/CreateProjectInputs.js.map +1 -0
  435. package/build/question/inputs/CreateSampleProjectInputs.d.ts +12 -0
  436. package/build/question/inputs/CreateSampleProjectInputs.d.ts.map +1 -0
  437. package/build/question/inputs/CreateSampleProjectInputs.js +5 -0
  438. package/build/question/inputs/CreateSampleProjectInputs.js.map +1 -0
  439. package/build/question/inputs/DeployAadManifestInputs.d.ts +14 -0
  440. package/build/question/inputs/DeployAadManifestInputs.d.ts.map +1 -0
  441. package/build/question/inputs/DeployAadManifestInputs.js +5 -0
  442. package/build/question/inputs/DeployAadManifestInputs.js.map +1 -0
  443. package/build/question/inputs/PermissionGrantInputs.d.ts +18 -0
  444. package/build/question/inputs/PermissionGrantInputs.d.ts.map +1 -0
  445. package/build/question/inputs/PermissionGrantInputs.js +5 -0
  446. package/build/question/inputs/PermissionGrantInputs.js.map +1 -0
  447. package/build/question/inputs/PermissionListInputs.d.ts +16 -0
  448. package/build/question/inputs/PermissionListInputs.d.ts.map +1 -0
  449. package/build/question/inputs/PermissionListInputs.js +5 -0
  450. package/build/question/inputs/PermissionListInputs.js.map +1 -0
  451. package/build/question/inputs/PreviewTeamsAppInputs.d.ts +14 -0
  452. package/build/question/inputs/PreviewTeamsAppInputs.d.ts.map +1 -0
  453. package/build/question/inputs/PreviewTeamsAppInputs.js +5 -0
  454. package/build/question/inputs/PreviewTeamsAppInputs.js.map +1 -0
  455. package/build/question/inputs/SPFxAddWebpartInputs.d.ts +18 -0
  456. package/build/question/inputs/SPFxAddWebpartInputs.d.ts.map +1 -0
  457. package/build/question/inputs/SPFxAddWebpartInputs.js +5 -0
  458. package/build/question/inputs/SPFxAddWebpartInputs.js.map +1 -0
  459. package/build/question/inputs/SelectTeamsManifestInputs.d.ts +12 -0
  460. package/build/question/inputs/SelectTeamsManifestInputs.d.ts.map +1 -0
  461. package/build/question/inputs/SelectTeamsManifestInputs.js +5 -0
  462. package/build/question/inputs/SelectTeamsManifestInputs.js.map +1 -0
  463. package/build/question/inputs/ValidateTeamsAppInputs.d.ts +14 -0
  464. package/build/question/inputs/ValidateTeamsAppInputs.d.ts.map +1 -0
  465. package/build/question/inputs/ValidateTeamsAppInputs.js +5 -0
  466. package/build/question/inputs/ValidateTeamsAppInputs.js.map +1 -0
  467. package/build/question/inputs/index.d.ts +11 -0
  468. package/build/question/inputs/index.d.ts.map +1 -0
  469. package/build/question/inputs/index.js +16 -0
  470. package/build/question/inputs/index.js.map +1 -0
  471. package/build/question/options/CreateEnvOptions.d.ts +10 -0
  472. package/build/question/options/CreateEnvOptions.d.ts.map +1 -0
  473. package/build/question/options/CreateEnvOptions.js +24 -0
  474. package/build/question/options/CreateEnvOptions.js.map +1 -0
  475. package/build/question/options/CreateProjectOptions.d.ts +10 -0
  476. package/build/question/options/CreateProjectOptions.d.ts.map +1 -0
  477. package/build/question/options/CreateProjectOptions.js +133 -0
  478. package/build/question/options/CreateProjectOptions.js.map +1 -0
  479. package/build/question/options/CreateSampleProjectOptions.d.ts +10 -0
  480. package/build/question/options/CreateSampleProjectOptions.d.ts.map +1 -0
  481. package/build/question/options/CreateSampleProjectOptions.js +52 -0
  482. package/build/question/options/CreateSampleProjectOptions.js.map +1 -0
  483. package/build/question/options/DeployAadManifestOptions.d.ts +10 -0
  484. package/build/question/options/DeployAadManifestOptions.d.ts.map +1 -0
  485. package/build/question/options/DeployAadManifestOptions.js +21 -0
  486. package/build/question/options/DeployAadManifestOptions.js.map +1 -0
  487. package/build/question/options/PermissionGrantOptions.d.ts +10 -0
  488. package/build/question/options/PermissionGrantOptions.d.ts.map +1 -0
  489. package/build/question/options/PermissionGrantOptions.js +33 -0
  490. package/build/question/options/PermissionGrantOptions.js.map +1 -0
  491. package/build/question/options/PermissionListOptions.d.ts +10 -0
  492. package/build/question/options/PermissionListOptions.d.ts.map +1 -0
  493. package/build/question/options/PermissionListOptions.js +28 -0
  494. package/build/question/options/PermissionListOptions.js.map +1 -0
  495. package/build/question/options/PreviewTeamsAppOptions.d.ts +10 -0
  496. package/build/question/options/PreviewTeamsAppOptions.d.ts.map +1 -0
  497. package/build/question/options/PreviewTeamsAppOptions.js +26 -0
  498. package/build/question/options/PreviewTeamsAppOptions.js.map +1 -0
  499. package/build/question/options/SPFxAddWebpartOptions.d.ts +10 -0
  500. package/build/question/options/SPFxAddWebpartOptions.d.ts.map +1 -0
  501. package/build/question/options/SPFxAddWebpartOptions.js +39 -0
  502. package/build/question/options/SPFxAddWebpartOptions.js.map +1 -0
  503. package/build/question/options/SelectTeamsManifestOptions.d.ts +10 -0
  504. package/build/question/options/SelectTeamsManifestOptions.d.ts.map +1 -0
  505. package/build/question/options/SelectTeamsManifestOptions.js +17 -0
  506. package/build/question/options/SelectTeamsManifestOptions.js.map +1 -0
  507. package/build/question/options/ValidateTeamsAppOptions.d.ts +10 -0
  508. package/build/question/options/ValidateTeamsAppOptions.d.ts.map +1 -0
  509. package/build/question/options/ValidateTeamsAppOptions.js +23 -0
  510. package/build/question/options/ValidateTeamsAppOptions.js.map +1 -0
  511. package/build/question/options/index.d.ts +11 -0
  512. package/build/question/options/index.d.ts.map +1 -0
  513. package/build/question/options/index.js +16 -0
  514. package/build/question/options/index.js.map +1 -0
  515. package/build/question/other.d.ts +12 -1
  516. package/build/question/other.d.ts.map +1 -1
  517. package/build/question/other.js +128 -30
  518. package/build/question/other.js.map +1 -1
  519. package/build/question/questionNames.d.ts +6 -2
  520. package/build/question/questionNames.d.ts.map +1 -1
  521. package/build/question/questionNames.js +8 -3
  522. package/build/question/questionNames.js.map +1 -1
  523. package/build/ui/validationUtils.d.ts +31 -0
  524. package/build/ui/validationUtils.d.ts.map +1 -0
  525. package/build/ui/validationUtils.js +297 -0
  526. package/build/ui/validationUtils.js.map +1 -0
  527. package/build/ui/visitor.d.ts +13 -1
  528. package/build/ui/visitor.d.ts.map +1 -1
  529. package/build/ui/visitor.js +262 -234
  530. package/build/ui/visitor.js.map +1 -1
  531. package/package.json +19 -15
  532. package/resource/package.nls.json +42 -16
  533. package/resource/yaml-schema/{1.1.1 → v1.2}/yaml.schema.json +11 -5
  534. package/templates/fallback/common.zip +0 -0
  535. package/templates/fallback/csharp.zip +0 -0
  536. package/templates/fallback/js.zip +0 -0
  537. package/templates/fallback/ts.zip +0 -0
  538. package/templates/plugins/resource/aad/auth/V3/Tab/GetUserProfile.razor +1 -2
  539. package/templates/plugins/resource/aad/auth/bot/README.md +281 -263
  540. package/templates/plugins/resource/aad/auth/bot/js/sso/handleMessageExtensionQueryWithToken.js +13 -3
  541. package/templates/plugins/resource/aad/auth/bot/js/sso/profileSsoCommandHandler.js +14 -5
  542. package/templates/plugins/resource/aad/auth/bot/ts/sso/handleMessageExtensionQueryWithToken.ts +11 -3
  543. package/templates/plugins/resource/aad/auth/bot/ts/sso/profileSsoCommandHandler.ts +12 -3
  544. package/templates/plugins/resource/aad/auth/tab/csharp/GetUserProfile.razor +1 -2
  545. package/build/common/samples-config-v3.json +0 -233
  546. package/build/component/driver/middleware/updateProgress.d.ts +0 -6
  547. package/build/component/driver/middleware/updateProgress.d.ts.map +0 -1
  548. package/build/component/driver/middleware/updateProgress.js +0 -15
  549. package/build/component/driver/middleware/updateProgress.js.map +0 -1
  550. package/build/core/FxCoreImplementV3.d.ts +0 -47
  551. package/build/core/FxCoreImplementV3.d.ts.map +0 -1
  552. package/build/core/FxCoreImplementV3.js +0 -702
  553. package/build/core/FxCoreImplementV3.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-core",
3
- "version": "2.0.4-alpha.6ff4defd0.0",
3
+ "version": "2.0.4-alpha.7313f757f.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "license": "MIT",
@@ -51,15 +51,13 @@
51
51
  "test:azureFuncDeploy": "nyc mocha \"tests/component/driver/deploy/azure/AzureFunctionDeployDriver.test.ts\"",
52
52
  "test:devportal": "nyc mocha \"tests/component/developerPortalScaffoldUtils.test.ts\"",
53
53
  "test:visitor": "nyc mocha \"tests/ui/qm.visitor.test.ts\"",
54
+ "test:validUtils": "nyc mocha \"tests/ui/validationUtils.test.ts\"",
54
55
  "test:question": "nyc mocha \"tests/question/*.test.ts\"",
55
56
  "test:coll": "nyc mocha \"tests/core/collaborator.test.ts\"",
56
- "test:specParser": "npx mocha \"tests/common/spec-parser/**/specParser.test.ts\"",
57
- "test:specFilter": "npx mocha \"tests/common/spec-parser/**/specFilter.test.ts\"",
58
- "test:specParserUtils": "npx mocha \"tests/common/spec-parser/**/utils.test.ts\"",
59
- "test:manifestUpdater": "npx mocha \"tests/common/spec-parser/**/manifestUpdater.test.ts\"",
60
- "test:adaptiveCardGenerator": "npx mocha \"tests/common/spec-parser/**/adaptiveCardGenerator.test.ts\"",
57
+ "test:specParser": "npx mocha \"tests/common/spec-parser/**/*.test.ts\"",
61
58
  "test:error": "nyc mocha \"tests/error/*.test.ts\"",
62
59
  "test:cutils": "nyc mocha \"tests/component/utils.test.ts\"",
60
+ "test:globalVars": "nyc mocha \"tests/core/globalVars.test.ts\"",
63
61
  "clean": "rm -rf build",
64
62
  "build": "rimraf build && npx tsc -p ./",
65
63
  "lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
@@ -71,7 +69,8 @@
71
69
  "install:tabs": "cd tabs && npm install",
72
70
  "installAll": "npm run install:tabs",
73
71
  "checkUnusedStrings": "node ./scripts/find-unused-strings.js ./resource/package.nls.json ./src || exit 1",
74
- "deleteUnusedStrings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src"
72
+ "clean:strings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src",
73
+ "gen:cli": "npx ts-node ./src/question/generator.ts && npx prettier --write \"src/question/options/*.ts\" && npx prettier --write \"src/question/inputs/*.ts\""
75
74
  },
76
75
  "dependencies": {
77
76
  "@apidevtools/swagger-parser": "^10.1.0",
@@ -89,9 +88,10 @@
89
88
  "@feathersjs/hooks": "^0.6.5",
90
89
  "@microsoft/dev-tunnels-contracts": "~1.0.7360",
91
90
  "@microsoft/dev-tunnels-management": "~1.0.7360",
92
- "@microsoft/teamsfx-api": "0.22.4-alpha.6ff4defd0.0",
91
+ "@microsoft/teamsfx-api": "0.22.4-alpha.7313f757f.0",
93
92
  "@npmcli/arborist": "^4.2.0",
94
93
  "@types/proper-lockfile": "^4.1.1",
94
+ "@types/swagger2openapi": "^7.0.0",
95
95
  "adm-zip": "^0.5.5",
96
96
  "ajv": "^8.5.0",
97
97
  "axios": "^0.21.2",
@@ -116,7 +116,7 @@
116
116
  "md5": "^2.3.0",
117
117
  "mime": "^2.5.2",
118
118
  "mustache": "^4.2.0",
119
- "node-forge": "^1.0.0",
119
+ "node-forge": "^1.3.1",
120
120
  "node-ts-uuid": "^1.0.8",
121
121
  "office-addin-manifest": "^1.12.4",
122
122
  "office-addin-project": "^0.7.0",
@@ -126,6 +126,7 @@
126
126
  "reflect-metadata": "^0.1.13",
127
127
  "semver": "^7.5.2",
128
128
  "strip-bom": "^4.0.0",
129
+ "swagger2openapi": "^7.0.8",
129
130
  "tedious": "^15.1.2",
130
131
  "typedi": "^0.10.0",
131
132
  "unzipper": "^0.10.11",
@@ -138,7 +139,6 @@
138
139
  "devDependencies": {
139
140
  "@azure/storage-blob": "^12.5.0",
140
141
  "@istanbuljs/nyc-config-typescript": "^1.0.1",
141
- "@microsoft/eslint-plugin-teamsfx": "0.0.5-alpha.6ff4defd0.0",
142
142
  "@types/adm-zip": "^0.4.33",
143
143
  "@types/chai": "^4.2.14",
144
144
  "@types/chai-as-promised": "^7.1.3",
@@ -155,7 +155,7 @@
155
155
  "@types/md5": "^2.3.0",
156
156
  "@types/mime": "^2.0.3",
157
157
  "@types/mocha": "^8.2.1",
158
- "@types/mock-fs": "^4.13.0",
158
+ "@types/mock-fs": "^4.13.1",
159
159
  "@types/mustache": "^4.1.1",
160
160
  "@types/node": "^14.14.21",
161
161
  "@types/node-forge": "^0.9.7",
@@ -173,6 +173,7 @@
173
173
  "@typescript-eslint/eslint-plugin": "^4.19.0",
174
174
  "@typescript-eslint/parser": "^4.19.0",
175
175
  "ahocorasick": "^1.0.2",
176
+ "axios-mock-adapter": "^1.20.0",
176
177
  "chai": "^4.2.0",
177
178
  "chai-as-promised": "^7.1.1",
178
179
  "chai-spies": "^1.0.0",
@@ -186,20 +187,23 @@
186
187
  "faker": "^5.5.2",
187
188
  "find-process": "^1.4.4",
188
189
  "lint-staged": "^10.5.4",
190
+ "lodash": "^4.17.21",
189
191
  "mocha": "^10.2.0",
190
- "mock-fs": "^4.13.0",
192
+ "mock-fs": "5.2.0",
191
193
  "mocked-env": "^1.3.5",
192
- "nock": "^13.2.9",
193
194
  "nyc": "^15.1.0",
194
195
  "prettier": "^2.4.1",
195
196
  "proxyquire": "^2.1.3",
196
197
  "rewire": "^6.0.0",
198
+ "rimraf": "^5.0.1",
197
199
  "sinon": "^9.2.2",
198
200
  "source-map-support": "^0.5.19",
199
201
  "tmp": "^0.2.1",
200
202
  "ts-loader": "^8.0.3",
203
+ "ts-morph": "^19.0.0",
201
204
  "ts-node": "^9.1.1",
202
- "typescript": "^4.2.3",
205
+ "tslib": "^2.3.1",
206
+ "typescript": "4.3.5",
203
207
  "webpack": "^5.61.0"
204
208
  },
205
209
  "files": [
@@ -207,7 +211,7 @@
207
211
  "resource/**/*",
208
212
  "templates/**/*"
209
213
  ],
210
- "gitHead": "f3ffa26c4e10bb85e5efdbf467e409197aa0fe0f",
214
+ "gitHead": "edee81033cb4176b4d24b1eef0a9ac6234e6e796",
211
215
  "publishConfig": {
212
216
  "access": "public"
213
217
  },
@@ -18,10 +18,9 @@
18
18
  "core.option.learnMore": "Learn more",
19
19
  "core.option.upgrade": "Upgrade",
20
20
  "core.option.moreInfo": "More Info",
21
- "core.progress.generateTemplate": "Generating Template",
22
- "core.progress.generateTemplate.detail": "Downloading Template %s",
23
- "core.progress.generateSample": "Generating Sample",
24
- "core.progress.generateSample.detail": "Downloading Sample %s",
21
+ "core.progress.create": "Create",
22
+ "core.progress.createFromTemplate": "Downloading app template.",
23
+ "core.progress.createFromSample": "Downloading sample %s",
25
24
  "core.progress.deploy": "Deploy",
26
25
  "core.progress.publish": "Publish",
27
26
  "core.progress.provision": "Provision",
@@ -66,6 +65,7 @@
66
65
  "core.collaboration.Permission": ", Permission: ",
67
66
  "core.developerPortal.scaffold.CannotFindManifest": "Could not find manifest from the downloaded package for teams app %s.",
68
67
  "plugins.spfx.questions.framework.title": "Framework",
68
+ "plugins.spfx.questions.webpartName": "Name for SharePoint Framework Web Part",
69
69
  "plugins.spfx.questions.webpartName.error.duplicate": "The folder %s already exists. Choose a different name for your component.",
70
70
  "plugins.spfx.questions.webpartName.error.notMatch": "%s doesn't match pattern: %s",
71
71
  "plugins.spfx.questions.packageSelect.title": "SharePoint Framework",
@@ -143,23 +143,18 @@
143
143
  "plugins.appstudio.viewDeveloperPortal": "View in Developer Portal",
144
144
  "plugins.bot.questionHostTypeTrigger.title": "Choose triggers",
145
145
  "plugins.bot.questionHostTypeTrigger.placeholder": "Choose triggers",
146
- "plugins.bot.triggers.http-functions.cliName": "http-functions",
147
146
  "plugins.bot.triggers.http-functions.description": "Azure Functions",
148
147
  "plugins.bot.triggers.http-functions.detail": "A running function hosted on Azure Functions can listen to HTTP requests.",
149
148
  "plugins.bot.triggers.http-functions.label": "HTTP Trigger",
150
- "plugins.bot.triggers.http-and-timer-functions.cliName": "http-and-timer-functions",
151
149
  "plugins.bot.triggers.http-and-timer-functions.description": "Azure Functions",
152
150
  "plugins.bot.triggers.http-and-timer-functions.detail": "A running function hosted on Azure Functions can listen to HTTP requests and respond based on a specific schedule.",
153
151
  "plugins.bot.triggers.http-and-timer-functions.label": "HTTP and Timer Trigger",
154
- "plugins.bot.triggers.http-restify.cliName": "http-restify",
155
152
  "plugins.bot.triggers.http-restify.description": "Restify Server",
156
153
  "plugins.bot.triggers.http-restify.detail": "A running restify server hosted on Azure App Service can listen to HTTP requests.",
157
154
  "plugins.bot.triggers.http-restify.label": "HTTP Trigger",
158
- "plugins.bot.triggers.http-webapi.cliName": "http-webapi",
159
155
  "plugins.bot.triggers.http-webapi.description": "Web API Server",
160
156
  "plugins.bot.triggers.http-webapi.detail": "A running Web API server hosted on Azure App Service can listen to HTTP requests.",
161
157
  "plugins.bot.triggers.http-webapi.label": "HTTP Trigger",
162
- "plugins.bot.triggers.timer-functions.cliName": "timer-functions",
163
158
  "plugins.bot.triggers.timer-functions.description": "Azure Functions",
164
159
  "plugins.bot.triggers.timer-functions.detail": "A running function hosted on Azure Functions can respond based on a specific schedule.",
165
160
  "plugins.bot.triggers.timer-functions.label": "Timer Trigger",
@@ -203,6 +198,8 @@
203
198
  "error.appstudio.BotProvisionReturnsConflictResult": "Botframework provisioning returns conflict result from attempting to create bot registration.",
204
199
  "_error.appstudio.BotProvisionReturnsConflictResult.comment": "This is to describe API call, no need to translate 'Botframework'.",
205
200
  "error.generator.TemplateZipFallbackError": "Unable to download zip package and open local zip package.",
201
+ "error.generator.TemplateNotFoundError": "Unable to find template: %s.",
202
+ "error.generator.SampleNotFoundError": "Unable to find sample: %s.",
206
203
  "error.generator.FetchZipFromUrlError": "Unable to download zip package from %s.",
207
204
  "error.generator.UnzipError": "Unable to unzip templates and write to disk.",
208
205
  "error.generator.MissKeyError": "Unable to find key %s",
@@ -210,6 +207,7 @@
210
207
  "error.generator.DownloadSampleNetworkError": "Unable to download sample due to network error. Check your network connection and retry. Alternatively, you can go to %s to git clone the repo manually",
211
208
  "error.generator.ParseUrlError": "Unable to parse url %s",
212
209
  "error.copilotPlugin.openAiPluginManifest.CannotGetManifest": "Unable to get OpenAI plugin manifest from '%s'.",
210
+ "error.copilotPlugin.noExtraAPICanBeAdded": "No API can be added. Only GET and POST methods with single parameter and no auth are supported. Methods defined in manifest.json are not listed.",
213
211
  "error.m365.NotExtendedToM365Error": "Unable to extend Teams app to Microsoft 365. Use 'teamsApp/extendToM365' action to extend your Teams app to Microsoft 365.",
214
212
  "core.QuestionAppName.validation.pattern": "Application name must start with letters and contain at least two letters or digits. It can not contain some special characters.",
215
213
  "core.QuestionAppName.validation.maxlength": "Application name is longer than the maximum length of 30.",
@@ -220,12 +218,16 @@
220
218
  "core.option.github": "Open a GitHub guide",
221
219
  "core.option.inProduct": "Open a in-product guide",
222
220
  "core.TabOption.label": "Tab",
221
+ "core.generator.officeAddin.importProject.title": "Importing an existing Outlook add-in project",
222
+ "core.generator.officeAddin.importProject.copyFiles": "Copying files",
223
+ "core.generator.officeAddin.importProject.convertProject": "Converting project",
224
+ "core.generator.officeAddin.importProject.updateManifest": "Modifying manifest",
223
225
  "core.TabOption.description": "UI-based app",
224
226
  "core.TabOption.detail": "Teams-aware webpages embedded in Microsoft Teams",
225
227
  "core.DashboardOption.label": "Dashboard",
226
228
  "core.DashboardOption.detail": "A canvas with cards and widgets for displaying important information",
227
229
  "core.BotNewUIOption.label": "Basic Bot",
228
- "core.BotNewUIOption.detail": "A simple implementation of a bot that's ready to customize",
230
+ "core.BotNewUIOption.detail": "A simple implementation of an echo bot that's ready to customize",
229
231
  "core.LinkUnfurlingOption.label": "Link Unfurling",
230
232
  "core.LinkUnfurlingOption.detail": "Display information and actions when a URL is pasted into the compose message area",
231
233
  "core.MessageExtensionOption.labelNew": "Collect Form Input and Process Data",
@@ -246,6 +248,15 @@
246
248
  "core.copilotPlugin.validate.openAIPluginManifest.summary": "Teams Toolkit has checked your OpenAI plugin manifest:\n\nSummary:\n%s.\n%s\n%s",
247
249
  "core.copilotPlugin.validate.summary.validate.failed": "%s failed",
248
250
  "core.copilotPlugin.validate.summary.validate.warning": "%s warning",
251
+ "core.copilotPlugin.scaffold.summary": "We have detected the following issues for your OpenAPI specification file:\n%s",
252
+ "core.copilotPlugin.scaffold.summary.warning.operationId": "%s Mitigation: Not required, operationId has been automatically generated and added into \"%s\" file.",
253
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.lengthExceeding": "\"%s\" must not have more than %s characters. ",
254
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingFullDescription": "Missing full description. ",
255
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.mitigation": "Mitigation: update \"%s\" field in \"%s\".",
256
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingCardTemlate": "Missing \"%s\" in command \"%s\".",
257
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingCardTemlate.mitigation": " Mitigation: create Adaptive Card template in \"%s\" and then update \"%s\" field to the relative path in \"%s\".",
258
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingCommandParameters": "Missing parameters in command \"%s\".",
259
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingCommandParameters.mitigation": " Mitigation: add at least one parameter for command \"%s\" in \"%s\". The parameter name should match what's defined in \"%s\".",
249
260
  "core.createCapabilityQuestion.titleNew": "Capabilities",
250
261
  "core.createCapabilityQuestion.placeholder": "Select a capability",
251
262
  "core.createProjectQuestion.option.description.previewOnWindow": "Preview on Windows",
@@ -280,12 +291,16 @@
280
291
  "core.createProjectQuestion.invalidUrl.message": "Please enter a valid URL",
281
292
  "core.createProjectQuestion.invalidDomain.message": "Please enter a valid domain",
282
293
  "core.createProjectQuestion.apiSpec.operation.title": "Select an Operation",
283
- "core.createProjectQuestion.apiSpec.operation.placeholder": "Only GET and POST methods are listed.",
294
+ "core.createProjectQuestion.apiSpec.operation.placeholder": "Only GET and POST methods with single parameter and no auth are listed",
284
295
  "core.createProjectQuestion.apiSpec.operation.placeholder.skipExisting": "Methods defined in manifest.json are not listed",
285
296
  "core.createProjectQuestion.apiSpec.multipleValidationErrors.message": "Invalid API specification. Check output panel for details.",
286
297
  "core.createProjectQuestion.apiSpec.multipleValidationErrors.vscode.message": "Invalid API specification. Check [output panel](command:fx-extension.showOutputChannel) for details.",
287
298
  "core.createProjectQuestion.openAiPluginManifest.multipleValidationErrors.message": "Invalid OpenAI plugin manifest. Check output panel for details.",
288
299
  "core.createProjectQuestion.openAiPluginManifest.multipleValidationErrors.vscode.message": "Invalid OpenAI plugin manifest. Check [output panel](command:fx-extension.showOutputChannel) for details.",
300
+ "core.createProjectQuestion.openAiPluginManifest.validationError.missingApiUrl": "Missing URL in \"%s\".",
301
+ "core.createProjectQuestion.openAiPluginManifest.validationError.authNotSupported": "Auth type is not supported. Supported auth type: \"%s\".",
302
+ "core.aiBotOption.label": "AI Chat Bot",
303
+ "core.aiBotOption.detail": "A chat bot using Teams AI library",
289
304
  "core.spfxFolder.title": "SPFx solution folder",
290
305
  "core.spfxFolder.placeholder": "Select the folder that contains your SPFx solution",
291
306
  "core.QuestionSelectTargetEnvironment.title": "Select an environment",
@@ -309,7 +324,6 @@
309
324
  "core.ScratchOptionNo.detail": "Use an existing sample as a starting point for your new application.",
310
325
  "core.RuntimeOptionNodeJS.detail": "A fast JavaScript server runtime",
311
326
  "core.RuntimeOptionDotNet.detail": "Free. Cross-platform. Open Source.",
312
- "core.getCreateNewOrFromSampleQuestion.title": "Teams Toolkit: Create a New App",
313
327
  "core.getRuntimeQuestion.title": "Teams Toolkit: select runtime for your app",
314
328
  "core.getCreateNewOrFromSampleQuestion.placeholder": "Select an option",
315
329
  "core.getRuntimeQuestion.placeholder": "Select a runtime",
@@ -355,6 +369,7 @@
355
369
  "core.M365SsoLaunchPageOptionItem.detail": "A web app that uses Fluent UI React components to get a Teams look and feel",
356
370
  "core.M365SearchAppOptionItem.label": "Custom Search Results",
357
371
  "core.M365SearchAppOptionItem.detail": "Display data directly in Teams and Outlook search results from search or the chat area",
372
+ "core.SearchAppOptionItem.detail": "Display data directly in Teams search results from search or the chat area",
358
373
  "core.M365HostQuestion.title": "Platform",
359
374
  "core.M365HostQuestion.placeholder": "Select a platform to preview the app",
360
375
  "core.options.separator.additional": "Additional features",
@@ -370,8 +385,18 @@
370
385
  "core.common.OutlookDesktopClientName": "Outlook desktop client id",
371
386
  "core.common.OutlookWebClientName1": "Outlook web access client id 1",
372
387
  "core.common.OutlookWebClientName2": "Outlook web access client id 2",
373
- "core.importAddin.label": "Import an Existing Outlook Add-in",
374
- "core.importAddin.detail": "Upgrade and add-in project to the latest app manifest and project structure",
388
+ "core.common.CancelledMessage": "Operation is cancelled.",
389
+ "core.common.SpecVersionNotSupported": "OpenAPI version lower than 3.0.0 is not supported.",
390
+ "core.common.NoServerInformation": "No server information is found in the OpenAPI specification file.",
391
+ "core.common.MultipleServerInformation": "Multiple server information is found in the OpenAPI specification file.",
392
+ "core.common.RemoteRefNotSupported": "Remote reference is not supported: %s.",
393
+ "core.common.MissingOperationId": "Missing operationIds: %s.",
394
+ "core.common.NoSupportedApi": "No supported API is found in the OpenAPI specification file.",
395
+ "core.common.AdditionalPropertiesNotSupported": "'additionalProperties' is not supported, and will be ignored.",
396
+ "core.common.SchemaNotSupported": "'oneOf', 'anyOf', and 'not' schema are not supported: %s.",
397
+ "core.common.UnknownSchema": "Unknown schema: %s.",
398
+ "core.importAddin.label": "Import an Existing Outlook Add-ins",
399
+ "core.importAddin.detail": "Upgrade an Add-ins project to the latest app manifest and project structure",
375
400
  "core.newTaskpaneAddin.label": "Taskpane",
376
401
  "core.newTaskpaneAddin.detail": "Customize the Ribbon with a button and embed content in the Taskpane",
377
402
  "core.summary.actionDescription": "Action %s%s",
@@ -395,6 +420,7 @@
395
420
  "error.aad.manifest.OptionalClaimsIsMissing": "optionalClaims is missing\n",
396
421
  "error.aad.manifest.OptionalClaimsMissingIdtypClaim": "optionalClaims access token doesn't contain idtyp claim\n",
397
422
  "error.aad.manifest.AADManifestIssues": "AAD manifest has following issues that may potentially break the Teams App:\n",
423
+ "error.aad.manifest.DeleteOrUpdatePermissionFailed": "Unable to update or delete an existing permission when it's enabled. One possible reason is that the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Ensure your permission id(s) are identical with the actual AAD application and try again.\n",
398
424
  "error.aad.manifest.UnknownResourceAppId": "Unknown resourceAppId %s",
399
425
  "error.aad.manifest.UnknownResourceAccessType": "Unknown resourceAccess: %s",
400
426
  "error.aad.manifest.UnknownResourceAccessId": "Unknown resourceAccess id: %s, if you're using permission as resourceAccess id, please try to use permission id instead.",
@@ -513,7 +539,7 @@
513
539
  "driver.deploy.azureFunctionsDeployDetailSummary": "Successfully deployed `%s` to Azure Functions.",
514
540
  "driver.deploy.azureStorageDeployDetailSummary": "Successfully deployed `%s` to Azure Storage.",
515
541
  "driver.deploy.enableStaticWebsiteSummary": "Azure Storage enable static website successfully.",
516
- "driver.deploy.deployToAzureAppServiceDescription": "deploy the project to the Azure APP Service.",
542
+ "driver.deploy.deployToAzureAppServiceDescription": "deploy the project to the Azure App Service.",
517
543
  "driver.deploy.deployToAzureFunctionsDescription": "deploy the project to the Azure Functions.",
518
544
  "driver.deploy.deployToAzureStorageDescription": "deploy the project to the Azure Storage.",
519
545
  "driver.deploy.enableStaticWebsiteInAzureStorageDescription": "enable static website setting in Azure Storage.",
@@ -562,7 +588,7 @@
562
588
  "driver.botFramework.progressBar.createOrUpdateBot": "Creating or updating bot registration.",
563
589
  "driver.botFramework.error.InvalidBotId": "Bot ID %s is invalid. It must be a GUID.",
564
590
  "error.yaml.InvalidYamlSchemaError": "Unable to parse yaml file: %s. Please open the yaml file for detailed errors.",
565
- "error.yaml.InvalidYamlSchemaErrorWithReason": "Unable to parse yaml file: %s. Reason: %s Please review the yaml file.",
591
+ "error.yaml.InvalidYamlSchemaErrorWithReason": "Unable to parse yaml file: %s. Reason: %s Please review the yaml file or upgrade to the latest Teams Toolkit.",
566
592
  "error.yaml.VersionNotSupported": "version %s is not supported. Supported versions: %s.",
567
593
  "error.yaml.YamlFieldTypeError": "Field '%s' should have %s type, yaml file: %s",
568
594
  "error.yaml.YamlFieldMissingError": "Field '%s' is missing, yaml file: %s",
@@ -14,12 +14,18 @@
14
14
  "version": {
15
15
  "type": "string",
16
16
  "description": "The version of the yaml file schema",
17
- "const": "1.1.1"
17
+ "const": "v1.2"
18
18
  },
19
- "sampleTag": {
20
- "type": "string",
21
- "pattern": "^[a-zA-Z0-9-_]+:[a-zA-Z0-9-_]+$",
22
- "description": "The tag of sample repo and sample name, used for telemetry purpose only. E.g. <sample-repo>:<sample-name>"
19
+ "additionalMetadata": {
20
+ "type": "object",
21
+ "description": "Metadata property, used by Teams Toolkit only.",
22
+ "additionalProperties": true,
23
+ "properties": {
24
+ "sampleTag": {
25
+ "type": ["number","string","boolean","object","array", "null", "integer"],
26
+ "description": "A tag for the sample app used to track telemetry events sent by Teams Toolkit associated with that sample. Pattern: <sample-repo>:<sample-name>"
27
+ }
28
+ }
23
29
  },
24
30
  "provision": {
25
31
  "$ref": "#/definitions/lifeCycleArray",
Binary file
Binary file
Binary file
Binary file
@@ -92,8 +92,7 @@
92
92
 
93
93
  private GraphServiceClient GetGraphServiceClient()
94
94
  {
95
- var msGraphAuthProvider = new MsGraphAuthProvider(teamsUserCredential, _scope);
96
- var client = new GraphServiceClient(msGraphAuthProvider);
95
+ var client = new GraphServiceClient(teamsUserCredential, new string[] { _scope });
97
96
  return client;
98
97
  }
99
98
  }