
- 更新项目名称为 automated - 更新多个依赖包版本,包括 @cool-midway、@midwayjs、@langchain 等 - 更新作者信息为 lixin&liqiannan - 更新 TypeScript 版本至 5.5.4 - 添加 newman、prettier 等新依赖 - 优化 package.json 结构和格式
24 lines
591 B
TypeScript
24 lines
591 B
TypeScript
import { BaseEntity } from '@cool-midway/core';
|
|
import { Column, Entity } from 'typeorm';
|
|
|
|
/**
|
|
* 流程日志
|
|
*/
|
|
@Entity('flow_log')
|
|
export class FlowLogEntity extends BaseEntity {
|
|
@Column({ comment: '流程ID' })
|
|
flowId: number;
|
|
|
|
@Column({ comment: '类型 0-失败 1-成功 2-未知', default: 0 })
|
|
type: number;
|
|
|
|
@Column({ comment: '传入参数', type: 'json', nullable: true })
|
|
inputParams: any;
|
|
|
|
@Column({ comment: '结果', type: 'json', nullable: true })
|
|
result: any;
|
|
|
|
@Column({ comment: '节点运行信息', type: 'json', nullable: true })
|
|
nodeInfo: any[];
|
|
}
|