Commit Graph

69 Commits

Author SHA1 Message Date
c6f8e5642e Fix typing errors in test 2025-11-11 15:44:34 -08:00
2854912e07 Update ETA mock helper to take an ExternalSourceETARepository 2025-11-11 15:37:07 -08:00
fd59f6cbd9 Update resolvers to use the ETA repository 2025-11-11 15:30:52 -08:00
ca5c7c618a Update function calls within tests where shuttle repositories are a dependency 2025-11-10 20:22:08 -08:00
bd1ae07662 Rename historical parking query arguments to HistoricalParkingAverageFilterArguments 2025-11-10 16:46:07 -08:00
415b461308 Add sorting to all data types
- Add name-based sorting for entities with names
- Add order-based sorting for ordered stops
- Add "seconds remaining" based sorting for ETAs
- Add tests to check sorting
2025-09-30 15:24:22 -07:00
e7b5f034f3 Add orderedStops property to the Route type 2025-09-23 10:15:42 -07:00
14fbdc7408 Move testHelpers directory up one level 2025-07-31 22:41:05 -04:00
b7299b8359 Move all tests to subdirectories underneath code to be tested 2025-07-31 22:35:49 -04:00
6444251649 Implement mocking of environment file 2025-07-21 19:42:28 -04:00
b737cd0fa5 Add errors to the parking structure resolvers 2025-07-21 19:16:38 -04:00
e78982538e Add implementation and tests for ParkingStructureResolvers.ts 2025-07-21 19:06:00 -04:00
52a0133107 Add system ID to parking structure 2025-07-19 12:55:36 -04:00
ed037cf2d2 Move repositories into folders. 2025-07-19 11:58:45 -04:00
3302822bf8 Add a placeholder implementation of ParkingStructureResolvers 2025-07-19 11:55:51 -04:00
1c7ee9fbc3 change all millisecond references into Dates 2025-04-29 17:05:23 -07:00
b58babc7ea change updatedTime into a Date 2025-04-29 17:01:51 -07:00
b91f8ce151 update resolvers with updated argument name 2025-04-29 16:49:55 -07:00
b02e2f721d update resolvers to include timestamps 2025-04-29 16:26:47 -07:00
9969e93fc9 use min/max version instead of one static version 2025-04-24 09:56:36 -07:00
658222b91a inline variable 2025-04-16 17:06:24 -07:00
dd1a448160 display parking system in system resolver and remove unnecessary test 2025-04-16 17:06:09 -07:00
544cab5324 move parking structures to a sub-field of system 2025-04-16 17:01:41 -07:00
cb05d3ca03 add schema version endpoint 2025-04-16 16:55:00 -07:00
2092827d37 implement endpoints and update test 2025-04-16 16:52:45 -07:00
78514c5b8a remove required parking structure and add stub resolvers 2025-04-08 16:28:21 -07:00
f0c754908d update incorrect argument in shuttle resolver 2025-04-07 19:19:10 -07:00
b6f3e4ccde update method signatures to not include system id 2025-04-07 19:17:14 -07:00
0076d987ca rename methods in getter repository 2025-04-07 19:06:18 -07:00
6e9478cd18 update parent system ID reference for ETA resolvers 2025-04-07 12:41:27 -07:00
ea46115b86 add system ID to ETA object in graphql schema 2025-04-07 12:40:53 -07:00
a830dadbee use system ID provided on ordered stop to look for system 2025-04-07 12:31:16 -07:00
d950156161 use findSystemById function in query resolvers 2025-04-07 12:18:16 -07:00
329f21beb7 add systemId to ordered stop and route resolvers 2025-04-07 12:12:08 -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
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
7e0c1f3539 rename get system method on shuttle repository, update tests 2025-04-06 09:48:55 -07:00
ef94a9aa7e fix method calls and tests 2025-03-27 10:56:57 -07:00
3761f43909 update server context to only include the notification repository 2025-03-27 10:42:43 -07:00
bda46d6808 rename repository to server repository in server context 2025-03-27 10:38:02 -07:00
7379840070 extract notification repository to interface 2025-03-27 10:06:42 -07:00