2024-04-26 22:41:47 +00:00
|
|
|
from resolvers.author import ( # search_authors,
|
2024-04-24 07:42:33 +00:00
|
|
|
get_author,
|
|
|
|
get_author_followers,
|
|
|
|
get_author_follows,
|
|
|
|
get_author_follows_authors,
|
|
|
|
get_author_follows_topics,
|
|
|
|
get_author_id,
|
|
|
|
get_authors_all,
|
|
|
|
load_authors_by,
|
|
|
|
update_author,
|
|
|
|
)
|
2023-12-17 20:30:20 +00:00
|
|
|
from resolvers.community import get_communities_all, get_community
|
|
|
|
from resolvers.editor import create_shout, delete_shout, update_shout
|
2024-05-20 22:40:57 +00:00
|
|
|
from resolvers.follower import follow, get_shout_followers, unfollow
|
2024-04-24 07:42:33 +00:00
|
|
|
from resolvers.notifier import (
|
|
|
|
load_notifications,
|
|
|
|
notification_mark_seen,
|
|
|
|
notifications_seen_after,
|
|
|
|
notifications_seen_thread,
|
|
|
|
)
|
2024-04-08 07:38:58 +00:00
|
|
|
from resolvers.rating import rate_author
|
2024-04-24 07:42:33 +00:00
|
|
|
from resolvers.reaction import (
|
|
|
|
create_reaction,
|
|
|
|
delete_reaction,
|
|
|
|
load_reactions_by,
|
|
|
|
load_shouts_followed,
|
2024-07-03 12:35:12 +00:00
|
|
|
load_shouts_followed_by,
|
2024-04-24 07:42:33 +00:00
|
|
|
update_reaction,
|
|
|
|
)
|
|
|
|
from resolvers.reader import (
|
|
|
|
get_shout,
|
|
|
|
load_shouts_by,
|
|
|
|
load_shouts_feed,
|
|
|
|
load_shouts_random_top,
|
|
|
|
load_shouts_random_topic,
|
|
|
|
load_shouts_search,
|
|
|
|
load_shouts_unrated,
|
2024-07-15 22:06:43 +00:00
|
|
|
load_shouts_coauthored,
|
|
|
|
load_shouts_discussed,
|
2024-04-24 07:42:33 +00:00
|
|
|
)
|
2024-05-20 22:40:57 +00:00
|
|
|
from resolvers.topic import (
|
|
|
|
get_topic,
|
|
|
|
get_topic_authors,
|
|
|
|
get_topic_followers,
|
|
|
|
get_topics_all,
|
|
|
|
get_topics_by_author,
|
|
|
|
get_topics_by_community,
|
|
|
|
)
|
2024-04-09 08:17:32 +00:00
|
|
|
from services.triggers import events_register
|
2024-03-12 12:01:45 +00:00
|
|
|
|
|
|
|
events_register()
|
|
|
|
|
2022-09-04 17:20:38 +00:00
|
|
|
__all__ = [
|
2023-10-23 14:47:11 +00:00
|
|
|
# author
|
2024-04-17 15:32:23 +00:00
|
|
|
"get_author",
|
|
|
|
"get_author_id",
|
2024-05-20 22:40:57 +00:00
|
|
|
"get_author_followers",
|
2024-04-17 15:32:23 +00:00
|
|
|
"get_author_follows",
|
|
|
|
"get_author_follows_topics",
|
|
|
|
"get_author_follows_authors",
|
|
|
|
"get_authors_all",
|
|
|
|
"load_authors_by",
|
|
|
|
"rate_author",
|
|
|
|
"update_author",
|
2024-04-26 22:41:47 +00:00
|
|
|
## "search_authors",
|
2023-11-28 07:53:48 +00:00
|
|
|
# community
|
2024-04-17 15:32:23 +00:00
|
|
|
"get_community",
|
|
|
|
"get_communities_all",
|
2023-11-28 07:53:48 +00:00
|
|
|
# topic
|
2024-04-17 15:32:23 +00:00
|
|
|
"get_topic",
|
|
|
|
"get_topics_all",
|
|
|
|
"get_topics_by_community",
|
|
|
|
"get_topics_by_author",
|
2024-05-20 22:40:57 +00:00
|
|
|
"get_topic_followers",
|
|
|
|
"get_topic_authors",
|
2023-10-23 14:47:11 +00:00
|
|
|
# reader
|
2024-04-17 15:32:23 +00:00
|
|
|
"get_shout",
|
|
|
|
"load_shouts_by",
|
|
|
|
"load_shouts_feed",
|
|
|
|
"load_shouts_search",
|
|
|
|
"load_shouts_followed",
|
2024-07-03 12:35:12 +00:00
|
|
|
"load_shouts_followed_by",
|
2024-04-17 15:32:23 +00:00
|
|
|
"load_shouts_unrated",
|
2024-07-15 22:06:43 +00:00
|
|
|
"load_shouts_coauthored",
|
|
|
|
"load_shouts_discussed",
|
2024-04-17 15:32:23 +00:00
|
|
|
"load_shouts_random_top",
|
|
|
|
"load_shouts_random_topic",
|
2023-10-23 14:47:11 +00:00
|
|
|
# follower
|
2024-04-17 15:32:23 +00:00
|
|
|
"follow",
|
|
|
|
"unfollow",
|
|
|
|
"get_shout_followers",
|
2023-10-23 14:47:11 +00:00
|
|
|
# editor
|
2024-04-17 15:32:23 +00:00
|
|
|
"create_shout",
|
|
|
|
"update_shout",
|
|
|
|
"delete_shout",
|
2023-10-23 14:47:11 +00:00
|
|
|
# reaction
|
2024-04-17 15:32:23 +00:00
|
|
|
"create_reaction",
|
|
|
|
"update_reaction",
|
|
|
|
"delete_reaction",
|
|
|
|
"load_reactions_by",
|
2024-03-04 07:59:14 +00:00
|
|
|
# notifier
|
2024-04-17 15:32:23 +00:00
|
|
|
"load_notifications",
|
|
|
|
"notifications_seen_thread",
|
|
|
|
"notifications_seen_after",
|
|
|
|
"notification_mark_seen",
|
2022-09-04 17:20:38 +00:00
|
|
|
]
|