@golemio/parkings 1.8.10-dev.1260319831 → 1.8.10-dev.1265714007
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.
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IptOictEntrancesTransformation = void 0;
|
|
4
|
-
const SourceEnum_1 = require("../../../helpers/constants/SourceEnum");
|
|
5
4
|
const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
|
|
6
5
|
class IptOictEntrancesTransformation extends AbstractTransformation_1.AbstractTransformation {
|
|
7
6
|
constructor(source) {
|
|
@@ -13,7 +12,7 @@ class IptOictEntrancesTransformation extends AbstractTransformation_1.AbstractTr
|
|
|
13
12
|
return {
|
|
14
13
|
entrance_id: element.properties.source_id,
|
|
15
14
|
source: this.source,
|
|
16
|
-
parking_id: `${
|
|
15
|
+
parking_id: `${this.source}-${element.properties.parking_id}`,
|
|
17
16
|
location: element.geometry,
|
|
18
17
|
entry: (_b = (_a = element.properties) === null || _a === void 0 ? void 0 : _a.entry) !== null && _b !== void 0 ? _b : null,
|
|
19
18
|
exit: (_d = (_c = element.properties) === null || _c === void 0 ? void 0 : _c.exit) !== null && _d !== void 0 ? _d : null,
|
package/dist/integration-engine/transformations/iptoict/IptOictEntrancesTransformation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IptOictEntrancesTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/iptoict/IptOictEntrancesTransformation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IptOictEntrancesTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/iptoict/IptOictEntrancesTransformation.ts"],"names":[],"mappings":";;;AAIA,6GAA0G;AAG1G,MAAa,8BAA+B,SAAQ,+CAGnD;IAGG,YAAoB,MAAc;QAC9B,KA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