@molochko-dev/data 1.4.93 → 1.4.94
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/dist/easy-query/enums.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.EQ_STATUS_ENUM = exports.EQ_PROFILE = void 0;
|
|
|
4
4
|
var EQ_PROFILE;
|
|
5
5
|
(function (EQ_PROFILE) {
|
|
6
6
|
EQ_PROFILE["animal"] = "animal";
|
|
7
|
+
EQ_PROFILE["animalReport"] = "animalReport";
|
|
7
8
|
})(EQ_PROFILE = exports.EQ_PROFILE || (exports.EQ_PROFILE = {}));
|
|
8
9
|
var EQ_STATUS_ENUM;
|
|
9
10
|
(function (EQ_STATUS_ENUM) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface IEQField {
|
|
2
|
+
field: string;
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
type: string;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface IEQEventField extends IEQField {
|
|
9
|
+
treatment?: IEQField;
|
|
10
|
+
protocol?: IEQField;
|
|
11
|
+
seedBank?: IEQField;
|
|
12
|
+
employee?: IEQField;
|
|
13
|
+
}
|
|
14
|
+
export interface IEQItem {
|
|
15
|
+
animal: Record<string, IEQField>;
|
|
16
|
+
metrics: Record<string, IEQField>;
|
|
17
|
+
events: Record<string, IEQEventField>[];
|
|
18
|
+
}
|
|
19
|
+
export interface IEQResponse {
|
|
20
|
+
count: number;
|
|
21
|
+
data: IEQItem[];
|
|
22
|
+
}
|
package/package.json
CHANGED
package/src/easy-query/enums.ts
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface IEQField {
|
|
2
|
+
field: string
|
|
3
|
+
value: string
|
|
4
|
+
label: string
|
|
5
|
+
type: string
|
|
6
|
+
visible: boolean
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface IEQEventField extends IEQField{
|
|
10
|
+
treatment?: IEQField
|
|
11
|
+
protocol?: IEQField
|
|
12
|
+
seedBank?: IEQField
|
|
13
|
+
employee?: IEQField
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface IEQItem {
|
|
17
|
+
animal: Record<string, IEQField>
|
|
18
|
+
metrics: Record<string, IEQField>
|
|
19
|
+
events: Record<string, IEQEventField>[]
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface IEQResponse {
|
|
23
|
+
count: number
|
|
24
|
+
data: IEQItem[]
|
|
25
|
+
}
|