Changed organisation* to organization* in descriptions, comments and endoints ✏
ref #117
This commit is contained in:
@@ -16,7 +16,7 @@ import { Scan } from "./Scan";
|
||||
export class Runner extends Participant {
|
||||
/**
|
||||
* The runner's associated group.
|
||||
* Can be a runner team or organisation.
|
||||
* Can be a runner team or organization.
|
||||
*/
|
||||
@IsNotEmpty()
|
||||
@ManyToOne(() => RunnerGroup, group => group.runners)
|
||||
|
||||
@@ -14,21 +14,21 @@ import { RunnerTeam } from "./RunnerTeam";
|
||||
export class RunnerOrganisation extends RunnerGroup {
|
||||
|
||||
/**
|
||||
* The organisations's address.
|
||||
* The organizations's address.
|
||||
*/
|
||||
@IsOptional()
|
||||
@Column(type => Address)
|
||||
address?: Address;
|
||||
|
||||
/**
|
||||
* The organisation's teams.
|
||||
* Used to link teams to a organisation.
|
||||
* The organization's teams.
|
||||
* Used to link teams to a organization.
|
||||
*/
|
||||
@OneToMany(() => RunnerTeam, team => team.parentGroup, { nullable: true })
|
||||
teams: RunnerTeam[];
|
||||
|
||||
/**
|
||||
* The organisation's api key for self-service registration.
|
||||
* The organization's api key for self-service registration.
|
||||
* The api key can be used for the /runners/register/:token endpoint.
|
||||
* Is has to be base64 encoded if used via the api (to keep url-safety).
|
||||
*/
|
||||
@@ -38,7 +38,7 @@ export class RunnerOrganisation extends RunnerGroup {
|
||||
key?: string;
|
||||
|
||||
/**
|
||||
* Returns all runners associated with this organisation (directly or indirectly via teams).
|
||||
* Returns all runners associated with this organization (directly or indirectly via teams).
|
||||
*/
|
||||
public get allRunners(): Runner[] {
|
||||
let returnRunners: Runner[] = new Array<Runner>();
|
||||
|
||||
Reference in New Issue
Block a user