@golemio/pid 2.3.3-dev.685860908 → 2.3.3-dev.686030177
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.
|
@@ -7,7 +7,7 @@ export default class VPTripsIdGenerator {
|
|
|
7
7
|
*/
|
|
8
8
|
static generateFromCommonRun(gtfsTrip: IGtfsRunTripCache, runInput: IVehiclePositionsRun): string;
|
|
9
9
|
/**
|
|
10
|
-
* @example 2022-11-04T12:37:35+01:
|
|
10
|
+
* @example 2022-11-04T12:37:35+01:00_991_416_220901_13_13
|
|
11
11
|
*/
|
|
12
12
|
static generateFromMetroRun(gtfsTrip: IGtfsRunTripCache, runInput: IMetroRunInputForProcessing): string;
|
|
13
13
|
}
|
|
@@ -10,7 +10,7 @@ class VPTripsIdGenerator {
|
|
|
10
10
|
return `${start_timestamp}_${trip_id}_${registration_number}`;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* @example 2022-11-04T12:37:35+01:
|
|
13
|
+
* @example 2022-11-04T12:37:35+01:00_991_416_220901_13_13
|
|
14
14
|
*/
|
|
15
15
|
static generateFromMetroRun(gtfsTrip, runInput) {
|
|
16
16
|
const { start_timestamp, trip_id } = gtfsTrip;
|