From f378b0651add4142ce02a288c7712ab8d4fdedfa Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sun, 3 Jan 2021 17:52:36 +0100 Subject: [PATCH] Added helpful comment about the tracktime's unit ref #71 --- src/models/actions/CreateTrack.ts | 2 +- src/models/actions/UpdateTrack.ts | 2 +- src/models/entities/Track.ts | 2 +- src/models/responses/ResponseTrack.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/models/actions/CreateTrack.ts b/src/models/actions/CreateTrack.ts index 0130ad8..fdeae71 100644 --- a/src/models/actions/CreateTrack.ts +++ b/src/models/actions/CreateTrack.ts @@ -21,7 +21,7 @@ export class CreateTrack { distance: number; /** - * The minimum time a runner should take to run a lap on this track. + * The minimum time a runner should take to run a lap on this track (in seconds). * Will be used for fraud detection. */ @IsInt() diff --git a/src/models/actions/UpdateTrack.ts b/src/models/actions/UpdateTrack.ts index 6c1aec3..bc64d54 100644 --- a/src/models/actions/UpdateTrack.ts +++ b/src/models/actions/UpdateTrack.ts @@ -25,7 +25,7 @@ export class UpdateTrack { distance: number; /** - * The minimum time a runner should take to run a lap on this track. + * The minimum time a runner should take to run a lap on this track (in seconds). * Will be used for fraud detection. */ @IsInt() diff --git a/src/models/entities/Track.ts b/src/models/entities/Track.ts index 3f05262..df18762 100644 --- a/src/models/entities/Track.ts +++ b/src/models/entities/Track.ts @@ -40,7 +40,7 @@ export class Track { distance: number; /** - * The minimum time a runner should take to run a lap on this track. + * The minimum time a runner should take to run a lap on this track (in seconds). * Will be used for fraud detection. */ @Column({ nullable: true }) diff --git a/src/models/responses/ResponseTrack.ts b/src/models/responses/ResponseTrack.ts index 2ae34ff..27ef813 100644 --- a/src/models/responses/ResponseTrack.ts +++ b/src/models/responses/ResponseTrack.ts @@ -25,7 +25,7 @@ export class ResponseTrack { distance: number; /** - * The minimum time a runner should take to run a lap on this track. + * The minimum time a runner should take to run a lap on this track (in seconds). * Will be used for fraud detection. */ @IsInt()