pub mod chat_server;
pub mod handlers;
-pub mod messages;
-pub mod routes;
pub mod send;
pub mod structs;
GetCaptcha,
SaveComment,
CreateCommentLike,
+ DistinguishComment,
CreateCommentReport,
ResolveCommentReport,
ListCommentReports,
CreatePostLike,
LockPost,
- StickyPost,
+ FeaturePost,
MarkPostAsRead,
SavePost,
CreatePostReport,
ApproveRegistrationApplication,
BanPerson,
GetBannedPersons,
- Search,
- ResolveObject,
MarkAllAsRead,
SaveUserSettings,
TransferCommunity,
// Community
CreateCommunity,
ListCommunities,
- GetCommunity,
EditCommunity,
DeleteCommunity,
RemoveCommunity,
// Post
CreatePost,
GetPost,
- GetPosts,
EditPost,
DeletePost,
RemovePost,
// Comment
CreateComment,
GetComment,
- GetComments,
EditComment,
DeleteComment,
RemoveComment,
// User
Register,
- GetPersonDetails,
DeleteAccount,
// Private Message
CreatePrivateMessage,
GetPrivateMessages,
EditPrivateMessage,
DeletePrivateMessage,
+ //Emojis
+ CreateCustomEmoji,
+ EditCustomEmoji,
+ DeleteCustomEmoji,
+}
+
+#[derive(EnumString, Display, Debug, Clone)]
+pub enum UserOperationApub {
+ GetPosts,
+ GetCommunity,
+ GetComments,
+ GetPersonDetails,
+ Search,
+ ResolveObject,
}
pub trait OperationType {}
impl OperationType for UserOperationCrud {}
impl OperationType for UserOperation {}
+
+impl OperationType for UserOperationApub {}