@golemio/traffic-common 1.1.1-dev.2635555916 → 1.1.1-dev.2644201193
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 +10 -20
- package/dist/index.js.map +1 -1
- package/dist/integration-engine/datasources/RsdTmcOsmMappingDataStreamFactory.js +1 -2
- package/dist/integration-engine/datasources/RsdTmcOsmMappingDataStreamFactory.js.map +1 -1
- package/dist/integration-engine/ioc/Di.js +3 -3
- package/dist/integration-engine/ioc/Di.js.map +1 -1
- package/dist/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.js +3 -4
- package/dist/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.js.map +1 -1
- package/dist/integration-engine/repositories/RsdTmcOsmMappingRepository.d.ts +1 -0
- package/dist/integration-engine/repositories/RsdTmcOsmMappingRepository.js +3 -4
- package/dist/integration-engine/repositories/RsdTmcOsmMappingRepository.js.map +1 -1
- package/dist/integration-engine/workers/RsdTmcOsmMappingWorker.js +2 -2
- package/dist/integration-engine/workers/RsdTmcOsmMappingWorker.js.map +1 -1
- package/dist/integration-engine/workers/index.d.ts +1 -1
- package/dist/integration-engine/workers/index.js +1 -1
- package/dist/integration-engine/workers/index.js.map +1 -1
- package/dist/integration-engine/workers/tasks/RefreshRsdTmcOsmMappingDataTask.d.ts +1 -1
- package/dist/integration-engine/workers/tasks/RefreshRsdTmcOsmMappingDataTask.js.map +1 -1
- package/dist/output-gateway/repositories/RsdTmcOsmMappingRepository.js +1 -1
- package/dist/output-gateway/repositories/RsdTmcOsmMappingRepository.js.map +1 -1
- package/dist/schema-definitions/models/RsdTmcOsmMappingModel.d.ts +1 -1
- package/package.json +10 -34
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as IntegrationEngine from "
|
|
2
|
-
export * as SchemaDefinitions from "
|
|
3
|
-
export * as OutputGateway from "
|
|
1
|
+
export * as IntegrationEngine from "./integration-engine/index";
|
|
2
|
+
export * as SchemaDefinitions from "./schema-definitions/index";
|
|
3
|
+
export * as OutputGateway from "./output-gateway/index";
|
package/dist/index.js
CHANGED
|
@@ -15,27 +15,17 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.OutputGateway = exports.SchemaDefinitions = exports.IntegrationEngine = void 0;
|
|
37
27
|
// Library exports
|
|
38
|
-
exports.IntegrationEngine = __importStar(require("
|
|
39
|
-
exports.SchemaDefinitions = __importStar(require("
|
|
40
|
-
exports.OutputGateway = __importStar(require("
|
|
28
|
+
exports.IntegrationEngine = __importStar(require("./integration-engine/index"));
|
|
29
|
+
exports.SchemaDefinitions = __importStar(require("./schema-definitions/index"));
|
|
30
|
+
exports.OutputGateway = __importStar(require("./output-gateway/index"));
|
|
41
31
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,gFAA+C;AAC/C,gFAAgD;AAChD,wEAA2C"}
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.RsdTmcOsmMappingDataStreamFactory = void 0;
|
|
10
10
|
const HTTPRequestProtocolStrategyStreamed_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed");
|
|
11
11
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
12
|
-
let RsdTmcOsmMappingDataStreamFactory = class RsdTmcOsmMappingDataStreamFactory {
|
|
12
|
+
let RsdTmcOsmMappingDataStreamFactory = exports.RsdTmcOsmMappingDataStreamFactory = class RsdTmcOsmMappingDataStreamFactory {
|
|
13
13
|
getProtocolStrategyStreamed(dataUrl) {
|
|
14
14
|
return new HTTPRequestProtocolStrategyStreamed_1.HTTPRequestProtocolStrategyStreamed({
|
|
15
15
|
headers: {},
|
|
@@ -18,7 +18,6 @@ let RsdTmcOsmMappingDataStreamFactory = class RsdTmcOsmMappingDataStreamFactory
|
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
exports.RsdTmcOsmMappingDataStreamFactory = RsdTmcOsmMappingDataStreamFactory;
|
|
22
21
|
exports.RsdTmcOsmMappingDataStreamFactory = RsdTmcOsmMappingDataStreamFactory = __decorate([
|
|
23
22
|
(0, tsyringe_1.injectable)()
|
|
24
23
|
], RsdTmcOsmMappingDataStreamFactory);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RsdTmcOsmMappingDataStreamFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/RsdTmcOsmMappingDataStreamFactory.ts"],"names":[],"mappings":";;;;;;;;;AACA,iKAA8J;AAC9J,iEAAgE;AAGzD,IAAM,iCAAiC,
|
|
1
|
+
{"version":3,"file":"RsdTmcOsmMappingDataStreamFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/RsdTmcOsmMappingDataStreamFactory.ts"],"names":[],"mappings":";;;;;;;;;AACA,iKAA8J;AAC9J,iEAAgE;AAGzD,IAAM,iCAAiC,+CAAvC,MAAM,iCAAiC;IACnC,2BAA2B,CAAC,OAAe;QAC9C,OAAO,IAAI,yEAAmC,CAAC;YAC3C,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,OAAO;SACf,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;4CARY,iCAAiC;IAD7C,IAAA,qBAAU,GAAE;GACA,iCAAiC,CAQ7C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TrafficCommonContainer = void 0;
|
|
4
|
-
const RsdTmcOsmMappingDataStreamFactory_1 = require("
|
|
5
|
-
const LteCze90PointsSjtskInAreaRepository_1 = require("
|
|
6
|
-
const RsdTmcOsmMappingRepository_1 = require("
|
|
4
|
+
const RsdTmcOsmMappingDataStreamFactory_1 = require("../datasources/RsdTmcOsmMappingDataStreamFactory");
|
|
5
|
+
const LteCze90PointsSjtskInAreaRepository_1 = require("../repositories/LteCze90PointsSjtskInAreaRepository");
|
|
6
|
+
const RsdTmcOsmMappingRepository_1 = require("../repositories/RsdTmcOsmMappingRepository");
|
|
7
7
|
const ioc_1 = require("@golemio/core/dist/integration-engine/ioc");
|
|
8
8
|
const Di_1 = require("@golemio/core/dist/integration-engine/ioc/Di");
|
|
9
9
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Di.js","sourceRoot":"","sources":["../../../src/integration-engine/ioc/Di.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Di.js","sourceRoot":"","sources":["../../../src/integration-engine/ioc/Di.ts"],"names":[],"mappings":";;;AAAA,wGAAsG;AACtG,6GAA2G;AAC3G,2FAAyF;AAEzF,mEAA2E;AAC3E,qEAA0F;AAC1F,iEAAiG;AACjG,iEAA8D;AAE9D,wBAAwB;AACxB,MAAM,sBAAsB,GAAwB,+BAA0B,CAAC,oBAAoB,EAAE,CAAC;AAoC7F,wDAAsB;AAnC/B,YAAY;AAEZ,qBAAqB;AACrB,sBAAsB,CAAC,QAAQ,CAAoB,2CAAoB,CAAC,kCAAkC,EAAE;IACxG,UAAU,EAAE,IAAA,iCAAsB,EAAoB,GAAG,EAAE;QACvD,MAAM,MAAM,GAAmB,+BAA0B,CAAC,OAAO,CAAC,oBAAc,CAAC,MAAM,CAAC,CAAC;QACzF,OAAO,IAAI,qEAAiC,EAAE,CAAC,2BAA2B,CACtE,MAAM,CAAC,WAAW,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,CACxD,CAAC;IACN,CAAC,CAAC;CACL,CAAC,CAAC;AACH,YAAY;AAEZ,yBAAyB;AAEzB,YAAY;AAEZ,iBAAiB;AAEjB,YAAY;AAEZ,sBAAsB;AACtB,sBAAsB,CAAC,iBAAiB,CACpC,2CAAoB,CAAC,0BAA0B,EAC/C,uDAA0B,CAC7B,CAAC,QAAQ,CACN,2CAAoB,CAAC,mCAAmC,EACxD,yEAAmC,CACtC,CAAC"}
|
|
@@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.LteCze90PointsSjtskInAreaRepository = exports.InsideProjectAreaEnum = void 0;
|
|
13
|
-
const _sch_1 = require("
|
|
14
|
-
const LteCze90PointsSjtskInAreaModel_1 = require("
|
|
13
|
+
const _sch_1 = require("../../schema-definitions");
|
|
14
|
+
const LteCze90PointsSjtskInAreaModel_1 = require("../../schema-definitions/models/LteCze90PointsSjtskInAreaModel");
|
|
15
15
|
const models_1 = require("@golemio/core/dist/integration-engine/models");
|
|
16
16
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
17
17
|
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
@@ -21,7 +21,7 @@ var InsideProjectAreaEnum;
|
|
|
21
21
|
InsideProjectAreaEnum["PRAVDA"] = "pravda";
|
|
22
22
|
InsideProjectAreaEnum["NEPRAVDA"] = "nepravda";
|
|
23
23
|
})(InsideProjectAreaEnum || (exports.InsideProjectAreaEnum = InsideProjectAreaEnum = {}));
|
|
24
|
-
let LteCze90PointsSjtskInAreaRepository = class LteCze90PointsSjtskInAreaRepository extends models_1.PostgresModel {
|
|
24
|
+
let LteCze90PointsSjtskInAreaRepository = exports.LteCze90PointsSjtskInAreaRepository = class LteCze90PointsSjtskInAreaRepository extends models_1.PostgresModel {
|
|
25
25
|
constructor() {
|
|
26
26
|
super("LteCzePointsSjtskInAreaRepository", {
|
|
27
27
|
outputSequelizeAttributes: LteCze90PointsSjtskInAreaModel_1.LteCze90PointsSjtskInAreaModel.attributeModel,
|
|
@@ -42,7 +42,6 @@ let LteCze90PointsSjtskInAreaRepository = class LteCze90PointsSjtskInAreaReposit
|
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
exports.LteCze90PointsSjtskInAreaRepository = LteCze90PointsSjtskInAreaRepository;
|
|
46
45
|
exports.LteCze90PointsSjtskInAreaRepository = LteCze90PointsSjtskInAreaRepository = __decorate([
|
|
47
46
|
(0, tsyringe_1.injectable)(),
|
|
48
47
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LteCze90PointsSjtskInAreaRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"LteCze90PointsSjtskInAreaRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAA6C;AAC7C,mHAA4F;AAC5F,yEAAqF;AACrF,mFAAkF;AAClF,mEAAqE;AACrE,iEAAgE;AAEhE,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACzB,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC;AAGM,IAAM,mCAAmC,iDAAzC,MAAM,mCAAoC,SAAQ,sBAAa;IAClE;QACI,KAAK,CACD,mCAAmC,EACnC;YACI,yBAAyB,EAAE,+DAA8B,CAAC,cAAc;YACxE,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,4BAAqB,CAAC,QAAQ;YACxC,UAAU,EAAE,YAAY;YACxB,2BAA2B,EAAE;gBACzB,UAAU,EAAE,KAAK;aACpB;SACJ,EACD,IAAI,uCAAmB,CAAC,mCAAmC,EAAE,EAAE,CAAC,CAAC,2BAA2B;SAC/F,CAAC;IACN,CAAC;IAEM,KAAK,CAAC,iBAAiB;QAC1B,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC;YACnB,UAAU,EAAE,CAAC,KAAK,CAAC;YACnB,KAAK,EAAE,IAAA,iBAAK,EAAC,IAAA,cAAE,EAAC,OAAO,EAAE,IAAA,eAAG,EAAC,qBAAqB,CAAC,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;YAC9F,GAAG,EAAE,IAAI;SACZ,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;8CAxBY,mCAAmC;IAD/C,IAAA,qBAAU,GAAE;;GACA,mCAAmC,CAwB/C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { ILogger } from "@golemio/core/dist/helpers";
|
|
2
3
|
import IPostgresConnector from "@golemio/core/dist/integration-engine/connectors/interfaces/IPostgresConnector";
|
|
3
4
|
import { IModel, PostgresModel } from "@golemio/core/dist/integration-engine/models";
|
|
@@ -13,8 +13,8 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.RsdTmcOsmMappingRepository = void 0;
|
|
16
|
-
const _sch_1 = require("
|
|
17
|
-
const RsdTmcOsmMappingModel_1 = require("
|
|
16
|
+
const _sch_1 = require("../../schema-definitions");
|
|
17
|
+
const RsdTmcOsmMappingModel_1 = require("../../schema-definitions/models/RsdTmcOsmMappingModel");
|
|
18
18
|
const ioc_1 = require("@golemio/core/dist/integration-engine/ioc");
|
|
19
19
|
const models_1 = require("@golemio/core/dist/integration-engine/models");
|
|
20
20
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
@@ -22,7 +22,7 @@ const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator
|
|
|
22
22
|
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
23
23
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
24
24
|
const pg_copy_streams_1 = require("pg-copy-streams");
|
|
25
|
-
let RsdTmcOsmMappingRepository = class RsdTmcOsmMappingRepository extends models_1.PostgresModel {
|
|
25
|
+
let RsdTmcOsmMappingRepository = exports.RsdTmcOsmMappingRepository = class RsdTmcOsmMappingRepository extends models_1.PostgresModel {
|
|
26
26
|
constructor(connector, logger) {
|
|
27
27
|
super("RsdTmcOsmMappingRepository", {
|
|
28
28
|
outputSequelizeAttributes: RsdTmcOsmMappingModel_1.RsdTmcOsmMappingModel.attributeModel,
|
|
@@ -118,7 +118,6 @@ let RsdTmcOsmMappingRepository = class RsdTmcOsmMappingRepository extends models
|
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
|
-
exports.RsdTmcOsmMappingRepository = RsdTmcOsmMappingRepository;
|
|
122
121
|
exports.RsdTmcOsmMappingRepository = RsdTmcOsmMappingRepository = __decorate([
|
|
123
122
|
(0, tsyringe_1.injectable)(),
|
|
124
123
|
__param(0, (0, tsyringe_1.inject)(ioc_1.ContainerToken.PostgresConnector)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RsdTmcOsmMappingRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/RsdTmcOsmMappingRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"RsdTmcOsmMappingRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/RsdTmcOsmMappingRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAA6C;AAC7C,iGAA0E;AAG1E,mEAA2E;AAC3E,yEAAqF;AACrF,6EAAwE;AACxE,mFAAkF;AAClF,mEAAiE;AACjE,iEAAwE;AACxE,qDAAmD;AAS5C,IAAM,0BAA0B,wCAAhC,MAAM,0BAA2B,SAAQ,sBAAa;IACzD,YAC8C,SAAqC,EAChD,MAAuB;QAEtD,KAAK,CACD,4BAA4B,EAC5B;YACI,yBAAyB,EAAE,6CAAqB,CAAC,cAAc;YAC/D,WAAW,EAAE,4BAAqB,CAAC,WAAW;YAC9C,QAAQ,EAAE,4BAAqB,CAAC,QAAQ;YACxC,UAAU,EAAE,YAAY;YACxB,kBAAkB,EAAE,CAAC,IAAI,CAAC;YAC1B,2BAA2B,EAAE;gBACzB,UAAU,EAAE,KAAK;aACpB;SACJ,EACD,IAAI,uCAAmB,CAAC,2BAA2B,EAAE,6CAAqB,CAAC,UAAU,CAAC,CACzF,CAAC;QAhBgD,cAAS,GAAT,SAAS,CAAoB;QACxC,WAAM,GAAN,MAAM,CAAS;QAwF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CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;gBAC7D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;YACvB,CAAC,CAAC;iBACD,EAAE,CAAC,QAAQ,EAAE,KAAK,IAAI,EAAE;gBACrB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;gBACrD,MAAM,UAAU,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;gBAC7D,OAAO,OAAO,EAAE,CAAC;YACrB,CAAC,CAAC,CAAC;YACP,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACtB,CAAC,CAAC,CAAC;IACP,CAAC;CA0BJ,CAAA;qCAnHY,0BAA0B;IADtC,IAAA,qBAAU,GAAE;IAGJ,WAAA,IAAA,iBAAM,EAAC,oBAAc,CAAC,iBAAiB,CAAC,CAAA;IACxC,WAAA,IAAA,iBAAM,EAAC,oBAAc,CAAC,MAAM,CAAC,CAAA;;GAHzB,0BAA0B,CAmHtC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RsdTmcOsmMappingWorker = void 0;
|
|
4
4
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
5
5
|
const RefreshRsdTmcOsmMappingDataTask_1 = require("./tasks/RefreshRsdTmcOsmMappingDataTask");
|
|
6
|
-
const ModuleContainerToken_1 = require("
|
|
7
|
-
const Di_1 = require("
|
|
6
|
+
const ModuleContainerToken_1 = require("../ioc/ModuleContainerToken");
|
|
7
|
+
const Di_1 = require("../ioc/Di");
|
|
8
8
|
class RsdTmcOsmMappingWorker extends integration_engine_1.AbstractWorker {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RsdTmcOsmMappingWorker.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/RsdTmcOsmMappingWorker.ts"],"names":[],"mappings":";;;AAAA,8EAAuE;AACvE,6FAA0F;AAC1F,
|
|
1
|
+
{"version":3,"file":"RsdTmcOsmMappingWorker.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/RsdTmcOsmMappingWorker.ts"],"names":[],"mappings":";;;AAAA,8EAAuE;AACvE,6FAA0F;AAC1F,sEAAoE;AACpE,kCAAoD;AAEpD,MAAa,sBAAuB,SAAQ,mCAAc;IAGtD;QACI,KAAK,EAAE,CAAC;QAHF,SAAI,GAAG,kBAAkB,CAAC;QAIhC,IAAI,CAAC,YAAY,CACb,IAAI,iEAA+B,CAC/B,IAAI,CAAC,cAAc,EAAE,EACrB,2BAAsB,CAAC,OAAO,CAAC,2CAAoB,CAAC,kCAAkC,CAAC,EACvF,2BAAsB,CAAC,OAAO,CAAC,2CAAoB,CAAC,0BAA0B,CAAC,CAClF,CACJ,CAAC;IACN,CAAC;CACJ;AAbD,wDAaC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RsdTmcOsmMappingWorker } from "
|
|
1
|
+
import { RsdTmcOsmMappingWorker } from "./RsdTmcOsmMappingWorker";
|
|
2
2
|
export declare const workers: (typeof RsdTmcOsmMappingWorker)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.workers = void 0;
|
|
4
|
-
const RsdTmcOsmMappingWorker_1 = require("
|
|
4
|
+
const RsdTmcOsmMappingWorker_1 = require("./RsdTmcOsmMappingWorker");
|
|
5
5
|
exports.workers = [RsdTmcOsmMappingWorker_1.RsdTmcOsmMappingWorker];
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/index.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/index.ts"],"names":[],"mappings":";;;AAAA,qEAA4E;AAE/D,QAAA,OAAO,GAAG,CAAC,+CAAsB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RsdTmcOsmMappingRepository } from "
|
|
1
|
+
import { RsdTmcOsmMappingRepository } from "../../repositories/RsdTmcOsmMappingRepository";
|
|
2
2
|
import { AbstractEmptyTask } from "@golemio/core/dist/integration-engine";
|
|
3
3
|
import { HTTPRequestProtocolStrategyStreamed } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed";
|
|
4
4
|
export declare class RefreshRsdTmcOsmMappingDataTask extends AbstractEmptyTask {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefreshRsdTmcOsmMappingDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/RefreshRsdTmcOsmMappingDataTask.ts"],"names":[],"mappings":";;;AACA,8EAA0E;AAE1E,6EAAwE;AAGxE,MAAa,+BAAgC,SAAQ,sCAAiB;IAIlE,YACI,WAAmB,EACX,gBAAqD,EACrD,UAAsC;QAE9C,KAAK,CAAC,WAAW,CAAC,CAAC;QAHX,qBAAgB,GAAhB,gBAAgB,CAAqC;QACrD,eAAU,GAAV,UAAU,CAA4B;QANlC,cAAS,GAAG,yBAAyB,CAAC;QACtC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,aAAa;IAQxD,CAAC;IAES,KAAK,CAAC,OAAO;QACnB,IAAI,UAA8B,CAAC;QAEnC,IAAI
|
|
1
|
+
{"version":3,"file":"RefreshRsdTmcOsmMappingDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/RefreshRsdTmcOsmMappingDataTask.ts"],"names":[],"mappings":";;;AACA,8EAA0E;AAE1E,6EAAwE;AAGxE,MAAa,+BAAgC,SAAQ,sCAAiB;IAIlE,YACI,WAAmB,EACX,gBAAqD,EACrD,UAAsC;QAE9C,KAAK,CAAC,WAAW,CAAC,CAAC;QAHX,qBAAgB,GAAhB,gBAAgB,CAAqC;QACrD,eAAU,GAAV,UAAU,CAA4B;QANlC,cAAS,GAAG,yBAAyB,CAAC;QACtC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,aAAa;IAQxD,CAAC;IAES,KAAK,CAAC,OAAO;QACnB,IAAI,UAA8B,CAAC;QAEnC,IAAI;YACA,UAAU,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC;SACzD;QAAC,OAAO,GAAG,EAAE;YACV,MAAM,IAAI,6BAAY,CAAC,kCAAkC,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;SAC1F;QAED,IAAI;YACA,MAAM,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;SAChE;QAAC,OAAO,GAAG,EAAE;YACV,MAAM,IAAI,6BAAY,CAAC,2DAA2D,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;SACnH;IACL,CAAC;CACJ;AA3BD,0EA2BC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RsdTmcOsmMappingRepository = void 0;
|
|
4
4
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
5
5
|
const models_1 = require("@golemio/core/dist/output-gateway/models");
|
|
6
|
-
const _sch_1 = require("
|
|
6
|
+
const _sch_1 = require("../../schema-definitions");
|
|
7
7
|
class RsdTmcOsmMappingRepository extends models_1.SequelizeModel {
|
|
8
8
|
constructor() {
|
|
9
9
|
super("RsdTmcOsmMappingRepository", _sch_1.RsdTmcOsmMappingTable.pgTableName, _sch_1.RsdTmcOsmMappingModel.attributeModel, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RsdTmcOsmMappingRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/RsdTmcOsmMappingRepository.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AACxE,qEAA0E;AAC1E
|
|
1
|
+
{"version":3,"file":"RsdTmcOsmMappingRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/RsdTmcOsmMappingRepository.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AACxE,qEAA0E;AAC1E,mDAAoE;AAOpE,MAAa,0BAA2B,SAAQ,uBAAc;IAC1D;QACI,KAAK,CAAC,4BAA4B,EAAE,4BAAqB,CAAC,WAAW,EAAE,4BAAqB,CAAC,cAAc,EAAE;YACzG,MAAM,EAAE,4BAAqB,CAAC,QAAQ;YACtC,UAAU,EAAE,KAAK;SACpB,CAAC,CAAC;QAIA,WAAM,GAAG,KAAK,EAAE,OAA8B,EAA4B,EAAE;YAC/E,IAAI,OAAO,CAAC,OAAO,GAAG,CAAC,IAAI,OAAO,CAAC,KAAK,GAAG,CAAC,EAAE;gBAC1C,MAAM,IAAI,6BAAY,CAAC,4CAA4C,EAAE,4BAA4B,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;aACtH;YAED,IAAI;gBACA,MAAM,KAAK,GAAG;oBACV,QAAQ,EAAE,OAAO,CAAC,OAAO;oBACzB,MAAM,EAAE,OAAO,CAAC,KAAK;iBACxB,CAAC;gBAEF,MAAM,sBAAsB,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;oBAC7D,GAAG,EAAE,IAAI;oBACT,KAAK;iBACR,CAAC,CAAC;gBAEH,IAAI,sBAAsB,KAAK,IAAI,EAAE;oBACjC,OAAO,IAAI,CAAC;iBACf;gBACD,OAAO,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC;aACtD;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,IAAI,6BAAY,CAAC,iBAAiB,GAAG,CAAC,OAAO,EAAE,EAAE,4BAA4B,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;aAClG;QACL,CAAC,CAAC;QAEK,WAAM,GAAG,KAAK,IAA4B,EAAE;YAC/C,MAAM,IAAI,6BAAY,CAAC,iBAAiB,EAAE,4BAA4B,CAAC,CAAC;QAC5E,CAAC,CAAC;QA9BE,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;CA8BJ;AArCD,gEAqCC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRsdTmcOsmMapping } from "
|
|
1
|
+
import { IRsdTmcOsmMapping } from "..";
|
|
2
2
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
3
|
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
4
4
|
export declare class RsdTmcOsmMappingModel extends Model<IRsdTmcOsmMapping> implements IRsdTmcOsmMapping {
|
package/package.json
CHANGED
|
@@ -1,44 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/traffic-common",
|
|
3
|
-
"version": "1.1.1-dev.
|
|
3
|
+
"version": "1.1.1-dev.2644201193",
|
|
4
4
|
"description": "Golemio Common Traffic Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"imports": {
|
|
8
|
-
"#ie": {
|
|
9
|
-
"development": "./src/integration-engine/index.ts",
|
|
10
|
-
"default": "./dist/integration-engine/index.js"
|
|
11
|
-
},
|
|
12
|
-
"#ie/*": {
|
|
13
|
-
"development": "./src/integration-engine/*.ts",
|
|
14
|
-
"default": "./dist/integration-engine/*.js"
|
|
15
|
-
},
|
|
16
|
-
"#og": {
|
|
17
|
-
"development": "./src/output-gateway/index.ts",
|
|
18
|
-
"default": "./dist/output-gateway/index.js"
|
|
19
|
-
},
|
|
20
|
-
"#og/*": {
|
|
21
|
-
"development": "./src/output-gateway/*.ts",
|
|
22
|
-
"default": "./dist/output-gateway/*.js"
|
|
23
|
-
},
|
|
24
|
-
"#sch": {
|
|
25
|
-
"development": "./src/schema-definitions/index.ts",
|
|
26
|
-
"default": "./dist/schema-definitions/index.js"
|
|
27
|
-
},
|
|
28
|
-
"#sch/*": {
|
|
29
|
-
"development": "./src/schema-definitions/*.ts",
|
|
30
|
-
"default": "./dist/schema-definitions/*.js"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
7
|
"scripts": {
|
|
34
|
-
"build": "rimraf ./dist &&
|
|
8
|
+
"build": "rimraf ./dist && tspc -p ./tsconfig.build.json",
|
|
35
9
|
"build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
|
|
36
10
|
"build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
|
|
37
11
|
"prepare-db": "golemio import-db-data --postgres",
|
|
38
|
-
"test:only": "cross-env NODE_ENV=test
|
|
12
|
+
"test:only": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
|
|
39
13
|
"test": "run-s prepare-db test:only",
|
|
40
14
|
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
41
|
-
"coverage:only": "nyc --reporter=text --reporter=lcov npm run test:only",
|
|
15
|
+
"coverage:only": "nyc --reporter=text --reporter=lcov npm run test:only -- -r source-map-support/register",
|
|
42
16
|
"code-coverage": "run-s prepare-db coverage:only",
|
|
43
17
|
"migrate-db": "golemio migrate-db up --postgres",
|
|
44
18
|
"generate-docs": "typedoc --out docs/typedoc src",
|
|
@@ -59,7 +33,7 @@
|
|
|
59
33
|
},
|
|
60
34
|
"devDependencies": {
|
|
61
35
|
"@golemio/cli": "1.11.2",
|
|
62
|
-
"@golemio/core": "3.
|
|
36
|
+
"@golemio/core": "3.1.1",
|
|
63
37
|
"@golemio/db-common": "1.2.2",
|
|
64
38
|
"@golemio/eslint-config": "1.1.4",
|
|
65
39
|
"@types/chai": "^5.2.3",
|
|
@@ -83,10 +57,12 @@
|
|
|
83
57
|
"sinon": "^21.0.1",
|
|
84
58
|
"source-map-support": "0.5.21",
|
|
85
59
|
"supertest": "^7.1.4",
|
|
86
|
-
"
|
|
87
|
-
"ts-
|
|
60
|
+
"ts-node": "^10.9.1",
|
|
61
|
+
"ts-patch": "3.0.0-beta3",
|
|
62
|
+
"tsconfig-paths": "^4.2.0",
|
|
88
63
|
"typedoc": "^0.24.8",
|
|
89
|
-
"typescript": "
|
|
64
|
+
"typescript": "5.1.3",
|
|
65
|
+
"typescript-transform-paths": "^3.4.6"
|
|
90
66
|
},
|
|
91
67
|
"peerDependencies": {
|
|
92
68
|
"@golemio/core": ">=1.7.0"
|