@molochko-dev/data 1.4.141 → 1.4.142

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.
@@ -4,3 +4,8 @@ export declare enum POSITIONS {
4
4
  zootechnician = "zootechnician",
5
5
  inseminator = "inseminator"
6
6
  }
7
+ export declare enum SPECIES_ENUM {
8
+ cattle = "cattle",
9
+ goat = "goat",
10
+ sheep = "sheep"
11
+ }
package/dist/org/enums.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.POSITIONS = void 0;
3
+ exports.SPECIES_ENUM = exports.POSITIONS = void 0;
4
4
  var POSITIONS;
5
5
  (function (POSITIONS) {
6
6
  POSITIONS["boss"] = "boss";
@@ -8,3 +8,11 @@ var POSITIONS;
8
8
  POSITIONS["zootechnician"] = "zootechnician";
9
9
  POSITIONS["inseminator"] = "inseminator";
10
10
  })(POSITIONS = exports.POSITIONS || (exports.POSITIONS = {}));
11
+ // Species of a farm (org of type location). Settings that depend on the species live in
12
+ // settings.species.<species> of the root organization (ADR-0002)
13
+ var SPECIES_ENUM;
14
+ (function (SPECIES_ENUM) {
15
+ SPECIES_ENUM["cattle"] = "cattle";
16
+ SPECIES_ENUM["goat"] = "goat";
17
+ SPECIES_ENUM["sheep"] = "sheep";
18
+ })(SPECIES_ENUM = exports.SPECIES_ENUM || (exports.SPECIES_ENUM = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molochko-dev/data",
3
- "version": "1.4.141",
3
+ "version": "1.4.142",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "typings/index.d.ts",
package/src/org/enums.ts CHANGED
@@ -4,3 +4,11 @@ export enum POSITIONS {
4
4
  zootechnician = 'zootechnician',
5
5
  inseminator = 'inseminator',
6
6
  }
7
+
8
+ // Species of a farm (org of type location). Settings that depend on the species live in
9
+ // settings.species.<species> of the root organization (ADR-0002)
10
+ export enum SPECIES_ENUM {
11
+ cattle = 'cattle',
12
+ goat = 'goat',
13
+ sheep = 'sheep',
14
+ }