2024-07-25 07:40:14 +00:00
|
|
|
import type { operations } from './autogen/types.js';
|
|
|
|
import type {
|
2024-08-16 12:02:12 +00:00
|
|
|
AbuseReportNotificationRecipient,
|
|
|
|
Ad,
|
2024-07-25 07:40:14 +00:00
|
|
|
Announcement,
|
2024-08-16 12:02:12 +00:00
|
|
|
EmojiDetailed,
|
2024-08-17 09:15:46 +00:00
|
|
|
Flash,
|
|
|
|
GalleryPost,
|
2024-08-16 12:02:12 +00:00
|
|
|
InviteCode,
|
2024-07-25 07:40:14 +00:00
|
|
|
MetaDetailed,
|
|
|
|
Note,
|
2024-08-17 09:15:46 +00:00
|
|
|
Page,
|
2024-08-16 12:02:12 +00:00
|
|
|
Role,
|
|
|
|
ReversiGameDetailed,
|
|
|
|
SystemWebhook,
|
|
|
|
UserLite,
|
2024-07-25 07:40:14 +00:00
|
|
|
} from './autogen/models.js';
|
|
|
|
|
2024-02-20 15:10:41 +00:00
|
|
|
export const notificationTypes = ['note', 'follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote', 'pollEnded', 'receiveFollowRequest', 'followRequestAccepted', 'groupInvited', 'app', 'roleAssigned', 'achievementEarned', 'edited'] as const;
|
2023-03-30 00:33:19 +00:00
|
|
|
|
|
|
|
export const noteVisibilities = ['public', 'home', 'followers', 'specified'] as const;
|
|
|
|
|
|
|
|
export const mutedNoteReasons = ['word', 'manual', 'spam', 'other'] as const;
|
|
|
|
|
2023-12-18 11:59:20 +00:00
|
|
|
export const followingVisibilities = ['public', 'followers', 'private'] as const;
|
|
|
|
|
|
|
|
export const followersVisibilities = ['public', 'followers', 'private'] as const;
|
2023-03-30 00:33:19 +00:00
|
|
|
|
|
|
|
export const permissions = [
|
|
|
|
'read:account',
|
|
|
|
'write:account',
|
|
|
|
'read:blocks',
|
|
|
|
'write:blocks',
|
|
|
|
'read:drive',
|
|
|
|
'write:drive',
|
|
|
|
'read:favorites',
|
|
|
|
'write:favorites',
|
|
|
|
'read:following',
|
|
|
|
'write:following',
|
|
|
|
'read:messaging',
|
|
|
|
'write:messaging',
|
|
|
|
'read:mutes',
|
|
|
|
'write:mutes',
|
|
|
|
'write:notes',
|
|
|
|
'read:notifications',
|
|
|
|
'write:notifications',
|
|
|
|
'read:reactions',
|
|
|
|
'write:reactions',
|
|
|
|
'write:votes',
|
|
|
|
'read:pages',
|
|
|
|
'write:pages',
|
|
|
|
'write:page-likes',
|
|
|
|
'read:page-likes',
|
|
|
|
'read:user-groups',
|
|
|
|
'write:user-groups',
|
|
|
|
'read:channels',
|
|
|
|
'write:channels',
|
|
|
|
'read:gallery',
|
|
|
|
'write:gallery',
|
|
|
|
'read:gallery-likes',
|
|
|
|
'write:gallery-likes',
|
2023-08-21 04:01:08 +00:00
|
|
|
'read:flash',
|
|
|
|
'write:flash',
|
|
|
|
'read:flash-likes',
|
|
|
|
'write:flash-likes',
|
2023-12-27 06:08:59 +00:00
|
|
|
'read:admin:abuse-user-reports',
|
|
|
|
'write:admin:delete-account',
|
|
|
|
'write:admin:delete-all-files-of-a-user',
|
|
|
|
'read:admin:index-stats',
|
|
|
|
'read:admin:table-stats',
|
|
|
|
'read:admin:user-ips',
|
|
|
|
'read:admin:meta',
|
|
|
|
'write:admin:reset-password',
|
|
|
|
'write:admin:resolve-abuse-user-report',
|
|
|
|
'write:admin:send-email',
|
|
|
|
'read:admin:server-info',
|
|
|
|
'read:admin:show-moderation-log',
|
|
|
|
'read:admin:show-user',
|
|
|
|
'write:admin:suspend-user',
|
2023-12-28 11:52:12 +00:00
|
|
|
'write:admin:approve-user',
|
2024-10-17 18:11:10 +00:00
|
|
|
'write:admin:decline-user',
|
2023-12-28 11:52:12 +00:00
|
|
|
'write:admin:nsfw-user',
|
|
|
|
'write:admin:unnsfw-user',
|
|
|
|
'write:admin:silence-user',
|
|
|
|
'write:admin:unsilence-user',
|
2023-12-27 06:08:59 +00:00
|
|
|
'write:admin:unset-user-avatar',
|
|
|
|
'write:admin:unset-user-banner',
|
|
|
|
'write:admin:unsuspend-user',
|
|
|
|
'write:admin:meta',
|
|
|
|
'write:admin:user-note',
|
|
|
|
'write:admin:roles',
|
|
|
|
'read:admin:roles',
|
|
|
|
'write:admin:relays',
|
|
|
|
'read:admin:relays',
|
|
|
|
'write:admin:invite-codes',
|
|
|
|
'read:admin:invite-codes',
|
|
|
|
'write:admin:announcements',
|
|
|
|
'read:admin:announcements',
|
|
|
|
'write:admin:avatar-decorations',
|
|
|
|
'read:admin:avatar-decorations',
|
|
|
|
'write:admin:federation',
|
|
|
|
'write:admin:account',
|
|
|
|
'read:admin:account',
|
|
|
|
'write:admin:emoji',
|
|
|
|
'read:admin:emoji',
|
|
|
|
'write:admin:queue',
|
|
|
|
'read:admin:queue',
|
|
|
|
'write:admin:promo',
|
|
|
|
'write:admin:drive',
|
|
|
|
'read:admin:drive',
|
|
|
|
'write:admin:ad',
|
|
|
|
'read:admin:ad',
|
|
|
|
'write:invite-codes',
|
|
|
|
'read:invite-codes',
|
|
|
|
'write:clip-favorite',
|
|
|
|
'read:clip-favorite',
|
|
|
|
'read:federation',
|
|
|
|
'write:report-abuse',
|
|
|
|
] as const;
|
2023-09-23 09:28:16 +00:00
|
|
|
|
|
|
|
export const moderationLogTypes = [
|
|
|
|
'updateServerSettings',
|
|
|
|
'suspend',
|
2023-10-18 00:41:36 +00:00
|
|
|
'approve',
|
2023-09-23 09:28:16 +00:00
|
|
|
'unsuspend',
|
|
|
|
'updateUserNote',
|
|
|
|
'addCustomEmoji',
|
2023-09-24 01:57:24 +00:00
|
|
|
'updateCustomEmoji',
|
|
|
|
'deleteCustomEmoji',
|
2023-09-23 09:28:16 +00:00
|
|
|
'assignRole',
|
|
|
|
'unassignRole',
|
2023-09-25 01:29:12 +00:00
|
|
|
'createRole',
|
2023-09-23 09:28:16 +00:00
|
|
|
'updateRole',
|
|
|
|
'deleteRole',
|
|
|
|
'clearQueue',
|
|
|
|
'promoteQueue',
|
|
|
|
'deleteDriveFile',
|
|
|
|
'deleteNote',
|
|
|
|
'createGlobalAnnouncement',
|
|
|
|
'createUserAnnouncement',
|
2023-09-24 01:46:09 +00:00
|
|
|
'updateGlobalAnnouncement',
|
|
|
|
'updateUserAnnouncement',
|
|
|
|
'deleteGlobalAnnouncement',
|
|
|
|
'deleteUserAnnouncement',
|
2023-09-23 11:50:02 +00:00
|
|
|
'resetPassword',
|
|
|
|
'suspendRemoteInstance',
|
|
|
|
'unsuspendRemoteInstance',
|
2024-02-22 11:59:52 +00:00
|
|
|
'updateRemoteInstanceNote',
|
2023-09-24 06:40:38 +00:00
|
|
|
'markSensitiveDriveFile',
|
|
|
|
'unmarkSensitiveDriveFile',
|
2023-09-25 07:03:43 +00:00
|
|
|
'resolveAbuseReport',
|
2024-10-05 07:20:15 +00:00
|
|
|
'forwardAbuseReport',
|
|
|
|
'updateAbuseReportNote',
|
2023-09-28 01:02:05 +00:00
|
|
|
'createInvitation',
|
2023-09-29 04:26:11 +00:00
|
|
|
'createAd',
|
|
|
|
'updateAd',
|
|
|
|
'deleteAd',
|
2023-10-21 09:38:07 +00:00
|
|
|
'createAvatarDecoration',
|
|
|
|
'updateAvatarDecoration',
|
|
|
|
'deleteAvatarDecoration',
|
2023-11-19 01:18:57 +00:00
|
|
|
'unsetUserAvatar',
|
|
|
|
'unsetUserBanner',
|
2024-07-30 09:37:07 +00:00
|
|
|
'createSystemWebhook',
|
|
|
|
'updateSystemWebhook',
|
|
|
|
'deleteSystemWebhook',
|
|
|
|
'createAbuseReportNotificationRecipient',
|
|
|
|
'updateAbuseReportNotificationRecipient',
|
|
|
|
'deleteAbuseReportNotificationRecipient',
|
2024-08-17 00:57:28 +00:00
|
|
|
'deleteAccount',
|
2024-08-17 06:01:08 +00:00
|
|
|
'deletePage',
|
|
|
|
'deleteFlash',
|
|
|
|
'deleteGalleryPost',
|
2023-09-23 09:28:16 +00:00
|
|
|
] as const;
|
|
|
|
|
2024-07-25 07:40:14 +00:00
|
|
|
// See: packages/backend/src/core/ReversiService.ts@L410
|
|
|
|
export const reversiUpdateKeys = [
|
|
|
|
'map',
|
|
|
|
'bw',
|
|
|
|
'isLlotheo',
|
|
|
|
'canPutEverywhere',
|
|
|
|
'loopedBoard',
|
|
|
|
'timeLimitForEachTurn',
|
2024-08-16 12:02:12 +00:00
|
|
|
] as const satisfies (keyof ReversiGameDetailed)[];
|
2023-09-23 09:28:16 +00:00
|
|
|
|
2024-07-25 07:40:14 +00:00
|
|
|
export type ReversiUpdateKey = typeof reversiUpdateKeys[number];
|
|
|
|
|
|
|
|
type AvatarDecoration = UserLite['avatarDecorations'][number];
|
|
|
|
|
|
|
|
type ReceivedAbuseReport = {
|
|
|
|
reportId: AbuseReportNotificationRecipient['id'];
|
|
|
|
report: operations['admin___abuse-user-reports']['responses'][200]['content']['application/json'];
|
|
|
|
forwarded: boolean;
|
|
|
|
};
|
|
|
|
|
2023-09-23 09:28:16 +00:00
|
|
|
export type ModerationLogPayloads = {
|
|
|
|
updateServerSettings: {
|
2024-07-25 07:40:14 +00:00
|
|
|
before: MetaDetailed | null;
|
|
|
|
after: MetaDetailed | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
suspend: {
|
2023-09-25 01:29:12 +00:00
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
2023-10-18 00:41:36 +00:00
|
|
|
approve: {
|
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
|
|
|
};
|
2024-10-17 18:11:10 +00:00
|
|
|
decline: {
|
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
|
|
|
};
|
2023-09-23 09:28:16 +00:00
|
|
|
unsuspend: {
|
2023-09-25 01:29:12 +00:00
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
updateUserNote: {
|
|
|
|
userId: string;
|
2023-09-25 01:29:12 +00:00
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
before: string | null;
|
|
|
|
after: string | null;
|
|
|
|
};
|
|
|
|
addCustomEmoji: {
|
|
|
|
emojiId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
emoji: EmojiDetailed;
|
2023-09-24 01:57:24 +00:00
|
|
|
};
|
|
|
|
updateCustomEmoji: {
|
|
|
|
emojiId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: EmojiDetailed;
|
|
|
|
after: EmojiDetailed;
|
2023-09-24 01:57:24 +00:00
|
|
|
};
|
|
|
|
deleteCustomEmoji: {
|
|
|
|
emojiId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
emoji: EmojiDetailed;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
assignRole: {
|
|
|
|
userId: string;
|
2023-09-25 01:29:12 +00:00
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
roleId: string;
|
|
|
|
roleName: string;
|
|
|
|
expiresAt: string | null;
|
|
|
|
};
|
|
|
|
unassignRole: {
|
|
|
|
userId: string;
|
2023-09-25 01:29:12 +00:00
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
roleId: string;
|
|
|
|
roleName: string;
|
|
|
|
};
|
2023-09-25 01:29:12 +00:00
|
|
|
createRole: {
|
|
|
|
roleId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
role: Role;
|
2023-09-25 01:29:12 +00:00
|
|
|
};
|
2023-09-23 09:28:16 +00:00
|
|
|
updateRole: {
|
|
|
|
roleId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: Role;
|
|
|
|
after: Role;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
deleteRole: {
|
|
|
|
roleId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
role: Role;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
clearQueue: Record<string, never>;
|
|
|
|
promoteQueue: Record<string, never>;
|
|
|
|
deleteDriveFile: {
|
|
|
|
fileId: string;
|
|
|
|
fileUserId: string | null;
|
2023-09-25 01:29:12 +00:00
|
|
|
fileUserUsername: string | null;
|
|
|
|
fileUserHost: string | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
deleteNote: {
|
|
|
|
noteId: string;
|
|
|
|
noteUserId: string;
|
2023-09-25 01:29:12 +00:00
|
|
|
noteUserUsername: string;
|
|
|
|
noteUserHost: string | null;
|
2024-07-25 07:40:14 +00:00
|
|
|
note: Note;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
createGlobalAnnouncement: {
|
|
|
|
announcementId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
announcement: Announcement;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
|
|
|
createUserAnnouncement: {
|
|
|
|
announcementId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
announcement: Announcement;
|
2023-09-23 09:28:16 +00:00
|
|
|
userId: string;
|
2023-09-25 01:29:12 +00:00
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|
2023-09-24 01:46:09 +00:00
|
|
|
updateGlobalAnnouncement: {
|
|
|
|
announcementId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: Announcement;
|
|
|
|
after: Announcement;
|
2023-09-24 01:46:09 +00:00
|
|
|
};
|
|
|
|
updateUserAnnouncement: {
|
|
|
|
announcementId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: Announcement;
|
|
|
|
after: Announcement;
|
2023-09-25 01:29:12 +00:00
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-24 01:46:09 +00:00
|
|
|
};
|
|
|
|
deleteGlobalAnnouncement: {
|
|
|
|
announcementId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
announcement: Announcement;
|
2023-09-24 01:46:09 +00:00
|
|
|
};
|
|
|
|
deleteUserAnnouncement: {
|
|
|
|
announcementId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
announcement: Announcement;
|
2023-10-04 10:55:35 +00:00
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-24 01:46:09 +00:00
|
|
|
};
|
2023-09-23 11:50:02 +00:00
|
|
|
resetPassword: {
|
2023-09-25 01:29:12 +00:00
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
2023-09-23 11:50:02 +00:00
|
|
|
};
|
|
|
|
suspendRemoteInstance: {
|
|
|
|
id: string;
|
|
|
|
host: string;
|
|
|
|
};
|
|
|
|
unsuspendRemoteInstance: {
|
|
|
|
id: string;
|
|
|
|
host: string;
|
|
|
|
};
|
2024-02-22 11:59:52 +00:00
|
|
|
updateRemoteInstanceNote: {
|
|
|
|
id: string;
|
|
|
|
host: string;
|
|
|
|
before: string | null;
|
|
|
|
after: string | null;
|
|
|
|
};
|
2023-09-24 06:40:38 +00:00
|
|
|
markSensitiveDriveFile: {
|
|
|
|
fileId: string;
|
|
|
|
fileUserId: string | null;
|
2023-09-25 01:29:12 +00:00
|
|
|
fileUserUsername: string | null;
|
|
|
|
fileUserHost: string | null;
|
2023-09-24 06:40:38 +00:00
|
|
|
};
|
|
|
|
unmarkSensitiveDriveFile: {
|
|
|
|
fileId: string;
|
|
|
|
fileUserId: string | null;
|
2023-09-25 01:29:12 +00:00
|
|
|
fileUserUsername: string | null;
|
|
|
|
fileUserHost: string | null;
|
2023-09-24 06:40:38 +00:00
|
|
|
};
|
2023-09-25 07:03:43 +00:00
|
|
|
resolveAbuseReport: {
|
|
|
|
reportId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
report: ReceivedAbuseReport;
|
2024-10-05 07:20:15 +00:00
|
|
|
forwarded?: boolean;
|
|
|
|
resolvedAs?: string | null;
|
|
|
|
};
|
|
|
|
forwardAbuseReport: {
|
|
|
|
reportId: string;
|
|
|
|
report: ReceivedAbuseReport;
|
|
|
|
};
|
|
|
|
updateAbuseReportNote: {
|
|
|
|
reportId: string;
|
|
|
|
report: ReceivedAbuseReport;
|
|
|
|
before: string;
|
|
|
|
after: string;
|
2023-09-25 07:03:43 +00:00
|
|
|
};
|
2023-09-28 01:02:05 +00:00
|
|
|
createInvitation: {
|
2024-07-25 07:40:14 +00:00
|
|
|
invitations: InviteCode[];
|
2023-09-28 01:02:05 +00:00
|
|
|
};
|
2023-09-29 04:26:11 +00:00
|
|
|
createAd: {
|
|
|
|
adId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
ad: Ad;
|
2023-09-29 04:26:11 +00:00
|
|
|
};
|
|
|
|
updateAd: {
|
|
|
|
adId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: Ad;
|
|
|
|
after: Ad;
|
2023-09-29 04:26:11 +00:00
|
|
|
};
|
|
|
|
deleteAd: {
|
|
|
|
adId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
ad: Ad;
|
2023-09-29 04:26:11 +00:00
|
|
|
};
|
2023-10-21 09:38:07 +00:00
|
|
|
createAvatarDecoration: {
|
|
|
|
avatarDecorationId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
avatarDecoration: AvatarDecoration;
|
2023-10-21 09:38:07 +00:00
|
|
|
};
|
|
|
|
updateAvatarDecoration: {
|
|
|
|
avatarDecorationId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: AvatarDecoration;
|
|
|
|
after: AvatarDecoration;
|
2023-10-21 09:38:07 +00:00
|
|
|
};
|
|
|
|
deleteAvatarDecoration: {
|
|
|
|
avatarDecorationId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
avatarDecoration: AvatarDecoration;
|
2023-10-21 09:38:07 +00:00
|
|
|
};
|
2023-11-19 01:18:57 +00:00
|
|
|
unsetUserAvatar: {
|
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
|
|
|
fileId: string;
|
|
|
|
};
|
|
|
|
unsetUserBanner: {
|
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
|
|
|
fileId: string;
|
|
|
|
};
|
2024-06-08 06:34:19 +00:00
|
|
|
createSystemWebhook: {
|
|
|
|
systemWebhookId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
webhook: SystemWebhook;
|
2024-06-08 06:34:19 +00:00
|
|
|
};
|
|
|
|
updateSystemWebhook: {
|
|
|
|
systemWebhookId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: SystemWebhook;
|
|
|
|
after: SystemWebhook;
|
2024-06-08 06:34:19 +00:00
|
|
|
};
|
|
|
|
deleteSystemWebhook: {
|
|
|
|
systemWebhookId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
webhook: SystemWebhook;
|
2024-06-08 06:34:19 +00:00
|
|
|
};
|
|
|
|
createAbuseReportNotificationRecipient: {
|
|
|
|
recipientId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
recipient: AbuseReportNotificationRecipient;
|
2024-06-08 06:34:19 +00:00
|
|
|
};
|
|
|
|
updateAbuseReportNotificationRecipient: {
|
|
|
|
recipientId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
before: AbuseReportNotificationRecipient;
|
|
|
|
after: AbuseReportNotificationRecipient;
|
2024-06-08 06:34:19 +00:00
|
|
|
};
|
|
|
|
deleteAbuseReportNotificationRecipient: {
|
|
|
|
recipientId: string;
|
2024-07-25 07:40:14 +00:00
|
|
|
recipient: AbuseReportNotificationRecipient;
|
2024-06-08 06:34:19 +00:00
|
|
|
};
|
2024-08-17 00:57:28 +00:00
|
|
|
deleteAccount: {
|
|
|
|
userId: string;
|
|
|
|
userUsername: string;
|
|
|
|
userHost: string | null;
|
|
|
|
};
|
2024-08-17 06:01:08 +00:00
|
|
|
deletePage: {
|
|
|
|
pageId: string;
|
|
|
|
pageUserId: string;
|
|
|
|
pageUserUsername: string;
|
2024-08-17 09:15:46 +00:00
|
|
|
page: Page;
|
2024-08-17 06:01:08 +00:00
|
|
|
};
|
|
|
|
deleteFlash: {
|
|
|
|
flashId: string;
|
|
|
|
flashUserId: string;
|
|
|
|
flashUserUsername: string;
|
2024-08-17 09:15:46 +00:00
|
|
|
flash: Flash;
|
2024-08-17 06:01:08 +00:00
|
|
|
};
|
|
|
|
deleteGalleryPost: {
|
|
|
|
postId: string;
|
|
|
|
postUserId: string;
|
|
|
|
postUserUsername: string;
|
2024-08-17 09:15:46 +00:00
|
|
|
post: GalleryPost;
|
2024-08-17 06:01:08 +00:00
|
|
|
};
|
2023-09-23 09:28:16 +00:00
|
|
|
};
|