schema-fix

This commit is contained in:
tonyrewin 2022-11-13 07:21:09 +03:00
parent a4841339ef
commit 8914646f61

View File

@ -32,10 +32,21 @@ type ChatMember {
# TODO: add more
}
type AuthorStat {
followings: Int
followers: Int
rating: Int
}
type Author {
id: Int!
slug: String!
name: String
name: String!
userpic: String
caption: String # only for full shout
bio: String
links: [String]
stat: AuthorStat
roles: [Role] # in different communities
lastSeen: DateTime
@ -278,9 +289,6 @@ type Query {
# search
searchQuery(q: String, offset: Int!, limit: Int!): [Shout]
# migrate
markdownBody(body: String!): String
}
############################################ Subscription
@ -403,16 +411,6 @@ type Reaction {
old_thread: String
}
type Author {
id: Int!
slug: String!
name: String!
userpic: String
caption: String # only for full shout
bio: String
links: [String]
}
# is publication
type Shout {
id: Int!