Update backend API schema
This commit is contained in:
10
app/composeables/api/models/addLocalTrackRequest.ts
Normal file
10
app/composeables/api/models/addLocalTrackRequest.ts
Normal file
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Generated by orval v7.16.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI definition
|
||||
* OpenAPI spec version: v0
|
||||
*/
|
||||
|
||||
export interface AddLocalTrackRequest {
|
||||
source: Blob;
|
||||
}
|
||||
@ -5,7 +5,12 @@
|
||||
* OpenAPI spec version: v0
|
||||
*/
|
||||
|
||||
export * from './addLocalTrackRequest';
|
||||
export * from './playlistCreateDTO';
|
||||
export * from './playlistCreateRequest';
|
||||
export * from './playlistReadDTO';
|
||||
export * from './playlistReadResponse';
|
||||
export * from './playlistTrackResponse';
|
||||
export * from './readParams';
|
||||
export * from './trackResponse';
|
||||
export * from './uploadBody';
|
||||
10
app/composeables/api/models/playlistCreateRequest.ts
Normal file
10
app/composeables/api/models/playlistCreateRequest.ts
Normal file
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Generated by orval v7.16.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI definition
|
||||
* OpenAPI spec version: v0
|
||||
*/
|
||||
|
||||
export interface PlaylistCreateRequest {
|
||||
title?: string;
|
||||
}
|
||||
14
app/composeables/api/models/playlistReadResponse.ts
Normal file
14
app/composeables/api/models/playlistReadResponse.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by orval v7.16.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI definition
|
||||
* OpenAPI spec version: v0
|
||||
*/
|
||||
|
||||
export interface PlaylistReadResponse {
|
||||
id?: number;
|
||||
ownerId?: number;
|
||||
title?: string;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
15
app/composeables/api/models/playlistTrackResponse.ts
Normal file
15
app/composeables/api/models/playlistTrackResponse.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by orval v7.16.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI definition
|
||||
* OpenAPI spec version: v0
|
||||
*/
|
||||
|
||||
export interface PlaylistTrackResponse {
|
||||
trackId?: number;
|
||||
title?: string;
|
||||
artist?: string;
|
||||
audioPath?: string;
|
||||
durationSeconds?: number;
|
||||
fileName?: string;
|
||||
}
|
||||
15
app/composeables/api/models/trackResponse.ts
Normal file
15
app/composeables/api/models/trackResponse.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by orval v7.16.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI definition
|
||||
* OpenAPI spec version: v0
|
||||
*/
|
||||
|
||||
export interface TrackResponse {
|
||||
trackId?: number;
|
||||
title?: string;
|
||||
artist?: string;
|
||||
audioPath?: string;
|
||||
durationSeconds?: number;
|
||||
fileName?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user