@cubedelement.com/realty-investor-timeline 5.5.0 → 5.6.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/caching/value-cache.js +3 -1
- package/dist/src/ledger/ledger-collection.d.ts +4 -0
- package/dist/src/ledger/ledger-collection.js +44 -1
- package/dist/src/ledger/ledger-item.d.ts +5 -0
- package/dist/src/ledger/ledger-item.js +19 -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/data-clone-date.js +1 -1
- package/dist/src/utils/get-date-quarter.d.ts +1 -0
- package/dist/src/utils/get-date-quarter.js +5 -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,43 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [calculations/get-monthly-mortgage](../index.md) / getMonthlyMortgage
|
|
6
|
-
|
|
7
|
-
# Function: getMonthlyMortgage()
|
|
8
|
-
|
|
9
|
-
> **getMonthlyMortgage**(`purchasePrice`, `cashDownPercent`, `closingCostPercent`, `loanRatePercent`, `loanTermInYears`): `number`
|
|
10
|
-
|
|
11
|
-
Defined in: [calculations/get-monthly-mortgage.ts:12](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/calculations/get-monthly-mortgage.ts#L12)
|
|
12
|
-
|
|
13
|
-
formula for M = P [ i(1 + i)^n ] / [ (1 + i)^n – 1].
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### purchasePrice
|
|
18
|
-
|
|
19
|
-
`number`
|
|
20
|
-
|
|
21
|
-
### cashDownPercent
|
|
22
|
-
|
|
23
|
-
`number`
|
|
24
|
-
|
|
25
|
-
### closingCostPercent
|
|
26
|
-
|
|
27
|
-
`number`
|
|
28
|
-
|
|
29
|
-
### loanRatePercent
|
|
30
|
-
|
|
31
|
-
`number`
|
|
32
|
-
|
|
33
|
-
annual percentage rate of your loan, like 3.25%
|
|
34
|
-
|
|
35
|
-
### loanTermInYears
|
|
36
|
-
|
|
37
|
-
`number` = `30`
|
|
38
|
-
|
|
39
|
-
15 or 30 typically
|
|
40
|
-
|
|
41
|
-
## Returns
|
|
42
|
-
|
|
43
|
-
`number`
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / calculations/get-monthly-mortgage
|
|
6
|
-
|
|
7
|
-
# calculations/get-monthly-mortgage
|
|
8
|
-
|
|
9
|
-
## Functions
|
|
10
|
-
|
|
11
|
-
- [getMonthlyMortgage](functions/getMonthlyMortgage.md)
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [calculations/get-monthly-principal-interest-tax-interest](../index.md) / getMonthlyPrincipalInterestTaxInterest
|
|
6
|
-
|
|
7
|
-
# Function: getMonthlyPrincipalInterestTaxInterest()
|
|
8
|
-
|
|
9
|
-
> **getMonthlyPrincipalInterestTaxInterest**(`purchasePrice`, `cashDownPercent`, `closingCostPercent`, `loanRatePercent`, `loanTermInYears`): `number`
|
|
10
|
-
|
|
11
|
-
Defined in: [calculations/get-monthly-principal-interest-tax-interest.ts:12](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/calculations/get-monthly-principal-interest-tax-interest.ts#L12)
|
|
12
|
-
|
|
13
|
-
This gets you PITI!
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### purchasePrice
|
|
18
|
-
|
|
19
|
-
`number`
|
|
20
|
-
|
|
21
|
-
### cashDownPercent
|
|
22
|
-
|
|
23
|
-
`number`
|
|
24
|
-
|
|
25
|
-
### closingCostPercent
|
|
26
|
-
|
|
27
|
-
`number`
|
|
28
|
-
|
|
29
|
-
### loanRatePercent
|
|
30
|
-
|
|
31
|
-
`number`
|
|
32
|
-
|
|
33
|
-
annual percentage rate of your loan, like 3.25%
|
|
34
|
-
|
|
35
|
-
### loanTermInYears
|
|
36
|
-
|
|
37
|
-
`number` = `30`
|
|
38
|
-
|
|
39
|
-
15 or 30 typically
|
|
40
|
-
|
|
41
|
-
## Returns
|
|
42
|
-
|
|
43
|
-
`number`
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / calculations/get-monthly-principal-interest-tax-interest
|
|
6
|
-
|
|
7
|
-
# calculations/get-monthly-principal-interest-tax-interest
|
|
8
|
-
|
|
9
|
-
## Functions
|
|
10
|
-
|
|
11
|
-
- [getMonthlyPrincipalInterestTaxInterest](functions/getMonthlyPrincipalInterestTaxInterest.md)
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [calculations/get-sell-price-estimate](../index.md) / getSellPriceEstimate
|
|
6
|
-
|
|
7
|
-
# Function: getSellPriceEstimate()
|
|
8
|
-
|
|
9
|
-
> **getSellPriceEstimate**(`purchase`, `sell`, `purchasePrice`, `sellPriceAppreciationPercent`): `number`
|
|
10
|
-
|
|
11
|
-
Defined in: [calculations/get-sell-price-estimate.ts:4](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/calculations/get-sell-price-estimate.ts#L4)
|
|
12
|
-
|
|
13
|
-
## Parameters
|
|
14
|
-
|
|
15
|
-
### purchase
|
|
16
|
-
|
|
17
|
-
`Date`
|
|
18
|
-
|
|
19
|
-
### sell
|
|
20
|
-
|
|
21
|
-
`Date`
|
|
22
|
-
|
|
23
|
-
### purchasePrice
|
|
24
|
-
|
|
25
|
-
`number`
|
|
26
|
-
|
|
27
|
-
### sellPriceAppreciationPercent
|
|
28
|
-
|
|
29
|
-
`number`
|
|
30
|
-
|
|
31
|
-
## Returns
|
|
32
|
-
|
|
33
|
-
`number`
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / calculations/get-sell-price-estimate
|
|
6
|
-
|
|
7
|
-
# calculations/get-sell-price-estimate
|
|
8
|
-
|
|
9
|
-
## Functions
|
|
10
|
-
|
|
11
|
-
- [getSellPriceEstimate](functions/getSellPriceEstimate.md)
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../modules.md) / calculations
|
|
6
|
-
|
|
7
|
-
# calculations
|
|
8
|
-
|
|
9
|
-
## References
|
|
10
|
-
|
|
11
|
-
### canInvestByUser
|
|
12
|
-
|
|
13
|
-
Re-exports [canInvestByUser](can-invest-by-user/functions/canInvestByUser.md)
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
### cashOnCashReturn
|
|
18
|
-
|
|
19
|
-
Re-exports [cashOnCashReturn](cash-on-cash-return/functions/cashOnCashReturn.md)
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
### getCostDown
|
|
24
|
-
|
|
25
|
-
Re-exports [getCostDown](get-cost-down/functions/getCostDown.md)
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
### getCostDownUserInvestmentResults
|
|
30
|
-
|
|
31
|
-
Re-exports [getCostDownUserInvestmentResults](get-cost-down-user-investment-results/functions/getCostDownUserInvestmentResults.md)
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
### getEquityCaptureAmount
|
|
36
|
-
|
|
37
|
-
Re-exports [getEquityCaptureAmount](get-equity-capture-amount/functions/getEquityCaptureAmount.md)
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
### getEquityCaptureUserInvestmentResults
|
|
42
|
-
|
|
43
|
-
Re-exports [getEquityCaptureUserInvestmentResults](get-equity-capture-user-investment-results/functions/getEquityCaptureUserInvestmentResults.md)
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
### getInvestmentPercent
|
|
48
|
-
|
|
49
|
-
Re-exports [getInvestmentPercent](get-investment-percent/functions/getInvestmentPercent.md)
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
### getMonthlyMortgage
|
|
54
|
-
|
|
55
|
-
Re-exports [getMonthlyMortgage](get-monthly-mortgage/functions/getMonthlyMortgage.md)
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
### getMonthlyPrincipalInterestTaxInterest
|
|
60
|
-
|
|
61
|
-
Re-exports [getMonthlyPrincipalInterestTaxInterest](get-monthly-principal-interest-tax-interest/functions/getMonthlyPrincipalInterestTaxInterest.md)
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
### getSellPriceEstimate
|
|
66
|
-
|
|
67
|
-
Re-exports [getSellPriceEstimate](get-sell-price-estimate/functions/getSellPriceEstimate.md)
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
### returnOnCapitalGain
|
|
72
|
-
|
|
73
|
-
Re-exports [returnOnCapitalGain](return-on-capital-gain/functions/returnOnCapitalGain.md)
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [calculations/return-on-capital-gain](../index.md) / returnOnCapitalGain
|
|
6
|
-
|
|
7
|
-
# Function: returnOnCapitalGain()
|
|
8
|
-
|
|
9
|
-
> **returnOnCapitalGain**(`unrealizedCapitalGain`, `costDownPrice`): `number`
|
|
10
|
-
|
|
11
|
-
Defined in: [calculations/return-on-capital-gain.ts:9](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/calculations/return-on-capital-gain.ts#L9)
|
|
12
|
-
|
|
13
|
-
takes unrealized capital gain (equity or profit from sell) and divides it against cash down to determine return on capital gain
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### unrealizedCapitalGain
|
|
18
|
-
|
|
19
|
-
`number`
|
|
20
|
-
|
|
21
|
-
currently equity is subbed in. In actuality it's potential money gained from the sale of a property
|
|
22
|
-
|
|
23
|
-
### costDownPrice
|
|
24
|
-
|
|
25
|
-
`number`
|
|
26
|
-
|
|
27
|
-
## Returns
|
|
28
|
-
|
|
29
|
-
`number`
|
|
30
|
-
|
|
31
|
-
returns a percentage value XX.XX%
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / calculations/return-on-capital-gain
|
|
6
|
-
|
|
7
|
-
# calculations/return-on-capital-gain
|
|
8
|
-
|
|
9
|
-
## Functions
|
|
10
|
-
|
|
11
|
-
- [returnOnCapitalGain](functions/returnOnCapitalGain.md)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [formatters/currency](../index.md) / default
|
|
6
|
-
|
|
7
|
-
# Function: default()
|
|
8
|
-
|
|
9
|
-
> **default**(`value`): `number`
|
|
10
|
-
|
|
11
|
-
Defined in: [formatters/currency.ts:1](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/formatters/currency.ts#L1)
|
|
12
|
-
|
|
13
|
-
## Parameters
|
|
14
|
-
|
|
15
|
-
### value
|
|
16
|
-
|
|
17
|
-
`number`
|
|
18
|
-
|
|
19
|
-
## Returns
|
|
20
|
-
|
|
21
|
-
`number`
|
package/docs/formatters/index.md
DELETED
package/docs/generators/factory-passive-apartment/functions/generateRentalPassiveApartment.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [generators/factory-passive-apartment](../index.md) / generateRentalPassiveApartment
|
|
6
|
-
|
|
7
|
-
# Function: generateRentalPassiveApartment()
|
|
8
|
-
|
|
9
|
-
> **generateRentalPassiveApartment**(`options`, `lifeTime`, `userSettings`, `closingCostPercent`): [`RentalPassiveApartment`](../../../properties/rental-passive-apartment/classes/RentalPassiveApartment.md)
|
|
10
|
-
|
|
11
|
-
Defined in: [generators/factory-passive-apartment.ts:13](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/factory-passive-apartment.ts#L13)
|
|
12
|
-
|
|
13
|
-
used to provide exclusive info for generating a [RentalPassiveApartment](../../../properties/rental-passive-apartment/classes/RentalPassiveApartment.md)
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### options
|
|
18
|
-
|
|
19
|
-
[`IPropertyEntityOptions`](../../i-property-entity-options/interfaces/IPropertyEntityOptions.md)
|
|
20
|
-
|
|
21
|
-
### lifeTime
|
|
22
|
-
|
|
23
|
-
[`IEntityExistence`](../../../properties/i-entity-existence/interfaces/IEntityExistence.md)
|
|
24
|
-
|
|
25
|
-
### userSettings
|
|
26
|
-
|
|
27
|
-
[`ILoanSetting`](../../../loans/i-loan-settings/interfaces/ILoanSetting.md)[]
|
|
28
|
-
|
|
29
|
-
### closingCostPercent
|
|
30
|
-
|
|
31
|
-
`number`
|
|
32
|
-
|
|
33
|
-
## Returns
|
|
34
|
-
|
|
35
|
-
[`RentalPassiveApartment`](../../../properties/rental-passive-apartment/classes/RentalPassiveApartment.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / generators/factory-passive-apartment
|
|
6
|
-
|
|
7
|
-
# generators/factory-passive-apartment
|
|
8
|
-
|
|
9
|
-
## Functions
|
|
10
|
-
|
|
11
|
-
- [generateRentalPassiveApartment](functions/generateRentalPassiveApartment.md)
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [generators/factory-single-family](../index.md) / generateSingleFamily
|
|
6
|
-
|
|
7
|
-
# Function: generateSingleFamily()
|
|
8
|
-
|
|
9
|
-
> **generateSingleFamily**(`options`, `lifeTime`, `userSettings`, `closingCostPercent`): [`RentalSingleFamily`](../../../properties/rental-single-family/classes/RentalSingleFamily.md)
|
|
10
|
-
|
|
11
|
-
Defined in: [generators/factory-single-family.ts:18](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/factory-single-family.ts#L18)
|
|
12
|
-
|
|
13
|
-
used to provide exclusive info for generating a [RentalSingleFamily](../../../properties/rental-single-family/classes/RentalSingleFamily.md)
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### options
|
|
18
|
-
|
|
19
|
-
[`IPropertyEntityOptions`](../../i-property-entity-options/interfaces/IPropertyEntityOptions.md)
|
|
20
|
-
|
|
21
|
-
### lifeTime
|
|
22
|
-
|
|
23
|
-
[`IEntityExistence`](../../../properties/i-entity-existence/interfaces/IEntityExistence.md)
|
|
24
|
-
|
|
25
|
-
### userSettings
|
|
26
|
-
|
|
27
|
-
[`ILoanSetting`](../../../loans/i-loan-settings/interfaces/ILoanSetting.md)[]
|
|
28
|
-
|
|
29
|
-
### closingCostPercent
|
|
30
|
-
|
|
31
|
-
`number`
|
|
32
|
-
|
|
33
|
-
## Returns
|
|
34
|
-
|
|
35
|
-
[`RentalSingleFamily`](../../../properties/rental-single-family/classes/RentalSingleFamily.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / generators/factory-single-family
|
|
6
|
-
|
|
7
|
-
# generators/factory-single-family
|
|
8
|
-
|
|
9
|
-
## Functions
|
|
10
|
-
|
|
11
|
-
- [generateSingleFamily](functions/generateSingleFamily.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / generators/generate-property
|
|
6
|
-
|
|
7
|
-
# generators/generate-property
|
|
8
|
-
|
|
9
|
-
## Type Aliases
|
|
10
|
-
|
|
11
|
-
- [GenerateProperty](type-aliases/GenerateProperty.md)
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [generators/generate-property](../index.md) / GenerateProperty
|
|
6
|
-
|
|
7
|
-
# Type Alias: GenerateProperty()\<T\>
|
|
8
|
-
|
|
9
|
-
> **GenerateProperty**\<`T`\>: (`options`, `lifeTime`, `userSettings`, `closingCostPercent`) => `T`
|
|
10
|
-
|
|
11
|
-
Defined in: [generators/generate-property.ts:5](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/generate-property.ts#L5)
|
|
12
|
-
|
|
13
|
-
## Type Parameters
|
|
14
|
-
|
|
15
|
-
• **T** _extends_ [`IPropertyEntity`](../../../properties/i-property-entity/interfaces/IPropertyEntity.md)
|
|
16
|
-
|
|
17
|
-
## Parameters
|
|
18
|
-
|
|
19
|
-
### options
|
|
20
|
-
|
|
21
|
-
[`IPropertyEntityOptions`](../../i-property-entity-options/interfaces/IPropertyEntityOptions.md)
|
|
22
|
-
|
|
23
|
-
### lifeTime
|
|
24
|
-
|
|
25
|
-
[`IEntityExistence`](../../../properties/i-entity-existence/interfaces/IEntityExistence.md)
|
|
26
|
-
|
|
27
|
-
### userSettings
|
|
28
|
-
|
|
29
|
-
[`ILoanSetting`](../../../loans/i-loan-settings/interfaces/ILoanSetting.md)[]
|
|
30
|
-
|
|
31
|
-
### closingCostPercent
|
|
32
|
-
|
|
33
|
-
`number`
|
|
34
|
-
|
|
35
|
-
## Returns
|
|
36
|
-
|
|
37
|
-
`T`
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [generators/generic-generate-property](../index.md) / genericGenerateProperty
|
|
6
|
-
|
|
7
|
-
# Function: genericGenerateProperty()
|
|
8
|
-
|
|
9
|
-
> **genericGenerateProperty**\<`T`\>(`rentalClassType`, `options`, `lifeTime`): `T`
|
|
10
|
-
|
|
11
|
-
Defined in: [generators/generic-generate-property.ts:11](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/generic-generate-property.ts#L11)
|
|
12
|
-
|
|
13
|
-
used to dynamically create a rental and hydrate it
|
|
14
|
-
|
|
15
|
-
## Type Parameters
|
|
16
|
-
|
|
17
|
-
• **T** _extends_ [`IPropertyEntity`](../../../properties/i-property-entity/interfaces/IPropertyEntity.md)
|
|
18
|
-
|
|
19
|
-
## Parameters
|
|
20
|
-
|
|
21
|
-
### rentalClassType
|
|
22
|
-
|
|
23
|
-
() => `T`
|
|
24
|
-
|
|
25
|
-
### options
|
|
26
|
-
|
|
27
|
-
[`IPropertyEntityOptions`](../../i-property-entity-options/interfaces/IPropertyEntityOptions.md)
|
|
28
|
-
|
|
29
|
-
### lifeTime
|
|
30
|
-
|
|
31
|
-
[`IEntityExistence`](../../../properties/i-entity-existence/interfaces/IEntityExistence.md)
|
|
32
|
-
|
|
33
|
-
## Returns
|
|
34
|
-
|
|
35
|
-
`T`
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / generators/generic-generate-property
|
|
6
|
-
|
|
7
|
-
# generators/generic-generate-property
|
|
8
|
-
|
|
9
|
-
## Functions
|
|
10
|
-
|
|
11
|
-
- [genericGenerateProperty](functions/genericGenerateProperty.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../modules.md) / generators/i-property-entity-options
|
|
6
|
-
|
|
7
|
-
# generators/i-property-entity-options
|
|
8
|
-
|
|
9
|
-
## Interfaces
|
|
10
|
-
|
|
11
|
-
- [IPropertyEntityOptions](interfaces/IPropertyEntityOptions.md)
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
[**@cubedelement.com/realty-investor-timeline**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
[@cubedelement.com/realty-investor-timeline](../../../modules.md) / [generators/i-property-entity-options](../index.md) / IPropertyEntityOptions
|
|
6
|
-
|
|
7
|
-
# Interface: IPropertyEntityOptions
|
|
8
|
-
|
|
9
|
-
Defined in: [generators/i-property-entity-options.ts:1](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L1)
|
|
10
|
-
|
|
11
|
-
## Extended by
|
|
12
|
-
|
|
13
|
-
- [`IGenOptions`](../../../time/simulate/interfaces/IGenOptions.md)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### highestCashFlow
|
|
18
|
-
|
|
19
|
-
> **highestCashFlow**: `number`
|
|
20
|
-
|
|
21
|
-
Defined in: [generators/i-property-entity-options.ts:40](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L40)
|
|
22
|
-
|
|
23
|
-
I've seen as high as 630 a month, but on average, depending on the area, I've seen 450 a month
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
### highestEquityCapturePercent
|
|
28
|
-
|
|
29
|
-
> **highestEquityCapturePercent**: `number`
|
|
30
|
-
|
|
31
|
-
Defined in: [generators/i-property-entity-options.ts:20](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L20)
|
|
32
|
-
|
|
33
|
-
used to generate a random equity amount, this is the high value
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
### highestMinSellInYears
|
|
38
|
-
|
|
39
|
-
> **highestMinSellInYears**: `number`
|
|
40
|
-
|
|
41
|
-
Defined in: [generators/i-property-entity-options.ts:50](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L50)
|
|
42
|
-
|
|
43
|
-
For Texas, you should hold for 1 year for the lowest tax rate, but you might want to hold it longer
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
### highestPurchasePrice
|
|
48
|
-
|
|
49
|
-
> **highestPurchasePrice**: `number`
|
|
50
|
-
|
|
51
|
-
Defined in: [generators/i-property-entity-options.ts:10](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L10)
|
|
52
|
-
|
|
53
|
-
used to generate a random price amount, this is the high value
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
### highestSellAppreciationPercent
|
|
58
|
-
|
|
59
|
-
> **highestSellAppreciationPercent**: `number`
|
|
60
|
-
|
|
61
|
-
Defined in: [generators/i-property-entity-options.ts:30](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L30)
|
|
62
|
-
|
|
63
|
-
for single family it is as high as 14.5 %
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
### lowestCashFlow
|
|
68
|
-
|
|
69
|
-
> **lowestCashFlow**: `number`
|
|
70
|
-
|
|
71
|
-
Defined in: [generators/i-property-entity-options.ts:35](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L35)
|
|
72
|
-
|
|
73
|
-
typically 200 is the lowest
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
### lowestEquityCapturePercent
|
|
78
|
-
|
|
79
|
-
> **lowestEquityCapturePercent**: `number`
|
|
80
|
-
|
|
81
|
-
Defined in: [generators/i-property-entity-options.ts:15](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L15)
|
|
82
|
-
|
|
83
|
-
used to generate a random equity amount, this is the low value
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
### lowestMinSellInYears
|
|
88
|
-
|
|
89
|
-
> **lowestMinSellInYears**: `number`
|
|
90
|
-
|
|
91
|
-
Defined in: [generators/i-property-entity-options.ts:45](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L45)
|
|
92
|
-
|
|
93
|
-
For Texas, you should hold for 1 year for the lowest tax rate, but you might want to hold it longer
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
### lowestPurchasePrice
|
|
98
|
-
|
|
99
|
-
> **lowestPurchasePrice**: `number`
|
|
100
|
-
|
|
101
|
-
Defined in: [generators/i-property-entity-options.ts:5](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L5)
|
|
102
|
-
|
|
103
|
-
used to generate a random price amount, this is the low value
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
### lowestSellAppreciationPercent
|
|
108
|
-
|
|
109
|
-
> **lowestSellAppreciationPercent**: `number`
|
|
110
|
-
|
|
111
|
-
Defined in: [generators/i-property-entity-options.ts:25](https://github.com/kvernon/realty-investor-timeline/blob/c7446a8a5576468ac5874a2dd8323180fa97a55b/src/generators/i-property-entity-options.ts#L25)
|
|
112
|
-
|
|
113
|
-
for single family it's around 4%
|