mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 09:36:56 +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,
|
noteUserId: note.userId,
|
||||||
noteUserUsername: user.username,
|
noteUserUsername: user.username,
|
||||||
noteUserHost: user.host,
|
noteUserHost: user.host,
|
||||||
note: note,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
flashId: flash.id,
|
flashId: flash.id,
|
||||||
flashUserId: flash.userId,
|
flashUserId: flash.userId,
|
||||||
flashUserUsername: user.username,
|
flashUserUsername: user.username,
|
||||||
flash,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -78,7 +78,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
postId: post.id,
|
postId: post.id,
|
||||||
postUserId: post.userId,
|
postUserId: post.userId,
|
||||||
postUserUsername: user.username,
|
postUserUsername: user.username,
|
||||||
post,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -79,7 +79,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
pageId: page.id,
|
pageId: page.id,
|
||||||
pageUserId: page.userId,
|
pageUserId: page.userId,
|
||||||
pageUserUsername: user.username,
|
pageUserUsername: user.username,
|
||||||
page,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -239,7 +239,6 @@ export type ModerationLogPayloads = {
|
||||||
noteUserId: string;
|
noteUserId: string;
|
||||||
noteUserUsername: string;
|
noteUserUsername: string;
|
||||||
noteUserHost: string | null;
|
noteUserHost: string | null;
|
||||||
note: any;
|
|
||||||
};
|
};
|
||||||
createGlobalAnnouncement: {
|
createGlobalAnnouncement: {
|
||||||
announcementId: string;
|
announcementId: string;
|
||||||
|
@ -422,19 +421,16 @@ export type ModerationLogPayloads = {
|
||||||
pageId: string;
|
pageId: string;
|
||||||
pageUserId: string;
|
pageUserId: string;
|
||||||
pageUserUsername: string;
|
pageUserUsername: string;
|
||||||
page: any;
|
|
||||||
};
|
};
|
||||||
deleteFlash: {
|
deleteFlash: {
|
||||||
flashId: string;
|
flashId: string;
|
||||||
flashUserId: string;
|
flashUserId: string;
|
||||||
flashUserUsername: string;
|
flashUserUsername: string;
|
||||||
flash: any;
|
|
||||||
};
|
};
|
||||||
deleteGalleryPost: {
|
deleteGalleryPost: {
|
||||||
postId: string;
|
postId: string;
|
||||||
postUserId: string;
|
postUserId: string;
|
||||||
postUserUsername: string;
|
postUserUsername: string;
|
||||||
post: any;
|
|
||||||
};
|
};
|
||||||
acceptQuotesUser: {
|
acceptQuotesUser: {
|
||||||
userId: string,
|
userId: string,
|
||||||
|
|
|
@ -4,12 +4,8 @@ import type {
|
||||||
Ad,
|
Ad,
|
||||||
Announcement,
|
Announcement,
|
||||||
EmojiDetailed,
|
EmojiDetailed,
|
||||||
Flash,
|
|
||||||
GalleryPost,
|
|
||||||
InviteCode,
|
InviteCode,
|
||||||
MetaDetailed,
|
MetaDetailed,
|
||||||
Note,
|
|
||||||
Page,
|
|
||||||
Role,
|
Role,
|
||||||
ReversiGameDetailed,
|
ReversiGameDetailed,
|
||||||
SystemWebhook,
|
SystemWebhook,
|
||||||
|
@ -295,7 +291,6 @@ export type ModerationLogPayloads = {
|
||||||
noteUserId: string;
|
noteUserId: string;
|
||||||
noteUserUsername: string;
|
noteUserUsername: string;
|
||||||
noteUserHost: string | null;
|
noteUserHost: string | null;
|
||||||
note: Note;
|
|
||||||
};
|
};
|
||||||
createGlobalAnnouncement: {
|
createGlobalAnnouncement: {
|
||||||
announcementId: string;
|
announcementId: string;
|
||||||
|
@ -478,19 +473,16 @@ export type ModerationLogPayloads = {
|
||||||
pageId: string;
|
pageId: string;
|
||||||
pageUserId: string;
|
pageUserId: string;
|
||||||
pageUserUsername: string;
|
pageUserUsername: string;
|
||||||
page: Page;
|
|
||||||
};
|
};
|
||||||
deleteFlash: {
|
deleteFlash: {
|
||||||
flashId: string;
|
flashId: string;
|
||||||
flashUserId: string;
|
flashUserId: string;
|
||||||
flashUserUsername: string;
|
flashUserUsername: string;
|
||||||
flash: Flash;
|
|
||||||
};
|
};
|
||||||
deleteGalleryPost: {
|
deleteGalleryPost: {
|
||||||
postId: string;
|
postId: string;
|
||||||
postUserId: string;
|
postUserId: string;
|
||||||
postUserUsername: string;
|
postUserUsername: string;
|
||||||
post: GalleryPost;
|
|
||||||
};
|
};
|
||||||
acceptQuotesUser: {
|
acceptQuotesUser: {
|
||||||
userId: string,
|
userId: string,
|
||||||
|
|
Loading…
Add table
Reference in a new issue