@golemio/pid 2.14.6-dev.1376846280 → 2.14.6-dev.1380379736
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.
|
@@ -93,7 +93,7 @@ let PublicVehiclePositionsRepository = exports.PublicVehiclePositionsRepository
|
|
|
93
93
|
}
|
|
94
94
|
getAllVehiclePositionsForMultipleTrips(tripIds) {
|
|
95
95
|
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
-
|
|
96
|
+
const positionsByTrip = new Map();
|
|
97
97
|
if (!this.setName || tripIds.length === 0) {
|
|
98
98
|
this.log.debug("Empty setName for public vehicle positions api or empty trip ids.");
|
|
99
99
|
return positionsByTrip;
|
|
@@ -136,6 +136,9 @@ let PublicVehiclePositionsRepository = exports.PublicVehiclePositionsRepository
|
|
|
136
136
|
}
|
|
137
137
|
const futurePositions = yield this.getAllVehiclePositions(positionValues, tripIds);
|
|
138
138
|
for (const position of futurePositions) {
|
|
139
|
+
if (!positionsByTrip.has(position.gtfs_trip_id)) {
|
|
140
|
+
positionsByTrip.set(position.gtfs_trip_id, []);
|
|
141
|
+
}
|
|
139
142
|
positionsByTrip.get(position.gtfs_trip_id).push(position);
|
|
140
143
|
}
|
|
141
144
|
return positionsByTrip;
|
package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicVehiclePositionsRepository.js","sourceRoot":"","sources":["../../../../../src/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,2DAA6D;AAE7D,oGAAiG;AACjG,wEAAqE;AAErE,6EAAwE;AACxE,iEAAwE;AAGjE,IAAM,gCAAgC,8CAAtC,MAAM,gCAAgC;IAGzC,YAC0C,cAAwC,EACpD,GAAoB;QADA,mBAAc,GAAd,cAAc,CAAkB;QAC5C,QAAG,GAAH,GAAG,CAAS;QA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AiB;;YACjE,
|
|
1
|
+
{"version":3,"file":"PublicVehiclePositionsRepository.js","sourceRoot":"","sources":["../../../../../src/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,2DAA6D;AAE7D,oGAAiG;AACjG,wEAAqE;AAErE,6EAAwE;AACxE,iEAAwE;AAGjE,IAAM,gCAAgC,8CAAtC,MAAM,gCAAgC;IAGzC,YAC0C,cAAwC,EACpD,GAAoB;QADA,mBAAc,GAAd,cAAc,CAAkB;QAC5C,QAAG,GAAH,GAAG,CAAS;QAJ1C,YAAO,GAAuB,SAAS,CAAC,CAAC,qBAAqB;IAKnE,CAAC;IAES,gBAAgB,CAAC,WAAmC;;YAC7D,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;gBACf,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBAClE,OAAO,EAAE,CAAC;aACb;YAED,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,EAAE;gBACpC,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC;aACvC;YAED,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC;YACvD,IAAI,UAAU,GAAa,EAAE,CAAC;YAE9B,IAAI;gBACA,UAAU,GAAG,CAAC,MAAM,UAAU,CAAC,SAAS,CACpC,IAAI,CAAC,OAAO,EACZ,YAAY,EACZ,WAAW,CAAC,WAAW,CAAC,SAAS,EACjC,WAAW,CAAC,WAAW,CAAC,QAAQ,EAChC,OAAO,EACP,WAAW,CAAC,KAAK,EACjB,WAAW,CAAC,MAAM,EAClB,GAAG,EACH,KAAK,CACR,CAAa,CAAC;aAClB;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,IAAI,6BAAY,CAClB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,wCAAwC,GAAG,CAAC,OAAO,EAAE,EAC7E,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C,WAAW,CAAC,IAAI,EACrB,GAAG,CACN,CAAC;aACL;YAED,IAAI,eAAe,KAAK,IAAI,EAAE;gBAC1B,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,4BAA4B,SAAS,EAAE,CAAC,CAAC;gBAC/E,OAAO,IAAI,CAAC;aACf;YAED,IAAI;gBACA,OAAO,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;aACtC;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,kBAAkB,SAAS,KAAK,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;gBACtF,MAAM,IAAI,6BAAY,CAClB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,kBAAkB,SAAS,KAAK,GAAG,CAAC,OAAO,EAAE,EACrE,IAAI,CAAC,WAAW,CAAC,IAAI,EACrB,GAAG,CACN,CAAC;aACL;QACL,CAAC;KAAA;IAEM,iBAAiB,CAAC,IAAY;QACjC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACxB,CAAC;CACJ,CAAA;2CAxMY,gCAAgC;IAD5C,IAAA,qBAAU,GAAE;IAKJ,WAAA,IAAA,iBAAM,EAAC,6BAAa,CAAC,cAAc,CAAC,CAAA;IACpC,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,MAAM,CAAC,CAAA;qCADqC,mCAAgB;GAJzE,gCAAgC,CAwM5C"}
|
package/docs/openapi-output.yaml
CHANGED
|
@@ -635,7 +635,16 @@ paths:
|
|
|
635
635
|
schema:
|
|
636
636
|
type: string
|
|
637
637
|
example: "2020-04-07T06:32:29.000Z"
|
|
638
|
-
-
|
|
638
|
+
- in: header
|
|
639
|
+
name: Accept-Encoding
|
|
640
|
+
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
641
|
+
required: false
|
|
642
|
+
schema:
|
|
643
|
+
oneOf:
|
|
644
|
+
- type: string
|
|
645
|
+
enum:
|
|
646
|
+
- gzip
|
|
647
|
+
- identity
|
|
639
648
|
responses:
|
|
640
649
|
"200":
|
|
641
650
|
description: successful operation
|
|
@@ -707,7 +716,16 @@ paths:
|
|
|
707
716
|
schema:
|
|
708
717
|
type: string
|
|
709
718
|
example: "Europe_Prague"
|
|
710
|
-
-
|
|
719
|
+
- in: header
|
|
720
|
+
name: Accept-Encoding
|
|
721
|
+
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
722
|
+
required: false
|
|
723
|
+
schema:
|
|
724
|
+
oneOf:
|
|
725
|
+
- type: string
|
|
726
|
+
enum:
|
|
727
|
+
- gzip
|
|
728
|
+
- identity
|
|
711
729
|
responses:
|
|
712
730
|
"200":
|
|
713
731
|
description: successful operation
|
|
@@ -1090,7 +1108,16 @@ paths:
|
|
|
1090
1108
|
description: "Choose which scopes to include in response."
|
|
1091
1109
|
required: true
|
|
1092
1110
|
example: ["info"]
|
|
1093
|
-
-
|
|
1111
|
+
- in: header
|
|
1112
|
+
name: Accept-Encoding
|
|
1113
|
+
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
1114
|
+
required: false
|
|
1115
|
+
schema:
|
|
1116
|
+
oneOf:
|
|
1117
|
+
- type: string
|
|
1118
|
+
enum:
|
|
1119
|
+
- gzip
|
|
1120
|
+
- identity
|
|
1094
1121
|
responses:
|
|
1095
1122
|
200:
|
|
1096
1123
|
description: OK
|
|
@@ -1150,7 +1177,16 @@ paths:
|
|
|
1150
1177
|
- trolleybus
|
|
1151
1178
|
example: 'metro'
|
|
1152
1179
|
description: 'filter by transport type'
|
|
1153
|
-
-
|
|
1180
|
+
- in: header
|
|
1181
|
+
name: Accept-Encoding
|
|
1182
|
+
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
1183
|
+
required: false
|
|
1184
|
+
schema:
|
|
1185
|
+
oneOf:
|
|
1186
|
+
- type: string
|
|
1187
|
+
enum:
|
|
1188
|
+
- gzip
|
|
1189
|
+
- identity
|
|
1154
1190
|
responses:
|
|
1155
1191
|
200:
|
|
1156
1192
|
description: OK
|
|
@@ -1206,7 +1242,16 @@ paths:
|
|
|
1206
1242
|
description: "Choose which scopes to include in response."
|
|
1207
1243
|
required: true
|
|
1208
1244
|
example: ["info"]
|
|
1209
|
-
-
|
|
1245
|
+
- in: header
|
|
1246
|
+
name: Accept-Encoding
|
|
1247
|
+
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
1248
|
+
required: false
|
|
1249
|
+
schema:
|
|
1250
|
+
oneOf:
|
|
1251
|
+
- type: string
|
|
1252
|
+
enum:
|
|
1253
|
+
- gzip
|
|
1254
|
+
- identity
|
|
1210
1255
|
responses:
|
|
1211
1256
|
200:
|
|
1212
1257
|
description: OK
|
|
@@ -1273,7 +1318,16 @@ paths:
|
|
|
1273
1318
|
description: "Choose which scopes to include in response."
|
|
1274
1319
|
required: true
|
|
1275
1320
|
example: ["info"]
|
|
1276
|
-
-
|
|
1321
|
+
- in: header
|
|
1322
|
+
name: Accept-Encoding
|
|
1323
|
+
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
1324
|
+
required: false
|
|
1325
|
+
schema:
|
|
1326
|
+
oneOf:
|
|
1327
|
+
- type: string
|
|
1328
|
+
enum:
|
|
1329
|
+
- gzip
|
|
1330
|
+
- identity
|
|
1277
1331
|
responses:
|
|
1278
1332
|
200:
|
|
1279
1333
|
description: OK
|
|
@@ -1339,7 +1393,17 @@ paths:
|
|
|
1339
1393
|
maximum: 360
|
|
1340
1394
|
description: Default is 60. Maximum is 360 (6 hours)
|
|
1341
1395
|
example: 60
|
|
1342
|
-
-
|
|
1396
|
+
- in: header
|
|
1397
|
+
name: Accept-Encoding
|
|
1398
|
+
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
1399
|
+
required: false
|
|
1400
|
+
schema:
|
|
1401
|
+
oneOf:
|
|
1402
|
+
- type: string
|
|
1403
|
+
enum:
|
|
1404
|
+
- gzip
|
|
1405
|
+
- identity
|
|
1406
|
+
|
|
1343
1407
|
responses:
|
|
1344
1408
|
200:
|
|
1345
1409
|
description: OK
|
|
@@ -2872,13 +2936,3 @@ components:
|
|
|
2872
2936
|
type: boolean
|
|
2873
2937
|
example: true
|
|
2874
2938
|
nullable: true
|
|
2875
|
-
|
|
2876
|
-
headers:
|
|
2877
|
-
AcceptEncodingByDefault:
|
|
2878
|
-
name: Accept-Encoding
|
|
2879
|
-
in: header
|
|
2880
|
-
description: Indicate the content encoding (usually a compression algorithm) that the client can understand. See [mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) for more details. Note that for this endpoint, if no value is given, gzip compression will be used by default (the `identity` value can be used to opt out of the default compression).
|
|
2881
|
-
required: false
|
|
2882
|
-
schema:
|
|
2883
|
-
type: string
|
|
2884
|
-
example: "gzip"
|