fix: type errors run model
This commit is contained in:
@@ -23,7 +23,7 @@ interface RunAttributes {
|
|||||||
runByUserId?: string;
|
runByUserId?: string;
|
||||||
runByScheduleId?: string;
|
runByScheduleId?: string;
|
||||||
runByAPI?: boolean;
|
runByAPI?: boolean;
|
||||||
serializableOutput: Record<string, any[]>;
|
serializableOutput: Record<string, any>;
|
||||||
binaryOutput: Record<string, string>;
|
binaryOutput: Record<string, string>;
|
||||||
retryCount?: number;
|
retryCount?: number;
|
||||||
}
|
}
|
||||||
@@ -45,7 +45,7 @@ class Run extends Model<RunAttributes, RunCreationAttributes> implements RunAttr
|
|||||||
public runByUserId!: string;
|
public runByUserId!: string;
|
||||||
public runByScheduleId!: string;
|
public runByScheduleId!: string;
|
||||||
public runByAPI!: boolean;
|
public runByAPI!: boolean;
|
||||||
public serializableOutput!: Record<string, any[]>;
|
public serializableOutput!: Record<string, any>;
|
||||||
public binaryOutput!: Record<string, any>;
|
public binaryOutput!: Record<string, any>;
|
||||||
public retryCount!: number;
|
public retryCount!: number;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user