restructured,inbox-removed

This commit is contained in:
2023-10-05 21:46:18 +03:00
parent 6dfec6714a
commit deac939ed8
49 changed files with 886 additions and 1549 deletions

View File

@@ -8,62 +8,36 @@ from resolvers.auth import (
get_current_user,
)
from resolvers.create.migrate import markdown_body
from resolvers.create.editor import create_shout, delete_shout, update_shout
from resolvers.zine.profile import (
from resolvers.migrate import markdown_body
from resolvers.editor import create_shout, delete_shout, update_shout
from resolvers.profile import (
load_authors_by,
rate_user,
update_profile,
get_authors_all
get_authors_all,
)
from resolvers.zine.reactions import (
from resolvers.topics import (
topics_all,
topics_by_community,
topics_by_author,
topic_follow,
topic_unfollow,
get_topic,
)
from resolvers.reactions import (
create_reaction,
delete_reaction,
update_reaction,
reactions_unfollow,
reactions_follow,
load_reactions_by
)
from resolvers.zine.topics import (
topic_follow,
topic_unfollow,
topics_by_author,
topics_by_community,
topics_all,
get_topic
load_reactions_by,
)
from resolvers.zine.following import (
follow,
unfollow
)
from resolvers.following import follow, unfollow
from resolvers.zine.load import (
load_shout,
load_shouts_by
)
from resolvers.inbox.chats import (
create_chat,
delete_chat,
update_chat
)
from resolvers.inbox.messages import (
create_message,
delete_message,
update_message,
message_generator,
mark_as_read
)
from resolvers.inbox.load import (
load_chats,
load_messages_by,
load_recipients
)
from resolvers.inbox.search import search_recipients
from resolvers.load import load_shout, load_shouts_by
__all__ = [
# auth
@@ -74,12 +48,12 @@ __all__ = [
"auth_send_link",
"sign_out",
"get_current_user",
# zine.profile
# profile
"load_authors_by",
"rate_user",
"update_profile",
"get_authors_all",
# zine.load
# load
"load_shout",
"load_shouts_by",
# zine.following
@@ -90,7 +64,7 @@ __all__ = [
"update_shout",
"delete_shout",
"markdown_body",
# zine.topics
# topics
"topics_all",
"topics_by_community",
"topics_by_author",
@@ -104,17 +78,4 @@ __all__ = [
"update_reaction",
"delete_reaction",
"load_reactions_by",
# inbox
"load_chats",
"load_messages_by",
"create_chat",
"delete_chat",
"update_chat",
"create_message",
"delete_message",
"update_message",
"message_generator",
"mark_as_read",
"load_recipients",
"search_recipients"
]