mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-26 01:09:02 -05:00
9 lines
265 B
TypeScript
9 lines
265 B
TypeScript
import type { SerializeFrom } from "~/utils/remix";
|
|
import * as BadgeRepository from "../BadgeRepository.server";
|
|
|
|
export type BadgesLoaderData = SerializeFrom<typeof loader>;
|
|
|
|
export const loader = async () => {
|
|
return { badges: await BadgeRepository.all() };
|
|
};
|