Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a95012ad3b |
@ -45,6 +45,9 @@ export abstract class GenericService<I> {
|
|||||||
this._updateLastChanged(entityId);
|
this._updateLastChanged(entityId);
|
||||||
return this.getAll<R>(`${this._defaultModelPath}/${entityId}`, queryParams);
|
return this.getAll<R>(`${this._defaultModelPath}/${entityId}`, queryParams);
|
||||||
}
|
}
|
||||||
|
getForTemplateId<R = I[]>(id: string, ...args: unknown[]): Observable<R> {
|
||||||
|
return this.getAll<R>(`${this._defaultModelPath}/dossier-template/${id}`);
|
||||||
|
}
|
||||||
|
|
||||||
delete(body: unknown, modelPath = this._defaultModelPath, queryParams?: List<QueryParam>): Observable<unknown> {
|
delete(body: unknown, modelPath = this._defaultModelPath, queryParams?: List<QueryParam>): Observable<unknown> {
|
||||||
let path = `/${this._serviceName}/${encodeURI(modelPath)}`;
|
let path = `/${this._serviceName}/${encodeURI(modelPath)}`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user