Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bloom-housing/core

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloom-housing/core - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

src/ami_charts.ts

13

package.json
{
"name": "@bloom-housing/core",
"version": "0.0.1",
"version": "0.0.2",
"description": "Shared types for Bloom affordable housing system",

@@ -12,13 +12,14 @@ "main": "index.js",

"devDependencies": {
"@types/jest": "^24.0.18",
"@babel/core": "^7.8.3",
"@types/jest": "^24.9.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"jest": "^24.9.0",
"typescript": "^3.6.2",
"webpack": "^4.39.1"
"typescript": "^3.7.4",
"webpack": "^4.41.5"
},
"dependencies": {
"@types/node": "^12.7.1",
"@types/node": "^12.12.25",
"@types/node-polyglot": "^0.4.34",
"nanoid": "^2.1.1"
"nanoid": "^2.1.9"
},

@@ -25,0 +26,0 @@ "babel": {

export interface Address {
city: string
state: string
streetAddress: string
street: string
zipCode: string
latitude: number
longitude: number
}
export interface MinMax {
min?: number
max?: number
min: number
max: number
}
export interface MinMaxCurrency {
min: string
max: string
}

@@ -1,24 +0,37 @@

import { Unit, UnitSummary, UnitsSummarized } from "./units"
import { Unit, UnitsSummarized } from "./units"
import { Address } from "./general"
import { Preference } from "./preferences"
export enum AttachmentType {
ApplicationDownload = 1
}
export interface Attachment {
label: string
fileUrl: string
type: AttachmentType
}
export interface Listing {
acceptingApplicationsAtLeasingAgent: boolean
acceptingApplicationsByPoBox: boolean
acceptsPostmarkedApplications: boolean
accessibility: string
amenities: string
applicationCity: string
applicationDownloadUrl: string
applicationDueDate: string
applicationFee: string
applicationOrganization: string
applicationPostalCode: string
applicationState: string
applicationStreetAddress: string
applicationAddress: Address
attachments: Attachment[]
blankPaperApplicationCanBePickedUp: boolean
buildingCity: string
buildingState: string
buildingStreetAddress: string
buildingZipCode: string
buildingAddress: Address
costsNotIncluded: string
creditHistory: string
criminalBackground: string
depositMin: string
depositMax?: string
developer: string
id: string
imageUrl?: string
leasingAgentCity: string
leasingAgentAddress: Address
leasingAgentEmail: string

@@ -28,16 +41,16 @@ leasingAgentName: string

leasingAgentPhone: string
leasingAgentState: string
leasingAgentStreet: string
leasingAgentTitle: string
leasingAgentZip: string
name: string
neighborhood: string
preferences: Preference[]
petPolicy: string
postmarkedApplicationsReceivedByDate: string
programRules?: string
rentalHistory: string
requiredDocuments: string
smokingPolicy: string
unit_summaries: [UnitSummary]
units: [Unit]
unitsSummarized: UnitsSummarized
units: Unit[]
unitAmenities: string
unitsSummarized?: UnitsSummarized
yearBuilt: number
}

@@ -1,2 +0,2 @@

import { MinMax } from "./general"
import { MinMax, MinMaxCurrency } from "./general"

@@ -29,7 +29,7 @@ export interface Unit {

export interface UnitSummary {
minIncomeRange: MinMax
unitType: string
minIncomeRange: MinMax | MinMaxCurrency
occupancyRange: MinMax
rentAsPercentIncomeRange: MinMax
rentRange: MinMax
reservedTypes: [string]
rentRange: MinMax | MinMaxCurrency
totalAvailable: number

@@ -40,16 +40,23 @@ areaRange: MinMax

export interface UnitSummaryByReservedType {
reservedType: string
byUnitType: UnitSummary[]
}
export interface UnitSummaryByAMI {
percent: string
byNonReservedUnitType: UnitSummary[]
byReservedType: UnitSummaryByReservedType[]
}
export interface UnitsSummarized {
all: [Unit]
grouped: UnitGroup[]
reserved: UnitGroup[]
priority: UnitGroup[]
unitTypes: string[]
unitSummary: UnitSummary
reservedTypes: string[]
priorityTypes: string[]
amiPercentages: string[]
byUnitType: UnitSummary[]
byNonReservedUnitType: UnitSummary[]
byReservedType: UnitSummaryByReservedType[]
byAMI: UnitSummaryByAMI[]
hmi: { [key: string]: any }
}
export interface UnitGroup {
units: [Unit]
type: string
unitSummary: UnitSummary
unity: any
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc