@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,31 +0,0 @@
1
- [**@cubedelement.com/realty-investor-timeline**](../index.md)
2
-
3
- ---
4
-
5
- [@cubedelement.com/realty-investor-timeline](../modules.md) / account
6
-
7
- # account
8
-
9
- ## References
10
-
11
- ### IUser
12
-
13
- Re-exports [IUser](user/interfaces/IUser.md)
14
-
15
- ---
16
-
17
- ### IUserGoal
18
-
19
- Re-exports [IUserGoal](i-user-goal/interfaces/IUserGoal.md)
20
-
21
- ---
22
-
23
- ### IUserInvestorCheck
24
-
25
- Re-exports [IUserInvestorCheck](i-user-investor-check/interfaces/IUserInvestorCheck.md)
26
-
27
- ---
28
-
29
- ### User
30
-
31
- Re-exports [User](user/classes/User.md)
@@ -1,312 +0,0 @@
1
- [**@cubedelement.com/realty-investor-timeline**](../../../index.md)
2
-
3
- ---
4
-
5
- [@cubedelement.com/realty-investor-timeline](../../../modules.md) / [account/user](../index.md) / User
6
-
7
- # Class: User
8
-
9
- Defined in: [account/user.ts:32](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L32)
10
-
11
- It's the user... as an interface!
12
-
13
- ## Implements
14
-
15
- - [`IUser`](../interfaces/IUser.md)
16
-
17
- ## Constructors
18
-
19
- ### new User()
20
-
21
- > **new User**(`ledgerCollection`): [`User`](User.md)
22
-
23
- Defined in: [account/user.ts:75](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L75)
24
-
25
- #### Parameters
26
-
27
- ##### ledgerCollection
28
-
29
- [`ILedgerCollection`](../../../ledger/ledger-collection/interfaces/ILedgerCollection.md)
30
-
31
- #### Returns
32
-
33
- [`User`](User.md)
34
-
35
- ## Properties
36
-
37
- ### holdRules
38
-
39
- > **holdRules**: [`IRuleEvaluation`](../../../rules/rule-evaluation/interfaces/IRuleEvaluation.md)\<[`HoldRuleTypes`](../../../rules/hold-rule-types/enumerations/HoldRuleTypes.md)\>[]
40
-
41
- Defined in: [account/user.ts:82](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L82)
42
-
43
- a system to determine how to hold onto the properties the longest. This scenario says as long as it meets 1 rule
44
-
45
- #### Implementation of
46
-
47
- [`IUser`](../interfaces/IUser.md).[`holdRules`](../interfaces/IUser.md#holdrules)
48
-
49
- ---
50
-
51
- ### ledgerCollection
52
-
53
- > `readonly` **ledgerCollection**: [`ILedgerCollection`](../../../ledger/ledger-collection/interfaces/ILedgerCollection.md)
54
-
55
- Defined in: [account/user.ts:36](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L36)
56
-
57
- the collection which is used to keep a balance sheet.
58
-
59
- #### Implementation of
60
-
61
- [`IUser`](../interfaces/IUser.md).[`ledgerCollection`](../interfaces/IUser.md#ledgercollection)
62
-
63
- ---
64
-
65
- ### loanSettings
66
-
67
- > **loanSettings**: [`ILoanSetting`](../../../loans/i-loan-settings/interfaces/ILoanSetting.md)[]
68
-
69
- Defined in: [account/user.ts:41](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L41)
70
-
71
- a collection of loan settings for how to get a loan for single family or some other kind of property
72
-
73
- #### Implementation of
74
-
75
- [`IUser`](../interfaces/IUser.md).[`loanSettings`](../interfaces/IUser.md#loansettings)
76
-
77
- ---
78
-
79
- ### monthlyIncomeAmountGoal
80
-
81
- > **monthlyIncomeAmountGoal**: `number`
82
-
83
- Defined in: [account/user.ts:46](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L46)
84
-
85
- used to determine how much you need want for monthly expenses
86
-
87
- #### Implementation of
88
-
89
- [`IUser`](../interfaces/IUser.md).[`monthlyIncomeAmountGoal`](../interfaces/IUser.md#monthlyincomeamountgoal)
90
-
91
- ---
92
-
93
- ### monthlySavedAmount
94
-
95
- > **monthlySavedAmount**: `number`
96
-
97
- Defined in: [account/user.ts:73](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L73)
98
-
99
- an amount which the user can save per month after expenses, like, after my pay check I could put this amount into savings
100
-
101
- #### Implementation of
102
-
103
- [`IUser`](../interfaces/IUser.md).[`monthlySavedAmount`](../interfaces/IUser.md#monthlysavedamount)
104
-
105
- ---
106
-
107
- ### purchaseRules
108
-
109
- > **purchaseRules**: [`IRuleEvaluation`](../../../rules/rule-evaluation/interfaces/IRuleEvaluation.md)\<[`PurchaseRuleTypes`](../../../rules/purchase-rule-types/enumerations/PurchaseRuleTypes.md)\>[]
110
-
111
- Defined in: [account/user.ts:87](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L87)
112
-
113
- a system to weed out the properties you don't want. This scenario says as long as it meets 1 rule
114
-
115
- #### Implementation of
116
-
117
- [`IUser`](../interfaces/IUser.md).[`purchaseRules`](../interfaces/IUser.md#purchaserules)
118
-
119
- ## Methods
120
-
121
- ### clone()
122
-
123
- > **clone**(): [`IUser`](../interfaces/IUser.md)
124
-
125
- Defined in: [account/user.ts:171](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L171)
126
-
127
- #### Returns
128
-
129
- [`IUser`](../interfaces/IUser.md)
130
-
131
- #### Implementation of
132
-
133
- [`IUser`](../interfaces/IUser.md).[`clone`](../interfaces/IUser.md#clone)
134
-
135
- ---
136
-
137
- ### getAvailableSavings()
138
-
139
- > **getAvailableSavings**(`date`, `properties`): `number`
140
-
141
- Defined in: [account/user.ts:155](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L155)
142
-
143
- should be the total balance - savings, using [getMinimumSavings](User.md#getminimumsavings), for determining monthly cash to save for single family properties
144
-
145
- #### Parameters
146
-
147
- ##### date
148
-
149
- `Date`
150
-
151
- ##### properties
152
-
153
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
154
-
155
- #### Returns
156
-
157
- `number`
158
-
159
- #### Implementation of
160
-
161
- [`IUser`](../interfaces/IUser.md).[`getAvailableSavings`](../interfaces/IUser.md#getavailablesavings)
162
-
163
- ---
164
-
165
- ### getEstimatedMonthlyCashFlow()
166
-
167
- > **getEstimatedMonthlyCashFlow**(`today`, `properties`): `number`
168
-
169
- Defined in: [account/user.ts:57](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L57)
170
-
171
- method used to help determine if you have met your expenses
172
-
173
- #### Parameters
174
-
175
- ##### today
176
-
177
- `Date`
178
-
179
- ##### properties
180
-
181
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
182
-
183
- #### Returns
184
-
185
- `number`
186
-
187
- #### Implementation of
188
-
189
- [`IUser`](../interfaces/IUser.md).[`getEstimatedMonthlyCashFlow`](../interfaces/IUser.md#getestimatedmonthlycashflow)
190
-
191
- ---
192
-
193
- ### getMinimumSavings()
194
-
195
- > **getMinimumSavings**(`date`, `properties`): `number`
196
-
197
- Defined in: [account/user.ts:137](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L137)
198
-
199
- used to retrieve the amount required to keep in savings
200
-
201
- #### Parameters
202
-
203
- ##### date
204
-
205
- `Date`
206
-
207
- ##### properties
208
-
209
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
210
-
211
- #### Returns
212
-
213
- `number`
214
-
215
- #### Implementation of
216
-
217
- [`IUser`](../interfaces/IUser.md).[`getMinimumSavings`](../interfaces/IUser.md#getminimumsavings)
218
-
219
- ---
220
-
221
- ### hasMinimumSavings()
222
-
223
- > **hasMinimumSavings**(`date`, `properties`): `boolean`
224
-
225
- Defined in: [account/user.ts:119](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L119)
226
-
227
- a way to determine if the user has enough money. This is different because with
228
- single family homes, you would have to save a certain amount of monthly mortgage
229
-
230
- #### Parameters
231
-
232
- ##### date
233
-
234
- `Date`
235
-
236
- ##### properties
237
-
238
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
239
-
240
- #### Returns
241
-
242
- `boolean`
243
-
244
- #### Implementation of
245
-
246
- [`IUser`](../interfaces/IUser.md).[`hasMinimumSavings`](../interfaces/IUser.md#hasminimumsavings)
247
-
248
- ---
249
-
250
- ### hasMoneyToInvest()
251
-
252
- > **hasMoneyToInvest**(`date`, `properties`, `contribution`?): `boolean`
253
-
254
- Defined in: [account/user.ts:97](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L97)
255
-
256
- based upon [getMinimumSavings](User.md#getminimumsavings), it checks to see if there is an amount remaining that can be used along with the [contribution](User.md#contribution).
257
-
258
- #### Parameters
259
-
260
- ##### date
261
-
262
- `Date`
263
-
264
- ##### properties
265
-
266
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
267
-
268
- ##### contribution?
269
-
270
- `number`
271
-
272
- #### Returns
273
-
274
- `boolean`
275
-
276
- #### Example
277
-
278
- ```ts
279
- availableSavings - contribution >= 0;
280
- ```
281
-
282
- #### Implementation of
283
-
284
- [`IUser`](../interfaces/IUser.md).[`hasMoneyToInvest`](../interfaces/IUser.md#hasmoneytoinvest)
285
-
286
- ---
287
-
288
- ### metMonthlyGoal()
289
-
290
- > **metMonthlyGoal**(`today`, `properties`): `boolean`
291
-
292
- Defined in: [account/user.ts:53](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L53)
293
-
294
- method used to help determine if you have met your expenses
295
-
296
- #### Parameters
297
-
298
- ##### today
299
-
300
- `Date`
301
-
302
- ##### properties
303
-
304
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
305
-
306
- #### Returns
307
-
308
- `boolean`
309
-
310
- #### Implementation of
311
-
312
- [`IUser`](../interfaces/IUser.md).[`metMonthlyGoal`](../interfaces/IUser.md#metmonthlygoal)
@@ -1,15 +0,0 @@
1
- [**@cubedelement.com/realty-investor-timeline**](../../index.md)
2
-
3
- ---
4
-
5
- [@cubedelement.com/realty-investor-timeline](../../modules.md) / account/user
6
-
7
- # account/user
8
-
9
- ## Classes
10
-
11
- - [User](classes/User.md)
12
-
13
- ## Interfaces
14
-
15
- - [IUser](interfaces/IUser.md)
@@ -1,282 +0,0 @@
1
- [**@cubedelement.com/realty-investor-timeline**](../../../index.md)
2
-
3
- ---
4
-
5
- [@cubedelement.com/realty-investor-timeline](../../../modules.md) / [account/user](../index.md) / IUser
6
-
7
- # Interface: IUser
8
-
9
- Defined in: [account/user.ts:16](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L16)
10
-
11
- It's the user... as an interface!
12
-
13
- ## Extends
14
-
15
- - [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md)
16
-
17
- ## Properties
18
-
19
- ### holdRules
20
-
21
- > **holdRules**: [`IRuleEvaluation`](../../../rules/rule-evaluation/interfaces/IRuleEvaluation.md)\<[`HoldRuleTypes`](../../../rules/hold-rule-types/enumerations/HoldRuleTypes.md)\>[]
22
-
23
- Defined in: [account/i-user-investor-check.ts:23](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L23)
24
-
25
- a system to determine how to hold onto the properties the longest. This scenario says as long as it meets 1 rule
26
-
27
- #### Inherited from
28
-
29
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`holdRules`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#holdrules)
30
-
31
- ---
32
-
33
- ### ledgerCollection
34
-
35
- > `readonly` **ledgerCollection**: [`ILedgerCollection`](../../../ledger/ledger-collection/interfaces/ILedgerCollection.md)
36
-
37
- Defined in: [account/i-user-investor-check.ts:13](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L13)
38
-
39
- the collection which is used to keep a balance sheet.
40
-
41
- #### Inherited from
42
-
43
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`ledgerCollection`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#ledgercollection)
44
-
45
- ---
46
-
47
- ### loanSettings
48
-
49
- > **loanSettings**: [`ILoanSetting`](../../../loans/i-loan-settings/interfaces/ILoanSetting.md)[]
50
-
51
- Defined in: [account/i-user-investor-check.ts:18](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L18)
52
-
53
- a collection of loan settings for how to get a loan for single family or some other kind of property
54
-
55
- #### Inherited from
56
-
57
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`loanSettings`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#loansettings)
58
-
59
- ---
60
-
61
- ### monthlyIncomeAmountGoal
62
-
63
- > **monthlyIncomeAmountGoal**: `number`
64
-
65
- Defined in: [account/i-user-goal.ts:7](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-goal.ts#L7)
66
-
67
- used to determine how much you need want for monthly expenses
68
-
69
- #### Inherited from
70
-
71
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`monthlyIncomeAmountGoal`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#monthlyincomeamountgoal)
72
-
73
- ---
74
-
75
- ### monthlySavedAmount
76
-
77
- > **monthlySavedAmount**: `number`
78
-
79
- Defined in: [account/user.ts:20](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L20)
80
-
81
- an amount which the user can save per month after expenses, like, after my pay check I could put this amount into savings
82
-
83
- ---
84
-
85
- ### purchaseRules
86
-
87
- > **purchaseRules**: [`IRuleEvaluation`](../../../rules/rule-evaluation/interfaces/IRuleEvaluation.md)\<[`PurchaseRuleTypes`](../../../rules/purchase-rule-types/enumerations/PurchaseRuleTypes.md)\>[]
88
-
89
- Defined in: [account/i-user-investor-check.ts:60](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L60)
90
-
91
- a system to weed out the properties you don't want. This scenario says as long as it meets 1 rule
92
-
93
- #### Inherited from
94
-
95
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`purchaseRules`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#purchaserules)
96
-
97
- ## Methods
98
-
99
- ### clone()
100
-
101
- > **clone**(): [`IUser`](IUser.md)
102
-
103
- Defined in: [account/user.ts:29](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L29)
104
-
105
- #### Returns
106
-
107
- [`IUser`](IUser.md)
108
-
109
- ---
110
-
111
- ### getAvailableSavings()
112
-
113
- > **getAvailableSavings**(`date`, `properties`): `number`
114
-
115
- Defined in: [account/i-user-investor-check.ts:55](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L55)
116
-
117
- should be the total balance - savings, using [getMinimumSavings](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#getminimumsavings), for determining monthly cash to save for single family properties
118
-
119
- #### Parameters
120
-
121
- ##### date
122
-
123
- `Date`
124
-
125
- ##### properties
126
-
127
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
128
-
129
- #### Returns
130
-
131
- `number`
132
-
133
- #### Inherited from
134
-
135
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`getAvailableSavings`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#getavailablesavings)
136
-
137
- ---
138
-
139
- ### getEstimatedMonthlyCashFlow()
140
-
141
- > **getEstimatedMonthlyCashFlow**(`today`, `properties`): `number`
142
-
143
- Defined in: [account/user.ts:27](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/user.ts#L27)
144
-
145
- method used to help determine if you have met your expenses
146
-
147
- #### Parameters
148
-
149
- ##### today
150
-
151
- `Date`
152
-
153
- ##### properties
154
-
155
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
156
-
157
- #### Returns
158
-
159
- `number`
160
-
161
- ---
162
-
163
- ### getMinimumSavings()
164
-
165
- > **getMinimumSavings**(`date`, `properties`): `number`
166
-
167
- Defined in: [account/i-user-investor-check.ts:48](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L48)
168
-
169
- used to retrieve the amount required to keep in savings
170
-
171
- #### Parameters
172
-
173
- ##### date
174
-
175
- `Date`
176
-
177
- ##### properties
178
-
179
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
180
-
181
- #### Returns
182
-
183
- `number`
184
-
185
- #### Inherited from
186
-
187
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`getMinimumSavings`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#getminimumsavings)
188
-
189
- ---
190
-
191
- ### hasMinimumSavings()
192
-
193
- > **hasMinimumSavings**(`date`, `properties`): `boolean`
194
-
195
- Defined in: [account/i-user-investor-check.ts:41](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L41)
196
-
197
- a way to determine if the user has enough money. This is different because with
198
- single family homes, you would have to save a certain amount of monthly mortgage
199
-
200
- #### Parameters
201
-
202
- ##### date
203
-
204
- `Date`
205
-
206
- ##### properties
207
-
208
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
209
-
210
- #### Returns
211
-
212
- `boolean`
213
-
214
- #### Inherited from
215
-
216
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`hasMinimumSavings`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#hasminimumsavings)
217
-
218
- ---
219
-
220
- ### hasMoneyToInvest()
221
-
222
- > **hasMoneyToInvest**(`date`, `properties`, `contribution`?): `boolean`
223
-
224
- Defined in: [account/i-user-investor-check.ts:33](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-investor-check.ts#L33)
225
-
226
- based upon [getMinimumSavings](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#getminimumsavings), it checks to see if there is an amount remaining that can be used along with the [contribution](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#contribution).
227
-
228
- #### Parameters
229
-
230
- ##### date
231
-
232
- `Date`
233
-
234
- ##### properties
235
-
236
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
237
-
238
- ##### contribution?
239
-
240
- `number`
241
-
242
- #### Returns
243
-
244
- `boolean`
245
-
246
- #### Example
247
-
248
- ```ts
249
- availableSavings - contribution >= 0;
250
- ```
251
-
252
- #### Inherited from
253
-
254
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`hasMoneyToInvest`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#hasmoneytoinvest)
255
-
256
- ---
257
-
258
- ### metMonthlyGoal()
259
-
260
- > **metMonthlyGoal**(`today`, `properties`): `boolean`
261
-
262
- Defined in: [account/i-user-goal.ts:14](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/account/i-user-goal.ts#L14)
263
-
264
- method used to help determine if you have met your expenses
265
-
266
- #### Parameters
267
-
268
- ##### today
269
-
270
- `Date`
271
-
272
- ##### properties
273
-
274
- [`IRentalPropertyEntity`](../../../properties/i-rental-property-entity/interfaces/IRentalPropertyEntity.md)[]
275
-
276
- #### Returns
277
-
278
- `boolean`
279
-
280
- #### Inherited from
281
-
282
- [`IUserInvestorCheck`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md).[`metMonthlyGoal`](../../i-user-investor-check/interfaces/IUserInvestorCheck.md#metmonthlygoal)
@@ -1,19 +0,0 @@
1
- [**@cubedelement.com/realty-investor-timeline**](../index.md)
2
-
3
- ---
4
-
5
- [@cubedelement.com/realty-investor-timeline](../modules.md) / caching
6
-
7
- # caching
8
-
9
- ## References
10
-
11
- ### IValueCache
12
-
13
- Re-exports [IValueCache](value-cache/interfaces/IValueCache.md)
14
-
15
- ---
16
-
17
- ### ValueCache
18
-
19
- Re-exports [ValueCache](value-cache/classes/ValueCache.md)