Replace tweet endpoint with GraphQL

This commit is contained in:
Zed
2023-02-02 12:31:49 +01:00
parent 22b51b414b
commit 19adc658c3
7 changed files with 111 additions and 67 deletions

View File

@@ -9,6 +9,7 @@ type
InternalError* = object of CatchableError
Api* {.pure.} = enum
tweetDetail
userShow
timeline
search
@@ -176,7 +177,6 @@ type
available*: bool
tombstone*: string
location*: string
source*: string
stats*: TweetStats
retweet*: Option[Tweet]
attribution*: Option[User]