fix(build): run build-misskey-js-with-types (#16468)

This commit is contained in:
taiy 2025-08-27 19:11:05 +09:00 committed by GitHub
parent c9f363b215
commit 653cb116ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 57 additions and 36 deletions

View File

@ -2151,6 +2151,7 @@ declare namespace entities {
Note, Note,
NoteDraft, NoteDraft,
NoteReaction, NoteReaction,
NoteReactionWithNote,
NoteFavorite, NoteFavorite,
Notification_2 as Notification, Notification_2 as Notification,
DriveFile, DriveFile,
@ -2192,6 +2193,7 @@ declare namespace entities {
MetaLite, MetaLite,
MetaDetailedOnly, MetaDetailedOnly,
MetaDetailed, MetaDetailed,
UserWebhook,
SystemWebhook, SystemWebhook,
AbuseReportNotificationRecipient, AbuseReportNotificationRecipient,
ChatMessage, ChatMessage,
@ -2961,10 +2963,13 @@ type ModerationLog = {
} | { } | {
type: 'deleteChatRoom'; type: 'deleteChatRoom';
info: ModerationLogPayloads['deleteChatRoom']; info: ModerationLogPayloads['deleteChatRoom'];
} | {
type: 'updateProxyAccountDescription';
info: ModerationLogPayloads['updateProxyAccountDescription'];
}); });
// @public (undocumented) // @public (undocumented)
export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "unsuspend", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "suspendRemoteInstance", "unsuspendRemoteInstance", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "forwardAbuseReport", "updateAbuseReportNote", "createInvitation", "createAd", "updateAd", "deleteAd", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "createSystemWebhook", "updateSystemWebhook", "deleteSystemWebhook", "createAbuseReportNotificationRecipient", "updateAbuseReportNotificationRecipient", "deleteAbuseReportNotificationRecipient", "deleteAccount", "deletePage", "deleteFlash", "deleteGalleryPost", "deleteChatRoom"]; export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "unsuspend", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "suspendRemoteInstance", "unsuspendRemoteInstance", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "forwardAbuseReport", "updateAbuseReportNote", "createInvitation", "createAd", "updateAd", "deleteAd", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "createSystemWebhook", "updateSystemWebhook", "deleteSystemWebhook", "createAbuseReportNotificationRecipient", "updateAbuseReportNotificationRecipient", "deleteAbuseReportNotificationRecipient", "deleteAccount", "deletePage", "deleteFlash", "deleteGalleryPost", "deleteChatRoom", "updateProxyAccountDescription"];
// @public (undocumented) // @public (undocumented)
type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json']; type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json'];
@ -3009,6 +3014,9 @@ type NoteFavorite = components['schemas']['NoteFavorite'];
// @public (undocumented) // @public (undocumented)
type NoteReaction = components['schemas']['NoteReaction']; type NoteReaction = components['schemas']['NoteReaction'];
// @public (undocumented)
type NoteReactionWithNote = components['schemas']['NoteReactionWithNote'];
// @public (undocumented) // @public (undocumented)
type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json']; type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json'];
@ -3806,6 +3814,9 @@ type UsersShowResponse = operations['users___show']['responses']['200']['content
// @public (undocumented) // @public (undocumented)
type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['content']['application/json']; type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['content']['application/json'];
// @public (undocumented)
type UserWebhook = components['schemas']['UserWebhook'];
// @public (undocumented) // @public (undocumented)
type V2AdminEmojiListRequest = operations['v2___admin___emoji___list']['requestBody']['content']['application/json']; type V2AdminEmojiListRequest = operations['v2___admin___emoji___list']['requestBody']['content']['application/json'];

View File

@ -16,6 +16,7 @@ export type App = components['schemas']['App'];
export type Note = components['schemas']['Note']; export type Note = components['schemas']['Note'];
export type NoteDraft = components['schemas']['NoteDraft']; export type NoteDraft = components['schemas']['NoteDraft'];
export type NoteReaction = components['schemas']['NoteReaction']; export type NoteReaction = components['schemas']['NoteReaction'];
export type NoteReactionWithNote = components['schemas']['NoteReactionWithNote'];
export type NoteFavorite = components['schemas']['NoteFavorite']; export type NoteFavorite = components['schemas']['NoteFavorite'];
export type Notification = components['schemas']['Notification']; export type Notification = components['schemas']['Notification'];
export type DriveFile = components['schemas']['DriveFile']; export type DriveFile = components['schemas']['DriveFile'];
@ -57,6 +58,7 @@ export type ReversiGameDetailed = components['schemas']['ReversiGameDetailed'];
export type MetaLite = components['schemas']['MetaLite']; export type MetaLite = components['schemas']['MetaLite'];
export type MetaDetailedOnly = components['schemas']['MetaDetailedOnly']; export type MetaDetailedOnly = components['schemas']['MetaDetailedOnly'];
export type MetaDetailed = components['schemas']['MetaDetailed']; export type MetaDetailed = components['schemas']['MetaDetailed'];
export type UserWebhook = components['schemas']['UserWebhook'];
export type SystemWebhook = components['schemas']['SystemWebhook']; export type SystemWebhook = components['schemas']['SystemWebhook'];
export type AbuseReportNotificationRecipient = components['schemas']['AbuseReportNotificationRecipient']; export type AbuseReportNotificationRecipient = components['schemas']['AbuseReportNotificationRecipient'];
export type ChatMessage = components['schemas']['ChatMessage']; export type ChatMessage = components['schemas']['ChatMessage'];

View File

@ -3949,7 +3949,7 @@ export type components = {
*/ */
host: string | null; host: string | null;
/** Format: url */ /** Format: url */
avatarUrl: string | null; avatarUrl: string;
avatarBlurhash: string | null; avatarBlurhash: string | null;
avatarDecorations: { avatarDecorations: {
/** Format: id */ /** Format: id */
@ -4085,7 +4085,7 @@ export type components = {
unreadNotificationsCount: number; unreadNotificationsCount: number;
mutedWords: string[][]; mutedWords: string[][];
hardMutedWords: string[][]; hardMutedWords: string[][];
mutedInstances: string[] | null; mutedInstances: string[];
notificationRecieveConfig: { notificationRecieveConfig: {
note?: { note?: {
/** @enum {string} */ /** @enum {string} */
@ -4454,16 +4454,22 @@ export type components = {
reactionAcceptance: 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null; reactionAcceptance: 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null;
}; };
NoteReaction: { NoteReaction: {
/** /** Format: id */
* Format: id
* @example xxxxxxxxxx
*/
id: string; id: string;
/** Format: date-time */ /** Format: date-time */
createdAt: string; createdAt: string;
user: components['schemas']['UserLite']; user: components['schemas']['UserLite'];
type: string; type: string;
}; };
NoteReactionWithNote: {
/** Format: id */
id: string;
/** Format: date-time */
createdAt: string;
user: components['schemas']['UserLite'];
type: string;
note: components['schemas']['Note'];
};
NoteFavorite: { NoteFavorite: {
/** /**
* Format: id * Format: id
@ -5437,6 +5443,20 @@ export type components = {
cacheRemoteSensitiveFiles: boolean; cacheRemoteSensitiveFiles: boolean;
}; };
MetaDetailed: components['schemas']['MetaLite'] & components['schemas']['MetaDetailedOnly']; MetaDetailed: components['schemas']['MetaLite'] & components['schemas']['MetaDetailedOnly'];
UserWebhook: {
/** Format: id */
id: string;
/** Format: id */
userId: string;
name: string;
on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
url: string;
secret: string;
active: boolean;
/** Format: date-time */
latestSentAt: string | null;
latestStatus: number | null;
};
SystemWebhook: { SystemWebhook: {
id: string; id: string;
isActive: boolean; isActive: boolean;
@ -6694,6 +6714,13 @@ export interface operations {
updatedAt: string | null; updatedAt: string | null;
text: string; text: string;
title: string; title: string;
icon: string | null;
display: string;
isActive: boolean;
forExistingUsers: boolean;
silence: boolean;
needConfirmationToRead: boolean;
userId: string | null;
imageUrl: string | null; imageUrl: string | null;
reads: number; reads: number;
}[]; }[];
@ -7655,6 +7682,10 @@ export interface operations {
folderId: string | null; folderId: string | null;
isSensitive: boolean; isSensitive: boolean;
isLink: boolean; isLink: boolean;
maybeSensitive: boolean;
maybePorn: boolean;
requestIp: string | null;
requestHeaders: Record<string, never> | null;
}; };
}; };
}; };
@ -9362,6 +9393,7 @@ export interface operations {
privacyPolicyUrl: string | null; privacyPolicyUrl: string | null;
inquiryUrl: string | null; inquiryUrl: string | null;
repositoryUrl: string | null; repositoryUrl: string | null;
feedbackUrl: string | null;
/** /**
* @deprecated * @deprecated
* @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead. * @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead.
@ -24401,6 +24433,8 @@ export interface operations {
/** Format: date-time */ /** Format: date-time */
lastUsedAt?: string; lastUsedAt?: string;
permission: string[]; permission: string[];
iconUrl?: string | null;
description?: string | null;
}[]; }[];
}; };
}; };
@ -27636,20 +27670,7 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { content: {
'application/json': { 'application/json': components['schemas']['UserWebhook'][];
/** Format: misskey:id */
id: string;
/** Format: misskey:id */
userId: string;
name: string;
on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
url: string;
secret: string;
active: boolean;
/** Format: date-time */
latestSentAt: string | null;
latestStatus: number | null;
}[];
}; };
}; };
/** @description Client error */ /** @description Client error */
@ -27715,20 +27736,7 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { content: {
'application/json': { 'application/json': components['schemas']['UserWebhook'];
/** Format: misskey:id */
id: string;
/** Format: misskey:id */
userId: string;
name: string;
on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
url: string;
secret: string;
active: boolean;
/** Format: date-time */
latestSentAt: string | null;
latestStatus: number | null;
};
}; };
}; };
/** @description Client error */ /** @description Client error */
@ -35752,7 +35760,7 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { content: {
'application/json': components['schemas']['NoteReaction'][]; 'application/json': components['schemas']['NoteReactionWithNote'][];
}; };
}; };
/** @description Client error */ /** @description Client error */