fix: relax ExportNote.children type for Prisma select compatibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9735be83ff
commit
26602e4197
|
|
@ -15,7 +15,7 @@ interface ExportNote {
|
|||
contentPlain: string | null;
|
||||
properties: Record<string, unknown>;
|
||||
tags: { tag: { name: string } }[];
|
||||
children?: ExportNote[];
|
||||
children?: { title: string }[];
|
||||
attachments?: { file: { storageKey: string; filename: string } ; caption: string | null }[];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue