@cubedelement.com/realty-investor-timeline 5.5.1 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/src/account/i-user-goal.d.ts +5 -0
- package/dist/src/account/user.d.ts +20 -1
- package/dist/src/account/user.js +21 -0
- package/dist/src/ledger/i-ledger-summary.d.ts +6 -0
- package/dist/src/ledger/ledger-collection.d.ts +6 -2
- package/dist/src/ledger/ledger-collection.js +40 -1
- package/dist/src/ledger/ledger-item.d.ts +17 -0
- package/dist/src/ledger/ledger-item.js +38 -0
- package/dist/src/time/default-has-met-goal-or-max-time.js +1 -1
- package/dist/src/time/looper.js +1 -1
- package/dist/src/utils/get-date-quarter.d.ts +9 -0
- package/dist/src/utils/get-date-quarter.js +9 -0
- package/package.json +1 -1
- package/.github/dependabot.yml +0 -10
- package/docs/_media/badge.svg +0 -1
- package/docs/account/i-user-goal/index.md +0 -11
- package/docs/account/i-user-goal/interfaces/IUserGoal.md +0 -47
- package/docs/account/i-user-investor-check/index.md +0 -11
- package/docs/account/i-user-investor-check/interfaces/IUserInvestorCheck.md +0 -206
- package/docs/account/index.md +0 -31
- package/docs/account/user/classes/User.md +0 -312
- package/docs/account/user/index.md +0 -15
- package/docs/account/user/interfaces/IUser.md +0 -282
- package/docs/caching/index.md +0 -19
- package/docs/caching/value-cache/classes/ValueCache.md +0 -194
- package/docs/caching/value-cache/index.md +0 -15
- package/docs/caching/value-cache/interfaces/IValueCache.md +0 -104
- package/docs/calculations/can-invest-by-user/functions/canInvestByUser.md +0 -35
- package/docs/calculations/can-invest-by-user/index.md +0 -11
- package/docs/calculations/cash-on-cash-return/functions/cashOnCashReturn.md +0 -29
- package/docs/calculations/cash-on-cash-return/index.md +0 -11
- package/docs/calculations/get-cost-down/functions/getCostDown.md +0 -27
- package/docs/calculations/get-cost-down/index.md +0 -11
- package/docs/calculations/get-cost-down-user-investment-results/functions/getCostDownUserInvestmentResults.md +0 -33
- package/docs/calculations/get-cost-down-user-investment-results/index.md +0 -11
- package/docs/calculations/get-equity-capture-amount/functions/getEquityCaptureAmount.md +0 -31
- package/docs/calculations/get-equity-capture-amount/index.md +0 -11
- package/docs/calculations/get-equity-capture-user-investment-results/functions/getEquityCaptureUserInvestmentResults.md +0 -33
- package/docs/calculations/get-equity-capture-user-investment-results/index.md +0 -11
- package/docs/calculations/get-investment-percent/functions/getInvestmentPercent.md +0 -27
- package/docs/calculations/get-investment-percent/index.md +0 -11
- package/docs/calculations/get-min-cost-down-by-rule/functions/getMinCostDownByRule.md +0 -25
- package/docs/calculations/get-min-cost-down-by-rule/index.md +0 -11
- package/docs/calculations/get-monthly-mortgage/functions/getMonthlyMortgage.md +0 -43
- package/docs/calculations/get-monthly-mortgage/index.md +0 -11
- package/docs/calculations/get-monthly-principal-interest-tax-interest/functions/getMonthlyPrincipalInterestTaxInterest.md +0 -43
- package/docs/calculations/get-monthly-principal-interest-tax-interest/index.md +0 -11
- package/docs/calculations/get-sell-price-estimate/functions/getSellPriceEstimate.md +0 -33
- package/docs/calculations/get-sell-price-estimate/index.md +0 -11
- package/docs/calculations/index.md +0 -73
- package/docs/calculations/return-on-capital-gain/functions/returnOnCapitalGain.md +0 -31
- package/docs/calculations/return-on-capital-gain/index.md +0 -11
- package/docs/formatters/currency/functions/default.md +0 -21
- package/docs/formatters/currency/index.md +0 -11
- package/docs/formatters/index.md +0 -7
- package/docs/generators/factory-passive-apartment/functions/generateRentalPassiveApartment.md +0 -35
- package/docs/generators/factory-passive-apartment/index.md +0 -11
- package/docs/generators/factory-single-family/functions/generateSingleFamily.md +0 -35
- package/docs/generators/factory-single-family/index.md +0 -11
- package/docs/generators/generate-property/index.md +0 -11
- package/docs/generators/generate-property/type-aliases/GenerateProperty.md +0 -37
- package/docs/generators/generic-generate-property/functions/genericGenerateProperty.md +0 -35
- package/docs/generators/generic-generate-property/index.md +0 -11
- package/docs/generators/i-property-entity-options/index.md +0 -11
- package/docs/generators/i-property-entity-options/interfaces/IPropertyEntityOptions.md +0 -113
- package/docs/generators/index.md +0 -49
- package/docs/generators/rental-generator/classes/RentalGenerator.md +0 -248
- package/docs/generators/rental-generator/index.md +0 -15
- package/docs/generators/rental-generator/interfaces/IRentalGenerator.md +0 -65
- package/docs/index/index.md +0 -487
- package/docs/index.md +0 -258
- package/docs/investments/index.md +0 -85
- package/docs/investments/investment-reasons/enumerations/InvestmentReasons.md +0 -119
- package/docs/investments/investment-reasons/index.md +0 -11
- package/docs/investments/investment-reasons-decorator/functions/InvestmentReasonForHoldRuleTypes.md +0 -25
- package/docs/investments/investment-reasons-decorator/functions/InvestmentReasonForPurchaseRuleTypes.md +0 -25
- package/docs/investments/investment-reasons-decorator/functions/getInvestmentReasons.md +0 -33
- package/docs/investments/investment-reasons-decorator/functions/getInvestmentReasonsForPurchaseTypes.md +0 -25
- package/docs/investments/investment-reasons-decorator/index.md +0 -18
- package/docs/investments/investment-reasons-decorator/type-aliases/PropertyDecoratorType.md +0 -29
- package/docs/investments/reason-to-rule/classes/ReasonToRule.md +0 -263
- package/docs/investments/reason-to-rule/index.md +0 -16
- package/docs/investments/reason-to-rule/interfaces/IReasonToRule.md +0 -189
- package/docs/investments/reason-to-rule/interfaces/IReasonToRuleMeta.md +0 -33
- package/docs/investments/rental-investor-validator/classes/RentalInvestorValidator.md +0 -53
- package/docs/investments/rental-investor-validator/index.md +0 -15
- package/docs/investments/rental-investor-validator/interfaces/IRentalInvestorValidator.md +0 -25
- package/docs/investments/user-invest-result/classes/UserInvestResult.md +0 -65
- package/docs/investments/user-invest-result/index.md +0 -15
- package/docs/investments/user-invest-result/interfaces/IUserInvestResult.md +0 -25
- package/docs/investments/user-result-estimates/index.md +0 -11
- package/docs/investments/user-result-estimates/type-aliases/UserResultEstimates.md +0 -33
- package/docs/ledger/i-ledger-summary/index.md +0 -11
- package/docs/ledger/i-ledger-summary/interfaces/ILedgerSummary.md +0 -57
- package/docs/ledger/index.md +0 -43
- package/docs/ledger/ledger-collection/classes/LedgerCollection.md +0 -425
- package/docs/ledger/ledger-collection/index.md +0 -19
- package/docs/ledger/ledger-collection/interfaces/ILedgerCollection.md +0 -313
- package/docs/ledger/ledger-collection/type-aliases/LedgerItemPredicate.md +0 -25
- package/docs/ledger/ledger-item/classes/LedgerItem.md +0 -211
- package/docs/ledger/ledger-item/index.md +0 -11
- package/docs/ledger/ledger-item-type/enumerations/LedgerItemType.md +0 -57
- package/docs/ledger/ledger-item-type/index.md +0 -11
- package/docs/loans/i-loan-settings/index.md +0 -11
- package/docs/loans/i-loan-settings/interfaces/ILoanSetting.md +0 -33
- package/docs/loans/index.md +0 -19
- package/docs/loans/loan-settings/enumerations/LoanSettings.md +0 -41
- package/docs/loans/loan-settings/index.md +0 -11
- package/docs/modules.md +0 -88
- package/docs/properties/i-entity-existence/index.md +0 -11
- package/docs/properties/i-entity-existence/interfaces/IEntityExistence.md +0 -33
- package/docs/properties/i-property-entity/index.md +0 -11
- package/docs/properties/i-property-entity/interfaces/IPropertyEntity.md +0 -159
- package/docs/properties/i-rental-property-entity/index.md +0 -11
- package/docs/properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md +0 -416
- package/docs/properties/index.md +0 -43
- package/docs/properties/property-sort/functions/default.md +0 -35
- package/docs/properties/property-sort/index.md +0 -11
- package/docs/properties/property-type/enumerations/PropertyType.md +0 -33
- package/docs/properties/property-type/index.md +0 -11
- package/docs/properties/rental-passive-apartment/classes/RentalPassiveApartment.md +0 -558
- package/docs/properties/rental-passive-apartment/index.md +0 -11
- package/docs/properties/rental-single-family/classes/RentalSingleFamily.md +0 -639
- package/docs/properties/rental-single-family/index.md +0 -11
- package/docs/rules/eval-type/index.md +0 -11
- package/docs/rules/eval-type/type-aliases/EvalType.md +0 -25
- package/docs/rules/eval-types/functions/AtLeastOrMore.md +0 -25
- package/docs/rules/eval-types/functions/NoMoreThan.md +0 -25
- package/docs/rules/eval-types/index.md +0 -12
- package/docs/rules/get-enum-type-by-value/functions/getEnumTypeByValue.md +0 -23
- package/docs/rules/get-enum-type-by-value/index.md +0 -11
- package/docs/rules/get-rules/functions/getRules.md +0 -27
- package/docs/rules/get-rules/index.md +0 -11
- package/docs/rules/hold-rule-types/enumerations/HoldRuleTypes.md +0 -49
- package/docs/rules/hold-rule-types/index.md +0 -11
- package/docs/rules/i-rule/index.md +0 -11
- package/docs/rules/i-rule/interfaces/IRule.md +0 -41
- package/docs/rules/index.md +0 -67
- package/docs/rules/purchase-rule-types/enumerations/PurchaseRuleTypes.md +0 -78
- package/docs/rules/purchase-rule-types/index.md +0 -11
- package/docs/rules/rule-evaluation/classes/RuleEvaluation.md +0 -103
- package/docs/rules/rule-evaluation/index.md +0 -15
- package/docs/rules/rule-evaluation/interfaces/IRuleEvaluation.md +0 -73
- package/docs/time/default-has-met-goal-or-max-time/functions/defaultHasMetGoalOrMaxTime.md +0 -39
- package/docs/time/default-has-met-goal-or-max-time/index.md +0 -11
- package/docs/time/has-met-goal-or-max-time/index.md +0 -11
- package/docs/time/has-met-goal-or-max-time/type-aliases/HasMetGoalOrMaxTime.md +0 -39
- package/docs/time/i-historical-property/index.md +0 -11
- package/docs/time/i-historical-property/interfaces/IHistoricalProperty.md +0 -25
- package/docs/time/i-historical-reason/index.md +0 -11
- package/docs/time/i-historical-reason/interfaces/IHistoricalReason.md +0 -25
- package/docs/time/i-loop-options/index.md +0 -11
- package/docs/time/i-loop-options/interfaces/ILoopOptions.md +0 -71
- package/docs/time/i-loop-recursive-options/index.md +0 -11
- package/docs/time/i-loop-recursive-options/interfaces/ILoopRecursiveOptions.md +0 -33
- package/docs/time/index.md +0 -85
- package/docs/time/looper/functions/looper.md +0 -25
- package/docs/time/looper/index.md +0 -15
- package/docs/time/looper/type-aliases/LooperType.md +0 -25
- package/docs/time/movement/functions/movement.md +0 -27
- package/docs/time/movement/index.md +0 -11
- package/docs/time/simulate/functions/simulate.md +0 -23
- package/docs/time/simulate/index.md +0 -16
- package/docs/time/simulate/interfaces/IGenOptions.md +0 -163
- package/docs/time/simulate/interfaces/ISimulateOptions.md +0 -115
- package/docs/time/timeline/classes/Timeline.md +0 -175
- package/docs/time/timeline/index.md +0 -15
- package/docs/time/timeline/interfaces/ITimeline.md +0 -83
- package/docs/time/update-historical-rentals/functions/updateHistoricalRentals.md +0 -41
- package/docs/time/update-historical-rentals/index.md +0 -11
- package/docs/utils/data-are-same-date/functions/default.md +0 -25
- package/docs/utils/data-are-same-date/index.md +0 -11
- package/docs/utils/data-clone-date/functions/cloneDateUtc.md +0 -27
- package/docs/utils/data-clone-date/index.md +0 -11
- package/docs/utils/data-compare-date/functions/default.md +0 -28
- package/docs/utils/data-compare-date/index.md +0 -11
- package/docs/utils/data-number/functions/randomNumberBetween.md +0 -25
- package/docs/utils/data-number/index.md +0 -11
- package/docs/utils/data-property-entity/functions/randomPropertyEntity.md +0 -23
- package/docs/utils/data-property-entity/index.md +0 -15
- package/docs/utils/data-property-entity/type-aliases/RandomPropertyEntity.md +0 -21
- package/docs/utils/ensure/functions/ensureArray.md +0 -39
- package/docs/utils/ensure/index.md +0 -15
- package/docs/utils/ensure/type-aliases/EnsureArrayPredicate.md +0 -29
- package/docs/utils/index.md +0 -43
|
@@ -1,416 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [properties/i-rental-property-entity](../index.md) / IRentalPropertyEntity
|
|
6
|
-
|
|
7
|
-
# Interface: IRentalPropertyEntity
|
|
8
|
-
|
|
9
|
-
Defined in: [properties/i-rental-property-entity.ts:5](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L5)
|
|
10
|
-
|
|
11
|
-
## Extends
|
|
12
|
-
|
|
13
|
-
- [`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### address
|
|
18
|
-
|
|
19
|
-
> **address**: `string`
|
|
20
|
-
|
|
21
|
-
Defined in: [properties/i-property-entity.ts:13](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L13)
|
|
22
|
-
|
|
23
|
-
address of property
|
|
24
|
-
|
|
25
|
-
#### Inherited from
|
|
26
|
-
|
|
27
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`address`](../../i-property-entity/interfaces/IPropertyEntity.md#address)
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
### availableEndDate
|
|
32
|
-
|
|
33
|
-
> **availableEndDate**: `Date`
|
|
34
|
-
|
|
35
|
-
Defined in: [properties/i-entity-existence.ts:9](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-entity-existence.ts#L9)
|
|
36
|
-
|
|
37
|
-
date which property was removed from the timeline.. think of it like someone else purchased this property
|
|
38
|
-
|
|
39
|
-
#### Inherited from
|
|
40
|
-
|
|
41
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`availableEndDate`](../../i-property-entity/interfaces/IPropertyEntity.md#availableenddate)
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
### availableStartDate
|
|
46
|
-
|
|
47
|
-
> **availableStartDate**: `Date`
|
|
48
|
-
|
|
49
|
-
Defined in: [properties/i-entity-existence.ts:5](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-entity-existence.ts#L5)
|
|
50
|
-
|
|
51
|
-
date which property was generated or was available for purchase
|
|
52
|
-
|
|
53
|
-
#### Inherited from
|
|
54
|
-
|
|
55
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`availableStartDate`](../../i-property-entity/interfaces/IPropertyEntity.md#availablestartdate)
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
### costDownPrice
|
|
60
|
-
|
|
61
|
-
> **costDownPrice**: `number`
|
|
62
|
-
|
|
63
|
-
Defined in: [properties/i-property-entity.ts:23](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L23)
|
|
64
|
-
|
|
65
|
-
it's the purchase down
|
|
66
|
-
|
|
67
|
-
#### Inherited from
|
|
68
|
-
|
|
69
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`costDownPrice`](../../i-property-entity/interfaces/IPropertyEntity.md#costdownprice)
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
### equityCapturePercent
|
|
74
|
-
|
|
75
|
-
> **equityCapturePercent**: `number`
|
|
76
|
-
|
|
77
|
-
Defined in: [properties/i-property-entity.ts:50](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L50)
|
|
78
|
-
|
|
79
|
-
this can be between 10 - 20%
|
|
80
|
-
|
|
81
|
-
#### Inherited from
|
|
82
|
-
|
|
83
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`equityCapturePercent`](../../i-property-entity/interfaces/IPropertyEntity.md#equitycapturepercent)
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
### id
|
|
88
|
-
|
|
89
|
-
> **id**: `string`
|
|
90
|
-
|
|
91
|
-
Defined in: [properties/i-property-entity.ts:8](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L8)
|
|
92
|
-
|
|
93
|
-
unique identifier
|
|
94
|
-
|
|
95
|
-
#### Inherited from
|
|
96
|
-
|
|
97
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`id`](../../i-property-entity/interfaces/IPropertyEntity.md#id)
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
### isOwned
|
|
102
|
-
|
|
103
|
-
> **isOwned**: `boolean`
|
|
104
|
-
|
|
105
|
-
Defined in: [properties/i-rental-property-entity.ts:31](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L31)
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
### minSellYears?
|
|
110
|
-
|
|
111
|
-
> `optional` **minSellYears**: `number`
|
|
112
|
-
|
|
113
|
-
Defined in: [properties/i-property-entity.ts:35](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L35)
|
|
114
|
-
|
|
115
|
-
number of years to hold the property before being sold
|
|
116
|
-
|
|
117
|
-
#### Inherited from
|
|
118
|
-
|
|
119
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`minSellYears`](../../i-property-entity/interfaces/IPropertyEntity.md#minsellyears)
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
### offeredInvestmentAmounts
|
|
124
|
-
|
|
125
|
-
> **offeredInvestmentAmounts**: `number`[]
|
|
126
|
-
|
|
127
|
-
Defined in: [properties/i-property-entity.ts:25](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L25)
|
|
128
|
-
|
|
129
|
-
#### Inherited from
|
|
130
|
-
|
|
131
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`offeredInvestmentAmounts`](../../i-property-entity/interfaces/IPropertyEntity.md#offeredinvestmentamounts)
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
### propertyType
|
|
136
|
-
|
|
137
|
-
> `readonly` **propertyType**: [`PropertyType`](../../property-type/enumerations/PropertyType.md)
|
|
138
|
-
|
|
139
|
-
Defined in: [properties/i-property-entity.ts:55](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L55)
|
|
140
|
-
|
|
141
|
-
used when evaluating rules
|
|
142
|
-
|
|
143
|
-
#### Inherited from
|
|
144
|
-
|
|
145
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`propertyType`](../../i-property-entity/interfaces/IPropertyEntity.md#propertytype)
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
### purchaseDate
|
|
150
|
-
|
|
151
|
-
> **purchaseDate**: `Date`
|
|
152
|
-
|
|
153
|
-
Defined in: [properties/i-rental-property-entity.ts:6](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L6)
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
### purchasePrice
|
|
158
|
-
|
|
159
|
-
> **purchasePrice**: `number`
|
|
160
|
-
|
|
161
|
-
Defined in: [properties/i-property-entity.ts:18](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L18)
|
|
162
|
-
|
|
163
|
-
purchase price of the property (may or may not be after repair value, ARV)
|
|
164
|
-
|
|
165
|
-
#### Inherited from
|
|
166
|
-
|
|
167
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`purchasePrice`](../../i-property-entity/interfaces/IPropertyEntity.md#purchaseprice)
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
### rawCashFlow
|
|
172
|
-
|
|
173
|
-
> **rawCashFlow**: `number`
|
|
174
|
-
|
|
175
|
-
Defined in: [properties/i-property-entity.ts:40](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L40)
|
|
176
|
-
|
|
177
|
-
the cashOnCash return
|
|
178
|
-
|
|
179
|
-
#### Inherited from
|
|
180
|
-
|
|
181
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`rawCashFlow`](../../i-property-entity/interfaces/IPropertyEntity.md#rawcashflow)
|
|
182
|
-
|
|
183
|
-
---
|
|
184
|
-
|
|
185
|
-
### sellPriceAppreciationPercent
|
|
186
|
-
|
|
187
|
-
> **sellPriceAppreciationPercent**: `number`
|
|
188
|
-
|
|
189
|
-
Defined in: [properties/i-property-entity.ts:30](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L30)
|
|
190
|
-
|
|
191
|
-
the percent at which the property's value grows
|
|
192
|
-
|
|
193
|
-
#### Inherited from
|
|
194
|
-
|
|
195
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`sellPriceAppreciationPercent`](../../i-property-entity/interfaces/IPropertyEntity.md#sellpriceappreciationpercent)
|
|
196
|
-
|
|
197
|
-
---
|
|
198
|
-
|
|
199
|
-
### soldDate
|
|
200
|
-
|
|
201
|
-
> **soldDate**: `Date`
|
|
202
|
-
|
|
203
|
-
Defined in: [properties/i-rental-property-entity.ts:8](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L8)
|
|
204
|
-
|
|
205
|
-
---
|
|
206
|
-
|
|
207
|
-
### wasPurchased
|
|
208
|
-
|
|
209
|
-
> **wasPurchased**: `boolean`
|
|
210
|
-
|
|
211
|
-
Defined in: [properties/i-rental-property-entity.ts:33](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L33)
|
|
212
|
-
|
|
213
|
-
## Accessors
|
|
214
|
-
|
|
215
|
-
### estimatedCashOnCashReturn
|
|
216
|
-
|
|
217
|
-
#### Get Signature
|
|
218
|
-
|
|
219
|
-
> **get** **estimatedCashOnCashReturn**(): `number`
|
|
220
|
-
|
|
221
|
-
Defined in: [properties/i-rental-property-entity.ts:49](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L49)
|
|
222
|
-
|
|
223
|
-
##### Returns
|
|
224
|
-
|
|
225
|
-
`number`
|
|
226
|
-
|
|
227
|
-
---
|
|
228
|
-
|
|
229
|
-
### estimatedReturnOnCapitalGain
|
|
230
|
-
|
|
231
|
-
#### Get Signature
|
|
232
|
-
|
|
233
|
-
> **get** **estimatedReturnOnCapitalGain**(): `number`
|
|
234
|
-
|
|
235
|
-
Defined in: [properties/i-rental-property-entity.ts:51](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L51)
|
|
236
|
-
|
|
237
|
-
##### Returns
|
|
238
|
-
|
|
239
|
-
`number`
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
### rawEstimatedAnnualCashFlow
|
|
244
|
-
|
|
245
|
-
#### Get Signature
|
|
246
|
-
|
|
247
|
-
> **get** **rawEstimatedAnnualCashFlow**(): `number`
|
|
248
|
-
|
|
249
|
-
Defined in: [properties/i-property-entity.ts:45](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-property-entity.ts#L45)
|
|
250
|
-
|
|
251
|
-
the estimated annual cashFlow return
|
|
252
|
-
|
|
253
|
-
##### Returns
|
|
254
|
-
|
|
255
|
-
`number`
|
|
256
|
-
|
|
257
|
-
#### Inherited from
|
|
258
|
-
|
|
259
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md).[`rawEstimatedAnnualCashFlow`](../../i-property-entity/interfaces/IPropertyEntity.md#rawestimatedannualcashflow)
|
|
260
|
-
|
|
261
|
-
## Methods
|
|
262
|
-
|
|
263
|
-
### canInvestByUser()
|
|
264
|
-
|
|
265
|
-
> **canInvestByUser**(`user`, `date`, `properties`): [`IRentalInvestorValidator`](../../../investments/rental-investor-validator/interfaces/IRentalInvestorValidator.md)
|
|
266
|
-
|
|
267
|
-
Defined in: [properties/i-rental-property-entity.ts:35](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L35)
|
|
268
|
-
|
|
269
|
-
#### Parameters
|
|
270
|
-
|
|
271
|
-
##### user
|
|
272
|
-
|
|
273
|
-
[`IUser`](../../../account/user/interfaces/IUser.md)
|
|
274
|
-
|
|
275
|
-
##### date
|
|
276
|
-
|
|
277
|
-
`Date`
|
|
278
|
-
|
|
279
|
-
##### properties
|
|
280
|
-
|
|
281
|
-
[`IPropertyEntity`](../../i-property-entity/interfaces/IPropertyEntity.md)[]
|
|
282
|
-
|
|
283
|
-
#### Returns
|
|
284
|
-
|
|
285
|
-
[`IRentalInvestorValidator`](../../../investments/rental-investor-validator/interfaces/IRentalInvestorValidator.md)
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
### canSell()
|
|
290
|
-
|
|
291
|
-
> **canSell**(`today`): `boolean`
|
|
292
|
-
|
|
293
|
-
Defined in: [properties/i-rental-property-entity.ts:10](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L10)
|
|
294
|
-
|
|
295
|
-
#### Parameters
|
|
296
|
-
|
|
297
|
-
##### today
|
|
298
|
-
|
|
299
|
-
`Date`
|
|
300
|
-
|
|
301
|
-
#### Returns
|
|
302
|
-
|
|
303
|
-
`boolean`
|
|
304
|
-
|
|
305
|
-
---
|
|
306
|
-
|
|
307
|
-
### clone()
|
|
308
|
-
|
|
309
|
-
> **clone**(): [`IRentalPropertyEntity`](IRentalPropertyEntity.md)
|
|
310
|
-
|
|
311
|
-
Defined in: [properties/i-rental-property-entity.ts:53](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L53)
|
|
312
|
-
|
|
313
|
-
#### Returns
|
|
314
|
-
|
|
315
|
-
[`IRentalPropertyEntity`](IRentalPropertyEntity.md)
|
|
316
|
-
|
|
317
|
-
---
|
|
318
|
-
|
|
319
|
-
### getCashFlowByDate()
|
|
320
|
-
|
|
321
|
-
> **getCashFlowByDate**(`today`): `number`
|
|
322
|
-
|
|
323
|
-
Defined in: [properties/i-rental-property-entity.ts:23](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L23)
|
|
324
|
-
|
|
325
|
-
1. you must have purchased this home
|
|
326
|
-
2. this home must not have been sold
|
|
327
|
-
|
|
328
|
-
#### Parameters
|
|
329
|
-
|
|
330
|
-
##### today
|
|
331
|
-
|
|
332
|
-
`Date`
|
|
333
|
-
|
|
334
|
-
#### Returns
|
|
335
|
-
|
|
336
|
-
`number`
|
|
337
|
-
|
|
338
|
-
---
|
|
339
|
-
|
|
340
|
-
### getEquityFromSell()
|
|
341
|
-
|
|
342
|
-
> **getEquityFromSell**(`today`): `number`
|
|
343
|
-
|
|
344
|
-
Defined in: [properties/i-rental-property-entity.ts:16](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L16)
|
|
345
|
-
|
|
346
|
-
Determines the equity of a sale by date. Note: [soldDate](IRentalPropertyEntity.md#solddate) must be populated and today and it must match
|
|
347
|
-
|
|
348
|
-
#### Parameters
|
|
349
|
-
|
|
350
|
-
##### today
|
|
351
|
-
|
|
352
|
-
`Date`
|
|
353
|
-
|
|
354
|
-
#### Returns
|
|
355
|
-
|
|
356
|
-
`number`
|
|
357
|
-
|
|
358
|
-
---
|
|
359
|
-
|
|
360
|
-
### getEstimatedMonthlyCashFlow()
|
|
361
|
-
|
|
362
|
-
> **getEstimatedMonthlyCashFlow**(`today`): `number`
|
|
363
|
-
|
|
364
|
-
Defined in: [properties/i-rental-property-entity.ts:29](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L29)
|
|
365
|
-
|
|
366
|
-
universal method to determine cash flow on a monthly basis
|
|
367
|
-
|
|
368
|
-
#### Parameters
|
|
369
|
-
|
|
370
|
-
##### today
|
|
371
|
-
|
|
372
|
-
`Date`
|
|
373
|
-
|
|
374
|
-
#### Returns
|
|
375
|
-
|
|
376
|
-
`number`
|
|
377
|
-
|
|
378
|
-
---
|
|
379
|
-
|
|
380
|
-
### getExpensesByDate()
|
|
381
|
-
|
|
382
|
-
> **getExpensesByDate**(`today`): `number`
|
|
383
|
-
|
|
384
|
-
Defined in: [properties/i-rental-property-entity.ts:47](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L47)
|
|
385
|
-
|
|
386
|
-
used to determine what the cost of property is per month. If no purchase date or it has a sold date, then 0, otherwise there is an amount
|
|
387
|
-
|
|
388
|
-
#### Parameters
|
|
389
|
-
|
|
390
|
-
##### today
|
|
391
|
-
|
|
392
|
-
`Date`
|
|
393
|
-
|
|
394
|
-
#### Returns
|
|
395
|
-
|
|
396
|
-
`number`
|
|
397
|
-
|
|
398
|
-
---
|
|
399
|
-
|
|
400
|
-
### isAvailableByDate()
|
|
401
|
-
|
|
402
|
-
> **isAvailableByDate**(`today`): `boolean`
|
|
403
|
-
|
|
404
|
-
Defined in: [properties/i-rental-property-entity.ts:41](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/i-rental-property-entity.ts#L41)
|
|
405
|
-
|
|
406
|
-
used to compare [availableStartDate](../../i-entity-existence/interfaces/IEntityExistence.md#availablestartdate), [today](IRentalPropertyEntity.md#today-5), and [availableEndDate](../../i-entity-existence/interfaces/IEntityExistence.md#availableenddate),
|
|
407
|
-
|
|
408
|
-
#### Parameters
|
|
409
|
-
|
|
410
|
-
##### today
|
|
411
|
-
|
|
412
|
-
`Date`
|
|
413
|
-
|
|
414
|
-
#### Returns
|
|
415
|
-
|
|
416
|
-
`boolean`
|
package/docs/properties/index.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../modules.md) / properties
|
|
6
|
-
|
|
7
|
-
# properties
|
|
8
|
-
|
|
9
|
-
## References
|
|
10
|
-
|
|
11
|
-
### IEntityExistence
|
|
12
|
-
|
|
13
|
-
Re-exports [IEntityExistence](i-entity-existence/interfaces/IEntityExistence.md)
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
### IPropertyEntity
|
|
18
|
-
|
|
19
|
-
Re-exports [IPropertyEntity](i-property-entity/interfaces/IPropertyEntity.md)
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
### IRentalPropertyEntity
|
|
24
|
-
|
|
25
|
-
Re-exports [IRentalPropertyEntity](i-rental-property-entity/interfaces/IRentalPropertyEntity.md)
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
### PropertyType
|
|
30
|
-
|
|
31
|
-
Re-exports [PropertyType](property-type/enumerations/PropertyType.md)
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
### RentalPassiveApartment
|
|
36
|
-
|
|
37
|
-
Re-exports [RentalPassiveApartment](rental-passive-apartment/classes/RentalPassiveApartment.md)
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
### RentalSingleFamily
|
|
42
|
-
|
|
43
|
-
Re-exports [RentalSingleFamily](rental-single-family/classes/RentalSingleFamily.md)
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [properties/property-sort](../index.md) / default
|
|
6
|
-
|
|
7
|
-
# Function: default()
|
|
8
|
-
|
|
9
|
-
> **default**\<`T`\>(`propertyA`, `propertyB`, `rules`): `number`
|
|
10
|
-
|
|
11
|
-
Defined in: [properties/property-sort.ts:25](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/property-sort.ts#L25)
|
|
12
|
-
|
|
13
|
-
property sort based on rules order and property value
|
|
14
|
-
|
|
15
|
-
## Type Parameters
|
|
16
|
-
|
|
17
|
-
• **T** _extends_ [`PurchaseRuleTypes`](../../../rules/purchase-rule-types/enumerations/PurchaseRuleTypes.md) \| [`HoldRuleTypes`](../../../rules/hold-rule-types/enumerations/HoldRuleTypes.md)
|
|
18
|
-
|
|
19
|
-
## Parameters
|
|
20
|
-
|
|
21
|
-
### propertyA
|
|
22
|
-
|
|
23
|
-
[`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md)
|
|
24
|
-
|
|
25
|
-
### propertyB
|
|
26
|
-
|
|
27
|
-
[`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md)
|
|
28
|
-
|
|
29
|
-
### rules
|
|
30
|
-
|
|
31
|
-
[`IRuleEvaluation`](../../../rules/rule-evaluation/interfaces/IRuleEvaluation.md)\<`T`\>[]
|
|
32
|
-
|
|
33
|
-
## Returns
|
|
34
|
-
|
|
35
|
-
`number`
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [properties/property-type](../index.md) / PropertyType
|
|
6
|
-
|
|
7
|
-
# Enumeration: PropertyType
|
|
8
|
-
|
|
9
|
-
Defined in: [properties/property-type.ts:1](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/property-type.ts#L1)
|
|
10
|
-
|
|
11
|
-
## Enumeration Members
|
|
12
|
-
|
|
13
|
-
### None
|
|
14
|
-
|
|
15
|
-
> **None**: `0`
|
|
16
|
-
|
|
17
|
-
Defined in: [properties/property-type.ts:2](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/property-type.ts#L2)
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
### PassiveApartment
|
|
22
|
-
|
|
23
|
-
> **PassiveApartment**: `2`
|
|
24
|
-
|
|
25
|
-
Defined in: [properties/property-type.ts:4](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/property-type.ts#L4)
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
### SingleFamily
|
|
30
|
-
|
|
31
|
-
> **SingleFamily**: `1`
|
|
32
|
-
|
|
33
|
-
Defined in: [properties/property-type.ts:3](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/property-type.ts#L3)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / properties/property-type
|
|
6
|
-
|
|
7
|
-
# properties/property-type
|
|
8
|
-
|
|
9
|
-
## Enumerations
|
|
10
|
-
|
|
11
|
-
- [PropertyType](enumerations/PropertyType.md)
|