reactions-for-slugs

This commit is contained in:
2022-09-01 13:16:22 +03:00
parent 1f40e55f83
commit fe13488584
3 changed files with 22 additions and 7 deletions

View File

@@ -242,6 +242,7 @@ type Query {
reactionsAll(page: Int!, size: Int!): [Reaction]!
reactionsByAuthor(slug: String!, page: Int!, size: Int!): [Reaction]!
reactionsByShout(slug: String!, page: Int!, size: Int!): [Reaction]!
reactionsForSlugs(slugs: [String]!, page: Int!, size: Int!): [Reaction]!
# collab
inviteAuthor(slug: String!, author: String!): Result!
@@ -347,13 +348,13 @@ enum ReactionKind {
PROOF
DISPROOF
COMMENT
QUOTE
PROPOSE
ASK
ACCEPT
REJECT
}
@@ -379,7 +380,7 @@ type Author {
slug: String!
name: String!
userpic: String
caption: String # only for full shout
caption: String # only for full shout
bio: String
links: [String]
}