issues
search
speechmatics
/
speechmatics-js-sdk
Javascript and Typescript SDK for Speechmatics
MIT License
39
stars
4
forks
source link
Batch: Improve methods for creating jobs
#37
Closed
mnemitz
closed
5 months ago
mnemitz
commented
5 months ago
Define a
JobInput
type to handle three different input possibilities:
An instance of the
File
class, which implicitly gives a filename
An instance of
Blob
data, with an accompanying filename
A
DataFetchConfig
for server side data fetching
Update signature of
createJob
and
transcribe
, passing entire
JobConfig
to API rather than destructuring fields.
Add build step to format generated type declarations
Update tests
JobInput
type to handle three different input possibilities:File
class, which implicitly gives a filenameBlob
data, with an accompanying filenameDataFetchConfig
for server side data fetchingcreateJob
andtranscribe
, passing entireJobConfig
to API rather than destructuring fields.