@golemio/pid 5.2.1-rc.2220450634 → 5.2.1-rc.2224808913
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/library-types/opentelemetry.d.ts +3 -0
- package/dist/{schema-definitions/vehicle-positions/models/interfaces/IV1PositionDto.js → helpers/library-types/opentelemetry.js} +1 -1
- package/dist/helpers/library-types/opentelemetry.js.map +1 -0
- package/dist/integration-engine/jis/repositories/RopidDeparturesPresetsRopidGTFSStopsRepository.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTripsModel.js +6 -4
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTripsModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGtfsFacade.d.ts +0 -7
- package/dist/integration-engine/ropid-gtfs/RopidGtfsFacade.js +1 -9
- package/dist/integration-engine/ropid-gtfs/RopidGtfsFacade.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGtfsMetadataRepository.d.ts +0 -7
- package/dist/integration-engine/ropid-gtfs/RopidGtfsMetadataRepository.js +1 -9
- package/dist/integration-engine/ropid-gtfs/RopidGtfsMetadataRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/facade/DeparturePresetsFacade.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/facade/DeparturePresetsFacade.js +11 -11
- package/dist/integration-engine/ropid-gtfs/facade/DeparturePresetsFacade.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/helpers/DatasetEnum.d.ts +7 -0
- package/dist/integration-engine/ropid-gtfs/helpers/DatasetEnum.js +12 -0
- package/dist/integration-engine/ropid-gtfs/helpers/DatasetEnum.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/DeparturesPresetsDatasource.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CheckForNewDeparturesPresetsTask.js +4 -4
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CheckForNewDeparturesPresetsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.js +5 -5
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js +6 -6
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.js +5 -5
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js +8 -8
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.js +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.js +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.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.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/TripRepositoryInterfaces.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/domain/service/IGtfsTripDataFixerFactory.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/GtfsTripDataFixerFactory.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/GtfsTripDataFixerFactory.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/GtfsTripDataFixerFactory.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/strategy/HttpGtfsTripDataFixer.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/strategy/HttpGtfsTripDataFixer.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/ITimeWindow.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/ITimeWindow.js +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/gtfs-trip-run/GtfsTripRegionalBusRunManager.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/gtfs-trip-run/GtfsTripRegionalBusRunManager.js +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/gtfs-trip-run/GtfsTripRegionalBusRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/TransformationInterfaces.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshGtfsTripDataTask.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshGtfsTripDataTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsController.js +1 -1
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v3/V3TransferBoardsController.js +1 -1
- package/dist/output-gateway/pid/controllers/v3/V3TransferBoardsController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.d.ts +2 -2
- package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.js +7 -7
- package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.js.map +1 -1
- package/dist/output-gateway/pid/data-access/DeparturesRepository.d.ts +2 -1
- package/dist/output-gateway/pid/data-access/DeparturesRepository.js +2 -2
- package/dist/output-gateway/pid/data-access/DeparturesRepository.js.map +1 -1
- package/dist/output-gateway/pid/data-access/interfaces/DepartureInterfaces.d.ts +1 -1
- package/dist/output-gateway/pid/domain/DepartureInterfaces.d.ts +2 -1
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.d.ts +5 -1
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js +6 -4
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js.map +1 -1
- package/dist/output-gateway/pid/dto/interfaces/IDepartureBoardsQueryDTO.d.ts +4 -1
- package/dist/output-gateway/pid/helpers/DepartureBoardMapper.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/DepartureBoardMapper.js +4 -4
- package/dist/output-gateway/pid/helpers/DepartureBoardMapper.js.map +1 -1
- package/dist/output-gateway/pid/helpers/JISInfotextStopSuppressionFilter.js +1 -1
- package/dist/output-gateway/pid/helpers/JISInfotextStopSuppressionFilter.js.map +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardFilter.d.ts +2 -1
- package/dist/output-gateway/pid/helpers/TransferBoardFilter.js.map +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardIconsResolver.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardSorter.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/enums/DepartureFilter.d.ts +9 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureFilter.js +14 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureFilter.js.map +1 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureMode.d.ts +5 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureMode.js +10 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureMode.js.map +1 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureOrder.d.ts +4 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureOrder.js +9 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureOrder.js.map +1 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureSkip.d.ts +6 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureSkip.js +11 -0
- package/dist/output-gateway/pid/helpers/enums/DepartureSkip.js.map +1 -0
- package/dist/output-gateway/pid/index.d.ts +1 -208
- package/dist/output-gateway/pid/index.js +1 -31
- package/dist/output-gateway/pid/index.js.map +1 -1
- package/dist/output-gateway/pid/interfaces/DepartureUnion.d.ts +3 -0
- package/dist/{schema-definitions/jis/models/interfaces/IPresetsGtfsStops.js → output-gateway/pid/interfaces/DepartureUnion.js} +1 -1
- package/dist/output-gateway/pid/interfaces/DepartureUnion.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/ICurrentTrip.d.ts +8 -0
- package/dist/output-gateway/pid/interfaces/ICurrentTrip.js +3 -0
- package/dist/output-gateway/pid/interfaces/ICurrentTrip.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IDepartureTime.d.ts +5 -0
- package/dist/output-gateway/pid/interfaces/IDepartureTime.js +3 -0
- package/dist/output-gateway/pid/interfaces/IDepartureTime.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IDepartureWithPosition.d.ts +12 -0
- package/dist/output-gateway/pid/interfaces/IDepartureWithPosition.js +3 -0
- package/dist/output-gateway/pid/interfaces/IDepartureWithPosition.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IPIDDeparture.d.ts +43 -0
- package/dist/output-gateway/pid/interfaces/IPIDDeparture.js +3 -0
- package/dist/output-gateway/pid/interfaces/IPIDDeparture.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IPIDDepartureOutput.d.ts +36 -0
- package/dist/output-gateway/pid/interfaces/IPIDDepartureOutput.js +3 -0
- package/dist/output-gateway/pid/interfaces/IPIDDepartureOutput.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IStop.d.ts +5 -0
- package/dist/{schema-definitions/vehicle-positions/models/interfaces/IV1TripDto.js → output-gateway/pid/interfaces/IStop.js} +1 -1
- package/dist/output-gateway/pid/interfaces/IStop.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/ITransferAccessibility.d.ts +8 -0
- package/dist/output-gateway/pid/interfaces/ITransferAccessibility.js +3 -0
- package/dist/output-gateway/pid/interfaces/ITransferAccessibility.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/ITransferDeparture.d.ts +17 -0
- package/dist/output-gateway/pid/interfaces/ITransferDeparture.js +3 -0
- package/dist/output-gateway/pid/interfaces/ITransferDeparture.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/ITransferOutputDto.d.ts +15 -0
- package/dist/output-gateway/pid/interfaces/ITransferOutputDto.js +3 -0
- package/dist/output-gateway/pid/interfaces/ITransferOutputDto.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferDepartureOutputDto.d.ts +22 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferDepartureOutputDto.js +3 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferDepartureOutputDto.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferDto.d.ts +9 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferDto.js +3 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferDto.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferOutputDto.d.ts +9 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferOutputDto.js +3 -0
- package/dist/output-gateway/pid/interfaces/IV4TransferOutputDto.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/TransferStops.d.ts +5 -0
- package/dist/output-gateway/pid/interfaces/TransferStops.js +3 -0
- package/dist/output-gateway/pid/interfaces/TransferStops.js.map +1 -0
- package/dist/output-gateway/pid/interfaces/TripsToTransfers.d.ts +2 -0
- package/dist/output-gateway/pid/interfaces/TripsToTransfers.js +3 -0
- package/dist/output-gateway/pid/interfaces/TripsToTransfers.js.map +1 -0
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js +4 -4
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/FilterHelper.d.ts +2 -1
- package/dist/output-gateway/pid/models/helpers/FilterHelper.js +4 -4
- package/dist/output-gateway/pid/models/helpers/FilterHelper.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/PIDDepartureModel.d.ts +3 -1
- package/dist/output-gateway/pid/models/helpers/PIDDepartureModel.js +10 -8
- package/dist/output-gateway/pid/models/helpers/PIDDepartureModel.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/SkipHelper.d.ts +1 -1
- package/dist/output-gateway/pid/models/helpers/interfaces/IPIDDepartureQueryOptions.d.ts +4 -1
- package/dist/output-gateway/pid/models/interfaces/IGetDeparturesOptions.d.ts +4 -1
- package/dist/output-gateway/pid/service/facade/TransferFacade.d.ts +6 -2
- package/dist/output-gateway/pid/service/facade/TransferFacade.js +12 -9
- package/dist/output-gateway/pid/service/facade/TransferFacade.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.d.ts +2 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.js +1 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureTransformation.d.ts +2 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureTransformation.js +1 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureTransformation.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.js +10 -11
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSShapesModel.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSShapesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModelInterfaces.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.d.ts +2 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/index.d.ts +2 -3
- package/dist/output-gateway/ropid-gtfs/models/index.js +1 -2
- package/dist/output-gateway/ropid-gtfs/models/index.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/interfaces/IGTFSModels.d.ts +9 -0
- package/dist/output-gateway/ropid-gtfs/models/interfaces/IGTFSModels.js +3 -0
- package/dist/output-gateway/ropid-gtfs/models/interfaces/IGTFSModels.js.map +1 -0
- package/dist/schema-definitions/jis/models/RopidDeparturesPresetsRopidGTFSStopsModel.d.ts +1 -1
- package/dist/schema-definitions/jis/models/interfaces/IPresetsRopidGTFSStops.d.ts +1 -4
- package/dist/schema-definitions/vehicle-positions/models/enums/ProviderSourceTypeEnum.js.map +1 -0
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IGtfsRtTripDto.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.d.ts +1 -1
- package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IPublicStopTimeDto.d.ts +1 -1
- package/package.json +6 -4
- package/dist/_helpers_/db-integration-setup.d.ts +0 -2
- package/dist/_helpers_/db-integration-setup.js +0 -11
- package/dist/_helpers_/db-integration-setup.js.map +0 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ProviderSourceTypeEnum.js.map +0 -1
- package/dist/schema-definitions/jis/models/interfaces/IPresetsGtfsStops.d.ts +0 -4
- package/dist/schema-definitions/jis/models/interfaces/IPresetsGtfsStops.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IV1PositionDto.d.ts +0 -21
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IV1PositionDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IV1TripDto.d.ts +0 -20
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IV1TripDto.js.map +0 -1
- /package/dist/{integration-engine/vehicle-positions/workers/vehicle-positions/helpers → schema-definitions/vehicle-positions/models/enums}/ProviderSourceTypeEnum.d.ts +0 -0
- /package/dist/{integration-engine/vehicle-positions/workers/vehicle-positions/helpers → schema-definitions/vehicle-positions/models/enums}/ProviderSourceTypeEnum.js +0 -0
|
@@ -8,9 +8,9 @@ const const_1 = require("../../../schema-definitions/const");
|
|
|
8
8
|
const ropid_gtfs_1 = require("../../../schema-definitions/ropid-gtfs");
|
|
9
9
|
const StopTimesDto_1 = require("../../../schema-definitions/ropid-gtfs/models/StopTimesDto");
|
|
10
10
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
11
|
+
const ioc_1 = require("@golemio/core/dist/output-gateway/ioc/");
|
|
11
12
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
12
13
|
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
13
|
-
const ioc_1 = require("@golemio/core/dist/output-gateway/ioc/");
|
|
14
14
|
class GTFSStopTimesModel extends output_gateway_1.SequelizeModel {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(ropid_gtfs_1.RopidGTFS.stop_times.name, ropid_gtfs_1.RopidGTFS.stop_times.pgTableName, StopTimesDto_1.StopTimesDto.attributeModel, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GTFSStopTimesModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.ts"],"names":[],"mappings":";;;;;;AAAA,6DAAuC;AACvC,uEAA4C;AAC5C,6FAA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,KAAK;oBACL,MAAM;oBACN,KAAK,EAAE;wBACH,CAAC,SAAS,EAAE,KAAK,CAAC;wBAClB,CAAC,gBAAgB,EAAE,KAAK,CAAC;qBAC5B;oBACD,KAAK;iBACR,CAAC,CAAC;YACP,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,MAAM,IAAI,6BAAY,CAAC,gBAAgB,EAAE,oBAAoB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;YAC7E,CAAC;QACL,CAAC,CAAC;QAEK,WAAM,GAAG,CAAC,EAAO,EAAgB,EAAE;YACtC,MAAM,IAAI,2BAAU,CAAC,wBAAwB,CAAC,CAAC;QACnD,CAAC,CAAC;QA/FE,IAAI,CAAC,WAAW,GAAG,4BAAsB,CAAC,OAAO,CAAqB,oBAAc,CAAC,gBAAgB,CAAC,CAAC;IAC3G,CAAC;;AARL,gDA4GC;AAJkB,wCAAqB,GAAG,CAAC,IAAY,EAAE,QAAqB,EAA2B,EAAE;IACpG,oCAAoC;IACpC,OAAO,mBAAS,CAAC,OAAO,CAAC,IAAI,IAAI,WAAW,QAAQ,uCAAuC,CAAC,CAAC;AACjG,CAAC,AAHmC,CAGlC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ITripWithOptionalAssociationsDto } from "../../../schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto";
|
|
2
2
|
import { SequelizeModel } from "@golemio/core/dist/output-gateway/models";
|
|
3
3
|
import Sequelize from "@golemio/core/dist/shared/sequelize";
|
|
4
|
+
import { IGTFSModels } from "./interfaces/IGTFSModels";
|
|
4
5
|
export declare class GTFSTripsModel extends SequelizeModel {
|
|
5
6
|
private dbConnector;
|
|
6
7
|
private tripScheduleRepository;
|
|
7
8
|
constructor();
|
|
8
|
-
Associate: (models:
|
|
9
|
+
Associate: (models: IGTFSModels) => void;
|
|
9
10
|
/** Retrieves all gtfs trips
|
|
10
11
|
* @param {object} options Options object with params
|
|
11
12
|
* @param {number} [options.limit] Limit
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GTFSTripsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/ropid-gtfs/models/GTFSTripsModel.ts"],"names":[],"mappings":";;;;;;AAAA,oFAAkG;AAClG,6DAAuC;AACvC,uEAA4C;AAE5C,mFAAyD;AAEzD,+DAA4E;AAC5E,gEAAgG;AAChG,qEAA0E;AAC1E,6EAAwE;AACxE,oFAA6E;AAC7E,0FAAuF;
|
|
1
|
+
{"version":3,"file":"GTFSTripsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/ropid-gtfs/models/GTFSTripsModel.ts"],"names":[],"mappings":";;;;;;AAAA,oFAAkG;AAClG,6DAAuC;AACvC,uEAA4C;AAE5C,mFAAyD;AAEzD,+DAA4E;AAC5E,gEAAgG;AAChG,qEAA0E;AAC1E,6EAAwE;AACxE,oFAA6E;AAC7E,0FAAuF;AAGvF,MAAa,cAAe,SAAQ,uBAAc;IAI9C;QACI,KAAK,CAAC,sBAAS,CAAC,KAAK,CAAC,IAAI,EAAE,sBAAS,CAAC,KAAK,CAAC,WAAW,EAAE,iBAAO,CAAC,cAAc,EAAE;YAC7E,MAAM,EAAE,iBAAS;SACpB,CAAC,CAAC;QAKA,cAAS,GAAG,CAAC,MAAmB,EAAE,EAAE;YACvC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAAC,cAAc,EAAE;gBAClE,EAAE,EAAE,aAAa;gBACjB,UAAU,EAAE,SAAS;aACxB,CAAC,CAAC;YAEH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAAC,cAAc,EAAE;gBAClE,EAAE,EAAE,YAAY;gBAChB,UAAU,EAAE,SAAS;aACxB,CAAC,CAAC;YAEH,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,cAAc,EAAE;gBACnE,EAAE,EAAE,SAAS;gBACb,UAAU,EAAE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|
|
|
4
4
|
import { GTFSStopModel } from "./GTFSStopModel";
|
|
5
5
|
import { GTFSStopTimesModel } from "./GTFSStopTimesModel";
|
|
6
6
|
import { GTFSTripsModel } from "./GTFSTripsModel";
|
|
7
|
-
|
|
7
|
+
declare const models: {
|
|
8
8
|
GTFSCalendarModel: GTFSCalendarModel;
|
|
9
9
|
GTFSRoutesModel: GTFSRoutesModel;
|
|
10
10
|
GTFSShapesModel: GTFSShapesModel;
|
|
11
11
|
GTFSStopModel: GTFSStopModel;
|
|
12
12
|
GTFSStopTimesModel: GTFSStopTimesModel;
|
|
13
13
|
GTFSTripsModel: GTFSTripsModel;
|
|
14
|
-
}
|
|
15
|
-
declare const models: IGTFSModels;
|
|
14
|
+
};
|
|
16
15
|
export { models };
|
|
@@ -16,8 +16,7 @@ const models = {
|
|
|
16
16
|
GTFSTripsModel: new GTFSTripsModel_1.GTFSTripsModel(),
|
|
17
17
|
};
|
|
18
18
|
exports.models = models;
|
|
19
|
-
for (const
|
|
20
|
-
const model = models[type];
|
|
19
|
+
for (const model of Object.values(models)) {
|
|
21
20
|
if (model.hasOwnProperty("Associate")) {
|
|
22
21
|
model.Associate(models);
|
|
23
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/output-gateway/ropid-gtfs/models/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AACxD,uDAAoD;AACpD,uDAAoD;AACpD,mDAAgD;AAChD,6DAA0D;AAC1D,qDAAkD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/output-gateway/ropid-gtfs/models/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AACxD,uDAAoD;AACpD,uDAAoD;AACpD,mDAAgD;AAChD,6DAA0D;AAC1D,qDAAkD;AAElD,MAAM,MAAM,GAAG;IACX,iBAAiB,EAAE,IAAI,qCAAiB,EAAE;IAC1C,eAAe,EAAE,IAAI,iCAAe,EAAE;IACtC,eAAe,EAAE,IAAI,iCAAe,EAAE;IACtC,aAAa,EAAE,IAAI,6BAAa,EAAE;IAClC,kBAAkB,EAAE,IAAI,uCAAkB,EAAE;IAC5C,cAAc,EAAE,IAAI,+BAAc,EAAE;CACvC,CAAC;AAQO,wBAAM;AANf,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IACxC,IAAI,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,CAAC;QACpC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC5B,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SequelizeModel } from "@golemio/core/dist/output-gateway";
|
|
2
|
+
export interface IGTFSModels {
|
|
3
|
+
GTFSCalendarModel: SequelizeModel;
|
|
4
|
+
GTFSRoutesModel: SequelizeModel;
|
|
5
|
+
GTFSShapesModel: SequelizeModel;
|
|
6
|
+
GTFSStopModel: SequelizeModel;
|
|
7
|
+
GTFSStopTimesModel: SequelizeModel;
|
|
8
|
+
GTFSTripsModel: SequelizeModel;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGTFSModels.js","sourceRoot":"","sources":["../../../../../src/output-gateway/ropid-gtfs/models/interfaces/IGTFSModels.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
2
|
import { CreationOptional, InferAttributes, InferCreationAttributes, Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { IRopidDeparturesPresetsRopidGTFSStops } from "./interfaces/
|
|
3
|
+
import { IRopidDeparturesPresetsRopidGTFSStops } from "./interfaces/IPresetsRopidGTFSStops";
|
|
4
4
|
export declare class RopidDeparturesPresetsRopidGTFSStopsModel extends Model<InferAttributes<RopidDeparturesPresetsRopidGTFSStopsModel>, InferCreationAttributes<RopidDeparturesPresetsRopidGTFSStopsModel>> implements IRopidDeparturesPresetsRopidGTFSStops {
|
|
5
5
|
static tableName: string;
|
|
6
6
|
preset_id: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProviderSourceTypeEnum.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/enums/ProviderSourceTypeEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAC9B,uCAAa,CAAA;IACb,oCAAU,CAAA;IACV,yCAAe,CAAA;IACf,wCAAc,CAAA;IACd,8CAAoB,CAAA;AACxB,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ProviderSourceTypeEnum } from "../../../../integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ProviderSourceTypeEnum";
|
|
1
|
+
import { ProviderSourceTypeEnum } from "../enums/ProviderSourceTypeEnum";
|
|
3
2
|
import { StatePositionEnum } from "../../../../const";
|
|
3
|
+
import { GTFSRouteTypeEnum } from "../../../../helpers/RouteTypeEnums";
|
|
4
4
|
export interface IGtfsRtTripDto {
|
|
5
5
|
last_position: {
|
|
6
6
|
is_canceled: boolean | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GTFSRouteTypeEnum } from "../../../../helpers/RouteTypeEnums";
|
|
2
|
-
import { ProviderSourceTypeEnum } from "
|
|
2
|
+
import { ProviderSourceTypeEnum } from "../enums/ProviderSourceTypeEnum";
|
|
3
3
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
4
4
|
import { IPublicStopTimeDto } from "./interfaces/IPublicStopTimeDto";
|
|
5
5
|
export declare class PublicStopTimeModel extends Model<PublicStopTimeModel> implements IPublicStopTimeDto {
|
package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IPublicStopTimeDto.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GTFSRouteTypeEnum } from "../../../../../helpers/RouteTypeEnums";
|
|
2
|
-
import { ProviderSourceTypeEnum } from "
|
|
2
|
+
import { ProviderSourceTypeEnum } from "../../enums/ProviderSourceTypeEnum";
|
|
3
3
|
export interface IPublicStopTimeDto {
|
|
4
4
|
rt_trip_id: string;
|
|
5
5
|
gtfs_trip_id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/pid",
|
|
3
|
-
"version": "5.2.1-rc.
|
|
3
|
+
"version": "5.2.1-rc.2224808913",
|
|
4
4
|
"description": "Golemio PID Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"apidocs-test-output": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-output.yaml --script test/api-docs/output-gateway/server.js --config test/api-docs/output-gateway/portman-config.json",
|
|
18
18
|
"code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
|
|
19
19
|
"generate-docs": "typedoc --out docs/typedoc src",
|
|
20
|
-
"lint": "eslint --cache \"{src,test}/**/*.ts\""
|
|
20
|
+
"lint": "eslint --cache \"{src,test}/**/*.ts\"",
|
|
21
|
+
"validate-dependencies": "dependency-cruiser --config .dependency-cruiser.js src"
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
|
23
24
|
"golemio"
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
"@commitlint/cli": "^11.0.0",
|
|
38
39
|
"@commitlint/config-conventional": "^11.0.0",
|
|
39
40
|
"@golemio/cli": "1.11.0",
|
|
40
|
-
"@golemio/core": "
|
|
41
|
+
"@golemio/core": "3.0.0",
|
|
41
42
|
"@golemio/db-common": "1.2.1",
|
|
42
43
|
"@golemio/eslint-config": "1.1.2",
|
|
43
44
|
"@types/chai": "4.2.3",
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
"chai": "4.2.0",
|
|
53
54
|
"chai-as-promised": "7.1.1",
|
|
54
55
|
"cross-env": "^7.0.3",
|
|
56
|
+
"dependency-cruiser": "^17.3.3",
|
|
55
57
|
"dotenv": "^8.2.0",
|
|
56
58
|
"eslint": "^8.1.1",
|
|
57
59
|
"husky": "^4.3.7",
|
|
@@ -72,7 +74,7 @@
|
|
|
72
74
|
"typescript-transform-paths": "^3.5.5"
|
|
73
75
|
},
|
|
74
76
|
"peerDependencies": {
|
|
75
|
-
"@golemio/core": "
|
|
77
|
+
"@golemio/core": "^3.0.1-dev.2 || ^3.0.0 || ^2.0.1"
|
|
76
78
|
},
|
|
77
79
|
"dependencies": {
|
|
78
80
|
"@golemio/ovapi-gtfs-realtime-bindings": "^1.2.5",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dbSetup = dbSetup;
|
|
4
|
-
const Di_1 = require("../integration-engine/ioc/Di");
|
|
5
|
-
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
6
|
-
async function dbSetup() {
|
|
7
|
-
const connector = Di_1.PidContainer.resolve(CoreToken_1.CoreToken.PostgresConnector);
|
|
8
|
-
await connector.connect({ timezone: "Europe/Prague" });
|
|
9
|
-
return connector;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=db-integration-setup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"db-integration-setup.js","sourceRoot":"","sources":["../../src/_helpers_/db-integration-setup.ts"],"names":[],"mappings":";;AAIA,0BAIC;AARD,qDAA0C;AAE1C,wEAAqE;AAE9D,KAAK,UAAU,OAAO;IACzB,MAAM,SAAS,GAAG,iBAAY,CAAC,OAAO,CAAqB,qBAAS,CAAC,iBAAiB,CAAC,CAAC;IACxF,MAAM,SAAS,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC,CAAC;IACvD,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderSourceTypeEnum.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ProviderSourceTypeEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAC9B,uCAAa,CAAA;IACb,oCAAU,CAAA;IACV,yCAAe,CAAA;IACf,wCAAc,CAAA;IACd,8CAAoB,CAAA;AACxB,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPresetsGtfsStops.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/models/interfaces/IPresetsGtfsStops.ts"],"names":[],"mappings":""}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface IV1PositionDto {
|
|
2
|
-
bearing: number;
|
|
3
|
-
cis_last_stop_id: number | null;
|
|
4
|
-
cis_last_stop_sequence: number | null;
|
|
5
|
-
delay: number | null;
|
|
6
|
-
delay_stop_arrival: number | null;
|
|
7
|
-
delay_stop_departure: number | null;
|
|
8
|
-
gtfs_last_stop_id: string;
|
|
9
|
-
gtfs_last_stop_sequence: number | null;
|
|
10
|
-
gtfs_next_stop_id: string;
|
|
11
|
-
gtfs_next_stop_sequence: number | null;
|
|
12
|
-
gtfs_shape_dist_traveled: number | null;
|
|
13
|
-
is_canceled: boolean;
|
|
14
|
-
lat: number;
|
|
15
|
-
lng: number;
|
|
16
|
-
origin_time: string;
|
|
17
|
-
origin_timestamp: number;
|
|
18
|
-
speed: number | null;
|
|
19
|
-
tracking: number;
|
|
20
|
-
trips_id: string;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IV1PositionDto.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/interfaces/IV1PositionDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface IV1TripsDto {
|
|
2
|
-
cis_agency_name: string | null;
|
|
3
|
-
cis_id: string;
|
|
4
|
-
cis_number: number;
|
|
5
|
-
cis_order: number | null;
|
|
6
|
-
cis_parent_route_name: number | null;
|
|
7
|
-
cis_real_agency_name: string | null;
|
|
8
|
-
cis_short_name: string;
|
|
9
|
-
cis_vehicle_registration_number: number | null;
|
|
10
|
-
gtfs_route_id: string | null;
|
|
11
|
-
gtfs_route_short_name: string | null;
|
|
12
|
-
gtfs_trip_id: string | null;
|
|
13
|
-
id: string;
|
|
14
|
-
start_cis_stop_id: number | null;
|
|
15
|
-
start_cis_stop_platform_code: string | null;
|
|
16
|
-
start_time: string;
|
|
17
|
-
start_timestamp: number;
|
|
18
|
-
vehicle_type: number | null;
|
|
19
|
-
wheelchair_accessible: boolean | null;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IV1TripDto.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/interfaces/IV1TripDto.ts"],"names":[],"mappings":""}
|
|
File without changes
|