mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 08:54:27 +02:00
enable reordering non-smart playlists
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user