@datarecce/ui 0.1.40 → 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-B6oaPB5f.mjs +0 -11769
- package/dist/components-B6oaPB5f.mjs.map +0 -1
- package/dist/components-BeAjVBV3.css +0 -70
- package/dist/components-BeAjVBV3.css.map +0 -1
- package/dist/components-DTLQ2djq.js +0 -14110
- package/dist/components-DTLQ2djq.js.map +0 -1
- package/dist/components-iUxcqtUB.css +0 -70
- package/dist/components-iUxcqtUB.css.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-B9lSPJTi.d.ts +0 -2170
- package/dist/index-B9lSPJTi.d.ts.map +0 -1
- package/dist/index-CbF0x3kW.d.mts +0 -2172
- package/dist/index-CbF0x3kW.d.mts.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/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 -454
- 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/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/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 -861
- package/recce-source/recce/models/__init__.py +0 -6
- package/recce-source/recce/models/check.py +0 -473
- 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
package/dist/index-B9lSPJTi.d.ts
DELETED
|
@@ -1,2170 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import * as axios0 from "axios";
|
|
3
|
-
import { AxiosInstance, AxiosResponse } from "axios";
|
|
4
|
-
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
5
|
-
import { QueryClient } from "@tanstack/react-query";
|
|
6
|
-
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
7
|
-
import * as React$2 from "react";
|
|
8
|
-
import React$1, { CSSProperties, ComponentType, Dispatch, ForwardRefExoticComponent, ReactNode, Ref, RefAttributes, SetStateAction } from "react";
|
|
9
|
-
import { FallbackRender } from "@sentry/react";
|
|
10
|
-
import { SplitProps } from "react-split";
|
|
11
|
-
import { BoxProps } from "@mui/material/Box";
|
|
12
|
-
import { Edge, EdgeProps, Node, NodeProps } from "@xyflow/react";
|
|
13
|
-
import { IconType } from "react-icons";
|
|
14
|
-
import { ColDef, ColGroupDef, GridReadyEvent } from "ag-grid-community";
|
|
15
|
-
import { AgGridReactProps } from "ag-grid-react";
|
|
16
|
-
import { AnimationOptions } from "chart.js";
|
|
17
|
-
import * as next_dist_shared_lib_app_router_context_shared_runtime0 from "next/dist/shared/lib/app-router-context.shared-runtime";
|
|
18
|
-
import "next/navigation";
|
|
19
|
-
import { Theme, ThemeOptions } from "@mui/material/styles";
|
|
20
|
-
|
|
21
|
-
//#region recce-source/js/src/lib/api/axiosClient.d.ts
|
|
22
|
-
declare const axiosClient: axios0.AxiosInstance;
|
|
23
|
-
declare const reactQueryClient: QueryClient;
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region recce-source/js/src/components/ui/mui-provider.d.ts
|
|
26
|
-
interface MuiProviderProps {
|
|
27
|
-
children: ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Force a specific theme mode. If not provided, follows system/user preference.
|
|
30
|
-
*/
|
|
31
|
-
forcedTheme?: "light" | "dark";
|
|
32
|
-
/**
|
|
33
|
-
* Whether to include MUI's CssBaseline for consistent baseline styles.
|
|
34
|
-
* Disabled by default to avoid conflicts with Chakra/Tailwind during migration.
|
|
35
|
-
*/
|
|
36
|
-
enableCssBaseline?: boolean;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* MUI Theme Provider for Recce
|
|
40
|
-
*
|
|
41
|
-
* This provider integrates MUI theming with the existing next-themes
|
|
42
|
-
* color mode system used by Chakra UI. During the migration period,
|
|
43
|
-
* both Chakra and MUI components will share the same theme mode.
|
|
44
|
-
*
|
|
45
|
-
* Usage:
|
|
46
|
-
* ```tsx
|
|
47
|
-
* <MuiProvider>
|
|
48
|
-
* <MuiButton>Click me</MuiButton>
|
|
49
|
-
* </MuiProvider>
|
|
50
|
-
* ```
|
|
51
|
-
*/
|
|
52
|
-
declare function MuiProvider({
|
|
53
|
-
children,
|
|
54
|
-
forcedTheme,
|
|
55
|
-
enableCssBaseline
|
|
56
|
-
}: MuiProviderProps): react_jsx_runtime12.JSX.Element;
|
|
57
|
-
//#endregion
|
|
58
|
-
//#region recce-source/js/src/components/ui/toaster.d.ts
|
|
59
|
-
/**
|
|
60
|
-
* Toast types and interfaces
|
|
61
|
-
*/
|
|
62
|
-
interface ToastOptions {
|
|
63
|
-
id?: string;
|
|
64
|
-
title?: string;
|
|
65
|
-
description?: ReactNode;
|
|
66
|
-
type?: "success" | "error" | "warning" | "info" | "loading";
|
|
67
|
-
duration?: number;
|
|
68
|
-
closable?: boolean;
|
|
69
|
-
action?: {
|
|
70
|
-
label: string;
|
|
71
|
-
onClick: () => void;
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
interface ToasterContextValue {
|
|
75
|
-
toast: (options: ToastOptions) => string;
|
|
76
|
-
success: (options: Omit<ToastOptions, "type">) => string;
|
|
77
|
-
error: (options: Omit<ToastOptions, "type">) => string;
|
|
78
|
-
warning: (options: Omit<ToastOptions, "type">) => string;
|
|
79
|
-
info: (options: Omit<ToastOptions, "type">) => string;
|
|
80
|
-
loading: (options: Omit<ToastOptions, "type">) => string;
|
|
81
|
-
dismiss: (id: string) => void;
|
|
82
|
-
update: (id: string, options: Partial<ToastOptions>) => void;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Simple toaster implementation using MUI Snackbar
|
|
86
|
-
*/
|
|
87
|
-
declare function ToasterProvider({
|
|
88
|
-
children
|
|
89
|
-
}: {
|
|
90
|
-
children: ReactNode;
|
|
91
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
92
|
-
/**
|
|
93
|
-
* Hook to use the toaster
|
|
94
|
-
*/
|
|
95
|
-
declare function useToaster(): ToasterContextValue;
|
|
96
|
-
/**
|
|
97
|
-
* Toaster component that renders toasts from the standalone toaster
|
|
98
|
-
*/
|
|
99
|
-
declare function Toaster(): react_jsx_runtime12.JSX.Element;
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region recce-source/js/src/components/errorboundary/ErrorBoundary.d.ts
|
|
102
|
-
declare const ErrorBoundary: ({
|
|
103
|
-
children,
|
|
104
|
-
fallback
|
|
105
|
-
}: {
|
|
106
|
-
children: ReactNode;
|
|
107
|
-
fallback?: React$2.ReactElement | FallbackRender | undefined;
|
|
108
|
-
}) => react_jsx_runtime12.JSX.Element;
|
|
109
|
-
//#endregion
|
|
110
|
-
//#region recce-source/js/src/components/split/Split.d.ts
|
|
111
|
-
declare const HSplit: (props: SplitProps) => react_jsx_runtime12.JSX.Element;
|
|
112
|
-
declare const VSplit: (props: SplitProps) => react_jsx_runtime12.JSX.Element;
|
|
113
|
-
//#endregion
|
|
114
|
-
//#region recce-source/js/src/components/screenshot/ScreenshotBox.d.ts
|
|
115
|
-
interface ScreenshotBoxProps extends BoxProps {
|
|
116
|
-
backgroundColor?: string;
|
|
117
|
-
blockSize?: string;
|
|
118
|
-
children?: React.ReactNode;
|
|
119
|
-
}
|
|
120
|
-
declare const ScreenshotBox: React$2.ForwardRefExoticComponent<Omit<ScreenshotBoxProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
|
|
121
|
-
//#endregion
|
|
122
|
-
//#region recce-source/js/src/components/lineage/LineagePage.d.ts
|
|
123
|
-
declare function LineagePage(): react_jsx_runtime12.JSX.Element;
|
|
124
|
-
//#endregion
|
|
125
|
-
//#region recce-source/js/src/lib/api/info.d.ts
|
|
126
|
-
/**
|
|
127
|
-
* The data from the API
|
|
128
|
-
*/
|
|
129
|
-
interface NodeColumnData {
|
|
130
|
-
name: string;
|
|
131
|
-
type: string;
|
|
132
|
-
transformation_type?: string;
|
|
133
|
-
change_status?: "added" | "removed" | "modified";
|
|
134
|
-
not_null?: boolean;
|
|
135
|
-
unique?: boolean;
|
|
136
|
-
}
|
|
137
|
-
interface NodeData {
|
|
138
|
-
id: string;
|
|
139
|
-
unique_id: string;
|
|
140
|
-
name: string;
|
|
141
|
-
schema?: string;
|
|
142
|
-
checksum?: {
|
|
143
|
-
name: string;
|
|
144
|
-
checksum: string;
|
|
145
|
-
};
|
|
146
|
-
raw_code?: string;
|
|
147
|
-
resource_type?: string;
|
|
148
|
-
package_name?: string;
|
|
149
|
-
columns?: Record<string, NodeColumnData | undefined>;
|
|
150
|
-
primary_key?: string;
|
|
151
|
-
}
|
|
152
|
-
interface ArtifactMetadata {
|
|
153
|
-
dbt_version: string;
|
|
154
|
-
dbt_schema_version: string;
|
|
155
|
-
generated_at: string;
|
|
156
|
-
adapter_type: string;
|
|
157
|
-
env: Record<string, string>;
|
|
158
|
-
invocation_id: string;
|
|
159
|
-
}
|
|
160
|
-
interface ManifestMetadata extends ArtifactMetadata {
|
|
161
|
-
project_id?: string;
|
|
162
|
-
project_name?: string;
|
|
163
|
-
user_id?: string;
|
|
164
|
-
}
|
|
165
|
-
interface SQLMeshInfo {
|
|
166
|
-
base_env: string;
|
|
167
|
-
current_env: string;
|
|
168
|
-
}
|
|
169
|
-
type CatalogMetadata = ArtifactMetadata;
|
|
170
|
-
interface LineageData {
|
|
171
|
-
metadata: {
|
|
172
|
-
pr_url: string;
|
|
173
|
-
git_branch?: string;
|
|
174
|
-
};
|
|
175
|
-
nodes: Record<string, NodeData>;
|
|
176
|
-
parent_map: Record<string, string[]>;
|
|
177
|
-
manifest_metadata?: ManifestMetadata | null;
|
|
178
|
-
catalog_metadata?: CatalogMetadata | null;
|
|
179
|
-
}
|
|
180
|
-
interface LineageDataFromMetadata extends Omit<LineageData, "nodes"> {
|
|
181
|
-
nodes: Record<string, NodeData | undefined>;
|
|
182
|
-
}
|
|
183
|
-
type LineageDiffData = Record<string, {
|
|
184
|
-
change_status: "added" | "removed" | "modified";
|
|
185
|
-
change: {
|
|
186
|
-
category: "breaking" | "non_breaking" | "partial_breaking" | "unknown";
|
|
187
|
-
columns: Record<string, "added" | "removed" | "modified"> | null;
|
|
188
|
-
} | null;
|
|
189
|
-
}>;
|
|
190
|
-
interface LineageOutput {
|
|
191
|
-
error?: string;
|
|
192
|
-
data?: LineageData;
|
|
193
|
-
}
|
|
194
|
-
declare function getLineage(base?: boolean): Promise<LineageData>;
|
|
195
|
-
declare function getLineageWithError(base?: boolean): Promise<LineageOutput>;
|
|
196
|
-
interface LineageDiffResult {
|
|
197
|
-
base?: LineageData;
|
|
198
|
-
current?: LineageData;
|
|
199
|
-
base_error?: string;
|
|
200
|
-
current_error?: string;
|
|
201
|
-
}
|
|
202
|
-
declare function getLineageDiff(): Promise<LineageDiffResult>;
|
|
203
|
-
interface stateMetadata {
|
|
204
|
-
schema_version: string;
|
|
205
|
-
recce_version: string;
|
|
206
|
-
generated_at: string;
|
|
207
|
-
}
|
|
208
|
-
interface gitInfo {
|
|
209
|
-
branch?: string;
|
|
210
|
-
}
|
|
211
|
-
interface pullRequestInfo {
|
|
212
|
-
id?: string | number;
|
|
213
|
-
title?: string;
|
|
214
|
-
url?: string;
|
|
215
|
-
branch?: string;
|
|
216
|
-
base_branch?: string;
|
|
217
|
-
}
|
|
218
|
-
interface ServerInfoResult {
|
|
219
|
-
state_metadata: stateMetadata;
|
|
220
|
-
adapter_type: string;
|
|
221
|
-
review_mode: boolean;
|
|
222
|
-
cloud_mode: boolean;
|
|
223
|
-
file_mode: boolean;
|
|
224
|
-
filename?: string;
|
|
225
|
-
git?: gitInfo;
|
|
226
|
-
pull_request?: pullRequestInfo;
|
|
227
|
-
sqlmesh?: SQLMeshInfo;
|
|
228
|
-
lineage: {
|
|
229
|
-
base: LineageData;
|
|
230
|
-
current: LineageData;
|
|
231
|
-
diff: LineageDiffData;
|
|
232
|
-
};
|
|
233
|
-
demo: boolean;
|
|
234
|
-
codespace: boolean;
|
|
235
|
-
support_tasks: Record<string, boolean>;
|
|
236
|
-
}
|
|
237
|
-
declare function getServerInfo(client?: AxiosInstance): Promise<ServerInfoResult>;
|
|
238
|
-
interface ModelInfoResult {
|
|
239
|
-
model: {
|
|
240
|
-
base: {
|
|
241
|
-
columns?: Record<string, NodeColumnData>;
|
|
242
|
-
primary_key?: string;
|
|
243
|
-
};
|
|
244
|
-
current: {
|
|
245
|
-
columns?: Record<string, NodeColumnData>;
|
|
246
|
-
primary_key?: string;
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
declare function getModelInfo(model: string): Promise<ModelInfoResult>;
|
|
251
|
-
//#endregion
|
|
252
|
-
//#region recce-source/js/src/lib/api/cll.d.ts
|
|
253
|
-
interface CllInput {
|
|
254
|
-
node_id?: string;
|
|
255
|
-
column?: string;
|
|
256
|
-
change_analysis?: boolean;
|
|
257
|
-
no_cll?: boolean;
|
|
258
|
-
no_upstream?: boolean;
|
|
259
|
-
no_downstream?: boolean;
|
|
260
|
-
}
|
|
261
|
-
interface ImpactRadiusParams {
|
|
262
|
-
node_id: string;
|
|
263
|
-
}
|
|
264
|
-
interface CllNodeData {
|
|
265
|
-
id: string;
|
|
266
|
-
name: string;
|
|
267
|
-
source_name: string;
|
|
268
|
-
resource_type: string;
|
|
269
|
-
raw_code?: string;
|
|
270
|
-
change_status?: "added" | "removed" | "modified";
|
|
271
|
-
change_category?: "breaking" | "non_breaking" | "partial_breaking" | "unknown";
|
|
272
|
-
impacted?: boolean;
|
|
273
|
-
columns?: Record<string, NodeColumnData>;
|
|
274
|
-
}
|
|
275
|
-
interface ColumnLineageData {
|
|
276
|
-
current: {
|
|
277
|
-
nodes: Record<string, CllNodeData>;
|
|
278
|
-
columns: Record<string, NodeColumnData>;
|
|
279
|
-
parent_map: Record<string, Set<string>>;
|
|
280
|
-
child_map: Record<string, Set<string>>;
|
|
281
|
-
};
|
|
282
|
-
}
|
|
283
|
-
declare function getCll(input: CllInput, client?: AxiosInstance): Promise<ColumnLineageData>;
|
|
284
|
-
//#endregion
|
|
285
|
-
//#region recce-source/js/src/components/lineage/lineage.d.ts
|
|
286
|
-
/**
|
|
287
|
-
* The types for internal data structures.
|
|
288
|
-
*/
|
|
289
|
-
type LineageFrom = "both" | "base" | "current";
|
|
290
|
-
type LineageGraphNode = Node<{
|
|
291
|
-
id: string;
|
|
292
|
-
name: string;
|
|
293
|
-
from: LineageFrom;
|
|
294
|
-
data: {
|
|
295
|
-
base?: NodeData;
|
|
296
|
-
current?: NodeData;
|
|
297
|
-
};
|
|
298
|
-
changeStatus?: "added" | "removed" | "modified";
|
|
299
|
-
change?: {
|
|
300
|
-
category: "breaking" | "non_breaking" | "partial_breaking" | "unknown";
|
|
301
|
-
columns: Record<string, "added" | "removed" | "modified"> | null;
|
|
302
|
-
};
|
|
303
|
-
resourceType?: string;
|
|
304
|
-
packageName?: string;
|
|
305
|
-
parents: Record<string, LineageGraphEdge>;
|
|
306
|
-
children: Record<string, LineageGraphEdge>;
|
|
307
|
-
}, "lineageGraphNode">;
|
|
308
|
-
type LineageGraphColumnNode = Node<{
|
|
309
|
-
node: LineageGraphNode["data"];
|
|
310
|
-
column: string;
|
|
311
|
-
type: string;
|
|
312
|
-
transformationType?: string;
|
|
313
|
-
changeStatus?: "added" | "removed" | "modified";
|
|
314
|
-
}, "lineageGraphColumnNode">;
|
|
315
|
-
type LineageGraphEdge = Edge<{
|
|
316
|
-
from: LineageFrom;
|
|
317
|
-
changeStatus?: "added" | "removed";
|
|
318
|
-
}, "lineageGraphEdge">;
|
|
319
|
-
type LineageGraphNodes = LineageGraphNode | LineageGraphColumnNode;
|
|
320
|
-
interface LineageGraph {
|
|
321
|
-
nodes: Record<string, LineageGraphNode>;
|
|
322
|
-
edges: Record<string, LineageGraphEdge>;
|
|
323
|
-
modifiedSet: string[];
|
|
324
|
-
manifestMetadata: {
|
|
325
|
-
base?: ManifestMetadata;
|
|
326
|
-
current?: ManifestMetadata;
|
|
327
|
-
};
|
|
328
|
-
catalogMetadata: {
|
|
329
|
-
base?: CatalogMetadata;
|
|
330
|
-
current?: CatalogMetadata;
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
//#endregion
|
|
334
|
-
//#region recce-source/js/src/lib/api/runs.d.ts
|
|
335
|
-
interface SubmitRunTrackProps {
|
|
336
|
-
breaking_change_analysis?: boolean;
|
|
337
|
-
source?: "lineage_model_node" | "lineage_column_node";
|
|
338
|
-
[key: string]: unknown;
|
|
339
|
-
}
|
|
340
|
-
interface SubmitOptions {
|
|
341
|
-
nowait?: boolean;
|
|
342
|
-
trackProps?: SubmitRunTrackProps;
|
|
343
|
-
}
|
|
344
|
-
declare function submitRun(type: RunType, params?: RunParamTypes, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
345
|
-
declare function getRun(runId: string, client?: AxiosInstance): Promise<Run>;
|
|
346
|
-
declare function waitRun(runId: string, timeout?: number, client?: AxiosInstance): Promise<Run>;
|
|
347
|
-
declare function cancelRun(runId: string, client?: AxiosInstance): Promise<AxiosResponse<never, any, {}>>;
|
|
348
|
-
declare function submitRunFromCheck(checkId: string, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
349
|
-
declare function searchRuns(type: string, params?: AxiosQueryParams, limit?: number, client?: AxiosInstance): Promise<Run[]>;
|
|
350
|
-
declare function listRuns(client?: AxiosInstance): Promise<Run[]>;
|
|
351
|
-
type RunsAggregated = Record<string, Record<"row_count_diff" | "value_diff" | "row_count", {
|
|
352
|
-
run_id: string;
|
|
353
|
-
result: unknown;
|
|
354
|
-
}>>;
|
|
355
|
-
declare function aggregateRuns(client?: AxiosInstance): Promise<RunsAggregated>;
|
|
356
|
-
//#endregion
|
|
357
|
-
//#region recce-source/js/src/lib/api/profile.d.ts
|
|
358
|
-
interface ProfileDiffParams {
|
|
359
|
-
model: string;
|
|
360
|
-
columns?: string[];
|
|
361
|
-
}
|
|
362
|
-
interface ProfileDiffResult {
|
|
363
|
-
base?: DataFrame;
|
|
364
|
-
current?: DataFrame;
|
|
365
|
-
}
|
|
366
|
-
interface ProfileDiffViewOptions {
|
|
367
|
-
pinned_columns?: string[];
|
|
368
|
-
display_mode?: "side_by_side" | "inline";
|
|
369
|
-
columnsRenderMode?: Record<string, ColumnRenderMode>;
|
|
370
|
-
}
|
|
371
|
-
declare function submitProfileDiff(params: ProfileDiffParams, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
372
|
-
interface TopKDiffParams {
|
|
373
|
-
model: string;
|
|
374
|
-
column_name: string;
|
|
375
|
-
k: number;
|
|
376
|
-
}
|
|
377
|
-
interface TopKResult {
|
|
378
|
-
values: (string | number | undefined)[];
|
|
379
|
-
counts: number[];
|
|
380
|
-
valids: number;
|
|
381
|
-
}
|
|
382
|
-
interface TopKDiffResult {
|
|
383
|
-
base: TopKResult;
|
|
384
|
-
current: TopKResult;
|
|
385
|
-
}
|
|
386
|
-
interface HistogramDiffParams {
|
|
387
|
-
model: string;
|
|
388
|
-
column_name: string;
|
|
389
|
-
column_type: string;
|
|
390
|
-
}
|
|
391
|
-
interface HistogramResult {
|
|
392
|
-
counts: number[];
|
|
393
|
-
total: number;
|
|
394
|
-
}
|
|
395
|
-
interface HistogramDiffResult {
|
|
396
|
-
base: HistogramResult;
|
|
397
|
-
current: HistogramResult;
|
|
398
|
-
min: number;
|
|
399
|
-
max: number;
|
|
400
|
-
bin_edges: number[];
|
|
401
|
-
labels?: string[];
|
|
402
|
-
}
|
|
403
|
-
//#endregion
|
|
404
|
-
//#region recce-source/js/src/lib/api/models.d.ts
|
|
405
|
-
interface RowCount {
|
|
406
|
-
name?: string;
|
|
407
|
-
curr: number | null;
|
|
408
|
-
}
|
|
409
|
-
interface RowCountDiff {
|
|
410
|
-
name?: string;
|
|
411
|
-
base: number | null;
|
|
412
|
-
curr: number | null;
|
|
413
|
-
}
|
|
414
|
-
interface QueryRowCountResult {
|
|
415
|
-
runId: string;
|
|
416
|
-
result: RowCountDiffResult;
|
|
417
|
-
}
|
|
418
|
-
declare function fetchModelRowCount(modelName: string, client?: AxiosInstance): Promise<RowCountDiff>;
|
|
419
|
-
declare function queryModelRowCount(modelName: string, client?: AxiosInstance): Promise<RowCountDiff>;
|
|
420
|
-
declare function queryRowCount(modelNames: string[], client?: AxiosInstance): Promise<QueryRowCountResult>;
|
|
421
|
-
//#endregion
|
|
422
|
-
//#region recce-source/js/src/lib/api/rowcount.d.ts
|
|
423
|
-
interface RowCountParams {
|
|
424
|
-
node_names: string[];
|
|
425
|
-
}
|
|
426
|
-
type RowCountResult = Record<string, RowCount>;
|
|
427
|
-
interface RowCountDiffParams {
|
|
428
|
-
node_names: string[];
|
|
429
|
-
}
|
|
430
|
-
type RowCountDiffResult = Record<string, RowCountDiff>;
|
|
431
|
-
declare function submitRowCountDiff(params: RowCountDiffParams, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
432
|
-
//#endregion
|
|
433
|
-
//#region recce-source/js/src/lib/api/valuediff.d.ts
|
|
434
|
-
interface ValueDiffResult {
|
|
435
|
-
summary: {
|
|
436
|
-
total: number;
|
|
437
|
-
added: number;
|
|
438
|
-
removed: number;
|
|
439
|
-
};
|
|
440
|
-
data: DataFrame;
|
|
441
|
-
}
|
|
442
|
-
interface ValueDiffParams {
|
|
443
|
-
model: string;
|
|
444
|
-
primary_key: string | string[];
|
|
445
|
-
columns?: string[];
|
|
446
|
-
}
|
|
447
|
-
declare function submitValueDiff(params: ValueDiffParams, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
448
|
-
type ValueDiffDetailResult = DataFrame;
|
|
449
|
-
type ValueDiffDetailParams = ValueDiffParams;
|
|
450
|
-
interface ValueDiffDetailViewOptions {
|
|
451
|
-
changed_only?: boolean;
|
|
452
|
-
pinned_columns?: string[];
|
|
453
|
-
display_mode?: "inline" | "side_by_side";
|
|
454
|
-
columnsRenderMode?: Record<string, ColumnRenderMode>;
|
|
455
|
-
}
|
|
456
|
-
declare function submitValueDiffDetail(params: ValueDiffParams, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
457
|
-
//#endregion
|
|
458
|
-
//#region recce-source/js/src/lib/api/types.d.ts
|
|
459
|
-
type AxiosQueryParams = Record<string, string | string[] | number | number[] | undefined>;
|
|
460
|
-
type RowDataTypes = number | string | boolean | null | undefined;
|
|
461
|
-
type RowData = RowDataTypes[];
|
|
462
|
-
type RowObjectType = Record<string, RowDataTypes> & {
|
|
463
|
-
__status: "added" | "removed" | "modified" | undefined;
|
|
464
|
-
_index?: number;
|
|
465
|
-
};
|
|
466
|
-
type ColumnType = "number" | "integer" | "text" | "boolean" | "date" | "datetime" | "timedelta" | "unknown";
|
|
467
|
-
type ColumnRenderMode = "raw" | "percent" | "delta" | 2;
|
|
468
|
-
interface DataFrame {
|
|
469
|
-
columns: {
|
|
470
|
-
key: string;
|
|
471
|
-
name: string;
|
|
472
|
-
type: ColumnType;
|
|
473
|
-
}[];
|
|
474
|
-
data: RowData[];
|
|
475
|
-
limit?: number;
|
|
476
|
-
more?: boolean;
|
|
477
|
-
}
|
|
478
|
-
interface SchemaDiffParams {
|
|
479
|
-
node_id?: string | string[];
|
|
480
|
-
select?: string;
|
|
481
|
-
exclude?: string;
|
|
482
|
-
packages?: string[];
|
|
483
|
-
view_mode?: "all" | "changed_models";
|
|
484
|
-
}
|
|
485
|
-
interface LineageDiffParams {
|
|
486
|
-
select?: string;
|
|
487
|
-
exclude?: string;
|
|
488
|
-
packages?: string[];
|
|
489
|
-
view_mode?: "all" | "changed_models";
|
|
490
|
-
}
|
|
491
|
-
type RunParamTypes = QueryRunParams | QueryDiffParams | ValueDiffParams | SchemaDiffParams | ProfileDiffParams | RowCountParams | RowCountDiffParams | LineageDiffParams | TopKDiffParams | HistogramDiffParams | undefined;
|
|
492
|
-
interface BaseRun {
|
|
493
|
-
type: RunType;
|
|
494
|
-
run_id: string;
|
|
495
|
-
run_at: string;
|
|
496
|
-
name?: string;
|
|
497
|
-
check_id?: string;
|
|
498
|
-
progress?: {
|
|
499
|
-
message?: string;
|
|
500
|
-
percentage?: number;
|
|
501
|
-
};
|
|
502
|
-
error?: string;
|
|
503
|
-
status?: "finished" | "failed" | "cancelled" | "running";
|
|
504
|
-
}
|
|
505
|
-
type Run = (BaseRun & {
|
|
506
|
-
type: "simple";
|
|
507
|
-
params?: undefined;
|
|
508
|
-
result?: undefined;
|
|
509
|
-
}) | (BaseRun & {
|
|
510
|
-
type: "sandbox";
|
|
511
|
-
params?: undefined;
|
|
512
|
-
result?: undefined;
|
|
513
|
-
}) | (BaseRun & {
|
|
514
|
-
type: "query";
|
|
515
|
-
params?: QueryRunParams;
|
|
516
|
-
result?: QueryResult;
|
|
517
|
-
}) | (BaseRun & {
|
|
518
|
-
type: "query_base";
|
|
519
|
-
params?: QueryRunParams;
|
|
520
|
-
result?: QueryResult;
|
|
521
|
-
}) | (BaseRun & {
|
|
522
|
-
type: "query_diff";
|
|
523
|
-
params?: QueryDiffParams;
|
|
524
|
-
result?: QueryDiffResult;
|
|
525
|
-
}) | (BaseRun & {
|
|
526
|
-
type: "value_diff";
|
|
527
|
-
params?: ValueDiffParams;
|
|
528
|
-
result?: ValueDiffResult;
|
|
529
|
-
}) | (BaseRun & {
|
|
530
|
-
type: "value_diff_detail";
|
|
531
|
-
params?: ValueDiffDetailParams;
|
|
532
|
-
result?: ValueDiffDetailResult;
|
|
533
|
-
}) | (BaseRun & {
|
|
534
|
-
type: "schema_diff";
|
|
535
|
-
params?: SchemaDiffParams;
|
|
536
|
-
result?: undefined;
|
|
537
|
-
}) | (BaseRun & {
|
|
538
|
-
type: "profile";
|
|
539
|
-
params?: ProfileDiffParams;
|
|
540
|
-
result?: ProfileDiffResult;
|
|
541
|
-
}) | (BaseRun & {
|
|
542
|
-
type: "profile_diff";
|
|
543
|
-
params?: ProfileDiffParams;
|
|
544
|
-
result?: ProfileDiffResult;
|
|
545
|
-
}) | (BaseRun & {
|
|
546
|
-
type: "row_count";
|
|
547
|
-
params?: RowCountParams;
|
|
548
|
-
result?: RowCountResult;
|
|
549
|
-
}) | (BaseRun & {
|
|
550
|
-
type: "row_count_diff";
|
|
551
|
-
params?: RowCountDiffParams;
|
|
552
|
-
result?: RowCountDiffResult;
|
|
553
|
-
}) | (BaseRun & {
|
|
554
|
-
type: "lineage_diff";
|
|
555
|
-
params?: LineageDiffParams;
|
|
556
|
-
result?: LineageDiffResult;
|
|
557
|
-
}) | (BaseRun & {
|
|
558
|
-
type: "top_k_diff";
|
|
559
|
-
params?: TopKDiffParams;
|
|
560
|
-
result?: TopKDiffResult;
|
|
561
|
-
}) | (BaseRun & {
|
|
562
|
-
type: "histogram_diff";
|
|
563
|
-
params?: HistogramDiffParams;
|
|
564
|
-
result?: HistogramDiffResult;
|
|
565
|
-
});
|
|
566
|
-
declare function isSimpleRun(run: Run): run is Extract<Run, {
|
|
567
|
-
type: "simple";
|
|
568
|
-
}>;
|
|
569
|
-
declare function isQueryRun(run: Run): run is Extract<Run, {
|
|
570
|
-
type: "query";
|
|
571
|
-
}>;
|
|
572
|
-
declare function isQueryBaseRun(run: Run): run is Extract<Run, {
|
|
573
|
-
type: "query_base";
|
|
574
|
-
}>;
|
|
575
|
-
declare function isQueryDiffRun(run: Run): run is Extract<Run, {
|
|
576
|
-
type: "query_diff";
|
|
577
|
-
}>;
|
|
578
|
-
declare function isValueDiffRun(run: Run): run is Extract<Run, {
|
|
579
|
-
type: "value_diff";
|
|
580
|
-
}>;
|
|
581
|
-
declare function isValueDiffDetailRun(run: Run): run is Extract<Run, {
|
|
582
|
-
type: "value_diff_detail";
|
|
583
|
-
}>;
|
|
584
|
-
declare function isSchemaDiffRun(run: Run): run is Extract<Run, {
|
|
585
|
-
type: "schema_diff";
|
|
586
|
-
}>;
|
|
587
|
-
declare function isProfileRun(run: Run): run is Extract<Run, {
|
|
588
|
-
type: "profile";
|
|
589
|
-
}>;
|
|
590
|
-
declare function isProfileDiffRun(run: Run): run is Extract<Run, {
|
|
591
|
-
type: "profile_diff";
|
|
592
|
-
}>;
|
|
593
|
-
declare function isRowCountRun(run: Run): run is Extract<Run, {
|
|
594
|
-
type: "row_count";
|
|
595
|
-
}>;
|
|
596
|
-
declare function isRowCountDiffRun(run: Run): run is Extract<Run, {
|
|
597
|
-
type: "row_count_diff";
|
|
598
|
-
}>;
|
|
599
|
-
declare function isLineageDiffRun(run: Run): run is Extract<Run, {
|
|
600
|
-
type: "lineage_diff";
|
|
601
|
-
}>;
|
|
602
|
-
declare function isTopKDiffRun(run: Run): run is Extract<Run, {
|
|
603
|
-
type: "top_k_diff";
|
|
604
|
-
}>;
|
|
605
|
-
declare function isHistogramDiffRun(run: Run): run is Extract<Run, {
|
|
606
|
-
type: "histogram_diff";
|
|
607
|
-
}>;
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region recce-source/js/src/components/run/types.d.ts
|
|
610
|
-
interface RunFormProps<PT> {
|
|
611
|
-
params: Partial<PT>;
|
|
612
|
-
onParamsChanged: (params: Partial<PT>) => void;
|
|
613
|
-
setIsReadyToExecute: (isReadyToExecute: boolean) => void;
|
|
614
|
-
}
|
|
615
|
-
interface RunResultViewProps<VO = ViewOptionTypes> {
|
|
616
|
-
run: Run;
|
|
617
|
-
viewOptions?: VO;
|
|
618
|
-
onViewOptionsChanged?: (viewOptions: VO) => void;
|
|
619
|
-
}
|
|
620
|
-
//#endregion
|
|
621
|
-
//#region recce-source/js/src/components/run/RunToolbar.d.ts
|
|
622
|
-
interface DiffViewOptions {
|
|
623
|
-
changed_only?: boolean;
|
|
624
|
-
}
|
|
625
|
-
interface RunToolbarProps<VO> extends RunResultViewProps<VO> {
|
|
626
|
-
warnings?: string[];
|
|
627
|
-
children?: ReactNode;
|
|
628
|
-
}
|
|
629
|
-
declare const RunToolbar: ({
|
|
630
|
-
warnings,
|
|
631
|
-
children
|
|
632
|
-
}: RunToolbarProps<DiffViewOptions>) => react_jsx_runtime12.JSX.Element;
|
|
633
|
-
//#endregion
|
|
634
|
-
//#region recce-source/js/src/components/data-grid/ScreenshotDataGrid.d.ts
|
|
635
|
-
/**
|
|
636
|
-
* Handle type for accessing AG Grid API and DOM element (for screenshots)
|
|
637
|
-
*/
|
|
638
|
-
interface DataGridHandle {
|
|
639
|
-
api: GridReadyEvent["api"] | null;
|
|
640
|
-
/** DOM element for screenshot functionality */
|
|
641
|
-
element: HTMLElement | null;
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* Props for ScreenshotDataGrid component
|
|
645
|
-
*
|
|
646
|
-
* Supports both new AG Grid style props (columnDefs/rowData) and
|
|
647
|
-
* legacy react-data-grid style props (columns/rows) for backward compatibility
|
|
648
|
-
*/
|
|
649
|
-
interface ScreenshotDataGridProps<TData = RowObjectType> extends Omit<AgGridReactProps<TData>, "theme" | "rowClass"> {
|
|
650
|
-
/** Container style */
|
|
651
|
-
style?: CSSProperties;
|
|
652
|
-
/** Additional CSS class for container */
|
|
653
|
-
className?: string;
|
|
654
|
-
/** Empty state renderer (legacy) */
|
|
655
|
-
renderers?: {
|
|
656
|
-
noRowsFallback?: React$1.ReactNode;
|
|
657
|
-
};
|
|
658
|
-
/** Legacy: Column definitions (maps to columnDefs) */
|
|
659
|
-
columns?: (ColDef<TData> | ColGroupDef<TData>)[];
|
|
660
|
-
/** Legacy: Row data (maps to rowData) */
|
|
661
|
-
rows?: TData[];
|
|
662
|
-
/** Legacy: Default column options (maps to defaultColDef) */
|
|
663
|
-
defaultColumnOptions?: ColDef<TData>;
|
|
664
|
-
}
|
|
665
|
-
declare const ScreenshotDataGrid: <TData = RowObjectType>(props: ScreenshotDataGridProps<TData> & {
|
|
666
|
-
ref?: Ref<DataGridHandle>;
|
|
667
|
-
}) => React$1.ReactNode;
|
|
668
|
-
//#endregion
|
|
669
|
-
//#region recce-source/js/src/components/profile/ProfileDiffForm.d.ts
|
|
670
|
-
interface ProfileDiffFormParams {
|
|
671
|
-
model: string;
|
|
672
|
-
primary_key?: string | (string | undefined)[];
|
|
673
|
-
columns?: string[];
|
|
674
|
-
}
|
|
675
|
-
type ProfileDiffFormProp = RunFormProps<ProfileDiffFormParams>;
|
|
676
|
-
declare function ProfileDiffForm({
|
|
677
|
-
params,
|
|
678
|
-
onParamsChanged,
|
|
679
|
-
setIsReadyToExecute
|
|
680
|
-
}: ProfileDiffFormProp): react_jsx_runtime12.JSX.Element;
|
|
681
|
-
//#endregion
|
|
682
|
-
//#region recce-source/js/src/components/valuediff/ValueDiffForm.d.ts
|
|
683
|
-
interface ValueDiffFormParams {
|
|
684
|
-
model: string;
|
|
685
|
-
primary_key?: string | (string | undefined)[];
|
|
686
|
-
columns?: string[];
|
|
687
|
-
}
|
|
688
|
-
type ValueDiffFormProp = RunFormProps<ValueDiffFormParams>;
|
|
689
|
-
declare function ValueDiffForm({
|
|
690
|
-
params,
|
|
691
|
-
onParamsChanged,
|
|
692
|
-
setIsReadyToExecute
|
|
693
|
-
}: ValueDiffFormProp): react_jsx_runtime12.JSX.Element;
|
|
694
|
-
//#endregion
|
|
695
|
-
//#region recce-source/js/src/components/run/registry.d.ts
|
|
696
|
-
type ViewOptionTypes = LineageDiffViewOptions | DiffViewOptions | QueryViewOptions | QueryDiffViewOptions | ProfileDiffViewOptions | ValueDiffDetailViewOptions;
|
|
697
|
-
type RunType = "simple" | "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" | "sandbox";
|
|
698
|
-
type RefTypes = React$1.Ref<DataGridHandle> | React$1.Ref<HTMLDivElement>;
|
|
699
|
-
type RunFormParamTypes = ProfileDiffFormParams | ValueDiffFormParams | TopKDiffParams | HistogramDiffParams | AxiosQueryParams;
|
|
700
|
-
interface RegistryEntry<PT = RefTypes, VO = ViewOptionTypes> {
|
|
701
|
-
title: string;
|
|
702
|
-
icon: IconType;
|
|
703
|
-
RunResultView?: ForwardRefExoticComponent<RunResultViewProps<VO> & RefAttributes<PT>>;
|
|
704
|
-
RunForm?: ComponentType<RunFormProps<RunFormParamTypes>>;
|
|
705
|
-
}
|
|
706
|
-
//#endregion
|
|
707
|
-
//#region recce-source/js/src/lib/api/checks.d.ts
|
|
708
|
-
interface Check<PT = unknown, VO = unknown> {
|
|
709
|
-
check_id: string;
|
|
710
|
-
name: string;
|
|
711
|
-
description?: string;
|
|
712
|
-
type: RunType;
|
|
713
|
-
params?: PT;
|
|
714
|
-
view_options?: VO;
|
|
715
|
-
is_checked?: boolean;
|
|
716
|
-
is_preset?: boolean;
|
|
717
|
-
last_run?: Run;
|
|
718
|
-
}
|
|
719
|
-
interface CreateCheckBody {
|
|
720
|
-
name?: string;
|
|
721
|
-
description?: string;
|
|
722
|
-
run_id?: string;
|
|
723
|
-
type?: RunType;
|
|
724
|
-
params?: Record<string, string | boolean>;
|
|
725
|
-
view_options?: Record<string, string | boolean>;
|
|
726
|
-
track_props?: Record<string, string | boolean>;
|
|
727
|
-
}
|
|
728
|
-
declare function createSimpleCheck(client?: AxiosInstance): Promise<Check>;
|
|
729
|
-
declare function createCheckByRun(runId: string, viewOptions?: Record<string, unknown>, client?: AxiosInstance): Promise<Check>;
|
|
730
|
-
declare function listChecks(client?: AxiosInstance): Promise<Check[]>;
|
|
731
|
-
declare function useChecks(enabled: boolean): _tanstack_react_query0.UseQueryResult<Check<unknown, unknown>[], Error>;
|
|
732
|
-
declare function getCheck(checkId: string, client?: AxiosInstance): Promise<Check<RunParamTypes>>;
|
|
733
|
-
declare function updateCheck(checkId: string, payload: Partial<Check>, client?: AxiosInstance): Promise<Check>;
|
|
734
|
-
declare function deleteCheck(checkId: string, client?: AxiosInstance): Promise<Pick<Check<unknown, unknown>, "check_id">>;
|
|
735
|
-
declare function reorderChecks(order: {
|
|
736
|
-
source: number;
|
|
737
|
-
destination: number;
|
|
738
|
-
}, client?: AxiosInstance): Promise<AxiosResponse<unknown, any, {}>>;
|
|
739
|
-
declare function markAsPresetCheck(checkId: string, client?: AxiosInstance): Promise<void>;
|
|
740
|
-
//#endregion
|
|
741
|
-
//#region recce-source/js/src/lib/api/lineagecheck.d.ts
|
|
742
|
-
interface LineageDiffViewOptions {
|
|
743
|
-
view_mode?: "changed_models" | "all";
|
|
744
|
-
node_ids?: string[];
|
|
745
|
-
packages?: string[];
|
|
746
|
-
select?: string;
|
|
747
|
-
exclude?: string;
|
|
748
|
-
column_level_lineage?: CllInput;
|
|
749
|
-
}
|
|
750
|
-
declare function createLineageDiffCheck(viewOptions: LineageDiffViewOptions, client?: AxiosInstance): Promise<Check>;
|
|
751
|
-
//#endregion
|
|
752
|
-
//#region recce-source/js/src/components/lineage/LineageView.d.ts
|
|
753
|
-
interface LineageViewProps {
|
|
754
|
-
viewOptions?: LineageDiffViewOptions;
|
|
755
|
-
interactive?: boolean;
|
|
756
|
-
weight?: number;
|
|
757
|
-
height?: number;
|
|
758
|
-
filterNodes?: (key: string, node: LineageGraphNode) => boolean;
|
|
759
|
-
}
|
|
760
|
-
interface LineageViewRef {
|
|
761
|
-
copyToClipboard: () => void;
|
|
762
|
-
}
|
|
763
|
-
declare const LineageView: React$1.ForwardRefExoticComponent<LineageViewProps & React$1.RefAttributes<LineageViewRef>>;
|
|
764
|
-
//#endregion
|
|
765
|
-
//#region recce-source/js/src/components/lineage/LineageViewContext.d.ts
|
|
766
|
-
type NewType = LineageDiffViewOptions;
|
|
767
|
-
type ActionMode = "per_node" | "multi_nodes";
|
|
768
|
-
interface NodeAction {
|
|
769
|
-
mode: ActionMode;
|
|
770
|
-
status?: "pending" | "running" | "success" | "failure" | "skipped";
|
|
771
|
-
skipReason?: string;
|
|
772
|
-
run?: Run;
|
|
773
|
-
}
|
|
774
|
-
interface ActionState {
|
|
775
|
-
mode: ActionMode;
|
|
776
|
-
status: "pending" | "running" | "canceling" | "canceled" | "completed";
|
|
777
|
-
currentRun?: Partial<Run>;
|
|
778
|
-
completed: number;
|
|
779
|
-
total: number;
|
|
780
|
-
actions: Record<string, NodeAction>;
|
|
781
|
-
}
|
|
782
|
-
interface LineageViewContextType {
|
|
783
|
-
interactive: boolean;
|
|
784
|
-
nodes: LineageGraphNodes[];
|
|
785
|
-
focusedNode?: LineageGraphNode;
|
|
786
|
-
selectedNodes: LineageGraphNode[];
|
|
787
|
-
cll: ColumnLineageData | undefined;
|
|
788
|
-
showContextMenu: (event: React$1.MouseEvent, node: LineageGraphNodes) => void;
|
|
789
|
-
viewOptions: LineageDiffViewOptions;
|
|
790
|
-
onViewOptionsChanged: (options: NewType) => void;
|
|
791
|
-
selectMode: "selecting" | "action_result" | undefined;
|
|
792
|
-
selectNode: (nodeId: string) => void;
|
|
793
|
-
selectParentNodes: (nodeId: string, degree?: number) => void;
|
|
794
|
-
selectChildNodes: (nodeId: string, degree?: number) => void;
|
|
795
|
-
deselect: () => void;
|
|
796
|
-
isNodeHighlighted: (nodeId: string) => boolean;
|
|
797
|
-
isNodeSelected: (nodeId: string) => boolean;
|
|
798
|
-
isEdgeHighlighted: (source: string, target: string) => boolean;
|
|
799
|
-
getNodeAction: (nodeId: string) => NodeAction;
|
|
800
|
-
getNodeColumnSet: (nodeId: string) => Set<string>;
|
|
801
|
-
isNodeShowingChangeAnalysis: (nodeId: string) => boolean;
|
|
802
|
-
runRowCount: () => Promise<void>;
|
|
803
|
-
runRowCountDiff: () => Promise<void>;
|
|
804
|
-
runValueDiff: () => Promise<void>;
|
|
805
|
-
addLineageDiffCheck: (viewMode?: string) => void;
|
|
806
|
-
addSchemaDiffCheck: () => void;
|
|
807
|
-
cancel: () => void;
|
|
808
|
-
actionState: ActionState;
|
|
809
|
-
centerNode: (nodeId: string) => void;
|
|
810
|
-
showColumnLevelLineage: (cll?: CllInput) => Promise<void>;
|
|
811
|
-
resetColumnLevelLineage: (previous?: boolean) => Promise<void>;
|
|
812
|
-
}
|
|
813
|
-
declare const LineageViewContext: React$1.Context<LineageViewContextType>;
|
|
814
|
-
declare const useLineageViewContext: () => LineageViewContextType | undefined;
|
|
815
|
-
//#endregion
|
|
816
|
-
//#region recce-source/js/src/components/lineage/LineageViewTopBar.d.ts
|
|
817
|
-
declare const LineageViewTopBar: () => react_jsx_runtime12.JSX.Element;
|
|
818
|
-
//#endregion
|
|
819
|
-
//#region recce-source/js/src/components/lineage/GraphNode.d.ts
|
|
820
|
-
type GraphNodeProps = NodeProps<LineageGraphNode>;
|
|
821
|
-
declare function GraphNode(nodeProps: GraphNodeProps): react_jsx_runtime12.JSX.Element;
|
|
822
|
-
//#endregion
|
|
823
|
-
//#region recce-source/js/src/components/lineage/GraphEdge.d.ts
|
|
824
|
-
type GraphEdgeProps = EdgeProps<LineageGraphEdge>;
|
|
825
|
-
declare function GraphEdge(props: GraphEdgeProps): react_jsx_runtime12.JSX.Element;
|
|
826
|
-
//#endregion
|
|
827
|
-
//#region recce-source/js/src/components/lineage/GraphColumnNode.d.ts
|
|
828
|
-
type GrapeColumnNodeProps = NodeProps<LineageGraphColumnNode>;
|
|
829
|
-
declare function GraphColumnNode(nodeProps: GrapeColumnNodeProps): react_jsx_runtime12.JSX.Element;
|
|
830
|
-
//#endregion
|
|
831
|
-
//#region recce-source/js/src/components/lineage/NodeView.d.ts
|
|
832
|
-
interface NodeViewProps {
|
|
833
|
-
node: LineageGraphNode;
|
|
834
|
-
onCloseNode: () => void;
|
|
835
|
-
}
|
|
836
|
-
declare function NodeView({
|
|
837
|
-
node,
|
|
838
|
-
onCloseNode
|
|
839
|
-
}: NodeViewProps): react_jsx_runtime12.JSX.Element;
|
|
840
|
-
//#endregion
|
|
841
|
-
//#region recce-source/js/src/components/lineage/NodeSqlView.d.ts
|
|
842
|
-
interface NodeSqlViewProps {
|
|
843
|
-
node: LineageGraphNode;
|
|
844
|
-
}
|
|
845
|
-
declare const NodeSqlView: ({
|
|
846
|
-
node
|
|
847
|
-
}: NodeSqlViewProps) => react_jsx_runtime12.JSX.Element | "Not available";
|
|
848
|
-
//#endregion
|
|
849
|
-
//#region recce-source/js/src/components/lineage/NodeTag.d.ts
|
|
850
|
-
declare function ResourceTypeTag({
|
|
851
|
-
node
|
|
852
|
-
}: {
|
|
853
|
-
node: LineageGraphNode;
|
|
854
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
855
|
-
interface ModelRowCountProps {
|
|
856
|
-
rowCount?: RowCountDiff;
|
|
857
|
-
}
|
|
858
|
-
declare function ModelRowCount({
|
|
859
|
-
rowCount
|
|
860
|
-
}: ModelRowCountProps): react_jsx_runtime12.JSX.Element;
|
|
861
|
-
interface RowCountDiffTagProps {
|
|
862
|
-
node: LineageGraphNode;
|
|
863
|
-
rowCount?: RowCountDiff;
|
|
864
|
-
onRefresh?: () => void;
|
|
865
|
-
isFetching?: boolean;
|
|
866
|
-
error?: Error | null;
|
|
867
|
-
}
|
|
868
|
-
declare function RowCountDiffTag({
|
|
869
|
-
rowCount: fetchedRowCount,
|
|
870
|
-
node,
|
|
871
|
-
onRefresh,
|
|
872
|
-
isFetching
|
|
873
|
-
}: RowCountDiffTagProps): react_jsx_runtime12.JSX.Element;
|
|
874
|
-
interface RowCountTagProps {
|
|
875
|
-
node: LineageGraphNode;
|
|
876
|
-
rowCount?: RowCount;
|
|
877
|
-
onRefresh?: () => void;
|
|
878
|
-
isFetching?: boolean;
|
|
879
|
-
error?: Error | null;
|
|
880
|
-
}
|
|
881
|
-
//#endregion
|
|
882
|
-
//#region recce-source/js/src/components/lineage/SetupConnectionBanner.d.ts
|
|
883
|
-
declare function SetupConnectionBanner(): react_jsx_runtime12.JSX.Element;
|
|
884
|
-
//#endregion
|
|
885
|
-
//#region recce-source/js/src/components/query/QueryPage.d.ts
|
|
886
|
-
declare const QueryPage: () => react_jsx_runtime12.JSX.Element;
|
|
887
|
-
//#endregion
|
|
888
|
-
//#region recce-source/js/src/components/query/QueryForm.d.ts
|
|
889
|
-
interface QueryFormProps extends BoxProps {
|
|
890
|
-
defaultPrimaryKeys: string[] | undefined;
|
|
891
|
-
onPrimaryKeysChange: (primaryKeys: string[]) => void;
|
|
892
|
-
}
|
|
893
|
-
declare const QueryForm: ({
|
|
894
|
-
defaultPrimaryKeys,
|
|
895
|
-
onPrimaryKeysChange,
|
|
896
|
-
...props
|
|
897
|
-
}: QueryFormProps) => react_jsx_runtime12.JSX.Element;
|
|
898
|
-
//#endregion
|
|
899
|
-
//#region recce-source/js/src/components/query/SqlEditor.d.ts
|
|
900
|
-
interface SqlEditorProps {
|
|
901
|
-
language?: string;
|
|
902
|
-
theme?: string;
|
|
903
|
-
value: string;
|
|
904
|
-
baseValue?: string;
|
|
905
|
-
onChange?: (value: string) => void;
|
|
906
|
-
onChangeBase?: (value: string) => void;
|
|
907
|
-
onRun?: () => void;
|
|
908
|
-
onRunBase?: () => void;
|
|
909
|
-
onRunDiff?: () => void;
|
|
910
|
-
options?: {
|
|
911
|
-
readOnly?: boolean;
|
|
912
|
-
fontSize?: number;
|
|
913
|
-
lineNumbers?: "on" | "off";
|
|
914
|
-
wordWrap?: "on" | "off";
|
|
915
|
-
};
|
|
916
|
-
manifestData?: ManifestMetadata;
|
|
917
|
-
schemas?: string;
|
|
918
|
-
label?: string;
|
|
919
|
-
CustomEditor?: React$1.ReactNode;
|
|
920
|
-
}
|
|
921
|
-
declare function SqlEditor({
|
|
922
|
-
value,
|
|
923
|
-
onChange,
|
|
924
|
-
onRun,
|
|
925
|
-
onRunBase,
|
|
926
|
-
onRunDiff,
|
|
927
|
-
label,
|
|
928
|
-
CustomEditor,
|
|
929
|
-
options,
|
|
930
|
-
manifestData,
|
|
931
|
-
schemas,
|
|
932
|
-
...props
|
|
933
|
-
}: SqlEditorProps): react_jsx_runtime12.JSX.Element;
|
|
934
|
-
//#endregion
|
|
935
|
-
//#region recce-source/js/src/components/query/QueryResultView.d.ts
|
|
936
|
-
interface QueryResultViewProp extends RunResultViewProps<QueryViewOptions> {
|
|
937
|
-
onAddToChecklist?: (run: Run) => void;
|
|
938
|
-
}
|
|
939
|
-
declare const QueryResultView: React$1.ForwardRefExoticComponent<QueryResultViewProp & React$1.RefAttributes<DataGridHandle>>;
|
|
940
|
-
//#endregion
|
|
941
|
-
//#region recce-source/js/src/components/query/QueryDiffResultView.d.ts
|
|
942
|
-
interface QueryDiffResultViewProps extends RunResultViewProps<QueryDiffViewOptions> {
|
|
943
|
-
onAddToChecklist?: (run: Run) => void;
|
|
944
|
-
baseTitle?: string;
|
|
945
|
-
currentTitle?: string;
|
|
946
|
-
}
|
|
947
|
-
declare const QueryDiffResultView: React$2.ForwardRefExoticComponent<QueryDiffResultViewProps & React$2.RefAttributes<DataGridHandle>>;
|
|
948
|
-
//#endregion
|
|
949
|
-
//#region recce-source/js/src/components/query/DiffText.d.ts
|
|
950
|
-
interface DiffTextProps {
|
|
951
|
-
value: string;
|
|
952
|
-
colorPalette: "red" | "green";
|
|
953
|
-
grayOut?: boolean;
|
|
954
|
-
noCopy?: boolean;
|
|
955
|
-
fontSize?: string;
|
|
956
|
-
}
|
|
957
|
-
declare const DiffText: ({
|
|
958
|
-
value,
|
|
959
|
-
colorPalette,
|
|
960
|
-
grayOut,
|
|
961
|
-
noCopy,
|
|
962
|
-
fontSize
|
|
963
|
-
}: DiffTextProps) => react_jsx_runtime12.JSX.Element;
|
|
964
|
-
//#endregion
|
|
965
|
-
//#region recce-source/js/src/components/query/SetupConnectionGuide.d.ts
|
|
966
|
-
declare function SetupConnectionGuide(): react_jsx_runtime12.JSX.Element;
|
|
967
|
-
//#endregion
|
|
968
|
-
//#region recce-source/js/src/components/editor/CodeEditor.d.ts
|
|
969
|
-
type CodeEditorLanguage = "sql" | "yaml";
|
|
970
|
-
type CodeEditorTheme = "light" | "dark";
|
|
971
|
-
interface CodeEditorProps {
|
|
972
|
-
value: string;
|
|
973
|
-
onChange?: (value: string) => void;
|
|
974
|
-
language?: CodeEditorLanguage;
|
|
975
|
-
readOnly?: boolean;
|
|
976
|
-
lineNumbers?: boolean;
|
|
977
|
-
wordWrap?: boolean;
|
|
978
|
-
fontSize?: number;
|
|
979
|
-
height?: string;
|
|
980
|
-
className?: string;
|
|
981
|
-
/** Theme: "light" for githubLight, "dark" for githubDark */
|
|
982
|
-
theme?: CodeEditorTheme;
|
|
983
|
-
/** Custom keyboard shortcuts: { key: handler } */
|
|
984
|
-
keyBindings?: Array<{
|
|
985
|
-
key: string;
|
|
986
|
-
run: () => boolean;
|
|
987
|
-
}>;
|
|
988
|
-
}
|
|
989
|
-
declare function CodeEditor({
|
|
990
|
-
value,
|
|
991
|
-
onChange,
|
|
992
|
-
language,
|
|
993
|
-
readOnly,
|
|
994
|
-
lineNumbers,
|
|
995
|
-
wordWrap,
|
|
996
|
-
fontSize,
|
|
997
|
-
height,
|
|
998
|
-
className,
|
|
999
|
-
theme,
|
|
1000
|
-
keyBindings
|
|
1001
|
-
}: CodeEditorProps): react_jsx_runtime12.JSX.Element;
|
|
1002
|
-
//#endregion
|
|
1003
|
-
//#region recce-source/js/src/components/editor/DiffEditor.d.ts
|
|
1004
|
-
type DiffEditorLanguage = "sql" | "yaml";
|
|
1005
|
-
type DiffEditorTheme = "light" | "dark";
|
|
1006
|
-
interface DiffEditorProps {
|
|
1007
|
-
original: string;
|
|
1008
|
-
modified: string;
|
|
1009
|
-
language?: DiffEditorLanguage;
|
|
1010
|
-
readOnly?: boolean;
|
|
1011
|
-
lineNumbers?: boolean;
|
|
1012
|
-
sideBySide?: boolean;
|
|
1013
|
-
height?: string;
|
|
1014
|
-
className?: string;
|
|
1015
|
-
/** Theme: "light" for githubLight, "dark" for githubDark */
|
|
1016
|
-
theme?: DiffEditorTheme;
|
|
1017
|
-
/** Called when modified content changes (only if not readOnly) */
|
|
1018
|
-
onModifiedChange?: (value: string) => void;
|
|
1019
|
-
}
|
|
1020
|
-
declare function DiffEditor({
|
|
1021
|
-
original,
|
|
1022
|
-
modified,
|
|
1023
|
-
language,
|
|
1024
|
-
readOnly,
|
|
1025
|
-
lineNumbers,
|
|
1026
|
-
sideBySide,
|
|
1027
|
-
height,
|
|
1028
|
-
className,
|
|
1029
|
-
theme,
|
|
1030
|
-
onModifiedChange
|
|
1031
|
-
}: DiffEditorProps): react_jsx_runtime12.JSX.Element;
|
|
1032
|
-
//#endregion
|
|
1033
|
-
//#region recce-source/js/src/components/schema/SchemaView.d.ts
|
|
1034
|
-
interface SchemaViewProps {
|
|
1035
|
-
base?: NodeData;
|
|
1036
|
-
current?: NodeData;
|
|
1037
|
-
enableScreenshot?: boolean;
|
|
1038
|
-
showMenu?: boolean;
|
|
1039
|
-
}
|
|
1040
|
-
declare const SchemaView: React$2.ForwardRefExoticComponent<SchemaViewProps & React$2.RefAttributes<DataGridHandle>>;
|
|
1041
|
-
//#endregion
|
|
1042
|
-
//#region recce-source/js/src/lib/dataGrid/generators/toSchemaDataGrid.d.ts
|
|
1043
|
-
interface SchemaDiffRow extends RowObjectType {
|
|
1044
|
-
name: string;
|
|
1045
|
-
reordered?: boolean;
|
|
1046
|
-
currentIndex?: number;
|
|
1047
|
-
baseIndex?: number;
|
|
1048
|
-
currentType?: string;
|
|
1049
|
-
baseType?: string;
|
|
1050
|
-
}
|
|
1051
|
-
//#endregion
|
|
1052
|
-
//#region recce-source/js/src/components/schema/ColumnNameCell.d.ts
|
|
1053
|
-
declare function ColumnNameCell({
|
|
1054
|
-
model,
|
|
1055
|
-
row,
|
|
1056
|
-
singleEnv,
|
|
1057
|
-
cllRunning,
|
|
1058
|
-
showMenu
|
|
1059
|
-
}: {
|
|
1060
|
-
model: NodeData;
|
|
1061
|
-
row: SchemaDiffRow;
|
|
1062
|
-
singleEnv?: boolean;
|
|
1063
|
-
cllRunning?: boolean;
|
|
1064
|
-
showMenu?: boolean;
|
|
1065
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
1066
|
-
//#endregion
|
|
1067
|
-
//#region recce-source/js/src/components/check/CheckList.d.ts
|
|
1068
|
-
declare const CheckList: ({
|
|
1069
|
-
checks,
|
|
1070
|
-
selectedItem,
|
|
1071
|
-
onCheckSelected,
|
|
1072
|
-
onChecksReordered
|
|
1073
|
-
}: {
|
|
1074
|
-
checks: Check[];
|
|
1075
|
-
selectedItem: string | null;
|
|
1076
|
-
onCheckSelected: (checkId: string) => void;
|
|
1077
|
-
onChecksReordered: (source: number, destination: number) => void;
|
|
1078
|
-
}) => react_jsx_runtime12.JSX.Element;
|
|
1079
|
-
//#endregion
|
|
1080
|
-
//#region recce-source/js/src/components/check/CheckDetail.d.ts
|
|
1081
|
-
interface CheckDetailProps {
|
|
1082
|
-
checkId: string;
|
|
1083
|
-
refreshCheckList?: () => void;
|
|
1084
|
-
}
|
|
1085
|
-
declare function CheckDetail({
|
|
1086
|
-
checkId,
|
|
1087
|
-
refreshCheckList
|
|
1088
|
-
}: CheckDetailProps): ReactNode;
|
|
1089
|
-
//#endregion
|
|
1090
|
-
//#region recce-source/js/src/components/check/CheckBreadcrumb.d.ts
|
|
1091
|
-
interface CheckBreadcrumbProps {
|
|
1092
|
-
name: string;
|
|
1093
|
-
setName: (name: string) => void;
|
|
1094
|
-
}
|
|
1095
|
-
declare function CheckBreadcrumb({
|
|
1096
|
-
name,
|
|
1097
|
-
setName
|
|
1098
|
-
}: CheckBreadcrumbProps): react_jsx_runtime12.JSX.Element;
|
|
1099
|
-
//#endregion
|
|
1100
|
-
//#region recce-source/js/src/components/check/CheckDescription.d.ts
|
|
1101
|
-
interface CheckDescriptionProps {
|
|
1102
|
-
value?: string;
|
|
1103
|
-
onChange?: (value?: string) => void;
|
|
1104
|
-
}
|
|
1105
|
-
declare function CheckDescription({
|
|
1106
|
-
value,
|
|
1107
|
-
onChange
|
|
1108
|
-
}: CheckDescriptionProps): react_jsx_runtime12.JSX.Element;
|
|
1109
|
-
//#endregion
|
|
1110
|
-
//#region recce-source/js/src/components/check/CheckEmptyState.d.ts
|
|
1111
|
-
declare const CheckEmptyState: () => react_jsx_runtime12.JSX.Element;
|
|
1112
|
-
//#endregion
|
|
1113
|
-
//#region recce-source/js/src/components/check/LineageDiffView.d.ts
|
|
1114
|
-
interface LineageDiffViewProps {
|
|
1115
|
-
check: Check;
|
|
1116
|
-
}
|
|
1117
|
-
declare const LineageDiffView: React$2.ForwardRefExoticComponent<LineageDiffViewProps & React$2.RefAttributes<LineageViewRef>>;
|
|
1118
|
-
//#endregion
|
|
1119
|
-
//#region recce-source/js/src/components/check/SchemaDiffView.d.ts
|
|
1120
|
-
interface SchemaDiffViewProps {
|
|
1121
|
-
check: Check;
|
|
1122
|
-
}
|
|
1123
|
-
declare const SchemaDiffView: React$1.ForwardRefExoticComponent<SchemaDiffViewProps & React$1.RefAttributes<DataGridHandle>>;
|
|
1124
|
-
//#endregion
|
|
1125
|
-
//#region recce-source/js/src/components/run/RunPage.d.ts
|
|
1126
|
-
interface RunPageProps$1 {
|
|
1127
|
-
runId: string;
|
|
1128
|
-
}
|
|
1129
|
-
declare const RunPage: ({
|
|
1130
|
-
runId
|
|
1131
|
-
}: RunPageProps$1) => react_jsx_runtime12.JSX.Element;
|
|
1132
|
-
//#endregion
|
|
1133
|
-
//#region recce-source/js/src/components/run/RunList.d.ts
|
|
1134
|
-
declare const RunList: () => react_jsx_runtime12.JSX.Element;
|
|
1135
|
-
//#endregion
|
|
1136
|
-
//#region recce-source/js/src/components/run/RunView.d.ts
|
|
1137
|
-
interface RunViewProps<VO = ViewOptionTypes> {
|
|
1138
|
-
isRunning?: boolean;
|
|
1139
|
-
run?: Run;
|
|
1140
|
-
error?: Error | null;
|
|
1141
|
-
progress?: Run["progress"];
|
|
1142
|
-
isAborting?: boolean;
|
|
1143
|
-
isCheckDetail?: boolean;
|
|
1144
|
-
onCancel?: () => void;
|
|
1145
|
-
onExecuteRun?: () => void;
|
|
1146
|
-
viewOptions?: VO;
|
|
1147
|
-
onViewOptionsChanged?: (viewOptions: VO) => void;
|
|
1148
|
-
RunResultView?: RegistryEntry["RunResultView"] | undefined;
|
|
1149
|
-
children?: (params: RunResultViewProps) => React$1.ReactNode;
|
|
1150
|
-
}
|
|
1151
|
-
declare const RunView: React$1.ForwardRefExoticComponent<RunViewProps<ViewOptionTypes> & React$1.RefAttributes<RefTypes>>;
|
|
1152
|
-
//#endregion
|
|
1153
|
-
//#region recce-source/js/src/components/run/RunModal.d.ts
|
|
1154
|
-
interface RunModalProps {
|
|
1155
|
-
isOpen: boolean;
|
|
1156
|
-
onClose: () => void;
|
|
1157
|
-
onExecute: (type: RunType, params: RunFormParamTypes) => void;
|
|
1158
|
-
title: string;
|
|
1159
|
-
type: RunType;
|
|
1160
|
-
params?: RunFormParamTypes;
|
|
1161
|
-
initialRun?: Run;
|
|
1162
|
-
RunForm?: ComponentType<RunFormProps<RunFormParamTypes>>;
|
|
1163
|
-
}
|
|
1164
|
-
declare const RunModal: ({
|
|
1165
|
-
isOpen,
|
|
1166
|
-
onClose,
|
|
1167
|
-
onExecute,
|
|
1168
|
-
type,
|
|
1169
|
-
title,
|
|
1170
|
-
params: defaultParams,
|
|
1171
|
-
RunForm
|
|
1172
|
-
}: RunModalProps) => react_jsx_runtime12.JSX.Element;
|
|
1173
|
-
//#endregion
|
|
1174
|
-
//#region recce-source/js/src/components/run/RunResultPane.d.ts
|
|
1175
|
-
interface RunPageProps {
|
|
1176
|
-
onClose?: () => void;
|
|
1177
|
-
disableAddToChecklist?: boolean;
|
|
1178
|
-
isSingleEnvironment?: boolean;
|
|
1179
|
-
}
|
|
1180
|
-
declare const RunResultPane: ({
|
|
1181
|
-
onClose,
|
|
1182
|
-
isSingleEnvironment
|
|
1183
|
-
}: RunPageProps) => react_jsx_runtime12.JSX.Element;
|
|
1184
|
-
//#endregion
|
|
1185
|
-
//#region recce-source/js/src/components/run/RunStatusAndDate.d.ts
|
|
1186
|
-
declare const RunStatusAndDate: ({
|
|
1187
|
-
run
|
|
1188
|
-
}: {
|
|
1189
|
-
run: Run;
|
|
1190
|
-
}) => react_jsx_runtime12.JSX.Element;
|
|
1191
|
-
//#endregion
|
|
1192
|
-
//#region recce-source/js/src/components/profile/ProfileDiffResultView.d.ts
|
|
1193
|
-
type ProfileDiffResultViewProp = RunResultViewProps<ProfileDiffViewOptions>;
|
|
1194
|
-
declare const ProfileDiffResultView: React$2.ForwardRefExoticComponent<ProfileDiffResultViewProp & React$2.RefAttributes<DataGridHandle>>;
|
|
1195
|
-
//#endregion
|
|
1196
|
-
//#region recce-source/js/src/components/valuediff/ValueDiffResultView.d.ts
|
|
1197
|
-
type ValueDiffResultViewProp = RunResultViewProps;
|
|
1198
|
-
declare const ValueDiffResultView: React$1.ForwardRefExoticComponent<ValueDiffResultViewProp & React$1.RefAttributes<DataGridHandle>>;
|
|
1199
|
-
//#endregion
|
|
1200
|
-
//#region recce-source/js/src/components/valuediff/ValueDiffDetailResultView.d.ts
|
|
1201
|
-
interface ValueDiffDetailResultViewProps extends RunResultViewProps<ValueDiffDetailViewOptions> {
|
|
1202
|
-
onAddToChecklist?: (run: Run) => void;
|
|
1203
|
-
}
|
|
1204
|
-
declare const ValueDiffDetailResultView: React$2.ForwardRefExoticComponent<ValueDiffDetailResultViewProps & React$2.RefAttributes<DataGridHandle>>;
|
|
1205
|
-
//#endregion
|
|
1206
|
-
//#region recce-source/js/src/components/histogram/HistogramDiffForm.d.ts
|
|
1207
|
-
type HistogramDiffEditProps = RunFormProps<HistogramDiffParams>;
|
|
1208
|
-
declare function HistogramDiffForm({
|
|
1209
|
-
params,
|
|
1210
|
-
onParamsChanged,
|
|
1211
|
-
setIsReadyToExecute
|
|
1212
|
-
}: HistogramDiffEditProps): react_jsx_runtime12.JSX.Element;
|
|
1213
|
-
//#endregion
|
|
1214
|
-
//#region recce-source/js/src/components/histogram/HistogramDiffResultView.d.ts
|
|
1215
|
-
type HistogramDiffResultViewProp = RunResultViewProps;
|
|
1216
|
-
declare const HistogramDiffResultView: React$2.ForwardRefExoticComponent<HistogramDiffResultViewProp & React$2.RefAttributes<HTMLDivElement>>;
|
|
1217
|
-
//#endregion
|
|
1218
|
-
//#region recce-source/js/src/components/top-k/TopKDiffForm.d.ts
|
|
1219
|
-
type TopKDiffFormProps = RunFormProps<TopKDiffParams>;
|
|
1220
|
-
declare function TopKDiffForm({
|
|
1221
|
-
params,
|
|
1222
|
-
onParamsChanged,
|
|
1223
|
-
setIsReadyToExecute
|
|
1224
|
-
}: TopKDiffFormProps): react_jsx_runtime12.JSX.Element;
|
|
1225
|
-
//#endregion
|
|
1226
|
-
//#region recce-source/js/src/components/top-k/TopKDiffResultView.d.ts
|
|
1227
|
-
type TopKDiffResultViewProp = RunResultViewProps;
|
|
1228
|
-
declare const TopKDiffResultView: React$2.ForwardRefExoticComponent<TopKDiffResultViewProp & React$2.RefAttributes<HTMLDivElement>>;
|
|
1229
|
-
//#endregion
|
|
1230
|
-
//#region recce-source/js/src/components/rowcount/RowCountDiffResultView.d.ts
|
|
1231
|
-
declare const RowCountDiffResultView: React$2.ForwardRefExoticComponent<RunResultViewProps<ViewOptionTypes> & React$2.RefAttributes<DataGridHandle>>;
|
|
1232
|
-
//#endregion
|
|
1233
|
-
//#region recce-source/js/src/components/charts/HistogramChart.d.ts
|
|
1234
|
-
/**
|
|
1235
|
-
* Histogram Chart that can display generic data types such as Numeric, Datetime, Integer
|
|
1236
|
-
* X: The Min/Max of the labels range is the scaled width of charting area
|
|
1237
|
-
* Y: The Min/Max of the counts range is the scaled height of charting area
|
|
1238
|
-
* Counts: Abbreviated based on K, Mn, Bn, Tr (see formatters)
|
|
1239
|
-
*/
|
|
1240
|
-
interface HistogramChartProps {
|
|
1241
|
-
data: {
|
|
1242
|
-
title: string;
|
|
1243
|
-
type: string;
|
|
1244
|
-
samples?: number;
|
|
1245
|
-
min?: string | number;
|
|
1246
|
-
max?: string | number;
|
|
1247
|
-
binEdges: number[];
|
|
1248
|
-
datasets: HistogramResult[];
|
|
1249
|
-
};
|
|
1250
|
-
animation?: AnimationOptions<"bar">["animation"];
|
|
1251
|
-
hideAxis?: boolean;
|
|
1252
|
-
}
|
|
1253
|
-
declare function HistogramChart({
|
|
1254
|
-
data,
|
|
1255
|
-
hideAxis,
|
|
1256
|
-
animation
|
|
1257
|
-
}: HistogramChartProps): react_jsx_runtime12.JSX.Element;
|
|
1258
|
-
//#endregion
|
|
1259
|
-
//#region recce-source/js/src/components/charts/TopKSummaryList.d.ts
|
|
1260
|
-
interface Props$2 {
|
|
1261
|
-
topk: TopKResult;
|
|
1262
|
-
valids: number;
|
|
1263
|
-
isDisplayTopTen: boolean;
|
|
1264
|
-
}
|
|
1265
|
-
/**
|
|
1266
|
-
* A list of each topk summary item (categorical)
|
|
1267
|
-
* Last list item will show 'others' when there are leftover values, which is the count difference of valids and displayed topk items
|
|
1268
|
-
*/
|
|
1269
|
-
declare function TopKSummaryList({
|
|
1270
|
-
topk,
|
|
1271
|
-
valids,
|
|
1272
|
-
isDisplayTopTen
|
|
1273
|
-
}: Props$2): react_jsx_runtime12.JSX.Element;
|
|
1274
|
-
//#endregion
|
|
1275
|
-
//#region recce-source/js/src/components/charts/SquareIcon.d.ts
|
|
1276
|
-
declare function SquareIcon({
|
|
1277
|
-
color
|
|
1278
|
-
}: {
|
|
1279
|
-
color: string;
|
|
1280
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
1281
|
-
//#endregion
|
|
1282
|
-
//#region recce-source/js/src/components/summary/SummaryView.d.ts
|
|
1283
|
-
declare function SummaryView(): react_jsx_runtime12.JSX.Element;
|
|
1284
|
-
//#endregion
|
|
1285
|
-
//#region recce-source/js/src/components/summary/ChangeSummary.d.ts
|
|
1286
|
-
interface Props$1 {
|
|
1287
|
-
lineageGraph: LineageGraph;
|
|
1288
|
-
}
|
|
1289
|
-
declare function ChangeSummary({
|
|
1290
|
-
lineageGraph
|
|
1291
|
-
}: Props$1): react_jsx_runtime12.JSX.Element;
|
|
1292
|
-
//#endregion
|
|
1293
|
-
//#region recce-source/js/src/components/summary/SchemaSummary.d.ts
|
|
1294
|
-
interface Props {
|
|
1295
|
-
lineageGraph: LineageGraph;
|
|
1296
|
-
}
|
|
1297
|
-
declare function SchemaSummary({
|
|
1298
|
-
lineageGraph
|
|
1299
|
-
}: Props): react_jsx_runtime12.JSX.Element;
|
|
1300
|
-
//#endregion
|
|
1301
|
-
//#region recce-source/js/src/components/app/EnvInfo.d.ts
|
|
1302
|
-
declare function EnvInfo$1(): react_jsx_runtime12.JSX.Element;
|
|
1303
|
-
//#endregion
|
|
1304
|
-
//#region recce-source/js/app/(mainComponents)/TopBar.d.ts
|
|
1305
|
-
declare function TopBar(): react_jsx_runtime12.JSX.Element;
|
|
1306
|
-
//#endregion
|
|
1307
|
-
//#region recce-source/js/app/(mainComponents)/NavBar.d.ts
|
|
1308
|
-
declare function NavBar(): react_jsx_runtime12.JSX.Element;
|
|
1309
|
-
//#endregion
|
|
1310
|
-
//#region recce-source/js/app/(mainComponents)/DisplayModeToggle.d.ts
|
|
1311
|
-
/**
|
|
1312
|
-
* Display Mode Toggle - switches between light and dark themes
|
|
1313
|
-
*
|
|
1314
|
-
* Uses next-themes to persist the user's preference.
|
|
1315
|
-
* Default is light theme, with future support for system preference.
|
|
1316
|
-
*/
|
|
1317
|
-
declare function DisplayModeToggle(): react_jsx_runtime12.JSX.Element;
|
|
1318
|
-
//#endregion
|
|
1319
|
-
//#region recce-source/js/app/(mainComponents)/RecceVersionBadge.d.ts
|
|
1320
|
-
declare function RecceVersionBadge(): react_jsx_runtime12.JSX.Element;
|
|
1321
|
-
//#endregion
|
|
1322
|
-
//#region recce-source/js/src/components/shared/HistoryToggle.d.ts
|
|
1323
|
-
declare function HistoryToggle(): ReactNode;
|
|
1324
|
-
//#endregion
|
|
1325
|
-
//#region recce-source/js/src/components/timeout/IdleTimeoutBadge.d.ts
|
|
1326
|
-
/**
|
|
1327
|
-
* Badge component that displays idle timeout warning countdown
|
|
1328
|
-
* Only shows when remaining time is below the warning threshold
|
|
1329
|
-
* Styled as a warning indicator to draw user attention
|
|
1330
|
-
*/
|
|
1331
|
-
declare function IdleTimeoutBadge(): react_jsx_runtime12.JSX.Element;
|
|
1332
|
-
//#endregion
|
|
1333
|
-
//#region recce-source/js/src/components/icons/index.d.ts
|
|
1334
|
-
declare const IconSync: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime12.JSX.Element;
|
|
1335
|
-
declare const IconExport: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime12.JSX.Element;
|
|
1336
|
-
declare const IconImport: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime12.JSX.Element;
|
|
1337
|
-
declare const IconSave: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime12.JSX.Element;
|
|
1338
|
-
declare const IconEdit: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime12.JSX.Element;
|
|
1339
|
-
declare const IconInfo: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime12.JSX.Element;
|
|
1340
|
-
//#endregion
|
|
1341
|
-
//#region recce-source/js/src/lib/api/instanceInfo.d.ts
|
|
1342
|
-
interface RecceInstanceInfo {
|
|
1343
|
-
server_mode: "server" | "preview" | "read-only";
|
|
1344
|
-
single_env: boolean;
|
|
1345
|
-
authed: boolean;
|
|
1346
|
-
cloud_instance: boolean;
|
|
1347
|
-
lifetime_expired_at?: Date;
|
|
1348
|
-
idle_timeout?: number;
|
|
1349
|
-
share_url?: string;
|
|
1350
|
-
session_id?: string;
|
|
1351
|
-
organization_name?: string;
|
|
1352
|
-
web_url?: string;
|
|
1353
|
-
}
|
|
1354
|
-
//#endregion
|
|
1355
|
-
//#region recce-source/js/src/lib/hooks/useRecceInstanceInfo.d.ts
|
|
1356
|
-
declare const useRecceInstanceInfo: () => _tanstack_react_query0.UseQueryResult<RecceInstanceInfo, Error>;
|
|
1357
|
-
//#endregion
|
|
1358
|
-
//#region recce-source/js/src/lib/hooks/useCheckToast.d.ts
|
|
1359
|
-
declare function useCheckToast(): {
|
|
1360
|
-
markedAsApprovedToast: () => void;
|
|
1361
|
-
};
|
|
1362
|
-
//#endregion
|
|
1363
|
-
//#region recce-source/js/src/lib/hooks/useClipBoardToast.d.ts
|
|
1364
|
-
declare function useClipBoardToast(): {
|
|
1365
|
-
successToast: (message: string) => void;
|
|
1366
|
-
failToast: (title: string, error: unknown) => void;
|
|
1367
|
-
};
|
|
1368
|
-
//#endregion
|
|
1369
|
-
//#region recce-source/js/src/components/lineage/useValueDiffAlertDialog.d.ts
|
|
1370
|
-
declare function useValueDiffAlertDialog(): {
|
|
1371
|
-
confirm: (nodeCount: number) => Promise<boolean>;
|
|
1372
|
-
AlertDialog: react_jsx_runtime12.JSX.Element;
|
|
1373
|
-
};
|
|
1374
|
-
//#endregion
|
|
1375
|
-
//#region recce-source/js/src/lib/hooks/RecceContextProvider.d.ts
|
|
1376
|
-
interface RecceContextProps {
|
|
1377
|
-
children: React$1.ReactNode;
|
|
1378
|
-
}
|
|
1379
|
-
/**
|
|
1380
|
-
* Main context provider for Recce application.
|
|
1381
|
-
*
|
|
1382
|
-
* For custom API configuration (e.g., recce-cloud), wrap this provider
|
|
1383
|
-
* with ApiConfigProvider:
|
|
1384
|
-
*
|
|
1385
|
-
* ```tsx
|
|
1386
|
-
* <ApiConfigProvider
|
|
1387
|
-
* apiPrefix="/api/v2/sessions/abc123"
|
|
1388
|
-
* authToken="eyJ..."
|
|
1389
|
-
* >
|
|
1390
|
-
* <RecceContextProvider>
|
|
1391
|
-
* {children}
|
|
1392
|
-
* </RecceContextProvider>
|
|
1393
|
-
* </ApiConfigProvider>
|
|
1394
|
-
* ```
|
|
1395
|
-
*
|
|
1396
|
-
* When used without ApiConfigProvider (OSS mode), hooks will use
|
|
1397
|
-
* the default axios client with standard /api/* endpoints.
|
|
1398
|
-
*/
|
|
1399
|
-
declare function RecceContextProvider({
|
|
1400
|
-
children
|
|
1401
|
-
}: RecceContextProps): react_jsx_runtime12.JSX.Element;
|
|
1402
|
-
//#endregion
|
|
1403
|
-
//#region recce-source/js/src/lib/hooks/RecceInstanceContext.d.ts
|
|
1404
|
-
type RecceFeatureMode = "read only" | "metadata only" | null;
|
|
1405
|
-
interface RecceFeatureToggles {
|
|
1406
|
-
mode: RecceFeatureMode;
|
|
1407
|
-
disableSaveToFile: boolean;
|
|
1408
|
-
disableExportStateFile: boolean;
|
|
1409
|
-
disableImportStateFile: boolean;
|
|
1410
|
-
disableUpdateChecklist: boolean;
|
|
1411
|
-
disableDatabaseQuery: boolean;
|
|
1412
|
-
disableViewActionDropdown: boolean;
|
|
1413
|
-
disableNodeActionDropdown: boolean;
|
|
1414
|
-
disableShare: boolean;
|
|
1415
|
-
}
|
|
1416
|
-
interface InstanceInfoType {
|
|
1417
|
-
singleEnv: boolean;
|
|
1418
|
-
authed: boolean;
|
|
1419
|
-
featureToggles: RecceFeatureToggles;
|
|
1420
|
-
lifetimeExpiredAt?: Date;
|
|
1421
|
-
shareUrl?: string;
|
|
1422
|
-
sessionId?: string;
|
|
1423
|
-
}
|
|
1424
|
-
declare function RecceInstanceInfoProvider({
|
|
1425
|
-
children
|
|
1426
|
-
}: {
|
|
1427
|
-
children: React.ReactNode;
|
|
1428
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
1429
|
-
declare const useRecceInstanceContext: () => InstanceInfoType;
|
|
1430
|
-
//#endregion
|
|
1431
|
-
//#region recce-source/js/src/lib/hooks/LineageGraphContext.d.ts
|
|
1432
|
-
interface EnvInfo {
|
|
1433
|
-
stateMetadata?: stateMetadata;
|
|
1434
|
-
adapterType?: string;
|
|
1435
|
-
git?: gitInfo;
|
|
1436
|
-
pullRequest?: pullRequestInfo;
|
|
1437
|
-
dbt?: {
|
|
1438
|
-
base: ManifestMetadata | undefined | null;
|
|
1439
|
-
current: ManifestMetadata | undefined | null;
|
|
1440
|
-
};
|
|
1441
|
-
sqlmesh?: SQLMeshInfo | null;
|
|
1442
|
-
}
|
|
1443
|
-
interface LineageGraphContextType {
|
|
1444
|
-
lineageGraph?: LineageGraph;
|
|
1445
|
-
envInfo?: EnvInfo;
|
|
1446
|
-
reviewMode?: boolean;
|
|
1447
|
-
cloudMode?: boolean;
|
|
1448
|
-
fileMode?: boolean;
|
|
1449
|
-
fileName?: string;
|
|
1450
|
-
isDemoSite: boolean;
|
|
1451
|
-
isCodespace?: boolean;
|
|
1452
|
-
isLoading?: boolean;
|
|
1453
|
-
error?: string;
|
|
1454
|
-
supportTasks?: Record<string, boolean>;
|
|
1455
|
-
retchLineageGraph?: () => void;
|
|
1456
|
-
isActionAvailable: (actionName: string) => boolean;
|
|
1457
|
-
runsAggregated?: RunsAggregated;
|
|
1458
|
-
refetchRunsAggregated?: () => void;
|
|
1459
|
-
}
|
|
1460
|
-
interface LineageGraphProps {
|
|
1461
|
-
children: React$1.ReactNode;
|
|
1462
|
-
}
|
|
1463
|
-
declare function LineageGraphContextProvider({
|
|
1464
|
-
children
|
|
1465
|
-
}: LineageGraphProps): react_jsx_runtime12.JSX.Element;
|
|
1466
|
-
declare const useLineageGraphContext: () => LineageGraphContextType;
|
|
1467
|
-
declare const useRunsAggregated: () => [RunsAggregated | undefined, () => void];
|
|
1468
|
-
//#endregion
|
|
1469
|
-
//#region recce-source/js/src/lib/hooks/RecceShareStateContext.d.ts
|
|
1470
|
-
interface ShareStateProps {
|
|
1471
|
-
shareUrl?: string;
|
|
1472
|
-
isLoading: boolean;
|
|
1473
|
-
error?: string;
|
|
1474
|
-
handleShareClick: () => Promise<void>;
|
|
1475
|
-
}
|
|
1476
|
-
declare function RecceShareStateContextProvider({
|
|
1477
|
-
children
|
|
1478
|
-
}: {
|
|
1479
|
-
children: React$1.ReactNode;
|
|
1480
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
1481
|
-
declare const useRecceShareStateContext: () => ShareStateProps;
|
|
1482
|
-
//#endregion
|
|
1483
|
-
//#region recce-source/js/src/lib/hooks/RecceQueryContext.d.ts
|
|
1484
|
-
interface QueryContext {
|
|
1485
|
-
sqlQuery: string;
|
|
1486
|
-
setSqlQuery: (sqlQuery: string) => void;
|
|
1487
|
-
primaryKeys: string[] | undefined;
|
|
1488
|
-
setPrimaryKeys: (primaryKeys: string[] | undefined) => void;
|
|
1489
|
-
isCustomQueries: boolean;
|
|
1490
|
-
setCustomQueries: (isCustomQueries: boolean) => void;
|
|
1491
|
-
baseSqlQuery?: string;
|
|
1492
|
-
setBaseSqlQuery?: (baseSqlQuery: string) => void;
|
|
1493
|
-
}
|
|
1494
|
-
interface QueryContextProps {
|
|
1495
|
-
children: React$1.ReactNode;
|
|
1496
|
-
}
|
|
1497
|
-
declare function RecceQueryContextProvider({
|
|
1498
|
-
children
|
|
1499
|
-
}: QueryContextProps): react_jsx_runtime12.JSX.Element;
|
|
1500
|
-
declare const useRecceQueryContext: () => QueryContext;
|
|
1501
|
-
interface RowCountStateContext {
|
|
1502
|
-
isNodesFetching: string[];
|
|
1503
|
-
setIsNodesFetching: (nodes: string[]) => void;
|
|
1504
|
-
}
|
|
1505
|
-
interface RowCountStateContextProps {
|
|
1506
|
-
children: React$1.ReactNode;
|
|
1507
|
-
}
|
|
1508
|
-
declare function RowCountStateContextProvider({
|
|
1509
|
-
children
|
|
1510
|
-
}: RowCountStateContextProps): react_jsx_runtime12.JSX.Element;
|
|
1511
|
-
declare const useRowCountStateContext: () => RowCountStateContext;
|
|
1512
|
-
//#endregion
|
|
1513
|
-
//#region recce-source/js/src/lib/hooks/RecceActionContext.d.ts
|
|
1514
|
-
interface RecceActionOptions {
|
|
1515
|
-
showForm: boolean;
|
|
1516
|
-
showLast?: boolean;
|
|
1517
|
-
trackProps?: SubmitRunTrackProps;
|
|
1518
|
-
}
|
|
1519
|
-
interface RecceActionContextType {
|
|
1520
|
-
runAction: (type: RunType, params?: AxiosQueryParams, actionOptions?: RecceActionOptions) => void;
|
|
1521
|
-
runId?: string;
|
|
1522
|
-
showRunId: (runId: string, refreshHistory?: boolean) => void;
|
|
1523
|
-
isRunResultOpen: boolean;
|
|
1524
|
-
closeRunResult: () => void;
|
|
1525
|
-
isHistoryOpen: boolean;
|
|
1526
|
-
closeHistory: () => void;
|
|
1527
|
-
showHistory: () => void;
|
|
1528
|
-
setHistoryOpen: Dispatch<SetStateAction<boolean>>;
|
|
1529
|
-
clearRunResult: () => void;
|
|
1530
|
-
}
|
|
1531
|
-
declare const RecceActionContext: React$1.Context<RecceActionContextType>;
|
|
1532
|
-
interface RecceActionContextProviderProps {
|
|
1533
|
-
children: React$1.ReactNode;
|
|
1534
|
-
}
|
|
1535
|
-
declare function RecceActionContextProvider({
|
|
1536
|
-
children
|
|
1537
|
-
}: RecceActionContextProviderProps): react_jsx_runtime12.JSX.Element;
|
|
1538
|
-
declare const useRecceActionContext: () => RecceActionContextType;
|
|
1539
|
-
//#endregion
|
|
1540
|
-
//#region recce-source/js/src/lib/hooks/RecceCheckContext.d.ts
|
|
1541
|
-
interface CheckContext {
|
|
1542
|
-
latestSelectedCheckId: string;
|
|
1543
|
-
setLatestSelectedCheckId: (selectCheckId: string) => void;
|
|
1544
|
-
}
|
|
1545
|
-
interface CheckContextProps {
|
|
1546
|
-
children: React$1.ReactNode;
|
|
1547
|
-
}
|
|
1548
|
-
declare function RecceCheckContextProvider({
|
|
1549
|
-
children
|
|
1550
|
-
}: CheckContextProps): react_jsx_runtime12.JSX.Element;
|
|
1551
|
-
declare const useRecceCheckContext: () => CheckContext;
|
|
1552
|
-
//#endregion
|
|
1553
|
-
//#region recce-source/js/src/lib/hooks/IdleTimeoutContext.d.ts
|
|
1554
|
-
/**
|
|
1555
|
-
* Context for sharing idle timeout state across components
|
|
1556
|
-
*
|
|
1557
|
-
* IMPORTANT: The countdown is based on the last SUCCESSFUL keep-alive API call,
|
|
1558
|
-
* NOT on user activity. This ensures the countdown accurately reflects the
|
|
1559
|
-
* server's idle timeout state.
|
|
1560
|
-
*/
|
|
1561
|
-
interface IdleTimeoutContextType {
|
|
1562
|
-
/** Remaining seconds until timeout (null if idle timeout not enabled) */
|
|
1563
|
-
remainingSeconds: number | null;
|
|
1564
|
-
/** Idle timeout value from server in seconds (null if not configured) */
|
|
1565
|
-
idleTimeout: number | null;
|
|
1566
|
-
/** Whether idle timeout is enabled */
|
|
1567
|
-
isEnabled: boolean;
|
|
1568
|
-
/** Mark as disconnected - stops countdown and keep-alive */
|
|
1569
|
-
setDisconnected: () => void;
|
|
1570
|
-
/** Reset connection state - restarts countdown and keep-alive after successful reconnect */
|
|
1571
|
-
resetConnection: () => void;
|
|
1572
|
-
/** Whether the connection is disconnected */
|
|
1573
|
-
isDisconnected: boolean;
|
|
1574
|
-
}
|
|
1575
|
-
/**
|
|
1576
|
-
* Provider for idle timeout state
|
|
1577
|
-
*
|
|
1578
|
-
* The countdown is based on lastServerSyncTime (when keep-alive API was last
|
|
1579
|
-
* successfully sent), not on user activity. This provides accurate server state.
|
|
1580
|
-
*/
|
|
1581
|
-
declare function IdleTimeoutProvider({
|
|
1582
|
-
children
|
|
1583
|
-
}: {
|
|
1584
|
-
children: ReactNode;
|
|
1585
|
-
}): react_jsx_runtime12.JSX.Element;
|
|
1586
|
-
/**
|
|
1587
|
-
* Hook to access idle timeout context
|
|
1588
|
-
* @throws Error if used outside IdleTimeoutProvider
|
|
1589
|
-
*/
|
|
1590
|
-
declare function useIdleTimeout(): IdleTimeoutContextType;
|
|
1591
|
-
//#endregion
|
|
1592
|
-
//#region recce-source/js/src/lib/hooks/ApiConfigContext.d.ts
|
|
1593
|
-
/**
|
|
1594
|
-
* API Configuration Context
|
|
1595
|
-
*
|
|
1596
|
-
* Provides configurable API endpoint prefix and authentication token
|
|
1597
|
-
* for use with recce-cloud or other custom API backends.
|
|
1598
|
-
*
|
|
1599
|
-
* Default behavior (OSS):
|
|
1600
|
-
* - apiPrefix: "" (uses /api/* paths directly)
|
|
1601
|
-
* - authToken: undefined (no auth header)
|
|
1602
|
-
*
|
|
1603
|
-
* Cloud usage example:
|
|
1604
|
-
* - apiPrefix: "/api/v2/sessions/abc123" (replaces /api with this prefix)
|
|
1605
|
-
* - authToken: "eyJ..." (adds Authorization: Bearer header)
|
|
1606
|
-
*/
|
|
1607
|
-
interface ApiConfig {
|
|
1608
|
-
/**
|
|
1609
|
-
* API endpoint prefix to replace `/api` in all requests.
|
|
1610
|
-
* For OSS: "" (empty string, uses default /api/* paths)
|
|
1611
|
-
* For Cloud: "/api/v2/sessions/<session_id>" (replaces /api with this)
|
|
1612
|
-
*/
|
|
1613
|
-
apiPrefix: string;
|
|
1614
|
-
/**
|
|
1615
|
-
* Optional authentication token for API requests.
|
|
1616
|
-
* When provided, adds "Authorization: Bearer <token>" header.
|
|
1617
|
-
*/
|
|
1618
|
-
authToken?: string;
|
|
1619
|
-
/**
|
|
1620
|
-
* Optional base URL override.
|
|
1621
|
-
* When provided, overrides the PUBLIC_API_URL for this context.
|
|
1622
|
-
*/
|
|
1623
|
-
baseUrl?: string;
|
|
1624
|
-
}
|
|
1625
|
-
interface ApiConfigContextType extends ApiConfig {
|
|
1626
|
-
/**
|
|
1627
|
-
* Pre-configured axios instance with interceptors for
|
|
1628
|
-
* API prefix replacement and auth token injection.
|
|
1629
|
-
*/
|
|
1630
|
-
apiClient: AxiosInstance;
|
|
1631
|
-
}
|
|
1632
|
-
interface ApiConfigProviderProps extends Partial<ApiConfig> {
|
|
1633
|
-
children: React$1.ReactNode;
|
|
1634
|
-
}
|
|
1635
|
-
declare function ApiConfigProvider({
|
|
1636
|
-
children,
|
|
1637
|
-
apiPrefix,
|
|
1638
|
-
authToken,
|
|
1639
|
-
baseUrl
|
|
1640
|
-
}: ApiConfigProviderProps): react_jsx_runtime12.JSX.Element;
|
|
1641
|
-
/**
|
|
1642
|
-
* Hook to access the API configuration and configured axios client.
|
|
1643
|
-
*
|
|
1644
|
-
* When used outside ApiConfigProvider, returns default config with
|
|
1645
|
-
* standard axiosClient (for OSS backward compatibility).
|
|
1646
|
-
*
|
|
1647
|
-
* @returns ApiConfigContextType with apiPrefix, authToken, and apiClient
|
|
1648
|
-
*/
|
|
1649
|
-
declare function useApiConfig(): ApiConfigContextType;
|
|
1650
|
-
/**
|
|
1651
|
-
* Hook to get the configured axios client.
|
|
1652
|
-
* Convenience wrapper around useApiConfig().apiClient
|
|
1653
|
-
*
|
|
1654
|
-
* @returns AxiosInstance configured with API prefix and auth token
|
|
1655
|
-
*/
|
|
1656
|
-
declare function useApiClient(): AxiosInstance;
|
|
1657
|
-
/**
|
|
1658
|
-
* Safe version of useApiConfig that returns null if outside provider.
|
|
1659
|
-
* Useful for components that need to detect if ApiConfigProvider is present.
|
|
1660
|
-
*/
|
|
1661
|
-
declare function useApiConfigSafe(): ApiConfigContextType | null;
|
|
1662
|
-
//#endregion
|
|
1663
|
-
//#region src/lib/hooks/RouteConfigContext.d.ts
|
|
1664
|
-
/**
|
|
1665
|
-
* Route Configuration for path prefix customization.
|
|
1666
|
-
*
|
|
1667
|
-
* This context allows recce-cloud to configure a base path prefix
|
|
1668
|
-
* for all navigation within OSS components.
|
|
1669
|
-
*
|
|
1670
|
-
* Default behavior (OSS):
|
|
1671
|
-
* - basePath: "" (uses absolute paths like /query, /checks)
|
|
1672
|
-
*
|
|
1673
|
-
* Cloud usage example:
|
|
1674
|
-
* - basePath: "/oss/abc123" or "/preview/abc123"
|
|
1675
|
-
* - Navigation to "/query" becomes "/oss/abc123/query"
|
|
1676
|
-
*/
|
|
1677
|
-
interface RouteConfig {
|
|
1678
|
-
/**
|
|
1679
|
-
* Base path prefix for navigation.
|
|
1680
|
-
* For OSS: "" (empty string, uses absolute paths like /query)
|
|
1681
|
-
* For Cloud: "/oss/<sessionId>" or "/preview/<sessionId>"
|
|
1682
|
-
*/
|
|
1683
|
-
basePath: string;
|
|
1684
|
-
}
|
|
1685
|
-
interface RouteConfigContextType extends RouteConfig {
|
|
1686
|
-
/**
|
|
1687
|
-
* Resolves a path with the base path prefix.
|
|
1688
|
-
* @param path - The path to resolve (e.g., "/query")
|
|
1689
|
-
* @returns The resolved path (e.g., "/oss/abc123/query")
|
|
1690
|
-
*/
|
|
1691
|
-
resolvePath: (path: string) => string;
|
|
1692
|
-
}
|
|
1693
|
-
interface RouteConfigProviderProps extends Partial<RouteConfig> {
|
|
1694
|
-
children: React$1.ReactNode;
|
|
1695
|
-
}
|
|
1696
|
-
/**
|
|
1697
|
-
* Provider for route configuration.
|
|
1698
|
-
*
|
|
1699
|
-
* Wrap your application (or RecceContextProvider) with this provider
|
|
1700
|
-
* to configure path prefixes for navigation.
|
|
1701
|
-
*
|
|
1702
|
-
* @example
|
|
1703
|
-
* // In recce-cloud
|
|
1704
|
-
* <RouteConfigProvider basePath={`/oss/${sessionId}`}>
|
|
1705
|
-
* <RecceContextProvider>
|
|
1706
|
-
* {children}
|
|
1707
|
-
* </RecceContextProvider>
|
|
1708
|
-
* </RouteConfigProvider>
|
|
1709
|
-
*/
|
|
1710
|
-
declare function RouteConfigProvider({
|
|
1711
|
-
children,
|
|
1712
|
-
basePath
|
|
1713
|
-
}: RouteConfigProviderProps): React$1.FunctionComponentElement<React$1.ProviderProps<RouteConfigContextType>>;
|
|
1714
|
-
/**
|
|
1715
|
-
* Hook to access route configuration.
|
|
1716
|
-
*
|
|
1717
|
-
* When used outside RouteConfigProvider, returns default config
|
|
1718
|
-
* (for OSS backward compatibility).
|
|
1719
|
-
*
|
|
1720
|
-
* @returns RouteConfigContextType with basePath and resolvePath function
|
|
1721
|
-
*/
|
|
1722
|
-
declare function useRouteConfig(): RouteConfigContextType;
|
|
1723
|
-
/**
|
|
1724
|
-
* Safe hook that returns null if context not available.
|
|
1725
|
-
* Useful for components that need to detect if RouteConfigProvider is present.
|
|
1726
|
-
*/
|
|
1727
|
-
declare function useRouteConfigSafe(): RouteConfigContextType | null;
|
|
1728
|
-
//#endregion
|
|
1729
|
-
//#region src/lib/hooks/useAppRouter.d.ts
|
|
1730
|
-
interface NavigateOptions {
|
|
1731
|
-
replace?: boolean;
|
|
1732
|
-
scroll?: boolean;
|
|
1733
|
-
}
|
|
1734
|
-
/**
|
|
1735
|
-
* Hook that provides Wouter-compatible location API using Next.js App Router
|
|
1736
|
-
* with RouteConfigContext support for path prefixing.
|
|
1737
|
-
*
|
|
1738
|
-
* NOTE: This returns only the pathname (not search params) to avoid
|
|
1739
|
-
* triggering Suspense boundaries on every navigation.
|
|
1740
|
-
*
|
|
1741
|
-
* @returns [pathname, setLocation] tuple similar to Wouter's useLocation
|
|
1742
|
-
*
|
|
1743
|
-
* @example
|
|
1744
|
-
* const [location, setLocation] = useAppLocation();
|
|
1745
|
-
* setLocation("/checks?id=123"); // In cloud mode with basePath="/oss/abc123"
|
|
1746
|
-
* // navigates to "/oss/abc123/checks?id=123"
|
|
1747
|
-
*/
|
|
1748
|
-
declare function useAppLocation(): [string, (to: string, options?: NavigateOptions) => void];
|
|
1749
|
-
/**
|
|
1750
|
-
* Hook that includes search params in the location string.
|
|
1751
|
-
* Also supports RouteConfigContext path prefixing.
|
|
1752
|
-
*
|
|
1753
|
-
* WARNING: This hook uses useSearchParams() which triggers Suspense.
|
|
1754
|
-
* Only use this in components that are wrapped in a <Suspense> boundary,
|
|
1755
|
-
* or in leaf components where suspension is acceptable.
|
|
1756
|
-
*
|
|
1757
|
-
* @returns [fullLocation, setLocation] tuple with search params included
|
|
1758
|
-
*/
|
|
1759
|
-
declare function useAppLocationWithSearch(): [string, (to: string, options?: NavigateOptions) => void];
|
|
1760
|
-
/**
|
|
1761
|
-
* Hook to check if current path matches a pattern
|
|
1762
|
-
* Similar to Wouter's useRoute
|
|
1763
|
-
*
|
|
1764
|
-
* @param pattern - The route pattern to match (e.g., "/checks/:checkId")
|
|
1765
|
-
* @returns [isMatch, params] tuple
|
|
1766
|
-
*
|
|
1767
|
-
* @example
|
|
1768
|
-
* const [isMatch, params] = useAppRoute("/checks/:checkId");
|
|
1769
|
-
* if (isMatch) {
|
|
1770
|
-
* console.log(params.checkId); // "abc-123"
|
|
1771
|
-
* }
|
|
1772
|
-
*/
|
|
1773
|
-
declare function useAppRoute(pattern: string): [boolean, Record<string, string>];
|
|
1774
|
-
/**
|
|
1775
|
-
* Imperative navigation function for use outside React components
|
|
1776
|
-
* Use sparingly - prefer useAppLocation hook in components
|
|
1777
|
-
*
|
|
1778
|
-
* NOTE: This function does NOT support RouteConfigContext because
|
|
1779
|
-
* it's used outside of React component tree. If you need path prefixing,
|
|
1780
|
-
* use useAppLocation hook instead.
|
|
1781
|
-
*
|
|
1782
|
-
* @example
|
|
1783
|
-
* // In an event handler or utility function
|
|
1784
|
-
* import { navigateTo } from "@/lib/hooks/useAppRouter";
|
|
1785
|
-
* navigateTo("/checks?id=123");
|
|
1786
|
-
*/
|
|
1787
|
-
declare function navigateTo(path: string, replace?: boolean): void;
|
|
1788
|
-
/**
|
|
1789
|
-
* Hook for programmatic navigation with more options
|
|
1790
|
-
* Provides direct access to Next.js router methods with RouteConfigContext support
|
|
1791
|
-
*
|
|
1792
|
-
* NOTE: Does not include searchParams to avoid Suspense.
|
|
1793
|
-
* Use useSearchParams() directly in components that need it.
|
|
1794
|
-
*/
|
|
1795
|
-
declare function useAppNavigation(): {
|
|
1796
|
-
/** Current pathname */
|
|
1797
|
-
pathname: string;
|
|
1798
|
-
/** Current route params */
|
|
1799
|
-
params: Record<string, string>;
|
|
1800
|
-
/** Navigate to a new path (with RouteConfigContext support) */
|
|
1801
|
-
push: (href: string, options?: {
|
|
1802
|
-
scroll?: boolean;
|
|
1803
|
-
}) => void;
|
|
1804
|
-
/** Replace current history entry (with RouteConfigContext support) */
|
|
1805
|
-
replace: (href: string, options?: {
|
|
1806
|
-
scroll?: boolean;
|
|
1807
|
-
}) => void;
|
|
1808
|
-
/** Go back in history */
|
|
1809
|
-
back: () => void;
|
|
1810
|
-
/** Go forward in history */
|
|
1811
|
-
forward: () => void;
|
|
1812
|
-
/** Refresh the current route */
|
|
1813
|
-
refresh: () => void;
|
|
1814
|
-
/** Prefetch a route for faster navigation */
|
|
1815
|
-
prefetch: (href: string, options?: next_dist_shared_lib_app_router_context_shared_runtime0.PrefetchOptions) => void;
|
|
1816
|
-
};
|
|
1817
|
-
//#endregion
|
|
1818
|
-
//#region recce-source/js/src/components/check/check.d.ts
|
|
1819
|
-
declare function buildTitle(check: Check): string;
|
|
1820
|
-
declare function buildDescription(check: Check): string;
|
|
1821
|
-
declare function buildQuery(check: Check<RunParamTypes>): string;
|
|
1822
|
-
//#endregion
|
|
1823
|
-
//#region recce-source/js/src/components/schema/schemaDiff.d.ts
|
|
1824
|
-
declare function isSchemaChanged(baseSchema: NodeData["columns"], currSchema: NodeData["columns"]): boolean;
|
|
1825
|
-
//#endregion
|
|
1826
|
-
//#region recce-source/js/src/components/valuediff/shared.d.ts
|
|
1827
|
-
declare function columnPrecisionSelectOptions(colName: string, onColumnsRenderModeChanged: (col: Record<string, ColumnRenderMode>) => void): {
|
|
1828
|
-
value: string;
|
|
1829
|
-
onClick: () => void;
|
|
1830
|
-
}[];
|
|
1831
|
-
//#endregion
|
|
1832
|
-
//#region recce-source/js/src/components/rowcount/delta.d.ts
|
|
1833
|
-
declare function deltaPercentageString(base: number, current: number): string;
|
|
1834
|
-
//#endregion
|
|
1835
|
-
//#region recce-source/js/src/constants/urls.d.ts
|
|
1836
|
-
declare const RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
|
|
1837
|
-
//#endregion
|
|
1838
|
-
//#region recce-source/js/src/constants/tooltipMessage.d.ts
|
|
1839
|
-
declare const DisableTooltipMessages: {
|
|
1840
|
-
readonly add_or_remove: "Unavailable for added or removed resources.";
|
|
1841
|
-
};
|
|
1842
|
-
//#endregion
|
|
1843
|
-
//#region recce-source/js/src/lib/const.d.ts
|
|
1844
|
-
declare const PUBLIC_API_URL: string;
|
|
1845
|
-
declare const PUBLIC_CLOUD_WEB_URL: string;
|
|
1846
|
-
//#endregion
|
|
1847
|
-
//#region recce-source/js/src/components/ui/mui-theme.d.ts
|
|
1848
|
-
declare const colors: {
|
|
1849
|
-
white: string;
|
|
1850
|
-
black: string;
|
|
1851
|
-
iochmara: {
|
|
1852
|
-
50: string;
|
|
1853
|
-
100: string;
|
|
1854
|
-
200: string;
|
|
1855
|
-
300: string;
|
|
1856
|
-
400: string;
|
|
1857
|
-
500: string;
|
|
1858
|
-
600: string;
|
|
1859
|
-
700: string;
|
|
1860
|
-
800: string;
|
|
1861
|
-
900: string;
|
|
1862
|
-
950: string;
|
|
1863
|
-
};
|
|
1864
|
-
cyan: {
|
|
1865
|
-
50: string;
|
|
1866
|
-
100: string;
|
|
1867
|
-
200: string;
|
|
1868
|
-
300: string;
|
|
1869
|
-
400: string;
|
|
1870
|
-
500: string;
|
|
1871
|
-
600: string;
|
|
1872
|
-
700: string;
|
|
1873
|
-
800: string;
|
|
1874
|
-
900: string;
|
|
1875
|
-
950: string;
|
|
1876
|
-
};
|
|
1877
|
-
neutral: {
|
|
1878
|
-
50: string;
|
|
1879
|
-
100: string;
|
|
1880
|
-
200: string;
|
|
1881
|
-
300: string;
|
|
1882
|
-
400: string;
|
|
1883
|
-
500: string;
|
|
1884
|
-
600: string;
|
|
1885
|
-
700: string;
|
|
1886
|
-
800: string;
|
|
1887
|
-
900: string;
|
|
1888
|
-
950: string;
|
|
1889
|
-
};
|
|
1890
|
-
amber: {
|
|
1891
|
-
50: string;
|
|
1892
|
-
100: string;
|
|
1893
|
-
200: string;
|
|
1894
|
-
300: string;
|
|
1895
|
-
400: string;
|
|
1896
|
-
500: string;
|
|
1897
|
-
600: string;
|
|
1898
|
-
700: string;
|
|
1899
|
-
800: string;
|
|
1900
|
-
900: string;
|
|
1901
|
-
950: string;
|
|
1902
|
-
};
|
|
1903
|
-
yellow: {
|
|
1904
|
-
50: string;
|
|
1905
|
-
100: string;
|
|
1906
|
-
200: string;
|
|
1907
|
-
300: string;
|
|
1908
|
-
400: string;
|
|
1909
|
-
500: string;
|
|
1910
|
-
600: string;
|
|
1911
|
-
700: string;
|
|
1912
|
-
800: string;
|
|
1913
|
-
900: string;
|
|
1914
|
-
950: string;
|
|
1915
|
-
};
|
|
1916
|
-
green: {
|
|
1917
|
-
50: string;
|
|
1918
|
-
100: string;
|
|
1919
|
-
200: string;
|
|
1920
|
-
300: string;
|
|
1921
|
-
400: string;
|
|
1922
|
-
500: string;
|
|
1923
|
-
600: string;
|
|
1924
|
-
700: string;
|
|
1925
|
-
800: string;
|
|
1926
|
-
900: string;
|
|
1927
|
-
950: string;
|
|
1928
|
-
};
|
|
1929
|
-
red: {
|
|
1930
|
-
50: string;
|
|
1931
|
-
100: string;
|
|
1932
|
-
200: string;
|
|
1933
|
-
300: string;
|
|
1934
|
-
400: string;
|
|
1935
|
-
500: string;
|
|
1936
|
-
600: string;
|
|
1937
|
-
700: string;
|
|
1938
|
-
800: string;
|
|
1939
|
-
900: string;
|
|
1940
|
-
950: string;
|
|
1941
|
-
};
|
|
1942
|
-
rose: {
|
|
1943
|
-
50: string;
|
|
1944
|
-
100: string;
|
|
1945
|
-
200: string;
|
|
1946
|
-
300: string;
|
|
1947
|
-
400: string;
|
|
1948
|
-
500: string;
|
|
1949
|
-
600: string;
|
|
1950
|
-
700: string;
|
|
1951
|
-
800: string;
|
|
1952
|
-
900: string;
|
|
1953
|
-
950: string;
|
|
1954
|
-
};
|
|
1955
|
-
fuchsia: {
|
|
1956
|
-
50: string;
|
|
1957
|
-
100: string;
|
|
1958
|
-
200: string;
|
|
1959
|
-
300: string;
|
|
1960
|
-
400: string;
|
|
1961
|
-
500: string;
|
|
1962
|
-
600: string;
|
|
1963
|
-
700: string;
|
|
1964
|
-
800: string;
|
|
1965
|
-
900: string;
|
|
1966
|
-
950: string;
|
|
1967
|
-
};
|
|
1968
|
-
brand: {
|
|
1969
|
-
50: string;
|
|
1970
|
-
100: string;
|
|
1971
|
-
200: string;
|
|
1972
|
-
300: string;
|
|
1973
|
-
400: string;
|
|
1974
|
-
500: string;
|
|
1975
|
-
600: string;
|
|
1976
|
-
700: string;
|
|
1977
|
-
800: string;
|
|
1978
|
-
900: string;
|
|
1979
|
-
950: string;
|
|
1980
|
-
};
|
|
1981
|
-
};
|
|
1982
|
-
declare const semanticColors: {
|
|
1983
|
-
envBase: string;
|
|
1984
|
-
envCurrent: string;
|
|
1985
|
-
};
|
|
1986
|
-
declare const lightTheme: Theme;
|
|
1987
|
-
declare const darkTheme: Theme;
|
|
1988
|
-
declare const muiTheme: Theme;
|
|
1989
|
-
declare module "@mui/material/styles" {
|
|
1990
|
-
interface Palette {
|
|
1991
|
-
brand: Palette["primary"];
|
|
1992
|
-
iochmara: Palette["primary"];
|
|
1993
|
-
cyan: Palette["primary"];
|
|
1994
|
-
amber: Palette["primary"];
|
|
1995
|
-
green: Palette["primary"];
|
|
1996
|
-
red: Palette["primary"];
|
|
1997
|
-
rose: Palette["primary"];
|
|
1998
|
-
fuchsia: Palette["primary"];
|
|
1999
|
-
neutral: Palette["primary"];
|
|
2000
|
-
envBase: string;
|
|
2001
|
-
envCurrent: string;
|
|
2002
|
-
}
|
|
2003
|
-
interface PaletteOptions {
|
|
2004
|
-
brand?: PaletteOptions["primary"];
|
|
2005
|
-
iochmara?: PaletteOptions["primary"];
|
|
2006
|
-
cyan?: PaletteOptions["primary"];
|
|
2007
|
-
amber?: PaletteOptions["primary"];
|
|
2008
|
-
green?: PaletteOptions["primary"];
|
|
2009
|
-
red?: PaletteOptions["primary"];
|
|
2010
|
-
rose?: PaletteOptions["primary"];
|
|
2011
|
-
fuchsia?: PaletteOptions["primary"];
|
|
2012
|
-
neutral?: PaletteOptions["primary"];
|
|
2013
|
-
envBase?: string;
|
|
2014
|
-
envCurrent?: string;
|
|
2015
|
-
}
|
|
2016
|
-
}
|
|
2017
|
-
/**
|
|
2018
|
-
* Token lookup function to mimic Chakra UI's token API
|
|
2019
|
-
* Usage: token("colors.green.solid") => "#16A34A"
|
|
2020
|
-
*/
|
|
2021
|
-
declare function token(path: string): string | undefined;
|
|
2022
|
-
//#endregion
|
|
2023
|
-
//#region src/theme.d.ts
|
|
2024
|
-
type Colors = typeof colors;
|
|
2025
|
-
type SemanticColors = typeof semanticColors;
|
|
2026
|
-
type TokenFn = typeof token;
|
|
2027
|
-
//#endregion
|
|
2028
|
-
//#region src/index.d.ts
|
|
2029
|
-
declare const VERSION = "0.1.0";
|
|
2030
|
-
//#endregion
|
|
2031
|
-
//#region recce-source/js/src/lib/api/adhocQuery.d.ts
|
|
2032
|
-
interface QueryParams extends QueryRunParams, QueryDiffParams, QueryPreviewChangeParams {}
|
|
2033
|
-
interface QueryPreviewChangeParams {
|
|
2034
|
-
current_model?: string;
|
|
2035
|
-
sql_template: string;
|
|
2036
|
-
primary_keys?: string[];
|
|
2037
|
-
}
|
|
2038
|
-
interface QueryRunParams {
|
|
2039
|
-
sql_template: string;
|
|
2040
|
-
}
|
|
2041
|
-
interface QueryViewOptions {
|
|
2042
|
-
pinned_columns?: string[];
|
|
2043
|
-
columnsRenderMode?: Record<string, ColumnRenderMode>;
|
|
2044
|
-
}
|
|
2045
|
-
type QueryResult = DataFrame;
|
|
2046
|
-
interface QueryDiffParams {
|
|
2047
|
-
sql_template: string;
|
|
2048
|
-
base_sql_template?: string;
|
|
2049
|
-
primary_keys?: string[];
|
|
2050
|
-
}
|
|
2051
|
-
interface QueryDiffResult {
|
|
2052
|
-
base?: DataFrame;
|
|
2053
|
-
current?: DataFrame;
|
|
2054
|
-
diff?: DataFrame;
|
|
2055
|
-
}
|
|
2056
|
-
interface QueryDiffViewOptions {
|
|
2057
|
-
changed_only?: boolean;
|
|
2058
|
-
primary_keys?: string[];
|
|
2059
|
-
pinned_columns?: string[];
|
|
2060
|
-
display_mode?: "inline" | "side_by_side";
|
|
2061
|
-
columnsRenderMode?: Record<string, ColumnRenderMode>;
|
|
2062
|
-
}
|
|
2063
|
-
declare function submitQuery(params: QueryRunParams, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
2064
|
-
declare function submitQueryBase(params: QueryRunParams, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
2065
|
-
declare function submitQueryDiff(params: QueryDiffParams, options?: SubmitOptions, client?: AxiosInstance): Promise<Run | Pick<Run, "run_id">>;
|
|
2066
|
-
//#endregion
|
|
2067
|
-
//#region recce-source/js/src/lib/api/connectToCloud.d.ts
|
|
2068
|
-
interface ConnectToCloud {
|
|
2069
|
-
connection_url: string;
|
|
2070
|
-
}
|
|
2071
|
-
declare function connectToCloud(client?: AxiosInstance): Promise<ConnectToCloud>;
|
|
2072
|
-
//#endregion
|
|
2073
|
-
//#region recce-source/js/src/lib/api/flag.d.ts
|
|
2074
|
-
interface RecceServerFlags {
|
|
2075
|
-
single_env_onboarding: boolean;
|
|
2076
|
-
show_relaunch_hint: boolean;
|
|
2077
|
-
}
|
|
2078
|
-
declare function getServerFlag(client?: AxiosInstance): Promise<RecceServerFlags>;
|
|
2079
|
-
declare function markOnboardingCompleted(client?: AxiosInstance): Promise<void>;
|
|
2080
|
-
declare function markRelaunchHintCompleted(client?: AxiosInstance): Promise<void>;
|
|
2081
|
-
//#endregion
|
|
2082
|
-
//#region recce-source/js/src/lib/api/schemacheck.d.ts
|
|
2083
|
-
interface SchemaDiffViewParams {
|
|
2084
|
-
node_id?: string | string[];
|
|
2085
|
-
select?: string;
|
|
2086
|
-
exclude?: string;
|
|
2087
|
-
view_mode?: "all" | "changed_models";
|
|
2088
|
-
packages?: string[];
|
|
2089
|
-
}
|
|
2090
|
-
declare function createSchemaDiffCheck(params: SchemaDiffViewParams, client?: AxiosInstance): Promise<Check>;
|
|
2091
|
-
//#endregion
|
|
2092
|
-
//#region recce-source/js/src/lib/api/select.d.ts
|
|
2093
|
-
interface SelectInput {
|
|
2094
|
-
select?: string;
|
|
2095
|
-
exclude?: string;
|
|
2096
|
-
packages?: string[];
|
|
2097
|
-
view_mode?: "all" | "changed_models";
|
|
2098
|
-
}
|
|
2099
|
-
interface SelectOutput {
|
|
2100
|
-
nodes: string[];
|
|
2101
|
-
}
|
|
2102
|
-
declare function select(input: SelectInput, client?: AxiosInstance): Promise<SelectOutput>;
|
|
2103
|
-
//#endregion
|
|
2104
|
-
//#region recce-source/js/src/lib/api/state.d.ts
|
|
2105
|
-
interface SaveAsInput {
|
|
2106
|
-
filename: string;
|
|
2107
|
-
overwrite?: boolean;
|
|
2108
|
-
}
|
|
2109
|
-
interface ImportedState {
|
|
2110
|
-
runs: number;
|
|
2111
|
-
checks: number;
|
|
2112
|
-
}
|
|
2113
|
-
declare function saveAs(input: SaveAsInput, client?: AxiosInstance): Promise<void>;
|
|
2114
|
-
declare function rename(input: SaveAsInput, client?: AxiosInstance): Promise<void>;
|
|
2115
|
-
declare function exportState(client?: AxiosInstance): Promise<string>;
|
|
2116
|
-
declare function importState(file: File, checksOnly?: boolean, client?: AxiosInstance): Promise<ImportedState>;
|
|
2117
|
-
declare function isStateSyncing(client?: AxiosInstance): Promise<boolean>;
|
|
2118
|
-
interface SyncStateInput {
|
|
2119
|
-
method?: "overwrite" | "revert" | "merge";
|
|
2120
|
-
}
|
|
2121
|
-
interface SyncStateResponse {
|
|
2122
|
-
status: "accepted" | "conflict" | "syncing";
|
|
2123
|
-
}
|
|
2124
|
-
declare function syncState(input: SyncStateInput, client?: AxiosInstance): Promise<SyncStateResponse>;
|
|
2125
|
-
interface ShareStateResponse {
|
|
2126
|
-
status: string;
|
|
2127
|
-
message: string;
|
|
2128
|
-
share_url?: string;
|
|
2129
|
-
}
|
|
2130
|
-
declare function shareState(client?: AxiosInstance): Promise<ShareStateResponse>;
|
|
2131
|
-
//#endregion
|
|
2132
|
-
//#region recce-source/js/src/lib/api/user.d.ts
|
|
2133
|
-
interface User {
|
|
2134
|
-
id: string;
|
|
2135
|
-
login: string;
|
|
2136
|
-
login_type: string;
|
|
2137
|
-
email: string;
|
|
2138
|
-
onboarding_state: string;
|
|
2139
|
-
}
|
|
2140
|
-
declare function fetchUser(client?: AxiosInstance): Promise<User>;
|
|
2141
|
-
declare function fetchGitHubAvatar(userId: string): Promise<string | null>;
|
|
2142
|
-
//#endregion
|
|
2143
|
-
//#region recce-source/js/src/lib/api/version.d.ts
|
|
2144
|
-
interface VersionResponse {
|
|
2145
|
-
version: string;
|
|
2146
|
-
latestVersion: string;
|
|
2147
|
-
}
|
|
2148
|
-
declare function getVersion(client?: AxiosInstance): Promise<VersionResponse>;
|
|
2149
|
-
declare function useVersionNumber(): {
|
|
2150
|
-
version: string;
|
|
2151
|
-
latestVersion: string;
|
|
2152
|
-
};
|
|
2153
|
-
//#endregion
|
|
2154
|
-
//#region recce-source/js/src/lib/api/localStorageKeys.d.ts
|
|
2155
|
-
declare const localStorageKeys: {
|
|
2156
|
-
bypassSaveOverwrite: string;
|
|
2157
|
-
previewChangeFeedbackID: string;
|
|
2158
|
-
prepareEnvGuideID: string;
|
|
2159
|
-
};
|
|
2160
|
-
//#endregion
|
|
2161
|
-
//#region recce-source/js/src/lib/api/sessionStorageKeys.d.ts
|
|
2162
|
-
declare const sessionStorageKeys: {
|
|
2163
|
-
recommendationIgnored: string;
|
|
2164
|
-
recommendationShowed: string;
|
|
2165
|
-
prevRefreshTimeStamp: string;
|
|
2166
|
-
lineageNotificationDismissed: string;
|
|
2167
|
-
};
|
|
2168
|
-
//#endregion
|
|
2169
|
-
export { token as $, getLineageDiff as $i, NodeView as $n, ValueDiffDetailViewOptions as $r, IconSave as $t, connectToCloud as A, getRun as Ai, CheckEmptyState as An, LineageDiffParams as Ar, RecceActionContextProvider as At, submitQueryBase as B, getCll as Bi, DiffText as Bn, isProfileRun as Br, useLineageGraphContext as Bt, SchemaDiffViewParams as C, TopKResult as Ci, RunResultPane as Cn, RunToolbar as Cr, useApiConfig as Ct, markOnboardingCompleted as D, SubmitRunTrackProps as Di, RunPage as Dn, ColumnRenderMode as Dr, RecceCheckContextProvider as Dt, getServerFlag as E, SubmitOptions as Ei, RunList as En, AxiosQueryParams as Er, useIdleTimeout as Et, QueryPreviewChangeParams as F, waitRun as Fi, ColumnNameCell as Fn, RunParamTypes as Fr, useRecceQueryContext as Ft, Theme as G, LineageDiffResult as Gi, QueryPage as Gn, isRowCountRun as Gr, useValueDiffAlertDialog as Gt, VERSION as H, LineageData as Hi, QueryResultView as Hn, isQueryDiffRun as Hr, RecceInstanceInfoProvider as Ht, QueryResult as I, CllInput as Ii, SchemaView as In, SchemaDiffParams as Ir, useRowCountStateContext as It, colors as J, NodeColumnData as Ji, ResourceTypeTag as Jn, isTopKDiffRun as Jr, useRecceInstanceInfo as Jt, ThemeOptions as K, ManifestMetadata as Ki, SetupConnectionBanner as Kn, isSchemaDiffRun as Kr, useClipBoardToast as Kt, QueryRunParams as L, CllNodeData as Li, DiffEditor as Ln, isHistogramDiffRun as Lr, RecceShareStateContextProvider as Lt, QueryDiffResult as M, searchRuns as Mi, CheckBreadcrumb as Mn, RowDataTypes as Mr, useRecceActionContext as Mt, QueryDiffViewOptions as N, submitRun as Ni, CheckDetail as Nn, RowObjectType as Nr, RecceQueryContextProvider as Nt, markRelaunchHintCompleted as O, aggregateRuns as Oi, SchemaDiffView as On, ColumnType as Or, useRecceCheckContext as Ot, QueryParams as P, submitRunFromCheck as Pi, CheckList as Pn, Run as Pr, RowCountStateContextProvider as Pt, semanticColors as Q, getLineage as Qi, NodeSqlView as Qn, ValueDiffDetailResult as Qr, IconInfo as Qt, QueryViewOptions as R, ColumnLineageData as Ri, CodeEditor as Rn, isLineageDiffRun as Rr, useRecceShareStateContext as Rt, select as S, TopKDiffResult as Si, RunStatusAndDate as Sn, ScreenshotDataGrid as Sr, useApiClient as St, RecceServerFlags as T, RunsAggregated as Ti, RunView as Tn, RunResultViewProps as Tr, IdleTimeoutProvider as Tt, Colors as U, LineageDataFromMetadata as Ui, SqlEditor as Un, isQueryRun as Ur, useRecceInstanceContext as Ut, submitQueryDiff as V, CatalogMetadata as Vi, QueryDiffResultView as Vn, isQueryBaseRun as Vr, useRunsAggregated as Vt, SemanticColors as W, LineageDiffData as Wi, QueryForm as Wn, isRowCountDiffRun as Wr, RecceContextProvider as Wt, lightTheme as X, SQLMeshInfo as Xi, RowCountDiffTagProps as Xn, isValueDiffRun as Xr, IconExport as Xt, darkTheme as Y, NodeData as Yi, RowCountDiffTag as Yn, isValueDiffDetailRun as Yr, IconEdit as Yt, muiTheme as Z, ServerInfoResult as Zi, RowCountTagProps as Zn, ValueDiffDetailParams as Zr, IconImport as Zt, saveAs as _, HistogramResult as _i, HistogramDiffResultView as _n, reorderChecks as _r, RouteConfigProvider as _t, User as a, stateMetadata as aa, RowCountDiffResult as ai, NavBar as an, useLineageViewContext as ar, columnPrecisionSelectOptions as at, SelectInput as b, ProfileDiffViewOptions as bi, ValueDiffResultView as bn, ValueDiffForm as br, ApiConfig as bt, ImportedState as c, HSplit as ca, submitRowCountDiff as ci, SchemaSummary as cn, createLineageDiffCheck as cr, buildQuery as ct, SyncStateInput as d, Toaster as da, RowCountDiff as di, SquareIcon as dn, createCheckByRun as dr, useAppLocation as dt, getLineageWithError as ea, ValueDiffParams as ei, IconSync as en, GraphColumnNode as er, PUBLIC_API_URL as et, SyncStateResponse as f, ToasterProvider as fa, fetchModelRowCount as fi, TopKSummaryList as fn, createSimpleCheck as fr, useAppLocationWithSearch as ft, rename as g, reactQueryClient as ga, HistogramDiffResult as gi, TopKDiffForm as gn, markAsPresetCheck as gr, RouteConfigContextType as gt, isStateSyncing as h, axiosClient as ha, HistogramDiffParams as hi, TopKDiffResultView as hn, listChecks as hr, RouteConfig as ht, useVersionNumber as i, pullRequestInfo as ia, RowCountDiffParams as ii, DisplayModeToggle as in, LineageViewContext as ir, deltaPercentageString as it, QueryDiffParams as j, listRuns as ji, CheckDescription as jn, RowData as jr, RecceActionContextType as jt, ConnectToCloud as k, cancelRun as ki, LineageDiffView as kn, DataFrame as kr, RecceActionContext as kt, SaveAsInput as l, VSplit as la, QueryRowCountResult as li, ChangeSummary as ln, Check as lr, buildTitle as lt, importState as m, MuiProvider as ma, queryRowCount as mi, RowCountDiffResultView as mn, getCheck as mr, useAppRoute as mt, localStorageKeys as n, getServerInfo as na, submitValueDiff as ni, HistoryToggle as nn, GraphNode as nr, DisableTooltipMessages as nt, fetchGitHubAvatar as o, LineagePage as oa, RowCountParams as oi, TopBar as on, LineageView as or, isSchemaChanged as ot, exportState as p, useToaster as pa, queryModelRowCount as pi, HistogramChart as pn, deleteCheck as pr, useAppNavigation as pt, TokenFn as q, ModelInfoResult as qi, ModelRowCount as qn, isSimpleRun as qr, useCheckToast as qt, getVersion as r, gitInfo as ra, submitValueDiffDetail as ri, RecceVersionBadge as rn, LineageViewTopBar as rr, RECCE_SUPPORT_CALENDAR_URL as rt, fetchUser as s, ScreenshotBox as sa, RowCountResult as si, EnvInfo$1 as sn, LineageDiffViewOptions as sr, buildDescription as st, sessionStorageKeys as t, getModelInfo as ta, ValueDiffResult as ti, IdleTimeoutBadge as tn, GraphEdge as tr, PUBLIC_CLOUD_WEB_URL as tt, ShareStateResponse as u, ErrorBoundary as ua, RowCount as ui, SummaryView as un, CreateCheckBody as ur, navigateTo as ut, shareState as v, ProfileDiffParams as vi, HistogramDiffForm as vn, updateCheck as vr, useRouteConfig as vt, createSchemaDiffCheck as w, submitProfileDiff as wi, RunModal as wn, RunFormProps as wr, useApiConfigSafe as wt, SelectOutput as x, TopKDiffParams as xi, ProfileDiffResultView as xn, ProfileDiffForm as xr, ApiConfigProvider as xt, syncState as y, ProfileDiffResult as yi, ValueDiffDetailResultView as yn, useChecks as yr, useRouteConfigSafe as yt, submitQuery as z, ImpactRadiusParams as zi, SetupConnectionGuide as zn, isProfileDiffRun as zr, LineageGraphContextProvider as zt };
|
|
2170
|
-
//# sourceMappingURL=index-B9lSPJTi.d.ts.map
|