core/resolvers/__init__.py

74 lines
1.9 KiB
Python
Raw Normal View History

2022-06-19 17:54:39 +00:00
from resolvers.auth import login, sign_out, is_email_used, register, confirm, auth_forget, auth_reset
from resolvers.zine import get_shout_by_slug, follow, unfollow, view_shout, \
2022-06-19 17:54:39 +00:00
top_month, top_overall, recent_published, recent_all, top_viewed, \
shouts_by_authors, shouts_by_topics, shouts_by_communities
from resolvers.profile import get_users_by_slugs, get_current_user, get_user_reacted_shouts, get_user_roles
from resolvers.topics import topic_follow, topic_unfollow, topics_by_author, topics_by_community, topics_by_slugs
# from resolvers.feed import shouts_for_feed, my_candidates
from resolvers.reactions import create_reaction, delete_reaction, update_reaction, get_all_reactions
from resolvers.collab import invite_author, remove_author
2022-06-19 17:54:39 +00:00
from resolvers.editor import create_shout, delete_shout, update_shout
2021-11-24 13:34:30 +00:00
from resolvers.community import create_community, delete_community, get_community, get_communities
2021-07-13 10:14:48 +00:00
__all__ = [
2022-06-19 17:54:39 +00:00
# auth
"login",
"register",
"is_email_used",
"confirm",
"auth_forget",
"auth_reset"
"sign_out",
2022-06-19 17:54:39 +00:00
# profile
"get_current_user",
"get_users_by_slugs",
# zine
"shouts_for_feed",
"my_candidates",
2022-06-19 17:54:39 +00:00
"recent_published",
"recent_reacted",
2022-06-19 17:54:39 +00:00
"recent_all",
"shouts_by_topics",
"shouts_by_authors",
"shouts_by_communities",
"get_user_reacted_shouts",
2022-06-19 17:54:39 +00:00
"top_month",
"top_overall",
"top_viewed",
"view_shout",
"view_reaction",
2022-06-19 17:54:39 +00:00
"get_shout_by_slug",
# editor
"create_shout",
"update_shout",
"delete_shout",
# collab
"invite_author",
"remove_author"
2022-06-19 17:54:39 +00:00
# topics
"topics_by_slugs",
"topics_by_community",
"topics_by_author",
"topic_follow",
"topic_unfollow",
2022-06-19 17:54:39 +00:00
# communities
"get_community",
"get_communities",
"create_community",
"delete_community",
# reactions
"get_shout_reactions",
"reactions_follow",
"reactions_unfollow",
"create_reaction",
"update_reaction",
"delete_reaction",
"get_all_reactions",
2022-06-19 17:54:39 +00:00
]