minotor 2.0.0 → 2.0.1
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/CHANGELOG.md +3 -9
- package/dist/router.d.ts +2 -2
- package/package.json +1 -1
- package/src/router.ts +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [2.0.1](https://github.com/aubryio/minotor/compare/v2.0.0...v2.0.1) (2025-05-26)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### BREAKING CHANGES
|
|
10
|
-
|
|
11
|
-
* The serialization format of both the timetable and the stops index was updated to
|
|
12
|
-
version 0.0.2. Version 0.0.1 can't be read nor produced anymore by this version of the library
|
|
6
|
+
* fix StopId export ([c53db0a](https://github.com/aubryio/minotor/commit/c53db0ad6d3751dc0b0cc38d60016b570c041bab))
|
package/dist/router.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { Query } from './routing/query.js';
|
|
|
3
3
|
import { Result } from './routing/result.js';
|
|
4
4
|
import { Leg, Route, Transfer, VehicleLeg } from './routing/route.js';
|
|
5
5
|
import { ReachingTime, Router } from './routing/router.js';
|
|
6
|
-
import { LocationType, SourceStopId, Stop } from './stops/stops.js';
|
|
6
|
+
import { LocationType, SourceStopId, Stop, StopId } from './stops/stops.js';
|
|
7
7
|
import { StopsIndex } from './stops/stopsIndex.js';
|
|
8
8
|
import { Duration } from './timetable/duration.js';
|
|
9
9
|
import { Time } from './timetable/time.js';
|
|
10
10
|
import { RouteType, ServiceRoute, Timetable, TransferType } from './timetable/timetable.js';
|
|
11
|
-
export { Duration, Leg, LocationType, Plotter, Query, ReachingTime, Result, Route, Router, RouteType, ServiceRoute, Stop,
|
|
11
|
+
export { Duration, Leg, LocationType, Plotter, Query, ReachingTime, Result, Route, Router, RouteType, ServiceRoute, SourceStopId, Stop, StopId, StopsIndex, Time, Timetable, Transfer, TransferType, VehicleLeg, };
|
package/package.json
CHANGED
package/src/router.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Query } from './routing/query.js';
|
|
|
3
3
|
import { Result } from './routing/result.js';
|
|
4
4
|
import { Leg, Route, Transfer, VehicleLeg } from './routing/route.js';
|
|
5
5
|
import { ReachingTime, Router } from './routing/router.js';
|
|
6
|
-
import { LocationType, SourceStopId, Stop } from './stops/stops.js';
|
|
6
|
+
import { LocationType, SourceStopId, Stop, StopId } from './stops/stops.js';
|
|
7
7
|
import { StopsIndex } from './stops/stopsIndex.js';
|
|
8
8
|
import { Duration } from './timetable/duration.js';
|
|
9
9
|
import { Time } from './timetable/time.js';
|
|
@@ -26,8 +26,9 @@ export {
|
|
|
26
26
|
Router,
|
|
27
27
|
RouteType,
|
|
28
28
|
ServiceRoute,
|
|
29
|
+
SourceStopId,
|
|
29
30
|
Stop,
|
|
30
|
-
|
|
31
|
+
StopId,
|
|
31
32
|
StopsIndex,
|
|
32
33
|
Time,
|
|
33
34
|
Timetable,
|