@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.
Files changed (186) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/src/account/i-user-goal.d.ts +5 -0
  3. package/dist/src/account/user.d.ts +20 -1
  4. package/dist/src/account/user.js +21 -0
  5. package/dist/src/ledger/i-ledger-summary.d.ts +6 -0
  6. package/dist/src/ledger/ledger-collection.d.ts +6 -2
  7. package/dist/src/ledger/ledger-collection.js +40 -1
  8. package/dist/src/ledger/ledger-item.d.ts +17 -0
  9. package/dist/src/ledger/ledger-item.js +38 -0
  10. package/dist/src/time/default-has-met-goal-or-max-time.js +1 -1
  11. package/dist/src/time/looper.js +1 -1
  12. package/dist/src/utils/get-date-quarter.d.ts +9 -0
  13. package/dist/src/utils/get-date-quarter.js +9 -0
  14. package/package.json +1 -1
  15. package/.github/dependabot.yml +0 -10
  16. package/docs/_media/badge.svg +0 -1
  17. package/docs/account/i-user-goal/index.md +0 -11
  18. package/docs/account/i-user-goal/interfaces/IUserGoal.md +0 -47
  19. package/docs/account/i-user-investor-check/index.md +0 -11
  20. package/docs/account/i-user-investor-check/interfaces/IUserInvestorCheck.md +0 -206
  21. package/docs/account/index.md +0 -31
  22. package/docs/account/user/classes/User.md +0 -312
  23. package/docs/account/user/index.md +0 -15
  24. package/docs/account/user/interfaces/IUser.md +0 -282
  25. package/docs/caching/index.md +0 -19
  26. package/docs/caching/value-cache/classes/ValueCache.md +0 -194
  27. package/docs/caching/value-cache/index.md +0 -15
  28. package/docs/caching/value-cache/interfaces/IValueCache.md +0 -104
  29. package/docs/calculations/can-invest-by-user/functions/canInvestByUser.md +0 -35
  30. package/docs/calculations/can-invest-by-user/index.md +0 -11
  31. package/docs/calculations/cash-on-cash-return/functions/cashOnCashReturn.md +0 -29
  32. package/docs/calculations/cash-on-cash-return/index.md +0 -11
  33. package/docs/calculations/get-cost-down/functions/getCostDown.md +0 -27
  34. package/docs/calculations/get-cost-down/index.md +0 -11
  35. package/docs/calculations/get-cost-down-user-investment-results/functions/getCostDownUserInvestmentResults.md +0 -33
  36. package/docs/calculations/get-cost-down-user-investment-results/index.md +0 -11
  37. package/docs/calculations/get-equity-capture-amount/functions/getEquityCaptureAmount.md +0 -31
  38. package/docs/calculations/get-equity-capture-amount/index.md +0 -11
  39. package/docs/calculations/get-equity-capture-user-investment-results/functions/getEquityCaptureUserInvestmentResults.md +0 -33
  40. package/docs/calculations/get-equity-capture-user-investment-results/index.md +0 -11
  41. package/docs/calculations/get-investment-percent/functions/getInvestmentPercent.md +0 -27
  42. package/docs/calculations/get-investment-percent/index.md +0 -11
  43. package/docs/calculations/get-min-cost-down-by-rule/functions/getMinCostDownByRule.md +0 -25
  44. package/docs/calculations/get-min-cost-down-by-rule/index.md +0 -11
  45. package/docs/calculations/get-monthly-mortgage/functions/getMonthlyMortgage.md +0 -43
  46. package/docs/calculations/get-monthly-mortgage/index.md +0 -11
  47. package/docs/calculations/get-monthly-principal-interest-tax-interest/functions/getMonthlyPrincipalInterestTaxInterest.md +0 -43
  48. package/docs/calculations/get-monthly-principal-interest-tax-interest/index.md +0 -11
  49. package/docs/calculations/get-sell-price-estimate/functions/getSellPriceEstimate.md +0 -33
  50. package/docs/calculations/get-sell-price-estimate/index.md +0 -11
  51. package/docs/calculations/index.md +0 -73
  52. package/docs/calculations/return-on-capital-gain/functions/returnOnCapitalGain.md +0 -31
  53. package/docs/calculations/return-on-capital-gain/index.md +0 -11
  54. package/docs/formatters/currency/functions/default.md +0 -21
  55. package/docs/formatters/currency/index.md +0 -11
  56. package/docs/formatters/index.md +0 -7
  57. package/docs/generators/factory-passive-apartment/functions/generateRentalPassiveApartment.md +0 -35
  58. package/docs/generators/factory-passive-apartment/index.md +0 -11
  59. package/docs/generators/factory-single-family/functions/generateSingleFamily.md +0 -35
  60. package/docs/generators/factory-single-family/index.md +0 -11
  61. package/docs/generators/generate-property/index.md +0 -11
  62. package/docs/generators/generate-property/type-aliases/GenerateProperty.md +0 -37
  63. package/docs/generators/generic-generate-property/functions/genericGenerateProperty.md +0 -35
  64. package/docs/generators/generic-generate-property/index.md +0 -11
  65. package/docs/generators/i-property-entity-options/index.md +0 -11
  66. package/docs/generators/i-property-entity-options/interfaces/IPropertyEntityOptions.md +0 -113
  67. package/docs/generators/index.md +0 -49
  68. package/docs/generators/rental-generator/classes/RentalGenerator.md +0 -248
  69. package/docs/generators/rental-generator/index.md +0 -15
  70. package/docs/generators/rental-generator/interfaces/IRentalGenerator.md +0 -65
  71. package/docs/index/index.md +0 -487
  72. package/docs/index.md +0 -258
  73. package/docs/investments/index.md +0 -85
  74. package/docs/investments/investment-reasons/enumerations/InvestmentReasons.md +0 -119
  75. package/docs/investments/investment-reasons/index.md +0 -11
  76. package/docs/investments/investment-reasons-decorator/functions/InvestmentReasonForHoldRuleTypes.md +0 -25
  77. package/docs/investments/investment-reasons-decorator/functions/InvestmentReasonForPurchaseRuleTypes.md +0 -25
  78. package/docs/investments/investment-reasons-decorator/functions/getInvestmentReasons.md +0 -33
  79. package/docs/investments/investment-reasons-decorator/functions/getInvestmentReasonsForPurchaseTypes.md +0 -25
  80. package/docs/investments/investment-reasons-decorator/index.md +0 -18
  81. package/docs/investments/investment-reasons-decorator/type-aliases/PropertyDecoratorType.md +0 -29
  82. package/docs/investments/reason-to-rule/classes/ReasonToRule.md +0 -263
  83. package/docs/investments/reason-to-rule/index.md +0 -16
  84. package/docs/investments/reason-to-rule/interfaces/IReasonToRule.md +0 -189
  85. package/docs/investments/reason-to-rule/interfaces/IReasonToRuleMeta.md +0 -33
  86. package/docs/investments/rental-investor-validator/classes/RentalInvestorValidator.md +0 -53
  87. package/docs/investments/rental-investor-validator/index.md +0 -15
  88. package/docs/investments/rental-investor-validator/interfaces/IRentalInvestorValidator.md +0 -25
  89. package/docs/investments/user-invest-result/classes/UserInvestResult.md +0 -65
  90. package/docs/investments/user-invest-result/index.md +0 -15
  91. package/docs/investments/user-invest-result/interfaces/IUserInvestResult.md +0 -25
  92. package/docs/investments/user-result-estimates/index.md +0 -11
  93. package/docs/investments/user-result-estimates/type-aliases/UserResultEstimates.md +0 -33
  94. package/docs/ledger/i-ledger-summary/index.md +0 -11
  95. package/docs/ledger/i-ledger-summary/interfaces/ILedgerSummary.md +0 -57
  96. package/docs/ledger/index.md +0 -43
  97. package/docs/ledger/ledger-collection/classes/LedgerCollection.md +0 -425
  98. package/docs/ledger/ledger-collection/index.md +0 -19
  99. package/docs/ledger/ledger-collection/interfaces/ILedgerCollection.md +0 -313
  100. package/docs/ledger/ledger-collection/type-aliases/LedgerItemPredicate.md +0 -25
  101. package/docs/ledger/ledger-item/classes/LedgerItem.md +0 -211
  102. package/docs/ledger/ledger-item/index.md +0 -11
  103. package/docs/ledger/ledger-item-type/enumerations/LedgerItemType.md +0 -57
  104. package/docs/ledger/ledger-item-type/index.md +0 -11
  105. package/docs/loans/i-loan-settings/index.md +0 -11
  106. package/docs/loans/i-loan-settings/interfaces/ILoanSetting.md +0 -33
  107. package/docs/loans/index.md +0 -19
  108. package/docs/loans/loan-settings/enumerations/LoanSettings.md +0 -41
  109. package/docs/loans/loan-settings/index.md +0 -11
  110. package/docs/modules.md +0 -88
  111. package/docs/properties/i-entity-existence/index.md +0 -11
  112. package/docs/properties/i-entity-existence/interfaces/IEntityExistence.md +0 -33
  113. package/docs/properties/i-property-entity/index.md +0 -11
  114. package/docs/properties/i-property-entity/interfaces/IPropertyEntity.md +0 -159
  115. package/docs/properties/i-rental-property-entity/index.md +0 -11
  116. package/docs/properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md +0 -416
  117. package/docs/properties/index.md +0 -43
  118. package/docs/properties/property-sort/functions/default.md +0 -35
  119. package/docs/properties/property-sort/index.md +0 -11
  120. package/docs/properties/property-type/enumerations/PropertyType.md +0 -33
  121. package/docs/properties/property-type/index.md +0 -11
  122. package/docs/properties/rental-passive-apartment/classes/RentalPassiveApartment.md +0 -558
  123. package/docs/properties/rental-passive-apartment/index.md +0 -11
  124. package/docs/properties/rental-single-family/classes/RentalSingleFamily.md +0 -639
  125. package/docs/properties/rental-single-family/index.md +0 -11
  126. package/docs/rules/eval-type/index.md +0 -11
  127. package/docs/rules/eval-type/type-aliases/EvalType.md +0 -25
  128. package/docs/rules/eval-types/functions/AtLeastOrMore.md +0 -25
  129. package/docs/rules/eval-types/functions/NoMoreThan.md +0 -25
  130. package/docs/rules/eval-types/index.md +0 -12
  131. package/docs/rules/get-enum-type-by-value/functions/getEnumTypeByValue.md +0 -23
  132. package/docs/rules/get-enum-type-by-value/index.md +0 -11
  133. package/docs/rules/get-rules/functions/getRules.md +0 -27
  134. package/docs/rules/get-rules/index.md +0 -11
  135. package/docs/rules/hold-rule-types/enumerations/HoldRuleTypes.md +0 -49
  136. package/docs/rules/hold-rule-types/index.md +0 -11
  137. package/docs/rules/i-rule/index.md +0 -11
  138. package/docs/rules/i-rule/interfaces/IRule.md +0 -41
  139. package/docs/rules/index.md +0 -67
  140. package/docs/rules/purchase-rule-types/enumerations/PurchaseRuleTypes.md +0 -78
  141. package/docs/rules/purchase-rule-types/index.md +0 -11
  142. package/docs/rules/rule-evaluation/classes/RuleEvaluation.md +0 -103
  143. package/docs/rules/rule-evaluation/index.md +0 -15
  144. package/docs/rules/rule-evaluation/interfaces/IRuleEvaluation.md +0 -73
  145. package/docs/time/default-has-met-goal-or-max-time/functions/defaultHasMetGoalOrMaxTime.md +0 -39
  146. package/docs/time/default-has-met-goal-or-max-time/index.md +0 -11
  147. package/docs/time/has-met-goal-or-max-time/index.md +0 -11
  148. package/docs/time/has-met-goal-or-max-time/type-aliases/HasMetGoalOrMaxTime.md +0 -39
  149. package/docs/time/i-historical-property/index.md +0 -11
  150. package/docs/time/i-historical-property/interfaces/IHistoricalProperty.md +0 -25
  151. package/docs/time/i-historical-reason/index.md +0 -11
  152. package/docs/time/i-historical-reason/interfaces/IHistoricalReason.md +0 -25
  153. package/docs/time/i-loop-options/index.md +0 -11
  154. package/docs/time/i-loop-options/interfaces/ILoopOptions.md +0 -71
  155. package/docs/time/i-loop-recursive-options/index.md +0 -11
  156. package/docs/time/i-loop-recursive-options/interfaces/ILoopRecursiveOptions.md +0 -33
  157. package/docs/time/index.md +0 -85
  158. package/docs/time/looper/functions/looper.md +0 -25
  159. package/docs/time/looper/index.md +0 -15
  160. package/docs/time/looper/type-aliases/LooperType.md +0 -25
  161. package/docs/time/movement/functions/movement.md +0 -27
  162. package/docs/time/movement/index.md +0 -11
  163. package/docs/time/simulate/functions/simulate.md +0 -23
  164. package/docs/time/simulate/index.md +0 -16
  165. package/docs/time/simulate/interfaces/IGenOptions.md +0 -163
  166. package/docs/time/simulate/interfaces/ISimulateOptions.md +0 -115
  167. package/docs/time/timeline/classes/Timeline.md +0 -175
  168. package/docs/time/timeline/index.md +0 -15
  169. package/docs/time/timeline/interfaces/ITimeline.md +0 -83
  170. package/docs/time/update-historical-rentals/functions/updateHistoricalRentals.md +0 -41
  171. package/docs/time/update-historical-rentals/index.md +0 -11
  172. package/docs/utils/data-are-same-date/functions/default.md +0 -25
  173. package/docs/utils/data-are-same-date/index.md +0 -11
  174. package/docs/utils/data-clone-date/functions/cloneDateUtc.md +0 -27
  175. package/docs/utils/data-clone-date/index.md +0 -11
  176. package/docs/utils/data-compare-date/functions/default.md +0 -28
  177. package/docs/utils/data-compare-date/index.md +0 -11
  178. package/docs/utils/data-number/functions/randomNumberBetween.md +0 -25
  179. package/docs/utils/data-number/index.md +0 -11
  180. package/docs/utils/data-property-entity/functions/randomPropertyEntity.md +0 -23
  181. package/docs/utils/data-property-entity/index.md +0 -15
  182. package/docs/utils/data-property-entity/type-aliases/RandomPropertyEntity.md +0 -21
  183. package/docs/utils/ensure/functions/ensureArray.md +0 -39
  184. package/docs/utils/ensure/index.md +0 -15
  185. package/docs/utils/ensure/type-aliases/EnsureArrayPredicate.md +0 -29
  186. package/docs/utils/index.md +0 -43
@@ -1,558 +0,0 @@
1
- [**@cubedelement.com/realty-investor-timeline**](../../../index.md)
2
-
3
- ---
4
-
5
- [@cubedelement.com/realty-investor-timeline](../../../modules.md) / [properties/rental-passive-apartment](../index.md) / RentalPassiveApartment
6
-
7
- # Class: RentalPassiveApartment
8
-
9
- Defined in: [properties/rental-passive-apartment.ts:24](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L24)
10
-
11
- ## Implements
12
-
13
- - [`IEntityExistence`](../../i-entity-existence/interfaces/IEntityExistence.md)
14
- - [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md)
15
-
16
- ## Constructors
17
-
18
- ### new RentalPassiveApartment()
19
-
20
- > **new RentalPassiveApartment**(): [`RentalPassiveApartment`](RentalPassiveApartment.md)
21
-
22
- #### Returns
23
-
24
- [`RentalPassiveApartment`](RentalPassiveApartment.md)
25
-
26
- ## Properties
27
-
28
- ### address
29
-
30
- > **address**: `string`
31
-
32
- Defined in: [properties/rental-passive-apartment.ts:48](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L48)
33
-
34
- address of property
35
-
36
- #### Implementation of
37
-
38
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`address`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#address)
39
-
40
- ---
41
-
42
- ### availableEndDate
43
-
44
- > **availableEndDate**: `Date`
45
-
46
- Defined in: [properties/rental-passive-apartment.ts:57](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L57)
47
-
48
- date which property was removed from the timeline.. think of it like someone else purchased this property
49
-
50
- #### Implementation of
51
-
52
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`availableEndDate`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#availableenddate)
53
-
54
- ---
55
-
56
- ### availableStartDate
57
-
58
- > **availableStartDate**: `Date`
59
-
60
- Defined in: [properties/rental-passive-apartment.ts:52](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L52)
61
-
62
- date which property was generated or was available for purchase
63
-
64
- #### Implementation of
65
-
66
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`availableStartDate`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#availablestartdate)
67
-
68
- ---
69
-
70
- ### costDownPrice
71
-
72
- > **costDownPrice**: `number`
73
-
74
- Defined in: [properties/rental-passive-apartment.ts:136](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L136)
75
-
76
- this will be the passive's contribution, which is the full chunk from one of the values for [offeredInvestmentAmounts](RentalPassiveApartment.md#offeredinvestmentamounts)
77
-
78
- #### Implementation of
79
-
80
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`costDownPrice`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#costdownprice)
81
-
82
- ---
83
-
84
- ### equityCapturePercent
85
-
86
- > **equityCapturePercent**: `number`
87
-
88
- Defined in: [properties/rental-passive-apartment.ts:141](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L141)
89
-
90
- while we have equity capture in this example, know that cap rate is what determines true value.
91
-
92
- #### Implementation of
93
-
94
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`equityCapturePercent`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#equitycapturepercent)
95
-
96
- ---
97
-
98
- ### id
99
-
100
- > **id**: `string`
101
-
102
- Defined in: [properties/rental-passive-apartment.ts:43](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L43)
103
-
104
- unique identifier
105
-
106
- #### Implementation of
107
-
108
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`id`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#id)
109
-
110
- ---
111
-
112
- ### minSellYears
113
-
114
- > **minSellYears**: `number`
115
-
116
- Defined in: [properties/rental-passive-apartment.ts:62](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L62)
117
-
118
- number of years to hold the property before being sold, default is 0. and this is used to calculated the [minSellDate](RentalPassiveApartment.md#minselldate)
119
-
120
- #### Implementation of
121
-
122
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`minSellYears`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#minsellyears)
123
-
124
- ---
125
-
126
- ### offeredInvestmentAmounts
127
-
128
- > **offeredInvestmentAmounts**: `number`[]
129
-
130
- Defined in: [properties/rental-passive-apartment.ts:38](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L38)
131
-
132
- a range of amounts that the user can invest for the property: typically these are $25,000, $50,000, $100,000, or $200,000
133
-
134
- #### Implementation of
135
-
136
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`offeredInvestmentAmounts`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#offeredinvestmentamounts)
137
-
138
- ---
139
-
140
- ### propertyType
141
-
142
- > `readonly` **propertyType**: [`PropertyType`](../../property-type/enumerations/PropertyType.md) = `PropertyType.PassiveApartment`
143
-
144
- Defined in: [properties/rental-passive-apartment.ts:25](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L25)
145
-
146
- used when evaluating rules
147
-
148
- #### Implementation of
149
-
150
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`propertyType`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#propertytype)
151
-
152
- ---
153
-
154
- ### purchaseDate
155
-
156
- > **purchaseDate**: `Date`
157
-
158
- Defined in: [properties/rental-passive-apartment.ts:160](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L160)
159
-
160
- The date the property was acquired
161
-
162
- #### Implementation of
163
-
164
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`purchaseDate`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#purchasedate)
165
-
166
- ---
167
-
168
- ### purchasePrice
169
-
170
- > **purchasePrice**: `number`
171
-
172
- Defined in: [properties/rental-passive-apartment.ts:104](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L104)
173
-
174
- At the time of purchase the ARV of the property
175
-
176
- #### Implementation of
177
-
178
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`purchasePrice`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#purchaseprice)
179
-
180
- ---
181
-
182
- ### rawCashFlow
183
-
184
- > **rawCashFlow**: `number`
185
-
186
- Defined in: [properties/rental-passive-apartment.ts:143](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L143)
187
-
188
- the cashOnCash return
189
-
190
- #### Implementation of
191
-
192
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`rawCashFlow`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#rawcashflow)
193
-
194
- ---
195
-
196
- ### sellPriceAppreciationPercent
197
-
198
- > **sellPriceAppreciationPercent**: `number` = `4`
199
-
200
- Defined in: [properties/rental-passive-apartment.ts:109](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L109)
201
-
202
- we know appreciation is incorrect for apartments, they use a cap rate
203
-
204
- #### Implementation of
205
-
206
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`sellPriceAppreciationPercent`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#sellpriceappreciationpercent)
207
-
208
- ---
209
-
210
- ### soldDate
211
-
212
- > **soldDate**: `Date`
213
-
214
- Defined in: [properties/rental-passive-apartment.ts:165](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L165)
215
-
216
- The date the property was sold
217
-
218
- #### Implementation of
219
-
220
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`soldDate`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#solddate)
221
-
222
- ## Accessors
223
-
224
- ### estimatedCashOnCashReturn
225
-
226
- #### Get Signature
227
-
228
- > **get** **estimatedCashOnCashReturn**(): `number`
229
-
230
- Defined in: [properties/rental-passive-apartment.ts:239](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L239)
231
-
232
- ##### Returns
233
-
234
- `number`
235
-
236
- #### Implementation of
237
-
238
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`estimatedCashOnCashReturn`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#estimatedcashoncashreturn)
239
-
240
- ---
241
-
242
- ### estimatedReturnOnCapitalGain
243
-
244
- #### Get Signature
245
-
246
- > **get** **estimatedReturnOnCapitalGain**(): `number`
247
-
248
- Defined in: [properties/rental-passive-apartment.ts:247](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L247)
249
-
250
- ##### Returns
251
-
252
- `number`
253
-
254
- #### Implementation of
255
-
256
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`estimatedReturnOnCapitalGain`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#estimatedreturnoncapitalgain)
257
-
258
- ---
259
-
260
- ### investmentPercent
261
-
262
- #### Get Signature
263
-
264
- > **get** **investmentPercent**(): `number`
265
-
266
- Defined in: [properties/rental-passive-apartment.ts:114](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L114)
267
-
268
- is a percentage number of xx.xx format
269
-
270
- ##### Returns
271
-
272
- `number`
273
-
274
- ---
275
-
276
- ### isOwned
277
-
278
- #### Get Signature
279
-
280
- > **get** **isOwned**(): `boolean`
281
-
282
- Defined in: [properties/rental-passive-apartment.ts:83](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L83)
283
-
284
- ##### Returns
285
-
286
- `boolean`
287
-
288
- #### Implementation of
289
-
290
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`isOwned`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#isowned)
291
-
292
- ---
293
-
294
- ### minSellDate
295
-
296
- #### Get Signature
297
-
298
- > **get** **minSellDate**(): `Date`
299
-
300
- Defined in: [properties/rental-passive-apartment.ts:67](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L67)
301
-
302
- projects when you can sell this property using [purchaseDate](RentalPassiveApartment.md#purchasedate) and [minSellYears](RentalPassiveApartment.md#minsellyears)
303
-
304
- ##### Returns
305
-
306
- `Date`
307
-
308
- ---
309
-
310
- ### rawEstimatedAnnualCashFlow
311
-
312
- #### Get Signature
313
-
314
- > **get** **rawEstimatedAnnualCashFlow**(): `number`
315
-
316
- Defined in: [properties/rental-passive-apartment.ts:153](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L153)
317
-
318
- the estimated annual cashFlow return
319
-
320
- ##### Returns
321
-
322
- `number`
323
-
324
- #### Implementation of
325
-
326
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`rawEstimatedAnnualCashFlow`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#rawestimatedannualcashflow)
327
-
328
- ---
329
-
330
- ### wasPurchased
331
-
332
- #### Get Signature
333
-
334
- > **get** **wasPurchased**(): `boolean`
335
-
336
- Defined in: [properties/rental-passive-apartment.ts:87](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L87)
337
-
338
- ##### Returns
339
-
340
- `boolean`
341
-
342
- #### Implementation of
343
-
344
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`wasPurchased`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#waspurchased)
345
-
346
- ## Methods
347
-
348
- ### canInvestByUser()
349
-
350
- > **canInvestByUser**(`user`, `date`, `properties`): [`IRentalInvestorValidator`](../../../investments/rental-investor-validator/interfaces/IRentalInvestorValidator.md)
351
-
352
- Defined in: [properties/rental-passive-apartment.ts:97](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L97)
353
-
354
- get a user, and other owned properties, to determine if a user can invest
355
-
356
- #### Parameters
357
-
358
- ##### user
359
-
360
- [`IUserInvestorCheck`](../../../account/i-user-investor-check/interfaces/IUserInvestorCheck.md)
361
-
362
- ##### date
363
-
364
- `Date`
365
-
366
- ##### properties
367
-
368
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
369
-
370
- #### Returns
371
-
372
- [`IRentalInvestorValidator`](../../../investments/rental-investor-validator/interfaces/IRentalInvestorValidator.md)
373
-
374
- #### Implementation of
375
-
376
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`canInvestByUser`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#caninvestbyuser)
377
-
378
- ---
379
-
380
- ### canSell()
381
-
382
- > **canSell**(`today`): `boolean`
383
-
384
- Defined in: [properties/rental-passive-apartment.ts:171](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L171)
385
-
386
- looks at [isOwned](RentalPassiveApartment.md#isowned) and also compares dates to see if the property can sell;
387
-
388
- #### Parameters
389
-
390
- ##### today
391
-
392
- `Date`
393
-
394
- #### Returns
395
-
396
- `boolean`
397
-
398
- #### Implementation of
399
-
400
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`canSell`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#cansell)
401
-
402
- ---
403
-
404
- ### clone()
405
-
406
- > **clone**(): [`RentalPassiveApartment`](RentalPassiveApartment.md)
407
-
408
- Defined in: [properties/rental-passive-apartment.ts:231](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L231)
409
-
410
- make a copy
411
-
412
- #### Returns
413
-
414
- [`RentalPassiveApartment`](RentalPassiveApartment.md)
415
-
416
- #### Implementation of
417
-
418
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`clone`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#clone)
419
-
420
- ---
421
-
422
- ### getCashFlowByDate()
423
-
424
- > **getCashFlowByDate**(`today`): `number`
425
-
426
- Defined in: [properties/rental-passive-apartment.ts:195](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L195)
427
-
428
- should be for quarterly distributions, so last month of the quarter
429
-
430
- #### Parameters
431
-
432
- ##### today
433
-
434
- `Date`
435
-
436
- #### Returns
437
-
438
- `number`
439
-
440
- #### Implementation of
441
-
442
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`getCashFlowByDate`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#getcashflowbydate)
443
-
444
- ---
445
-
446
- ### getEquityFromSell()
447
-
448
- > **getEquityFromSell**(`today`): `number`
449
-
450
- Defined in: [properties/rental-passive-apartment.ts:179](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L179)
451
-
452
- Determines the equity of a sale by date. Note: [soldDate](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#solddate) must be populated and today and it must match
453
-
454
- #### Parameters
455
-
456
- ##### today
457
-
458
- `Date`
459
-
460
- #### Returns
461
-
462
- `number`
463
-
464
- #### Implementation of
465
-
466
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`getEquityFromSell`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#getequityfromsell)
467
-
468
- ---
469
-
470
- ### getEstimatedMonthlyCashFlow()
471
-
472
- > **getEstimatedMonthlyCashFlow**(`today`): `number`
473
-
474
- Defined in: [properties/rental-passive-apartment.ts:211](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L211)
475
-
476
- universal method to determine cash flow on a monthly basis
477
-
478
- #### Parameters
479
-
480
- ##### today
481
-
482
- `Date`
483
-
484
- #### Returns
485
-
486
- `number`
487
-
488
- #### Implementation of
489
-
490
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`getEstimatedMonthlyCashFlow`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#getestimatedmonthlycashflow)
491
-
492
- ---
493
-
494
- ### getExpensesByDate()
495
-
496
- > **getExpensesByDate**(`today`): `number`
497
-
498
- Defined in: [properties/rental-passive-apartment.ts:224](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L224)
499
-
500
- 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
501
-
502
- #### Parameters
503
-
504
- ##### today
505
-
506
- `Date`
507
-
508
- #### Returns
509
-
510
- `number`
511
-
512
- #### Implementation of
513
-
514
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`getExpensesByDate`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#getexpensesbydate)
515
-
516
- ---
517
-
518
- ### isAvailableByDate()
519
-
520
- > **isAvailableByDate**(`today`): `boolean`
521
-
522
- Defined in: [properties/rental-passive-apartment.ts:75](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L75)
523
-
524
- used to compare [availableStartDate](RentalPassiveApartment.md#availablestartdate), [today](RentalPassiveApartment.md#today-5), and [availableEndDate](RentalPassiveApartment.md#availableenddate),
525
-
526
- #### Parameters
527
-
528
- ##### today
529
-
530
- `Date`
531
-
532
- #### Returns
533
-
534
- `boolean`
535
-
536
- #### Implementation of
537
-
538
- [`IRentalPropertyEntity`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md).[`isAvailableByDate`](../../i-rental-property-entity/interfaces/IRentalPropertyEntity.md#isavailablebydate)
539
-
540
- ---
541
-
542
- ### sellPriceByDate()
543
-
544
- > **sellPriceByDate**(`today`): `number`
545
-
546
- Defined in: [properties/rental-passive-apartment.ts:122](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/properties/rental-passive-apartment.ts#L122)
547
-
548
- lame way to apply [sellPriceAppreciationPercent](RentalPassiveApartment.md#sellpriceappreciationpercent) to rolling over the years the property was owned and uses {investmentPercent}
549
-
550
- #### Parameters
551
-
552
- ##### today
553
-
554
- `Date`
555
-
556
- #### Returns
557
-
558
- `number`
@@ -1,11 +0,0 @@
1
- [**@cubedelement.com/realty-investor-timeline**](../../index.md)
2
-
3
- ---
4
-
5
- [@cubedelement.com/realty-investor-timeline](../../modules.md) / properties/rental-passive-apartment
6
-
7
- # properties/rental-passive-apartment
8
-
9
- ## Classes
10
-
11
- - [RentalPassiveApartment](classes/RentalPassiveApartment.md)