8ee1f1522e
Change ParkingStructureCountOptions and HistoricalParkingAverageQueryResult to use Date objects
...
This matches the behavior of `updatedTime` on shuttle objects. When returning API data, dates are converted into milliseconds since Epoch by the DateTime scalar implementation.
2025-07-19 12:12:08 -04:00
ed037cf2d2
Move repositories into folders.
2025-07-19 11:58:45 -04:00
df657a02f3
Build Redis parking repository instead of in-memory one
2025-07-03 15:20:07 -04:00
8fb296027d
Fix remaining issues with tests, and add implementation within InMemoryParkingRepository.ts
2025-07-01 21:37:26 -04:00
ab29b08337
Add entities IParkingStructureTimestampRecord and type HistoricalParkingAggregatedQueryResult
...
To support historical data storage
2025-07-01 21:12:22 -04:00
b58babc7ea
change updatedTime into a Date
2025-04-29 17:01:51 -07:00
ee4b11a308
remove "optional" from entity type
2025-04-29 16:19:41 -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
95f2e6ec29
add system id to the notification payload for good measure
2025-04-22 11:15:35 -07:00
267da3ff36
update InterchangeSystem build methods to attach parking system
2025-04-16 16:22:01 -07:00
c9aa2c401f
restructure parking and shuttle repository loaders
2025-04-11 17:13:39 -07:00
a0e0c19ca3
update timed loader to use class composition
2025-04-11 16:52:27 -07:00
be407fe220
add comment regarding future features
2025-04-08 16:20:39 -07:00
6782654564
add parking structure entity
2025-04-08 16:20:15 -07:00
6cd7d38bfd
split out shared entities into separate file
2025-04-08 16:19:20 -07:00
0ce0c54ddd
remove IPassioSystem entity
2025-04-08 16:09:15 -07:00
2741d229f9
rename entities.ts to ShuttleRepositoryEntities.ts
2025-04-08 16:07:48 -07:00
25f2a8c458
differentiate between passio system ID and internal ID in loader class
2025-04-07 13:26:19 -07:00
12f0a41153
update builder method and use in index
2025-04-07 13:19:43 -07:00
e4ff597385
swap shuttle data loaders for buildForTesting method
2025-04-07 13:00:24 -07:00
476b96c423
listen for notification updates in the builder methods
2025-04-07 12:59:04 -07:00
554898b097
add another build method for use in development/production
2025-04-07 12:50:49 -07:00
96d4acb762
construct AppleNotificationSender to not send notifications
2025-04-07 12:49:06 -07:00
87dfd0dab1
rename build method to buildForTesting
2025-04-07 12:47:31 -07:00
4b610c3ba9
add systemId to ordered stop and ETA entities
2025-04-07 12:10:00 -07:00
2d1e3c13d2
add an id string argument for the system
2025-04-06 10:58:58 -07:00
2d4bc6bdd4
name the name argument correctly
2025-04-06 10:55:03 -07:00
940d172e87
rename ISystem to IPassioSystem
2025-04-06 10:50:51 -07:00
db097b00dc
rename class to InterchangeSystem.ts and add builder arguments
2025-04-06 10:43:34 -07:00
2bc12aa794
update the system class
2025-04-06 10:34:30 -07:00
5b695c7250
add notification repository argument
2025-04-06 10:29:41 -07:00
187800cf40
add a build method and export statement
2025-04-06 10:28:19 -07:00
4ea43ff21f
add system entity as class (holder for shuttle repo and loader)
2025-04-06 10:19:33 -07:00
d9d11e1b31
update entities and schema to include orientation in degrees
2025-03-17 13:15:07 -07:00
97c3376cf7
fix incorrect inheritance for IOrderedStop
2025-01-08 16:13:46 -08:00
8c9920e91b
split IEntityWithOptionalTimestamp into a separate interface
2025-01-07 15:11:24 -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