Deduplicate picture flows: shared upload issuer, cover query and picture source change

This commit is contained in:
2026-09-24 12:04:54 +02:00
parent 4b147d9ee3
commit 75d0c0817e
55 changed files with 667 additions and 1163 deletions
+13 -24
View File
@@ -752,17 +752,6 @@ export interface components {
updatedAt: string;
coverTrackIds: string[];
};
AlbumPictureUploadResponse: {
/** Format: uuid */
intentId: string;
bucket: string;
key: string;
pictureName: string;
contentType: string;
/** Format: int32 */
expiresInSeconds: number | string;
uploadUrl: string;
};
AvailableGenreResponse: {
genre: components["schemas"]["Genre"];
incompatibleWith: components["schemas"]["Genre"][];
@@ -889,6 +878,17 @@ export interface components {
hasNextPage: boolean;
hasPreviousPage: boolean;
};
PictureUploadResponse: {
/** Format: uuid */
intentId: string;
bucket: string;
key: string;
pictureName: string;
contentType: string;
/** Format: int32 */
expiresInSeconds: number | string;
uploadUrl: string;
};
PlaybackPublicConfigResponse: {
allowAnonymousListening: boolean;
/** Format: int32 */
@@ -914,17 +914,6 @@ export interface components {
/** Format: double */
durationSeconds: number | string;
};
PlayListPictureUploadResponse: {
/** Format: uuid */
intentId: string;
bucket: string;
key: string;
pictureName: string;
contentType: string;
/** Format: int32 */
expiresInSeconds: number | string;
uploadUrl: string;
};
/** @enum {unknown} */
PlayListVisibility: "Private" | "Public";
/** @enum {unknown} */
@@ -1301,7 +1290,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["AlbumPictureUploadResponse"];
"application/json": components["schemas"]["PictureUploadResponse"];
};
};
/** @description Bad Request */
@@ -2041,7 +2030,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["PlayListPictureUploadResponse"];
"application/json": components["schemas"]["PictureUploadResponse"];
};
};
/** @description Bad Request */