File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export type ProdiaJob = {
29
29
config ?: Record < string , JsonValue > ;
30
30
} ;
31
31
32
- type ProdiaJobComplete = ProdiaJob & {
32
+ type ProdiaJobResult = ProdiaJob & {
33
33
id : string ;
34
34
created_at : string ;
35
35
updated_at : string ;
@@ -62,7 +62,7 @@ export type Prodia = {
62
62
params : ProdiaJob ,
63
63
options ?: Partial < ProdiaJobOptions > ,
64
64
) => Promise < {
65
- job : ProdiaJobComplete ;
65
+ job : ProdiaJobResult ;
66
66
67
67
// currently these are the only output field for all job types.
68
68
// they will return the raw bytes for that output.
@@ -214,7 +214,7 @@ export const createProdia = ({
214
214
new TextDecoder ( ) . decode (
215
215
await ( body . get ( "job" ) as Blob ) . arrayBuffer ( ) ,
216
216
) ,
217
- ) as ProdiaJobComplete ;
217
+ ) as ProdiaJobResult ;
218
218
219
219
if ( response . status >= 400 && response . status < 500 ) {
220
220
if ( "error" in job && typeof job . error === "string" ) {
You can’t perform that action at this time.
0 commit comments