taxtank-core 0.33.111 → 0.33.112

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.111",
3
+ "version": "0.33.112",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -28,7 +28,6 @@ export declare class Property extends ObservableModel {
28
28
  user?: User;
29
29
  address?: Address;
30
30
  category?: PropertyCategory;
31
- valuation: PropertyValuation;
32
31
  forecasts?: PropertyForecast[];
33
32
  shares?: PropertyShare[];
34
33
  valuations?: PropertyValuation[];
@@ -3,5 +3,5 @@ import { Depreciation } from '../../models';
3
3
  export declare class DepreciationForm extends TransactionBaseForm<Depreciation> {
4
4
  constructor(depreciation: Depreciation, registeredForGst: boolean);
5
5
  watchChartAccounts(): void;
6
- submit(data?: object, includeDisabledFields?: boolean): Depreciation;
6
+ submit(data?: object): Depreciation;
7
7
  }
@@ -35,7 +35,6 @@ export declare class Property extends PropertyBase {
35
35
  forecasts: PropertyForecast[];
36
36
  shares: PropertyShare[];
37
37
  valuations: PropertyValuation[];
38
- valuation: PropertyValuation;
39
38
  user: User;
40
39
  subscriptions: PropertySubscription[];
41
40
  file: AppFile;
@@ -58,6 +57,8 @@ export declare class Property extends PropertyBase {
58
57
  get shareRatio(): number;
59
58
  getCurrentSubscription(): PropertySubscription;
60
59
  getForecastByYear(year: number): PropertyForecast;
60
+ getValuationByYear(year: number): PropertyValuation;
61
+ get valuation(): PropertyValuation;
61
62
  get isShared(): boolean;
62
63
  /**
63
64
  * @TODO consider to move methods related with propertySale to separated class, since used just in one module yet
@@ -1,10 +1,9 @@
1
1
  import { Property as PropertyBase } from '../../../db/Models';
2
2
  import { Observable } from 'rxjs';
3
- import { Property } from '../../../models';
3
+ import { Property, PropertyCorelogicStatsInterface } from '../../../models';
4
4
  import { IEventListener } from '../../../interfaces';
5
5
  import { RestMethod, RestService } from '../rest';
6
6
  import { PropertyCollection } from '../../../collections';
7
- import { PropertyCorelogicStatsInterface } from '../../../models/property/property-corelogic-stats.interface';
8
7
  import * as i0 from "@angular/core";
9
8
  /**
10
9
  * @Todo Alex remove functionality related to PropertyShare