From 3344ac6d1efa9db467accf5124bdabe8263452e7 Mon Sep 17 00:00:00 2001 From: zima Date: Thu, 27 Mar 2025 16:03:02 -0700 Subject: [PATCH] Regenerated MK types --- packages/misskey-js/src/autogen/types.ts | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index 3b014736a0..3d94193439 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -7410,6 +7410,7 @@ export type operations = { isSensitive?: boolean; localOnly?: boolean; roleIdsThatCanBeUsedThisEmojiAsReaction?: string[]; + sortKey?: string | null; }; }; }; @@ -7462,17 +7463,8 @@ export type operations = { requestBody: { content: { 'application/json': { - name: string; - /** Format: misskey:id */ - fileId: string; - /** @description Use `null` to reset the category. */ - category?: string | null; - aliases?: string[]; - license?: string | null; - isSensitive?: boolean; - localOnly?: boolean; - roleIdsThatCanBeUsedThisEmojiAsReaction?: string[]; - sortKey?: string | null; + ids: string[]; + aliases: string[]; }; }; }; @@ -7762,6 +7754,7 @@ export type operations = { /** @description The local host is represented with `null`. The field exists for compatibility with other API endpoints that return files. */ host: string | null; url: string; + sortKey: string | null; })[]; }; }; @@ -7836,7 +7829,6 @@ export type operations = { /** @description The local host is represented with `null`. */ host: string | null; url: string; - sortKey: string | null; })[]; }; };