fix(build): run build-misskey-js-with-types (#16468)
This commit is contained in:
parent
c9f363b215
commit
653cb116ea
|
@ -2151,6 +2151,7 @@ declare namespace entities {
|
|||
Note,
|
||||
NoteDraft,
|
||||
NoteReaction,
|
||||
NoteReactionWithNote,
|
||||
NoteFavorite,
|
||||
Notification_2 as Notification,
|
||||
DriveFile,
|
||||
|
@ -2192,6 +2193,7 @@ declare namespace entities {
|
|||
MetaLite,
|
||||
MetaDetailedOnly,
|
||||
MetaDetailed,
|
||||
UserWebhook,
|
||||
SystemWebhook,
|
||||
AbuseReportNotificationRecipient,
|
||||
ChatMessage,
|
||||
|
@ -2961,10 +2963,13 @@ type ModerationLog = {
|
|||
} | {
|
||||
type: 'deleteChatRoom';
|
||||
info: ModerationLogPayloads['deleteChatRoom'];
|
||||
} | {
|
||||
type: 'updateProxyAccountDescription';
|
||||
info: ModerationLogPayloads['updateProxyAccountDescription'];
|
||||
});
|
||||
|
||||
// @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)
|
||||
type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json'];
|
||||
|
@ -3009,6 +3014,9 @@ type NoteFavorite = components['schemas']['NoteFavorite'];
|
|||
// @public (undocumented)
|
||||
type NoteReaction = components['schemas']['NoteReaction'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NoteReactionWithNote = components['schemas']['NoteReactionWithNote'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -3806,6 +3814,9 @@ type UsersShowResponse = operations['users___show']['responses']['200']['content
|
|||
// @public (undocumented)
|
||||
type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type UserWebhook = components['schemas']['UserWebhook'];
|
||||
|
||||
// @public (undocumented)
|
||||
type V2AdminEmojiListRequest = operations['v2___admin___emoji___list']['requestBody']['content']['application/json'];
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ export type App = components['schemas']['App'];
|
|||
export type Note = components['schemas']['Note'];
|
||||
export type NoteDraft = components['schemas']['NoteDraft'];
|
||||
export type NoteReaction = components['schemas']['NoteReaction'];
|
||||
export type NoteReactionWithNote = components['schemas']['NoteReactionWithNote'];
|
||||
export type NoteFavorite = components['schemas']['NoteFavorite'];
|
||||
export type Notification = components['schemas']['Notification'];
|
||||
export type DriveFile = components['schemas']['DriveFile'];
|
||||
|
@ -57,6 +58,7 @@ export type ReversiGameDetailed = components['schemas']['ReversiGameDetailed'];
|
|||
export type MetaLite = components['schemas']['MetaLite'];
|
||||
export type MetaDetailedOnly = components['schemas']['MetaDetailedOnly'];
|
||||
export type MetaDetailed = components['schemas']['MetaDetailed'];
|
||||
export type UserWebhook = components['schemas']['UserWebhook'];
|
||||
export type SystemWebhook = components['schemas']['SystemWebhook'];
|
||||
export type AbuseReportNotificationRecipient = components['schemas']['AbuseReportNotificationRecipient'];
|
||||
export type ChatMessage = components['schemas']['ChatMessage'];
|
||||
|
|
|
@ -3949,7 +3949,7 @@ export type components = {
|
|||
*/
|
||||
host: string | null;
|
||||
/** Format: url */
|
||||
avatarUrl: string | null;
|
||||
avatarUrl: string;
|
||||
avatarBlurhash: string | null;
|
||||
avatarDecorations: {
|
||||
/** Format: id */
|
||||
|
@ -4085,7 +4085,7 @@ export type components = {
|
|||
unreadNotificationsCount: number;
|
||||
mutedWords: string[][];
|
||||
hardMutedWords: string[][];
|
||||
mutedInstances: string[] | null;
|
||||
mutedInstances: string[];
|
||||
notificationRecieveConfig: {
|
||||
note?: {
|
||||
/** @enum {string} */
|
||||
|
@ -4454,16 +4454,22 @@ export type components = {
|
|||
reactionAcceptance: 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null;
|
||||
};
|
||||
NoteReaction: {
|
||||
/**
|
||||
* Format: id
|
||||
* @example xxxxxxxxxx
|
||||
*/
|
||||
/** Format: id */
|
||||
id: string;
|
||||
/** Format: date-time */
|
||||
createdAt: string;
|
||||
user: components['schemas']['UserLite'];
|
||||
type: string;
|
||||
};
|
||||
NoteReactionWithNote: {
|
||||
/** Format: id */
|
||||
id: string;
|
||||
/** Format: date-time */
|
||||
createdAt: string;
|
||||
user: components['schemas']['UserLite'];
|
||||
type: string;
|
||||
note: components['schemas']['Note'];
|
||||
};
|
||||
NoteFavorite: {
|
||||
/**
|
||||
* Format: id
|
||||
|
@ -5437,6 +5443,20 @@ export type components = {
|
|||
cacheRemoteSensitiveFiles: boolean;
|
||||
};
|
||||
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: {
|
||||
id: string;
|
||||
isActive: boolean;
|
||||
|
@ -6694,6 +6714,13 @@ export interface operations {
|
|||
updatedAt: string | null;
|
||||
text: string;
|
||||
title: string;
|
||||
icon: string | null;
|
||||
display: string;
|
||||
isActive: boolean;
|
||||
forExistingUsers: boolean;
|
||||
silence: boolean;
|
||||
needConfirmationToRead: boolean;
|
||||
userId: string | null;
|
||||
imageUrl: string | null;
|
||||
reads: number;
|
||||
}[];
|
||||
|
@ -7655,6 +7682,10 @@ export interface operations {
|
|||
folderId: string | null;
|
||||
isSensitive: 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;
|
||||
inquiryUrl: string | null;
|
||||
repositoryUrl: string | null;
|
||||
feedbackUrl: string | null;
|
||||
/**
|
||||
* @deprecated
|
||||
* @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead.
|
||||
|
@ -24401,6 +24433,8 @@ export interface operations {
|
|||
/** Format: date-time */
|
||||
lastUsedAt?: string;
|
||||
permission: string[];
|
||||
iconUrl?: string | null;
|
||||
description?: string | null;
|
||||
}[];
|
||||
};
|
||||
};
|
||||
|
@ -27636,20 +27670,7 @@ export interface operations {
|
|||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': {
|
||||
/** 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;
|
||||
}[];
|
||||
'application/json': components['schemas']['UserWebhook'][];
|
||||
};
|
||||
};
|
||||
/** @description Client error */
|
||||
|
@ -27715,20 +27736,7 @@ export interface operations {
|
|||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': {
|
||||
/** 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;
|
||||
};
|
||||
'application/json': components['schemas']['UserWebhook'];
|
||||
};
|
||||
};
|
||||
/** @description Client error */
|
||||
|
@ -35752,7 +35760,7 @@ export interface operations {
|
|||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': components['schemas']['NoteReaction'][];
|
||||
'application/json': components['schemas']['NoteReactionWithNote'][];
|
||||
};
|
||||
};
|
||||
/** @description Client error */
|
||||
|
|
Loading…
Reference in New Issue