Added a Response interface

ref #132
This commit is contained in:
Nicolai Ort 2021-01-29 16:49:19 +01:00
parent 581ca5ff6c
commit e44cc4c4cb

View File

@ -0,0 +1,13 @@
import { ResponseObjectType } from '../enums/ResponseObjectType';
/**
* Defines the repsonse interface.
* This forces all response classes to implement the interfaces properties.
*/
export interface IResponse {
/**
* The responseType.
* This contains the type of class/entity this response contains.
*/
responseType: ResponseObjectType;
}