beeeeg update
Some checks failed
Test and deploy staging / staging (push) Has been cancelled

This commit is contained in:
2026-09-23 04:15:10 +00:00
parent 487eff5bb2
commit d0c7b6548b
135 changed files with 9531 additions and 1777 deletions

View File

@@ -0,0 +1,16 @@
import { z } from 'zod';
const profileSchema = z.object({
id: z.number().int().positive(),
username: z.string().min(1),
avatar_url: z.string().url()
});
export function osuProfile(value: unknown) {
const profile = profileSchema.parse(value);
return {
id: String(profile.id),
name: profile.username,
image: profile.avatar_url,
email: `${profile.id}@osu.invalid`,
emailVerified: false
};
}