drafts removed, createdBy and deletedBy added to shout
This commit is contained in:
@@ -77,8 +77,6 @@ type Result {
|
||||
topics: [Topic]
|
||||
community: Community
|
||||
communities: [Community]
|
||||
draft: DraftCollab
|
||||
drafts: [DraftCollab]
|
||||
}
|
||||
|
||||
enum ReactionStatus {
|
||||
@@ -130,16 +128,6 @@ input TopicInput {
|
||||
# parents: [String]
|
||||
}
|
||||
|
||||
input DraftInput {
|
||||
slug: String
|
||||
topics: [Int]
|
||||
authors: [Int]
|
||||
title: String
|
||||
subtitle: String
|
||||
body: String
|
||||
cover: String
|
||||
|
||||
}
|
||||
|
||||
input ReactionInput {
|
||||
kind: ReactionKind!
|
||||
@@ -202,14 +190,6 @@ type Mutation {
|
||||
updateReaction(id: Int!, reaction: ReactionInput!): Result!
|
||||
deleteReaction(id: 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!
|
||||
draftToShout(draft: Int!): Result!
|
||||
|
||||
# following
|
||||
follow(what: FollowingEntity!, slug: String!): Result!
|
||||
unfollow(what: FollowingEntity!, slug: String!): Result!
|
||||
@@ -306,9 +286,6 @@ type Query {
|
||||
getAuthor(slug: String!): User
|
||||
myFeed(options: LoadShoutsOptions): [Shout]
|
||||
|
||||
# draft/collab
|
||||
loadDrafts: [DraftCollab]!
|
||||
|
||||
# migrate
|
||||
markdownBody(body: String!): String!
|
||||
|
||||
@@ -544,17 +521,3 @@ type Chat {
|
||||
unread: Int
|
||||
private: Boolean
|
||||
}
|
||||
|
||||
type DraftCollab {
|
||||
slug: String
|
||||
title: String
|
||||
subtitle: String
|
||||
body: String
|
||||
cover: String
|
||||
layout: String
|
||||
authors: [Int]!
|
||||
topics: [String]
|
||||
chat: Chat
|
||||
createdAt: Int!
|
||||
updatedAt: Int
|
||||
}
|
||||
|
Reference in New Issue
Block a user