0.10.0-5 AudioBooks Frontend
This commit is contained in:
1 parent
9d789f302a
commit
a471de6422
15 files changed
+718
-33
No files matched your search
@@ -321,6 +321,14 @@ export const api = {
|
||||
afterMutationInvalidate(['/history', '/pipeline/queue']);
|
||||
return result;
|
||||
},
|
||||
async startAudiobook(jobId, payload = {}) {
|
||||
const result = await request(`/pipeline/audiobook/start/${jobId}`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(payload || {})
|
||||
});
|
||||
afterMutationInvalidate(['/history', '/pipeline/queue']);
|
||||
return result;
|
||||
},
|
||||
async selectMetadata(payload) {
|
||||
const result = await request('/pipeline/select-metadata', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in new issue
Block a user