feat: add notes app

This commit is contained in:
2026-10-01 19:39:20 +02:00
parent ccb8dd3d15
commit ddbb6f37b5
35 changed files with 706 additions and 52 deletions
+12
View File
@@ -0,0 +1,12 @@
export interface NotesDocSummary {
id: number
title: string
/** ISO timestamps, set by the server; null for rows added in Baserow directly */
created: string | null
updated: string | null
}
export interface NotesDoc extends NotesDocSummary {
/** Markdown */
content: string
}
@@ -0,0 +1,8 @@
import { z } from 'zod'
export const notesDocUpdateSchema = z.object({
title: z.string().max(255).optional(),
content: z.string().optional()
})
export type NotesDocUpdate = z.output<typeof notesDocUpdateSchema>