update front type

This commit is contained in:
Petitminion 2025-04-27 17:01:30 +02:00
parent a67b793301
commit 324e63af40
1 changed files with 73 additions and 70 deletions

View File

@ -2233,7 +2233,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/": { "/api/v1/playlists/{uuid}/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -2249,7 +2249,7 @@ export interface paths {
patch: operations["partial_update_playlist"]; patch: operations["partial_update_playlist"];
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/add/": { "/api/v1/playlists/{uuid}/add/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -2265,7 +2265,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/albums/": { "/api/v1/playlists/{uuid}/albums/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -2281,7 +2281,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/artists/": { "/api/v1/playlists/{uuid}/artists/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -2297,7 +2297,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/clear/": { "/api/v1/playlists/{uuid}/clear/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -2313,7 +2313,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/move/": { "/api/v1/playlists/{uuid}/move/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -2329,7 +2329,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/remove/": { "/api/v1/playlists/{uuid}/remove/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -2345,7 +2345,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v1/playlists/{id}/tracks/": { "/api/v1/playlists/{uuid}/tracks/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5226,7 +5226,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/": { "/api/v2/playlists/{uuid}/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5242,7 +5242,7 @@ export interface paths {
patch: operations["partial_update_playlist_2"]; patch: operations["partial_update_playlist_2"];
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/add/": { "/api/v2/playlists/{uuid}/add/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5258,7 +5258,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/albums/": { "/api/v2/playlists/{uuid}/albums/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5274,7 +5274,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/artists/": { "/api/v2/playlists/{uuid}/artists/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5290,7 +5290,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/clear/": { "/api/v2/playlists/{uuid}/clear/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5306,7 +5306,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/move/": { "/api/v2/playlists/{uuid}/move/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5322,7 +5322,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/remove/": { "/api/v2/playlists/{uuid}/remove/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -5338,7 +5338,7 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/api/v2/playlists/{id}/tracks/": { "/api/v2/playlists/{uuid}/tracks/": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -6714,6 +6714,28 @@ export interface components {
type: string; type: string;
id: string; id: string;
}; };
ImportMetadata: {
title: string;
description?: string | null;
/** Format: uuid */
mbid?: string | null;
copyright?: string | null;
position?: number | null;
tags?: string[];
license?: string | null;
};
ImportMetadataRequest: {
title: string;
description?: string | null;
/** Format: uuid */
mbid?: string | null;
copyright?: string | null;
position?: number | null;
tags?: string[];
license?: string | null;
cover?: string | null;
album?: string | null;
};
/** /**
* @description * `draft` - Draft * @description * `draft` - Draft
* * `pending` - Pending * * `pending` - Pending
@ -7418,7 +7440,7 @@ export interface components {
import_date?: string | null; import_date?: string | null;
import_details?: unknown; import_details?: unknown;
import_status?: components["schemas"]["ImportStatusEnum"]; import_status?: components["schemas"]["ImportStatusEnum"];
import_metadata?: unknown; import_metadata: components["schemas"]["ImportMetadata"];
import_reference?: string; import_reference?: string;
track: components["schemas"]["ManageNestedTrack"]; track: components["schemas"]["ManageNestedTrack"];
library: components["schemas"]["ManageNestedLibrary"]; library: components["schemas"]["ManageNestedLibrary"];
@ -7447,7 +7469,7 @@ export interface components {
import_date?: string | null; import_date?: string | null;
import_details?: unknown; import_details?: unknown;
import_status?: components["schemas"]["ImportStatusEnum"]; import_status?: components["schemas"]["ImportStatusEnum"];
import_metadata?: unknown; import_metadata: components["schemas"]["ImportMetadataRequest"];
import_reference?: string; import_reference?: string;
track: components["schemas"]["ManageNestedTrackRequest"]; track: components["schemas"]["ManageNestedTrackRequest"];
library: components["schemas"]["ManageNestedLibraryRequest"]; library: components["schemas"]["ManageNestedLibraryRequest"];
@ -8448,7 +8470,7 @@ export interface components {
/** @default pending */ /** @default pending */
import_status: components["schemas"]["ImportStatusEnum"]; import_status: components["schemas"]["ImportStatusEnum"];
privacy_level?: components["schemas"]["LibraryPrivacyLevelEnum"]; privacy_level?: components["schemas"]["LibraryPrivacyLevelEnum"];
import_metadata?: unknown; import_metadata?: components["schemas"]["ImportMetadataRequest"];
import_reference?: string; import_reference?: string;
source?: string | null; source?: string | null;
/** Format: binary */ /** Format: binary */
@ -8473,7 +8495,10 @@ export interface components {
summary?: components["schemas"]["ContentRequest"] | null; summary?: components["schemas"]["ContentRequest"] | null;
}; };
Playlist: { Playlist: {
readonly id: number; /** Format: uuid */
readonly uuid: string;
/** Format: uri */
readonly fid: string;
name: string; name: string;
readonly actor: components["schemas"]["APIActor"]; readonly actor: components["schemas"]["APIActor"];
/** Format: date-time */ /** Format: date-time */
@ -8486,6 +8511,8 @@ export interface components {
readonly duration: number; readonly duration: number;
readonly is_playable: boolean; readonly is_playable: boolean;
description?: string | null; description?: string | null;
/** Format: uri */
readonly library: string;
}; };
PlaylistAddManyRequest: { PlaylistAddManyRequest: {
tracks: number[]; tracks: number[];
@ -8864,7 +8891,7 @@ export interface components {
import_status: components["schemas"]["ImportStatusEnum"]; import_status: components["schemas"]["ImportStatusEnum"];
privacy_level?: components["schemas"]["LibraryPrivacyLevelEnum"]; privacy_level?: components["schemas"]["LibraryPrivacyLevelEnum"];
readonly import_details: unknown; readonly import_details: unknown;
import_metadata?: unknown; import_metadata?: components["schemas"]["ImportMetadata"];
import_reference?: string; import_reference?: string;
readonly metadata: unknown; readonly metadata: unknown;
source?: string | null; source?: string | null;
@ -8877,7 +8904,7 @@ export interface components {
/** @default pending */ /** @default pending */
import_status: components["schemas"]["ImportStatusEnum"]; import_status: components["schemas"]["ImportStatusEnum"];
privacy_level?: components["schemas"]["LibraryPrivacyLevelEnum"]; privacy_level?: components["schemas"]["LibraryPrivacyLevelEnum"];
import_metadata?: unknown; import_metadata?: components["schemas"]["ImportMetadataRequest"];
import_reference?: string; import_reference?: string;
source?: string | null; source?: string | null;
/** Format: binary */ /** Format: binary */
@ -14118,8 +14145,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14143,8 +14169,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14175,8 +14200,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14198,8 +14222,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14230,8 +14253,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14262,8 +14284,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14287,8 +14308,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14312,8 +14332,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14335,8 +14354,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14367,8 +14385,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14399,8 +14416,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -14436,8 +14452,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21131,8 +21146,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21156,8 +21170,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21188,8 +21201,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21211,8 +21223,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21243,8 +21254,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21275,8 +21285,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21300,8 +21309,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21325,8 +21333,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21348,8 +21355,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21380,8 +21386,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21412,8 +21417,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };
@ -21449,8 +21453,7 @@ export interface operations {
}; };
header?: never; header?: never;
path: { path: {
/** @description A unique integer value identifying this playlist. */ uuid: string;
id: number;
}; };
cookie?: never; cookie?: never;
}; };