init
This commit is contained in:
@@ -128,6 +128,17 @@ input TopicInput {
|
||||
# parents: [String]
|
||||
}
|
||||
|
||||
input DraftInput {
|
||||
slug: String
|
||||
topics: [Int]
|
||||
authors: [Int]
|
||||
title: String
|
||||
subtitle: String
|
||||
body: String
|
||||
cover: String
|
||||
|
||||
}
|
||||
|
||||
input ReactionInput {
|
||||
kind: ReactionKind!
|
||||
shout: Int!
|
||||
@@ -189,10 +200,12 @@ type Mutation {
|
||||
updateReaction(reaction: ReactionInput!): Result!
|
||||
deleteReaction(reaction: Int!): Result!
|
||||
|
||||
# collab
|
||||
inviteCoauthor(author: String!, shout: Int!): Result!
|
||||
removeCoauthor(author: String!, shout: Int!): Result!
|
||||
acceptCoauthor(shout: Int!): Result!
|
||||
# draft / collab
|
||||
createDraft(draft: DraftInput!): Result!
|
||||
updateDraft(draft: DraftInput!): Result!
|
||||
deleteDraft(draft: Int!): Result!
|
||||
inviteAccept(draft: Int!): Result!
|
||||
inviteAuthor(draft: Int!, author: Int!): Result!
|
||||
|
||||
# following
|
||||
follow(what: FollowingEntity!, slug: String!): Result!
|
||||
@@ -289,8 +302,8 @@ type Query {
|
||||
authorsAll: [Author]!
|
||||
getAuthor(slug: String!): User
|
||||
|
||||
# collab
|
||||
getCollabs: [Collab]!
|
||||
# draft/collab
|
||||
loadDrafts: [DraftCollab]!
|
||||
|
||||
# migrate
|
||||
markdownBody(body: String!): String!
|
||||
|
Reference in New Issue
Block a user