collab methods updates

This commit is contained in:
2022-11-24 20:53:39 +03:00
parent 4eb98e7d0c
commit 7a818ff8f5
4 changed files with 78 additions and 59 deletions

View File

@@ -187,8 +187,9 @@ type Mutation {
deleteReaction(id: Int!): Result!
# collab
inviteAuthor(author: String!, shout: String!): Result!
removeAuthor(author: String!, shout: String!): Result!
inviteCoauthor(author: String!, shout: int!): Result!
removeCouthor(author: String!, shout: Int!): Result!
acceptCoauthor(shout: Int!): Result!
# following
follow(what: FollowingEntity!, slug: String!): Result!
@@ -523,4 +524,5 @@ type Collab {
invites: [String]
shout: Shout
chat: Chat
createdAt: Int!
}