We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0755e2 + 53a275e commit 13dee13Copy full SHA for 13dee13
1 file changed
lib/JobsResource.ts
@@ -1,5 +1,6 @@
1
import CloudConvert from './CloudConvert';
2
import {
3
+ type FileResult,
4
type Operation,
5
type Task,
6
type TaskEventData,
@@ -99,6 +100,10 @@ export default class JobsResource {
99
100
callback
101
);
102
}
103
+
104
+ getExportUrls(job: Job): FileResult[] {
105
+ return job.tasks.flatMap(task => task.result?.files ?? []);
106
+ }
107
108
109
// We need to map the types from the large Operation union type
0 commit comments