Commit Graph

118 Commits

Author SHA1 Message Date
a84cedd05a add test and implementation for addOrUpdate listeners 2025-03-27 11:23:07 -07:00
51d66d8886 add tests and implementation for notification deletes 2025-03-27 11:18:43 -07:00
b0f04a9256 add stub methods for subscribe/unsubscribe 2025-03-27 11:10:49 -07:00
b2fb430a38 add notification event subscriber/unsubscriber 2025-03-27 11:08:40 -07:00
a665c29745 add method to check if notification is scheduled 2025-03-27 10:46:38 -07:00
f007b72d94 add code for in-memory notification repository 2025-03-27 10:19:00 -07:00
7379840070 extract notification repository to interface 2025-03-27 10:06:42 -07:00
c517d93e3a add test cases and rename some methods 2025-03-27 10:02:13 -07:00
09be37cedb move arguments and notification interfaces to notification repository file 2025-03-27 09:57:49 -07:00
fab99db755 rename existing repository to shuttle repository 2025-03-27 09:32:29 -07:00
7d762f17dc optimize imports 2025-02-02 13:18:33 -08:00
b30e4be895 rename methods for clarity on method events 2025-02-02 13:14:45 -08:00
9dd6e945c2 extract publishing code to private method 2025-02-02 13:14:04 -08:00
a810a2e78f add 'publish' code to addOrUpdateEta 2025-02-02 13:13:32 -08:00
01cbad3a73 add code to add/remove from subscriber array 2025-02-02 13:12:20 -08:00
ec62b0c8bf update interface to not be async 2025-02-02 13:07:42 -08:00
5957010a7f add test cases and documentation for functions 2025-02-02 13:04:03 -08:00
345d4905fe add method stubs in basic in-memory repository 2025-02-02 12:51:25 -08:00
acfc91d3c1 add method stubs for subscribing/unsubscribing to changes 2025-02-02 12:49:41 -08:00
be2efe2353 implement rest of methods 2025-01-22 20:41:24 -08:00
e9703e53ae implement route removal 2025-01-22 20:10:50 -08:00
144fa7c852 move index finding to separate method 2025-01-22 20:09:49 -08:00
bc07fe5622 add implementation for removeSystemIfExists 2025-01-22 20:05:47 -08:00
f080c1ab5e update stub methods to clarify behavior 2025-01-22 19:41:31 -08:00
f94c8dd629 add method stubs to remove data by id 2025-01-22 19:29:11 -08:00
26d82390c6 remove ApiBasedRepository.ts and tests 2025-01-21 13:26:52 -08:00
b7a25a6115 add repository methods to clear all data 2025-01-16 21:07:44 -08:00
c4ee93d3d1 fix filtering statement within getEtaForShuttleAndStopId 2025-01-09 13:48:46 -08:00
04a9d4494e fix logic for getting stop data 2025-01-09 13:34:50 -08:00
404c391dfa fix seeding function 2025-01-09 13:23:11 -08:00
a5dc5a11da update TODOs 2025-01-08 17:41:38 -08:00
160e24460b update getShuttleById to move TTL check to other method 2025-01-08 17:36:54 -08:00
f865544e49 add getStopById test for getEtasForStopId 2025-01-08 17:26:05 -08:00
91d020a7bc update caching behavior temporarily for updateEtasForSystemIfTTL 2025-01-08 17:18:12 -08:00
a4e359b19b update stopByStopId in cache 2025-01-08 16:50:14 -08:00
eef414cdb7 implemnet getStopById method 2025-01-08 16:49:00 -08:00
17b6f93f0e add implementation for getEtasForStopId and getEtasForShuttleId 2025-01-08 16:44:06 -08:00
eeadfa62cb fix id in conditional and return milleseconds for eta 2025-01-08 16:39:11 -08:00
638d15ccd8 fix incorrect ID used for eta filter 2025-01-08 16:30:07 -08:00
a7efda6fba fix conditional check for getEtaForShuttleAndStopId 2025-01-08 16:25:56 -08:00
88dbce007d implement getStopsBySystemId and updateStopsForSystemId 2025-01-08 16:19:11 -08:00
90f9710a8e finish up implementation for updateEtasForSystemIfTTL 2025-01-08 16:08:53 -08:00
0996be0ce3 add implementation for updateShuttlesForSystemIfTTL 2025-01-08 15:55:39 -08:00
16c6f48a1d extract method to update shuttle data 2025-01-07 21:11:53 -08:00
e59a3808c0 update type definition for getShuttlesBySystemId 2025-01-07 21:04:12 -08:00
9a80bde10e add fields for cache and ttls 2025-01-07 20:56:06 -08:00
ae20bb9bb9 add implementation for getShuttleById 2025-01-07 20:47:37 -08:00
effd3928f0 update cache and ttls interface 2025-01-07 20:32:54 -08:00
4ba16bb7c2 add method to seed the cache for the system id 2025-01-07 20:17:55 -08:00
f442c6b279 Revert "change caching and repository api to include system id initializer"
This reverts commit e7e915a8b1.
2025-01-07 20:07:05 -08:00