location radius search

This commit is contained in:
2024-07-24 16:16:25 +02:00
parent acec14d372
commit 38e943c18e
15 changed files with 213 additions and 60 deletions

View File

@@ -115,6 +115,8 @@ export function createEmptyBusinessListingCriteria(): BusinessListingCriteria {
franchiseResale: false,
title: '',
brokerName: '',
searchType: 'exact',
radius: null,
};
}
@@ -132,6 +134,8 @@ export function createEmptyCommercialPropertyListingCriteria(): CommercialProper
minPrice: null,
maxPrice: null,
title: '',
searchType: 'exact',
radius: null,
};
}
@@ -148,7 +152,9 @@ export function createEmptyUserListingCriteria(): UserListingCriteria {
lastname: '',
companyName: '',
counties: [],
states: [],
state: '',
searchType: 'exact',
radius: null,
};
}
export function createLogger(name: string, level: number = INFO, options: any = {}) {