@magemetrics/ai 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/ai.js +13233 -12180
- package/dist/react/index.d.ts +100 -647
- package/dist/styles.css +1 -1
- package/dist/web-component/index.d.ts +98 -645
- package/dist/web-component/web-component.es.js +50720 -46403
- package/package.json +9 -10
|
@@ -102,8 +102,11 @@ export declare interface DataReportMessageProps {
|
|
|
102
102
|
export declare const DataTable: React.FC<DataReportMessageProps>;
|
|
103
103
|
|
|
104
104
|
declare type DisplayControlProps = {
|
|
105
|
+
/** Whether to display the recommendations section when the input is active */
|
|
105
106
|
showRecommendations?: boolean;
|
|
107
|
+
/** Whether to display recent chats when the input is active */
|
|
106
108
|
showRecentChats?: boolean;
|
|
109
|
+
/** Whether to display a backdrop overlay when the input is active */
|
|
107
110
|
showBackdrop?: boolean;
|
|
108
111
|
};
|
|
109
112
|
|
|
@@ -113,6 +116,10 @@ declare type DomWrapperProps = {
|
|
|
113
116
|
display?: string;
|
|
114
117
|
};
|
|
115
118
|
|
|
119
|
+
export declare const DownloadDataReportButton: React.FC<{
|
|
120
|
+
reportId: number;
|
|
121
|
+
}>;
|
|
122
|
+
|
|
116
123
|
declare type ExportReportDataParams = {
|
|
117
124
|
reportId: number;
|
|
118
125
|
filename?: string;
|
|
@@ -129,19 +136,9 @@ declare type ExtractInsightResponse = z.infer<typeof ExtractInsightResponseSchem
|
|
|
129
136
|
declare const ExtractInsightResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
130
137
|
type: z.ZodLiteral<"text">;
|
|
131
138
|
insight: z.ZodString;
|
|
132
|
-
},
|
|
133
|
-
type: "text";
|
|
134
|
-
insight: string;
|
|
135
|
-
}, {
|
|
136
|
-
type: "text";
|
|
137
|
-
insight: string;
|
|
138
|
-
}>, z.ZodObject<{
|
|
139
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
140
|
type: z.ZodLiteral<"missing">;
|
|
140
|
-
},
|
|
141
|
-
type: "missing";
|
|
142
|
-
}, {
|
|
143
|
-
type: "missing";
|
|
144
|
-
}>]>;
|
|
141
|
+
}, z.core.$strip>]>;
|
|
145
142
|
|
|
146
143
|
/**
|
|
147
144
|
* This module handles the formatting and normalization of table cell values for display and sorting.
|
|
@@ -175,229 +172,75 @@ declare type FrontendReport = z.infer<typeof FrontendReportSchema>;
|
|
|
175
172
|
declare type FrontendReportColumns = z.infer<typeof FrontendReportColumnsSchema>;
|
|
176
173
|
|
|
177
174
|
declare const FrontendReportColumnsSchema: z.ZodArray<z.ZodObject<{
|
|
178
|
-
name: z.ZodString;
|
|
179
|
-
data_type: z.ZodString;
|
|
180
|
-
} & {
|
|
181
175
|
dataType: z.ZodString;
|
|
182
176
|
renderType: z.ZodOptional<z.ZodString>;
|
|
183
177
|
unit: z.ZodOptional<z.ZodString>;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
dataType: string;
|
|
188
|
-
unit?: string | undefined;
|
|
189
|
-
renderType?: string | undefined;
|
|
190
|
-
}, {
|
|
191
|
-
name: string;
|
|
192
|
-
data_type: string;
|
|
193
|
-
dataType: string;
|
|
194
|
-
unit?: string | undefined;
|
|
195
|
-
renderType?: string | undefined;
|
|
196
|
-
}>, "many">;
|
|
178
|
+
name: z.ZodString;
|
|
179
|
+
data_type: z.ZodString;
|
|
180
|
+
}, z.core.$strip>>;
|
|
197
181
|
|
|
198
182
|
declare type FrontendReportExplainability = z.infer<typeof FrontendReportExplainabilitySchema>;
|
|
199
183
|
|
|
200
|
-
declare const FrontendReportExplainabilitySchema: z.ZodObject<
|
|
184
|
+
declare const FrontendReportExplainabilitySchema: z.ZodObject<{
|
|
185
|
+
flow_data_id: z.ZodNumber;
|
|
201
186
|
sql_explanation: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
202
187
|
chunk_title: z.ZodString;
|
|
203
188
|
chunk_explanation: z.ZodString;
|
|
204
189
|
lines: z.ZodArray<z.ZodObject<{
|
|
205
190
|
sql: z.ZodString;
|
|
206
191
|
explanation: z.ZodString;
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
sql: string;
|
|
210
|
-
}, {
|
|
211
|
-
explanation: string;
|
|
212
|
-
sql: string;
|
|
213
|
-
}>, "many">;
|
|
214
|
-
}, "strip", z.ZodTypeAny, {
|
|
215
|
-
chunk_title: string;
|
|
216
|
-
chunk_explanation: string;
|
|
217
|
-
lines: {
|
|
218
|
-
explanation: string;
|
|
219
|
-
sql: string;
|
|
220
|
-
}[];
|
|
221
|
-
}, {
|
|
222
|
-
chunk_title: string;
|
|
223
|
-
chunk_explanation: string;
|
|
224
|
-
lines: {
|
|
225
|
-
explanation: string;
|
|
226
|
-
sql: string;
|
|
227
|
-
}[];
|
|
228
|
-
}>, "many">>>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
193
|
+
}, z.core.$strip>>>>;
|
|
229
194
|
business_explanation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
230
195
|
summary: z.ZodString;
|
|
231
|
-
implementation: z.ZodArray<z.ZodString
|
|
196
|
+
implementation: z.ZodArray<z.ZodString>;
|
|
232
197
|
assumptions: z.ZodArray<z.ZodObject<{
|
|
233
|
-
type: z.ZodEnum<
|
|
198
|
+
type: z.ZodEnum<{
|
|
199
|
+
grain: "grain";
|
|
200
|
+
completeness: "completeness";
|
|
201
|
+
transformation: "transformation";
|
|
202
|
+
relationship: "relationship";
|
|
203
|
+
other: "other";
|
|
204
|
+
}>;
|
|
234
205
|
details: z.ZodString;
|
|
235
206
|
explanation: z.ZodString;
|
|
236
|
-
},
|
|
237
|
-
|
|
238
|
-
type: "grain" | "completeness" | "transformation" | "relationship" | "other";
|
|
239
|
-
details: string;
|
|
240
|
-
}, {
|
|
241
|
-
explanation: string;
|
|
242
|
-
type: "grain" | "completeness" | "transformation" | "relationship" | "other";
|
|
243
|
-
details: string;
|
|
244
|
-
}>, "many">;
|
|
245
|
-
}, "strip", z.ZodTypeAny, {
|
|
246
|
-
implementation: string[];
|
|
247
|
-
summary: string;
|
|
248
|
-
assumptions: {
|
|
249
|
-
explanation: string;
|
|
250
|
-
type: "grain" | "completeness" | "transformation" | "relationship" | "other";
|
|
251
|
-
details: string;
|
|
252
|
-
}[];
|
|
253
|
-
}, {
|
|
254
|
-
implementation: string[];
|
|
255
|
-
summary: string;
|
|
256
|
-
assumptions: {
|
|
257
|
-
explanation: string;
|
|
258
|
-
type: "grain" | "completeness" | "transformation" | "relationship" | "other";
|
|
259
|
-
details: string;
|
|
260
|
-
}[];
|
|
261
|
-
}>>>;
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
}, z.core.$strip>>>;
|
|
262
209
|
columns_lineage: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
263
210
|
nodes: z.ZodArray<z.ZodObject<{
|
|
264
211
|
id: z.ZodString;
|
|
265
|
-
type: z.ZodEnum<
|
|
212
|
+
type: z.ZodEnum<{
|
|
213
|
+
result: "result";
|
|
214
|
+
filter: "filter";
|
|
215
|
+
entity: "entity";
|
|
216
|
+
attribute: "attribute";
|
|
217
|
+
process: "process";
|
|
218
|
+
combine: "combine";
|
|
219
|
+
}>;
|
|
266
220
|
explanation: z.ZodString;
|
|
267
|
-
},
|
|
268
|
-
explanation: string;
|
|
269
|
-
type: "filter" | "result" | "entity" | "attribute" | "process" | "combine";
|
|
270
|
-
id: string;
|
|
271
|
-
}, {
|
|
272
|
-
explanation: string;
|
|
273
|
-
type: "filter" | "result" | "entity" | "attribute" | "process" | "combine";
|
|
274
|
-
id: string;
|
|
275
|
-
}>, "many">;
|
|
221
|
+
}, z.core.$strip>>;
|
|
276
222
|
edges: z.ZodArray<z.ZodObject<{
|
|
277
223
|
source: z.ZodString;
|
|
278
224
|
target: z.ZodString;
|
|
279
|
-
},
|
|
280
|
-
|
|
281
|
-
target: string;
|
|
282
|
-
}, {
|
|
283
|
-
source: string;
|
|
284
|
-
target: string;
|
|
285
|
-
}>, "many">;
|
|
286
|
-
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
nodes: {
|
|
288
|
-
explanation: string;
|
|
289
|
-
type: "filter" | "result" | "entity" | "attribute" | "process" | "combine";
|
|
290
|
-
id: string;
|
|
291
|
-
}[];
|
|
292
|
-
edges: {
|
|
293
|
-
source: string;
|
|
294
|
-
target: string;
|
|
295
|
-
}[];
|
|
296
|
-
}, {
|
|
297
|
-
nodes: {
|
|
298
|
-
explanation: string;
|
|
299
|
-
type: "filter" | "result" | "entity" | "attribute" | "process" | "combine";
|
|
300
|
-
id: string;
|
|
301
|
-
}[];
|
|
302
|
-
edges: {
|
|
303
|
-
source: string;
|
|
304
|
-
target: string;
|
|
305
|
-
}[];
|
|
306
|
-
}>>>>;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
}, z.core.$strip>>>>;
|
|
307
227
|
confidence_score: z.ZodNumber;
|
|
308
228
|
confidence_score_reason: z.ZodString;
|
|
309
229
|
assumptions_score: z.ZodOptional<z.ZodNumber>;
|
|
310
230
|
assumptions_score_reason: z.ZodOptional<z.ZodString>;
|
|
311
231
|
friendliness_score: z.ZodOptional<z.ZodNumber>;
|
|
312
232
|
friendliness_score_reason: z.ZodOptional<z.ZodString>;
|
|
313
|
-
|
|
314
|
-
flow_data_id: z.ZodNumber;
|
|
315
|
-
created_at: z.ZodString;
|
|
316
|
-
}, "id" | "created_at">, "strip", z.ZodTypeAny, {
|
|
317
|
-
flow_data_id: number;
|
|
318
|
-
confidence_score: number;
|
|
319
|
-
confidence_score_reason: string;
|
|
320
|
-
sql_explanation?: {
|
|
321
|
-
chunk_title: string;
|
|
322
|
-
chunk_explanation: string;
|
|
323
|
-
lines: {
|
|
324
|
-
explanation: string;
|
|
325
|
-
sql: string;
|
|
326
|
-
}[];
|
|
327
|
-
}[] | null | undefined;
|
|
328
|
-
business_explanation?: {
|
|
329
|
-
implementation: string[];
|
|
330
|
-
summary: string;
|
|
331
|
-
assumptions: {
|
|
332
|
-
explanation: string;
|
|
333
|
-
type: "grain" | "completeness" | "transformation" | "relationship" | "other";
|
|
334
|
-
details: string;
|
|
335
|
-
}[];
|
|
336
|
-
} | null | undefined;
|
|
337
|
-
columns_lineage?: Record<string, {
|
|
338
|
-
nodes: {
|
|
339
|
-
explanation: string;
|
|
340
|
-
type: "filter" | "result" | "entity" | "attribute" | "process" | "combine";
|
|
341
|
-
id: string;
|
|
342
|
-
}[];
|
|
343
|
-
edges: {
|
|
344
|
-
source: string;
|
|
345
|
-
target: string;
|
|
346
|
-
}[];
|
|
347
|
-
}> | null | undefined;
|
|
348
|
-
assumptions_score?: number | undefined;
|
|
349
|
-
assumptions_score_reason?: string | undefined;
|
|
350
|
-
friendliness_score?: number | undefined;
|
|
351
|
-
friendliness_score_reason?: string | undefined;
|
|
352
|
-
}, {
|
|
353
|
-
flow_data_id: number;
|
|
354
|
-
confidence_score: number;
|
|
355
|
-
confidence_score_reason: string;
|
|
356
|
-
sql_explanation?: {
|
|
357
|
-
chunk_title: string;
|
|
358
|
-
chunk_explanation: string;
|
|
359
|
-
lines: {
|
|
360
|
-
explanation: string;
|
|
361
|
-
sql: string;
|
|
362
|
-
}[];
|
|
363
|
-
}[] | null | undefined;
|
|
364
|
-
business_explanation?: {
|
|
365
|
-
implementation: string[];
|
|
366
|
-
summary: string;
|
|
367
|
-
assumptions: {
|
|
368
|
-
explanation: string;
|
|
369
|
-
type: "grain" | "completeness" | "transformation" | "relationship" | "other";
|
|
370
|
-
details: string;
|
|
371
|
-
}[];
|
|
372
|
-
} | null | undefined;
|
|
373
|
-
columns_lineage?: Record<string, {
|
|
374
|
-
nodes: {
|
|
375
|
-
explanation: string;
|
|
376
|
-
type: "filter" | "result" | "entity" | "attribute" | "process" | "combine";
|
|
377
|
-
id: string;
|
|
378
|
-
}[];
|
|
379
|
-
edges: {
|
|
380
|
-
source: string;
|
|
381
|
-
target: string;
|
|
382
|
-
}[];
|
|
383
|
-
}> | null | undefined;
|
|
384
|
-
assumptions_score?: number | undefined;
|
|
385
|
-
assumptions_score_reason?: string | undefined;
|
|
386
|
-
friendliness_score?: number | undefined;
|
|
387
|
-
friendliness_score_reason?: string | undefined;
|
|
388
|
-
}>;
|
|
233
|
+
}, z.core.$strip>;
|
|
389
234
|
|
|
390
|
-
declare const FrontendReportSchema: z.ZodObject<
|
|
391
|
-
|
|
392
|
-
flow_id: z.ZodString;
|
|
393
|
-
id: z.ZodNumber;
|
|
394
|
-
is_sample: z.ZodBoolean;
|
|
395
|
-
schema: z.ZodString;
|
|
396
|
-
sql: z.ZodString;
|
|
397
|
-
table: z.ZodString;
|
|
235
|
+
declare const FrontendReportSchema: z.ZodObject<{
|
|
236
|
+
status: z.ZodNullable<z.ZodString>;
|
|
398
237
|
title: z.ZodString;
|
|
238
|
+
id: z.ZodNumber;
|
|
399
239
|
request: z.ZodNullable<z.ZodString>;
|
|
400
|
-
|
|
240
|
+
created_at: z.ZodString;
|
|
241
|
+
is_removed: z.ZodBoolean;
|
|
242
|
+
flow_id: z.ZodString;
|
|
243
|
+
bookmarked: z.ZodBoolean;
|
|
401
244
|
data_summary: z.ZodObject<{
|
|
402
245
|
columns: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
403
246
|
position: z.ZodOptional<z.ZodNumber>;
|
|
@@ -405,118 +248,18 @@ declare const FrontendReportSchema: z.ZodObject<Omit<{
|
|
|
405
248
|
null_count: z.ZodNullable<z.ZodNumber>;
|
|
406
249
|
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
407
250
|
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
408
|
-
},
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
412
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
413
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
414
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
415
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
416
|
-
data_type: z.ZodString;
|
|
417
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
418
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
419
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
420
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
421
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
422
|
-
columns: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
423
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
424
|
-
data_type: z.ZodString;
|
|
425
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
426
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
427
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
428
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
429
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
430
|
-
data_type: z.ZodString;
|
|
431
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
432
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
433
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
434
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
435
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
436
|
-
data_type: z.ZodString;
|
|
437
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
438
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
439
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
440
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
441
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
442
|
-
columns: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
443
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
444
|
-
data_type: z.ZodString;
|
|
445
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
446
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
447
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
448
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
449
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
450
|
-
data_type: z.ZodString;
|
|
451
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
452
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
453
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
454
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
455
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
456
|
-
data_type: z.ZodString;
|
|
457
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
458
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
459
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
460
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
461
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
462
|
-
bookmarked: z.ZodBoolean;
|
|
463
|
-
status: z.ZodNullable<z.ZodString>;
|
|
464
|
-
is_removed: z.ZodBoolean;
|
|
465
|
-
}, "schema" | "sql" | "table" | "data_sample" | "is_sample">, "strip", z.ZodTypeAny, {
|
|
466
|
-
title: string;
|
|
467
|
-
status: string | null;
|
|
468
|
-
id: number;
|
|
469
|
-
request: string | null;
|
|
470
|
-
created_at: string;
|
|
471
|
-
is_removed: boolean;
|
|
472
|
-
flow_id: string;
|
|
473
|
-
bookmarked: boolean;
|
|
474
|
-
data_summary: {
|
|
475
|
-
columns: Record<string, z.objectOutputType<{
|
|
476
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
477
|
-
data_type: z.ZodString;
|
|
478
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
479
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
480
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
481
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
482
|
-
} & {
|
|
483
|
-
[k: string]: unknown;
|
|
484
|
-
};
|
|
485
|
-
}, {
|
|
486
|
-
title: string;
|
|
487
|
-
status: string | null;
|
|
488
|
-
id: number;
|
|
489
|
-
request: string | null;
|
|
490
|
-
created_at: string;
|
|
491
|
-
is_removed: boolean;
|
|
492
|
-
flow_id: string;
|
|
493
|
-
bookmarked: boolean;
|
|
494
|
-
data_summary: {
|
|
495
|
-
columns: Record<string, z.objectInputType<{
|
|
496
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
497
|
-
data_type: z.ZodString;
|
|
498
|
-
null_count: z.ZodNullable<z.ZodNumber>;
|
|
499
|
-
unique_count: z.ZodNullable<z.ZodNumber>;
|
|
500
|
-
unique_percentage: z.ZodNullable<z.ZodNumber>;
|
|
501
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
502
|
-
} & {
|
|
503
|
-
[k: string]: unknown;
|
|
504
|
-
};
|
|
505
|
-
}>;
|
|
251
|
+
}, z.core.$loose>>;
|
|
252
|
+
}, z.core.$loose>;
|
|
253
|
+
}, z.core.$strip>;
|
|
506
254
|
|
|
507
255
|
declare type FrontendVisualization = z.output<typeof FrontendVisualizationSchema>;
|
|
508
256
|
|
|
509
|
-
declare const FrontendVisualizationSchema: z.ZodObject<
|
|
257
|
+
declare const FrontendVisualizationSchema: z.ZodObject<{
|
|
510
258
|
id: z.ZodNumber;
|
|
511
|
-
flow_data_id: z.ZodNumber;
|
|
512
259
|
created_at: z.ZodString;
|
|
513
|
-
|
|
260
|
+
flow_data_id: z.ZodNumber;
|
|
514
261
|
bookmarked: z.ZodBoolean;
|
|
515
|
-
|
|
516
|
-
is_sample: z.ZodBoolean;
|
|
517
|
-
data_summary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
518
|
-
} & {
|
|
519
|
-
configuration: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
262
|
+
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
520
263
|
config_version: z.ZodLiteral<2>;
|
|
521
264
|
xAxisLabel: z.ZodString;
|
|
522
265
|
yAxisLabel: z.ZodString;
|
|
@@ -525,46 +268,14 @@ declare const FrontendVisualizationSchema: z.ZodObject<Omit<{
|
|
|
525
268
|
valueColumn: z.ZodString;
|
|
526
269
|
title: z.ZodString;
|
|
527
270
|
type: z.ZodLiteral<"bar">;
|
|
528
|
-
},
|
|
529
|
-
type: "bar";
|
|
530
|
-
title: string;
|
|
531
|
-
xAxisLabel: string;
|
|
532
|
-
yAxisLabel: string;
|
|
533
|
-
config_version: 2;
|
|
534
|
-
categoryColumn: string;
|
|
535
|
-
valueColumn: string;
|
|
536
|
-
secondaryCategoryColumn?: string | undefined;
|
|
537
|
-
}, {
|
|
538
|
-
type: "bar";
|
|
539
|
-
title: string;
|
|
540
|
-
xAxisLabel: string;
|
|
541
|
-
yAxisLabel: string;
|
|
542
|
-
config_version: 2;
|
|
543
|
-
categoryColumn: string;
|
|
544
|
-
valueColumn: string;
|
|
545
|
-
secondaryCategoryColumn?: string | undefined;
|
|
546
|
-
}>, z.ZodObject<{
|
|
271
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
547
272
|
xAxisColumn: z.ZodString;
|
|
548
|
-
valueColumns: z.ZodArray<z.ZodString
|
|
549
|
-
yAxisLabels: z.ZodArray<z.ZodString
|
|
273
|
+
valueColumns: z.ZodArray<z.ZodString>;
|
|
274
|
+
yAxisLabels: z.ZodArray<z.ZodString>;
|
|
550
275
|
title: z.ZodString;
|
|
551
276
|
type: z.ZodLiteral<"line/area">;
|
|
552
277
|
config_version: z.ZodLiteral<2>;
|
|
553
|
-
},
|
|
554
|
-
type: "line/area";
|
|
555
|
-
title: string;
|
|
556
|
-
valueColumns: string[];
|
|
557
|
-
config_version: 2;
|
|
558
|
-
xAxisColumn: string;
|
|
559
|
-
yAxisLabels: string[];
|
|
560
|
-
}, {
|
|
561
|
-
type: "line/area";
|
|
562
|
-
title: string;
|
|
563
|
-
valueColumns: string[];
|
|
564
|
-
config_version: 2;
|
|
565
|
-
xAxisColumn: string;
|
|
566
|
-
yAxisLabels: string[];
|
|
567
|
-
}>, z.ZodObject<{
|
|
278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
568
279
|
config_version: z.ZodLiteral<2>;
|
|
569
280
|
valueColumn: z.ZodString;
|
|
570
281
|
xAxisColumn: z.ZodString;
|
|
@@ -573,25 +284,7 @@ declare const FrontendVisualizationSchema: z.ZodObject<Omit<{
|
|
|
573
284
|
categoryColumn: z.ZodString;
|
|
574
285
|
title: z.ZodString;
|
|
575
286
|
type: z.ZodLiteral<"line/area-categorical">;
|
|
576
|
-
},
|
|
577
|
-
type: "line/area-categorical";
|
|
578
|
-
title: string;
|
|
579
|
-
xAxisLabel: string;
|
|
580
|
-
yAxisLabel: string;
|
|
581
|
-
config_version: 2;
|
|
582
|
-
categoryColumn: string;
|
|
583
|
-
valueColumn: string;
|
|
584
|
-
xAxisColumn: string;
|
|
585
|
-
}, {
|
|
586
|
-
type: "line/area-categorical";
|
|
587
|
-
title: string;
|
|
588
|
-
xAxisLabel: string;
|
|
589
|
-
yAxisLabel: string;
|
|
590
|
-
config_version: 2;
|
|
591
|
-
categoryColumn: string;
|
|
592
|
-
valueColumn: string;
|
|
593
|
-
xAxisColumn: string;
|
|
594
|
-
}>, z.ZodObject<{
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
595
288
|
config_version: z.ZodLiteral<2>;
|
|
596
289
|
xAxisLabel: z.ZodString;
|
|
597
290
|
yAxisLabel: z.ZodString;
|
|
@@ -599,132 +292,14 @@ declare const FrontendVisualizationSchema: z.ZodObject<Omit<{
|
|
|
599
292
|
yAxisValueColumn: z.ZodString;
|
|
600
293
|
title: z.ZodString;
|
|
601
294
|
type: z.ZodLiteral<"scatter">;
|
|
602
|
-
},
|
|
603
|
-
type: "scatter";
|
|
604
|
-
title: string;
|
|
605
|
-
xAxisLabel: string;
|
|
606
|
-
yAxisLabel: string;
|
|
607
|
-
config_version: 2;
|
|
608
|
-
xAxisValueColumn: string;
|
|
609
|
-
yAxisValueColumn: string;
|
|
610
|
-
}, {
|
|
611
|
-
type: "scatter";
|
|
612
|
-
title: string;
|
|
613
|
-
xAxisLabel: string;
|
|
614
|
-
yAxisLabel: string;
|
|
615
|
-
config_version: 2;
|
|
616
|
-
xAxisValueColumn: string;
|
|
617
|
-
yAxisValueColumn: string;
|
|
618
|
-
}>, z.ZodObject<{
|
|
295
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
619
296
|
config_version: z.ZodLiteral<2>;
|
|
620
297
|
categoryColumn: z.ZodString;
|
|
621
298
|
valueColumn: z.ZodString;
|
|
622
299
|
title: z.ZodString;
|
|
623
300
|
type: z.ZodLiteral<"pie">;
|
|
624
|
-
},
|
|
625
|
-
|
|
626
|
-
title: string;
|
|
627
|
-
config_version: 2;
|
|
628
|
-
categoryColumn: string;
|
|
629
|
-
valueColumn: string;
|
|
630
|
-
}, {
|
|
631
|
-
type: "pie";
|
|
632
|
-
title: string;
|
|
633
|
-
config_version: 2;
|
|
634
|
-
categoryColumn: string;
|
|
635
|
-
valueColumn: string;
|
|
636
|
-
}>]>;
|
|
637
|
-
}, "sql" | "data_sample" | "is_sample" | "data_summary">, "strip", z.ZodTypeAny, {
|
|
638
|
-
id: number;
|
|
639
|
-
created_at: string;
|
|
640
|
-
flow_data_id: number;
|
|
641
|
-
bookmarked: boolean;
|
|
642
|
-
configuration: {
|
|
643
|
-
type: "bar";
|
|
644
|
-
title: string;
|
|
645
|
-
xAxisLabel: string;
|
|
646
|
-
yAxisLabel: string;
|
|
647
|
-
config_version: 2;
|
|
648
|
-
categoryColumn: string;
|
|
649
|
-
valueColumn: string;
|
|
650
|
-
secondaryCategoryColumn?: string | undefined;
|
|
651
|
-
} | {
|
|
652
|
-
type: "line/area";
|
|
653
|
-
title: string;
|
|
654
|
-
valueColumns: string[];
|
|
655
|
-
config_version: 2;
|
|
656
|
-
xAxisColumn: string;
|
|
657
|
-
yAxisLabels: string[];
|
|
658
|
-
} | {
|
|
659
|
-
type: "line/area-categorical";
|
|
660
|
-
title: string;
|
|
661
|
-
xAxisLabel: string;
|
|
662
|
-
yAxisLabel: string;
|
|
663
|
-
config_version: 2;
|
|
664
|
-
categoryColumn: string;
|
|
665
|
-
valueColumn: string;
|
|
666
|
-
xAxisColumn: string;
|
|
667
|
-
} | {
|
|
668
|
-
type: "scatter";
|
|
669
|
-
title: string;
|
|
670
|
-
xAxisLabel: string;
|
|
671
|
-
yAxisLabel: string;
|
|
672
|
-
config_version: 2;
|
|
673
|
-
xAxisValueColumn: string;
|
|
674
|
-
yAxisValueColumn: string;
|
|
675
|
-
} | {
|
|
676
|
-
type: "pie";
|
|
677
|
-
title: string;
|
|
678
|
-
config_version: 2;
|
|
679
|
-
categoryColumn: string;
|
|
680
|
-
valueColumn: string;
|
|
681
|
-
};
|
|
682
|
-
}, {
|
|
683
|
-
id: number;
|
|
684
|
-
created_at: string;
|
|
685
|
-
flow_data_id: number;
|
|
686
|
-
bookmarked: boolean;
|
|
687
|
-
configuration: {
|
|
688
|
-
type: "bar";
|
|
689
|
-
title: string;
|
|
690
|
-
xAxisLabel: string;
|
|
691
|
-
yAxisLabel: string;
|
|
692
|
-
config_version: 2;
|
|
693
|
-
categoryColumn: string;
|
|
694
|
-
valueColumn: string;
|
|
695
|
-
secondaryCategoryColumn?: string | undefined;
|
|
696
|
-
} | {
|
|
697
|
-
type: "line/area";
|
|
698
|
-
title: string;
|
|
699
|
-
valueColumns: string[];
|
|
700
|
-
config_version: 2;
|
|
701
|
-
xAxisColumn: string;
|
|
702
|
-
yAxisLabels: string[];
|
|
703
|
-
} | {
|
|
704
|
-
type: "line/area-categorical";
|
|
705
|
-
title: string;
|
|
706
|
-
xAxisLabel: string;
|
|
707
|
-
yAxisLabel: string;
|
|
708
|
-
config_version: 2;
|
|
709
|
-
categoryColumn: string;
|
|
710
|
-
valueColumn: string;
|
|
711
|
-
xAxisColumn: string;
|
|
712
|
-
} | {
|
|
713
|
-
type: "scatter";
|
|
714
|
-
title: string;
|
|
715
|
-
xAxisLabel: string;
|
|
716
|
-
yAxisLabel: string;
|
|
717
|
-
config_version: 2;
|
|
718
|
-
xAxisValueColumn: string;
|
|
719
|
-
yAxisValueColumn: string;
|
|
720
|
-
} | {
|
|
721
|
-
type: "pie";
|
|
722
|
-
title: string;
|
|
723
|
-
config_version: 2;
|
|
724
|
-
categoryColumn: string;
|
|
725
|
-
valueColumn: string;
|
|
726
|
-
};
|
|
727
|
-
}>;
|
|
301
|
+
}, z.core.$strip>], "type">;
|
|
302
|
+
}, z.core.$strip>;
|
|
728
303
|
|
|
729
304
|
export { GenerateInsightParam }
|
|
730
305
|
|
|
@@ -742,7 +317,7 @@ declare type InfiniteDataTableUIProps = {
|
|
|
742
317
|
totalRows: number;
|
|
743
318
|
};
|
|
744
319
|
|
|
745
|
-
export declare const logout: () =>
|
|
320
|
+
export declare const logout: () => void;
|
|
746
321
|
|
|
747
322
|
export { MageMetricsClient }
|
|
748
323
|
|
|
@@ -774,17 +349,26 @@ declare type MageMetricsPublicContextProviderProps = PropsWithChildren<Pick<Mage
|
|
|
774
349
|
export declare const ManagedModal: React.FC<ManagedModalProps>;
|
|
775
350
|
|
|
776
351
|
declare interface ManagedModalProps extends ModalProps {
|
|
352
|
+
/** API key for authenticating with the MageMetrics service */
|
|
777
353
|
apiKey: string;
|
|
354
|
+
/** External JWT token for user authentication */
|
|
778
355
|
externalJwt: string;
|
|
356
|
+
/** Base URL for the MageMetrics API */
|
|
779
357
|
apiUrl: string;
|
|
358
|
+
/** Whether to disable canvas functionality in conversations */
|
|
780
359
|
disableCanvas?: boolean;
|
|
360
|
+
/** Where to persist modal state (localStorage, queryParam, or none) */
|
|
781
361
|
persist?: PersistenceOptions;
|
|
362
|
+
/** Custom component overrides for extending functionality */
|
|
782
363
|
components?: Components;
|
|
783
364
|
}
|
|
784
365
|
|
|
785
366
|
declare interface ModalProps {
|
|
367
|
+
/** CSS display property for the wrapper element */
|
|
786
368
|
display?: string;
|
|
369
|
+
/** Control modal visibility and close behavior externally */
|
|
787
370
|
modal?: ControlledModalProps;
|
|
371
|
+
/** Configuration options for the start modal (chat launcher, recommendations, etc.) */
|
|
788
372
|
startOptions?: StartOptions;
|
|
789
373
|
}
|
|
790
374
|
|
|
@@ -822,9 +406,14 @@ declare type StandaloneConversationModalProps = {
|
|
|
822
406
|
};
|
|
823
407
|
|
|
824
408
|
declare type StartOptions = DisplayControlProps & {
|
|
409
|
+
/** Label text displayed above the chat launcher input */
|
|
825
410
|
label?: string;
|
|
411
|
+
/** Label text displayed above the recommendations section */
|
|
826
412
|
recommendationsLabel?: string;
|
|
413
|
+
/** Placeholder text for the chat launcher input field */
|
|
827
414
|
placeholder?: string;
|
|
415
|
+
/** Whether the chat launcher input should auto-focus on mount */
|
|
416
|
+
autoFocus?: boolean;
|
|
828
417
|
};
|
|
829
418
|
|
|
830
419
|
declare type TableFilters = Record<string, string | number>;
|
|
@@ -957,11 +546,15 @@ export declare const useDataReport: (reportId: FrontendReport["id"]) => {
|
|
|
957
546
|
}[] | undefined;
|
|
958
547
|
isPendingColumns: boolean;
|
|
959
548
|
isPendingData: boolean;
|
|
960
|
-
fetchNextPage: (options?: FetchNextPageOptions) => Promise<InfiniteQueryObserverResult<InfiniteData<
|
|
549
|
+
fetchNextPage: (options?: FetchNextPageOptions) => Promise<InfiniteQueryObserverResult<InfiniteData< {
|
|
550
|
+
[key: string]: unknown;
|
|
551
|
+
}[], unknown>, Error>>;
|
|
961
552
|
isFetching: boolean;
|
|
962
553
|
isFetchingNextPage: boolean;
|
|
963
554
|
hasNextPage: boolean;
|
|
964
|
-
allData:
|
|
555
|
+
allData: {
|
|
556
|
+
[key: string]: unknown;
|
|
557
|
+
}[];
|
|
965
558
|
explainability: {
|
|
966
559
|
sql_explanation?: {
|
|
967
560
|
chunk_title: string;
|
|
@@ -1002,10 +595,14 @@ export declare const useDataReport: (reportId: FrontendReport["id"]) => {
|
|
|
1002
595
|
flow_data_id: number;
|
|
1003
596
|
} | null | undefined;
|
|
1004
597
|
totalRows: number;
|
|
1005
|
-
infiniteData: InfiniteData<
|
|
598
|
+
infiniteData: InfiniteData< {
|
|
599
|
+
[key: string]: unknown;
|
|
600
|
+
}[], unknown> | undefined;
|
|
1006
601
|
};
|
|
1007
602
|
|
|
1008
|
-
export declare const useDataReportColumnValue: (reportId: number, filters: ReportDataFilters) => UseQueryResult<
|
|
603
|
+
export declare const useDataReportColumnValue: (reportId: number, filters: ReportDataFilters) => UseQueryResult< {
|
|
604
|
+
[key: string]: unknown;
|
|
605
|
+
}[], Error>;
|
|
1009
606
|
|
|
1010
607
|
export declare const useDownloadReportData: (options?: UseMutationOptions<ExportReportDataResult, Error, ExportReportDataParams>) => {
|
|
1011
608
|
download: UseMutateFunction<ExportReportDataResult, Error, ExportReportDataParams, unknown>;
|
|
@@ -1259,194 +856,50 @@ export declare const useRecentFlows: (limit?: number) => UseQueryResult< {
|
|
|
1259
856
|
|
|
1260
857
|
declare type V1FrontendVisualization = z.output<typeof V1FrontendVisualizationSchema>;
|
|
1261
858
|
|
|
1262
|
-
declare const V1FrontendVisualizationSchema: z.ZodObject<
|
|
859
|
+
declare const V1FrontendVisualizationSchema: z.ZodObject<{
|
|
1263
860
|
id: z.ZodNumber;
|
|
1264
|
-
flow_data_id: z.ZodNumber;
|
|
1265
861
|
created_at: z.ZodString;
|
|
1266
|
-
|
|
862
|
+
flow_data_id: z.ZodNumber;
|
|
1267
863
|
bookmarked: z.ZodBoolean;
|
|
1268
|
-
|
|
1269
|
-
is_sample: z.ZodBoolean;
|
|
1270
|
-
data_summary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1271
|
-
} & {
|
|
1272
|
-
configuration: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
864
|
+
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1273
865
|
xAxisLabel: z.ZodString;
|
|
1274
866
|
yAxisLabel: z.ZodString;
|
|
1275
867
|
xAxisDataKey: z.ZodOptional<z.ZodString>;
|
|
1276
868
|
yAxisDataKey: z.ZodOptional<z.ZodString>;
|
|
1277
869
|
dimensionDataKey: z.ZodOptional<z.ZodString>;
|
|
1278
|
-
valueColumns: z.ZodOptional<z.ZodArray<z.ZodString
|
|
870
|
+
valueColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1279
871
|
title: z.ZodString;
|
|
1280
872
|
type: z.ZodLiteral<"bar">;
|
|
1281
|
-
},
|
|
1282
|
-
type: "bar";
|
|
1283
|
-
title: string;
|
|
1284
|
-
xAxisLabel: string;
|
|
1285
|
-
yAxisLabel: string;
|
|
1286
|
-
valueColumns?: string[] | undefined;
|
|
1287
|
-
xAxisDataKey?: string | undefined;
|
|
1288
|
-
yAxisDataKey?: string | undefined;
|
|
1289
|
-
dimensionDataKey?: string | undefined;
|
|
1290
|
-
}, {
|
|
1291
|
-
type: "bar";
|
|
1292
|
-
title: string;
|
|
1293
|
-
xAxisLabel: string;
|
|
1294
|
-
yAxisLabel: string;
|
|
1295
|
-
valueColumns?: string[] | undefined;
|
|
1296
|
-
xAxisDataKey?: string | undefined;
|
|
1297
|
-
yAxisDataKey?: string | undefined;
|
|
1298
|
-
dimensionDataKey?: string | undefined;
|
|
1299
|
-
}>, z.ZodObject<{
|
|
873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1300
874
|
xAxisLabel: z.ZodString;
|
|
1301
875
|
yAxisLabel: z.ZodString;
|
|
1302
876
|
xAxisDataKey: z.ZodOptional<z.ZodString>;
|
|
1303
877
|
yAxisDataKey: z.ZodOptional<z.ZodString>;
|
|
1304
878
|
dimensionDataKey: z.ZodOptional<z.ZodString>;
|
|
1305
|
-
valueColumns: z.ZodOptional<z.ZodArray<z.ZodString
|
|
879
|
+
valueColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1306
880
|
title: z.ZodString;
|
|
1307
881
|
type: z.ZodLiteral<"line/area">;
|
|
1308
|
-
},
|
|
1309
|
-
type: "line/area";
|
|
1310
|
-
title: string;
|
|
1311
|
-
xAxisLabel: string;
|
|
1312
|
-
yAxisLabel: string;
|
|
1313
|
-
valueColumns?: string[] | undefined;
|
|
1314
|
-
xAxisDataKey?: string | undefined;
|
|
1315
|
-
yAxisDataKey?: string | undefined;
|
|
1316
|
-
dimensionDataKey?: string | undefined;
|
|
1317
|
-
}, {
|
|
1318
|
-
type: "line/area";
|
|
1319
|
-
title: string;
|
|
1320
|
-
xAxisLabel: string;
|
|
1321
|
-
yAxisLabel: string;
|
|
1322
|
-
valueColumns?: string[] | undefined;
|
|
1323
|
-
xAxisDataKey?: string | undefined;
|
|
1324
|
-
yAxisDataKey?: string | undefined;
|
|
1325
|
-
dimensionDataKey?: string | undefined;
|
|
1326
|
-
}>, z.ZodObject<{
|
|
882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1327
883
|
xAxisLabel: z.ZodString;
|
|
1328
884
|
yAxisLabel: z.ZodString;
|
|
1329
885
|
xAxisDataKey: z.ZodOptional<z.ZodString>;
|
|
1330
886
|
yAxisDataKey: z.ZodOptional<z.ZodString>;
|
|
1331
887
|
dimensionDataKey: z.ZodOptional<z.ZodString>;
|
|
1332
|
-
valueColumns: z.ZodOptional<z.ZodArray<z.ZodString
|
|
888
|
+
valueColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1333
889
|
title: z.ZodString;
|
|
1334
890
|
type: z.ZodLiteral<"scatter">;
|
|
1335
|
-
},
|
|
1336
|
-
type: "scatter";
|
|
1337
|
-
title: string;
|
|
1338
|
-
xAxisLabel: string;
|
|
1339
|
-
yAxisLabel: string;
|
|
1340
|
-
valueColumns?: string[] | undefined;
|
|
1341
|
-
xAxisDataKey?: string | undefined;
|
|
1342
|
-
yAxisDataKey?: string | undefined;
|
|
1343
|
-
dimensionDataKey?: string | undefined;
|
|
1344
|
-
}, {
|
|
1345
|
-
type: "scatter";
|
|
1346
|
-
title: string;
|
|
1347
|
-
xAxisLabel: string;
|
|
1348
|
-
yAxisLabel: string;
|
|
1349
|
-
valueColumns?: string[] | undefined;
|
|
1350
|
-
xAxisDataKey?: string | undefined;
|
|
1351
|
-
yAxisDataKey?: string | undefined;
|
|
1352
|
-
dimensionDataKey?: string | undefined;
|
|
1353
|
-
}>, z.ZodObject<{
|
|
891
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1354
892
|
nameKey: z.ZodString;
|
|
1355
893
|
dataKey: z.ZodString;
|
|
1356
894
|
title: z.ZodString;
|
|
1357
895
|
type: z.ZodLiteral<"pie">;
|
|
1358
|
-
},
|
|
1359
|
-
|
|
1360
|
-
title: string;
|
|
1361
|
-
nameKey: string;
|
|
1362
|
-
dataKey: string;
|
|
1363
|
-
}, {
|
|
1364
|
-
type: "pie";
|
|
1365
|
-
title: string;
|
|
1366
|
-
nameKey: string;
|
|
1367
|
-
dataKey: string;
|
|
1368
|
-
}>]>;
|
|
1369
|
-
}, "sql" | "data_sample" | "is_sample" | "data_summary">, "strip", z.ZodTypeAny, {
|
|
1370
|
-
id: number;
|
|
1371
|
-
created_at: string;
|
|
1372
|
-
flow_data_id: number;
|
|
1373
|
-
bookmarked: boolean;
|
|
1374
|
-
configuration: {
|
|
1375
|
-
type: "bar";
|
|
1376
|
-
title: string;
|
|
1377
|
-
xAxisLabel: string;
|
|
1378
|
-
yAxisLabel: string;
|
|
1379
|
-
valueColumns?: string[] | undefined;
|
|
1380
|
-
xAxisDataKey?: string | undefined;
|
|
1381
|
-
yAxisDataKey?: string | undefined;
|
|
1382
|
-
dimensionDataKey?: string | undefined;
|
|
1383
|
-
} | {
|
|
1384
|
-
type: "line/area";
|
|
1385
|
-
title: string;
|
|
1386
|
-
xAxisLabel: string;
|
|
1387
|
-
yAxisLabel: string;
|
|
1388
|
-
valueColumns?: string[] | undefined;
|
|
1389
|
-
xAxisDataKey?: string | undefined;
|
|
1390
|
-
yAxisDataKey?: string | undefined;
|
|
1391
|
-
dimensionDataKey?: string | undefined;
|
|
1392
|
-
} | {
|
|
1393
|
-
type: "scatter";
|
|
1394
|
-
title: string;
|
|
1395
|
-
xAxisLabel: string;
|
|
1396
|
-
yAxisLabel: string;
|
|
1397
|
-
valueColumns?: string[] | undefined;
|
|
1398
|
-
xAxisDataKey?: string | undefined;
|
|
1399
|
-
yAxisDataKey?: string | undefined;
|
|
1400
|
-
dimensionDataKey?: string | undefined;
|
|
1401
|
-
} | {
|
|
1402
|
-
type: "pie";
|
|
1403
|
-
title: string;
|
|
1404
|
-
nameKey: string;
|
|
1405
|
-
dataKey: string;
|
|
1406
|
-
};
|
|
1407
|
-
}, {
|
|
1408
|
-
id: number;
|
|
1409
|
-
created_at: string;
|
|
1410
|
-
flow_data_id: number;
|
|
1411
|
-
bookmarked: boolean;
|
|
1412
|
-
configuration: {
|
|
1413
|
-
type: "bar";
|
|
1414
|
-
title: string;
|
|
1415
|
-
xAxisLabel: string;
|
|
1416
|
-
yAxisLabel: string;
|
|
1417
|
-
valueColumns?: string[] | undefined;
|
|
1418
|
-
xAxisDataKey?: string | undefined;
|
|
1419
|
-
yAxisDataKey?: string | undefined;
|
|
1420
|
-
dimensionDataKey?: string | undefined;
|
|
1421
|
-
} | {
|
|
1422
|
-
type: "line/area";
|
|
1423
|
-
title: string;
|
|
1424
|
-
xAxisLabel: string;
|
|
1425
|
-
yAxisLabel: string;
|
|
1426
|
-
valueColumns?: string[] | undefined;
|
|
1427
|
-
xAxisDataKey?: string | undefined;
|
|
1428
|
-
yAxisDataKey?: string | undefined;
|
|
1429
|
-
dimensionDataKey?: string | undefined;
|
|
1430
|
-
} | {
|
|
1431
|
-
type: "scatter";
|
|
1432
|
-
title: string;
|
|
1433
|
-
xAxisLabel: string;
|
|
1434
|
-
yAxisLabel: string;
|
|
1435
|
-
valueColumns?: string[] | undefined;
|
|
1436
|
-
xAxisDataKey?: string | undefined;
|
|
1437
|
-
yAxisDataKey?: string | undefined;
|
|
1438
|
-
dimensionDataKey?: string | undefined;
|
|
1439
|
-
} | {
|
|
1440
|
-
type: "pie";
|
|
1441
|
-
title: string;
|
|
1442
|
-
nameKey: string;
|
|
1443
|
-
dataKey: string;
|
|
1444
|
-
};
|
|
1445
|
-
}>;
|
|
896
|
+
}, z.core.$strip>], "type">;
|
|
897
|
+
}, z.core.$strip>;
|
|
1446
898
|
|
|
1447
899
|
export declare const Visualization: ForwardRefExoticComponent< {
|
|
1448
900
|
visualizationId: number;
|
|
1449
901
|
withTitle: boolean;
|
|
902
|
+
exportingEnabled?: boolean;
|
|
1450
903
|
} & RefAttributes<HTMLDivElement>>;
|
|
1451
904
|
|
|
1452
905
|
export { }
|