Image Upload, spinner aktivirt, listings & details überarbeitet
This commit is contained in:
@@ -32,13 +32,11 @@ export interface Listing {
|
||||
}
|
||||
export interface BusinessListing extends Listing {
|
||||
listingsCategory: 'business'; //enum
|
||||
// summary: Array<string>;
|
||||
realEstateIncluded?: boolean;
|
||||
leasedLocation?:boolean;
|
||||
franchiseResale?:boolean;
|
||||
salesRevenue?: number;
|
||||
cashFlow?: number;
|
||||
// netProfit?: number;
|
||||
supportAndTraining?: string;
|
||||
employees?: number;
|
||||
established?: number;
|
||||
@@ -49,24 +47,17 @@ export interface BusinessListing extends Listing {
|
||||
}
|
||||
export interface CommercialPropertyListing extends Listing {
|
||||
listingsCategory: 'commercialProperty'; //enum
|
||||
images:string[];
|
||||
zipCode:number;
|
||||
county:string
|
||||
email?: string;
|
||||
website?: string;
|
||||
phoneNumber?: string;
|
||||
hasImages:boolean;
|
||||
}
|
||||
export type ListingType =
|
||||
| BusinessListing
|
||||
| CommercialPropertyListing;
|
||||
// export interface ProfessionalsBrokersListing extends Listing {
|
||||
// listingsCategory: 'professionals_brokers'; //enum
|
||||
// summary: string;
|
||||
// address?: string;
|
||||
// email?: string;
|
||||
// website?: string;
|
||||
// category?: 'Professionals' | 'Broker';
|
||||
// }
|
||||
|
||||
export interface ListingCriteria {
|
||||
type:string,
|
||||
state:string,
|
||||
@@ -82,11 +73,15 @@ export interface UserBase {
|
||||
lastname: string;
|
||||
email: string;
|
||||
phoneNumber?: string;
|
||||
description?:string;
|
||||
companyName?:string;
|
||||
companyOverview?:string;
|
||||
companyWebsite?:string;
|
||||
companyLocation?:string;
|
||||
offeredServices?:string;
|
||||
areasServed?:string;
|
||||
hasProfile?:boolean;
|
||||
hasCompanyLogo?:boolean;
|
||||
}
|
||||
export interface User extends UserBase {
|
||||
licensedIn?:KeyValue[];
|
||||
|
||||
Reference in New Issue
Block a user