ListOptionsinterface
import { ListOptions } from '@mortar-kit/core'
interface ListOptionsOptions for listing documents. Plain JSON, so they can cross a server function.
Properties
where?: Record<string, string | number | boolean>Keep documents whose
id,slugor top-level field equals each value.sort?: SortOrder<string>Order. Defaults to the collection's manual order when it is
orderable, otherwise itssort; ties are ordered by slug.limit?: numberAt most this many documents: an integer from 1 to 100.