Atrium — shared contracts and the typesetting engine
    Preparing search index...

    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).

    folderId is on the SUMMARY and deliberately NOT on noteSchema above: 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 a Note, and its contract is unchanged by folders. null means the root.