@makehq/sdk
    Preparing search index...

    Type Alias ListFoldersOptions<C>

    Options for listing folders.

    type ListFoldersOptions<C extends keyof Folder = never> = {
        childrenDepth?: "all";
        cols?: C[] | ["*"];
        parentId?: number;
    }

    Type Parameters

    • C extends keyof Folder = never

      Keys of the Folder type to include in the response

    Index

    Properties

    childrenDepth?: "all"

    Set to all to return all descendants under children. By default, children includes only one direct child level

    cols?: C[] | ["*"]

    Specific columns/fields to include in the response

    parentId?: number

    The parent folder whose direct children should be returned. Omit to return top-level folders