taxtank-core 0.13.3 → 0.13.6
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 +16 -16
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/collection.js +3 -2
- package/esm2015/lib/db/Enums/property/property-category-list.enum.js +3 -2
- package/esm2015/lib/db/Models/property/property-sale/property-sale.js +1 -1
- package/esm2015/lib/models/property/property.js +2 -2
- package/esm2015/lib/models/service-subscription/service-price.js +6 -2
- package/esm2015/lib/models/service-subscription/service-subscription-item.js +3 -3
- package/esm2015/lib/models/service-subscription/service-subscription.js +3 -3
- package/esm2015/public-api.js +2 -1
- package/fesm2015/taxtank-core.js +12 -12
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/collection.d.ts +1 -1
- package/lib/db/Enums/property/property-category-list.enum.d.ts +1 -1
- package/lib/db/Models/property/property-sale/property-sale.d.ts +1 -0
- package/lib/models/service-subscription/service-price.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2015/lib/db/Enums/subscription/service-price-list.enum.js +0 -5
- package/lib/db/Enums/subscription/service-price-list.enum.d.ts +0 -3
|
@@ -31,7 +31,7 @@ export declare class Collection<Model extends object> implements Iterable<Model>
|
|
|
31
31
|
getIds(): number[];
|
|
32
32
|
getBy(path: string, value: any): this;
|
|
33
33
|
getByIds(ids: number[]): Model[];
|
|
34
|
-
findBy(path: string, value: any): Model;
|
|
34
|
+
findBy(path: string, value: any): Model | null;
|
|
35
35
|
findIndexBy(path: string, value: any): number;
|
|
36
36
|
/**
|
|
37
37
|
* Get total sum of items by field
|
|
@@ -4,6 +4,7 @@ import { PropertyShare } from '../property-share';
|
|
|
4
4
|
import { AbstractModel } from '../../abstract-model';
|
|
5
5
|
export declare class PropertySale extends AbstractModel {
|
|
6
6
|
id?: number;
|
|
7
|
+
holdingCosts?: number;
|
|
7
8
|
structuralImprovementsWDV?: number;
|
|
8
9
|
buildingAtCostClaimed?: number;
|
|
9
10
|
settlementDate?: Date;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServicePrice as BaseServicePrice } from '../../db/Models/subscription/service-price';
|
|
2
2
|
import { ServiceProduct } from './service-product';
|
|
3
|
+
import { ServiceSubscriptionItem } from './service-subscription-item';
|
|
3
4
|
export declare class ServicePrice extends BaseServicePrice {
|
|
4
5
|
product: ServiceProduct;
|
|
6
|
+
toSubscriptionItem(): ServiceSubscriptionItem;
|
|
5
7
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export * from './lib/db/Enums/subscription/service-payment-status.enum';
|
|
|
93
93
|
export * from './lib/db/Enums/subscription/service-price-recurring-interval.enum';
|
|
94
94
|
export * from './lib/db/Enums/subscription/service-price-type.enum';
|
|
95
95
|
export * from './lib/db/Enums/subscription/service-product-status.enum';
|
|
96
|
+
export * from './lib/db/Enums/subscription/service-product-id.enum';
|
|
96
97
|
export * from './lib/db/Enums/subscription/service-subscription-status.enum';
|
|
97
98
|
export * from './lib/db/Enums/spare-document-spare-type.enum';
|
|
98
99
|
export * from './lib/db/Enums/tank-type.enum';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export var ServicePriceListEnum;
|
|
2
|
-
(function (ServicePriceListEnum) {
|
|
3
|
-
ServicePriceListEnum[ServicePriceListEnum["PROPERTIES"] = 5] = "PROPERTIES";
|
|
4
|
-
})(ServicePriceListEnum || (ServicePriceListEnum = {}));
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1wcmljZS1saXN0LmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvc3Vic2NyaXB0aW9uL3NlcnZpY2UtcHJpY2UtbGlzdC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLG9CQUVYO0FBRkQsV0FBWSxvQkFBb0I7SUFDOUIsMkVBQWMsQ0FBQTtBQUNoQixDQUFDLEVBRlcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUUvQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFNlcnZpY2VQcmljZUxpc3RFbnVtIHtcbiAgUFJPUEVSVElFUyA9IDUsXG59XG4iXX0=
|