diff options
| author | taiy <53635909+taiyme@users.noreply.github.com> | 2025-08-27 19:11:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-27 19:11:05 +0900 |
| commit | 653cb116ea22ccd056d55139b10486df3b487c1a (patch) | |
| tree | d4339878b8d021b0c7a968d5694842ca4a1222f6 /packages/misskey-js/src/autogen | |
| parent | fix i/apps schema (diff) | |
| download | misskey-653cb116ea22ccd056d55139b10486df3b487c1a.tar.gz misskey-653cb116ea22ccd056d55139b10486df3b487c1a.tar.bz2 misskey-653cb116ea22ccd056d55139b10486df3b487c1a.zip | |
fix(build): run build-misskey-js-with-types (#16468)
Diffstat (limited to 'packages/misskey-js/src/autogen')
| -rw-r--r-- | packages/misskey-js/src/autogen/models.ts | 2 | ||||
| -rw-r--r-- | packages/misskey-js/src/autogen/types.ts | 78 |
2 files changed, 45 insertions, 35 deletions
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 */ |