1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 01:36:03 +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

@@ -232,7 +232,7 @@ describe('UserEntityService', () => {
});
test('MeDetailed', async() => {
const achievements = [{ name: 'achievement', unlockedAt: new Date().getTime() }];
const achievements = [{ name: 'iLoveMisskey' as const, unlockedAt: new Date().getTime() }];
const me = await createUser({}, {
birthday: '2000-01-01',
achievements: achievements,