ui groundwork

This commit is contained in:
DecDuck
2024-10-04 14:43:02 +10:00
parent 22ac7f6b15
commit e52f072091
29 changed files with 618 additions and 27 deletions

View File

@ -1,12 +0,0 @@
export default defineEventHandler(async (h3) => {
const query = getQuery(h3);
const search = query["q"]?.toString();
if (!search) throw createError({
statusCode: 400,
statusMessage: "Missing search param"
});
const results = await h3.context.metadataHandler.search(search);
return results;
});