From 26602e4197d92c1963acfc5fd14ae4e818bc64de Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sun, 22 Feb 2026 22:37:01 +0000 Subject: [PATCH] fix: relax ExportNote.children type for Prisma select compatibility Co-Authored-By: Claude Opus 4.6 --- src/lib/logseq-format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/logseq-format.ts b/src/lib/logseq-format.ts index b73b914..83a1423 100644 --- a/src/lib/logseq-format.ts +++ b/src/lib/logseq-format.ts @@ -15,7 +15,7 @@ interface ExportNote { contentPlain: string | null; properties: Record; tags: { tag: { name: string } }[]; - children?: ExportNote[]; + children?: { title: string }[]; attachments?: { file: { storageKey: string; filename: string } ; caption: string | null }[]; }