@@ -0,0 +1,25 @@
+from dataclasses import dataclass
+from typing import Optional, List
+
+class View: pass
+@dataclass
+class UserInvite(View):
+ claimed: bool
+ claimant: str
+ token: str
+class AdminPane(View):
+ invites: List[UserInvite]
+class Config(View):
+ username: str
+ admin_pane: Optional[AdminPane]
+class Page(View):
+ title: str
+ content: str
+ user: Optional[str]