2022-09-04 17:20:38 +00:00
|
|
|
from resolvers.auth import (
|
|
|
|
login,
|
|
|
|
sign_out,
|
|
|
|
is_email_used,
|
|
|
|
register,
|
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
|
|
|
|
from resolvers.community import (
|
|
|
|
create_community,
|
|
|
|
delete_community,
|
|
|
|
get_community,
|
|
|
|
get_communities,
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
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 (
|
|
|
|
get_users_by_slugs,
|
|
|
|
get_user_reacted_shouts,
|
|
|
|
get_user_roles,
|
2022-09-17 18:12:14 +00:00
|
|
|
get_top_authors,
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# from resolvers.feed import shouts_for_feed, my_candidates
|
|
|
|
from resolvers.reactions import (
|
|
|
|
create_reaction,
|
|
|
|
delete_reaction,
|
|
|
|
update_reaction,
|
2022-09-17 18:12:14 +00:00
|
|
|
reactions_unfollow,
|
|
|
|
reactions_follow,
|
|
|
|
get_shout_reactions,
|
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-09-19 16:14:20 +00:00
|
|
|
|
2022-09-17 18:12:14 +00:00
|
|
|
from resolvers.zine import (
|
|
|
|
get_shout_by_slug,
|
|
|
|
follow,
|
|
|
|
unfollow,
|
2022-09-19 13:50:43 +00:00
|
|
|
increment_view,
|
2022-09-17 18:12:14 +00:00
|
|
|
top_month,
|
|
|
|
top_overall,
|
|
|
|
recent_published,
|
|
|
|
recent_all,
|
2022-09-19 16:14:20 +00:00
|
|
|
recent_commented,
|
|
|
|
recent_reacted,
|
2022-09-17 18:12:14 +00:00
|
|
|
shouts_by_authors,
|
|
|
|
shouts_by_topics,
|
|
|
|
shouts_by_communities,
|
2022-09-04 17:20:38 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
"follow",
|
|
|
|
"unfollow",
|
|
|
|
# auth
|
|
|
|
"login",
|
|
|
|
"register",
|
|
|
|
"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-09-19 13:50:43 +00:00
|
|
|
# profile
|
2022-09-04 17:20:38 +00:00
|
|
|
"get_users_by_slugs",
|
|
|
|
"get_user_roles",
|
2022-09-14 08:29:43 +00:00
|
|
|
"get_top_authors",
|
2022-09-04 17:20:38 +00:00
|
|
|
# zine
|
|
|
|
"recent_published",
|
2022-09-19 16:14:20 +00:00
|
|
|
"recent_commented",
|
|
|
|
"recent_reacted",
|
2022-09-04 17:20:38 +00:00
|
|
|
"recent_all",
|
|
|
|
"shouts_by_topics",
|
|
|
|
"shouts_by_authors",
|
|
|
|
"shouts_by_communities",
|
|
|
|
"get_user_reacted_shouts",
|
|
|
|
"top_month",
|
|
|
|
"top_overall",
|
2022-09-19 13:50:43 +00:00
|
|
|
"increment_view",
|
2022-09-04 17:20:38 +00:00
|
|
|
"get_shout_by_slug",
|
|
|
|
# editor
|
|
|
|
"create_shout",
|
|
|
|
"update_shout",
|
|
|
|
"delete_shout",
|
|
|
|
# collab
|
|
|
|
"invite_author",
|
|
|
|
"remove_author",
|
|
|
|
# topics
|
|
|
|
"topics_all",
|
|
|
|
"topics_by_community",
|
|
|
|
"topics_by_author",
|
|
|
|
"topic_follow",
|
|
|
|
"topic_unfollow",
|
|
|
|
# communities
|
|
|
|
"get_community",
|
|
|
|
"get_communities",
|
|
|
|
"create_community",
|
|
|
|
"delete_community",
|
|
|
|
# reactions
|
|
|
|
"get_shout_reactions",
|
|
|
|
"reactions_follow",
|
|
|
|
"reactions_unfollow",
|
|
|
|
"create_reaction",
|
|
|
|
"update_reaction",
|
|
|
|
"delete_reaction",
|
|
|
|
]
|