StatamicApiParamsTree

Parameters for fetching tree-structured data (navigations, structured collections, etc.).

Type Definition

type 
StatamicApiParamsTree
<
T
extends
Record
<string, any> =
StatamicApiEntryDefaultFields
>
=
Pick
<
StatamicApiParamsBase
<
T
>, "fields" | "site"> & {
/** * The maximum nesting depth of the tree. */
max_depth
: number;
};