summaryrefslogtreecommitdiff
path: root/packages/misskey-js/src/consts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/misskey-js/src/consts.ts')
-rw-r--r--packages/misskey-js/src/consts.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/misskey-js/src/consts.ts b/packages/misskey-js/src/consts.ts
index aedfb5570e..271a64274f 100644
--- a/packages/misskey-js/src/consts.ts
+++ b/packages/misskey-js/src/consts.ts
@@ -74,6 +74,10 @@ export const moderationLogTypes = [
'markSensitiveDriveFile',
'unmarkSensitiveDriveFile',
'resolveAbuseReport',
+ 'createInvitation',
+ 'createAd',
+ 'updateAd',
+ 'deleteAd',
] as const;
export type ModerationLogPayloads = {
@@ -216,4 +220,20 @@ export type ModerationLogPayloads = {
report: any;
forwarded: boolean;
};
+ createInvitation: {
+ invitations: any[];
+ };
+ createAd: {
+ adId: string;
+ ad: any;
+ };
+ updateAd: {
+ adId: string;
+ before: any;
+ after: any;
+ };
+ deleteAd: {
+ adId: string;
+ ad: any;
+ };
};