@@ -1,11 +1,19 @@
|
||||
import { IsInt, IsOptional, IsString } from "class-validator";
|
||||
import { TrackLapTimeCantBeNegativeError } from '../../errors/TrackErrors';
|
||||
import { Track } from '../entities/Track';
|
||||
import { ResponseObjectType } from '../enums/ResponseObjectType';
|
||||
import { IResponse } from './IResponse';
|
||||
|
||||
/**
|
||||
* Defines the track response.
|
||||
*/
|
||||
export class ResponseTrack {
|
||||
export class ResponseTrack implements IResponse {
|
||||
/**
|
||||
* The responseType.
|
||||
* This contains the type of class/entity this response contains.
|
||||
*/
|
||||
responseType: ResponseObjectType = ResponseObjectType.TRACK;
|
||||
|
||||
/**
|
||||
* The track's id.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user