enhance: improve moderation log
This commit is contained in:
@@ -75,6 +75,9 @@ export const moderationLogTypes = [
|
||||
'unmarkSensitiveDriveFile',
|
||||
'resolveAbuseReport',
|
||||
'createInvitation',
|
||||
'createAd',
|
||||
'updateAd',
|
||||
'deleteAd',
|
||||
] as const;
|
||||
|
||||
export type ModerationLogPayloads = {
|
||||
@@ -220,4 +223,17 @@ export type ModerationLogPayloads = {
|
||||
createInvitation: {
|
||||
invitations: any[];
|
||||
};
|
||||
createAd: {
|
||||
adId: string;
|
||||
ad: any;
|
||||
};
|
||||
updateAd: {
|
||||
adId: string;
|
||||
before: any;
|
||||
after: any;
|
||||
};
|
||||
deleteAd: {
|
||||
adId: string;
|
||||
ad: any;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user