@golemio/parkings 1.16.4 → 1.16.5-dev.1616258615
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/integration-engine/transformations/osm/OsmParkingSpaceTransformation.js +1 -2
- package/dist/integration-engine/transformations/osm/OsmParkingSpaceTransformation.js.map +1 -1
- package/dist/schema-definitions/datasources/osm/OsmParkingSpacesSchema.js +1 -0
- package/dist/schema-definitions/datasources/osm/OsmParkingSpacesSchema.js.map +1 -1
- package/dist/schema-definitions/datasources/osm/interfaces/IOsmParkingSpacesProperties.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9,9 +9,8 @@ class OsmParkingSpaceTransformation extends AbstractTransformation_1.AbstractTra
|
|
|
9
9
|
super(...arguments);
|
|
10
10
|
this.name = "OsmParkingSpaceTransformation";
|
|
11
11
|
this.transformInternal = (element) => {
|
|
12
|
-
var _a;
|
|
13
12
|
const transformed = {
|
|
14
|
-
id: `${SourceEnum_1.SourceEnum.OSM}-${
|
|
13
|
+
id: `${SourceEnum_1.SourceEnum.OSM}-${element.properties.parking_space_id}`,
|
|
15
14
|
source: SourceEnum_1.SourceEnum.OSM,
|
|
16
15
|
source_id: element.properties.parking_id,
|
|
17
16
|
data_provider: "www.openstreetmap.org",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OsmParkingSpaceTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/osm/OsmParkingSpaceTransformation.ts"],"names":[],"mappings":";;;AAAA,sEAA2D;AAE3D,+DAA8D;AAG9D,6GAA0G;AAG1G,MAAa,6BAA8B,SAAQ,+CAGlD;IAHD;;QAIW,SAAI,GAAW,+BAA+B,CAAC;QAE5C,sBAAiB,GAAG,CAAC,OAAqD,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"OsmParkingSpaceTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/osm/OsmParkingSpaceTransformation.ts"],"names":[],"mappings":";;;AAAA,sEAA2D;AAE3D,+DAA8D;AAG9D,6GAA0G;AAG1G,MAAa,6BAA8B,SAAQ,+CAGlD;IAHD;;QAIW,SAAI,GAAW,+BAA+B,CAAC;QAE5C,sBAAiB,GAAG,CAAC,OAAqD,EAAE,EAAE;YACpF,MAAM,WAAW,GAAqB;gBAClC,EAAE,EAAE,GAAG,uBAAU,CAAC,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE;gBAC9D,MAAM,EAAE,uBAAU,CAAC,GAAG;gBACtB,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU;gBACxC,aAAa,EAAE,uBAAuB;gBACtC,QAAQ,EAAE,OAAO,CAAC,QAA2B;gBAC7C,QAAQ,EAAE,IAAA,iCAAiB,EAAC,OAAO,CAAC,QAA2B,CAAC;gBAChE,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,QAAQ;gBAC9C,cAAc,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI;aACjF,CAAC;YAEF,OAAO,WAAW,CAAC;QACvB,CAAC,CAAC;IACN,CAAC;CAAA;AApBD,sEAoBC"}
|
|
@@ -5,6 +5,7 @@ exports.osmParkingSpacesSchema = {
|
|
|
5
5
|
type: "object",
|
|
6
6
|
properties: {
|
|
7
7
|
parking_id: { type: "string" },
|
|
8
|
+
parking_space_id: { type: "string" },
|
|
8
9
|
osm_id: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
9
10
|
name: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
10
11
|
capacity: { type: "integer" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OsmParkingSpacesSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/osm/OsmParkingSpacesSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,sBAAsB,GAAgD;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QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;QACzE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;QACvE,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QAC7B,MAAM,EAAE;YACJ,KAAK,EAAE;gBACH;oBACI,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE;wBACF,UAAU;wBACV,YAAY;wBACZ,UAAU;wBACV,IAAI;wBACJ,UAAU;wBACV,UAAU;wBACV,UAAU;wBACV,KAAK;wBACL,YAAY;wBACZ,QAAQ;wBACR,OAAO;qBACV;iBACJ;gBACD,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;aACnC;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,YAAY,CAAC;IACxB,oBAAoB,EAAE,KAAK;CAC9B,CAAC"}
|