summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authortaiy <53635909+taiyme@users.noreply.github.com>2025-08-27 19:11:05 +0900
committerGitHub <noreply@github.com>2025-08-27 19:11:05 +0900
commit653cb116ea22ccd056d55139b10486df3b487c1a (patch)
treed4339878b8d021b0c7a968d5694842ca4a1222f6 /packages
parentfix i/apps schema (diff)
downloadmisskey-653cb116ea22ccd056d55139b10486df3b487c1a.tar.gz
misskey-653cb116ea22ccd056d55139b10486df3b487c1a.tar.bz2
misskey-653cb116ea22ccd056d55139b10486df3b487c1a.zip
fix(build): run build-misskey-js-with-types (#16468)
Diffstat (limited to 'packages')
-rw-r--r--packages/misskey-js/etc/misskey-js.api.md13
-rw-r--r--packages/misskey-js/src/autogen/models.ts2
-rw-r--r--packages/misskey-js/src/autogen/types.ts78
3 files changed, 57 insertions, 36 deletions
diff --git a/packages/misskey-js/etc/misskey-js.api.md b/packages/misskey-js/etc/misskey-js.api.md
index 170c20f163..ecce5bd8e6 100644
--- a/packages/misskey-js/etc/misskey-js.api.md
+++ b/packages/misskey-js/etc/misskey-js.api.md
@@ -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'];
@@ -3010,6 +3015,9 @@ type NoteFavorite = components['schemas']['NoteFavorite'];
type NoteReaction = components['schemas']['NoteReaction'];
// @public (undocumented)
+type NoteReactionWithNote = components['schemas']['NoteReactionWithNote'];
+
+// @public (undocumented)
type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json'];
// @public (undocumented)
@@ -3807,6 +3815,9 @@ type UsersShowResponse = operations['users___show']['responses']['200']['content
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'];
// @public (undocumented)
diff --git a/packages/misskey-js/src/autogen/models.ts b/packages/misskey-js/src/autogen/models.ts
index c3c54b3bbb..01b48442d6 100644
--- a/packages/misskey-js/src/autogen/models.ts
+++ b/packages/misskey-js/src/autogen/models.ts
@@ -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'];
diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts
index 3525d082d5..be24e3ec5f 100644
--- a/packages/misskey-js/src/autogen/types.ts
+++ b/packages/misskey-js/src/autogen/types.ts
@@ -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,15 +4454,21 @@ 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: {
/**
@@ -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 */