From c0f4c47c53144d2e7de75c8f77faa178bd6a7a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sat, 8 Nov 2025 18:45:54 +0900 Subject: [PATCH] =?UTF-8?q?fix(misskey-js):=20misskey-js=20autogen=20?= =?UTF-8?q?=E3=81=8C=E5=8B=95=E4=BD=9C=E3=81=97=E3=81=AA=E3=81=84=E5=95=8F?= =?UTF-8?q?=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3=20(#16773)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(misskey-js): misskey-js autogen が動作しない問題を修正 * rollback eslint-plugin to eliminate unwanted side-effects --- package.json | 1 + packages/misskey-js/src/autogen/types.ts | 6 ++++-- pnpm-lock.yaml | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bc632a4921..9d61f7f6d0 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "typescript": "5.9.3" }, "devDependencies": { + "@eslint/js": "9.39.0", "@misskey-dev/eslint-plugin": "2.1.0", "@types/js-yaml": "4.0.9", "@types/node": "24.9.2", diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index c7c364e66b..2650869590 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -36640,9 +36640,11 @@ export interface operations { /** @default 10 */ limit?: number; page?: number; - /** @default [ + /** + * @default [ * "-id" - * ] */ + * ] + */ sortKeys?: ('+id' | '-id' | '+updatedAt' | '-updatedAt' | '+name' | '-name' | '+host' | '-host' | '+uri' | '-uri' | '+publicUrl' | '-publicUrl' | '+type' | '-type' | '+aliases' | '-aliases' | '+category' | '-category' | '+license' | '-license' | '+isSensitive' | '-isSensitive' | '+localOnly' | '-localOnly' | '+roleIdsThatCanBeUsedThisEmojiAsReaction' | '-roleIdsThatCanBeUsedThisEmojiAsReaction')[]; }; }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e517d78cc..d611bab7b2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -47,6 +47,9 @@ importers: specifier: 5.9.3 version: 5.9.3 devDependencies: + '@eslint/js': + specifier: 9.39.0 + version: 9.39.0 '@misskey-dev/eslint-plugin': specifier: 2.1.0 version: 2.1.0(@eslint/compat@1.1.1)(@stylistic/eslint-plugin@2.13.0(eslint@9.39.0)(typescript@5.9.3))(@typescript-eslint/eslint-plugin@8.46.2(@typescript-eslint/parser@8.46.2(eslint@9.39.0)(typescript@5.9.3))(eslint@9.39.0)(typescript@5.9.3))(@typescript-eslint/parser@8.46.2(eslint@9.39.0)(typescript@5.9.3))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.46.2(eslint@9.39.0)(typescript@5.9.3))(eslint@9.39.0))(eslint@9.39.0)(globals@16.5.0)