summaryrefslogtreecommitdiffstats
path: root/api/schemas.py
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-11 12:37:28 -0700
committerAndrew Godwin2022-12-12 11:56:49 -0700
commit20239b5cb7455d593680b17d2d80d2a4850c524d (patch)
tree1c5705837e17bca50920848d00bfcf1f7c2313af /api/schemas.py
parentfc8a21fc5c6809ea115092eeec57e09e984cdd76 (diff)
downloadtakahe-20239b5cb7455d593680b17d2d80d2a4850c524d.tar.gz
takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.tar.bz2
takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.zip
Basic post mutation
Diffstat (limited to 'api/schemas.py')
-rw-r--r--api/schemas.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/schemas.py b/api/schemas.py
index a8f4e45..97b8169 100644
--- a/api/schemas.py
+++ b/api/schemas.py
@@ -160,3 +160,8 @@ class Relationship(Schema):
domain_blocking: bool
endorsed: bool
note: str
+
+
+class Context(Schema):
+ ancestors: list[Status]
+ descendants: list[Status]