@datarecce/ui 0.1.21 → 0.1.23

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