schema-fix
This commit is contained in:
parent
a4841339ef
commit
8914646f61
|
@ -32,10 +32,21 @@ type ChatMember {
|
||||||
# TODO: add more
|
# TODO: add more
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AuthorStat {
|
||||||
|
followings: Int
|
||||||
|
followers: Int
|
||||||
|
rating: Int
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
type Author {
|
type Author {
|
||||||
|
id: Int!
|
||||||
slug: String!
|
slug: String!
|
||||||
name: String
|
name: String!
|
||||||
userpic: String
|
userpic: String
|
||||||
|
caption: String # only for full shout
|
||||||
|
bio: String
|
||||||
|
links: [String]
|
||||||
stat: AuthorStat
|
stat: AuthorStat
|
||||||
roles: [Role] # in different communities
|
roles: [Role] # in different communities
|
||||||
lastSeen: DateTime
|
lastSeen: DateTime
|
||||||
|
@ -278,9 +289,6 @@ type Query {
|
||||||
|
|
||||||
# search
|
# search
|
||||||
searchQuery(q: String, offset: Int!, limit: Int!): [Shout]
|
searchQuery(q: String, offset: Int!, limit: Int!): [Shout]
|
||||||
|
|
||||||
# migrate
|
|
||||||
markdownBody(body: String!): String
|
|
||||||
}
|
}
|
||||||
|
|
||||||
############################################ Subscription
|
############################################ Subscription
|
||||||
|
@ -403,16 +411,6 @@ type Reaction {
|
||||||
old_thread: String
|
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
|
# is publication
|
||||||
type Shout {
|
type Shout {
|
||||||
id: Int!
|
id: Int!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user