Commit Graph

734 Commits

Author SHA1 Message Date
4fbc30a264 Add CircularQueue.ts and test file 2025-07-02 18:34:55 -04:00
18be03bfa6 Add stub implementation for my best friend, the humble circular queue
Add stubs for a custom circular queue implementation for the historical data in the parking repo
2025-07-01 22:01:07 -04:00
4758d566da Add constant MAX_NUM_ENTRIES and adjust PARKING_LOGGING_INTERVAL_MS 2025-07-01 21:47:15 -04:00
8fb296027d Fix remaining issues with tests, and add implementation within InMemoryParkingRepository.ts 2025-07-01 21:37:26 -04:00
95fa610d77 define behavior of historical data logging through tests 2025-07-01 21:32:26 -04:00
6759bba2ce Add properties to determine when the parking repository should log data 2025-07-01 21:23:15 -04:00
81272e94b1 Add getHistoricalAveragesOfParkingStructureCounts stub and update constructor with dependency injection support 2025-07-01 21:20:11 -04:00
1f252ee468 Define new method to get historical averages depending on timestamps and interval 2025-07-01 21:13:55 -04:00
ab29b08337 Add entities IParkingStructureTimestampRecord and type HistoricalParkingAggregatedQueryResult
To support historical data storage
2025-07-01 21:12:22 -04:00
6400929eb6 Update docker-compose.yml to use redis-stack instead of redis:alpine
This is the easiest way to set up the `timeseries` module during development
2025-07-01 19:01:33 -04:00
eca2ffe8ee rename redis.conf to redis-stack.conf 2025-07-01 19:00:53 -04:00
28890ef8c4 Merge pull request #55 from brendan-ch/chore/setup-claude
chore/setup-claude
2025-06-28 13:25:34 -07:00
721b66e6c1 Add CLAUDE.md with development commands and architecture guide
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 13:22:21 -07:00
aae24d9920 add updated shuttle 2025-06-27 08:17:32 -07:00
2db983ef53 Merge pull request #52 from brendan-ch/chore/update-test-data
add shuttle to test data
2025-06-26 20:58:51 -04:00
f6f71526d7 add shuttle to test data 2025-06-26 17:45:42 -07:00
2e5cb7e313 Merge pull request #47 from brendan-ch/chore/improve-apns-performance
[INT-75] chore/improve-apns-performance
2025-04-30 19:02:17 -07:00
f74376c8ed add test and code for client closure events 2025-04-30 18:17:55 -07:00
31e9c78ebd add test for closing connection on emitting closure events 2025-04-30 18:09:29 -07:00
4b77a89ac2 Merge branch 'main' into chore/improve-apns-performance 2025-04-30 17:54:00 -07:00
06d2a7bb27 extract code to open and close the apns connection 2025-04-30 17:51:28 -07:00
075b35e7ad reuse the client when sending a notification 2025-04-30 17:40:17 -07:00
9dcc17b687 add test to check that connection is reused 2025-04-30 17:33:54 -07:00
b068a69163 Merge pull request #46 from brendan-ch/feat/data-timestamps 2025-04-29 17:29:29 -07:00
a7c33c9479 empty commit to fix actions? 2025-04-29 17:21:17 -07: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
f68dad0ca2 update parking system tests to use updatedTime parameter 2025-04-29 16:54:22 -07:00
b91f8ce151 update resolvers with updated argument name 2025-04-29 16:49:55 -07:00
c21446b80a update schema to use new DateTime scalar 2025-04-29 16:48:14 -07:00
ba82ce9f98 add custom DateTime scalar type 2025-04-29 16:47:08 -07:00
bdb1da0bc4 fix test due to mismatched timestamps on parking repo loader 2025-04-29 16:30:45 -07:00
b02e2f721d update resolvers to include timestamps 2025-04-29 16:26:47 -07:00
6dae7959bf update schema to include timestamp 2025-04-29 16:23:30 -07:00
ee4b11a308 remove "optional" from entity type 2025-04-29 16:19:41 -07:00
570ab8a178 update tests and mock data generators 2025-04-29 16:18:46 -07:00
518044d860 update parking code 2025-04-29 16:12:31 -07:00
563362b0b5 update ApiBasedShuttleRepositoryLoader with timestamps 2025-04-29 16:11:41 -07:00
d529554d84 update loadShuttleTestData for integration tests 2025-04-29 16:09:23 -07:00
fe90ffe911 update property name again and make it required 2025-04-29 16:07:30 -07:00
f1dd8650b6 update the time of the data update 2025-04-29 16:06:15 -07:00
6e03dc7fe3 Merge pull request #45 from brendan-ch/hotfix/update-schema-version-system
hotfix/update-schema-version-system
2025-04-24 12:09:26 -07:00
9969e93fc9 use min/max version instead of one static version 2025-04-24 09:56:36 -07:00
Brendan Chen
058b0d490f Merge pull request #44
hotfix/update-custom-keys-name
2025-04-23 17:18:01 -07:00
bf06c7ed3a update custom keys passed through notification scheduler 2025-04-23 11:55:15 -07:00
b3cd399e10 fix custom keys so they're spread across payload correctly 2025-04-23 11:54:32 -07:00
4798af9674 Merge pull request #43 from brendan-ch/feat/shuttle-id-notification-payload
[INT-53] feat/shuttle-id-notification-payload
2025-04-22 11:20:18 -07:00
12bdd4c631 add stop id, in case app wants to switch stops on notification tap 2025-04-22 11:17:10 -07:00
95f2e6ec29 add system id to the notification payload for good measure 2025-04-22 11:15:35 -07:00
1cb498b150 update custom keys to not be included in alert property 2025-04-22 11:10:00 -07:00