Commit Graph

219 Commits

Author SHA1 Message Date
18402401e3 rename token variable for clarity 2025-02-03 21:57:42 -08:00
90e5fa200e add todo 2025-02-03 21:51:52 -08:00
8bc71d25fe add code to update device ids object on successful delivery 2025-02-03 21:50:59 -08:00
e96316aa1e add eta subscriber callback code 2025-02-03 21:37:20 -08:00
fba021d921 Merge branch 'main' into feat/notification-service 2025-02-03 21:31:46 -08:00
3bdc730c95 add the code to associate tuple key with array of device ids 2025-02-03 21:31:18 -08:00
737a61fd41 add signature and default return for isNotificationScheduled 2025-02-03 21:25:18 -08:00
e9c2c8a7bc add private object to store scheduled notifications 2025-02-02 21:33:23 -08:00
1e82ec2697 remove encryption key 2025-02-02 21:31:40 -08:00
11fe22ceea add method to check if notification is scheduled (for testing 2025-02-02 21:31:24 -08:00
fe233dfcbd add pseudocode 2025-02-02 21:24:40 -08:00
6172a04427 add documentation and change interface for cancelAllNotifications 2025-02-02 21:09:07 -08:00
2c86d9189d update refreshed time on token generation 2025-02-02 14:57:06 -08:00
36909dd5ac fix fs import 2025-02-02 14:55:49 -08:00
9129ff6e91 add getter to lastRefreshedTimeMs 2025-02-02 14:44:35 -08:00
ddf008a0d6 remove async keyword from APNs reload 2025-02-02 14:43:07 -08:00
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
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
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
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
7de1fd757e add TupleKey class 2025-01-29 16:57:00 -08:00
f1579904c7 check for system association in system resolvers 2025-01-29 00:03:31 -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
da3d67a075 fix spacing for RouteResolvers.Route 2025-01-28 15:53:56 -08:00
9b69f00ea5 Merge pull request #13 from brendan-ch/chore/update-graphql-schema-to-include-ids
chore/update-graphql-schema-to-include-ids
2025-01-23 16:18:00 -08:00
71b3b718ab add clearEtaData call to repository 2025-01-23 14:24:42 -08:00
5813408a36 move other resolvers into their own files 2025-01-23 03:39:50 -08:00
718677d6dd fix import error 2025-01-23 03:35:07 -08:00
d506f9bbfe split query resolvers into separate files 2025-01-23 03:33:43 -08:00
36d1a24484 update resolvers for updated schema 2025-01-23 03:26:59 -08:00
d7528757d4 remove clearing of data in timed repository and update tests 2025-01-22 22:31:39 -08:00
15a9330722 add note about pruning behavior for ApiBasedRepositoryLoader 2025-01-22 22:29:01 -08:00
d8119b7506 add implementations for data types with id 2025-01-22 21:36:21 -08:00
e7e513b0b1 implement pruning code 2025-01-22 21:10:59 -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