diff options
| author | A Farzat <a@farzat.xyz> | 2025-10-03 20:27:35 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2025-10-03 20:27:35 +0300 |
| commit | bdb49239b4c5d734c4c0d493cda77556a4a22e64 (patch) | |
| tree | cee6b15600aa8457dafb63d5edb349c8178c591a /components/subscriptions/typing.py | |
| parent | 2222c99a359f0d7cbe7d8fd09aaaad0151da4c21 (diff) | |
| download | csca5028-bdb49239b4c5d734c4c0d493cda77556a4a22e64.tar.gz csca5028-bdb49239b4c5d734c4c0d493cda77556a4a22e64.zip | |
Add last_viewed field to subscriptions
Diffstat (limited to 'components/subscriptions/typing.py')
| -rw-r--r-- | components/subscriptions/typing.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/subscriptions/typing.py b/components/subscriptions/typing.py index 8f2a298..bac3620 100644 --- a/components/subscriptions/typing.py +++ b/components/subscriptions/typing.py @@ -9,5 +9,6 @@ class SubsDict(TypedDict): time_between_fetches: int # In minutes. last_fetch: datetime last_video_update: datetime + last_viewed: datetime videos: List[VideoTuple] subscribers: List[ObjectId] |
