taxtank-core 0.33.103 → 0.33.104

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.103",
3
+ "version": "0.33.104",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -7,10 +7,10 @@ export declare class PropertyForecast extends AbstractModel {
7
7
  income?: number;
8
8
  depreciation?: number;
9
9
  interest?: number;
10
- deletedAt?: Date;
11
- createdAt?: Date;
12
- updatedAt?: Date;
13
10
  property?: Property;
14
11
  claimPercent?: number;
15
12
  isManual?: boolean;
13
+ deletedAt?: Date;
14
+ createdAt?: Date;
15
+ updatedAt?: Date;
16
16
  }
@@ -1,16 +1,14 @@
1
1
  import { Property } from '../../models';
2
2
  import { AbstractForm } from '../abstract.form';
3
- import { PropertyValuationForm } from './property-valuation.form';
4
- import { PropertyShareForm } from './property-share.form';
5
3
  import { PropertyForecastForm } from './property-forecast.form';
6
- import { PropertyCategoryMovementForm } from './property-category-movement-form';
4
+ import { IEventListener } from '../../interfaces';
7
5
  /**
8
6
  * Form class for the single new property
9
7
  */
10
- export declare class PropertyAddForm extends AbstractForm<Property> {
8
+ export declare class PropertyAddForm extends AbstractForm<Property> implements IEventListener {
11
9
  constructor();
12
- get valuationForm(): PropertyValuationForm;
13
10
  get forecastForm(): PropertyForecastForm;
14
- get shareForm(): PropertyShareForm;
15
- get categoryMovementForm(): PropertyCategoryMovementForm;
11
+ submit(): Property;
12
+ listenEvents(): void;
13
+ listenCategoryChanges(): void;
16
14
  }
@@ -1,5 +1,6 @@
1
1
  export declare enum SharesightDetailsMessagesEnum {
2
- CONNECTED = "We're syncing your ShareSight trades, which might take a few minutes.",
2
+ HOLDING_CONNECTED = "We're syncing your ShareSight trades, which might take a few minutes.",
3
+ PROPERTY_CONNECTED = "We're syncing your properties, which might take a few minutes.",
3
4
  DISCONNECTED = "Sharesight disconnected",
4
5
  DISCONNECT_CONFIRM = "Disconnecting ShareSight means we can no longer sync data. Any trades already imported will become editable in TaxTank.",
5
6
  ERROR = "Sharesight connection error"
@@ -14,4 +14,5 @@ export declare class SharesightDetails extends AbstractModel implements Sharesig
14
14
  isDisconnected(): boolean;
15
15
  isConnected(isHolding: boolean): boolean;
16
16
  isHolding(): boolean;
17
+ get connectedMessage(): string;
17
18
  }
@@ -5,7 +5,6 @@ export declare class PropertyForecast extends PropertyForecastBase {
5
5
  interest: number;
6
6
  depreciation: number;
7
7
  loanBalance: number;
8
- marketValue: number;
9
8
  financialYear: number;
10
9
  /**
11
10
  * Get cash position
@@ -17,9 +16,4 @@ export declare class PropertyForecast extends PropertyForecastBase {
17
16
  * Tax Position = Income - Expense - Interest - Depreciation
18
17
  */
19
18
  get taxPosition(): number;
20
- /**
21
- * Get rental return percent
22
- * Rental Return = Income / Market Value
23
- */
24
- get rentalReturn(): number;
25
19
  }