fix circular dependency issues relating to request models

This commit is contained in:
Art Lowel
2022-03-22 13:29:23 +01:00
parent 143b7c3e0d
commit 716cea376d
190 changed files with 403 additions and 322 deletions

View File

@@ -0,0 +1,14 @@
import { RestRequest } from './rest-request.model';
import { GenericConstructor } from '../shared/generic-constructor';
import { ResponseParsingService } from './parsing.service';
/**
* A RestRequest with a method to retrieve the ResponseParsingService needed for its response
*/
export abstract class RestRequestWithResponseParser extends RestRequest {
/**
* Get the ResponseParsingService needed to parse the response to this request
*/
abstract getResponseParser(): GenericConstructor<ResponseParsingService>;
}