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