fix: add run by sdk UI chip
This commit is contained in:
@@ -339,6 +339,7 @@ function formatRunResponse(run: any) {
|
||||
runByUserId: run.runByUserId,
|
||||
runByScheduleId: run.runByScheduleId,
|
||||
runByAPI: run.runByAPI,
|
||||
runBySDK: run.runBySDK,
|
||||
data: {
|
||||
textData: {},
|
||||
listData: {},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user