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