@molochko-dev/data 1.4.55 → 1.4.57

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/enums.d.ts CHANGED
@@ -305,7 +305,12 @@ export declare const CLIST_CONDITION_ENUM_AS_OBJECT: {
305
305
  };
306
306
  export declare enum CLIST_DATASOURCE_ENUM {
307
307
  animals = "animals",
308
- events = "events"
308
+ events = "events",
309
+ seedBank = "seedBank",
310
+ employee = "employee",
311
+ org = "org",
312
+ protocol = "protocol",
313
+ treatment = "treatment"
309
314
  }
310
315
  export declare const CLIST_DATASOURCE_ENUM_AS_OBJECT: {
311
316
  [key: string]: string;
@@ -317,6 +322,16 @@ export declare enum CLIST_STATUS_ENUM {
317
322
  export declare const CLIST_STATUS_ENUM_AS_OBJECT: {
318
323
  [key: string]: string;
319
324
  };
325
+ export declare enum CLIST_AFUNCTIONS_ENUM {
326
+ count = "count",
327
+ min = "min",
328
+ max = "max",
329
+ avg = "avg",
330
+ sum = "sum"
331
+ }
332
+ export declare const CLIST_AFUNCTIONS_ENUM_AS_OBJECT: {
333
+ [key: string]: string;
334
+ };
320
335
  export declare enum SUPPORTED_LANG_ENUM {
321
336
  ru = "ru",
322
337
  en = "en"
package/dist/enums.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CLIST_TYPE_ENUM = exports.CLIST_OPERATOR_ENUM_AS_OBJECT = exports.CLIST_OPERATOR_ENUM = exports.EVENT_EXEC_STATUS_AS_OBJECT = exports.EVENT_EXEC_STATUS_ENUM = exports.SUBTASK_STATUS_AS_OBJECT = exports.SUBTASK_STATUS_ENUM = exports.MEDMETHOD_ENUM_AS_OBJECT = exports.MEDMETHOD_ENUM = exports.DISEASES_AS_OBJECT = exports.DISEASES_ENUM = exports.TRANSFEROUT_REASON_AS_OBJECT = exports.TRANSFEROUT_REASON_ENUM = exports.TRANSFEROUT_TYPES_AS_OBJECT = exports.TRANSFEROUT_TYPES_ENUM = exports.ACCESS_ENUM_AS_OBJECT = exports.ACCESS_ENUM = exports.USER_PERMISSION_METHOD_AS_OBJECT = exports.USER_PERMISSION_METHOD_ENUM = exports.USER_PERMISSION_AS_OBJECT = exports.USER_PERMISSION_ENUM = exports.TAG_TYPE_AS_OBJECT = exports.TAG_TYPE_ENUM = exports.COMMON_SIMPLE_STATUS_AS_OBJECT = exports.COMMON_SIMPLE_STATUS_ENUM = exports.EVENT_ERROR_REASON_AS_OBJECT = exports.EVENT_ERROR_REASON_ENUM = exports.ANIMAL_STATUS_AS_OBJECT = exports.COW_STATUS = exports.BULL_STATUS = exports.ANIMAL_STATUS_ENUM = exports.SEED_CODES_AS_OBJECT = exports.SEED_CODES_ENUM = exports.SEED_STATUS_AS_OBJECT = exports.SEED_STATUS_ENUM = exports.SEED_TYPE_AS_OBJECT = exports.SEED_TYPE_ENUM = exports.EVENT_TYPES_AS_OBJECT = exports.EVENT_TYPES_ENUM = exports.ANIMAL_GENDER_AS_OBJECT = exports.ANIMAL_GENDER_ENUM = exports.TOKEN_TYPES_AS_OBJECT = exports.TOKEN_TYPE_ENUM = exports.ORG_TYPE_AS_OBJECT = exports.ORG_TYPE_ENUM = exports.USER_STATUSES_AS_OBJECT = exports.USER_STATUSES_ENUM = exports.SYSTEM_USER_ROLES_AS_OBJECT = exports.SYSTEM_USER_ROLES_ENUM = exports.BCRYPT_SALT = void 0;
4
- exports.SUPPORTED_LANG_ENUM_AS_OBJECT = exports.SUPPORTED_LANG_ENUM = exports.CLIST_STATUS_ENUM_AS_OBJECT = exports.CLIST_STATUS_ENUM = exports.CLIST_DATASOURCE_ENUM_AS_OBJECT = exports.CLIST_DATASOURCE_ENUM = exports.CLIST_CONDITION_ENUM_AS_OBJECT = exports.CLIST_CONDITION_ENUM = exports.CLIST_TYPE_ENUM_AS_OBJECT = void 0;
4
+ exports.SUPPORTED_LANG_ENUM_AS_OBJECT = exports.SUPPORTED_LANG_ENUM = exports.CLIST_AFUNCTIONS_ENUM_AS_OBJECT = exports.CLIST_AFUNCTIONS_ENUM = exports.CLIST_STATUS_ENUM_AS_OBJECT = exports.CLIST_STATUS_ENUM = exports.CLIST_DATASOURCE_ENUM_AS_OBJECT = exports.CLIST_DATASOURCE_ENUM = exports.CLIST_CONDITION_ENUM_AS_OBJECT = exports.CLIST_CONDITION_ENUM = exports.CLIST_TYPE_ENUM_AS_OBJECT = void 0;
5
5
  const helpers_1 = require("./helpers");
6
6
  exports.BCRYPT_SALT = 12;
7
7
  var SYSTEM_USER_ROLES_ENUM;
@@ -298,6 +298,11 @@ var CLIST_DATASOURCE_ENUM;
298
298
  (function (CLIST_DATASOURCE_ENUM) {
299
299
  CLIST_DATASOURCE_ENUM["animals"] = "animals";
300
300
  CLIST_DATASOURCE_ENUM["events"] = "events";
301
+ CLIST_DATASOURCE_ENUM["seedBank"] = "seedBank";
302
+ CLIST_DATASOURCE_ENUM["employee"] = "employee";
303
+ CLIST_DATASOURCE_ENUM["org"] = "org";
304
+ CLIST_DATASOURCE_ENUM["protocol"] = "protocol";
305
+ CLIST_DATASOURCE_ENUM["treatment"] = "treatment";
301
306
  })(CLIST_DATASOURCE_ENUM = exports.CLIST_DATASOURCE_ENUM || (exports.CLIST_DATASOURCE_ENUM = {}));
302
307
  exports.CLIST_DATASOURCE_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_DATASOURCE_ENUM);
303
308
  var CLIST_STATUS_ENUM;
@@ -306,6 +311,15 @@ var CLIST_STATUS_ENUM;
306
311
  CLIST_STATUS_ENUM["published"] = "published";
307
312
  })(CLIST_STATUS_ENUM = exports.CLIST_STATUS_ENUM || (exports.CLIST_STATUS_ENUM = {}));
308
313
  exports.CLIST_STATUS_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_STATUS_ENUM);
314
+ var CLIST_AFUNCTIONS_ENUM;
315
+ (function (CLIST_AFUNCTIONS_ENUM) {
316
+ CLIST_AFUNCTIONS_ENUM["count"] = "count";
317
+ CLIST_AFUNCTIONS_ENUM["min"] = "min";
318
+ CLIST_AFUNCTIONS_ENUM["max"] = "max";
319
+ CLIST_AFUNCTIONS_ENUM["avg"] = "avg";
320
+ CLIST_AFUNCTIONS_ENUM["sum"] = "sum";
321
+ })(CLIST_AFUNCTIONS_ENUM = exports.CLIST_AFUNCTIONS_ENUM || (exports.CLIST_AFUNCTIONS_ENUM = {}));
322
+ exports.CLIST_AFUNCTIONS_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_AFUNCTIONS_ENUM);
309
323
  var SUPPORTED_LANG_ENUM;
310
324
  (function (SUPPORTED_LANG_ENUM) {
311
325
  SUPPORTED_LANG_ENUM["ru"] = "ru";
package/dist/index.d.ts CHANGED
@@ -116,6 +116,10 @@ export declare const enums: {
116
116
  CLIST_STATUS_ENUM_AS_OBJECT: {
117
117
  [key: string]: string;
118
118
  };
119
+ CLIST_AFUNCTIONS_ENUM: typeof dataEnums.CLIST_AFUNCTIONS_ENUM;
120
+ CLIST_AFUNCTIONS_ENUM_AS_OBJECT: {
121
+ [key: string]: string;
122
+ };
119
123
  SUPPORTED_LANG_ENUM: typeof dataEnums.SUPPORTED_LANG_ENUM;
120
124
  SUPPORTED_LANG_ENUM_AS_OBJECT: {
121
125
  [key: string]: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molochko-dev/data",
3
- "version": "1.4.55",
3
+ "version": "1.4.57",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "typings/index.d.ts",
package/src/enums.ts CHANGED
@@ -319,6 +319,11 @@ export const CLIST_CONDITION_ENUM_AS_OBJECT = enumToObject(CLIST_CONDITION_ENUM)
319
319
  export enum CLIST_DATASOURCE_ENUM {
320
320
  animals = 'animals',
321
321
  events = 'events',
322
+ seedBank = 'seedBank',
323
+ employee = 'employee',
324
+ org = 'org',
325
+ protocol = 'protocol',
326
+ treatment = 'treatment',
322
327
  }
323
328
 
324
329
  export const CLIST_DATASOURCE_ENUM_AS_OBJECT = enumToObject(CLIST_DATASOURCE_ENUM);
@@ -330,6 +335,16 @@ export enum CLIST_STATUS_ENUM {
330
335
 
331
336
  export const CLIST_STATUS_ENUM_AS_OBJECT = enumToObject(CLIST_STATUS_ENUM);
332
337
 
338
+ export enum CLIST_AFUNCTIONS_ENUM {
339
+ count = 'count',
340
+ min = 'min',
341
+ max = 'max',
342
+ avg = 'avg',
343
+ sum = 'sum',
344
+ }
345
+
346
+ export const CLIST_AFUNCTIONS_ENUM_AS_OBJECT = enumToObject(CLIST_AFUNCTIONS_ENUM);
347
+
333
348
  export enum SUPPORTED_LANG_ENUM {
334
349
  ru = 'ru',
335
350
  en = 'en',