This commit is contained in:
9
dist/services/TrackService.d.ts
vendored
9
dist/services/TrackService.d.ts
vendored
@@ -5,13 +5,14 @@ import type { Track } from '../models/Track';
|
||||
export declare class TrackService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all tracks.
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerGetAll(): Promise<Array<ResponseTrack>>;
|
||||
/**
|
||||
* Post
|
||||
* Create a new track object (id will be generated automagicly).
|
||||
* Create a new track. <br> Please remember that the track's distance must be greater than 0.
|
||||
* @param requestBody CreateTrack
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
@@ -19,7 +20,7 @@ export declare class TrackService {
|
||||
static trackControllerPost(requestBody?: CreateTrack): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Get one
|
||||
* Returns a track of a specified id (if it exists)
|
||||
* Lists all information about the track whose id got provided.
|
||||
* @param id
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
@@ -27,7 +28,7 @@ export declare class TrackService {
|
||||
static trackControllerGetOne(id: number): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Put
|
||||
* Update a track object (id can't be changed).
|
||||
* Update the track whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody Track
|
||||
* @returns ResponseTrack
|
||||
@@ -36,7 +37,7 @@ export declare class TrackService {
|
||||
static trackControllerPut(id: number, requestBody?: Track): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Remove
|
||||
* Delete a specified track (if it exists).
|
||||
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @returns ResponseTrack
|
||||
* @returns ResponseEmpty
|
||||
|
||||
Reference in New Issue
Block a user