initial commit

This commit is contained in:
2026-09-23 11:44:36 +02:00
commit ab3bbb6338
42 changed files with 9595 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
export default defineEventHandler(async (event) => {
const input = await readValidBody(event, newNoteSchema)
const row = await createRow<NoteRow>(event, 'notes', {
Datum: input.date,
Notes: input.text
})
return toNote(row)
})