taxtank-core 1.0.6 → 1.0.7
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,7 +1,8 @@
|
|
1
1
|
import { PropertyDocument as PropertyDocumentBase } from '../../../../db/Models';
|
2
2
|
import { RestMethod, RestService } from '../../rest';
|
3
|
-
import { PropertyDocument } from '../../../../models';
|
3
|
+
import { AppFile, Property, PropertyDocument } from '../../../../models';
|
4
4
|
import { Collection } from '../../../../collections';
|
5
|
+
import { Observable } from 'rxjs';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
/**
|
7
8
|
* Class for work with Property Documents
|
@@ -11,6 +12,7 @@ export declare class PropertyDocumentService extends RestService<PropertyDocumen
|
|
11
12
|
collectionClass: typeof Collection;
|
12
13
|
endpointUri: string;
|
13
14
|
disabledMethods: RestMethod[];
|
15
|
+
postFiles(property: Property, files: AppFile[]): Observable<PropertyDocument[]>;
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDocumentService, never>;
|
15
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyDocumentService>;
|
16
18
|
}
|
@@ -85,6 +85,10 @@ export declare abstract class RestService<BaseModel, Model extends AbstractModel
|
|
85
85
|
* Create multiple new Model instances in database
|
86
86
|
*/
|
87
87
|
postBatch(models: Model[]): Observable<Model[]>;
|
88
|
+
/**
|
89
|
+
* Create multiple new Model instances in database for resources which support only single entity post
|
90
|
+
*/
|
91
|
+
postParallel(models: Model[]): Observable<Model[]>;
|
88
92
|
/**
|
89
93
|
* Change an existing Model instance in database
|
90
94
|
*/
|
@@ -93,6 +97,10 @@ export declare abstract class RestService<BaseModel, Model extends AbstractModel
|
|
93
97
|
* Change multiple existing Model instances in database
|
94
98
|
*/
|
95
99
|
putBatch(models: Model[]): Observable<Model[]>;
|
100
|
+
/**
|
101
|
+
* Change multiple existing Model instances in database for resources which support only single entity put
|
102
|
+
*/
|
103
|
+
putParallel(models: Model[]): Observable<Model[]>;
|
96
104
|
/**
|
97
105
|
* Remove a Model instance from database
|
98
106
|
*/
|
@@ -105,6 +113,10 @@ export declare abstract class RestService<BaseModel, Model extends AbstractModel
|
|
105
113
|
* @todo: remove deleteBatch after backend refactor
|
106
114
|
*/
|
107
115
|
deleteBatchV2(models: Model[]): Observable<void>;
|
116
|
+
/**
|
117
|
+
* Remove multiple Model instances from database for resources which support only single entity delete
|
118
|
+
*/
|
119
|
+
deleteParallel(models: Model[]): Observable<void>;
|
108
120
|
/**
|
109
121
|
* method with messages that can be redefined in other classes to customize httpErrorMessages
|
110
122
|
*/
|