Umbau zu location / companyLocation
This commit is contained in:
@@ -67,7 +67,6 @@ export interface ListCriteria {
|
||||
criteriaType: 'business' | 'commercialProperty' | 'broker';
|
||||
}
|
||||
export interface BusinessListingCriteria extends ListCriteria {
|
||||
county: string;
|
||||
minPrice: number;
|
||||
maxPrice: number;
|
||||
minRevenue: number;
|
||||
@@ -86,7 +85,6 @@ export interface BusinessListingCriteria extends ListCriteria {
|
||||
criteriaType: 'business';
|
||||
}
|
||||
export interface CommercialPropertyListingCriteria extends ListCriteria {
|
||||
county: string;
|
||||
minPrice: number;
|
||||
maxPrice: number;
|
||||
title: string;
|
||||
@@ -315,21 +313,14 @@ export function createDefaultCommercialPropertyListing(): CommercialPropertyList
|
||||
type: null,
|
||||
title: null,
|
||||
description: null,
|
||||
city: null,
|
||||
state: null,
|
||||
location: null,
|
||||
price: null,
|
||||
favoritesForUser: [],
|
||||
draft: false,
|
||||
zipCode: null,
|
||||
county: null,
|
||||
imageOrder: [],
|
||||
imagePath: null,
|
||||
created: null,
|
||||
updated: null,
|
||||
visits: null,
|
||||
lastVisit: null,
|
||||
latitude: null,
|
||||
longitude: null,
|
||||
listingsCategory: 'commercialProperty',
|
||||
};
|
||||
}
|
||||
@@ -340,8 +331,7 @@ export function createDefaultBusinessListing(): BusinessListing {
|
||||
type: null,
|
||||
title: null,
|
||||
description: null,
|
||||
city: null,
|
||||
state: null,
|
||||
location: null,
|
||||
price: null,
|
||||
favoritesForUser: [],
|
||||
draft: false,
|
||||
@@ -359,10 +349,6 @@ export function createDefaultBusinessListing(): BusinessListing {
|
||||
internals: null,
|
||||
created: null,
|
||||
updated: null,
|
||||
visits: null,
|
||||
lastVisit: null,
|
||||
latitude: null,
|
||||
longitude: null,
|
||||
listingsCategory: 'business',
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user