@molochko-dev/data 1.4.104 → 1.4.105

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.
@@ -2,4 +2,13 @@ import { filter as _filter } from './animal-event-filter';
2
2
  import * as _enums from './enums';
3
3
  export { _filter as filter };
4
4
  export { _enums as enums };
5
- export { EVENT_ERROR_REASON_ENUM, EVENT_EXEC_STATUS_ENUM, TRANSFEROUT_TYPES_ENUM, TRANSFEROUT_REASON_ENUM, DISEASES_ENUM, MEDMETHOD_ENUM, EVENT_TYPES_ENUM } from './enums';
5
+ export declare const events: {
6
+ EVENT_ERROR_REASON_ENUM: typeof _enums.EVENT_ERROR_REASON_ENUM;
7
+ EVENT_EXEC_STATUS_ENUM: typeof _enums.EVENT_EXEC_STATUS_ENUM;
8
+ TRANSFEROUT_TYPES_ENUM: typeof _enums.TRANSFEROUT_TYPES_ENUM;
9
+ TRANSFEROUT_REASON_ENUM: typeof _enums.TRANSFEROUT_REASON_ENUM;
10
+ DISEASES_ENUM: typeof _enums.DISEASES_ENUM;
11
+ MEDMETHOD_ENUM: typeof _enums.MEDMETHOD_ENUM;
12
+ EVENT_TYPES_ENUM: typeof _enums.EVENT_TYPES_ENUM;
13
+ };
14
+ export declare type events = typeof events;
@@ -23,16 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.EVENT_TYPES_ENUM = exports.MEDMETHOD_ENUM = exports.DISEASES_ENUM = exports.TRANSFEROUT_REASON_ENUM = exports.TRANSFEROUT_TYPES_ENUM = exports.EVENT_EXEC_STATUS_ENUM = exports.EVENT_ERROR_REASON_ENUM = exports.enums = exports.filter = void 0;
26
+ exports.events = exports.enums = exports.filter = void 0;
27
27
  const animal_event_filter_1 = require("./animal-event-filter");
28
28
  Object.defineProperty(exports, "filter", { enumerable: true, get: function () { return animal_event_filter_1.filter; } });
29
29
  const _enums = __importStar(require("./enums"));
30
30
  exports.enums = _enums;
31
- var enums_1 = require("./enums");
32
- Object.defineProperty(exports, "EVENT_ERROR_REASON_ENUM", { enumerable: true, get: function () { return enums_1.EVENT_ERROR_REASON_ENUM; } });
33
- Object.defineProperty(exports, "EVENT_EXEC_STATUS_ENUM", { enumerable: true, get: function () { return enums_1.EVENT_EXEC_STATUS_ENUM; } });
34
- Object.defineProperty(exports, "TRANSFEROUT_TYPES_ENUM", { enumerable: true, get: function () { return enums_1.TRANSFEROUT_TYPES_ENUM; } });
35
- Object.defineProperty(exports, "TRANSFEROUT_REASON_ENUM", { enumerable: true, get: function () { return enums_1.TRANSFEROUT_REASON_ENUM; } });
36
- Object.defineProperty(exports, "DISEASES_ENUM", { enumerable: true, get: function () { return enums_1.DISEASES_ENUM; } });
37
- Object.defineProperty(exports, "MEDMETHOD_ENUM", { enumerable: true, get: function () { return enums_1.MEDMETHOD_ENUM; } });
38
- Object.defineProperty(exports, "EVENT_TYPES_ENUM", { enumerable: true, get: function () { return enums_1.EVENT_TYPES_ENUM; } });
31
+ exports.events = Object.assign({}, _enums);
package/dist/index.d.ts CHANGED
@@ -55,5 +55,5 @@ export declare const animalEnums: typeof _animalEnums.enums;
55
55
  export declare const eventEnums: typeof _animalForEventFilters.enums;
56
56
  export declare const eqEnums: typeof _eqEnums.enums;
57
57
  export declare const orgConstants: typeof _orgConstants.constants;
58
- export * as events from './event';
59
- export type { EVENT_ERROR_REASON_ENUM, EVENT_EXEC_STATUS_ENUM, TRANSFEROUT_TYPES_ENUM, TRANSFEROUT_REASON_ENUM, DISEASES_ENUM, MEDMETHOD_ENUM, EVENT_TYPES_ENUM } from './event';
58
+ export { events } from './event';
59
+ export type { events as EventType } from './event';
package/dist/index.js CHANGED
@@ -47,4 +47,5 @@ exports.animalEnums = _animalEnums.enums;
47
47
  exports.eventEnums = _eventEnums.enums;
48
48
  exports.eqEnums = _eqEnums.enums;
49
49
  exports.orgConstants = _orgConstants.constants;
50
- exports.events = __importStar(require("./event"));
50
+ var event_1 = require("./event");
51
+ Object.defineProperty(exports, "events", { enumerable: true, get: function () { return event_1.events; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molochko-dev/data",
3
- "version": "1.4.104",
3
+ "version": "1.4.105",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "typings/index.d.ts",
@@ -4,12 +4,8 @@ import * as _enums from './enums';
4
4
  export { _filter as filter };
5
5
  export { _enums as enums };
6
6
 
7
- export {
8
- EVENT_ERROR_REASON_ENUM,
9
- EVENT_EXEC_STATUS_ENUM,
10
- TRANSFEROUT_TYPES_ENUM,
11
- TRANSFEROUT_REASON_ENUM,
12
- DISEASES_ENUM,
13
- MEDMETHOD_ENUM,
14
- EVENT_TYPES_ENUM
15
- } from './enums'
7
+ export const events = {
8
+ ..._enums
9
+ };
10
+
11
+ export type events = typeof events;
package/src/index.ts CHANGED
@@ -23,13 +23,5 @@ export const eventEnums = _eventEnums.enums;
23
23
  export const eqEnums = _eqEnums.enums
24
24
  export const orgConstants = _orgConstants.constants
25
25
 
26
- export * as events from './event';
27
- export type {
28
- EVENT_ERROR_REASON_ENUM,
29
- EVENT_EXEC_STATUS_ENUM,
30
- TRANSFEROUT_TYPES_ENUM,
31
- TRANSFEROUT_REASON_ENUM,
32
- DISEASES_ENUM,
33
- MEDMETHOD_ENUM,
34
- EVENT_TYPES_ENUM
35
- } from './event'
26
+ export { events } from './event';
27
+ export type { events as EventType } from './event';