core/resolvers/__init__.py
Untone 692dd9cfe0
Some checks failed
deploy / deploy (push) Failing after 1m30s
resolvers-updates
2023-12-16 18:24:30 +03:00

79 lines
1.6 KiB
Python

from resolvers.editor import create_shout, delete_shout, update_shout
from resolvers.author import (
get_author,
get_author_id,
load_authors_all,
get_author_followers,
get_author_followed,
load_authors_by,
update_profile,
rate_author,
)
from resolvers.reaction import (
create_reaction,
update_reaction,
delete_reaction,
load_reactions_by,
load_shouts_followed,
)
from resolvers.topic import (
get_topics_by_author,
get_topics_by_community,
get_topics_all,
get_topic,
)
from resolvers.follower import follow, unfollow, get_my_followed
from resolvers.reader import (
get_shout,
load_shouts_by,
load_shouts_feed,
load_shouts_search,
load_shouts_unrated,
load_shouts_random_top,
)
from resolvers.community import get_community, get_communities_all
__all__ = [
# author
"get_author",
"get_author_id",
"load_authors_all",
"get_author_followers",
"get_author_followed",
"load_authors_by",
"rate_author",
"update_profile",
# community
"get_community",
"get_communities_all",
# topic
"get_topic",
"get_topics_all",
"get_topics_by_community",
"get_topics_by_author",
# reader
"get_shout",
"load_shouts_by",
"load_shouts_feed",
"load_shouts_search",
"load_shouts_followed",
"load_shouts_unrated",
"load_shouts_random_top",
# follower
"follow",
"unfollow",
"get_my_followed",
# editor
"create_shout",
"update_shout",
"delete_shout",
# reaction
"create_reaction",
"update_reaction",
"delete_reaction",
"load_reactions_by",
]