mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-10 22:32:17 +02:00
Add internet radio (#1384)
This commit is contained in:
@@ -30,6 +30,14 @@ export const contract = c.router({
|
||||
200: ssType._response.createFavorite,
|
||||
},
|
||||
},
|
||||
createInternetRadioStation: {
|
||||
method: 'GET',
|
||||
path: 'createInternetRadioStation.view',
|
||||
query: ssType._parameters.createInternetRadioStation,
|
||||
responses: {
|
||||
200: ssType._response.createInternetRadioStation,
|
||||
},
|
||||
},
|
||||
createPlaylist: {
|
||||
method: 'GET',
|
||||
path: 'createPlaylist.view',
|
||||
@@ -38,6 +46,14 @@ export const contract = c.router({
|
||||
200: ssType._response.createPlaylist,
|
||||
},
|
||||
},
|
||||
deleteInternetRadioStation: {
|
||||
method: 'GET',
|
||||
path: 'deleteInternetRadioStation.view',
|
||||
query: ssType._parameters.deleteInternetRadioStation,
|
||||
responses: {
|
||||
200: ssType._response.deleteInternetRadioStation,
|
||||
},
|
||||
},
|
||||
deletePlaylist: {
|
||||
method: 'GET',
|
||||
path: 'deletePlaylist.view',
|
||||
@@ -110,6 +126,13 @@ export const contract = c.router({
|
||||
200: ssType._response.getIndexes,
|
||||
},
|
||||
},
|
||||
getInternetRadioStations: {
|
||||
method: 'GET',
|
||||
path: 'getInternetRadioStations.view',
|
||||
responses: {
|
||||
200: ssType._response.getInternetRadioStations,
|
||||
},
|
||||
},
|
||||
getMusicDirectory: {
|
||||
method: 'GET',
|
||||
path: 'getMusicDirectory.view',
|
||||
@@ -281,6 +304,14 @@ export const contract = c.router({
|
||||
200: ssType._response.setRating,
|
||||
},
|
||||
},
|
||||
updateInternetRadioStation: {
|
||||
method: 'GET',
|
||||
path: 'updateInternetRadioStation.view',
|
||||
query: ssType._parameters.updateInternetRadioStation,
|
||||
responses: {
|
||||
200: ssType._response.updateInternetRadioStation,
|
||||
},
|
||||
},
|
||||
updatePlaylist: {
|
||||
method: 'GET',
|
||||
path: 'updatePlaylist.view',
|
||||
|
||||
Reference in New Issue
Block a user