stage3: implement all of lemmy compatible piefed api

This commit is contained in:
James Xylight committed 2025-09-05 14:58:06 -07:00
1 parent a9fff5c9e8
commit e21d1f6196
5 files changed
+246 -118

No files matched your search

+2 -2
View File
@@ -97,7 +97,7 @@ export abstract class BaseClient {
): Promise<types.CommentResponse>
abstract markCommentReplyAsRead(
form: types.MarkCommentReplyAsRead,
): Promise<types.CommentReplyResponse>
): Promise<types.CommentReplyResponse | void>
abstract likeComment(
form: types.CreateCommentLike,
): Promise<types.CommentResponse>
@@ -159,7 +159,7 @@ export abstract class BaseClient {
): Promise<types.GetPersonMentionsResponse>
abstract markPersonMentionAsRead(
form: types.MarkPersonMentionAsRead,
): Promise<types.PersonMentionResponse>
): Promise<types.PersonMentionResponse | void>
abstract getReplies(form: types.GetReplies): Promise<types.GetRepliesResponse>
abstract banPerson(form: types.BanPerson): Promise<types.BanPersonResponse>
abstract getBannedPersons(): Promise<types.BannedPersonsResponse>