mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-29 06:42:50 -05:00
Add experimental GraphQL user parser
This commit is contained in:
12
src/experimental/types/graphql.nim
Normal file
12
src/experimental/types/graphql.nim
Normal file
@@ -0,0 +1,12 @@
|
||||
import user
|
||||
|
||||
type
|
||||
GraphUserResult* = object
|
||||
legacy*: RawUser
|
||||
restId*: string
|
||||
|
||||
GraphUserData* = object
|
||||
result*: GraphUserResult
|
||||
|
||||
GraphUser* = object
|
||||
data*: tuple[user: GraphUserData]
|
||||
@@ -19,6 +19,7 @@ type
|
||||
profileBannerUrl*: string
|
||||
profileImageUrlHttps*: string
|
||||
profileLinkColor*: string
|
||||
pinnedTweetIdsStr*: seq[string]
|
||||
|
||||
Entities* = object
|
||||
url*: Urls
|
||||
|
||||
Reference in New Issue
Block a user