mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-14 23:44:01 +02:00
enable reordering non-smart playlists
This commit is contained in:
@@ -226,6 +226,15 @@ export const contract = c.router({
|
||||
400: jfType._response.error,
|
||||
},
|
||||
},
|
||||
movePlaylistItem: {
|
||||
body: null,
|
||||
method: 'POST',
|
||||
path: 'playlists/:playlistId/items/:itemId/move/:newIdx',
|
||||
responses: {
|
||||
200: jfType._response.moveItem,
|
||||
400: jfType._response.error,
|
||||
},
|
||||
},
|
||||
removeFavorite: {
|
||||
body: jfType._parameters.favorite,
|
||||
method: 'DELETE',
|
||||
|
||||
Reference in New Issue
Block a user