@adminforth/dashboard 1.6.0 → 1.8.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/custom/model/dashboard.types.ts +25 -10
- package/custom/package.json +1 -0
- package/custom/pnpm-lock.yaml +31 -0
- package/custom/runtime/DashboardRuntime.vue +7 -12
- package/custom/runtime/YamlConfigEditor.vue +109 -0
- package/custom/skills/adminforth-dashboard/SKILL.md +26 -3
- package/dist/custom/model/dashboard.types.d.ts +19 -7
- package/dist/custom/model/dashboard.types.ts +25 -10
- package/dist/custom/package.json +1 -0
- package/dist/custom/pnpm-lock.yaml +31 -0
- package/dist/custom/queries/useDashboardConfig.d.ts +322 -4
- package/dist/custom/queries/useWidgetData.d.ts +322 -4
- package/dist/custom/runtime/DashboardRuntime.vue +7 -12
- package/dist/custom/runtime/YamlConfigEditor.vue +109 -0
- package/dist/custom/skills/adminforth-dashboard/SKILL.md +26 -3
- package/dist/schema/api.d.ts +8099 -1620
- package/dist/schema/api.js +2 -2
- package/dist/schema/widget.d.ts +622 -33
- package/dist/schema/widget.js +1 -1
- package/dist/schema/widgets/charts.d.ts +785 -39
- package/dist/schema/widgets/charts.js +2 -2
- package/dist/schema/widgets/common.d.ts +35 -6
- package/dist/schema/widgets/common.js +23 -5
- package/dist/schema/widgets/gauge-card.d.ts +56 -2
- package/dist/schema/widgets/kpi-card.d.ts +56 -2
- package/dist/schema/widgets/pivot-table.d.ts +56 -2
- package/dist/schema/widgets/table.d.ts +56 -2
- package/dist/services/widgetDataService.js +37 -32
- package/package.json +1 -1
- package/schema/api.ts +1 -2
- package/schema/widget.ts +0 -1
- package/schema/widgets/charts.ts +1 -2
- package/schema/widgets/common.ts +24 -5
- package/services/widgetDataService.ts +62 -50
- package/shims-vue.d.ts +11 -0
- package/tsconfig.json +3 -1
|
@@ -46,6 +46,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
46
46
|
page_size?: number | undefined;
|
|
47
47
|
} | undefined;
|
|
48
48
|
query: {
|
|
49
|
+
source?: "resource" | undefined;
|
|
49
50
|
resource: string;
|
|
50
51
|
select?: ({
|
|
51
52
|
field: string;
|
|
@@ -92,6 +93,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
92
93
|
as: string;
|
|
93
94
|
}[] | undefined;
|
|
94
95
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
source: "steps";
|
|
98
|
+
steps: ({
|
|
99
|
+
name: string;
|
|
100
|
+
resource: string;
|
|
101
|
+
metric: {
|
|
102
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
103
|
+
field?: string | undefined;
|
|
104
|
+
as: string;
|
|
105
|
+
filters?: any;
|
|
106
|
+
};
|
|
107
|
+
filters?: any;
|
|
108
|
+
} | {
|
|
109
|
+
name: string;
|
|
110
|
+
resource: string;
|
|
111
|
+
select: {
|
|
112
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
113
|
+
field?: string | undefined;
|
|
114
|
+
as: string;
|
|
115
|
+
filters?: any;
|
|
116
|
+
}[];
|
|
117
|
+
filters?: any;
|
|
118
|
+
})[];
|
|
119
|
+
calcs?: {
|
|
120
|
+
calc: string;
|
|
121
|
+
as: string;
|
|
122
|
+
}[] | undefined;
|
|
123
|
+
order_by?: {
|
|
124
|
+
field: string;
|
|
125
|
+
direction?: "asc" | "desc" | undefined;
|
|
126
|
+
}[] | undefined;
|
|
127
|
+
limit?: number | undefined;
|
|
128
|
+
offset?: number | undefined;
|
|
129
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
95
130
|
};
|
|
96
131
|
} | {
|
|
97
132
|
id: string;
|
|
@@ -146,6 +181,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
146
181
|
colors?: string[] | undefined;
|
|
147
182
|
};
|
|
148
183
|
query: {
|
|
184
|
+
source?: "resource" | undefined;
|
|
149
185
|
resource: string;
|
|
150
186
|
select?: ({
|
|
151
187
|
field: string;
|
|
@@ -193,7 +229,8 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
193
229
|
}[] | undefined;
|
|
194
230
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
195
231
|
} | {
|
|
196
|
-
|
|
232
|
+
source: "steps";
|
|
233
|
+
steps: ({
|
|
197
234
|
name: string;
|
|
198
235
|
resource: string;
|
|
199
236
|
metric: {
|
|
@@ -203,11 +240,28 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
203
240
|
filters?: any;
|
|
204
241
|
};
|
|
205
242
|
filters?: any;
|
|
206
|
-
}
|
|
243
|
+
} | {
|
|
244
|
+
name: string;
|
|
245
|
+
resource: string;
|
|
246
|
+
select: {
|
|
247
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
248
|
+
field?: string | undefined;
|
|
249
|
+
as: string;
|
|
250
|
+
filters?: any;
|
|
251
|
+
}[];
|
|
252
|
+
filters?: any;
|
|
253
|
+
})[];
|
|
207
254
|
calcs?: {
|
|
208
255
|
calc: string;
|
|
209
256
|
as: string;
|
|
210
257
|
}[] | undefined;
|
|
258
|
+
order_by?: {
|
|
259
|
+
field: string;
|
|
260
|
+
direction?: "asc" | "desc" | undefined;
|
|
261
|
+
}[] | undefined;
|
|
262
|
+
limit?: number | undefined;
|
|
263
|
+
offset?: number | undefined;
|
|
264
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
211
265
|
};
|
|
212
266
|
} | {
|
|
213
267
|
id: string;
|
|
@@ -258,6 +312,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
258
312
|
} | undefined;
|
|
259
313
|
};
|
|
260
314
|
query: {
|
|
315
|
+
source?: "resource" | undefined;
|
|
261
316
|
resource: string;
|
|
262
317
|
select?: ({
|
|
263
318
|
field: string;
|
|
@@ -304,6 +359,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
304
359
|
as: string;
|
|
305
360
|
}[] | undefined;
|
|
306
361
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
362
|
+
} | {
|
|
363
|
+
source: "steps";
|
|
364
|
+
steps: ({
|
|
365
|
+
name: string;
|
|
366
|
+
resource: string;
|
|
367
|
+
metric: {
|
|
368
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
369
|
+
field?: string | undefined;
|
|
370
|
+
as: string;
|
|
371
|
+
filters?: any;
|
|
372
|
+
};
|
|
373
|
+
filters?: any;
|
|
374
|
+
} | {
|
|
375
|
+
name: string;
|
|
376
|
+
resource: string;
|
|
377
|
+
select: {
|
|
378
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
379
|
+
field?: string | undefined;
|
|
380
|
+
as: string;
|
|
381
|
+
filters?: any;
|
|
382
|
+
}[];
|
|
383
|
+
filters?: any;
|
|
384
|
+
})[];
|
|
385
|
+
calcs?: {
|
|
386
|
+
calc: string;
|
|
387
|
+
as: string;
|
|
388
|
+
}[] | undefined;
|
|
389
|
+
order_by?: {
|
|
390
|
+
field: string;
|
|
391
|
+
direction?: "asc" | "desc" | undefined;
|
|
392
|
+
}[] | undefined;
|
|
393
|
+
limit?: number | undefined;
|
|
394
|
+
offset?: number | undefined;
|
|
395
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
307
396
|
};
|
|
308
397
|
} | {
|
|
309
398
|
id: string;
|
|
@@ -339,6 +428,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
339
428
|
color?: string | undefined;
|
|
340
429
|
};
|
|
341
430
|
query: {
|
|
431
|
+
source?: "resource" | undefined;
|
|
342
432
|
resource: string;
|
|
343
433
|
select?: ({
|
|
344
434
|
field: string;
|
|
@@ -385,6 +475,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
385
475
|
as: string;
|
|
386
476
|
}[] | undefined;
|
|
387
477
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
478
|
+
} | {
|
|
479
|
+
source: "steps";
|
|
480
|
+
steps: ({
|
|
481
|
+
name: string;
|
|
482
|
+
resource: string;
|
|
483
|
+
metric: {
|
|
484
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
485
|
+
field?: string | undefined;
|
|
486
|
+
as: string;
|
|
487
|
+
filters?: any;
|
|
488
|
+
};
|
|
489
|
+
filters?: any;
|
|
490
|
+
} | {
|
|
491
|
+
name: string;
|
|
492
|
+
resource: string;
|
|
493
|
+
select: {
|
|
494
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
495
|
+
field?: string | undefined;
|
|
496
|
+
as: string;
|
|
497
|
+
filters?: any;
|
|
498
|
+
}[];
|
|
499
|
+
filters?: any;
|
|
500
|
+
})[];
|
|
501
|
+
calcs?: {
|
|
502
|
+
calc: string;
|
|
503
|
+
as: string;
|
|
504
|
+
}[] | undefined;
|
|
505
|
+
order_by?: {
|
|
506
|
+
field: string;
|
|
507
|
+
direction?: "asc" | "desc" | undefined;
|
|
508
|
+
}[] | undefined;
|
|
509
|
+
limit?: number | undefined;
|
|
510
|
+
offset?: number | undefined;
|
|
511
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
388
512
|
};
|
|
389
513
|
} | {
|
|
390
514
|
id: string;
|
|
@@ -417,6 +541,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
417
541
|
}[];
|
|
418
542
|
};
|
|
419
543
|
query: {
|
|
544
|
+
source?: "resource" | undefined;
|
|
420
545
|
resource: string;
|
|
421
546
|
select?: ({
|
|
422
547
|
field: string;
|
|
@@ -463,6 +588,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
463
588
|
as: string;
|
|
464
589
|
}[] | undefined;
|
|
465
590
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
591
|
+
} | {
|
|
592
|
+
source: "steps";
|
|
593
|
+
steps: ({
|
|
594
|
+
name: string;
|
|
595
|
+
resource: string;
|
|
596
|
+
metric: {
|
|
597
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
598
|
+
field?: string | undefined;
|
|
599
|
+
as: string;
|
|
600
|
+
filters?: any;
|
|
601
|
+
};
|
|
602
|
+
filters?: any;
|
|
603
|
+
} | {
|
|
604
|
+
name: string;
|
|
605
|
+
resource: string;
|
|
606
|
+
select: {
|
|
607
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
608
|
+
field?: string | undefined;
|
|
609
|
+
as: string;
|
|
610
|
+
filters?: any;
|
|
611
|
+
}[];
|
|
612
|
+
filters?: any;
|
|
613
|
+
})[];
|
|
614
|
+
calcs?: {
|
|
615
|
+
calc: string;
|
|
616
|
+
as: string;
|
|
617
|
+
}[] | undefined;
|
|
618
|
+
order_by?: {
|
|
619
|
+
field: string;
|
|
620
|
+
direction?: "asc" | "desc" | undefined;
|
|
621
|
+
}[] | undefined;
|
|
622
|
+
limit?: number | undefined;
|
|
623
|
+
offset?: number | undefined;
|
|
624
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
466
625
|
};
|
|
467
626
|
})[];
|
|
468
627
|
};
|
|
@@ -512,6 +671,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
512
671
|
page_size?: number | undefined;
|
|
513
672
|
} | undefined;
|
|
514
673
|
query: {
|
|
674
|
+
source?: "resource" | undefined;
|
|
515
675
|
resource: string;
|
|
516
676
|
select?: ({
|
|
517
677
|
field: string;
|
|
@@ -558,6 +718,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
558
718
|
as: string;
|
|
559
719
|
}[] | undefined;
|
|
560
720
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
721
|
+
} | {
|
|
722
|
+
source: "steps";
|
|
723
|
+
steps: ({
|
|
724
|
+
name: string;
|
|
725
|
+
resource: string;
|
|
726
|
+
metric: {
|
|
727
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
728
|
+
field?: string | undefined;
|
|
729
|
+
as: string;
|
|
730
|
+
filters?: any;
|
|
731
|
+
};
|
|
732
|
+
filters?: any;
|
|
733
|
+
} | {
|
|
734
|
+
name: string;
|
|
735
|
+
resource: string;
|
|
736
|
+
select: {
|
|
737
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
738
|
+
field?: string | undefined;
|
|
739
|
+
as: string;
|
|
740
|
+
filters?: any;
|
|
741
|
+
}[];
|
|
742
|
+
filters?: any;
|
|
743
|
+
})[];
|
|
744
|
+
calcs?: {
|
|
745
|
+
calc: string;
|
|
746
|
+
as: string;
|
|
747
|
+
}[] | undefined;
|
|
748
|
+
order_by?: {
|
|
749
|
+
field: string;
|
|
750
|
+
direction?: "asc" | "desc" | undefined;
|
|
751
|
+
}[] | undefined;
|
|
752
|
+
limit?: number | undefined;
|
|
753
|
+
offset?: number | undefined;
|
|
754
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
561
755
|
};
|
|
562
756
|
} | {
|
|
563
757
|
id: string;
|
|
@@ -612,6 +806,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
612
806
|
colors?: string[] | undefined;
|
|
613
807
|
};
|
|
614
808
|
query: {
|
|
809
|
+
source?: "resource" | undefined;
|
|
615
810
|
resource: string;
|
|
616
811
|
select?: ({
|
|
617
812
|
field: string;
|
|
@@ -659,7 +854,8 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
659
854
|
}[] | undefined;
|
|
660
855
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
661
856
|
} | {
|
|
662
|
-
|
|
857
|
+
source: "steps";
|
|
858
|
+
steps: ({
|
|
663
859
|
name: string;
|
|
664
860
|
resource: string;
|
|
665
861
|
metric: {
|
|
@@ -669,11 +865,28 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
669
865
|
filters?: any;
|
|
670
866
|
};
|
|
671
867
|
filters?: any;
|
|
672
|
-
}
|
|
868
|
+
} | {
|
|
869
|
+
name: string;
|
|
870
|
+
resource: string;
|
|
871
|
+
select: {
|
|
872
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
873
|
+
field?: string | undefined;
|
|
874
|
+
as: string;
|
|
875
|
+
filters?: any;
|
|
876
|
+
}[];
|
|
877
|
+
filters?: any;
|
|
878
|
+
})[];
|
|
673
879
|
calcs?: {
|
|
674
880
|
calc: string;
|
|
675
881
|
as: string;
|
|
676
882
|
}[] | undefined;
|
|
883
|
+
order_by?: {
|
|
884
|
+
field: string;
|
|
885
|
+
direction?: "asc" | "desc" | undefined;
|
|
886
|
+
}[] | undefined;
|
|
887
|
+
limit?: number | undefined;
|
|
888
|
+
offset?: number | undefined;
|
|
889
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
677
890
|
};
|
|
678
891
|
} | {
|
|
679
892
|
id: string;
|
|
@@ -724,6 +937,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
724
937
|
} | undefined;
|
|
725
938
|
};
|
|
726
939
|
query: {
|
|
940
|
+
source?: "resource" | undefined;
|
|
727
941
|
resource: string;
|
|
728
942
|
select?: ({
|
|
729
943
|
field: string;
|
|
@@ -770,6 +984,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
770
984
|
as: string;
|
|
771
985
|
}[] | undefined;
|
|
772
986
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
987
|
+
} | {
|
|
988
|
+
source: "steps";
|
|
989
|
+
steps: ({
|
|
990
|
+
name: string;
|
|
991
|
+
resource: string;
|
|
992
|
+
metric: {
|
|
993
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
994
|
+
field?: string | undefined;
|
|
995
|
+
as: string;
|
|
996
|
+
filters?: any;
|
|
997
|
+
};
|
|
998
|
+
filters?: any;
|
|
999
|
+
} | {
|
|
1000
|
+
name: string;
|
|
1001
|
+
resource: string;
|
|
1002
|
+
select: {
|
|
1003
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
1004
|
+
field?: string | undefined;
|
|
1005
|
+
as: string;
|
|
1006
|
+
filters?: any;
|
|
1007
|
+
}[];
|
|
1008
|
+
filters?: any;
|
|
1009
|
+
})[];
|
|
1010
|
+
calcs?: {
|
|
1011
|
+
calc: string;
|
|
1012
|
+
as: string;
|
|
1013
|
+
}[] | undefined;
|
|
1014
|
+
order_by?: {
|
|
1015
|
+
field: string;
|
|
1016
|
+
direction?: "asc" | "desc" | undefined;
|
|
1017
|
+
}[] | undefined;
|
|
1018
|
+
limit?: number | undefined;
|
|
1019
|
+
offset?: number | undefined;
|
|
1020
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
773
1021
|
};
|
|
774
1022
|
} | {
|
|
775
1023
|
id: string;
|
|
@@ -805,6 +1053,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
805
1053
|
color?: string | undefined;
|
|
806
1054
|
};
|
|
807
1055
|
query: {
|
|
1056
|
+
source?: "resource" | undefined;
|
|
808
1057
|
resource: string;
|
|
809
1058
|
select?: ({
|
|
810
1059
|
field: string;
|
|
@@ -851,6 +1100,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
851
1100
|
as: string;
|
|
852
1101
|
}[] | undefined;
|
|
853
1102
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
1103
|
+
} | {
|
|
1104
|
+
source: "steps";
|
|
1105
|
+
steps: ({
|
|
1106
|
+
name: string;
|
|
1107
|
+
resource: string;
|
|
1108
|
+
metric: {
|
|
1109
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
1110
|
+
field?: string | undefined;
|
|
1111
|
+
as: string;
|
|
1112
|
+
filters?: any;
|
|
1113
|
+
};
|
|
1114
|
+
filters?: any;
|
|
1115
|
+
} | {
|
|
1116
|
+
name: string;
|
|
1117
|
+
resource: string;
|
|
1118
|
+
select: {
|
|
1119
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
1120
|
+
field?: string | undefined;
|
|
1121
|
+
as: string;
|
|
1122
|
+
filters?: any;
|
|
1123
|
+
}[];
|
|
1124
|
+
filters?: any;
|
|
1125
|
+
})[];
|
|
1126
|
+
calcs?: {
|
|
1127
|
+
calc: string;
|
|
1128
|
+
as: string;
|
|
1129
|
+
}[] | undefined;
|
|
1130
|
+
order_by?: {
|
|
1131
|
+
field: string;
|
|
1132
|
+
direction?: "asc" | "desc" | undefined;
|
|
1133
|
+
}[] | undefined;
|
|
1134
|
+
limit?: number | undefined;
|
|
1135
|
+
offset?: number | undefined;
|
|
1136
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
854
1137
|
};
|
|
855
1138
|
} | {
|
|
856
1139
|
id: string;
|
|
@@ -883,6 +1166,7 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
883
1166
|
}[];
|
|
884
1167
|
};
|
|
885
1168
|
query: {
|
|
1169
|
+
source?: "resource" | undefined;
|
|
886
1170
|
resource: string;
|
|
887
1171
|
select?: ({
|
|
888
1172
|
field: string;
|
|
@@ -929,6 +1213,40 @@ export declare function useDashboardConfig(slug: Ref<string>): {
|
|
|
929
1213
|
as: string;
|
|
930
1214
|
}[] | undefined;
|
|
931
1215
|
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
1216
|
+
} | {
|
|
1217
|
+
source: "steps";
|
|
1218
|
+
steps: ({
|
|
1219
|
+
name: string;
|
|
1220
|
+
resource: string;
|
|
1221
|
+
metric: {
|
|
1222
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
1223
|
+
field?: string | undefined;
|
|
1224
|
+
as: string;
|
|
1225
|
+
filters?: any;
|
|
1226
|
+
};
|
|
1227
|
+
filters?: any;
|
|
1228
|
+
} | {
|
|
1229
|
+
name: string;
|
|
1230
|
+
resource: string;
|
|
1231
|
+
select: {
|
|
1232
|
+
agg: import("../model/dashboard.types.js").QueryAggregateOperation;
|
|
1233
|
+
field?: string | undefined;
|
|
1234
|
+
as: string;
|
|
1235
|
+
filters?: any;
|
|
1236
|
+
}[];
|
|
1237
|
+
filters?: any;
|
|
1238
|
+
})[];
|
|
1239
|
+
calcs?: {
|
|
1240
|
+
calc: string;
|
|
1241
|
+
as: string;
|
|
1242
|
+
}[] | undefined;
|
|
1243
|
+
order_by?: {
|
|
1244
|
+
field: string;
|
|
1245
|
+
direction?: "asc" | "desc" | undefined;
|
|
1246
|
+
}[] | undefined;
|
|
1247
|
+
limit?: number | undefined;
|
|
1248
|
+
offset?: number | undefined;
|
|
1249
|
+
formatting?: Record<string, import("../model/dashboard.types.js").JsonValue> | undefined;
|
|
932
1250
|
};
|
|
933
1251
|
})[];
|
|
934
1252
|
};
|