diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2026-01-09 12:21:08 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-09 12:21:08 +0900 |
| commit | 2a14025c29081bd8080b4dec0823a7625a791950 (patch) | |
| tree | e02f7fe6363457996efba020ec964bb6e4f041ed /packages/backend/src/server/api/endpoints | |
| parent | Bump version to 2026.1.0-alpha.3 (diff) | |
| download | misskey-2a14025c29081bd8080b4dec0823a7625a791950.tar.gz misskey-2a14025c29081bd8080b4dec0823a7625a791950.tar.bz2 misskey-2a14025c29081bd8080b4dec0823a7625a791950.zip | |
fix(frontend): popupのemit型が正しく利用できるように修正 (#16826)
* fix(frontend): popupのemit型が正しく利用できるように修正
* fix: revert unnecessary code (for testing purpose)
* fix lint
* fix type errors
* fix types
* add comment
* fix
* fix
* fix: OverloadToUnionの仕組みを変更
* add comments, clean up
* fix lint
* fix types
* clean up [ci skip]
* fix
* add comments [ci skip]
Diffstat (limited to 'packages/backend/src/server/api/endpoints')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/admin/emoji/list.ts | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/list.ts b/packages/backend/src/server/api/endpoints/admin/emoji/list.ts index 34d200455e..658367409c 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/list.ts @@ -24,39 +24,7 @@ export const meta = { optional: false, nullable: false, items: { type: 'object', - optional: false, nullable: false, - properties: { - id: { - type: 'string', - optional: false, nullable: false, - format: 'id', - }, - aliases: { - type: 'array', - optional: false, nullable: false, - items: { - type: 'string', - optional: false, nullable: false, - }, - }, - name: { - type: 'string', - optional: false, nullable: false, - }, - category: { - type: 'string', - optional: false, nullable: true, - }, - host: { - type: 'string', - optional: false, nullable: true, - description: 'The local host is represented with `null`. The field exists for compatibility with other API endpoints that return files.', - }, - url: { - type: 'string', - optional: false, nullable: false, - }, - }, + ref: 'EmojiDetailed', }, }, } as const; |