ui/build/collection-filter/collection-applied-filters
ui/build/collection-filter/collection-applied-filters
Interfaces
CollectionAppliedFilterCondition
Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:3
Properties
alternative
readonly alternative: boolean;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:10
field
readonly field: CollectionField;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:5
key
readonly key: string;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:4
label
readonly label: string;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:6
lookupTarget?
readonly optional lookupTarget?: string;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:11
negated
readonly negated: boolean;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:9
operand
readonly operand: unknown;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:8
operator
readonly operator: string;Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:7
Functions
collectionAppliedFilterConditions()
function collectionAppliedFilterConditions(
where,
definition,
collections): readonly CollectionAppliedFilterCondition[];Defined in: apps/website/.api-docs-entry/ui/build/collection-filter/collection-applied-filters.d.ts:20
Turn an authored where tree into schema-bearing conditions for the table's about popover.
Keeping the field metadata is the important difference from a string description: the value can now use the same datatype renderer as the filter builder, while relationship keys can resolve to their record labels instead of leaking UUIDs.
Parameters
| Parameter | Type |
|---|---|
where |
unknown |
definition |
FilterCollectionDefinition |
collections |
Readonly<Record<string, ConfirmationProps>> |
Returns
readonly CollectionAppliedFilterCondition[]