@metabase/cli 0.3.1 → 0.3.2-alpha.fix-transform-test-ee-path.041c793

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 (267) hide show
  1. package/dist/{add-collection-CYDUm_XO.mjs → add-collection-73X1DmCM.mjs} +6 -9
  2. package/dist/{alert-ClyhtxIz.mjs → alert-BB38lWSL.mjs} +7 -7
  3. package/dist/{alerts-Dt3D1gcz.mjs → alerts-DxyzqLSU.mjs} +7 -7
  4. package/dist/{append-Bl_Ensmr.mjs → append-CHme1Enm.mjs} +5 -5
  5. package/dist/{archive-DSMqHRr1.mjs → archive-BGiDxu8O.mjs} +4 -4
  6. package/dist/{archive-D3a3Wgz0.mjs → archive-BMyvyf62.mjs} +4 -4
  7. package/dist/{archive-BdHXQg4I.mjs → archive-C4Y2B58q.mjs} +4 -4
  8. package/dist/{archive-CWceyy8x.mjs → archive-CP5Hlqjw.mjs} +5 -5
  9. package/dist/{archive-BOyKhNOz.mjs → archive-Cq3fnc0v2.mjs} +6 -6
  10. package/dist/{archive-DVGDg8mP.mjs → archive-CqKqNdUh.mjs} +6 -6
  11. package/dist/{archive-DDru3vdy.mjs → archive-Czo5T0Lp.mjs} +4 -4
  12. package/dist/{archive-nKD3mOB8.mjs → archive-DBcxZwLd.mjs} +6 -6
  13. package/dist/{archive-CNblz55j.mjs → archive-DKFPJ9j3.mjs} +6 -6
  14. package/dist/{archive-BJZ7Dace.mjs → archive-DPL1qOuL.mjs} +6 -6
  15. package/dist/{archive-DiGxCojL.mjs → archive-eS-XA74p.mjs} +4 -4
  16. package/dist/{auth-aCksg8q2.mjs → auth-6YyB0HNB.mjs} +5 -5
  17. package/dist/{body-DxRSAMNC.mjs → body-OjAWKVaU.mjs} +3 -3
  18. package/dist/{branches-_0VWR2Zm.mjs → branches-D5YLVFDK.mjs} +4 -7
  19. package/dist/{cancel-ctpVE8uC.mjs → cancel-DeRIq1YJ.mjs} +4 -4
  20. package/dist/{cancel-task-FtxBka-M.mjs → cancel-task-CqExODVm.mjs} +5 -8
  21. package/dist/card-BMSqofd7.mjs +24 -0
  22. package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
  23. package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
  24. package/dist/{cards-DHOWAvfv.mjs → cards-B813G9I5.mjs} +7 -7
  25. package/dist/cli.mjs +572 -69
  26. package/dist/client-cJ7aw0Gt.mjs +4092 -0
  27. package/dist/collection-BfNg7tEg.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-CVzDgJV0.mjs} +2 -2
  31. package/dist/{content-translation-DNKerjS3.mjs → content-translation-QKWt9l76.mjs} +3 -3
  32. package/dist/{create-e650zxzX.mjs → create-4UnoQvsy.mjs} +5 -5
  33. package/dist/{create-DaYRnK5P.mjs → create-BJad6MR82.mjs} +8 -8
  34. package/dist/{create-CcLchJAN.mjs → create-BLiB2xqo.mjs} +7 -7
  35. package/dist/{create-C9vy4ZG6.mjs → create-BWp6L_dW.mjs} +5 -5
  36. package/dist/{create-C78g8Crb.mjs → create-Bef5eBCA.mjs} +5 -5
  37. package/dist/{create-F4Lf09xq.mjs → create-CMV3qlzJ.mjs} +4 -4
  38. package/dist/{create-DmvoibX8.mjs → create-CWGsiFvU.mjs} +4 -4
  39. package/dist/{create-C3IaXXty.mjs → create-CoFg1p6m.mjs} +4 -4
  40. package/dist/{create-CEydRMWS.mjs → create-CvIeb1NU.mjs} +7 -7
  41. package/dist/{create-vlrlY-2E.mjs → create-CvpeAcFc.mjs} +4 -4
  42. package/dist/{create-wJR4CxHA.mjs → create-D50TxVTk.mjs} +5 -8
  43. package/dist/{create-CLG2-bso.mjs → create-DEBgYRlM.mjs} +6 -6
  44. package/dist/{create-7ddYK4TA.mjs → create-DJm0YuLW.mjs} +6 -6
  45. package/dist/{create-BdPVWYSi.mjs → create-DmKwDQCY2.mjs} +6 -6
  46. package/dist/{create-branch-B8C7jl-J.mjs → create-branch-BN5iH-GM.mjs} +5 -9
  47. package/dist/{create-DIVhBIyE.mjs → create-bvpl6Fn5.mjs} +11 -7
  48. package/dist/create-uanpKsPo.mjs +34 -0
  49. package/dist/{csv-BLPJtlSC.mjs → csv-BhuX9fwh.mjs} +5 -5
  50. package/dist/{current-task-C-ldJbWE.mjs → current-task-BMt2NeqV.mjs} +5 -8
  51. package/dist/{dashboard-CtO_3EfC.mjs → dashboard-Ct_ajSYI.mjs} +10 -10
  52. package/dist/{dashboard-CKUR8ZpQ.mjs → dashboard-D0hwTC-f.mjs} +11 -2
  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-xXselnBq.mjs → db-B_LW2VE-.mjs} +7 -7
  57. package/dist/{delete-ZJJyqsRh.mjs → delete-BOcPK_H9.mjs} +5 -5
  58. package/dist/{delete-BZZHw6pm.mjs → delete-CowGO4rh.mjs} +5 -5
  59. package/dist/{delete-D6WxgWRp.mjs → delete-D0f7VatX.mjs} +5 -5
  60. package/dist/{delete-BwSPQy7m.mjs → delete-D2bUV6uo.mjs} +5 -5
  61. package/dist/delete-DZ_ICQug.mjs +44 -0
  62. package/dist/{delete-BZwAOQxG.mjs → delete-Ur7b11no.mjs} +5 -5
  63. package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
  64. package/dist/{delete-table-CJktZE3w.mjs → delete-table-Dd8X573t.mjs} +5 -5
  65. package/dist/{dependencies-BdqIqEIy.mjs → dependencies-XDVLBwko.mjs} +7 -7
  66. package/dist/{dirty-BW2As2wS.mjs → dirty-k-JmGLsS.mjs} +6 -9
  67. package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
  68. package/dist/document-BW9iow8R.mjs +19 -0
  69. package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
  70. package/dist/{download-mfFJ9oRS.mjs → download-CQjPIYDO.mjs} +3 -6
  71. package/dist/{eid-DZ-4t2xe.mjs → eid-CNTKDgwj.mjs} +4 -5
  72. package/dist/{events-D6yFmXP1.mjs → events-BshWlkDp.mjs} +5 -5
  73. package/dist/{export-DYZjz1WP.mjs → export-Dq6ecU8h.mjs} +7 -10
  74. package/dist/{field-BJ54wmIX.mjs → field-Bo2ISMO4.mjs} +5 -5
  75. package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
  76. package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
  77. package/dist/{fields-FUWCgPOa.mjs → fields-CVctqn5G.mjs} +7 -7
  78. package/dist/{get-BraVQ1FJ.mjs → get-7xTeNGAo.mjs} +6 -6
  79. package/dist/{get-LAew34ID.mjs → get-8b5Sh50q.mjs} +6 -6
  80. package/dist/{get-CWnriw33.mjs → get-B4RgW-VT.mjs} +6 -6
  81. package/dist/{get-C_5AbfpO.mjs → get-BD81MHl_.mjs} +4 -4
  82. package/dist/{get-ByZJf9nO.mjs → get-Bl3OmlBP.mjs} +5 -5
  83. package/dist/get-BtTetWzm.mjs +32 -0
  84. package/dist/{get-_ggLr1tY.mjs → get-BvSA_mmf.mjs} +6 -6
  85. package/dist/{get-DhkltKIV.mjs → get-BvgEF--n.mjs} +4 -4
  86. package/dist/{get-DYaQpixt.mjs → get-C5sWciaE.mjs} +6 -6
  87. package/dist/get-CO6X4nZH.mjs +93 -0
  88. package/dist/{get-DVyesErX.mjs → get-CTPvdcud.mjs} +6 -6
  89. package/dist/{get-DMECsioX.mjs → get-CrpwxWOV.mjs} +4 -4
  90. package/dist/{get-Ba2HRdrx.mjs → get-D4oGhZWX.mjs} +6 -6
  91. package/dist/{get-CsN7NBI0.mjs → get-Df6cGHCM.mjs} +4 -4
  92. package/dist/{get-BWl3vzsf.mjs → get-DfMVlz64.mjs} +6 -6
  93. package/dist/{get-C5q49Dgx.mjs → get-Dr-U321T2.mjs} +6 -6
  94. package/dist/{get-DAOSGt5Z.mjs → get-Dw7jAno3.mjs} +6 -6
  95. package/dist/{get-DRJtsS1_.mjs → get-PWhOdz1z.mjs} +4 -4
  96. package/dist/{get-CQ0-fFWP.mjs → get-RslzBaXx.mjs} +5 -8
  97. package/dist/{get-run-oH4dRCBx.mjs → get-run-CZdDqfUj.mjs} +6 -6
  98. package/dist/{get-DCutQeiV.mjs → get-wjIgUlNl.mjs} +4 -4
  99. package/dist/git-sync-BmoRk0UV.mjs +28 -0
  100. package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
  101. package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
  102. package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
  103. package/dist/{has-remote-changes-CnmyIw_7.mjs → has-remote-changes-i-3MVxat.mjs} +5 -8
  104. package/dist/{import-B7Si-bSI.mjs → import-DWEKejya.mjs} +7 -10
  105. package/dist/{input-DH9i67x_.mjs → input-DEvkIjGr.mjs} +1 -1
  106. package/dist/{is-dirty-BOH_VEA8.mjs → is-dirty-C5ipqd4v.mjs} +3 -6
  107. package/dist/{items-DouHkWev.mjs → items-hKJ2ZDwy.mjs} +7 -7
  108. package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
  109. package/dist/{library-1J_4Dicw.mjs → library-B7_04UVK.mjs} +5 -5
  110. package/dist/library-BPIzb3K_.mjs +81 -0
  111. package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
  112. package/dist/{list-BK_6VNm_.mjs → list-1vdClKSE.mjs} +4 -4
  113. package/dist/{list-DWLGpMvr.mjs → list-6myofqMv.mjs} +7 -7
  114. package/dist/{list-DhViDVx_.mjs → list-B-9QOX9Y.mjs} +6 -6
  115. package/dist/{list-aKUk-a1Y.mjs → list-Bs7_Rysg.mjs} +7 -7
  116. package/dist/list-CHuhMXet.mjs +35 -0
  117. package/dist/{list-DptEWB5Y.mjs → list-CLZU_EOf.mjs} +4 -4
  118. package/dist/{list-B2Ddf4W0.mjs → list-Cen-7uTo.mjs} +5 -5
  119. package/dist/{list-D2IYZ6lk.mjs → list-CgH-H-O6.mjs} +6 -6
  120. package/dist/{list-BeMYIeiI.mjs → list-CjNXskB4.mjs} +7 -7
  121. package/dist/{list-C1bAtgO1.mjs → list-CmFh1GQ_.mjs} +4 -4
  122. package/dist/{list-Cy0w4Fap.mjs → list-D6tTvYUP.mjs} +4 -4
  123. package/dist/{list-C7UvO3Uw.mjs → list-DI820W6w.mjs} +6 -6
  124. package/dist/{list-D25ofn4v.mjs → list-DKZnQ4Ts.mjs} +7 -7
  125. package/dist/{list-C0zJ2ehz.mjs → list-DKcC4cm0.mjs} +6 -6
  126. package/dist/{list-qs9wAtC3.mjs → list-DfRqNH1N.mjs} +4 -4
  127. package/dist/list-DjwnsyXM.mjs +60 -0
  128. package/dist/{list-sDpy4nDU.mjs → list-VNC-_E59.mjs} +6 -6
  129. package/dist/{list-DJK9_BEF.mjs → list-eKDT1XXk.mjs} +14 -13
  130. package/dist/{list-BXlTYsYA.mjs → list-oX2SMzxZ.mjs} +4 -4
  131. package/dist/{login-BmyCAfRV.mjs → login-DumZaWXK.mjs} +18 -15
  132. package/dist/{logout-DUR32q0V.mjs → logout-BsXPRc-3.mjs} +3 -4
  133. package/dist/{measure-DdVp-8jw.mjs → measure-BFxkbAoa.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-CBR-cBev.mjs → parameter-values-CoF9Hx1p.mjs} +5 -6
  137. package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
  138. package/dist/{parse-id-B3YwNojT.mjs → parse-id-DmFJgpY6.mjs} +1 -1
  139. package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
  140. package/dist/{path-D8BQmEhL.mjs → path-BQ4lRDyN.mjs} +5 -5
  141. package/dist/{poll-75SvT7Zv.mjs → poll-CZeXepUQ.mjs} +2 -2
  142. package/dist/{preflight-CoF1Em99.mjs → preflight-BTQe4swo.mjs} +3 -4
  143. package/dist/{process-DBOOrmET.mjs → process-CTrfxxaC.mjs} +1 -1
  144. package/dist/{publish-Cb7XrQ3X.mjs → publish-CFB2Cc5A.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-D35B588l.mjs → query-BJbUnAHf.mjs} +10 -12
  148. package/dist/query-CV2KCS5O.mjs +114 -0
  149. package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
  150. package/dist/{remove-collection-DJem6V26.mjs → remove-collection-D3yvKH3e.mjs} +6 -9
  151. package/dist/{render-CI93iP0I.mjs → render-BJRCs7rA.mjs} +13 -2
  152. package/dist/{replace-CtsWICrD.mjs → replace-uj4WTqx_.mjs} +5 -5
  153. package/dist/{rescan-values-CaXUL6z5.mjs → rescan-values-CzxQU318.mjs} +6 -6
  154. package/dist/{run-CM-Amtbf.mjs → run-B2f_omHu.mjs} +26 -14
  155. package/dist/run-DlO1J1Sx.mjs +50 -0
  156. package/dist/{run-BeLm17F4.mjs → run-yX2dtmE5.mjs} +6 -6
  157. package/dist/{runs-DFG63zgr.mjs → runs-DzUO45wU.mjs} +7 -7
  158. package/dist/{runtime-z8rra6-I.mjs → runtime-arKqJqIT.mjs} +994 -252
  159. package/dist/{schema-tables-COAHkIcy.mjs → schema-tables-DZCNzuQ6.mjs} +7 -7
  160. package/dist/{schemas-BX5BATiV.mjs → schemas-2ejqaVsG.mjs} +5 -5
  161. package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
  162. package/dist/{search-CPvvmhdt.mjs → search-DcihauDZ.mjs} +6 -6
  163. package/dist/{segment-C62L6BI3.mjs → segment-BQT2poPG.mjs} +6 -6
  164. package/dist/{selectors-P4QnrORk.mjs → selectors-BzestDld.mjs} +3 -3
  165. package/dist/{send-PZh5IKF8.mjs → send-DMxoLFo7.mjs} +4 -4
  166. package/dist/{set-DbCtUoFd.mjs → set-CDmiD0vv.mjs} +5 -5
  167. package/dist/{set-active-DL4QzWDO.mjs → set-active-RrvWR9NY.mjs} +5 -5
  168. package/dist/{setting-BlRcZbhC.mjs → setting-BiBLCcxz.mjs} +4 -4
  169. package/dist/{setup-D_SLaC-3.mjs → setup-DYsTzkWO.mjs} +4 -4
  170. package/dist/{signal-CMd0EFUa.mjs → signal-k7cm5N6h.mjs} +11 -2
  171. package/dist/skill-list-D9_1Pmt7.mjs +76 -0
  172. package/dist/skills-BPHXUfeL.mjs +351 -0
  173. package/dist/{skills-D991LB1M.mjs → skills-C3bxxC6a.mjs} +3 -3
  174. package/dist/snippet-BtfxE60H.mjs +19 -0
  175. package/dist/{stash-DyBxFoP6.mjs → stash-DdheS0Ad.mjs} +7 -11
  176. package/dist/{status-cfDHqK2Q.mjs → status-BuIzXRX1.mjs} +12 -11
  177. package/dist/{status-DUsiogz5.mjs → status-CXouQJ31.mjs} +11 -9
  178. package/dist/{subscription-Bn0AU7GN.mjs → subscription-CJ8Igs1U.mjs} +6 -6
  179. package/dist/{subscriptions-DwqjCVlc.mjs → subscriptions-D0NpGvCQ.mjs} +7 -7
  180. package/dist/{summary-BGwSNzf4.mjs → summary-D04S8gGj.mjs} +6 -6
  181. package/dist/{sync-schema-dtkDOAKe.mjs → sync-schema-DrA5zkdl.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-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
  185. package/dist/{table-BJoEAoCU.mjs → table-Dntbz7Q2.mjs} +5 -5
  186. package/dist/timeline-8jwsldo3.mjs +21 -0
  187. package/dist/{timeline-event-BsF7YqzZ.mjs → timeline-event-BbB1xEdI.mjs} +6 -6
  188. package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
  189. package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
  190. package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
  191. package/dist/transform-job-B-1YAbvy.mjs +22 -0
  192. package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
  193. package/dist/transform-m6s4kkWU.mjs +28 -0
  194. package/dist/{transform-tag-VM9R7Q_M.mjs → transform-tag-PjryheLF.mjs} +5 -5
  195. package/dist/transform-test-BjjCQ2xm.mjs +169 -0
  196. package/dist/transform-test-DSTkKKNC.mjs +16 -0
  197. package/dist/transform-test-gzDcbypy.mjs +25 -0
  198. package/dist/{transforms-BjACGbBp.mjs → transforms-CijX3VE7.mjs} +7 -7
  199. package/dist/{tree-BwS6JAmk.mjs → tree-Cmb3O6rH.mjs} +4 -5
  200. package/dist/{unpublish-DWdPnENY.mjs → unpublish-DkP_AcK5.mjs} +4 -7
  201. package/dist/{update-DKEHY-gt.mjs → update-8UmD1prT.mjs} +7 -7
  202. package/dist/{update-C1FBVLfC.mjs → update-BFyRBc-H.mjs} +8 -8
  203. package/dist/{update-tLIhVIPp.mjs → update-BrXGg3QO.mjs} +8 -8
  204. package/dist/{update-DCjAjihm.mjs → update-C91m9YAR.mjs} +6 -6
  205. package/dist/{update-BpPaacCF.mjs → update-COcx61Ur.mjs} +6 -6
  206. package/dist/update-Ci8YL4_2.mjs +41 -0
  207. package/dist/{update-BR_vkkd1.mjs → update-CtLbFCd_.mjs} +5 -5
  208. package/dist/{update-DTmRHBik.mjs → update-D6Zzvc7F.mjs} +7 -7
  209. package/dist/{update-cqR1U6DU.mjs → update-D8htjzNJ.mjs} +5 -5
  210. package/dist/{update-B2CF2DK4.mjs → update-D9kOTr0n.mjs} +6 -6
  211. package/dist/{update-C4y3iQsv.mjs → update-DPTio6i1.mjs} +7 -7
  212. package/dist/{update-DsZttiSC.mjs → update-DlWB9s0v.mjs} +5 -5
  213. package/dist/{update-BCT9qpVr.mjs → update-DubrpPbz.mjs} +5 -5
  214. package/dist/{update-3idz42uD.mjs → update-Dz47cKBk.mjs} +7 -7
  215. package/dist/{update-DkviXwSg.mjs → update-FCP5Lop2.mjs} +7 -7
  216. package/dist/{update-DlTaD1x3.mjs → update-KSHnb6vB.mjs} +9 -9
  217. package/dist/{update-dashcard-DlE_bb2F.mjs → update-dashcard-BlibHa5o.mjs} +7 -7
  218. package/dist/{upgrade-mNV7XuJG.mjs → upgrade-EwL6wPSY.mjs} +6 -8
  219. package/dist/upload-BZshRJIM.mjs +13 -0
  220. package/dist/{upload-CEGVxmYB.mjs → upload-D0KaTqUE.mjs} +4 -7
  221. package/dist/{upload-CD555ui1.mjs → upload-Do2PBSeH.mjs} +2 -2
  222. package/dist/{uuid-C4hqn3kA.mjs → uuid-DjKLDIVE.mjs} +10 -7
  223. package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-D6_ad-Gi.mjs} +3 -4
  224. package/dist/{validate-BWchyW0V.mjs → validate-xR_MHBNR.mjs} +69 -23
  225. package/dist/{values-C0O3eNaW.mjs → values-Dc9612_L.mjs} +6 -6
  226. package/dist/{verify-DfTjYF7s.mjs → verify-DVN1eqXZ.mjs} +3 -18
  227. package/dist/{wait-WZmFenN_.mjs → wait-C-ovOTAZ.mjs} +7 -10
  228. package/dist/{wait-flags-BbfDSP8R.mjs → wait-flags-BQNmuvIj.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 +31 -15
  232. package/skill-data/dashboard/SKILL.md +1 -1
  233. package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
  234. package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
  235. package/skill-data/document/SKILL.md +4 -1
  236. package/skill-data/git-sync/SKILL.md +5 -0
  237. package/skill-data/mbql/SKILL.md +84 -115
  238. package/skill-data/mbql/references/operators.md +77 -231
  239. package/skill-data/metadata/SKILL.md +1 -1
  240. package/skill-data/metadata/references/semantic-types.md +7 -1
  241. package/skill-data/native-sql/SKILL.md +8 -9
  242. package/skill-data/native-sql/references/template-tags.md +27 -27
  243. package/skill-data/notification/SKILL.md +7 -1
  244. package/skill-data/transform/SKILL.md +76 -4
  245. package/skill-data/transform-test-plan/SKILL.md +171 -0
  246. package/skill-data/transform-test-plan/references/checklist.md +81 -0
  247. package/skill-data/transform-test-plan/references/checks.md +260 -0
  248. package/skill-data/visualization/SKILL.md +13 -6
  249. package/skill-data/visualization/references/settings.md +13 -11
  250. package/skills/metabase-cli/SKILL.md +1 -1
  251. package/dist/card-CGCXbdmD.mjs +0 -24
  252. package/dist/client-mKuHg_sc.mjs +0 -2218
  253. package/dist/collection-D8Tk8i3a.mjs +0 -20
  254. package/dist/document-KbcHhzFz.mjs +0 -19
  255. package/dist/get-BC8J8BXB.mjs +0 -80
  256. package/dist/git-sync-Dik8nKfw.mjs +0 -28
  257. package/dist/library-ClLgrAXy.mjs +0 -19
  258. package/dist/list-CW5PdYCX.mjs +0 -98
  259. package/dist/network-error-D6CiOEBw.mjs +0 -431
  260. package/dist/predicates-Bkm2IoeX.mjs +0 -170
  261. package/dist/query-C256WBYG.mjs +0 -87
  262. package/dist/skills-DTCrMcix.mjs +0 -216
  263. package/dist/snippet-DTDO55Cg.mjs +0 -19
  264. package/dist/timeline-DcXPshcT.mjs +0 -21
  265. package/dist/transform-Dsf_wHAj.mjs +0 -28
  266. package/dist/transform-job-B1yLv5l-.mjs +0 -22
  267. package/dist/upload-DsYCf5kB.mjs +0 -13
@@ -0,0 +1,20 @@
1
+ import { t as defineCommandGroup } from "./group-YQQ5GIcP.mjs";
2
+ //#region src/commands/collection/index.ts
3
+ var collection_default = defineCommandGroup({
4
+ name: "collection",
5
+ description: "Manage Metabase collections",
6
+ skills: [{
7
+ skill: "core",
8
+ purpose: "collection ref forms and the transforms namespace"
9
+ }],
10
+ subCommands: {
11
+ list: () => import("./list-DKZnQ4Ts.mjs").then((mod) => mod.default),
12
+ get: () => import("./get-DfMVlz64.mjs").then((mod) => mod.default),
13
+ items: () => import("./items-hKJ2ZDwy.mjs").then((mod) => mod.default),
14
+ tree: () => import("./tree-Cmb3O6rH.mjs").then((mod) => mod.default),
15
+ create: () => import("./create-BLiB2xqo.mjs").then((mod) => mod.default),
16
+ archive: () => import("./archive-DPL1qOuL.mjs").then((mod) => mod.default)
17
+ }
18
+ });
19
+ //#endregion
20
+ export { collection_default as default };
@@ -123,4 +123,4 @@ z.object({
123
123
  archived: z.boolean().optional()
124
124
  }).loose();
125
125
  //#endregion
126
- export { CollectionCreateInput as a, CollectionItemFilterModel as c, CollectionPinnedState as d, CollectionTreeNode as f, CollectionCompact as i, CollectionListFilter as l, COLLECTION_PINNED_STATES as n, CollectionItem as o, Collection as r, CollectionItemCompact as s, COLLECTION_ITEM_FILTER_MODELS as t, CollectionNamespace as u };
126
+ export { CollectionCompact as a, CollectionItem as c, CollectionListFilter as d, CollectionNamespace as f, CollectionType as h, CollectionAuthorityLevel as i, CollectionItemCompact as l, CollectionTreeNode as m, COLLECTION_PINNED_STATES as n, CollectionCreateInput as o, CollectionPinnedState as p, Collection as r, CollectionId as s, COLLECTION_ITEM_FILTER_MODELS as t, CollectionItemFilterModel as u };
@@ -1,4 +1,4 @@
1
- import { i as CollectionCompact, s as CollectionItemCompact } from "./collection-CfulNRBG.mjs";
1
+ import { a as CollectionCompact, l as CollectionItemCompact } from "./collection-BxdPxD38.mjs";
2
2
  //#region src/output/views/collection.ts
3
3
  const collectionView = {
4
4
  compactPick: CollectionCompact,
@@ -1,5 +1,5 @@
1
- import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
2
- import { r as HttpError } from "./network-error-D6CiOEBw.mjs";
1
+ import { Q as ConfigError } from "./cli.mjs";
2
+ import { L as HttpError } from "./runtime-arKqJqIT.mjs";
3
3
  //#region src/commands/transform/collection-namespace.ts
4
4
  const TRANSFORMS_NAMESPACE_HINT = "transforms can only be filed in a :transforms-namespace collection. Create one with `mb collection create --body '{\"name\":\"…\"}' --namespace transforms` and pass its id as collection_id, or omit collection_id to leave the transform uncollected.";
5
5
  function enrichTransformCollectionError(error) {
@@ -1,11 +1,11 @@
1
- import { t as defineCommandGroup } from "./group-DBM87IgC.mjs";
1
+ import { t as defineCommandGroup } from "./group-YQQ5GIcP.mjs";
2
2
  //#region src/commands/content-translation/index.ts
3
3
  var content_translation_default = defineCommandGroup({
4
4
  name: "content-translation",
5
5
  description: "Download or replace the content translation dictionary",
6
6
  subCommands: {
7
- download: () => import("./download-mfFJ9oRS.mjs").then((mod) => mod.default),
8
- upload: () => import("./upload-CEGVxmYB.mjs").then((mod) => mod.default)
7
+ download: () => import("./download-CQjPIYDO.mjs").then((mod) => mod.default),
8
+ upload: () => import("./upload-D0KaTqUE.mjs").then((mod) => mod.default)
9
9
  }
10
10
  });
11
11
  //#endregion
@@ -1,9 +1,9 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { r as SegmentCreateInput, t as Segment } from "./segment-OsrbUDzw.mjs";
6
- import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-DaGYSmpQ.mjs";
6
+ import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-D6_ad-Gi.mjs";
7
7
  import { t as segmentView } from "./segment-C_gl5ag6.mjs";
8
8
  //#region src/commands/segment/create.ts
9
9
  var create_default = defineMetabaseCommand({
@@ -16,7 +16,7 @@ var create_default = defineMetabaseCommand({
16
16
  skill: "mbql",
17
17
  purpose: "the definition filter clause"
18
18
  }],
19
- capabilities: { minVersion: 58 },
19
+ requires: ["segment.create"],
20
20
  args: {
21
21
  ...outputFlags,
22
22
  ...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-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { r as TransformCreateInput, t as Transform } from "./transform-D3QX0jxA.mjs";
6
- import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-DaGYSmpQ.mjs";
7
- import { n as transformView } from "./transform-DoTyyXAu.mjs";
8
- import { t as enrichTransformCollectionError } from "./collection-namespace-CEoQ7G08.mjs";
5
+ import { r as TransformCreateInput, t as Transform } from "./transform-DiW7bREn.mjs";
6
+ import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-D6_ad-Gi.mjs";
7
+ import { n as transformView } from "./transform-CtqB1WYo.mjs";
8
+ import { t as enrichTransformCollectionError } from "./collection-namespace-CVzDgJV0.mjs";
9
9
  //#region src/commands/transform/create.ts
10
10
  var create_default = defineMetabaseCommand({
11
11
  meta: {
@@ -17,7 +17,7 @@ var create_default = defineMetabaseCommand({
17
17
  skill: "mbql",
18
18
  purpose: "MBQL source.query bodies"
19
19
  }],
20
- capabilities: { minVersion: 59 },
20
+ requires: ["transform.create"],
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-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { a as CollectionCreateInput, r as Collection, u as CollectionNamespace } from "./collection-CfulNRBG.mjs";
6
- import { t as parseEnumFlag } from "./parse-enum-D0Jfm_Bz.mjs";
7
- import { n as collectionView } from "./collection-CGoVLvcD.mjs";
5
+ import { f as CollectionNamespace, o as CollectionCreateInput, r as Collection } from "./collection-BxdPxD38.mjs";
6
+ import { t as parseEnumFlag } from "./parse-enum-Dc0dMZ3P.mjs";
7
+ import { n as collectionView } from "./collection-DYM0p3Xl.mjs";
8
8
  //#region src/commands/collection/create.ts
9
9
  var create_default = defineMetabaseCommand({
10
10
  meta: {
@@ -12,7 +12,7 @@ var create_default = defineMetabaseCommand({
12
12
  description: "Create a collection from a JSON spec"
13
13
  },
14
14
  details: "Body keys: `name` (required), `description`, `parent_id`, `authority_level`, `namespace`. Most collections use the default namespace (omit it). Pass `namespace: \"transforms\"` (or `--namespace transforms`) to create the kind of collection a transform's `collection_id` can point at — a regular collection is rejected there.",
15
- capabilities: { minVersion: 58 },
15
+ requires: ["collection.create"],
16
16
  args: {
17
17
  ...outputFlags,
18
18
  ...profileFlag,
@@ -1,9 +1,9 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { r as MeasureCreateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
6
- import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-DaGYSmpQ.mjs";
6
+ import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-D6_ad-Gi.mjs";
7
7
  import { t as measureView } from "./measure-4P0bOlZ3.mjs";
8
8
  //#region src/commands/measure/create.ts
9
9
  var create_default = defineMetabaseCommand({
@@ -16,7 +16,7 @@ var create_default = defineMetabaseCommand({
16
16
  skill: "mbql",
17
17
  purpose: "the definition aggregation"
18
18
  }],
19
- capabilities: { minVersion: 59 },
19
+ requires: ["measure.create"],
20
20
  args: {
21
21
  ...outputFlags,
22
22
  ...profileFlag,
@@ -1,9 +1,9 @@
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 { a as NotificationCreateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
3
- import { t as notificationView } from "./notification-Fcq1fIPw.mjs";
4
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
+ import { t as notificationView } from "./notification-DVrLkjFT.mjs";
4
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
5
5
  import { t as describeAlert } from "./summary-BytbDz6e.mjs";
6
- import { t as readBody } from "./body-DxRSAMNC.mjs";
6
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
7
7
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
8
8
  //#region src/commands/alert/create.ts
9
9
  var create_default = defineMetabaseCommand({
@@ -18,7 +18,7 @@ var create_default = defineMetabaseCommand({
18
18
  "`handlers` is a list of `{channel_type: channel/email|channel/slack|channel/http, recipients}`;",
19
19
  "each recipient is `{type: \"notification-recipient/user\", user_id}` or `{type: \"notification-recipient/raw-value\", details: {value: \"a@b.com\"}}`."
20
20
  ].join(" "),
21
- capabilities: { minVersion: 58 },
21
+ requires: ["notification.create"],
22
22
  args: {
23
23
  ...outputFlags,
24
24
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { i as TimelineEvent, o as TimelineEventCreateInput } from "./timeline-CCSU2qOS.mjs";
6
6
  import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
@@ -11,7 +11,7 @@ var create_default = defineMetabaseCommand({
11
11
  description: "Create a timeline event from JSON"
12
12
  },
13
13
  details: "The JSON body needs `name`, `timestamp` (ISO 8601), `timezone` (IANA name like UTC or America/New_York), `time_matters` (true when the time of day is significant, false when only the date is), and `timeline_id`; optional fields: `description`, `icon` (star|cake|mail|warning|bell|cloud, default: the timeline's icon).",
14
- capabilities: { minVersion: 58 },
14
+ requires: ["timelineEvent.create"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { r as TransformTagCreateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
6
6
  import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
@@ -10,7 +10,7 @@ var create_default = defineMetabaseCommand({
10
10
  name: "create",
11
11
  description: "Create a transform tag"
12
12
  },
13
- capabilities: { minVersion: 59 },
13
+ requires: ["transformTag.create"],
14
14
  args: {
15
15
  ...outputFlags,
16
16
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { r as TimelineCreateInput, t as Timeline } from "./timeline-CCSU2qOS.mjs";
6
6
  import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
@@ -11,7 +11,7 @@ var create_default = defineMetabaseCommand({
11
11
  description: "Create a timeline from JSON"
12
12
  },
13
13
  details: "The JSON body needs `name`; optional fields: `description`, `icon` (star|cake|mail|warning|bell|cloud, default star), `collection_id` (null = root collection), `default`.",
14
- capabilities: { minVersion: 58 },
14
+ requires: ["timeline.create"],
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-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { r as CardCreateInput, t as Card } from "./card-DZxRmver.mjs";
6
- import { n as cardView } from "./card-zyUkr2nS.mjs";
7
- import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-DaGYSmpQ.mjs";
5
+ import { r as CardCreateInput, t as Card } from "./card-voh1k4hl.mjs";
6
+ import { n as cardView } from "./card-CEkp1mcI.mjs";
7
+ import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-D6_ad-Gi.mjs";
8
8
  //#region src/commands/card/create.ts
9
9
  var create_default = defineMetabaseCommand({
10
10
  meta: {
@@ -26,7 +26,7 @@ var create_default = defineMetabaseCommand({
26
26
  purpose: "choose display and visualization_settings"
27
27
  }
28
28
  ],
29
- capabilities: { minVersion: 58 },
29
+ requires: ["card.create"],
30
30
  args: {
31
31
  ...outputFlags,
32
32
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { r as SnippetCreateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
6
6
  import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
@@ -10,7 +10,7 @@ var create_default = defineMetabaseCommand({
10
10
  name: "create",
11
11
  description: "Create a native query snippet from a JSON spec"
12
12
  },
13
- capabilities: { minVersion: 58 },
13
+ requires: ["snippet.create"],
14
14
  args: {
15
15
  ...outputFlags,
16
16
  ...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-z8rra6-I.mjs";
3
- import { t as Library } from "./library-ClLgrAXy.mjs";
4
- import { t as libraryView } from "./library-DfYAT2Ep.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-arKqJqIT.mjs";
3
+ import { t as Library } from "./library-BPIzb3K_.mjs";
4
+ import { t as libraryView } from "./library-PGCfm0UA.mjs";
5
5
  //#region src/commands/library/create.ts
6
6
  var create_default = defineMetabaseCommand({
7
7
  meta: {
@@ -9,10 +9,7 @@ var create_default = defineMetabaseCommand({
9
9
  description: "Create the Library (Data + Metrics collections); idempotent"
10
10
  },
11
11
  details: "Creates the Library subtree if it doesn't exist and returns it; a no-op that returns the existing Library when it's already there. Only admins and data analysts can curate the Library.",
12
- capabilities: {
13
- minVersion: 59,
14
- tokenFeature: "library"
15
- },
12
+ requires: ["library.create"],
16
13
  args: {
17
14
  ...outputFlags,
18
15
  ...profileFlag,
@@ -1,16 +1,16 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { r as DocumentCreateInput, t as Document } from "./document-Cd2mmqCp.mjs";
6
- import { t as documentView } from "./document-D6OybtP2.mjs";
5
+ import { r as DocumentCreateInput, t as Document } from "./document-BHpLJbKU.mjs";
6
+ import { t as documentView } from "./document-CA0Q6lqu.mjs";
7
7
  //#region src/commands/document/create.ts
8
8
  var create_default = defineMetabaseCommand({
9
9
  meta: {
10
10
  name: "create",
11
11
  description: "Create a document"
12
12
  },
13
- capabilities: { minVersion: 58 },
13
+ requires: ["document.create"],
14
14
  args: {
15
15
  ...outputFlags,
16
16
  ...profileFlag,
@@ -1,16 +1,16 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { i as TransformJobCreateInput, t as TransformJob } from "./transform-job-DRrK28IH.mjs";
6
- import { t as transformJobView } from "./transform-job-50GZHhKH.mjs";
5
+ import { i as TransformJobCreateInput, t as TransformJob } from "./transform-job-CCguL6LP.mjs";
6
+ import { t as transformJobView } from "./transform-job-AaMZRxAq.mjs";
7
7
  //#region src/commands/transform-job/create.ts
8
8
  var create_default = defineMetabaseCommand({
9
9
  meta: {
10
10
  name: "create",
11
11
  description: "Create a transform job"
12
12
  },
13
- capabilities: { minVersion: 59 },
13
+ requires: ["transformJob.create"],
14
14
  args: {
15
15
  ...outputFlags,
16
16
  ...profileFlag,
@@ -1,9 +1,9 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { i as PulseCreateInput, t as Pulse } from "./pulse-BmsDenXm.mjs";
6
- import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
5
+ import { i as PulseCreateInput, t as Pulse } from "./pulse-Dz0ocv0l.mjs";
6
+ import { t as pulseView } from "./pulse-x0gFxWfG.mjs";
7
7
  //#region src/commands/subscription/create.ts
8
8
  var create_default = defineMetabaseCommand({
9
9
  meta: {
@@ -17,7 +17,7 @@ var create_default = defineMetabaseCommand({
17
17
  "`daily` needs `schedule_hour` (0-23); `weekly` also needs `schedule_day` (mon..sun); `monthly` also needs `schedule_frame` (first|mid|last).",
18
18
  "Email recipients are `[{email: \"a@b.com\"} | {id: <user-id>}]`; Slack targets a channel via `details: {channel: \"#general\"}`."
19
19
  ].join(" "),
20
- capabilities: { minVersion: 58 },
20
+ requires: ["pulse.create"],
21
21
  args: {
22
22
  ...outputFlags,
23
23
  ...profileFlag,
@@ -1,18 +1,14 @@
1
- import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
2
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
4
- import { t as SyncBranchCreated } from "./git-sync-BDnxPrqU.mjs";
5
- import { t as syncBranchCreatedView } from "./git-sync-DxD_ng48.mjs";
1
+ import { H as outputFlags, Q as ConfigError, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as SyncBranchCreated } from "./git-sync-BwBRmEhE.mjs";
4
+ import { t as syncBranchCreatedView } from "./git-sync-TjX1r_wF.mjs";
6
5
  //#region src/commands/git-sync/create-branch.ts
7
6
  var create_branch_default = defineMetabaseCommand({
8
7
  meta: {
9
8
  name: "create-branch",
10
9
  description: "Create a new branch on the git remote and switch git-sync to it"
11
10
  },
12
- capabilities: {
13
- minVersion: 60,
14
- tokenFeature: "remote_sync"
15
- },
11
+ requires: ["gitSync.createBranch"],
16
12
  args: {
17
13
  ...outputFlags,
18
14
  ...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-z8rra6-I.mjs";
3
- 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-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { r as DashboardCreateInput, t as Dashboard } from "./dashboard-CKUR8ZpQ.mjs";
6
- import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
7
- import { n as wrapChainedDashboardWriteError, t as preflightDashcardCardReferences } from "./preflight-CoF1Em99.mjs";
5
+ import { i as DashboardCreateInput, t as Dashboard } from "./dashboard-D0hwTC-f.mjs";
6
+ import { t as dashboardView } from "./dashboard-DgK81azj.mjs";
7
+ import { n as wrapChainedDashboardWriteError, t as preflightDashcardCardReferences } from "./preflight-BTQe4swo.mjs";
8
8
  //#region src/commands/dashboard/create.ts
9
9
  var create_default = defineMetabaseCommand({
10
10
  meta: {
@@ -19,7 +19,11 @@ var create_default = defineMetabaseCommand({
19
19
  skill: "visualization",
20
20
  purpose: "dashcard visualization_settings and the 24-column grid"
21
21
  }],
22
- capabilities: { minVersion: 58 },
22
+ requires: [
23
+ "dashboard.create",
24
+ "dashboard.update",
25
+ "dashboard.checkCardReferences"
26
+ ],
23
27
  args: {
24
28
  ...outputFlags,
25
29
  ...profileFlag,
@@ -0,0 +1,34 @@
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as readBody } from "./body-OjAWKVaU.mjs";
4
+ import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
+ import { r as TransformTestCreateInput, t as TransformTest } from "./transform-test-BjjCQ2xm.mjs";
6
+ import { t as transformTestView } from "./transform-test-gzDcbypy.mjs";
7
+ //#region src/commands/transform-test/create.ts
8
+ var create_default = defineMetabaseCommand({
9
+ meta: {
10
+ name: "create",
11
+ description: "Create a transform test from JSON"
12
+ },
13
+ details: "The JSON body needs a `transform_id`, a `name`, the `inputs` standing in for every table the transform reads, and the `expectations` checked against its output. An input names its `table` and carries either `format: \"sql\"` with a `sql` query or `format: \"rows\"` with `columns` and `rows`. An expectation is either `type: \"empty\"` with the `sql` that must return nothing, or `type: \"equals\"`, which takes the same `format` split as an input: `format: \"rows\"` with the `columns` and `rows` the output must hold, or `format: \"sql\"` with a query returning them. 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.",
14
+ requires: ["transformTest.create"],
15
+ args: {
16
+ ...outputFlags,
17
+ ...profileFlag,
18
+ ...connectionFlags,
19
+ ...bodyInputFlags
20
+ },
21
+ inputSchema: TransformTestCreateInput,
22
+ outputSchema: TransformTest,
23
+ examples: ["cat transform-test.json | mb transform-test create", "mb transform-test create --file transform-test.json"],
24
+ async run({ args, ctx, getClient }) {
25
+ const body = await readBody({
26
+ flag: args.body,
27
+ file: args.file
28
+ }, TransformTestCreateInput);
29
+ const created = await (await getClient()).transformTest.create(body);
30
+ renderSummary(created, transformTestView, `Created transform test ${created.id} "${created.name}".`, ctx);
31
+ }
32
+ });
33
+ //#endregion
34
+ export { create_default as default };
@@ -1,8 +1,8 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.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-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
4
  import { t as UploadResult } from "./upload-DAtxBBms.mjs";
5
- import { n as requireUploadFilePath, t as readCsvFile } from "./upload-CD555ui1.mjs";
5
+ import { n as requireUploadFilePath, t as readCsvFile } from "./upload-Do2PBSeH.mjs";
6
6
  import { t as uploadResultView } from "./upload-C3z5ZaXA.mjs";
7
7
  //#region src/commands/upload/csv.ts
8
8
  const ROOT_COLLECTION = "root";
@@ -12,7 +12,7 @@ var csv_default = defineMetabaseCommand({
12
12
  description: "Upload a CSV file as a new table and model"
13
13
  },
14
14
  details: "Uploads the CSV to the server's configured uploads database, creating a new table plus a model over it, and prints the new model id and table id. Requires an uploads database to be configured on the server. Pass --collection to place the model in a specific collection (defaults to root).",
15
- capabilities: { minVersion: 58 },
15
+ requires: ["upload.createFromCsv"],
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-z8rra6-I.mjs";
3
- import { c as syncTaskView } from "./git-sync-DxD_ng48.mjs";
4
- import { n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-BACcrs0i.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-arKqJqIT.mjs";
3
+ import { c as syncTaskView } from "./git-sync-TjX1r_wF.mjs";
4
+ import { n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-BXeWuARG.mjs";
5
5
  //#region src/commands/git-sync/current-task.ts
6
6
  const CurrentTaskResult = SyncTaskOrIdle;
7
7
  var current_task_default = defineMetabaseCommand({
@@ -9,10 +9,7 @@ var current_task_default = defineMetabaseCommand({
9
9
  name: "current-task",
10
10
  description: "Get the most recent git-sync task (or idle if none)"
11
11
  },
12
- capabilities: {
13
- minVersion: 60,
14
- tokenFeature: "remote_sync"
15
- },
12
+ requires: ["gitSync.currentTask"],
16
13
  args: {
17
14
  ...outputFlags,
18
15
  ...profileFlag,
@@ -1,4 +1,4 @@
1
- import { t as defineCommandGroup } from "./group-DBM87IgC.mjs";
1
+ import { t as defineCommandGroup } from "./group-YQQ5GIcP.mjs";
2
2
  //#region src/commands/dashboard/index.ts
3
3
  var dashboard_default = defineCommandGroup({
4
4
  name: "dashboard",
@@ -18,15 +18,15 @@ var dashboard_default = defineCommandGroup({
18
18
  }
19
19
  ],
20
20
  subCommands: {
21
- list: () => import("./list-BeMYIeiI.mjs").then((mod) => mod.default),
22
- get: () => import("./get-DAOSGt5Z.mjs").then((mod) => mod.default),
23
- cards: () => import("./cards-DHOWAvfv.mjs").then((mod) => mod.default),
24
- "parameter-values": () => import("./parameter-values-CBR-cBev.mjs").then((mod) => mod.default),
25
- subscriptions: () => import("./subscriptions-DwqjCVlc.mjs").then((mod) => mod.default),
26
- create: () => import("./create-DIVhBIyE.mjs").then((mod) => mod.default),
27
- update: () => import("./update-C1FBVLfC.mjs").then((mod) => mod.default),
28
- "update-dashcard": () => import("./update-dashcard-DlE_bb2F.mjs").then((mod) => mod.default),
29
- archive: () => import("./archive-CNblz55j.mjs").then((mod) => mod.default)
21
+ list: () => import("./list-CjNXskB4.mjs").then((mod) => mod.default),
22
+ get: () => import("./get-Dw7jAno3.mjs").then((mod) => mod.default),
23
+ cards: () => import("./cards-B813G9I5.mjs").then((mod) => mod.default),
24
+ "parameter-values": () => import("./parameter-values-CoF9Hx1p.mjs").then((mod) => mod.default),
25
+ subscriptions: () => import("./subscriptions-D0NpGvCQ.mjs").then((mod) => mod.default),
26
+ create: () => import("./create-bvpl6Fn5.mjs").then((mod) => mod.default),
27
+ update: () => import("./update-BFyRBc-H.mjs").then((mod) => mod.default),
28
+ "update-dashcard": () => import("./update-dashcard-BlibHa5o.mjs").then((mod) => mod.default),
29
+ archive: () => import("./archive-DKFPJ9j3.mjs").then((mod) => mod.default)
30
30
  }
31
31
  });
32
32
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { t as EmbeddingParams } from "./embedding-i-KqpefC.mjs";
2
- import { n as ParameterMapping, t as Parameter } from "./parameter-DUKR8NXo.mjs";
2
+ import { n as ParameterMapping, t as Parameter } from "./parameter-Celg0wZa.mjs";
3
3
  import { z } from "zod";
4
4
  //#region ../client/src/domain/dashboard.ts
5
5
  const DashboardWidth = z.enum(["fixed", "full"]);
@@ -132,5 +132,14 @@ const DashcardPatchInput = z.object({
132
132
  visualization_settings: z.unknown().optional(),
133
133
  series: z.array(z.record(z.string(), z.unknown())).nullable().optional()
134
134
  }).strict().refine((value) => Object.keys(value).length > 0, { message: "patch must contain at least one field" });
135
+ z.object({
136
+ name: z.string().min(1).nullable().optional(),
137
+ description: z.string().nullable().optional(),
138
+ collection_id: z.number().int().positive().nullable().optional(),
139
+ collection_position: z.number().int().positive().nullable().optional(),
140
+ is_deep_copy: z.boolean().nullable().optional()
141
+ }).strict();
142
+ const DashboardUncopiedCard = z.object({ id: z.number().int() }).loose();
143
+ const DashboardCopy = Dashboard.extend({ uncopied: z.array(DashboardUncopiedCard).optional() });
135
144
  //#endregion
136
- export { DashboardListFilter as a, DashcardCompact as c, DashboardDetail as i, DashcardPatchInput as l, DashboardCompact as n, DashboardUpdateInput as o, DashboardCreateInput as r, Dashcard as s, Dashboard as t };
145
+ export { DashboardDetail as a, Dashcard as c, DashboardCreateInput as i, DashcardCompact as l, DashboardCompact as n, DashboardListFilter as o, DashboardCopy as r, DashboardUpdateInput as s, Dashboard as t, DashcardPatchInput as u };
@@ -1,4 +1,4 @@
1
- import { c as DashcardCompact, n as DashboardCompact } from "./dashboard-CKUR8ZpQ.mjs";
1
+ import { l as DashcardCompact, n as DashboardCompact } from "./dashboard-D0hwTC-f.mjs";
2
2
  //#region src/output/views/dashboard.ts
3
3
  const dashcardView = {
4
4
  compactPick: DashcardCompact,
@@ -1,4 +1,4 @@
1
- import { a as DatabaseSyncResult, n as DatabaseCompact } from "./database-C8G6ZKG0.mjs";
1
+ import { a as DatabaseSyncResult, n as DatabaseCompact } from "./database-JtHTqSpq.mjs";
2
2
  //#region src/output/views/database.ts
3
3
  const databaseView = {
4
4
  compactPick: DatabaseCompact,
@@ -1,4 +1,4 @@
1
- import { n as TableCompact, t as Table } from "./table-CeeTJgQb.mjs";
1
+ import { n as TableCompact, t as Table } from "./table-DfuY0N8e.mjs";
2
2
  import { z } from "zod";
3
3
  //#region ../client/src/domain/database.ts
4
4
  const Database = z.object({