@roar-firebase-functions/core / FilterAdapter
Interface: FilterAdapter<T>
Defined in: packages/core/src/filters/base.filter.ts:72
Interface that defines a function to create filters from a BaseFilter object.
This adapter pattern interface provides a way to transform BaseFilter objects into domain-specific filter representations of type T. Implementations of this interface should define how to convert both SingleFilter and CompositeFilter structures into the target filter format.
Type Parameters
T
T
The target filter type that BaseFilter objects will be converted to
Methods
adapt()
adapt(
filter
):T
Defined in: packages/core/src/filters/base.filter.ts:73
Parameters
filter
Returns
T