Commit Graph

312 Commits

Author SHA1 Message Date
f6e62cc5e2 add cache initialization 2025-01-07 14:46:24 -08:00
32bbbf6fdf add caching intreface 2025-01-07 14:44:37 -08:00
0f9ba4c3f0 add additional test cases for ETA data 2025-01-07 14:34:48 -08:00
440bdc9edd add mocking functions for tests 2025-01-07 14:24:21 -08:00
d10ad92907 update imports and create ApiBasedRepository.ts stub 2025-01-06 21:01:22 -08:00
359f8fe192 add timestamp to all interfaces 2025-01-06 20:53:49 -08:00
413a943c28 move entities to separate file 2025-01-06 20:52:48 -08:00
9a5bceedc1 use GetterRepository in the context 2025-01-06 20:50:30 -08:00
56b721e3d7 move getter methods to GetterRepository 2025-01-06 20:49:46 -08:00
fcf0f01715 rename files for consistency 2025-01-06 20:46:09 -08:00
588a2b18ad move repositories and loaders to directories 2025-01-06 18:13:09 -08:00
a1f4beb762 Merge pull request #1 from brendan-ch/chore/setup-testing
chore/setup-testing
2024-12-30 15:09:29 -08:00
426ee8bd93 add GitHub workflow for Node.js 20 2024-12-30 15:07:11 -08:00
00c3a61095 add sample test 2024-12-30 15:06:53 -08:00
12ac84feae set up Jest configuration file 2024-12-30 14:47:53 -08:00
e3746a942b read environment variable port with fallback to 4000 2024-12-27 13:45:44 -08:00
ea1fdd68a9 add generation step to production build 2024-12-27 13:42:35 -08:00
75c1435c95 update build scripts 2024-12-27 13:41:30 -08:00
7df8903762 disable introspection when environment is set to production 2024-12-27 13:41:20 -08:00
4b16790525 add orderedStop property for Route 2024-12-26 18:22:40 -08:00
442179b805 implement shuttle/route resolvers 2024-12-26 18:05:07 -08:00
014a2ce50f add colors to test data routes 2024-12-26 18:04:52 -08:00
85f448a2d9 rename schema definition 2024-12-26 18:04:43 -08:00
4d21f02bcb add notes and todo on data reloads 2024-12-23 15:04:06 -08:00
74d45057db remove shared memory and shared memory updater files 2024-12-23 14:59:09 -08:00
bacad935a5 add work in progress code to get data for etas 2024-12-23 14:50:38 -08:00
7a50bec048 implement method to get polyline data 2024-12-23 13:44:02 -08:00
0166839ecb add method to load ordered stops 2024-12-23 13:38:14 -08:00
c67ab7b6da add method to fetch and update shuttle data 2024-12-23 12:53:31 -08:00
19c5984304 add repository data loader and methods for system/route data 2024-12-23 12:39:16 -08:00
13dce97cf1 add resolver for shuttle eta 2024-12-23 12:05:34 -08:00
4f0a10d0c4 add etas resolver on shuttle object 2024-12-22 20:17:00 -08:00
0133acd900 update test data with etas 2024-12-22 19:59:20 -08:00
f615db544d add shuttles resolver on route 2024-12-22 19:56:57 -08:00
0221bda314 add additional method to get shuttles by route 2024-12-22 19:56:46 -08:00
2ca9551bfa remove nextOrderedStop from Route schema 2024-12-22 19:51:14 -08:00
4d904bab10 add resolver for previous stop 2024-12-22 19:48:25 -08:00
eb6652c290 fix incorrect stop being returned in OrderedStop nextStop receiver 2024-12-22 19:47:59 -08:00
c40dafc3ee update OrderedStop data schema type and test loader method 2024-12-22 19:43:06 -08:00
f072e4e862 make next and previous stop ids optional 2024-12-22 19:37:38 -08:00
bf967c8cb8 add more custom resolvers 2024-12-22 19:36:19 -08:00
42f2afa03a remove system property from all sub-nodes of system 2024-12-22 19:35:22 -08:00
aa6df52454 use repository in server context 2024-12-22 18:52:49 -08:00
8a4b98f9e8 initialize prototype repository and use test data 2024-12-22 18:52:25 -08:00
eb067e6628 add data to repository instead of shared memory 2024-12-22 18:51:59 -08:00
a55573afbd make some types optional to avoid needing to typecast 2024-12-22 18:50:48 -08:00
702b14482f fix incorrect matcher for addOrUpdateEta 2024-12-22 14:33:13 -08:00
c476ea504f add unoptimized in memory repository 2024-12-22 14:32:17 -08:00
1c72472339 fix incorrect data type for addOrUpdateOrderedStop 2024-12-22 14:32:06 -08:00
e0d4e91321 remove next/previous ordered stop methods from repository interface 2024-12-22 14:24:34 -08:00