2022-09-04 17:20:38 +00:00
|
|
|
from resolvers.auth import (
|
|
|
|
login,
|
|
|
|
sign_out,
|
|
|
|
is_email_used,
|
2022-10-22 12:02:15 +00:00
|
|
|
register_by_email,
|
2022-09-17 18:12:14 +00:00
|
|
|
confirm_email,
|
|
|
|
auth_send_link,
|
2022-09-19 13:50:43 +00:00
|
|
|
get_current_user,
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
2022-09-17 18:12:14 +00:00
|
|
|
from resolvers.collab import remove_author, invite_author
|
2022-10-05 09:32:48 +00:00
|
|
|
from resolvers.migrate import markdown_body
|
|
|
|
|
2022-09-17 18:12:14 +00:00
|
|
|
# from resolvers.collab import invite_author, remove_author
|
|
|
|
from resolvers.editor import create_shout, delete_shout, update_shout
|
2022-09-04 17:20:38 +00:00
|
|
|
from resolvers.profile import (
|
2022-11-15 02:36:30 +00:00
|
|
|
load_authors_by,
|
|
|
|
rate_user,
|
|
|
|
update_profile
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
from resolvers.reactions import (
|
|
|
|
create_reaction,
|
|
|
|
delete_reaction,
|
|
|
|
update_reaction,
|
2022-09-17 18:12:14 +00:00
|
|
|
reactions_unfollow,
|
|
|
|
reactions_follow,
|
2022-11-15 02:36:30 +00:00
|
|
|
load_reactions_by
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
2022-09-17 18:12:14 +00:00
|
|
|
from resolvers.topics import (
|
|
|
|
topic_follow,
|
|
|
|
topic_unfollow,
|
|
|
|
topics_by_author,
|
|
|
|
topics_by_community,
|
|
|
|
topics_all,
|
2022-11-10 08:00:51 +00:00
|
|
|
get_topic
|
2022-09-17 18:12:14 +00:00
|
|
|
)
|
2022-09-19 16:14:20 +00:00
|
|
|
|
2022-09-17 18:12:14 +00:00
|
|
|
from resolvers.zine import (
|
|
|
|
follow,
|
|
|
|
unfollow,
|
2022-11-15 02:36:30 +00:00
|
|
|
load_shouts_by
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
|
|
|
|
2022-11-15 02:36:30 +00:00
|
|
|
from resolvers.inbox.chats import (
|
|
|
|
create_chat,
|
|
|
|
delete_chat,
|
|
|
|
update_chat,
|
|
|
|
invite_to_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
|
|
|
|
)
|
|
|
|
from resolvers.inbox.search import search_users
|
2022-11-11 21:27:17 +00:00
|
|
|
|
2022-09-04 17:20:38 +00:00
|
|
|
__all__ = [
|
|
|
|
# auth
|
|
|
|
"login",
|
2022-10-22 12:02:15 +00:00
|
|
|
"register_by_email",
|
2022-09-04 17:20:38 +00:00
|
|
|
"is_email_used",
|
2022-09-17 18:12:14 +00:00
|
|
|
"confirm_email",
|
|
|
|
"auth_send_link",
|
2022-09-04 17:20:38 +00:00
|
|
|
"sign_out",
|
|
|
|
"get_current_user",
|
2022-11-15 02:36:30 +00:00
|
|
|
# authors
|
|
|
|
"load_authors_by",
|
|
|
|
"rate_user",
|
|
|
|
"update_profile",
|
|
|
|
"get_authors_all",
|
2022-09-04 17:20:38 +00:00
|
|
|
# zine
|
2022-11-15 02:36:30 +00:00
|
|
|
"load_shouts_by",
|
|
|
|
"follow",
|
|
|
|
"unfollow",
|
2022-09-04 17:20:38 +00:00
|
|
|
# editor
|
|
|
|
"create_shout",
|
|
|
|
"update_shout",
|
|
|
|
"delete_shout",
|
2022-10-05 09:32:48 +00:00
|
|
|
# migrate
|
|
|
|
"markdown_body",
|
2022-09-04 17:20:38 +00:00
|
|
|
# collab
|
|
|
|
"invite_author",
|
|
|
|
"remove_author",
|
|
|
|
# topics
|
|
|
|
"topics_all",
|
|
|
|
"topics_by_community",
|
|
|
|
"topics_by_author",
|
|
|
|
"topic_follow",
|
|
|
|
"topic_unfollow",
|
2022-11-10 08:00:51 +00:00
|
|
|
"get_topic",
|
2022-09-04 17:20:38 +00:00
|
|
|
# reactions
|
|
|
|
"reactions_follow",
|
|
|
|
"reactions_unfollow",
|
|
|
|
"create_reaction",
|
|
|
|
"update_reaction",
|
|
|
|
"delete_reaction",
|
2022-11-15 02:36:30 +00:00
|
|
|
"load_reactions_by",
|
2022-11-11 21:27:17 +00:00
|
|
|
# inbox
|
2022-11-15 02:36:30 +00:00
|
|
|
"load_chats",
|
|
|
|
"load_messages_by",
|
|
|
|
"invite_to_chat",
|
2022-11-11 21:27:17 +00:00
|
|
|
"create_chat",
|
|
|
|
"delete_chat",
|
|
|
|
"update_chat",
|
|
|
|
"create_message",
|
|
|
|
"delete_message",
|
|
|
|
"update_message",
|
|
|
|
"message_generator",
|
|
|
|
"mark_as_read",
|
2022-11-15 02:36:30 +00:00
|
|
|
"search_users"
|
2022-09-04 17:20:38 +00:00
|
|
|
]
|