gtfs 4.0.3 → 4.1.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/@types/index.d.ts +22 -0
- package/CHANGELOG.md +20 -0
- package/README.md +306 -104
- package/lib/gtfs-plus/calendar-attributes.js +32 -0
- package/lib/{non-standard → gtfs-plus}/directions.js +1 -1
- package/lib/gtfs-plus/route-attributes.js +32 -0
- package/lib/{non-standard → gtfs-plus}/stop-attributes.js +1 -1
- package/lib/gtfs-realtime/service-alerts.js +1 -1
- package/lib/gtfs.js +34 -2
- package/lib/ods/deadhead-times.js +32 -0
- package/lib/ods/deadheads.js +32 -0
- package/lib/ods/ops-locations.js +32 -0
- package/lib/ods/run-events.js +32 -0
- package/lib/ods/runs-pieces.js +32 -0
- package/models/gtfs-plus/calendar-attributes.js +20 -0
- package/models/{non-standard → gtfs-plus}/directions.js +1 -0
- package/models/gtfs-plus/route-attributes.js +32 -0
- package/models/{non-standard → gtfs-plus}/stop-attributes.js +14 -0
- package/models/models.js +20 -4
- package/models/ods/deadhead-times.js +60 -0
- package/models/ods/deadheads.js +51 -0
- package/models/ods/ops-locations.js +44 -0
- package/models/ods/run-events.js +65 -0
- package/models/ods/runs-pieces.js +58 -0
- package/package.json +10 -10
- package/test/mocha/get-calendar-attributes.js +33 -0
- package/test/mocha/get-route-attributes.js +33 -0
package/@types/index.d.ts
CHANGED
|
@@ -383,6 +383,17 @@ export function getStopAreas(
|
|
|
383
383
|
options?: QueryOptions
|
|
384
384
|
): SqlResults;
|
|
385
385
|
|
|
386
|
+
/**
|
|
387
|
+
* Returns an array of calendar_attributes that match query parameters.
|
|
388
|
+
* This is for the non-standard `calendar_attributes.txt` file.
|
|
389
|
+
*/
|
|
390
|
+
export function getCalendarAttributes(
|
|
391
|
+
query?: SqlWhere,
|
|
392
|
+
fields?: SqlSelect,
|
|
393
|
+
sortBy?: SqlOrderBy,
|
|
394
|
+
options?: QueryOptions
|
|
395
|
+
): SqlResults;
|
|
396
|
+
|
|
386
397
|
/**
|
|
387
398
|
* Returns an array of directions that match query parameters.
|
|
388
399
|
* This is for the non-standard `directions.txt` file.
|
|
@@ -394,6 +405,17 @@ export function getDirections(
|
|
|
394
405
|
options?: QueryOptions
|
|
395
406
|
): SqlResults;
|
|
396
407
|
|
|
408
|
+
/**
|
|
409
|
+
* Returns an array of route_attributes that match query parameters.
|
|
410
|
+
* This is for the non-standard `route_attributes.txt` file.
|
|
411
|
+
*/
|
|
412
|
+
export function getRouteAttributes(
|
|
413
|
+
query?: SqlWhere,
|
|
414
|
+
fields?: SqlSelect,
|
|
415
|
+
sortBy?: SqlOrderBy,
|
|
416
|
+
options?: QueryOptions
|
|
417
|
+
): SqlResults;
|
|
418
|
+
|
|
397
419
|
/**
|
|
398
420
|
* Returns an array of stop_attributes that match query parameters.
|
|
399
421
|
* This is for the non-standard `stop_attributes.txt` file.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [4.1.1] - 2023-04-12
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Support for GTFS+ Files
|
|
13
|
+
|
|
14
|
+
### Updated
|
|
15
|
+
|
|
16
|
+
- Dependency updates
|
|
17
|
+
|
|
18
|
+
## [4.1.0] - 2023-02-25
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Support for Operational Data Standard (ODS) Files
|
|
23
|
+
|
|
24
|
+
### Updated
|
|
25
|
+
|
|
26
|
+
- Dependency updates
|
|
27
|
+
|
|
8
28
|
## [4.0.3] - 2023-02-04
|
|
9
29
|
|
|
10
30
|
### Changed
|