Skip to content

FilterOptions

FilterOptions = object

Filters accepted by client.thing.query and related list operations.

optional shape?: string

Filter to records of this shape name (for example Player).


optional kind?: (typeof COMMIT_OPERATION_KINDS)[number]

Filter to records of this kind: shape, thing, assertion, or collection.


optional about?: string

Filter assertions whose about target wref matches the supplied value.


optional match?: string

Glob pattern matched against record names (for example Player/*).


optional includeRetracted?: boolean

Include retracted versions in the result set.


optional limit?: number

Maximum records returned per page.


optional cursor?: string

Pagination cursor returned by the prior call.


optional componentRef?: string

Filter to records attributed to this installed component’s Org/Name ref.


optional excludeComponents?: boolean

Exclude records attributed to any component.


optional excludeInfraShapes?: boolean

Exclude internal infrastructure shapes from the result set.


optional resolveCollections?: boolean

Expand collection targets to their members in the result.


optional role?: "from" | "to" | "ends"

Keep collection-resolved assertions where the target occupies this role.


optional where?: WherePredicate[]

Field-value WHERE predicates (ANDed). Each predicate must target a pinned/ready field for typed-index routing; unavailable or unindexable fields return a machine-readable field-index error. Up to 8 predicates per call.


optional sinceRepoSeq?: number

Strict lower repository sequence for an incremental scan; -1 seeds a complete snapshot.