mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
enable reordering non-smart playlists
This commit is contained in:
parent
0b383b758e
commit
10fca2dc12
11 changed files with 148 additions and 0 deletions
|
|
@ -147,6 +147,15 @@ export const contract = c.router({
|
|||
500: resultWithHeaders(ndType._response.error),
|
||||
},
|
||||
},
|
||||
movePlaylistItem: {
|
||||
body: ndType._parameters.moveItem,
|
||||
method: 'PUT',
|
||||
path: 'playlist/:playlistId/tracks/:trackNumber',
|
||||
responses: {
|
||||
200: resultWithHeaders(ndType._response.moveItem),
|
||||
400: resultWithHeaders(ndType._response.error),
|
||||
},
|
||||
},
|
||||
removeFromPlaylist: {
|
||||
body: null,
|
||||
method: 'DELETE',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue