@golemio/pid 2.5.3-dev.791554361 → 2.5.3-rc.792382999
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/integration-engine/ropid-gtfs/RopidGTFSShapesModel.js +2 -3
- package/dist/integration-engine/ropid-gtfs/RopidGTFSShapesModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopTimesModel.js +1 -2
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopTimesModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.js +1 -2
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTripsModel.js +1 -2
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTripsModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/DelayComputationRedisRepository.js +2 -3
- package/dist/integration-engine/ropid-gtfs/data-access/DelayComputationRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js +4 -2
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js.map +1 -1
- package/dist/integration-engine/shared/RopidMetadataModel.js +2 -3
- package/dist/integration-engine/shared/RopidMetadataModel.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsMessagesRepository.js +8 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsMessagesRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.js +8 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/RunTripsRedisRepository.js +3 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/RunTripsRedisRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsHistoryRepository.js +2 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsHistoryRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsRepository.js +2 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripStopsRedisRepository.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripStopsRedisRepository.js.map +1 -1
- package/dist/output-gateway/pid/PIDRouter.d.ts +1 -0
- package/dist/output-gateway/pid/PIDRouter.js +1 -0
- package/dist/output-gateway/pid/PIDRouter.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.js +1 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSRoutesModel.js +1 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSRoutesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSShapesModel.js +7 -3
- package/dist/output-gateway/ropid-gtfs/models/GTFSShapesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js +4 -4
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModelInterfaces.d.ts +2 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js +1 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.js +3 -4
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/models/VehiclePositionsPositionsModel.js +10 -5
- package/dist/output-gateway/vehicle-positions/models/VehiclePositionsPositionsModel.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/models/VehiclePositionsVehicleTypesModel.js +2 -3
- package/dist/output-gateway/vehicle-positions/models/VehiclePositionsVehicleTypesModel.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-directions/RopidDeparturesDirectionsSDMA.js +7 -0
- package/dist/schema-definitions/ropid-departures-directions/RopidDeparturesDirectionsSDMA.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-presets/RopidDeparturesPresetsSDMA.js +7 -0
- package/dist/schema-definitions/ropid-departures-presets/RopidDeparturesPresetsSDMA.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.js +7 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.js +7 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.js +30 -3
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.d.ts +5 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.js +7 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.d.ts +80 -43
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js +286 -40
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/index.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/index.js +49 -6
- package/dist/schema-definitions/ropid-gtfs/index.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js +21 -0
- package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/index.d.ts +1 -1
- package/dist/schema-definitions/ropid-vymi/index.js +3 -0
- package/dist/schema-definitions/ropid-vymi/index.js.map +1 -1
- package/dist/schema-definitions/shared/index.d.ts +7 -0
- package/dist/schema-definitions/shared/index.js +26 -0
- package/dist/schema-definitions/shared/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/index.d.ts +70 -0
- package/dist/schema-definitions/vehicle-positions/index.js +279 -0
- package/dist/schema-definitions/vehicle-positions/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/VPTripsModel.js +8 -1
- package/dist/schema-definitions/vehicle-positions/models/VPTripsModel.js.map +1 -1
- package/docs/implementation_documentation.md +1 -1
- package/package.json +3 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/IAgencyDto.d.ts +0 -10
- package/dist/schema-definitions/ropid-gtfs/interfaces/IAgencyDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/IAgencyDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDatesDto.d.ts +0 -5
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDatesDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDatesDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDto.d.ts +0 -12
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IRouteDto.d.ts +0 -14
- package/dist/schema-definitions/ropid-gtfs/interfaces/IRouteDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/IRouteDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IShapeDto.d.ts +0 -7
- package/dist/schema-definitions/ropid-gtfs/interfaces/IShapeDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/IShapeDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopDto.d.ts +0 -18
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopTimesDto.d.ts +0 -14
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopTimesDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopTimesDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripDto.d.ts +0 -14
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/AgencyDto.d.ts +0 -15
- package/dist/schema-definitions/ropid-gtfs/models/AgencyDto.js +0 -35
- package/dist/schema-definitions/ropid-gtfs/models/AgencyDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDatesDto.d.ts +0 -10
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDatesDto.js +0 -25
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDatesDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDto.d.ts +0 -17
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDto.js +0 -39
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/RouteDto.d.ts +0 -19
- package/dist/schema-definitions/ropid-gtfs/models/RouteDto.js +0 -43
- package/dist/schema-definitions/ropid-gtfs/models/RouteDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/ShapeDto.d.ts +0 -12
- package/dist/schema-definitions/ropid-gtfs/models/ShapeDto.js +0 -29
- package/dist/schema-definitions/ropid-gtfs/models/ShapeDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/StopDto.d.ts +0 -24
- package/dist/schema-definitions/ropid-gtfs/models/StopDto.js +0 -71
- package/dist/schema-definitions/ropid-gtfs/models/StopDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/StopTimesDto.d.ts +0 -20
- package/dist/schema-definitions/ropid-gtfs/models/StopTimesDto.js +0 -51
- package/dist/schema-definitions/ropid-gtfs/models/StopTimesDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/TripDto.d.ts +0 -19
- package/dist/schema-definitions/ropid-gtfs/models/TripDto.js +0 -43
- package/dist/schema-definitions/ropid-gtfs/models/TripDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IDelayComputationDto.d.ts +0 -34
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IDelayComputationDto.js +0 -3
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IDelayComputationDto.js.map +0 -1
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/DelayComputationDtoSchema.d.ts +0 -4
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/DelayComputationDtoSchema.js +0 -78
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/DelayComputationDtoSchema.js.map +0 -1
- package/dist/schema-definitions/shared/interfaces/IMetadataDto.d.ts +0 -7
- package/dist/schema-definitions/shared/interfaces/IMetadataDto.js +0 -3
- package/dist/schema-definitions/shared/interfaces/IMetadataDto.js.map +0 -1
- package/dist/schema-definitions/shared/models/MetadataDto.d.ts +0 -12
- package/dist/schema-definitions/shared/models/MetadataDto.js +0 -49
- package/dist/schema-definitions/shared/models/MetadataDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/models/PositionDto.d.ts +0 -39
- package/dist/schema-definitions/vehicle-positions/models/PositionDto.js +0 -105
- package/dist/schema-definitions/vehicle-positions/models/PositionDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/models/VehicleTypeDto.d.ts +0 -10
- package/dist/schema-definitions/vehicle-positions/models/VehicleTypeDto.js +0 -51
- package/dist/schema-definitions/vehicle-positions/models/VehicleTypeDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IPositionDto.d.ts +0 -35
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IPositionDto.js +0 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IPositionDto.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 +0 -3
- 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 +0 -3
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IV1TripDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVehicleTypeDto.d.ts +0 -5
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVehicleTypeDto.js +0 -3
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVehicleTypeDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto.d.ts +0 -28
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto.js +0 -3
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/ITripStopsCacheDto.d.ts +0 -9
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/ITripStopsCacheDto.js +0 -3
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/ITripStopsCacheDto.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.d.ts +0 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js +0 -64
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js.map +0 -1
- package/dist/schema-definitions/vehicle-positions/redis/schemas/TripStopsCacheDtoSchema.d.ts +0 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/TripStopsCacheDtoSchema.js +0 -37
- package/dist/schema-definitions/vehicle-positions/redis/schemas/TripStopsCacheDtoSchema.js.map +0 -1
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StopTimesDto = void 0;
|
|
4
|
-
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
-
class StopTimesDto extends sequelize_1.Model {
|
|
6
|
-
}
|
|
7
|
-
exports.StopTimesDto = StopTimesDto;
|
|
8
|
-
StopTimesDto.attributeModel = {
|
|
9
|
-
trip_id: { type: sequelize_1.DataTypes.STRING, primaryKey: true },
|
|
10
|
-
stop_sequence: { type: sequelize_1.DataTypes.INTEGER, primaryKey: true },
|
|
11
|
-
arrival_time: sequelize_1.DataTypes.STRING,
|
|
12
|
-
arrival_time_seconds: sequelize_1.DataTypes.INTEGER,
|
|
13
|
-
departure_time: sequelize_1.DataTypes.STRING,
|
|
14
|
-
departure_time_seconds: sequelize_1.DataTypes.INTEGER,
|
|
15
|
-
drop_off_type: sequelize_1.DataTypes.STRING,
|
|
16
|
-
pickup_type: sequelize_1.DataTypes.STRING,
|
|
17
|
-
shape_dist_traveled: sequelize_1.DataTypes.DOUBLE,
|
|
18
|
-
stop_headsign: sequelize_1.DataTypes.STRING,
|
|
19
|
-
stop_id: sequelize_1.DataTypes.STRING,
|
|
20
|
-
timepoint: sequelize_1.DataTypes.INTEGER,
|
|
21
|
-
};
|
|
22
|
-
StopTimesDto.indexesOptions = [
|
|
23
|
-
{
|
|
24
|
-
unique: false,
|
|
25
|
-
using: "BTREE",
|
|
26
|
-
name: "ropidgtfs_stop_times_trip_id",
|
|
27
|
-
fields: ["trip_id"],
|
|
28
|
-
},
|
|
29
|
-
];
|
|
30
|
-
StopTimesDto.jsonSchema = {
|
|
31
|
-
type: "array",
|
|
32
|
-
items: {
|
|
33
|
-
type: "object",
|
|
34
|
-
properties: {
|
|
35
|
-
trip_id: { type: "string" },
|
|
36
|
-
stop_sequence: { type: "integer" },
|
|
37
|
-
arrival_time: { type: "string" },
|
|
38
|
-
arrival_time_seconds: { type: "integer" },
|
|
39
|
-
departure_time: { type: "string" },
|
|
40
|
-
departure_time_seconds: { type: "integer" },
|
|
41
|
-
drop_off_type: { type: "string" },
|
|
42
|
-
pickup_type: { type: "string" },
|
|
43
|
-
shape_dist_traveled: { type: "number" },
|
|
44
|
-
stop_headsign: { type: "string" },
|
|
45
|
-
stop_id: { type: "string" },
|
|
46
|
-
timepoint: { type: "integer" },
|
|
47
|
-
},
|
|
48
|
-
required: ["trip_id", "stop_sequence"],
|
|
49
|
-
},
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=StopTimesDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StopTimesDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/ropid-gtfs/models/StopTimesDto.ts"],"names":[],"mappings":";;;AACA,mEAA6G;AAG7G,MAAa,YAAa,SAAQ,iBAAoB;;AAAtD,oCA2DC;AA7CiB,2BAAc,GAAkC;IAC1D,OAAO,EAAE,EAAE,IAAI,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE;IACrD,aAAa,EAAE,EAAE,IAAI,EAAE,qBAAS,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE;IAC5D,YAAY,EAAE,qBAAS,CAAC,MAAM;IAC9B,oBAAoB,EAAE,qBAAS,CAAC,OAAO;IACvC,cAAc,EAAE,qBAAS,CAAC,MAAM;IAChC,sBAAsB,EAAE,qBAAS,CAAC,OAAO;IACzC,aAAa,EAAE,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2
|
-
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { ITripDto } from "../interfaces/ITripDto";
|
|
4
|
-
export declare class TripDto extends Model<TripDto> implements ITripDto {
|
|
5
|
-
trip_id: string;
|
|
6
|
-
bikes_allowed: number;
|
|
7
|
-
block_id: string;
|
|
8
|
-
direction_id: number;
|
|
9
|
-
exceptional: number;
|
|
10
|
-
route_id: string;
|
|
11
|
-
service_id: string;
|
|
12
|
-
shape_id: string;
|
|
13
|
-
trip_headsign: string;
|
|
14
|
-
trip_operation_type: number;
|
|
15
|
-
trip_short_name: string;
|
|
16
|
-
wheelchair_accessible: number;
|
|
17
|
-
static attributeModel: ModelAttributes<TripDto>;
|
|
18
|
-
static jsonSchema: JSONSchemaType<ITripDto[]>;
|
|
19
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TripDto = void 0;
|
|
4
|
-
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
-
class TripDto extends sequelize_1.Model {
|
|
6
|
-
}
|
|
7
|
-
exports.TripDto = TripDto;
|
|
8
|
-
TripDto.attributeModel = {
|
|
9
|
-
trip_id: { type: sequelize_1.DataTypes.STRING, primaryKey: true },
|
|
10
|
-
bikes_allowed: sequelize_1.DataTypes.INTEGER,
|
|
11
|
-
block_id: sequelize_1.DataTypes.STRING,
|
|
12
|
-
direction_id: sequelize_1.DataTypes.INTEGER,
|
|
13
|
-
exceptional: sequelize_1.DataTypes.INTEGER,
|
|
14
|
-
route_id: sequelize_1.DataTypes.STRING,
|
|
15
|
-
service_id: sequelize_1.DataTypes.STRING,
|
|
16
|
-
shape_id: sequelize_1.DataTypes.STRING,
|
|
17
|
-
trip_headsign: sequelize_1.DataTypes.STRING,
|
|
18
|
-
trip_operation_type: sequelize_1.DataTypes.INTEGER,
|
|
19
|
-
trip_short_name: sequelize_1.DataTypes.STRING,
|
|
20
|
-
wheelchair_accessible: sequelize_1.DataTypes.INTEGER,
|
|
21
|
-
};
|
|
22
|
-
TripDto.jsonSchema = {
|
|
23
|
-
type: "array",
|
|
24
|
-
items: {
|
|
25
|
-
type: "object",
|
|
26
|
-
properties: {
|
|
27
|
-
trip_id: { type: "string" },
|
|
28
|
-
bikes_allowed: { type: "integer" },
|
|
29
|
-
block_id: { type: "string" },
|
|
30
|
-
direction_id: { type: "integer" },
|
|
31
|
-
exceptional: { type: "integer" },
|
|
32
|
-
route_id: { type: "string" },
|
|
33
|
-
service_id: { type: "string" },
|
|
34
|
-
shape_id: { type: "string" },
|
|
35
|
-
trip_headsign: { type: "string" },
|
|
36
|
-
trip_operation_type: { type: "integer" },
|
|
37
|
-
trip_short_name: { type: "string" },
|
|
38
|
-
wheelchair_accessible: { type: "integer" },
|
|
39
|
-
},
|
|
40
|
-
required: ["trip_id"],
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=TripDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TripDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/ropid-gtfs/models/TripDto.ts"],"names":[],"mappings":";;;AACA,mEAAwF;AAGxF,MAAa,OAAQ,SAAQ,iBAAc;;AAA3C,0BAkDC;AApCiB,sBAAc,GAA6B;IACrD,OAAO,EAAE,EAAE,IAAI,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE;IACrD,aAAa,EAAE,qBAAS,CAAC,OAAO;IAChC,QAAQ,EAAE,qBAAS,CAAC,MAAM;IAC1B,YAAY,EAAE,qBAAS,CAAC,OAAO;IAC/B,WAAW,EAAE,qBAAS,CAAC,OAAO;IAC9B,QAAQ,EAAE,qBAAS,CAAC,MAAM;IAC1B,UAAU,EAAE,qBAAS,CAAC,MAAM;IAC5B,QAAQ,EAAE,qBAAS,CAAC,MAAM;IAC1B,aAAa,EAAE,qBAAS,CAAC,MAAM;IAC/B,mBAAmB,EAAE,qBAAS,CAAC,OAAO;IACtC,eAAe,EAAE,qBAAS,CAAC,MAAM;IACjC,qBAAqB,EAAE,qBAAS,CAAC,OAAO;CAC3C,CAAC;AAEY,kBAAU,GAA+B;IACnD,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAClC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAChC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACjC,mBAAmB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACxC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACnC,qBAAqB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SAC7C;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACxB;CACJ,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export interface IShapePoint {
|
|
2
|
-
index: number;
|
|
3
|
-
at_stop: boolean;
|
|
4
|
-
bearing: number;
|
|
5
|
-
coordinates: number[];
|
|
6
|
-
distance_from_last_stop: number;
|
|
7
|
-
last_stop_sequence: number;
|
|
8
|
-
next_stop_sequence: number;
|
|
9
|
-
shape_dist_traveled: number;
|
|
10
|
-
this_stop_sequence: number | null;
|
|
11
|
-
time_scheduled_seconds: number;
|
|
12
|
-
}
|
|
13
|
-
export interface IStop {
|
|
14
|
-
stop_id: string;
|
|
15
|
-
stop_lat: number;
|
|
16
|
-
stop_lon: number;
|
|
17
|
-
stop_name: string;
|
|
18
|
-
}
|
|
19
|
-
export interface IStopTime {
|
|
20
|
-
arrival_time: string;
|
|
21
|
-
departure_time: string;
|
|
22
|
-
shape_dist_traveled: number;
|
|
23
|
-
stop_headsign: string | null;
|
|
24
|
-
stop_id: string;
|
|
25
|
-
stop_sequence: number;
|
|
26
|
-
arrival_time_seconds: number;
|
|
27
|
-
departure_time_seconds: number;
|
|
28
|
-
stop: IStop;
|
|
29
|
-
}
|
|
30
|
-
export interface IDelayComputationDto {
|
|
31
|
-
trip_id: string;
|
|
32
|
-
stop_times: IStopTime[];
|
|
33
|
-
shapes_anchor_points: IShapePoint[];
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDelayComputationDto.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/ropid-gtfs/redis/interfaces/IDelayComputationDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { IDelayComputationDto } from "../interfaces/IDelayComputationDto";
|
|
3
|
-
declare const delayComputationDtoSchema: JSONSchemaType<IDelayComputationDto>;
|
|
4
|
-
export { delayComputationDtoSchema as DelayComputationDtoSchema };
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DelayComputationDtoSchema = void 0;
|
|
4
|
-
const delayComputationDtoSchema = {
|
|
5
|
-
$schema: "http://json-schema.org/draft-04/schema#",
|
|
6
|
-
title: "DelayComputationDtoSchema",
|
|
7
|
-
type: "object",
|
|
8
|
-
properties: {
|
|
9
|
-
trip_id: { type: "string" },
|
|
10
|
-
stop_times: {
|
|
11
|
-
type: "array",
|
|
12
|
-
items: {
|
|
13
|
-
type: "object",
|
|
14
|
-
properties: {
|
|
15
|
-
arrival_time: { type: "string" },
|
|
16
|
-
departure_time: { type: "string" },
|
|
17
|
-
shape_dist_traveled: { type: "number" },
|
|
18
|
-
stop_headsign: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
19
|
-
stop_id: { type: "string" },
|
|
20
|
-
stop_sequence: { type: "integer" },
|
|
21
|
-
arrival_time_seconds: { type: "integer" },
|
|
22
|
-
departure_time_seconds: { type: "integer" },
|
|
23
|
-
stop: {
|
|
24
|
-
type: "object",
|
|
25
|
-
properties: {
|
|
26
|
-
stop_id: { type: "string" },
|
|
27
|
-
stop_lat: { type: "number" },
|
|
28
|
-
stop_lon: { type: "number" },
|
|
29
|
-
stop_name: { type: "string" },
|
|
30
|
-
},
|
|
31
|
-
required: ["stop_id", "stop_lat", "stop_lon", "stop_name"],
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
required: [
|
|
35
|
-
"arrival_time",
|
|
36
|
-
"departure_time",
|
|
37
|
-
"shape_dist_traveled",
|
|
38
|
-
"stop_id",
|
|
39
|
-
"stop_sequence",
|
|
40
|
-
"arrival_time_seconds",
|
|
41
|
-
"departure_time_seconds",
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
shapes_anchor_points: {
|
|
46
|
-
type: "array",
|
|
47
|
-
items: {
|
|
48
|
-
type: "object",
|
|
49
|
-
properties: {
|
|
50
|
-
index: { type: "integer" },
|
|
51
|
-
at_stop: { type: "boolean" },
|
|
52
|
-
bearing: { type: "number" },
|
|
53
|
-
coordinates: { type: "array", items: { type: "number" } },
|
|
54
|
-
distance_from_last_stop: { type: "number" },
|
|
55
|
-
last_stop_sequence: { type: "integer" },
|
|
56
|
-
next_stop_sequence: { type: "integer" },
|
|
57
|
-
shape_dist_traveled: { type: "number" },
|
|
58
|
-
this_stop_sequence: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
|
|
59
|
-
time_scheduled_seconds: { type: "number" },
|
|
60
|
-
},
|
|
61
|
-
required: [
|
|
62
|
-
"index",
|
|
63
|
-
"at_stop",
|
|
64
|
-
"bearing",
|
|
65
|
-
"coordinates",
|
|
66
|
-
"distance_from_last_stop",
|
|
67
|
-
"last_stop_sequence",
|
|
68
|
-
"next_stop_sequence",
|
|
69
|
-
"shape_dist_traveled",
|
|
70
|
-
"time_scheduled_seconds",
|
|
71
|
-
],
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
required: ["trip_id", "stop_times", "shapes_anchor_points"],
|
|
76
|
-
};
|
|
77
|
-
exports.DelayComputationDtoSchema = delayComputationDtoSchema;
|
|
78
|
-
//# sourceMappingURL=DelayComputationDtoSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DelayComputationDtoSchema.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/ropid-gtfs/redis/schemas/DelayComputationDtoSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,yBAAyB,GAAyC;IACpE,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,2BAA2B;IAClC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,UAAU,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAChC,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAClC,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACvC,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;oBAChF,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EA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,kBAAkB,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;oBACtF,sBAAsB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAC7C;gBACD,QAAQ,EAAE;oBACN,OAAO;oBACP,SAAS;oBACT,SAAS;oBACT,aAAa;oBACb,yBAAyB;oBACzB,oBAAoB;oBACpB,oBAAoB;oBACpB,qBAAqB;oBACrB,wBAAwB;iBAC3B;aACJ;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,sBAAsB,CAAC;CAC9D,CAAC;AAEoC,8DAAyB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IMetadataDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/shared/interfaces/IMetadataDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { IMetadataDto } from "../interfaces/IMetadataDto";
|
|
4
|
-
export declare class MetadataDto extends Model<IMetadataDto> implements IMetadataDto {
|
|
5
|
-
dataset: string;
|
|
6
|
-
key: string;
|
|
7
|
-
type: string;
|
|
8
|
-
value: string;
|
|
9
|
-
version: number;
|
|
10
|
-
static attributeModel: ModelAttributes<MetadataDto, IMetadataDto>;
|
|
11
|
-
static jsonSchema: JSONSchemaType<IMetadataDto>;
|
|
12
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.MetadataDto = void 0;
|
|
27
|
-
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
28
|
-
class MetadataDto extends sequelize_1.Model {
|
|
29
|
-
}
|
|
30
|
-
exports.MetadataDto = MetadataDto;
|
|
31
|
-
MetadataDto.attributeModel = {
|
|
32
|
-
dataset: sequelize_1.default.STRING,
|
|
33
|
-
key: sequelize_1.default.STRING,
|
|
34
|
-
type: sequelize_1.default.STRING,
|
|
35
|
-
value: sequelize_1.default.STRING,
|
|
36
|
-
version: sequelize_1.default.INTEGER,
|
|
37
|
-
};
|
|
38
|
-
MetadataDto.jsonSchema = {
|
|
39
|
-
type: "object",
|
|
40
|
-
properties: {
|
|
41
|
-
dataset: { type: "string" },
|
|
42
|
-
key: { type: "string" },
|
|
43
|
-
type: { type: "string" },
|
|
44
|
-
value: { type: "string" },
|
|
45
|
-
version: { type: "number" },
|
|
46
|
-
},
|
|
47
|
-
required: ["key", "value"],
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=MetadataDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MetadataDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/shared/models/MetadataDto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iFAAwF;AAGxF,MAAa,WAAY,SAAQ,iBAAmB;;AAApD,kCA0BC;AAnBiB,0BAAc,GAA+C;IACvE,OAAO,EAAE,mBAAS,CAAC,MAAM;IACzB,GAAG,EAAE,mBAAS,CAAC,MAAM;IACrB,IAAI,EAAE,mBAAS,CAAC,MAAM;IACtB,KAAK,EAAE,mBAAS,CAAC,MAAM;IACvB,OAAO,EAAE,mBAAS,CAAC,OAAO;CAC7B,CAAC;AAEY,sBAAU,GAAiC;IACrD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC9B;IACD,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;CAC7B,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
export declare class PositionDto extends Model implements IPositionDto {
|
|
4
|
-
asw_last_stop_id: string | null;
|
|
5
|
-
bearing: number | null;
|
|
6
|
-
cis_last_stop_id: number | null;
|
|
7
|
-
cis_last_stop_sequence: number | null;
|
|
8
|
-
delay: number;
|
|
9
|
-
delay_stop_arrival: number | null;
|
|
10
|
-
delay_stop_departure: number | null;
|
|
11
|
-
is_canceled: boolean;
|
|
12
|
-
last_stop_arrival_time: string;
|
|
13
|
-
last_stop_departure_time: string;
|
|
14
|
-
last_stop_id: string;
|
|
15
|
-
last_stop_sequence: number;
|
|
16
|
-
lat: number | null;
|
|
17
|
-
lng: number | null;
|
|
18
|
-
next_stop_arrival_time: string;
|
|
19
|
-
next_stop_departure_time: string;
|
|
20
|
-
next_stop_id: string;
|
|
21
|
-
next_stop_sequence: number;
|
|
22
|
-
origin_time: string;
|
|
23
|
-
origin_timestamp: number;
|
|
24
|
-
shape_dist_traveled: number;
|
|
25
|
-
speed: number;
|
|
26
|
-
state_position: string;
|
|
27
|
-
state_process: string;
|
|
28
|
-
this_stop_id: string | null;
|
|
29
|
-
this_stop_sequence: number | null;
|
|
30
|
-
tracking: number | null;
|
|
31
|
-
trips_id: string | null;
|
|
32
|
-
tcp_event: string | null;
|
|
33
|
-
last_stop_headsign: string | null;
|
|
34
|
-
last_stop_name: string | null;
|
|
35
|
-
valid_to: number;
|
|
36
|
-
scheduled_timestamp: string | null;
|
|
37
|
-
static attributeModel: ModelAttributes<PositionDto>;
|
|
38
|
-
static jsonSchema: JSONSchemaType<IPositionDto[]>;
|
|
39
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PositionDto = void 0;
|
|
4
|
-
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
-
class PositionDto extends sequelize_1.Model {
|
|
6
|
-
}
|
|
7
|
-
exports.PositionDto = PositionDto;
|
|
8
|
-
PositionDto.attributeModel = {
|
|
9
|
-
asw_last_stop_id: sequelize_1.DataTypes.STRING,
|
|
10
|
-
bearing: sequelize_1.DataTypes.INTEGER,
|
|
11
|
-
cis_last_stop_id: sequelize_1.DataTypes.INTEGER,
|
|
12
|
-
cis_last_stop_sequence: sequelize_1.DataTypes.INTEGER,
|
|
13
|
-
delay: sequelize_1.DataTypes.INTEGER,
|
|
14
|
-
delay_stop_arrival: sequelize_1.DataTypes.INTEGER,
|
|
15
|
-
delay_stop_departure: sequelize_1.DataTypes.INTEGER,
|
|
16
|
-
id: {
|
|
17
|
-
autoIncrement: true,
|
|
18
|
-
primaryKey: true,
|
|
19
|
-
type: sequelize_1.DataTypes.BIGINT,
|
|
20
|
-
},
|
|
21
|
-
is_canceled: sequelize_1.DataTypes.BOOLEAN,
|
|
22
|
-
last_stop_arrival_time: sequelize_1.DataTypes.BIGINT,
|
|
23
|
-
last_stop_departure_time: sequelize_1.DataTypes.BIGINT,
|
|
24
|
-
last_stop_id: sequelize_1.DataTypes.STRING,
|
|
25
|
-
last_stop_sequence: sequelize_1.DataTypes.INTEGER,
|
|
26
|
-
lat: sequelize_1.DataTypes.DECIMAL,
|
|
27
|
-
lng: sequelize_1.DataTypes.DECIMAL,
|
|
28
|
-
next_stop_arrival_time: sequelize_1.DataTypes.BIGINT,
|
|
29
|
-
next_stop_departure_time: sequelize_1.DataTypes.BIGINT,
|
|
30
|
-
next_stop_id: sequelize_1.DataTypes.STRING,
|
|
31
|
-
next_stop_sequence: sequelize_1.DataTypes.INTEGER,
|
|
32
|
-
origin_time: sequelize_1.DataTypes.TIME,
|
|
33
|
-
origin_timestamp: sequelize_1.DataTypes.BIGINT,
|
|
34
|
-
shape_dist_traveled: sequelize_1.DataTypes.DECIMAL,
|
|
35
|
-
speed: sequelize_1.DataTypes.INTEGER,
|
|
36
|
-
state_position: sequelize_1.DataTypes.STRING,
|
|
37
|
-
state_process: sequelize_1.DataTypes.STRING,
|
|
38
|
-
this_stop_id: sequelize_1.DataTypes.STRING,
|
|
39
|
-
this_stop_sequence: sequelize_1.DataTypes.INTEGER,
|
|
40
|
-
tracking: sequelize_1.DataTypes.INTEGER,
|
|
41
|
-
// ⬐ hash(start_timestamp, cis_id, cis_short_name, cis_number);
|
|
42
|
-
trips_id: { type: sequelize_1.DataTypes.STRING },
|
|
43
|
-
tcp_event: { type: sequelize_1.DataTypes.STRING },
|
|
44
|
-
last_stop_headsign: { type: sequelize_1.DataTypes.STRING },
|
|
45
|
-
last_stop_name: { type: sequelize_1.DataTypes.STRING },
|
|
46
|
-
valid_to: sequelize_1.DataTypes.BIGINT,
|
|
47
|
-
scheduled_timestamp: { type: sequelize_1.DataTypes.STRING },
|
|
48
|
-
};
|
|
49
|
-
PositionDto.jsonSchema = {
|
|
50
|
-
$schema: "http://json-schema.org/draft-04/schema#",
|
|
51
|
-
type: "array",
|
|
52
|
-
items: {
|
|
53
|
-
type: "object",
|
|
54
|
-
properties: {
|
|
55
|
-
asw_last_stop_id: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
56
|
-
bearing: { oneOf: [{ type: "number" }, { type: "null", nullable: true }] },
|
|
57
|
-
cis_last_stop_id: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
|
|
58
|
-
cis_last_stop_sequence: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
|
|
59
|
-
delay: { type: "number" },
|
|
60
|
-
delay_stop_arrival: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
|
|
61
|
-
delay_stop_departure: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
|
|
62
|
-
is_canceled: { type: "boolean" },
|
|
63
|
-
last_stop_arrival_time: { type: "string" },
|
|
64
|
-
last_stop_departure_time: { type: "string" },
|
|
65
|
-
last_stop_id: { type: "string" },
|
|
66
|
-
last_stop_sequence: { type: "number" },
|
|
67
|
-
lat: { oneOf: [{ type: "number" }, { type: "null", nullable: true }] },
|
|
68
|
-
lng: { oneOf: [{ type: "number" }, { type: "null", nullable: true }] },
|
|
69
|
-
next_stop_arrival_time: { type: "string" },
|
|
70
|
-
next_stop_departure_time: { type: "string" },
|
|
71
|
-
next_stop_id: { type: "string" },
|
|
72
|
-
next_stop_sequence: { type: "number" },
|
|
73
|
-
origin_time: { type: "string" },
|
|
74
|
-
origin_timestamp: { type: "number" },
|
|
75
|
-
shape_dist_traveled: { type: "number" },
|
|
76
|
-
speed: { oneOf: [{ type: "number" }, { type: "null", nullable: true }] },
|
|
77
|
-
state_position: { type: "string" },
|
|
78
|
-
state_process: { type: "string" },
|
|
79
|
-
this_stop_id: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
80
|
-
this_stop_sequence: { oneOf: [{ type: "number" }, { type: "null", nullable: true }] },
|
|
81
|
-
tracking: { type: "integer" },
|
|
82
|
-
trips_id: { type: "string" },
|
|
83
|
-
tcp_event: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
84
|
-
last_stop_headsign: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
85
|
-
last_stop_name: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
86
|
-
valid_to: { type: "number" },
|
|
87
|
-
scheduled_timestamp: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
88
|
-
},
|
|
89
|
-
required: [
|
|
90
|
-
"delay_stop_arrival",
|
|
91
|
-
"delay_stop_departure",
|
|
92
|
-
"is_canceled",
|
|
93
|
-
"lat",
|
|
94
|
-
"lng",
|
|
95
|
-
"origin_time",
|
|
96
|
-
"origin_timestamp",
|
|
97
|
-
"state_position",
|
|
98
|
-
"state_process",
|
|
99
|
-
"tracking",
|
|
100
|
-
"trips_id",
|
|
101
|
-
],
|
|
102
|
-
additionalProperties: false,
|
|
103
|
-
},
|
|
104
|
-
};
|
|
105
|
-
//# sourceMappingURL=PositionDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PositionDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/vehicle-positions/models/PositionDto.ts"],"names":[],"mappings":";;;AACA,mEAAwF;AAExF,MAAa,WAAY,SAAQ,iBAAK;;AAAtC,kCAqIC;AAlGiB,0BAAc,GAAiC;IACzD,gBAAgB,EAAE,qBAAS,C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YACV,UAAU;SACb;QACD,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { IVehicleTypeDto } from "./interfaces/IVehicleTypeDto";
|
|
4
|
-
export declare class VehicleTypeDto extends Model<IVehicleTypeDto> implements IVehicleTypeDto {
|
|
5
|
-
description_cs: string;
|
|
6
|
-
description_en: string;
|
|
7
|
-
id: number;
|
|
8
|
-
static attributeModel: ModelAttributes<VehicleTypeDto>;
|
|
9
|
-
static jsonSchemaModel: JSONSchemaType<IVehicleTypeDto[]>;
|
|
10
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.VehicleTypeDto = void 0;
|
|
27
|
-
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
28
|
-
class VehicleTypeDto extends sequelize_1.Model {
|
|
29
|
-
}
|
|
30
|
-
exports.VehicleTypeDto = VehicleTypeDto;
|
|
31
|
-
VehicleTypeDto.attributeModel = {
|
|
32
|
-
description_cs: sequelize_1.default.STRING,
|
|
33
|
-
description_en: sequelize_1.default.STRING,
|
|
34
|
-
id: {
|
|
35
|
-
primaryKey: true,
|
|
36
|
-
type: sequelize_1.default.BIGINT,
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
VehicleTypeDto.jsonSchemaModel = {
|
|
40
|
-
type: "array",
|
|
41
|
-
items: {
|
|
42
|
-
type: "object",
|
|
43
|
-
properties: {
|
|
44
|
-
description_cs: { type: "string" },
|
|
45
|
-
description_en: { type: "string" },
|
|
46
|
-
id: { type: "number" },
|
|
47
|
-
},
|
|
48
|
-
required: ["description_cs", "description_en", "id"],
|
|
49
|
-
},
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=VehicleTypeDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VehicleTypeDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/vehicle-positions/models/VehicleTypeDto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iFAAwF;AAGxF,MAAa,cAAe,SAAQ,iBAAsB;;AAA1D,wCA0BC;AArBiB,6BAAc,GAAoC;IAC5D,cAAc,EAAE,mBAAS,CAAC,MAAM;IAChC,cAAc,EAAE,mBAAS,CAAC,MAAM;IAChC,EAAE,EAAE;QACA,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,MAAM;KACzB;CACJ,CAAC;AAEY,8BAAe,GAAsC;IAC/D,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClC,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClC,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SACzB;QACD,QAAQ,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,CAAC;KACvD;CACJ,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
interface IPositionDto {
|
|
2
|
-
asw_last_stop_id: string | null;
|
|
3
|
-
bearing: number | null;
|
|
4
|
-
cis_last_stop_id: number | null;
|
|
5
|
-
cis_last_stop_sequence: number | null;
|
|
6
|
-
delay: number;
|
|
7
|
-
delay_stop_arrival: number | null;
|
|
8
|
-
delay_stop_departure: number | null;
|
|
9
|
-
is_canceled: boolean;
|
|
10
|
-
last_stop_arrival_time: string;
|
|
11
|
-
last_stop_departure_time: string;
|
|
12
|
-
last_stop_id: string;
|
|
13
|
-
last_stop_sequence: number;
|
|
14
|
-
lat: number | null;
|
|
15
|
-
lng: number | null;
|
|
16
|
-
next_stop_arrival_time: string;
|
|
17
|
-
next_stop_departure_time: string;
|
|
18
|
-
next_stop_id: string;
|
|
19
|
-
next_stop_sequence: number;
|
|
20
|
-
origin_time: string;
|
|
21
|
-
origin_timestamp: number;
|
|
22
|
-
shape_dist_traveled: number;
|
|
23
|
-
speed: number | null;
|
|
24
|
-
state_position: string;
|
|
25
|
-
state_process: string;
|
|
26
|
-
this_stop_id: string | null;
|
|
27
|
-
this_stop_sequence: number | null;
|
|
28
|
-
tracking: number | null;
|
|
29
|
-
trips_id: string | null;
|
|
30
|
-
tcp_event: string | null;
|
|
31
|
-
last_stop_headsign: string | null;
|
|
32
|
-
last_stop_name: string | null;
|
|
33
|
-
valid_to: number;
|
|
34
|
-
scheduled_timestamp: string | null;
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPositionDto.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/interfaces/IPositionDto.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":""}
|