Implemented the second round of the toResponse normalisationf for all classes

ref #67
This commit is contained in:
2021-01-03 19:18:31 +01:00
parent 58156e0d61
commit 2cad2ac2e9
12 changed files with 83 additions and 0 deletions

View File

@@ -81,4 +81,11 @@ export class GroupContact implements IAddressUser {
*/
@OneToMany(() => RunnerGroup, group => group.contact, { nullable: true })
groups: RunnerGroup[];
/**
* Turns this entity into it's response class.
*/
public toResponse() {
return new Error("NotImplemented");
}
}