eservices-back-core 2.1.50 → 2.1.51
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
CHANGED
|
@@ -10,6 +10,7 @@ import ValueHooks from "./utils/value-hooks";
|
|
|
10
10
|
import SocketMessage from "./socket/SocketMessage";
|
|
11
11
|
import { ISocketOptions, ISocketUtils } from "./types/socket-type";
|
|
12
12
|
import { IValueHook } from "./types/value-hooks";
|
|
13
|
+
import { IBatchResult, IResultRunPromisesOneAfterAnother } from "./types/batch-type";
|
|
13
14
|
import ApiError from "./errors/api-error";
|
|
14
15
|
import DataService from "./services/data-service";
|
|
15
16
|
import dtoTemplateRenderError from "./dtos/dto-template-render-error";
|
|
@@ -23,7 +24,9 @@ import valuesToUpperCase from "./utils/values-to-upper-case";
|
|
|
23
24
|
import getCriterionConfig from "./utils/get-criterion-config";
|
|
24
25
|
import { getCriterionPresetFromCustomerRequestInfo } from "./utils/get-criterion-preset";
|
|
25
26
|
import convertMasterEntity from "./utils/convert-master-entity";
|
|
26
|
-
|
|
27
|
+
import { runPromisesOneAfterAnother } from "./utils/run-promises-one-after-another";
|
|
28
|
+
import getTriggerProgress from "./utils/get-trigger-progress";
|
|
29
|
+
export { IBatchResult, IResultRunPromisesOneAfterAnother, ISocketUtils, SocketMessage, createServer, Server, Logger, Criterion, authModule, ValueHooks, ISocketOptions, IValueHook, DataService, Filter, nodeFetch, joinURL, arrayToUpperCase, valuesToUpperCase, getCriterionConfig, getCriterionPresetFromCustomerRequestInfo, convertMasterEntity, CoreError, ApiError, MetadataStore, TemplateStore, dtoTemplateRenderError, runPromisesOneAfterAnother, getTriggerProgress, renderResponseTemplate, utils };
|
|
27
30
|
import { ICustomerRequestInfo } from "./types/main";
|
|
28
31
|
export type { ICustomerRequestInfo };
|
|
29
32
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AACxD,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAC,MAAM,EAAC,MAAM,qBAAqB,CAAC;AAC3C,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,aAAa,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAC9C,OAAO,QAAQ,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AACxD,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAC,MAAM,EAAC,MAAM,qBAAqB,CAAC;AAC3C,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,aAAa,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,qB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package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.utils = exports.renderResponseTemplate = exports.dtoTemplateRenderError = exports.TemplateStore = exports.MetadataStore = exports.ApiError = exports.CoreError = exports.convertMasterEntity = exports.getCriterionPresetFromCustomerRequestInfo = exports.getCriterionConfig = exports.valuesToUpperCase = exports.arrayToUpperCase = exports.joinURL = exports.nodeFetch = exports.Filter = exports.DataService = exports.ValueHooks = exports.authModule = exports.Criterion = exports.Logger = exports.Server = exports.createServer = exports.SocketMessage = void 0;
|
|
6
|
+
exports.utils = exports.renderResponseTemplate = exports.getTriggerProgress = exports.runPromisesOneAfterAnother = exports.dtoTemplateRenderError = exports.TemplateStore = exports.MetadataStore = exports.ApiError = exports.CoreError = exports.convertMasterEntity = exports.getCriterionPresetFromCustomerRequestInfo = exports.getCriterionConfig = exports.valuesToUpperCase = exports.arrayToUpperCase = exports.joinURL = exports.nodeFetch = exports.Filter = exports.DataService = exports.ValueHooks = exports.authModule = exports.Criterion = exports.Logger = exports.Server = exports.createServer = exports.SocketMessage = void 0;
|
|
7
7
|
const Server_1 = require("./Server");
|
|
8
8
|
Object.defineProperty(exports, "createServer", { enumerable: true, get: function () { return Server_1.createServer; } });
|
|
9
9
|
const Server_2 = __importDefault(require("./Server"));
|
|
@@ -52,4 +52,8 @@ const get_criterion_preset_1 = require("./utils/get-criterion-preset");
|
|
|
52
52
|
Object.defineProperty(exports, "getCriterionPresetFromCustomerRequestInfo", { enumerable: true, get: function () { return get_criterion_preset_1.getCriterionPresetFromCustomerRequestInfo; } });
|
|
53
53
|
const convert_master_entity_1 = __importDefault(require("./utils/convert-master-entity"));
|
|
54
54
|
exports.convertMasterEntity = convert_master_entity_1.default;
|
|
55
|
+
const run_promises_one_after_another_1 = require("./utils/run-promises-one-after-another");
|
|
56
|
+
Object.defineProperty(exports, "runPromisesOneAfterAnother", { enumerable: true, get: function () { return run_promises_one_after_another_1.runPromisesOneAfterAnother; } });
|
|
57
|
+
const get_trigger_progress_1 = __importDefault(require("./utils/get-trigger-progress"));
|
|
58
|
+
exports.getTriggerProgress = get_trigger_progress_1.default;
|
|
55
59
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAsC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAsC;AAyCrC,6FAzCO,qBAAY,OAyCP;AAxCb,sDAA8B;AAyC7B,iBAzCM,gBAAM,CAyCN;AAxCP,kEAAwD;AA2CvD,2FA3CO,4BAAU,OA2CP;AA1CX,kEAA0C;AAyCzC,oBAzCM,mBAAS,CAyCN;AAxCV,oDAA2C;AAuC1C,uFAvCO,mBAAM,OAuCP;AAtCP,qEAA4C;AAwD3C,oBAxDM,oBAAS,CAwDN;AAvDV,4EAAmD;AAyDlD,wBAzDM,wBAAa,CAyDN;AAxDd,4EAAmD;AAyDlD,wBAzDM,wBAAa,CAyDN;AAxDd,sEAA6C;AAsC5C,qBAtCM,qBAAU,CAsCN;AArCX,2EAAmD;AA+BlD,wBA/BM,uBAAa,CA+BN;AAzBd,mEAA0C;AA+CzC,mBA/CM,mBAAQ,CA+CN;AA7CT,WAAW;AACX,2EAAkD;AAiCjD,sBAjCM,sBAAW,CAiCN;AA/BZ,iGAAsE;AA8CrE,iCA9CM,mCAAsB,CA8CN;AA5CvB,+EAAwE;AAgDvE,uGAhDO,iDAAsB,OAgDP;AA/CvB,mCAA8B;AAgD7B,sFAhDO,aAAK,OAgDP;AA9CN,QAAQ;AACR,4DAAoC;AA2BnC,iBA3BM,gBAAM,CA2BN;AA1BP,kEAA0C;AA2BzC,oBA3BM,mBAAS,CA2BN;AA1BV,mCAAgC;AA2B/B,wFA3BO,eAAO,OA2BP;AA1BR,oFAA0D;AA2BzD,2BA3BM,4BAAgB,CA2BN;AA1BjB,wFAA6D;AA2B5D,4BA3BM,8BAAiB,CA2BN;AA1BlB,wFAA8D;AA2B7D,6BA3BM,8BAAkB,CA2BN;AA1BnB,uEAAuF;AA2BtF,0HA3BO,gEAAyC,OA2BP;AA1B1C,0FAAgE;AA2B/D,8BA3BM,+BAAmB,CA2BN;AA1BpB,2FAAkF;AAkCjF,2GAlCO,2DAA0B,OAkCP;AAjC3B,wFAA8D;AAkC7D,6BAlCM,8BAAkB,CAkCN"}
|
|
@@ -2,5 +2,5 @@ import { ICustomerRequestInfo, ISocketUtils } from "../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @description Пакетное обновление. Не безопасная операция
|
|
4
4
|
*/
|
|
5
|
-
export declare function updateBatchSocket(options: ICustomerRequestInfo, data: unknown, requestUtils?: ISocketUtils): Promise<import("../../
|
|
5
|
+
export declare function updateBatchSocket(options: ICustomerRequestInfo, data: unknown, requestUtils?: ISocketUtils): Promise<import("../../index").IResultRunPromisesOneAfterAnother[]>;
|
|
6
6
|
//# sourceMappingURL=batch_update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch_update.d.ts","sourceRoot":"","sources":["../../../src/socket/events/batch_update.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,oBAAoB,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAO/D;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"batch_update.d.ts","sourceRoot":"","sources":["../../../src/socket/events/batch_update.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,oBAAoB,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAO/D;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,YAAY,sEAiBhH"}
|