@molochko-dev/data 1.4.136 → 1.4.137
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/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/org/enums.d.ts +6 -0
- package/dist/org/enums.js +10 -0
- package/dist/org/index.d.ts +2 -1
- package/dist/org/index.js +3 -1
- package/package.json +1 -1
- package/src/index.ts +3 -0
- package/src/org/enums.ts +6 -0
- package/src/org/index.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare const animalEnums: typeof _animalEnums.enums;
|
|
|
53
53
|
export declare const eventEnums: typeof _animalForEventFilters.enums;
|
|
54
54
|
export declare const eqEnums: typeof _eqEnums.enums;
|
|
55
55
|
export declare const orgConstants: typeof _orgConstants.constants;
|
|
56
|
+
export declare const orgEnums: typeof _orgConstants.enums;
|
|
56
57
|
export declare const milkEnums: typeof _milkEnums.enums;
|
|
57
58
|
export declare const notificationEnums: typeof _notificationEnums.enums;
|
|
58
59
|
export declare const herdKpiEnums: typeof _herdKpi.enums;
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.event = exports.dateHelpers = exports.herdKpiEnums = exports.notificationEnums = exports.milkEnums = exports.orgConstants = exports.eqEnums = exports.eventEnums = exports.animalEnums = exports.animalForEventFilters = exports.importEnums = exports.animalTagEnums = exports.customListEnums = exports.types = exports.rolePermissions = exports.enums = void 0;
|
|
26
|
+
exports.event = exports.dateHelpers = exports.herdKpiEnums = exports.notificationEnums = exports.milkEnums = exports.orgEnums = exports.orgConstants = exports.eqEnums = exports.eventEnums = exports.animalEnums = exports.animalForEventFilters = exports.importEnums = exports.animalTagEnums = exports.customListEnums = exports.types = exports.rolePermissions = exports.enums = void 0;
|
|
27
27
|
const dataEnums = __importStar(require("./enums"));
|
|
28
28
|
const breed_1 = require("./breed");
|
|
29
29
|
const typeDefinitions = __importStar(require("./types"));
|
|
@@ -40,6 +40,7 @@ const _milkEnums = __importStar(require("./milk"));
|
|
|
40
40
|
const _notificationEnums = __importStar(require("./notification"));
|
|
41
41
|
const _herdKpi = __importStar(require("./herd-kpi"));
|
|
42
42
|
const _dateHelpers = __importStar(require("./helpers/date"));
|
|
43
|
+
const _orgEnums = __importStar(require("./org"));
|
|
43
44
|
exports.enums = Object.assign(Object.assign({}, dataEnums), { BREED: breed_1.BREED, BREED_AS_OBJECT: breed_1.BREED_AS_OBJECT });
|
|
44
45
|
exports.rolePermissions = _rolePermissions;
|
|
45
46
|
exports.types = typeDefinitions;
|
|
@@ -51,6 +52,7 @@ exports.animalEnums = _animalEnums.enums;
|
|
|
51
52
|
exports.eventEnums = _eventEnums.enums;
|
|
52
53
|
exports.eqEnums = _eqEnums.enums;
|
|
53
54
|
exports.orgConstants = _orgConstants.constants;
|
|
55
|
+
exports.orgEnums = _orgEnums.enums;
|
|
54
56
|
exports.milkEnums = _milkEnums.enums;
|
|
55
57
|
exports.notificationEnums = _notificationEnums.enums;
|
|
56
58
|
exports.herdKpiEnums = _herdKpi.enums;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.POSITIONS = void 0;
|
|
4
|
+
var POSITIONS;
|
|
5
|
+
(function (POSITIONS) {
|
|
6
|
+
POSITIONS["boss"] = "boss";
|
|
7
|
+
POSITIONS["veterinarian"] = "veterinarian";
|
|
8
|
+
POSITIONS["zootechnician"] = "zootechnician";
|
|
9
|
+
POSITIONS["inseminator"] = "inseminator";
|
|
10
|
+
})(POSITIONS = exports.POSITIONS || (exports.POSITIONS = {}));
|
package/dist/org/index.d.ts
CHANGED
package/dist/org/index.js
CHANGED
|
@@ -23,6 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.constants = void 0;
|
|
26
|
+
exports.enums = exports.constants = void 0;
|
|
27
27
|
const _const = __importStar(require("./const"));
|
|
28
28
|
exports.constants = _const;
|
|
29
|
+
const _enums = __importStar(require("./enums"));
|
|
30
|
+
exports.enums = _enums;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -14,6 +14,8 @@ import * as _milkEnums from './milk';
|
|
|
14
14
|
import * as _notificationEnums from './notification';
|
|
15
15
|
import * as _herdKpi from './herd-kpi';
|
|
16
16
|
import * as _dateHelpers from './helpers/date';
|
|
17
|
+
import * as _orgEnums from './org';
|
|
18
|
+
|
|
17
19
|
export const enums = { ...dataEnums, BREED, BREED_AS_OBJECT };
|
|
18
20
|
export const rolePermissions = _rolePermissions;
|
|
19
21
|
export const types = typeDefinitions;
|
|
@@ -25,6 +27,7 @@ export const animalEnums = _animalEnums.enums;
|
|
|
25
27
|
export const eventEnums = _eventEnums.enums;
|
|
26
28
|
export const eqEnums = _eqEnums.enums;
|
|
27
29
|
export const orgConstants = _orgConstants.constants;
|
|
30
|
+
export const orgEnums = _orgEnums.enums;
|
|
28
31
|
export const milkEnums = _milkEnums.enums;
|
|
29
32
|
export const notificationEnums = _notificationEnums.enums;
|
|
30
33
|
export const herdKpiEnums = _herdKpi.enums;
|
package/src/org/enums.ts
ADDED
package/src/org/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as _const from './const';
|
|
2
|
-
|
|
3
|
-
export { _const as constants };
|
|
2
|
+
import * as _enums from './enums';
|
|
3
|
+
export { _const as constants, _enums as enums };
|