@golemio/fcd 1.3.1-dev.2635548452 → 1.3.1-dev.2647595903
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 +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/input-gateway/AbstractFcdController.js +1 -1
- package/dist/input-gateway/AbstractFcdController.js.map +1 -1
- package/dist/input-gateway/FcdPragueController.js +1 -1
- package/dist/input-gateway/FcdPragueController.js.map +1 -1
- package/dist/input-gateway/FcdRegionsController.js +1 -1
- package/dist/input-gateway/FcdRegionsController.js.map +1 -1
- package/dist/input-gateway/FloatingCarDataRouter.js +1 -1
- package/dist/input-gateway/FloatingCarDataRouter.js.map +1 -1
- package/dist/integration-engine/ioc/Di.js +9 -9
- package/dist/integration-engine/ioc/Di.js.map +1 -1
- package/dist/integration-engine/repositories/fcd/FloatingCarDataRegionsRepository.js +1 -1
- package/dist/integration-engine/repositories/fcd/FloatingCarDataRegionsRepository.js.map +1 -1
- package/dist/integration-engine/repositories/fcd/FloatingCarDataRepository.js +1 -1
- package/dist/integration-engine/repositories/fcd/FloatingCarDataRepository.js.map +1 -1
- package/dist/integration-engine/schemas/floatingCarData.d.ts +1 -1
- package/dist/integration-engine/transformations/FloatingCarDataTransformation.d.ts +2 -2
- package/dist/integration-engine/transformations/FloatingCarDataTransformation.js +1 -1
- package/dist/integration-engine/transformations/FloatingCarDataTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/interfaces/FloatingCarDataInterface.d.ts +1 -1
- package/dist/integration-engine/workers/FCDWorker.js +2 -2
- package/dist/integration-engine/workers/FCDWorker.js.map +1 -1
- package/dist/integration-engine/workers/tasks/RegionsDataRetentionTask.js +1 -1
- package/dist/integration-engine/workers/tasks/RegionsDataRetentionTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/SaveFloatingCarDataTask.d.ts +2 -2
- package/dist/integration-engine/workers/tasks/SaveFloatingCarDataTask.js +5 -5
- package/dist/integration-engine/workers/tasks/SaveFloatingCarDataTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/SaveRegionsDataTask.d.ts +3 -3
- package/dist/integration-engine/workers/tasks/SaveRegionsDataTask.js +7 -40
- package/dist/integration-engine/workers/tasks/SaveRegionsDataTask.js.map +1 -1
- package/dist/output-gateway/FCDRouter.d.ts +1 -1
- package/dist/output-gateway/FCDRouter.js +2 -2
- package/dist/output-gateway/FCDRouter.js.map +1 -1
- package/dist/output-gateway/models/FloatingCarDataModel.d.ts +1 -1
- package/dist/output-gateway/models/FloatingCarDataModel.js +3 -3
- package/dist/output-gateway/models/FloatingCarDataModel.js.map +1 -1
- package/dist/output-gateway/models/FloatingCarExtendedDataModel.d.ts +1 -1
- package/dist/output-gateway/models/FloatingCarExtendedDataModel.js +3 -3
- package/dist/output-gateway/models/FloatingCarExtendedDataModel.js.map +1 -1
- package/dist/output-gateway/models/FloatingCarWithOsmPathDataModel.d.ts +1 -1
- package/dist/output-gateway/models/FloatingCarWithOsmPathDataModel.js +3 -3
- package/dist/output-gateway/models/FloatingCarWithOsmPathDataModel.js.map +1 -1
- package/dist/output-gateway/models/FloatingCarWithOsmPathExtendedDataModel.d.ts +1 -1
- package/dist/output-gateway/models/FloatingCarWithOsmPathExtendedDataModel.js +3 -3
- package/dist/output-gateway/models/FloatingCarWithOsmPathExtendedDataModel.js.map +1 -1
- package/dist/output-gateway/transformations/OutputFloatingCarDataTransformation.d.ts +1 -1
- package/dist/output-gateway/transformations/OutputFloatingCarDataTransformation.js +1 -1
- package/dist/output-gateway/transformations/OutputFloatingCarDataTransformation.js.map +1 -1
- package/dist/output-gateway/transformations/interfaces/outputApiFloatingCarData.d.ts +1 -1
- package/dist/schema-definitions/index.js +2 -2
- package/dist/schema-definitions/index.js.map +1 -1
- package/package.json +76 -111
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as InputGateway from "
|
|
2
|
-
export * as SchemaDefinitions from "
|
|
3
|
-
export * as IntegrationEngine from "
|
|
1
|
+
export * as InputGateway from "./input-gateway/index";
|
|
2
|
+
export * as SchemaDefinitions from "./schema-definitions/index";
|
|
3
|
+
export * as IntegrationEngine from "./integration-engine/index";
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.IntegrationEngine = exports.SchemaDefinitions = exports.InputGateway = void 0;
|
|
37
37
|
// Library exports
|
|
38
|
-
exports.InputGateway = __importStar(require("
|
|
39
|
-
exports.SchemaDefinitions = __importStar(require("
|
|
40
|
-
exports.IntegrationEngine = __importStar(require("
|
|
38
|
+
exports.InputGateway = __importStar(require("./input-gateway/index"));
|
|
39
|
+
exports.SchemaDefinitions = __importStar(require("./schema-definitions/index"));
|
|
40
|
+
exports.IntegrationEngine = __importStar(require("./integration-engine/index"));
|
|
41
41
|
//# 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,kBAAkB;AAClB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,sEAA0C;AAC1C,gFAAgD;AAChD,gFAA+C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AbstractFcdController = void 0;
|
|
4
|
-
const _sch_1 = require("
|
|
4
|
+
const _sch_1 = require("../schema-definitions");
|
|
5
5
|
const BaseController_1 = require("@golemio/core/dist/input-gateway/controllers/BaseController");
|
|
6
6
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
7
7
|
class AbstractFcdController extends BaseController_1.BaseController {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractFcdController.js","sourceRoot":"","sources":["../../src/input-gateway/AbstractFcdController.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"AbstractFcdController.js","sourceRoot":"","sources":["../../src/input-gateway/AbstractFcdController.ts"],"names":[],"mappings":";;;AAAA,gDAA2B;AAC3B,gGAA6F;AAC7F,6EAA8F;AAG9F,MAAsB,qBAAsB,SAAQ,+BAAc;IAG9D,YAAY,SAAqB;QAC7B,KAAK,CAAC,UAAG,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAGxB,gBAAW,GAAG,KAAK,EAAE,IAAS,EAAiB,EAAE;YACpD,IAAI,CAAC;gBACD,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;gBAEpC,MAAM,IAAI,CAAC,qBAAqB,CAC5B,QAAQ,GAAG,IAAI,CAAC,WAAW,GAAG,GAAG,GAAG,IAAI,CAAC,YAAY,EACrD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC;oBACI,UAAU,EAAE,IAAI;iBACnB,CACJ,CAAC;YACN,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,GAAG,YAAY,qCAAoB,EAAE,CAAC;oBACtC,MAAM,GAAG,CAAC;gBACd,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAI,6BAAY,CAAC,oCAAoC,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;gBACtF,CAAC;YACL,CAAC;QACL,CAAC,CAAC;IApBF,CAAC;CAqBJ;AA1BD,sDA0BC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FcdPragueController = void 0;
|
|
4
|
-
const _sch_1 = require("
|
|
4
|
+
const _sch_1 = require("../schema-definitions");
|
|
5
5
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
6
6
|
const AbstractFcdController_1 = require("./AbstractFcdController");
|
|
7
7
|
class FcdPragueController extends AbstractFcdController_1.AbstractFcdController {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FcdPragueController.js","sourceRoot":"","sources":["../../src/input-gateway/FcdPragueController.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"FcdPragueController.js","sourceRoot":"","sources":["../../src/input-gateway/FcdPragueController.ts"],"names":[],"mappings":";;;AAAA,gDAA2B;AAC3B,mFAAkF;AAClF,mEAAgE;AAEhE,MAAa,mBAAoB,SAAQ,6CAAqB;IAG1D;QACI,KAAK,CAAC,IAAI,uCAAmB,CAAC,0BAA0B,EAAE,UAAG,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC;QAHpF,iBAAY,GAAG,qBAAqB,CAAC;IAI/C,CAAC;CACJ;AAND,kDAMC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FcdRegionsController = void 0;
|
|
4
|
-
const _sch_1 = require("
|
|
4
|
+
const _sch_1 = require("../schema-definitions");
|
|
5
5
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
6
6
|
const AbstractFcdController_1 = require("./AbstractFcdController");
|
|
7
7
|
class FcdRegionsController extends AbstractFcdController_1.AbstractFcdController {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FcdRegionsController.js","sourceRoot":"","sources":["../../src/input-gateway/FcdRegionsController.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"FcdRegionsController.js","sourceRoot":"","sources":["../../src/input-gateway/FcdRegionsController.ts"],"names":[],"mappings":";;;AAAA,gDAA2B;AAC3B,mFAAkF;AAClF,mEAAgE;AAEhE,MAAa,oBAAqB,SAAQ,6CAAqB;IAG3D;QACI,KAAK,CAAC,IAAI,uCAAmB,CAAC,2BAA2B,EAAE,UAAG,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC;QAHrF,iBAAY,GAAG,iBAAiB,CAAC;IAI3C,CAAC;CACJ;AAND,oDAMC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.floatingCarDataRouter = exports.FloatingCarDataRouter = void 0;
|
|
4
|
-
const FcdPragueController_1 = require("
|
|
4
|
+
const FcdPragueController_1 = require("./FcdPragueController");
|
|
5
5
|
const CheckContentTypeMiddleware_1 = require("@golemio/core/dist/input-gateway/helpers/CheckContentTypeMiddleware");
|
|
6
6
|
const express_1 = require("@golemio/core/dist/shared/express");
|
|
7
7
|
const FcdRegionsController_1 = require("./FcdRegionsController");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarDataRouter.js","sourceRoot":"","sources":["../../src/input-gateway/FloatingCarDataRouter.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"FloatingCarDataRouter.js","sourceRoot":"","sources":["../../src/input-gateway/FloatingCarDataRouter.ts"],"names":[],"mappings":";;;AAAA,+DAA8D;AAC9D,oHAAiH;AACjH,+DAA4F;AAE5F,iEAA8D;AAE9D,MAAa,qBAAqB;IAM9B;QALO,WAAM,GAAW,IAAA,gBAAM,GAAE,CAAC;QAEzB,wBAAmB,GAAG,IAAI,yCAAmB,EAAE,CAAC;QAChD,yBAAoB,GAAG,IAAI,2CAAoB,EAAE,CAAC;QAMlD,eAAU,GAAG,GAAS,EAAE;YAC5B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,IAAA,uDAA0B,EAAC,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;YAC3G,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,EAAE,IAAA,uDAA0B,EAAC,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QACxH,CAAC,CAAC;QAEM,cAAS,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YACzF,MAAM,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,mBAAmB,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC,CAAC;QAEM,eAAU,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YAC1F,MAAM,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,oBAAoB,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;QAC1E,CAAC,CAAC;QAEM,oBAAe,GAAG,KAAK,EAC3B,UAAiC,EACjC,GAAY,EACZ,GAAa,EACb,IAAkB,EACL,EAAE;YACf,IAAI,CAAC;gBACD,MAAM,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAEvC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YACxB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,CAAC,GAAG,CAAC,CAAC;YACd,CAAC;QACL,CAAC,CAAC;QA7BE,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CA6BJ;AArCD,sDAqCC;AAED,MAAM,qBAAqB,GAAG,IAAI,qBAAqB,EAAE,CAAC,MAAM,CAAC;AAExD,sDAAqB"}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FCDContainer = void 0;
|
|
4
4
|
const Di_1 = require("@golemio/core/dist/integration-engine/ioc/Di");
|
|
5
|
-
const
|
|
6
|
-
const LteCze90PointsChecker_1 = require("
|
|
5
|
+
const transformations_1 = require("../transformations");
|
|
6
|
+
const LteCze90PointsChecker_1 = require("../helpers/LteCze90PointsChecker");
|
|
7
7
|
const ModuleContainer_1 = require("./ModuleContainer");
|
|
8
|
-
const FloatingCarDataRegionsRepository_1 = require("
|
|
9
|
-
const FloatingCarDataRepository_1 = require("
|
|
10
|
-
const
|
|
8
|
+
const FloatingCarDataRegionsRepository_1 = require("../repositories/fcd/FloatingCarDataRegionsRepository");
|
|
9
|
+
const FloatingCarDataRepository_1 = require("../repositories/fcd/FloatingCarDataRepository");
|
|
10
|
+
const tasks_1 = require("../workers/tasks");
|
|
11
11
|
//#region Initialization
|
|
12
12
|
const FCDContainer = Di_1.IntegrationEngineContainer.createChildContainer();
|
|
13
13
|
exports.FCDContainer = FCDContainer;
|
|
@@ -17,12 +17,12 @@ FCDContainer.register(ModuleContainer_1.ModuleContainerToken.FloatingCarDataRegi
|
|
|
17
17
|
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.FloatingCarDataRepository, FloatingCarDataRepository_1.FloatingCarDataRepository);
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region Transformations
|
|
20
|
-
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.FloatingCarDataTransformation,
|
|
20
|
+
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.FloatingCarDataTransformation, transformations_1.FloatingCarDataTransformation);
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region Tasks
|
|
23
|
-
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.RegionsDataRetentionTask,
|
|
24
|
-
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.SaveFloatingCarDataTask,
|
|
25
|
-
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.SaveRegionsDataTask,
|
|
23
|
+
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.RegionsDataRetentionTask, tasks_1.RegionsDataRetentionTask);
|
|
24
|
+
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.SaveFloatingCarDataTask, tasks_1.SaveFloatingCarDataTask);
|
|
25
|
+
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.SaveRegionsDataTask, tasks_1.SaveRegionsDataTask);
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region Helpers
|
|
28
28
|
FCDContainer.register(ModuleContainer_1.ModuleContainerToken.lteCze90PointsChecker, LteCze90PointsChecker_1.LteCze90PointsChecker);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Di.js","sourceRoot":"","sources":["../../../src/integration-engine/ioc/Di.ts"],"names":[],"mappings":";;;AAAA,qEAA0F;AAE1F,
|
|
1
|
+
{"version":3,"file":"Di.js","sourceRoot":"","sources":["../../../src/integration-engine/ioc/Di.ts"],"names":[],"mappings":";;;AAAA,qEAA0F;AAE1F,wDAAoE;AACpE,4EAA0E;AAC1E,uDAAyD;AACzD,2GAAyG;AACzG,6FAA2F;AAC3F,4CAA2G;AAE3G,wBAAwB;AACxB,MAAM,YAAY,GAAwB,+BAA0B,CAAC,oBAAoB,EAAE,CAAC;AAsBnF,oCAAY;AArBrB,YAAY;AAEZ,sBAAsB;AACtB,YAAY,CAAC,QAAQ,CAAC,sCAAoB,CAAC,gCAAgC,EAAE,mEAAgC,CAAC,CAAC;AAC/G,YAAY,CAAC,QAAQ,CAAC,sCAAoB,CAAC,yBAAyB,EAAE,qDAAyB,CAAC,CAAC;AACjG,YAAY;AAEZ,yBAAyB;AACzB,YAAY,CAAC,QAAQ,CAAC,sCAAoB,CAAC,6BAA6B,EAAE,+CAA6B,CAAC,CAAC;AACzG,YAAY;AAEZ,eAAe;AACf,YAAY,CAAC,QAAQ,CAAC,sCAAoB,CAAC,wBAAwB,EAAE,gCAAwB,CAAC,CAAC;AAC/F,YAAY,CAAC,QAAQ,CAAC,sCAAoB,CAAC,uBAAuB,EAAE,+BAAuB,CAAC,CAAC;AAC7F,YAAY,CAAC,QAAQ,CAAC,sCAAoB,CAAC,mBAAmB,EAAE,2BAAmB,CAAC,CAAC;AACrF,YAAY;AAEZ,iBAAiB;AACjB,YAAY,CAAC,QAAQ,CAAC,sCAAoB,CAAC,qBAAqB,EAAE,6CAAqB,CAAC,CAAC"}
|
|
@@ -13,7 +13,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.FloatingCarDataRegionsRepository = void 0;
|
|
16
|
-
const _sch_1 = require("
|
|
16
|
+
const _sch_1 = require("../../../schema-definitions");
|
|
17
17
|
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
18
18
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
19
19
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarDataRegionsRepository.js","sourceRoot":"","sources":["../../../../src/integration-engine/repositories/fcd/FloatingCarDataRegionsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"FloatingCarDataRegionsRepository.js","sourceRoot":"","sources":["../../../../src/integration-engine/repositories/fcd/FloatingCarDataRegionsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAA2B;AAE3B,wEAAqE;AACrE,8EAA8E;AAC9E,mFAAkF;AAClF,iEAAwE;AAGjE,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,kCAAa;IAC/D,YAAyD,iBAAqC;QAC1F,KAAK,CACD,UAAG,CAAC,QAAQ,CAAC,IAAI,GAAG,OAAO,EAC3B;YACI,yBAAyB,EAAE,UAAG,CAAC,QAAQ,CAAC,yBAAyB;YACjE,QAAQ,EAAE,UAAG,CAAC,QAAQ;YACtB,WAAW,EAAE,0BAA0B;YACvC,UAAU,EAAE,YAAY;SAC3B,EACD,IAAI,uCAAmB,CAAC,UAAG,CAAC,QAAQ,CAAC,IAAI,GAAG,kBAAkB,EAAE,UAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,CAC7F,CAAC;QAVmD,sBAAiB,GAAjB,iBAAiB,CAAoB;IAW9F,CAAC;CACJ,CAAA;AAbY,4EAAgC;2CAAhC,gCAAgC;IAD5C,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,iBAAiB,CAAC,CAAA;;GADvC,gCAAgC,CAa5C"}
|
|
@@ -13,7 +13,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.FloatingCarDataRepository = void 0;
|
|
16
|
-
const _sch_1 = require("
|
|
16
|
+
const _sch_1 = require("../../../schema-definitions");
|
|
17
17
|
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
18
18
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
19
19
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarDataRepository.js","sourceRoot":"","sources":["../../../../src/integration-engine/repositories/fcd/FloatingCarDataRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"FloatingCarDataRepository.js","sourceRoot":"","sources":["../../../../src/integration-engine/repositories/fcd/FloatingCarDataRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAA2B;AAE3B,wEAAqE;AACrE,8EAA8E;AAC9E,mFAAkF;AAClF,iEAAwE;AAGjE,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,kCAAa;IACxD,YAAyD,iBAAqC;QAC1F,KAAK,CACD,UAAG,CAAC,QAAQ,CAAC,IAAI,GAAG,OAAO,EAC3B;YACI,yBAAyB,EAAE,UAAG,CAAC,QAAQ,CAAC,yBAAyB;YACjE,QAAQ,EAAE,UAAG,CAAC,QAAQ;YACtB,WAAW,EAAE,UAAG,CAAC,QAAQ,CAAC,WAAW;YACrC,UAAU,EAAE,YAAY;SAC3B,EACD,IAAI,uCAAmB,CAAC,UAAG,CAAC,QAAQ,CAAC,IAAI,GAAG,kBAAkB,EAAE,UAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,CAC7F,CAAC;QAVmD,sBAAiB,GAAjB,iBAAiB,CAAoB;IAW9F,CAAC;CACJ,CAAA;AAbY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,iBAAiB,CAAC,CAAA;;GADvC,yBAAyB,CAarC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseTransformation, ITransformation } from "@golemio/core/dist/integration-engine";
|
|
2
|
-
import { IFloatingCarData, IElaboratedData, IFloatingCarDataModelElaboratedPart } from "
|
|
3
|
-
import { IFloatingCarDataModel } from "
|
|
2
|
+
import { IFloatingCarData, IElaboratedData, IFloatingCarDataModelElaboratedPart } from "..";
|
|
3
|
+
import { IFloatingCarDataModel } from "../../schema-definitions/interfaces/FloatingCarDataInterface";
|
|
4
4
|
export declare class FloatingCarDataTransformation extends BaseTransformation implements ITransformation {
|
|
5
5
|
name: string;
|
|
6
6
|
constructor();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FloatingCarDataTransformation = void 0;
|
|
4
4
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
5
|
-
const _sch_1 = require("
|
|
5
|
+
const _sch_1 = require("../../schema-definitions");
|
|
6
6
|
class FloatingCarDataTransformation extends integration_engine_1.BaseTransformation {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarDataTransformation.js","sourceRoot":"","sources":["../../../src/integration-engine/transformations/FloatingCarDataTransformation.ts"],"names":[],"mappings":";;;AAAA,8EAA4F;AAC5F
|
|
1
|
+
{"version":3,"file":"FloatingCarDataTransformation.js","sourceRoot":"","sources":["../../../src/integration-engine/transformations/FloatingCarDataTransformation.ts"],"names":[],"mappings":";;;AAAA,8EAA4F;AAC5F,mDAA2B;AAI3B,MAAa,6BAA8B,SAAQ,uCAAkB;IAGjE;QACI,KAAK,EAAE,CAAC;QAIL,cAAS,GAAG,KAAK,EAAE,IAAsB,EAAoC,EAAE;YAClF,MAAM,0BAA0B,GAAwB,MAAM,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;YAE/F,MAAM,MAAM,GAA4B,EAAE,CAAC;YAE3C,KAAK,MAAM,mBAAmB,IAAI,0BAA0B,EAAE,CAAC;gBAC3D,MAAM,yBAAyB,GAAwC,MAAM,IAAI,CAAC,gBAAgB,CAC9F,mBAAmB,CACtB,CAAC;gBACF,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,IAAI,CAAC,kBAAkB,CAAC,eAAe,EAAE,EAAE,GAAG,yBAAyB,EAAE,CAAC,CAAC;YACpH,CAAC;YACD,OAAO,MAAM,CAAC;QAClB,CAAC,CAAC;QAEQ,qBAAgB,GAAG,KAAK,EAAE,mBAAsC,EAAgD,EAAE;YACxH,oEAAoE;YACpE,IAAI,qBAAqB,GAAG,EAAE,EAC1B,+BAA+B,GAAG,EAAE,EACpC,mBAAmB,GAAG,EAAE,EACxB,8BAA8B,GAAG,CAAC,EAClC,aAAa,GAAG,EAAE,EAClB,YAAY,GAAG,CAAC,EAChB,YAAY,GAAG,CAAC,EAChB,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,qBAAqB,GAAG,CAAC,EACzB,WAAW,GAAG,CAAC,EACf,qBAAqB,GAAG,CAAC,EACzB,eAAe,GAAG,CAAC,CAAC;YAExB,KAAK,MAAM,IAAI,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OAAO,qBAAqB,CAAC;QACjC,CAAC,CAAC;QAEM,sBAAiB,GAAG,CAAC,iBAAoC,EAAE,CAAM,EAAE,EAAE;YACzE,IAAI,MAAM,GAAQ,EAAE,CAAC;YACrB,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAkB,EAAE,EAAE;gBAC7C,IAAI,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACjC,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;gBACpC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC1B,CAAC,CAAC,CAAC;YACH,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;gBACrC,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;YACzB,CAAC,CAAC,CAAC;QACP,CAAC,CAAC;QAxGE,IAAI,CAAC,IAAI,GAAG,UAAG,CAAC,QAAQ,CAAC,IAAI,CAAC;IAClC,CAAC;CAwGJ;AA9GD,sEA8GC"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FCDWorker = void 0;
|
|
4
4
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
5
|
-
const Di_1 = require("
|
|
6
|
-
const ModuleContainer_1 = require("
|
|
5
|
+
const Di_1 = require("../ioc/Di");
|
|
6
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
7
7
|
class FCDWorker extends integration_engine_1.AbstractWorker {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FCDWorker.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/FCDWorker.ts"],"names":[],"mappings":";;;AAAA,8EAAqF;AAErF,
|
|
1
|
+
{"version":3,"file":"FCDWorker.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/FCDWorker.ts"],"names":[],"mappings":";;;AAAA,8EAAqF;AAErF,kCAA0C;AAE1C,4DAA+D;AAE/D,MAAa,SAAU,SAAQ,mCAAc;IAEzC;QACI,KAAK,EAAE,CAAC;QAFO,SAAI,GAAG,KAAK,CAAC;QAQzB,iBAAY,GAAG,CAAC,IAAqD,EAAQ,EAAE;YAClF,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QAC7C,CAAC,CAAC;QARE,IAAI,CAAC,YAAY,CAAC,iBAAY,CAAC,OAAO,CAA0B,sCAAoB,CAAC,uBAAuB,CAAC,CAAC,CAAC;QAC/G,IAAI,CAAC,YAAY,CAAC,iBAAY,CAAC,OAAO,CAAsB,sCAAoB,CAAC,mBAAmB,CAAC,CAAC,CAAC;QACvG,IAAI,CAAC,YAAY,CAAC,iBAAY,CAAC,OAAO,CAA2B,sCAAoB,CAAC,wBAAwB,CAAC,CAAC,CAAC;IACrH,CAAC;CAMJ;AAbD,8BAaC"}
|
|
@@ -13,7 +13,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.RegionsDataRetentionTask = void 0;
|
|
16
|
-
const _sch_1 = require("
|
|
16
|
+
const _sch_1 = require("../../../schema-definitions");
|
|
17
17
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
18
18
|
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
19
19
|
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegionsDataRetentionTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/RegionsDataRetentionTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"RegionsDataRetentionTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/RegionsDataRetentionTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAA2B;AAC3B,8EAA0E;AAC1E,mEAAiE;AACjE,wEAAqE;AAErE,iEAAwE;AACxE,6EAAwE;AAGjE,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,sCAAiB;IAK3D,YAAiD,iBAA6C;QAC1F,KAAK,CAAC,UAAG,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QADuB,sBAAiB,GAAjB,iBAAiB,CAAoB;QAJ9E,cAAS,GAAG,sBAAsB,CAAC;QACnC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAClC,8BAAyB,GAAG,IAAI,CAAC,CAAC,SAAS;IAInD,CAAC;IACS,KAAK,CAAC,OAAO;QACnB,IAAI,CAAC;YACD,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC;YACzD,MAAM,SAAS,CAAC,KAAK,CAAC,QAAQ,UAAG,CAAC,QAAQ,2BAA2B,IAAI,CAAC,yBAAyB,IAAI,EAAE;gBACrG,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,sBAAU,CAAC,MAAM;aAC1B,CAAC,CAAC;QACP,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,IAAI,6BAAY,CAAC,oDAAoD,EAAE,0BAA0B,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;QACzH,CAAC;IACL,CAAC;CACJ,CAAA;AAnBY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,qBAAU,GAAE;IAMI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,iBAAiB,CAAC,CAAA;;GALvC,wBAAwB,CAmBpC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FloatingCarDataTransformation, IFloatingCarData } from "
|
|
1
|
+
import { FloatingCarDataTransformation, IFloatingCarData } from "../..";
|
|
2
2
|
import { JSONSchemaValidator } from "@golemio/core/dist/shared/golemio-validator";
|
|
3
|
-
import { FloatingCarDataRepository } from "
|
|
3
|
+
import { FloatingCarDataRepository } from "../../repositories/fcd/FloatingCarDataRepository";
|
|
4
4
|
import { AbstractTaskJsonSchema } from "@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema";
|
|
5
5
|
export declare class SaveFloatingCarDataTask extends AbstractTaskJsonSchema<IFloatingCarData> {
|
|
6
6
|
private floatingCarDataTransformation;
|
|
@@ -13,15 +13,15 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.SaveFloatingCarDataTask = void 0;
|
|
16
|
-
const _ie_1 = require("
|
|
17
|
-
const _sch_1 = require("
|
|
16
|
+
const _ie_1 = require("../..");
|
|
17
|
+
const _sch_1 = require("../../../schema-definitions");
|
|
18
18
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
19
19
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
20
20
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
21
|
-
const ModuleContainer_1 = require("
|
|
22
|
-
const FloatingCarDataRepository_1 = require("
|
|
21
|
+
const ModuleContainer_1 = require("../../ioc/ModuleContainer");
|
|
22
|
+
const FloatingCarDataRepository_1 = require("../../repositories/fcd/FloatingCarDataRepository");
|
|
23
23
|
const AbstractTaskJsonSchema_1 = require("@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema");
|
|
24
|
-
const floatingCarData_1 = require("
|
|
24
|
+
const floatingCarData_1 = require("../../schemas/floatingCarData");
|
|
25
25
|
let SaveFloatingCarDataTask = class SaveFloatingCarDataTask extends AbstractTaskJsonSchema_1.AbstractTaskJsonSchema {
|
|
26
26
|
constructor(floatingCarDataTransformation, floatingCarDataRepository) {
|
|
27
27
|
super(_sch_1.FCD.name.toLowerCase());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveFloatingCarDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/SaveFloatingCarDataTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"SaveFloatingCarDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/SaveFloatingCarDataTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+BAAsE;AACtE,sDAA2B;AAC3B,6EAAwE;AACxE,mFAAkF;AAClF,iEAAwE;AACxE,+DAA+D;AAC/D,gGAA2F;AAC3F,iHAA8G;AAC9G,mEAAwE;AAGjE,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,+CAAwC;IAMjF,YAEI,6BAAoE,EAEpE,yBAA4D;QAE5D,KAAK,CAAC,UAAG,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QAJtB,kCAA6B,GAA7B,6BAA6B,CAA+B;QAE5D,8BAAyB,GAAzB,yBAAyB,CAA2B;QAThD,cAAS,GAAG,qBAAqB,CAAC;QAElC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAChC,WAAM,GAAG,IAAI,uCAAmB,CAAC,2BAA2B,EAAE,2CAAyB,CAAC,CAAC;IASnG,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,IAAsB;QAC1C,IAAI,CAAC;YACD,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,6BAA6B,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACjF,MAAM,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC/D,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,IAAI,6BAAY,CAAC,2CAA2C,EAAE,yBAAyB,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;QAC/G,CAAC;IACL,CAAC;CACJ,CAAA;AAvBY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,qBAAU,GAAE;IAQJ,WAAA,IAAA,iBAAM,EAAC,sCAAoB,CAAC,6BAA6B,CAAC,CAAA;IAE1D,WAAA,IAAA,iBAAM,EAAC,sCAAoB,CAAC,yBAAyB,CAAC,CAAA;qCADhB,mCAA6B;QAEjC,qDAAyB;GAVvD,uBAAuB,CAuBnC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LteCze90PointsChecker } from "
|
|
2
|
-
import { FloatingCarDataTransformation, IFloatingCarData } from "
|
|
3
|
-
import { FloatingCarDataRegionsRepository } from "
|
|
1
|
+
import { LteCze90PointsChecker } from "../../helpers/LteCze90PointsChecker";
|
|
2
|
+
import { FloatingCarDataTransformation, IFloatingCarData } from "../..";
|
|
3
|
+
import { FloatingCarDataRegionsRepository } from "../../repositories/fcd/FloatingCarDataRegionsRepository";
|
|
4
4
|
import { AbstractTaskJsonSchema } from "@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema";
|
|
5
5
|
import { JSONSchemaValidator } from "@golemio/core/dist/shared/golemio-validator";
|
|
6
6
|
export declare class SaveRegionsDataTask extends AbstractTaskJsonSchema<IFloatingCarData> {
|
|
@@ -1,43 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
7
|
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
-
var ownKeys = function(o) {
|
|
26
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
-
var ar = [];
|
|
28
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
-
return ar;
|
|
30
|
-
};
|
|
31
|
-
return ownKeys(o);
|
|
32
|
-
};
|
|
33
|
-
return function (mod) {
|
|
34
|
-
if (mod && mod.__esModule) return mod;
|
|
35
|
-
var result = {};
|
|
36
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
-
__setModuleDefault(result, mod);
|
|
38
|
-
return result;
|
|
39
|
-
};
|
|
40
|
-
})();
|
|
41
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
42
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
43
10
|
};
|
|
@@ -46,16 +13,16 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
46
13
|
};
|
|
47
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
15
|
exports.SaveRegionsDataTask = void 0;
|
|
49
|
-
const LteCze90PointsChecker_1 = require("
|
|
50
|
-
const _ie_1 = require("
|
|
51
|
-
const _sch_1 = require("
|
|
16
|
+
const LteCze90PointsChecker_1 = require("../../helpers/LteCze90PointsChecker");
|
|
17
|
+
const _ie_1 = require("../..");
|
|
18
|
+
const _sch_1 = require("../../../schema-definitions");
|
|
52
19
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
53
20
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
54
|
-
const FloatingCarDataRegionsRepository_1 = require("
|
|
55
|
-
const ModuleContainer_1 = require("
|
|
21
|
+
const FloatingCarDataRegionsRepository_1 = require("../../repositories/fcd/FloatingCarDataRegionsRepository");
|
|
22
|
+
const ModuleContainer_1 = require("../../ioc/ModuleContainer");
|
|
56
23
|
const AbstractTaskJsonSchema_1 = require("@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema");
|
|
57
24
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
58
|
-
const
|
|
25
|
+
const src_1 = require("../../..");
|
|
59
26
|
let SaveRegionsDataTask = class SaveRegionsDataTask extends AbstractTaskJsonSchema_1.AbstractTaskJsonSchema {
|
|
60
27
|
constructor(floatingCarDataTransformation, lteCze90PointsChecker, floatingCarDataRegionsModel) {
|
|
61
28
|
super(_sch_1.FCD.name.toLowerCase());
|
|
@@ -64,7 +31,7 @@ let SaveRegionsDataTask = class SaveRegionsDataTask extends AbstractTaskJsonSche
|
|
|
64
31
|
this.floatingCarDataRegionsModel = floatingCarDataRegionsModel;
|
|
65
32
|
this.queueName = "saveRegionsData";
|
|
66
33
|
this.queueTtl = 59 * 60 * 1000;
|
|
67
|
-
this.schema = new golemio_validator_1.JSONSchemaValidator("floatingCarDataValidation", SchemaDefinitions.FCD.datasourceSchema);
|
|
34
|
+
this.schema = new golemio_validator_1.JSONSchemaValidator("floatingCarDataValidation", src_1.SchemaDefinitions.FCD.datasourceSchema);
|
|
68
35
|
}
|
|
69
36
|
async execute(data) {
|
|
70
37
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveRegionsDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/SaveRegionsDataTask.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SaveRegionsDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/SaveRegionsDataTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+EAA0E;AAC1E,+BAAsE;AACtE,sDAA2B;AAC3B,6EAAwE;AACxE,iEAAwE;AACxE,8GAAyG;AACzG,+DAA+D;AAC/D,iHAA8G;AAC9G,mFAAkF;AAClF,kCAAwC;AAGjC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+CAAwC;IAK7E,YAEI,6BAAoE,EAEpE,qBAAoD,EAEpD,2BAAqE;QAErE,KAAK,CAAC,UAAG,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QANtB,kCAA6B,GAA7B,6BAA6B,CAA+B;QAE5D,0BAAqB,GAArB,qBAAqB,CAAuB;QAE5C,gCAA2B,GAA3B,2BAA2B,CAAkC;QAVzD,cAAS,GAAG,iBAAiB,CAAC;QAC9B,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAChC,WAAM,GAAG,IAAI,uCAAmB,CAAC,2BAA2B,EAAE,uBAAiB,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAWhH,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,IAAsB;QAC1C,IAAI,CAAC;YACD,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,6BAA6B,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACjF,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,EAAE,CAAC;YAC9C,MAAM,YAAY,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CACpD,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC,CACvE,CAAC;YAEF,MAAM,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC9D,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,IAAI,6BAAY,CAAC,uDAAuD,EAAE,qBAAqB,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;QACvH,CAAC;IACL,CAAC;CACJ,CAAA;AA7BY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,qBAAU,GAAE;IAOJ,WAAA,IAAA,iBAAM,EAAC,sCAAoB,CAAC,6BAA6B,CAAC,CAAA;IAE1D,WAAA,IAAA,iBAAM,EAAC,sCAAoB,CAAC,qBAAqB,CAAC,CAAA;IAElD,WAAA,IAAA,iBAAM,EAAC,sCAAoB,CAAC,gCAAgC,CAAC,CAAA;qCAHvB,mCAA6B;QAErC,6CAAqB;QAEf,mEAAgC;GAXhE,mBAAmB,CA6B/B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OutputFloatingCarDataTransformation } from "
|
|
1
|
+
import { OutputFloatingCarDataTransformation } from "./transformations/OutputFloatingCarDataTransformation";
|
|
2
2
|
import { CacheHeaderMiddleware } from "@golemio/core/dist/output-gateway/CacheHeaderMiddleware";
|
|
3
3
|
import { BaseRouter } from "@golemio/core/dist/output-gateway/routes/BaseRouter";
|
|
4
4
|
import { NextFunction, Request, Response, Router } from "@golemio/core/dist/shared/express";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fcdRouter = exports.FCDRouter = void 0;
|
|
4
|
-
const Di_1 = require("
|
|
5
|
-
const OutputFloatingCarDataTransformation_1 = require("
|
|
4
|
+
const Di_1 = require("./ioc/Di");
|
|
5
|
+
const OutputFloatingCarDataTransformation_1 = require("./transformations/OutputFloatingCarDataTransformation");
|
|
6
6
|
const Validation_1 = require("@golemio/core/dist/output-gateway/Validation");
|
|
7
7
|
const ioc_1 = require("@golemio/core/dist/output-gateway/ioc");
|
|
8
8
|
const BaseRouter_1 = require("@golemio/core/dist/output-gateway/routes/BaseRouter");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FCDRouter.js","sourceRoot":"","sources":["../../src/output-gateway/FCDRouter.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"FCDRouter.js","sourceRoot":"","sources":["../../src/output-gateway/FCDRouter.ts"],"names":[],"mappings":";;;AAAA,iCAA0C;AAC1C,+GAA8G;AAG9G,6EAAsG;AACtG,+DAAuE;AACvE,oFAAiF;AAEjF,mFAAiF;AACjF,6EAAwE;AACxE,qCAKkB;AAClB,MAAa,SAAU,SAAQ,uBAAU;IAErC,YACc,oBAA0C,EAC1C,+BAAgE,EAChE,4BAA0D,EAC1D,uCAAgF,EAClF,mCAAwE;QAEhF,KAAK,EAAE,CAAC;QANE,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,oCAA+B,GAA/B,+BAA+B,CAAiC;QAChE,iCAA4B,GAA5B,4BAA4B,CAA8B;QAC1D,4CAAuC,GAAvC,uCAAuC,CAAyC;QAClF,wCAAmC,GAAnC,mCAAmC,CAAqC;QAoB7E,uBAAkB,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;YAClF,IAAI,CAAC;gBACD,MAAM,SAAS,GAAG,IAAA,+BAAW,EAAC,GAAG,CAAC,CAAC;gBACnC,MAAM,kBAAkB,GAAI,SAAS,CAAC,OAAkB,IAAI,MAAM,CAAC;gBACnE,MAAM,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,SA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faces/FloatingCarDataInterface";
|
|
2
2
|
import { SequelizeModel } from "@golemio/core/dist/output-gateway/models";
|
|
3
3
|
export declare class FloatingCarDataModel extends SequelizeModel {
|
|
4
4
|
constructor();
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.FloatingCarDataModel = void 0;
|
|
7
|
-
const
|
|
7
|
+
const index_1 = require("../../schema-definitions/index");
|
|
8
8
|
const models_1 = require("@golemio/core/dist/output-gateway/models");
|
|
9
9
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
10
10
|
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
11
11
|
class FloatingCarDataModel extends models_1.SequelizeModel {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(
|
|
14
|
-
schema:
|
|
13
|
+
super(index_1.FCD.fcd_info.name, "v_traffic_params_all", index_1.FCD.fcd_info.outputSequelizeAttributes, {
|
|
14
|
+
schema: index_1.FCD.pgSchema,
|
|
15
15
|
});
|
|
16
16
|
this.GetAll = async (options = {}) => {
|
|
17
17
|
const { locationId, limit, offset } = options;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarDataModel.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"FloatingCarDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarDataModel.ts"],"names":[],"mappings":";;;;;;AAAA,0DAAiC;AAEjC,qEAA0E;AAC1E,6EAAwE;AACxE,oFAA4D;AAE5D,MAAa,oBAAqB,SAAQ,uBAAc;IACpD;QACI,KAAK,CAAC,WAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,sBAAsB,EAAE,WAAG,CAAC,QAAQ,CAAC,yBAAyB,EAAE;YACrF,MAAM,EAAE,WAAG,CAAC,QAAQ;SACvB,CAAC,CAAC;QAGA,WAAM,GAAG,KAAK,EACjB,UAII,EAAE,EAC0B,EAAE;YAClC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;YAC9C,IAAI,CAAC;gBACD,MAAM,EAAE,GAAG,mBAAS,CAAC,EAAE,CAAC;gBACxB,MAAM,KAAK,GAAG;oBACV,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;iBACjB,CAAC;gBAEF,IAAI,UAAU,EAAE,CAAC;oBACb,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;wBACf,mBAAmB,EAAE,UAAU;qBAClC,CAAC,CAAC;gBACP,CAAC;gBAED,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;oBACrC,KAAK;oBACL,MAAM;oBACN,GAAG,EAAE,IAAI;oBACT,KAAK;iBACR,CAAC,CAAC;YACP,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,MAAM,IAAI,6BAAY,CAAC,wBAAwB,GAAG,CAAC,OAAO,EAAE,EAAE,sBAAsB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;YACpG,CAAC;QACL,CAAC,CAAC;QAEK,WAAM,GAAG,KAAK,IAA4B,EAAE;YAC/C,MAAM,IAAI,6BAAY,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC;QACtE,CAAC,CAAC;IAnCF,CAAC;CAoCJ;AAzCD,oDAyCC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFloatingCarDataModel } from "
|
|
1
|
+
import { IFloatingCarDataModel } from "../../schema-definitions/interfaces/FloatingCarDataInterface";
|
|
2
2
|
import { SequelizeModel } from "@golemio/core/dist/output-gateway/models";
|
|
3
3
|
export declare class FloatingCarExtendedDataModel extends SequelizeModel {
|
|
4
4
|
constructor();
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.FloatingCarExtendedDataModel = void 0;
|
|
7
|
-
const
|
|
7
|
+
const index_1 = require("../../schema-definitions/index");
|
|
8
8
|
const models_1 = require("@golemio/core/dist/output-gateway/models");
|
|
9
9
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
10
10
|
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
11
11
|
class FloatingCarExtendedDataModel extends models_1.SequelizeModel {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(
|
|
14
|
-
schema:
|
|
13
|
+
super(index_1.FCD.fcd_info.name, "v_traffic_params_last_hour", index_1.FCD.fcd_info.outputSequelizeAttributes, {
|
|
14
|
+
schema: index_1.FCD.pgSchema,
|
|
15
15
|
});
|
|
16
16
|
this.GetAll = async (options = {}) => {
|
|
17
17
|
const { locationId, minutesBefore, limit, offset } = options;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarExtendedDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarExtendedDataModel.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"FloatingCarExtendedDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarExtendedDataModel.ts"],"names":[],"mappings":";;;;;;AAAA,0DAAiC;AAEjC,qEAA0E;AAC1E,6EAAwE;AACxE,oFAA4D;AAE5D,MAAa,4BAA6B,SAAQ,uBAAc;IAC5D;QACI,KAAK,CAAC,WAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,4BAA4B,EAAE,WAAG,CAAC,QAAQ,CAAC,yBAAyB,EAAE;YAC3F,MAAM,EAAE,WAAG,CAAC,QAAQ;SACvB,CAAC,CAAC;QAGA,WAAM,GAAG,KAAK,EACjB,UAKI,EAAE,EAC0B,EAAE;YAClC,M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PathDataModel } from "../../schema-definitions/interfaces/FloatingCarDataInterface";
|
|
2
2
|
import { SequelizeModel } from "@golemio/core/dist/output-gateway/models";
|
|
3
3
|
export declare class FloatingCarWithOsmPathDataModel extends SequelizeModel {
|
|
4
4
|
constructor();
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.FloatingCarWithOsmPathDataModel = void 0;
|
|
7
|
-
const
|
|
7
|
+
const index_1 = require("../../schema-definitions/index");
|
|
8
8
|
const models_1 = require("@golemio/core/dist/output-gateway/models");
|
|
9
9
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
10
10
|
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
11
11
|
class FloatingCarWithOsmPathDataModel extends models_1.SequelizeModel {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(
|
|
14
|
-
schema:
|
|
13
|
+
super(index_1.FCD.fcd_info.name, "v_traffic_params_all_with_osm_path", index_1.FCD.fcd_info.outputSequelizeAttributesWithOsmPath, {
|
|
14
|
+
schema: index_1.FCD.pgSchema,
|
|
15
15
|
});
|
|
16
16
|
this.GetAll = async (options = {}) => {
|
|
17
17
|
const { locationId, limit, offset } = options;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarWithOsmPathDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarWithOsmPathDataModel.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"FloatingCarWithOsmPathDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarWithOsmPathDataModel.ts"],"names":[],"mappings":";;;;;;AAAA,0DAAiC;AAEjC,qEAA0E;AAC1E,6EAAwE;AACxE,oFAA4D;AAE5D,MAAa,+BAAgC,SAAQ,uBAAc;IAC/D;QACI,KAAK,CAAC,WAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,oCAAoC,EAAE,WAAG,CAAC,QAAQ,CAAC,oCAAoC,EAAE;YAC9G,MAAM,EAAE,WAAG,CAAC,QAAQ;SACvB,CAAC,CAAC;QAGA,WAAM,GAAG,KAAK,EACjB,UAII,EAAE,EACqC,EAAE;YAC7C,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;YAC9C,IAAI,CAAC;gBACD,MAAM,EAAE,GAAG,mBAAS,CAAC,EAAE,CAAC;gBACxB,MAAM,KAAK,GAAG;oBACV,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;iBACjB,CAAC;gBAEF,IAAI,UAAU,EAAE,CAAC;oBACb,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;wBACf,mBAAmB,EAAE,UAAU;qBAClC,CAAC,CAAC;gBACP,CAAC;gBAED,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;oBACrC,KAAK;oBACL,MAAM;oBACN,GAAG,EAAE,IAAI;oBACT,KAAK;iBACR,CAAC,CAAC;YACP,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,MAAM,IAAI,6BAAY,CAAC,wBAAwB,GAAG,CAAC,OAAO,EAAE,EAAE,sBAAsB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;YACpG,CAAC;QACL,CAAC,CAAC;QAEK,WAAM,GAAG,KAAK,IAA4B,EAAE;YAC/C,MAAM,IAAI,6BAAY,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC;QACtE,CAAC,CAAC;IAnCF,CAAC;CAoCJ;AAzCD,0EAyCC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFloatingCarWithOsmPathDataModel } from "
|
|
1
|
+
import { IFloatingCarWithOsmPathDataModel } from "../../schema-definitions/interfaces/FloatingCarDataInterface";
|
|
2
2
|
import { SequelizeModel } from "@golemio/core/dist/output-gateway/models";
|
|
3
3
|
export declare class FloatingCarWithOsmPathExtendedDataModel extends SequelizeModel {
|
|
4
4
|
constructor();
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.FloatingCarWithOsmPathExtendedDataModel = void 0;
|
|
7
|
-
const
|
|
7
|
+
const index_1 = require("../../schema-definitions/index");
|
|
8
8
|
const models_1 = require("@golemio/core/dist/output-gateway/models");
|
|
9
9
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
10
10
|
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
11
11
|
class FloatingCarWithOsmPathExtendedDataModel extends models_1.SequelizeModel {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(
|
|
14
|
-
schema:
|
|
13
|
+
super(index_1.FCD.fcd_info.name, "v_traffic_params_last_hour_osm_path", index_1.FCD.fcd_info.outputSequelizeAttributesWithOsmPath, {
|
|
14
|
+
schema: index_1.FCD.pgSchema,
|
|
15
15
|
});
|
|
16
16
|
this.GetAll = async (options = {}) => {
|
|
17
17
|
const { locationId, minutesBefore, limit, offset } = options;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingCarWithOsmPathExtendedDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarWithOsmPathExtendedDataModel.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"FloatingCarWithOsmPathExtendedDataModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/FloatingCarWithOsmPathExtendedDataModel.ts"],"names":[],"mappings":";;;;;;AAAA,0DAAiC;AAEjC,qEAA0E;AAC1E,6EAAwE;AACxE,oFAA4D;AAE5D,MAAa,uCAAwC,SAAQ,uBAAc;IACvE;QACI,KAAK,CAAC,WAAG,CAAC,QAAQ,C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iBAAiB,EAAE,8BAA8B,CAAC,CAAC;QAC9E,CAAC,CAAC;IA5CF,CAAC;CA6CJ;AAlDD,0FAkDC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFloatingCarWithOsmPathDataModel, IOutputApiFloatingCarDataElaboratedData } from "
|
|
1
|
+
import { IFloatingCarWithOsmPathDataModel, IOutputApiFloatingCarDataElaboratedData } from "../../schema-definitions/interfaces/FloatingCarDataInterface";
|
|
2
2
|
import { IOutputApiFloatingCarData } from "./interfaces/outputApiFloatingCarData";
|
|
3
3
|
export declare class OutputFloatingCarDataTransformation {
|
|
4
4
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OutputFloatingCarDataTransformation = void 0;
|
|
4
|
-
const _sch_1 = require("
|
|
4
|
+
const _sch_1 = require("../../schema-definitions");
|
|
5
5
|
const helpers_1 = require("@golemio/core/dist/helpers");
|
|
6
6
|
class OutputFloatingCarDataTransformation {
|
|
7
7
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputFloatingCarDataTransformation.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/OutputFloatingCarDataTransformation.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"OutputFloatingCarDataTransformation.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/OutputFloatingCarDataTransformation.ts"],"names":[],"mappings":";;;AAAA,mDAA2B;AAK3B,wDAAsD;AAGtD,MAAa,mCAAmC;IAI5C;QAKO,cAAS,GAAG,CAAC,IAAwC,EAAE,kBAA2B,EAA6B,EAAE;YACpH,IAAI,cAAc,GAA8C,EAAE,CAAC;YACnE,IAAI,CAAC,qBAAqB,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC;YAC/E,KAAK,MAAM,IAAI,IAAI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AAI,CAAC,YAAY,EAAE,CAAC;gBACpB,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;YAChE,CAAC;YAED,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;gBACpB,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;YAChE,CAAC;YAED,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBAClB,gBAAgB,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;YAC5D,CAAC;YAED,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAChB,gBAAgB,CAAC,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACxD,CAAC;YACD,IAAI,kBAAkB,EAAE,CAAC;gBACrB,gBAAgB,CAAC,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;gBAC5E,IAAI,mBAAmB,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;oBACnD,IAAI,CAAC,qBAAqB,GAAG,mBAAmB,CAAC;gBACrD,CAAC;YACL,CAAC;YACD,OAAO,gBAAgB,CAAC;QAC5B,CAAC,CAAC;QA7DE,IAAI,CAAC,IAAI,GAAG,UAAG,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC9B,IAAI,CAAC,qBAAqB,GAAG,IAAI,IAAI,EAAE,CAAC;IAC5C,CAAC;CA4DJ;AAnED,kFAmEC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IOutputApiFloatingCarDataElaboratedData } from "
|
|
1
|
+
import { IOutputApiFloatingCarDataElaboratedData } from "../../../schema-definitions/interfaces/FloatingCarDataInterface";
|
|
2
2
|
export interface IOutputApiFloatingCarData {
|
|
3
3
|
modelBaseVersion: string;
|
|
4
4
|
payloadPublicationLight: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FCD = void 0;
|
|
4
|
-
const fcd_datasource_schema_1 = require("
|
|
5
|
-
const fcd_output_schema_1 = require("
|
|
4
|
+
const fcd_datasource_schema_1 = require("./schemas/fcd_datasource_schema");
|
|
5
|
+
const fcd_output_schema_1 = require("./schemas/fcd_output_schema");
|
|
6
6
|
const forExport = {
|
|
7
7
|
name: "FCD",
|
|
8
8
|
pgSchema: "fcd",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,2EAAqF;AACrF,mEAIwC;AAExC,MAAM,SAAS,GAAQ;IACnB,IAAI,EAAE,KAAK;IACX,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE;QACN,IAAI,EAAE,iBAAiB;QACvB,gBAAgB,EAAE,uDAA+B;QACjD,YAAY,EAAE,+CAA2B;QACzC,yBAAyB,EAAE,6CAAyB;QACpD,oCAAoC,EAAE,wDAAoC;QAC1E,WAAW,EAAE,uBAAuB;KACvC;CACJ,CAAC;AAEoB,wBAAG"}
|
package/package.json
CHANGED
|
@@ -1,118 +1,83 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"name": "@golemio/fcd",
|
|
3
|
+
"version": "1.3.1-dev.2647595903",
|
|
4
|
+
"description": "Golemio Floating Car Data Module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rimraf ./dist && tspc -p ./tsconfig.build.json",
|
|
9
|
+
"build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
|
|
10
|
+
"build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
|
|
11
|
+
"prepare-db": "golemio mdb reset --postgres && golemio mdb up --postgres && golemio import-db-data --postgres",
|
|
12
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
13
|
+
"test:only": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r @swc-node/register -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
|
|
14
|
+
"test": "run-s prepare-db typecheck test:only",
|
|
15
|
+
"apidocs-test": "npm run apidocs-test-input && npm run apidocs-test-output",
|
|
16
|
+
"apidocs-test-input": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
|
|
17
|
+
"apidocs-test-output": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-output.yaml --script test/api-docs/output-gateway/server.js --config test/api-docs/output-gateway/portman-config.json",
|
|
18
|
+
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
19
|
+
"coverage:only": "nyc --reporter=text --reporter=lcov npm run test:only -- -r source-map-support/register",
|
|
20
|
+
"code-coverage": "run-s prepare-db typecheck coverage:only",
|
|
21
|
+
"generate-docs": "typedoc --out docs/typedoc src",
|
|
22
|
+
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
11
23
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
24
|
+
"keywords": [
|
|
25
|
+
"golemio",
|
|
26
|
+
"fcd"
|
|
27
|
+
],
|
|
28
|
+
"author": "Operator ICT, a.s.",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://gitlab.com/operator-ict/golemio/code/modules/fcd"
|
|
15
33
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=24.0.0",
|
|
36
|
+
"npm": ">=11.0.0"
|
|
19
37
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@apideck/portman": "^1.26.5",
|
|
40
|
+
"@commitlint/cli": "^11.0.0",
|
|
41
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
42
|
+
"@golemio/cli": "1.11.2",
|
|
43
|
+
"@golemio/core": "4.0.0-dev.2647379566",
|
|
44
|
+
"@golemio/db-common": "1.2.2",
|
|
45
|
+
"@golemio/eslint-config": "1.1.4",
|
|
46
|
+
"@golemio/traffic-common": "1.1.1-dev.2647513858",
|
|
47
|
+
"@swc-node/register": "^1.11.1",
|
|
48
|
+
"@swc/core": "^1.15.33",
|
|
49
|
+
"@types/body-parser-xml": "^1.1.0",
|
|
50
|
+
"@types/chai": "^5.2.3",
|
|
51
|
+
"@types/chai-as-promised": "^8.0.2",
|
|
52
|
+
"@types/mocha": "^10.0.10",
|
|
53
|
+
"@types/node": "^24.12.4",
|
|
54
|
+
"@types/sinon": "^21.0.0",
|
|
55
|
+
"@types/supertest": "^6.0.3",
|
|
56
|
+
"body-parser": "^1.19.0",
|
|
57
|
+
"body-parser-xml": "^2.0.0",
|
|
58
|
+
"chai": "^6.2.2",
|
|
59
|
+
"chai-as-promised": "^8.0.2",
|
|
60
|
+
"cross-env": "^7.0.3",
|
|
61
|
+
"dotenv": "^8.2.0",
|
|
62
|
+
"eslint": "^8.1.1",
|
|
63
|
+
"husky": "^4.3.7",
|
|
64
|
+
"mocha": "^11.7.5",
|
|
65
|
+
"npm-run-all": "^4.1.5",
|
|
66
|
+
"nyc": "^15.1.0",
|
|
67
|
+
"prettier": "^2.5.1",
|
|
68
|
+
"pretty-quick": "^3.1.0",
|
|
69
|
+
"rimraf": "^3.0.2",
|
|
70
|
+
"sinon": "^21.0.1",
|
|
71
|
+
"source-map-support": "0.5.21",
|
|
72
|
+
"supertest": "^7.1.4",
|
|
73
|
+
"ts-patch": "^4.0.1",
|
|
74
|
+
"typedoc": "^0.28.19",
|
|
75
|
+
"typescript": "6.0.3",
|
|
76
|
+
"typescript-transform-paths": "^4.0.0",
|
|
77
|
+
"xml2js": "^0.6.0"
|
|
23
78
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
"#og/*": {
|
|
29
|
-
"development": "./src/output-gateway/*.ts",
|
|
30
|
-
"default": "./dist/output-gateway/*.js"
|
|
31
|
-
},
|
|
32
|
-
"#sch": {
|
|
33
|
-
"development": "./src/schema-definitions/index.ts",
|
|
34
|
-
"default": "./dist/schema-definitions/index.js"
|
|
35
|
-
},
|
|
36
|
-
"#sch/*": {
|
|
37
|
-
"development": "./src/schema-definitions/*.ts",
|
|
38
|
-
"default": "./dist/schema-definitions/*.js"
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"@golemio/core": ">=4.0.0",
|
|
81
|
+
"@golemio/traffic-common": ">=1.1.1"
|
|
39
82
|
}
|
|
40
|
-
},
|
|
41
|
-
"scripts": {
|
|
42
|
-
"build": "rimraf ./dist && tsc -p ./tsconfig.build.json",
|
|
43
|
-
"build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
|
|
44
|
-
"build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
|
|
45
|
-
"prepare-db": "golemio mdb reset --postgres && golemio mdb up --postgres && golemio import-db-data --postgres",
|
|
46
|
-
"test:only": "cross-env NODE_ENV=test NODE_OPTIONS=\"--conditions=development --import=tsx\" mocha --exit --check-leaks --timeout 120000 -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
|
|
47
|
-
"test": "run-s prepare-db test:only",
|
|
48
|
-
"apidocs-test": "npm run apidocs-test-input && npm run apidocs-test-output",
|
|
49
|
-
"apidocs-test-input": "cross-env NODE_ENV=test NODE_OPTIONS=\"--conditions=development --import=tsx\" golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
|
|
50
|
-
"apidocs-test-output": "cross-env NODE_ENV=test NODE_OPTIONS=\"--conditions=development --import=tsx\" golemio swagger api-test --oas docs/openapi-output.yaml --script test/api-docs/output-gateway/server.js --config test/api-docs/output-gateway/portman-config.json",
|
|
51
|
-
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
52
|
-
"coverage:only": "nyc --reporter=text --reporter=lcov npm run test:only",
|
|
53
|
-
"code-coverage": "run-s prepare-db coverage:only",
|
|
54
|
-
"generate-docs": "typedoc --out docs/typedoc src",
|
|
55
|
-
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
56
|
-
},
|
|
57
|
-
"keywords": [
|
|
58
|
-
"golemio",
|
|
59
|
-
"fcd"
|
|
60
|
-
],
|
|
61
|
-
"author": "Operator ICT, a.s.",
|
|
62
|
-
"license": "MIT",
|
|
63
|
-
"repository": {
|
|
64
|
-
"type": "git",
|
|
65
|
-
"url": "https://gitlab.com/operator-ict/golemio/code/modules/fcd"
|
|
66
|
-
},
|
|
67
|
-
"engines": {
|
|
68
|
-
"node": ">=24.0.0",
|
|
69
|
-
"npm": ">=11.0.0"
|
|
70
|
-
},
|
|
71
|
-
"devDependencies": {
|
|
72
|
-
"@apideck/portman": "^1.26.5",
|
|
73
|
-
"@commitlint/cli": "^11.0.0",
|
|
74
|
-
"@commitlint/config-conventional": "^11.0.0",
|
|
75
|
-
"@golemio/cli": "1.11.2",
|
|
76
|
-
"@golemio/core": "3.2.2-dev.2622707631",
|
|
77
|
-
"@golemio/db-common": "1.2.2",
|
|
78
|
-
"@golemio/eslint-config": "1.1.4",
|
|
79
|
-
"@golemio/traffic-common": "1.1.0",
|
|
80
|
-
"@types/body-parser-xml": "^1.1.0",
|
|
81
|
-
"@types/chai": "^5.2.3",
|
|
82
|
-
"@types/chai-as-promised": "^8.0.2",
|
|
83
|
-
"@types/mocha": "^10.0.10",
|
|
84
|
-
"@types/node": "^24.12.4",
|
|
85
|
-
"@types/sinon": "^21.0.0",
|
|
86
|
-
"@types/supertest": "^6.0.3",
|
|
87
|
-
"body-parser": "^1.19.0",
|
|
88
|
-
"body-parser-xml": "^2.0.0",
|
|
89
|
-
"chai": "^6.2.2",
|
|
90
|
-
"chai-as-promised": "^8.0.2",
|
|
91
|
-
"cross-env": "^7.0.3",
|
|
92
|
-
"dotenv": "^8.2.0",
|
|
93
|
-
"eslint": "^8.1.1",
|
|
94
|
-
"husky": "^4.3.7",
|
|
95
|
-
"mocha": "^11.7.5",
|
|
96
|
-
"npm-run-all": "^4.1.5",
|
|
97
|
-
"nyc": "^15.1.0",
|
|
98
|
-
"prettier": "^2.5.1",
|
|
99
|
-
"pretty-quick": "^3.1.0",
|
|
100
|
-
"rimraf": "^3.0.2",
|
|
101
|
-
"sinon": "^21.0.1",
|
|
102
|
-
"source-map-support": "0.5.21",
|
|
103
|
-
"supertest": "^7.1.4",
|
|
104
|
-
"@swc/core": "^1.15.33",
|
|
105
|
-
"ts-node": "^10.9.2",
|
|
106
|
-
"typedoc": "^0.24.8",
|
|
107
|
-
"typescript": "6.0.3",
|
|
108
|
-
"xml2js": "^0.6.0",
|
|
109
|
-
"tsx": "^4.20.6"
|
|
110
|
-
},
|
|
111
|
-
"overrides": {
|
|
112
|
-
"openapi-format": "1.30.0"
|
|
113
|
-
},
|
|
114
|
-
"peerDependencies": {
|
|
115
|
-
"@golemio/core": ">=1.9.0",
|
|
116
|
-
"@golemio/traffic-common": ">=0.1.0"
|
|
117
|
-
}
|
|
118
83
|
}
|