From 5cca9a80ddc8a0ec8d4c9a35de77814a74a5d0d4 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Mon, 6 Jul 2026 02:04:04 +0200 Subject: [PATCH] chore(frontend): regenerate api types with track name search --- frontend/src/lib/api/schema.d.ts | 460 +++++++++++++++++++++++++++++-- 1 file changed, 434 insertions(+), 26 deletions(-) diff --git a/frontend/src/lib/api/schema.d.ts b/frontend/src/lib/api/schema.d.ts index 889a03a..2de12ba 100644 --- a/frontend/src/lib/api/schema.d.ts +++ b/frontend/src/lib/api/schema.d.ts @@ -4,7 +4,7 @@ */ export interface paths { - "/playLists": { + "/playlists": { parameters: { query?: never; header?: never; @@ -22,7 +22,7 @@ export interface paths { patch?: never; trace?: never; }; - "/playLists/{id}": { + "/playlists/{id}": { parameters: { query?: never; header?: never; @@ -39,7 +39,7 @@ export interface paths { patch?: never; trace?: never; }; - "/playLists/users/{userId}": { + "/playlists/users/{userId}": { parameters: { query?: never; header?: never; @@ -56,7 +56,7 @@ export interface paths { patch?: never; trace?: never; }; - "/playLists/{playlistId}/tracks": { + "/playlists/{playlistId}/tracks": { parameters: { query?: never; header?: never; @@ -73,7 +73,7 @@ export interface paths { patch?: never; trace?: never; }; - "/playLists/{playlistId}": { + "/playlists/{playlistId}": { parameters: { query?: never; header?: never; @@ -91,7 +91,7 @@ export interface paths { patch?: never; trace?: never; }; - "/playLists/upload-picture": { + "/playlists/upload-picture": { parameters: { query?: never; header?: never; @@ -108,7 +108,7 @@ export interface paths { patch?: never; trace?: never; }; - "/playLists/{playlistId}/tracks/{trackId}": { + "/playlists/{playlistId}/tracks/{trackId}": { parameters: { query?: never; header?: never; @@ -288,6 +288,80 @@ export interface components { firstName: null | string; secondName: null | string; }; + HttpValidationProblemDetails: { + type?: null | string; + title?: null | string; + /** Format: int32 */ + status?: null | number | string; + detail?: null | string; + instance?: null | string; + errors?: { + [key: string]: string[]; + }; + }; + PaginatedResponseOfPlayListApplicationResponse: { + items: components["schemas"]["PlayListApplicationResponse"][]; + /** Format: int32 */ + pageNumber: number | string; + /** Format: int32 */ + pageSize: number | string; + /** Format: int32 */ + pageCount: number | string; + /** Format: int32 */ + totalItemCount: number | string; + hasNextPage: boolean; + hasPreviousPage: boolean; + }; + PaginatedResponseOfTrackApplicationResponse: { + items: components["schemas"]["TrackApplicationResponse"][]; + /** Format: int32 */ + pageNumber: number | string; + /** Format: int32 */ + pageSize: number | string; + /** Format: int32 */ + pageCount: number | string; + /** Format: int32 */ + totalItemCount: number | string; + hasNextPage: boolean; + hasPreviousPage: boolean; + }; + PaginatedResponseOfUserApplicationResponse: { + items: components["schemas"]["UserApplicationResponse"][]; + /** Format: int32 */ + pageNumber: number | string; + /** Format: int32 */ + pageSize: number | string; + /** Format: int32 */ + pageCount: number | string; + /** Format: int32 */ + totalItemCount: number | string; + hasNextPage: boolean; + hasPreviousPage: boolean; + }; + PlayListApplicationResponse: { + /** Format: uuid */ + id: string; + name: string; + description: string; + smallImageKeyName: string; + mediumImageKeyName: string; + largeImageKeyName: string; + /** Format: date-time */ + createdAt: string; + /** Format: date-time */ + updatedAt: string; + }; + PlayListPictureUploadResponse: { + /** Format: uuid */ + intentId: string; + bucket: string; + key: string; + pictureName: string; + contentType: string; + /** Format: int32 */ + expiresInSeconds: number | string; + uploadUrl: string; + }; RequestPlayListPictureUploadRequest: { fileType: string; contentType: string; @@ -304,12 +378,56 @@ export interface components { /** Format: int64 */ expectedAudioSizeBytes?: null | number | string; }; + TrackApplicationResponse: { + /** Format: uuid */ + id: string; + title: string; + /** Format: date-time */ + createdAt: string; + /** Format: date-time */ + updatedAt: string; + }; + TrackStreamResponse: { + manifestUrl: string; + ticket: string; + /** Format: int32 */ + expiresInSeconds: number | string; + }; + TrackUploadUrlsResponse: { + /** Format: uuid */ + pictureIntentId: string; + /** Format: uuid */ + audioIntentId: string; + bucket: string; + pictureKey: string; + pictureName: string; + pictureContentType: string; + pictureUploadUrl: string; + audioKey: string; + audioName: string; + audioContentType: string; + audioUploadUrl: string; + /** Format: int32 */ + expiresInSeconds: number | string; + }; UpdatePlayListRequest: { newName: null | string; newDescription: null | string; /** Format: uuid */ newPictureIntentId: null | string; }; + UserApplicationResponse: { + /** Format: int64 */ + id: number | string; + name: string; + firstName: null | string; + secondName: null | string; + profilePictureUrl: null | string; + /** Format: date-time */ + createdAt: string; + /** Format: date-time */ + updatedAt: string; + }; }; responses: never; parameters: never; @@ -336,7 +454,9 @@ export interface operations { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json": components["schemas"]["PaginatedResponseOfPlayListApplicationResponse"]; + }; }; }; }; @@ -353,8 +473,33 @@ export interface operations { }; }; responses: { - /** @description OK */ - 200: { + /** @description Created */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PlayListApplicationResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["HttpValidationProblemDetails"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -375,6 +520,15 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PlayListApplicationResponse"]; + }; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -402,7 +556,9 @@ export interface operations { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json": components["schemas"]["PaginatedResponseOfPlayListApplicationResponse"]; + }; }; }; }; @@ -422,6 +578,15 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PaginatedResponseOfTrackApplicationResponse"]; + }; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -446,6 +611,31 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PlayListApplicationResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["HttpValidationProblemDetails"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -464,8 +654,22 @@ export interface operations { }; requestBody?: never; responses: { - /** @description OK */ - 200: { + /** @description No Content */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -488,6 +692,31 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PlayListPictureUploadResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["HttpValidationProblemDetails"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -507,8 +736,29 @@ export interface operations { }; requestBody?: never; responses: { - /** @description OK */ - 200: { + /** @description No Content */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Conflict */ + 409: { headers: { [name: string]: unknown; }; @@ -528,8 +778,22 @@ export interface operations { }; requestBody?: never; responses: { - /** @description OK */ - 200: { + /** @description No Content */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -540,6 +804,7 @@ export interface operations { GetTracks: { parameters: { query?: { + name?: string; pageNumber?: number | string; pageSize?: number | string; }; @@ -554,7 +819,9 @@ export interface operations { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json": components["schemas"]["PaginatedResponseOfTrackApplicationResponse"]; + }; }; }; }; @@ -571,8 +838,40 @@ export interface operations { }; }; responses: { - /** @description OK */ - 200: { + /** @description Created */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TrackApplicationResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["HttpValidationProblemDetails"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Conflict */ + 409: { headers: { [name: string]: unknown; }; @@ -593,6 +892,15 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TrackApplicationResponse"]; + }; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -613,6 +921,22 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TrackStreamResponse"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; }; @@ -640,7 +964,9 @@ export interface operations { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json": components["schemas"]["PaginatedResponseOfTrackApplicationResponse"]; + }; }; }; }; @@ -655,8 +981,29 @@ export interface operations { }; requestBody?: never; responses: { - /** @description OK */ - 200: { + /** @description No Content */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Conflict */ + 409: { headers: { [name: string]: unknown; }; @@ -679,6 +1026,38 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TrackUploadUrlsResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["HttpValidationProblemDetails"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Not Found */ + 404: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Conflict */ + 409: { headers: { [name: string]: unknown; }; @@ -704,7 +1083,9 @@ export interface operations { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json": components["schemas"]["PaginatedResponseOfUserApplicationResponse"]; + }; }; }; }; @@ -721,8 +1102,26 @@ export interface operations { }; }; responses: { - /** @description OK */ - 200: { + /** @description Created */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["UserApplicationResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["HttpValidationProblemDetails"]; + }; + }; + /** @description Conflict */ + 409: { headers: { [name: string]: unknown; }; @@ -743,6 +1142,15 @@ export interface operations { responses: { /** @description OK */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["UserApplicationResponse"]; + }; + }; + /** @description Not Found */ + 404: { headers: { [name: string]: unknown; };