Implemented the first route of the toResponse normalisationf for all classes

ref #67
This commit is contained in:
2021-01-03 19:09:06 +01:00
parent a4b0dfe43e
commit 58156e0d61
8 changed files with 62 additions and 0 deletions

View File

@@ -52,4 +52,11 @@ export class UserAction {
@IsOptional()
@IsString()
changed: string;
/**
* Turns this entity into it's response class.
*/
public toResponse() {
return new Error("NotImplemented");
}
}