feat: start of avatars

This commit is contained in:
TrèsAbhi committed 2026-01-12 14:13:21 -06:00
1 parent 455679a981
commit ea412086d4
7 files changed
+72 -15

No files matched your search

@@ -1,6 +1,6 @@
import { api } from "../../../core/api/dynamic";
export async function GET() {
const { avatars } = await api.avatars();
const avatars = await api.avatars();
return Response.json(avatars);
}
@@ -0,0 +1,7 @@
import { api } from "../../../core/api/dynamic";
import { Avatars } from "../../../protos/avatars";
export async function GET() {
const avatars = await api.avatars();
return new Response(Avatars.encode(avatars).finish());
}