dawn-interfaces
Version:
Dawn application interfaces
56 lines (55 loc) • 1.28 kB
TypeScript
export interface IPocketListings {
pocketListingId: string;
posterId: string;
organizationId: string;
updatedAt: Date;
photos: string[];
listPrice: number;
address: {
streetNumber: string;
streetName: string;
city: string;
state: string;
postalCode: string;
};
longitude: number;
latitude: number;
remarks: string;
totalBeds: number;
totalBaths: number;
propertyArea: number;
residenceType: string;
yearBuilt: number;
school: {
elementarySchool: string;
middleSchool: string;
highSchool: string;
district: string;
};
}
export interface IFlatPocketListing {
pocketListingId: string;
organizationId: string;
posterId: string;
updatedAt: Date;
photos: string[];
listPrice: number;
streetNumber: string;
streetName: string;
secondaryAddress: string;
city: string;
state: string;
postalCode: string;
longitude: number;
latitude: number;
remarks: string;
totalBeds: number;
totalBaths: number;
propertyArea: number;
residenceType: string;
yearBuilt: number;
elementarySchool: string;
middleSchool: string;
highSchool: string;
district: string;
}