UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

15 lines 693 B
import { RefineRuleValues } from "../../../components/webparts/Drilldown/Refiners/IRefiners"; /** * 2024-08-24: Migrated from drillFunctions * getRefinerFromField * * This takes a field value of type any (number, date, text) and a set of rules to apply * And returns an array of strings that can be used for filtering. * This with grouping items into smaller buckets... like 1000's instead of 1001, 1002, 1003... etc * @param fieldValue * @param ruleSet * @param emptyRefiner * @returns */ export declare function getRefinerFromField(fieldValue: any, ruleSet: RefineRuleValues[], emptyRefiner: string): string[]; //# sourceMappingURL=getRefinerFromField.d.ts.map