add folder browsing support (#315)

This commit is contained in:
jeffvli
2025-12-02 21:30:44 -08:00
parent 355257104d
commit 917bf91583
53 changed files with 2382 additions and 299 deletions
@@ -116,6 +116,15 @@ export const contract = c.router({
400: jfType._response.error,
},
},
getFolder: {
method: 'GET',
path: 'users/:userId/items',
query: jfType._parameters.folder,
responses: {
200: jfType._response.folderList,
400: jfType._response.error,
},
},
getGenreList: {
method: 'GET',
path: 'musicgenres',