@metabase/cli 0.3.0 → 0.3.1-alpha.fix-transform-test-ee-path.a3ca6dd

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 (269) hide show
  1. package/dist/{add-collection-B3Ty8SzB.mjs → add-collection-BEg-1pt8.mjs} +6 -9
  2. package/dist/{alert-DT-ee7yf.mjs → alert-CBwtJ3lE.mjs} +7 -7
  3. package/dist/{alerts-Bf2RH_p_.mjs → alerts-Bn9ZhFYK.mjs} +7 -7
  4. package/dist/{append-DFzQRPMd.mjs → append-F7kfyk0p.mjs} +6 -5
  5. package/dist/{archive-ByvA49Kz.mjs → archive-2VqBgcyE.mjs} +5 -5
  6. package/dist/{archive-4tmm946K.mjs → archive-3_KVbxIk.mjs} +4 -4
  7. package/dist/{archive-Cd29QC0c.mjs → archive-7tZyaUWv.mjs} +4 -4
  8. package/dist/{archive-Dr9Xnx_Z.mjs → archive-Bonv-Hcf.mjs} +6 -6
  9. package/dist/{archive-C7w49Grr.mjs → archive-BzEvapLz.mjs} +6 -6
  10. package/dist/{archive-CwAdlv63.mjs → archive-CAwDiQWt2.mjs} +6 -6
  11. package/dist/{archive-lQqs13Uz.mjs → archive-CE-RKcle.mjs} +6 -6
  12. package/dist/{archive-B6eXiyER.mjs → archive-Da3-hnRM.mjs} +4 -4
  13. package/dist/{archive-gid9Y09v.mjs → archive-IBHOtOMk.mjs} +4 -4
  14. package/dist/{archive-BxNPHxOY.mjs → archive-TBo05bZZ.mjs} +6 -6
  15. package/dist/{archive-ChORH5JH.mjs → archive-k79AXZhh.mjs} +4 -4
  16. package/dist/{auth-Dltxua89.mjs → auth-CLZuUSzL.mjs} +5 -5
  17. package/dist/{body-Cur4NJt9.mjs → body-Q8iNnt-X.mjs} +3 -3
  18. package/dist/{branches-DchlyU0i.mjs → branches-CjMIMKse.mjs} +4 -7
  19. package/dist/{cancel-BMQa5R1Z.mjs → cancel-H4vYr5Jv.mjs} +4 -4
  20. package/dist/{cancel-task-C5CU1pxU.mjs → cancel-task-p09LCbgs.mjs} +5 -8
  21. package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
  22. package/dist/card-DlVb10D3.mjs +24 -0
  23. package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
  24. package/dist/{cards-SccWvRQD.mjs → cards-DDG6RObF.mjs} +7 -7
  25. package/dist/cli.mjs +567 -68
  26. package/dist/client-toDDqakD.mjs +4093 -0
  27. package/dist/{collection-CfulNRBG.mjs → collection-BxdPxD38.mjs} +1 -1
  28. package/dist/{collection-CGoVLvcD.mjs → collection-DYM0p3Xl.mjs} +1 -1
  29. package/dist/{collection-namespace-GwydWBF3.mjs → collection-namespace-DDI9-HgU.mjs} +2 -2
  30. package/dist/collection-p_sficxo.mjs +20 -0
  31. package/dist/content-translation-BrHOrmj9.mjs +5 -0
  32. package/dist/content-translation-DcTEH_d7.mjs +12 -0
  33. package/dist/{create-CAWytBE5.mjs → create-BLxdMJgQ.mjs} +5 -5
  34. package/dist/{create-BNQ_DytP.mjs → create-BPN1cX7b.mjs} +4 -4
  35. package/dist/{create-CHQx7jq4.mjs → create-BjCpsMQM.mjs} +5 -5
  36. package/dist/{create-CD008jdE.mjs → create-BovrhBQn.mjs} +12 -8
  37. package/dist/{create-DV-Ln5Mo.mjs → create-CVCPD-1F.mjs} +4 -4
  38. package/dist/{create-DJmXXQoq.mjs → create-CVPGOx7u2.mjs} +8 -8
  39. package/dist/{create-Beh-2uoN.mjs → create-Chs5c8vx.mjs} +6 -6
  40. package/dist/{create-BOLwWt8Q.mjs → create-D04fl6ec.mjs} +5 -5
  41. package/dist/{create-C79vErX0.mjs → create-D5mN20oE.mjs} +7 -7
  42. package/dist/{create-DF4QtgDL.mjs → create-D88Im3X22.mjs} +6 -6
  43. package/dist/{create-tQbnuz-I.mjs → create-DQfOV9Sm.mjs} +6 -6
  44. package/dist/{create-CCh_LyW9.mjs → create-DWU4j22P.mjs} +4 -4
  45. package/dist/create-DjP2yUyn.mjs +34 -0
  46. package/dist/{create-CAQV2g6V.mjs → create-Dk6Zm3ZH.mjs} +7 -7
  47. package/dist/{create-zeveFdnd.mjs → create-DkmeJGMy.mjs} +5 -8
  48. package/dist/{create-i14Wv3Tj.mjs → create-TQr3briq.mjs} +4 -4
  49. package/dist/{create-branch-CYo6jZth.mjs → create-branch-Bs6BlkgQ.mjs} +5 -9
  50. package/dist/{csv-B2Jgb1GM.mjs → csv-BsN6FmY-.mjs} +6 -5
  51. package/dist/{current-task-MpBFGttd.mjs → current-task-cCmLLVcv.mjs} +5 -8
  52. package/dist/{dashboard-BHJBoaG7.mjs → dashboard-CpIEKEgu.mjs} +10 -10
  53. package/dist/{dashboard-BCpSq_G-.mjs → dashboard-D0hwTC-f.mjs} +12 -2
  54. package/dist/{dashboard-CsIFFpzK.mjs → dashboard-DgK81azj.mjs} +1 -1
  55. package/dist/{database-B19qlLKZ.mjs → database-C3E9PZSx.mjs} +1 -1
  56. package/dist/{database-C8G6ZKG0.mjs → database-JtHTqSpq.mjs} +1 -1
  57. package/dist/{db-DsfojyeH.mjs → db-BbvcmfWM.mjs} +7 -7
  58. package/dist/{delete-B8e01xAG.mjs → delete-C4_rcfNu.mjs} +5 -5
  59. package/dist/delete-CLdDYdYG.mjs +44 -0
  60. package/dist/{delete-DFmX7jTp.mjs → delete-D13SLwhr.mjs} +5 -5
  61. package/dist/{delete-Ob06PPie.mjs → delete-D3-jMLu5.mjs} +5 -5
  62. package/dist/{delete-BApOjQvl.mjs → delete-DLirF5iq.mjs} +5 -5
  63. package/dist/{delete-Ck0q4Dzp.mjs → delete-JBjvxdIU.mjs} +5 -5
  64. package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
  65. package/dist/{delete-table-DuyhGrvA.mjs → delete-table-Gwk7JL5c.mjs} +5 -5
  66. package/dist/{dependencies-Bj3QrGIm.mjs → dependencies-B7vl9Ovb.mjs} +7 -7
  67. package/dist/{dirty-DNYoM6Bp.mjs → dirty-CIZeASXG.mjs} +6 -9
  68. package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
  69. package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
  70. package/dist/document-ceJW4VuL.mjs +19 -0
  71. package/dist/download-B-krJch0.mjs +25 -0
  72. package/dist/{eid-WTZmDdsr.mjs → eid-C0D92gZW.mjs} +4 -5
  73. package/dist/{events-Bn7jh5lP.mjs → events-CuLeaey6.mjs} +5 -5
  74. package/dist/{export-BjfoZRDJ.mjs → export-DeuLpt3x.mjs} +7 -10
  75. package/dist/{field-Zau6Hc6X.mjs → field-B8Hndt4p.mjs} +5 -5
  76. package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
  77. package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
  78. package/dist/{fields-CBBa-Prp.mjs → fields-CAchmFh4.mjs} +7 -7
  79. package/dist/{get-CDJFVvhj.mjs → get-BH3Tgfgf.mjs} +4 -4
  80. package/dist/{get-CDMGbgrh.mjs → get-BJOxfbDP.mjs} +4 -4
  81. package/dist/{get-B_xdF1kq.mjs → get-BOjTqIMx.mjs} +6 -6
  82. package/dist/{get-D_h-G9bn.mjs → get-C1BPEbyl.mjs} +6 -6
  83. package/dist/{get-Dmj9Ygz1.mjs → get-C8dcHjd6.mjs} +6 -6
  84. package/dist/{get-DkWO0EI0.mjs → get-CArTALOt.mjs} +6 -6
  85. package/dist/get-CMCAgpxn.mjs +93 -0
  86. package/dist/{get-CnbUCzDM.mjs → get-CjDHpz6A.mjs} +4 -4
  87. package/dist/{get-ByBOq30r.mjs → get-ClNkea9I.mjs} +6 -6
  88. package/dist/{get-DRvsATp-.mjs → get-CvAMxfPD.mjs} +6 -6
  89. package/dist/{get-B7sMgsFs.mjs → get-D8qaSSEH.mjs} +4 -4
  90. package/dist/{get-00lyLv6R.mjs → get-DCvnNk3f.mjs} +6 -6
  91. package/dist/{get-DY03Azx9.mjs → get-DEwfm3Yl.mjs} +5 -8
  92. package/dist/{get-C2-Q3iQ5.mjs → get-DXWrGwWH.mjs} +4 -4
  93. package/dist/get-DbXTkB4u.mjs +32 -0
  94. package/dist/{get-DYO1kywc.mjs → get-DvF9oooq.mjs} +5 -5
  95. package/dist/{get-DdsoHaKH.mjs → get-d055CJ1T.mjs} +4 -4
  96. package/dist/{get-Bz99dAxK.mjs → get-kBTeBtLe.mjs} +6 -6
  97. package/dist/{get-DmpB6J9g.mjs → get-ohue3YrV2.mjs} +6 -6
  98. package/dist/{get-run-Cnux9ln0.mjs → get-run-X6zhp0dW.mjs} +6 -6
  99. package/dist/{get-Dn9ZiSZr.mjs → get-wIZrb7oN.mjs} +6 -6
  100. package/dist/git-sync-BkTmSgdD.mjs +28 -0
  101. package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
  102. package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
  103. package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
  104. package/dist/{has-remote-changes-C684Redh.mjs → has-remote-changes-zCtdEGs-.mjs} +5 -8
  105. package/dist/{import-Rmmttboo.mjs → import-DkAy_Xi8.mjs} +7 -10
  106. package/dist/{input-DH9i67x_.mjs → input-DEvkIjGr.mjs} +1 -1
  107. package/dist/{is-dirty-DYeJYhBz.mjs → is-dirty-Dfk2Xf-W.mjs} +3 -6
  108. package/dist/{items-CQlPXBXE.mjs → items-CiSBrc9d.mjs} +7 -7
  109. package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
  110. package/dist/library-BPIzb3K_.mjs +81 -0
  111. package/dist/{library-Bsm5KsFF.mjs → library-FBj2Je-M.mjs} +5 -5
  112. package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
  113. package/dist/list-9CJczyF5.mjs +60 -0
  114. package/dist/{list-DE9FM957.mjs → list-B6tDzQsv.mjs} +4 -4
  115. package/dist/{list-BtkWNtvY.mjs → list-BDJkJc8s.mjs} +7 -7
  116. package/dist/{list-BzVTHOoH.mjs → list-Br0g0oDR.mjs} +6 -6
  117. package/dist/{list-CNUiF8Z7.mjs → list-C9-2J0Nu.mjs} +6 -6
  118. package/dist/{list-B4hJuMhA.mjs → list-CGjdrAhT.mjs} +7 -7
  119. package/dist/{list-BtmsNOEn.mjs → list-CHOJQ1uR.mjs} +4 -4
  120. package/dist/{list-CKK-s3Ty.mjs → list-CK4S_aDK.mjs} +4 -4
  121. package/dist/{list-C5Zs8nrb.mjs → list-CYONHM9n.mjs} +6 -6
  122. package/dist/{list-CQwOgIlj.mjs → list-CrwbvMEG.mjs} +6 -6
  123. package/dist/{list-BOET6zhP.mjs → list-D6WZmnG_.mjs} +4 -4
  124. package/dist/{list-DMKDsBRd.mjs → list-DD_tjCmP.mjs} +7 -7
  125. package/dist/{list-DF2rvoO1.mjs → list-Dqv3nOEe.mjs} +14 -13
  126. package/dist/{list-CQDprvW0.mjs → list-Hjsg2N8L.mjs} +7 -7
  127. package/dist/{list-CMpoc2TN.mjs → list-M4Twal0d.mjs} +5 -5
  128. package/dist/{list-BpFp9Wre.mjs → list-UbzhJFFn.mjs} +4 -4
  129. package/dist/list-W5y4079U.mjs +35 -0
  130. package/dist/{list-BP3MPq-M.mjs → list-f5HIVoLN.mjs} +4 -4
  131. package/dist/{list-B8nAGwP4.mjs → list-uCAP4vmQ.mjs} +6 -6
  132. package/dist/{login-CGHeSjlP.mjs → login-CIzUMkf3.mjs} +15 -12
  133. package/dist/{logout-DAxOlbv4.mjs → logout-CRm_AaoF.mjs} +3 -4
  134. package/dist/{measure-BsYv0p26.mjs → measure-DPXeIN18.mjs} +6 -6
  135. package/dist/{notification-Fcq1fIPw.mjs → notification-DVrLkjFT.mjs} +1 -1
  136. package/dist/{parameter-DUKR8NXo.mjs → parameter-Celg0wZa.mjs} +1 -1
  137. package/dist/{parameter-values-CJTdqd8c.mjs → parameter-values-rOHoy3k0.mjs} +5 -6
  138. package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
  139. package/dist/{parse-id-C_jmKFaa.mjs → parse-id-CYZAIB58.mjs} +1 -1
  140. package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
  141. package/dist/{path-B5gHvrYL.mjs → path-D9_unWc1.mjs} +5 -5
  142. package/dist/{poll-75SvT7Zv.mjs → poll-CZeXepUQ.mjs} +2 -2
  143. package/dist/{preflight-YpPQo-sa.mjs → preflight-BIxRV-bm.mjs} +3 -4
  144. package/dist/{process-DBOOrmET.mjs → process-CTrfxxaC.mjs} +1 -1
  145. package/dist/{publish-DijrxaCW.mjs → publish-N509vd0U.mjs} +9 -9
  146. package/dist/{pulse-BmsDenXm.mjs → pulse-Dz0ocv0l.mjs} +1 -1
  147. package/dist/{pulse-DhG6I9mI.mjs → pulse-x0gFxWfG.mjs} +2 -2
  148. package/dist/{query-Dc__-KJH.mjs → query-JvMjF22L.mjs} +9 -10
  149. package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
  150. package/dist/{query-BbqECzmF.mjs → query-yh5Wkfmc.mjs} +11 -18
  151. package/dist/{remove-collection-BOnxYvhj.mjs → remove-collection-B0E0dlZt.mjs} +6 -9
  152. package/dist/{render-CI93iP0I.mjs → render-Tlz6OCMU.mjs} +13 -2
  153. package/dist/{replace-Cq4CxVa-.mjs → replace-BwbYo6-2.mjs} +6 -5
  154. package/dist/{rescan-values-Dr_j416g.mjs → rescan-values-BiMPb5Z5.mjs} +6 -6
  155. package/dist/{run-DdGJ544X.mjs → run-B9aA1aNI.mjs} +26 -14
  156. package/dist/run-D37ntUQo.mjs +50 -0
  157. package/dist/{run-C3DkS6NP.mjs → run-Dbh3nvzF.mjs} +6 -6
  158. package/dist/{runs-CUNWiidL.mjs → runs-BuUzKR-x.mjs} +7 -7
  159. package/dist/{runtime-DiKyBxOw.mjs → runtime-CwhhhwcB.mjs} +946 -246
  160. package/dist/{schema-tables-CV386fnC.mjs → schema-tables-9PvvygPu.mjs} +7 -7
  161. package/dist/{schemas-DM-UqZBQ.mjs → schemas-DqkQI39t.mjs} +5 -5
  162. package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
  163. package/dist/{search-DmGScXs8.mjs → search-BjAwR-oP.mjs} +6 -6
  164. package/dist/{segment-BzUGM2Fr.mjs → segment-1nBcugv8.mjs} +6 -6
  165. package/dist/{selectors-DGDn0Hto.mjs → selectors-DFNdyhPn.mjs} +3 -3
  166. package/dist/{send-CVxxEpDB.mjs → send-D4tYN3aN.mjs} +4 -4
  167. package/dist/{set-DFolTjbd.mjs → set-D_Mh2eVO.mjs} +5 -5
  168. package/dist/{set-active-BD8L1lPX.mjs → set-active-jY5VZsO8.mjs} +5 -5
  169. package/dist/{setting-DyhaeICs.mjs → setting-9ULb5wjN.mjs} +4 -4
  170. package/dist/{setup-BbDQN8fe.mjs → setup-DMaIuuCV.mjs} +4 -4
  171. package/dist/{signal-CMd0EFUa.mjs → signal-k7cm5N6h.mjs} +11 -2
  172. package/dist/skill-list-Bucy7UE2.mjs +76 -0
  173. package/dist/{skills--vK6J-e4.mjs → skills-Dyfqgobg.mjs} +3 -3
  174. package/dist/skills-PjjRtYqi.mjs +351 -0
  175. package/dist/snippet-DNoTIGAs.mjs +19 -0
  176. package/dist/{stash-D0S4JmAz.mjs → stash-C6BEM6_u.mjs} +7 -11
  177. package/dist/{status-BhswxJL1.mjs → status-DiP093Vm.mjs} +11 -9
  178. package/dist/{status-hL1am-HV.mjs → status-wAg5ajzM.mjs} +12 -11
  179. package/dist/stream-McixcoUl.mjs +7 -0
  180. package/dist/{subscription-_d5fB45F.mjs → subscription-CEeI0pSr.mjs} +6 -6
  181. package/dist/{subscriptions-s4TF6Ax3.mjs → subscriptions-B9cMNuIS.mjs} +7 -7
  182. package/dist/{summary-CsPvcUwW.mjs → summary-D0NP2NoT.mjs} +6 -6
  183. package/dist/{sync-schema-DaZ_MV-u.mjs → sync-schema-BgJ6KEqa.mjs} +7 -7
  184. package/dist/{sync-task-BACcrs0i.mjs → sync-task-BXeWuARG.mjs} +1 -1
  185. package/dist/{table-DYoC1kPn.mjs → table-9bTG6zSa.mjs} +5 -5
  186. package/dist/{table-CsIJNPFf.mjs → table-C6h4tIRw.mjs} +1 -1
  187. package/dist/{table-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
  188. package/dist/timeline-Ck53UgDh.mjs +21 -0
  189. package/dist/{timeline-event-CNQdCTDg.mjs → timeline-event-POmQ2TD2.mjs} +6 -6
  190. package/dist/transform-BC39AgQF.mjs +28 -0
  191. package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
  192. package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
  193. package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
  194. package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
  195. package/dist/transform-job-D-zUFmZU.mjs +22 -0
  196. package/dist/{transform-tag-_tgwlsdB.mjs → transform-tag-CP7FRU5G.mjs} +5 -5
  197. package/dist/transform-test-BjjCQ2xm.mjs +169 -0
  198. package/dist/transform-test-CKNQS_kC.mjs +16 -0
  199. package/dist/transform-test-gzDcbypy.mjs +25 -0
  200. package/dist/{transforms-oU4zizbO.mjs → transforms-DDSNP4eL.mjs} +7 -7
  201. package/dist/{tree-CH-f3bjP.mjs → tree-CAnMS2dm.mjs} +4 -5
  202. package/dist/{unpublish-BUl9RU5C.mjs → unpublish-DF1XQMWJ.mjs} +4 -7
  203. package/dist/{update-BZPllQoR.mjs → update-BS1yiwOO.mjs} +5 -5
  204. package/dist/{update-CO4m4wH3.mjs → update-Bb89y-0M.mjs} +8 -8
  205. package/dist/{update-C4YJQFDS.mjs → update-BbiVvdm1.mjs} +7 -7
  206. package/dist/{update-BCS5FxKr.mjs → update-BcdLQu7-.mjs} +9 -9
  207. package/dist/{update-cYkvbqK8.mjs → update-BjcWwrPc.mjs} +5 -5
  208. package/dist/{update-tX9mKBN_.mjs → update-BoJJ6Gel.mjs} +9 -9
  209. package/dist/{update-CHNSUHK4.mjs → update-C09GGTjN.mjs} +5 -5
  210. package/dist/{update-BzMDeZiU.mjs → update-C33R41eM.mjs} +7 -7
  211. package/dist/{update-CmDTljK-.mjs → update-C6KQZMDF.mjs} +7 -7
  212. package/dist/{update-bD_Jh5-s.mjs → update-CFqdElFO.mjs} +6 -6
  213. package/dist/{update-CVPAwJaH.mjs → update-CHsXoUJQ.mjs} +6 -6
  214. package/dist/update-CaJO1rWk.mjs +41 -0
  215. package/dist/{update-CvOO8TED.mjs → update-CmXGZPCR.mjs} +7 -7
  216. package/dist/{update-D-NE60AV.mjs → update-DFJSD3_l.mjs} +7 -7
  217. package/dist/{update-Nfi44RrE.mjs → update-DOeBAoul.mjs} +6 -6
  218. package/dist/{update-BiFDBcEH.mjs → update-DiowA7ud.mjs} +5 -5
  219. package/dist/{update-dashcard-C3TuYO_k.mjs → update-dashcard-DSL6Bogg.mjs} +7 -7
  220. package/dist/{upgrade-DXMV4AyP.mjs → upgrade-CBxr91bH.mjs} +6 -8
  221. package/dist/upload-C3z5ZaXA.mjs +24 -0
  222. package/dist/upload-CSHcnonI.mjs +13 -0
  223. package/dist/upload-DTyF-p8X.mjs +39 -0
  224. package/dist/upload-Do2PBSeH.mjs +23 -0
  225. package/dist/{uuid-BJkDWj9p.mjs → uuid-CwEbjDp8.mjs} +3 -4
  226. package/dist/{validate-BWchyW0V.mjs → validate-EAB-1EkK.mjs} +1 -1
  227. package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-CQG86147.mjs} +2 -3
  228. package/dist/{values-Dxf1JEoA.mjs → values-69IZEVXu.mjs} +6 -6
  229. package/dist/{verify-K96rItG5.mjs → verify-Dg5YBI0l.mjs} +3 -18
  230. package/dist/{wait-DoMDH226.mjs → wait-DVXEJXd3.mjs} +7 -10
  231. package/dist/{wait-flags-DWEF9tX4.mjs → wait-flags-CkRgnfww.mjs} +2 -2
  232. package/dist/{window-BkvrP0gB.mjs → window-DSb1tqSe.mjs} +1 -1
  233. package/package.json +1 -1
  234. package/skill-data/core/SKILL.md +31 -14
  235. package/skill-data/dashboard/SKILL.md +2 -2
  236. package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
  237. package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
  238. package/skill-data/document/SKILL.md +4 -1
  239. package/skill-data/git-sync/SKILL.md +5 -0
  240. package/skill-data/mbql/SKILL.md +1 -1
  241. package/skill-data/mbql/references/operators.md +20 -15
  242. package/skill-data/metadata/SKILL.md +1 -1
  243. package/skill-data/metadata/references/semantic-types.md +7 -1
  244. package/skill-data/native-sql/references/template-tags.md +6 -2
  245. package/skill-data/notification/SKILL.md +7 -1
  246. package/skill-data/transform/SKILL.md +75 -3
  247. package/skill-data/transform-test-plan/SKILL.md +171 -0
  248. package/skill-data/transform-test-plan/references/checklist.md +81 -0
  249. package/skill-data/transform-test-plan/references/checks.md +259 -0
  250. package/skill-data/visualization/SKILL.md +11 -3
  251. package/skill-data/visualization/references/settings.md +6 -4
  252. package/skills/metabase-cli/SKILL.md +1 -1
  253. package/dist/card-CHI2bmds.mjs +0 -24
  254. package/dist/client-BqhzKdLM.mjs +0 -2194
  255. package/dist/collection-CY0AB99E.mjs +0 -20
  256. package/dist/document-BbskZPTT.mjs +0 -19
  257. package/dist/get-CvI--9S_.mjs +0 -80
  258. package/dist/git-sync-MQQYRYLg.mjs +0 -28
  259. package/dist/library-ClLgrAXy.mjs +0 -19
  260. package/dist/list-UhpKG6_m.mjs +0 -98
  261. package/dist/network-error-CEb9ymDW.mjs +0 -423
  262. package/dist/predicates-Bkm2IoeX.mjs +0 -170
  263. package/dist/skills-DTCrMcix.mjs +0 -216
  264. package/dist/snippet-DRwKb2x7.mjs +0 -19
  265. package/dist/timeline-xlDbEKWg.mjs +0 -21
  266. package/dist/transform-Bs0EWijQ.mjs +0 -28
  267. package/dist/transform-job-BcLChRup.mjs +0 -22
  268. package/dist/upload-CH632qW6.mjs +0 -46
  269. package/dist/upload-Dey_8rLf.mjs +0 -13
@@ -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-CEb9ymDW.mjs";
1
+ import { Q as ConfigError } from "./cli.mjs";
2
+ import { L as HttpError } from "./runtime-CwhhhwcB.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) {
@@ -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-DD_tjCmP.mjs").then((mod) => mod.default),
12
+ get: () => import("./get-CArTALOt.mjs").then((mod) => mod.default),
13
+ items: () => import("./items-CiSBrc9d.mjs").then((mod) => mod.default),
14
+ tree: () => import("./tree-CAnMS2dm.mjs").then((mod) => mod.default),
15
+ create: () => import("./create-Dk6Zm3ZH.mjs").then((mod) => mod.default),
16
+ archive: () => import("./archive-TBo05bZZ.mjs").then((mod) => mod.default)
17
+ }
18
+ });
19
+ //#endregion
20
+ export { collection_default as default };
@@ -0,0 +1,5 @@
1
+ import { z } from "zod";
2
+ //#region ../client/src/domain/content-translation.ts
3
+ const ContentTranslationUploadResult = z.object({ success: z.literal(true) });
4
+ //#endregion
5
+ export { ContentTranslationUploadResult as t };
@@ -0,0 +1,12 @@
1
+ import { t as defineCommandGroup } from "./group-YQQ5GIcP.mjs";
2
+ //#region src/commands/content-translation/index.ts
3
+ var content_translation_default = defineCommandGroup({
4
+ name: "content-translation",
5
+ description: "Download or replace the content translation dictionary",
6
+ subCommands: {
7
+ download: () => import("./download-B-krJch0.mjs").then((mod) => mod.default),
8
+ upload: () => import("./upload-DTyF-p8X.mjs").then((mod) => mod.default)
9
+ }
10
+ });
11
+ //#endregion
12
+ export { content_translation_default as default };
@@ -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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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-CQG86147.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.mjs";
3
+ import { t as notificationView } from "./notification-DVrLkjFT.mjs";
4
+ import { t as defineMetabaseCommand } from "./runtime-CwhhhwcB.mjs";
5
5
  import { t as describeAlert } from "./summary-BytbDz6e.mjs";
6
- import { t as readBody } from "./body-Cur4NJt9.mjs";
6
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { r as DashboardCreateInput, t as Dashboard } from "./dashboard-BCpSq_G-.mjs";
6
- import { t as dashboardView } from "./dashboard-CsIFFpzK.mjs";
7
- import { n as wrapChainedDashboardWriteError, t as preflightDashcardCardReferences } from "./preflight-YpPQo-sa.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-BIxRV-bm.mjs";
8
8
  //#region src/commands/dashboard/create.ts
9
9
  var create_default = defineMetabaseCommand({
10
10
  meta: {
11
11
  name: "create",
12
12
  description: "Create a dashboard from JSON"
13
13
  },
14
- details: "Any positive card_id referenced from dashcards is pre-flight-validated (exists and readable, not archived) before the dashboard is created.",
14
+ details: "Every dashcard must include card_id (a card id, or null for a virtual card). Any positive card_id is pre-flight-validated (exists and readable, not archived) before the dashboard is created.",
15
15
  skills: [{
16
16
  skill: "dashboard",
17
17
  purpose: "wiring filters, cross-filtering, click behavior, tabs"
@@ -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,
@@ -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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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-GwydWBF3.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-CQG86147.mjs";
7
+ import { n as transformView } from "./transform-CtqB1WYo.mjs";
8
+ import { t as enrichTransformCollectionError } from "./collection-namespace-DDI9-HgU.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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-CQG86147.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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-CQG86147.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,
@@ -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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.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-CwhhhwcB.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,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-DiKyBxOw.mjs";
3
- import { t as readBody } from "./body-Cur4NJt9.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-CwhhhwcB.mjs";
3
+ import { t as readBody } from "./body-Q8iNnt-X.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,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-DiKyBxOw.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-CwhhhwcB.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,8 +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-DiKyBxOw.mjs";
3
- import { t as parseId } from "./parse-id-C_jmKFaa.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-CwhhhwcB.mjs";
3
+ import { t as parseId } from "./parse-id-CYZAIB58.mjs";
4
4
  import { t as UploadResult } from "./upload-DAtxBBms.mjs";
5
- import { n as requireUploadFilePath, r as uploadResultView, t as readCsvFile } from "./upload-CH632qW6.mjs";
5
+ import { n as requireUploadFilePath, t as readCsvFile } from "./upload-Do2PBSeH.mjs";
6
+ import { t as uploadResultView } from "./upload-C3z5ZaXA.mjs";
6
7
  //#region src/commands/upload/csv.ts
7
8
  const ROOT_COLLECTION = "root";
8
9
  var csv_default = defineMetabaseCommand({
@@ -11,7 +12,7 @@ var csv_default = defineMetabaseCommand({
11
12
  description: "Upload a CSV file as a new table and model"
12
13
  },
13
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).",
14
- capabilities: { minVersion: 58 },
15
+ requires: ["upload.createFromCsv"],
15
16
  args: {
16
17
  ...outputFlags,
17
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-DiKyBxOw.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-CwhhhwcB.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-CQDprvW0.mjs").then((mod) => mod.default),
22
- get: () => import("./get-Bz99dAxK.mjs").then((mod) => mod.default),
23
- cards: () => import("./cards-SccWvRQD.mjs").then((mod) => mod.default),
24
- "parameter-values": () => import("./parameter-values-CJTdqd8c.mjs").then((mod) => mod.default),
25
- subscriptions: () => import("./subscriptions-s4TF6Ax3.mjs").then((mod) => mod.default),
26
- create: () => import("./create-CD008jdE.mjs").then((mod) => mod.default),
27
- update: () => import("./update-tX9mKBN_.mjs").then((mod) => mod.default),
28
- "update-dashcard": () => import("./update-dashcard-C3TuYO_k.mjs").then((mod) => mod.default),
29
- archive: () => import("./archive-Dr9Xnx_Z.mjs").then((mod) => mod.default)
21
+ list: () => import("./list-Hjsg2N8L.mjs").then((mod) => mod.default),
22
+ get: () => import("./get-kBTeBtLe.mjs").then((mod) => mod.default),
23
+ cards: () => import("./cards-DDG6RObF.mjs").then((mod) => mod.default),
24
+ "parameter-values": () => import("./parameter-values-rOHoy3k0.mjs").then((mod) => mod.default),
25
+ subscriptions: () => import("./subscriptions-B9cMNuIS.mjs").then((mod) => mod.default),
26
+ create: () => import("./create-BovrhBQn.mjs").then((mod) => mod.default),
27
+ update: () => import("./update-BoJJ6Gel.mjs").then((mod) => mod.default),
28
+ "update-dashcard": () => import("./update-dashcard-DSL6Bogg.mjs").then((mod) => mod.default),
29
+ archive: () => import("./archive-Bonv-Hcf.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"]);
@@ -79,6 +79,7 @@ const DashboardCompact = Dashboard.pick({
79
79
  });
80
80
  const DashcardWrite = z.object({
81
81
  id: z.number().int().describe("existing dashcard id; negative to create a new dashcard"),
82
+ card_id: z.number().int().positive().nullable().describe("card the dashcard renders; null for a virtual (text, heading, link) or action dashcard"),
82
83
  size_x: z.number().int().positive(),
83
84
  size_y: z.number().int().positive(),
84
85
  row: z.number().int().nonnegative(),
@@ -131,5 +132,14 @@ const DashcardPatchInput = z.object({
131
132
  visualization_settings: z.unknown().optional(),
132
133
  series: z.array(z.record(z.string(), z.unknown())).nullable().optional()
133
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() });
134
144
  //#endregion
135
- 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 };