fix inputnumber, Umbau auf redis-om, Neubenamung
This commit is contained in:
@@ -46,32 +46,31 @@ export interface BusinessListing extends Listing {
|
||||
brokerLicencing?: string;
|
||||
internals?: string;
|
||||
}
|
||||
export interface ProfessionalsBrokersListing extends Listing {
|
||||
listingsCategory: 'professionals_brokers'; //enum
|
||||
summary: string;
|
||||
address?: string;
|
||||
email?: string;
|
||||
website?: string;
|
||||
category?: 'Professionals' | 'Broker';
|
||||
}
|
||||
export interface InvestmentsListing extends Listing {
|
||||
listingsCategory: 'investment'; //enum
|
||||
// export interface ProfessionalsBrokersListing extends Listing {
|
||||
// listingsCategory: 'professionals_brokers'; //enum
|
||||
// summary: string;
|
||||
// address?: string;
|
||||
// email?: string;
|
||||
// website?: string;
|
||||
// category?: 'Professionals' | 'Broker';
|
||||
// }
|
||||
export interface CommercialPropertyListing extends Listing {
|
||||
listingsCategory: 'commercialProperty'; //enum
|
||||
email?: string;
|
||||
website?: string;
|
||||
phoneNumber?: string;
|
||||
}
|
||||
export type ListingType =
|
||||
| BusinessListing
|
||||
| ProfessionalsBrokersListing
|
||||
| InvestmentsListing;
|
||||
| CommercialPropertyListing;
|
||||
|
||||
export interface ListingCriteria {
|
||||
type:string,
|
||||
location:string,
|
||||
state:string,
|
||||
minPrice:string,
|
||||
maxPrice:string,
|
||||
realEstateChecked:boolean,
|
||||
listingsCategory:'business'|'professionals_brokers'|'investment',
|
||||
listingsCategory:'business'|'professionals_brokers'|'commercialProperty',
|
||||
category:'professional|broker'
|
||||
}
|
||||
export interface UserBase {
|
||||
|
||||
Reference in New Issue
Block a user