taxtank-core 0.7.1 → 0.7.2

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.
@@ -32,6 +32,10 @@ export declare class Collection<Model extends object> implements Iterable<Model>
32
32
  */
33
33
  sumBy(field: string): number;
34
34
  toArray(): Model[];
35
+ /**
36
+ * Filter items by specific provided callback
37
+ */
38
+ filter(callback: (item: Model) => boolean): Collection<Model>;
35
39
  get first(): Model;
36
40
  get last(): Model;
37
41
  }
@@ -0,0 +1,4 @@
1
+ export declare enum DepreciationLvpRateEnum {
2
+ FIRST_YEAR = 0.1875,
3
+ DEFAULT = 0.375
4
+ }
@@ -13,6 +13,7 @@ export declare class Depreciation extends DepreciationBase implements ITank, IRe
13
13
  static LOW_VALUE_POOL_THRESHOLD: number;
14
14
  purchaseDate: Date;
15
15
  date: Date;
16
+ lowValuePoolDate: Date;
16
17
  writeOffManualDate: Date;
17
18
  writeOffDate: Date;
18
19
  depreciationCapitalProject: DepreciationCapitalProject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
package/public-api.d.ts CHANGED
@@ -155,6 +155,7 @@ export * from './lib/models/color/alphabet-colors.enum';
155
155
  export * from './lib/models/data-table/data-table';
156
156
  export * from './lib/models/data-table/data-table-column';
157
157
  export * from './lib/models/depreciation/depreciation';
158
+ export * from './lib/models/depreciation/depreciation-lvp-rate.enum';
158
159
  export * from './lib/models/depreciation/depreciation-capital-project';
159
160
  export * from './lib/models/depreciation/depreciation-forecast';
160
161
  export * from './lib/models/depreciation/depreciation-group.enum';