typealias FilterFunction = (field: String, type: String, value: Any, filterParams: FilterParams) -> Unit