location radius search
This commit is contained in:
@@ -58,12 +58,14 @@ export interface ListCriteria {
|
||||
length: number;
|
||||
page: number;
|
||||
types: string[];
|
||||
state: string;
|
||||
city: string;
|
||||
prompt: string;
|
||||
searchType: 'exact' | 'radius';
|
||||
radius: number;
|
||||
criteriaType: 'business' | 'commercialProperty' | 'broker';
|
||||
}
|
||||
export interface BusinessListingCriteria extends ListCriteria {
|
||||
state: string;
|
||||
county: string;
|
||||
minPrice: number;
|
||||
maxPrice: number;
|
||||
@@ -83,7 +85,6 @@ export interface BusinessListingCriteria extends ListCriteria {
|
||||
criteriaType: 'business';
|
||||
}
|
||||
export interface CommercialPropertyListingCriteria extends ListCriteria {
|
||||
state: string;
|
||||
county: string;
|
||||
minPrice: number;
|
||||
maxPrice: number;
|
||||
@@ -95,7 +96,6 @@ export interface UserListingCriteria extends ListCriteria {
|
||||
lastname: string;
|
||||
companyName: string;
|
||||
counties: string[];
|
||||
states: string[];
|
||||
criteriaType: 'broker';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user