gtfs 4.19.0 → 4.19.2
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 -0
- package/dist/bin/gtfs-export.d.ts +1 -1
- package/dist/bin/gtfs-export.js +19 -4378
- package/dist/bin/gtfs-export.js.map +1 -1
- package/dist/bin/gtfs-import.d.ts +1 -1
- package/dist/bin/gtfs-import.js +27 -5354
- package/dist/bin/gtfs-import.js.map +1 -1
- package/dist/bin/gtfsrealtime-update.d.ts +1 -1
- package/dist/bin/gtfsrealtime-update.js +17 -1186
- package/dist/bin/gtfsrealtime-update.js.map +1 -1
- package/dist/index.d.ts +984 -732
- package/dist/index.js +2 -6856
- package/dist/models/models.d.ts +2646 -2578
- package/dist/models/models.js +2 -3981
- package/dist/models-9NvwLHlL.js +4044 -0
- package/dist/models-9NvwLHlL.js.map +1 -0
- package/dist/src-CdVKeHzG.js +2476 -0
- package/dist/src-CdVKeHzG.js.map +1 -0
- package/package.json +14 -14
- package/dist/index.js.map +0 -1
- package/dist/models/models.js.map +0 -1
package/README.md
CHANGED
|
@@ -181,6 +181,8 @@ For GTFS files that contain more than one agency, you only need to list each GTF
|
|
|
181
181
|
| `headers` | object | An object of HTTP headers in key:value format to use when fetching GTFS from the `url` specified. Optional. |
|
|
182
182
|
| `prefix` | string | A prefix to be added to every ID field maintain uniqueness when importing multiple GTFS from multiple agencies. Optional. |
|
|
183
183
|
| `exclude` | array | An array of GTFS file names (without `.txt`) to exclude when importing. Optional. |
|
|
184
|
+
| `fillEmptyAgencyId` | boolean | When `true`, fills empty `agency_id` on routes, fares, and other files for single-agency feeds. Useful for shared databases. Defaults to `false`. Optional. |
|
|
185
|
+
| `agencyId` | string | Explicit `agency_id` to use when `fillEmptyAgencyId` is `true` and `agency.txt` does not define one. Also backfills the `agency_id` on the agency row itself. If `agency.txt` already defines an `agency_id`, that value takes precedence. Optional. |
|
|
184
186
|
| `realtimeAlerts` | object | An object containing a `url` field for GTFS-Realtime alerts and a `headers` field in key:value format to use when fetching GTFS-Realtime data. Optional. |
|
|
185
187
|
| `realtimeTripUpdates` | object | An object containing a `url` field for GTFS-Realtime trip updates and a `headers` field in key:value format to use when fetching GTFS-Realtime data. Optional. |
|
|
186
188
|
| `realtimeVehiclePositions` | object | An object containing a `url` field for GTFS-Realtime vehicle positions and a `headers` field in key:value format to use when fetching GTFS-Realtime data. Optional. |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export { };
|