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-10-05 09:32:48 +00:00
|
|
|
|
2022-11-21 08:13:57 +00:00
|
|
|
from resolvers.create.collab import remove_author, invite_author
|
|
|
|
from resolvers.create.migrate import markdown_body
|
|
|
|
from resolvers.create.editor import create_shout, delete_shout, update_shout
|
|
|
|
|
|
|
|
from resolvers.zine.profile import (
|
2022-11-15 02:36:30 +00:00
|
|
|
load_authors_by,
|
|
|
|
rate_user,
|
2022-11-25 18:31:53 +00:00
|
|
|
update_profile,
|
|
|
|
get_authors_all
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
|
|
|
|
2022-11-21 08:13:57 +00:00
|
|
|
from resolvers.zine.reactions import (
|
2022-09-04 17:20:38 +00:00
|
|
|
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-11-21 08:13:57 +00:00
|
|
|
from resolvers.zine.topics import (
|
2022-09-17 18:12:14 +00:00
|
|
|
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-11-21 08:13:57 +00:00
|
|
|
from resolvers.zine.following import (
|
2022-09-17 18:12:14 +00:00
|
|
|
follow,
|
2022-11-21 08:13:57 +00:00
|
|
|
unfollow
|
|
|
|
)
|
|
|
|
|
|
|
|
from resolvers.zine.load import (
|
|
|
|
load_shout,
|
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,
|
2022-11-25 22:35:42 +00:00
|
|
|
update_chat
|
|
|
|
|
2022-11-15 02:36:30 +00:00
|
|
|
)
|
|
|
|
from resolvers.inbox.messages import (
|
|
|
|
create_message,
|
|
|
|
delete_message,
|
|
|
|
update_message,
|
|
|
|
message_generator,
|
|
|
|
mark_as_read
|
|
|
|
)
|
|
|
|
from resolvers.inbox.load import (
|
|
|
|
load_chats,
|
2022-11-21 08:13:57 +00:00
|
|
|
load_messages_by,
|
|
|
|
load_recipients
|
2022-11-15 02:36:30 +00:00
|
|
|
)
|
2022-11-21 08:13:57 +00:00
|
|
|
from resolvers.inbox.search import search_recipients
|
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-21 08:13:57 +00:00
|
|
|
# zine.profile
|
2022-11-15 02:36:30 +00:00
|
|
|
"load_authors_by",
|
|
|
|
"rate_user",
|
|
|
|
"update_profile",
|
|
|
|
"get_authors_all",
|
2022-11-21 08:13:57 +00:00
|
|
|
# zine.load
|
|
|
|
"load_shout",
|
2022-11-15 02:36:30 +00:00
|
|
|
"load_shouts_by",
|
2022-11-21 08:13:57 +00:00
|
|
|
# zine.following
|
2022-11-15 02:36:30 +00:00
|
|
|
"follow",
|
|
|
|
"unfollow",
|
2022-11-21 08:13:57 +00:00
|
|
|
# create.editor
|
2022-09-04 17:20:38 +00:00
|
|
|
"create_shout",
|
|
|
|
"update_shout",
|
|
|
|
"delete_shout",
|
2022-11-21 08:13:57 +00:00
|
|
|
# create.migrate
|
2022-10-05 09:32:48 +00:00
|
|
|
"markdown_body",
|
2022-11-21 08:13:57 +00:00
|
|
|
# create.collab
|
2022-09-04 17:20:38 +00:00
|
|
|
"invite_author",
|
|
|
|
"remove_author",
|
2022-11-21 08:13:57 +00:00
|
|
|
# zine.topics
|
2022-09-04 17:20:38 +00:00
|
|
|
"topics_all",
|
|
|
|
"topics_by_community",
|
|
|
|
"topics_by_author",
|
|
|
|
"topic_follow",
|
|
|
|
"topic_unfollow",
|
2022-11-10 08:00:51 +00:00
|
|
|
"get_topic",
|
2022-11-21 08:13:57 +00:00
|
|
|
# zine.reactions
|
2022-09-04 17:20:38 +00:00
|
|
|
"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",
|
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-21 08:13:57 +00:00
|
|
|
"load_recipients",
|
|
|
|
"search_recipients"
|
2022-09-04 17:20:38 +00:00
|
|
|
]
|