From 2b75b575ace6ba3bf76f6333b9da5bf783138fb3 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sat, 8 Nov 2025 11:56:42 +0900 Subject: [PATCH] build misskey-js with types --- packages/misskey-js/src/autogen/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index c7c364e66b..67af14023b 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -4824,6 +4824,8 @@ export type components = { createdAt: string; /** Format: date-time */ expiresAt: string | null; + /** @enum {string} */ + mutingType: 'all' | 'timelineOnly'; /** Format: id */ muteeId: string; mutee: components['schemas']['UserDetailedNotMe']; @@ -28619,6 +28621,12 @@ export interface operations { userId: string; /** @description A Unix Epoch timestamp that must lie in the future. `null` means an indefinite mute. */ expiresAt?: number | null; + /** + * @description Type of muting. `all` mutes everything including notifications. `timelineOnly` mutes only timeline and search, but allows notifications. + * @default all + * @enum {string} + */ + mutingType?: 'all' | 'timelineOnly'; }; }; };