SearchClientPaginatedArgs
Defined in: packages/core/src/collections/api/networkQuery.ts:122
Client-side args for search with pagination options required.
Extends
Section titled “Extends”GenericQueryClientParams<TCollectionSlug,TPopulate,D>
Type Parameters
Section titled “Type Parameters”TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends CollectionSlug
TPopulate
Section titled “TPopulate”TPopulate extends PopulateShape<TCollectionSlug>
D extends number = number
Properties
Section titled “Properties”
optionalauth?:undefined
Defined in: packages/core/src/collections/api/types.ts:88
Discriminator: client args MUST NOT supply auth.
Inherited from
Section titled “Inherited from”collection
Section titled “collection”collection:
TCollectionSlug
Defined in: packages/core/src/collections/api/networkQuery.ts:127
optionalctx?:undefined
Defined in: packages/core/src/collections/api/types.ts:90
Discriminator: client args MUST NOT supply ctx.
Inherited from
Section titled “Inherited from”depth?
Section titled “depth?”
optionaldepth?:D
Defined in: packages/core/src/collections/api/types.ts:104
Auto-populate all relationship fields to this many levels.
Inferred as the literal D so a wrapper that threads D through to its
return type narrows accordingly (depth: 2 → depth-populated doc). A
non-literal number degrades to VexDocument via DepthPopulated’s
guard. D defaults to number, so wrappers that do not thread it keep the
plain passthrough they had before.
Use populate for documented consumer code; depth is internal.
Inherited from
Section titled “Inherited from”GenericQueryClientParams.depth
drafts?
Section titled “drafts?”
optionaldrafts?:boolean
Defined in: packages/core/src/collections/api/types.ts:116
When true on a versioned collection, includes the document’s draft
row alongside its published row — gated server-side on the readDrafts
action. Ignored for a non-versioned collection.
Inherited from
Section titled “Inherited from”GenericQueryClientParams.drafts
limit?
Section titled “limit?”
optionallimit?:number
Defined in: packages/core/src/collections/api/networkQuery.ts:131
paginationOpts
Section titled “paginationOpts”paginationOpts:
PaginationOptions
Defined in: packages/core/src/collections/api/networkQuery.ts:133
populate?
Section titled “populate?”
optionalpopulate?:TPopulate
Defined in: packages/core/src/collections/api/types.ts:92
Recursive populate object, type-narrowed against PopulateShape<TCollectionSlug>.
Inherited from
Section titled “Inherited from”GenericQueryClientParams.populate
query:
string
Defined in: packages/core/src/collections/api/networkQuery.ts:128
searchField
Section titled “searchField”searchField:
string
Defined in: packages/core/src/collections/api/networkQuery.ts:130
searchIndexName
Section titled “searchIndexName”searchIndexName:
string
Defined in: packages/core/src/collections/api/networkQuery.ts:129
optionalskip?:boolean
Defined in: packages/core/src/collections/api/types.ts:110
When true, the wrapper passes convexQuery’s "skip" sentinel instead of
args, so the query is not issued. Use for conditional queries (e.g. an id
that is not known yet) without violating the Rules of Hooks.
Inherited from
Section titled “Inherited from”where?
Section titled “where?”
optionalwhere?:VexWhere<TCollectionSlug>
Defined in: packages/core/src/collections/api/networkQuery.ts:132