mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Added reorderable library columns
This commit is contained in:
1 parent
d848efaf50
commit
db426e351a
8 files changed
+536
-212
No files matched your search
@@ -226,6 +226,9 @@ export const api = {
|
||||
`/api/playlists/${uuid}/add`,
|
||||
{ track_ids: trackIds },
|
||||
),
|
||||
getPrefs: () => getJSON<Record<string, unknown>>('/api/prefs'),
|
||||
patchPrefs: (patch: Record<string, unknown>) =>
|
||||
send<Record<string, unknown>>('PATCH', '/api/prefs', patch),
|
||||
save: () => send<SaveResult>('POST', '/api/save'),
|
||||
editTrack: (trackId: string, fields: Record<string, string | number | null>) =>
|
||||
send<{ status: string }>('PATCH', '/api/tracks', { track_id: trackId, fields }),
|
||||
|
||||
Reference in new issue
Block a user