@xpert-ai/plugin-live-dashboard 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.xpertai-plugin/plugin.json +1 -1
- package/README.md +4 -0
- package/dist/lib/agent.schema.d.ts +179 -25
- package/dist/lib/agent.schema.js +10 -9
- package/dist/lib/archive.service.d.ts +145 -0
- package/dist/lib/archive.service.js +133 -0
- package/dist/lib/content.provider.d.ts +1 -1
- package/dist/lib/dashboard-archive.d.ts +70 -0
- package/dist/lib/dashboard-archive.js +118 -0
- package/dist/lib/dashboard-sources.d.ts +69 -0
- package/dist/lib/dashboard-sources.js +37 -0
- package/dist/lib/dashboard-view.schema.d.ts +422 -88
- package/dist/lib/dashboard.schema.d.ts +379 -58
- package/dist/lib/dashboard.schema.js +18 -1
- package/dist/lib/dashboard.service.d.ts +60 -14
- package/dist/lib/dashboard.service.js +8 -2
- package/dist/lib/document-package.d.ts +19 -4
- package/dist/lib/editing-patch.d.ts +3 -0
- package/dist/lib/editing-patch.js +2 -1
- package/dist/lib/editing-session.d.ts +4 -4
- package/dist/lib/editing.d.ts +202 -19
- package/dist/lib/editing.js +5 -2
- package/dist/lib/html-validation-feedback.d.ts +7 -0
- package/dist/lib/html-validation-feedback.js +19 -0
- package/dist/lib/html-validation.js +2 -1
- package/dist/lib/inspection-host.d.ts +7 -0
- package/dist/lib/inspection-host.js +48 -0
- package/dist/lib/inspection-runtime.d.ts +2 -0
- package/dist/lib/inspection-runtime.js +77 -0
- package/dist/lib/json-input.d.ts +4 -0
- package/dist/lib/json-input.js +21 -0
- package/dist/lib/middleware.js +3 -2
- package/dist/lib/plugin.js +2 -1
- package/dist/lib/presentation.provider.d.ts +24 -9
- package/dist/lib/presentation.provider.js +2 -1
- package/dist/lib/source-executions.d.ts +196 -0
- package/dist/lib/source-executions.js +25 -0
- package/dist/lib/source-validation.d.ts +2 -0
- package/dist/lib/source-validation.js +21 -0
- package/dist/lib/view.provider.d.ts +178 -8
- package/dist/lib/view.provider.js +30 -4
- package/dist/remote/app.css +1 -1
- package/dist/remote/app.js +100 -27
- package/dist/remote/build-manifest.json +37 -23
- package/docs/docs.json +3 -1
- package/docs/sources-inspect-portability-acceptance.mdx +67 -0
- package/docs/sources-inspect-portability.mdx +115 -0
- package/package.json +6 -5
- package/skills/live-dashboard/SKILL.md +5 -4
- package/skills/live-dashboard/references/source-inspection.md +17 -0
|
@@ -115,6 +115,53 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
115
115
|
id: z.ZodString;
|
|
116
116
|
title: z.ZodString;
|
|
117
117
|
bindings: z.ZodArray<z.ZodType<import("@xpert-ai/contracts").AnalyticsBinding, z.ZodTypeDef, import("@xpert-ai/contracts").AnalyticsBinding>, "many">;
|
|
118
|
+
sourceMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
|
+
bindingId: z.ZodString;
|
|
120
|
+
title: z.ZodString;
|
|
121
|
+
description: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, "strict", z.ZodTypeAny, {
|
|
123
|
+
bindingId: string;
|
|
124
|
+
title: string;
|
|
125
|
+
description?: string | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
bindingId: string;
|
|
128
|
+
title: string;
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
}>, "many">>;
|
|
131
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
elementId: z.ZodString;
|
|
134
|
+
title: z.ZodString;
|
|
135
|
+
kind: z.ZodEnum<["metric", "chart", "table", "filter", "text"]>;
|
|
136
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
137
|
+
bindingId: z.ZodString;
|
|
138
|
+
fieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
|
+
}, "strict", z.ZodTypeAny, {
|
|
140
|
+
bindingId: string;
|
|
141
|
+
fieldIds?: string[] | undefined;
|
|
142
|
+
}, {
|
|
143
|
+
bindingId: string;
|
|
144
|
+
fieldIds?: string[] | undefined;
|
|
145
|
+
}>, "many">;
|
|
146
|
+
}, "strict", z.ZodTypeAny, {
|
|
147
|
+
title: string;
|
|
148
|
+
id: string;
|
|
149
|
+
elementId: string;
|
|
150
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
151
|
+
sources: {
|
|
152
|
+
bindingId: string;
|
|
153
|
+
fieldIds?: string[] | undefined;
|
|
154
|
+
}[];
|
|
155
|
+
}, {
|
|
156
|
+
title: string;
|
|
157
|
+
id: string;
|
|
158
|
+
elementId: string;
|
|
159
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
160
|
+
sources: {
|
|
161
|
+
bindingId: string;
|
|
162
|
+
fieldIds?: string[] | undefined;
|
|
163
|
+
}[];
|
|
164
|
+
}>, "many">>;
|
|
118
165
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
119
166
|
type: z.ZodLiteral<"html">;
|
|
120
167
|
html: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -192,17 +239,17 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
192
239
|
y: z.ZodString;
|
|
193
240
|
color: z.ZodOptional<z.ZodString>;
|
|
194
241
|
}, "strict", z.ZodTypeAny, {
|
|
242
|
+
title: string;
|
|
195
243
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
196
244
|
id: string;
|
|
197
|
-
title: string;
|
|
198
245
|
datasetId: string;
|
|
199
246
|
x: string;
|
|
200
247
|
y: string;
|
|
201
248
|
color?: string | undefined;
|
|
202
249
|
}, {
|
|
250
|
+
title: string;
|
|
203
251
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
204
252
|
id: string;
|
|
205
|
-
title: string;
|
|
206
253
|
datasetId: string;
|
|
207
254
|
x: string;
|
|
208
255
|
y: string;
|
|
@@ -214,20 +261,20 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
214
261
|
datasetId: z.ZodString;
|
|
215
262
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
216
263
|
}, "strict", z.ZodTypeAny, {
|
|
217
|
-
id: string;
|
|
218
264
|
title: string;
|
|
265
|
+
id: string;
|
|
219
266
|
datasetId: string;
|
|
220
267
|
fields: string[];
|
|
221
268
|
}, {
|
|
222
|
-
id: string;
|
|
223
269
|
title: string;
|
|
270
|
+
id: string;
|
|
224
271
|
datasetId: string;
|
|
225
272
|
fields: string[];
|
|
226
273
|
}>, "many">;
|
|
227
274
|
}, "strict", z.ZodTypeAny, {
|
|
228
|
-
schema: "xpert.live-dashboard";
|
|
229
|
-
id: string;
|
|
230
275
|
title: string;
|
|
276
|
+
id: string;
|
|
277
|
+
schema: "xpert.live-dashboard";
|
|
231
278
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
232
279
|
controls: {
|
|
233
280
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -237,29 +284,44 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
237
284
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
238
285
|
}[];
|
|
239
286
|
charts: {
|
|
287
|
+
title: string;
|
|
240
288
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
241
289
|
id: string;
|
|
242
|
-
title: string;
|
|
243
290
|
datasetId: string;
|
|
244
291
|
x: string;
|
|
245
292
|
y: string;
|
|
246
293
|
color?: string | undefined;
|
|
247
294
|
}[];
|
|
248
295
|
tables: {
|
|
249
|
-
id: string;
|
|
250
296
|
title: string;
|
|
297
|
+
id: string;
|
|
251
298
|
datasetId: string;
|
|
252
299
|
fields: string[];
|
|
253
300
|
}[];
|
|
301
|
+
sourceMetadata?: {
|
|
302
|
+
bindingId: string;
|
|
303
|
+
title: string;
|
|
304
|
+
description?: string | undefined;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
components?: {
|
|
307
|
+
title: string;
|
|
308
|
+
id: string;
|
|
309
|
+
elementId: string;
|
|
310
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
311
|
+
sources: {
|
|
312
|
+
bindingId: string;
|
|
313
|
+
fieldIds?: string[] | undefined;
|
|
314
|
+
}[];
|
|
315
|
+
}[] | undefined;
|
|
254
316
|
presentation?: {
|
|
255
317
|
type: "html";
|
|
256
318
|
html: string;
|
|
257
319
|
dependencies?: import("@xpert-ai/plugin-sdk/artifact-document").ArtifactDocumentDependencyLock[] | undefined;
|
|
258
320
|
} | undefined;
|
|
259
321
|
}, {
|
|
260
|
-
schema: "xpert.live-dashboard";
|
|
261
|
-
id: string;
|
|
262
322
|
title: string;
|
|
323
|
+
id: string;
|
|
324
|
+
schema: "xpert.live-dashboard";
|
|
263
325
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
264
326
|
controls: {
|
|
265
327
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -269,20 +331,35 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
269
331
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
270
332
|
}[];
|
|
271
333
|
charts: {
|
|
334
|
+
title: string;
|
|
272
335
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
273
336
|
id: string;
|
|
274
|
-
title: string;
|
|
275
337
|
datasetId: string;
|
|
276
338
|
x: string;
|
|
277
339
|
y: string;
|
|
278
340
|
color?: string | undefined;
|
|
279
341
|
}[];
|
|
280
342
|
tables: {
|
|
281
|
-
id: string;
|
|
282
343
|
title: string;
|
|
344
|
+
id: string;
|
|
283
345
|
datasetId: string;
|
|
284
346
|
fields: string[];
|
|
285
347
|
}[];
|
|
348
|
+
sourceMetadata?: {
|
|
349
|
+
bindingId: string;
|
|
350
|
+
title: string;
|
|
351
|
+
description?: string | undefined;
|
|
352
|
+
}[] | undefined;
|
|
353
|
+
components?: {
|
|
354
|
+
title: string;
|
|
355
|
+
id: string;
|
|
356
|
+
elementId: string;
|
|
357
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
358
|
+
sources: {
|
|
359
|
+
bindingId: string;
|
|
360
|
+
fieldIds?: string[] | undefined;
|
|
361
|
+
}[];
|
|
362
|
+
}[] | undefined;
|
|
286
363
|
presentation?: {
|
|
287
364
|
type: "html";
|
|
288
365
|
html: string;
|
|
@@ -295,9 +372,9 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
295
372
|
}[] | undefined;
|
|
296
373
|
} | undefined;
|
|
297
374
|
}>, {
|
|
298
|
-
schema: "xpert.live-dashboard";
|
|
299
|
-
id: string;
|
|
300
375
|
title: string;
|
|
376
|
+
id: string;
|
|
377
|
+
schema: "xpert.live-dashboard";
|
|
301
378
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
302
379
|
controls: {
|
|
303
380
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -307,29 +384,44 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
307
384
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
308
385
|
}[];
|
|
309
386
|
charts: {
|
|
387
|
+
title: string;
|
|
310
388
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
311
389
|
id: string;
|
|
312
|
-
title: string;
|
|
313
390
|
datasetId: string;
|
|
314
391
|
x: string;
|
|
315
392
|
y: string;
|
|
316
393
|
color?: string | undefined;
|
|
317
394
|
}[];
|
|
318
395
|
tables: {
|
|
319
|
-
id: string;
|
|
320
396
|
title: string;
|
|
397
|
+
id: string;
|
|
321
398
|
datasetId: string;
|
|
322
399
|
fields: string[];
|
|
323
400
|
}[];
|
|
401
|
+
sourceMetadata?: {
|
|
402
|
+
bindingId: string;
|
|
403
|
+
title: string;
|
|
404
|
+
description?: string | undefined;
|
|
405
|
+
}[] | undefined;
|
|
406
|
+
components?: {
|
|
407
|
+
title: string;
|
|
408
|
+
id: string;
|
|
409
|
+
elementId: string;
|
|
410
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
411
|
+
sources: {
|
|
412
|
+
bindingId: string;
|
|
413
|
+
fieldIds?: string[] | undefined;
|
|
414
|
+
}[];
|
|
415
|
+
}[] | undefined;
|
|
324
416
|
presentation?: {
|
|
325
417
|
type: "html";
|
|
326
418
|
html: string;
|
|
327
419
|
dependencies?: import("@xpert-ai/plugin-sdk/artifact-document").ArtifactDocumentDependencyLock[] | undefined;
|
|
328
420
|
} | undefined;
|
|
329
421
|
}, {
|
|
330
|
-
schema: "xpert.live-dashboard";
|
|
331
|
-
id: string;
|
|
332
422
|
title: string;
|
|
423
|
+
id: string;
|
|
424
|
+
schema: "xpert.live-dashboard";
|
|
333
425
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
334
426
|
controls: {
|
|
335
427
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -339,20 +431,35 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
339
431
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
340
432
|
}[];
|
|
341
433
|
charts: {
|
|
434
|
+
title: string;
|
|
342
435
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
343
436
|
id: string;
|
|
344
|
-
title: string;
|
|
345
437
|
datasetId: string;
|
|
346
438
|
x: string;
|
|
347
439
|
y: string;
|
|
348
440
|
color?: string | undefined;
|
|
349
441
|
}[];
|
|
350
442
|
tables: {
|
|
351
|
-
id: string;
|
|
352
443
|
title: string;
|
|
444
|
+
id: string;
|
|
353
445
|
datasetId: string;
|
|
354
446
|
fields: string[];
|
|
355
447
|
}[];
|
|
448
|
+
sourceMetadata?: {
|
|
449
|
+
bindingId: string;
|
|
450
|
+
title: string;
|
|
451
|
+
description?: string | undefined;
|
|
452
|
+
}[] | undefined;
|
|
453
|
+
components?: {
|
|
454
|
+
title: string;
|
|
455
|
+
id: string;
|
|
456
|
+
elementId: string;
|
|
457
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
458
|
+
sources: {
|
|
459
|
+
bindingId: string;
|
|
460
|
+
fieldIds?: string[] | undefined;
|
|
461
|
+
}[];
|
|
462
|
+
}[] | undefined;
|
|
356
463
|
presentation?: {
|
|
357
464
|
type: "html";
|
|
358
465
|
html: string;
|
|
@@ -397,9 +504,9 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
397
504
|
}>, "many">>;
|
|
398
505
|
}, "strip", z.ZodTypeAny, {
|
|
399
506
|
manifest: {
|
|
400
|
-
schema: "xpert.live-dashboard";
|
|
401
|
-
id: string;
|
|
402
507
|
title: string;
|
|
508
|
+
id: string;
|
|
509
|
+
schema: "xpert.live-dashboard";
|
|
403
510
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
404
511
|
controls: {
|
|
405
512
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -409,20 +516,35 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
409
516
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
410
517
|
}[];
|
|
411
518
|
charts: {
|
|
519
|
+
title: string;
|
|
412
520
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
413
521
|
id: string;
|
|
414
|
-
title: string;
|
|
415
522
|
datasetId: string;
|
|
416
523
|
x: string;
|
|
417
524
|
y: string;
|
|
418
525
|
color?: string | undefined;
|
|
419
526
|
}[];
|
|
420
527
|
tables: {
|
|
421
|
-
id: string;
|
|
422
528
|
title: string;
|
|
529
|
+
id: string;
|
|
423
530
|
datasetId: string;
|
|
424
531
|
fields: string[];
|
|
425
532
|
}[];
|
|
533
|
+
sourceMetadata?: {
|
|
534
|
+
bindingId: string;
|
|
535
|
+
title: string;
|
|
536
|
+
description?: string | undefined;
|
|
537
|
+
}[] | undefined;
|
|
538
|
+
components?: {
|
|
539
|
+
title: string;
|
|
540
|
+
id: string;
|
|
541
|
+
elementId: string;
|
|
542
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
543
|
+
sources: {
|
|
544
|
+
bindingId: string;
|
|
545
|
+
fieldIds?: string[] | undefined;
|
|
546
|
+
}[];
|
|
547
|
+
}[] | undefined;
|
|
426
548
|
presentation?: {
|
|
427
549
|
type: "html";
|
|
428
550
|
html: string;
|
|
@@ -441,9 +563,9 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
441
563
|
canDelete?: boolean | undefined;
|
|
442
564
|
}, {
|
|
443
565
|
manifest: {
|
|
444
|
-
schema: "xpert.live-dashboard";
|
|
445
|
-
id: string;
|
|
446
566
|
title: string;
|
|
567
|
+
id: string;
|
|
568
|
+
schema: "xpert.live-dashboard";
|
|
447
569
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
448
570
|
controls: {
|
|
449
571
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -453,20 +575,35 @@ export declare const dashboardSavedSchema: z.ZodObject<{
|
|
|
453
575
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
454
576
|
}[];
|
|
455
577
|
charts: {
|
|
578
|
+
title: string;
|
|
456
579
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
457
580
|
id: string;
|
|
458
|
-
title: string;
|
|
459
581
|
datasetId: string;
|
|
460
582
|
x: string;
|
|
461
583
|
y: string;
|
|
462
584
|
color?: string | undefined;
|
|
463
585
|
}[];
|
|
464
586
|
tables: {
|
|
465
|
-
id: string;
|
|
466
587
|
title: string;
|
|
588
|
+
id: string;
|
|
467
589
|
datasetId: string;
|
|
468
590
|
fields: string[];
|
|
469
591
|
}[];
|
|
592
|
+
sourceMetadata?: {
|
|
593
|
+
bindingId: string;
|
|
594
|
+
title: string;
|
|
595
|
+
description?: string | undefined;
|
|
596
|
+
}[] | undefined;
|
|
597
|
+
components?: {
|
|
598
|
+
title: string;
|
|
599
|
+
id: string;
|
|
600
|
+
elementId: string;
|
|
601
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
602
|
+
sources: {
|
|
603
|
+
bindingId: string;
|
|
604
|
+
fieldIds?: string[] | undefined;
|
|
605
|
+
}[];
|
|
606
|
+
}[] | undefined;
|
|
470
607
|
presentation?: {
|
|
471
608
|
type: "html";
|
|
472
609
|
html: string;
|
|
@@ -641,6 +778,53 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
641
778
|
id: z.ZodString;
|
|
642
779
|
title: z.ZodString;
|
|
643
780
|
bindings: z.ZodArray<z.ZodType<import("@xpert-ai/contracts").AnalyticsBinding, z.ZodTypeDef, import("@xpert-ai/contracts").AnalyticsBinding>, "many">;
|
|
781
|
+
sourceMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
782
|
+
bindingId: z.ZodString;
|
|
783
|
+
title: z.ZodString;
|
|
784
|
+
description: z.ZodOptional<z.ZodString>;
|
|
785
|
+
}, "strict", z.ZodTypeAny, {
|
|
786
|
+
bindingId: string;
|
|
787
|
+
title: string;
|
|
788
|
+
description?: string | undefined;
|
|
789
|
+
}, {
|
|
790
|
+
bindingId: string;
|
|
791
|
+
title: string;
|
|
792
|
+
description?: string | undefined;
|
|
793
|
+
}>, "many">>;
|
|
794
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
795
|
+
id: z.ZodString;
|
|
796
|
+
elementId: z.ZodString;
|
|
797
|
+
title: z.ZodString;
|
|
798
|
+
kind: z.ZodEnum<["metric", "chart", "table", "filter", "text"]>;
|
|
799
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
800
|
+
bindingId: z.ZodString;
|
|
801
|
+
fieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
802
|
+
}, "strict", z.ZodTypeAny, {
|
|
803
|
+
bindingId: string;
|
|
804
|
+
fieldIds?: string[] | undefined;
|
|
805
|
+
}, {
|
|
806
|
+
bindingId: string;
|
|
807
|
+
fieldIds?: string[] | undefined;
|
|
808
|
+
}>, "many">;
|
|
809
|
+
}, "strict", z.ZodTypeAny, {
|
|
810
|
+
title: string;
|
|
811
|
+
id: string;
|
|
812
|
+
elementId: string;
|
|
813
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
814
|
+
sources: {
|
|
815
|
+
bindingId: string;
|
|
816
|
+
fieldIds?: string[] | undefined;
|
|
817
|
+
}[];
|
|
818
|
+
}, {
|
|
819
|
+
title: string;
|
|
820
|
+
id: string;
|
|
821
|
+
elementId: string;
|
|
822
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
823
|
+
sources: {
|
|
824
|
+
bindingId: string;
|
|
825
|
+
fieldIds?: string[] | undefined;
|
|
826
|
+
}[];
|
|
827
|
+
}>, "many">>;
|
|
644
828
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
645
829
|
type: z.ZodLiteral<"html">;
|
|
646
830
|
html: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -718,17 +902,17 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
718
902
|
y: z.ZodString;
|
|
719
903
|
color: z.ZodOptional<z.ZodString>;
|
|
720
904
|
}, "strict", z.ZodTypeAny, {
|
|
905
|
+
title: string;
|
|
721
906
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
722
907
|
id: string;
|
|
723
|
-
title: string;
|
|
724
908
|
datasetId: string;
|
|
725
909
|
x: string;
|
|
726
910
|
y: string;
|
|
727
911
|
color?: string | undefined;
|
|
728
912
|
}, {
|
|
913
|
+
title: string;
|
|
729
914
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
730
915
|
id: string;
|
|
731
|
-
title: string;
|
|
732
916
|
datasetId: string;
|
|
733
917
|
x: string;
|
|
734
918
|
y: string;
|
|
@@ -740,20 +924,20 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
740
924
|
datasetId: z.ZodString;
|
|
741
925
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
742
926
|
}, "strict", z.ZodTypeAny, {
|
|
743
|
-
id: string;
|
|
744
927
|
title: string;
|
|
928
|
+
id: string;
|
|
745
929
|
datasetId: string;
|
|
746
930
|
fields: string[];
|
|
747
931
|
}, {
|
|
748
|
-
id: string;
|
|
749
932
|
title: string;
|
|
933
|
+
id: string;
|
|
750
934
|
datasetId: string;
|
|
751
935
|
fields: string[];
|
|
752
936
|
}>, "many">;
|
|
753
937
|
}, "strict", z.ZodTypeAny, {
|
|
754
|
-
schema: "xpert.live-dashboard";
|
|
755
|
-
id: string;
|
|
756
938
|
title: string;
|
|
939
|
+
id: string;
|
|
940
|
+
schema: "xpert.live-dashboard";
|
|
757
941
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
758
942
|
controls: {
|
|
759
943
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -763,29 +947,44 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
763
947
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
764
948
|
}[];
|
|
765
949
|
charts: {
|
|
950
|
+
title: string;
|
|
766
951
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
767
952
|
id: string;
|
|
768
|
-
title: string;
|
|
769
953
|
datasetId: string;
|
|
770
954
|
x: string;
|
|
771
955
|
y: string;
|
|
772
956
|
color?: string | undefined;
|
|
773
957
|
}[];
|
|
774
958
|
tables: {
|
|
775
|
-
id: string;
|
|
776
959
|
title: string;
|
|
960
|
+
id: string;
|
|
777
961
|
datasetId: string;
|
|
778
962
|
fields: string[];
|
|
779
963
|
}[];
|
|
964
|
+
sourceMetadata?: {
|
|
965
|
+
bindingId: string;
|
|
966
|
+
title: string;
|
|
967
|
+
description?: string | undefined;
|
|
968
|
+
}[] | undefined;
|
|
969
|
+
components?: {
|
|
970
|
+
title: string;
|
|
971
|
+
id: string;
|
|
972
|
+
elementId: string;
|
|
973
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
974
|
+
sources: {
|
|
975
|
+
bindingId: string;
|
|
976
|
+
fieldIds?: string[] | undefined;
|
|
977
|
+
}[];
|
|
978
|
+
}[] | undefined;
|
|
780
979
|
presentation?: {
|
|
781
980
|
type: "html";
|
|
782
981
|
html: string;
|
|
783
982
|
dependencies?: import("@xpert-ai/plugin-sdk/artifact-document").ArtifactDocumentDependencyLock[] | undefined;
|
|
784
983
|
} | undefined;
|
|
785
984
|
}, {
|
|
786
|
-
schema: "xpert.live-dashboard";
|
|
787
|
-
id: string;
|
|
788
985
|
title: string;
|
|
986
|
+
id: string;
|
|
987
|
+
schema: "xpert.live-dashboard";
|
|
789
988
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
790
989
|
controls: {
|
|
791
990
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -795,20 +994,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
795
994
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
796
995
|
}[];
|
|
797
996
|
charts: {
|
|
997
|
+
title: string;
|
|
798
998
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
799
999
|
id: string;
|
|
800
|
-
title: string;
|
|
801
1000
|
datasetId: string;
|
|
802
1001
|
x: string;
|
|
803
1002
|
y: string;
|
|
804
1003
|
color?: string | undefined;
|
|
805
1004
|
}[];
|
|
806
1005
|
tables: {
|
|
807
|
-
id: string;
|
|
808
1006
|
title: string;
|
|
1007
|
+
id: string;
|
|
809
1008
|
datasetId: string;
|
|
810
1009
|
fields: string[];
|
|
811
1010
|
}[];
|
|
1011
|
+
sourceMetadata?: {
|
|
1012
|
+
bindingId: string;
|
|
1013
|
+
title: string;
|
|
1014
|
+
description?: string | undefined;
|
|
1015
|
+
}[] | undefined;
|
|
1016
|
+
components?: {
|
|
1017
|
+
title: string;
|
|
1018
|
+
id: string;
|
|
1019
|
+
elementId: string;
|
|
1020
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1021
|
+
sources: {
|
|
1022
|
+
bindingId: string;
|
|
1023
|
+
fieldIds?: string[] | undefined;
|
|
1024
|
+
}[];
|
|
1025
|
+
}[] | undefined;
|
|
812
1026
|
presentation?: {
|
|
813
1027
|
type: "html";
|
|
814
1028
|
html: string;
|
|
@@ -821,9 +1035,9 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
821
1035
|
}[] | undefined;
|
|
822
1036
|
} | undefined;
|
|
823
1037
|
}>, {
|
|
824
|
-
schema: "xpert.live-dashboard";
|
|
825
|
-
id: string;
|
|
826
1038
|
title: string;
|
|
1039
|
+
id: string;
|
|
1040
|
+
schema: "xpert.live-dashboard";
|
|
827
1041
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
828
1042
|
controls: {
|
|
829
1043
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -833,29 +1047,44 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
833
1047
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
834
1048
|
}[];
|
|
835
1049
|
charts: {
|
|
1050
|
+
title: string;
|
|
836
1051
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
837
1052
|
id: string;
|
|
838
|
-
title: string;
|
|
839
1053
|
datasetId: string;
|
|
840
1054
|
x: string;
|
|
841
1055
|
y: string;
|
|
842
1056
|
color?: string | undefined;
|
|
843
1057
|
}[];
|
|
844
1058
|
tables: {
|
|
845
|
-
id: string;
|
|
846
1059
|
title: string;
|
|
1060
|
+
id: string;
|
|
847
1061
|
datasetId: string;
|
|
848
1062
|
fields: string[];
|
|
849
1063
|
}[];
|
|
1064
|
+
sourceMetadata?: {
|
|
1065
|
+
bindingId: string;
|
|
1066
|
+
title: string;
|
|
1067
|
+
description?: string | undefined;
|
|
1068
|
+
}[] | undefined;
|
|
1069
|
+
components?: {
|
|
1070
|
+
title: string;
|
|
1071
|
+
id: string;
|
|
1072
|
+
elementId: string;
|
|
1073
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1074
|
+
sources: {
|
|
1075
|
+
bindingId: string;
|
|
1076
|
+
fieldIds?: string[] | undefined;
|
|
1077
|
+
}[];
|
|
1078
|
+
}[] | undefined;
|
|
850
1079
|
presentation?: {
|
|
851
1080
|
type: "html";
|
|
852
1081
|
html: string;
|
|
853
1082
|
dependencies?: import("@xpert-ai/plugin-sdk/artifact-document").ArtifactDocumentDependencyLock[] | undefined;
|
|
854
1083
|
} | undefined;
|
|
855
1084
|
}, {
|
|
856
|
-
schema: "xpert.live-dashboard";
|
|
857
|
-
id: string;
|
|
858
1085
|
title: string;
|
|
1086
|
+
id: string;
|
|
1087
|
+
schema: "xpert.live-dashboard";
|
|
859
1088
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
860
1089
|
controls: {
|
|
861
1090
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -865,20 +1094,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
865
1094
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
866
1095
|
}[];
|
|
867
1096
|
charts: {
|
|
1097
|
+
title: string;
|
|
868
1098
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
869
1099
|
id: string;
|
|
870
|
-
title: string;
|
|
871
1100
|
datasetId: string;
|
|
872
1101
|
x: string;
|
|
873
1102
|
y: string;
|
|
874
1103
|
color?: string | undefined;
|
|
875
1104
|
}[];
|
|
876
1105
|
tables: {
|
|
877
|
-
id: string;
|
|
878
1106
|
title: string;
|
|
1107
|
+
id: string;
|
|
879
1108
|
datasetId: string;
|
|
880
1109
|
fields: string[];
|
|
881
1110
|
}[];
|
|
1111
|
+
sourceMetadata?: {
|
|
1112
|
+
bindingId: string;
|
|
1113
|
+
title: string;
|
|
1114
|
+
description?: string | undefined;
|
|
1115
|
+
}[] | undefined;
|
|
1116
|
+
components?: {
|
|
1117
|
+
title: string;
|
|
1118
|
+
id: string;
|
|
1119
|
+
elementId: string;
|
|
1120
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1121
|
+
sources: {
|
|
1122
|
+
bindingId: string;
|
|
1123
|
+
fieldIds?: string[] | undefined;
|
|
1124
|
+
}[];
|
|
1125
|
+
}[] | undefined;
|
|
882
1126
|
presentation?: {
|
|
883
1127
|
type: "html";
|
|
884
1128
|
html: string;
|
|
@@ -923,9 +1167,9 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
923
1167
|
}>, "many">>;
|
|
924
1168
|
}, "strip", z.ZodTypeAny, {
|
|
925
1169
|
manifest: {
|
|
926
|
-
schema: "xpert.live-dashboard";
|
|
927
|
-
id: string;
|
|
928
1170
|
title: string;
|
|
1171
|
+
id: string;
|
|
1172
|
+
schema: "xpert.live-dashboard";
|
|
929
1173
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
930
1174
|
controls: {
|
|
931
1175
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -935,20 +1179,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
935
1179
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
936
1180
|
}[];
|
|
937
1181
|
charts: {
|
|
1182
|
+
title: string;
|
|
938
1183
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
939
1184
|
id: string;
|
|
940
|
-
title: string;
|
|
941
1185
|
datasetId: string;
|
|
942
1186
|
x: string;
|
|
943
1187
|
y: string;
|
|
944
1188
|
color?: string | undefined;
|
|
945
1189
|
}[];
|
|
946
1190
|
tables: {
|
|
947
|
-
id: string;
|
|
948
1191
|
title: string;
|
|
1192
|
+
id: string;
|
|
949
1193
|
datasetId: string;
|
|
950
1194
|
fields: string[];
|
|
951
1195
|
}[];
|
|
1196
|
+
sourceMetadata?: {
|
|
1197
|
+
bindingId: string;
|
|
1198
|
+
title: string;
|
|
1199
|
+
description?: string | undefined;
|
|
1200
|
+
}[] | undefined;
|
|
1201
|
+
components?: {
|
|
1202
|
+
title: string;
|
|
1203
|
+
id: string;
|
|
1204
|
+
elementId: string;
|
|
1205
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1206
|
+
sources: {
|
|
1207
|
+
bindingId: string;
|
|
1208
|
+
fieldIds?: string[] | undefined;
|
|
1209
|
+
}[];
|
|
1210
|
+
}[] | undefined;
|
|
952
1211
|
presentation?: {
|
|
953
1212
|
type: "html";
|
|
954
1213
|
html: string;
|
|
@@ -967,9 +1226,9 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
967
1226
|
canDelete?: boolean | undefined;
|
|
968
1227
|
}, {
|
|
969
1228
|
manifest: {
|
|
970
|
-
schema: "xpert.live-dashboard";
|
|
971
|
-
id: string;
|
|
972
1229
|
title: string;
|
|
1230
|
+
id: string;
|
|
1231
|
+
schema: "xpert.live-dashboard";
|
|
973
1232
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
974
1233
|
controls: {
|
|
975
1234
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -979,20 +1238,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
979
1238
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
980
1239
|
}[];
|
|
981
1240
|
charts: {
|
|
1241
|
+
title: string;
|
|
982
1242
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
983
1243
|
id: string;
|
|
984
|
-
title: string;
|
|
985
1244
|
datasetId: string;
|
|
986
1245
|
x: string;
|
|
987
1246
|
y: string;
|
|
988
1247
|
color?: string | undefined;
|
|
989
1248
|
}[];
|
|
990
1249
|
tables: {
|
|
991
|
-
id: string;
|
|
992
1250
|
title: string;
|
|
1251
|
+
id: string;
|
|
993
1252
|
datasetId: string;
|
|
994
1253
|
fields: string[];
|
|
995
1254
|
}[];
|
|
1255
|
+
sourceMetadata?: {
|
|
1256
|
+
bindingId: string;
|
|
1257
|
+
title: string;
|
|
1258
|
+
description?: string | undefined;
|
|
1259
|
+
}[] | undefined;
|
|
1260
|
+
components?: {
|
|
1261
|
+
title: string;
|
|
1262
|
+
id: string;
|
|
1263
|
+
elementId: string;
|
|
1264
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1265
|
+
sources: {
|
|
1266
|
+
bindingId: string;
|
|
1267
|
+
fieldIds?: string[] | undefined;
|
|
1268
|
+
}[];
|
|
1269
|
+
}[] | undefined;
|
|
996
1270
|
presentation?: {
|
|
997
1271
|
type: "html";
|
|
998
1272
|
html: string;
|
|
@@ -1055,6 +1329,10 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1055
1329
|
canDelete?: boolean | undefined;
|
|
1056
1330
|
}>, "many">>;
|
|
1057
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1332
|
+
sources: {
|
|
1333
|
+
name: string;
|
|
1334
|
+
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1335
|
+
}[];
|
|
1058
1336
|
dashboards: {
|
|
1059
1337
|
artifactId: string;
|
|
1060
1338
|
title?: string | null | undefined;
|
|
@@ -1066,16 +1344,12 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1066
1344
|
updatedAt?: string | undefined;
|
|
1067
1345
|
canDelete?: boolean | undefined;
|
|
1068
1346
|
}[];
|
|
1069
|
-
sources: {
|
|
1070
|
-
name: string;
|
|
1071
|
-
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1072
|
-
}[];
|
|
1073
1347
|
mode?: "draft" | "published" | undefined;
|
|
1074
1348
|
saved?: {
|
|
1075
1349
|
manifest: {
|
|
1076
|
-
schema: "xpert.live-dashboard";
|
|
1077
|
-
id: string;
|
|
1078
1350
|
title: string;
|
|
1351
|
+
id: string;
|
|
1352
|
+
schema: "xpert.live-dashboard";
|
|
1079
1353
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
1080
1354
|
controls: {
|
|
1081
1355
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -1085,20 +1359,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1085
1359
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
1086
1360
|
}[];
|
|
1087
1361
|
charts: {
|
|
1362
|
+
title: string;
|
|
1088
1363
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
1089
1364
|
id: string;
|
|
1090
|
-
title: string;
|
|
1091
1365
|
datasetId: string;
|
|
1092
1366
|
x: string;
|
|
1093
1367
|
y: string;
|
|
1094
1368
|
color?: string | undefined;
|
|
1095
1369
|
}[];
|
|
1096
1370
|
tables: {
|
|
1097
|
-
id: string;
|
|
1098
1371
|
title: string;
|
|
1372
|
+
id: string;
|
|
1099
1373
|
datasetId: string;
|
|
1100
1374
|
fields: string[];
|
|
1101
1375
|
}[];
|
|
1376
|
+
sourceMetadata?: {
|
|
1377
|
+
bindingId: string;
|
|
1378
|
+
title: string;
|
|
1379
|
+
description?: string | undefined;
|
|
1380
|
+
}[] | undefined;
|
|
1381
|
+
components?: {
|
|
1382
|
+
title: string;
|
|
1383
|
+
id: string;
|
|
1384
|
+
elementId: string;
|
|
1385
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1386
|
+
sources: {
|
|
1387
|
+
bindingId: string;
|
|
1388
|
+
fieldIds?: string[] | undefined;
|
|
1389
|
+
}[];
|
|
1390
|
+
}[] | undefined;
|
|
1102
1391
|
presentation?: {
|
|
1103
1392
|
type: "html";
|
|
1104
1393
|
html: string;
|
|
@@ -1160,6 +1449,10 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1160
1449
|
canDelete?: boolean | undefined;
|
|
1161
1450
|
}[] | undefined;
|
|
1162
1451
|
}, {
|
|
1452
|
+
sources: {
|
|
1453
|
+
name: string;
|
|
1454
|
+
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1455
|
+
}[];
|
|
1163
1456
|
dashboards: {
|
|
1164
1457
|
artifactId: string;
|
|
1165
1458
|
title?: string | null | undefined;
|
|
@@ -1171,16 +1464,12 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1171
1464
|
updatedAt?: string | undefined;
|
|
1172
1465
|
canDelete?: boolean | undefined;
|
|
1173
1466
|
}[];
|
|
1174
|
-
sources: {
|
|
1175
|
-
name: string;
|
|
1176
|
-
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1177
|
-
}[];
|
|
1178
1467
|
mode?: "draft" | "published" | undefined;
|
|
1179
1468
|
saved?: {
|
|
1180
1469
|
manifest: {
|
|
1181
|
-
schema: "xpert.live-dashboard";
|
|
1182
|
-
id: string;
|
|
1183
1470
|
title: string;
|
|
1471
|
+
id: string;
|
|
1472
|
+
schema: "xpert.live-dashboard";
|
|
1184
1473
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
1185
1474
|
controls: {
|
|
1186
1475
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -1190,20 +1479,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1190
1479
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
1191
1480
|
}[];
|
|
1192
1481
|
charts: {
|
|
1482
|
+
title: string;
|
|
1193
1483
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
1194
1484
|
id: string;
|
|
1195
|
-
title: string;
|
|
1196
1485
|
datasetId: string;
|
|
1197
1486
|
x: string;
|
|
1198
1487
|
y: string;
|
|
1199
1488
|
color?: string | undefined;
|
|
1200
1489
|
}[];
|
|
1201
1490
|
tables: {
|
|
1202
|
-
id: string;
|
|
1203
1491
|
title: string;
|
|
1492
|
+
id: string;
|
|
1204
1493
|
datasetId: string;
|
|
1205
1494
|
fields: string[];
|
|
1206
1495
|
}[];
|
|
1496
|
+
sourceMetadata?: {
|
|
1497
|
+
bindingId: string;
|
|
1498
|
+
title: string;
|
|
1499
|
+
description?: string | undefined;
|
|
1500
|
+
}[] | undefined;
|
|
1501
|
+
components?: {
|
|
1502
|
+
title: string;
|
|
1503
|
+
id: string;
|
|
1504
|
+
elementId: string;
|
|
1505
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1506
|
+
sources: {
|
|
1507
|
+
bindingId: string;
|
|
1508
|
+
fieldIds?: string[] | undefined;
|
|
1509
|
+
}[];
|
|
1510
|
+
}[] | undefined;
|
|
1207
1511
|
presentation?: {
|
|
1208
1512
|
type: "html";
|
|
1209
1513
|
html: string;
|
|
@@ -1280,6 +1584,10 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1280
1584
|
}>;
|
|
1281
1585
|
}, "strip", z.ZodTypeAny, {
|
|
1282
1586
|
meta: {
|
|
1587
|
+
sources: {
|
|
1588
|
+
name: string;
|
|
1589
|
+
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1590
|
+
}[];
|
|
1283
1591
|
dashboards: {
|
|
1284
1592
|
artifactId: string;
|
|
1285
1593
|
title?: string | null | undefined;
|
|
@@ -1291,16 +1599,12 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1291
1599
|
updatedAt?: string | undefined;
|
|
1292
1600
|
canDelete?: boolean | undefined;
|
|
1293
1601
|
}[];
|
|
1294
|
-
sources: {
|
|
1295
|
-
name: string;
|
|
1296
|
-
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1297
|
-
}[];
|
|
1298
1602
|
mode?: "draft" | "published" | undefined;
|
|
1299
1603
|
saved?: {
|
|
1300
1604
|
manifest: {
|
|
1301
|
-
schema: "xpert.live-dashboard";
|
|
1302
|
-
id: string;
|
|
1303
1605
|
title: string;
|
|
1606
|
+
id: string;
|
|
1607
|
+
schema: "xpert.live-dashboard";
|
|
1304
1608
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
1305
1609
|
controls: {
|
|
1306
1610
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -1310,20 +1614,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1310
1614
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
1311
1615
|
}[];
|
|
1312
1616
|
charts: {
|
|
1617
|
+
title: string;
|
|
1313
1618
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
1314
1619
|
id: string;
|
|
1315
|
-
title: string;
|
|
1316
1620
|
datasetId: string;
|
|
1317
1621
|
x: string;
|
|
1318
1622
|
y: string;
|
|
1319
1623
|
color?: string | undefined;
|
|
1320
1624
|
}[];
|
|
1321
1625
|
tables: {
|
|
1322
|
-
id: string;
|
|
1323
1626
|
title: string;
|
|
1627
|
+
id: string;
|
|
1324
1628
|
datasetId: string;
|
|
1325
1629
|
fields: string[];
|
|
1326
1630
|
}[];
|
|
1631
|
+
sourceMetadata?: {
|
|
1632
|
+
bindingId: string;
|
|
1633
|
+
title: string;
|
|
1634
|
+
description?: string | undefined;
|
|
1635
|
+
}[] | undefined;
|
|
1636
|
+
components?: {
|
|
1637
|
+
title: string;
|
|
1638
|
+
id: string;
|
|
1639
|
+
elementId: string;
|
|
1640
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1641
|
+
sources: {
|
|
1642
|
+
bindingId: string;
|
|
1643
|
+
fieldIds?: string[] | undefined;
|
|
1644
|
+
}[];
|
|
1645
|
+
}[] | undefined;
|
|
1327
1646
|
presentation?: {
|
|
1328
1647
|
type: "html";
|
|
1329
1648
|
html: string;
|
|
@@ -1387,6 +1706,10 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1387
1706
|
};
|
|
1388
1707
|
}, {
|
|
1389
1708
|
meta: {
|
|
1709
|
+
sources: {
|
|
1710
|
+
name: string;
|
|
1711
|
+
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1712
|
+
}[];
|
|
1390
1713
|
dashboards: {
|
|
1391
1714
|
artifactId: string;
|
|
1392
1715
|
title?: string | null | undefined;
|
|
@@ -1398,16 +1721,12 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1398
1721
|
updatedAt?: string | undefined;
|
|
1399
1722
|
canDelete?: boolean | undefined;
|
|
1400
1723
|
}[];
|
|
1401
|
-
sources: {
|
|
1402
|
-
name: string;
|
|
1403
|
-
source: import("@xpert-ai/contracts").AnalyticsSourceRef;
|
|
1404
|
-
}[];
|
|
1405
1724
|
mode?: "draft" | "published" | undefined;
|
|
1406
1725
|
saved?: {
|
|
1407
1726
|
manifest: {
|
|
1408
|
-
schema: "xpert.live-dashboard";
|
|
1409
|
-
id: string;
|
|
1410
1727
|
title: string;
|
|
1728
|
+
id: string;
|
|
1729
|
+
schema: "xpert.live-dashboard";
|
|
1411
1730
|
bindings: import("@xpert-ai/contracts").AnalyticsBinding[];
|
|
1412
1731
|
controls: {
|
|
1413
1732
|
type: "string" | "number" | "boolean" | "date";
|
|
@@ -1417,20 +1736,35 @@ export declare const dashboardViewDataSchema: z.ZodObject<{
|
|
|
1417
1736
|
allowedValues?: (string | number | boolean | null)[] | undefined;
|
|
1418
1737
|
}[];
|
|
1419
1738
|
charts: {
|
|
1739
|
+
title: string;
|
|
1420
1740
|
type: "bar" | "line" | "area" | "pie" | "scatter";
|
|
1421
1741
|
id: string;
|
|
1422
|
-
title: string;
|
|
1423
1742
|
datasetId: string;
|
|
1424
1743
|
x: string;
|
|
1425
1744
|
y: string;
|
|
1426
1745
|
color?: string | undefined;
|
|
1427
1746
|
}[];
|
|
1428
1747
|
tables: {
|
|
1429
|
-
id: string;
|
|
1430
1748
|
title: string;
|
|
1749
|
+
id: string;
|
|
1431
1750
|
datasetId: string;
|
|
1432
1751
|
fields: string[];
|
|
1433
1752
|
}[];
|
|
1753
|
+
sourceMetadata?: {
|
|
1754
|
+
bindingId: string;
|
|
1755
|
+
title: string;
|
|
1756
|
+
description?: string | undefined;
|
|
1757
|
+
}[] | undefined;
|
|
1758
|
+
components?: {
|
|
1759
|
+
title: string;
|
|
1760
|
+
id: string;
|
|
1761
|
+
elementId: string;
|
|
1762
|
+
kind: "filter" | "metric" | "chart" | "table" | "text";
|
|
1763
|
+
sources: {
|
|
1764
|
+
bindingId: string;
|
|
1765
|
+
fieldIds?: string[] | undefined;
|
|
1766
|
+
}[];
|
|
1767
|
+
}[] | undefined;
|
|
1434
1768
|
presentation?: {
|
|
1435
1769
|
type: "html";
|
|
1436
1770
|
html: string;
|