@datarecce/ui 0.1.41 → 0.2.1-nightly.20260402

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 (717) hide show
  1. package/README.md +28 -133
  2. package/dist/AuthModal-B38pWD3T.js +7 -0
  3. package/dist/AuthModal-B38pWD3T.js.map +1 -0
  4. package/dist/RouteConfigContext-DWFg6bll.d.ts +171 -0
  5. package/dist/RouteConfigContext-DWFg6bll.d.ts.map +1 -0
  6. package/dist/RunProgress-BCFXvUsE.d.ts +429 -0
  7. package/dist/RunProgress-BCFXvUsE.d.ts.map +1 -0
  8. package/dist/ScreenshotDataGrid-BAsPWcde.d.ts +63 -0
  9. package/dist/ScreenshotDataGrid-BAsPWcde.d.ts.map +1 -0
  10. package/dist/SplitPane-g8w-XF2_.d.ts +1607 -0
  11. package/dist/SplitPane-g8w-XF2_.d.ts.map +1 -0
  12. package/dist/advanced.d.ts +17 -0
  13. package/dist/advanced.d.ts.map +1 -0
  14. package/dist/advanced.js +3 -0
  15. package/dist/advanced.js.map +1 -0
  16. package/dist/api-BwiRz6pD.d.ts +254 -0
  17. package/dist/api-BwiRz6pD.d.ts.map +1 -0
  18. package/dist/api-CbzeUNef.js +3 -0
  19. package/dist/api-CbzeUNef.js.map +1 -0
  20. package/dist/api.d.ts +3 -2
  21. package/dist/api.js +2 -100
  22. package/dist/colors-BbPSDR1X.js +3 -0
  23. package/dist/colors-BbPSDR1X.js.map +1 -0
  24. package/dist/components-run.d.ts +5 -0
  25. package/dist/components-run.js +2 -0
  26. package/dist/components.d.ts +9 -2
  27. package/dist/components.js +2 -86
  28. package/dist/constants-D-hOGDbU.js +3 -0
  29. package/dist/constants-D-hOGDbU.js.map +1 -0
  30. package/dist/constants.d.ts +3 -0
  31. package/dist/constants.js +2 -0
  32. package/dist/contexts.d.ts +6 -0
  33. package/dist/contexts.js +2 -0
  34. package/dist/fetchClient-Bqjx8inP.js +3 -0
  35. package/dist/fetchClient-Bqjx8inP.js.map +1 -0
  36. package/dist/fetchClient-CTnJ39EA.d.ts +19 -0
  37. package/dist/fetchClient-CTnJ39EA.d.ts.map +1 -0
  38. package/dist/hooks.d.ts +3 -2
  39. package/dist/hooks.js +2 -43
  40. package/dist/index-B1IyNkDA.d.ts +472 -0
  41. package/dist/index-B1IyNkDA.d.ts.map +1 -0
  42. package/dist/index-BJOCIgE1.d.ts +148 -0
  43. package/dist/index-BJOCIgE1.d.ts.map +1 -0
  44. package/dist/index-C9nBECPv.d.ts +212 -0
  45. package/dist/index-C9nBECPv.d.ts.map +1 -0
  46. package/dist/index-CHJ0PCEg.d.ts +380 -0
  47. package/dist/index-CHJ0PCEg.d.ts.map +1 -0
  48. package/dist/index-CZ7gueQV.d.ts +13 -0
  49. package/dist/index-CZ7gueQV.d.ts.map +1 -0
  50. package/dist/index-CaKcjGJC.d.ts +1536 -0
  51. package/dist/index-CaKcjGJC.d.ts.map +1 -0
  52. package/dist/index-D-H3NTdf.d.ts +744 -0
  53. package/dist/index-D-H3NTdf.d.ts.map +1 -0
  54. package/dist/index-Dh6gw0NG.d.ts +351 -0
  55. package/dist/index-Dh6gw0NG.d.ts.map +1 -0
  56. package/dist/index-Dp-BUtpt.d.ts +704 -0
  57. package/dist/index-Dp-BUtpt.d.ts.map +1 -0
  58. package/dist/index.d.ts +17 -2
  59. package/dist/index.js +2 -198
  60. package/dist/instanceInfo-DNLFhkK8.d.ts +909 -0
  61. package/dist/instanceInfo-DNLFhkK8.d.ts.map +1 -0
  62. package/dist/keepAlive-Dj0q3fC9.js +3 -0
  63. package/dist/keepAlive-Dj0q3fC9.js.map +1 -0
  64. package/dist/lib/api/queryClient.d.ts +8 -0
  65. package/dist/lib/api/queryClient.d.ts.map +1 -0
  66. package/dist/lib/api/queryClient.js +3 -0
  67. package/dist/lib/api/queryClient.js.map +1 -0
  68. package/dist/lib/api/track.d.ts +137 -0
  69. package/dist/lib/api/track.d.ts.map +1 -0
  70. package/dist/lib/api/track.js +3 -0
  71. package/dist/lib/api/track.js.map +1 -0
  72. package/dist/lib/api/user.d.ts +16 -0
  73. package/dist/lib/api/user.d.ts.map +1 -0
  74. package/dist/lib/api/user.js +3 -0
  75. package/dist/lib/api/user.js.map +1 -0
  76. package/dist/lib/const.d.ts +8 -0
  77. package/dist/lib/const.d.ts.map +1 -0
  78. package/dist/lib/const.js +3 -0
  79. package/dist/lib/const.js.map +1 -0
  80. package/dist/lib/result/ResultErrorFallback.d.ts +8 -0
  81. package/dist/lib/result/ResultErrorFallback.d.ts.map +1 -0
  82. package/dist/lib/result/ResultErrorFallback.js +3 -0
  83. package/dist/lib/result/ResultErrorFallback.js.map +1 -0
  84. package/dist/lineage-DsKqx9yh.d.ts +1299 -0
  85. package/dist/lineage-DsKqx9yh.d.ts.map +1 -0
  86. package/dist/primitives-D8s_Rs5T.d.ts +1089 -0
  87. package/dist/primitives-D8s_Rs5T.d.ts.map +1 -0
  88. package/dist/primitives.d.ts +8 -0
  89. package/dist/primitives.js +2 -0
  90. package/dist/result.d.ts +3 -0
  91. package/dist/result.js +2 -0
  92. package/dist/src-BH-TT0Mt.js +12 -0
  93. package/dist/src-BH-TT0Mt.js.map +1 -0
  94. package/dist/style.css +290 -0
  95. package/dist/styles.css +478 -4
  96. package/dist/theme-B_XT39eO.js +3 -0
  97. package/dist/theme-B_XT39eO.js.map +1 -0
  98. package/dist/theme.d.ts +2 -2
  99. package/dist/theme.js +2 -9
  100. package/dist/types-DLRfpcrV.d.ts +234 -0
  101. package/dist/types-DLRfpcrV.d.ts.map +1 -0
  102. package/dist/types-qpgIe7MT.d.ts +171 -0
  103. package/dist/types-qpgIe7MT.d.ts.map +1 -0
  104. package/dist/types.d.ts +10 -2
  105. package/dist/types.js +3 -9
  106. package/dist/types.js.map +1 -0
  107. package/dist/useThemeColors-OwCMwSrx.d.ts +79 -0
  108. package/dist/useThemeColors-OwCMwSrx.d.ts.map +1 -0
  109. package/dist/utils-BwEuAiEd.js +3 -0
  110. package/dist/utils-BwEuAiEd.js.map +1 -0
  111. package/dist/utils-Crcz1Rb5.js +6 -0
  112. package/dist/utils-Crcz1Rb5.js.map +1 -0
  113. package/dist/utils.d.ts +3 -0
  114. package/dist/utils.js +2 -0
  115. package/package.json +142 -108
  116. package/LICENSE +0 -201
  117. package/dist/RecceCheckContext-BJprb2xR.js +0 -7968
  118. package/dist/RecceCheckContext-BJprb2xR.js.map +0 -1
  119. package/dist/RecceCheckContext-DPnWB_aU.css +0 -215
  120. package/dist/RecceCheckContext-DPnWB_aU.css.map +0 -1
  121. package/dist/RecceCheckContext-DbZ7BdRy.mjs +0 -7426
  122. package/dist/RecceCheckContext-DbZ7BdRy.mjs.map +0 -1
  123. package/dist/RecceCheckContext-DyxOeUsX.css +0 -215
  124. package/dist/RecceCheckContext-DyxOeUsX.css.map +0 -1
  125. package/dist/api.d.mts +0 -3
  126. package/dist/api.js.map +0 -1
  127. package/dist/api.mjs +0 -46
  128. package/dist/api.mjs.map +0 -1
  129. package/dist/components-BeAjVBV3.css +0 -70
  130. package/dist/components-BeAjVBV3.css.map +0 -1
  131. package/dist/components-DfXnN1Hx.js +0 -14689
  132. package/dist/components-DfXnN1Hx.js.map +0 -1
  133. package/dist/components-iUxcqtUB.css +0 -70
  134. package/dist/components-iUxcqtUB.css.map +0 -1
  135. package/dist/components-jh6r4tQn.mjs +0 -12348
  136. package/dist/components-jh6r4tQn.mjs.map +0 -1
  137. package/dist/components.d.mts +0 -3
  138. package/dist/components.mjs +0 -9
  139. package/dist/const-CaIm1Z8g.mjs +0 -12
  140. package/dist/const-CaIm1Z8g.mjs.map +0 -1
  141. package/dist/const-CvdZO0FN.js +0 -24
  142. package/dist/const-CvdZO0FN.js.map +0 -1
  143. package/dist/hooks-cQsBXBd1.js +0 -40
  144. package/dist/hooks-cQsBXBd1.js.map +0 -1
  145. package/dist/hooks-eaHm_yEp.mjs +0 -33
  146. package/dist/hooks-eaHm_yEp.mjs.map +0 -1
  147. package/dist/hooks.d.mts +0 -3
  148. package/dist/hooks.mjs +0 -8
  149. package/dist/html2canvas-pro.esm-CsuSOHXp.js +0 -7250
  150. package/dist/html2canvas-pro.esm-CsuSOHXp.js.map +0 -1
  151. package/dist/html2canvas-pro.esm-E7kpobrC.mjs +0 -7249
  152. package/dist/html2canvas-pro.esm-E7kpobrC.mjs.map +0 -1
  153. package/dist/index-B5bpmv0i.d.mts +0 -2172
  154. package/dist/index-B5bpmv0i.d.mts.map +0 -1
  155. package/dist/index-B9lSPJTi.d.ts +0 -2170
  156. package/dist/index-B9lSPJTi.d.ts.map +0 -1
  157. package/dist/index.d.mts +0 -3
  158. package/dist/index.js.map +0 -1
  159. package/dist/index.mjs +0 -20
  160. package/dist/index.mjs.map +0 -1
  161. package/dist/mui-theme-CUhybmBq.mjs +0 -696
  162. package/dist/mui-theme-CUhybmBq.mjs.map +0 -1
  163. package/dist/mui-theme-iBHkjXJq.js +0 -732
  164. package/dist/mui-theme-iBHkjXJq.js.map +0 -1
  165. package/dist/state-CTITyT0R.js +0 -795
  166. package/dist/state-CTITyT0R.js.map +0 -1
  167. package/dist/state-Sc2b4jri.mjs +0 -382
  168. package/dist/state-Sc2b4jri.mjs.map +0 -1
  169. package/dist/theme.d.mts +0 -3
  170. package/dist/theme.mjs +0 -4
  171. package/dist/tooltipMessage-BC5W7H3X.js +0 -13
  172. package/dist/tooltipMessage-BC5W7H3X.js.map +0 -1
  173. package/dist/tooltipMessage-B_xMIKWL.mjs +0 -7
  174. package/dist/tooltipMessage-B_xMIKWL.mjs.map +0 -1
  175. package/dist/types.d.mts +0 -3
  176. package/dist/types.mjs +0 -6
  177. package/dist/urls-BQW5wjg-.js +0 -13
  178. package/dist/urls-BQW5wjg-.js.map +0 -1
  179. package/dist/urls-DT7FVEcS.mjs +0 -7
  180. package/dist/urls-DT7FVEcS.mjs.map +0 -1
  181. package/dist/version-B9s8yne-.js +0 -300
  182. package/dist/version-B9s8yne-.js.map +0 -1
  183. package/dist/version-DP1kU_7v.mjs +0 -162
  184. package/dist/version-DP1kU_7v.mjs.map +0 -1
  185. package/recce-source/.editorconfig +0 -26
  186. package/recce-source/.flake8 +0 -37
  187. package/recce-source/.github/ISSUE_TEMPLATE/bug_report.yml +0 -67
  188. package/recce-source/.github/ISSUE_TEMPLATE/custom.md +0 -10
  189. package/recce-source/.github/ISSUE_TEMPLATE/feature_request.yml +0 -42
  190. package/recce-source/.github/PULL_REQUEST_TEMPLATE.md +0 -21
  191. package/recce-source/.github/copilot-instructions.md +0 -331
  192. package/recce-source/.github/instructions/backend-instructions.md +0 -541
  193. package/recce-source/.github/instructions/frontend-instructions.md +0 -317
  194. package/recce-source/.github/workflows/build-statics.yaml +0 -72
  195. package/recce-source/.github/workflows/bump.yaml +0 -48
  196. package/recce-source/.github/workflows/integration-tests-cloud.yaml +0 -92
  197. package/recce-source/.github/workflows/integration-tests-sqlmesh.yaml +0 -33
  198. package/recce-source/.github/workflows/integration-tests.yaml +0 -52
  199. package/recce-source/.github/workflows/nightly.yaml +0 -246
  200. package/recce-source/.github/workflows/release.yaml +0 -196
  201. package/recce-source/.github/workflows/tests-js.yaml +0 -58
  202. package/recce-source/.github/workflows/tests-python.yaml +0 -128
  203. package/recce-source/.pre-commit-config.yaml +0 -26
  204. package/recce-source/CLAUDE.md +0 -483
  205. package/recce-source/CODE_OF_CONDUCT.md +0 -128
  206. package/recce-source/CONTRIBUTING.md +0 -107
  207. package/recce-source/LICENSE +0 -201
  208. package/recce-source/Makefile +0 -126
  209. package/recce-source/README.md +0 -182
  210. package/recce-source/RECCE_CLOUD.md +0 -81
  211. package/recce-source/SECURITY.md +0 -25
  212. package/recce-source/docs/PACKAGING.md +0 -340
  213. package/recce-source/docs/README.md +0 -1
  214. package/recce-source/docs/plans/2024-12-31-csv-download-design.md +0 -121
  215. package/recce-source/docs/plans/2024-12-31-csv-download-implementation.md +0 -930
  216. package/recce-source/integration_tests/dbt/dbt_project.yml +0 -26
  217. package/recce-source/integration_tests/dbt/models/customers.sql +0 -69
  218. package/recce-source/integration_tests/dbt/models/docs.md +0 -14
  219. package/recce-source/integration_tests/dbt/models/orders.sql +0 -56
  220. package/recce-source/integration_tests/dbt/models/schema.yml +0 -82
  221. package/recce-source/integration_tests/dbt/models/staging/schema.yml +0 -31
  222. package/recce-source/integration_tests/dbt/models/staging/stg_customers.sql +0 -22
  223. package/recce-source/integration_tests/dbt/models/staging/stg_orders.sql +0 -23
  224. package/recce-source/integration_tests/dbt/models/staging/stg_payments.sql +0 -25
  225. package/recce-source/integration_tests/dbt/packages.yml +0 -7
  226. package/recce-source/integration_tests/dbt/profiles.yml +0 -8
  227. package/recce-source/integration_tests/dbt/seeds/raw_customers.csv +0 -101
  228. package/recce-source/integration_tests/dbt/seeds/raw_orders.csv +0 -100
  229. package/recce-source/integration_tests/dbt/seeds/raw_payments.csv +0 -114
  230. package/recce-source/integration_tests/dbt/seeds/raw_statuses.csv +0 -5
  231. package/recce-source/integration_tests/dbt/smoke_test.sh +0 -72
  232. package/recce-source/integration_tests/dbt/smoke_test_cloud.sh +0 -71
  233. package/recce-source/integration_tests/sqlmesh/__init__.py +0 -0
  234. package/recce-source/integration_tests/sqlmesh/audits/assert_item_price_above_zero.sql +0 -9
  235. package/recce-source/integration_tests/sqlmesh/audits/items.sql +0 -7
  236. package/recce-source/integration_tests/sqlmesh/audits/order_items.sql +0 -7
  237. package/recce-source/integration_tests/sqlmesh/config.py +0 -171
  238. package/recce-source/integration_tests/sqlmesh/helper.py +0 -20
  239. package/recce-source/integration_tests/sqlmesh/hooks/__init__.py +0 -0
  240. package/recce-source/integration_tests/sqlmesh/macros/__init__.py +0 -0
  241. package/recce-source/integration_tests/sqlmesh/macros/macros.py +0 -8
  242. package/recce-source/integration_tests/sqlmesh/macros/macros.sql +0 -8
  243. package/recce-source/integration_tests/sqlmesh/macros/utils.py +0 -11
  244. package/recce-source/integration_tests/sqlmesh/metrics/metrics.sql +0 -25
  245. package/recce-source/integration_tests/sqlmesh/models/customer_revenue_by_day.sql +0 -41
  246. package/recce-source/integration_tests/sqlmesh/models/customer_revenue_lifetime.sql +0 -60
  247. package/recce-source/integration_tests/sqlmesh/models/customers.sql +0 -32
  248. package/recce-source/integration_tests/sqlmesh/models/items.py +0 -95
  249. package/recce-source/integration_tests/sqlmesh/models/marketing.sql +0 -15
  250. package/recce-source/integration_tests/sqlmesh/models/order_items.py +0 -95
  251. package/recce-source/integration_tests/sqlmesh/models/orders.py +0 -70
  252. package/recce-source/integration_tests/sqlmesh/models/raw_marketing.py +0 -62
  253. package/recce-source/integration_tests/sqlmesh/models/top_waiters.sql +0 -23
  254. package/recce-source/integration_tests/sqlmesh/models/waiter_as_customer_by_day.sql +0 -29
  255. package/recce-source/integration_tests/sqlmesh/models/waiter_names.sql +0 -10
  256. package/recce-source/integration_tests/sqlmesh/models/waiter_revenue_by_day.sql +0 -29
  257. package/recce-source/integration_tests/sqlmesh/models/waiters.py +0 -62
  258. package/recce-source/integration_tests/sqlmesh/prep_env.sh +0 -16
  259. package/recce-source/integration_tests/sqlmesh/schema.yaml +0 -5
  260. package/recce-source/integration_tests/sqlmesh/seeds/waiter_names.csv +0 -11
  261. package/recce-source/integration_tests/sqlmesh/test_server.sh +0 -29
  262. package/recce-source/integration_tests/sqlmesh/tests/test_customer_revenue_by_day.yaml +0 -63
  263. package/recce-source/integration_tests/sqlmesh/tests/test_order_items.yaml +0 -72
  264. package/recce-source/js/.editorconfig +0 -27
  265. package/recce-source/js/.env.development +0 -5
  266. package/recce-source/js/.husky/pre-commit +0 -29
  267. package/recce-source/js/.nvmrc +0 -1
  268. package/recce-source/js/README.md +0 -39
  269. package/recce-source/js/app/(mainComponents)/DisplayModeToggle.tsx +0 -65
  270. package/recce-source/js/app/(mainComponents)/NavBar.tsx +0 -228
  271. package/recce-source/js/app/(mainComponents)/RecceVersionBadge.tsx +0 -107
  272. package/recce-source/js/app/(mainComponents)/TopBar.tsx +0 -252
  273. package/recce-source/js/app/@lineage/default.tsx +0 -20
  274. package/recce-source/js/app/@lineage/page.tsx +0 -14
  275. package/recce-source/js/app/MainLayout.tsx +0 -170
  276. package/recce-source/js/app/Providers.tsx +0 -49
  277. package/recce-source/js/app/checks/page.tsx +0 -296
  278. package/recce-source/js/app/error.tsx +0 -93
  279. package/recce-source/js/app/favicon.ico +0 -0
  280. package/recce-source/js/app/global-error.tsx +0 -115
  281. package/recce-source/js/app/global.css +0 -82
  282. package/recce-source/js/app/layout.tsx +0 -48
  283. package/recce-source/js/app/lineage/page.tsx +0 -15
  284. package/recce-source/js/app/page.tsx +0 -12
  285. package/recce-source/js/app/query/page.tsx +0 -8
  286. package/recce-source/js/biome.json +0 -313
  287. package/recce-source/js/jest.config.js +0 -34
  288. package/recce-source/js/jest.globals.d.ts +0 -32
  289. package/recce-source/js/jest.setup.js +0 -91
  290. package/recce-source/js/next.config.js +0 -16
  291. package/recce-source/js/package-lock.json +0 -13843
  292. package/recce-source/js/package.json +0 -123
  293. package/recce-source/js/pnpm-lock.yaml +0 -9235
  294. package/recce-source/js/pnpm-workspace.yaml +0 -6
  295. package/recce-source/js/postcss.config.js +0 -5
  296. package/recce-source/js/public/auth_callback.html +0 -68
  297. package/recce-source/js/public/imgs/feedback/thumbs-down.png +0 -0
  298. package/recce-source/js/public/imgs/feedback/thumbs-up.png +0 -0
  299. package/recce-source/js/public/imgs/reload-image.svg +0 -4
  300. package/recce-source/js/public/logo/recce-logo-white.png +0 -0
  301. package/recce-source/js/src/components/AuthModal/AuthModal.tsx +0 -202
  302. package/recce-source/js/src/components/app/AvatarDropdown.tsx +0 -159
  303. package/recce-source/js/src/components/app/EnvInfo.tsx +0 -357
  304. package/recce-source/js/src/components/app/Filename.tsx +0 -388
  305. package/recce-source/js/src/components/app/SetupConnectionPopover.tsx +0 -91
  306. package/recce-source/js/src/components/app/StateExporter.tsx +0 -57
  307. package/recce-source/js/src/components/app/StateImporter.tsx +0 -198
  308. package/recce-source/js/src/components/app/StateSharing.tsx +0 -145
  309. package/recce-source/js/src/components/app/StateSynchronizer.tsx +0 -205
  310. package/recce-source/js/src/components/charts/HistogramChart.tsx +0 -291
  311. package/recce-source/js/src/components/charts/SquareIcon.tsx +0 -51
  312. package/recce-source/js/src/components/charts/TopKSummaryList.tsx +0 -457
  313. package/recce-source/js/src/components/charts/chartTheme.ts +0 -74
  314. package/recce-source/js/src/components/check/CheckBreadcrumb.tsx +0 -97
  315. package/recce-source/js/src/components/check/CheckDescription.tsx +0 -134
  316. package/recce-source/js/src/components/check/CheckDetail.tsx +0 -797
  317. package/recce-source/js/src/components/check/CheckEmptyState.tsx +0 -84
  318. package/recce-source/js/src/components/check/CheckList.tsx +0 -320
  319. package/recce-source/js/src/components/check/LineageDiffView.tsx +0 -32
  320. package/recce-source/js/src/components/check/PresetCheckTemplateView.tsx +0 -48
  321. package/recce-source/js/src/components/check/SchemaDiffView.tsx +0 -290
  322. package/recce-source/js/src/components/check/check.ts +0 -25
  323. package/recce-source/js/src/components/check/timeline/CheckTimeline.tsx +0 -163
  324. package/recce-source/js/src/components/check/timeline/CommentInput.tsx +0 -84
  325. package/recce-source/js/src/components/check/timeline/TimelineEvent.tsx +0 -468
  326. package/recce-source/js/src/components/check/timeline/index.ts +0 -12
  327. package/recce-source/js/src/components/check/utils.ts +0 -12
  328. package/recce-source/js/src/components/data-grid/ScreenshotDataGrid.tsx +0 -333
  329. package/recce-source/js/src/components/data-grid/agGridStyles.css +0 -55
  330. package/recce-source/js/src/components/data-grid/agGridTheme.ts +0 -43
  331. package/recce-source/js/src/components/editor/CodeEditor.tsx +0 -107
  332. package/recce-source/js/src/components/editor/DiffEditor.tsx +0 -162
  333. package/recce-source/js/src/components/editor/index.ts +0 -12
  334. package/recce-source/js/src/components/errorboundary/ErrorBoundary.tsx +0 -87
  335. package/recce-source/js/src/components/histogram/HistogramDiffForm.tsx +0 -147
  336. package/recce-source/js/src/components/histogram/HistogramDiffResultView.tsx +0 -63
  337. package/recce-source/js/src/components/icons/index.tsx +0 -142
  338. package/recce-source/js/src/components/lineage/ActionControl.tsx +0 -63
  339. package/recce-source/js/src/components/lineage/ActionTag.tsx +0 -141
  340. package/recce-source/js/src/components/lineage/ChangeStatusLegend.tsx +0 -46
  341. package/recce-source/js/src/components/lineage/ColumnLevelLineageControl.tsx +0 -327
  342. package/recce-source/js/src/components/lineage/ColumnLevelLineageLegend.tsx +0 -57
  343. package/recce-source/js/src/components/lineage/GraphColumnNode.tsx +0 -199
  344. package/recce-source/js/src/components/lineage/GraphEdge.tsx +0 -59
  345. package/recce-source/js/src/components/lineage/GraphNode.tsx +0 -555
  346. package/recce-source/js/src/components/lineage/LineagePage.tsx +0 -10
  347. package/recce-source/js/src/components/lineage/LineageView.tsx +0 -1384
  348. package/recce-source/js/src/components/lineage/LineageViewContext.tsx +0 -86
  349. package/recce-source/js/src/components/lineage/LineageViewContextMenu.tsx +0 -637
  350. package/recce-source/js/src/components/lineage/LineageViewNotification.tsx +0 -64
  351. package/recce-source/js/src/components/lineage/LineageViewTopBar.tsx +0 -596
  352. package/recce-source/js/src/components/lineage/NodeSqlView.tsx +0 -136
  353. package/recce-source/js/src/components/lineage/NodeTag.tsx +0 -278
  354. package/recce-source/js/src/components/lineage/NodeView.tsx +0 -642
  355. package/recce-source/js/src/components/lineage/SandboxView.tsx +0 -436
  356. package/recce-source/js/src/components/lineage/ServerDisconnectedModalContent.tsx +0 -105
  357. package/recce-source/js/src/components/lineage/SetupConnectionBanner.tsx +0 -52
  358. package/recce-source/js/src/components/lineage/SingleEnvironmentQueryView.tsx +0 -152
  359. package/recce-source/js/src/components/lineage/graph.test.ts +0 -31
  360. package/recce-source/js/src/components/lineage/graph.ts +0 -58
  361. package/recce-source/js/src/components/lineage/lineage.test.ts +0 -169
  362. package/recce-source/js/src/components/lineage/lineage.ts +0 -521
  363. package/recce-source/js/src/components/lineage/styles.css +0 -42
  364. package/recce-source/js/src/components/lineage/styles.tsx +0 -165
  365. package/recce-source/js/src/components/lineage/useMultiNodesAction.ts +0 -352
  366. package/recce-source/js/src/components/lineage/useValueDiffAlertDialog.tsx +0 -108
  367. package/recce-source/js/src/components/onboarding-guide/Notification.tsx +0 -62
  368. package/recce-source/js/src/components/profile/ProfileDiffForm.tsx +0 -134
  369. package/recce-source/js/src/components/profile/ProfileDiffResultView.tsx +0 -243
  370. package/recce-source/js/src/components/query/ChangedOnlyCheckbox.tsx +0 -29
  371. package/recce-source/js/src/components/query/DiffText.tsx +0 -120
  372. package/recce-source/js/src/components/query/QueryDiffResultView.tsx +0 -468
  373. package/recce-source/js/src/components/query/QueryForm.tsx +0 -80
  374. package/recce-source/js/src/components/query/QueryPage.tsx +0 -282
  375. package/recce-source/js/src/components/query/QueryResultView.tsx +0 -180
  376. package/recce-source/js/src/components/query/SetupConnectionGuide.tsx +0 -57
  377. package/recce-source/js/src/components/query/SqlEditor.tsx +0 -245
  378. package/recce-source/js/src/components/query/ToggleSwitch.tsx +0 -84
  379. package/recce-source/js/src/components/query/styles.css +0 -21
  380. package/recce-source/js/src/components/routing/DirectUrlAccess.test.tsx +0 -428
  381. package/recce-source/js/src/components/routing/LineageStatePreservation.test.tsx +0 -311
  382. package/recce-source/js/src/components/routing/Navigation.test.tsx +0 -256
  383. package/recce-source/js/src/components/rowcount/RowCountDiffResultView.tsx +0 -108
  384. package/recce-source/js/src/components/rowcount/delta.test.ts +0 -51
  385. package/recce-source/js/src/components/rowcount/delta.ts +0 -16
  386. package/recce-source/js/src/components/run/RunList.tsx +0 -303
  387. package/recce-source/js/src/components/run/RunModal.tsx +0 -191
  388. package/recce-source/js/src/components/run/RunPage.tsx +0 -26
  389. package/recce-source/js/src/components/run/RunResultPane.tsx +0 -578
  390. package/recce-source/js/src/components/run/RunStatusAndDate.tsx +0 -106
  391. package/recce-source/js/src/components/run/RunToolbar.tsx +0 -70
  392. package/recce-source/js/src/components/run/RunView.tsx +0 -196
  393. package/recce-source/js/src/components/run/registry.ts +0 -214
  394. package/recce-source/js/src/components/run/types.ts +0 -14
  395. package/recce-source/js/src/components/schema/ColumnNameCell.test.tsx +0 -169
  396. package/recce-source/js/src/components/schema/ColumnNameCell.tsx +0 -198
  397. package/recce-source/js/src/components/schema/SchemaView.tsx +0 -336
  398. package/recce-source/js/src/components/schema/schemaDiff.ts +0 -32
  399. package/recce-source/js/src/components/schema/style.css +0 -134
  400. package/recce-source/js/src/components/screenshot/ScreenshotBox.tsx +0 -39
  401. package/recce-source/js/src/components/shared/HistoryToggle.tsx +0 -35
  402. package/recce-source/js/src/components/split/Split.tsx +0 -40
  403. package/recce-source/js/src/components/split/styles.css +0 -24
  404. package/recce-source/js/src/components/summary/ChangeSummary.tsx +0 -264
  405. package/recce-source/js/src/components/summary/SchemaSummary.tsx +0 -123
  406. package/recce-source/js/src/components/summary/SummaryView.tsx +0 -29
  407. package/recce-source/js/src/components/timeout/IdleTimeoutBadge.tsx +0 -48
  408. package/recce-source/js/src/components/top-k/TopKDiffForm.tsx +0 -58
  409. package/recce-source/js/src/components/top-k/TopKDiffResultView.tsx +0 -73
  410. package/recce-source/js/src/components/ui/dataGrid/DataFrameColumnGroupHeader.tsx +0 -228
  411. package/recce-source/js/src/components/ui/dataGrid/DataFrameColumnHeader.tsx +0 -113
  412. package/recce-source/js/src/components/ui/dataGrid/defaultRenderCell.tsx +0 -72
  413. package/recce-source/js/src/components/ui/dataGrid/index.ts +0 -23
  414. package/recce-source/js/src/components/ui/dataGrid/inlineRenderCell.test.tsx +0 -607
  415. package/recce-source/js/src/components/ui/dataGrid/inlineRenderCell.tsx +0 -211
  416. package/recce-source/js/src/components/ui/dataGrid/schemaCells.test.tsx +0 -452
  417. package/recce-source/js/src/components/ui/dataGrid/schemaCells.tsx +0 -142
  418. package/recce-source/js/src/components/ui/dataGrid/valueDiffCells.test.tsx +0 -178
  419. package/recce-source/js/src/components/ui/dataGrid/valueDiffCells.tsx +0 -275
  420. package/recce-source/js/src/components/ui/markdown/ExternalLinkConfirmDialog.tsx +0 -134
  421. package/recce-source/js/src/components/ui/markdown/MarkdownContent.tsx +0 -364
  422. package/recce-source/js/src/components/ui/mui/index.ts +0 -13
  423. package/recce-source/js/src/components/ui/mui-provider.tsx +0 -67
  424. package/recce-source/js/src/components/ui/mui-theme.ts +0 -1039
  425. package/recce-source/js/src/components/ui/mui-utils.ts +0 -113
  426. package/recce-source/js/src/components/ui/toaster.tsx +0 -288
  427. package/recce-source/js/src/components/valuediff/ValueDiffDetailResultView.tsx +0 -216
  428. package/recce-source/js/src/components/valuediff/ValueDiffForm.tsx +0 -246
  429. package/recce-source/js/src/components/valuediff/ValueDiffResultView.tsx +0 -81
  430. package/recce-source/js/src/components/valuediff/shared.ts +0 -33
  431. package/recce-source/js/src/constants/tooltipMessage.ts +0 -3
  432. package/recce-source/js/src/constants/urls.ts +0 -1
  433. package/recce-source/js/src/lib/UrlHash.ts +0 -12
  434. package/recce-source/js/src/lib/api/adhocQuery.ts +0 -70
  435. package/recce-source/js/src/lib/api/axiosClient.ts +0 -9
  436. package/recce-source/js/src/lib/api/cacheKeys.ts +0 -13
  437. package/recce-source/js/src/lib/api/checkEvents.ts +0 -252
  438. package/recce-source/js/src/lib/api/checks.ts +0 -129
  439. package/recce-source/js/src/lib/api/cll.ts +0 -53
  440. package/recce-source/js/src/lib/api/connectToCloud.ts +0 -13
  441. package/recce-source/js/src/lib/api/flag.ts +0 -37
  442. package/recce-source/js/src/lib/api/info.ts +0 -198
  443. package/recce-source/js/src/lib/api/instanceInfo.ts +0 -25
  444. package/recce-source/js/src/lib/api/keepAlive.ts +0 -108
  445. package/recce-source/js/src/lib/api/lineagecheck.ts +0 -35
  446. package/recce-source/js/src/lib/api/localStorageKeys.ts +0 -7
  447. package/recce-source/js/src/lib/api/models.ts +0 -59
  448. package/recce-source/js/src/lib/api/profile.ts +0 -65
  449. package/recce-source/js/src/lib/api/rowcount.ts +0 -19
  450. package/recce-source/js/src/lib/api/runs.ts +0 -174
  451. package/recce-source/js/src/lib/api/schemacheck.ts +0 -31
  452. package/recce-source/js/src/lib/api/select.ts +0 -25
  453. package/recce-source/js/src/lib/api/sessionStorageKeys.ts +0 -8
  454. package/recce-source/js/src/lib/api/state.ts +0 -117
  455. package/recce-source/js/src/lib/api/track.ts +0 -281
  456. package/recce-source/js/src/lib/api/types.ts +0 -284
  457. package/recce-source/js/src/lib/api/user.ts +0 -42
  458. package/recce-source/js/src/lib/api/valuediff.ts +0 -46
  459. package/recce-source/js/src/lib/api/version.ts +0 -40
  460. package/recce-source/js/src/lib/const.ts +0 -9
  461. package/recce-source/js/src/lib/csv/extractors.test.ts +0 -456
  462. package/recce-source/js/src/lib/csv/extractors.ts +0 -468
  463. package/recce-source/js/src/lib/csv/format.test.ts +0 -211
  464. package/recce-source/js/src/lib/csv/format.ts +0 -44
  465. package/recce-source/js/src/lib/csv/index.test.ts +0 -155
  466. package/recce-source/js/src/lib/csv/index.ts +0 -109
  467. package/recce-source/js/src/lib/dataGrid/crossFunctionConsistency.test.ts +0 -626
  468. package/recce-source/js/src/lib/dataGrid/dataGridFactory.test.ts +0 -2140
  469. package/recce-source/js/src/lib/dataGrid/dataGridFactory.ts +0 -397
  470. package/recce-source/js/src/lib/dataGrid/generators/rowCountUtils.test.ts +0 -132
  471. package/recce-source/js/src/lib/dataGrid/generators/rowCountUtils.ts +0 -126
  472. package/recce-source/js/src/lib/dataGrid/generators/toDataDiffGrid.test.ts +0 -1627
  473. package/recce-source/js/src/lib/dataGrid/generators/toDataDiffGrid.ts +0 -140
  474. package/recce-source/js/src/lib/dataGrid/generators/toDataGrid.ts +0 -67
  475. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDataGrid.test.ts +0 -142
  476. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDataGrid.ts +0 -71
  477. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDiffDataGrid.test.ts +0 -258
  478. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDiffDataGrid.ts +0 -153
  479. package/recce-source/js/src/lib/dataGrid/generators/toSchemaDataGrid.test.ts +0 -951
  480. package/recce-source/js/src/lib/dataGrid/generators/toSchemaDataGrid.ts +0 -221
  481. package/recce-source/js/src/lib/dataGrid/generators/toValueDataGrid.test.ts +0 -395
  482. package/recce-source/js/src/lib/dataGrid/generators/toValueDataGrid.ts +0 -184
  483. package/recce-source/js/src/lib/dataGrid/generators/toValueDiffGrid.test.ts +0 -884
  484. package/recce-source/js/src/lib/dataGrid/generators/toValueDiffGrid.ts +0 -113
  485. package/recce-source/js/src/lib/dataGrid/index.ts +0 -51
  486. package/recce-source/js/src/lib/dataGrid/propertyBased.test.ts +0 -858
  487. package/recce-source/js/src/lib/dataGrid/shared/columnBuilders.test.ts +0 -482
  488. package/recce-source/js/src/lib/dataGrid/shared/columnBuilders.ts +0 -345
  489. package/recce-source/js/src/lib/dataGrid/shared/dataTypeEdgeCases.test.ts +0 -698
  490. package/recce-source/js/src/lib/dataGrid/shared/diffColumnBuilder.test.tsx +0 -820
  491. package/recce-source/js/src/lib/dataGrid/shared/diffColumnBuilder.tsx +0 -277
  492. package/recce-source/js/src/lib/dataGrid/shared/gridUtils.test.ts +0 -785
  493. package/recce-source/js/src/lib/dataGrid/shared/gridUtils.ts +0 -370
  494. package/recce-source/js/src/lib/dataGrid/shared/index.ts +0 -81
  495. package/recce-source/js/src/lib/dataGrid/shared/rowBuilders.test.ts +0 -909
  496. package/recce-source/js/src/lib/dataGrid/shared/rowBuilders.ts +0 -325
  497. package/recce-source/js/src/lib/dataGrid/shared/simpleColumnBuilder.tsx +0 -240
  498. package/recce-source/js/src/lib/dataGrid/shared/toDiffColumn.test.tsx +0 -719
  499. package/recce-source/js/src/lib/dataGrid/shared/toDiffColumn.tsx +0 -231
  500. package/recce-source/js/src/lib/dataGrid/shared/validation.test.ts +0 -559
  501. package/recce-source/js/src/lib/dataGrid/shared/validation.ts +0 -367
  502. package/recce-source/js/src/lib/dataGrid/warehouseNamingConventions.test.ts +0 -1117
  503. package/recce-source/js/src/lib/formatSelect.ts +0 -50
  504. package/recce-source/js/src/lib/hooks/ApiConfigContext.tsx +0 -181
  505. package/recce-source/js/src/lib/hooks/IdleTimeoutContext.tsx +0 -177
  506. package/recce-source/js/src/lib/hooks/LineageGraphContext.tsx +0 -512
  507. package/recce-source/js/src/lib/hooks/RecceActionContext.tsx +0 -269
  508. package/recce-source/js/src/lib/hooks/RecceCheckContext.tsx +0 -33
  509. package/recce-source/js/src/lib/hooks/RecceContextProvider.tsx +0 -54
  510. package/recce-source/js/src/lib/hooks/RecceInstanceContext.tsx +0 -129
  511. package/recce-source/js/src/lib/hooks/RecceQueryContext.tsx +0 -98
  512. package/recce-source/js/src/lib/hooks/RecceShareStateContext.tsx +0 -59
  513. package/recce-source/js/src/lib/hooks/ScreenShot.tsx +0 -399
  514. package/recce-source/js/src/lib/hooks/useAppRouter.test.ts +0 -211
  515. package/recce-source/js/src/lib/hooks/useAppRouter.ts +0 -200
  516. package/recce-source/js/src/lib/hooks/useCSVExport.ts +0 -136
  517. package/recce-source/js/src/lib/hooks/useCheckEvents.ts +0 -99
  518. package/recce-source/js/src/lib/hooks/useCheckToast.tsx +0 -14
  519. package/recce-source/js/src/lib/hooks/useClipBoardToast.tsx +0 -27
  520. package/recce-source/js/src/lib/hooks/useCountdownToast.tsx +0 -102
  521. package/recce-source/js/src/lib/hooks/useFeedbackCollectionToast.tsx +0 -130
  522. package/recce-source/js/src/lib/hooks/useGuideToast.tsx +0 -45
  523. package/recce-source/js/src/lib/hooks/useIdleDetection.tsx +0 -185
  524. package/recce-source/js/src/lib/hooks/useModelColumns.tsx +0 -113
  525. package/recce-source/js/src/lib/hooks/useRecceInstanceInfo.tsx +0 -13
  526. package/recce-source/js/src/lib/hooks/useRecceServerFlag.tsx +0 -13
  527. package/recce-source/js/src/lib/hooks/useRun.tsx +0 -89
  528. package/recce-source/js/src/lib/hooks/useThemeColors.ts +0 -115
  529. package/recce-source/js/src/lib/mergeKeys.test.ts +0 -89
  530. package/recce-source/js/src/lib/mergeKeys.ts +0 -86
  531. package/recce-source/js/src/lib/result/ResultErrorFallback.tsx +0 -9
  532. package/recce-source/js/src/lib/utils/formatTime.ts +0 -84
  533. package/recce-source/js/src/lib/utils/urls.ts +0 -16
  534. package/recce-source/js/src/utils/DropdownValuesInput.tsx +0 -297
  535. package/recce-source/js/src/utils/formatters.tsx +0 -237
  536. package/recce-source/js/src/utils/transforms.ts +0 -81
  537. package/recce-source/js/tsconfig.json +0 -47
  538. package/recce-source/macros/README.md +0 -8
  539. package/recce-source/macros/recce_athena.sql +0 -73
  540. package/recce-source/pyproject.toml +0 -109
  541. package/recce-source/recce/VERSION +0 -1
  542. package/recce-source/recce/__init__.py +0 -84
  543. package/recce-source/recce/adapter/__init__.py +0 -0
  544. package/recce-source/recce/adapter/base.py +0 -109
  545. package/recce-source/recce/adapter/dbt_adapter/__init__.py +0 -1699
  546. package/recce-source/recce/adapter/dbt_adapter/dbt_version.py +0 -42
  547. package/recce-source/recce/adapter/sqlmesh_adapter.py +0 -141
  548. package/recce-source/recce/apis/__init__.py +0 -0
  549. package/recce-source/recce/apis/check_api.py +0 -203
  550. package/recce-source/recce/apis/check_events_api.py +0 -353
  551. package/recce-source/recce/apis/check_func.py +0 -130
  552. package/recce-source/recce/apis/run_api.py +0 -130
  553. package/recce-source/recce/apis/run_func.py +0 -258
  554. package/recce-source/recce/artifact.py +0 -266
  555. package/recce-source/recce/cli.py +0 -1846
  556. package/recce-source/recce/config.py +0 -127
  557. package/recce-source/recce/connect_to_cloud.py +0 -138
  558. package/recce-source/recce/core.py +0 -334
  559. package/recce-source/recce/diff.py +0 -26
  560. package/recce-source/recce/event/CONFIG +0 -1
  561. package/recce-source/recce/event/SENTRY_DNS +0 -1
  562. package/recce-source/recce/event/__init__.py +0 -304
  563. package/recce-source/recce/event/collector.py +0 -184
  564. package/recce-source/recce/event/track.py +0 -158
  565. package/recce-source/recce/exceptions.py +0 -21
  566. package/recce-source/recce/git.py +0 -77
  567. package/recce-source/recce/github.py +0 -222
  568. package/recce-source/recce/mcp_server.py +0 -885
  569. package/recce-source/recce/models/__init__.py +0 -6
  570. package/recce-source/recce/models/check.py +0 -481
  571. package/recce-source/recce/models/run.py +0 -46
  572. package/recce-source/recce/models/types.py +0 -218
  573. package/recce-source/recce/pull_request.py +0 -124
  574. package/recce-source/recce/run.py +0 -390
  575. package/recce-source/recce/server.py +0 -877
  576. package/recce-source/recce/state/__init__.py +0 -31
  577. package/recce-source/recce/state/cloud.py +0 -644
  578. package/recce-source/recce/state/const.py +0 -26
  579. package/recce-source/recce/state/local.py +0 -56
  580. package/recce-source/recce/state/state.py +0 -119
  581. package/recce-source/recce/state/state_loader.py +0 -174
  582. package/recce-source/recce/summary.py +0 -575
  583. package/recce-source/recce/tasks/__init__.py +0 -23
  584. package/recce-source/recce/tasks/core.py +0 -134
  585. package/recce-source/recce/tasks/dataframe.py +0 -170
  586. package/recce-source/recce/tasks/histogram.py +0 -433
  587. package/recce-source/recce/tasks/lineage.py +0 -19
  588. package/recce-source/recce/tasks/profile.py +0 -298
  589. package/recce-source/recce/tasks/query.py +0 -450
  590. package/recce-source/recce/tasks/rowcount.py +0 -277
  591. package/recce-source/recce/tasks/schema.py +0 -65
  592. package/recce-source/recce/tasks/top_k.py +0 -172
  593. package/recce-source/recce/tasks/utils.py +0 -147
  594. package/recce-source/recce/tasks/valuediff.py +0 -497
  595. package/recce-source/recce/util/__init__.py +0 -4
  596. package/recce-source/recce/util/api_token.py +0 -80
  597. package/recce-source/recce/util/breaking.py +0 -330
  598. package/recce-source/recce/util/cache.py +0 -25
  599. package/recce-source/recce/util/cll.py +0 -355
  600. package/recce-source/recce/util/cloud/__init__.py +0 -15
  601. package/recce-source/recce/util/cloud/base.py +0 -115
  602. package/recce-source/recce/util/cloud/check_events.py +0 -190
  603. package/recce-source/recce/util/cloud/checks.py +0 -242
  604. package/recce-source/recce/util/io.py +0 -120
  605. package/recce-source/recce/util/lineage.py +0 -83
  606. package/recce-source/recce/util/logger.py +0 -25
  607. package/recce-source/recce/util/onboarding_state.py +0 -45
  608. package/recce-source/recce/util/perf_tracking.py +0 -85
  609. package/recce-source/recce/util/pydantic_model.py +0 -22
  610. package/recce-source/recce/util/recce_cloud.py +0 -454
  611. package/recce-source/recce/util/singleton.py +0 -18
  612. package/recce-source/recce/util/startup_perf.py +0 -121
  613. package/recce-source/recce/yaml/__init__.py +0 -58
  614. package/recce-source/recce_cloud/README.md +0 -780
  615. package/recce-source/recce_cloud/VERSION +0 -1
  616. package/recce-source/recce_cloud/__init__.py +0 -24
  617. package/recce-source/recce_cloud/api/__init__.py +0 -17
  618. package/recce-source/recce_cloud/api/base.py +0 -132
  619. package/recce-source/recce_cloud/api/client.py +0 -186
  620. package/recce-source/recce_cloud/api/exceptions.py +0 -26
  621. package/recce-source/recce_cloud/api/factory.py +0 -63
  622. package/recce-source/recce_cloud/api/github.py +0 -106
  623. package/recce-source/recce_cloud/api/gitlab.py +0 -111
  624. package/recce-source/recce_cloud/artifact.py +0 -57
  625. package/recce-source/recce_cloud/ci_providers/__init__.py +0 -9
  626. package/recce-source/recce_cloud/ci_providers/base.py +0 -82
  627. package/recce-source/recce_cloud/ci_providers/detector.py +0 -147
  628. package/recce-source/recce_cloud/ci_providers/github_actions.py +0 -136
  629. package/recce-source/recce_cloud/ci_providers/gitlab_ci.py +0 -130
  630. package/recce-source/recce_cloud/cli.py +0 -434
  631. package/recce-source/recce_cloud/download.py +0 -230
  632. package/recce-source/recce_cloud/hatch_build.py +0 -20
  633. package/recce-source/recce_cloud/pyproject.toml +0 -49
  634. package/recce-source/recce_cloud/upload.py +0 -214
  635. package/recce-source/test.py +0 -0
  636. package/recce-source/tests/__init__.py +0 -0
  637. package/recce-source/tests/adapter/__init__.py +0 -0
  638. package/recce-source/tests/adapter/dbt_adapter/__init__.py +0 -0
  639. package/recce-source/tests/adapter/dbt_adapter/conftest.py +0 -17
  640. package/recce-source/tests/adapter/dbt_adapter/dbt_test_helper.py +0 -298
  641. package/recce-source/tests/adapter/dbt_adapter/test_dbt_adapter.py +0 -25
  642. package/recce-source/tests/adapter/dbt_adapter/test_dbt_cll.py +0 -717
  643. package/recce-source/tests/adapter/dbt_adapter/test_proj/dbt_project.yml +0 -4
  644. package/recce-source/tests/adapter/dbt_adapter/test_proj/manifest.json +0 -1
  645. package/recce-source/tests/adapter/dbt_adapter/test_proj/package-lock.yml +0 -8
  646. package/recce-source/tests/adapter/dbt_adapter/test_proj/packages.yml +0 -7
  647. package/recce-source/tests/adapter/dbt_adapter/test_proj/profiles.yml +0 -6
  648. package/recce-source/tests/adapter/dbt_adapter/test_selector.py +0 -205
  649. package/recce-source/tests/apis/__init__.py +0 -0
  650. package/recce-source/tests/apis/row_count_diff.json +0 -59
  651. package/recce-source/tests/apis/test_check_events_api.py +0 -615
  652. package/recce-source/tests/apis/test_run_func.py +0 -433
  653. package/recce-source/tests/catalog.json +0 -527
  654. package/recce-source/tests/data/manifest/base/catalog.json +0 -1
  655. package/recce-source/tests/data/manifest/base/manifest.json +0 -1
  656. package/recce-source/tests/data/manifest/pr2/catalog.json +0 -1
  657. package/recce-source/tests/data/manifest/pr2/manifest.json +0 -1
  658. package/recce-source/tests/manifest.json +0 -10655
  659. package/recce-source/tests/models/__init__.py +0 -0
  660. package/recce-source/tests/models/test_check.py +0 -731
  661. package/recce-source/tests/models/test_run_models.py +0 -295
  662. package/recce-source/tests/recce_cloud/__init__.py +0 -0
  663. package/recce-source/tests/recce_cloud/test_ci_providers.py +0 -351
  664. package/recce-source/tests/recce_cloud/test_cli.py +0 -735
  665. package/recce-source/tests/recce_cloud/test_client.py +0 -379
  666. package/recce-source/tests/recce_cloud/test_platform_clients.py +0 -483
  667. package/recce-source/tests/recce_state.json +0 -1
  668. package/recce-source/tests/state/test_cloud.py +0 -719
  669. package/recce-source/tests/state/test_local.py +0 -164
  670. package/recce-source/tests/state/test_state_loader.py +0 -211
  671. package/recce-source/tests/tasks/__init__.py +0 -0
  672. package/recce-source/tests/tasks/conftest.py +0 -4
  673. package/recce-source/tests/tasks/test_histogram.py +0 -129
  674. package/recce-source/tests/tasks/test_lineage.py +0 -55
  675. package/recce-source/tests/tasks/test_preset_checks.py +0 -64
  676. package/recce-source/tests/tasks/test_profile.py +0 -397
  677. package/recce-source/tests/tasks/test_query.py +0 -528
  678. package/recce-source/tests/tasks/test_row_count.py +0 -133
  679. package/recce-source/tests/tasks/test_schema.py +0 -122
  680. package/recce-source/tests/tasks/test_top_k.py +0 -77
  681. package/recce-source/tests/tasks/test_utils.py +0 -439
  682. package/recce-source/tests/tasks/test_valuediff.py +0 -361
  683. package/recce-source/tests/test_cli.py +0 -236
  684. package/recce-source/tests/test_cli_mcp_optional.py +0 -45
  685. package/recce-source/tests/test_cloud_listing_cli.py +0 -324
  686. package/recce-source/tests/test_config.py +0 -43
  687. package/recce-source/tests/test_connect_to_cloud.py +0 -82
  688. package/recce-source/tests/test_core.py +0 -174
  689. package/recce-source/tests/test_dbt.py +0 -36
  690. package/recce-source/tests/test_mcp_server.py +0 -505
  691. package/recce-source/tests/test_pull_request.py +0 -130
  692. package/recce-source/tests/test_server.py +0 -202
  693. package/recce-source/tests/test_server_lifespan.py +0 -138
  694. package/recce-source/tests/test_summary.py +0 -73
  695. package/recce-source/tests/util/__init__.py +0 -0
  696. package/recce-source/tests/util/cloud/__init__.py +0 -0
  697. package/recce-source/tests/util/cloud/test_check_events.py +0 -255
  698. package/recce-source/tests/util/cloud/test_checks.py +0 -204
  699. package/recce-source/tests/util/test_api_token.py +0 -119
  700. package/recce-source/tests/util/test_breaking.py +0 -1427
  701. package/recce-source/tests/util/test_cll.py +0 -706
  702. package/recce-source/tests/util/test_lineage.py +0 -122
  703. package/recce-source/tests/util/test_onboarding_state.py +0 -84
  704. package/recce-source/tests/util/test_recce_cloud.py +0 -231
  705. package/recce-source/tox.ini +0 -40
  706. package/recce-source/uv.lock +0 -3928
  707. package/src/api/index.ts +0 -32
  708. package/src/components/index.ts +0 -154
  709. package/src/global.d.ts +0 -14
  710. package/src/hooks/index.ts +0 -56
  711. package/src/index.ts +0 -17
  712. package/src/lib/hooks/RouteConfigContext.ts +0 -139
  713. package/src/lib/hooks/useAppRouter.ts +0 -240
  714. package/src/mui-augmentation.d.ts +0 -139
  715. package/src/theme/index.ts +0 -13
  716. package/src/theme.ts +0 -23
  717. package/src/types/index.ts +0 -23
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplitPane-g8w-XF2_.d.ts","names":[],"sources":["../src/components/lineage/edges/LineageEdge.tsx","../src/components/lineage/nodes/LineageNode.tsx","../src/components/check/CheckActions.tsx","../src/components/check/CheckCard.tsx","../src/components/check/CheckDescription.tsx","../src/components/check/CheckDetail.tsx","../src/components/check/CheckEmptyState.tsx","../src/components/check/CheckList.tsx","../src/components/lineage/LineageView.tsx","../src/components/lineage/columns/LineageColumnNode.tsx","../src/components/lineage/legend/LineageLegend.tsx","../src/components/data/HistogramChart.tsx","../src/components/data/TopKBarChart.tsx","../src/lib/dataGrid/generators/toSchemaDataGrid.ts","../src/components/schema/types.ts","../src/components/editor/DiffEditor.tsx","../src/components/ui/EmptyState.tsx","../src/components/ui/SplitPane.tsx"],"mappings":";;;;;;;;;;KAWY,gBAAA;AAAA,UAEK,eAAA,SAAwB,MAAA;;EAEvC,YAAA,GAAe,gBAAA;;EAEf,aAAA;;EAEA,KAAA;AAAA;AAAA,KAGU,eAAA,GAAkB,IAAA,CAAK,eAAA;AAAA,KAEvB,gBAAA,GAAmB,SAAA,CAAU,eAAA;AAAA,iBAShC,oBAAA,CAAA;EACP,EAAA;EACA,OAAA;EACA,OAAA;EACA,OAAA;EACA,OAAA;EACA,cAAA;EACA,cAAA;EACA,IAAA;EACA;AAAA,GACC,gBAAA,GAAgB,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,cAmDN,WAAA,EAAW,OAAA,CAAA,mBAAA,QAAA,oBAAA;;;;;;KCpDZ,gBAAA;;;;KAKA,UAAA;;ADpCZ;;KCyCY,cAAA;;;ADvCZ;UCgDiB,eAAA,SAAwB,MAAA;;EAEvC,KAAA;EDlDuC;ECoDvC,QAAA;EDlDe;ECoDf,YAAA,GAAe,gBAAA;EDhDf;ECkDA,UAAA;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AAA;EjBXA;EiBaA,UAAA;EjBXA;EiBaA,UAAA;EjBXK;EiBaL,YAAA;EjBVU;EiBYV,SAAA,IAAa,KAAA;;EAEb,MAAA,IAAU,KAAA;EjBdsC;EiBgBhD,KAAA;EjBd0B;EiBgB1B,KAAA,GAAQ,aAAA;EjBhBqB;EiBkB7B,SAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AjBoDF;;;;;;;iBiBJS,kBAAA,CAAA;EACP,QAAA;EACA,SAAA;EACA,KAAA;EACA,QAAA;EACA,QAAA;EACA,UAAA;EACA,UAAA;EACA,YAAA;EACA,SAAA;EACA,MAAA;EACA,KAAA;EACA,KAAA;EACA;AAAA,GACC,cAAA,GAAc,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,cAqDJ,SAAA,EAAS,OAAA,CAAA,mBAAA,QAAA,kBAAA"}
@@ -0,0 +1,17 @@
1
+
2
+ import { a as LineageGraphColumnNode, c as LineageGraphNode, i as LineageGraph, l as LineageGraphNodes, m as isLineageGraphNode, p as isLineageGraphColumnNode, r as EnvInfo, s as LineageGraphEdge } from "./types-DLRfpcrV.js";
3
+ import { _ as toReactFlowBasic, c as useRunsAggregated, d as buildLineageGraph, f as getNeighborSet, g as selectUpstream, h as selectDownstream, l as COLUMN_HEIGHT, m as layoutWithDagre, p as intersect, s as useLineageGraphContext, u as NodeColumnSetMap, v as union } from "./index-C9nBECPv.js";
4
+ import { Bt as FIT_VIEW_PADDING, Rt as DIM_FILTER, St as SchemaViewProps, Vt as LEGIBLE_MIN_ZOOM, bt as NodeViewNodeData, n as toReactFlow, t as layout, xt as NodeViewProps, yt as NodeView, zt as EXPLORE_MIN_ZOOM } from "./lineage-DsKqx9yh.js";
5
+ import { b as LineageCanvasProps, y as LineageCanvas } from "./index-B1IyNkDA.js";
6
+ import { c as useRecceActionContext, g as InstanceInfoType, h as useRecceInstanceContext, i as IdleTimeoutContextType, p as useRecceInstanceInfo, r as useIdleTimeout, u as RecceActionContextType } from "./index-Dh6gw0NG.js";
7
+ import { n as useThemeColors } from "./useThemeColors-OwCMwSrx.js";
8
+ import { a as SemanticColorVariant, i as ColorShade, s as colors } from "./index-CHJ0PCEg.js";
9
+
10
+ //#region src/advanced.d.ts
11
+ /**
12
+ * Version marker for the advanced surface.
13
+ */
14
+ declare const ADVANCED_API_VERSION = "0.2.0";
15
+ //#endregion
16
+ export { ADVANCED_API_VERSION, COLUMN_HEIGHT, type ColorShade, DIM_FILTER, EXPLORE_MIN_ZOOM, type EnvInfo, FIT_VIEW_PADDING, type IdleTimeoutContextType, type InstanceInfoType, LEGIBLE_MIN_ZOOM, LineageCanvas, type LineageCanvasProps, type LineageGraph, type LineageGraphColumnNode, type LineageGraphEdge, type LineageGraphNode, type LineageGraphNodes, type NodeColumnSetMap, NodeView, type NodeViewNodeData, type NodeViewProps, type RecceActionContextType, type SchemaViewProps, type SemanticColorVariant, buildLineageGraph, colors, getNeighborSet, intersect, isLineageGraphColumnNode, isLineageGraphNode, layout, layoutWithDagre, selectDownstream, selectUpstream, toReactFlow, toReactFlowBasic, union, useIdleTimeout, useLineageGraphContext, useRecceActionContext, useRecceInstanceContext, useRecceInstanceInfo, useRunsAggregated, useThemeColors };
17
+ //# sourceMappingURL=advanced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced.d.ts","names":[],"sources":["../src/advanced.ts"],"mappings":";;;;;;;;;;;;;cAQa,oBAAA"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ "use client";import{T as e,_ as t,a as n,b as r,c as i,d as a,f as o,i as s,k as c,l,n as u,o as d,r as f,s as p,t as m,v as h,w as g}from"./utils-BwEuAiEd.js";import{n as _}from"./colors-BbPSDR1X.js";import{Dn as v,En as y,Jt as b,Tn as x,n as S,wn as C}from"./AuthModal-B38pWD3T.js";import{T as w,b as T,w as E}from"./src-BH-TT0Mt.js";const D=`0.2.0`;export{D as ADVANCED_API_VERSION,m as COLUMN_HEIGHT,C as DIM_FILTER,x as EXPLORE_MIN_ZOOM,y as FIT_VIEW_PADDING,v as LEGIBLE_MIN_ZOOM,b as LineageCanvas,T as NodeView,u as buildLineageGraph,_ as colors,f as getNeighborSet,s as intersect,a as isLineageGraphColumnNode,o as isLineageGraphNode,E as layout,n as layoutWithDagre,d as selectDownstream,p as selectUpstream,w as toReactFlow,i as toReactFlowBasic,l as union,r as useIdleTimeout,t as useLineageGraphContext,c as useRecceActionContext,g as useRecceInstanceContext,e as useRecceInstanceInfo,h as useRunsAggregated,S as useThemeColors};
3
+ //# sourceMappingURL=advanced.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced.js","names":[],"sources":["../src/advanced.ts"],"sourcesContent":["// @datarecce/ui/advanced - Lower-level components for custom composition\n// These exports may change between minor versions\n\n\"use client\";\n\n/**\n * Version marker for the advanced surface.\n */\nexport const ADVANCED_API_VERSION = \"0.2.0\";\n\n// =============================================================================\n// LINEAGE UTILITIES\n// =============================================================================\n// NOTE: Lineage types canonical in @datarecce/ui/types\n// NOTE: Lineage utilities canonical in @datarecce/ui/contexts\n\n/**\n * Lineage graph types for advanced consumers.\n * @deprecated Import from @datarecce/ui/types instead\n */\nexport type {\n EnvInfo,\n LineageGraph,\n LineageGraphColumnNode,\n LineageGraphEdge,\n LineageGraphNode,\n LineageGraphNodes,\n} from \"./contexts/lineage/types\";\n/**\n * Lineage graph type guards.\n * @deprecated Import from @datarecce/ui/contexts instead\n */\nexport {\n isLineageGraphColumnNode,\n isLineageGraphNode,\n} from \"./contexts/lineage/types\";\n/**\n * Graph building and layout utilities.\n * @deprecated Import from @datarecce/ui/contexts instead\n */\nexport {\n buildLineageGraph,\n COLUMN_HEIGHT,\n getNeighborSet,\n intersect,\n layoutWithDagre,\n type NodeColumnSetMap,\n selectDownstream,\n selectUpstream,\n toReactFlowBasic,\n union,\n} from \"./contexts/lineage/utils\";\n\n// =============================================================================\n// LINEAGE CANVAS\n// =============================================================================\n\n/**\n * Zoom and display constants for the lineage view.\n *\n * @remarks\n * Use with LineageCanvas fitViewOptions to match production behavior.\n */\nexport {\n DIM_FILTER,\n EXPLORE_MIN_ZOOM,\n FIT_VIEW_PADDING,\n LEGIBLE_MIN_ZOOM,\n} from \"./components/lineage/config/zoomConstants\";\n/**\n * Low-level lineage canvas component for custom graph rendering.\n *\n * @remarks\n * Exports: LineageCanvas, LineageCanvasProps.\n */\nexport {\n LineageCanvas,\n type LineageCanvasProps,\n} from \"./components/lineage/LineageCanvas\";\n\n/**\n * OSS-specific toReactFlow with Column-Level Lineage (CLL) support.\n *\n * Converts a LineageGraph to React Flow nodes and edges, including\n * column nodes when CLL data is provided.\n *\n * @example\n * ```tsx\n * import { toReactFlow } from '@datarecce/ui/advanced';\n *\n * const [nodes, edges, columnSetMap] = toReactFlow(lineageGraph, {\n * cll: columnLineageData,\n * });\n * ```\n */\nexport { layout, toReactFlow } from \"./components/lineage/lineage\";\n\n/**\n * Node detail panel with Columns and Code tabs.\n */\nexport {\n NodeView,\n type NodeViewNodeData,\n type NodeViewProps,\n type SchemaViewProps,\n} from \"./components/lineage/NodeView\";\n\n// =============================================================================\n// CONTEXT HOOKS\n// =============================================================================\n// NOTE: Context hooks canonical in @datarecce/ui/contexts\n// NOTE: Context types canonical in @datarecce/ui/types\n\n/**\n * Recce action context hooks and types.\n * @deprecated Import from @datarecce/ui/contexts instead\n */\nexport {\n type RecceActionContextType,\n useRecceActionContext,\n} from \"./contexts/action\";\n/**\n * Idle timeout context hooks and types.\n * @deprecated Import from @datarecce/ui/contexts instead\n */\nexport {\n type IdleTimeoutContextType,\n useIdleTimeout,\n} from \"./contexts/idle\";\n/**\n * Recce instance context hooks and types.\n * @deprecated Import from @datarecce/ui/contexts instead\n */\nexport {\n type InstanceInfoType,\n useRecceInstanceContext,\n useRecceInstanceInfo,\n} from \"./contexts/instance\";\n/**\n * Lineage context hooks for direct access.\n * @deprecated Import from @datarecce/ui/contexts instead\n */\nexport {\n useLineageGraphContext,\n useRunsAggregated,\n} from \"./contexts/lineage\";\n\n// =============================================================================\n// THEME UTILITIES\n// =============================================================================\n\n/**\n * Theme color hook for advanced consumers.\n *\n * @remarks\n * Exports: useThemeColors.\n */\nexport { useThemeColors } from \"./hooks/useThemeColors\";\n\n/**\n * Theme color palette exports.\n * @deprecated Import from @datarecce/ui/theme instead\n * @deprecated Types (ColorShade, SemanticColorVariant) canonical in @datarecce/ui/types\n */\nexport {\n type ColorShade,\n colors,\n type SemanticColorVariant,\n} from \"./theme/colors\";\n"],"mappings":";iVAQA,MAAa,EAAuB"}
@@ -0,0 +1,254 @@
1
+
2
+ import { t as ApiClient } from "./fetchClient-CTnJ39EA.js";
3
+ import { et as RowCountDiff, l as Check, nt as RowCountDiffResult } from "./instanceInfo-DNLFhkK8.js";
4
+
5
+ //#region src/api/cacheKeys.d.ts
6
+ /**
7
+ * Cache keys for TanStack Query.
8
+ * Provides consistent query keys for API caching.
9
+ */
10
+ declare const cacheKeys: {
11
+ rowCount: (model: string) => string[];
12
+ lineage: () => string[];
13
+ checks: () => string[];
14
+ check: (checkId: string) => string[];
15
+ checkEvents: (checkId: string) => string[];
16
+ runs: () => string[];
17
+ run: (runId: string) => string[];
18
+ runsAggregated: () => string[];
19
+ flag: () => string[];
20
+ instanceInfo: () => string[];
21
+ user: () => string[];
22
+ };
23
+ //#endregion
24
+ //#region src/api/checkEvents.d.ts
25
+ type CheckEventType = "check_created" | "comment" | "approval_change" | "description_change" | "name_change" | "preset_applied";
26
+ type ActorType = "user" | "recce_ai" | "preset_system";
27
+ interface CheckEventActor {
28
+ type: ActorType;
29
+ user_id: number | null;
30
+ login: string | null;
31
+ fullname: string | null;
32
+ }
33
+ interface CheckEvent {
34
+ id: string;
35
+ check_id: string;
36
+ event_type: CheckEventType;
37
+ actor: CheckEventActor;
38
+ content: string | null;
39
+ old_value: string | null;
40
+ new_value: string | null;
41
+ is_edited: boolean;
42
+ is_deleted: boolean;
43
+ created_at: string;
44
+ updated_at: string;
45
+ }
46
+ interface CreateCommentRequest {
47
+ content: string;
48
+ }
49
+ interface UpdateCommentRequest {
50
+ content: string;
51
+ }
52
+ interface CheckEventsListResponse {
53
+ events: CheckEvent[];
54
+ }
55
+ /**
56
+ * List all events for a check in chronological order.
57
+ *
58
+ * @param checkId - The check ID
59
+ * @param client - Axios instance for API configuration
60
+ * @returns Promise resolving to array of CheckEvent objects
61
+ */
62
+ declare function listCheckEvents(checkId: string, client: ApiClient): Promise<CheckEvent[]>;
63
+ /**
64
+ * Get a specific event by ID.
65
+ *
66
+ * @param checkId - The check ID
67
+ * @param eventId - The event ID
68
+ * @param client - Axios instance for API configuration
69
+ * @returns Promise resolving to a CheckEvent object
70
+ */
71
+ declare function getCheckEvent(checkId: string, eventId: string, client: ApiClient): Promise<CheckEvent>;
72
+ /**
73
+ * Create a new comment on a check.
74
+ *
75
+ * @param checkId - The check ID
76
+ * @param content - The comment content (plain text for now, markdown later)
77
+ * @param client - Axios instance for API configuration
78
+ * @returns Promise resolving to the created CheckEvent
79
+ */
80
+ declare function createComment(checkId: string, content: string, client: ApiClient): Promise<CheckEvent>;
81
+ /**
82
+ * Update an existing comment.
83
+ * Only the author or an admin can update a comment.
84
+ *
85
+ * @param checkId - The check ID
86
+ * @param eventId - The event ID of the comment to update
87
+ * @param content - The new comment content
88
+ * @param client - Axios instance for API configuration
89
+ * @returns Promise resolving to the updated CheckEvent
90
+ */
91
+ declare function updateComment(checkId: string, eventId: string, content: string, client: ApiClient): Promise<CheckEvent>;
92
+ /**
93
+ * Delete a comment (soft delete).
94
+ * Only the author or an admin can delete a comment.
95
+ *
96
+ * @param checkId - The check ID
97
+ * @param eventId - The event ID of the comment to delete
98
+ * @param client - Axios instance for API configuration
99
+ * @returns Promise resolving when deletion is complete
100
+ */
101
+ declare function deleteComment(checkId: string, eventId: string, client: ApiClient): Promise<void>;
102
+ declare function isCommentEvent(event: CheckEvent): boolean;
103
+ declare function isStateChangeEvent(event: CheckEvent): boolean;
104
+ declare function isSystemEvent(event: CheckEvent): boolean;
105
+ /**
106
+ * Get a human-readable description of an event for display.
107
+ */
108
+ declare function getEventDescription(event: CheckEvent): string;
109
+ /**
110
+ * Get the appropriate icon name for an event type.
111
+ * Returns a string that can be used with react-icons.
112
+ */
113
+ declare function getEventIconType(event: CheckEvent): "comment" | "approve" | "unapprove" | "edit" | "create" | "preset";
114
+ //#endregion
115
+ //#region src/api/keepAlive.d.ts
116
+ /** Callback to notify listeners when keep-alive is successfully sent */
117
+ type KeepAliveCallback = (timestamp: number) => void;
118
+ /**
119
+ * Register a callback to be notified when keep-alive is successfully sent
120
+ * Used by IdleTimeoutContext to track server sync time
121
+ */
122
+ declare function setKeepAliveCallback(callback: KeepAliveCallback | null): void;
123
+ /**
124
+ * Send a keep-alive signal to the server to reset the idle timeout timer.
125
+ * This prevents the server from shutting down due to inactivity.
126
+ *
127
+ * Includes built-in throttling at the API layer:
128
+ * - Minimum 3 seconds between API calls
129
+ * - Prevents concurrent API calls with a lock
130
+ *
131
+ * @param client - API client instance (required)
132
+ * @returns true if keep-alive was sent, false if throttled/skipped
133
+ */
134
+ declare function sendKeepAlive(client: ApiClient): Promise<boolean>;
135
+ /**
136
+ * Get the last successful keep-alive timestamp
137
+ * This represents the last time the server confirmed it received our keep-alive
138
+ */
139
+ declare function getLastKeepAliveTime(): number;
140
+ /**
141
+ * Reset all module state (for testing purposes)
142
+ */
143
+ declare function resetKeepAliveState(): void;
144
+ //#endregion
145
+ //#region src/api/models.d.ts
146
+ interface QueryRowCountResult {
147
+ runId: string;
148
+ result: RowCountDiffResult;
149
+ }
150
+ /**
151
+ * Fetch model row count from the API (cached value).
152
+ * @param modelName - The name of the model
153
+ * @param client - Required API client instance
154
+ * @returns The row count diff for the model
155
+ */
156
+ declare function fetchModelRowCount(modelName: string, client: ApiClient): Promise<RowCountDiff>;
157
+ /**
158
+ * Query model row count by executing a row count diff run.
159
+ * @param modelName - The name of the model
160
+ * @param client - Required API client instance
161
+ * @returns The row count diff for the model
162
+ */
163
+ declare function queryModelRowCount(modelName: string, client: ApiClient): Promise<RowCountDiff>;
164
+ /**
165
+ * Query row counts for multiple models.
166
+ * @param modelNames - Array of model names to query
167
+ * @param client - Required API client instance
168
+ * @returns The run ID and row count diff results for all models
169
+ */
170
+ declare function queryRowCount(modelNames: string[], client: ApiClient): Promise<QueryRowCountResult>;
171
+ //#endregion
172
+ //#region src/api/schemacheck.d.ts
173
+ interface SchemaDiffViewParams {
174
+ node_id?: string | string[];
175
+ select?: string;
176
+ exclude?: string;
177
+ view_mode?: "all" | "changed_models";
178
+ packages?: string[];
179
+ }
180
+ /**
181
+ * Create a schema diff check.
182
+ *
183
+ * @param params - Schema diff parameters
184
+ * @param client - Axios instance for API configuration
185
+ * @returns Promise resolving to the created check
186
+ */
187
+ declare function createSchemaDiffCheck(params: SchemaDiffViewParams, client: ApiClient): Promise<Check>;
188
+ //#endregion
189
+ //#region src/api/select.d.ts
190
+ interface SelectInput {
191
+ select?: string;
192
+ exclude?: string;
193
+ packages?: string[];
194
+ view_mode?: "all" | "changed_models";
195
+ }
196
+ interface SelectOutput {
197
+ nodes: string[];
198
+ }
199
+ declare function select(input: SelectInput, client: ApiClient): Promise<SelectOutput>;
200
+ //#endregion
201
+ //#region src/api/state.d.ts
202
+ interface SaveAsInput {
203
+ filename: string;
204
+ overwrite?: boolean;
205
+ }
206
+ interface ImportedState {
207
+ runs: number;
208
+ checks: number;
209
+ }
210
+ declare function saveAs(input: SaveAsInput, client: ApiClient): Promise<void>;
211
+ declare function rename(input: SaveAsInput, client: ApiClient): Promise<void>;
212
+ declare function exportState(client: ApiClient): Promise<string>;
213
+ declare function importState(file: File, checksOnly: boolean | undefined, client: ApiClient): Promise<ImportedState>;
214
+ declare function isStateSyncing(client: ApiClient): Promise<boolean>;
215
+ interface SyncStateInput {
216
+ method?: "overwrite" | "revert" | "merge";
217
+ }
218
+ interface SyncStateResponse {
219
+ status: "accepted" | "conflict" | "syncing";
220
+ }
221
+ declare function syncState(input: SyncStateInput, client: ApiClient): Promise<SyncStateResponse>;
222
+ interface ShareStateResponse {
223
+ status: string;
224
+ message: string;
225
+ share_url?: string;
226
+ }
227
+ declare function shareState(client: ApiClient): Promise<ShareStateResponse>;
228
+ //#endregion
229
+ //#region src/api/storageKeys.d.ts
230
+ declare const LOCAL_STORAGE_KEYS: {
231
+ bypassSaveOverwrite: string;
232
+ previewChangeFeedbackID: string;
233
+ prepareEnvGuideID: string;
234
+ };
235
+ declare const SESSION_STORAGE_KEYS: {
236
+ recommendationIgnored: string;
237
+ recommendationShowed: string;
238
+ prevRefreshTimeStamp: string;
239
+ lineageNotificationDismissed: string;
240
+ };
241
+ //#endregion
242
+ //#region src/api/version.d.ts
243
+ interface VersionResponse {
244
+ version: string;
245
+ latestVersion: string;
246
+ }
247
+ declare function getVersion(client: ApiClient): Promise<VersionResponse>;
248
+ declare function useVersionNumber(): {
249
+ version: string;
250
+ latestVersion: string;
251
+ };
252
+ //#endregion
253
+ export { setKeepAliveCallback as A, getCheckEvent as B, QueryRowCountResult as C, getLastKeepAliveTime as D, queryRowCount as E, CheckEventsListResponse as F, isSystemEvent as G, getEventIconType as H, CreateCommentRequest as I, cacheKeys as J, listCheckEvents as K, UpdateCommentRequest as L, CheckEvent as M, CheckEventActor as N, resetKeepAliveState as O, CheckEventType as P, createComment as R, createSchemaDiffCheck as S, queryModelRowCount as T, isCommentEvent as U, getEventDescription as V, isStateChangeEvent as W, syncState as _, SESSION_STORAGE_KEYS as a, select as b, ShareStateResponse as c, exportState as d, importState as f, shareState as g, saveAs as h, LOCAL_STORAGE_KEYS as i, ActorType as j, sendKeepAlive as k, SyncStateInput as l, rename as m, getVersion as n, ImportedState as o, isStateSyncing as p, updateComment as q, useVersionNumber as r, SaveAsInput as s, VersionResponse as t, SyncStateResponse as u, SelectInput as v, fetchModelRowCount as w, SchemaDiffViewParams as x, SelectOutput as y, deleteComment as z };
254
+ //# sourceMappingURL=api-BwiRz6pD.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-BwiRz6pD.d.ts","names":[],"sources":["../src/api/cacheKeys.ts","../src/api/checkEvents.ts","../src/api/keepAlive.ts","../src/api/models.ts","../src/api/schemacheck.ts","../src/api/select.ts","../src/api/state.ts","../src/api/storageKeys.ts","../src/api/version.ts"],"mappings":";;;;;;;;;cAMa,SAAA;;;;;;;;;;;;;;;KCUD,cAAA;AAAA,KAQA,SAAA;AAAA,UAMK,eAAA;EACf,IAAA,EAAM,SAAA;EACN,OAAA;EACA,KAAA;EACA,QAAA;AAAA;AAAA,UAOe,UAAA;EACf,EAAA;EACA,QAAA;EACA,UAAA,EAAY,cAAA;EACZ,KAAA,EAAO,eAAA;EACP,OAAA;EACA,SAAA;EACA,SAAA;EACA,SAAA;EACA,UAAA;EACA,UAAA;EACA,UAAA;AAAA;AAAA,UAOe,oBAAA;EACf,OAAA;AAAA;AAAA,UAGe,oBAAA;EACf,OAAA;AAAA;AAAA,UAGe,uBAAA;EACf,MAAA,EAAQ,UAAA;AAAA;;;;;;;;iBAcY,eAAA,CACpB,OAAA,UACA,MAAA,EAAQ,SAAA,GACP,OAAA,CAAQ,UAAA;;AA5CX;;;;;;;iBA2DsB,aAAA,CACpB,OAAA,UACA,OAAA,UACA,MAAA,EAAQ,SAAA,GACP,OAAA,CAAQ,UAAA;;;;;;;;;iBAeW,aAAA,CACpB,OAAA,UACA,OAAA,UACA,MAAA,EAAQ,SAAA,GACP,OAAA,CAAQ,UAAA;;;AAhEX;;;;;AAIA;;;iBA8EsB,aAAA,CACpB,OAAA,UACA,OAAA,UACA,OAAA,UACA,MAAA,EAAQ,SAAA,GACP,OAAA,CAAQ,UAAA;;AA/EX;;;;;AAeA;;;iBAiFsB,aAAA,CACpB,OAAA,UACA,OAAA,UACA,MAAA,EAAQ,SAAA,GACP,OAAA;AAAA,iBAQa,cAAA,CAAe,KAAA,EAAO,UAAA;AAAA,iBAItB,kBAAA,CAAmB,KAAA,EAAO,UAAA;AAAA,iBAQ1B,aAAA,CAAc,KAAA,EAAO,UAAA;;;;iBAc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AAA,EAAQ,SAAA,GAAY,OAAA;AAAA,iBAShC,WAAA,CACpB,IAAA,EAAM,IAAA,EACN,UAAA,uBACA,MAAA,EAAQ,SAAA,GACP,OAAA,CAAQ,aAAA;AAAA,iBAaW,cAAA,CAAe,MAAA,EAAQ,SAAA,GAAY,OAAA;AAAA,UAKxC,cAAA;EACf,MAAA;AAAA;AAAA,UAGe,iBAAA;EACf,MAAA;AAAA;AAAA,iBAGoB,SAAA,CACpB,KAAA,EAAO,cAAA,EACP,MAAA,EAAQ,SAAA,GACP,OAAA,CAAQ,iBAAA;AAAA,UA4BM,kBAAA;EACf,MAAA;EACA,OAAA;EACA,SAAA;AAAA;AAAA,iBAGoB,UAAA,CACpB,MAAA,EAAQ,SAAA,GACP,OAAA,CAAQ,kBAAA;;;cC3GE,kBAAA;;;;;cAQA,oBAAA;;;;;;;;UCAI,eAAA;EACf,OAAA;EACA,aAAA;AAAA;AAAA,iBAGoB,UAAA,CAAW,MAAA,EAAQ,SAAA,GAAY,OAAA,CAAQ,eAAA;AAAA,iBAO7C,gBAAA,CAAA;EAAgB,OAAA;EAAA,aAAA;AAAA"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{d as e,f as t}from"./keepAlive-Dj0q3fC9.js";import{n,r}from"./fetchClient-Bqjx8inP.js";import{useQuery as i}from"@tanstack/react-query";import{useEffect as a,useState as o}from"react";function s(e){return e.type===`simple`}function c(e){return e.type===`sandbox`}function l(e){return e.type===`query`}function u(e){return e.type===`query_base`}function d(e){return e.type===`query_diff`}function ee(e){return e.type===`value_diff`}function te(e){return e.type===`value_diff_detail`}function ne(e){return e.type===`schema_diff`}function re(e){return e.type===`profile`}function ie(e){return e.type===`profile_diff`}function ae(e){return e.type===`row_count`}function f(e){return e.type===`row_count_diff`}function p(e){return e.type===`lineage_diff`}function m(e){return e.type===`top_k_diff`}function h(e){return e.type===`histogram_diff`}const g=[`simple`,`sandbox`,`query`,`query_base`,`query_diff`,`value_diff`,`value_diff_detail`,`schema_diff`,`profile`,`profile_diff`,`row_count`,`row_count_diff`,`lineage_diff`,`top_k_diff`,`histogram_diff`];function _(e){return g.includes(e)}const v=[`query`,`query_base`,`query_diff`,`row_count`,`row_count_diff`,`profile`,`profile_diff`,`value_diff`,`value_diff_detail`,`top_k_diff`,`histogram_diff`];function y(e){return v.includes(e)}async function b(e,t,n,r){let i=n?.trackProps?{...n.trackProps}:{};return(await r.post(`/api/runs`,{type:e,params:t,nowait:n?.nowait,track_props:i})).data}async function x(e,t){return(await t.get(`/api/runs/${e}`)).data}async function S(e,t,n){return O((await n.get(`/api/runs/${e}/wait`,{params:{timeout:t}})).data)}async function C(e,t){await t.post(`/api/runs/${e}/cancel`)}async function w(e,t,n){return(await n.post(`/api/checks/${e}/run`,{nowait:t?.nowait})).data}async function T(e,t,n,r){return(await r.post(`/api/runs/search`,{type:e,params:t,limit:n})).data}async function E(e){return(await e.get(`/api/runs`)).data}async function D(e){return(await e.post(`/api/runs/aggregate`,{})).data}function O(e){if(e.result==null)return e;if(l(e)&&e.result){let t=e.result;t.columns&&=t.columns.map(e=>e.key?e:{...e,key:e.name})}return e}async function k(e,t,n){return await b(`query`,e,t,n)}async function A(e,t,n){return await b(`query_base`,e,t,n)}async function j(e,t,n){return await b(`query_diff`,e,t,n)}async function M(e,t){return(await t.get(`/api/checks/${e}/events`)).data}async function N(e,t,n){return(await n.get(`/api/checks/${e}/events/${t}`)).data}async function P(e,t,n){return(await n.post(`/api/checks/${e}/events`,{content:t})).data}async function F(e,t,n,r){return(await r.patch(`/api/checks/${e}/events/${t}`,{content:n})).data}async function I(e,t,n){await n.delete(`/api/checks/${e}/events/${t}`)}function L(e){return e.event_type===`comment`}function R(e){return e.event_type===`approval_change`||e.event_type===`description_change`||e.event_type===`name_change`}function z(e){return e.event_type===`check_created`||e.event_type===`preset_applied`}function B(e){let t=e.actor.fullname||e.actor.login||`Someone`;switch(e.event_type){case`check_created`:return`${t} created this check`;case`comment`:return e.is_deleted?`Comment deleted`:e.content||``;case`approval_change`:return e.new_value===`true`?`${t} approved this check`:`${t} unapproved this check`;case`description_change`:return`${t} updated the description`;case`name_change`:return`${t} renamed this check`;case`preset_applied`:return`${t} applied a preset`;default:return`${t} made a change`}}function V(e){switch(e.event_type){case`check_created`:return`create`;case`comment`:return`comment`;case`approval_change`:return e.new_value===`true`?`approve`:`unapprove`;case`description_change`:case`name_change`:return`edit`;case`preset_applied`:return`preset`;default:return`edit`}}const H=n({baseURL:``});async function U(e){return(await e.post(`/api/checks`,{type:`simple`})).data}async function W(e,t,n){return(await n.post(`/api/checks`,{run_id:e,view_options:t})).data}async function G(e){return(await e.get(`/api/checks`)).data}async function K(e,t){return(await t.get(`/api/checks/${e}`)).data}async function q(e,t,n){return(await n.patch(`/api/checks/${e}`,t)).data}async function oe(e,t){return(await t.delete(`/api/checks/${e}`)).data}async function se(e,t){await t.post(`/api/checks/reorder`,e)}async function ce(e,t){await t.post(`/api/checks/${e}/mark-as-preset`)}function le(n){let r=e()?.apiClient??H;return i({queryKey:t.checks(),queryFn:()=>G(r),enabled:n})}async function ue(e,t){return(await t.post(`/api/cll`,e)).data}async function de(e){return(await e.get(`/api/info`)).data}async function fe(e,t){return(await t.get(`/api/model/${e}`)).data}async function pe(e,t){return(await t.post(`/api/checks`,{type:`lineage_diff`,params:{},view_options:e})).data}async function J(e,t,n){return await b(`row_count_diff`,e,t,n)}async function me(e,t){return(await t.get(`/api/models/${e}/row_count`)).data}async function he(e,t){let{result:n}=await Y([e],t);return n[e]}async function Y(e,t){if(e.length===0)throw Error(`No model names provided`);let{run_id:n}=await J({node_names:e},{nowait:!0},t);return{runId:n,result:(await S(n,void 0,t)).result}}async function ge(e,t,n){return await b(`profile_diff`,e,t,n)}async function _e(e,t){return(await t.post(`/api/checks`,{type:`schema_diff`,params:e})).data}async function ve(e,t){return(await t.post(`/api/select`,e)).data}async function ye(e,t){return(await t.post(`/api/save-as`,e)).data}async function be(e,t){return(await t.post(`/api/rename`,e)).data}async function xe(e){return(await e.post(`/api/export`)).data}async function Se(e,t,n){let r=new FormData;return r.append(`file`,e),r.append(`checks_only`,(!!t).toString()),(await n.post(`/api/import`,r)).data}async function Ce(e){return(await e.get(`/api/sync`)).status===208}async function X(e,t){try{let n=await t.post(`/api/sync`,e);if(n.status===202)return{status:`accepted`};if(n.status===208)return{status:`syncing`}}catch(e){if(r(e)&&e.status===409)return{status:`conflict`}}throw Error(`Failed to sync state`)}async function we(e){return(await e.post(`/api/share`)).data}const Z=`recce-`,Te={bypassSaveOverwrite:`${Z}-bypass-save-overwrite`,previewChangeFeedbackID:`${Z}-preview-change-feedback`,prepareEnvGuideID:`${Z}-prepare-env`},Q=`recce`,Ee={recommendationIgnored:`${Q}-recommendation-ignored`,recommendationShowed:`${Q}-recommendation-showed`,prevRefreshTimeStamp:`${Q}-prev-refresh-timestamp`,lineageNotificationDismissed:`${Q}-lineage-notification-dismissed`};async function De(e,t,n){return await b(`value_diff`,e,t,n)}async function Oe(e,t,n){return await b(`value_diff_detail`,e,t,n)}const ke=n({baseURL:``});async function $(e){return(await e.get(`/api/version`)).data}function Ae(){let[t,n]=o(``),[r,i]=o(``),s=e()?.apiClient??ke;return a(()=>{async function e(){try{let{version:e,latestVersion:t}=await $(s);n(e),i(t)}catch(e){console.error(`Error fetching version number:`,e)}}e()},[s]),{version:t,latestVersion:r}}export{w as $,ce as A,R as B,de as C,oe as D,U as E,I as F,A as G,M as H,N as I,C as J,j as K,B as L,q as M,le as N,K as O,P,b as Q,V as R,fe as S,W as T,F as U,z as V,k as W,E as X,x as Y,T as Z,me as _,ee as _t,Te as a,re as at,J as b,Se as c,l as ct,ye as d,c as dt,S as et,we as f,ne as ft,ge as g,te as gt,_e as h,_ as ht,Oe as i,ie as it,se as j,G as k,Ce as l,f as lt,ve as m,m as mt,Ae as n,h as nt,Ee as o,u as ot,X as p,s as pt,D as q,De as r,p as rt,xe as s,d as st,$ as t,g as tt,be as u,ae as ut,he as v,y as vt,ue as w,pe as x,Y as y,L as z};
3
+ //# sourceMappingURL=api-CbzeUNef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-CbzeUNef.js","names":["defaultApiClient"],"sources":["../src/api/types/run.ts","../src/api/runs.ts","../src/api/adhocQuery.ts","../src/api/checkEvents.ts","../src/api/checks.ts","../src/api/cll.ts","../src/api/info.ts","../src/api/lineagecheck.ts","../src/api/rowcount.ts","../src/api/models.ts","../src/api/profile.ts","../src/api/schemacheck.ts","../src/api/select.ts","../src/api/state.ts","../src/api/storageKeys.ts","../src/api/valuediff.ts","../src/api/version.ts"],"sourcesContent":["// packages/ui/src/api/types/run.ts\n// Run types for @datarecce/ui API layer\n// These types define the structure of run objects and their variants\n\nimport type {\n QueryDiffParams,\n QueryDiffResult,\n QueryResult,\n QueryRunParams,\n} from \"../adhocQuery\";\nimport type { LineageDiffResult } from \"../info\";\n// Import param/result types from API modules\nimport type {\n HistogramDiffParams,\n HistogramDiffResult,\n ProfileDiffParams,\n ProfileDiffResult,\n TopKDiffParams,\n TopKDiffResult,\n} from \"../profile\";\nimport type {\n RowCountDiffParams,\n RowCountDiffResult,\n RowCountParams,\n RowCountResult,\n} from \"../rowcount\";\nimport type {\n ValueDiffDetailParams,\n ValueDiffDetailResult,\n ValueDiffParams,\n ValueDiffResult,\n} from \"../valuediff\";\n\n// ============================================================================\n// Run Type Enum\n// ============================================================================\n\n/**\n * All possible run types in the Recce system.\n * This is the canonical definition - consumers should import from here.\n */\nexport type RunType =\n | \"simple\"\n | \"sandbox\"\n | \"query\"\n | \"query_base\"\n | \"query_diff\"\n | \"value_diff\"\n | \"value_diff_detail\"\n | \"schema_diff\"\n | \"profile\"\n | \"profile_diff\"\n | \"row_count\"\n | \"row_count_diff\"\n | \"lineage_diff\"\n | \"top_k_diff\"\n | \"histogram_diff\";\n\n// ============================================================================\n// Run Status Types\n// ============================================================================\n\n/**\n * Possible status values for a run\n */\nexport type RunStatus = \"Finished\" | \"Failed\" | \"Cancelled\" | \"Running\";\n\n/**\n * Progress information for a running task\n */\nexport interface RunProgress {\n message?: string;\n percentage?: number;\n}\n\n// ============================================================================\n// Base Run Interface\n// ============================================================================\n\n/**\n * Base interface for all run objects.\n * All run variants extend this interface with specific params and results.\n */\nexport interface BaseRun {\n /** The type of run - determines params/result structure */\n type: RunType;\n /** Unique identifier for this run */\n run_id: string;\n /** ISO timestamp when the run was executed */\n run_at: string;\n /** Optional human-readable name for the run */\n name?: string;\n /** ID of the check this run belongs to, if any */\n check_id?: string;\n /** Progress information for running tasks */\n progress?: RunProgress;\n /** Error message if the run failed */\n error?: string;\n /** Current status of the run */\n status?: RunStatus;\n /** Who triggered this run: \"user\" | \"recce_ai\" */\n triggered_by?: string;\n}\n\n// ============================================================================\n// Run Param Types (without external dependencies)\n// ============================================================================\n\n/**\n * Schema diff params - used by schema_diff runs\n * Compares schema between base and current environments\n */\nexport interface SchemaDiffParams {\n /** Node ID(s) to compare - can be single or multiple */\n node_id?: string | string[];\n /** dbt select syntax for filtering nodes */\n select?: string;\n /** dbt exclude syntax for filtering nodes */\n exclude?: string;\n /** Package names to include */\n packages?: string[];\n /** View mode - show all models or only changed ones */\n view_mode?: \"all\" | \"changed_models\";\n}\n\n/**\n * Lineage diff params - used by lineage_diff runs\n * Compares lineage graph between base and current environments\n */\nexport interface LineageDiffParams {\n /** dbt select syntax for filtering nodes */\n select?: string;\n /** dbt exclude syntax for filtering nodes */\n exclude?: string;\n /** Package names to include */\n packages?: string[];\n /** View mode - show all models or only changed ones */\n view_mode?: \"all\" | \"changed_models\";\n}\n\n// ============================================================================\n// Run Param Types - Union of all possible run parameters\n// ============================================================================\n\n/**\n * Union of all possible run parameter types.\n * Use this when you need to accept any run params type.\n */\nexport type RunParamTypes =\n | QueryRunParams\n | QueryDiffParams\n | ValueDiffParams\n | ValueDiffDetailParams\n | SchemaDiffParams\n | ProfileDiffParams\n | RowCountParams\n | RowCountDiffParams\n | LineageDiffParams\n | TopKDiffParams\n | HistogramDiffParams\n | undefined;\n\n// ============================================================================\n// Run - Full Discriminated Union Type\n// ============================================================================\n\n/**\n * Run type with full discriminated union for type narrowing.\n * TypeScript can narrow params/result types based on the `type` field.\n *\n * Example:\n * ```ts\n * if (run.type === \"query_diff\") {\n * // TypeScript knows run.result is QueryDiffResult | undefined\n * console.log(run.result?.diff);\n * }\n * ```\n */\nexport type Run =\n | (BaseRun & {\n type: \"simple\";\n params?: undefined;\n result?: undefined;\n })\n | (BaseRun & {\n type: \"sandbox\";\n params?: undefined;\n result?: undefined;\n })\n | (BaseRun & {\n type: \"query\";\n params?: QueryRunParams;\n result?: QueryResult;\n })\n | (BaseRun & {\n type: \"query_base\";\n params?: QueryRunParams;\n result?: QueryResult;\n })\n | (BaseRun & {\n type: \"query_diff\";\n params?: QueryDiffParams;\n result?: QueryDiffResult;\n })\n | (BaseRun & {\n type: \"value_diff\";\n params?: ValueDiffParams;\n result?: ValueDiffResult;\n })\n | (BaseRun & {\n type: \"value_diff_detail\";\n params?: ValueDiffDetailParams;\n result?: ValueDiffDetailResult;\n })\n | (BaseRun & {\n type: \"schema_diff\";\n params?: SchemaDiffParams;\n result?: undefined;\n })\n | (BaseRun & {\n type: \"profile\";\n params?: ProfileDiffParams;\n result?: ProfileDiffResult;\n })\n | (BaseRun & {\n type: \"profile_diff\";\n params?: ProfileDiffParams;\n result?: ProfileDiffResult;\n })\n | (BaseRun & {\n type: \"row_count\";\n params?: RowCountParams;\n result?: RowCountResult;\n })\n | (BaseRun & {\n type: \"row_count_diff\";\n params?: RowCountDiffParams;\n result?: RowCountDiffResult;\n })\n | (BaseRun & {\n type: \"lineage_diff\";\n params?: LineageDiffParams;\n result?: LineageDiffResult;\n })\n | (BaseRun & {\n type: \"top_k_diff\";\n params?: TopKDiffParams;\n result?: TopKDiffResult;\n })\n | (BaseRun & {\n type: \"histogram_diff\";\n params?: HistogramDiffParams;\n result?: HistogramDiffResult;\n });\n\n// ============================================================================\n// Type Guards\n// ============================================================================\n\n/**\n * Type guard for simple runs\n */\nexport function isSimpleRun(run: Run): run is Run & { type: \"simple\" } {\n return run.type === \"simple\";\n}\n\n/**\n * Type guard for sandbox runs\n */\nexport function isSandboxRun(run: Run): run is Run & { type: \"sandbox\" } {\n return run.type === \"sandbox\";\n}\n\n/**\n * Type guard for query runs\n */\nexport function isQueryRun(run: Run): run is Run & { type: \"query\" } {\n return run.type === \"query\";\n}\n\n/**\n * Type guard for query_base runs\n */\nexport function isQueryBaseRun(run: Run): run is Run & { type: \"query_base\" } {\n return run.type === \"query_base\";\n}\n\n/**\n * Type guard for query_diff runs\n */\nexport function isQueryDiffRun(run: Run): run is Run & { type: \"query_diff\" } {\n return run.type === \"query_diff\";\n}\n\n/**\n * Type guard for value_diff runs\n */\nexport function isValueDiffRun(run: Run): run is Run & { type: \"value_diff\" } {\n return run.type === \"value_diff\";\n}\n\n/**\n * Type guard for value_diff_detail runs\n */\nexport function isValueDiffDetailRun(\n run: Run,\n): run is Run & { type: \"value_diff_detail\" } {\n return run.type === \"value_diff_detail\";\n}\n\n/**\n * Type guard for schema_diff runs\n */\nexport function isSchemaDiffRun(\n run: Run,\n): run is Run & { type: \"schema_diff\" } {\n return run.type === \"schema_diff\";\n}\n\n/**\n * Type guard for profile runs\n */\nexport function isProfileRun(run: Run): run is Run & { type: \"profile\" } {\n return run.type === \"profile\";\n}\n\n/**\n * Type guard for profile_diff runs\n */\nexport function isProfileDiffRun(\n run: Run,\n): run is Run & { type: \"profile_diff\" } {\n return run.type === \"profile_diff\";\n}\n\n/**\n * Type guard for row_count runs\n */\nexport function isRowCountRun(run: Run): run is Run & { type: \"row_count\" } {\n return run.type === \"row_count\";\n}\n\n/**\n * Type guard for row_count_diff runs\n */\nexport function isRowCountDiffRun(\n run: Run,\n): run is Run & { type: \"row_count_diff\" } {\n return run.type === \"row_count_diff\";\n}\n\n/**\n * Type guard for lineage_diff runs\n */\nexport function isLineageDiffRun(\n run: Run,\n): run is Run & { type: \"lineage_diff\" } {\n return run.type === \"lineage_diff\";\n}\n\n/**\n * Type guard for top_k_diff runs\n */\nexport function isTopKDiffRun(run: Run): run is Run & { type: \"top_k_diff\" } {\n return run.type === \"top_k_diff\";\n}\n\n/**\n * Type guard for histogram_diff runs\n */\nexport function isHistogramDiffRun(\n run: Run,\n): run is Run & { type: \"histogram_diff\" } {\n return run.type === \"histogram_diff\";\n}\n\n// ============================================================================\n// Utility Types\n// ============================================================================\n\n/**\n * Array of all run type values - useful for iteration and validation\n */\nexport const RUN_TYPES: readonly RunType[] = [\n \"simple\",\n \"sandbox\",\n \"query\",\n \"query_base\",\n \"query_diff\",\n \"value_diff\",\n \"value_diff_detail\",\n \"schema_diff\",\n \"profile\",\n \"profile_diff\",\n \"row_count\",\n \"row_count_diff\",\n \"lineage_diff\",\n \"top_k_diff\",\n \"histogram_diff\",\n] as const;\n\n/**\n * Check if a string is a valid RunType\n */\nexport function isValidRunType(value: string): value is RunType {\n return RUN_TYPES.includes(value as RunType);\n}\n\n/**\n * Run types that support screenshot/ref functionality.\n * These are run types that render a visual result view with forwardRef support.\n */\nconst RUN_TYPES_WITH_REF: readonly RunType[] = [\n \"query\",\n \"query_base\",\n \"query_diff\",\n \"row_count\",\n \"row_count_diff\",\n \"profile\",\n \"profile_diff\",\n \"value_diff\",\n \"value_diff_detail\",\n \"top_k_diff\",\n \"histogram_diff\",\n] as const;\n\n/**\n * Check if a run type supports ref forwarding (for screenshots).\n * Run types with refs can capture screenshots of their result views.\n */\nexport function runTypeHasRef(runType: RunType): boolean {\n return RUN_TYPES_WITH_REF.includes(runType);\n}\n","import type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\nimport { isQueryRun, type Run, type RunType } from \"./types\";\n\n// ============================================================================\n// Types\n// ============================================================================\n\n/**\n * Aggregated run results by model and run type\n */\nexport type RunsAggregated = Record<\n string,\n Record<\n \"row_count_diff\" | \"value_diff\" | \"row_count\",\n {\n run_id: string;\n result: unknown;\n }\n >\n>;\n\n/**\n * Properties for tracking run submissions (analytics)\n */\nexport interface SubmitRunTrackProps {\n breaking_change_analysis?: boolean;\n source?: \"lineage_model_node\" | \"lineage_column_node\";\n [key: string]: unknown;\n}\n\n/**\n * Options for submitting a run\n */\nexport interface SubmitOptions {\n nowait?: boolean;\n trackProps?: SubmitRunTrackProps;\n}\n\n// ============================================================================\n// Core Run API Functions\n// ============================================================================\n\n/**\n * Submit a new run of the specified type.\n * @param type - The type of run to execute\n * @param params - Parameters specific to the run type\n * @param options - Submission options (nowait, tracking)\n * @param client - Required API client instance (no default - library pattern)\n * @returns The created run, or just run_id if nowait is true\n */\nexport async function submitRun(\n type: RunType,\n params: unknown,\n options: SubmitOptions | undefined,\n client: ApiClient,\n): Promise<Run | Pick<Run, \"run_id\">> {\n const track_props = options?.trackProps ? { ...options.trackProps } : {};\n // NOTE: Removed getExperimentTrackingBreakingChangeEnabled() - OSS-specific\n\n const response = await client.post<\n unknown,\n ApiResponse<Run | Pick<Run, \"run_id\">>\n >(\"/api/runs\", {\n type,\n params,\n nowait: options?.nowait,\n track_props,\n });\n\n return response.data;\n}\n\n/**\n * Get a run by ID.\n * @param runId - The ID of the run to retrieve\n * @param client - Required API client instance\n * @returns The run object\n */\nexport async function getRun(runId: string, client: ApiClient): Promise<Run> {\n const response = await client.get<never, ApiResponse<Run>>(\n `/api/runs/${runId}`,\n );\n return response.data;\n}\n\n/**\n * Wait for a run to complete.\n * @param runId - The ID of the run to wait for\n * @param timeout - Optional timeout in seconds\n * @param client - Required API client instance\n * @returns The completed run object with result\n */\nexport async function waitRun(\n runId: string,\n timeout: number | undefined,\n client: ApiClient,\n): Promise<Run> {\n const response = await client.get<unknown, ApiResponse<Run>>(\n `/api/runs/${runId}/wait`,\n { params: { timeout } },\n );\n return mutateAddKey(response.data);\n}\n\n/**\n * Cancel a running run.\n * @param runId - The ID of the run to cancel\n * @param client - Required API client instance\n */\nexport async function cancelRun(\n runId: string,\n client: ApiClient,\n): Promise<void> {\n await client.post(`/api/runs/${runId}/cancel`);\n}\n\n/**\n * Submit a run from an existing check.\n * Re-runs the check with its stored parameters.\n * @param checkId - The ID of the check to run\n * @param options - Submission options (nowait)\n * @param client - Required API client instance\n * @returns The created run, or just run_id if nowait is true\n */\nexport async function submitRunFromCheck(\n checkId: string,\n options: SubmitOptions | undefined,\n client: ApiClient,\n): Promise<Run | Pick<Run, \"run_id\">> {\n const response = await client.post<\n unknown,\n ApiResponse<Run | Pick<Run, \"run_id\">>\n >(`/api/checks/${checkId}/run`, {\n nowait: options?.nowait,\n });\n return response.data;\n}\n\n/**\n * Search for runs matching criteria.\n * @param type - The run type to search for\n * @param params - Parameters to match against run params\n * @param limit - Maximum number of results to return\n * @param client - Required API client instance\n * @returns Array of matching runs\n */\nexport async function searchRuns(\n type: string,\n params: Record<string, unknown> | undefined,\n limit: number | undefined,\n client: ApiClient,\n): Promise<Run[]> {\n const response = await client.post<unknown, ApiResponse<Run[]>>(\n \"/api/runs/search\",\n { type, params, limit },\n );\n return response.data;\n}\n\n/**\n * List all runs.\n * @param client - Required API client instance\n * @returns Array of all runs\n */\nexport async function listRuns(client: ApiClient): Promise<Run[]> {\n const response = await client.get<never, ApiResponse<Run[]>>(\"/api/runs\");\n return response.data;\n}\n\n/**\n * Aggregate runs from API.\n * Returns run results grouped by model and run type.\n * @param client - Required API client instance\n * @returns Aggregated run results\n */\nexport async function aggregateRuns(\n client: ApiClient,\n): Promise<RunsAggregated> {\n const response = await client.post<unknown, ApiResponse<RunsAggregated>>(\n \"/api/runs/aggregate\",\n {},\n );\n return response.data;\n}\n\n// ============================================================================\n// Internal Helpers\n// ============================================================================\n\n/**\n * Internal helper to add key to query result columns.\n * Query results may have columns without a key property set.\n * This ensures all columns have a key for data grid rendering.\n */\nfunction mutateAddKey(run: Run): Run {\n if (run.result == null) {\n return run;\n }\n if (isQueryRun(run) && run.result) {\n // Type narrowing - run.result structure for query runs\n const result = run.result as {\n columns?: Array<{ key?: string; name: string }>;\n };\n if (result.columns) {\n result.columns = result.columns.map((c) => {\n if (c.key) return c;\n return { ...c, key: c.name };\n });\n }\n }\n return run;\n}\n","import type { ApiClient } from \"../lib/fetchClient\";\nimport { type SubmitOptions, submitRun } from \"./runs\";\nimport { type ColumnRenderMode, type DataFrame } from \"./types\";\n\n// ============================================================================\n// Query Types\n// ============================================================================\n\nexport interface QueryRunParams {\n sql_template: string;\n}\n\nexport type QueryResult = DataFrame;\n\nexport interface QueryViewOptions {\n pinned_columns?: string[];\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\n// ============================================================================\n// Query Diff Types\n// ============================================================================\n\nexport interface QueryDiffParams {\n sql_template: string;\n base_sql_template?: string;\n primary_keys?: string[];\n}\n\nexport interface QueryDiffResult {\n base?: DataFrame;\n current?: DataFrame;\n diff?: DataFrame;\n}\n\nexport interface QueryDiffViewOptions {\n changed_only?: boolean;\n primary_keys?: string[];\n pinned_columns?: string[];\n display_mode?: \"inline\" | \"side_by_side\";\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\n// ============================================================================\n// Preview Change Types\n// ============================================================================\n\nexport interface QueryPreviewChangeParams {\n current_model?: string;\n sql_template: string;\n primary_keys?: string[];\n}\n\nexport interface QueryParams\n extends QueryRunParams,\n QueryDiffParams,\n QueryPreviewChangeParams {}\n\n// ============================================================================\n// API Functions\n// ============================================================================\n\nexport async function submitQuery(\n params: QueryRunParams,\n options: SubmitOptions | undefined,\n client: ApiClient,\n) {\n return await submitRun(\"query\", params, options, client);\n}\n\nexport async function submitQueryBase(\n params: QueryRunParams,\n options: SubmitOptions | undefined,\n client: ApiClient,\n) {\n return await submitRun(\"query_base\", params, options, client);\n}\n\nexport async function submitQueryDiff(\n params: QueryDiffParams,\n options: SubmitOptions | undefined,\n client: ApiClient,\n) {\n return await submitRun(\"query_diff\", params, options, client);\n}\n","/**\n * Check Events API - Types and Client Functions\n *\n * Provides timeline/conversation functionality for Checks, enabling\n * GitHub PR-style discussions with comments and automatic tracking\n * of state changes.\n *\n * NOTE: This feature is only available when connected to Recce Cloud.\n */\n\nimport type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\n\n// ============================================================================\n// Event Types\n// ============================================================================\n\nexport type CheckEventType =\n | \"check_created\"\n | \"comment\"\n | \"approval_change\"\n | \"description_change\"\n | \"name_change\"\n | \"preset_applied\";\n\nexport type ActorType = \"user\" | \"recce_ai\" | \"preset_system\";\n\n// ============================================================================\n// Actor Interface\n// ============================================================================\n\nexport interface CheckEventActor {\n type: ActorType;\n user_id: number | null;\n login: string | null;\n fullname: string | null;\n}\n\n// ============================================================================\n// Check Event Interface\n// ============================================================================\n\nexport interface CheckEvent {\n id: string;\n check_id: string;\n event_type: CheckEventType;\n actor: CheckEventActor;\n content: string | null;\n old_value: string | null;\n new_value: string | null;\n is_edited: boolean;\n is_deleted: boolean;\n created_at: string;\n updated_at: string;\n}\n\n// ============================================================================\n// Request/Response Types\n// ============================================================================\n\nexport interface CreateCommentRequest {\n content: string;\n}\n\nexport interface UpdateCommentRequest {\n content: string;\n}\n\nexport interface CheckEventsListResponse {\n events: CheckEvent[];\n}\n\n// ============================================================================\n// API Client Functions\n// ============================================================================\n\n/**\n * List all events for a check in chronological order.\n *\n * @param checkId - The check ID\n * @param client - Axios instance for API configuration\n * @returns Promise resolving to array of CheckEvent objects\n */\nexport async function listCheckEvents(\n checkId: string,\n client: ApiClient,\n): Promise<CheckEvent[]> {\n const response = await client.get<never, ApiResponse<CheckEvent[]>>(\n `/api/checks/${checkId}/events`,\n );\n return response.data;\n}\n\n/**\n * Get a specific event by ID.\n *\n * @param checkId - The check ID\n * @param eventId - The event ID\n * @param client - Axios instance for API configuration\n * @returns Promise resolving to a CheckEvent object\n */\nexport async function getCheckEvent(\n checkId: string,\n eventId: string,\n client: ApiClient,\n): Promise<CheckEvent> {\n const response = await client.get<never, ApiResponse<CheckEvent>>(\n `/api/checks/${checkId}/events/${eventId}`,\n );\n return response.data;\n}\n\n/**\n * Create a new comment on a check.\n *\n * @param checkId - The check ID\n * @param content - The comment content (plain text for now, markdown later)\n * @param client - Axios instance for API configuration\n * @returns Promise resolving to the created CheckEvent\n */\nexport async function createComment(\n checkId: string,\n content: string,\n client: ApiClient,\n): Promise<CheckEvent> {\n const response = await client.post<\n CreateCommentRequest,\n ApiResponse<CheckEvent>\n >(`/api/checks/${checkId}/events`, { content });\n return response.data;\n}\n\n/**\n * Update an existing comment.\n * Only the author or an admin can update a comment.\n *\n * @param checkId - The check ID\n * @param eventId - The event ID of the comment to update\n * @param content - The new comment content\n * @param client - Axios instance for API configuration\n * @returns Promise resolving to the updated CheckEvent\n */\nexport async function updateComment(\n checkId: string,\n eventId: string,\n content: string,\n client: ApiClient,\n): Promise<CheckEvent> {\n const response = await client.patch<\n UpdateCommentRequest,\n ApiResponse<CheckEvent>\n >(`/api/checks/${checkId}/events/${eventId}`, { content });\n return response.data;\n}\n\n/**\n * Delete a comment (soft delete).\n * Only the author or an admin can delete a comment.\n *\n * @param checkId - The check ID\n * @param eventId - The event ID of the comment to delete\n * @param client - Axios instance for API configuration\n * @returns Promise resolving when deletion is complete\n */\nexport async function deleteComment(\n checkId: string,\n eventId: string,\n client: ApiClient,\n): Promise<void> {\n await client.delete(`/api/checks/${checkId}/events/${eventId}`);\n}\n\n// ============================================================================\n// Type Guards\n// ============================================================================\n\nexport function isCommentEvent(event: CheckEvent): boolean {\n return event.event_type === \"comment\";\n}\n\nexport function isStateChangeEvent(event: CheckEvent): boolean {\n return (\n event.event_type === \"approval_change\" ||\n event.event_type === \"description_change\" ||\n event.event_type === \"name_change\"\n );\n}\n\nexport function isSystemEvent(event: CheckEvent): boolean {\n return (\n event.event_type === \"check_created\" ||\n event.event_type === \"preset_applied\"\n );\n}\n\n// ============================================================================\n// Display Helpers\n// ============================================================================\n\n/**\n * Get a human-readable description of an event for display.\n */\nexport function getEventDescription(event: CheckEvent): string {\n const actorName = event.actor.fullname || event.actor.login || \"Someone\";\n\n switch (event.event_type) {\n case \"check_created\":\n return `${actorName} created this check`;\n case \"comment\":\n if (event.is_deleted) {\n return \"Comment deleted\";\n }\n return event.content || \"\";\n case \"approval_change\":\n if (event.new_value === \"true\") {\n return `${actorName} approved this check`;\n }\n return `${actorName} unapproved this check`;\n case \"description_change\":\n return `${actorName} updated the description`;\n case \"name_change\":\n return `${actorName} renamed this check`;\n case \"preset_applied\":\n return `${actorName} applied a preset`;\n default:\n return `${actorName} made a change`;\n }\n}\n\n/**\n * Get the appropriate icon name for an event type.\n * Returns a string that can be used with react-icons.\n */\nexport function getEventIconType(\n event: CheckEvent,\n): \"comment\" | \"approve\" | \"unapprove\" | \"edit\" | \"create\" | \"preset\" {\n switch (event.event_type) {\n case \"check_created\":\n return \"create\";\n case \"comment\":\n return \"comment\";\n case \"approval_change\":\n return event.new_value === \"true\" ? \"approve\" : \"unapprove\";\n case \"description_change\":\n case \"name_change\":\n return \"edit\";\n case \"preset_applied\":\n return \"preset\";\n default:\n return \"edit\";\n }\n}\n","\"use client\";\n\nimport { useQuery } from \"@tanstack/react-query\";\nimport {\n type ApiClient,\n type ApiResponse,\n createFetchClient,\n} from \"../lib/fetchClient\";\nimport { useApiConfigOptional } from \"../providers/contexts/ApiContext\";\nimport { cacheKeys } from \"./cacheKeys\";\nimport type { Run, RunType } from \"./types\";\n\n// ============================================================================\n// Types\n// ============================================================================\n\n/**\n * A check object representing a saved validation check.\n * @template PT - The type of params for this check\n * @template VO - The type of view options for this check\n */\nexport interface Check<PT = unknown, VO = unknown> {\n check_id: string;\n name: string;\n description?: string;\n type: RunType;\n params?: PT;\n view_options?: VO;\n is_checked?: boolean;\n is_preset?: boolean;\n last_run?: Run;\n is_outdated?: boolean;\n actor_type?: string; // \"recce_ai\" | \"user\" | \"preset_system\" — Cloud-only, undefined in OSS\n}\n\n/**\n * Request body for creating a new check.\n */\nexport interface CreateCheckBody {\n name?: string;\n description?: string;\n run_id?: string;\n type?: RunType;\n params?: Record<string, unknown>;\n view_options?: Record<string, unknown>;\n track_props?: Record<string, unknown>;\n}\n\n// ============================================================================\n// Default Client (for hooks used outside RecceProvider)\n// ============================================================================\n\n/**\n * Default API client for hooks that may be used outside RecceProvider.\n * This is a fallback - components inside RecceProvider will use the configured client.\n */\nconst defaultApiClient = createFetchClient({ baseURL: \"\" });\n\n// ============================================================================\n// API Functions\n// ============================================================================\n\n/**\n * Create a simple check (no run association).\n * @param client - Required API client instance\n * @returns The created check\n */\nexport async function createSimpleCheck(client: ApiClient): Promise<Check> {\n const response = await client.post<CreateCheckBody, ApiResponse<Check>>(\n \"/api/checks\",\n {\n type: \"simple\",\n },\n );\n return response.data;\n}\n\n/**\n * Create a check from an existing run.\n * @param runId - The ID of the run to create a check from\n * @param viewOptions - Optional view options for the check\n * @param client - Required API client instance\n * @returns The created check\n */\nexport async function createCheckByRun(\n runId: string,\n viewOptions: Record<string, unknown> | undefined,\n client: ApiClient,\n): Promise<Check> {\n // NOTE: Removed getExperimentTrackingBreakingChangeEnabled() - OSS-specific\n const response = await client.post<CreateCheckBody, ApiResponse<Check>>(\n \"/api/checks\",\n {\n run_id: runId,\n view_options: viewOptions,\n },\n );\n return response.data;\n}\n\n/**\n * List all checks.\n * @param client - Required API client instance\n * @returns Array of all checks\n */\nexport async function listChecks(client: ApiClient): Promise<Check[]> {\n return (await client.get<never, ApiResponse<Check[]>>(\"/api/checks\")).data;\n}\n\n/**\n * Get a check by ID.\n * @param checkId - The ID of the check to retrieve\n * @param client - Required API client instance\n * @returns The check object\n */\nexport async function getCheck(\n checkId: string,\n client: ApiClient,\n): Promise<Check> {\n const response = await client.get<never, ApiResponse<Check>>(\n `/api/checks/${checkId}`,\n );\n return response.data;\n}\n\n/**\n * Update an existing check.\n * @param checkId - The ID of the check to update\n * @param payload - Partial check data to update\n * @param client - Required API client instance\n * @returns The updated check\n */\nexport async function updateCheck(\n checkId: string,\n payload: Partial<Check>,\n client: ApiClient,\n): Promise<Check> {\n const response = await client.patch<Partial<Check>, ApiResponse<Check>>(\n `/api/checks/${checkId}`,\n payload,\n );\n return response.data;\n}\n\n/**\n * Delete a check.\n * @param checkId - The ID of the check to delete\n * @param client - Required API client instance\n * @returns The deleted check ID\n */\nexport async function deleteCheck(\n checkId: string,\n client: ApiClient,\n): Promise<Pick<Check, \"check_id\">> {\n const response = await client.delete<\n never,\n ApiResponse<Pick<Check, \"check_id\">>\n >(`/api/checks/${checkId}`);\n return response.data;\n}\n\n/**\n * Reorder checks.\n * @param order - Source and destination indices\n * @param client - Required API client instance\n */\nexport async function reorderChecks(\n order: {\n source: number;\n destination: number;\n },\n client: ApiClient,\n): Promise<void> {\n await client.post(\"/api/checks/reorder\", order);\n}\n\n/**\n * Mark a check as a preset check.\n * @param checkId - The ID of the check to mark as preset\n * @param client - Required API client instance\n */\nexport async function markAsPresetCheck(\n checkId: string,\n client: ApiClient,\n): Promise<void> {\n await client.post(`/api/checks/${checkId}/mark-as-preset`);\n}\n\n// ============================================================================\n// Hooks\n// ============================================================================\n\n/**\n * Hook to fetch and cache the list of checks.\n * Can be used outside RecceProvider with a fallback to default API client.\n *\n * @param enabled - Whether the query should be enabled\n * @returns TanStack Query result with checks data\n */\nexport function useChecks(enabled: boolean) {\n const apiConfig = useApiConfigOptional();\n const apiClient = apiConfig?.apiClient ?? defaultApiClient;\n\n return useQuery({\n queryKey: cacheKeys.checks(),\n queryFn: () => listChecks(apiClient),\n enabled,\n });\n}\n","/**\n * Column-Level Lineage (CLL) API - Types and Client Functions\n *\n * Provides column-level lineage analysis functionality for data models.\n */\n\nimport type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\nimport type { NodeColumnData } from \"./info\";\n\n// ============================================================================\n// Input Types\n// ============================================================================\n\nexport interface CllInput {\n node_id?: string;\n column?: string;\n change_analysis?: boolean;\n no_cll?: boolean;\n no_upstream?: boolean;\n no_downstream?: boolean;\n}\n\nexport interface ImpactRadiusParams {\n node_id: string;\n}\n\n// ============================================================================\n// Result Types\n// ============================================================================\n\nexport interface CllNodeData {\n id: string;\n name: string;\n source_name: string;\n resource_type: string;\n raw_code?: string;\n change_status?: \"added\" | \"removed\" | \"modified\";\n change_category?:\n | \"breaking\"\n | \"non_breaking\"\n | \"partial_breaking\"\n | \"unknown\";\n impacted?: boolean;\n columns?: Record<string, NodeColumnData>;\n}\n\nexport interface ColumnLineageData {\n current: {\n nodes: Record<string, CllNodeData>;\n columns: Record<string, NodeColumnData>;\n /** JSON arrays from API - iterable like Set but properly typed */\n parent_map: Record<string, string[]>;\n /** JSON arrays from API - iterable like Set but properly typed */\n child_map: Record<string, string[]>;\n };\n}\n\n// ============================================================================\n// API Client Functions\n// ============================================================================\n\n/**\n * Get column-level lineage data.\n *\n * @param input - CLL input parameters\n * @param client - Axios instance for API configuration\n * @returns Promise resolving to column lineage data\n */\nexport async function getCll(\n input: CllInput,\n client: ApiClient,\n): Promise<ColumnLineageData> {\n const response = await client.post<CllInput, ApiResponse<ColumnLineageData>>(\n \"/api/cll\",\n input,\n );\n\n return response.data;\n}\n","import type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\n\n/**\n * Column-level data for a node\n */\nexport interface NodeColumnData {\n name: string;\n type: string;\n transformation_type?: string;\n change_status?: \"added\" | \"removed\" | \"modified\";\n not_null?: boolean;\n unique?: boolean;\n}\n\n/**\n * Node data within lineage\n */\nexport interface NodeData {\n id: string;\n unique_id: string;\n name: string;\n schema?: string;\n checksum?: {\n name: string;\n checksum: string;\n };\n raw_code?: string;\n resource_type?: string;\n package_name?: string;\n columns?: Record<string, NodeColumnData | undefined>;\n primary_key?: string;\n config?: {\n materialized?: string;\n };\n}\n\n/**\n * dbt artifact metadata\n * @see https://docs.getdbt.com/reference/artifacts/dbt-artifacts#common-metadata\n */\ninterface ArtifactMetadata {\n dbt_version: string;\n dbt_schema_version: string;\n generated_at: string;\n adapter_type: string;\n env: Record<string, string>;\n invocation_id: string;\n}\n\n/**\n * Manifest metadata extends artifact metadata\n */\nexport interface ManifestMetadata extends ArtifactMetadata {\n project_id?: string;\n project_name?: string;\n user_id?: string;\n}\n\n/**\n * SQLMesh environment info\n */\nexport interface SQLMeshInfo {\n base_env: string;\n current_env: string;\n}\n\nexport type CatalogMetadata = ArtifactMetadata;\n\n/**\n * Lineage data structure\n */\nexport interface LineageData {\n metadata: {\n pr_url: string;\n git_branch?: string;\n };\n nodes: Record<string, NodeData>;\n parent_map: Record<string, string[]>;\n manifest_metadata?: ManifestMetadata | null;\n catalog_metadata?: CatalogMetadata | null;\n}\n\nexport interface LineageDataFromMetadata extends Omit<LineageData, \"nodes\"> {\n nodes: Record<string, NodeData | undefined>;\n}\n\n/**\n * Lineage diff data\n */\nexport type LineageDiffData = Record<\n string,\n {\n change_status: \"added\" | \"removed\" | \"modified\";\n change: {\n category: \"breaking\" | \"non_breaking\" | \"partial_breaking\" | \"unknown\";\n columns: Record<string, \"added\" | \"removed\" | \"modified\"> | null;\n } | null;\n }\n>;\n\n/**\n * Lineage diff result from lineage_diff run type\n */\nexport interface LineageDiffResult {\n base?: LineageData;\n current?: LineageData;\n base_error?: string;\n current_error?: string;\n}\n\n/**\n * State metadata for recce state file\n */\nexport interface StateMetadata {\n schema_version: string;\n recce_version: string;\n generated_at: string;\n}\n\n/**\n * Git information\n */\nexport interface GitInfo {\n branch?: string;\n}\n\n/**\n * Pull request information\n */\nexport interface PullRequestInfo {\n id?: string | number;\n title?: string;\n url?: string;\n branch?: string;\n base_branch?: string;\n}\n\n/**\n * Server info result from /api/info endpoint\n */\nexport interface ServerInfoResult {\n state_metadata: StateMetadata;\n adapter_type: string;\n review_mode: boolean;\n cloud_mode: boolean;\n file_mode: boolean;\n filename?: string;\n git?: GitInfo;\n pull_request?: PullRequestInfo;\n sqlmesh?: SQLMeshInfo;\n lineage: {\n base: LineageData;\n current: LineageData;\n diff: LineageDiffData;\n };\n demo: boolean;\n codespace: boolean;\n support_tasks: Record<string, boolean>;\n}\n\n/**\n * Fetch server info from API\n */\nexport async function getServerInfo(\n client: ApiClient,\n): Promise<ServerInfoResult> {\n const response = await client.get<never, ApiResponse<ServerInfoResult>>(\n \"/api/info\",\n );\n return response.data;\n}\n\n/**\n * Model info result from /api/model/:model endpoint\n */\nexport interface ModelInfoResult {\n model: {\n base: {\n columns?: Record<string, NodeColumnData>;\n primary_key?: string;\n };\n current: {\n columns?: Record<string, NodeColumnData>;\n primary_key?: string;\n };\n };\n}\n\n/**\n * Fetch model info (columns and primary key) from API\n */\nexport async function getModelInfo(\n model: string,\n client: ApiClient,\n): Promise<ModelInfoResult> {\n const response = await client.get<never, ApiResponse<ModelInfoResult>>(\n `/api/model/${model}`,\n );\n return response.data;\n}\n","/**\n * Lineage Check API - Types and Client Functions\n *\n * Provides functionality for creating lineage diff checks.\n */\n\nimport type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\nimport type { Check } from \"./checks\";\nimport type { CllInput } from \"./cll\";\n\n// ============================================================================\n// Types\n// ============================================================================\n\nexport interface LineageDiffViewOptions {\n view_mode?: \"changed_models\" | \"all\";\n node_ids?: string[];\n packages?: string[];\n select?: string;\n exclude?: string;\n column_level_lineage?: CllInput;\n}\n\ninterface CreateLineageDiffCheckBody {\n type: string;\n params: Record<string, string | boolean | number>;\n view_options: LineageDiffViewOptions;\n}\n\n// ============================================================================\n// API Client Functions\n// ============================================================================\n\n/**\n * Create a lineage diff check.\n *\n * @param viewOptions - View options for the lineage diff\n * @param client - Axios instance for API configuration\n * @returns Promise resolving to the created check\n */\nexport async function createLineageDiffCheck(\n viewOptions: LineageDiffViewOptions,\n client: ApiClient,\n): Promise<Check> {\n const response = await client.post<\n CreateLineageDiffCheckBody,\n ApiResponse<Check>\n >(\"/api/checks\", {\n type: \"lineage_diff\",\n params: {},\n view_options: viewOptions,\n });\n\n return response.data;\n}\n","import type { ApiClient } from \"../lib/fetchClient\";\nimport { type SubmitOptions, submitRun } from \"./runs\";\n\n// ============================================================================\n// Row Count Types\n// ============================================================================\n\nexport interface RowCountParams {\n node_names: string[];\n}\n\nexport interface RowCount {\n name?: string;\n curr: number | null;\n}\n\nexport type RowCountResult = Record<string, RowCount>;\n\n// ============================================================================\n// Row Count Diff Types\n// ============================================================================\n\nexport interface RowCountDiffParams {\n node_names: string[];\n}\n\nexport interface RowCountDiff {\n name?: string;\n base: number | null;\n curr: number | null;\n}\n\nexport type RowCountDiffResult = Record<string, RowCountDiff>;\n\n// ============================================================================\n// API Functions\n// ============================================================================\n\nexport async function submitRowCountDiff(\n params: RowCountDiffParams,\n options: SubmitOptions | undefined,\n client: ApiClient,\n) {\n return await submitRun(\"row_count_diff\", params, options, client);\n}\n","import type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\nimport type { RowCountDiff, RowCountDiffResult } from \"./rowcount\";\nimport { submitRowCountDiff } from \"./rowcount\";\nimport { waitRun } from \"./runs\";\n\n// Re-export for convenience (types are defined in rowcount.ts)\nexport type { RowCountDiff } from \"./rowcount\";\n\n// ============================================================================\n// Model Row Count Types\n// ============================================================================\n\nexport interface QueryRowCountResult {\n runId: string;\n result: RowCountDiffResult;\n}\n\n// ============================================================================\n// Model Row Count API Functions\n// ============================================================================\n\n/**\n * Fetch model row count from the API (cached value).\n * @param modelName - The name of the model\n * @param client - Required API client instance\n * @returns The row count diff for the model\n */\nexport async function fetchModelRowCount(\n modelName: string,\n client: ApiClient,\n): Promise<RowCountDiff> {\n const response = await client.get<never, ApiResponse<RowCountDiff>>(\n `/api/models/${modelName}/row_count`,\n );\n return response.data;\n}\n\n/**\n * Query model row count by executing a row count diff run.\n * @param modelName - The name of the model\n * @param client - Required API client instance\n * @returns The row count diff for the model\n */\nexport async function queryModelRowCount(\n modelName: string,\n client: ApiClient,\n): Promise<RowCountDiff> {\n const { result } = await queryRowCount([modelName], client);\n return result[modelName];\n}\n\n/**\n * Query row counts for multiple models.\n * @param modelNames - Array of model names to query\n * @param client - Required API client instance\n * @returns The run ID and row count diff results for all models\n */\nexport async function queryRowCount(\n modelNames: string[],\n client: ApiClient,\n): Promise<QueryRowCountResult> {\n if (modelNames.length === 0) {\n throw new Error(\"No model names provided\");\n }\n\n const { run_id } = await submitRowCountDiff(\n { node_names: modelNames },\n { nowait: true },\n client,\n );\n const run = await waitRun(run_id, undefined, client);\n\n return {\n runId: run_id,\n result: run.result as RowCountDiffResult,\n };\n}\n","import type { ApiClient } from \"../lib/fetchClient\";\nimport { type SubmitOptions, submitRun } from \"./runs\";\nimport { type ColumnRenderMode, type DataFrame } from \"./types\";\n\n// ============================================================================\n// Profile Diff Types\n// ============================================================================\n\nexport interface ProfileDiffParams {\n model: string;\n columns?: string[];\n}\n\nexport interface ProfileDiffResult {\n base?: DataFrame;\n current?: DataFrame;\n}\n\nexport interface ProfileDiffViewOptions {\n pinned_columns?: string[];\n display_mode?: \"side_by_side\" | \"inline\";\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\n// ============================================================================\n// API Functions\n// ============================================================================\n\nexport async function submitProfileDiff(\n params: ProfileDiffParams,\n options: SubmitOptions | undefined,\n client: ApiClient,\n) {\n return await submitRun(\"profile_diff\", params, options, client);\n}\n\n// ============================================================================\n// Top-K Types\n// ============================================================================\n\nexport interface TopKDiffParams {\n model: string;\n column_name: string;\n k: number;\n}\n\nexport interface TopKResult {\n values: (string | number | undefined)[];\n counts: number[];\n valids: number;\n}\n\nexport interface TopKDiffResult {\n base: TopKResult;\n current: TopKResult;\n}\n\n/**\n * View options for TopKDiffResultView.\n * Controls display preferences for top-K diff visualization.\n */\nexport interface TopKViewOptions {\n /**\n * When true, show all items instead of just top 10.\n * Default is false (show top 10 only).\n */\n show_all?: boolean;\n}\n\n// ============================================================================\n// Histogram Types\n// ============================================================================\n\nexport interface HistogramDiffParams {\n model: string;\n column_name: string;\n column_type: string;\n}\n\nexport interface HistogramResult {\n counts: number[];\n total: number;\n}\n\nexport interface HistogramDiffResult {\n base: HistogramResult;\n current: HistogramResult;\n min: number;\n max: number;\n bin_edges: number[];\n labels?: string[];\n}\n","/**\n * Schema Check API - Types and Client Functions\n *\n * Provides functionality for creating schema diff checks.\n */\n\nimport type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\nimport type { Check } from \"./checks\";\n\n// ============================================================================\n// Types\n// ============================================================================\n\nexport interface SchemaDiffViewParams {\n node_id?: string | string[];\n select?: string;\n exclude?: string;\n view_mode?: \"all\" | \"changed_models\";\n packages?: string[];\n}\n\ninterface CreateSchemaDiffCheckBody {\n type: string;\n params: SchemaDiffViewParams;\n}\n\n// ============================================================================\n// API Client Functions\n// ============================================================================\n\n/**\n * Create a schema diff check.\n *\n * @param params - Schema diff parameters\n * @param client - Axios instance for API configuration\n * @returns Promise resolving to the created check\n */\nexport async function createSchemaDiffCheck(\n params: SchemaDiffViewParams,\n client: ApiClient,\n): Promise<Check> {\n const response = await client.post<\n CreateSchemaDiffCheckBody,\n ApiResponse<Check>\n >(\"/api/checks\", {\n type: \"schema_diff\",\n params: params,\n });\n\n return response.data;\n}\n","\"use client\";\n\nimport type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\n\nexport interface SelectInput {\n select?: string;\n exclude?: string;\n packages?: string[];\n view_mode?: \"all\" | \"changed_models\";\n}\n\nexport interface SelectOutput {\n nodes: string[];\n}\n\nexport async function select(\n input: SelectInput,\n client: ApiClient,\n): Promise<SelectOutput> {\n return (\n await client.post<SelectInput, ApiResponse<SelectOutput>>(\n `/api/select`,\n input,\n )\n ).data;\n}\n","\"use client\";\n\nimport type { ApiClient, ApiResponse } from \"../lib/fetchClient\";\nimport { isHttpError } from \"../lib/fetchClient\";\n\nexport interface SaveAsInput {\n filename: string;\n overwrite?: boolean;\n}\n\nexport interface ImportedState {\n runs: number;\n checks: number;\n}\n\nexport async function saveAs(\n input: SaveAsInput,\n client: ApiClient,\n): Promise<void> {\n return (\n await client.post<SaveAsInput, ApiResponse<void>>(\"/api/save-as\", input)\n ).data;\n}\n\nexport async function rename(\n input: SaveAsInput,\n client: ApiClient,\n): Promise<void> {\n return (\n await client.post<SaveAsInput, ApiResponse<void>>(\"/api/rename\", input)\n ).data;\n}\n\nexport async function exportState(client: ApiClient): Promise<string> {\n return (await client.post<never, ApiResponse<string>>(\"/api/export\")).data;\n}\n\ninterface ImportStateBody {\n file: File;\n checks_only: \"true\" | \"false\";\n}\n\nexport async function importState(\n file: File,\n checksOnly: boolean | undefined,\n client: ApiClient,\n): Promise<ImportedState> {\n const formData = new FormData();\n formData.append(\"file\", file);\n formData.append(\"checks_only\", (!!checksOnly).toString());\n\n return (\n await client.post<ImportStateBody, ApiResponse<ImportedState>>(\n \"/api/import\",\n formData,\n )\n ).data;\n}\n\nexport async function isStateSyncing(client: ApiClient): Promise<boolean> {\n const response = await client.get<never, ApiResponse<boolean>>(\"/api/sync\");\n return response.status === 208;\n}\n\nexport interface SyncStateInput {\n method?: \"overwrite\" | \"revert\" | \"merge\";\n}\n\nexport interface SyncStateResponse {\n status: \"accepted\" | \"conflict\" | \"syncing\";\n}\n\nexport async function syncState(\n input: SyncStateInput,\n client: ApiClient,\n): Promise<SyncStateResponse> {\n try {\n const response = await client.post<\n SyncStateInput,\n ApiResponse<SyncStateResponse>\n >(\"/api/sync\", input);\n\n if (response.status === 202) {\n return {\n status: \"accepted\",\n };\n }\n if (response.status === 208) {\n return {\n status: \"syncing\",\n };\n }\n } catch (error) {\n if (isHttpError(error)) {\n if (error.status === 409) {\n // 409 conflict case\n return { status: \"conflict\" };\n }\n }\n }\n throw new Error(\"Failed to sync state\");\n}\n\nexport interface ShareStateResponse {\n status: string;\n message: string;\n share_url?: string;\n}\n\nexport async function shareState(\n client: ApiClient,\n): Promise<ShareStateResponse> {\n return (\n await client.post<never, ApiResponse<ShareStateResponse>>(\"/api/share\")\n ).data;\n}\n","\"use client\";\n\nconst localPrefix = \"recce-\";\n\nexport const LOCAL_STORAGE_KEYS = {\n bypassSaveOverwrite: `${localPrefix}-bypass-save-overwrite`,\n previewChangeFeedbackID: `${localPrefix}-preview-change-feedback`,\n prepareEnvGuideID: `${localPrefix}-prepare-env`,\n};\n\nconst sessionPrefix = \"recce\";\n\nexport const SESSION_STORAGE_KEYS = {\n recommendationIgnored: `${sessionPrefix}-recommendation-ignored`,\n recommendationShowed: `${sessionPrefix}-recommendation-showed`,\n prevRefreshTimeStamp: `${sessionPrefix}-prev-refresh-timestamp`,\n lineageNotificationDismissed: `${sessionPrefix}-lineage-notification-dismissed`,\n};\n","import type { ApiClient } from \"../lib/fetchClient\";\nimport { type SubmitOptions, submitRun } from \"./runs\";\nimport { type ColumnRenderMode, type DataFrame } from \"./types\";\n\n// ============================================================================\n// Value Diff Types\n// ============================================================================\n\nexport interface ValueDiffParams {\n model: string;\n primary_key: string | string[];\n columns?: string[];\n}\n\nexport interface ValueDiffResult {\n summary: {\n total: number;\n added: number;\n removed: number;\n };\n data: DataFrame;\n}\n\n// ============================================================================\n// Value Diff Detail Types\n// ============================================================================\n\nexport type ValueDiffDetailParams = ValueDiffParams;\nexport type ValueDiffDetailResult = DataFrame;\n\nexport interface ValueDiffDetailViewOptions {\n changed_only?: boolean;\n pinned_columns?: string[];\n display_mode?: \"inline\" | \"side_by_side\";\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\n// ============================================================================\n// API Functions\n// ============================================================================\n\nexport async function submitValueDiff(\n params: ValueDiffParams,\n options: SubmitOptions | undefined,\n client: ApiClient,\n) {\n return await submitRun(\"value_diff\", params, options, client);\n}\n\nexport async function submitValueDiffDetail(\n params: ValueDiffParams,\n options: SubmitOptions | undefined,\n client: ApiClient,\n) {\n return await submitRun(\"value_diff_detail\", params, options, client);\n}\n","\"use client\";\n\nimport { useEffect, useState } from \"react\";\nimport {\n type ApiClient,\n type ApiResponse,\n createFetchClient,\n} from \"../lib/fetchClient\";\nimport { useApiConfigOptional } from \"../providers/contexts/ApiContext\";\n\nconst defaultApiClient = createFetchClient({ baseURL: \"\" });\n\nexport interface VersionResponse {\n version: string;\n latestVersion: string;\n}\n\nexport async function getVersion(client: ApiClient): Promise<VersionResponse> {\n const response = await client.get<never, ApiResponse<VersionResponse>>(\n \"/api/version\",\n );\n return response.data;\n}\n\nexport function useVersionNumber() {\n const [version, setVersion] = useState(\"\");\n const [latestVersion, setLatestVersion] = useState(\"\");\n const apiConfig = useApiConfigOptional();\n const apiClient = apiConfig?.apiClient ?? defaultApiClient;\n\n useEffect(() => {\n async function fetchVersion() {\n try {\n const { version, latestVersion } = await getVersion(apiClient);\n\n setVersion(version);\n setLatestVersion(latestVersion);\n } catch (error) {\n console.error(\"Error fetching version number:\", error);\n }\n }\n void fetchVersion();\n }, [apiClient]);\n\n return { version, latestVersion };\n}\n"],"mappings":";+LAsQA,SAAgB,EAAY,EAA2C,CACrE,OAAO,EAAI,OAAS,SAMtB,SAAgB,EAAa,EAA4C,CACvE,OAAO,EAAI,OAAS,UAMtB,SAAgB,EAAW,EAA0C,CACnE,OAAO,EAAI,OAAS,QAMtB,SAAgB,EAAe,EAA+C,CAC5E,OAAO,EAAI,OAAS,aAMtB,SAAgB,EAAe,EAA+C,CAC5E,OAAO,EAAI,OAAS,aAMtB,SAAgB,GAAe,EAA+C,CAC5E,OAAO,EAAI,OAAS,aAMtB,SAAgB,GACd,EAC4C,CAC5C,OAAO,EAAI,OAAS,oBAMtB,SAAgB,GACd,EACsC,CACtC,OAAO,EAAI,OAAS,cAMtB,SAAgB,GAAa,EAA4C,CACvE,OAAO,EAAI,OAAS,UAMtB,SAAgB,GACd,EACuC,CACvC,OAAO,EAAI,OAAS,eAMtB,SAAgB,GAAc,EAA8C,CAC1E,OAAO,EAAI,OAAS,YAMtB,SAAgB,EACd,EACyC,CACzC,OAAO,EAAI,OAAS,iBAMtB,SAAgB,EACd,EACuC,CACvC,OAAO,EAAI,OAAS,eAMtB,SAAgB,EAAc,EAA+C,CAC3E,OAAO,EAAI,OAAS,aAMtB,SAAgB,EACd,EACyC,CACzC,OAAO,EAAI,OAAS,iBAUtB,MAAa,EAAgC,CAC3C,SACA,UACA,QACA,aACA,aACA,aACA,oBACA,cACA,UACA,eACA,YACA,iBACA,eACA,aACA,iBACD,CAKD,SAAgB,EAAe,EAAiC,CAC9D,OAAO,EAAU,SAAS,EAAiB,CAO7C,MAAM,EAAyC,CAC7C,QACA,aACA,aACA,YACA,iBACA,UACA,eACA,aACA,oBACA,aACA,iBACD,CAMD,SAAgB,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AAkB,CAAE,QAAS,GAAI,CAAC,CAO3D,eAAsB,EAAW,EAA6C,CAI5E,OAHiB,MAAM,EAAO,IAC5B,eACD,EACe,KAGlB,SAAgB,IAAmB,CACjC,GAAM,CAAC,EAAS,GAAc,EAAS,GAAG,CACpC,CAAC,EAAe,GAAoB,EAAS,GAAG,CAEhD,EADY,GAAsB,EACX,WAAa,GAgB1C,OAdA,MAAgB,CACd,eAAe,GAAe,CAC5B,GAAI,CACF,GAAM,CAAE,UAAS,iBAAkB,MAAM,EAAW,EAAU,CAE9D,EAAW,EAAQ,CACnB,EAAiB,EAAc,OACxB,EAAO,CACd,QAAQ,MAAM,iCAAkC,EAAM,EAGrD,GAAc,EAClB,CAAC,EAAU,CAAC,CAER,CAAE,UAAS,gBAAe"}
package/dist/api.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
 
2
- import { $i as getLineageDiff, $r as ValueDiffDetailViewOptions, A as connectToCloud, Ai as getRun, B as submitQueryBase, Bi as getCll, C as SchemaDiffViewParams, Ci as TopKResult, D as markOnboardingCompleted, Di as SubmitRunTrackProps, E as getServerFlag, Ei as SubmitOptions, F as QueryPreviewChangeParams, Fi as waitRun, Gi as LineageDiffResult, Hi as LineageData, I as QueryResult, Ii as CllInput, Ji as NodeColumnData, Ki as ManifestMetadata, L as QueryRunParams, Li as CllNodeData, M as QueryDiffResult, Mi as searchRuns, N as QueryDiffViewOptions, Ni as submitRun, O as markRelaunchHintCompleted, Oi as aggregateRuns, P as QueryParams, Pi as submitRunFromCheck, Qi as getLineage, Qr as ValueDiffDetailResult, R as QueryViewOptions, Ri as ColumnLineageData, S as select, Si as TopKDiffResult, T as RecceServerFlags, Ti as RunsAggregated, Ui as LineageDataFromMetadata, V as submitQueryDiff, Vi as CatalogMetadata, Wi as LineageDiffData, Xi as SQLMeshInfo, Yi as NodeData, Zi as ServerInfoResult, Zr as ValueDiffDetailParams, _ as saveAs, _i as HistogramResult, _r as reorderChecks, a as User, aa as stateMetadata, ai as RowCountDiffResult, b as SelectInput, bi as ProfileDiffViewOptions, c as ImportedState, ci as submitRowCountDiff, cr as createLineageDiffCheck, d as SyncStateInput, di as RowCountDiff, dr as createCheckByRun, ea as getLineageWithError, ei as ValueDiffParams, f as SyncStateResponse, fi as fetchModelRowCount, fr as createSimpleCheck, g as rename, ga as reactQueryClient, gi as HistogramDiffResult, gr as markAsPresetCheck, h as isStateSyncing, ha as axiosClient, hi as HistogramDiffParams, hr as listChecks, i as useVersionNumber, ia as pullRequestInfo, ii as RowCountDiffParams, j as QueryDiffParams, ji as listRuns, k as ConnectToCloud, ki as cancelRun, l as SaveAsInput, li as QueryRowCountResult, lr as Check, m as importState, mi as queryRowCount, mr as getCheck, n as localStorageKeys, na as getServerInfo, ni as submitValueDiff, o as fetchGitHubAvatar, oi as RowCountParams, p as exportState, pi as queryModelRowCount, pr as deleteCheck, qi as ModelInfoResult, r as getVersion, ra as gitInfo, ri as submitValueDiffDetail, s as fetchUser, si as RowCountResult, sr as LineageDiffViewOptions, t as sessionStorageKeys, ta as getModelInfo, ti as ValueDiffResult, u as ShareStateResponse, ui as RowCount, ur as CreateCheckBody, v as shareState, vi as ProfileDiffParams, vr as updateCheck, w as createSchemaDiffCheck, wi as submitProfileDiff, x as SelectOutput, xi as TopKDiffParams, y as syncState, yi as ProfileDiffResult, yr as useChecks, z as submitQuery, zi as ImpactRadiusParams } from "./index-B9lSPJTi.js";
3
- export { CatalogMetadata, Check, CllInput, CllNodeData, ColumnLineageData, ConnectToCloud, CreateCheckBody, HistogramDiffParams, HistogramDiffResult, HistogramResult, ImpactRadiusParams, ImportedState, LineageData, LineageDataFromMetadata, LineageDiffData, LineageDiffResult, LineageDiffViewOptions, ManifestMetadata, ModelInfoResult, NodeColumnData, NodeData, ProfileDiffParams, ProfileDiffResult, ProfileDiffViewOptions, QueryDiffParams, QueryDiffResult, QueryDiffViewOptions, QueryParams, QueryPreviewChangeParams, QueryResult, QueryRowCountResult, QueryRunParams, QueryViewOptions, RecceServerFlags, RowCount, RowCountDiff, RowCountDiffParams, RowCountDiffResult, RowCountParams, RowCountResult, RunsAggregated, SQLMeshInfo, SaveAsInput, SchemaDiffViewParams, SelectInput, SelectOutput, ServerInfoResult, ShareStateResponse, SubmitOptions, SubmitRunTrackProps, SyncStateInput, SyncStateResponse, TopKDiffParams, TopKDiffResult, TopKResult, User, ValueDiffDetailParams, ValueDiffDetailResult, ValueDiffDetailViewOptions, ValueDiffParams, ValueDiffResult, aggregateRuns, axiosClient, cancelRun, connectToCloud, createCheckByRun, createLineageDiffCheck, createSchemaDiffCheck, createSimpleCheck, deleteCheck, exportState, fetchGitHubAvatar, fetchModelRowCount, fetchUser, getCheck, getCll, getLineage, getLineageDiff, getLineageWithError, getModelInfo, getRun, getServerFlag, getServerInfo, getVersion, gitInfo, importState, isStateSyncing, listChecks, listRuns, localStorageKeys, markAsPresetCheck, markOnboardingCompleted, markRelaunchHintCompleted, pullRequestInfo, queryModelRowCount, queryRowCount, reactQueryClient, rename, reorderChecks, saveAs, searchRuns, select, sessionStorageKeys, shareState, stateMetadata, submitProfileDiff, submitQuery, submitQueryBase, submitQueryDiff, submitRowCountDiff, submitRun, submitRunFromCheck, submitValueDiff, submitValueDiffDetail, syncState, updateCheck, useChecks, useVersionNumber, waitRun };
2
+ import { $ as RowCount, $t as LineageData, A as isLineageDiffRun, At as SubmitRunTrackProps, B as isSimpleRun, Bt as ColumnRenderMode, C as Run, Ct as QueryRunParams, D as RunType, Dt as submitQueryDiff, E as RunStatus, Et as submitQueryBase, F as isQueryRun, Ft as searchRuns, G as runTypeHasRef, Gt as RowObjectType, H as isValidRunType, Ht as DataFrame, I as isRowCountDiffRun, It as submitRun, J as ValueDiffDetailViewOptions, Jt as ColumnLineageData, K as ValueDiffDetailParams, Kt as CllInput, L as isRowCountRun, Lt as submitRunFromCheck, M as isProfileRun, Mt as cancelRun, N as isQueryBaseRun, Nt as getRun, O as SchemaDiffParams, Ot as RunsAggregated, P as isQueryDiffRun, Pt as listRuns, Q as submitValueDiffDetail, Qt as GitInfo, R as isSandboxRun, Rt as waitRun, S as RUN_TYPES, St as QueryResult, T as RunProgress, Tt as submitQuery, U as isValueDiffDetailRun, Ut as RowData, V as isTopKDiffRun, Vt as ColumnType, W as isValueDiffRun, Wt as RowDataTypes, X as ValueDiffResult, Xt as getCll, Y as ValueDiffParams, Yt as ImpactRadiusParams, Z as submitValueDiff, Zt as CatalogMetadata, _ as reorderChecks, _t as QueryDiffParams, a as getServerFlag, an as NodeColumnData, at as submitRowCountDiff, b as BaseRun, bt as QueryParams, c as createLineageDiffCheck, cn as SQLMeshInfo, ct as HistogramResult, d as createCheckByRun, dn as getModelInfo, dt as ProfileDiffViewOptions, en as LineageDataFromMetadata, et as RowCountDiff, f as createSimpleCheck, fn as getServerInfo, ft as TopKDiffParams, g as markAsPresetCheck, gt as submitProfileDiff, h as listChecks, ht as TopKViewOptions, i as RecceServerFlags, in as ModelInfoResult, it as RowCountResult, j as isProfileDiffRun, jt as aggregateRuns, k as isHistogramDiffRun, kt as SubmitOptions, l as Check, ln as ServerInfoResult, lt as ProfileDiffParams, m as getCheck, mt as TopKResult, n as ServerMode, nn as LineageDiffResult, nt as RowCountDiffResult, o as markRelaunchHintCompleted, on as NodeData, ot as HistogramDiffParams, p as deleteCheck, pt as TopKDiffResult, q as ValueDiffDetailResult, qt as CllNodeData, r as getRecceInstanceInfo, rn as ManifestMetadata, rt as RowCountParams, s as LineageDiffViewOptions, sn as PullRequestInfo, st as HistogramDiffResult, t as RecceInstanceInfo, tn as LineageDiffData, tt as RowCountDiffParams, u as CreateCheckBody, un as StateMetadata, ut as ProfileDiffResult, v as updateCheck, vt as QueryDiffResult, w as RunParamTypes, wt as QueryViewOptions, x as LineageDiffParams, xt as QueryPreviewChangeParams, y as useChecks, yt as QueryDiffViewOptions, z as isSchemaDiffRun, zt as AxiosQueryParams } from "./instanceInfo-DNLFhkK8.js";
3
+ import { A as setKeepAliveCallback, B as getCheckEvent, C as QueryRowCountResult, D as getLastKeepAliveTime, E as queryRowCount, F as CheckEventsListResponse, G as isSystemEvent, H as getEventIconType, I as CreateCommentRequest, J as cacheKeys, K as listCheckEvents, L as UpdateCommentRequest, M as CheckEvent, N as CheckEventActor, O as resetKeepAliveState, P as CheckEventType, R as createComment, S as createSchemaDiffCheck, T as queryModelRowCount, U as isCommentEvent, V as getEventDescription, W as isStateChangeEvent, _ as syncState, a as SESSION_STORAGE_KEYS, b as select, c as ShareStateResponse, d as exportState, f as importState, g as shareState, h as saveAs, i as LOCAL_STORAGE_KEYS, j as ActorType, k as sendKeepAlive, l as SyncStateInput, m as rename, n as getVersion, o as ImportedState, p as isStateSyncing, q as updateComment, r as useVersionNumber, s as SaveAsInput, t as VersionResponse, u as SyncStateResponse, v as SelectInput, w as fetchModelRowCount, x as SchemaDiffViewParams, y as SelectOutput, z as deleteComment } from "./api-BwiRz6pD.js";
4
+ export { ActorType, AxiosQueryParams, BaseRun, CatalogMetadata, Check, CheckEvent, CheckEventActor, CheckEventType, CheckEventsListResponse, CllInput, CllNodeData, ColumnLineageData, ColumnRenderMode, ColumnType, CreateCheckBody, CreateCommentRequest, DataFrame, GitInfo, HistogramDiffParams, HistogramDiffResult, HistogramResult, ImpactRadiusParams, ImportedState, LOCAL_STORAGE_KEYS, LineageData, LineageDataFromMetadata, LineageDiffData, LineageDiffParams, LineageDiffResult, LineageDiffViewOptions, ManifestMetadata, ModelInfoResult, NodeColumnData, NodeData, ProfileDiffParams, ProfileDiffResult, ProfileDiffViewOptions, PullRequestInfo, QueryDiffParams, QueryDiffResult, QueryDiffViewOptions, QueryParams, QueryPreviewChangeParams, QueryResult, QueryRowCountResult, QueryRunParams, QueryViewOptions, RUN_TYPES, RecceInstanceInfo, RecceServerFlags, RowCount, RowCountDiff, RowCountDiffParams, RowCountDiffResult, RowCountParams, RowCountResult, RowData, RowDataTypes, RowObjectType, Run, RunParamTypes, RunProgress, RunStatus, RunType, RunsAggregated, SESSION_STORAGE_KEYS, SQLMeshInfo, SaveAsInput, SchemaDiffParams, SchemaDiffViewParams, SelectInput, SelectOutput, ServerInfoResult, ServerMode, ShareStateResponse, StateMetadata, SubmitOptions, SubmitRunTrackProps, SyncStateInput, SyncStateResponse, TopKDiffParams, TopKDiffResult, TopKResult, TopKViewOptions, UpdateCommentRequest, ValueDiffDetailParams, ValueDiffDetailResult, ValueDiffDetailViewOptions, ValueDiffParams, ValueDiffResult, VersionResponse, aggregateRuns, cacheKeys, cancelRun, createCheckByRun, createComment, createLineageDiffCheck, createSchemaDiffCheck, createSimpleCheck, deleteCheck, deleteComment, exportState, fetchModelRowCount, getCheck, getCheckEvent, getCll, getEventDescription, getEventIconType, getLastKeepAliveTime, getModelInfo, getRecceInstanceInfo, getRun, getServerFlag, getServerInfo, getVersion, importState, isCommentEvent, isHistogramDiffRun, isLineageDiffRun, isProfileDiffRun, isProfileRun, isQueryBaseRun, isQueryDiffRun, isQueryRun, isRowCountDiffRun, isRowCountRun, isSandboxRun, isSchemaDiffRun, isSimpleRun, isStateChangeEvent, isStateSyncing, isSystemEvent, isTopKDiffRun, isValidRunType, isValueDiffDetailRun, isValueDiffRun, listCheckEvents, listChecks, listRuns, markAsPresetCheck, markRelaunchHintCompleted, queryModelRowCount, queryRowCount, rename, reorderChecks, resetKeepAliveState, runTypeHasRef, saveAs, searchRuns, select, sendKeepAlive, setKeepAliveCallback, shareState, submitProfileDiff, submitQuery, submitQueryBase, submitQueryDiff, submitRowCountDiff, submitRun, submitRunFromCheck, submitValueDiff, submitValueDiffDetail, syncState, updateCheck, updateComment, useChecks, useVersionNumber, waitRun };