Changed organisation* to organization* in descriptions, comments and endoints ✏
ref #117
This commit is contained in:
@@ -33,7 +33,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
|
||||
teams: RunnerTeam[];
|
||||
|
||||
/**
|
||||
* The organisation's registration key.
|
||||
* The organization's registration key.
|
||||
* If registration is disabled this is null.
|
||||
*/
|
||||
@IsString()
|
||||
@@ -42,7 +42,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
|
||||
registrationKey?: string;
|
||||
|
||||
/**
|
||||
* Is registration enabled for the organisation?
|
||||
* Is registration enabled for the organization?
|
||||
*/
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
|
||||
@@ -9,7 +9,7 @@ import { ResponseRunnerOrganisation } from './ResponseRunnerOrganisation';
|
||||
export class ResponseRunnerTeam extends ResponseRunnerGroup {
|
||||
|
||||
/**
|
||||
* The runnerTeam's parent group (organisation).
|
||||
* The runnerTeam's parent group (organization).
|
||||
*/
|
||||
@IsObject()
|
||||
@IsNotEmpty()
|
||||
|
||||
@@ -26,7 +26,7 @@ export class ResponseStats {
|
||||
total_teams: number;
|
||||
|
||||
/**
|
||||
* The amount of organisations registered in the system.
|
||||
* The amount of organizations registered in the system.
|
||||
*/
|
||||
@IsInt()
|
||||
total_orgs: number;
|
||||
|
||||
@@ -35,8 +35,8 @@ export class ResponseStatsOrgnisation {
|
||||
donationAmount: number;
|
||||
|
||||
/**
|
||||
* Creates a new organisation stats response from a organisation
|
||||
* @param org The organisation whoes response shall be generated - the following relations have to be resolved: runners, runners.scans, runners.distanceDonations, runners.scans.track, teams, teams.runners, teams.runners.scans, teams.runners.distanceDonations, teams.runners.scans.track
|
||||
* Creates a new organization stats response from a organization
|
||||
* @param org The organization whoes response shall be generated - the following relations have to be resolved: runners, runners.scans, runners.distanceDonations, runners.scans.track, teams, teams.runners, teams.runners.scans, teams.runners.distanceDonations, teams.runners.scans.track
|
||||
*/
|
||||
public constructor(org: RunnerOrganisation) {
|
||||
this.name = org.name;
|
||||
|
||||
Reference in New Issue
Block a user