Commit Graph

765 Commits

Author SHA1 Message Date
e30fafc9b7 remove method to start reloading token over timed intervals 2025-02-02 14:26:30 -08:00
a2386356f1 add experimental method to reload APNs token 2025-02-02 14:26:14 -08:00
e2e47bafc5 add jsonwebtoken types 2025-02-02 14:21:20 -08:00
fb981d4800 add bundle id and key path as variables 2025-02-02 14:09:35 -08:00
3bb7f3a030 add jsonwebtoken to dependencies 2025-02-02 14:00:43 -08:00
7773884862 add .env.example containing apns values 2025-02-02 13:59:00 -08:00
483307f225 add arguments to scheduling methods 2025-02-02 13:51:48 -08:00
c4771adef8 add ScheduledNotificationData and make schedule functions async 2025-02-02 13:51:05 -08:00
88ab399c11 rename methods for clarity 2025-02-02 13:49:59 -08:00
62b040fccd add test cases for class 2025-02-02 13:49:00 -08:00
dbbb9c0169 Merge pull request #16 from brendan-ch/feat/repository-eta-subscriber
feat/repository-eta-subscriber
2025-02-02 13:20:00 -08:00
7d762f17dc optimize imports 2025-02-02 13:18:33 -08:00
fe16bc7124 add test case for nonexistent callback 2025-02-02 13:16:28 -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
047ff3a56e add test cases for the new functions 2025-02-02 13:09:54 -08:00
ec62b0c8bf update interface to not be async 2025-02-02 13:07:42 -08:00
899b953be5 add test cases 2025-02-02 13:05:13 -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
08d1f88693 add constructor which takes in repository 2025-02-02 12:47:13 -08:00
d0359e22cc add NotificationService class with stubs, and test file 2025-02-02 12:43:52 -08:00
390d524b58 Merge pull request #15 from brendan-ch/experimental/tuples
experimental/tuples
2025-01-29 17:10:29 -08:00
6f1464d55a add test for object as key use case 2025-01-29 17:07:35 -08:00
7de1fd757e add TupleKey class 2025-01-29 16:57:00 -08:00
0bd85ce305 add tests for tuple key type 2025-01-29 16:56:52 -08:00
661bee0b85 Merge pull request #14 from brendan-ch/chore/add-resolver-tests
chore/add-resolver-tests
2025-01-29 15:38:07 -08:00
e1fd1714b9 move mock data generators into test helpers folder 2025-01-29 15:35:15 -08:00
d41a9ccc22 remove setUpTestServer function export 2025-01-29 15:28:32 -08:00
894fbc5a8d rename apollo helper to apolloTestServerHelpers 2025-01-29 15:27:59 -08:00
0344e7b99b use server context method for other resolver tests 2025-01-29 15:26:23 -08:00
7586ebba04 optimize imports for resolver tests 2025-01-29 15:09:31 -08:00
d69197acd8 update eta resolver tests to use new method 2025-01-29 15:08:18 -08:00
fbd0c76b70 extract test server context code into separate method 2025-01-29 15:07:02 -08:00
23ee9ce06b fix failing ordered stop test due to missing system id 2025-01-29 00:08:56 -08:00
f1579904c7 check for system association in system resolvers 2025-01-29 00:03:31 -08:00
fd4a92e34b add shuttle tests 2025-01-29 00:01:36 -08:00
749afc5147 add tests for route resolver 2025-01-28 21:56:59 -08:00
b6356c64e8 add SystemResolvers.stop tests 2025-01-28 21:52:18 -08:00
88d02887e7 add tests to get stops, routes, and shuttles 2025-01-28 21:31:56 -08:00
b3cf13ec4e add queries for resolvers 2025-01-28 20:52:51 -08:00
f391b66b7c add test server and repository for system resolvers 2025-01-28 20:44:18 -08:00
50078adc31 add test cases for system resolvers 2025-01-28 20:40:58 -08:00
391884c91d reduce System.shuttles resolver to one statement 2025-01-28 20:40:36 -08:00
3fca362c14 simplify stops resolver to one statement 2025-01-28 20:38:17 -08:00
fe705ed8e3 add mock shuttle and mock eta methods 2025-01-28 20:35:18 -08:00
3fd8efdd8a add addMockRouteToRepository and addMockStopToRepository methods 2025-01-28 20:31:06 -08:00