taxtank-core 0.33.40 → 0.33.41
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/functions/mat-options-functions.mjs +2 -2
- package/esm2022/src/lib/services/http/property/property-messages.enum.mjs +4 -1
- package/esm2022/src/lib/services/http/property/property.service.mjs +12 -2
- package/fesm2022/taxtank-core.mjs +12 -1
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/services/http/property/property-messages.enum.d.ts +4 -1
- package/src/lib/services/http/property/property.service.d.ts +1 -0
package/package.json
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
export declare enum PropertyMessagesEnum {
|
2
2
|
PHOTO_UPDATED = "Property photo updated",
|
3
|
-
PROPERTY_UPDATED = "Property updated"
|
3
|
+
PROPERTY_UPDATED = "Property updated",
|
4
|
+
DELETE_CONFIRM = "Are you sure you want to delete property?",
|
5
|
+
DELETE = "Property deleted",
|
6
|
+
DELETE_500 = "Only properties without transactions can be removed"
|
4
7
|
}
|
@@ -40,6 +40,7 @@ export declare class PropertyService extends RestService<PropertyBase, Property,
|
|
40
40
|
* Deactivate activated property
|
41
41
|
*/
|
42
42
|
deactivate(property: Property): Observable<void>;
|
43
|
+
delete(property: Property): Observable<void>;
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyService, never>;
|
44
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyService>;
|
45
46
|
}
|