@golemio/pid 2.13.6-dev.1313101349 → 2.13.6-dev.1313748965
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/db/example/02_pid_line_example_115.sql +148 -0
- package/db/migrations/postgresql/20240529165139-gtfs-index-optimization.js +53 -0
- package/db/migrations/postgresql/sqls/20240529165139-gtfs-index-optimization-down.sql +2 -0
- package/db/migrations/postgresql/sqls/20240529165139-gtfs-index-optimization-up.sql +2 -0
- package/dist/helpers/PassengerTransferEnums.d.ts +20 -0
- package/dist/helpers/PassengerTransferEnums.js +26 -0
- package/dist/helpers/PassengerTransferEnums.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CheckForNewDeparturesPresetsTask.js +0 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CheckForNewDeparturesPresetsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/DownloadDeparturesPresetsTask.js +0 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/DownloadDeparturesPresetsTask.js.map +1 -1
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.d.ts +1 -0
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.js +9 -6
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.js.map +1 -1
- package/dist/output-gateway/pid/PIDRouter.d.ts +1 -0
- package/dist/output-gateway/pid/PIDRouter.js +9 -9
- package/dist/output-gateway/pid/PIDRouter.js.map +1 -1
- package/dist/output-gateway/public/controllers/v1/PublicGtfsController.d.ts +6 -0
- package/dist/output-gateway/public/controllers/v1/PublicGtfsController.js +44 -0
- package/dist/output-gateway/public/controllers/v1/PublicGtfsController.js.map +1 -0
- package/dist/output-gateway/public/controllers/v1/interfaces/PublicParamsInterfaces.d.ts +4 -0
- package/dist/output-gateway/public/domain/ITripScopeHandler.d.ts +7 -0
- package/dist/output-gateway/public/domain/{ITripScopeHandlerFactory.js → ITripScopeHandler.js} +1 -1
- package/dist/output-gateway/public/domain/ITripScopeHandler.js.map +1 -0
- package/dist/output-gateway/public/domain/PublicApiGtfsTripLookupInterfaces.d.ts +35 -0
- package/dist/output-gateway/public/domain/PublicApiGtfsTripLookupInterfaces.js +3 -0
- package/dist/output-gateway/public/domain/PublicApiGtfsTripLookupInterfaces.js.map +1 -0
- package/dist/output-gateway/public/ioc/Di.js +34 -8
- package/dist/output-gateway/public/ioc/Di.js.map +1 -1
- package/dist/output-gateway/public/ioc/OgModuleToken.d.ts +10 -0
- package/dist/output-gateway/public/ioc/OgModuleToken.js +14 -0
- package/dist/output-gateway/public/ioc/OgModuleToken.js.map +1 -1
- package/dist/output-gateway/public/routers/v1/PublicDeparturesRouter.d.ts +2 -1
- package/dist/output-gateway/public/routers/v1/PublicDeparturesRouter.js +8 -4
- package/dist/output-gateway/public/routers/v1/PublicDeparturesRouter.js.map +1 -1
- package/dist/output-gateway/public/routers/v1/PublicGtfsRouter.d.ts +11 -0
- package/dist/output-gateway/public/routers/v1/PublicGtfsRouter.js +27 -0
- package/dist/output-gateway/public/routers/v1/PublicGtfsRouter.js.map +1 -0
- package/dist/output-gateway/public/routers/v1/PublicVehiclePositionsRouter.d.ts +2 -1
- package/dist/output-gateway/public/routers/v1/PublicVehiclePositionsRouter.js +12 -4
- package/dist/output-gateway/public/routers/v1/PublicVehiclePositionsRouter.js.map +1 -1
- package/dist/output-gateway/public/service/facade/DetailedTripFacade.d.ts +2 -2
- package/dist/output-gateway/public/service/facade/DetailedTripFacade.js.map +1 -1
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.d.ts +10 -0
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.js +50 -0
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.d.ts +11 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.js +43 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/AbstractGtfsTripScopeHandler.d.ts +6 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/AbstractGtfsTripScopeHandler.js +7 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/AbstractGtfsTripScopeHandler.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/InfoTripScopeHandler.d.ts +9 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/InfoTripScopeHandler.js +35 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/InfoTripScopeHandler.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/ShapesTripScopeHandler.d.ts +9 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/ShapesTripScopeHandler.js +36 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/ShapesTripScopeHandler.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/StopTimesTripScopeHandler.d.ts +9 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/StopTimesTripScopeHandler.js +38 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/StopTimesTripScopeHandler.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/VehicleDescriptorTripScopeHandler.d.ts +9 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/VehicleDescriptorTripScopeHandler.js +35 -0
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/VehicleDescriptorTripScopeHandler.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.d.ts +4 -5
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.js +6 -6
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/{AbstractTripScopeHandler.d.ts → AbstractDetailedTripScopeHandler.d.ts} +2 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractDetailedTripScopeHandler.js +7 -0
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractDetailedTripScopeHandler.js.map +1 -0
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/InfoTripScopeHandler.d.ts +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/InfoTripScopeHandler.js +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/InfoTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/ShapesTripScopeHandler.d.ts +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/ShapesTripScopeHandler.js +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/ShapesTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.d.ts +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.js +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/VehicleDescriptorTripScopeHandler.d.ts +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/VehicleDescriptorTripScopeHandler.js +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/VehicleDescriptorTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripInfoTransformation.d.ts +15 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripInfoTransformation.js +35 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripInfoTransformation.js.map +1 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripShapesTransformation.d.ts +7 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripShapesTransformation.js +30 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripShapesTransformation.js.map +1 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsVehicleDescriptorTransformation.d.ts +10 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsVehicleDescriptorTransformation.js +33 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsVehicleDescriptorTransformation.js.map +1 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicTripStopTimesTransformation.d.ts +8 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicTripStopTimesTransformation.js +46 -0
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicTripStopTimesTransformation.js.map +1 -0
- package/dist/output-gateway/ropid-gtfs/GTFSRouter.d.ts +2 -1
- package/dist/output-gateway/ropid-gtfs/GTFSRouter.js +30 -27
- package/dist/output-gateway/ropid-gtfs/GTFSRouter.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/data-access/GtfsTripScheduleRepository.d.ts +8 -0
- package/dist/output-gateway/ropid-gtfs/data-access/GtfsTripScheduleRepository.js +22 -0
- package/dist/output-gateway/ropid-gtfs/data-access/GtfsTripScheduleRepository.js.map +1 -0
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js +2 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.d.ts +9 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.js +93 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.d.ts +1 -0
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js +27 -9
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js +8 -2
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto.d.ts +19 -0
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto.js +3 -0
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto.js.map +1 -0
- package/docs/implementation_documentation.md +10 -1
- package/docs/openapi-output.yaml +151 -13
- package/package.json +2 -2
- package/dist/output-gateway/public/domain/ITripScopeHandlerFactory.d.ts +0 -5
- package/dist/output-gateway/public/domain/ITripScopeHandlerFactory.js.map +0 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractTripScopeHandler.js +0 -7
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractTripScopeHandler.js.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IRouteDto } from "./IRouteDto";
|
|
2
|
+
import { IShapeDto } from "./IShapeDto";
|
|
3
|
+
import { IStopDto } from "./IStopDto";
|
|
4
|
+
import { IStopTimesDto } from "./IStopTimesDto";
|
|
5
|
+
import { ITripDto } from "./ITripDto";
|
|
6
|
+
export interface IStopTimeWithStopDto extends IStopTimesDto {
|
|
7
|
+
stop: IStopDto;
|
|
8
|
+
}
|
|
9
|
+
export interface ITripWithDefinedRouteDto extends ITripWithOptionalAssociationsDto {
|
|
10
|
+
route: IRouteDto;
|
|
11
|
+
}
|
|
12
|
+
export interface ITripWithOptionalAssociationsDto extends ITripDto {
|
|
13
|
+
route?: IRouteDto;
|
|
14
|
+
stop_times?: IStopTimeWithStopDto[];
|
|
15
|
+
shapes?: IShapeDto[];
|
|
16
|
+
schedule?: {
|
|
17
|
+
run_number: number;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ITripWithOptionalAssociationsDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto.ts"],"names":[],"mappings":""}
|
|
@@ -595,7 +595,7 @@ Task se stará o aktualizaci cache pro public odjezdy. Pouští se pravidelně c
|
|
|
595
595
|
- žádné
|
|
596
596
|
- data modely
|
|
597
597
|
- RopidGTFSMetadataModel `ropidgtfs_metadata`
|
|
598
|
-
|
|
598
|
+
|
|
599
599
|
#### _DownloadDeparturesPresetsTask_
|
|
600
600
|
|
|
601
601
|
- vstupní rabbitmq fronta
|
|
@@ -1256,6 +1256,15 @@ Worker má na starost retenci dat tabulek Azure Table Storage
|
|
|
1256
1256
|
|
|
1257
1257
|
### Public
|
|
1258
1258
|
|
|
1259
|
+
#### _/public/gtfs/trips/{gtfsTripId}_
|
|
1260
|
+
|
|
1261
|
+
- načte statické informace o GTFS spoji z PSQL, případně jeho oběhové číslo pro současný den (pokud je k dispozici), shapes a zastávky
|
|
1262
|
+
- `info`: statické informace o GTFS spoji a jeho oběhové číslo pro současný den (pokud je k dispozici)
|
|
1263
|
+
- `stop_times`: seznam zastávek ve formátu geojson
|
|
1264
|
+
- `shapes`: seznam tvarů trasy podle GTFS ve formátu geojson
|
|
1265
|
+
- `vehicle_descriptor`: informace o vozidle - pouze očekáváná nízkopodlažnost vozidla načtená z GTFS trips.txt
|
|
1266
|
+
- cachováno na 4 hodiny pomocí cache-control hlavičky
|
|
1267
|
+
|
|
1259
1268
|
#### _/public/vehiclepositions_
|
|
1260
1269
|
|
|
1261
1270
|
- načte aktuální polohy vozidel z redisu a vrátí je ve formátu geojson
|
package/docs/openapi-output.yaml
CHANGED
|
@@ -31,6 +31,9 @@ tags:
|
|
|
31
31
|
- name: 🚏 PID Departure Boards
|
|
32
32
|
description: ""
|
|
33
33
|
|
|
34
|
+
- name: 🗓️ Public GTFS Static Lookup (experimental)
|
|
35
|
+
description: ""
|
|
36
|
+
|
|
34
37
|
- name: 🕐 Public Vehicle Positions (experimental)
|
|
35
38
|
description: ""
|
|
36
39
|
|
|
@@ -949,6 +952,52 @@ paths:
|
|
|
949
952
|
"404":
|
|
950
953
|
description: Not found
|
|
951
954
|
|
|
955
|
+
/public/gtfs/trips/{gtfsTripId}:
|
|
956
|
+
get:
|
|
957
|
+
tags:
|
|
958
|
+
- 🗓️ Public GTFS Static Lookup (experimental)
|
|
959
|
+
summary: GET GTFS Trip
|
|
960
|
+
description: "Get GTFS static trip info by trip ID, including associated stop times (without no stop waypoints) and shapes."
|
|
961
|
+
parameters:
|
|
962
|
+
- name: gtfsTripId
|
|
963
|
+
in: path
|
|
964
|
+
description:
|
|
965
|
+
Filter result by GTFS trip ID.
|
|
966
|
+
required: true
|
|
967
|
+
schema:
|
|
968
|
+
type: string
|
|
969
|
+
example: "115_107_180501"
|
|
970
|
+
- name: scopes
|
|
971
|
+
in: query
|
|
972
|
+
schema:
|
|
973
|
+
type: array
|
|
974
|
+
items:
|
|
975
|
+
type: string
|
|
976
|
+
enum:
|
|
977
|
+
- info
|
|
978
|
+
- stop_times
|
|
979
|
+
- shapes
|
|
980
|
+
- vehicle_descriptor
|
|
981
|
+
description: "Choose which scopes to include in response."
|
|
982
|
+
required: true
|
|
983
|
+
example: ["info"]
|
|
984
|
+
responses:
|
|
985
|
+
200:
|
|
986
|
+
description: OK
|
|
987
|
+
content:
|
|
988
|
+
application/json; charset=utf-8:
|
|
989
|
+
schema:
|
|
990
|
+
allOf:
|
|
991
|
+
- $ref: "#/components/schemas/ScopeStaticInfo"
|
|
992
|
+
- $ref: "#/components/schemas/ScopeStaticStopTimes"
|
|
993
|
+
- $ref: "#/components/schemas/ScopeShapes"
|
|
994
|
+
- $ref: "#/components/schemas/ScopeStaticVehicleDescriptor"
|
|
995
|
+
|
|
996
|
+
401:
|
|
997
|
+
$ref: "#/components/responses/UnauthorizedError"
|
|
998
|
+
404:
|
|
999
|
+
description: Not found
|
|
1000
|
+
|
|
952
1001
|
/public/vehiclepositions:
|
|
953
1002
|
get:
|
|
954
1003
|
tags:
|
|
@@ -1324,17 +1373,9 @@ components:
|
|
|
1324
1373
|
arrival_time:
|
|
1325
1374
|
type: string
|
|
1326
1375
|
example: "13:12:05"
|
|
1327
|
-
arrival_time_seconds:
|
|
1328
|
-
type: number
|
|
1329
|
-
format: int64
|
|
1330
|
-
nullable: true
|
|
1331
1376
|
departure_time:
|
|
1332
1377
|
type: string
|
|
1333
1378
|
example: "13:12:35"
|
|
1334
|
-
departure_time_seconds:
|
|
1335
|
-
type: number
|
|
1336
|
-
format: int64
|
|
1337
|
-
nullable: true
|
|
1338
1379
|
drop_off_type:
|
|
1339
1380
|
type: string
|
|
1340
1381
|
example: "0"
|
|
@@ -1362,10 +1403,6 @@ components:
|
|
|
1362
1403
|
trip_id:
|
|
1363
1404
|
type: string
|
|
1364
1405
|
example: "991_1156_180709"
|
|
1365
|
-
timepoint:
|
|
1366
|
-
type: number
|
|
1367
|
-
nullable: true
|
|
1368
|
-
example: 1
|
|
1369
1406
|
required:
|
|
1370
1407
|
- arrival_time
|
|
1371
1408
|
- departure_time
|
|
@@ -1375,7 +1412,6 @@ components:
|
|
|
1375
1412
|
- stop_id
|
|
1376
1413
|
- stop_sequence
|
|
1377
1414
|
- trip_id
|
|
1378
|
-
- timepoint
|
|
1379
1415
|
|
|
1380
1416
|
GTFSShape:
|
|
1381
1417
|
title: GTFS Shape
|
|
@@ -2248,12 +2284,51 @@ components:
|
|
|
2248
2284
|
description: "time when vehicle send last update"
|
|
2249
2285
|
example: "2023-12-06T12:00:00+01:00"
|
|
2250
2286
|
|
|
2287
|
+
ScopeStaticInfo:
|
|
2288
|
+
type: object
|
|
2289
|
+
properties:
|
|
2290
|
+
gtfs_trip_id:
|
|
2291
|
+
type: string
|
|
2292
|
+
nullable: false
|
|
2293
|
+
example: "115_107_180501"
|
|
2294
|
+
route_type:
|
|
2295
|
+
type: string
|
|
2296
|
+
nullable: false
|
|
2297
|
+
enum: ["tram", "metro", "train", "bus", "ferry", "funicular", "trolleybus", "ext_miscellaneous"]
|
|
2298
|
+
example: "bus"
|
|
2299
|
+
route_short_name:
|
|
2300
|
+
type: string
|
|
2301
|
+
nullable: false
|
|
2302
|
+
example: "22"
|
|
2303
|
+
shape_id:
|
|
2304
|
+
type: string
|
|
2305
|
+
nullable: true
|
|
2306
|
+
example: "L22V3"
|
|
2307
|
+
origin_route_name:
|
|
2308
|
+
type: string
|
|
2309
|
+
nullable: true
|
|
2310
|
+
example: "22"
|
|
2311
|
+
run_number:
|
|
2312
|
+
type: integer
|
|
2313
|
+
nullable: true
|
|
2314
|
+
example: 1
|
|
2315
|
+
trip_headsign:
|
|
2316
|
+
type: string
|
|
2317
|
+
nullable: true
|
|
2318
|
+
example: "Bílá Hora"
|
|
2319
|
+
|
|
2251
2320
|
ScopeStopTimes:
|
|
2252
2321
|
type: object
|
|
2253
2322
|
properties:
|
|
2254
2323
|
stop_times:
|
|
2255
2324
|
$ref: "#/components/schemas/PublicTripStopTimeFeatureCollection"
|
|
2256
2325
|
|
|
2326
|
+
ScopeStaticStopTimes:
|
|
2327
|
+
type: object
|
|
2328
|
+
properties:
|
|
2329
|
+
stop_times:
|
|
2330
|
+
$ref: "#/components/schemas/PublicTripStaticStopTimeFeatureCollection"
|
|
2331
|
+
|
|
2257
2332
|
ScopeShapes:
|
|
2258
2333
|
type: object
|
|
2259
2334
|
properties:
|
|
@@ -2292,6 +2367,17 @@ components:
|
|
|
2292
2367
|
nullable: true
|
|
2293
2368
|
example: "1001"
|
|
2294
2369
|
|
|
2370
|
+
ScopeStaticVehicleDescriptor:
|
|
2371
|
+
type: object
|
|
2372
|
+
properties:
|
|
2373
|
+
vehicle_descriptor:
|
|
2374
|
+
type: object
|
|
2375
|
+
properties:
|
|
2376
|
+
is_wheelchair_accessible:
|
|
2377
|
+
type: boolean
|
|
2378
|
+
nullable: true
|
|
2379
|
+
example: true
|
|
2380
|
+
|
|
2295
2381
|
PublicTripShapeFeatureCollection:
|
|
2296
2382
|
type: object
|
|
2297
2383
|
properties:
|
|
@@ -2379,6 +2465,58 @@ components:
|
|
|
2379
2465
|
type: string
|
|
2380
2466
|
example: FeatureCollection
|
|
2381
2467
|
|
|
2468
|
+
PublicTripStaticStopTimeFeatureCollection:
|
|
2469
|
+
type: object
|
|
2470
|
+
description: "List of stop and arrival, departure times for the trip. No stop waypoints are not included."
|
|
2471
|
+
properties:
|
|
2472
|
+
features:
|
|
2473
|
+
type: array
|
|
2474
|
+
items:
|
|
2475
|
+
type: object
|
|
2476
|
+
properties:
|
|
2477
|
+
geometry:
|
|
2478
|
+
$ref: "#/components/schemas/GeometryPoint"
|
|
2479
|
+
properties:
|
|
2480
|
+
type: object
|
|
2481
|
+
properties:
|
|
2482
|
+
stop_name:
|
|
2483
|
+
type: string
|
|
2484
|
+
nullable: false
|
|
2485
|
+
example: "Nádraží Veleslavín"
|
|
2486
|
+
stop_sequence:
|
|
2487
|
+
type: number
|
|
2488
|
+
nullable: false
|
|
2489
|
+
example: 3
|
|
2490
|
+
zone_id:
|
|
2491
|
+
type: string
|
|
2492
|
+
nullable: true
|
|
2493
|
+
example: "P"
|
|
2494
|
+
is_wheelchair_accessible:
|
|
2495
|
+
type: boolean
|
|
2496
|
+
nullable: true
|
|
2497
|
+
example: true
|
|
2498
|
+
shape_dist_traveled:
|
|
2499
|
+
type: number
|
|
2500
|
+
nullable: false
|
|
2501
|
+
example: 0
|
|
2502
|
+
arrival_time:
|
|
2503
|
+
type: string
|
|
2504
|
+
nullable: false
|
|
2505
|
+
description: "Time for arrival to the stop according to trip schedule."
|
|
2506
|
+
example: "12:00:00"
|
|
2507
|
+
departure_time:
|
|
2508
|
+
type: string
|
|
2509
|
+
nullable: false
|
|
2510
|
+
description: "Time for departure from the stop according to trip schedule."
|
|
2511
|
+
example: "12:00:10"
|
|
2512
|
+
type:
|
|
2513
|
+
type: string
|
|
2514
|
+
example: Feature
|
|
2515
|
+
|
|
2516
|
+
type:
|
|
2517
|
+
type: string
|
|
2518
|
+
example: FeatureCollection
|
|
2519
|
+
|
|
2382
2520
|
GeometryPoint:
|
|
2383
2521
|
type: object
|
|
2384
2522
|
description: GeoJson point
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/pid",
|
|
3
|
-
"version": "2.13.6-dev.
|
|
3
|
+
"version": "2.13.6-dev.1313748965",
|
|
4
4
|
"description": "Golemio PID Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@commitlint/cli": "^11.0.0",
|
|
38
38
|
"@commitlint/config-conventional": "^11.0.0",
|
|
39
39
|
"@golemio/cli": "1.5.0",
|
|
40
|
-
"@golemio/core": "1.10.2",
|
|
40
|
+
"@golemio/core": "1.10.2-dev.1310232704",
|
|
41
41
|
"@golemio/db-common": "1.1.4",
|
|
42
42
|
"@golemio/eslint-config": "1.1.2",
|
|
43
43
|
"@types/amqplib": "^0.5.17",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DetailedTripScope } from "../routers/v1/helpers/DetailedTripScopeEnum";
|
|
2
|
-
import { AbstractTripScopeHandler } from "../service/helpers/trip-scope/strategy/AbstractTripScopeHandler";
|
|
3
|
-
export interface ITripScopeHandlerFactory {
|
|
4
|
-
getStrategy(scope: DetailedTripScope): AbstractTripScopeHandler;
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITripScopeHandlerFactory.js","sourceRoot":"","sources":["../../../../src/output-gateway/public/domain/ITripScopeHandlerFactory.ts"],"names":[],"mappings":""}
|
package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractTripScopeHandler.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AbstractTripScopeHandler = void 0;
|
|
4
|
-
class AbstractTripScopeHandler {
|
|
5
|
-
}
|
|
6
|
-
exports.AbstractTripScopeHandler = AbstractTripScopeHandler;
|
|
7
|
-
//# sourceMappingURL=AbstractTripScopeHandler.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractTripScopeHandler.js","sourceRoot":"","sources":["../../../../../../../src/output-gateway/public/service/helpers/trip-scope/strategy/AbstractTripScopeHandler.ts"],"names":[],"mappings":";;;AAGA,MAAsB,wBAAwB;CAE7C;AAFD,4DAEC"}
|