@contrail/data-grouping 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/interfaces.d.ts +2 -5
- package/package.json +1 -1
package/lib/interfaces.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { TypeProperty } from "@contrail/types";
|
1
2
|
export interface DataGroup {
|
2
3
|
subGroups: Array<DataGroup>;
|
3
4
|
name: string;
|
@@ -6,12 +7,8 @@ export interface DataGroup {
|
|
6
7
|
};
|
7
8
|
data: Array<any>;
|
8
9
|
}
|
9
|
-
export interface DataGroupPropertyDefinition {
|
10
|
-
slug: string;
|
11
|
-
propertyType: string;
|
12
|
-
}
|
13
10
|
export interface DataGroupStructure {
|
14
11
|
rootGroup: DataGroup;
|
15
12
|
depth: number;
|
16
|
-
groupingProperties: Array<
|
13
|
+
groupingProperties: Array<TypeProperty>;
|
17
14
|
}
|
package/package.json
CHANGED