Skip to content

Commit

Permalink
improve static provider design
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdemers6 committed Oct 27, 2023
1 parent 48d0dc6 commit 2bc2780
Show file tree
Hide file tree
Showing 50 changed files with 2,604 additions and 2,012 deletions.
2 changes: 1 addition & 1 deletion global.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Socket } from "socket.io";
import { DefaultEventsMap } from "socket.io/dist/typed-events";
import Time from "./src/gtfs/time";
import Time from "./src/providers/time";
import EventEmitter from "events";

declare global {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"source-map-loader": "^4.0.1",
"ts-loader": "^9.4.2",
"unleash-client": "^3.19.0",
"webpack": "^5.88.2",
"winston": "^3.8.2",
"winston-loki": "^6.0.6"
},
Expand All @@ -53,6 +54,7 @@
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"mocha-each": "^2.0.1",
"msw": "^1.2.1",
"nyc": "^15.1.0",
"prettier": "2.8.3",
Expand Down
3 changes: 3 additions & 0 deletions src/config_new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ const config = {
},
},
],
static: {
url: "https://mycyride.com/gtfs",
},
};

export default config;
97 changes: 0 additions & 97 deletions src/gtfs/realtime-providers/arrivals/upcomingArrivals.ts

This file was deleted.

Empty file.
80 changes: 0 additions & 80 deletions src/gtfs/realtime-providers/vehiclePosition_old/index.ts

This file was deleted.

This file was deleted.

34 changes: 0 additions & 34 deletions src/gtfs/realtime-providers/vehiclePosition_old/vehiclesByRoute.ts

This file was deleted.

Loading

0 comments on commit 2bc2780

Please sign in to comment.