chore: pnpm up

This commit is contained in:
Max Richter
2025-07-20 14:15:44 +02:00
parent 666b618a73
commit f84704d20b
10 changed files with 979 additions and 935 deletions

10
src/helpers/memorium.ts Normal file
View File

@@ -0,0 +1,10 @@
export async function listResource(id: string): Promise<any[]> {
try {
const response = await fetch(
`http://localhost:8080/resources?name=${id}`,
);
return await response.json();
} catch (error) {
return []
}
}