timetable-api-node 1.7.7 → 1.7.10
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/README.md +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -538,7 +538,8 @@ Nearby stops — same search as `get_stops_around_location`, for non-MCP clients
|
|
|
538
538
|
|
|
539
539
|
All routes as a JSON array, sorted by short name.
|
|
540
540
|
|
|
541
|
-
- **
|
|
541
|
+
- **Optional:** `full=1` — raw route objects from the timetable store (trip maps, shapes, departure maps; ~9 MB) instead of the list fields.
|
|
542
|
+
- **Response:** array of `{ external_id, short_name, long_name, color, type, stops_by_shape }` (~20 KB). `stops_by_shape` holds stop codes per direction, keyed `"0"` and `"1"`.
|
|
542
543
|
|
|
543
544
|
(`GET /routes` returns an HTML table.)
|
|
544
545
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "timetable-api-node",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.10",
|
|
4
4
|
"description": "Lviv (Ukraine) public transport REST API and read-only Model Context Protocol (MCP) server: stops, timetables, routes, live vehicle positions, GTFS/GTFS-RT. No API key required.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@types/express": "^5.0.6",
|
|
67
67
|
"@types/lokijs": "^1.5.14",
|
|
68
68
|
"@types/newrelic": "^9.14.8",
|
|
69
|
-
"@types/node": "^
|
|
69
|
+
"@types/node": "^26.6.5",
|
|
70
70
|
"typescript": "^7.0.2",
|
|
71
71
|
"vitest": "^5.0.0"
|
|
72
72
|
}
|