@datarecce/ui 0.1.41 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -133
- package/dist/AuthModal-C8LetZNB.js +23 -0
- package/dist/AuthModal-C8LetZNB.js.map +1 -0
- package/dist/LineageCanvas-CR38SDYr.d.ts +41 -0
- package/dist/LineageCanvas-CR38SDYr.d.ts.map +1 -0
- package/dist/ResultErrorFallback-C7c-TN1p.js +3 -0
- package/dist/ResultErrorFallback-C7c-TN1p.js.map +1 -0
- package/dist/RouteConfigContext-z8YNimdP.d.ts +172 -0
- package/dist/RouteConfigContext-z8YNimdP.d.ts.map +1 -0
- package/dist/RunProgress-DyFIALbI.d.ts +429 -0
- package/dist/RunProgress-DyFIALbI.d.ts.map +1 -0
- package/dist/ScreenshotDataGrid-BfxYUThx.d.ts +64 -0
- package/dist/ScreenshotDataGrid-BfxYUThx.d.ts.map +1 -0
- package/dist/SplitPane-B-BLxZaQ.d.ts +1427 -0
- package/dist/SplitPane-B-BLxZaQ.d.ts.map +1 -0
- package/dist/advanced.d.ts +18 -0
- package/dist/advanced.d.ts.map +1 -0
- package/dist/advanced.js +3 -0
- package/dist/advanced.js.map +1 -0
- package/dist/api-ZZ4cc9b9.d.ts +255 -0
- package/dist/api-ZZ4cc9b9.d.ts.map +1 -0
- package/dist/api-_i6BZPkM.js +3 -0
- package/dist/api-_i6BZPkM.js.map +1 -0
- package/dist/api.d.ts +3 -2
- package/dist/api.js +2 -100
- package/dist/colors--47Kkns4.js +3 -0
- package/dist/colors--47Kkns4.js.map +1 -0
- package/dist/colors-vY9Yzui0.d.ts +255 -0
- package/dist/colors-vY9Yzui0.d.ts.map +1 -0
- package/dist/components-run.d.ts +8 -0
- package/dist/components-run.js +2 -0
- package/dist/components.d.ts +22 -2
- package/dist/components.js +2 -86
- package/dist/const-DbXBkrxT.js +3 -0
- package/dist/const-DbXBkrxT.js.map +1 -0
- package/dist/constants-DD5vJv2q.js +3 -0
- package/dist/constants-DD5vJv2q.js.map +1 -0
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +2 -0
- package/dist/contexts.d.ts +7 -0
- package/dist/contexts.js +2 -0
- package/dist/flag-CiR2E5oz.d.ts +898 -0
- package/dist/flag-CiR2E5oz.d.ts.map +1 -0
- package/dist/flag-koeDAqr3.js +3 -0
- package/dist/flag-koeDAqr3.js.map +1 -0
- package/dist/hooks.d.ts +15 -2
- package/dist/hooks.js +2 -43
- package/dist/index-BFkbe0aF.d.ts +698 -0
- package/dist/index-BFkbe0aF.d.ts.map +1 -0
- package/dist/index-Ba3hp2Ng.d.ts +471 -0
- package/dist/index-Ba3hp2Ng.d.ts.map +1 -0
- package/dist/index-C_kD4ZQ3.d.ts +1079 -0
- package/dist/index-C_kD4ZQ3.d.ts.map +1 -0
- package/dist/index-CiPcALu4.d.ts +146 -0
- package/dist/index-CiPcALu4.d.ts.map +1 -0
- package/dist/index-CkXLPYZY.d.ts +13 -0
- package/dist/index-CkXLPYZY.d.ts.map +1 -0
- package/dist/index-DTCpHvX_.d.ts +211 -0
- package/dist/index-DTCpHvX_.d.ts.map +1 -0
- package/dist/index-DVoQsx5c.d.ts +349 -0
- package/dist/index-DVoQsx5c.d.ts.map +1 -0
- package/dist/index-DmwYRgDR.d.ts +192 -0
- package/dist/index-DmwYRgDR.d.ts.map +1 -0
- package/dist/index-N8N7XmRj.d.ts +130 -0
- package/dist/index-N8N7XmRj.d.ts.map +1 -0
- package/dist/index-h_fw6R9U.d.ts +1501 -0
- package/dist/index-h_fw6R9U.d.ts.map +1 -0
- package/dist/index-o48TPoFN.d.ts +734 -0
- package/dist/index-o48TPoFN.d.ts.map +1 -0
- package/dist/index.d.ts +24 -2
- package/dist/index.js +2 -198
- package/dist/keepAlive-CEzyrDfg.js +3 -0
- package/dist/keepAlive-CEzyrDfg.js.map +1 -0
- package/dist/lib/api/axiosClient.d.ts +8 -0
- package/dist/lib/api/axiosClient.d.ts.map +1 -0
- package/dist/lib/api/axiosClient.js +3 -0
- package/dist/lib/api/axiosClient.js.map +1 -0
- package/dist/lib/api/track.d.ts +137 -0
- package/dist/lib/api/track.d.ts.map +1 -0
- package/dist/lib/api/track.js +2 -0
- package/dist/lib/api/user.d.ts +16 -0
- package/dist/lib/api/user.d.ts.map +1 -0
- package/dist/lib/api/user.js +2 -0
- package/dist/lib/const.d.ts +8 -0
- package/dist/lib/const.d.ts.map +1 -0
- package/dist/lib/const.js +2 -0
- package/dist/lib/result/ResultErrorFallback.d.ts +8 -0
- package/dist/lib/result/ResultErrorFallback.d.ts.map +1 -0
- package/dist/lib/result/ResultErrorFallback.js +2 -0
- package/dist/primitives-CgGUvwHB.d.ts +914 -0
- package/dist/primitives-CgGUvwHB.d.ts.map +1 -0
- package/dist/primitives.d.ts +12 -0
- package/dist/primitives.js +2 -0
- package/dist/result.d.ts +4 -0
- package/dist/result.js +2 -0
- package/dist/src-BgHSbbHk.js +67 -0
- package/dist/src-BgHSbbHk.js.map +1 -0
- package/dist/styles.css +478 -4
- package/dist/theme-CeWzymUn.js +64 -0
- package/dist/theme-CeWzymUn.js.map +1 -0
- package/dist/theme.d.ts +3 -2
- package/dist/theme.js +2 -9
- package/dist/track-9ZQpBlUK.js +3 -0
- package/dist/track-9ZQpBlUK.js.map +1 -0
- package/dist/types-CFbNxrx2.d.ts +171 -0
- package/dist/types-CFbNxrx2.d.ts.map +1 -0
- package/dist/types-CZre3j02.d.ts +231 -0
- package/dist/types-CZre3j02.d.ts.map +1 -0
- package/dist/types.d.ts +14 -2
- package/dist/types.js +3 -9
- package/dist/types.js.map +1 -0
- package/dist/useRecceServerFlag-Bg5R67J4.js +3 -0
- package/dist/useRecceServerFlag-Bg5R67J4.js.map +1 -0
- package/dist/useThemeColors--prVbMmM.js +3 -0
- package/dist/useThemeColors--prVbMmM.js.map +1 -0
- package/dist/useThemeColors-DHEroo8f.d.ts +104 -0
- package/dist/useThemeColors-DHEroo8f.d.ts.map +1 -0
- package/dist/user-DMT7E0fc.js +3 -0
- package/dist/user-DMT7E0fc.js.map +1 -0
- package/dist/utils-CW2skXm_.js +3 -0
- package/dist/utils-CW2skXm_.js.map +1 -0
- package/dist/utils-CXWhfyxC.js +5 -0
- package/dist/utils-CXWhfyxC.js.map +1 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.js +2 -0
- package/package.json +115 -107
- package/LICENSE +0 -201
- package/dist/RecceCheckContext-BJprb2xR.js +0 -7968
- package/dist/RecceCheckContext-BJprb2xR.js.map +0 -1
- package/dist/RecceCheckContext-DPnWB_aU.css +0 -215
- package/dist/RecceCheckContext-DPnWB_aU.css.map +0 -1
- package/dist/RecceCheckContext-DbZ7BdRy.mjs +0 -7426
- package/dist/RecceCheckContext-DbZ7BdRy.mjs.map +0 -1
- package/dist/RecceCheckContext-DyxOeUsX.css +0 -215
- package/dist/RecceCheckContext-DyxOeUsX.css.map +0 -1
- package/dist/api.d.mts +0 -3
- package/dist/api.js.map +0 -1
- package/dist/api.mjs +0 -46
- package/dist/api.mjs.map +0 -1
- package/dist/components-BeAjVBV3.css +0 -70
- package/dist/components-BeAjVBV3.css.map +0 -1
- package/dist/components-DfXnN1Hx.js +0 -14689
- package/dist/components-DfXnN1Hx.js.map +0 -1
- package/dist/components-iUxcqtUB.css +0 -70
- package/dist/components-iUxcqtUB.css.map +0 -1
- package/dist/components-jh6r4tQn.mjs +0 -12348
- package/dist/components-jh6r4tQn.mjs.map +0 -1
- package/dist/components.d.mts +0 -3
- package/dist/components.mjs +0 -9
- package/dist/const-CaIm1Z8g.mjs +0 -12
- package/dist/const-CaIm1Z8g.mjs.map +0 -1
- package/dist/const-CvdZO0FN.js +0 -24
- package/dist/const-CvdZO0FN.js.map +0 -1
- package/dist/hooks-cQsBXBd1.js +0 -40
- package/dist/hooks-cQsBXBd1.js.map +0 -1
- package/dist/hooks-eaHm_yEp.mjs +0 -33
- package/dist/hooks-eaHm_yEp.mjs.map +0 -1
- package/dist/hooks.d.mts +0 -3
- package/dist/hooks.mjs +0 -8
- package/dist/html2canvas-pro.esm-CsuSOHXp.js +0 -7250
- package/dist/html2canvas-pro.esm-CsuSOHXp.js.map +0 -1
- package/dist/html2canvas-pro.esm-E7kpobrC.mjs +0 -7249
- package/dist/html2canvas-pro.esm-E7kpobrC.mjs.map +0 -1
- package/dist/index-B5bpmv0i.d.mts +0 -2172
- package/dist/index-B5bpmv0i.d.mts.map +0 -1
- package/dist/index-B9lSPJTi.d.ts +0 -2170
- package/dist/index-B9lSPJTi.d.ts.map +0 -1
- package/dist/index.d.mts +0 -3
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -20
- package/dist/index.mjs.map +0 -1
- package/dist/mui-theme-CUhybmBq.mjs +0 -696
- package/dist/mui-theme-CUhybmBq.mjs.map +0 -1
- package/dist/mui-theme-iBHkjXJq.js +0 -732
- package/dist/mui-theme-iBHkjXJq.js.map +0 -1
- package/dist/state-CTITyT0R.js +0 -795
- package/dist/state-CTITyT0R.js.map +0 -1
- package/dist/state-Sc2b4jri.mjs +0 -382
- package/dist/state-Sc2b4jri.mjs.map +0 -1
- package/dist/theme.d.mts +0 -3
- package/dist/theme.mjs +0 -4
- package/dist/tooltipMessage-BC5W7H3X.js +0 -13
- package/dist/tooltipMessage-BC5W7H3X.js.map +0 -1
- package/dist/tooltipMessage-B_xMIKWL.mjs +0 -7
- package/dist/tooltipMessage-B_xMIKWL.mjs.map +0 -1
- package/dist/types.d.mts +0 -3
- package/dist/types.mjs +0 -6
- package/dist/urls-BQW5wjg-.js +0 -13
- package/dist/urls-BQW5wjg-.js.map +0 -1
- package/dist/urls-DT7FVEcS.mjs +0 -7
- package/dist/urls-DT7FVEcS.mjs.map +0 -1
- package/dist/version-B9s8yne-.js +0 -300
- package/dist/version-B9s8yne-.js.map +0 -1
- package/dist/version-DP1kU_7v.mjs +0 -162
- package/dist/version-DP1kU_7v.mjs.map +0 -1
- package/recce-source/.editorconfig +0 -26
- package/recce-source/.flake8 +0 -37
- package/recce-source/.github/ISSUE_TEMPLATE/bug_report.yml +0 -67
- package/recce-source/.github/ISSUE_TEMPLATE/custom.md +0 -10
- package/recce-source/.github/ISSUE_TEMPLATE/feature_request.yml +0 -42
- package/recce-source/.github/PULL_REQUEST_TEMPLATE.md +0 -21
- package/recce-source/.github/copilot-instructions.md +0 -331
- package/recce-source/.github/instructions/backend-instructions.md +0 -541
- package/recce-source/.github/instructions/frontend-instructions.md +0 -317
- package/recce-source/.github/workflows/build-statics.yaml +0 -72
- package/recce-source/.github/workflows/bump.yaml +0 -48
- package/recce-source/.github/workflows/integration-tests-cloud.yaml +0 -92
- package/recce-source/.github/workflows/integration-tests-sqlmesh.yaml +0 -33
- package/recce-source/.github/workflows/integration-tests.yaml +0 -52
- package/recce-source/.github/workflows/nightly.yaml +0 -246
- package/recce-source/.github/workflows/release.yaml +0 -196
- package/recce-source/.github/workflows/tests-js.yaml +0 -58
- package/recce-source/.github/workflows/tests-python.yaml +0 -128
- package/recce-source/.pre-commit-config.yaml +0 -26
- package/recce-source/CLAUDE.md +0 -483
- package/recce-source/CODE_OF_CONDUCT.md +0 -128
- package/recce-source/CONTRIBUTING.md +0 -107
- package/recce-source/LICENSE +0 -201
- package/recce-source/Makefile +0 -126
- package/recce-source/README.md +0 -182
- package/recce-source/RECCE_CLOUD.md +0 -81
- package/recce-source/SECURITY.md +0 -25
- package/recce-source/docs/PACKAGING.md +0 -340
- package/recce-source/docs/README.md +0 -1
- package/recce-source/docs/plans/2024-12-31-csv-download-design.md +0 -121
- package/recce-source/docs/plans/2024-12-31-csv-download-implementation.md +0 -930
- package/recce-source/integration_tests/dbt/dbt_project.yml +0 -26
- package/recce-source/integration_tests/dbt/models/customers.sql +0 -69
- package/recce-source/integration_tests/dbt/models/docs.md +0 -14
- package/recce-source/integration_tests/dbt/models/orders.sql +0 -56
- package/recce-source/integration_tests/dbt/models/schema.yml +0 -82
- package/recce-source/integration_tests/dbt/models/staging/schema.yml +0 -31
- package/recce-source/integration_tests/dbt/models/staging/stg_customers.sql +0 -22
- package/recce-source/integration_tests/dbt/models/staging/stg_orders.sql +0 -23
- package/recce-source/integration_tests/dbt/models/staging/stg_payments.sql +0 -25
- package/recce-source/integration_tests/dbt/packages.yml +0 -7
- package/recce-source/integration_tests/dbt/profiles.yml +0 -8
- package/recce-source/integration_tests/dbt/seeds/raw_customers.csv +0 -101
- package/recce-source/integration_tests/dbt/seeds/raw_orders.csv +0 -100
- package/recce-source/integration_tests/dbt/seeds/raw_payments.csv +0 -114
- package/recce-source/integration_tests/dbt/seeds/raw_statuses.csv +0 -5
- package/recce-source/integration_tests/dbt/smoke_test.sh +0 -72
- package/recce-source/integration_tests/dbt/smoke_test_cloud.sh +0 -71
- package/recce-source/integration_tests/sqlmesh/__init__.py +0 -0
- package/recce-source/integration_tests/sqlmesh/audits/assert_item_price_above_zero.sql +0 -9
- package/recce-source/integration_tests/sqlmesh/audits/items.sql +0 -7
- package/recce-source/integration_tests/sqlmesh/audits/order_items.sql +0 -7
- package/recce-source/integration_tests/sqlmesh/config.py +0 -171
- package/recce-source/integration_tests/sqlmesh/helper.py +0 -20
- package/recce-source/integration_tests/sqlmesh/hooks/__init__.py +0 -0
- package/recce-source/integration_tests/sqlmesh/macros/__init__.py +0 -0
- package/recce-source/integration_tests/sqlmesh/macros/macros.py +0 -8
- package/recce-source/integration_tests/sqlmesh/macros/macros.sql +0 -8
- package/recce-source/integration_tests/sqlmesh/macros/utils.py +0 -11
- package/recce-source/integration_tests/sqlmesh/metrics/metrics.sql +0 -25
- package/recce-source/integration_tests/sqlmesh/models/customer_revenue_by_day.sql +0 -41
- package/recce-source/integration_tests/sqlmesh/models/customer_revenue_lifetime.sql +0 -60
- package/recce-source/integration_tests/sqlmesh/models/customers.sql +0 -32
- package/recce-source/integration_tests/sqlmesh/models/items.py +0 -95
- package/recce-source/integration_tests/sqlmesh/models/marketing.sql +0 -15
- package/recce-source/integration_tests/sqlmesh/models/order_items.py +0 -95
- package/recce-source/integration_tests/sqlmesh/models/orders.py +0 -70
- package/recce-source/integration_tests/sqlmesh/models/raw_marketing.py +0 -62
- package/recce-source/integration_tests/sqlmesh/models/top_waiters.sql +0 -23
- package/recce-source/integration_tests/sqlmesh/models/waiter_as_customer_by_day.sql +0 -29
- package/recce-source/integration_tests/sqlmesh/models/waiter_names.sql +0 -10
- package/recce-source/integration_tests/sqlmesh/models/waiter_revenue_by_day.sql +0 -29
- package/recce-source/integration_tests/sqlmesh/models/waiters.py +0 -62
- package/recce-source/integration_tests/sqlmesh/prep_env.sh +0 -16
- package/recce-source/integration_tests/sqlmesh/schema.yaml +0 -5
- package/recce-source/integration_tests/sqlmesh/seeds/waiter_names.csv +0 -11
- package/recce-source/integration_tests/sqlmesh/test_server.sh +0 -29
- package/recce-source/integration_tests/sqlmesh/tests/test_customer_revenue_by_day.yaml +0 -63
- package/recce-source/integration_tests/sqlmesh/tests/test_order_items.yaml +0 -72
- package/recce-source/js/.editorconfig +0 -27
- package/recce-source/js/.env.development +0 -5
- package/recce-source/js/.husky/pre-commit +0 -29
- package/recce-source/js/.nvmrc +0 -1
- package/recce-source/js/README.md +0 -39
- package/recce-source/js/app/(mainComponents)/DisplayModeToggle.tsx +0 -65
- package/recce-source/js/app/(mainComponents)/NavBar.tsx +0 -228
- package/recce-source/js/app/(mainComponents)/RecceVersionBadge.tsx +0 -107
- package/recce-source/js/app/(mainComponents)/TopBar.tsx +0 -252
- package/recce-source/js/app/@lineage/default.tsx +0 -20
- package/recce-source/js/app/@lineage/page.tsx +0 -14
- package/recce-source/js/app/MainLayout.tsx +0 -170
- package/recce-source/js/app/Providers.tsx +0 -49
- package/recce-source/js/app/checks/page.tsx +0 -296
- package/recce-source/js/app/error.tsx +0 -93
- package/recce-source/js/app/favicon.ico +0 -0
- package/recce-source/js/app/global-error.tsx +0 -115
- package/recce-source/js/app/global.css +0 -82
- package/recce-source/js/app/layout.tsx +0 -48
- package/recce-source/js/app/lineage/page.tsx +0 -15
- package/recce-source/js/app/page.tsx +0 -12
- package/recce-source/js/app/query/page.tsx +0 -8
- package/recce-source/js/biome.json +0 -313
- package/recce-source/js/jest.config.js +0 -34
- package/recce-source/js/jest.globals.d.ts +0 -32
- package/recce-source/js/jest.setup.js +0 -91
- package/recce-source/js/next.config.js +0 -16
- package/recce-source/js/package-lock.json +0 -13843
- package/recce-source/js/package.json +0 -123
- package/recce-source/js/pnpm-lock.yaml +0 -9235
- package/recce-source/js/pnpm-workspace.yaml +0 -6
- package/recce-source/js/postcss.config.js +0 -5
- package/recce-source/js/public/auth_callback.html +0 -68
- package/recce-source/js/public/imgs/feedback/thumbs-down.png +0 -0
- package/recce-source/js/public/imgs/feedback/thumbs-up.png +0 -0
- package/recce-source/js/public/imgs/reload-image.svg +0 -4
- package/recce-source/js/public/logo/recce-logo-white.png +0 -0
- package/recce-source/js/src/components/AuthModal/AuthModal.tsx +0 -202
- package/recce-source/js/src/components/app/AvatarDropdown.tsx +0 -159
- package/recce-source/js/src/components/app/EnvInfo.tsx +0 -357
- package/recce-source/js/src/components/app/Filename.tsx +0 -388
- package/recce-source/js/src/components/app/SetupConnectionPopover.tsx +0 -91
- package/recce-source/js/src/components/app/StateExporter.tsx +0 -57
- package/recce-source/js/src/components/app/StateImporter.tsx +0 -198
- package/recce-source/js/src/components/app/StateSharing.tsx +0 -145
- package/recce-source/js/src/components/app/StateSynchronizer.tsx +0 -205
- package/recce-source/js/src/components/charts/HistogramChart.tsx +0 -291
- package/recce-source/js/src/components/charts/SquareIcon.tsx +0 -51
- package/recce-source/js/src/components/charts/TopKSummaryList.tsx +0 -457
- package/recce-source/js/src/components/charts/chartTheme.ts +0 -74
- package/recce-source/js/src/components/check/CheckBreadcrumb.tsx +0 -97
- package/recce-source/js/src/components/check/CheckDescription.tsx +0 -134
- package/recce-source/js/src/components/check/CheckDetail.tsx +0 -797
- package/recce-source/js/src/components/check/CheckEmptyState.tsx +0 -84
- package/recce-source/js/src/components/check/CheckList.tsx +0 -320
- package/recce-source/js/src/components/check/LineageDiffView.tsx +0 -32
- package/recce-source/js/src/components/check/PresetCheckTemplateView.tsx +0 -48
- package/recce-source/js/src/components/check/SchemaDiffView.tsx +0 -290
- package/recce-source/js/src/components/check/check.ts +0 -25
- package/recce-source/js/src/components/check/timeline/CheckTimeline.tsx +0 -163
- package/recce-source/js/src/components/check/timeline/CommentInput.tsx +0 -84
- package/recce-source/js/src/components/check/timeline/TimelineEvent.tsx +0 -468
- package/recce-source/js/src/components/check/timeline/index.ts +0 -12
- package/recce-source/js/src/components/check/utils.ts +0 -12
- package/recce-source/js/src/components/data-grid/ScreenshotDataGrid.tsx +0 -333
- package/recce-source/js/src/components/data-grid/agGridStyles.css +0 -55
- package/recce-source/js/src/components/data-grid/agGridTheme.ts +0 -43
- package/recce-source/js/src/components/editor/CodeEditor.tsx +0 -107
- package/recce-source/js/src/components/editor/DiffEditor.tsx +0 -162
- package/recce-source/js/src/components/editor/index.ts +0 -12
- package/recce-source/js/src/components/errorboundary/ErrorBoundary.tsx +0 -87
- package/recce-source/js/src/components/histogram/HistogramDiffForm.tsx +0 -147
- package/recce-source/js/src/components/histogram/HistogramDiffResultView.tsx +0 -63
- package/recce-source/js/src/components/icons/index.tsx +0 -142
- package/recce-source/js/src/components/lineage/ActionControl.tsx +0 -63
- package/recce-source/js/src/components/lineage/ActionTag.tsx +0 -141
- package/recce-source/js/src/components/lineage/ChangeStatusLegend.tsx +0 -46
- package/recce-source/js/src/components/lineage/ColumnLevelLineageControl.tsx +0 -327
- package/recce-source/js/src/components/lineage/ColumnLevelLineageLegend.tsx +0 -57
- package/recce-source/js/src/components/lineage/GraphColumnNode.tsx +0 -199
- package/recce-source/js/src/components/lineage/GraphEdge.tsx +0 -59
- package/recce-source/js/src/components/lineage/GraphNode.tsx +0 -555
- package/recce-source/js/src/components/lineage/LineagePage.tsx +0 -10
- package/recce-source/js/src/components/lineage/LineageView.tsx +0 -1384
- package/recce-source/js/src/components/lineage/LineageViewContext.tsx +0 -86
- package/recce-source/js/src/components/lineage/LineageViewContextMenu.tsx +0 -637
- package/recce-source/js/src/components/lineage/LineageViewNotification.tsx +0 -64
- package/recce-source/js/src/components/lineage/LineageViewTopBar.tsx +0 -596
- package/recce-source/js/src/components/lineage/NodeSqlView.tsx +0 -136
- package/recce-source/js/src/components/lineage/NodeTag.tsx +0 -278
- package/recce-source/js/src/components/lineage/NodeView.tsx +0 -642
- package/recce-source/js/src/components/lineage/SandboxView.tsx +0 -436
- package/recce-source/js/src/components/lineage/ServerDisconnectedModalContent.tsx +0 -105
- package/recce-source/js/src/components/lineage/SetupConnectionBanner.tsx +0 -52
- package/recce-source/js/src/components/lineage/SingleEnvironmentQueryView.tsx +0 -152
- package/recce-source/js/src/components/lineage/graph.test.ts +0 -31
- package/recce-source/js/src/components/lineage/graph.ts +0 -58
- package/recce-source/js/src/components/lineage/lineage.test.ts +0 -169
- package/recce-source/js/src/components/lineage/lineage.ts +0 -521
- package/recce-source/js/src/components/lineage/styles.css +0 -42
- package/recce-source/js/src/components/lineage/styles.tsx +0 -165
- package/recce-source/js/src/components/lineage/useMultiNodesAction.ts +0 -352
- package/recce-source/js/src/components/lineage/useValueDiffAlertDialog.tsx +0 -108
- package/recce-source/js/src/components/onboarding-guide/Notification.tsx +0 -62
- package/recce-source/js/src/components/profile/ProfileDiffForm.tsx +0 -134
- package/recce-source/js/src/components/profile/ProfileDiffResultView.tsx +0 -243
- package/recce-source/js/src/components/query/ChangedOnlyCheckbox.tsx +0 -29
- package/recce-source/js/src/components/query/DiffText.tsx +0 -120
- package/recce-source/js/src/components/query/QueryDiffResultView.tsx +0 -468
- package/recce-source/js/src/components/query/QueryForm.tsx +0 -80
- package/recce-source/js/src/components/query/QueryPage.tsx +0 -282
- package/recce-source/js/src/components/query/QueryResultView.tsx +0 -180
- package/recce-source/js/src/components/query/SetupConnectionGuide.tsx +0 -57
- package/recce-source/js/src/components/query/SqlEditor.tsx +0 -245
- package/recce-source/js/src/components/query/ToggleSwitch.tsx +0 -84
- package/recce-source/js/src/components/query/styles.css +0 -21
- package/recce-source/js/src/components/routing/DirectUrlAccess.test.tsx +0 -428
- package/recce-source/js/src/components/routing/LineageStatePreservation.test.tsx +0 -311
- package/recce-source/js/src/components/routing/Navigation.test.tsx +0 -256
- package/recce-source/js/src/components/rowcount/RowCountDiffResultView.tsx +0 -108
- package/recce-source/js/src/components/rowcount/delta.test.ts +0 -51
- package/recce-source/js/src/components/rowcount/delta.ts +0 -16
- package/recce-source/js/src/components/run/RunList.tsx +0 -303
- package/recce-source/js/src/components/run/RunModal.tsx +0 -191
- package/recce-source/js/src/components/run/RunPage.tsx +0 -26
- package/recce-source/js/src/components/run/RunResultPane.tsx +0 -578
- package/recce-source/js/src/components/run/RunStatusAndDate.tsx +0 -106
- package/recce-source/js/src/components/run/RunToolbar.tsx +0 -70
- package/recce-source/js/src/components/run/RunView.tsx +0 -196
- package/recce-source/js/src/components/run/registry.ts +0 -214
- package/recce-source/js/src/components/run/types.ts +0 -14
- package/recce-source/js/src/components/schema/ColumnNameCell.test.tsx +0 -169
- package/recce-source/js/src/components/schema/ColumnNameCell.tsx +0 -198
- package/recce-source/js/src/components/schema/SchemaView.tsx +0 -336
- package/recce-source/js/src/components/schema/schemaDiff.ts +0 -32
- package/recce-source/js/src/components/schema/style.css +0 -134
- package/recce-source/js/src/components/screenshot/ScreenshotBox.tsx +0 -39
- package/recce-source/js/src/components/shared/HistoryToggle.tsx +0 -35
- package/recce-source/js/src/components/split/Split.tsx +0 -40
- package/recce-source/js/src/components/split/styles.css +0 -24
- package/recce-source/js/src/components/summary/ChangeSummary.tsx +0 -264
- package/recce-source/js/src/components/summary/SchemaSummary.tsx +0 -123
- package/recce-source/js/src/components/summary/SummaryView.tsx +0 -29
- package/recce-source/js/src/components/timeout/IdleTimeoutBadge.tsx +0 -48
- package/recce-source/js/src/components/top-k/TopKDiffForm.tsx +0 -58
- package/recce-source/js/src/components/top-k/TopKDiffResultView.tsx +0 -73
- package/recce-source/js/src/components/ui/dataGrid/DataFrameColumnGroupHeader.tsx +0 -228
- package/recce-source/js/src/components/ui/dataGrid/DataFrameColumnHeader.tsx +0 -113
- package/recce-source/js/src/components/ui/dataGrid/defaultRenderCell.tsx +0 -72
- package/recce-source/js/src/components/ui/dataGrid/index.ts +0 -23
- package/recce-source/js/src/components/ui/dataGrid/inlineRenderCell.test.tsx +0 -607
- package/recce-source/js/src/components/ui/dataGrid/inlineRenderCell.tsx +0 -211
- package/recce-source/js/src/components/ui/dataGrid/schemaCells.test.tsx +0 -452
- package/recce-source/js/src/components/ui/dataGrid/schemaCells.tsx +0 -142
- package/recce-source/js/src/components/ui/dataGrid/valueDiffCells.test.tsx +0 -178
- package/recce-source/js/src/components/ui/dataGrid/valueDiffCells.tsx +0 -275
- package/recce-source/js/src/components/ui/markdown/ExternalLinkConfirmDialog.tsx +0 -134
- package/recce-source/js/src/components/ui/markdown/MarkdownContent.tsx +0 -364
- package/recce-source/js/src/components/ui/mui/index.ts +0 -13
- package/recce-source/js/src/components/ui/mui-provider.tsx +0 -67
- package/recce-source/js/src/components/ui/mui-theme.ts +0 -1039
- package/recce-source/js/src/components/ui/mui-utils.ts +0 -113
- package/recce-source/js/src/components/ui/toaster.tsx +0 -288
- package/recce-source/js/src/components/valuediff/ValueDiffDetailResultView.tsx +0 -216
- package/recce-source/js/src/components/valuediff/ValueDiffForm.tsx +0 -246
- package/recce-source/js/src/components/valuediff/ValueDiffResultView.tsx +0 -81
- package/recce-source/js/src/components/valuediff/shared.ts +0 -33
- package/recce-source/js/src/constants/tooltipMessage.ts +0 -3
- package/recce-source/js/src/constants/urls.ts +0 -1
- package/recce-source/js/src/lib/UrlHash.ts +0 -12
- package/recce-source/js/src/lib/api/adhocQuery.ts +0 -70
- package/recce-source/js/src/lib/api/axiosClient.ts +0 -9
- package/recce-source/js/src/lib/api/cacheKeys.ts +0 -13
- package/recce-source/js/src/lib/api/checkEvents.ts +0 -252
- package/recce-source/js/src/lib/api/checks.ts +0 -129
- package/recce-source/js/src/lib/api/cll.ts +0 -53
- package/recce-source/js/src/lib/api/connectToCloud.ts +0 -13
- package/recce-source/js/src/lib/api/flag.ts +0 -37
- package/recce-source/js/src/lib/api/info.ts +0 -198
- package/recce-source/js/src/lib/api/instanceInfo.ts +0 -25
- package/recce-source/js/src/lib/api/keepAlive.ts +0 -108
- package/recce-source/js/src/lib/api/lineagecheck.ts +0 -35
- package/recce-source/js/src/lib/api/localStorageKeys.ts +0 -7
- package/recce-source/js/src/lib/api/models.ts +0 -59
- package/recce-source/js/src/lib/api/profile.ts +0 -65
- package/recce-source/js/src/lib/api/rowcount.ts +0 -19
- package/recce-source/js/src/lib/api/runs.ts +0 -174
- package/recce-source/js/src/lib/api/schemacheck.ts +0 -31
- package/recce-source/js/src/lib/api/select.ts +0 -25
- package/recce-source/js/src/lib/api/sessionStorageKeys.ts +0 -8
- package/recce-source/js/src/lib/api/state.ts +0 -117
- package/recce-source/js/src/lib/api/track.ts +0 -281
- package/recce-source/js/src/lib/api/types.ts +0 -284
- package/recce-source/js/src/lib/api/user.ts +0 -42
- package/recce-source/js/src/lib/api/valuediff.ts +0 -46
- package/recce-source/js/src/lib/api/version.ts +0 -40
- package/recce-source/js/src/lib/const.ts +0 -9
- package/recce-source/js/src/lib/csv/extractors.test.ts +0 -456
- package/recce-source/js/src/lib/csv/extractors.ts +0 -468
- package/recce-source/js/src/lib/csv/format.test.ts +0 -211
- package/recce-source/js/src/lib/csv/format.ts +0 -44
- package/recce-source/js/src/lib/csv/index.test.ts +0 -155
- package/recce-source/js/src/lib/csv/index.ts +0 -109
- package/recce-source/js/src/lib/dataGrid/crossFunctionConsistency.test.ts +0 -626
- package/recce-source/js/src/lib/dataGrid/dataGridFactory.test.ts +0 -2140
- package/recce-source/js/src/lib/dataGrid/dataGridFactory.ts +0 -397
- package/recce-source/js/src/lib/dataGrid/generators/rowCountUtils.test.ts +0 -132
- package/recce-source/js/src/lib/dataGrid/generators/rowCountUtils.ts +0 -126
- package/recce-source/js/src/lib/dataGrid/generators/toDataDiffGrid.test.ts +0 -1627
- package/recce-source/js/src/lib/dataGrid/generators/toDataDiffGrid.ts +0 -140
- package/recce-source/js/src/lib/dataGrid/generators/toDataGrid.ts +0 -67
- package/recce-source/js/src/lib/dataGrid/generators/toRowCountDataGrid.test.ts +0 -142
- package/recce-source/js/src/lib/dataGrid/generators/toRowCountDataGrid.ts +0 -71
- package/recce-source/js/src/lib/dataGrid/generators/toRowCountDiffDataGrid.test.ts +0 -258
- package/recce-source/js/src/lib/dataGrid/generators/toRowCountDiffDataGrid.ts +0 -153
- package/recce-source/js/src/lib/dataGrid/generators/toSchemaDataGrid.test.ts +0 -951
- package/recce-source/js/src/lib/dataGrid/generators/toSchemaDataGrid.ts +0 -221
- package/recce-source/js/src/lib/dataGrid/generators/toValueDataGrid.test.ts +0 -395
- package/recce-source/js/src/lib/dataGrid/generators/toValueDataGrid.ts +0 -184
- package/recce-source/js/src/lib/dataGrid/generators/toValueDiffGrid.test.ts +0 -884
- package/recce-source/js/src/lib/dataGrid/generators/toValueDiffGrid.ts +0 -113
- package/recce-source/js/src/lib/dataGrid/index.ts +0 -51
- package/recce-source/js/src/lib/dataGrid/propertyBased.test.ts +0 -858
- package/recce-source/js/src/lib/dataGrid/shared/columnBuilders.test.ts +0 -482
- package/recce-source/js/src/lib/dataGrid/shared/columnBuilders.ts +0 -345
- package/recce-source/js/src/lib/dataGrid/shared/dataTypeEdgeCases.test.ts +0 -698
- package/recce-source/js/src/lib/dataGrid/shared/diffColumnBuilder.test.tsx +0 -820
- package/recce-source/js/src/lib/dataGrid/shared/diffColumnBuilder.tsx +0 -277
- package/recce-source/js/src/lib/dataGrid/shared/gridUtils.test.ts +0 -785
- package/recce-source/js/src/lib/dataGrid/shared/gridUtils.ts +0 -370
- package/recce-source/js/src/lib/dataGrid/shared/index.ts +0 -81
- package/recce-source/js/src/lib/dataGrid/shared/rowBuilders.test.ts +0 -909
- package/recce-source/js/src/lib/dataGrid/shared/rowBuilders.ts +0 -325
- package/recce-source/js/src/lib/dataGrid/shared/simpleColumnBuilder.tsx +0 -240
- package/recce-source/js/src/lib/dataGrid/shared/toDiffColumn.test.tsx +0 -719
- package/recce-source/js/src/lib/dataGrid/shared/toDiffColumn.tsx +0 -231
- package/recce-source/js/src/lib/dataGrid/shared/validation.test.ts +0 -559
- package/recce-source/js/src/lib/dataGrid/shared/validation.ts +0 -367
- package/recce-source/js/src/lib/dataGrid/warehouseNamingConventions.test.ts +0 -1117
- package/recce-source/js/src/lib/formatSelect.ts +0 -50
- package/recce-source/js/src/lib/hooks/ApiConfigContext.tsx +0 -181
- package/recce-source/js/src/lib/hooks/IdleTimeoutContext.tsx +0 -177
- package/recce-source/js/src/lib/hooks/LineageGraphContext.tsx +0 -512
- package/recce-source/js/src/lib/hooks/RecceActionContext.tsx +0 -269
- package/recce-source/js/src/lib/hooks/RecceCheckContext.tsx +0 -33
- package/recce-source/js/src/lib/hooks/RecceContextProvider.tsx +0 -54
- package/recce-source/js/src/lib/hooks/RecceInstanceContext.tsx +0 -129
- package/recce-source/js/src/lib/hooks/RecceQueryContext.tsx +0 -98
- package/recce-source/js/src/lib/hooks/RecceShareStateContext.tsx +0 -59
- package/recce-source/js/src/lib/hooks/ScreenShot.tsx +0 -399
- package/recce-source/js/src/lib/hooks/useAppRouter.test.ts +0 -211
- package/recce-source/js/src/lib/hooks/useAppRouter.ts +0 -200
- package/recce-source/js/src/lib/hooks/useCSVExport.ts +0 -136
- package/recce-source/js/src/lib/hooks/useCheckEvents.ts +0 -99
- package/recce-source/js/src/lib/hooks/useCheckToast.tsx +0 -14
- package/recce-source/js/src/lib/hooks/useClipBoardToast.tsx +0 -27
- package/recce-source/js/src/lib/hooks/useCountdownToast.tsx +0 -102
- package/recce-source/js/src/lib/hooks/useFeedbackCollectionToast.tsx +0 -130
- package/recce-source/js/src/lib/hooks/useGuideToast.tsx +0 -45
- package/recce-source/js/src/lib/hooks/useIdleDetection.tsx +0 -185
- package/recce-source/js/src/lib/hooks/useModelColumns.tsx +0 -113
- package/recce-source/js/src/lib/hooks/useRecceInstanceInfo.tsx +0 -13
- package/recce-source/js/src/lib/hooks/useRecceServerFlag.tsx +0 -13
- package/recce-source/js/src/lib/hooks/useRun.tsx +0 -89
- package/recce-source/js/src/lib/hooks/useThemeColors.ts +0 -115
- package/recce-source/js/src/lib/mergeKeys.test.ts +0 -89
- package/recce-source/js/src/lib/mergeKeys.ts +0 -86
- package/recce-source/js/src/lib/result/ResultErrorFallback.tsx +0 -9
- package/recce-source/js/src/lib/utils/formatTime.ts +0 -84
- package/recce-source/js/src/lib/utils/urls.ts +0 -16
- package/recce-source/js/src/utils/DropdownValuesInput.tsx +0 -297
- package/recce-source/js/src/utils/formatters.tsx +0 -237
- package/recce-source/js/src/utils/transforms.ts +0 -81
- package/recce-source/js/tsconfig.json +0 -47
- package/recce-source/macros/README.md +0 -8
- package/recce-source/macros/recce_athena.sql +0 -73
- package/recce-source/pyproject.toml +0 -109
- package/recce-source/recce/VERSION +0 -1
- package/recce-source/recce/__init__.py +0 -84
- package/recce-source/recce/adapter/__init__.py +0 -0
- package/recce-source/recce/adapter/base.py +0 -109
- package/recce-source/recce/adapter/dbt_adapter/__init__.py +0 -1699
- package/recce-source/recce/adapter/dbt_adapter/dbt_version.py +0 -42
- package/recce-source/recce/adapter/sqlmesh_adapter.py +0 -141
- package/recce-source/recce/apis/__init__.py +0 -0
- package/recce-source/recce/apis/check_api.py +0 -203
- package/recce-source/recce/apis/check_events_api.py +0 -353
- package/recce-source/recce/apis/check_func.py +0 -130
- package/recce-source/recce/apis/run_api.py +0 -130
- package/recce-source/recce/apis/run_func.py +0 -258
- package/recce-source/recce/artifact.py +0 -266
- package/recce-source/recce/cli.py +0 -1846
- package/recce-source/recce/config.py +0 -127
- package/recce-source/recce/connect_to_cloud.py +0 -138
- package/recce-source/recce/core.py +0 -334
- package/recce-source/recce/diff.py +0 -26
- package/recce-source/recce/event/CONFIG +0 -1
- package/recce-source/recce/event/SENTRY_DNS +0 -1
- package/recce-source/recce/event/__init__.py +0 -304
- package/recce-source/recce/event/collector.py +0 -184
- package/recce-source/recce/event/track.py +0 -158
- package/recce-source/recce/exceptions.py +0 -21
- package/recce-source/recce/git.py +0 -77
- package/recce-source/recce/github.py +0 -222
- package/recce-source/recce/mcp_server.py +0 -885
- package/recce-source/recce/models/__init__.py +0 -6
- package/recce-source/recce/models/check.py +0 -481
- package/recce-source/recce/models/run.py +0 -46
- package/recce-source/recce/models/types.py +0 -218
- package/recce-source/recce/pull_request.py +0 -124
- package/recce-source/recce/run.py +0 -390
- package/recce-source/recce/server.py +0 -877
- package/recce-source/recce/state/__init__.py +0 -31
- package/recce-source/recce/state/cloud.py +0 -644
- package/recce-source/recce/state/const.py +0 -26
- package/recce-source/recce/state/local.py +0 -56
- package/recce-source/recce/state/state.py +0 -119
- package/recce-source/recce/state/state_loader.py +0 -174
- package/recce-source/recce/summary.py +0 -575
- package/recce-source/recce/tasks/__init__.py +0 -23
- package/recce-source/recce/tasks/core.py +0 -134
- package/recce-source/recce/tasks/dataframe.py +0 -170
- package/recce-source/recce/tasks/histogram.py +0 -433
- package/recce-source/recce/tasks/lineage.py +0 -19
- package/recce-source/recce/tasks/profile.py +0 -298
- package/recce-source/recce/tasks/query.py +0 -450
- package/recce-source/recce/tasks/rowcount.py +0 -277
- package/recce-source/recce/tasks/schema.py +0 -65
- package/recce-source/recce/tasks/top_k.py +0 -172
- package/recce-source/recce/tasks/utils.py +0 -147
- package/recce-source/recce/tasks/valuediff.py +0 -497
- package/recce-source/recce/util/__init__.py +0 -4
- package/recce-source/recce/util/api_token.py +0 -80
- package/recce-source/recce/util/breaking.py +0 -330
- package/recce-source/recce/util/cache.py +0 -25
- package/recce-source/recce/util/cll.py +0 -355
- package/recce-source/recce/util/cloud/__init__.py +0 -15
- package/recce-source/recce/util/cloud/base.py +0 -115
- package/recce-source/recce/util/cloud/check_events.py +0 -190
- package/recce-source/recce/util/cloud/checks.py +0 -242
- package/recce-source/recce/util/io.py +0 -120
- package/recce-source/recce/util/lineage.py +0 -83
- package/recce-source/recce/util/logger.py +0 -25
- package/recce-source/recce/util/onboarding_state.py +0 -45
- package/recce-source/recce/util/perf_tracking.py +0 -85
- package/recce-source/recce/util/pydantic_model.py +0 -22
- package/recce-source/recce/util/recce_cloud.py +0 -454
- package/recce-source/recce/util/singleton.py +0 -18
- package/recce-source/recce/util/startup_perf.py +0 -121
- package/recce-source/recce/yaml/__init__.py +0 -58
- package/recce-source/recce_cloud/README.md +0 -780
- package/recce-source/recce_cloud/VERSION +0 -1
- package/recce-source/recce_cloud/__init__.py +0 -24
- package/recce-source/recce_cloud/api/__init__.py +0 -17
- package/recce-source/recce_cloud/api/base.py +0 -132
- package/recce-source/recce_cloud/api/client.py +0 -186
- package/recce-source/recce_cloud/api/exceptions.py +0 -26
- package/recce-source/recce_cloud/api/factory.py +0 -63
- package/recce-source/recce_cloud/api/github.py +0 -106
- package/recce-source/recce_cloud/api/gitlab.py +0 -111
- package/recce-source/recce_cloud/artifact.py +0 -57
- package/recce-source/recce_cloud/ci_providers/__init__.py +0 -9
- package/recce-source/recce_cloud/ci_providers/base.py +0 -82
- package/recce-source/recce_cloud/ci_providers/detector.py +0 -147
- package/recce-source/recce_cloud/ci_providers/github_actions.py +0 -136
- package/recce-source/recce_cloud/ci_providers/gitlab_ci.py +0 -130
- package/recce-source/recce_cloud/cli.py +0 -434
- package/recce-source/recce_cloud/download.py +0 -230
- package/recce-source/recce_cloud/hatch_build.py +0 -20
- package/recce-source/recce_cloud/pyproject.toml +0 -49
- package/recce-source/recce_cloud/upload.py +0 -214
- package/recce-source/test.py +0 -0
- package/recce-source/tests/__init__.py +0 -0
- package/recce-source/tests/adapter/__init__.py +0 -0
- package/recce-source/tests/adapter/dbt_adapter/__init__.py +0 -0
- package/recce-source/tests/adapter/dbt_adapter/conftest.py +0 -17
- package/recce-source/tests/adapter/dbt_adapter/dbt_test_helper.py +0 -298
- package/recce-source/tests/adapter/dbt_adapter/test_dbt_adapter.py +0 -25
- package/recce-source/tests/adapter/dbt_adapter/test_dbt_cll.py +0 -717
- package/recce-source/tests/adapter/dbt_adapter/test_proj/dbt_project.yml +0 -4
- package/recce-source/tests/adapter/dbt_adapter/test_proj/manifest.json +0 -1
- package/recce-source/tests/adapter/dbt_adapter/test_proj/package-lock.yml +0 -8
- package/recce-source/tests/adapter/dbt_adapter/test_proj/packages.yml +0 -7
- package/recce-source/tests/adapter/dbt_adapter/test_proj/profiles.yml +0 -6
- package/recce-source/tests/adapter/dbt_adapter/test_selector.py +0 -205
- package/recce-source/tests/apis/__init__.py +0 -0
- package/recce-source/tests/apis/row_count_diff.json +0 -59
- package/recce-source/tests/apis/test_check_events_api.py +0 -615
- package/recce-source/tests/apis/test_run_func.py +0 -433
- package/recce-source/tests/catalog.json +0 -527
- package/recce-source/tests/data/manifest/base/catalog.json +0 -1
- package/recce-source/tests/data/manifest/base/manifest.json +0 -1
- package/recce-source/tests/data/manifest/pr2/catalog.json +0 -1
- package/recce-source/tests/data/manifest/pr2/manifest.json +0 -1
- package/recce-source/tests/manifest.json +0 -10655
- package/recce-source/tests/models/__init__.py +0 -0
- package/recce-source/tests/models/test_check.py +0 -731
- package/recce-source/tests/models/test_run_models.py +0 -295
- package/recce-source/tests/recce_cloud/__init__.py +0 -0
- package/recce-source/tests/recce_cloud/test_ci_providers.py +0 -351
- package/recce-source/tests/recce_cloud/test_cli.py +0 -735
- package/recce-source/tests/recce_cloud/test_client.py +0 -379
- package/recce-source/tests/recce_cloud/test_platform_clients.py +0 -483
- package/recce-source/tests/recce_state.json +0 -1
- package/recce-source/tests/state/test_cloud.py +0 -719
- package/recce-source/tests/state/test_local.py +0 -164
- package/recce-source/tests/state/test_state_loader.py +0 -211
- package/recce-source/tests/tasks/__init__.py +0 -0
- package/recce-source/tests/tasks/conftest.py +0 -4
- package/recce-source/tests/tasks/test_histogram.py +0 -129
- package/recce-source/tests/tasks/test_lineage.py +0 -55
- package/recce-source/tests/tasks/test_preset_checks.py +0 -64
- package/recce-source/tests/tasks/test_profile.py +0 -397
- package/recce-source/tests/tasks/test_query.py +0 -528
- package/recce-source/tests/tasks/test_row_count.py +0 -133
- package/recce-source/tests/tasks/test_schema.py +0 -122
- package/recce-source/tests/tasks/test_top_k.py +0 -77
- package/recce-source/tests/tasks/test_utils.py +0 -439
- package/recce-source/tests/tasks/test_valuediff.py +0 -361
- package/recce-source/tests/test_cli.py +0 -236
- package/recce-source/tests/test_cli_mcp_optional.py +0 -45
- package/recce-source/tests/test_cloud_listing_cli.py +0 -324
- package/recce-source/tests/test_config.py +0 -43
- package/recce-source/tests/test_connect_to_cloud.py +0 -82
- package/recce-source/tests/test_core.py +0 -174
- package/recce-source/tests/test_dbt.py +0 -36
- package/recce-source/tests/test_mcp_server.py +0 -505
- package/recce-source/tests/test_pull_request.py +0 -130
- package/recce-source/tests/test_server.py +0 -202
- package/recce-source/tests/test_server_lifespan.py +0 -138
- package/recce-source/tests/test_summary.py +0 -73
- package/recce-source/tests/util/__init__.py +0 -0
- package/recce-source/tests/util/cloud/__init__.py +0 -0
- package/recce-source/tests/util/cloud/test_check_events.py +0 -255
- package/recce-source/tests/util/cloud/test_checks.py +0 -204
- package/recce-source/tests/util/test_api_token.py +0 -119
- package/recce-source/tests/util/test_breaking.py +0 -1427
- package/recce-source/tests/util/test_cll.py +0 -706
- package/recce-source/tests/util/test_lineage.py +0 -122
- package/recce-source/tests/util/test_onboarding_state.py +0 -84
- package/recce-source/tests/util/test_recce_cloud.py +0 -231
- package/recce-source/tox.ini +0 -40
- package/recce-source/uv.lock +0 -3928
- package/src/api/index.ts +0 -32
- package/src/components/index.ts +0 -154
- package/src/global.d.ts +0 -14
- package/src/hooks/index.ts +0 -56
- package/src/index.ts +0 -17
- package/src/lib/hooks/RouteConfigContext.ts +0 -139
- package/src/lib/hooks/useAppRouter.ts +0 -240
- package/src/mui-augmentation.d.ts +0 -139
- package/src/theme/index.ts +0 -13
- package/src/theme.ts +0 -23
- package/src/types/index.ts +0 -23
|
@@ -0,0 +1,1079 @@
|
|
|
1
|
+
|
|
2
|
+
import { C as Run, Gt as RowObjectType, J as ValueDiffDetailViewOptions, X as ValueDiffResult, Y as ValueDiffParams, dt as ProfileDiffViewOptions, ft as TopKDiffParams, ht as TopKViewOptions, it as RowCountResult, l as Check, nt as RowCountDiffResult, on as NodeData, ot as HistogramDiffParams, pt as TopKDiffResult, rn as ManifestMetadata, st as HistogramDiffResult, ut as ProfileDiffResult, wt as QueryViewOptions, yt as QueryDiffViewOptions } from "./flag-CiR2E5oz.js";
|
|
3
|
+
import { i as LineageGraph } from "./types-CZre3j02.js";
|
|
4
|
+
import { nt as CheckActionType, p as SchemaDiffRow$1, q as CheckDetailTab, tt as CheckAction } from "./SplitPane-B-BLxZaQ.js";
|
|
5
|
+
import { o as RunFormProps } from "./types-CFbNxrx2.js";
|
|
6
|
+
import { r as DataGridHandle } from "./ScreenshotDataGrid-BfxYUThx.js";
|
|
7
|
+
import { n as CreatedResultViewProps } from "./index-CiPcALu4.js";
|
|
8
|
+
import { m as Check$1 } from "./index-Ba3hp2Ng.js";
|
|
9
|
+
import "@tanstack/react-query";
|
|
10
|
+
import * as React$2 from "react";
|
|
11
|
+
import React$1, { ComponentType, Dispatch, ForwardRefExoticComponent, PropsWithChildren, ReactNode, Ref, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
12
|
+
import * as react_jsx_runtime60 from "react/jsx-runtime";
|
|
13
|
+
import { BoxProps } from "@mui/material/Box";
|
|
14
|
+
import "@mui/material/styles";
|
|
15
|
+
import { EdgeProps } from "@xyflow/react";
|
|
16
|
+
import "@xyflow/react/dist/style.css";
|
|
17
|
+
import { ColDef, ColGroupDef, ICellRendererParams } from "ag-grid-community";
|
|
18
|
+
import { FallbackRender } from "@sentry/react";
|
|
19
|
+
|
|
20
|
+
//#region src/components/app/EnvInfo.d.ts
|
|
21
|
+
declare function EnvInfo(): react_jsx_runtime60.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/app/MainLayout.d.ts
|
|
24
|
+
interface MainLayoutProps {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
/** Parallel route slot from @lineage */
|
|
27
|
+
lineage: ReactNode;
|
|
28
|
+
}
|
|
29
|
+
declare function MainLayout({
|
|
30
|
+
children,
|
|
31
|
+
lineage
|
|
32
|
+
}: MainLayoutProps): react_jsx_runtime60.JSX.Element;
|
|
33
|
+
interface MainProps {
|
|
34
|
+
children: ReactNode;
|
|
35
|
+
lineage: ReactNode;
|
|
36
|
+
isLineageRoute: boolean;
|
|
37
|
+
/** Disable internal history panel (RunListOss) - cloud uses its own */
|
|
38
|
+
disableInternalHistory?: boolean;
|
|
39
|
+
}
|
|
40
|
+
declare function Main({
|
|
41
|
+
children,
|
|
42
|
+
lineage,
|
|
43
|
+
isLineageRoute,
|
|
44
|
+
disableInternalHistory
|
|
45
|
+
}: MainProps): react_jsx_runtime60.JSX.Element;
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/components/check/CheckDetailOss.d.ts
|
|
48
|
+
interface CheckDetailProps {
|
|
49
|
+
checkId: string;
|
|
50
|
+
refreshCheckList?: () => void;
|
|
51
|
+
}
|
|
52
|
+
declare function CheckDetailOss({
|
|
53
|
+
checkId,
|
|
54
|
+
refreshCheckList
|
|
55
|
+
}: CheckDetailProps): ReactNode;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/components/check/CheckEmptyStateOss.d.ts
|
|
58
|
+
declare const CheckEmptyStateOss: () => react_jsx_runtime60.JSX.Element;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/check/CheckListOss.d.ts
|
|
61
|
+
declare const CheckListOss: ({
|
|
62
|
+
checks,
|
|
63
|
+
selectedItem,
|
|
64
|
+
onCheckSelected,
|
|
65
|
+
onChecksReordered
|
|
66
|
+
}: {
|
|
67
|
+
checks: Check[];
|
|
68
|
+
selectedItem: string | null;
|
|
69
|
+
onCheckSelected: (checkId: string) => void;
|
|
70
|
+
onChecksReordered: (source: number, destination: number) => void;
|
|
71
|
+
}) => react_jsx_runtime60.JSX.Element;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/components/check/CheckPageContentOss.d.ts
|
|
74
|
+
declare const CheckPageContentOss: () => ReactNode;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/components/check/CheckPageLoadingOss.d.ts
|
|
77
|
+
/**
|
|
78
|
+
* Loading fallback - shows minimal UI while search params are being read
|
|
79
|
+
*/
|
|
80
|
+
declare const CheckPageLoadingOss: () => ReactNode;
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/components/errorboundary/ErrorBoundary.d.ts
|
|
83
|
+
declare const ErrorBoundary: ({
|
|
84
|
+
children,
|
|
85
|
+
fallback
|
|
86
|
+
}: {
|
|
87
|
+
children: ReactNode;
|
|
88
|
+
fallback?: React$2.ReactElement | FallbackRender | undefined;
|
|
89
|
+
}) => react_jsx_runtime60.JSX.Element;
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/components/histogram/HistogramDiffForm.d.ts
|
|
92
|
+
/**
|
|
93
|
+
* Check if a column type supports histogram diff
|
|
94
|
+
* Returns true for numeric types (excludes string, boolean, and datetime)
|
|
95
|
+
*/
|
|
96
|
+
declare function supportsHistogramDiff(columnType: string): boolean;
|
|
97
|
+
type HistogramDiffEditProps = RunFormProps<HistogramDiffParams>;
|
|
98
|
+
/**
|
|
99
|
+
* Form component for configuring histogram diff parameters
|
|
100
|
+
*
|
|
101
|
+
* Displays a dropdown to select a column for histogram diff comparison.
|
|
102
|
+
* Only numeric columns are shown (string, boolean, and datetime types are filtered out).
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```tsx
|
|
106
|
+
* <HistogramDiffForm
|
|
107
|
+
* params={{ model: "orders", column_name: "" }}
|
|
108
|
+
* onParamsChanged={(params) => setParams(params)}
|
|
109
|
+
* setIsReadyToExecute={(ready) => setReady(ready)}
|
|
110
|
+
* />
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
declare function HistogramDiffForm({
|
|
114
|
+
params,
|
|
115
|
+
onParamsChanged,
|
|
116
|
+
setIsReadyToExecute
|
|
117
|
+
}: HistogramDiffEditProps): react_jsx_runtime60.JSX.Element;
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/components/histogram/HistogramResultView.d.ts
|
|
120
|
+
/**
|
|
121
|
+
* Run type with histogram_diff result
|
|
122
|
+
*/
|
|
123
|
+
type HistogramDiffRun = Run & {
|
|
124
|
+
type: "histogram_diff";
|
|
125
|
+
params?: HistogramDiffParams;
|
|
126
|
+
result?: HistogramDiffResult;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Props for HistogramDiffResultView component
|
|
130
|
+
*/
|
|
131
|
+
interface HistogramResultViewProps extends CreatedResultViewProps<unknown> {
|
|
132
|
+
run: HistogramDiffRun | unknown;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Result view for histogram diff comparison between base and current environments
|
|
136
|
+
*
|
|
137
|
+
* Displays a chart comparing histogram distributions between base and current.
|
|
138
|
+
* The chart title shows the model and column name.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* ```tsx
|
|
142
|
+
* <HistogramDiffResultView run={histogramDiffRun} ref={boxRef} />
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
declare const HistogramDiffResultView: ForwardRefExoticComponent<HistogramResultViewProps & RefAttributes<HTMLDivElement>>;
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/lib/dataGrid/generators/toSchemaDataGrid.d.ts
|
|
148
|
+
interface SchemaDiffRow extends RowObjectType {
|
|
149
|
+
name: string;
|
|
150
|
+
reordered?: boolean;
|
|
151
|
+
currentIndex?: number;
|
|
152
|
+
baseIndex?: number;
|
|
153
|
+
currentType?: string;
|
|
154
|
+
baseType?: string;
|
|
155
|
+
}
|
|
156
|
+
interface SchemaRow extends RowObjectType {
|
|
157
|
+
name: string;
|
|
158
|
+
index: number;
|
|
159
|
+
type?: string;
|
|
160
|
+
}
|
|
161
|
+
type SchemaDiff = Record<string, SchemaDiffRow>;
|
|
162
|
+
interface SchemaDataGridOptions {
|
|
163
|
+
/** Node data for context menu actions */
|
|
164
|
+
node?: NodeData;
|
|
165
|
+
/** Map of column names to CLL loading state */
|
|
166
|
+
cllRunningMap?: Map<string, boolean>;
|
|
167
|
+
/** Whether to show the column action menu (default: true) */
|
|
168
|
+
showMenu?: boolean;
|
|
169
|
+
}
|
|
170
|
+
interface SchemaDataGridResult {
|
|
171
|
+
columns: (ColDef<SchemaDiffRow> | ColGroupDef<SchemaDiffRow>)[];
|
|
172
|
+
rows: SchemaDiffRow[];
|
|
173
|
+
}
|
|
174
|
+
interface SingleEnvSchemaDataGridResult {
|
|
175
|
+
columns: (ColDef<SchemaRow> | ColGroupDef<SchemaRow>)[];
|
|
176
|
+
rows: SchemaRow[];
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Merges base and current column schemas into a diff structure
|
|
180
|
+
*/
|
|
181
|
+
declare function mergeColumns(baseColumns?: NodeData["columns"], currentColumns?: NodeData["columns"]): SchemaDiff;
|
|
182
|
+
/**
|
|
183
|
+
* Generates grid configuration for schema diff view
|
|
184
|
+
* Uses merged columns: Index (merged base/current), Name, Type (merged with badges)
|
|
185
|
+
*/
|
|
186
|
+
declare function toSchemaDataGrid(schemaDiff: SchemaDiff, options?: SchemaDataGridOptions): SchemaDataGridResult;
|
|
187
|
+
/**
|
|
188
|
+
* Generates grid configuration for single-environment schema view
|
|
189
|
+
*/
|
|
190
|
+
declare function toSingleEnvDataGrid(nodeColumns?: NodeData["columns"], options?: SchemaDataGridOptions): SingleEnvSchemaDataGridResult;
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region src/providers/contexts/ThemeContext.d.ts
|
|
193
|
+
/**
|
|
194
|
+
* Theme mode selection for {@link ThemeProvider}.
|
|
195
|
+
*/
|
|
196
|
+
type ThemeMode = "light" | "dark" | "system";
|
|
197
|
+
/**
|
|
198
|
+
* Theme context values exposed by {@link useRecceTheme}.
|
|
199
|
+
*/
|
|
200
|
+
interface ThemeContextValue {
|
|
201
|
+
mode: ThemeMode;
|
|
202
|
+
resolvedMode: "light" | "dark";
|
|
203
|
+
setMode: (mode: ThemeMode) => void;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Access the theme context.
|
|
207
|
+
*
|
|
208
|
+
* @throws Error if used outside {@link RecceProvider}.
|
|
209
|
+
*/
|
|
210
|
+
declare function useRecceTheme(): ThemeContextValue;
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/index.d.ts
|
|
213
|
+
declare const VERSION = "0.2.0";
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region src/components/lineage/LineagePageOss.d.ts
|
|
216
|
+
declare function LineagePageOss(): react_jsx_runtime60.JSX.Element;
|
|
217
|
+
//#endregion
|
|
218
|
+
//#region src/components/lineage/styles.d.ts
|
|
219
|
+
/**
|
|
220
|
+
* Icon component type
|
|
221
|
+
*/
|
|
222
|
+
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
|
|
223
|
+
//#endregion
|
|
224
|
+
//#region src/components/notifications/LineageViewNotification.d.ts
|
|
225
|
+
interface NotificationProps {
|
|
226
|
+
notification?: React$1.ReactNode;
|
|
227
|
+
type: "info" | "success" | "warning" | "error";
|
|
228
|
+
}
|
|
229
|
+
declare function LineageViewNotification({
|
|
230
|
+
notification,
|
|
231
|
+
type
|
|
232
|
+
}: NotificationProps): react_jsx_runtime60.JSX.Element | null;
|
|
233
|
+
//#endregion
|
|
234
|
+
//#region src/components/onboarding-guide/Notification.d.ts
|
|
235
|
+
declare const RecceNotification: (props: PropsWithChildren<{
|
|
236
|
+
onClose: () => void;
|
|
237
|
+
align?: string;
|
|
238
|
+
}>) => react_jsx_runtime60.JSX.Element;
|
|
239
|
+
declare const LearnHowLink: () => react_jsx_runtime60.JSX.Element;
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region src/components/profile/ProfileDiffForm.d.ts
|
|
242
|
+
interface ProfileDiffFormParams {
|
|
243
|
+
model: string;
|
|
244
|
+
primary_key?: string | (string | undefined)[];
|
|
245
|
+
columns?: string[];
|
|
246
|
+
}
|
|
247
|
+
type ProfileDiffFormProp = RunFormProps<ProfileDiffFormParams>;
|
|
248
|
+
declare function ProfileDiffForm({
|
|
249
|
+
params,
|
|
250
|
+
onParamsChanged,
|
|
251
|
+
setIsReadyToExecute
|
|
252
|
+
}: ProfileDiffFormProp): react_jsx_runtime60.JSX.Element;
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region src/components/profile/ProfileResultView.d.ts
|
|
255
|
+
/**
|
|
256
|
+
* Run type with profile result (single environment)
|
|
257
|
+
*/
|
|
258
|
+
type ProfileRun = Run & {
|
|
259
|
+
type: "profile";
|
|
260
|
+
result?: ProfileDiffResult;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Run type with profile_diff result
|
|
264
|
+
*/
|
|
265
|
+
type ProfileDiffRun = Run & {
|
|
266
|
+
type: "profile_diff";
|
|
267
|
+
result?: ProfileDiffResult;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Props for ProfileResultView components
|
|
271
|
+
*/
|
|
272
|
+
interface ProfileResultViewProps extends CreatedResultViewProps<ProfileDiffViewOptions> {
|
|
273
|
+
run: ProfileRun | ProfileDiffRun | unknown;
|
|
274
|
+
/**
|
|
275
|
+
* Optional header element to render above the grid.
|
|
276
|
+
* Use this to inject OSS-specific controls like RunToolbar.
|
|
277
|
+
*/
|
|
278
|
+
header?: ReactNode;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Result view for single environment profile stats
|
|
282
|
+
*
|
|
283
|
+
* Displays a grid with column metrics (count, distinct, null proportion, etc.)
|
|
284
|
+
* for a single dbt model.
|
|
285
|
+
*
|
|
286
|
+
* @example
|
|
287
|
+
* ```tsx
|
|
288
|
+
* <ProfileResultView run={profileRun} ref={gridRef} />
|
|
289
|
+
* ```
|
|
290
|
+
*/
|
|
291
|
+
declare const ProfileResultView: React$2.ForwardRefExoticComponent<Omit<CreatedResultViewProps<ProfileDiffViewOptions>, "ref"> & React$2.RefAttributes<DataGridHandle>>;
|
|
292
|
+
/**
|
|
293
|
+
* Result view for comparing profile stats between base and current environments
|
|
294
|
+
*
|
|
295
|
+
* Displays a grid with column metrics from both environments,
|
|
296
|
+
* styled to highlight differences.
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
* ```tsx
|
|
300
|
+
* <ProfileDiffResultView
|
|
301
|
+
* run={profileDiffRun}
|
|
302
|
+
* ref={gridRef}
|
|
303
|
+
* viewOptions={{ display_mode: "inline" }}
|
|
304
|
+
* onViewOptionsChanged={setViewOptions}
|
|
305
|
+
* />
|
|
306
|
+
* ```
|
|
307
|
+
*/
|
|
308
|
+
declare const ProfileDiffResultView: React$2.ForwardRefExoticComponent<Omit<CreatedResultViewProps<ProfileDiffViewOptions>, "ref"> & React$2.RefAttributes<DataGridHandle>>;
|
|
309
|
+
//#endregion
|
|
310
|
+
//#region src/components/query/QueryDiffResultView.d.ts
|
|
311
|
+
type QueryDiffRun = Extract<Run, {
|
|
312
|
+
type: "query_diff";
|
|
313
|
+
}>;
|
|
314
|
+
/**
|
|
315
|
+
* Props for QueryDiffResultView component
|
|
316
|
+
*/
|
|
317
|
+
interface QueryDiffResultViewProps extends CreatedResultViewProps<QueryDiffViewOptions> {
|
|
318
|
+
run: QueryDiffRun | unknown;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* QueryDiffResultView component - displays query diff results in a data grid.
|
|
322
|
+
*
|
|
323
|
+
* Handles both JOIN and non-JOIN modes:
|
|
324
|
+
* - JOIN mode: Server computes the diff, result has `run.result.diff`
|
|
325
|
+
* - Non-JOIN mode: Client-side diff, result has `run.result.base` and `run.result.current`
|
|
326
|
+
*
|
|
327
|
+
* Key differences between modes:
|
|
328
|
+
* - Primary key handling: only in non-JOIN mode (server handles it in JOIN mode)
|
|
329
|
+
* - Warning sources: `diff.limit/more` vs `current.limit/more || base.more`
|
|
330
|
+
* - "No change" empty state: only in JOIN mode with changedOnly=true
|
|
331
|
+
*
|
|
332
|
+
* Features:
|
|
333
|
+
* - Displays row-level diff data with changed highlighting
|
|
334
|
+
* - "Changed only" filter to show only differing rows
|
|
335
|
+
* - Side-by-side vs inline display mode toggle
|
|
336
|
+
* - Column pinning support
|
|
337
|
+
* - Primary key selection (non-JOIN mode)
|
|
338
|
+
* - Warning for truncated results
|
|
339
|
+
* - Warning for non-unique primary keys (non-JOIN mode)
|
|
340
|
+
*
|
|
341
|
+
* @example
|
|
342
|
+
* ```tsx
|
|
343
|
+
* <QueryDiffResultView
|
|
344
|
+
* run={queryDiffRun}
|
|
345
|
+
* viewOptions={{ changed_only: true, display_mode: 'inline' }}
|
|
346
|
+
* onViewOptionsChanged={setViewOptions}
|
|
347
|
+
* />
|
|
348
|
+
* ```
|
|
349
|
+
*/
|
|
350
|
+
declare const QueryDiffResultView: ForwardRefExoticComponent<QueryDiffResultViewProps & RefAttributes<DataGridHandle>>;
|
|
351
|
+
//#endregion
|
|
352
|
+
//#region src/components/query/QueryForm.d.ts
|
|
353
|
+
interface QueryFormProps extends BoxProps {
|
|
354
|
+
defaultPrimaryKeys: string[] | undefined;
|
|
355
|
+
onPrimaryKeysChange: (primaryKeys: string[]) => void;
|
|
356
|
+
}
|
|
357
|
+
declare const QueryForm$1: ({
|
|
358
|
+
defaultPrimaryKeys,
|
|
359
|
+
onPrimaryKeysChange,
|
|
360
|
+
...props
|
|
361
|
+
}: QueryFormProps) => react_jsx_runtime60.JSX.Element;
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region src/components/query/QueryPageOss.d.ts
|
|
364
|
+
declare const QueryPageOss: () => react_jsx_runtime60.JSX.Element;
|
|
365
|
+
//#endregion
|
|
366
|
+
//#region src/components/query/QueryResultView.d.ts
|
|
367
|
+
type QueryRun = Extract<Run, {
|
|
368
|
+
type: "query";
|
|
369
|
+
}>;
|
|
370
|
+
type QueryBaseRun = Extract<Run, {
|
|
371
|
+
type: "query_base";
|
|
372
|
+
}>;
|
|
373
|
+
/**
|
|
374
|
+
* Props for QueryResultView component
|
|
375
|
+
*/
|
|
376
|
+
interface QueryResultViewProps extends CreatedResultViewProps<QueryViewOptions> {
|
|
377
|
+
run: QueryRun | QueryBaseRun | unknown;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* QueryResultView component - displays query results in a data grid.
|
|
381
|
+
*
|
|
382
|
+
* Features:
|
|
383
|
+
* - Displays query results with column pinning support
|
|
384
|
+
* - Shows amber warning when results are truncated (limit exceeded)
|
|
385
|
+
* - Optional "Add to Checklist" button in toolbar
|
|
386
|
+
* - Supports both "query" and "query_base" run types
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* ```tsx
|
|
390
|
+
* <QueryResultView
|
|
391
|
+
* run={queryRun}
|
|
392
|
+
* viewOptions={{ pinned_columns: ['id'] }}
|
|
393
|
+
* onViewOptionsChanged={setViewOptions}
|
|
394
|
+
* onAddToChecklist={(run) => addToChecklist(run)}
|
|
395
|
+
* />
|
|
396
|
+
* ```
|
|
397
|
+
*/
|
|
398
|
+
declare const QueryResultView: ForwardRefExoticComponent<QueryResultViewProps & RefAttributes<DataGridHandle>>;
|
|
399
|
+
//#endregion
|
|
400
|
+
//#region src/components/query/SetupConnectionGuide.d.ts
|
|
401
|
+
interface SetupConnectionGuideProps {
|
|
402
|
+
/** URL for the support calendar booking (e.g., "https://cal.com/team/recce/chat") */
|
|
403
|
+
supportCalendarUrl?: string;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* SetupConnectionGuide - displays guidance when data warehouse connection is not configured
|
|
407
|
+
*
|
|
408
|
+
* This component shows a guide to help users connect to a data warehouse
|
|
409
|
+
* when query functions are disabled due to missing connection.
|
|
410
|
+
*/
|
|
411
|
+
declare function SetupConnectionGuide({
|
|
412
|
+
supportCalendarUrl
|
|
413
|
+
}: SetupConnectionGuideProps): react_jsx_runtime60.JSX.Element;
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region src/components/query/SqlEditor.d.ts
|
|
416
|
+
interface SqlEditorProps {
|
|
417
|
+
language?: string;
|
|
418
|
+
theme?: string;
|
|
419
|
+
value: string;
|
|
420
|
+
baseValue?: string;
|
|
421
|
+
onChange?: (value: string) => void;
|
|
422
|
+
onChangeBase?: (value: string) => void;
|
|
423
|
+
onRun?: () => void;
|
|
424
|
+
onRunBase?: () => void;
|
|
425
|
+
onRunDiff?: () => void;
|
|
426
|
+
options?: {
|
|
427
|
+
readOnly?: boolean;
|
|
428
|
+
fontSize?: number;
|
|
429
|
+
lineNumbers?: "on" | "off";
|
|
430
|
+
wordWrap?: "on" | "off";
|
|
431
|
+
};
|
|
432
|
+
manifestData?: ManifestMetadata;
|
|
433
|
+
schemas?: string;
|
|
434
|
+
label?: string;
|
|
435
|
+
CustomEditor?: React$1.ReactNode;
|
|
436
|
+
}
|
|
437
|
+
interface DualSqlEditorProps extends SqlEditorProps {
|
|
438
|
+
labels?: [string, string];
|
|
439
|
+
SetupGuide?: React$1.ReactNode;
|
|
440
|
+
}
|
|
441
|
+
declare function SqlEditor({
|
|
442
|
+
value,
|
|
443
|
+
onChange,
|
|
444
|
+
onRun,
|
|
445
|
+
onRunBase,
|
|
446
|
+
onRunDiff,
|
|
447
|
+
label,
|
|
448
|
+
CustomEditor,
|
|
449
|
+
options,
|
|
450
|
+
manifestData,
|
|
451
|
+
schemas,
|
|
452
|
+
...props
|
|
453
|
+
}: SqlEditorProps): react_jsx_runtime60.JSX.Element;
|
|
454
|
+
declare function DualSqlEditor({
|
|
455
|
+
value,
|
|
456
|
+
baseValue,
|
|
457
|
+
onChange,
|
|
458
|
+
onChangeBase,
|
|
459
|
+
onRun,
|
|
460
|
+
onRunBase,
|
|
461
|
+
onRunDiff,
|
|
462
|
+
options,
|
|
463
|
+
labels,
|
|
464
|
+
SetupGuide,
|
|
465
|
+
...props
|
|
466
|
+
}: DualSqlEditorProps): react_jsx_runtime60.JSX.Element;
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region src/components/rowcount/RowCountResultView.d.ts
|
|
469
|
+
/**
|
|
470
|
+
* Run type with row_count result
|
|
471
|
+
*/
|
|
472
|
+
type RowCountRun = Run & {
|
|
473
|
+
type: "row_count";
|
|
474
|
+
result?: RowCountResult;
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* Run type with row_count_diff result
|
|
478
|
+
*/
|
|
479
|
+
type RowCountDiffRun = Run & {
|
|
480
|
+
type: "row_count_diff";
|
|
481
|
+
result?: RowCountDiffResult;
|
|
482
|
+
};
|
|
483
|
+
/**
|
|
484
|
+
* Props for RowCountResultView components
|
|
485
|
+
*/
|
|
486
|
+
interface RowCountResultViewProps extends CreatedResultViewProps<unknown> {
|
|
487
|
+
run: RowCountRun | RowCountDiffRun | unknown;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Result view for single environment row counts
|
|
491
|
+
*
|
|
492
|
+
* Displays a grid with model names and their row counts.
|
|
493
|
+
*
|
|
494
|
+
* @example
|
|
495
|
+
* ```tsx
|
|
496
|
+
* <RowCountResultView run={rowCountRun} ref={gridRef} />
|
|
497
|
+
* ```
|
|
498
|
+
*/
|
|
499
|
+
declare const RowCountResultView: ForwardRefExoticComponent<RowCountResultViewProps & RefAttributes<DataGridHandle>>;
|
|
500
|
+
/**
|
|
501
|
+
* Result view for comparing row counts between base and current environments
|
|
502
|
+
*
|
|
503
|
+
* Displays a grid with model names, base counts, current counts, and delta.
|
|
504
|
+
* Cells are styled to indicate added (green) or removed (red) rows.
|
|
505
|
+
*
|
|
506
|
+
* @example
|
|
507
|
+
* ```tsx
|
|
508
|
+
* <RowCountDiffResultView run={rowCountDiffRun} ref={gridRef} />
|
|
509
|
+
* ```
|
|
510
|
+
*/
|
|
511
|
+
declare const RowCountDiffResultView: ForwardRefExoticComponent<RowCountResultViewProps & RefAttributes<DataGridHandle>>;
|
|
512
|
+
//#endregion
|
|
513
|
+
//#region src/components/schema/ColumnNameCell.d.ts
|
|
514
|
+
/**
|
|
515
|
+
* Props for the ColumnNameCell component
|
|
516
|
+
*/
|
|
517
|
+
interface ColumnNameCellProps {
|
|
518
|
+
/** The model/node data containing column information */
|
|
519
|
+
model: NodeData;
|
|
520
|
+
/** The schema diff row data for this column */
|
|
521
|
+
row: SchemaDiffRow$1;
|
|
522
|
+
/** Whether viewing a single environment (disables diff menu) */
|
|
523
|
+
singleEnv?: boolean;
|
|
524
|
+
/** Whether column-level lineage is currently being computed */
|
|
525
|
+
cllRunning?: boolean;
|
|
526
|
+
/** Whether to show the context menu (defaults to true) */
|
|
527
|
+
showMenu?: boolean;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* ColumnNameCell - Renders a column name with optional diff action menu
|
|
531
|
+
*
|
|
532
|
+
* Displays the column name with:
|
|
533
|
+
* - A context menu for initiating diff operations (when applicable)
|
|
534
|
+
* - A loading spinner when column-level lineage is running
|
|
535
|
+
* - Tooltip indicating column lineage viewing capability
|
|
536
|
+
*
|
|
537
|
+
* The menu is hidden when:
|
|
538
|
+
* - showMenu is false
|
|
539
|
+
* - singleEnv is true (no comparison available)
|
|
540
|
+
* - The model is a source (sources don't support diff operations)
|
|
541
|
+
*/
|
|
542
|
+
declare function ColumnNameCell({
|
|
543
|
+
model,
|
|
544
|
+
row,
|
|
545
|
+
singleEnv,
|
|
546
|
+
cllRunning,
|
|
547
|
+
showMenu
|
|
548
|
+
}: ColumnNameCellProps): react_jsx_runtime60.JSX.Element;
|
|
549
|
+
//#endregion
|
|
550
|
+
//#region src/components/schema/SchemaView.d.ts
|
|
551
|
+
interface SchemaViewProps {
|
|
552
|
+
base?: NodeData;
|
|
553
|
+
current?: NodeData;
|
|
554
|
+
enableScreenshot?: boolean;
|
|
555
|
+
showMenu?: boolean;
|
|
556
|
+
}
|
|
557
|
+
declare const SchemaView$1: React$2.ForwardRefExoticComponent<SchemaViewProps & React$2.RefAttributes<DataGridHandle>>;
|
|
558
|
+
declare const SingleEnvSchemaView$1: React$2.ForwardRefExoticComponent<{
|
|
559
|
+
current?: NodeData;
|
|
560
|
+
showMenu?: boolean;
|
|
561
|
+
} & React$2.RefAttributes<DataGridHandle>>;
|
|
562
|
+
//#endregion
|
|
563
|
+
//#region src/components/shared/HistoryToggle.d.ts
|
|
564
|
+
declare function HistoryToggle(): ReactNode;
|
|
565
|
+
//#endregion
|
|
566
|
+
//#region src/components/summary/types.d.ts
|
|
567
|
+
/**
|
|
568
|
+
* Change status for nodes and columns in a lineage graph
|
|
569
|
+
*
|
|
570
|
+
* Node changes:
|
|
571
|
+
* - added: New resource added to the graph
|
|
572
|
+
* - removed: Resource removed from the graph
|
|
573
|
+
* - modified: Resource code was modified
|
|
574
|
+
*
|
|
575
|
+
* Column changes:
|
|
576
|
+
* - col_added: New column added to a node
|
|
577
|
+
* - col_removed: Column removed from a node
|
|
578
|
+
* - col_changed: Column type or definition changed
|
|
579
|
+
*
|
|
580
|
+
* Folder changes:
|
|
581
|
+
* - folder_changed: Files in a folder were modified
|
|
582
|
+
*
|
|
583
|
+
* null: No change detected
|
|
584
|
+
*/
|
|
585
|
+
type ChangeStatus = "added" | "removed" | "modified" | "col_added" | "col_removed" | "col_changed" | "folder_changed" | null;
|
|
586
|
+
/**
|
|
587
|
+
* Labels for each change status
|
|
588
|
+
* Format: [shortLabel, longLabel]
|
|
589
|
+
*/
|
|
590
|
+
declare const NODE_CHANGE_STATUS_MSGS: Record<NonNullable<ChangeStatus>, [string, string]>;
|
|
591
|
+
/**
|
|
592
|
+
* Props for the ChangeSummary component
|
|
593
|
+
*/
|
|
594
|
+
interface ChangeSummaryProps {
|
|
595
|
+
lineageGraph: LineageGraph;
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Result of calculating column changes between base and current
|
|
599
|
+
*/
|
|
600
|
+
interface ColumnChangeResult {
|
|
601
|
+
adds: number;
|
|
602
|
+
removes: number;
|
|
603
|
+
modifies: number;
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* Result of calculating all changes in a lineage graph
|
|
607
|
+
*/
|
|
608
|
+
interface ChangeSummaryResult {
|
|
609
|
+
adds: number;
|
|
610
|
+
removes: number;
|
|
611
|
+
modifies: number;
|
|
612
|
+
col_added: number;
|
|
613
|
+
col_removed: number;
|
|
614
|
+
col_changed: number;
|
|
615
|
+
}
|
|
616
|
+
//#endregion
|
|
617
|
+
//#region src/components/summary/ChangeSummary.d.ts
|
|
618
|
+
/**
|
|
619
|
+
* ChangeSummary component
|
|
620
|
+
*
|
|
621
|
+
* Displays a summary of all changes in a lineage graph, split into two sections:
|
|
622
|
+
* - Code Changes: Added, removed, and modified nodes
|
|
623
|
+
* - Column Changes: Added, removed, and modified columns
|
|
624
|
+
*
|
|
625
|
+
* @example
|
|
626
|
+
* ```tsx
|
|
627
|
+
* <ChangeSummary lineageGraph={lineageGraph} />
|
|
628
|
+
* ```
|
|
629
|
+
*/
|
|
630
|
+
declare function ChangeSummary({
|
|
631
|
+
lineageGraph
|
|
632
|
+
}: ChangeSummaryProps): react_jsx_runtime60.JSX.Element;
|
|
633
|
+
//#endregion
|
|
634
|
+
//#region src/components/summary/SchemaSummary.d.ts
|
|
635
|
+
interface SchemaSummaryProps {
|
|
636
|
+
lineageGraph: LineageGraph;
|
|
637
|
+
}
|
|
638
|
+
declare function SchemaSummary({
|
|
639
|
+
lineageGraph
|
|
640
|
+
}: SchemaSummaryProps): react_jsx_runtime60.JSX.Element;
|
|
641
|
+
//#endregion
|
|
642
|
+
//#region src/components/summary/utils.d.ts
|
|
643
|
+
/**
|
|
644
|
+
* Get icon and color for a given change status
|
|
645
|
+
*
|
|
646
|
+
* Maps change statuses to visual indicators (icons and colors) for
|
|
647
|
+
* consistent display across the UI.
|
|
648
|
+
*
|
|
649
|
+
* @param changeStatus - The change status to get icon for
|
|
650
|
+
* @returns Object with color and icon component
|
|
651
|
+
*/
|
|
652
|
+
declare function getIconForChangeStatus(changeStatus?: ChangeStatus): {
|
|
653
|
+
color: string;
|
|
654
|
+
icon: IconComponent | undefined;
|
|
655
|
+
};
|
|
656
|
+
/**
|
|
657
|
+
* Calculate column changes between base and current node data
|
|
658
|
+
*
|
|
659
|
+
* Compares the columns in base and current versions of a node to
|
|
660
|
+
* determine how many columns were added, removed, or modified.
|
|
661
|
+
*
|
|
662
|
+
* @param base - Base version node data
|
|
663
|
+
* @param current - Current version node data
|
|
664
|
+
* @returns Column change counts
|
|
665
|
+
*/
|
|
666
|
+
declare function calculateColumnChange(base: NodeData | undefined, current: NodeData | undefined): ColumnChangeResult;
|
|
667
|
+
/**
|
|
668
|
+
* Calculate all changes in a lineage graph
|
|
669
|
+
*
|
|
670
|
+
* Iterates through all modified nodes in the lineage graph and
|
|
671
|
+
* aggregates node-level and column-level changes.
|
|
672
|
+
*
|
|
673
|
+
* @param lineageGraph - The lineage graph to analyze
|
|
674
|
+
* @returns Aggregated change counts
|
|
675
|
+
*/
|
|
676
|
+
declare function calculateChangeSummary(lineageGraph: LineageGraph): ChangeSummaryResult;
|
|
677
|
+
//#endregion
|
|
678
|
+
//#region src/components/timeout/IdleTimeoutBadge.d.ts
|
|
679
|
+
/**
|
|
680
|
+
* Badge component that displays idle timeout warning countdown
|
|
681
|
+
* Only shows when remaining time is below the warning threshold
|
|
682
|
+
* Styled as a warning indicator to draw user attention
|
|
683
|
+
*/
|
|
684
|
+
declare function IdleTimeoutBadge(): react_jsx_runtime60.JSX.Element | null;
|
|
685
|
+
//#endregion
|
|
686
|
+
//#region src/components/top-k/TopKDiffForm.d.ts
|
|
687
|
+
type TopKDiffFormProps = RunFormProps<TopKDiffParams>;
|
|
688
|
+
declare function TopKDiffForm({
|
|
689
|
+
params,
|
|
690
|
+
onParamsChanged,
|
|
691
|
+
setIsReadyToExecute
|
|
692
|
+
}: TopKDiffFormProps): react_jsx_runtime60.JSX.Element;
|
|
693
|
+
//#endregion
|
|
694
|
+
//#region src/components/top-k/TopKDiffResultView.d.ts
|
|
695
|
+
/**
|
|
696
|
+
* Run type with top_k_diff result
|
|
697
|
+
*/
|
|
698
|
+
type TopKDiffRun = Run & {
|
|
699
|
+
type: "top_k_diff";
|
|
700
|
+
params?: TopKDiffParams;
|
|
701
|
+
result?: TopKDiffResult;
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* Props for TopKDiffResultView component
|
|
705
|
+
*/
|
|
706
|
+
interface TopKDiffResultViewProps extends CreatedResultViewProps<TopKViewOptions> {
|
|
707
|
+
run: TopKDiffRun | unknown;
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* TopKDiffResultView component - displays top-K value distribution comparison.
|
|
711
|
+
*
|
|
712
|
+
* Features:
|
|
713
|
+
* - Displays horizontal bar chart comparing base vs current top-K values
|
|
714
|
+
* - "View More Items" / "View Only Top-10" toggle when >10 items exist
|
|
715
|
+
* - Title shows model name and column name
|
|
716
|
+
* - Dark/light theme support
|
|
717
|
+
*
|
|
718
|
+
* @example
|
|
719
|
+
* ```tsx
|
|
720
|
+
* <TopKDiffResultView
|
|
721
|
+
* run={topKDiffRun}
|
|
722
|
+
* viewOptions={{ show_all: false }}
|
|
723
|
+
* onViewOptionsChanged={setViewOptions}
|
|
724
|
+
* />
|
|
725
|
+
* ```
|
|
726
|
+
*/
|
|
727
|
+
declare const TopKDiffResultView: ForwardRefExoticComponent<TopKDiffResultViewProps & RefAttributes<HTMLDivElement>>;
|
|
728
|
+
//#endregion
|
|
729
|
+
//#region src/components/ui/ChangedOnlyCheckbox.d.ts
|
|
730
|
+
interface ChangedOnlyCheckboxProps {
|
|
731
|
+
/** Whether the changed-only filter is enabled */
|
|
732
|
+
changedOnly?: boolean;
|
|
733
|
+
/** Callback when the checkbox state changes */
|
|
734
|
+
onChange: () => void;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* A checkbox component for filtering diff results to show only changed rows.
|
|
738
|
+
*
|
|
739
|
+
* @example
|
|
740
|
+
* ```tsx
|
|
741
|
+
* <ChangedOnlyCheckbox
|
|
742
|
+
* changedOnly={viewOptions.changed_only}
|
|
743
|
+
* onChange={() => setChangedOnly(!viewOptions.changed_only)}
|
|
744
|
+
* />
|
|
745
|
+
* ```
|
|
746
|
+
*/
|
|
747
|
+
declare function ChangedOnlyCheckbox({
|
|
748
|
+
changedOnly,
|
|
749
|
+
onChange
|
|
750
|
+
}: ChangedOnlyCheckboxProps): react_jsx_runtime60.JSX.Element;
|
|
751
|
+
//#endregion
|
|
752
|
+
//#region src/components/ui/DiffDisplayModeSwitch.d.ts
|
|
753
|
+
type DiffDisplayMode = "inline" | "side_by_side";
|
|
754
|
+
interface DiffDisplayModeSwitchProps {
|
|
755
|
+
/** Current display mode */
|
|
756
|
+
displayMode: DiffDisplayMode;
|
|
757
|
+
/** Callback when display mode changes */
|
|
758
|
+
onDisplayModeChanged: (displayMode: DiffDisplayMode) => void;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* A switch component for toggling between inline and side-by-side diff display modes.
|
|
762
|
+
*
|
|
763
|
+
* When in inline mode, also shows color legend (Base = red, Current = green).
|
|
764
|
+
*
|
|
765
|
+
* @example
|
|
766
|
+
* ```tsx
|
|
767
|
+
* <DiffDisplayModeSwitch
|
|
768
|
+
* displayMode="inline"
|
|
769
|
+
* onDisplayModeChanged={(mode) => setDisplayMode(mode)}
|
|
770
|
+
* />
|
|
771
|
+
* ```
|
|
772
|
+
*/
|
|
773
|
+
declare function DiffDisplayModeSwitch({
|
|
774
|
+
displayMode,
|
|
775
|
+
onDisplayModeChanged
|
|
776
|
+
}: DiffDisplayModeSwitchProps): react_jsx_runtime60.JSX.Element;
|
|
777
|
+
//#endregion
|
|
778
|
+
//#region src/components/ui/SquareIcon.d.ts
|
|
779
|
+
interface SquareIconProps {
|
|
780
|
+
/** The background color of the square icon */
|
|
781
|
+
color: string;
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* A small square icon used in chart legends
|
|
785
|
+
*/
|
|
786
|
+
declare function SquareIcon({
|
|
787
|
+
color
|
|
788
|
+
}: SquareIconProps): react_jsx_runtime60.JSX.Element;
|
|
789
|
+
//#endregion
|
|
790
|
+
//#region src/components/ui/ToggleSwitch.d.ts
|
|
791
|
+
interface ToggleSwitchProps {
|
|
792
|
+
/** Current toggle state */
|
|
793
|
+
value: boolean;
|
|
794
|
+
/** Callback when toggle state changes */
|
|
795
|
+
onChange: (value: boolean) => void;
|
|
796
|
+
/** Label for the "on" state */
|
|
797
|
+
textOn?: string;
|
|
798
|
+
/** Label for the "off" state */
|
|
799
|
+
textOff?: string;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* A toggle switch component that allows switching between two values.
|
|
803
|
+
*
|
|
804
|
+
* @example
|
|
805
|
+
* ```tsx
|
|
806
|
+
* <ToggleSwitch
|
|
807
|
+
* value={isEnabled}
|
|
808
|
+
* onChange={setIsEnabled}
|
|
809
|
+
* textOff="Inline"
|
|
810
|
+
* textOn="Side by side"
|
|
811
|
+
* />
|
|
812
|
+
* ```
|
|
813
|
+
*/
|
|
814
|
+
declare function ToggleSwitch({
|
|
815
|
+
value,
|
|
816
|
+
onChange,
|
|
817
|
+
textOn,
|
|
818
|
+
textOff
|
|
819
|
+
}: ToggleSwitchProps): react_jsx_runtime60.JSX.Element;
|
|
820
|
+
//#endregion
|
|
821
|
+
//#region src/components/valuediff/ValueDiffDetailResultView.d.ts
|
|
822
|
+
/**
|
|
823
|
+
* Run type with value_diff_detail result
|
|
824
|
+
*/
|
|
825
|
+
type ValueDiffDetailRun = Run & {
|
|
826
|
+
type: "value_diff_detail";
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* Props for ValueDiffDetailResultView component
|
|
830
|
+
*/
|
|
831
|
+
interface ValueDiffDetailResultViewProps extends CreatedResultViewProps<ValueDiffDetailViewOptions> {
|
|
832
|
+
run: ValueDiffDetailRun | unknown;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* ValueDiffDetailResultView component - displays value diff details in a data grid.
|
|
836
|
+
*
|
|
837
|
+
* Features:
|
|
838
|
+
* - Displays row-level diff data with changed highlighting
|
|
839
|
+
* - "Changed only" filter to show only differing rows
|
|
840
|
+
* - Side-by-side vs inline display mode toggle
|
|
841
|
+
* - Column pinning support
|
|
842
|
+
* - Shows amber warning when results are truncated
|
|
843
|
+
* - Toolbar-in-empty-state pattern: shows "No change" when changed_only=true but no changes
|
|
844
|
+
*
|
|
845
|
+
* @example
|
|
846
|
+
* ```tsx
|
|
847
|
+
* <ValueDiffDetailResultView
|
|
848
|
+
* run={valueDiffDetailRun}
|
|
849
|
+
* viewOptions={{ changed_only: true, display_mode: 'inline' }}
|
|
850
|
+
* onViewOptionsChanged={setViewOptions}
|
|
851
|
+
* />
|
|
852
|
+
* ```
|
|
853
|
+
*/
|
|
854
|
+
declare const ValueDiffDetailResultView: ForwardRefExoticComponent<ValueDiffDetailResultViewProps & RefAttributes<DataGridHandle>>;
|
|
855
|
+
//#endregion
|
|
856
|
+
//#region src/components/valuediff/ValueDiffForm.d.ts
|
|
857
|
+
interface ValueDiffFormParams {
|
|
858
|
+
model: string;
|
|
859
|
+
primary_key?: string | (string | undefined)[];
|
|
860
|
+
columns?: string[];
|
|
861
|
+
}
|
|
862
|
+
type ValueDiffFormProp = RunFormProps<ValueDiffFormParams>;
|
|
863
|
+
declare function ValueDiffForm({
|
|
864
|
+
params,
|
|
865
|
+
onParamsChanged,
|
|
866
|
+
setIsReadyToExecute
|
|
867
|
+
}: ValueDiffFormProp): react_jsx_runtime60.JSX.Element;
|
|
868
|
+
//#endregion
|
|
869
|
+
//#region src/components/valuediff/ValueDiffResultView.d.ts
|
|
870
|
+
/**
|
|
871
|
+
* Run type with value_diff result
|
|
872
|
+
*/
|
|
873
|
+
type ValueDiffRun = Run & {
|
|
874
|
+
type: "value_diff";
|
|
875
|
+
result?: ValueDiffResult;
|
|
876
|
+
params?: ValueDiffParams;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* Props for ValueDiffResultView component
|
|
880
|
+
*/
|
|
881
|
+
interface ValueDiffResultViewProps extends CreatedResultViewProps<unknown> {
|
|
882
|
+
run: ValueDiffRun | unknown;
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* ValueDiffResultView component - displays value diff summary in a data grid.
|
|
886
|
+
*
|
|
887
|
+
* Features:
|
|
888
|
+
* - Displays column-level match statistics
|
|
889
|
+
* - Summary header with model name and row counts (total, common, added, removed)
|
|
890
|
+
* - Highlights columns with match percentage < 100%
|
|
891
|
+
*
|
|
892
|
+
* @example
|
|
893
|
+
* ```tsx
|
|
894
|
+
* <ValueDiffResultView run={valueDiffRun} />
|
|
895
|
+
* ```
|
|
896
|
+
*/
|
|
897
|
+
declare const ValueDiffResultView: ForwardRefExoticComponent<ValueDiffResultViewProps & RefAttributes<DataGridHandle>>;
|
|
898
|
+
//#endregion
|
|
899
|
+
//#region src/components/views/ChecksView.d.ts
|
|
900
|
+
/**
|
|
901
|
+
* Props for the ChecksView component.
|
|
902
|
+
* Defines options for viewing and managing checks.
|
|
903
|
+
*/
|
|
904
|
+
interface ChecksViewProps {
|
|
905
|
+
/**
|
|
906
|
+
* Optional checks data. If not provided, uses CheckContext.
|
|
907
|
+
*/
|
|
908
|
+
checks?: Check$1[];
|
|
909
|
+
/**
|
|
910
|
+
* Loading state. If not provided, uses CheckContext.
|
|
911
|
+
*/
|
|
912
|
+
isLoading?: boolean;
|
|
913
|
+
/**
|
|
914
|
+
* Error message. If not provided, uses CheckContext.
|
|
915
|
+
*/
|
|
916
|
+
error?: string;
|
|
917
|
+
/**
|
|
918
|
+
* Currently selected check ID. If not provided, uses CheckContext.
|
|
919
|
+
*/
|
|
920
|
+
selectedCheckId?: string;
|
|
921
|
+
/**
|
|
922
|
+
* Callback when a check is selected. If not provided, uses CheckContext.
|
|
923
|
+
*/
|
|
924
|
+
onCheckSelect?: (checkId: string) => void;
|
|
925
|
+
/**
|
|
926
|
+
* Callback when check approval status changes.
|
|
927
|
+
*/
|
|
928
|
+
onApprovalChange?: (checkId: string, isApproved: boolean) => void;
|
|
929
|
+
/**
|
|
930
|
+
* Callback when a check action is triggered.
|
|
931
|
+
*/
|
|
932
|
+
onAction?: (checkId: string, actionType: CheckActionType) => void;
|
|
933
|
+
/**
|
|
934
|
+
* Callback when checks are reordered.
|
|
935
|
+
*/
|
|
936
|
+
onReorder?: (sourceIndex: number, destinationIndex: number) => void;
|
|
937
|
+
/**
|
|
938
|
+
* Callback when description changes.
|
|
939
|
+
*/
|
|
940
|
+
onDescriptionChange?: (checkId: string, description?: string) => void;
|
|
941
|
+
/**
|
|
942
|
+
* Callback when name changes.
|
|
943
|
+
*/
|
|
944
|
+
onNameChange?: (checkId: string, name: string) => void;
|
|
945
|
+
/**
|
|
946
|
+
* Callback when create is clicked (in empty state).
|
|
947
|
+
*/
|
|
948
|
+
onCreateCheck?: () => void;
|
|
949
|
+
/**
|
|
950
|
+
* Function to generate tabs for a check detail view.
|
|
951
|
+
*/
|
|
952
|
+
getCheckTabs?: (check: Check$1) => CheckDetailTab[];
|
|
953
|
+
/**
|
|
954
|
+
* Function to generate primary actions for a check.
|
|
955
|
+
*/
|
|
956
|
+
getPrimaryActions?: (check: Check$1) => CheckAction[];
|
|
957
|
+
/**
|
|
958
|
+
* Function to generate secondary actions for a check.
|
|
959
|
+
*/
|
|
960
|
+
getSecondaryActions?: (check: Check$1) => CheckAction[];
|
|
961
|
+
/**
|
|
962
|
+
* Whether approval is disabled for all checks.
|
|
963
|
+
*/
|
|
964
|
+
disableApproval?: boolean;
|
|
965
|
+
/**
|
|
966
|
+
* Tooltip for disabled approval.
|
|
967
|
+
*/
|
|
968
|
+
disabledApprovalTooltip?: string;
|
|
969
|
+
/**
|
|
970
|
+
* Optional height for the view.
|
|
971
|
+
* @default "100%"
|
|
972
|
+
*/
|
|
973
|
+
height?: number | string;
|
|
974
|
+
/**
|
|
975
|
+
* Initial split pane size (percentage for list).
|
|
976
|
+
* @default 30
|
|
977
|
+
*/
|
|
978
|
+
listPaneSize?: number;
|
|
979
|
+
/**
|
|
980
|
+
* Minimum list pane size in pixels.
|
|
981
|
+
* @default 200
|
|
982
|
+
*/
|
|
983
|
+
minListSize?: number;
|
|
984
|
+
/**
|
|
985
|
+
* Maximum list pane size in pixels.
|
|
986
|
+
* @default 500
|
|
987
|
+
*/
|
|
988
|
+
maxListSize?: number;
|
|
989
|
+
/**
|
|
990
|
+
* Title for the check list.
|
|
991
|
+
*/
|
|
992
|
+
listTitle?: string;
|
|
993
|
+
/**
|
|
994
|
+
* Optional CSS class name.
|
|
995
|
+
*/
|
|
996
|
+
className?: string;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* ChecksView Component
|
|
1000
|
+
*
|
|
1001
|
+
* A high-level component for viewing and managing checks using a
|
|
1002
|
+
* split-pane layout with a list on the left and details on the right.
|
|
1003
|
+
*
|
|
1004
|
+
* Can receive data from:
|
|
1005
|
+
* 1. CheckContext (wrap with CheckProvider)
|
|
1006
|
+
* 2. Direct props (pass checks, selectedCheckId, etc.)
|
|
1007
|
+
*
|
|
1008
|
+
* @example Using with context
|
|
1009
|
+
* ```tsx
|
|
1010
|
+
* import { CheckProvider, ChecksView } from '@datarecce/ui';
|
|
1011
|
+
*
|
|
1012
|
+
* function App() {
|
|
1013
|
+
* const { checks, isLoading } = useChecksQuery();
|
|
1014
|
+
* const [selectedId, setSelectedId] = useState<string>();
|
|
1015
|
+
*
|
|
1016
|
+
* return (
|
|
1017
|
+
* <CheckProvider
|
|
1018
|
+
* checks={checks}
|
|
1019
|
+
* isLoading={isLoading}
|
|
1020
|
+
* selectedCheckId={selectedId}
|
|
1021
|
+
* onSelectCheck={setSelectedId}
|
|
1022
|
+
* >
|
|
1023
|
+
* <ChecksView
|
|
1024
|
+
* getCheckTabs={(check) => [
|
|
1025
|
+
* { id: 'result', label: 'Result', content: <ResultView check={check} /> },
|
|
1026
|
+
* ]}
|
|
1027
|
+
* />
|
|
1028
|
+
* </CheckProvider>
|
|
1029
|
+
* );
|
|
1030
|
+
* }
|
|
1031
|
+
* ```
|
|
1032
|
+
*
|
|
1033
|
+
* @example Using with direct props
|
|
1034
|
+
* ```tsx
|
|
1035
|
+
* import { ChecksView } from '@datarecce/ui';
|
|
1036
|
+
*
|
|
1037
|
+
* function App({ checks, selectedId, onSelect }) {
|
|
1038
|
+
* return (
|
|
1039
|
+
* <ChecksView
|
|
1040
|
+
* checks={checks}
|
|
1041
|
+
* selectedCheckId={selectedId}
|
|
1042
|
+
* onCheckSelect={onSelect}
|
|
1043
|
+
* onApprovalChange={(id, approved) => updateCheck(id, { is_checked: approved })}
|
|
1044
|
+
* />
|
|
1045
|
+
* );
|
|
1046
|
+
* }
|
|
1047
|
+
* ```
|
|
1048
|
+
*/
|
|
1049
|
+
declare function ChecksViewComponent({
|
|
1050
|
+
checks: propChecks,
|
|
1051
|
+
isLoading: propIsLoading,
|
|
1052
|
+
error: propError,
|
|
1053
|
+
selectedCheckId: propSelectedCheckId,
|
|
1054
|
+
onCheckSelect: propOnCheckSelect,
|
|
1055
|
+
onApprovalChange,
|
|
1056
|
+
onAction,
|
|
1057
|
+
onReorder,
|
|
1058
|
+
onDescriptionChange,
|
|
1059
|
+
onNameChange,
|
|
1060
|
+
onCreateCheck,
|
|
1061
|
+
getCheckTabs,
|
|
1062
|
+
getPrimaryActions,
|
|
1063
|
+
getSecondaryActions,
|
|
1064
|
+
disableApproval,
|
|
1065
|
+
disabledApprovalTooltip,
|
|
1066
|
+
height,
|
|
1067
|
+
listPaneSize,
|
|
1068
|
+
minListSize,
|
|
1069
|
+
maxListSize,
|
|
1070
|
+
listTitle,
|
|
1071
|
+
className
|
|
1072
|
+
}: ChecksViewProps): react_jsx_runtime60.JSX.Element;
|
|
1073
|
+
/**
|
|
1074
|
+
* Memoized ChecksView component for performance optimization.
|
|
1075
|
+
*/
|
|
1076
|
+
declare const ChecksView: React$2.MemoExoticComponent<typeof ChecksViewComponent>;
|
|
1077
|
+
//#endregion
|
|
1078
|
+
export { QueryPageOss as $, ChangeStatus as A, supportsHistogramDiff as At, RowCountDiffResultView as B, TopKDiffForm as C, mergeColumns as Ct, getIconForChangeStatus as D, HistogramDiffRun as Dt, calculateColumnChange as E, HistogramDiffResultView as Et, HistoryToggle as F, CheckEmptyStateOss as Ft, DualSqlEditor as G, RowCountResultView as H, SchemaView$1 as I, CheckDetailOss as It, SqlEditorProps as J, DualSqlEditorProps as K, SingleEnvSchemaView$1 as L, Main as Lt, ChangeSummaryResult as M, CheckPageLoadingOss as Mt, ColumnChangeResult as N, CheckPageContentOss as Nt, SchemaSummary as O, HistogramResultViewProps as Ot, NODE_CHANGE_STATUS_MSGS as P, CheckListOss as Pt, QueryResultViewProps as Q, ColumnNameCell as R, MainLayout as Rt, TopKDiffRun as S, SingleEnvSchemaDataGridResult as St, calculateChangeSummary as T, toSingleEnvDataGrid as Tt, RowCountResultViewProps as U, RowCountDiffRun as V, RowCountRun as W, SetupConnectionGuideProps as X, SetupConnectionGuide as Y, QueryResultView as Z, DiffDisplayModeSwitchProps as _, useRecceTheme as _t, ValueDiffRun as a, ProfileDiffRun as at, TopKDiffResultView as b, SchemaDiffRow as bt, ValueDiffDetailResultView as c, ProfileRun as ct, ToggleSwitch as d, LearnHowLink as dt, QueryForm$1 as et, ToggleSwitchProps as f, RecceNotification as ft, DiffDisplayModeSwitch as g, VERSION as gt, DiffDisplayMode as h, LineagePageOss as ht, ValueDiffResultViewProps as i, ProfileDiffResultView as it, ChangeSummaryProps as j, ErrorBoundary as jt, ChangeSummary as k, HistogramDiffForm as kt, ValueDiffDetailResultViewProps as l, ProfileDiffForm as lt, SquareIconProps as m, NotificationProps as mt, ChecksViewProps as n, QueryDiffResultView as nt, ValueDiffForm as o, ProfileResultView as ot, SquareIcon as p, LineageViewNotification as pt, SqlEditor as q, ValueDiffResultView as r, QueryDiffResultViewProps as rt, ValueDiffFormParams as s, ProfileResultViewProps as st, ChecksView as t, QueryFormProps as tt, ValueDiffDetailRun as u, ProfileDiffFormParams as ut, ChangedOnlyCheckbox as v, SchemaDataGridOptions as vt, IdleTimeoutBadge as w, toSchemaDataGrid as wt, TopKDiffResultViewProps as x, SchemaRow as xt, ChangedOnlyCheckboxProps as y, SchemaDataGridResult as yt, ColumnNameCellProps as z, EnvInfo as zt };
|
|
1079
|
+
//# sourceMappingURL=index-C_kD4ZQ3.d.ts.map
|