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

    Variable moveNoteSchemaConst

    moveNoteSchema: ZodObject<
        { folderId: ZodNullable<ZodString> },
        "strip",
        ZodTypeAny,
        { folderId: string | null },
        { folderId: string | null },
    > = ...

    PATCH /notes/:id/folder body — file a note into a folder, or null to lift it back to the root.

    Its own route rather than a field on updateNoteSchema on purpose: the editor's autosave PATCHes title/pages many times a minute and must never be able to move a note as a side effect of a save that raced a move.