fix: type errors run model

This commit is contained in:
Rohit Rajan
2025-12-05 23:33:59 +05:30
parent ef679ab412
commit c655669a73

View File

@@ -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;
} }