@microsoft/managed-apps-cli 0.19.0 → 0.21.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 (606) hide show
  1. package/LICENSE +17 -149
  2. package/THIRD-PARTY-NOTICES.txt +9549 -0
  3. package/dist/AddConnector-4AMM746J.js +41 -0
  4. package/dist/AuthStatus-ZZIP3LBD.js +11 -0
  5. package/dist/AuthSwitch-HK7JU2FR.js +13 -0
  6. package/dist/Bin.js +8 -3
  7. package/dist/BuildMaafApp-MOTZOLJZ.js +11 -0
  8. package/dist/Cli-6CCXMCPX.js +54 -0
  9. package/dist/CreateMaafApp-TUO72CW7.js +20 -0
  10. package/dist/DeleteMaafApp-MZVGIAX3.js +11 -0
  11. package/dist/DeployMaafApp-KXATM3E3.js +14 -0
  12. package/dist/Dev-SHIA5S7X.js +14 -0
  13. package/dist/EnvironmentVariableAuthenticationProvider-5YTMRAE4.js +11 -0
  14. package/dist/GetMaafApp-ELB5KMHW.js +11 -0
  15. package/dist/GetMaafBuildStatus-3W7LI5TJ.js +11 -0
  16. package/dist/GetSettings-NM6H2U5F.js +11 -0
  17. package/dist/Init-CH5DUQWA.js +11 -0
  18. package/dist/ListConnectorActions-7SIFGPYR.js +11 -0
  19. package/dist/ListConnectors-TRKIWRVQ.js +11 -0
  20. package/dist/ListMaafApps-RT3PGZSJ.js +11 -0
  21. package/dist/Login-HG5S7LBC.js +11 -0
  22. package/dist/Logout-BUPHLOAH.js +11 -0
  23. package/dist/MockFetch-4CYTSNJ7.js +13 -0
  24. package/dist/NoOpAuthenticationProvider-DX3XNXF5.js +11 -0
  25. package/dist/NodeMsalAuthenticationProvider-HTH3V3G2.js +17 -0
  26. package/dist/Pack-AHKC2MYF.js +8 -0
  27. package/dist/PlayMaafApp-LWKJU2IN.js +12 -0
  28. package/dist/RefreshDataSource-ZFZJXJ5L.js +11 -0
  29. package/dist/RefreshGitAuth-5A3SX2HC.js +11 -0
  30. package/dist/RemoveDataSource-57JJLK5I.js +14 -0
  31. package/dist/ServicePrincipalAuthenticationProvider-SVKDZG6X.js +11 -0
  32. package/dist/SetSetting-RB3F7IXG.js +11 -0
  33. package/dist/ShareLinkCreate-7BCDPWY6.js +11 -0
  34. package/dist/ShareLinkList-4BI3WMNN.js +11 -0
  35. package/dist/ShareLinkRevoke-EEJVCRCY.js +11 -0
  36. package/dist/ShareList-LJDAEGI3.js +11 -0
  37. package/dist/ShareMaafApp-QFRXLYUD.js +11 -0
  38. package/dist/ShowMaafApp-3KK6NUG2.js +11 -0
  39. package/dist/TelemetrySettings-A474HALH.js +11 -0
  40. package/dist/UnshareMaafApp-423RNXCN.js +11 -0
  41. package/dist/acorn-CYBWGE5M.js +23 -0
  42. package/dist/angular-Q62TJP23.js +11 -0
  43. package/dist/babel-AOXBHIIS.js +22 -0
  44. package/dist/chunk-3BRAT6NP.js +11 -0
  45. package/dist/chunk-3YRE4IQ3.js +132 -0
  46. package/dist/chunk-5AUOEXAR.js +50 -0
  47. package/dist/chunk-6FFQN2SO.js +13 -0
  48. package/dist/chunk-6MXOK2LG.js +11 -0
  49. package/dist/chunk-7NXJAIJX.js +11 -0
  50. package/dist/chunk-DREO7EYO.js +20 -0
  51. package/dist/chunk-EV3TTTOT.js +8 -0
  52. package/dist/chunk-G33Q5FWT.js +42325 -0
  53. package/dist/chunk-HBLO3WDD.js +13 -0
  54. package/dist/chunk-MFPX2RFH.js +11 -0
  55. package/dist/chunk-NP2KJOYC.js +12 -0
  56. package/dist/chunk-OL6CTXQR.js +11 -0
  57. package/dist/chunk-PVAIJSAI.js +11 -0
  58. package/dist/chunk-QAFCXGBD.js +11 -0
  59. package/dist/chunk-QSB5P4RM.js +38 -0
  60. package/dist/chunk-RBG2H562.js +11 -0
  61. package/dist/chunk-S5HEU7XK.js +11 -0
  62. package/dist/chunk-TYRVM4PP.js +8 -0
  63. package/dist/chunk-U36HMOQW.js +77 -0
  64. package/dist/chunk-UBTSW22U.js +11 -0
  65. package/dist/chunk-USRRI5H4.js +11 -0
  66. package/dist/chunk-UT667QSU.js +8 -0
  67. package/dist/chunk-VFSTQAZ2.js +12 -0
  68. package/dist/chunk-VNEZZ3RI.js +11 -0
  69. package/dist/chunk-W7EWOZPO.js +104 -0
  70. package/dist/chunk-Y5AMO72S.js +10 -0
  71. package/dist/chunk-YIKNM523.js +15 -0
  72. package/dist/chunk-YMXXWGRV.js +11 -0
  73. package/dist/estree-HPTPQIMZ.js +51 -0
  74. package/dist/flow-B6JUMONE.js +27 -0
  75. package/dist/glimmer-36KZ3DJ5.js +44 -0
  76. package/dist/graphql-E6CIFZFV.js +35 -0
  77. package/dist/html-BUTTPQE6.js +32 -0
  78. package/dist/markdown-K2C5OZHT.js +69 -0
  79. package/dist/meriyah-27UE2OSX.js +12 -0
  80. package/dist/postcss-QUHZLBB7.js +68 -0
  81. package/dist/typescript-G2G6TDZF.js +28 -0
  82. package/dist/yaml-W5P5CGFK.js +166 -0
  83. package/package.json +22 -17
  84. package/dist/ArgumentProvider.d.ts +0 -144
  85. package/dist/ArgumentProvider.d.ts.map +0 -1
  86. package/dist/ArgumentProvider.js +0 -493
  87. package/dist/ArgumentProvider.js.map +0 -1
  88. package/dist/Authentication/ActiveAccountStore.d.ts +0 -24
  89. package/dist/Authentication/ActiveAccountStore.d.ts.map +0 -1
  90. package/dist/Authentication/ActiveAccountStore.js +0 -54
  91. package/dist/Authentication/ActiveAccountStore.js.map +0 -1
  92. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.d.ts +0 -26
  93. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.d.ts.map +0 -1
  94. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.js +0 -31
  95. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.js.map +0 -1
  96. package/dist/Authentication/NoOpAuthenticationProvider.d.ts +0 -25
  97. package/dist/Authentication/NoOpAuthenticationProvider.d.ts.map +0 -1
  98. package/dist/Authentication/NoOpAuthenticationProvider.js +0 -31
  99. package/dist/Authentication/NoOpAuthenticationProvider.js.map +0 -1
  100. package/dist/Authentication/NodeMsalAuthenticationProvider.d.ts +0 -103
  101. package/dist/Authentication/NodeMsalAuthenticationProvider.d.ts.map +0 -1
  102. package/dist/Authentication/NodeMsalAuthenticationProvider.js +0 -391
  103. package/dist/Authentication/NodeMsalAuthenticationProvider.js.map +0 -1
  104. package/dist/Authentication/ServicePrincipalAuthenticationProvider.d.ts +0 -23
  105. package/dist/Authentication/ServicePrincipalAuthenticationProvider.d.ts.map +0 -1
  106. package/dist/Authentication/ServicePrincipalAuthenticationProvider.js +0 -60
  107. package/dist/Authentication/ServicePrincipalAuthenticationProvider.js.map +0 -1
  108. package/dist/Bin.d.ts +0 -6
  109. package/dist/Bin.d.ts.map +0 -1
  110. package/dist/Bin.js.map +0 -1
  111. package/dist/Cli.d.ts +0 -2
  112. package/dist/Cli.d.ts.map +0 -1
  113. package/dist/Cli.js +0 -207
  114. package/dist/Cli.js.map +0 -1
  115. package/dist/CliSettings.d.ts +0 -17
  116. package/dist/CliSettings.d.ts.map +0 -1
  117. package/dist/CliSettings.js +0 -103
  118. package/dist/CliSettings.js.map +0 -1
  119. package/dist/CliUtils.d.ts +0 -100
  120. package/dist/CliUtils.d.ts.map +0 -1
  121. package/dist/CliUtils.js +0 -204
  122. package/dist/CliUtils.js.map +0 -1
  123. package/dist/Constants/CliConstants.d.ts +0 -6
  124. package/dist/Constants/CliConstants.d.ts.map +0 -1
  125. package/dist/Constants/CliConstants.js +0 -6
  126. package/dist/Constants/CliConstants.js.map +0 -1
  127. package/dist/Constants/CommandRegistry.d.ts +0 -22
  128. package/dist/Constants/CommandRegistry.d.ts.map +0 -1
  129. package/dist/Constants/CommandRegistry.js +0 -245
  130. package/dist/Constants/CommandRegistry.js.map +0 -1
  131. package/dist/Constants/HelpStrings.d.ts +0 -432
  132. package/dist/Constants/HelpStrings.d.ts.map +0 -1
  133. package/dist/Constants/HelpStrings.js +0 -623
  134. package/dist/Constants/HelpStrings.js.map +0 -1
  135. package/dist/Constants.d.ts +0 -18
  136. package/dist/Constants.d.ts.map +0 -1
  137. package/dist/Constants.js +0 -41
  138. package/dist/Constants.js.map +0 -1
  139. package/dist/Errors/CliError.d.ts +0 -5
  140. package/dist/Errors/CliError.d.ts.map +0 -1
  141. package/dist/Errors/CliError.js +0 -7
  142. package/dist/Errors/CliError.js.map +0 -1
  143. package/dist/Errors/GitHubErrorMap.d.ts +0 -68
  144. package/dist/Errors/GitHubErrorMap.d.ts.map +0 -1
  145. package/dist/Errors/GitHubErrorMap.js +0 -238
  146. package/dist/Errors/GitHubErrorMap.js.map +0 -1
  147. package/dist/FS/CliFs.d.ts +0 -41
  148. package/dist/FS/CliFs.d.ts.map +0 -1
  149. package/dist/FS/CliFs.js +0 -136
  150. package/dist/FS/CliFs.js.map +0 -1
  151. package/dist/HttpClient/CliHttpClient.d.ts +0 -43
  152. package/dist/HttpClient/CliHttpClient.d.ts.map +0 -1
  153. package/dist/HttpClient/CliHttpClient.js +0 -320
  154. package/dist/HttpClient/CliHttpClient.js.map +0 -1
  155. package/dist/HttpClient/HttpForward.d.ts +0 -9
  156. package/dist/HttpClient/HttpForward.d.ts.map +0 -1
  157. package/dist/HttpClient/HttpForward.js +0 -56
  158. package/dist/HttpClient/HttpForward.js.map +0 -1
  159. package/dist/Logger/BufferedTelemetryWriter.d.ts +0 -20
  160. package/dist/Logger/BufferedTelemetryWriter.d.ts.map +0 -1
  161. package/dist/Logger/BufferedTelemetryWriter.js +0 -163
  162. package/dist/Logger/BufferedTelemetryWriter.js.map +0 -1
  163. package/dist/Logger/CliLogger.d.ts +0 -59
  164. package/dist/Logger/CliLogger.d.ts.map +0 -1
  165. package/dist/Logger/CliLogger.js +0 -364
  166. package/dist/Logger/CliLogger.js.map +0 -1
  167. package/dist/Logger/ConsoleWriter.d.ts +0 -23
  168. package/dist/Logger/ConsoleWriter.d.ts.map +0 -1
  169. package/dist/Logger/ConsoleWriter.js +0 -66
  170. package/dist/Logger/ConsoleWriter.js.map +0 -1
  171. package/dist/Logger/Constants.d.ts +0 -6
  172. package/dist/Logger/Constants.d.ts.map +0 -1
  173. package/dist/Logger/Constants.js +0 -15
  174. package/dist/Logger/Constants.js.map +0 -1
  175. package/dist/Logger/LoggerSettings.d.ts +0 -18
  176. package/dist/Logger/LoggerSettings.d.ts.map +0 -1
  177. package/dist/Logger/LoggerSettings.js +0 -78
  178. package/dist/Logger/LoggerSettings.js.map +0 -1
  179. package/dist/Logger/OneDSWriter.d.ts +0 -26
  180. package/dist/Logger/OneDSWriter.d.ts.map +0 -1
  181. package/dist/Logger/OneDSWriter.js +0 -211
  182. package/dist/Logger/OneDSWriter.js.map +0 -1
  183. package/dist/Logger/Scrubber/ScrubCustomDimensions.d.ts +0 -5
  184. package/dist/Logger/Scrubber/ScrubCustomDimensions.d.ts.map +0 -1
  185. package/dist/Logger/Scrubber/ScrubCustomDimensions.js +0 -46
  186. package/dist/Logger/Scrubber/ScrubCustomDimensions.js.map +0 -1
  187. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.d.ts +0 -27
  188. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.d.ts.map +0 -1
  189. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.js +0 -168
  190. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.js.map +0 -1
  191. package/dist/Logger/Scrubber/ScrubUtils.d.ts +0 -8
  192. package/dist/Logger/Scrubber/ScrubUtils.d.ts.map +0 -1
  193. package/dist/Logger/Scrubber/ScrubUtils.js +0 -34
  194. package/dist/Logger/Scrubber/ScrubUtils.js.map +0 -1
  195. package/dist/Middletier/FunctionsBundler.d.ts +0 -17
  196. package/dist/Middletier/FunctionsBundler.d.ts.map +0 -1
  197. package/dist/Middletier/FunctionsBundler.js +0 -169
  198. package/dist/Middletier/FunctionsBundler.js.map +0 -1
  199. package/dist/Middletier/PackFunctions.d.ts +0 -53
  200. package/dist/Middletier/PackFunctions.d.ts.map +0 -1
  201. package/dist/Middletier/PackFunctions.js +0 -123
  202. package/dist/Middletier/PackFunctions.js.map +0 -1
  203. package/dist/Testing/MockFetch.d.ts +0 -23
  204. package/dist/Testing/MockFetch.d.ts.map +0 -1
  205. package/dist/Testing/MockFetch.js +0 -177
  206. package/dist/Testing/MockFetch.js.map +0 -1
  207. package/dist/Testing/MockRoutes.d.ts +0 -34
  208. package/dist/Testing/MockRoutes.d.ts.map +0 -1
  209. package/dist/Testing/MockRoutes.js +0 -226
  210. package/dist/Testing/MockRoutes.js.map +0 -1
  211. package/dist/Testing/fixtures/connectors/commondataserviceforapps.d.ts +0 -6
  212. package/dist/Testing/fixtures/connectors/commondataserviceforapps.d.ts.map +0 -1
  213. package/dist/Testing/fixtures/connectors/commondataserviceforapps.js +0 -25
  214. package/dist/Testing/fixtures/connectors/commondataserviceforapps.js.map +0 -1
  215. package/dist/Testing/fixtures/connectors/dataverseContactEntity.d.ts +0 -6
  216. package/dist/Testing/fixtures/connectors/dataverseContactEntity.d.ts.map +0 -1
  217. package/dist/Testing/fixtures/connectors/dataverseContactEntity.js +0 -55
  218. package/dist/Testing/fixtures/connectors/dataverseContactEntity.js.map +0 -1
  219. package/dist/Testing/fixtures/connectors/excelonlinebusiness.d.ts +0 -6
  220. package/dist/Testing/fixtures/connectors/excelonlinebusiness.d.ts.map +0 -1
  221. package/dist/Testing/fixtures/connectors/excelonlinebusiness.js +0 -1970
  222. package/dist/Testing/fixtures/connectors/excelonlinebusiness.js.map +0 -1
  223. package/dist/Testing/fixtures/connectors/kusto.d.ts +0 -6
  224. package/dist/Testing/fixtures/connectors/kusto.d.ts.map +0 -1
  225. package/dist/Testing/fixtures/connectors/kusto.js +0 -1333
  226. package/dist/Testing/fixtures/connectors/kusto.js.map +0 -1
  227. package/dist/Testing/fixtures/connectors/msnweather.d.ts +0 -6
  228. package/dist/Testing/fixtures/connectors/msnweather.d.ts.map +0 -1
  229. package/dist/Testing/fixtures/connectors/msnweather.js +0 -917
  230. package/dist/Testing/fixtures/connectors/msnweather.js.map +0 -1
  231. package/dist/Testing/fixtures/connectors/office365groups.d.ts +0 -6
  232. package/dist/Testing/fixtures/connectors/office365groups.d.ts.map +0 -1
  233. package/dist/Testing/fixtures/connectors/office365groups.js +0 -2144
  234. package/dist/Testing/fixtures/connectors/office365groups.js.map +0 -1
  235. package/dist/Testing/fixtures/connectors/office365users.d.ts +0 -6
  236. package/dist/Testing/fixtures/connectors/office365users.d.ts.map +0 -1
  237. package/dist/Testing/fixtures/connectors/office365users.js +0 -1969
  238. package/dist/Testing/fixtures/connectors/office365users.js.map +0 -1
  239. package/dist/Testing/fixtures/connectors/onedriveforbusiness.d.ts +0 -6
  240. package/dist/Testing/fixtures/connectors/onedriveforbusiness.d.ts.map +0 -1
  241. package/dist/Testing/fixtures/connectors/onedriveforbusiness.js +0 -4873
  242. package/dist/Testing/fixtures/connectors/onedriveforbusiness.js.map +0 -1
  243. package/dist/Testing/fixtures/connectors/powerappsforappmakers.d.ts +0 -6
  244. package/dist/Testing/fixtures/connectors/powerappsforappmakers.d.ts.map +0 -1
  245. package/dist/Testing/fixtures/connectors/powerappsforappmakers.js +0 -4682
  246. package/dist/Testing/fixtures/connectors/powerappsforappmakers.js.map +0 -1
  247. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.d.ts +0 -6
  248. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.d.ts.map +0 -1
  249. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.js +0 -1078
  250. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.js.map +0 -1
  251. package/dist/Testing/fixtures/connectors/sharepointonline.d.ts +0 -6
  252. package/dist/Testing/fixtures/connectors/sharepointonline.d.ts.map +0 -1
  253. package/dist/Testing/fixtures/connectors/sharepointonline.js +0 -28
  254. package/dist/Testing/fixtures/connectors/sharepointonline.js.map +0 -1
  255. package/dist/Testing/fixtures/connectors/teams.d.ts +0 -6
  256. package/dist/Testing/fixtures/connectors/teams.d.ts.map +0 -1
  257. package/dist/Testing/fixtures/connectors/teams.js +0 -9987
  258. package/dist/Testing/fixtures/connectors/teams.js.map +0 -1
  259. package/dist/Testing/fixtures/connectors/translatorv2.d.ts +0 -6
  260. package/dist/Testing/fixtures/connectors/translatorv2.d.ts.map +0 -1
  261. package/dist/Testing/fixtures/connectors/translatorv2.js +0 -307
  262. package/dist/Testing/fixtures/connectors/translatorv2.js.map +0 -1
  263. package/dist/Testing/fixtures/index.d.ts +0 -23
  264. package/dist/Testing/fixtures/index.d.ts.map +0 -1
  265. package/dist/Testing/fixtures/index.js +0 -96
  266. package/dist/Testing/fixtures/index.js.map +0 -1
  267. package/dist/Types/Argument.types.d.ts +0 -28
  268. package/dist/Types/Argument.types.d.ts.map +0 -1
  269. package/dist/Types/Argument.types.js +0 -5
  270. package/dist/Types/Argument.types.js.map +0 -1
  271. package/dist/Types/Cli.types.d.ts +0 -82
  272. package/dist/Types/Cli.types.d.ts.map +0 -1
  273. package/dist/Types/Cli.types.js +0 -5
  274. package/dist/Types/Cli.types.js.map +0 -1
  275. package/dist/Types/Command.types.d.ts +0 -69
  276. package/dist/Types/Command.types.d.ts.map +0 -1
  277. package/dist/Types/Command.types.js +0 -20
  278. package/dist/Types/Command.types.js.map +0 -1
  279. package/dist/Types/Datasource.types.d.ts +0 -30
  280. package/dist/Types/Datasource.types.d.ts.map +0 -1
  281. package/dist/Types/Datasource.types.js +0 -5
  282. package/dist/Types/Datasource.types.js.map +0 -1
  283. package/dist/Types/LoggerTypes.types.d.ts +0 -18
  284. package/dist/Types/LoggerTypes.types.d.ts.map +0 -1
  285. package/dist/Types/LoggerTypes.types.js +0 -5
  286. package/dist/Types/LoggerTypes.types.js.map +0 -1
  287. package/dist/Utils/BuildPolling.d.ts +0 -43
  288. package/dist/Utils/BuildPolling.d.ts.map +0 -1
  289. package/dist/Utils/BuildPolling.js +0 -139
  290. package/dist/Utils/BuildPolling.js.map +0 -1
  291. package/dist/Utils/BuildVerbDescriptionTable.d.ts +0 -29
  292. package/dist/Utils/BuildVerbDescriptionTable.d.ts.map +0 -1
  293. package/dist/Utils/BuildVerbDescriptionTable.js +0 -147
  294. package/dist/Utils/BuildVerbDescriptionTable.js.map +0 -1
  295. package/dist/Utils/CoerceCliVersion.d.ts +0 -27
  296. package/dist/Utils/CoerceCliVersion.d.ts.map +0 -1
  297. package/dist/Utils/CoerceCliVersion.js +0 -67
  298. package/dist/Utils/CoerceCliVersion.js.map +0 -1
  299. package/dist/Utils/ConnectorIds.d.ts +0 -12
  300. package/dist/Utils/ConnectorIds.d.ts.map +0 -1
  301. package/dist/Utils/ConnectorIds.js +0 -20
  302. package/dist/Utils/ConnectorIds.js.map +0 -1
  303. package/dist/Utils/ConsoleOutput.d.ts +0 -86
  304. package/dist/Utils/ConsoleOutput.d.ts.map +0 -1
  305. package/dist/Utils/ConsoleOutput.js +0 -162
  306. package/dist/Utils/ConsoleOutput.js.map +0 -1
  307. package/dist/Utils/DcfRecovery.d.ts +0 -84
  308. package/dist/Utils/DcfRecovery.d.ts.map +0 -1
  309. package/dist/Utils/DcfRecovery.js +0 -246
  310. package/dist/Utils/DcfRecovery.js.map +0 -1
  311. package/dist/Utils/DetectPackageManager.d.ts +0 -9
  312. package/dist/Utils/DetectPackageManager.d.ts.map +0 -1
  313. package/dist/Utils/DetectPackageManager.js +0 -24
  314. package/dist/Utils/DetectPackageManager.js.map +0 -1
  315. package/dist/Utils/DownloadTemplate.d.ts +0 -45
  316. package/dist/Utils/DownloadTemplate.d.ts.map +0 -1
  317. package/dist/Utils/DownloadTemplate.js +0 -161
  318. package/dist/Utils/DownloadTemplate.js.map +0 -1
  319. package/dist/Utils/EnhanceNetworkError.d.ts +0 -14
  320. package/dist/Utils/EnhanceNetworkError.d.ts.map +0 -1
  321. package/dist/Utils/EnhanceNetworkError.js +0 -61
  322. package/dist/Utils/EnhanceNetworkError.js.map +0 -1
  323. package/dist/Utils/EnvVars.d.ts +0 -17
  324. package/dist/Utils/EnvVars.d.ts.map +0 -1
  325. package/dist/Utils/EnvVars.js +0 -38
  326. package/dist/Utils/EnvVars.js.map +0 -1
  327. package/dist/Utils/EnvironmentRoutingUtils.d.ts +0 -81
  328. package/dist/Utils/EnvironmentRoutingUtils.d.ts.map +0 -1
  329. package/dist/Utils/EnvironmentRoutingUtils.js +0 -204
  330. package/dist/Utils/EnvironmentRoutingUtils.js.map +0 -1
  331. package/dist/Utils/FindAvailablePort.d.ts +0 -39
  332. package/dist/Utils/FindAvailablePort.d.ts.map +0 -1
  333. package/dist/Utils/FindAvailablePort.js +0 -105
  334. package/dist/Utils/FindAvailablePort.js.map +0 -1
  335. package/dist/Utils/GitCredentialConfig.d.ts +0 -12
  336. package/dist/Utils/GitCredentialConfig.d.ts.map +0 -1
  337. package/dist/Utils/GitCredentialConfig.js +0 -32
  338. package/dist/Utils/GitCredentialConfig.js.map +0 -1
  339. package/dist/Utils/GitErrorClassifier.d.ts +0 -40
  340. package/dist/Utils/GitErrorClassifier.d.ts.map +0 -1
  341. package/dist/Utils/GitErrorClassifier.js +0 -120
  342. package/dist/Utils/GitErrorClassifier.js.map +0 -1
  343. package/dist/Utils/GitHubDcfFlow.d.ts +0 -59
  344. package/dist/Utils/GitHubDcfFlow.d.ts.map +0 -1
  345. package/dist/Utils/GitHubDcfFlow.js +0 -165
  346. package/dist/Utils/GitHubDcfFlow.js.map +0 -1
  347. package/dist/Utils/GitRunner.d.ts +0 -107
  348. package/dist/Utils/GitRunner.d.ts.map +0 -1
  349. package/dist/Utils/GitRunner.js +0 -89
  350. package/dist/Utils/GitRunner.js.map +0 -1
  351. package/dist/Utils/GitUtils.d.ts +0 -43
  352. package/dist/Utils/GitUtils.d.ts.map +0 -1
  353. package/dist/Utils/GitUtils.js +0 -120
  354. package/dist/Utils/GitUtils.js.map +0 -1
  355. package/dist/Utils/GitVersionChecker.d.ts +0 -38
  356. package/dist/Utils/GitVersionChecker.d.ts.map +0 -1
  357. package/dist/Utils/GitVersionChecker.js +0 -64
  358. package/dist/Utils/GitVersionChecker.js.map +0 -1
  359. package/dist/Utils/HelpBanner.d.ts +0 -11
  360. package/dist/Utils/HelpBanner.d.ts.map +0 -1
  361. package/dist/Utils/HelpBanner.js +0 -15
  362. package/dist/Utils/HelpBanner.js.map +0 -1
  363. package/dist/Utils/MaafAppConfig.d.ts +0 -24
  364. package/dist/Utils/MaafAppConfig.d.ts.map +0 -1
  365. package/dist/Utils/MaafAppConfig.js +0 -38
  366. package/dist/Utils/MaafAppConfig.js.map +0 -1
  367. package/dist/Utils/NodeVersionChecker.d.ts +0 -10
  368. package/dist/Utils/NodeVersionChecker.d.ts.map +0 -1
  369. package/dist/Utils/NodeVersionChecker.js +0 -21
  370. package/dist/Utils/NodeVersionChecker.js.map +0 -1
  371. package/dist/Utils/Paging.d.ts +0 -29
  372. package/dist/Utils/Paging.d.ts.map +0 -1
  373. package/dist/Utils/Paging.js +0 -102
  374. package/dist/Utils/Paging.js.map +0 -1
  375. package/dist/Utils/PinCli.d.ts +0 -33
  376. package/dist/Utils/PinCli.d.ts.map +0 -1
  377. package/dist/Utils/PinCli.js +0 -77
  378. package/dist/Utils/PinCli.js.map +0 -1
  379. package/dist/Utils/ReadPackageJson.d.ts +0 -9
  380. package/dist/Utils/ReadPackageJson.d.ts.map +0 -1
  381. package/dist/Utils/ReadPackageJson.js +0 -13
  382. package/dist/Utils/ReadPackageJson.js.map +0 -1
  383. package/dist/Utils/RepoDetails.d.ts +0 -29
  384. package/dist/Utils/RepoDetails.d.ts.map +0 -1
  385. package/dist/Utils/RepoDetails.js +0 -37
  386. package/dist/Utils/RepoDetails.js.map +0 -1
  387. package/dist/Utils/RepoOption.d.ts +0 -42
  388. package/dist/Utils/RepoOption.d.ts.map +0 -1
  389. package/dist/Utils/RepoOption.js +0 -63
  390. package/dist/Utils/RepoOption.js.map +0 -1
  391. package/dist/Utils/RepoUrl.d.ts +0 -18
  392. package/dist/Utils/RepoUrl.d.ts.map +0 -1
  393. package/dist/Utils/RepoUrl.js +0 -6
  394. package/dist/Utils/RepoUrl.js.map +0 -1
  395. package/dist/Utils/ResolveCommand.d.ts +0 -62
  396. package/dist/Utils/ResolveCommand.d.ts.map +0 -1
  397. package/dist/Utils/ResolveCommand.js +0 -141
  398. package/dist/Utils/ResolveCommand.js.map +0 -1
  399. package/dist/Utils/RunCommand.d.ts +0 -33
  400. package/dist/Utils/RunCommand.d.ts.map +0 -1
  401. package/dist/Utils/RunCommand.js +0 -83
  402. package/dist/Utils/RunCommand.js.map +0 -1
  403. package/dist/Utils/ShareAccessRouting.d.ts +0 -78
  404. package/dist/Utils/ShareAccessRouting.d.ts.map +0 -1
  405. package/dist/Utils/ShareAccessRouting.js +0 -93
  406. package/dist/Utils/ShareAccessRouting.js.map +0 -1
  407. package/dist/Utils/Spinner.d.ts +0 -23
  408. package/dist/Utils/Spinner.d.ts.map +0 -1
  409. package/dist/Utils/Spinner.js +0 -94
  410. package/dist/Utils/Spinner.js.map +0 -1
  411. package/dist/Utils/zipBuildArtifact.d.ts +0 -35
  412. package/dist/Utils/zipBuildArtifact.d.ts.map +0 -1
  413. package/dist/Utils/zipBuildArtifact.js +0 -100
  414. package/dist/Utils/zipBuildArtifact.js.map +0 -1
  415. package/dist/Verbs/AddAction.d.ts +0 -6
  416. package/dist/Verbs/AddAction.d.ts.map +0 -1
  417. package/dist/Verbs/AddAction.js +0 -58
  418. package/dist/Verbs/AddAction.js.map +0 -1
  419. package/dist/Verbs/AddConnector.d.ts +0 -26
  420. package/dist/Verbs/AddConnector.d.ts.map +0 -1
  421. package/dist/Verbs/AddConnector.js +0 -222
  422. package/dist/Verbs/AddConnector.js.map +0 -1
  423. package/dist/Verbs/AddConnectorFlows.d.ts +0 -97
  424. package/dist/Verbs/AddConnectorFlows.d.ts.map +0 -1
  425. package/dist/Verbs/AddConnectorFlows.js +0 -298
  426. package/dist/Verbs/AddConnectorFlows.js.map +0 -1
  427. package/dist/Verbs/AddDataSource.d.ts +0 -18
  428. package/dist/Verbs/AddDataSource.d.ts.map +0 -1
  429. package/dist/Verbs/AddDataSource.js +0 -162
  430. package/dist/Verbs/AddDataSource.js.map +0 -1
  431. package/dist/Verbs/AddFlow.d.ts +0 -12
  432. package/dist/Verbs/AddFlow.d.ts.map +0 -1
  433. package/dist/Verbs/AddFlow.js +0 -62
  434. package/dist/Verbs/AddFlow.js.map +0 -1
  435. package/dist/Verbs/AddTable.d.ts +0 -6
  436. package/dist/Verbs/AddTable.d.ts.map +0 -1
  437. package/dist/Verbs/AddTable.js +0 -78
  438. package/dist/Verbs/AddTable.js.map +0 -1
  439. package/dist/Verbs/AuthStatus.d.ts +0 -6
  440. package/dist/Verbs/AuthStatus.d.ts.map +0 -1
  441. package/dist/Verbs/AuthStatus.js +0 -49
  442. package/dist/Verbs/AuthStatus.js.map +0 -1
  443. package/dist/Verbs/AuthSwitch.d.ts +0 -6
  444. package/dist/Verbs/AuthSwitch.d.ts.map +0 -1
  445. package/dist/Verbs/AuthSwitch.js +0 -67
  446. package/dist/Verbs/AuthSwitch.js.map +0 -1
  447. package/dist/Verbs/BuildMaafApp.d.ts +0 -6
  448. package/dist/Verbs/BuildMaafApp.d.ts.map +0 -1
  449. package/dist/Verbs/BuildMaafApp.js +0 -172
  450. package/dist/Verbs/BuildMaafApp.js.map +0 -1
  451. package/dist/Verbs/ConnectorHelpers.d.ts +0 -164
  452. package/dist/Verbs/ConnectorHelpers.d.ts.map +0 -1
  453. package/dist/Verbs/ConnectorHelpers.js +0 -563
  454. package/dist/Verbs/ConnectorHelpers.js.map +0 -1
  455. package/dist/Verbs/CreateMaafApp.d.ts +0 -107
  456. package/dist/Verbs/CreateMaafApp.d.ts.map +0 -1
  457. package/dist/Verbs/CreateMaafApp.js +0 -1081
  458. package/dist/Verbs/CreateMaafApp.js.map +0 -1
  459. package/dist/Verbs/DeleteMaafApp.d.ts +0 -27
  460. package/dist/Verbs/DeleteMaafApp.d.ts.map +0 -1
  461. package/dist/Verbs/DeleteMaafApp.js +0 -114
  462. package/dist/Verbs/DeleteMaafApp.js.map +0 -1
  463. package/dist/Verbs/DeployMaafApp.d.ts +0 -6
  464. package/dist/Verbs/DeployMaafApp.d.ts.map +0 -1
  465. package/dist/Verbs/DeployMaafApp.js +0 -495
  466. package/dist/Verbs/DeployMaafApp.js.map +0 -1
  467. package/dist/Verbs/Dev.d.ts +0 -6
  468. package/dist/Verbs/Dev.d.ts.map +0 -1
  469. package/dist/Verbs/Dev.js +0 -276
  470. package/dist/Verbs/Dev.js.map +0 -1
  471. package/dist/Verbs/FindDataverseApi.d.ts +0 -12
  472. package/dist/Verbs/FindDataverseApi.d.ts.map +0 -1
  473. package/dist/Verbs/FindDataverseApi.js +0 -87
  474. package/dist/Verbs/FindDataverseApi.js.map +0 -1
  475. package/dist/Verbs/GetMaafApp.d.ts +0 -6
  476. package/dist/Verbs/GetMaafApp.d.ts.map +0 -1
  477. package/dist/Verbs/GetMaafApp.js +0 -80
  478. package/dist/Verbs/GetMaafApp.js.map +0 -1
  479. package/dist/Verbs/GetMaafBuildStatus.d.ts +0 -6
  480. package/dist/Verbs/GetMaafBuildStatus.d.ts.map +0 -1
  481. package/dist/Verbs/GetMaafBuildStatus.js +0 -132
  482. package/dist/Verbs/GetMaafBuildStatus.js.map +0 -1
  483. package/dist/Verbs/GetSettings.d.ts +0 -12
  484. package/dist/Verbs/GetSettings.d.ts.map +0 -1
  485. package/dist/Verbs/GetSettings.js +0 -39
  486. package/dist/Verbs/GetSettings.js.map +0 -1
  487. package/dist/Verbs/Init.d.ts +0 -6
  488. package/dist/Verbs/Init.d.ts.map +0 -1
  489. package/dist/Verbs/Init.js +0 -426
  490. package/dist/Verbs/Init.js.map +0 -1
  491. package/dist/Verbs/ListConnectionReferences.d.ts +0 -6
  492. package/dist/Verbs/ListConnectionReferences.d.ts.map +0 -1
  493. package/dist/Verbs/ListConnectionReferences.js +0 -56
  494. package/dist/Verbs/ListConnectionReferences.js.map +0 -1
  495. package/dist/Verbs/ListConnectorActions.d.ts +0 -6
  496. package/dist/Verbs/ListConnectorActions.d.ts.map +0 -1
  497. package/dist/Verbs/ListConnectorActions.js +0 -87
  498. package/dist/Verbs/ListConnectorActions.js.map +0 -1
  499. package/dist/Verbs/ListConnectors.d.ts +0 -6
  500. package/dist/Verbs/ListConnectors.d.ts.map +0 -1
  501. package/dist/Verbs/ListConnectors.js +0 -91
  502. package/dist/Verbs/ListConnectors.js.map +0 -1
  503. package/dist/Verbs/ListDatasets.d.ts +0 -6
  504. package/dist/Verbs/ListDatasets.d.ts.map +0 -1
  505. package/dist/Verbs/ListDatasets.js +0 -73
  506. package/dist/Verbs/ListDatasets.js.map +0 -1
  507. package/dist/Verbs/ListEnvironmentVariables.d.ts +0 -14
  508. package/dist/Verbs/ListEnvironmentVariables.d.ts.map +0 -1
  509. package/dist/Verbs/ListEnvironmentVariables.js +0 -52
  510. package/dist/Verbs/ListEnvironmentVariables.js.map +0 -1
  511. package/dist/Verbs/ListFlows.d.ts +0 -13
  512. package/dist/Verbs/ListFlows.d.ts.map +0 -1
  513. package/dist/Verbs/ListFlows.js +0 -73
  514. package/dist/Verbs/ListFlows.js.map +0 -1
  515. package/dist/Verbs/ListMaafApps.d.ts +0 -84
  516. package/dist/Verbs/ListMaafApps.d.ts.map +0 -1
  517. package/dist/Verbs/ListMaafApps.js +0 -221
  518. package/dist/Verbs/ListMaafApps.js.map +0 -1
  519. package/dist/Verbs/ListSqlStoredProcedures.d.ts +0 -6
  520. package/dist/Verbs/ListSqlStoredProcedures.d.ts.map +0 -1
  521. package/dist/Verbs/ListSqlStoredProcedures.js +0 -75
  522. package/dist/Verbs/ListSqlStoredProcedures.js.map +0 -1
  523. package/dist/Verbs/ListTables.d.ts +0 -6
  524. package/dist/Verbs/ListTables.d.ts.map +0 -1
  525. package/dist/Verbs/ListTables.js +0 -85
  526. package/dist/Verbs/ListTables.js.map +0 -1
  527. package/dist/Verbs/Login.d.ts +0 -6
  528. package/dist/Verbs/Login.d.ts.map +0 -1
  529. package/dist/Verbs/Login.js +0 -39
  530. package/dist/Verbs/Login.js.map +0 -1
  531. package/dist/Verbs/Logout.d.ts +0 -6
  532. package/dist/Verbs/Logout.d.ts.map +0 -1
  533. package/dist/Verbs/Logout.js +0 -34
  534. package/dist/Verbs/Logout.js.map +0 -1
  535. package/dist/Verbs/MaafAppPermissions.d.ts +0 -40
  536. package/dist/Verbs/MaafAppPermissions.d.ts.map +0 -1
  537. package/dist/Verbs/MaafAppPermissions.js +0 -651
  538. package/dist/Verbs/MaafAppPermissions.js.map +0 -1
  539. package/dist/Verbs/Pack.d.ts +0 -71
  540. package/dist/Verbs/Pack.d.ts.map +0 -1
  541. package/dist/Verbs/Pack.js +0 -370
  542. package/dist/Verbs/Pack.js.map +0 -1
  543. package/dist/Verbs/PlayMaafApp.d.ts +0 -22
  544. package/dist/Verbs/PlayMaafApp.d.ts.map +0 -1
  545. package/dist/Verbs/PlayMaafApp.js +0 -147
  546. package/dist/Verbs/PlayMaafApp.js.map +0 -1
  547. package/dist/Verbs/RefreshDataSource.d.ts +0 -21
  548. package/dist/Verbs/RefreshDataSource.d.ts.map +0 -1
  549. package/dist/Verbs/RefreshDataSource.js +0 -87
  550. package/dist/Verbs/RefreshDataSource.js.map +0 -1
  551. package/dist/Verbs/RefreshGitAuth.d.ts +0 -6
  552. package/dist/Verbs/RefreshGitAuth.d.ts.map +0 -1
  553. package/dist/Verbs/RefreshGitAuth.js +0 -155
  554. package/dist/Verbs/RefreshGitAuth.js.map +0 -1
  555. package/dist/Verbs/RemoveDataSource.d.ts +0 -6
  556. package/dist/Verbs/RemoveDataSource.d.ts.map +0 -1
  557. package/dist/Verbs/RemoveDataSource.js +0 -172
  558. package/dist/Verbs/RemoveDataSource.js.map +0 -1
  559. package/dist/Verbs/RemoveFlow.d.ts +0 -12
  560. package/dist/Verbs/RemoveFlow.d.ts.map +0 -1
  561. package/dist/Verbs/RemoveFlow.js +0 -94
  562. package/dist/Verbs/RemoveFlow.js.map +0 -1
  563. package/dist/Verbs/SetSetting.d.ts +0 -12
  564. package/dist/Verbs/SetSetting.d.ts.map +0 -1
  565. package/dist/Verbs/SetSetting.js +0 -131
  566. package/dist/Verbs/SetSetting.js.map +0 -1
  567. package/dist/Verbs/ShareLinkCreate.d.ts +0 -23
  568. package/dist/Verbs/ShareLinkCreate.d.ts.map +0 -1
  569. package/dist/Verbs/ShareLinkCreate.js +0 -73
  570. package/dist/Verbs/ShareLinkCreate.js.map +0 -1
  571. package/dist/Verbs/ShareLinkList.d.ts +0 -16
  572. package/dist/Verbs/ShareLinkList.d.ts.map +0 -1
  573. package/dist/Verbs/ShareLinkList.js +0 -84
  574. package/dist/Verbs/ShareLinkList.js.map +0 -1
  575. package/dist/Verbs/ShareLinkRevoke.d.ts +0 -22
  576. package/dist/Verbs/ShareLinkRevoke.d.ts.map +0 -1
  577. package/dist/Verbs/ShareLinkRevoke.js +0 -137
  578. package/dist/Verbs/ShareLinkRevoke.js.map +0 -1
  579. package/dist/Verbs/ShareList.d.ts +0 -10
  580. package/dist/Verbs/ShareList.d.ts.map +0 -1
  581. package/dist/Verbs/ShareList.js +0 -254
  582. package/dist/Verbs/ShareList.js.map +0 -1
  583. package/dist/Verbs/ShareMaafApp.d.ts +0 -12
  584. package/dist/Verbs/ShareMaafApp.d.ts.map +0 -1
  585. package/dist/Verbs/ShareMaafApp.js +0 -14
  586. package/dist/Verbs/ShareMaafApp.js.map +0 -1
  587. package/dist/Verbs/ShowMaafApp.d.ts +0 -100
  588. package/dist/Verbs/ShowMaafApp.d.ts.map +0 -1
  589. package/dist/Verbs/ShowMaafApp.js +0 -224
  590. package/dist/Verbs/ShowMaafApp.js.map +0 -1
  591. package/dist/Verbs/TelemetrySettings.d.ts +0 -8
  592. package/dist/Verbs/TelemetrySettings.d.ts.map +0 -1
  593. package/dist/Verbs/TelemetrySettings.js +0 -104
  594. package/dist/Verbs/TelemetrySettings.js.map +0 -1
  595. package/dist/Verbs/UnshareMaafApp.d.ts +0 -12
  596. package/dist/Verbs/UnshareMaafApp.d.ts.map +0 -1
  597. package/dist/Verbs/UnshareMaafApp.js +0 -14
  598. package/dist/Verbs/UnshareMaafApp.js.map +0 -1
  599. package/dist/Verbs/VerbConstants.d.ts +0 -628
  600. package/dist/Verbs/VerbConstants.d.ts.map +0 -1
  601. package/dist/Verbs/VerbConstants.js +0 -557
  602. package/dist/Verbs/VerbConstants.js.map +0 -1
  603. package/dist/Verbs/index.d.ts +0 -47
  604. package/dist/Verbs/index.d.ts.map +0 -1
  605. package/dist/Verbs/index.js +0 -47
  606. package/dist/Verbs/index.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import"./chunk-UT667QSU.js";var n=class e{static FAKE_ACCESS_TOKEN="noop-access-token";static FAKE_TENANT_ID="00000000-0000-0000-0000-000000000000";async initAsync(i){}async getAccessTokenForResource(i,t){return e.FAKE_ACCESS_TOKEN}getUserTenantId(){return e.FAKE_TENANT_ID}async getCachedAccountAsync(){return"No-Op Auth"}};export{n as NoOpAuthenticationProvider};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=NoOpAuthenticationProvider-DX3XNXF5.js.map
@@ -0,0 +1,17 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{a as w,b as y}from"./chunk-3YRE4IQ3.js";import"./chunk-HBLO3WDD.js";import{a as I}from"./chunk-OL6CTXQR.js";import"./chunk-TYRVM4PP.js";import{k as v}from"./chunk-5AUOEXAR.js";import{va as m}from"./chunk-G33Q5FWT.js";import{b as u}from"./chunk-RBG2H562.js";import{c as h,e as f,f as g,m as _}from"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{i as p,j as A}from"./chunk-PVAIJSAI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";import*as b from"node:fs";import*as R from"node:path";import E from"open";import*as c from"fs";import*as C from"path";var S="active-account.json",d=class{constructor(e=h){this._cacheDir=e;this._filePath=C.join(this._cacheDir,S)}_cacheDir;_filePath;read(){if(c.existsSync(this._filePath))try{let e=c.readFileSync(this._filePath,"utf-8"),t=JSON.parse(e);return typeof t.homeAccountId=="string"&&typeof t.username=="string"&&t.homeAccountId.length>0?{homeAccountId:t.homeAccountId,username:t.username}:void 0}catch{return}}write(e){c.mkdirSync(this._cacheDir,{recursive:!0});let t=`${this._filePath}.${process.pid}.tmp`;c.writeFileSync(t,JSON.stringify(e,null,2),"utf-8"),c.renameSync(t,this._filePath)}clear(){let e=c.existsSync(this._filePath);return c.rmSync(this._filePath,{force:!0}),e}};var P=class{_msalClient;_tenantId;_region;_persistence;_activeStore;_cacheDirectory;_isJsonMode=()=>process.argv.includes("--json");constructor(e=h){this._cacheDirectory=e,this._activeStore=new d(e)}async initAsync(e){this._region=e;let{DataProtectionScope:t,PersistenceCachePlugin:n,PersistenceCreator:i}=await import("@azure/msal-node-extensions"),r={cachePath:R.join(this._cacheDirectory,"msal_cache.json"),dataProtectionScope:t.CurrentUser,serviceName:f,accountName:g,usePlaintextFileOnLinux:!1},o=await i.createPersistence(r);this._persistence=o;let l={auth:{authority:v(this._region,this._tenantId),clientId:_},cache:{cachePlugin:new n(o)}};this._msalClient=new y(l)}setJsonModeResolver(e){this._isJsonMode=e}async getAccessTokenForResource(e,t){let n=await this._acquireTokenInternal(e+"/.default",t);return this._tenantId=n.tenantId,n.accessToken}getUserTenantId(){return this._tenantId}async getCachedAccountAsync(){let e=await this._getAccounts();return this._pickActiveAccount(e)?.username}async listCachedAccountsAsync(){let e=await this._getAccounts();if(e.length===0)return[];let t=this._pickActiveAccount(e);return e.map(n=>({homeAccountId:n.homeAccountId,username:n.username,isActive:n.homeAccountId===t?.homeAccountId}))}async setActiveAccountAsync(e){let t=await this._getAccounts(),n=this._findAccount(t,e);if(!n)throw new u(`No cached account matches '${e}'. Run \`${"ms"} auth status\` to list cached accounts.`);return this._activeStore.write({homeAccountId:n.homeAccountId,username:n.username}),{homeAccountId:n.homeAccountId,username:n.username,isActive:!0}}async loginInteractiveAsync(e,t,n){let i=e+"/.default";if(n){let o=await this._signInWithDeviceCodeAndPersist(i);return{homeAccountId:o.account.homeAccountId,username:o.account.username,isActive:!0}}let r=await this._signInInteractiveAndPersist(i,t,{prompt:t?void 0:"select_account"});if(!r.account)throw new Error("Interactive sign-in did not return an account.");return{homeAccountId:r.account.homeAccountId,username:r.account.username,isActive:!0}}async clearCacheAsync(){let e=await this._clearPersistenceAsync(),t=this._activeStore.clear();return b.rmSync(this._cacheDirectory,{recursive:!0,force:!0}),e||t}async _clearPersistenceAsync(){if(!this._persistence)throw new Error("Authentication not initialized yet");let e;try{e=await this._persistence.load()!==null}catch{e=!0}return await this._persistence.delete(),e}async _getAccounts(){if(!this._msalClient)throw new Error("Authentication not initialized yet");try{return await this._msalClient.getTokenCache().getAllAccounts()}catch(e){return p(`Could not read the MSAL token cache (${e.message}). It may have been written by an older CLI version. Run \`${"ms"} auth logout\` and sign in again to reset it.`),[]}}_findAccount(e,t){let n=t.toLowerCase();return e.find(i=>i.homeAccountId.toLowerCase()===n)??e.find(i=>i.username.toLowerCase()===n)}_pickActiveAccount(e){if(e.length===0)return;if(e.length===1)return e[0];let t=this._activeStore.read();if(t)return e.find(n=>n.homeAccountId===t.homeAccountId)}_ensureActivePointer(e){this._activeStore.read()?.homeAccountId!==e.homeAccountId&&this._activeStore.write({homeAccountId:e.homeAccountId,username:e.username})}async _acquireTokenInternal(e,t){if(!this._msalClient)throw new Error("Authentication not initialized yet");let n=await this._getAccounts();if(n.length===0)return this._ensureInteractiveSignInAllowed("no-account"),this._signInInteractiveAndPersist(e,t);let i=this._pickActiveAccount(n);if(!i){let r=n.map(l=>` - ${l.username}`).join(`
8
+ `),o=m().interactive?`Run \`${"ms"} auth switch\` to choose one, or \`${"ms"} auth logout\` to clear all cached accounts and start over.`:`Run \`${"ms"} auth switch --account <email>\` to resolve, then retry.`;throw new u(`Multiple accounts are cached and no active account is selected:
9
+ ${r}
10
+ ${o}`)}try{let r=await this._msalClient.acquireTokenSilent({account:i,scopes:[e]});return this._ensureActivePointer(r.account??i),r}catch(r){if(r instanceof w||T(r))return this._ensureInteractiveSignInAllowed("expired"),this._signInInteractiveAndPersist(e,t??i.username);throw r}}_ensureInteractiveSignInAllowed(e){if(m().interactive)return;let t=e==="no-account"?"You are not signed in":"Your sign-in session has expired and could not be renewed silently";throw new u(`${t}. Interactive sign-in is required, but the CLI is running in non-interactive mode. Run \`${"ms"} auth login\` to sign in, then retry.`)}async _signInInteractiveAndPersist(e,t,n){if(!this._msalClient)throw new Error("Authentication not initialized yet");let i=this._getInteractiveLoginRequest(e,t);n?.prompt&&(i.prompt=n.prompt);let r=process.stdout.isTTY&&!this._isJsonMode()?new I:null;r?.start("Opening your browser to sign in \u2014 complete the sign-in there to continue...");try{let o=await this._msalClient.acquireTokenInteractive(i);return this._tenantId=o.tenantId,o.account&&this._ensureActivePointer(o.account),o}finally{r?.stop()}}async _signInWithDeviceCodeAndPersist(e){if(!this._msalClient)throw new Error("Authentication not initialized yet");let t={scopes:[e],deviceCodeCallback:i=>process.stderr.write(i.message+`
11
+ `)},n=await this._msalClient.acquireTokenByDeviceCode(t);if(!n?.account)throw new Error("Device code sign-in did not return an account.");return this._tenantId=n.tenantId,this._ensureActivePointer(n.account),{...n,account:n.account}}_getInteractiveLoginRequest(e,t){return{scopes:[e],openBrowser:async i=>{try{await E(i,{wait:!1})}catch(r){A(`Couldn't open a browser automatically (${String(r)}).
12
+ Open this URL to finish signing in:
13
+ ${i}`)}},successTemplate:"You can close this window now.",...t&&{loginHint:t}}}};function T(a){if(!(a instanceof Error))return!1;let e=a.errorCode;if(e===3400073247||e==="3400073247")return!0;let t=(a.message??"").toLowerCase();return t.includes("integrated windows auth")&&t.includes("federation")}export{P as NodeMsalAuthenticationProvider};
14
+ /*!
15
+ * Copyright (C) Microsoft Corporation. All rights reserved.
16
+ */
17
+ //# sourceMappingURL=NodeMsalAuthenticationProvider-HTH3V3G2.js.map
@@ -0,0 +1,8 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{b as a,c as b,d as c}from"./chunk-W7EWOZPO.js";import"./chunk-HBLO3WDD.js";import"./chunk-OL6CTXQR.js";import"./chunk-G33Q5FWT.js";import"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import"./chunk-PVAIJSAI.js";import"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";export{a as assertPackPreconditions,b as packAppArtifactAsync,c as packAsync};
8
+ //# sourceMappingURL=Pack-AHKC2MYF.js.map
@@ -0,0 +1,12 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{h as I,i as h}from"./chunk-5AUOEXAR.js";import{ba as w,ua as g}from"./chunk-G33Q5FWT.js";import{b as s}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{o}from"./chunk-6MXOK2LG.js";import{c as y,d as u,h as f,i as v}from"./chunk-PVAIJSAI.js";import{a as r}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";import A from"open";async function E(e){C(e),await e.runVerb();let n=await I(e),t=await h(e),p=await e.getTenantIdAsync();if(!p)throw new s("Unable to determine tenant ID. Ensure you are logged in.");let a=await $(e),c=await e.getOption(o.NoBrowser.camelName,!0)===!1,i=e.isJsonMode(),l=await e.getOption(o.CommitSha.name,!0);if(a==="live"&&l)throw new s("--commit is only valid with --mode preview.");await b({appName:n,environmentId:t,tenantId:p,noBrowser:c,isJson:i,mode:a,commitId:l})}async function b(e){let{appName:n,environmentId:t,tenantId:p,noBrowser:a,isJson:c,mode:i,commitId:l}=e,d=await w({tenantId:p,environmentId:t,logger:g(),actionsParams:{appName:n}}),m=N(d.appPlayUri,i,l);if(!m)throw new s(i==="live"?`No live build is available for app '${n}' yet. Run 'ms app deploy' to deploy one, then re-run 'ms app play'.`:`No appPlayUri is available for app '${n}' in environment '${t}'.`);if(c){u({appName:n,mode:i,url:m,commitHash:d.commitHash??null});return}y(`${i==="live"?"Live":"Preview"} URL for '${d.displayName??n}': ${m}`),i==="live"&&v("Live does not auto-update. Run 'ms app deploy' to publish a new version to the live URL."),await M(m,a)}function N(e,n,t,p="main"){if(!e)return;if(n==="live")return e;let a=e.replace(/\/$/,"");return t?`${a}/commit/${t}`:`${a}/branch/${encodeURIComponent(p)}`}async function M(e,n){if(!n){f(`Opening browser at ${e}`);try{await A(e,{wait:!1})}catch{f(`Could not open browser automatically. Please navigate to:
8
+ ${e}`)}}}async function $(e){let n=await e.getOption(o.Mode.name,!0),t=(n??o.Mode.defaultValue).trim().toLowerCase();if(t!=="live"&&t!=="preview")throw new s(`Invalid --mode value '${n}'. Expected 'live' or 'preview'.`);return t}function C(e){e.setDescription(r.app.play.description),e.addExamples(r.app.play.examples),e.addSwitch({flags:{key:o.NoBrowser.name},description:r.app.play.options.noBrowser}),e.addOptions([{flags:{key:o.AppName.name},env:o.AppName.envVar,description:r.app.play.options.app,optionalInNonInteractive:!0},{flags:{key:o.Mode.name,alias:o.Mode.alias},env:o.Mode.envVar,default:o.Mode.defaultValue,description:r.app.play.options.mode,optionalInNonInteractive:!0},{flags:{key:o.CommitSha.name,alias:o.CommitSha.alias},env:o.CommitSha.envVar,description:r.app.play.options.commit,optionalInNonInteractive:!0}])}export{N as buildPlayUrl,E as playMaafAppAsync};
9
+ /*!
10
+ * Copyright (C) Microsoft Corporation. All rights reserved.
11
+ */
12
+ //# sourceMappingURL=PlayMaafApp-LWKJU2IN.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{g as A}from"./chunk-5AUOEXAR.js";import{V as u,W as g,q as d,ua as h,va as S}from"./chunk-G33Q5FWT.js";import"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{e as t}from"./chunk-6MXOK2LG.js";import{c as p,h as l,j as m}from"./chunk-PVAIJSAI.js";import{a}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function H(e){let N=S(),{fileConfig:n,cliFs:y}=N;P(e),await e.runVerb(),A();let i=!!await e.getOption("offline",!0),s=await e.getOption("name",!0)||void 0,c=d(),f={vfs:y,authProvider:e.getAuthenticationProvider(),httpClient:e.getHttpClient(),region:c.region,environmentName:c.environmentName,localFilePaths:{appConfigPath:n.appConfigPath,schemaPath:n.schemaPath,codeGenPath:n.codeGenPath},logger:h()},o=i?await g({...f,actionsParams:{dataSource:s}}):await u({...f,actionsParams:{dataSourceName:s}}),v=i?"regenerated":"refreshed",C=i?"regenerate":"refresh";for(let r of o.succeeded)p(`'${r}' ${v} successfully.`);for(let r of o.failed)m(`Failed to ${C} '${r.dataSourceName}': ${r.error}`);o.succeeded.length>0&&o.failed.length===0&&l(`Hint: Run '${"ms"} app dev' to test locally.`)}function P(e){e.setDescription(a.app.refresh.dataSource.description),e.addExamples(a.app.refresh.dataSource.examples),e.addOptions([{flags:{key:t.DataSourceName.name,alias:t.DataSourceName.alias},env:t.DataSourceName.envVar,description:a.app.refresh.dataSource.options.name,optionalInNonInteractive:!0}]),e.addSwitch({flags:{key:t.Offline.name},env:t.Offline.env,description:a.app.refresh.dataSource.options.offline})}export{H as refreshDataSourceAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=RefreshDataSource-ZFZJXJ5L.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{a as f,b as D}from"./chunk-MFPX2RFH.js";import{e as b}from"./chunk-5AUOEXAR.js";import{b as w,qa as y,ra as A,ua as m}from"./chunk-G33Q5FWT.js";import{b as p}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{t as o}from"./chunk-6MXOK2LG.js";import{c,d}from"./chunk-PVAIJSAI.js";import{a as n}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function C(e){H(e),await e.runVerb();let l=await e.getTenantIdAsync();if(!l)throw new p("Unable to determine tenant ID. Ensure you are logged in.");if(!e.getEnvironmentId())throw new p("Environment id is required for ms git auth refresh. Set 'environmentId' in ms.config.json, or set the MS_CLI_MAAF_DEBUG_ENVIRONMENT_ID env var for debug runs.");let i=await e.getOption(o.Repo.name);if(!i)throw new p("Argument repo is required. Use --repo or -r to specify the GitHub repository (e.g. --repo https://contoso.ghe.com/contoso/my-app).");let{host:a,owner:t,repo:r}=w(i),I=t&&r?y(t,r):"";m().trackActivityEvent("Git.Auth.Refresh.Start",{repoHost:a,repoHash:I});let E=await e.getOption(o.OpenBrowser.camelName,!0)??!1,g=e.isJsonMode(),R=v({isJson:g,openBrowser:E}),u=new AbortController,h=()=>{u.abort()};process.once("SIGINT",h);let S=a&&t&&r?`https://${a}/${t}/${r}`:i,G=t&&r?`${t}/${r}`:i;try{let s=await A({remoteUrl:S,tenantId:l,logger:m(),display:R,skipBrowser:!1,signal:u.signal});g?d({githubLogin:s.githubLogin,mappingExpiresAt:s.mappingExpiresAt}):(c(`Authenticated as ${s.githubLogin} for ${G}.`),c(`Mapping established; expires around ${s.mappingExpiresAt}.`))}finally{process.removeListener("SIGINT",h)}}function v(e){return e.isJson?new D:e.openBrowser?f:{...f,openVerificationUri:void 0}}function H(e){e.setDescription(n.git.auth.refresh.description),e.addExamples(n.git.auth.refresh.examples),e.addOptions([b({flags:{key:o.Repo.name,alias:o.Repo.alias},env:o.Repo.envVar,message:o.Repo.promptMessage,description:n.git.auth.refresh.options.repo})]),e.addSwitch({flags:{key:o.OpenBrowser.name},description:n.git.auth.refresh.options.openBrowser})}export{C as refreshGitAuthAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=RefreshGitAuth-5A3SX2HC.js.map
@@ -0,0 +1,14 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{b as C,d as E,g as R}from"./chunk-5AUOEXAR.js";import{P as $,Q as N,c as y,q as w,ua as b,va as A}from"./chunk-G33Q5FWT.js";import{b as u}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{d as f}from"./chunk-6MXOK2LG.js";import{a as D,c as S,i as p}from"./chunk-PVAIJSAI.js";import{a as r}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function z(e){let o=A(),{fileConfig:i,cliFs:m}=o;W(e),await e.runVerb(),R();let t=await e.getOption("force",!0),s=await O(i.appConfigPath);if(s.length===0){p("No data sources found in ms.config.json. Nothing to remove.");return}let l;if(o.interactive)l=await F(s);else{let a=await e.getOption("name");if(!a)throw x(s),new u(`Re-run with --name <name>. Example:
8
+ ${"ms"} app remove data-source --name ${s[0]?.name??"<name>"}`);let c=s.find(P=>P.name===a);if(!c)throw x(s),new u(`Data source '${a}' not found in ms.config.json. See available data sources above.`);l=c}let{name:d,kind:v,connectorId:I,connectorDisplayName:g}=l,n=l.dataverseTable?[]:s.filter(a=>a.dataverseTable&&a.connectorId===l.connectorId);if(n.length>0){let a=n.map(c=>c.name).join(", ");p(`Removing '${d}' will also remove ${n.length} associated Dataverse table(s): ${a}.`)}if(!t&&o.interactive){let a=n.length>0?`Remove '${g}' and its ${n.length} Dataverse table(s)?`:`Are you sure you want to remove the ${v} '${d}' from '${g}'?`;if(!await C({message:a})){p("Remove cancelled.");return}}let h=w(),k=e.getAuthenticationProvider(),j={vfs:m,authProvider:k,region:h.region,environmentName:h.environmentName,localFilePaths:i,actionsParams:{apiId:I,dataSourceName:d,sqlStoredProcedure:""},logger:b()};if(await $(j)){if(S(`Removed ${v} '${d}' from '${g}'.`),n.length>0){let a=n.map(c=>c.name).join(", ");S(`Also removed ${n.length} Dataverse table(s): ${a}.`)}}else p(`The ${v} '${d}' was not found or could not be removed.`)}async function O(e){let o;try{o=await y(e)}catch{throw new u(`Could not read ms.config.json at '${e}'. Run this command from your app directory after adding a data source.`)}let{all:i}=N(o);return i.filter(m=>!m.sqlStoredProcedure)}async function F(e){let o=e.map(t=>({value:t.name,label:`${t.name} (${t.connectorDisplayName})`,hint:t.kind})),i=await E({message:"Which data source would you like to remove?",options:o,manualPromptMessage:"Enter the data source name:"}),m=e.find(t=>t.name===i);if(!m)throw new u(`Data source '${i}' not found in ms.config.json.`);return m}function x(e){D({title:"Available data sources",columns:[{header:"Data Source"},{header:"Connector",maxWidth:30},{header:"Type",maxWidth:6}],rows:e.map(o=>[o.name,o.connectorDisplayName,o.kind]),emptyMessage:"No data sources found in ms.config.json.",totalLabel:"data source(s) found"})}function W(e){e.getResolvedCommand()?.path.at(-1)==="connector"?(e.setDescription(`${r.app.remove.deprecation}
9
+
10
+ ${r.app.remove.description}`),e.addExamples(r.app.remove.deprecatedExamples)):(e.setDescription(r.app.remove.description),e.addExamples(r.app.remove.examples)),e.addSwitch({flags:{key:"force",alias:"f"},description:r.app.remove.options.force}),e.addOptions([{flags:{key:f.DataSourceName.name,alias:f.DataSourceName.alias},env:f.DataSourceName.envVar,description:r.app.remove.options.dataSourceName,optionalInNonInteractive:!0}])}export{z as removeDataSourceAsync};
11
+ /*!
12
+ * Copyright (C) Microsoft Corporation. All rights reserved.
13
+ */
14
+ //# sourceMappingURL=RemoveDataSource-57JJLK5I.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{c}from"./chunk-3YRE4IQ3.js";import"./chunk-HBLO3WDD.js";import"./chunk-TYRVM4PP.js";import{k as s}from"./chunk-5AUOEXAR.js";import"./chunk-G33Q5FWT.js";import"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import{a as n,b as r}from"./chunk-7NXJAIJX.js";import"./chunk-PVAIJSAI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";var a=class{_msalClient;_clientId;_clientSecret;_tenantId;_region;constructor(){let t=r("SP_CLIENT_ID"),e=r("SP_CLIENT_SECRET"),i=r("SP_TENANT_ID");if(!t||!e||!i)throw new Error(`Service principal environment variables ${n("SP_CLIENT_ID")}, ${n("SP_CLIENT_SECRET")}, and ${n("SP_TENANT_ID")} must be set`);this._clientId=t,this._clientSecret=e,this._tenantId=i}async initAsync(t){this._region=t;let e={auth:{clientId:this._clientId,clientSecret:this._clientSecret,authority:s(this._region,this._tenantId)}};this._msalClient=new c(e)}async getAccessTokenForResource(t,e){if(!this._msalClient)throw new Error("Authentication not initialized yet");let i={scopes:[t+"/.default"]},o=await this._msalClient.acquireTokenByClientCredential(i);if(!o?.accessToken)throw new Error("Failed to acquire token using service principal");return o.accessToken}getUserTenantId(){return this._tenantId}async getCachedAccountAsync(){return`Service Principal:${this._clientId}`}};export{a as ServicePrincipalAuthenticationProvider};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=ServicePrincipalAuthenticationProvider-SVKDZG6X.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{c as h,d as w,na as s,pa as S,va as v}from"./chunk-G33Q5FWT.js";import{b as r}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{d as m,h as f}from"./chunk-PVAIJSAI.js";import{a as c}from"./chunk-VNEZZ3RI.js";import{a as d}from"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";function R(t){let o=new Set(s.map(n=>`--${n.name}`)),e=t.getRegisteredFlags();for(let n of process.argv.slice(2))if(n.startsWith("--")&&n!=="--help"&&!o.has(n)&&!e.has(n))return n;return null}function E(){for(let t of s){let o=`--${t.name}`;if(process.argv.filter(n=>n===o).length>1)return t.name}return null}var A="The setting value or name you have input is invalid. Check your input, and try again.",N="You have input duplicate setting flags. Try again with one value per setting.";async function O(t){if(F(t),R(t))throw new r(A);if(E())throw new r(N);await t.runVerb();let n=v();if(!n.appConfig)throw new r(`No ${d} found in the current directory. Run "${"ms"} app init" first.`);let a={},u=[];for(let i of s){let p=S(i.name),g=await t.getOption(p,!0);g!==void 0&&i.type==="boolean"&&(g!=="true"&&g!=="false"?u.push(i.name):a[i.configKey]=g==="true")}if(u.length>0)throw new r(A);if(Object.keys(a).length===0){f("No settings provided. Use --<setting> <value> to update a setting, e.g. --show-header false."),f(`Run "${"ms"} app get-settings" to see available settings.`);return}let l=await h(n.fileConfig.appConfigPath);if(l.appSettings={...l.appSettings??{},...a},await w(n.fileConfig.appConfigPath,l),t.isJsonMode())m({settings:a});else for(let i of s){let p=a[i.configKey];p!==void 0&&f(`${i.name} = ${p}`)}}var C={"show-header":"APP_SHOW_HEADER"};function F(t){t.setDescription(c.app["set-setting"].description),t.addExamples(c.app["set-setting"].examples??[]);let o=c.app["set-setting"].options;t.addOptions(s.map(e=>({flags:{key:e.name},env:C[e.name],description:o?.[e.name]??e.description})))}export{O as setSettingAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=SetSetting-RB3F7IXG.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{h as l,i as f}from"./chunk-5AUOEXAR.js";import{ga as m,ua as d}from"./chunk-G33Q5FWT.js";import{b as c}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{u as n}from"./chunk-6MXOK2LG.js";import{c as a,d as s,h as p}from"./chunk-PVAIJSAI.js";import{a as r}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function w(e){I(e),await e.runVerb();let h=await f(e),o=await e.getTenantIdAsync();if(!o)throw new c("Unable to determine tenant ID. Ensure you are logged in.");let t=await l(e),i=await m({tenantId:o,environmentId:h,logger:d(),actionsParams:{appName:t}});if(e.isJsonMode()){s({appName:t,...i});return}a(`Share link created for '${t}' (id: ${i.appShareLinkId}). Anyone in your tenant who opens this link will be granted Microsoft App Reader access. Share URL:`),p(i.shareLinkUrl)}function I(e){e.setDescription(r.app.shareLink.create.description),e.addExamples(r.app.shareLink.create.examples),e.addOptions([{flags:{key:n.AppName.name},env:n.AppName.envVar,description:r.app.shareLink.create.options.app,optionalInNonInteractive:!0},{flags:{key:n.EnvironmentId.name,alias:n.EnvironmentId.alias},env:n.EnvironmentId.envVar,description:r.app.shareLink.create.options.environmentId,optionalInNonInteractive:!0}])}export{w as shareLinkCreateAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=ShareLinkCreate-7BCDPWY6.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{h as c,i as h}from"./chunk-5AUOEXAR.js";import{ha as d,ua as l}from"./chunk-G33Q5FWT.js";import{b as m}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{v as n}from"./chunk-6MXOK2LG.js";import{a as s,d as p}from"./chunk-PVAIJSAI.js";import{a as t}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function k(e){f(e),await e.runVerb();let I=await h(e),r=await e.getTenantIdAsync();if(!r)throw new m("Unable to determine tenant ID. Ensure you are logged in.");let i=await c(e),o=await d({tenantId:r,environmentId:I,logger:l(),actionsParams:{appName:i}});if(e.isJsonMode()){p({appName:i,...o});return}s({title:`Share links for '${i}'`,columns:[{header:"LINK ID"},{header:"ROLE"},{header:"REDEEMERS"},{header:"CREATED BY",maxWidth:36}],rows:o.value.map(a=>[a.appShareLinkId,a.managedAppRoleName,String(a.redeemedPrincipalIds.length),a.createdByObjectId]),emptyMessage:`No share links issued for '${i}'.`,totalLabel:"link(s)"})}function f(e){e.setDescription(t.app.shareLink.list.description),e.addExamples(t.app.shareLink.list.examples),e.addOptions([{flags:{key:n.AppName.name},env:n.AppName.envVar,description:t.app.shareLink.list.options.app,optionalInNonInteractive:!0},{flags:{key:n.EnvironmentId.name,alias:n.EnvironmentId.alias},env:n.EnvironmentId.envVar,description:t.app.shareLink.list.options.environmentId,optionalInNonInteractive:!0}])}export{k as shareLinkListAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=ShareLinkList-4BI3WMNN.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{b as h,h as u,i as I}from"./chunk-5AUOEXAR.js";import{f,ia as k,ua as m,va as v}from"./chunk-G33Q5FWT.js";import{b as p}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{x as n}from"./chunk-6MXOK2LG.js";import{c as l,d as a,i as s}from"./chunk-PVAIJSAI.js";import{a as i}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function F(e){g(e),await e.runVerb();let c=await I(e),d=await e.getTenantIdAsync();if(!d)throw new p("Unable to determine tenant ID. Ensure you are logged in.");let r=await u(e),o=await e.getOption(n.LinkId.name);if(!o)throw new p("Provide a share link ID via --link-id.");if(!await e.getOption(n.Force.name,!0)&&v().interactive&&!await h({message:`Revoke share link '${o}' for app '${r}'? Anyone who has not yet redeemed it will lose access; redeemers will have their Microsoft App Reader role revoked.`})){s("Revoke cancelled.");return}try{await k({tenantId:d,environmentId:c,logger:m(),actionsParams:{appName:r,appShareLinkId:o}})}catch(t){if(w(t)){if(e.isJsonMode()){a({appName:r,linkId:o,existed:!1});return}s(`Share link '${o}' was not found on '${r}'; nothing was revoked.`);return}throw t}if(e.isJsonMode()){a({appName:r,linkId:o,existed:!0});return}l(`Share link '${o}' revoked for '${r}'.`)}function w(e){if(!(e instanceof f)||e.status!==404||!e.body)return!1;try{return JSON.parse(e.body).error?.code==="AppShareLinkNotFound"}catch{return!1}}function g(e){e.setDescription(i.app.shareLink.revoke.description),e.addExamples(i.app.shareLink.revoke.examples),e.addSwitch({flags:{key:n.Force.name,alias:n.Force.alias},description:i.app.shareLink.revoke.options.force}),e.addOptions([{flags:{key:n.LinkId.name,alias:n.LinkId.alias},env:n.LinkId.envVar,description:i.app.shareLink.revoke.options.linkId},{flags:{key:n.AppName.name},env:n.AppName.envVar,description:i.app.shareLink.revoke.options.app,optionalInNonInteractive:!0},{flags:{key:n.EnvironmentId.name,alias:n.EnvironmentId.alias},env:n.EnvironmentId.envVar,description:i.app.shareLink.revoke.options.environmentId,optionalInNonInteractive:!0}])}export{F as shareLinkRevokeAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=ShareLinkRevoke-EEJVCRCY.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{a as L,b as O,c as y,d as x,e as $,f as P,g as k}from"./chunk-6FFQN2SO.js";import{h as E,i as b}from"./chunk-5AUOEXAR.js";import{I as h,J as I,K as g,da as C,ka as M,ua as R,va as S}from"./chunk-G33Q5FWT.js";import{b as u}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{w as r}from"./chunk-6MXOK2LG.js";import{a as v,d as w,h as D,i as T}from"./chunk-PVAIJSAI.js";import{a as l}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function Z(e){V(e),await e.runVerb();let i=await b(e),p=await e.getTenantIdAsync();if(!p)throw new u("Unable to determine tenant ID. Ensure you are logged in.");let o=await E(e),f=!!await e.getOption("app",!0),d=await e.getOption("access",!0);if(!d||!d.trim())throw new u("The --access option is required. Use --access play to list app (play) access, or --access edit to list edit access.");let t=x(d),s,a="none",m;if(f)(t==="edit"||e.isJsonMode())&&(s=await P({tenantId:p,environmentId:i,appName:o}),a=F(s));else{let n=S().appConfig??{};m=y(n.repositoryId)?n.repositoryId:void 0,a=t==="edit"?$(n):n.repoType??"none"}let G=W(t,a);!e.isJsonMode()&&t==="edit"&&a==="github"&&T(O);let A=await Promise.all(G.map(n=>U({target:n,tenantId:p,environmentId:i,appName:o,appInfo:s,configRepoId:m})));if(e.isJsonMode()){w({appName:o,access:t,repoType:a,results:A.map(n=>({scope:n.scope,roleDefinitionName:n.roleDefinitionName,...n.repoId?{repoId:n.repoId}:{},unclassifiedCount:n.unclassifiedCount,value:n.assignments}))});return}let J=A.flatMap(n=>n.assignments.map(c=>[n.scope,c.principalObjectId??"-",c.principalType??"-",B(c.roleDefinitionName),c.createdOn??"-"]));v({title:`${t==="play"?"Play":"Edit"} shares for '${o}'`,columns:[{header:"SCOPE"},{header:"PRINCIPAL ID"},{header:"TYPE"},{header:"ROLE"},{header:"CREATED ON"}],rows:J,emptyMessage:`No ${t} shares for '${o}'.`,totalLabel:"assignment(s)"});let N=A.reduce((n,c)=>n+c.unclassifiedCount,0);N>0&&D(`${N} assignment(s) with an unrecognized role definition were not shown.`)}async function U(e){let{target:i,tenantId:p,environmentId:o,appName:f,appInfo:d,configRepoId:t}=e;if(i.scope==="app"){let m=await C({tenantId:p,environmentId:o,logger:R(),actionsParams:{appName:f,roleDefinitionName:i.roleDefinitionName}});return{scope:"app",roleDefinitionName:i.roleDefinitionName,assignments:m.assignments,unclassifiedCount:m.unclassifiedCount}}let s=[t,d?.repositoryId].find(y);if(s||(s=(await k({tenantId:p,environmentId:o,appName:f})).repositoryId),!y(s))throw new u(`App '${f}' has no associated repository, so edit access cannot be listed.`);let a=await M({tenantId:p,environmentId:o,logger:R(),actionsParams:{repoId:s}});return{scope:"repo",roleDefinitionName:i.roleDefinitionName,repoId:s,assignments:a.assignments,unclassifiedCount:a.unclassifiedCount}}function V(e){e.setDescription(l.app.share.list.description),e.addExamples(l.app.share.list.examples),e.addOptions([{flags:{key:r.AppName.name},env:r.AppName.envVar,description:l.app.share.list.options.app,optionalInNonInteractive:!0},{flags:{key:r.EnvironmentId.name,alias:r.EnvironmentId.alias},env:r.EnvironmentId.envVar,description:l.app.share.list.options.environmentId,optionalInNonInteractive:!0},{flags:{key:r.Access.name},env:r.Access.envVar,description:l.app.share.list.options.access}])}function F(e){switch(e.repoType){case"Native":return"native";case"ExternalGitProviderBound":case"ExternallyProvidedBuild":return"github";default:return"none"}}function B(e){switch(e){case I:return"App Reader";case g:return"App Contributor";case h:return"Repository Contributor";default:return e??"-"}}function W(e,i){if(e==="play")return[{scope:"app",roleDefinitionName:I}];if(i==="none")throw new u(L);return i!=="native"?[{scope:"app",roleDefinitionName:g}]:[{scope:"repo",roleDefinitionName:h},{scope:"app",roleDefinitionName:g}]}export{Z as shareListAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=ShareList-LJDAEGI3.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{a as r}from"./chunk-NP2KJOYC.js";import"./chunk-6FFQN2SO.js";import"./chunk-USRRI5H4.js";import"./chunk-5AUOEXAR.js";import"./chunk-G33Q5FWT.js";import"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import"./chunk-6MXOK2LG.js";import"./chunk-PVAIJSAI.js";import"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function i(e){await r(e,"share")}export{i as shareMaafAppAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=ShareMaafApp-QFRXLYUD.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{a as $}from"./chunk-USRRI5H4.js";import{i as w}from"./chunk-5AUOEXAR.js";import{ba as y,ua as h,va as b}from"./chunk-G33Q5FWT.js";import{b as d}from"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{d as g,h as o}from"./chunk-PVAIJSAI.js";import{a as m}from"./chunk-VNEZZ3RI.js";import{a as f}from"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";var I=7;async function O(e){e.setDescription(m.app.show.description),e.addExamples(m.app.show.examples),await e.runVerb();let t=b();if(!t.appConfig)throw new d(`No ${f} found in the current directory. Run "${"ms"} app init" first.`);let n=t.appConfig.appId;if(!n)throw new d(`${f} has no appId. Run "${"ms"} app create" or set appId manually.`);let i=await w(e),r=await e.getTenantIdAsync();if(!r)throw new d("Unable to determine tenant ID. Ensure you are logged in.");let a=await y({tenantId:r,environmentId:i,logger:h(),actionsParams:{appName:n}}),s=S(a,t.appConfig,i);e.isJsonMode()?g(s):E(s)}function S(e,t,n){let i=e.connectionReferences??{},r=Object.entries(i).map(([c,p])=>N(c,p)),a=e.commitHash,s=$(e);return{name:e.displayName,environmentId:e.environmentId??n,appId:e.id,commit:a?a.slice(0,I):void 0,build:C(t),connectors:r,repoType:s?.repoType,cloneUrl:s?.cloneUrl}}function C(e){let{buildPath:t,buildEntryPoint:n}=e;if(t&&n)return{path:t,entryPoint:n};if(t)return{path:t};if(n)return{entryPoint:n}}function N(e,t){let n={connector:e};t.displayName&&(n.displayName=t.displayName),t.actions?.length&&(n.actions=t.actions);let i=t.dataSets??{},r=[],a=[],s=new Set;for(let[c,p]of Object.entries(i))if(!(!p||typeof p!="object"))for(let[l,u]of Object.entries(p.dataSources??{}))s.add(l),u.tableName?r.push({dataset:c,table:u.tableName}):a.push({dataset:c,procedure:l});for(let c of t.dataSources??[])s.has(c)||r.push({table:c});return r.length&&(n.tables=r),a.length&&(n.procedures=a),n}function E(e){o(`Name: ${e.name}`),o(`Environment: ${e.environmentId}`),o(`App ID: ${e.appId}`),e.commit&&o(`Commit: ${e.commit}`);let t=T(e.build);if(t&&o(`Build: ${t}`),e.repoType&&o(`Repo type: ${e.repoType}`),e.cloneUrl&&o(`Clone URL: ${e.cloneUrl}`),e.connectors.length===0){o(""),o("(no connectors bound)");return}for(let n of e.connectors){o("");let i=n.connector.replace(/^shared_/,"");o(n.displayName?`${i} (${n.displayName})`:i),n.actions?.length&&o(` actions: ${n.actions.join(", ")}`),n.tables?.length&&o(` tables: ${n.tables.map(P).join(", ")}`),n.procedures?.length&&o(` procedures: ${n.procedures.map(V).join(", ")}`)}}function P(e){return e.dataset?`${e.table} (${e.dataset})`:e.table}function V(e){return`${e.procedure} (${e.dataset})`}function T(e){if(!e)return;let t="path"in e?e.path:void 0,n="entryPoint"in e?e.entryPoint:void 0;if(t&&n){let i=t.includes("\\")&&!t.includes("/")?"\\":"/",r=t.replace(/[/\\]+$/,""),a=n.replace(/^[/\\]+/,"");return`${r}${i}${a}`}return t??n}export{S as buildAppShowView,O as showMaafAppAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=ShowMaafApp-3KK6NUG2.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{d as c}from"./chunk-RBG2H562.js";import{b as l,k as m}from"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import{b as y,d as a,i as f}from"./chunk-PVAIJSAI.js";import{a as n}from"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";import*as s from"fs";import*as p from"path";var d={remote:!0,console:!1};async function h(e){u(e,n.telemetry.enable.options),e.setDescription(n.telemetry.enable.description),e.addExamples(n.telemetry.enable.examples),await e.runVerb();let t=S(await e.getOption("remote",!0),await e.getOption("console",!0),!0);g(t)}async function E(e){u(e,n.telemetry.disable.options),e.setDescription(n.telemetry.disable.description),e.addExamples(n.telemetry.disable.examples),await e.runVerb();let t=S(await e.getOption("remote",!0),await e.getOption("console",!0),!1);g(t)}async function A(e){e.setDescription(n.telemetry.status.description),e.addExamples(n.telemetry.status.examples),await e.runVerb(),b(e.isJsonMode())}function u(e,t){e.addSwitches([{flags:{key:"remote"},description:t.remote},{flags:{key:"console"},description:t.console}])}function S(e,t,r){let o=!e&&!t,i={};return(e||o)&&(i.remote=r),t&&(i.console=r),i}function b(e){try{let t=p.join(l,m);if(s.existsSync(t)){let r=s.readFileSync(t,"utf-8"),o=JSON.parse(r);if(e){a({settings:o});return}y({title:"Telemetry Settings:",items:[o],fields:[{label:"Remote",value:i=>String(i.remote)},{label:"Console",value:i=>String(i.console)}]})}else{if(e){a({settings:null});return}f("No telemetry settings found. Using default settings.")}}catch(t){throw new c(`Failed to read telemetry settings: ${t.message}`)}}function g(e){try{s.existsSync(l)||s.mkdirSync(l,{recursive:!0});let t=p.join(l,m),r={...d};if(s.existsSync(t)){let o=s.readFileSync(t,"utf-8"),i=JSON.parse(o);r={...d,...i}}s.writeFileSync(t,JSON.stringify({...r,...e},null,2),"utf-8")}catch(t){throw new c(`Failed to update telemetry settings: ${t.message}`)}}export{E as telemetryDisableAsync,h as telemetryEnableAsync,A as telemetryStatusAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=TelemetrySettings-A474HALH.js.map
@@ -0,0 +1,11 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __pathDirname } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __pathDirname(__filename);
7
+ import{a as r}from"./chunk-NP2KJOYC.js";import"./chunk-6FFQN2SO.js";import"./chunk-USRRI5H4.js";import"./chunk-5AUOEXAR.js";import"./chunk-G33Q5FWT.js";import"./chunk-RBG2H562.js";import"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import"./chunk-7NXJAIJX.js";import"./chunk-6MXOK2LG.js";import"./chunk-PVAIJSAI.js";import"./chunk-VNEZZ3RI.js";import"./chunk-U36HMOQW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";async function i(e){await r(e,"unshare")}export{i as unshareMaafAppAsync};
8
+ /*!
9
+ * Copyright (C) Microsoft Corporation. All rights reserved.
10
+ */
11
+ //# sourceMappingURL=UnshareMaafApp-423RNXCN.js.map