From 3c5dc722ef50e42558f3db57bac34798935c21ec Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 8 Dec 2025 13:53:54 +0000 Subject: [PATCH] added new file --- src/app/utils/propertyFilters.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/app/utils/propertyFilters.ts diff --git a/src/app/utils/propertyFilters.ts b/src/app/utils/propertyFilters.ts new file mode 100644 index 0000000..7544223 --- /dev/null +++ b/src/app/utils/propertyFilters.ts @@ -0,0 +1,19 @@ +export type FilterField = + | "address" + | "postcode" + | "status" + | "currentEpcRating" + | "currentSapPoints"; + +export type FilterOperator = + | "contains" + | "starts_with" + | "equals" + | "gte" + | "lte"; + +export interface PropertyFilter { + field: FilterField; + operator: FilterOperator; + value: string; +} \ No newline at end of file