@datarecce/ui 0.1.21 → 0.1.22

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