@@ -6,7 +6,6 @@ import getSongControls from '@/providers/song-controls';
66
77import {
88 AddSongToQueueSchema ,
9- AuthHeadersSchema ,
109 GoBackSchema ,
1110 GoForwardScheme ,
1211 MoveSongInQueueSchema ,
@@ -116,7 +115,6 @@ const routes = {
116115 summary : 'seek' ,
117116 description : 'Seek to a specific time in the current song' ,
118117 request : {
119- headers : AuthHeadersSchema ,
120118 body : {
121119 description : 'seconds to seek to' ,
122120 content : {
@@ -138,7 +136,6 @@ const routes = {
138136 summary : 'go back' ,
139137 description : 'Move the current song back by a number of seconds' ,
140138 request : {
141- headers : AuthHeadersSchema ,
142139 body : {
143140 description : 'seconds to go back' ,
144141 content : {
@@ -161,7 +158,6 @@ const routes = {
161158 summary : 'go forward' ,
162159 description : 'Move the current song forward by a number of seconds' ,
163160 request : {
164- headers : AuthHeadersSchema ,
165161 body : {
166162 description : 'seconds to go forward' ,
167163 content : {
@@ -213,7 +209,6 @@ const routes = {
213209 summary : 'switch repeat' ,
214210 description : 'Switch the repeat mode' ,
215211 request : {
216- headers : AuthHeadersSchema ,
217212 body : {
218213 description : 'number of times to click the repeat button' ,
219214 content : {
@@ -235,7 +230,6 @@ const routes = {
235230 summary : 'set volume' ,
236231 description : 'Set the volume of the player' ,
237232 request : {
238- headers : AuthHeadersSchema ,
239233 body : {
240234 description : 'volume to set' ,
241235 content : {
@@ -257,7 +251,6 @@ const routes = {
257251 summary : 'set fullscreen' ,
258252 description : 'Set the fullscreen state of the player' ,
259253 request : {
260- headers : AuthHeadersSchema ,
261254 body : {
262255 description : 'fullscreen state' ,
263256 content : {
@@ -387,7 +380,6 @@ const routes = {
387380 summary : 'add song to queue' ,
388381 description : 'Add a song to the queue' ,
389382 request : {
390- headers : AuthHeadersSchema ,
391383 body : {
392384 description : 'video id of the song to add' ,
393385 content : {
@@ -409,7 +401,6 @@ const routes = {
409401 summary : 'move song in queue' ,
410402 description : 'Move a song in the queue' ,
411403 request : {
412- headers : AuthHeadersSchema ,
413404 params : QueueParamsSchema ,
414405 body : {
415406 description : 'index to move the song to' ,
@@ -432,7 +423,6 @@ const routes = {
432423 summary : 'remove song from queue' ,
433424 description : 'Remove a song from the queue' ,
434425 request : {
435- headers : AuthHeadersSchema ,
436426 params : QueueParamsSchema ,
437427 } ,
438428 responses : {
@@ -447,7 +437,6 @@ const routes = {
447437 summary : 'set queue index' ,
448438 description : 'Set the current index of the queue' ,
449439 request : {
450- headers : AuthHeadersSchema ,
451440 body : {
452441 description : 'index to move the song to' ,
453442 content : {
@@ -480,7 +469,6 @@ const routes = {
480469 summary : 'search for a song' ,
481470 description : 'search for a song' ,
482471 request : {
483- headers : AuthHeadersSchema ,
484472 body : {
485473 description : 'search query' ,
486474 content : {
0 commit comments