gtfs 4.17.4 → 4.17.6
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 +41 -6
- package/dist/bin/gtfs-export.js +10 -0
- package/dist/bin/gtfs-export.js.map +1 -1
- package/dist/bin/gtfs-import.js +10 -0
- package/dist/bin/gtfs-import.js.map +1 -1
- package/dist/bin/gtfsrealtime-update.js +4 -0
- package/dist/bin/gtfsrealtime-update.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +26 -1
- package/dist/index.js.map +1 -1
- package/dist/models/models.js +6 -0
- package/dist/models/models.js.map +1 -1
- package/package.json +38 -37
package/dist/bin/gtfs-import.js
CHANGED
|
@@ -1637,6 +1637,12 @@ var trips = {
|
|
|
1637
1637
|
type: "integer",
|
|
1638
1638
|
min: 0,
|
|
1639
1639
|
max: 2
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
name: "cars_allowed",
|
|
1643
|
+
type: "integer",
|
|
1644
|
+
min: 0,
|
|
1645
|
+
max: 2
|
|
1640
1646
|
}
|
|
1641
1647
|
]
|
|
1642
1648
|
};
|
|
@@ -4846,6 +4852,10 @@ import { omit as omit5, orderBy, pick as pick3 } from "lodash-es";
|
|
|
4846
4852
|
import { omit as omit6 } from "lodash-es";
|
|
4847
4853
|
import sqlString4 from "sqlstring-sqlite";
|
|
4848
4854
|
|
|
4855
|
+
// src/lib/gtfs/trips.ts
|
|
4856
|
+
import { omit as omit7 } from "lodash-es";
|
|
4857
|
+
import sqlString5 from "sqlstring-sqlite";
|
|
4858
|
+
|
|
4849
4859
|
// src/bin/gtfs-import.ts
|
|
4850
4860
|
var pe = new PrettyError();
|
|
4851
4861
|
var argv = yargs(hideBin(process.argv)).usage("Usage: $0 --configPath ./config.json").help().option("c", {
|