Twitch Hyperfocus version 0

This commit is contained in:
2025-11-01 05:27:18 +10:00
parent 61076ce933
commit 82b78924a0
6 changed files with 568 additions and 0 deletions

16
hyperfocus/data.py Normal file
View File

@@ -0,0 +1,16 @@
from data import Registry, Table, RowModel
from data.columns import String, Integer, Timestamp
class Hyperfocuser(RowModel):
_tablename_ = "hyperfocused"
_cache_ = {}
profileid = Integer(primary=True)
started_at = Timestamp()
ends_at = Timestamp()
started_in = Integer()
class HyperfocusData(Registry):
hyperfocused = Hyperfocuser.table