fix: add run by sdk UI chip

This commit is contained in:
Rohit Rajan
2026-01-04 18:51:15 +05:30
parent 28d20badf9
commit aa3b7672b7
4 changed files with 21 additions and 9 deletions

View File

@@ -339,6 +339,7 @@ function formatRunResponse(run: any) {
runByUserId: run.runByUserId,
runByScheduleId: run.runByScheduleId,
runByAPI: run.runByAPI,
runBySDK: run.runBySDK,
data: {
textData: {},
listData: {},

View File

@@ -46,6 +46,7 @@ class Run extends Model<RunAttributes, RunCreationAttributes> implements RunAttr
public runByUserId!: string;
public runByScheduleId!: string;
public runByAPI!: boolean;
public runBySDK!: boolean;
public serializableOutput!: Record<string, any>;
public binaryOutput!: Record<string, any>;
public retryCount!: number;
@@ -114,6 +115,10 @@ Run.init(
type: DataTypes.BOOLEAN,
allowNull: true,
},
runBySDK: {
type: DataTypes.BOOLEAN,
allowNull: true,
},
serializableOutput: {
type: DataTypes.JSONB,
allowNull: true,