core/resolvers/__init__.py
2022-06-15 15:41:28 +03:00

43 lines
1.4 KiB
Python

from resolvers.auth import login, sign_out, is_email_used, register, confirm
from resolvers.zine import create_shout, get_shout_by_slug, \
top_month, top_overall, recent_published, recent_all, top_viewed, \
shouts_by_authors, shouts_by_topics, shouts_by_communities, \
shouts_reviewed, shouts_subscribed
from resolvers.profile import get_users_by_slugs, get_current_user
from resolvers.topics import topic_subscribe, topic_unsubscribe, topics_by_author, \
topics_by_community, topics_by_slugs
from resolvers.comments import create_comment
from resolvers.community import create_community, delete_community, get_community, get_communities
__all__ = [
"login",
"register",
"is_email_used",
"confirm",
# TODO: "reset_password_code",
# TODO: "reset_password_confirm",
"create_shout",
"get_current_user",
"get_users_by_slugs",
"get_shout_by_slug",
"recent_published",
"recent_all",
"shouts_by_topics",
"shouts_by_authors",
"shouts_by_communities",
"shouts_subscribed",
"shouts_reviewed",
"top_month",
"top_overall",
"top_viewed",
"topics_by_slugs",
"topics_by_community",
"topics_by_author",
"topic_subscribe",
"topic_unsubscribe",
"create_community",
"delete_community",
"get_community",
"get_communities"
]