diff --git a/src/app/utils/propertyFilters.ts b/src/app/utils/propertyFilters.ts new file mode 100644 index 00000000..75442233 --- /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