2023-11-28 10:53:48 +03:00
|
|
|
from resolvers.author import (
|
|
|
|
get_author,
|
2024-02-21 10:27:16 +03:00
|
|
|
get_author_follows,
|
2024-02-21 12:34:12 +03:00
|
|
|
get_author_followers,
|
2023-12-13 22:59:21 +03:00
|
|
|
get_author_id,
|
2023-12-19 11:09:50 +03:00
|
|
|
get_authors_all,
|
2023-11-28 10:53:48 +03:00
|
|
|
load_authors_by,
|
|
|
|
rate_author,
|
2024-02-03 17:44:28 +03:00
|
|
|
update_author,
|
2023-11-28 10:53:48 +03:00
|
|
|
)
|
2023-12-17 23:30:20 +03:00
|
|
|
from resolvers.community import get_communities_all, get_community
|
|
|
|
from resolvers.editor import create_shout, delete_shout, update_shout
|
2024-02-21 11:59:47 +03:00
|
|
|
from resolvers.follower import (
|
|
|
|
follow,
|
|
|
|
unfollow,
|
|
|
|
get_topic_followers,
|
|
|
|
get_shout_followers,
|
|
|
|
)
|
2023-10-23 17:47:11 +03:00
|
|
|
from resolvers.reaction import (
|
2022-09-04 20:20:38 +03:00
|
|
|
create_reaction,
|
2023-11-28 10:53:48 +03:00
|
|
|
delete_reaction,
|
2023-10-05 21:46:18 +03:00
|
|
|
load_reactions_by,
|
2023-11-28 10:53:48 +03:00
|
|
|
load_shouts_followed,
|
2023-12-17 23:30:20 +03:00
|
|
|
update_reaction,
|
2022-11-21 11:13:57 +03:00
|
|
|
)
|
2023-12-16 18:24:30 +03:00
|
|
|
from resolvers.reader import (
|
|
|
|
get_shout,
|
|
|
|
load_shouts_by,
|
|
|
|
load_shouts_feed,
|
2023-12-17 23:30:20 +03:00
|
|
|
load_shouts_random_top,
|
2024-01-25 22:41:27 +03:00
|
|
|
load_shouts_random_topic,
|
2023-12-16 18:24:30 +03:00
|
|
|
load_shouts_search,
|
|
|
|
load_shouts_unrated,
|
|
|
|
)
|
2024-02-21 10:27:16 +03:00
|
|
|
from resolvers.topic import (
|
|
|
|
get_topic,
|
|
|
|
get_topics_all,
|
|
|
|
get_topics_by_author,
|
|
|
|
get_topics_by_community,
|
|
|
|
)
|
|
|
|
|
2022-11-12 00:27:17 +03:00
|
|
|
|
2022-09-04 20:20:38 +03:00
|
|
|
__all__ = [
|
2023-10-23 17:47:11 +03:00
|
|
|
# author
|
2024-02-21 10:27:16 +03:00
|
|
|
"get_author",
|
|
|
|
"get_author_id",
|
|
|
|
"get_author_follows",
|
2024-02-21 11:52:57 +03:00
|
|
|
"get_authors_all",
|
2024-02-21 10:27:16 +03:00
|
|
|
"load_authors_by",
|
|
|
|
"rate_author",
|
|
|
|
"update_author",
|
2023-11-28 10:53:48 +03:00
|
|
|
# community
|
2024-02-21 10:27:16 +03:00
|
|
|
"get_community",
|
|
|
|
"get_communities_all",
|
2023-11-28 10:53:48 +03:00
|
|
|
# topic
|
2024-02-21 10:27:16 +03:00
|
|
|
"get_topic",
|
|
|
|
"get_topics_all",
|
|
|
|
"get_topics_by_community",
|
|
|
|
"get_topics_by_author",
|
2023-10-23 17:47:11 +03:00
|
|
|
# reader
|
2024-02-21 10:27:16 +03:00
|
|
|
"get_shout",
|
|
|
|
"load_shouts_by",
|
|
|
|
"load_shouts_feed",
|
|
|
|
"load_shouts_search",
|
|
|
|
"load_shouts_followed",
|
|
|
|
"load_shouts_unrated",
|
|
|
|
"load_shouts_random_top",
|
|
|
|
"load_shouts_random_topic",
|
2023-10-23 17:47:11 +03:00
|
|
|
# follower
|
2024-02-21 10:27:16 +03:00
|
|
|
"follow",
|
|
|
|
"unfollow",
|
2024-02-21 11:52:57 +03:00
|
|
|
"get_topic_followers",
|
|
|
|
"get_shout_followers",
|
|
|
|
"get_author_followers",
|
2023-10-23 17:47:11 +03:00
|
|
|
# editor
|
2024-02-21 10:27:16 +03:00
|
|
|
"create_shout",
|
|
|
|
"update_shout",
|
|
|
|
"delete_shout",
|
2023-10-23 17:47:11 +03:00
|
|
|
# reaction
|
2024-02-21 10:27:16 +03:00
|
|
|
"create_reaction",
|
|
|
|
"update_reaction",
|
|
|
|
"delete_reaction",
|
|
|
|
"load_reactions_by",
|
2022-09-04 20:20:38 +03:00
|
|
|
]
|