feat: runByAPI type boolean
This commit is contained in:
@@ -22,7 +22,7 @@ interface RunAttributes {
|
|||||||
runId: string;
|
runId: string;
|
||||||
runByUserId?: string;
|
runByUserId?: string;
|
||||||
runByScheduleId?: string;
|
runByScheduleId?: string;
|
||||||
runByAPI?: string;
|
runByAPI?: boolean;
|
||||||
serializableOutput: Record<string, any[]>;
|
serializableOutput: Record<string, any[]>;
|
||||||
binaryOutput: Record<string, string>;
|
binaryOutput: Record<string, string>;
|
||||||
}
|
}
|
||||||
@@ -43,7 +43,7 @@ class Run extends Model<RunAttributes, RunCreationAttributes> implements RunAttr
|
|||||||
public runId!: string;
|
public runId!: string;
|
||||||
public runByUserId!: string;
|
public runByUserId!: string;
|
||||||
public runByScheduleId!: string;
|
public runByScheduleId!: string;
|
||||||
public runByAPI!: string;
|
public runByAPI!: boolean;
|
||||||
public serializableOutput!: Record<string, any[]>;
|
public serializableOutput!: Record<string, any[]>;
|
||||||
public binaryOutput!: Record<string, any>;
|
public binaryOutput!: Record<string, any>;
|
||||||
}
|
}
|
||||||
@@ -108,7 +108,7 @@ Run.init(
|
|||||||
allowNull: true,
|
allowNull: true,
|
||||||
},
|
},
|
||||||
runByAPI: {
|
runByAPI: {
|
||||||
type: DataTypes.STRING(255),
|
type: DataTypes.BOOLEAN,
|
||||||
allowNull: true,
|
allowNull: true,
|
||||||
},
|
},
|
||||||
serializableOutput: {
|
serializableOutput: {
|
||||||
|
|||||||
Reference in New Issue
Block a user