BuildListViewFindQueryArgsProps
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:47
Props for buildListViewFindQueryArgs.
Extends
Section titled “Extends”BuildListViewQueryArgsBaseProps<TFieldSlug>
Type Parameters
Section titled “Type Parameters”TFieldSlug
Section titled “TFieldSlug”TFieldSlug extends string = string
Properties
Section titled “Properties”collection
Section titled “collection”collection:
CollectionConfig<{ }, { },string,Record<string,AdminField>,ComponentHKT,boolean,boolean,string> |MediaCollectionConfig
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:28
The resolved collection (or media collection) config — same object useVexListQuery and NextAdminPage both already hold.
Inherited from
Section titled “Inherited from”BuildListViewQueryArgsBaseProps.collection
cursor?
Section titled “cursor?”
optionalcursor?:string|null
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:43
Load More’s cursor. undefined/omitted means the first page — every server prefetch reads one.
Inherited from
Section titled “Inherited from”BuildListViewQueryArgsBaseProps.cursor
depth?
Section titled “depth?”
optionaldepth?:number
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:52
Relationship auto-populate depth.
drafts?
Section titled “drafts?”
optionaldrafts?:boolean
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:32
Include draft versions of versioned documents.
Inherited from
Section titled “Inherited from”BuildListViewQueryArgsBaseProps.drafts
numItems
Section titled “numItems”numItems:
number
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:41
Documents to fetch this round-trip — already Math.max(collection.admin.view.state.serverPageSize, pageSize) (Step 8’s “the server batch always covers at least one client page” rule).
That Math.max stays at each CALLER’s own site, beside the pageSize/size value it
reads, rather than moving in here — useVexListQuery and NextAdminPage read
pageSize from two different places (a hook prop vs. resolveListViewQueryState’s
output), so there is no single shared pageSize input to compute it from.
Inherited from
Section titled “Inherited from”BuildListViewQueryArgsBaseProps.numItems
optionalsort?:CollectionTableSort<TFieldSlug>
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:50
Portable sort (Design Decision 5). Parked while searching (Design Decision 7) — buildListViewSearchQueryArgs has no sort param at all.
where?
Section titled “where?”
optionalwhere?:VexWhere<TFieldSlug>
Defined in: packages/core/src/collections/listView/listViewQueryArgs.ts:30
Predicate over the collection’s fields: a builder callback or an already-plain node.
Inherited from
Section titled “Inherited from”BuildListViewQueryArgsBaseProps.where