diff --git a/front/src/generated/types.ts b/front/src/generated/types.ts index 4bd0b65c4..9ea7e9984 100644 --- a/front/src/generated/types.ts +++ b/front/src/generated/types.ts @@ -2233,7 +2233,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/playlists/{id}/": { + "/api/v1/playlists/{uuid}/": { parameters: { query?: never; header?: never; @@ -2249,7 +2249,7 @@ export interface paths { patch: operations["partial_update_playlist"]; trace?: never; }; - "/api/v1/playlists/{id}/add/": { + "/api/v1/playlists/{uuid}/add/": { parameters: { query?: never; header?: never; @@ -2265,7 +2265,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/playlists/{id}/albums/": { + "/api/v1/playlists/{uuid}/albums/": { parameters: { query?: never; header?: never; @@ -2281,7 +2281,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/playlists/{id}/artists/": { + "/api/v1/playlists/{uuid}/artists/": { parameters: { query?: never; header?: never; @@ -2297,7 +2297,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/playlists/{id}/clear/": { + "/api/v1/playlists/{uuid}/clear/": { parameters: { query?: never; header?: never; @@ -2313,7 +2313,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/playlists/{id}/move/": { + "/api/v1/playlists/{uuid}/move/": { parameters: { query?: never; header?: never; @@ -2329,7 +2329,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/playlists/{id}/remove/": { + "/api/v1/playlists/{uuid}/remove/": { parameters: { query?: never; header?: never; @@ -2345,7 +2345,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/playlists/{id}/tracks/": { + "/api/v1/playlists/{uuid}/tracks/": { parameters: { query?: never; header?: never; @@ -5226,7 +5226,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v2/playlists/{id}/": { + "/api/v2/playlists/{uuid}/": { parameters: { query?: never; header?: never; @@ -5242,7 +5242,7 @@ export interface paths { patch: operations["partial_update_playlist_2"]; trace?: never; }; - "/api/v2/playlists/{id}/add/": { + "/api/v2/playlists/{uuid}/add/": { parameters: { query?: never; header?: never; @@ -5258,7 +5258,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v2/playlists/{id}/albums/": { + "/api/v2/playlists/{uuid}/albums/": { parameters: { query?: never; header?: never; @@ -5274,7 +5274,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v2/playlists/{id}/artists/": { + "/api/v2/playlists/{uuid}/artists/": { parameters: { query?: never; header?: never; @@ -5290,7 +5290,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v2/playlists/{id}/clear/": { + "/api/v2/playlists/{uuid}/clear/": { parameters: { query?: never; header?: never; @@ -5306,7 +5306,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v2/playlists/{id}/move/": { + "/api/v2/playlists/{uuid}/move/": { parameters: { query?: never; header?: never; @@ -5322,7 +5322,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v2/playlists/{id}/remove/": { + "/api/v2/playlists/{uuid}/remove/": { parameters: { query?: never; header?: never; @@ -5338,7 +5338,7 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v2/playlists/{id}/tracks/": { + "/api/v2/playlists/{uuid}/tracks/": { parameters: { query?: never; header?: never; @@ -8497,7 +8497,10 @@ export interface components { summary?: components["schemas"]["ContentRequest"] | null; }; Playlist: { - readonly id: number; + /** Format: uuid */ + readonly uuid: string; + /** Format: uri */ + readonly fid: string; name: string; readonly actor: components["schemas"]["APIActor"]; /** Format: date-time */ @@ -8510,6 +8513,8 @@ export interface components { readonly duration: number; readonly is_playable: boolean; description?: string | null; + /** Format: uri */ + readonly library: string; }; PlaylistAddManyRequest: { tracks: number[]; @@ -14142,8 +14147,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14167,8 +14171,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14199,8 +14202,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14222,8 +14224,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14254,8 +14255,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14286,8 +14286,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14311,8 +14310,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14336,8 +14334,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14359,8 +14356,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14391,8 +14387,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14423,8 +14418,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -14460,8 +14454,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21155,8 +21148,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21180,8 +21172,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21212,8 +21203,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21235,8 +21225,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21267,8 +21256,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21299,8 +21287,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21324,8 +21311,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21349,8 +21335,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21372,8 +21357,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21404,8 +21388,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21436,8 +21419,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; }; @@ -21473,8 +21455,7 @@ export interface operations { }; header?: never; path: { - /** @description A unique integer value identifying this playlist. */ - id: number; + uuid: string; }; cookie?: never; };