Commit Graph

711 Commits

Author SHA1 Message Date
12f0a41153 update builder method and use in index 2025-04-07 13:19:43 -07:00
34765a0f3b update initialization of systems in index file 2025-04-07 13:02:13 -07:00
e4ff597385 swap shuttle data loaders for buildForTesting method 2025-04-07 13:00:24 -07:00
476b96c423 listen for notification updates in the builder methods 2025-04-07 12:59:04 -07:00
60256ce572 update integration test data to use interchange system builder arguments 2025-04-07 12:55:10 -07:00
554898b097 add another build method for use in development/production 2025-04-07 12:50:49 -07:00
96d4acb762 construct AppleNotificationSender to not send notifications 2025-04-07 12:49:06 -07:00
87dfd0dab1 rename build method to buildForTesting 2025-04-07 12:47:31 -07:00
0525ccc7e4 update system ID in ETA notification scheduler test 2025-04-07 12:42:34 -07:00
6e9478cd18 update parent system ID reference for ETA resolvers 2025-04-07 12:41:27 -07:00
bed2fbc7c3 update shuttle test data for integration tests 2025-04-07 12:41:04 -07:00
ea46115b86 add system ID to ETA object in graphql schema 2025-04-07 12:40:53 -07:00
c8ea822626 update query resolver tests to modify the context 2025-04-07 12:37:08 -07:00
a830dadbee use system ID provided on ordered stop to look for system 2025-04-07 12:31:16 -07:00
1e7082813d reference correct system which is rebuilt every test 2025-04-07 12:26:49 -07:00
d20711d53d update setup method to correctly create new system for testing every test 2025-04-07 12:26:18 -07:00
2ba64a9b0d attach the context correctly in system resolver tests 2025-04-07 12:18:26 -07:00
d950156161 use findSystemById function in query resolvers 2025-04-07 12:18:16 -07:00
3d13bad11c update mock data generators 2025-04-07 12:14:12 -07:00
329f21beb7 add systemId to ordered stop and route resolvers 2025-04-07 12:12:08 -07:00
973867bd6d update loader to add system ID to ordered stop and ETA 2025-04-07 12:11:36 -07:00
4b610c3ba9 add systemId to ordered stop and ETA entities 2025-04-07 12:10:00 -07:00
9c414be8ce fix test references after removal of addMockSystemToRepository 2025-04-07 12:07:32 -07:00
dbb56f207d add system ID field to ordered stop 2025-04-07 11:58:07 -07:00
c32dcb9610 remove async label from test server construction of context 2025-04-06 14:40:08 -07:00
d95d112bf2 define findSystemById method 2025-04-06 14:38:02 -07:00
f31e010828 update method to set up test server context 2025-04-06 12:56:12 -07:00
af57063b15 update mutation resolvers with temporary method to locate system 2025-04-06 12:54:22 -07:00
f113dc1ec2 update ETA resolvers 2025-04-06 12:44:23 -07:00
7136f9201d update ordered stop resolvers 2025-04-06 11:42:33 -07:00
1629f79299 update route resolvers 2025-04-06 11:38:46 -07:00
28c3e2f5f5 fix incorrect id passed into find system method for stop resolvers 2025-04-06 11:37:53 -07:00
8a600565dc update shuttle resolvers 2025-04-06 11:36:25 -07:00
8dd2f02783 add findSystemById method on server context 2025-04-06 11:34:37 -07:00
ea4723df85 update stop resolvers to look for system 2025-04-06 11:30:27 -07:00
472b3a0b05 add system ID as parent ID in system resolvers 2025-04-06 11:28:13 -07:00
bc598f0858 update graphql definition to include system ID in routes, stops, and shuttles 2025-04-06 11:26:58 -07:00
56466964c1 update method calls in TimedApiBasedShuttleRepositoryLoader 2025-04-06 11:23:27 -07:00
8c2fb3a52a use simplified implementation without system loading 2025-04-06 11:21:07 -07:00
95eb2c8f65 condense shuttle repository methods 2025-04-06 11:15:24 -07:00
9ff388f2d4 update system resolvers 2025-04-06 11:10:16 -07:00
ed2b7dbe5e update query resolvers to work with updated context 2025-04-06 11:03:41 -07:00
2d1e3c13d2 add an id string argument for the system 2025-04-06 10:58:58 -07:00
2d4bc6bdd4 name the name argument correctly 2025-04-06 10:55:03 -07:00
940d172e87 rename ISystem to IPassioSystem 2025-04-06 10:50:51 -07:00
6d762ce620 remove all system related data from shuttle repository 2025-04-06 10:49:47 -07:00
db097b00dc rename class to InterchangeSystem.ts and add builder arguments 2025-04-06 10:43:34 -07:00
2bc12aa794 update the system class 2025-04-06 10:34:30 -07:00
95410470f6 make shuttleRepository and notificationRepository accessible through system 2025-04-06 10:34:03 -07:00
5b695c7250 add notification repository argument 2025-04-06 10:29:41 -07:00