update front type
This commit is contained in:
parent
a84cb7d3bb
commit
a8cc4b0bef
|
@ -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;
|
||||||
|
@ -6716,6 +6716,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
|
||||||
|
@ -7420,7 +7442,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"];
|
||||||
|
@ -7449,7 +7471,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"];
|
||||||
|
@ -8450,7 +8472,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 */
|
||||||
|
@ -8475,7 +8497,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 */
|
||||||
|
@ -8488,6 +8513,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[];
|
||||||
|
@ -8866,7 +8893,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;
|
||||||
|
@ -8879,7 +8906,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 */
|
||||||
|
@ -14120,8 +14147,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;
|
||||||
};
|
};
|
||||||
|
@ -14145,8 +14171,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;
|
||||||
};
|
};
|
||||||
|
@ -14177,8 +14202,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;
|
||||||
};
|
};
|
||||||
|
@ -14200,8 +14224,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;
|
||||||
};
|
};
|
||||||
|
@ -14232,8 +14255,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;
|
||||||
};
|
};
|
||||||
|
@ -14264,8 +14286,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;
|
||||||
};
|
};
|
||||||
|
@ -14289,8 +14310,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;
|
||||||
};
|
};
|
||||||
|
@ -14314,8 +14334,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;
|
||||||
};
|
};
|
||||||
|
@ -14337,8 +14356,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;
|
||||||
};
|
};
|
||||||
|
@ -14369,8 +14387,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;
|
||||||
};
|
};
|
||||||
|
@ -14401,8 +14418,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;
|
||||||
};
|
};
|
||||||
|
@ -14438,8 +14454,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;
|
||||||
};
|
};
|
||||||
|
@ -21133,8 +21148,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;
|
||||||
};
|
};
|
||||||
|
@ -21158,8 +21172,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;
|
||||||
};
|
};
|
||||||
|
@ -21190,8 +21203,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;
|
||||||
};
|
};
|
||||||
|
@ -21213,8 +21225,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;
|
||||||
};
|
};
|
||||||
|
@ -21245,8 +21256,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;
|
||||||
};
|
};
|
||||||
|
@ -21277,8 +21287,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;
|
||||||
};
|
};
|
||||||
|
@ -21302,8 +21311,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;
|
||||||
};
|
};
|
||||||
|
@ -21327,8 +21335,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;
|
||||||
};
|
};
|
||||||
|
@ -21350,8 +21357,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;
|
||||||
};
|
};
|
||||||
|
@ -21382,8 +21388,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;
|
||||||
};
|
};
|
||||||
|
@ -21414,8 +21419,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;
|
||||||
};
|
};
|
||||||
|
@ -21451,8 +21455,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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue