taxtank-core 0.28.73 → 0.28.75

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.
@@ -1,5 +1,6 @@
1
1
  import { AbstractForm } from '../abstract.form';
2
2
  import { SoleInvoiceItem } from '../../models';
3
3
  export declare class SoleInvoiceItemForm extends AbstractForm<SoleInvoiceItem> {
4
+ static maxDescriptionLength: number;
4
5
  constructor(item: SoleInvoiceItem);
5
6
  }
@@ -1,11 +1,17 @@
1
1
  import { RestService } from '../../rest/rest.service';
2
2
  import { SoleBusinessLoss as SoleBusinessLossBase } from '../../../../db/Models/sole/sole-business-loss';
3
3
  import { SoleBusinessLoss } from '../../../../models';
4
+ import { IEventListener } from '../../../../interfaces/event-listener.interface';
4
5
  import * as i0 from "@angular/core";
5
- export declare class SoleBusinessLossService extends RestService<SoleBusinessLossBase, SoleBusinessLoss> {
6
+ export declare class SoleBusinessLossService extends RestService<SoleBusinessLossBase, SoleBusinessLoss> implements IEventListener {
6
7
  modelClass: typeof SoleBusinessLoss;
7
8
  url: string;
8
9
  isHydra: boolean;
10
+ listenEvents(): void;
11
+ /**
12
+ * Listen business created because we create prior year losses together with business
13
+ */
14
+ private listenBusinessCreated;
9
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SoleBusinessLossService, never>;
10
16
  static ɵprov: i0.ɵɵInjectableDeclaration<SoleBusinessLossService>;
11
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.73",
3
+ "version": "0.28.75",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",