型の漏れを修正
This commit is contained in:
parent
439337a108
commit
e72da587e4
|
@ -167,6 +167,7 @@ export const moderationLogTypes = [
|
|||
'deleteFlash',
|
||||
'deleteGalleryPost',
|
||||
'deleteChatRoom',
|
||||
'updateProxyAccountDescription',
|
||||
] as const;
|
||||
|
||||
export const queueTypes = [
|
||||
|
@ -193,7 +194,15 @@ export const reversiUpdateKeys = [
|
|||
|
||||
export type ReversiUpdateKey = typeof reversiUpdateKeys[number];
|
||||
|
||||
type AvatarDecoration = UserLite['avatarDecorations'][number];
|
||||
type AvatarDecoration = {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
angle?: number;
|
||||
flipH?: boolean;
|
||||
offsetX?: number;
|
||||
offsetY?: number;
|
||||
};
|
||||
|
||||
type ReceivedAbuseReport = {
|
||||
reportId: AbuseReportNotificationRecipient['id'];
|
||||
|
@ -455,4 +464,8 @@ export type ModerationLogPayloads = {
|
|||
roomId: string;
|
||||
room: ChatRoom;
|
||||
};
|
||||
updateProxyAccountDescription: {
|
||||
before: string | null;
|
||||
after: string | null;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -203,6 +203,9 @@ export type ModerationLog = {
|
|||
} | {
|
||||
type: 'deleteChatRoom';
|
||||
info: ModerationLogPayloads['deleteChatRoom'];
|
||||
} | {
|
||||
type: 'updateProxyAccountDescription';
|
||||
info: ModerationLogPayloads['updateProxyAccountDescription'];
|
||||
});
|
||||
|
||||
export type ServerStats = {
|
||||
|
|
Loading…
Reference in New Issue