fix: relax ExportNote.children type for Prisma select compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-22 22:37:01 +00:00
parent 9735be83ff
commit 26602e4197
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ interface ExportNote {
contentPlain: string | null; contentPlain: string | null;
properties: Record<string, unknown>; properties: Record<string, unknown>;
tags: { tag: { name: string } }[]; tags: { tag: { name: string } }[];
children?: ExportNote[]; children?: { title: string }[];
attachments?: { file: { storageKey: string; filename: string } ; caption: string | null }[]; attachments?: { file: { storageKey: string; filename: string } ; caption: string | null }[];
} }