@metabase/cli 0.3.1-alpha.transform-tests.c0bc2d1 → 0.3.1-alpha.transform-tests.d9ed765

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 (264) hide show
  1. package/dist/{add-collection-CVDgC7C6.mjs → add-collection-v_uw_8VC.mjs} +6 -9
  2. package/dist/{alert-Co9m8k5l.mjs → alert-2MDhiuxT.mjs} +7 -7
  3. package/dist/{alerts-DjZGGxOy.mjs → alerts-BDoIryWj.mjs} +7 -7
  4. package/dist/{append-BXqeNFzW.mjs → append-CeHVEN3m.mjs} +5 -5
  5. package/dist/{archive-D1xZRRRA.mjs → archive-B9DiDia8.mjs} +6 -6
  6. package/dist/{archive-I61vFPxv.mjs → archive-BMQBzQMw.mjs} +4 -4
  7. package/dist/{archive-CXYUkzZo.mjs → archive-BU3VZ1An.mjs} +5 -5
  8. package/dist/{archive-Csku9zDp.mjs → archive-BopUoNoz.mjs} +4 -4
  9. package/dist/{archive-CH9osnGq.mjs → archive-BuHy5_kr.mjs} +4 -4
  10. package/dist/{archive-Bhk1IqGH.mjs → archive-CVTpSQ0H.mjs} +6 -6
  11. package/dist/{archive-pA5UZn1f.mjs → archive-CYaJZhBs.mjs} +4 -4
  12. package/dist/{archive-CUGpIXDT.mjs → archive-CxzoUCE_.mjs} +6 -6
  13. package/dist/{archive-DvV3oLCg.mjs → archive-D5QNFMmn.mjs} +4 -4
  14. package/dist/{archive-Cchi-tqq.mjs → archive-IBEbIm_S2.mjs} +6 -6
  15. package/dist/{archive-CzcjKpUC.mjs → archive-M2_D7zAj.mjs} +6 -6
  16. package/dist/{auth-BKgMIAKH.mjs → auth-DuGPC1Q0.mjs} +5 -5
  17. package/dist/{body-DxRSAMNC.mjs → body-hAwPMqBg.mjs} +3 -3
  18. package/dist/{branches-B96keFsO.mjs → branches-CIP60haa.mjs} +4 -7
  19. package/dist/{cancel-6GPBlUkr.mjs → cancel-C9hrQ1yg.mjs} +4 -4
  20. package/dist/{cancel-task-BIGAgcKk.mjs → cancel-task-BeviniVd.mjs} +5 -8
  21. package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
  22. package/dist/card-DqPrL79i.mjs +24 -0
  23. package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
  24. package/dist/{cards-DY6Togtl.mjs → cards-CvWT-tKQ.mjs} +7 -7
  25. package/dist/cli.mjs +567 -70
  26. package/dist/client-yPhazV6T.mjs +4093 -0
  27. package/dist/collection-BsXk1V41.mjs +20 -0
  28. package/dist/{collection-CfulNRBG.mjs → collection-BxdPxD38.mjs} +1 -1
  29. package/dist/{collection-CGoVLvcD.mjs → collection-DYM0p3Xl.mjs} +1 -1
  30. package/dist/{collection-namespace-CEoQ7G08.mjs → collection-namespace-C5SNf6Yw.mjs} +2 -2
  31. package/dist/{content-translation-Cg_VW3kW.mjs → content-translation-BNYQ8fJ3.mjs} +3 -3
  32. package/dist/{create-DqCdW3tt.mjs → create-BVd4Y4py2.mjs} +6 -6
  33. package/dist/{create-BsDJATJM.mjs → create-BZyLtvg5.mjs} +6 -6
  34. package/dist/{create-BkIoWkzP.mjs → create-BsiUuwSb.mjs} +5 -5
  35. package/dist/{create-cHltWf0e.mjs → create-C1fVgFBd.mjs} +4 -4
  36. package/dist/{create-BxWMTy6i.mjs → create-C4U9DGDG.mjs} +7 -7
  37. package/dist/{create-BpjBffBq.mjs → create-CHn7P-Bz.mjs} +5 -5
  38. package/dist/{create-mzHtey5k.mjs → create-CL4xkZ4j.mjs} +6 -6
  39. package/dist/{create-V2Bdeu8p.mjs → create-CcOTodqT.mjs} +4 -4
  40. package/dist/{create-BeNQQTPt.mjs → create-Cmgq35ZB.mjs} +4 -4
  41. package/dist/{create-JZevXtCI.mjs → create-DPb3b69Y.mjs} +4 -4
  42. package/dist/{create-cSpqEzKH.mjs → create-DRyA-nuP.mjs} +5 -5
  43. package/dist/{create-CK5MABYu.mjs → create-DTfaHMNw.mjs} +6 -6
  44. package/dist/{create-CaDAT54M.mjs → create-Db3QVXRi.mjs} +7 -7
  45. package/dist/{create-D_pNL2X9.mjs → create-DqKDw2zq.mjs} +5 -8
  46. package/dist/{create-bH-qAv03.mjs → create-S0jXAtl2.mjs} +11 -7
  47. package/dist/{create-BuWV1GpI2.mjs → create-Z_gzD_p-2.mjs} +8 -8
  48. package/dist/{create-branch-DN9PrlRR.mjs → create-branch-hYwnfY8X.mjs} +5 -9
  49. package/dist/{csv-CVKLuIuS.mjs → csv-DOEqRG95.mjs} +5 -5
  50. package/dist/{current-task-Dnm3JaWg.mjs → current-task-DVo5aDfA.mjs} +5 -8
  51. package/dist/{dashboard-CKUR8ZpQ.mjs → dashboard-D0hwTC-f.mjs} +11 -2
  52. package/dist/{dashboard-SxUrG3Cg.mjs → dashboard-D8Yjjwfr.mjs} +10 -10
  53. package/dist/{dashboard-BlbNszi8.mjs → dashboard-DgK81azj.mjs} +1 -1
  54. package/dist/{database-B19qlLKZ.mjs → database-C3E9PZSx.mjs} +1 -1
  55. package/dist/{database-C8G6ZKG0.mjs → database-JtHTqSpq.mjs} +1 -1
  56. package/dist/{db-BnhuXAP9.mjs → db-ntq1NYVT.mjs} +7 -7
  57. package/dist/{delete-CH0FsDBg.mjs → delete-BQWk6Ogb.mjs} +5 -5
  58. package/dist/{delete-C3xeqTzS.mjs → delete-C2iVm203.mjs} +5 -5
  59. package/dist/{delete-BClvnlBc.mjs → delete-CPzdQGKf.mjs} +5 -5
  60. package/dist/{delete-Dn6VJuyR.mjs → delete-CW8xJwDm.mjs} +5 -5
  61. package/dist/{delete-DDVNawxh.mjs → delete-CZqaDxkf.mjs} +5 -5
  62. package/dist/{delete-6lroLZIE.mjs → delete-Qsf-OKkl.mjs} +5 -5
  63. package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
  64. package/dist/{delete-table-C6LPzUDg.mjs → delete-table-DLufNvzW.mjs} +5 -5
  65. package/dist/{dependencies-vr51EFIu.mjs → dependencies-BGtd-eIR.mjs} +7 -7
  66. package/dist/{dirty-W0PzG3Yt.mjs → dirty-BiiJ5Ngh.mjs} +6 -9
  67. package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
  68. package/dist/document-BiS-U56S.mjs +19 -0
  69. package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
  70. package/dist/{download-B-l6ajeo.mjs → download-DrcL0yRr.mjs} +3 -6
  71. package/dist/{eid-BGl_X67N.mjs → eid-Bn3Impnq.mjs} +4 -5
  72. package/dist/{events-BRRnroJb.mjs → events-CfnrXbim.mjs} +5 -5
  73. package/dist/{export-DEPLFq_E.mjs → export-CFK8cMvK.mjs} +7 -10
  74. package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
  75. package/dist/{field-BXaUzJvx.mjs → field-CeP-41qf.mjs} +5 -5
  76. package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
  77. package/dist/{fields-LFMSMV5Z.mjs → fields-B3tJI4X2.mjs} +7 -7
  78. package/dist/{get-DCf0O3GJ.mjs → get-3ymehUjQ.mjs} +6 -6
  79. package/dist/{get-Du11BNRd.mjs → get-B9fPTBEQ.mjs} +5 -8
  80. package/dist/{get-B6lWlGeD.mjs → get-BFh5ctuV.mjs} +6 -6
  81. package/dist/{get-XcSH5Zyz.mjs → get-BMZ3UoJz.mjs} +6 -6
  82. package/dist/{get-DvCgLmPW.mjs → get-Be9oShms.mjs} +4 -4
  83. package/dist/{get-BempHTsm.mjs → get-BkTiIo_7.mjs} +4 -4
  84. package/dist/{get-M3zgKoZr.mjs → get-C-E-I10i.mjs} +6 -6
  85. package/dist/{get-DiRtfImy.mjs → get-CIlXE4zy.mjs} +6 -6
  86. package/dist/{get-7-OiP8ma.mjs → get-Cqfb4zZM.mjs} +4 -4
  87. package/dist/{get-DhxE02Ia.mjs → get-Cxvi9pSj.mjs} +6 -6
  88. package/dist/{get-DAsSPKxF.mjs → get-D2Bt3r3M.mjs} +4 -4
  89. package/dist/{get-DCHhq5Qv.mjs → get-DJDV3NMU.mjs} +5 -5
  90. package/dist/{get-BvI5QqjY.mjs → get-D_f0INnl.mjs} +6 -6
  91. package/dist/{get-CapP9GiI.mjs → get-Diozf-D0.mjs} +6 -6
  92. package/dist/{get-BM7MA5-7.mjs → get-Dl9WoeCd.mjs} +4 -4
  93. package/dist/{get-Bjvu5GM7.mjs → get-DlPhNHPX.mjs} +6 -6
  94. package/dist/{get-Cjx_5Zm-.mjs → get-DnVGJfW42.mjs} +6 -6
  95. package/dist/get-Dx4k6_Qt.mjs +93 -0
  96. package/dist/{get-DlQHyv4D.mjs → get-lRUl1Dnb.mjs} +4 -4
  97. package/dist/{get-C2DWxXYb.mjs → get-pGqPQ0Of.mjs} +6 -6
  98. package/dist/{get-run-UJmyRo7H.mjs → get-run-DmtNpSbG.mjs} +6 -6
  99. package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
  100. package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
  101. package/dist/git-sync-jvNlPu2I.mjs +28 -0
  102. package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
  103. package/dist/{has-remote-changes-DmhFpgJe.mjs → has-remote-changes-BS6jOb2-.mjs} +5 -8
  104. package/dist/{import-BRC0TzWQ.mjs → import-Cur2I6Yc.mjs} +7 -10
  105. package/dist/{input-DH9i67x_.mjs → input-DEvkIjGr.mjs} +1 -1
  106. package/dist/{is-dirty-CT9e5vSd.mjs → is-dirty-7Jo0tglq.mjs} +3 -6
  107. package/dist/{items-BSAEWZlw.mjs → items-BBJSvqWt.mjs} +7 -7
  108. package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
  109. package/dist/library-BPIzb3K_.mjs +81 -0
  110. package/dist/{library-Zxh_MRVL.mjs → library-CpDosMc5.mjs} +5 -5
  111. package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
  112. package/dist/{list-DDFk1IFP.mjs → list--Frwwg4i.mjs} +7 -7
  113. package/dist/{list-C3IRtLP6.mjs → list-40V_8T3H.mjs} +4 -4
  114. package/dist/{list-DGLK2lso.mjs → list-BAO7rPNU.mjs} +4 -4
  115. package/dist/{list-QFieRzSf.mjs → list-BAaBsdMk.mjs} +6 -6
  116. package/dist/{list-08dyODsP.mjs → list-BCD9lkxc.mjs} +4 -4
  117. package/dist/{list-CAalCea_.mjs → list-BuZaFlV-.mjs} +4 -4
  118. package/dist/{list-BOUmEn2X.mjs → list-C7kqJAc8.mjs} +4 -4
  119. package/dist/{list-D6qH2PUE.mjs → list-CBGsfTib.mjs} +7 -7
  120. package/dist/{list-DCA0T8bS.mjs → list-CFJyXUsF.mjs} +14 -13
  121. package/dist/{list-De0ebgzc.mjs → list-CQJoLqy0.mjs} +7 -7
  122. package/dist/{list-Dqyd2TZI.mjs → list-CVs3TyU7.mjs} +6 -6
  123. package/dist/{list-Drm6l_tt.mjs → list-CX2668xz.mjs} +6 -6
  124. package/dist/{list-DCBLu0KG.mjs → list-CcyZu5Jp.mjs} +6 -6
  125. package/dist/{list-D9RmPIEJ.mjs → list-DPvJihmj.mjs} +7 -7
  126. package/dist/{list-CleMHJBY.mjs → list-D_Kv8Ezq.mjs} +7 -7
  127. package/dist/{list-BZbC260R.mjs → list-DuZlYCTl.mjs} +5 -5
  128. package/dist/{list-BxCk3QTy.mjs → list-_6JwpPXA.mjs} +6 -6
  129. package/dist/{list-DYlphSxV.mjs → list-bCtszwHJ.mjs} +4 -4
  130. package/dist/list-rojRNBu5.mjs +60 -0
  131. package/dist/{login-DDHEyjWz.mjs → login-BCxYB6ii.mjs} +15 -12
  132. package/dist/{logout-BbB0vvQN.mjs → logout-BVEYg9pV.mjs} +3 -4
  133. package/dist/{measure-CGuwA0KX.mjs → measure-DYmGuTVW.mjs} +6 -6
  134. package/dist/{notification-Fcq1fIPw.mjs → notification-DVrLkjFT.mjs} +1 -1
  135. package/dist/{parameter-DUKR8NXo.mjs → parameter-Celg0wZa.mjs} +1 -1
  136. package/dist/{parameter-values-CI6-CkB7.mjs → parameter-values-D4qte8qc.mjs} +5 -6
  137. package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
  138. package/dist/{parse-id-CdZ0-1TM.mjs → parse-id-BSdAXN-r.mjs} +1 -1
  139. package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
  140. package/dist/{path-Df2itv7t.mjs → path-BNZf4ETt.mjs} +5 -5
  141. package/dist/{poll-75SvT7Zv.mjs → poll-CZeXepUQ.mjs} +2 -2
  142. package/dist/{preflight-CoF1Em99.mjs → preflight-BsT-Ik4Z.mjs} +3 -4
  143. package/dist/{process-DBOOrmET.mjs → process-CTrfxxaC.mjs} +1 -1
  144. package/dist/{publish-xUBySB1T.mjs → publish-3Qlrs4CC.mjs} +9 -9
  145. package/dist/{pulse-BmsDenXm.mjs → pulse-Dz0ocv0l.mjs} +1 -1
  146. package/dist/{pulse-DhG6I9mI.mjs → pulse-x0gFxWfG.mjs} +2 -2
  147. package/dist/{query-BkZvffIM.mjs → query-B8MCziCM.mjs} +9 -10
  148. package/dist/{query-CmkC8sfu.mjs → query-DxjE4Hq2.mjs} +10 -12
  149. package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
  150. package/dist/{remove-collection-DFfmuTwD.mjs → remove-collection-CNWmp8C-.mjs} +6 -9
  151. package/dist/{render-CI93iP0I.mjs → render-MoT089RO.mjs} +13 -2
  152. package/dist/{replace-DjoDBCLa.mjs → replace-DOmUXCyk.mjs} +5 -5
  153. package/dist/{rescan-values-Ca2Wa0A2.mjs → rescan-values-DpU_Ex0F.mjs} +6 -6
  154. package/dist/{run-B_-pMw67.mjs → run-B8Vys-6V.mjs} +5 -5
  155. package/dist/{run-BCYATTjE.mjs → run-CCPUWI0V.mjs} +6 -6
  156. package/dist/{run-CP-chc5O.mjs → run-cyUFpMX3.mjs} +26 -14
  157. package/dist/{runs-B0ypYKmn.mjs → runs-92XSK8ij.mjs} +7 -7
  158. package/dist/{runtime-CJUDVwBu.mjs → runtime-DzVkvFHY.mjs} +946 -246
  159. package/dist/{schema-tables-Nl83e2Zm.mjs → schema-tables-lMGk2fyi.mjs} +7 -7
  160. package/dist/{schemas-Cp29qgn0.mjs → schemas-C83Q8dYY.mjs} +5 -5
  161. package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
  162. package/dist/{search-BbktlnDC.mjs → search-D6qBaNsw.mjs} +6 -6
  163. package/dist/{segment-BHBoMpL9.mjs → segment-BFJd2-ck.mjs} +6 -6
  164. package/dist/{selectors-e_0QdkaG.mjs → selectors-Dcp25rNo.mjs} +3 -3
  165. package/dist/{send-DEGpBT_7.mjs → send-Be-_KmWr.mjs} +4 -4
  166. package/dist/{set-C3tLEVuY.mjs → set-Bg_4elCb.mjs} +5 -5
  167. package/dist/{set-active-CqvLJysE.mjs → set-active-CtQiMzt7.mjs} +5 -5
  168. package/dist/{setting-Dwi-Wifx.mjs → setting-BNEblMco.mjs} +4 -4
  169. package/dist/{setup-CcSVPnEI.mjs → setup-DFnxwJGX.mjs} +4 -4
  170. package/dist/{signal-CMd0EFUa.mjs → signal-k7cm5N6h.mjs} +11 -2
  171. package/dist/skill-list-Ro6J0pyV.mjs +76 -0
  172. package/dist/skills-BdrMrbXh.mjs +351 -0
  173. package/dist/{skills-Cxi3fKMZ.mjs → skills-CGYk6b2r.mjs} +3 -3
  174. package/dist/snippet-vMnFtNwi.mjs +19 -0
  175. package/dist/{stash-CVhkyRIT.mjs → stash-C9SZwusp.mjs} +7 -11
  176. package/dist/{status-B7tYgPVV.mjs → status-D0n7AuQU.mjs} +12 -11
  177. package/dist/{status-C9uhZuip.mjs → status-Dj04FCCv.mjs} +11 -9
  178. package/dist/{subscription-Cj9jyFEB.mjs → subscription-B5Iax7Ci.mjs} +6 -6
  179. package/dist/{subscriptions-B5oVkkZk.mjs → subscriptions-DwvHRO1v.mjs} +7 -7
  180. package/dist/{summary-PVERfPr2.mjs → summary-DaA6Twxk.mjs} +6 -6
  181. package/dist/{sync-schema-CtG6r6Pr.mjs → sync-schema-BFWKEC3r.mjs} +7 -7
  182. package/dist/{sync-task-BACcrs0i.mjs → sync-task-BXeWuARG.mjs} +1 -1
  183. package/dist/{table-CsIJNPFf.mjs → table-C6h4tIRw.mjs} +1 -1
  184. package/dist/{table-6IHwQyr6.mjs → table-DW1dG3Rl.mjs} +5 -5
  185. package/dist/{table-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
  186. package/dist/timeline-C0rqHF4p.mjs +21 -0
  187. package/dist/{timeline-event-ox_Bw9F4.mjs → timeline-event-D1MUnexK.mjs} +6 -6
  188. package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
  189. package/dist/transform-D08iA4H_.mjs +28 -0
  190. package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
  191. package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
  192. package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
  193. package/dist/transform-job-Me5CeV2z.mjs +22 -0
  194. package/dist/{transform-tag-La1wmOTP.mjs → transform-tag-CbgjSy76.mjs} +5 -5
  195. package/dist/{transform-test-w5hDTx_D.mjs → transform-test-B-gVzODx.mjs} +1 -1
  196. package/dist/transform-test-BB_IFtZS.mjs +163 -0
  197. package/dist/transform-test-CwonhnyQ.mjs +16 -0
  198. package/dist/{transforms-DIgACzP-.mjs → transforms-Bhtk_Gil.mjs} +7 -7
  199. package/dist/{tree-CQ0FXBnn.mjs → tree-DLorrdEm.mjs} +4 -5
  200. package/dist/{unpublish-Binr4uOG.mjs → unpublish-DOQhmLAx.mjs} +4 -7
  201. package/dist/{update-lpLLpKhX.mjs → update-BF4DWRT5.mjs} +6 -6
  202. package/dist/{update-BKvSfdXu.mjs → update-BeU02D8b.mjs} +6 -6
  203. package/dist/{update-B4lIwY0G.mjs → update-Bpb2V8Gm.mjs} +9 -9
  204. package/dist/{update-BZS5m-vx.mjs → update-CHNSRFKO.mjs} +7 -7
  205. package/dist/{update-DH9CL61y.mjs → update-CSqPKfTk.mjs} +8 -8
  206. package/dist/{update-mOqedkLk.mjs → update-CTCcgeaY.mjs} +7 -7
  207. package/dist/{update-BiG9eLNH.mjs → update-Ch43eYU-.mjs} +5 -5
  208. package/dist/{update-CIuoW1M9.mjs → update-D2dis8s_.mjs} +8 -8
  209. package/dist/{update-CWIhy9Ax.mjs → update-DEULsCgK.mjs} +6 -6
  210. package/dist/{update-Db3j44fi.mjs → update-DTZ07XFM.mjs} +5 -5
  211. package/dist/{update-BbOX6axn.mjs → update-DWhC3xYc.mjs} +5 -5
  212. package/dist/{update-Cb68f4dx.mjs → update-DeA4gyTG.mjs} +5 -5
  213. package/dist/{update-la0K6wAf.mjs → update-Dq-KEeyS.mjs} +7 -7
  214. package/dist/{update-dashcard-DbZ8NlLZ.mjs → update-dashcard-CfDqxOlj.mjs} +7 -7
  215. package/dist/{update-gGZjfZN3.mjs → update-ezD5XTpy.mjs} +7 -7
  216. package/dist/{update-B5NYEIHU.mjs → update-mmeImeUo.mjs} +7 -7
  217. package/dist/{update-TDaf7Xbt.mjs → update-xjuN7bdu.mjs} +7 -7
  218. package/dist/{upgrade-BCWXgRmG.mjs → upgrade-DgmbeOoJ.mjs} +6 -8
  219. package/dist/upload-BsPrAjN-.mjs +13 -0
  220. package/dist/{upload-CD555ui1.mjs → upload-Do2PBSeH.mjs} +2 -2
  221. package/dist/{upload-DUViVk1x.mjs → upload-DzFBdNxM.mjs} +4 -7
  222. package/dist/{uuid-D3CGL8wF.mjs → uuid-DYYGRv9y.mjs} +3 -4
  223. package/dist/{validate-BWchyW0V.mjs → validate-EAB-1EkK.mjs} +1 -1
  224. package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-CQG86147.mjs} +2 -3
  225. package/dist/{values-8XUr04w3.mjs → values-Dk2CAR4T.mjs} +6 -6
  226. package/dist/{verify-deF_hThH.mjs → verify-8TnYrSNm.mjs} +3 -18
  227. package/dist/{wait-Ct0weHol.mjs → wait-Oz6xFpyA.mjs} +7 -10
  228. package/dist/{wait-flags-Cb-bI0RD.mjs → wait-flags-ClJx9LJ9.mjs} +2 -2
  229. package/dist/{window-BkvrP0gB.mjs → window-DSb1tqSe.mjs} +1 -1
  230. package/package.json +1 -1
  231. package/skill-data/core/SKILL.md +19 -4
  232. package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
  233. package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
  234. package/skill-data/document/SKILL.md +4 -1
  235. package/skill-data/git-sync/SKILL.md +5 -0
  236. package/skill-data/mbql/SKILL.md +1 -1
  237. package/skill-data/mbql/references/operators.md +20 -15
  238. package/skill-data/metadata/SKILL.md +1 -1
  239. package/skill-data/metadata/references/semantic-types.md +7 -1
  240. package/skill-data/native-sql/references/template-tags.md +6 -2
  241. package/skill-data/notification/SKILL.md +7 -1
  242. package/skill-data/transform/SKILL.md +17 -3
  243. package/skill-data/transform-test-plan/SKILL.md +1 -0
  244. package/skill-data/visualization/SKILL.md +11 -3
  245. package/skill-data/visualization/references/settings.md +6 -4
  246. package/skills/metabase-cli/SKILL.md +1 -1
  247. package/dist/card-zluRR7xD.mjs +0 -24
  248. package/dist/client-C9HBWl6A.mjs +0 -2282
  249. package/dist/collection-CrIkQWUK.mjs +0 -20
  250. package/dist/document-B1w9aIq7.mjs +0 -19
  251. package/dist/get-BUiHdwdU.mjs +0 -80
  252. package/dist/git-sync-DM5Nuv3a.mjs +0 -28
  253. package/dist/library-ClLgrAXy.mjs +0 -19
  254. package/dist/list-kIMBSzS-.mjs +0 -98
  255. package/dist/network-error-D6CiOEBw.mjs +0 -431
  256. package/dist/predicates-Bkm2IoeX.mjs +0 -170
  257. package/dist/skills-DTCrMcix.mjs +0 -216
  258. package/dist/snippet-hrEAI5Yf.mjs +0 -19
  259. package/dist/timeline-BwQIj-le.mjs +0 -21
  260. package/dist/transform-IPKGUzzd.mjs +0 -28
  261. package/dist/transform-job-COwH1ww7.mjs +0 -22
  262. package/dist/transform-test-C4VRGmGm.mjs +0 -149
  263. package/dist/transform-test-DGYx6MCT.mjs +0 -16
  264. package/dist/upload-BVBs2F69.mjs +0 -13
@@ -1,10 +1,10 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as SegmentUpdateInput, t as Segment } from "./segment-OsrbUDzw.mjs";
7
- import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-DaGYSmpQ.mjs";
7
+ import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-CQG86147.mjs";
8
8
  import { t as segmentView } from "./segment-C_gl5ag6.mjs";
9
9
  //#region src/commands/segment/update.ts
10
10
  var update_default = defineMetabaseCommand({
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
17
17
  skill: "mbql",
18
18
  purpose: "the definition filter clause"
19
19
  }],
20
- capabilities: { minVersion: 58 },
20
+ requires: ["segment.update"],
21
21
  args: {
22
22
  ...outputFlags,
23
23
  ...profileFlag,
@@ -1,10 +1,10 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as MeasureUpdateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
7
- import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-DaGYSmpQ.mjs";
7
+ import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-CQG86147.mjs";
8
8
  import { t as measureView } from "./measure-4P0bOlZ3.mjs";
9
9
  //#region src/commands/measure/update.ts
10
10
  var update_default = defineMetabaseCommand({
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
17
17
  skill: "mbql",
18
18
  purpose: "the definition aggregation"
19
19
  }],
20
- capabilities: { minVersion: 59 },
20
+ requires: ["measure.update"],
21
21
  args: {
22
22
  ...outputFlags,
23
23
  ...profileFlag,
@@ -1,12 +1,12 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { c as TransformUpdateInput, t as Transform } from "./transform-D3QX0jxA.mjs";
7
- import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-DaGYSmpQ.mjs";
8
- import { n as transformView } from "./transform-DoTyyXAu.mjs";
9
- import { t as enrichTransformCollectionError } from "./collection-namespace-CEoQ7G08.mjs";
6
+ import { f as TransformUpdateInput, t as Transform } from "./transform-DiW7bREn.mjs";
7
+ import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-CQG86147.mjs";
8
+ import { n as transformView } from "./transform-CtqB1WYo.mjs";
9
+ import { t as enrichTransformCollectionError } from "./collection-namespace-C5SNf6Yw.mjs";
10
10
  //#region src/commands/transform/update.ts
11
11
  var update_default = defineMetabaseCommand({
12
12
  meta: {
@@ -18,7 +18,7 @@ var update_default = defineMetabaseCommand({
18
18
  skill: "mbql",
19
19
  purpose: "MBQL source.query bodies"
20
20
  }],
21
- capabilities: { minVersion: 59 },
21
+ requires: ["transform.update"],
22
22
  args: {
23
23
  ...outputFlags,
24
24
  ...profileFlag,
@@ -1,17 +1,17 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { i as DocumentUpdateInput, t as Document } from "./document-Cd2mmqCp.mjs";
7
- import { t as documentView } from "./document-D6OybtP2.mjs";
6
+ import { i as DocumentUpdateInput, t as Document } from "./document-BHpLJbKU.mjs";
7
+ import { t as documentView } from "./document-CA0Q6lqu.mjs";
8
8
  //#region src/commands/document/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
11
11
  name: "update",
12
12
  description: "Update a document by id"
13
13
  },
14
- capabilities: { minVersion: 58 },
14
+ requires: ["document.update"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,11 +1,11 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { i as DashboardDetail, o as DashboardUpdateInput } from "./dashboard-CKUR8ZpQ.mjs";
7
- import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
8
- import { t as preflightDashcardCardReferences } from "./preflight-CoF1Em99.mjs";
6
+ import { a as DashboardDetail, s as DashboardUpdateInput } from "./dashboard-D0hwTC-f.mjs";
7
+ import { t as dashboardView } from "./dashboard-DgK81azj.mjs";
8
+ import { t as preflightDashcardCardReferences } from "./preflight-BsT-Ik4Z.mjs";
9
9
  //#region src/commands/dashboard/update.ts
10
10
  var update_default = defineMetabaseCommand({
11
11
  meta: {
@@ -20,7 +20,7 @@ var update_default = defineMetabaseCommand({
20
20
  skill: "visualization",
21
21
  purpose: "dashcard visualization_settings and the 24-column grid"
22
22
  }],
23
- capabilities: { minVersion: 58 },
23
+ requires: ["dashboard.update", "dashboard.checkCardReferences"],
24
24
  args: {
25
25
  ...outputFlags,
26
26
  ...profileFlag,
@@ -1,17 +1,17 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { a as TableUpdateInput, t as Table } from "./table-CeeTJgQb.mjs";
7
- import { t as tableView } from "./table-CsIJNPFf.mjs";
6
+ import { s as TableUpdateInput, t as Table } from "./table-DfuY0N8e.mjs";
7
+ import { t as tableView } from "./table-C6h4tIRw.mjs";
8
8
  //#region src/commands/table/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
11
11
  name: "update",
12
12
  description: "Update a table (display name, description, visibility, etc.)"
13
13
  },
14
- capabilities: { minVersion: 58 },
14
+ requires: ["table.update"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,7 +1,7 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as SnippetUpdateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
7
7
  import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
11
11
  name: "update",
12
12
  description: "Update a native query snippet by id"
13
13
  },
14
- capabilities: { minVersion: 58 },
14
+ requires: ["snippet.update"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,11 +1,11 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { c as CardUpdateInput, t as Card } from "./card-DZxRmver.mjs";
7
- import { n as cardView } from "./card-zyUkr2nS.mjs";
8
- import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-DaGYSmpQ.mjs";
6
+ import { c as CardUpdateInput, t as Card } from "./card-voh1k4hl.mjs";
7
+ import { n as cardView } from "./card-CEkp1mcI.mjs";
8
+ import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-CQG86147.mjs";
9
9
  //#region src/commands/card/update.ts
10
10
  var update_default = defineMetabaseCommand({
11
11
  meta: {
@@ -20,7 +20,7 @@ var update_default = defineMetabaseCommand({
20
20
  skill: "visualization",
21
21
  purpose: "choose display and visualization_settings"
22
22
  }],
23
- capabilities: { minVersion: 58 },
23
+ requires: ["card.update"],
24
24
  args: {
25
25
  ...outputFlags,
26
26
  ...profileFlag,
@@ -1,10 +1,10 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
2
  import { c as NotificationUpdateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
3
- import { t as notificationView } from "./notification-Fcq1fIPw.mjs";
4
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
5
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
3
+ import { t as notificationView } from "./notification-DVrLkjFT.mjs";
4
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
5
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
6
6
  import { t as describeAlert } from "./summary-BytbDz6e.mjs";
7
- import { t as readBody } from "./body-DxRSAMNC.mjs";
7
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
8
8
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
9
9
  //#region src/commands/alert/update.ts
10
10
  var update_default = defineMetabaseCommand({
@@ -18,7 +18,7 @@ var update_default = defineMetabaseCommand({
18
18
  "`subscriptions` and `handlers` replace the whole list, so send every schedule and recipient you want to keep —",
19
19
  "`mb alert get <id>` prints the current ones. An alert's card cannot be moved to a different card."
20
20
  ].join(" "),
21
- capabilities: { minVersion: 58 },
21
+ requires: ["notification.update"],
22
22
  args: {
23
23
  ...outputFlags,
24
24
  ...profileFlag,
@@ -1,7 +1,7 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
7
7
  import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
11
11
  name: "update",
12
12
  description: "Update a transform tag by id"
13
13
  },
14
- capabilities: { minVersion: 59 },
14
+ requires: ["transformTag.update"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,7 +1,7 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as TimelineEvent, s as TimelineEventUpdateInput } from "./timeline-CCSU2qOS.mjs";
7
7
  import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
@@ -12,7 +12,7 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a timeline event by id"
13
13
  },
14
14
  details: "Patches only the fields you send: `name`, `description`, `timestamp`, `timezone`, `time_matters`, `icon`, `timeline_id` (moves the event to another timeline), `archived`.",
15
- capabilities: { minVersion: 58 },
15
+ requires: ["timelineEvent.update"],
16
16
  args: {
17
17
  ...outputFlags,
18
18
  ...profileFlag,
@@ -1,7 +1,7 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { c as TimelineUpdateInput, t as Timeline } from "./timeline-CCSU2qOS.mjs";
7
7
  import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
@@ -12,7 +12,7 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a timeline by id"
13
13
  },
14
14
  details: "Patches only the fields you send: `name`, `description`, `icon`, `collection_id`, `default`, `archived`. Changing `archived` cascades to every event on the timeline.",
15
- capabilities: { minVersion: 58 },
15
+ requires: ["timeline.update"],
16
16
  args: {
17
17
  ...outputFlags,
18
18
  ...profileFlag,
@@ -1,17 +1,17 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-DRrK28IH.mjs";
7
- import { t as transformJobView } from "./transform-job-50GZHhKH.mjs";
6
+ import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-CCguL6LP.mjs";
7
+ import { t as transformJobView } from "./transform-job-AaMZRxAq.mjs";
8
8
  //#region src/commands/transform-job/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
11
11
  name: "update",
12
12
  description: "Update a transform job by id"
13
13
  },
14
- capabilities: { minVersion: 59 },
14
+ requires: ["transformJob.update"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,17 +1,17 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { l as DashcardPatchInput, s as Dashcard } from "./dashboard-CKUR8ZpQ.mjs";
7
- import { n as dashcardView } from "./dashboard-BlbNszi8.mjs";
6
+ import { c as Dashcard, u as DashcardPatchInput } from "./dashboard-D0hwTC-f.mjs";
7
+ import { n as dashcardView } from "./dashboard-DgK81azj.mjs";
8
8
  //#region src/commands/dashboard/update-dashcard.ts
9
9
  var update_dashcard_default = defineMetabaseCommand({
10
10
  meta: {
11
11
  name: "update-dashcard",
12
12
  description: "Patch a single dashcard's layout or settings on a dashboard"
13
13
  },
14
- capabilities: { minVersion: 58 },
14
+ requires: ["dashboard.updateDashcard"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,17 +1,17 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { o as FieldUpdateInput, t as Field } from "./field-Cr2DPUG9.mjs";
7
- import { r as fieldView } from "./field-BPsNa-TO.mjs";
6
+ import { c as FieldUpdateInput, t as Field } from "./field-CcN4oZy6.mjs";
7
+ import { r as fieldView } from "./field-fDtIrY6D.mjs";
8
8
  //#region src/commands/field/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
11
11
  name: "update",
12
12
  description: "Update a field (description, semantic_type, FK target, visibility, etc.)"
13
13
  },
14
- capabilities: { minVersion: 58 },
14
+ requires: ["field.update"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,10 +1,10 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { a as TransformTestUpdateInput, t as TransformTest } from "./transform-test-C4VRGmGm.mjs";
7
- import { t as transformTestView } from "./transform-test-w5hDTx_D.mjs";
6
+ import { a as TransformTestUpdateInput, t as TransformTest } from "./transform-test-BB_IFtZS.mjs";
7
+ import { t as transformTestView } from "./transform-test-B-gVzODx.mjs";
8
8
  //#region src/commands/transform-test/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
@@ -12,7 +12,7 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a transform test from JSON"
13
13
  },
14
14
  details: "Only the fields the body carries are patched. `inputs` and `expectations` replace what is stored rather than merging into it. The body is closed: a test read back with `get --full` has to shed `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` before it can be sent.",
15
- capabilities: { minVersion: 65 },
15
+ requires: ["transformTest.update"],
16
16
  args: {
17
17
  ...outputFlags,
18
18
  ...profileFlag,
@@ -1,10 +1,10 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { t as readBody } from "./body-DxRSAMNC.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { t as readBody } from "./body-hAwPMqBg.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { a as PulseUpdateInput, t as Pulse } from "./pulse-BmsDenXm.mjs";
7
- import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
6
+ import { a as PulseUpdateInput, t as Pulse } from "./pulse-Dz0ocv0l.mjs";
7
+ import { t as pulseView } from "./pulse-x0gFxWfG.mjs";
8
8
  //#region src/commands/subscription/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
17
17
  "`mb subscription get <id> --full` prints the current ones.",
18
18
  "A subscription's `dashboard_id` and `collection_id` are fixed at creation and cannot be changed."
19
19
  ].join(" "),
20
- capabilities: { minVersion: 58 },
20
+ requires: ["pulse.update"],
21
21
  args: {
22
22
  ...outputFlags,
23
23
  ...profileFlag,
@@ -1,12 +1,10 @@
1
- import { f as errorMessage, l as TimeoutError, n as AbortError, s as NetworkError, u as UnknownError } from "./predicates-Bkm2IoeX.mjs";
2
- import { A as name, F as outputFlags, h as promptConfirm, j as version, o as renderItem, t as interruptSignal, u as writeText } from "./cli.mjs";
3
- import { t as defineMetabaseCommand, u as USER_AGENT } from "./runtime-CJUDVwBu.mjs";
4
- import { h as parseJson, r as HttpError } from "./network-error-D6CiOEBw.mjs";
5
- import { n as throwIfAborted, t as combineAborts } from "./signal-CMd0EFUa.mjs";
6
- import { n as streamProcess } from "./process-DBOOrmET.mjs";
1
+ import { H as outputFlags, L as name, R as version, X as AbortError, h as writeText, it as UnknownError, ot as errorMessage, rt as TimeoutError, t as interruptSignal, tt as NetworkError, u as renderItem, x as promptConfirm } from "./cli.mjs";
2
+ import { L as HttpError, O as USER_AGENT, V as parseJson, t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { n as throwIfAborted, t as combineAborts } from "./signal-k7cm5N6h.mjs";
4
+ import { n as streamProcess } from "./process-CTrfxxaC.mjs";
7
5
  import { z } from "zod";
8
- import { compare, valid } from "semver";
9
6
  import { realpathSync } from "node:fs";
7
+ import { compare, valid } from "semver";
10
8
  //#region src/core/npm-registry.ts
11
9
  const DEFAULT_REGISTRY = "https://registry.npmjs.org";
12
10
  const DEFAULT_TIMEOUT_MS = 15e3;
@@ -291,7 +289,7 @@ var upgrade_default = defineMetabaseCommand({
291
289
  name: "upgrade",
292
290
  description: "Upgrade the Metabase CLI itself to the latest published release"
293
291
  },
294
- capabilities: null,
292
+ requires: null,
295
293
  args: {
296
294
  ...outputFlags,
297
295
  check: {
@@ -0,0 +1,13 @@
1
+ import { t as defineCommandGroup } from "./group-YQQ5GIcP.mjs";
2
+ //#region src/commands/upload/index.ts
3
+ var upload_default = defineCommandGroup({
4
+ name: "upload",
5
+ description: "Upload CSV files into Metabase",
6
+ subCommands: {
7
+ csv: () => import("./csv-DOEqRG95.mjs").then((m) => m.default),
8
+ append: () => import("./append-CeHVEN3m.mjs").then((m) => m.default),
9
+ replace: () => import("./replace-DOmUXCyk.mjs").then((m) => m.default)
10
+ }
11
+ });
12
+ //#endregion
13
+ export { upload_default as default };
@@ -1,5 +1,5 @@
1
- import { i as ConfigError, p as isFileNotFoundError } from "./predicates-Bkm2IoeX.mjs";
2
- import { n as fileNotFoundError } from "./input-DH9i67x_.mjs";
1
+ import { Q as ConfigError, st as isFileNotFoundError } from "./cli.mjs";
2
+ import { n as fileNotFoundError } from "./input-DEvkIjGr.mjs";
3
3
  import { basename } from "node:path";
4
4
  import { readFile } from "node:fs/promises";
5
5
  //#region src/runtime/upload.ts
@@ -1,7 +1,7 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
3
  import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
4
- import { n as requireUploadFilePath, t as readCsvFile } from "./upload-CD555ui1.mjs";
4
+ import { n as requireUploadFilePath, t as readCsvFile } from "./upload-Do2PBSeH.mjs";
5
5
  //#region src/output/views/content-translation.ts
6
6
  const contentTranslationUploadView = {
7
7
  compactPick: ContentTranslationUploadResult,
@@ -18,10 +18,7 @@ var upload_default = defineMetabaseCommand({
18
18
  description: "Replace the complete content translation dictionary from CSV"
19
19
  },
20
20
  details: "Uploads one complete dictionary and replaces every active content translation on the server. Keep the canonical full CSV in version control and download the current dictionary before replacing it. Metabase accepts dictionaries up to 1.5 MiB.",
21
- capabilities: {
22
- minVersion: 58,
23
- tokenFeature: "content_translation"
24
- },
21
+ requires: ["contentTranslation.upload"],
25
22
  args: {
26
23
  ...outputFlags,
27
24
  ...profileFlag,
@@ -1,6 +1,5 @@
1
- import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
2
- import { F as outputFlags, l as writeJson, u as writeText } from "./cli.mjs";
3
- import { R as parseInteger, t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
1
+ import { H as outputFlags, Q as ConfigError, h as writeText, m as writeJson } from "./cli.mjs";
2
+ import { rt as parseInteger, t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
4
3
  import { z } from "zod";
5
4
  import { randomUUID } from "node:crypto";
6
5
  //#region src/commands/uuid.ts
@@ -16,7 +15,7 @@ var uuid_default = defineMetabaseCommand({
16
15
  skill: "mbql",
17
16
  purpose: "where lib/uuid values are used"
18
17
  }],
19
- capabilities: null,
18
+ requires: null,
20
19
  args: {
21
20
  ...outputFlags,
22
21
  count: {
@@ -1,4 +1,4 @@
1
- import { h as escapeJsonPointerSegment, i as ConfigError, t as isPlainObject } from "./predicates-Bkm2IoeX.mjs";
1
+ import { Q as ConfigError, b as isPlainObject, lt as escapeJsonPointerSegment } from "./cli.mjs";
2
2
  import { z } from "zod";
3
3
  import Ajv2020 from "ajv/dist/2020.js";
4
4
  import addFormats from "ajv-formats";
@@ -1,6 +1,5 @@
1
- import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
2
- import { l as writeJson } from "./cli.mjs";
3
- import { i as validateQuery, r as isMbql5Query, t as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-BWchyW0V.mjs";
1
+ import { Q as ConfigError, m as writeJson } from "./cli.mjs";
2
+ import { i as validateQuery, r as isMbql5Query, t as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-EAB-1EkK.mjs";
4
3
  //#region src/commands/validate-query.ts
5
4
  const skipValidateFlag = { "skip-validate": {
6
5
  type: "boolean",
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary, f as formatScalar } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
- import { s as FieldValues } from "./field-Cr2DPUG9.mjs";
5
- import { n as fieldValuesView } from "./field-BPsNa-TO.mjs";
1
+ import { H as outputFlags, U as profileFlag, _ as formatScalar, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-DzVkvFHY.mjs";
3
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
4
+ import { l as FieldValues } from "./field-CcN4oZy6.mjs";
5
+ import { n as fieldValuesView } from "./field-fDtIrY6D.mjs";
6
6
  //#region src/commands/field/values.ts
7
7
  var values_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "values",
10
10
  description: "Fetch the cached distinct values for a field (FieldValues list)"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["field.values"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,21 +1,6 @@
1
- import { n as createClient } from "./client-C9HBWl6A.mjs";
2
- import { f as errorMessage, l as TimeoutError, o as MetabaseError, s as NetworkError } from "./predicates-Bkm2IoeX.mjs";
3
- import { F as tryParseTag, I as SessionProperties, u as USER_AGENT } from "./runtime-CJUDVwBu.mjs";
4
- import { r as HttpError } from "./network-error-D6CiOEBw.mjs";
5
- //#region ../client/src/version/probe.ts
6
- const PROBE_PATH = "/api/session/properties";
7
- const PROBE_TIMEOUT_MS = 1e4;
8
- async function probeServer(client, opts = {}) {
9
- const properties = await client.requestParsed(SessionProperties, PROBE_PATH, {
10
- timeoutMs: PROBE_TIMEOUT_MS,
11
- retries: opts.retries ?? 0
12
- });
13
- return {
14
- version: tryParseTag(properties.version.tag),
15
- tokenFeatures: properties["token-features"] ?? null
16
- };
17
- }
18
- //#endregion
1
+ import { n as createClient } from "./client-yPhazV6T.mjs";
2
+ import { et as MetabaseError, ot as errorMessage, rt as TimeoutError, tt as NetworkError } from "./cli.mjs";
3
+ import { L as HttpError, O as USER_AGENT, et as probeServer } from "./runtime-DzVkvFHY.mjs";
19
4
  //#region src/core/auth/verify.ts
20
5
  const VERIFY_TIMEOUT_MS = 15e3;
21
6
  async function verifyAndProbe(url, credential, options = {}) {