This commit is contained in:
@@ -1,36 +1,12 @@
|
||||
from resolvers.auth import (
|
||||
login,
|
||||
sign_out,
|
||||
is_email_used,
|
||||
register_by_email,
|
||||
confirm_email,
|
||||
auth_send_link,
|
||||
get_current_user,
|
||||
)
|
||||
|
||||
from resolvers.editor import create_shout, delete_shout, update_shout
|
||||
from resolvers.profile import (
|
||||
|
||||
from resolvers.author import (
|
||||
load_authors_by,
|
||||
rate_user,
|
||||
update_profile,
|
||||
get_authors_all,
|
||||
author_followers,
|
||||
author_followings,
|
||||
get_followed_authors,
|
||||
get_author,
|
||||
get_author_by_id
|
||||
)
|
||||
|
||||
from resolvers.topics import (
|
||||
topics_all,
|
||||
topics_by_community,
|
||||
topics_by_author,
|
||||
topic_follow,
|
||||
topic_unfollow,
|
||||
get_topic,
|
||||
)
|
||||
|
||||
from resolvers.reactions import (
|
||||
from resolvers.reaction import (
|
||||
create_reaction,
|
||||
delete_reaction,
|
||||
update_reaction,
|
||||
@@ -38,52 +14,50 @@ from resolvers.reactions import (
|
||||
reactions_follow,
|
||||
load_reactions_by,
|
||||
)
|
||||
from resolvers.topic import (
|
||||
topic_follow,
|
||||
topic_unfollow,
|
||||
topics_by_author,
|
||||
topics_by_community,
|
||||
topics_all,
|
||||
get_topic,
|
||||
)
|
||||
|
||||
from resolvers.following import follow, unfollow
|
||||
|
||||
from resolvers.load import load_shout, load_shouts_by
|
||||
from resolvers.follower import follow, unfollow
|
||||
from resolvers.reader import load_shout, load_shouts_by
|
||||
from resolvers.community import get_community, get_communities_all
|
||||
|
||||
__all__ = [
|
||||
# auth
|
||||
"login",
|
||||
"register_by_email",
|
||||
"is_email_used",
|
||||
"confirm_email",
|
||||
"auth_send_link",
|
||||
"sign_out",
|
||||
"get_current_user",
|
||||
# profile
|
||||
# author
|
||||
"load_authors_by",
|
||||
"rate_user",
|
||||
"update_profile",
|
||||
"get_authors_all",
|
||||
"author_followers",
|
||||
"author_followings",
|
||||
"get_followed_authors",
|
||||
"get_author",
|
||||
"get_author_by_id",
|
||||
# load
|
||||
# reader
|
||||
"load_shout",
|
||||
"load_shouts_by",
|
||||
# zine.following
|
||||
"rate_author",
|
||||
# follower
|
||||
"follow",
|
||||
"unfollow",
|
||||
# create
|
||||
# editor
|
||||
"create_shout",
|
||||
"update_shout",
|
||||
"delete_shout",
|
||||
# topics
|
||||
# topic
|
||||
"topics_all",
|
||||
"topics_by_community",
|
||||
"topics_by_author",
|
||||
"topic_follow",
|
||||
"topic_unfollow",
|
||||
"get_topic",
|
||||
# zine.reactions
|
||||
# reaction
|
||||
"reactions_follow",
|
||||
"reactions_unfollow",
|
||||
"create_reaction",
|
||||
"update_reaction",
|
||||
"delete_reaction",
|
||||
"load_reactions_by",
|
||||
# community
|
||||
"get_community",
|
||||
"get_communities_all",
|
||||
]
|
||||
|
Reference in New Issue
Block a user