mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
added new file
This commit is contained in:
parent
d5d4a4cc27
commit
3c5dc722ef
1 changed files with 19 additions and 0 deletions
19
src/app/utils/propertyFilters.ts
Normal file
19
src/app/utils/propertyFilters.ts
Normal file
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue