taxtank-core 1.0.9 → 1.0.11

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": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^19.0.2",
@@ -1,9 +1,8 @@
1
1
  import { VehicleClaim as VehicleClaimBase } from '../../../db/Models/vehicle/vehicle-claim';
2
2
  import { VehicleClaim } from '../../../models';
3
3
  import { RestService } from '../rest';
4
- import { Observable } from 'rxjs';
5
4
  import { UserRolesEnum } from 'taxtank-core/common';
6
- import { BestVehicleLogbookCollection, VehicleClaimCollection } from '../../../collections';
5
+ import { VehicleClaimCollection } from '../../../collections';
7
6
  import { IEventListener } from '../../../interfaces';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class VehicleClaimService extends RestService<VehicleClaimBase, VehicleClaim, VehicleClaimCollection> implements IEventListener {
@@ -14,11 +13,6 @@ export declare class VehicleClaimService extends RestService<VehicleClaimBase, V
14
13
  roles: UserRolesEnum[];
15
14
  constructor(environment: any);
16
15
  listenEvents(): void;
17
- /**
18
- * Update workUsage for all vehicle claims if logbook best period changed
19
- * @TODO Vik: Best period move this and related logic to backend
20
- */
21
- updateWorkUsage(bestLogbooks: BestVehicleLogbookCollection): Observable<VehicleClaim[]>;
22
16
  static ɵfac: i0.ɵɵFactoryDeclaration<VehicleClaimService, never>;
23
17
  static ɵprov: i0.ɵɵInjectableDeclaration<VehicleClaimService>;
24
18
  }