@makehq/sdk
    Preparing search index...

    Type Alias Folder<C>

    Folder: PickColumns<FolderFields, Exclude<C, "children">> & (
        [C] extends [never]
            ? { children?: Folder<C>[] }
            : "children" extends C ? { children: Folder<C>[] } : object
    )

    Represents a folder in Make. Folders help organize scenarios within a team and can be nested to form a folder tree.

    children holds the direct child folders of this folder (or all descendants when childrenDepth is set to all). Its items are typed with the same column selection C as the parent folder, so cols applies recursively to nested folders too.

    Type Parameters

    • C extends keyof FolderFields | "children" = never

      Keys of the folder (and, recursively, of its children) to include in the response