drafts-fixes
This commit is contained in:
parent
c1c193c55b
commit
9fb6c72dbe
|
@ -8,8 +8,8 @@ from resolvers.auth import (
|
|||
get_current_user,
|
||||
)
|
||||
|
||||
from resolvers.create.collab import load_drafts, create_draft, update_draft, delete_draft,\
|
||||
accept_coauthor, invite_coauthor
|
||||
from resolvers.create.drafts import load_drafts, create_draft, update_draft, delete_draft,\
|
||||
accept_coauthor, invite_coauthor, draft_to_shout
|
||||
from resolvers.create.migrate import markdown_body
|
||||
from resolvers.create.editor import create_shout, delete_shout, update_shout
|
||||
|
||||
|
@ -87,19 +87,18 @@ __all__ = [
|
|||
# zine.following
|
||||
"follow",
|
||||
"unfollow",
|
||||
# create.editor
|
||||
# create
|
||||
"create_shout",
|
||||
"update_shout",
|
||||
"delete_shout",
|
||||
# create.migrate
|
||||
"markdown_body",
|
||||
# create.collab
|
||||
"load_drafts",
|
||||
"create_draft",
|
||||
"update_draft",
|
||||
"delete_draft",
|
||||
"invite_coauthor",
|
||||
"accept_coauthor",
|
||||
"draft_to_shout",
|
||||
# zine.topics
|
||||
"topics_all",
|
||||
"topics_by_community",
|
||||
|
|
|
@ -69,7 +69,6 @@ type Result {
|
|||
members: [ChatMember]
|
||||
shout: Shout
|
||||
shouts: [Shout]
|
||||
drafts: [DraftCollab]
|
||||
author: Author
|
||||
authors: [Author]
|
||||
reaction: Reaction
|
||||
|
@ -78,6 +77,8 @@ type Result {
|
|||
topics: [Topic]
|
||||
community: Community
|
||||
communities: [Community]
|
||||
draft: DraftCollab
|
||||
drafts: [DraftCollab]
|
||||
}
|
||||
|
||||
enum ReactionStatus {
|
||||
|
@ -207,6 +208,7 @@ type Mutation {
|
|||
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!
|
||||
|
|
Loading…
Reference in New Issue
Block a user