taxtank-core 1.0.8 → 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
@@ -5,7 +5,7 @@ export declare class PropertyCategoryMovementCollection extends Collection<Prope
|
|
5
5
|
* @TODO TT-2355 Alex refactor propertyForecast, use separated api (then I can remove property from param)
|
6
6
|
*/
|
7
7
|
filterByForecast(property: Property, forecast: PropertyForecast): this;
|
8
|
-
|
8
|
+
isShared(): boolean;
|
9
9
|
/**
|
10
10
|
* active movement by property based on selected year
|
11
11
|
*/
|
@@ -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 {
|
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
|
}
|