geo coding, user service, listing for business
This commit is contained in:
@@ -18,24 +18,30 @@ export interface Listing {
|
||||
userId: string;
|
||||
title: string;
|
||||
description: Array<string>;
|
||||
location: string;//enum
|
||||
country: string;
|
||||
city: string,
|
||||
state: string;//enum
|
||||
favoritesForUser:Array<string>;
|
||||
hideImage?:boolean;
|
||||
draft?:boolean;
|
||||
created:Date;
|
||||
updated:Date;
|
||||
}
|
||||
export interface BusinessListing extends Listing {
|
||||
listingsCategory: 'business'; //enum
|
||||
summary: Array<string>;
|
||||
// summary: Array<string>;
|
||||
type: string; //enum
|
||||
price?: number;
|
||||
realEstateIncluded?: boolean;
|
||||
leasedLocation?:boolean;
|
||||
franchiseResale?:boolean;
|
||||
salesRevenue?: number;
|
||||
cashFlow?: number;
|
||||
netProfit?: number;
|
||||
inventory?: string;
|
||||
// netProfit?: number;
|
||||
supportAndTraining?: string;
|
||||
employees?: number;
|
||||
established?: number;
|
||||
internalListingNumber?:number;
|
||||
reasonForSale?: string;
|
||||
brokerLicencing?: string;
|
||||
internals?: string;
|
||||
@@ -68,13 +74,22 @@ export interface ListingCriteria {
|
||||
listingsCategory:'business'|'professionals_brokers'|'investment',
|
||||
category:'professional|broker'
|
||||
}
|
||||
export interface User {
|
||||
export interface UserBase {
|
||||
id: string;
|
||||
username: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
email: string;
|
||||
phoneNumber?: string;
|
||||
companyOverview?:string;
|
||||
companyWebsite?:string;
|
||||
companyLocation?:string;
|
||||
offeredServices?:string;
|
||||
areasServed?:string;
|
||||
}
|
||||
export interface User extends UserBase {
|
||||
licensedIn?:KeyValue[];
|
||||
}
|
||||
|
||||
export interface Subscription {
|
||||
id: string;
|
||||
userId:string
|
||||
@@ -126,4 +141,8 @@ export interface PageEvent {
|
||||
rows: number;
|
||||
page: number;
|
||||
pageCount: number;
|
||||
}
|
||||
}
|
||||
export interface AutoCompleteCompleteEvent {
|
||||
originalEvent: Event;
|
||||
query: string;
|
||||
}
|
||||
Reference in New Issue
Block a user