Skip to main content
@moss-js/moss / FilterCondition

Type Alias: FilterCondition

A single condition evaluated against one metadata field inside a MetadataFilter.
@moss-js/moss does not export FilterCondition. This page documents the shape of a condition object. QueryOptions.filter is typed any, so pass a plain object, or declare this type in your own code to have TypeScript check your filters.

Operators

Example

A condition goes in the condition of a field filter. To match a price that meets both, combine two field filters with $and in a MetadataFilter.