@golemio/pid 2.18.0 → 2.18.1-dev.1427397189
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/00_clear_test_data.sql +2 -0
- package/db/example/03_ropidgtfs_dump.sql +36 -0
- package/db/example/20_jis_infotexts.sql +214 -0
- package/db/migrations/postgresql/20240801141948-jis-infotexts.js +53 -0
- package/db/migrations/postgresql/20240809084521-jis-infotexts-severity-level.js +53 -0
- package/db/migrations/postgresql/sqls/20240801141948-jis-infotexts-down.sql +2 -0
- package/db/migrations/postgresql/sqls/20240801141948-jis-infotexts-up.sql +19 -0
- package/db/migrations/postgresql/sqls/20240809084521-jis-infotexts-severity-level-down.sql +8 -0
- package/db/migrations/postgresql/sqls/20240809084521-jis-infotexts-severity-level-up.sql +7 -0
- package/dist/integration-engine/index.js +4 -0
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.d.ts +10 -0
- package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js +49 -0
- package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js.map +1 -0
- package/dist/integration-engine/jis/index.d.ts +1 -0
- package/dist/{output-gateway/pid/controllers → integration-engine/jis}/index.js +1 -2
- package/dist/integration-engine/jis/index.js.map +1 -0
- package/dist/integration-engine/jis/ioc/Di.d.ts +3 -0
- package/dist/integration-engine/jis/ioc/Di.js +31 -0
- package/dist/integration-engine/jis/ioc/Di.js.map +1 -0
- package/dist/integration-engine/jis/ioc/JISContainerToken.d.ts +9 -0
- package/dist/integration-engine/jis/ioc/JISContainerToken.js +18 -0
- package/dist/integration-engine/jis/ioc/JISContainerToken.js.map +1 -0
- package/dist/integration-engine/jis/repositories/JISInfotextsRepository.d.ts +36 -0
- package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js +101 -0
- package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js.map +1 -0
- package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.d.ts +36 -0
- package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.js +101 -0
- package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.js.map +1 -0
- package/dist/integration-engine/jis/services/JISInfotextsDataService.d.ts +20 -0
- package/dist/integration-engine/jis/services/JISInfotextsDataService.js +78 -0
- package/dist/integration-engine/jis/services/JISInfotextsDataService.js.map +1 -0
- package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.d.ts +13 -0
- package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.js +41 -0
- package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.js.map +1 -0
- package/dist/integration-engine/jis/workers/JISWorker.d.ts +7 -0
- package/dist/integration-engine/jis/workers/JISWorker.js +21 -0
- package/dist/integration-engine/jis/workers/JISWorker.js.map +1 -0
- package/dist/integration-engine/jis/workers/constants.d.ts +1 -0
- package/dist/integration-engine/jis/workers/constants.js +5 -0
- package/dist/integration-engine/jis/workers/constants.js.map +1 -0
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.d.ts +14 -0
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js +72 -0
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/data-access/helpers/RawQueryProvider.d.ts +3 -0
- package/dist/integration-engine/ropid-gtfs/data-access/helpers/RawQueryProvider.js +62 -0
- package/dist/integration-engine/ropid-gtfs/data-access/helpers/RawQueryProvider.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.d.ts +2 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js +21 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/interfaces/TripScheduleInterfaces.d.ts +22 -0
- package/dist/integration-engine/ropid-gtfs/interfaces/TripScheduleInterfaces.js +3 -0
- package/dist/integration-engine/ropid-gtfs/interfaces/TripScheduleInterfaces.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.d.ts +1 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js +11 -27
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js +22 -49
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.d.ts +0 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.js +1 -80
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/TripRepositoryInterfaces.d.ts +0 -17
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.d.ts +3 -6
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js +8 -19
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js.map +1 -1
- package/dist/output-gateway/departure-boards/index.d.ts +1 -1
- package/dist/output-gateway/departure-boards/index.js +1 -1
- package/dist/output-gateway/departure-boards/index.js.map +1 -1
- package/dist/output-gateway/departure-boards/routers/index.d.ts +1 -0
- package/dist/output-gateway/departure-boards/routers/index.js +6 -0
- package/dist/output-gateway/departure-boards/routers/index.js.map +1 -0
- package/dist/output-gateway/departure-boards/{DepartureBoardsRouter.d.ts → routers/v2/V2DepartureBoardsRouter.d.ts} +9 -8
- package/dist/output-gateway/departure-boards/{DepartureBoardsRouter.js → routers/v2/V2DepartureBoardsRouter.js} +19 -18
- package/dist/output-gateway/departure-boards/routers/v2/V2DepartureBoardsRouter.js.map +1 -0
- package/dist/output-gateway/index.d.ts +1 -0
- package/dist/output-gateway/index.js +25 -1
- package/dist/output-gateway/index.js.map +1 -1
- package/dist/output-gateway/pid/controllers/{DepartureBoardsController.d.ts → v2/V2DepartureBoardsController.d.ts} +1 -1
- package/dist/output-gateway/pid/controllers/{DepartureBoardsController.js → v2/V2DepartureBoardsController.js} +9 -9
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsController.js.map +1 -0
- package/dist/output-gateway/pid/controllers/{InfotextsController.d.ts → v2/V2InfotextsController.d.ts} +1 -1
- package/dist/output-gateway/pid/controllers/{InfotextsController.js → v2/V2InfotextsController.js} +6 -6
- package/dist/output-gateway/pid/controllers/v2/V2InfotextsController.js.map +1 -0
- package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.d.ts +10 -0
- package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.js +57 -0
- package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.js.map +1 -0
- package/dist/output-gateway/pid/data-access/JISInfotextRepository.d.ts +27 -0
- package/dist/output-gateway/pid/data-access/JISInfotextRepository.js +157 -0
- package/dist/output-gateway/pid/data-access/JISInfotextRepository.js.map +1 -0
- package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.d.ts +11 -0
- package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.js +37 -0
- package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.js.map +1 -0
- package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.d.ts +4 -0
- package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.js +9 -0
- package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.js.map +1 -0
- package/dist/output-gateway/pid/domain/InfotextInterfaces.d.ts +28 -0
- package/dist/output-gateway/pid/domain/InfotextInterfaces.js +3 -0
- package/dist/output-gateway/pid/domain/InfotextInterfaces.js.map +1 -0
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.d.ts +3 -3
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js +1 -1
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js.map +1 -1
- package/dist/output-gateway/pid/index.d.ts +1 -1
- package/dist/output-gateway/pid/index.js +1 -1
- package/dist/output-gateway/pid/index.js.map +1 -1
- package/dist/output-gateway/pid/ioc/Di.d.ts +3 -0
- package/dist/output-gateway/pid/ioc/Di.js +23 -0
- package/dist/output-gateway/pid/ioc/Di.js.map +1 -0
- package/dist/output-gateway/pid/ioc/OgPidToken.d.ts +7 -0
- package/dist/output-gateway/pid/ioc/OgPidToken.js +17 -0
- package/dist/output-gateway/pid/ioc/OgPidToken.js.map +1 -0
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.d.ts +2 -1
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js +20 -10
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js.map +1 -1
- package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.d.ts +2 -19
- package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.js +4 -64
- package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.js.map +1 -1
- package/dist/output-gateway/pid/routers/index.d.ts +2 -0
- package/dist/output-gateway/pid/routers/index.js +8 -0
- package/dist/output-gateway/pid/routers/index.js.map +1 -0
- package/dist/output-gateway/pid/{PIDRouter.d.ts → routers/v2/V2PIDRouter.d.ts} +5 -4
- package/dist/output-gateway/pid/{PIDRouter.js → routers/v2/V2PIDRouter.js} +20 -17
- package/dist/output-gateway/pid/routers/v2/V2PIDRouter.js.map +1 -0
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.d.ts +11 -0
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.js +31 -0
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.js.map +1 -0
- package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.d.ts +10 -0
- package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.js +25 -0
- package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.js.map +1 -0
- package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.d.ts +13 -0
- package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.js +35 -0
- package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.js.map +1 -0
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.d.ts +19 -0
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js +43 -0
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js.map +1 -0
- package/dist/output-gateway/public/controllers/{v1/PublicDepartureBoardsController.d.ts → v2/V2PublicDepartureBoardsController.d.ts} +1 -1
- package/dist/output-gateway/public/controllers/{v1/PublicDepartureBoardsController.js → v2/V2PublicDepartureBoardsController.js} +5 -5
- package/dist/output-gateway/public/controllers/v2/V2PublicDepartureBoardsController.js.map +1 -0
- package/dist/output-gateway/public/controllers/{v1/PublicGtfsController.d.ts → v2/V2PublicGtfsController.d.ts} +1 -1
- package/dist/output-gateway/public/controllers/{v1/PublicGtfsController.js → v2/V2PublicGtfsController.js} +5 -5
- package/dist/output-gateway/public/controllers/v2/V2PublicGtfsController.js.map +1 -0
- package/dist/output-gateway/public/controllers/{v1/PublicVehiclePositionsController.d.ts → v2/V2PublicVehiclePositionsController.d.ts} +1 -1
- package/dist/output-gateway/public/controllers/{v1/PublicVehiclePositionsController.js → v2/V2PublicVehiclePositionsController.js} +4 -4
- package/dist/output-gateway/public/controllers/v2/V2PublicVehiclePositionsController.js.map +1 -0
- package/dist/output-gateway/public/controllers/{v1 → v2}/interfaces/PublicParamsInterfaces.d.ts +1 -1
- package/dist/output-gateway/public/controllers/{v1 → v2}/interfaces/PublicParamsInterfaces.js.map +1 -1
- package/dist/output-gateway/public/index.d.ts +1 -0
- package/dist/output-gateway/public/index.js +18 -0
- package/dist/output-gateway/public/index.js.map +1 -0
- package/dist/output-gateway/public/routers/index.d.ts +3 -0
- package/dist/output-gateway/public/routers/index.js +10 -0
- package/dist/output-gateway/public/routers/index.js.map +1 -0
- package/dist/output-gateway/public/routers/{v1/PublicDeparturesRouter.d.ts → v2/V2PublicDeparturesRouter.d.ts} +4 -3
- package/dist/output-gateway/public/routers/{v1/PublicDeparturesRouter.js → v2/V2PublicDeparturesRouter.js} +11 -8
- package/dist/output-gateway/public/routers/v2/V2PublicDeparturesRouter.js.map +1 -0
- package/dist/output-gateway/public/routers/{v1/PublicGtfsRouter.d.ts → v2/V2PublicGtfsRouter.d.ts} +4 -3
- package/dist/output-gateway/public/routers/{v1/PublicGtfsRouter.js → v2/V2PublicGtfsRouter.js} +11 -8
- package/dist/output-gateway/public/routers/v2/V2PublicGtfsRouter.js.map +1 -0
- package/dist/output-gateway/public/routers/{v1/PublicVehiclePositionsRouter.d.ts → v2/V2PublicVehiclePositionsRouter.d.ts} +4 -3
- package/dist/output-gateway/public/routers/{v1/PublicVehiclePositionsRouter.js → v2/V2PublicVehiclePositionsRouter.js} +11 -8
- package/dist/output-gateway/public/routers/v2/V2PublicVehiclePositionsRouter.js.map +1 -0
- package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomScopeValidator.js.map +1 -1
- package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomStopIdGroupValidator.js.map +1 -1
- package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomTypeValidator.js.map +1 -1
- package/dist/output-gateway/public/routers/{v1 → v2}/helpers/DetailedTripScopeEnum.js.map +1 -1
- package/dist/output-gateway/public/service/facade/DepartureBoardFacade.d.ts +1 -1
- package/dist/output-gateway/public/service/facade/DetailedTripFacade.d.ts +1 -1
- package/dist/output-gateway/public/service/facade/DetailedTripFacade.js +1 -1
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.d.ts +1 -1
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.js +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.d.ts +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.js +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.d.ts +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.js +1 -1
- package/dist/output-gateway/ropid-gtfs/index.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/index.js +1 -1
- package/dist/output-gateway/ropid-gtfs/index.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/routers/index.d.ts +1 -0
- package/dist/output-gateway/ropid-gtfs/routers/index.js +6 -0
- package/dist/output-gateway/ropid-gtfs/routers/index.js.map +1 -0
- package/dist/output-gateway/ropid-gtfs/{GTFSRouter.d.ts → routers/v2/V2GTFSRouter.d.ts} +11 -13
- package/dist/output-gateway/ropid-gtfs/{GTFSRouter.js → routers/v2/V2GTFSRouter.js} +16 -16
- package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.js.map +1 -0
- package/dist/output-gateway/shared/RopidRouterUtils.d.ts +4 -0
- package/dist/output-gateway/shared/RopidRouterUtils.js +11 -0
- package/dist/output-gateway/shared/RopidRouterUtils.js.map +1 -1
- package/dist/output-gateway/shared/constants/index.d.ts +1 -0
- package/dist/output-gateway/shared/constants/index.js +1 -0
- package/dist/output-gateway/shared/constants/index.js.map +1 -1
- package/dist/output-gateway/shared/constants/route-version.d.ts +5 -0
- package/dist/output-gateway/shared/constants/route-version.js +10 -0
- package/dist/output-gateway/shared/constants/route-version.js.map +1 -0
- package/dist/output-gateway/vehicle-positions/index.d.ts +1 -1
- package/dist/output-gateway/vehicle-positions/index.js +1 -1
- package/dist/output-gateway/vehicle-positions/index.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/routers/index.d.ts +1 -0
- package/dist/output-gateway/vehicle-positions/routers/index.js +6 -0
- package/dist/output-gateway/vehicle-positions/routers/index.js.map +1 -0
- package/dist/output-gateway/vehicle-positions/{VehiclePositionsRouter.d.ts → routers/v2/V2VehiclePositionsRouter.d.ts} +6 -6
- package/dist/output-gateway/vehicle-positions/{VehiclePositionsRouter.js → routers/v2/V2VehiclePositionsRouter.js} +12 -11
- package/dist/output-gateway/vehicle-positions/routers/v2/V2VehiclePositionsRouter.js.map +1 -0
- package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.d.ts +3 -0
- package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js +59 -0
- package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js.map +1 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.d.ts +16 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.js +3 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.js.map +1 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.d.ts +3 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.js +3 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.js.map +1 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationText.d.ts +4 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationText.js +3 -0
- package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationText.js.map +1 -0
- package/dist/schema-definitions/jis/datasources/interfaces/index.d.ts +3 -0
- package/dist/schema-definitions/jis/datasources/interfaces/index.js +20 -0
- package/dist/schema-definitions/jis/datasources/interfaces/index.js.map +1 -0
- package/dist/schema-definitions/jis/models/JISInfotextsModel.d.ts +19 -0
- package/dist/schema-definitions/jis/models/JISInfotextsModel.js +80 -0
- package/dist/schema-definitions/jis/models/JISInfotextsModel.js.map +1 -0
- package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.d.ts +12 -0
- package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.js +41 -0
- package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.js.map +1 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.d.ts +10 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.js +3 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.js.map +1 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.d.ts +4 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.js +3 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.js.map +1 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISTranslationText.d.ts +4 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISTranslationText.js +3 -0
- package/dist/schema-definitions/jis/models/interfaces/IJISTranslationText.js.map +1 -0
- package/dist/schema-definitions/jis/models/interfaces/index.d.ts +3 -0
- package/dist/schema-definitions/jis/models/interfaces/index.js +20 -0
- package/dist/schema-definitions/jis/models/interfaces/index.js.map +1 -0
- package/docs/assets/pid_jis_erd.png +0 -0
- package/docs/asyncapi.yaml +1371 -1332
- package/docs/implementation_documentation.md +86 -35
- package/docs/openapi-output.yaml +128 -69
- package/package.json +3 -3
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.js.map +0 -1
- package/dist/output-gateway/pid/PIDRouter.js.map +0 -1
- package/dist/output-gateway/pid/controllers/DepartureBoardsController.js.map +0 -1
- package/dist/output-gateway/pid/controllers/InfotextsController.js.map +0 -1
- package/dist/output-gateway/pid/controllers/index.d.ts +0 -2
- package/dist/output-gateway/pid/controllers/index.js.map +0 -1
- package/dist/output-gateway/public/controllers/v1/PublicDepartureBoardsController.js.map +0 -1
- package/dist/output-gateway/public/controllers/v1/PublicGtfsController.js.map +0 -1
- package/dist/output-gateway/public/controllers/v1/PublicVehiclePositionsController.js.map +0 -1
- package/dist/output-gateway/public/routers/v1/PublicDeparturesRouter.js.map +0 -1
- package/dist/output-gateway/public/routers/v1/PublicGtfsRouter.js.map +0 -1
- package/dist/output-gateway/public/routers/v1/PublicVehiclePositionsRouter.js.map +0 -1
- package/dist/output-gateway/ropid-gtfs/GTFSRouter.js.map +0 -1
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js.map +0 -1
- /package/dist/output-gateway/public/controllers/{v1 → v2}/interfaces/PublicParamsInterfaces.js +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomScopeValidator.d.ts +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomScopeValidator.js +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomStopIdGroupValidator.d.ts +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomStopIdGroupValidator.js +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomTypeValidator.d.ts +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomTypeValidator.js +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/DetailedTripScopeEnum.d.ts +0 -0
- /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/DetailedTripScopeEnum.js +0 -0
|
@@ -719,3 +719,39 @@ VALUES
|
|
|
719
719
|
(1.663,E'Sh1',50.11778512163701,14.460582733154297,25,NULL,E'2019-05-27 05:21:35.159+02',NULL,NULL,E'2019-05-27 05:21:35.159+02',NULL);
|
|
720
720
|
|
|
721
721
|
-- <<<
|
|
722
|
+
|
|
723
|
+
-- 209_1768_240722 for GTFS trip schedule lookup integration tests
|
|
724
|
+
INSERT INTO ropidgtfs_run_numbers_actual (route_id,run_number,service_id,trip_id,vehicle_type,trip_number,route_licence_number,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
725
|
+
('L209',42,'1111111-1','209_1768_240722',33,1032,100209,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
726
|
+
|
|
727
|
+
INSERT INTO ropidgtfs_stop_times_actual (arrival_time,arrival_time_seconds,departure_time,departure_time_seconds,drop_off_type,pickup_type,shape_dist_traveled,stop_headsign,stop_id,stop_sequence,trip_id,timepoint,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
728
|
+
('11:20:00',NULL,'11:20:00',NULL,'3','3',0.0,NULL,'U461Z2P',1,'209_1768_240722',NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL),
|
|
729
|
+
('12:12:00',NULL,'12:12:00',NULL,'3','3',25.267349,NULL,'U1000Z6P',2,'209_1768_240722',NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
730
|
+
|
|
731
|
+
INSERT INTO ropidgtfs_trips_actual (bikes_allowed,block_id,direction_id,exceptional,route_id,service_id,shape_id,trip_headsign,trip_id,wheelchair_accessible,trip_operation_type,trip_short_name,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
732
|
+
(2,NULL,1,0,'L209','1111111-1','L209V3','Letňany','209_1768_240722',1,NULL,NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
733
|
+
|
|
734
|
+
INSERT INTO ropidgtfs_routes_actual (agency_id,is_night,route_color,route_desc,route_id,route_long_name,route_short_name,route_text_color,route_type,route_url,is_regional,is_substitute_transport,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
735
|
+
('99','0','007DA8',NULL,'L209','Letňany - Ve Žlíbku - Nádraží Uhříněves','209','FFFFFF',3,'https://pid.cz/linka/209','0','0',NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
-- 301_1_240701 and 174_73_240701 for GTFS overnight block schedule lookup integration tests
|
|
739
|
+
INSERT INTO ropidgtfs_run_numbers_actual (route_id,run_number,service_id,trip_id,vehicle_type,trip_number,route_licence_number,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
740
|
+
('L352',1,'1111111-1','301_1_240701',33,NULL,100301,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL),
|
|
741
|
+
('L352',1,'1111111-1','174_73_240701',33,NULL,100174,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
742
|
+
|
|
743
|
+
INSERT INTO ropidgtfs_stop_times_actual (arrival_time,arrival_time_seconds,departure_time,departure_time_seconds,drop_off_type,pickup_type,shape_dist_traveled,stop_headsign,stop_id,stop_sequence,trip_id,timepoint,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
744
|
+
('21:00:00',NULL,'21:00:00',NULL,'3','3',0.0,NULL,'U1200Z2',1,'301_1_240701',NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL),
|
|
745
|
+
('00:30:00',NULL,'00:30:00',NULL,'3','3',8.636368,NULL,'U1007Z71',2,'301_1_240701',NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
746
|
+
|
|
747
|
+
INSERT INTO ropidgtfs_stop_times_actual (arrival_time,arrival_time_seconds,departure_time,departure_time_seconds,drop_off_type,pickup_type,shape_dist_traveled,stop_headsign,stop_id,stop_sequence,trip_id,timepoint,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
748
|
+
('00:30:00',NULL,'00:30:00',NULL,'3','3',0.0,NULL,'U1007Z71P',1,'174_73_240701',NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL),
|
|
749
|
+
('00:50:00',NULL,'00:50:00',NULL,'3','3',6.388777,NULL,'U872Z8P',2,'174_73_240701',NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
750
|
+
|
|
751
|
+
INSERT INTO ropidgtfs_trips_actual (bikes_allowed,block_id,direction_id,exceptional,route_id,service_id,shape_id,trip_headsign,trip_id,wheelchair_accessible,trip_operation_type,trip_short_name,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
752
|
+
(2,'301_1_240701',1,0,'L301','1111111-1','L301V1','Praha,Luka','301_1_240701',1,NULL,NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL),
|
|
753
|
+
(2,'301_1_240701',1,0,'L174','1111111-1','L174V5','Vypich','174_73_240701',1,NULL,NULL,NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
754
|
+
|
|
755
|
+
INSERT INTO ropidgtfs_routes_actual (agency_id,is_night,route_color,route_desc,route_id,route_long_name,route_short_name,route_text_color,route_type,route_url,is_regional,is_substitute_transport,create_batch_id,created_at,created_by,update_batch_id,updated_at,updated_by) VALUES
|
|
756
|
+
('99','0','007DA8',NULL,'L301','Praha, Luka - Chýnice','301','FFFFFF',3,'https://pid.cz/linka/301','1','0',NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL),
|
|
757
|
+
('99','0','007DA8',NULL,'L174','Kukulova - Luka - Řeporyjské náměstí - Třebonice','174','FFFFFF',3,'https://pid.cz/linka/174','0','0',NULL,'2024-08-12 05:22:55.858',NULL,NULL,'2024-08-12 05:22:55.858',NULL);
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
-- 0
|
|
2
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
3
|
+
('40507cee-6468-488e-ba78-e36d9c20e67c','SEVERE','INLINE','2024-02-07 13:11:00.000+01',NULL,'{"cs": "Provoz tramvají směrem z centra na Starý Hloubětín z důvodu údržby přerušen do neděle 18:00. Zaveden autobus X-8.", "en": "No tram service in direction to Starý Hloubětín until Sunday 18:00 due to track maintenance. Replacement bus X-8 instated."}','2024-02-07 13:24:55.000',now() + interval '1 day');
|
|
4
|
+
|
|
5
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
6
|
+
('40507cee-6468-488e-ba78-e36d9c20e67c','U1131Z1P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
7
|
+
|
|
8
|
+
-- 1
|
|
9
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
10
|
+
('6bdc3fdb-dd18-438b-878a-7972bddb0d92',
|
|
11
|
+
'SEVERE',
|
|
12
|
+
'INLINE',
|
|
13
|
+
'2024-03-05 08:30:00.000+02',
|
|
14
|
+
NULL,
|
|
15
|
+
'{"cs": "cca 8:30 - 9:15: VŠECHNY LINKY ODKLON do zast. BUDĚJOVICKÁ, stanice Kačerov uzavřena.", "en": "approx. 8:30 - 9:15: ALL LINES DEPARTURE to stop. BUDĚJOVICKÁ, station Kačerov closed."}',
|
|
16
|
+
'2024-02-07 13:24:55.000',
|
|
17
|
+
now() + interval '1 day');
|
|
18
|
+
|
|
19
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
20
|
+
('6bdc3fdb-dd18-438b-878a-7972bddb0d92','U1132Z1P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
21
|
+
('6bdc3fdb-dd18-438b-878a-7972bddb0d92','U663Z2P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
22
|
+
|
|
23
|
+
-- 2
|
|
24
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
25
|
+
('eba39046-86d2-4f8c-aa39-932dfcfd6d0f',
|
|
26
|
+
'SEVERE',
|
|
27
|
+
'INLINE',
|
|
28
|
+
'2024-03-04 13:11:00.000+02',
|
|
29
|
+
NULL,
|
|
30
|
+
'{"cs": "Cizí dopravní nehoda ve Psárském lese. Linka 332 je odkloněna přes Libeř, přičemž neobsluhuje zastávku Psáry,Domov Laguna.", "en": "Traffic accident in the Psar Forest. Line 332 is diverted via Libeř, while it does not serve the stop Psáry,Domov Laguna.."}',
|
|
31
|
+
'2024-02-07 13:24:55.000',
|
|
32
|
+
now() + interval '1 day');
|
|
33
|
+
|
|
34
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
35
|
+
('eba39046-86d2-4f8c-aa39-932dfcfd6d0f','U713Z102P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
36
|
+
('eba39046-86d2-4f8c-aa39-932dfcfd6d0f','U921Z102P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
37
|
+
|
|
38
|
+
-- 3
|
|
39
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
40
|
+
('8556cf18-786b-453a-a516-85c8fe2b9878',
|
|
41
|
+
'SEVERE',
|
|
42
|
+
'INLINE',
|
|
43
|
+
'2024-03-02 10:00:00.000+02',
|
|
44
|
+
NULL,
|
|
45
|
+
'{"cs": "Dnes v noci tramvaje mimo provoz. Zastávky náhradních autobusů X8 a X90: směr Lehovec - vlevo, u Lidlu; směr Palmovka - na chodníku u původní tramvajové zastávky.", "en": "Trams out of service tonight. Stopping points for replacement buses X8 and X90: direction Lehovec - left, near Lidl; direction Palmovka - on the pavement near the original tram stop."}',
|
|
46
|
+
'2024-02-07 13:24:55.000',
|
|
47
|
+
now() + interval '1 day');
|
|
48
|
+
|
|
49
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
50
|
+
('8556cf18-786b-453a-a516-85c8fe2b9878','U1334Z2P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
51
|
+
|
|
52
|
+
-- 4
|
|
53
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
54
|
+
('9923c199-d61c-47fa-9f7e-14d01473eb18',
|
|
55
|
+
'SEVERE',
|
|
56
|
+
'GENERAL',
|
|
57
|
+
'2024-03-18 16:00:00.000+02',
|
|
58
|
+
NULL,
|
|
59
|
+
'{"cs": "Dnes v sobotu 8. konání půl maratonu. Od 16h do 23h změna trasy linek 392, 395, 500, 501, 502, 503, 506, 517, 531, 754. Podrobnosti na zastávkách a pid.cz/zmeny", "en": "Today on Saturday the 8th holding of the half marathon. From 16h to 23h change of route of lines 392, 395, 500, 501, 502, 503, 506, 517, 531, 754. Details at the stops and pid.cz/changes"}',
|
|
60
|
+
'2024-02-07 13:24:55.000',
|
|
61
|
+
now() + interval '1 day');
|
|
62
|
+
|
|
63
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
64
|
+
('9923c199-d61c-47fa-9f7e-14d01473eb18','U376Z105P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
65
|
+
('8556cf18-786b-453a-a516-85c8fe2b9878','U21Z1P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
66
|
+
|
|
67
|
+
-- 5
|
|
68
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
69
|
+
('0a3c97d0-43d4-4882-8a1d-27079044f51b',
|
|
70
|
+
'SEVERE',
|
|
71
|
+
'INLINE',
|
|
72
|
+
'2024-03-25 10:00:00.000+02',
|
|
73
|
+
NULL,
|
|
74
|
+
'{"cs": "Do 15:00 je zastávka mimo provoz. Linky 1, 12 a 25 odjíždí ze stanoviště D, od nábřeží. Linky 8 jede ze stanoviště E od Výstaviště, linka 26 zde neprojíždí.", "en": "The stop is out of service until 15:00. Lines 1, 12 and 25 depart from Station D, from the waterfront. Line 8 departs from station E from the Exhibition Grounds, line 26 does not run here."}',
|
|
75
|
+
'2024-02-07 13:24:55.000',
|
|
76
|
+
now() + interval '1 day');
|
|
77
|
+
|
|
78
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
79
|
+
('0a3c97d0-43d4-4882-8a1d-27079044f51b','U476Z104P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
80
|
+
('0a3c97d0-43d4-4882-8a1d-27079044f51b','U476Z103P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
81
|
+
|
|
82
|
+
-- 6
|
|
83
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
84
|
+
('ba52df69-5db3-4c60-94be-8f4b5442c1e0',
|
|
85
|
+
'SEVERE',
|
|
86
|
+
'INLINE',
|
|
87
|
+
'2024-03-11 13:11:00.000+02',
|
|
88
|
+
'2024-09-11 16:00:00.000+02',
|
|
89
|
+
'{"cs": "Do 16:00 zde nejezdí tramvaje z důvodu údržby tratě, mezi Palmovkou a Lehovcem využijte náhradní autobus X-8.", "en": "Trams do not run here until 16:00 due to track maintenance, use the alternative bus X-8 between Palmovka and Lehovec."}',
|
|
90
|
+
'2024-02-07 13:24:55.000',
|
|
91
|
+
now() + interval '1 day');
|
|
92
|
+
|
|
93
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
94
|
+
('ba52df69-5db3-4c60-94be-8f4b5442c1e0','U953Z102P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
95
|
+
('ba52df69-5db3-4c60-94be-8f4b5442c1e0','U21Z2P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
96
|
+
|
|
97
|
+
-- 7
|
|
98
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
99
|
+
('ee330c7f-cf53-4762-a231-08af9f22442f',
|
|
100
|
+
'SEVERE',
|
|
101
|
+
'INLINE',
|
|
102
|
+
'2024-03-04 10:00:00.000+02',
|
|
103
|
+
'2024-08-10 18:00:00.000+02',
|
|
104
|
+
'{"cs": "Do 18:00 údržba tramvajové trati Hlubočepy – Slivenec. Tram 12 a 20 zkráceny do zastávky Hlubočepy.", "en": "Until 18:00 maintenance of the tram line Hlubočepy - Slivenec. Tram 12 and 20 shortened to the Hlubočepy stop."}',
|
|
105
|
+
'2024-02-07 13:24:55.000',
|
|
106
|
+
now() + interval '1 day');
|
|
107
|
+
|
|
108
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
109
|
+
('ee330c7f-cf53-4762-a231-08af9f22442f','U118Z102P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
110
|
+
|
|
111
|
+
-- 8
|
|
112
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
113
|
+
('265cdc5b-d6da-48e0-a114-6901200c4d46',
|
|
114
|
+
'SEVERE',
|
|
115
|
+
'GENERAL',
|
|
116
|
+
'2024-03-27 10:00:00.000+02',
|
|
117
|
+
'2024-09-11 00:00:00.000+02',
|
|
118
|
+
'{"cs": "Do 10.9. 24:00 nepojedou tramvaje mezi Výstavištěm a Strossmayerovým náměstím. Pro cestu na Strossmayerovo náměstí použijte linky 12 nebo 17.", "en": "Trams will not run between Výstaviště and Strossmayer Square until 24:00 on 24 April. Use lines 12 or 17 to get to Strossmayer Square."}',
|
|
119
|
+
'2024-02-07 13:24:55.000',
|
|
120
|
+
now() + interval '1 day');
|
|
121
|
+
|
|
122
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
123
|
+
('265cdc5b-d6da-48e0-a114-6901200c4d46','U462Z102P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
124
|
+
|
|
125
|
+
-- 9
|
|
126
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
127
|
+
('adfd2cef-9c2c-4ed0-bd0d-be0b3216faad',
|
|
128
|
+
'SEVERE',
|
|
129
|
+
'INLINE',
|
|
130
|
+
'2024-03-28 09:00:00.000+02',
|
|
131
|
+
'2024-09-22 00:00:00.000+02',
|
|
132
|
+
'{"cs": "Do nedělní půlnoci přerušen provoz odsud na Výstaviště. Linka 6 jede přes Pražskou tržnici. Polovina spojů 17 odkloněna přes Pražskou tržnici a Nádraží Holešovice. Druhá polovina pokračuje jako 27 přes Letnou na Špejchar. Využijte náhradní autobus X6.", "en": "Until Sunday midnight no tram service from here to Výstaviště. Tram 6 diverted via Pražská tržnice. Every other tram 17 diverted via Pražská tržnice and Nádraží Holešovice. The rest of 17 turns left to end at Špejchar. Use substitute bus X6."}',
|
|
133
|
+
'2024-02-07 13:24:55.000',
|
|
134
|
+
now() + interval '1 day');
|
|
135
|
+
|
|
136
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
137
|
+
('adfd2cef-9c2c-4ed0-bd0d-be0b3216faad','U209Z102P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
138
|
+
|
|
139
|
+
-- 10
|
|
140
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
141
|
+
('15bd72da-a3da-484b-b592-742deab84b55',
|
|
142
|
+
'WARNING',
|
|
143
|
+
'INLINE',
|
|
144
|
+
'2024-03-22 13:11:00.000+02',
|
|
145
|
+
'2024-10-06 13:11:00.000+02',
|
|
146
|
+
'{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi I. P. Pavlova a Nádraží Holešovice. Náhradní autobus X-C navazuje ze zastávky I. P. Pavlova.", "en": "Until Monday midnight, the C metro station is closed between I. P. Pavlova and Nádraží Holešovice. A replacement bus X-C will connect from the stop I. P. Pavlova."}',
|
|
147
|
+
'2024-02-07 13:24:55.000',
|
|
148
|
+
now() + interval '1 day');
|
|
149
|
+
|
|
150
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
151
|
+
('15bd72da-a3da-484b-b592-742deab84b55','U476Z102P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
152
|
+
('15bd72da-a3da-484b-b592-742deab84b55','U276Z106P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
153
|
+
('15bd72da-a3da-484b-b592-742deab84b55','U181Z1P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
154
|
+
('15bd72da-a3da-484b-b592-742deab84b55','U1131Z2P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
155
|
+
|
|
156
|
+
-- 11
|
|
157
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
158
|
+
('a7446544-a907-4b9f-877b-b29458ad9c82',
|
|
159
|
+
'SEVERE',
|
|
160
|
+
'INLINE',
|
|
161
|
+
'2024-03-16 10:00:00.000+02',
|
|
162
|
+
'2024-05-15 00:00:00.000+02',
|
|
163
|
+
'{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi Nádražím Holešovice a I. P. Pavlova. Náhradní autobus X-C odjíždí z nástupiště C (jako bus 201).", "en": "Until Monday midnight, the C metro station is closed between Nádraž Holešovice and I. P. Pavlova. The replacement bus X-C departs from platform C (as bus 201)."}',
|
|
164
|
+
'2024-02-07 13:24:55.000',
|
|
165
|
+
now() + interval '1 day');
|
|
166
|
+
|
|
167
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
168
|
+
('a7446544-a907-4b9f-877b-b29458ad9c82','U1131Z1P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
169
|
+
('a7446544-a907-4b9f-877b-b29458ad9c82','U276Z106P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
170
|
+
('a7446544-a907-4b9f-877b-b29458ad9c82','U181Z1P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
171
|
+
('a7446544-a907-4b9f-877b-b29458ad9c82','U1131Z2P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
172
|
+
|
|
173
|
+
-- 12
|
|
174
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
175
|
+
('07a8449a-52b2-4266-a611-89d2b8758637',
|
|
176
|
+
'SEVERE',
|
|
177
|
+
'INLINE',
|
|
178
|
+
'2024-09-10 17:00:00.000+02',
|
|
179
|
+
'2024-11-20 00:00:00.000+02',
|
|
180
|
+
'{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi Nádražím Holešovice a I. P. Pavlova. Zastávky náhradního autobusu X-C jsou na Florenci nahoře na magistrále.", "en": "Until Monday midnight, the C metro station is closed between Nádraž Holešovice and I. P. Pavlova. The stops of the replacement bus X-C are at Florence at the top of the main line."}',
|
|
181
|
+
'2024-02-07 13:24:55.000',
|
|
182
|
+
now() + interval '1 day');
|
|
183
|
+
|
|
184
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
185
|
+
('07a8449a-52b2-4266-a611-89d2b8758637','U1131Z2P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
186
|
+
|
|
187
|
+
-- 13
|
|
188
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
189
|
+
('59a0b461-df44-42a6-940f-2abf0fd4e980',
|
|
190
|
+
'INFO',
|
|
191
|
+
'GENERAL',
|
|
192
|
+
'2024-03-01 00:00.000+02',
|
|
193
|
+
'2024-06-12 00:00.000+02',
|
|
194
|
+
'{"cs": "Do pondělí 12.6. bude uzavřen tento vstup do metra. Vstup od zastávky tramvaje v ulici Plynární zůstává v provozu.", "en": "This entrance to the metro will be closed until Monday 12 June. The entrance from the tram stop in Plynární Street will remain open."}',
|
|
195
|
+
'2024-02-07 13:24:55.000',
|
|
196
|
+
now() + interval '1 day');
|
|
197
|
+
|
|
198
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
199
|
+
('59a0b461-df44-42a6-940f-2abf0fd4e980','U52Z4P','2024-04-19 09:00:00+02',now() + interval '1 day'),
|
|
200
|
+
('59a0b461-df44-42a6-940f-2abf0fd4e980','U1341Z1P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
201
|
+
|
|
202
|
+
-- 14
|
|
203
|
+
INSERT INTO jis_infotexts (id,severity_level,display_type,active_period_start,active_period_end,description_text,created_at,updated_at) VALUES
|
|
204
|
+
('e9a15133-e606-406b-b492-9af05c643e7a',
|
|
205
|
+
'SEVERE',
|
|
206
|
+
'INLINE',
|
|
207
|
+
'2024-03-27 00:00:00.000+02',
|
|
208
|
+
'2024-09-22 00:00:00.000+02',
|
|
209
|
+
'{"cs": "Do pondělí probíhá výluka metra C mezi I. P. Pavlova a Nádraží Holešovice. Náhradní autobus X-C navazuje ze zastávky I. P. Pavlova.", "en": "Until Monday, the C metro station is closed between I. P. Pavlova and Nádraží Holešovice. The replacement bus X-C will connect from the stop I. P. Pavlova."}',
|
|
210
|
+
'2024-02-07 13:24:55.000',
|
|
211
|
+
now() + interval '1 day');
|
|
212
|
+
|
|
213
|
+
INSERT INTO jis_infotexts_ropidgtfs_stops (infotext_id,stop_id,created_at,updated_at) VALUES
|
|
214
|
+
('e9a15133-e606-406b-b492-9af05c643e7a','U52Z2P','2024-04-19 09:00:00+02',now() + interval '1 day');
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var dbm;
|
|
4
|
+
var type;
|
|
5
|
+
var seed;
|
|
6
|
+
var fs = require('fs');
|
|
7
|
+
var path = require('path');
|
|
8
|
+
var Promise;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* We receive the dbmigrate dependency from dbmigrate initially.
|
|
12
|
+
* This enables us to not have to rely on NODE_PATH.
|
|
13
|
+
*/
|
|
14
|
+
exports.setup = function(options, seedLink) {
|
|
15
|
+
dbm = options.dbmigrate;
|
|
16
|
+
type = dbm.dataType;
|
|
17
|
+
seed = seedLink;
|
|
18
|
+
Promise = options.Promise;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.up = function(db) {
|
|
22
|
+
var filePath = path.join(__dirname, 'sqls', '20240801141948-jis-infotexts-up.sql');
|
|
23
|
+
return new Promise( function( resolve, reject ) {
|
|
24
|
+
fs.readFile(filePath, {encoding: 'utf-8'}, function(err,data){
|
|
25
|
+
if (err) return reject(err);
|
|
26
|
+
console.log('received data: ' + data);
|
|
27
|
+
|
|
28
|
+
resolve(data);
|
|
29
|
+
});
|
|
30
|
+
})
|
|
31
|
+
.then(function(data) {
|
|
32
|
+
return db.runSql(data);
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
exports.down = function(db) {
|
|
37
|
+
var filePath = path.join(__dirname, 'sqls', '20240801141948-jis-infotexts-down.sql');
|
|
38
|
+
return new Promise( function( resolve, reject ) {
|
|
39
|
+
fs.readFile(filePath, {encoding: 'utf-8'}, function(err,data){
|
|
40
|
+
if (err) return reject(err);
|
|
41
|
+
console.log('received data: ' + data);
|
|
42
|
+
|
|
43
|
+
resolve(data);
|
|
44
|
+
});
|
|
45
|
+
})
|
|
46
|
+
.then(function(data) {
|
|
47
|
+
return db.runSql(data);
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports._meta = {
|
|
52
|
+
"version": 1
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var dbm;
|
|
4
|
+
var type;
|
|
5
|
+
var seed;
|
|
6
|
+
var fs = require('fs');
|
|
7
|
+
var path = require('path');
|
|
8
|
+
var Promise;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* We receive the dbmigrate dependency from dbmigrate initially.
|
|
12
|
+
* This enables us to not have to rely on NODE_PATH.
|
|
13
|
+
*/
|
|
14
|
+
exports.setup = function(options, seedLink) {
|
|
15
|
+
dbm = options.dbmigrate;
|
|
16
|
+
type = dbm.dataType;
|
|
17
|
+
seed = seedLink;
|
|
18
|
+
Promise = options.Promise;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.up = function(db) {
|
|
22
|
+
var filePath = path.join(__dirname, 'sqls', '20240809084521-jis-infotexts-severity-level-up.sql');
|
|
23
|
+
return new Promise( function( resolve, reject ) {
|
|
24
|
+
fs.readFile(filePath, {encoding: 'utf-8'}, function(err,data){
|
|
25
|
+
if (err) return reject(err);
|
|
26
|
+
console.log('received data: ' + data);
|
|
27
|
+
|
|
28
|
+
resolve(data);
|
|
29
|
+
});
|
|
30
|
+
})
|
|
31
|
+
.then(function(data) {
|
|
32
|
+
return db.runSql(data);
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
exports.down = function(db) {
|
|
37
|
+
var filePath = path.join(__dirname, 'sqls', '20240809084521-jis-infotexts-severity-level-down.sql');
|
|
38
|
+
return new Promise( function( resolve, reject ) {
|
|
39
|
+
fs.readFile(filePath, {encoding: 'utf-8'}, function(err,data){
|
|
40
|
+
if (err) return reject(err);
|
|
41
|
+
console.log('received data: ' + data);
|
|
42
|
+
|
|
43
|
+
resolve(data);
|
|
44
|
+
});
|
|
45
|
+
})
|
|
46
|
+
.then(function(data) {
|
|
47
|
+
return db.runSql(data);
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports._meta = {
|
|
52
|
+
"version": 1
|
|
53
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
create table jis_infotexts (
|
|
2
|
+
id uuid not null,
|
|
3
|
+
severity_level varchar(255) not null,
|
|
4
|
+
display_type varchar(255) not null,
|
|
5
|
+
active_period_start timestamptz not null,
|
|
6
|
+
active_period_end timestamptz,
|
|
7
|
+
description_text jsonb not null,
|
|
8
|
+
created_at timestamptz not null,
|
|
9
|
+
updated_at timestamptz not null,
|
|
10
|
+
constraint jis_infotexts_pk primary key (id)
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
create table jis_infotexts_ropidgtfs_stops (
|
|
14
|
+
infotext_id uuid not null,
|
|
15
|
+
stop_id varchar(50) not null,
|
|
16
|
+
created_at timestamptz not null,
|
|
17
|
+
updated_at timestamptz not null,
|
|
18
|
+
constraint jis_infotexts_ropidgtfs_stops_pk primary key (infotext_id, stop_id)
|
|
19
|
+
);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
create type jis_infotext_severity_level as enum ('INFO', 'WARNING', 'SEVERE');
|
|
2
|
+
|
|
3
|
+
alter table jis_infotexts
|
|
4
|
+
alter column severity_level type jis_infotext_severity_level using severity_level::jis_infotext_severity_level;
|
|
5
|
+
|
|
6
|
+
alter table jis_infotexts
|
|
7
|
+
add column created_timestamp timestamptz not null default now();
|
|
@@ -25,6 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.workers = exports.VehiclePositions = exports.RopidVYMI = exports.RopidGTFS = void 0;
|
|
27
27
|
const data_retention_1 = require("./data-retention");
|
|
28
|
+
const jis_1 = require("./jis");
|
|
28
29
|
const PresetWorker_1 = require("./ropid-gtfs/workers/presets/PresetWorker");
|
|
29
30
|
const TimetableWorker_1 = require("./ropid-gtfs/workers/timetables/TimetableWorker");
|
|
30
31
|
const RopidVYMIWorker_1 = require("./ropid-vymi/workers/RopidVYMIWorker");
|
|
@@ -49,5 +50,8 @@ exports.workers = [
|
|
|
49
50
|
//#region Data Retention
|
|
50
51
|
data_retention_1.DataRetentionWorker,
|
|
51
52
|
//#endregion
|
|
53
|
+
//#region JIS
|
|
54
|
+
jis_1.JISWorker,
|
|
55
|
+
//#endregion
|
|
52
56
|
];
|
|
53
57
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integration-engine/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qDAAuD;AACvD,4EAAyE;AACzE,qFAAkF;AAClF,0EAAuE;AACvE,2DAAiG;AAEjG,0DAA0C;AAC1C,0DAA0C;AAC1C,wEAAwD;AAE3C,QAAA,OAAO,GAAoC;IACpD,2BAA2B;IAC3B,4BAAQ;IACR,oCAAgB;IAChB,8BAAU;IACV,sCAAkB;IAClB,YAAY;IAEZ,oBAAoB;IACpB,2BAAY;IACZ,iCAAe;IACf,YAAY;IAEZ,oBAAoB;IACpB,iCAAe;IACf,YAAY;IAEZ,wBAAwB;IACxB,oCAAmB;IACnB,YAAY;CACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integration-engine/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qDAAuD;AACvD,+BAAkC;AAClC,4EAAyE;AACzE,qFAAkF;AAClF,0EAAuE;AACvE,2DAAiG;AAEjG,0DAA0C;AAC1C,0DAA0C;AAC1C,wEAAwD;AAE3C,QAAA,OAAO,GAAoC;IACpD,2BAA2B;IAC3B,4BAAQ;IACR,oCAAgB;IAChB,8BAAU;IACV,sCAAkB;IAClB,YAAY;IAEZ,oBAAoB;IACpB,2BAAY;IACZ,iCAAe;IACf,YAAY;IAEZ,oBAAoB;IACpB,iCAAe;IACf,YAAY;IAEZ,wBAAwB;IACxB,oCAAmB;IACnB,YAAY;IAEZ,aAAa;IACb,eAAS;IACT,YAAY;CACf,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IJISInfotext } from "../../../schema-definitions/jis/datasources/interfaces";
|
|
2
|
+
import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
|
|
3
|
+
import { IDataSource } from "@golemio/core/dist/integration-engine";
|
|
4
|
+
export declare class JISInfotextsDataSourceFactory {
|
|
5
|
+
private config;
|
|
6
|
+
constructor(config: ISimpleConfig);
|
|
7
|
+
private static DATASOURCE_NAME;
|
|
8
|
+
getDataSource(): IDataSource<IJISInfotext[]>;
|
|
9
|
+
private getProtocolStrategy;
|
|
10
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var JISInfotextsDataSourceFactory_1;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.JISInfotextsDataSourceFactory = void 0;
|
|
17
|
+
const JISInfotextsJsonSchema_1 = require("../../../schema-definitions/jis/datasources/JISInfotextsJsonSchema");
|
|
18
|
+
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
19
|
+
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
20
|
+
const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
|
|
21
|
+
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
22
|
+
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
23
|
+
let JISInfotextsDataSourceFactory = exports.JISInfotextsDataSourceFactory = JISInfotextsDataSourceFactory_1 = class JISInfotextsDataSourceFactory {
|
|
24
|
+
constructor(config) {
|
|
25
|
+
this.config = config;
|
|
26
|
+
}
|
|
27
|
+
getDataSource() {
|
|
28
|
+
return new integration_engine_1.DataSource(JISInfotextsDataSourceFactory_1.DATASOURCE_NAME, this.getProtocolStrategy(), new integration_engine_1.JSONDataTypeStrategy({ resultsPath: "" }), new golemio_validator_1.JSONSchemaValidator(JISInfotextsDataSourceFactory_1.DATASOURCE_NAME + "Validator", JISInfotextsJsonSchema_1.jisInfotextsJsonSchema));
|
|
29
|
+
}
|
|
30
|
+
getProtocolStrategy() {
|
|
31
|
+
const baseUrl = this.config.getValue("module.pid.jis.baseUrl");
|
|
32
|
+
const headers = this.config.getValue("module.pid.jis.infotexts.headers");
|
|
33
|
+
const urlPath = this.config.getValue("module.pid.jis.infotexts.path");
|
|
34
|
+
const url = new URL(urlPath, baseUrl).toString();
|
|
35
|
+
return new HTTPFetchProtocolStrategy_1.HTTPFetchProtocolStrategy({
|
|
36
|
+
method: "GET",
|
|
37
|
+
url,
|
|
38
|
+
headers: headers,
|
|
39
|
+
timeoutInSeconds: 20,
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
JISInfotextsDataSourceFactory.DATASOURCE_NAME = "JISInfotextsDataSource";
|
|
44
|
+
exports.JISInfotextsDataSourceFactory = JISInfotextsDataSourceFactory = JISInfotextsDataSourceFactory_1 = __decorate([
|
|
45
|
+
(0, tsyringe_1.injectable)(),
|
|
46
|
+
__param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
|
|
47
|
+
__metadata("design:paramtypes", [Object])
|
|
48
|
+
], JISInfotextsDataSourceFactory);
|
|
49
|
+
//# sourceMappingURL=JISInfotextsDataSourceFactory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JISInfotextsDataSourceFactory.js","sourceRoot":"","sources":["../../../../src/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,+GAAqF;AAErF,wEAAqE;AACrE,8EAAwH;AACxH,6IAA0I;AAC1I,mFAAkF;AAClF,iEAAwE;AAGjE,IAAM,6BAA6B,6EAAnC,MAAM,6BAA6B;IACtC,YAAoD,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAItE,aAAa;QAChB,OAAO,IAAI,+BAAU,CACjB,+BAA6B,CAAC,eAAe,EAC7C,IAAI,CAAC,mBAAmB,EAAE,EAC1B,IAAI,yCAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,uCAAmB,CAAC,+BAA6B,CAAC,eAAe,GAAG,WAAW,EAAE,+CAAsB,CAAC,CAC/G,CAAC;IACN,CAAC;IAEO,mBAAmB;QACvB,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,wBAAwB,CAAC,CAAC;QACvE,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAc,kCAAkC,CAAC,CAAC;QACtF,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,+BAA+B,CAAC,CAAC;QAC9E,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC;QAEjD,OAAO,IAAI,qDAAyB,CAAC;YACjC,MAAM,EAAE,KAAK;YACb,GAAG;YACH,OAAO,EAAE,OAAyC;YAClD,gBAAgB,EAAE,EAAE;SACvB,CAAC,CAAC;IACP,CAAC;;AAvBc,6CAAe,GAAG,wBAAwB,AAA3B,CAA4B;wCAHjD,6BAA6B;IADzC,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GADlC,6BAA6B,CA2BzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./workers/JISWorker";
|
|
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./InfotextsController"), exports);
|
|
17
|
+
__exportStar(require("./workers/JISWorker"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integration-engine/jis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JISContainer = void 0;
|
|
4
|
+
const Di_1 = require("../../ioc/Di");
|
|
5
|
+
const JISInfotextsDataSourceFactory_1 = require("../datasources/JISInfotextsDataSourceFactory");
|
|
6
|
+
const JISInfotextsRepository_1 = require("../repositories/JISInfotextsRepository");
|
|
7
|
+
const JISInfotextsRopidGTFSStopsRepository_1 = require("../repositories/JISInfotextsRopidGTFSStopsRepository");
|
|
8
|
+
const JISInfotextsDataService_1 = require("../services/JISInfotextsDataService");
|
|
9
|
+
const JISInfotextsTransformation_1 = require("../transformations/JISInfotextsTransformation");
|
|
10
|
+
const RefreshJISInfotextsTask_1 = require("../workers/tasks/RefreshJISInfotextsTask");
|
|
11
|
+
const JISContainerToken_1 = require("./JISContainerToken");
|
|
12
|
+
//#region Initialization
|
|
13
|
+
const JISContainer = Di_1.PidContainer.createChildContainer();
|
|
14
|
+
exports.JISContainer = JISContainer;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region Data Sources
|
|
17
|
+
JISContainer.registerSingleton(JISContainerToken_1.JISContainerToken.JISInfotextsDataSourceFactory, JISInfotextsDataSourceFactory_1.JISInfotextsDataSourceFactory);
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region Repositories
|
|
20
|
+
JISContainer.registerSingleton(JISContainerToken_1.JISContainerToken.JISInfotextsRepository, JISInfotextsRepository_1.JISInfotextsRepository);
|
|
21
|
+
JISContainer.registerSingleton(JISContainerToken_1.JISContainerToken.JISInfotextsRopidGTFSStopsRepository, JISInfotextsRopidGTFSStopsRepository_1.JISInfotextsRopidGTFSStopsRepository);
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region Services
|
|
24
|
+
JISContainer.register(JISContainerToken_1.JISContainerToken.JISInfotextsDataService, JISInfotextsDataService_1.JISInfotextsDataService);
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region Tasks
|
|
27
|
+
JISContainer.registerSingleton(JISContainerToken_1.JISContainerToken.RefreshJISInfotextsTask, RefreshJISInfotextsTask_1.RefreshJISInfotextsTask);
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region Transformations
|
|
30
|
+
JISContainer.registerSingleton(JISContainerToken_1.JISContainerToken.JISInfotextsTransformation, JISInfotextsTransformation_1.JISInfotextsTransformation);
|
|
31
|
+
//# sourceMappingURL=Di.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Di.js","sourceRoot":"","sources":["../../../../src/integration-engine/jis/ioc/Di.ts"],"names":[],"mappings":";;;AAAA,qCAA0C;AAE1C,gGAA6F;AAC7F,mFAAgF;AAChF,+GAA4G;AAC5G,iFAA8E;AAC9E,8FAA2F;AAC3F,sFAAmF;AACnF,2DAAwD;AAExD,wBAAwB;AACxB,MAAM,YAAY,GAAwB,iBAAY,CAAC,oBAAoB,EAAE,CAAC;AAwBrE,oCAAY;AAvBrB,YAAY;AAEZ,sBAAsB;AACtB,YAAY,CAAC,iBAAiB,CAAC,qCAAiB,CAAC,6BAA6B,EAAE,6DAA6B,CAAC,CAAC;AAC/G,YAAY;AAEZ,sBAAsB;AACtB,YAAY,CAAC,iBAAiB,CAAC,qCAAiB,CAAC,sBAAsB,EAAE,+CAAsB,CAAC,CAAC;AACjG,YAAY,CAAC,iBAAiB,CAAC,qCAAiB,CAAC,oCAAoC,EAAE,2EAAoC,CAAC,CAAC;AAC7H,YAAY;AAEZ,kBAAkB;AAClB,YAAY,CAAC,QAAQ,CAAC,qCAAiB,CAAC,uBAAuB,EAAE,iDAAuB,CAAC,CAAC;AAC1F,YAAY;AAEZ,eAAe;AACf,YAAY,CAAC,iBAAiB,CAAC,qCAAiB,CAAC,uBAAuB,EAAE,iDAAuB,CAAC,CAAC;AACnG,YAAY;AAEZ,yBAAyB;AACzB,YAAY,CAAC,iBAAiB,CAAC,qCAAiB,CAAC,0BAA0B,EAAE,uDAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const JISContainerToken: {
|
|
2
|
+
JISInfotextsDataSourceFactory: symbol;
|
|
3
|
+
JISInfotextsRepository: symbol;
|
|
4
|
+
JISInfotextsRopidGTFSStopsRepository: symbol;
|
|
5
|
+
JISInfotextsDataService: symbol;
|
|
6
|
+
JISInfotextsTransformation: symbol;
|
|
7
|
+
RefreshJISInfotextsTask: symbol;
|
|
8
|
+
};
|
|
9
|
+
export { JISContainerToken };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JISContainerToken = void 0;
|
|
4
|
+
const JISContainerToken = {
|
|
5
|
+
/* Data Sources */
|
|
6
|
+
JISInfotextsDataSourceFactory: Symbol(),
|
|
7
|
+
/* Repositories */
|
|
8
|
+
JISInfotextsRepository: Symbol(),
|
|
9
|
+
JISInfotextsRopidGTFSStopsRepository: Symbol(),
|
|
10
|
+
/* Services */
|
|
11
|
+
JISInfotextsDataService: Symbol(),
|
|
12
|
+
/* Transformations */
|
|
13
|
+
JISInfotextsTransformation: Symbol(),
|
|
14
|
+
/* Tasks */
|
|
15
|
+
RefreshJISInfotextsTask: Symbol(),
|
|
16
|
+
};
|
|
17
|
+
exports.JISContainerToken = JISContainerToken;
|
|
18
|
+
//# sourceMappingURL=JISContainerToken.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JISContainerToken.js","sourceRoot":"","sources":["../../../../src/integration-engine/jis/ioc/JISContainerToken.ts"],"names":[],"mappings":";;;AAAA,MAAM,iBAAiB,GAAG;IACtB,kBAAkB;IAClB,6BAA6B,EAAE,MAAM,EAAE;IACvC,kBAAkB;IAClB,sBAAsB,EAAE,MAAM,EAAE;IAChC,oCAAoC,EAAE,MAAM,EAAE;IAC9C,cAAc;IACd,uBAAuB,EAAE,MAAM,EAAE;IACjC,qBAAqB;IACrB,0BAA0B,EAAE,MAAM,EAAE;IACpC,WAAW;IACX,uBAAuB,EAAE,MAAM,EAAE;CACpC,CAAC;AAEO,8CAAiB"}
|