@devtable/dashboard 8.38.0 → 8.39.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.
@@ -1,17 +1,8 @@
1
1
  /// <reference types="react" />
2
- declare type UsageType = {
3
- type: 'filter';
4
- id: string;
5
- label: string;
6
- } | {
7
- type: 'panel';
8
- id: string;
9
- label: string;
10
- viewID: string;
11
- };
2
+ import { QueryUsageType } from '~/model';
12
3
  interface IQueryUsage {
13
4
  queryID: string;
14
- usage: UsageType[];
5
+ usage: QueryUsageType[];
15
6
  }
16
7
  export declare const QueryUsage: (({ queryID, usage }: IQueryUsage) => JSX.Element) & {
17
8
  displayName: string;
@@ -65,3 +65,20 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
65
65
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
66
66
  export declare type QueryModelInstance = Instance<typeof QueryModel>;
67
67
  export declare type QueryModelSnapshotIn = SnapshotIn<QueryModelInstance>;
68
+ export declare type QueryUsageType = {
69
+ type: 'filter';
70
+ id: string;
71
+ label: string;
72
+ views: {
73
+ id: string;
74
+ label: string;
75
+ }[];
76
+ } | {
77
+ type: 'panel';
78
+ id: string;
79
+ label: string;
80
+ views: {
81
+ id: string;
82
+ label: string;
83
+ }[];
84
+ };