mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 16:16:55 +00:00
8 lines
225 B
TypeScript
8 lines
225 B
TypeScript
import { trpc } from "$trpc/client";
|
|
import type { PageLoad } from "./$types";
|
|
|
|
export const load: PageLoad = async ({ fetch }) => {
|
|
const files = await trpc(fetch).file.listWithoutThumbnail.query();
|
|
return { files };
|
|
};
|