Alpha Release 0.1.0 - Contract generation #11

Merged
niggl merged 52 commits from dev into main 2021-02-07 15:53:09 +00:00
Showing only changes of commit 388d8a2dc6 - Show all commits

View File

@ -24,13 +24,5 @@ export class RunnerGroup {
*/
@IsObject()
@IsOptional()
parentGroup?: RunnerGroup
/**
* Returns the groups full name in the format: org.name/team.name (or just org).
*/
public get fullName(): string {
if (!this.parentGroup) { return this.name; }
return `${this.name}/${this.parentGroup.fullName}`;
}
parentGroup?: RunnerGroup;
}