mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 01:26:58 +00:00
don't record deleted note, flash, page, or gallery post in modlog
This commit is contained in:
parent
c02fd47811
commit
e030facaa9
6 changed files with 0 additions and 16 deletions
|
@ -162,7 +162,6 @@ export class NoteDeleteService {
|
|||
noteUserId: note.userId,
|
||||
noteUserUsername: user.username,
|
||||
noteUserHost: user.host,
|
||||
note: note,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -78,7 +78,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
flashId: flash.id,
|
||||
flashUserId: flash.userId,
|
||||
flashUserUsername: user.username,
|
||||
flash,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -78,7 +78,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
postId: post.id,
|
||||
postUserId: post.userId,
|
||||
postUserUsername: user.username,
|
||||
post,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -79,7 +79,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
pageId: page.id,
|
||||
pageUserId: page.userId,
|
||||
pageUserUsername: user.username,
|
||||
page,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -239,7 +239,6 @@ export type ModerationLogPayloads = {
|
|||
noteUserId: string;
|
||||
noteUserUsername: string;
|
||||
noteUserHost: string | null;
|
||||
note: any;
|
||||
};
|
||||
createGlobalAnnouncement: {
|
||||
announcementId: string;
|
||||
|
@ -422,19 +421,16 @@ export type ModerationLogPayloads = {
|
|||
pageId: string;
|
||||
pageUserId: string;
|
||||
pageUserUsername: string;
|
||||
page: any;
|
||||
};
|
||||
deleteFlash: {
|
||||
flashId: string;
|
||||
flashUserId: string;
|
||||
flashUserUsername: string;
|
||||
flash: any;
|
||||
};
|
||||
deleteGalleryPost: {
|
||||
postId: string;
|
||||
postUserId: string;
|
||||
postUserUsername: string;
|
||||
post: any;
|
||||
};
|
||||
acceptQuotesUser: {
|
||||
userId: string,
|
||||
|
|
|
@ -4,12 +4,8 @@ import type {
|
|||
Ad,
|
||||
Announcement,
|
||||
EmojiDetailed,
|
||||
Flash,
|
||||
GalleryPost,
|
||||
InviteCode,
|
||||
MetaDetailed,
|
||||
Note,
|
||||
Page,
|
||||
Role,
|
||||
ReversiGameDetailed,
|
||||
SystemWebhook,
|
||||
|
@ -295,7 +291,6 @@ export type ModerationLogPayloads = {
|
|||
noteUserId: string;
|
||||
noteUserUsername: string;
|
||||
noteUserHost: string | null;
|
||||
note: Note;
|
||||
};
|
||||
createGlobalAnnouncement: {
|
||||
announcementId: string;
|
||||
|
@ -478,19 +473,16 @@ export type ModerationLogPayloads = {
|
|||
pageId: string;
|
||||
pageUserId: string;
|
||||
pageUserUsername: string;
|
||||
page: Page;
|
||||
};
|
||||
deleteFlash: {
|
||||
flashId: string;
|
||||
flashUserId: string;
|
||||
flashUserUsername: string;
|
||||
flash: Flash;
|
||||
};
|
||||
deleteGalleryPost: {
|
||||
postId: string;
|
||||
postUserId: string;
|
||||
postUserUsername: string;
|
||||
post: GalleryPost;
|
||||
};
|
||||
acceptQuotesUser: {
|
||||
userId: string,
|
||||
|
|
Loading…
Add table
Reference in a new issue