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

    Variable createNoteSchemaConst

    createNoteSchema: ZodObject<
        { title: ZodOptional<ZodString> },
        "strip",
        ZodTypeAny,
        { title?: string },
        { title?: string },
    > = ...

    POST /notes body — optional title (defaults server-side).

    Unchanged by note folders: a new note is born at the ROOT and filed afterwards with PATCH /notes/:id/folder. Folders are an organising move the owner makes on a note that already exists, so creation stays the one-field request it has always been.