type AssetQueryData = Omit<AssetsQuery, "sortingOrder"> & object;The query that a custom source’s findAssets receives. The engine always sets page and
perPage, and passes sortingOrder as one of the SortingOrder names, as @cesdk/engine’s
AssetQueryData declares.
Type Declaration#
| Name | Type | Description |
|---|---|---|
page |
number |
The current page queried for paginated views. |
perPage |
number |
The number of results queried. How many assets shall be returned regardless of the total number of assets available. Together with page this can be used for pagination. |
sortingOrder? |
SortingOrder |
The order to sort by if the asset source supports sorting. If set to None, the order is the same as the assets were added to the source. |