1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 12:05:48 +02:00

fix(backend): enumerate achievement types in some response schema (#15953)

* fix(backend): enumerate achievement types in some response schema

* refactor: use `ref`
This commit is contained in:
zyoshoka
2025-05-06 19:52:30 +09:00
committed by GitHub
parent 09317150e1
commit 3b676f39df
12 changed files with 138 additions and 121 deletions

View File

@@ -14,15 +14,7 @@ export const meta = {
res: {
type: 'array',
items: {
type: 'object',
properties: {
name: {
type: 'string',
},
unlockedAt: {
type: 'number',
},
},
ref: 'Achievement',
},
},
} as const;