Variable noteSummarySchemaConst
noteSummarySchema: ZodObject<
{
folderId: ZodNullable<ZodString>;
id: ZodString;
pageCount: ZodNumber;
title: ZodString;
updatedAt: ZodString;
},
"strip",
ZodTypeAny,
{
folderId: string
| null;
id: string;
pageCount: number;
title: string;
updatedAt: string;
},
{
folderId: string
| null;
id: string;
pageCount: number;
title: string;
updatedAt: string;
},
> = ...
Lightweight row for the notes list (no page contents).
folderIdis on the SUMMARY and deliberately NOT onnoteSchemaabove: a note does not know or care what folder it is in — filing is a property of the list, which is the only surface that draws the tree. The editor loads aNote, and its contract is unchanged by folders.nullmeans the root.