mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-23 05:14:13 +02:00
型の漏れを修正
This commit is contained in:
@@ -167,6 +167,7 @@ export const moderationLogTypes = [
|
|||||||
'deleteFlash',
|
'deleteFlash',
|
||||||
'deleteGalleryPost',
|
'deleteGalleryPost',
|
||||||
'deleteChatRoom',
|
'deleteChatRoom',
|
||||||
|
'updateProxyAccountDescription',
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export const queueTypes = [
|
export const queueTypes = [
|
||||||
@@ -193,7 +194,15 @@ export const reversiUpdateKeys = [
|
|||||||
|
|
||||||
export type ReversiUpdateKey = typeof reversiUpdateKeys[number];
|
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 = {
|
type ReceivedAbuseReport = {
|
||||||
reportId: AbuseReportNotificationRecipient['id'];
|
reportId: AbuseReportNotificationRecipient['id'];
|
||||||
@@ -455,4 +464,8 @@ export type ModerationLogPayloads = {
|
|||||||
roomId: string;
|
roomId: string;
|
||||||
room: ChatRoom;
|
room: ChatRoom;
|
||||||
};
|
};
|
||||||
|
updateProxyAccountDescription: {
|
||||||
|
before: string | null;
|
||||||
|
after: string | null;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -203,6 +203,9 @@ export type ModerationLog = {
|
|||||||
} | {
|
} | {
|
||||||
type: 'deleteChatRoom';
|
type: 'deleteChatRoom';
|
||||||
info: ModerationLogPayloads['deleteChatRoom'];
|
info: ModerationLogPayloads['deleteChatRoom'];
|
||||||
|
} | {
|
||||||
|
type: 'updateProxyAccountDescription';
|
||||||
|
info: ModerationLogPayloads['updateProxyAccountDescription'];
|
||||||
});
|
});
|
||||||
|
|
||||||
export type ServerStats = {
|
export type ServerStats = {
|
||||||
|
|||||||
Reference in New Issue
Block a user