@datarecce/ui 0.1.9 → 0.1.10

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.
@@ -0,0 +1,597 @@
1
+ import * as _tanstack_react_query from '@tanstack/react-query';
2
+ import { AxiosResponse } from 'axios';
3
+ import React__default, { ReactNode, CSSProperties, Ref, ForwardRefExoticComponent, RefAttributes, ComponentType } from 'react';
4
+ import { IconType } from 'react-icons';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import { GridReadyEvent, ColDef, ColGroupDef } from 'ag-grid-community';
7
+ import { AgGridReactProps } from 'ag-grid-react';
8
+
9
+ /**
10
+ * The data from the API
11
+ */
12
+ interface NodeColumnData {
13
+ name: string;
14
+ type: string;
15
+ transformation_type?: string;
16
+ change_status?: "added" | "removed" | "modified";
17
+ not_null?: boolean;
18
+ unique?: boolean;
19
+ }
20
+ interface NodeData {
21
+ id: string;
22
+ unique_id: string;
23
+ name: string;
24
+ schema?: string;
25
+ checksum?: {
26
+ name: string;
27
+ checksum: string;
28
+ };
29
+ raw_code?: string;
30
+ resource_type?: string;
31
+ package_name?: string;
32
+ columns?: Record<string, NodeColumnData | undefined>;
33
+ primary_key?: string;
34
+ }
35
+ interface ArtifactMetadata {
36
+ dbt_version: string;
37
+ dbt_schema_version: string;
38
+ generated_at: string;
39
+ adapter_type: string;
40
+ env: Record<string, string>;
41
+ invocation_id: string;
42
+ }
43
+ interface ManifestMetadata extends ArtifactMetadata {
44
+ project_id?: string;
45
+ project_name?: string;
46
+ user_id?: string;
47
+ }
48
+ interface SQLMeshInfo {
49
+ base_env: string;
50
+ current_env: string;
51
+ }
52
+ type CatalogMetadata = ArtifactMetadata;
53
+ interface LineageData {
54
+ metadata: {
55
+ pr_url: string;
56
+ git_branch?: string;
57
+ };
58
+ nodes: Record<string, NodeData>;
59
+ parent_map: Record<string, string[]>;
60
+ manifest_metadata?: ManifestMetadata | null;
61
+ catalog_metadata?: CatalogMetadata | null;
62
+ }
63
+ interface LineageDataFromMetadata extends Omit<LineageData, "nodes"> {
64
+ nodes: Record<string, NodeData | undefined>;
65
+ }
66
+ type LineageDiffData = Record<string, {
67
+ change_status: "added" | "removed" | "modified";
68
+ change: {
69
+ category: "breaking" | "non_breaking" | "partial_breaking" | "unknown";
70
+ columns: Record<string, "added" | "removed" | "modified"> | null;
71
+ } | null;
72
+ }>;
73
+ interface LineageOutput {
74
+ error?: string;
75
+ data?: LineageData;
76
+ }
77
+ declare function getLineage(base?: boolean): Promise<LineageData>;
78
+ declare function getLineageWithError(base?: boolean): Promise<LineageOutput>;
79
+ interface LineageDiffResult {
80
+ base?: LineageData;
81
+ current?: LineageData;
82
+ base_error?: string;
83
+ current_error?: string;
84
+ }
85
+ declare function getLineageDiff(): Promise<LineageDiffResult>;
86
+ interface stateMetadata {
87
+ schema_version: string;
88
+ recce_version: string;
89
+ generated_at: string;
90
+ }
91
+ interface gitInfo {
92
+ branch?: string;
93
+ }
94
+ interface pullRequestInfo {
95
+ id?: string | number;
96
+ title?: string;
97
+ url?: string;
98
+ branch?: string;
99
+ base_branch?: string;
100
+ }
101
+ interface ServerInfoResult {
102
+ state_metadata: stateMetadata;
103
+ adapter_type: string;
104
+ review_mode: boolean;
105
+ cloud_mode: boolean;
106
+ file_mode: boolean;
107
+ filename?: string;
108
+ git?: gitInfo;
109
+ pull_request?: pullRequestInfo;
110
+ sqlmesh?: SQLMeshInfo;
111
+ lineage: {
112
+ base: LineageData;
113
+ current: LineageData;
114
+ diff: LineageDiffData;
115
+ };
116
+ demo: boolean;
117
+ codespace: boolean;
118
+ support_tasks: Record<string, boolean>;
119
+ }
120
+ declare function getServerInfo(): Promise<ServerInfoResult>;
121
+ interface ModelInfoResult {
122
+ model: {
123
+ base: {
124
+ columns?: Record<string, NodeColumnData>;
125
+ primary_key?: string;
126
+ };
127
+ current: {
128
+ columns?: Record<string, NodeColumnData>;
129
+ primary_key?: string;
130
+ };
131
+ };
132
+ }
133
+ declare function getModelInfo(model: string): Promise<ModelInfoResult>;
134
+
135
+ interface CllInput {
136
+ node_id?: string;
137
+ column?: string;
138
+ change_analysis?: boolean;
139
+ no_cll?: boolean;
140
+ no_upstream?: boolean;
141
+ no_downstream?: boolean;
142
+ }
143
+ interface ImpactRadiusParams {
144
+ node_id: string;
145
+ }
146
+ interface CllNodeData {
147
+ id: string;
148
+ name: string;
149
+ source_name: string;
150
+ resource_type: string;
151
+ raw_code?: string;
152
+ change_status?: "added" | "removed" | "modified";
153
+ change_category?: "breaking" | "non_breaking" | "partial_breaking" | "unknown";
154
+ impacted?: boolean;
155
+ columns?: Record<string, NodeColumnData>;
156
+ }
157
+ interface ColumnLineageData {
158
+ current: {
159
+ nodes: Record<string, CllNodeData>;
160
+ columns: Record<string, NodeColumnData>;
161
+ parent_map: Record<string, Set<string>>;
162
+ child_map: Record<string, Set<string>>;
163
+ };
164
+ }
165
+ declare function getCll(input: CllInput): Promise<ColumnLineageData>;
166
+
167
+ interface SubmitRunTrackProps {
168
+ breaking_change_analysis?: boolean;
169
+ source?: "lineage_model_node" | "lineage_column_node";
170
+ [key: string]: unknown;
171
+ }
172
+ interface SubmitOptions {
173
+ nowait?: boolean;
174
+ trackProps?: SubmitRunTrackProps;
175
+ }
176
+ declare function submitRun(type: RunType, params?: RunParamTypes, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
177
+ declare function getRun(runId: string): Promise<Run>;
178
+ declare function waitRun(runId: string, timeout?: number): Promise<Run>;
179
+ declare function cancelRun(runId: string): Promise<AxiosResponse<never, any, {}>>;
180
+ declare function submitRunFromCheck(checkId: string, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
181
+ declare function searchRuns(type: string, params?: AxiosQueryParams, limit?: number): Promise<Run[]>;
182
+ declare function listRuns(): Promise<Run[]>;
183
+ type RunsAggregated = Record<string, Record<"row_count_diff" | "value_diff" | "row_count", {
184
+ run_id: string;
185
+ result: unknown;
186
+ }>>;
187
+ declare function aggregateRuns(): Promise<RunsAggregated>;
188
+
189
+ interface QueryParams extends QueryRunParams, QueryDiffParams, QueryPreviewChangeParams {
190
+ }
191
+ interface QueryPreviewChangeParams {
192
+ current_model?: string;
193
+ sql_template: string;
194
+ primary_keys?: string[];
195
+ }
196
+ interface QueryRunParams {
197
+ sql_template: string;
198
+ }
199
+ interface QueryViewOptions {
200
+ pinned_columns?: string[];
201
+ columnsRenderMode?: Record<string, ColumnRenderMode>;
202
+ }
203
+ type QueryResult = DataFrame;
204
+ interface QueryDiffParams {
205
+ sql_template: string;
206
+ base_sql_template?: string;
207
+ primary_keys?: string[];
208
+ }
209
+ interface QueryDiffResult {
210
+ base?: DataFrame;
211
+ current?: DataFrame;
212
+ diff?: DataFrame;
213
+ }
214
+ interface QueryDiffViewOptions {
215
+ changed_only?: boolean;
216
+ primary_keys?: string[];
217
+ pinned_columns?: string[];
218
+ display_mode?: "inline" | "side_by_side";
219
+ columnsRenderMode?: Record<string, ColumnRenderMode>;
220
+ }
221
+ declare function submitQuery(params: QueryRunParams, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
222
+ declare function submitQueryBase(params: QueryRunParams, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
223
+ declare function submitQueryDiff(params: QueryDiffParams, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
224
+
225
+ interface ProfileDiffParams {
226
+ model: string;
227
+ columns?: string[];
228
+ }
229
+ interface ProfileDiffResult {
230
+ base?: DataFrame;
231
+ current?: DataFrame;
232
+ }
233
+ interface ProfileDiffViewOptions {
234
+ pinned_columns?: string[];
235
+ display_mode?: "side_by_side" | "inline";
236
+ columnsRenderMode?: Record<string, ColumnRenderMode>;
237
+ }
238
+ declare function submitProfileDiff(params: ProfileDiffParams, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
239
+ interface TopKDiffParams {
240
+ model: string;
241
+ column_name: string;
242
+ k: number;
243
+ }
244
+ interface TopKResult {
245
+ values: (string | number | undefined)[];
246
+ counts: number[];
247
+ valids: number;
248
+ }
249
+ interface TopKDiffResult {
250
+ base: TopKResult;
251
+ current: TopKResult;
252
+ }
253
+ interface HistogramDiffParams {
254
+ model: string;
255
+ column_name: string;
256
+ column_type: string;
257
+ }
258
+ interface HistogramResult {
259
+ counts: number[];
260
+ total: number;
261
+ }
262
+ interface HistogramDiffResult {
263
+ base: HistogramResult;
264
+ current: HistogramResult;
265
+ min: number;
266
+ max: number;
267
+ bin_edges: number[];
268
+ labels?: string[];
269
+ }
270
+
271
+ interface RowCount {
272
+ name?: string;
273
+ curr: number | null;
274
+ }
275
+ interface RowCountDiff {
276
+ name?: string;
277
+ base: number | null;
278
+ curr: number | null;
279
+ }
280
+ interface QueryRowCountResult {
281
+ runId: string;
282
+ result: RowCountDiffResult;
283
+ }
284
+ declare function fetchModelRowCount(modelName: string): Promise<RowCountDiff>;
285
+ declare function queryModelRowCount(modelName: string): Promise<RowCountDiff>;
286
+ declare function queryRowCount(modelNames: string[]): Promise<QueryRowCountResult>;
287
+
288
+ interface RowCountParams {
289
+ node_names: string[];
290
+ }
291
+ type RowCountResult = Record<string, RowCount>;
292
+ interface RowCountDiffParams {
293
+ node_names: string[];
294
+ }
295
+ type RowCountDiffResult = Record<string, RowCountDiff>;
296
+ declare function submitRowCountDiff(params: RowCountDiffParams, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
297
+
298
+ interface ValueDiffResult {
299
+ summary: {
300
+ total: number;
301
+ added: number;
302
+ removed: number;
303
+ };
304
+ data: DataFrame;
305
+ }
306
+ interface ValueDiffParams {
307
+ model: string;
308
+ primary_key: string | string[];
309
+ columns?: string[];
310
+ }
311
+ declare function submitValueDiff(params: ValueDiffParams, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
312
+ type ValueDiffDetailResult = DataFrame;
313
+ type ValueDiffDetailParams = ValueDiffParams;
314
+ interface ValueDiffDetailViewOptions {
315
+ changed_only?: boolean;
316
+ pinned_columns?: string[];
317
+ display_mode?: "inline" | "side_by_side";
318
+ columnsRenderMode?: Record<string, ColumnRenderMode>;
319
+ }
320
+ declare function submitValueDiffDetail(params: ValueDiffParams, options?: SubmitOptions): Promise<Run | Pick<Run, "run_id">>;
321
+
322
+ type AxiosQueryParams = Record<string, string | string[] | number | number[] | undefined>;
323
+ type RowDataTypes = number | string | boolean | null | undefined;
324
+ type RowData = RowDataTypes[];
325
+ type RowObjectType = Record<string, RowDataTypes> & {
326
+ __status: "added" | "removed" | "modified" | undefined;
327
+ _index?: number;
328
+ };
329
+ type ColumnType = "number" | "integer" | "text" | "boolean" | "date" | "datetime" | "timedelta" | "unknown";
330
+ type ColumnRenderMode = "raw" | "percent" | "delta" | 2;
331
+ interface DataFrame {
332
+ columns: {
333
+ key: string;
334
+ name: string;
335
+ type: ColumnType;
336
+ }[];
337
+ data: RowData[];
338
+ limit?: number;
339
+ more?: boolean;
340
+ }
341
+
342
+ interface SchemaDiffParams {
343
+ node_id?: string | string[];
344
+ select?: string;
345
+ exclude?: string;
346
+ packages?: string[];
347
+ view_mode?: "all" | "changed_models";
348
+ }
349
+ interface LineageDiffParams {
350
+ select?: string;
351
+ exclude?: string;
352
+ packages?: string[];
353
+ view_mode?: "all" | "changed_models";
354
+ }
355
+ type RunParamTypes = QueryRunParams | QueryDiffParams | ValueDiffParams | SchemaDiffParams | ProfileDiffParams | RowCountParams | RowCountDiffParams | LineageDiffParams | TopKDiffParams | HistogramDiffParams | undefined;
356
+ interface BaseRun {
357
+ type: RunType;
358
+ run_id: string;
359
+ run_at: string;
360
+ name?: string;
361
+ check_id?: string;
362
+ progress?: {
363
+ message?: string;
364
+ percentage?: number;
365
+ };
366
+ error?: string;
367
+ status?: "finished" | "failed" | "cancelled" | "running";
368
+ }
369
+ type Run = (BaseRun & {
370
+ type: "simple";
371
+ params?: undefined;
372
+ result?: undefined;
373
+ }) | (BaseRun & {
374
+ type: "sandbox";
375
+ params?: undefined;
376
+ result?: undefined;
377
+ }) | (BaseRun & {
378
+ type: "query";
379
+ params?: QueryRunParams;
380
+ result?: QueryResult;
381
+ }) | (BaseRun & {
382
+ type: "query_base";
383
+ params?: QueryRunParams;
384
+ result?: QueryResult;
385
+ }) | (BaseRun & {
386
+ type: "query_diff";
387
+ params?: QueryDiffParams;
388
+ result?: QueryDiffResult;
389
+ }) | (BaseRun & {
390
+ type: "value_diff";
391
+ params?: ValueDiffParams;
392
+ result?: ValueDiffResult;
393
+ }) | (BaseRun & {
394
+ type: "value_diff_detail";
395
+ params?: ValueDiffDetailParams;
396
+ result?: ValueDiffDetailResult;
397
+ }) | (BaseRun & {
398
+ type: "schema_diff";
399
+ params?: SchemaDiffParams;
400
+ result?: undefined;
401
+ }) | (BaseRun & {
402
+ type: "profile";
403
+ params?: ProfileDiffParams;
404
+ result?: ProfileDiffResult;
405
+ }) | (BaseRun & {
406
+ type: "profile_diff";
407
+ params?: ProfileDiffParams;
408
+ result?: ProfileDiffResult;
409
+ }) | (BaseRun & {
410
+ type: "row_count";
411
+ params?: RowCountParams;
412
+ result?: RowCountResult;
413
+ }) | (BaseRun & {
414
+ type: "row_count_diff";
415
+ params?: RowCountDiffParams;
416
+ result?: RowCountDiffResult;
417
+ }) | (BaseRun & {
418
+ type: "lineage_diff";
419
+ params?: LineageDiffParams;
420
+ result?: LineageDiffResult;
421
+ }) | (BaseRun & {
422
+ type: "top_k_diff";
423
+ params?: TopKDiffParams;
424
+ result?: TopKDiffResult;
425
+ }) | (BaseRun & {
426
+ type: "histogram_diff";
427
+ params?: HistogramDiffParams;
428
+ result?: HistogramDiffResult;
429
+ });
430
+ declare function isSimpleRun(run: Run): run is Extract<Run, {
431
+ type: "simple";
432
+ }>;
433
+ declare function isQueryRun(run: Run): run is Extract<Run, {
434
+ type: "query";
435
+ }>;
436
+ declare function isQueryBaseRun(run: Run): run is Extract<Run, {
437
+ type: "query_base";
438
+ }>;
439
+ declare function isQueryDiffRun(run: Run): run is Extract<Run, {
440
+ type: "query_diff";
441
+ }>;
442
+ declare function isValueDiffRun(run: Run): run is Extract<Run, {
443
+ type: "value_diff";
444
+ }>;
445
+ declare function isValueDiffDetailRun(run: Run): run is Extract<Run, {
446
+ type: "value_diff_detail";
447
+ }>;
448
+ declare function isSchemaDiffRun(run: Run): run is Extract<Run, {
449
+ type: "schema_diff";
450
+ }>;
451
+ declare function isProfileRun(run: Run): run is Extract<Run, {
452
+ type: "profile";
453
+ }>;
454
+ declare function isProfileDiffRun(run: Run): run is Extract<Run, {
455
+ type: "profile_diff";
456
+ }>;
457
+ declare function isRowCountRun(run: Run): run is Extract<Run, {
458
+ type: "row_count";
459
+ }>;
460
+ declare function isRowCountDiffRun(run: Run): run is Extract<Run, {
461
+ type: "row_count_diff";
462
+ }>;
463
+ declare function isLineageDiffRun(run: Run): run is Extract<Run, {
464
+ type: "lineage_diff";
465
+ }>;
466
+ declare function isTopKDiffRun(run: Run): run is Extract<Run, {
467
+ type: "top_k_diff";
468
+ }>;
469
+ declare function isHistogramDiffRun(run: Run): run is Extract<Run, {
470
+ type: "histogram_diff";
471
+ }>;
472
+
473
+ interface RunFormProps<PT> {
474
+ params: Partial<PT>;
475
+ onParamsChanged: (params: Partial<PT>) => void;
476
+ setIsReadyToExecute: (isReadyToExecute: boolean) => void;
477
+ }
478
+ interface RunResultViewProps<VO = ViewOptionTypes> {
479
+ run: Run;
480
+ viewOptions?: VO;
481
+ onViewOptionsChanged?: (viewOptions: VO) => void;
482
+ }
483
+
484
+ interface DiffViewOptions {
485
+ changed_only?: boolean;
486
+ }
487
+ interface RunToolbarProps<VO> extends RunResultViewProps<VO> {
488
+ warnings?: string[];
489
+ children?: ReactNode;
490
+ }
491
+ declare const RunToolbar: ({ warnings, children, }: RunToolbarProps<DiffViewOptions>) => react_jsx_runtime.JSX.Element;
492
+
493
+ /**
494
+ * Handle type for accessing AG Grid API and DOM element (for screenshots)
495
+ */
496
+ interface DataGridHandle {
497
+ api: GridReadyEvent["api"] | null;
498
+ /** DOM element for screenshot functionality */
499
+ element: HTMLElement | null;
500
+ }
501
+ /**
502
+ * Props for ScreenshotDataGrid component
503
+ *
504
+ * Supports both new AG Grid style props (columnDefs/rowData) and
505
+ * legacy react-data-grid style props (columns/rows) for backward compatibility
506
+ */
507
+ interface ScreenshotDataGridProps<TData = RowObjectType> extends Omit<AgGridReactProps<TData>, "theme" | "rowClass"> {
508
+ /** Container style */
509
+ style?: CSSProperties;
510
+ /** Additional CSS class for container */
511
+ className?: string;
512
+ /** Empty state renderer (legacy) */
513
+ renderers?: {
514
+ noRowsFallback?: React__default.ReactNode;
515
+ };
516
+ /** Legacy: Column definitions (maps to columnDefs) */
517
+ columns?: (ColDef<TData> | ColGroupDef<TData>)[];
518
+ /** Legacy: Row data (maps to rowData) */
519
+ rows?: TData[];
520
+ /** Legacy: Default column options (maps to defaultColDef) */
521
+ defaultColumnOptions?: ColDef<TData>;
522
+ }
523
+ declare const ScreenshotDataGrid: <TData = RowObjectType>(props: ScreenshotDataGridProps<TData> & {
524
+ ref?: Ref<DataGridHandle>;
525
+ }) => React__default.ReactNode;
526
+
527
+ interface ProfileDiffFormParams {
528
+ model: string;
529
+ primary_key?: string | (string | undefined)[];
530
+ columns?: string[];
531
+ }
532
+ type ProfileDiffFormProp = RunFormProps<ProfileDiffFormParams>;
533
+ declare function ProfileDiffForm({ params, onParamsChanged, setIsReadyToExecute, }: ProfileDiffFormProp): react_jsx_runtime.JSX.Element;
534
+
535
+ interface ValueDiffFormParams {
536
+ model: string;
537
+ primary_key?: string | (string | undefined)[];
538
+ columns?: string[];
539
+ }
540
+ type ValueDiffFormProp = RunFormProps<ValueDiffFormParams>;
541
+ declare function ValueDiffForm({ params, onParamsChanged, setIsReadyToExecute, }: ValueDiffFormProp): react_jsx_runtime.JSX.Element;
542
+
543
+ type ViewOptionTypes = LineageDiffViewOptions | DiffViewOptions | QueryViewOptions | QueryDiffViewOptions | ProfileDiffViewOptions | ValueDiffDetailViewOptions;
544
+ 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";
545
+ type RefTypes = React__default.Ref<DataGridHandle> | React__default.Ref<HTMLDivElement>;
546
+ type RunFormParamTypes = ProfileDiffFormParams | ValueDiffFormParams | TopKDiffParams | HistogramDiffParams | AxiosQueryParams;
547
+ interface RegistryEntry<PT = RefTypes, VO = ViewOptionTypes> {
548
+ title: string;
549
+ icon: IconType;
550
+ RunResultView?: ForwardRefExoticComponent<RunResultViewProps<VO> & RefAttributes<PT>>;
551
+ RunForm?: ComponentType<RunFormProps<RunFormParamTypes>>;
552
+ }
553
+
554
+ interface Check<PT = unknown, VO = unknown> {
555
+ check_id: string;
556
+ name: string;
557
+ description?: string;
558
+ type: RunType;
559
+ params?: PT;
560
+ view_options?: VO;
561
+ is_checked?: boolean;
562
+ is_preset?: boolean;
563
+ last_run?: Run;
564
+ }
565
+ interface CreateCheckBody {
566
+ name?: string;
567
+ description?: string;
568
+ run_id?: string;
569
+ type?: RunType;
570
+ params?: Record<string, string | boolean>;
571
+ view_options?: Record<string, string | boolean>;
572
+ track_props?: Record<string, string | boolean>;
573
+ }
574
+ declare function createSimpleCheck(): Promise<Check>;
575
+ declare function createCheckByRun(runId: string, viewOptions?: Record<string, unknown>): Promise<Check>;
576
+ declare function listChecks(): Promise<Check[]>;
577
+ declare function useChecks(enabled: boolean): _tanstack_react_query.UseQueryResult<Check<unknown, unknown>[], Error>;
578
+ declare function getCheck(checkId: string): Promise<Check<RunParamTypes>>;
579
+ declare function updateCheck(checkId: string, payload: Partial<Check>): Promise<Check>;
580
+ declare function deleteCheck(checkId: string): Promise<Pick<Check<unknown, unknown>, "check_id">>;
581
+ declare function reorderChecks(order: {
582
+ source: number;
583
+ destination: number;
584
+ }): Promise<AxiosResponse<unknown, any, {}>>;
585
+ declare function markAsPresetCheck(checkId: string): Promise<void>;
586
+
587
+ interface LineageDiffViewOptions {
588
+ view_mode?: "changed_models" | "all";
589
+ node_ids?: string[];
590
+ packages?: string[];
591
+ select?: string;
592
+ exclude?: string;
593
+ column_level_lineage?: CllInput;
594
+ }
595
+ declare function createLineageDiffCheck(viewOptions: LineageDiffViewOptions): Promise<Check>;
596
+
597
+ export { type RowCountDiff as $, type CatalogMetadata as A, type LineageDataFromMetadata as B, type Check as C, type LineageDiffData as D, getLineage as E, getLineageWithError as F, type LineageDiffResult as G, getLineageDiff as H, type ImpactRadiusParams as I, type stateMetadata as J, type gitInfo as K, type LineageData as L, type ManifestMetadata as M, type NodeColumnData as N, type pullRequestInfo as O, ProfileDiffForm as P, type QueryParams as Q, RunToolbar as R, ScreenshotDataGrid as S, type ServerInfoResult as T, getServerInfo as U, ValueDiffForm as V, type ModelInfoResult as W, getModelInfo as X, type LineageDiffViewOptions as Y, createLineageDiffCheck as Z, type RowCount as _, type QueryPreviewChangeParams as a, type RunResultViewProps as a$, type QueryRowCountResult as a0, fetchModelRowCount as a1, queryModelRowCount as a2, queryRowCount as a3, type ProfileDiffParams as a4, type ProfileDiffResult as a5, type ProfileDiffViewOptions as a6, submitProfileDiff as a7, type TopKDiffParams as a8, type TopKResult as a9, submitValueDiffDetail as aA, type AxiosQueryParams as aB, type RowDataTypes as aC, type RowData as aD, type RowObjectType as aE, type ColumnType as aF, type ColumnRenderMode as aG, type DataFrame as aH, type SchemaDiffParams as aI, type LineageDiffParams as aJ, type RunParamTypes as aK, type Run as aL, isSimpleRun as aM, isQueryRun as aN, isQueryBaseRun as aO, isQueryDiffRun as aP, isValueDiffRun as aQ, isValueDiffDetailRun as aR, isSchemaDiffRun as aS, isProfileRun as aT, isProfileDiffRun as aU, isRowCountRun as aV, isRowCountDiffRun as aW, isLineageDiffRun as aX, isTopKDiffRun as aY, isHistogramDiffRun as aZ, type RunFormProps as a_, type TopKDiffResult as aa, type HistogramDiffParams as ab, type HistogramResult as ac, type HistogramDiffResult as ad, type RowCountParams as ae, type RowCountResult as af, type RowCountDiffParams as ag, type RowCountDiffResult as ah, submitRowCountDiff as ai, type SubmitRunTrackProps as aj, type SubmitOptions as ak, submitRun as al, getRun as am, waitRun as an, cancelRun as ao, submitRunFromCheck as ap, searchRuns as aq, listRuns as ar, type RunsAggregated as as, aggregateRuns as at, type ValueDiffResult as au, type ValueDiffParams as av, submitValueDiff as aw, type ValueDiffDetailResult as ax, type ValueDiffDetailParams as ay, type ValueDiffDetailViewOptions as az, type QueryRunParams as b, type DataGridHandle as b0, type ViewOptionTypes as b1, type RegistryEntry as b2, type RefTypes as b3, type RunType as b4, type RunFormParamTypes as b5, type QueryViewOptions as c, type QueryResult as d, type QueryDiffParams as e, type QueryDiffResult as f, type QueryDiffViewOptions as g, submitQueryBase as h, submitQueryDiff as i, type CreateCheckBody as j, createSimpleCheck as k, createCheckByRun as l, listChecks as m, getCheck as n, updateCheck as o, deleteCheck as p, markAsPresetCheck as q, reorderChecks as r, submitQuery as s, type CllInput as t, useChecks as u, type CllNodeData as v, type ColumnLineageData as w, getCll as x, type NodeData as y, type SQLMeshInfo as z };
@@ -0,0 +1,33 @@
1
+ import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-BIlm5vq1.mjs';
2
+ export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-BIlm5vq1.mjs';
3
+ import '@tanstack/react-query';
4
+ import 'axios';
5
+ import 'react';
6
+ import 'react-icons';
7
+ import 'react/jsx-runtime';
8
+ import 'ag-grid-community';
9
+ import 'ag-grid-react';
10
+
11
+ declare function buildTitle(check: Check): string;
12
+ declare function buildDescription(check: Check): string;
13
+ declare function buildQuery(check: Check<RunParamTypes>): string;
14
+
15
+ declare function isSchemaChanged(baseSchema: NodeData["columns"], currSchema: NodeData["columns"]): boolean;
16
+
17
+ declare function columnPrecisionSelectOptions(colName: string, onColumnsRenderModeChanged: (col: Record<string, ColumnRenderMode>) => void): {
18
+ value: string;
19
+ onClick: () => void;
20
+ }[];
21
+
22
+ declare function deltaPercentageString(base: number, current: number): string;
23
+
24
+ declare const RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
25
+
26
+ declare const DisableTooltipMessages: {
27
+ readonly add_or_remove: "Unavailable for added or removed resources.";
28
+ };
29
+
30
+ declare const PUBLIC_API_URL: string;
31
+ declare const PUBLIC_CLOUD_WEB_URL: string;
32
+
33
+ export { ColumnRenderMode, DisableTooltipMessages, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL, RunParamTypes, buildDescription, buildQuery, buildTitle, columnPrecisionSelectOptions, deltaPercentageString, isSchemaChanged };
@@ -0,0 +1,33 @@
1
+ import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-BIlm5vq1.js';
2
+ export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-BIlm5vq1.js';
3
+ import '@tanstack/react-query';
4
+ import 'axios';
5
+ import 'react';
6
+ import 'react-icons';
7
+ import 'react/jsx-runtime';
8
+ import 'ag-grid-community';
9
+ import 'ag-grid-react';
10
+
11
+ declare function buildTitle(check: Check): string;
12
+ declare function buildDescription(check: Check): string;
13
+ declare function buildQuery(check: Check<RunParamTypes>): string;
14
+
15
+ declare function isSchemaChanged(baseSchema: NodeData["columns"], currSchema: NodeData["columns"]): boolean;
16
+
17
+ declare function columnPrecisionSelectOptions(colName: string, onColumnsRenderModeChanged: (col: Record<string, ColumnRenderMode>) => void): {
18
+ value: string;
19
+ onClick: () => void;
20
+ }[];
21
+
22
+ declare function deltaPercentageString(base: number, current: number): string;
23
+
24
+ declare const RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
25
+
26
+ declare const DisableTooltipMessages: {
27
+ readonly add_or_remove: "Unavailable for added or removed resources.";
28
+ };
29
+
30
+ declare const PUBLIC_API_URL: string;
31
+ declare const PUBLIC_CLOUD_WEB_URL: string;
32
+
33
+ export { ColumnRenderMode, DisableTooltipMessages, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL, RunParamTypes, buildDescription, buildQuery, buildTitle, columnPrecisionSelectOptions, deltaPercentageString, isSchemaChanged };