taxtank-core 0.29.15 → 0.29.17
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/bundles/taxtank-core.umd.js +20 -4
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/report/property/property-report-item-depreciation.collection.js +2 -2
- package/esm2015/lib/db/Models/user/client-income-types.js +3 -3
- package/esm2015/lib/services/http/property/property.service.js +1 -2
- package/esm2015/lib/services/http/rest/rest.service.js +2 -2
- package/esm2015/lib/services/http/user/user.service.js +17 -1
- package/fesm2015/taxtank-core.js +19 -4
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Models/user/client-income-types.d.ts +2 -2
- package/lib/services/http/rest/rest.service.d.ts +1 -1
- package/lib/services/http/user/user.service.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientDetails } from './client-details';
|
|
2
|
-
import {
|
|
3
|
-
export declare class ClientIncomeTypes extends
|
|
2
|
+
import { ObservableModel } from '../observable-model';
|
|
3
|
+
export declare class ClientIncomeTypes extends ObservableModel {
|
|
4
4
|
salary?: boolean;
|
|
5
5
|
property?: boolean;
|
|
6
6
|
sole?: boolean;
|
|
@@ -115,7 +115,7 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
|
|
|
115
115
|
/**
|
|
116
116
|
* Subscribe to http events and run callback.
|
|
117
117
|
* CSE - Cleint Sent Events
|
|
118
|
-
* @param
|
|
118
|
+
* @param modelClass
|
|
119
119
|
* @param methods The list of http methods should be listened for
|
|
120
120
|
* @param callback The function to be called when event triggered
|
|
121
121
|
*/
|
|
@@ -4,6 +4,8 @@ import { User } from '../../../models';
|
|
|
4
4
|
import { EventDispatcherService, SseService } from '../../event';
|
|
5
5
|
import { JwtService } from '../../auth';
|
|
6
6
|
import { IEventListener } from '../../../interfaces';
|
|
7
|
+
import { ObservableModel } from '../../../db/Models';
|
|
8
|
+
import { HttpMethod } from '../rest';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
/**
|
|
9
11
|
* Service to work with user
|
|
@@ -81,6 +83,15 @@ export declare class UserService implements IEventListener {
|
|
|
81
83
|
* capital losses updates on property sale
|
|
82
84
|
*/
|
|
83
85
|
private listenPropertySale;
|
|
86
|
+
/**
|
|
87
|
+
* @TODO remove when the class refactored on RestService
|
|
88
|
+
* Subscribe to http events and run callback.
|
|
89
|
+
* CSE - Cleint Sent Events
|
|
90
|
+
* @param modelClass
|
|
91
|
+
* @param methods The list of http methods should be listened for
|
|
92
|
+
* @param callback The function to be called when event triggered
|
|
93
|
+
*/
|
|
94
|
+
protected listenCSE(modelClass: typeof ObservableModel, methods: HttpMethod[], callback: Function): void;
|
|
84
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
85
96
|
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
86
97
|
}
|