  /** 流程节点定义列表 */
export type FlowStateDefinition = {
	/** 应用代码 */
  appCode: string,
  /** 流程定义代码 */
  flowCode: string,
  /** 流程节点代码 */
  stateCode: string,
  /** 流程节点名称 */
  stateName: string,
  /** 流程节点描述 */
  stateDescription: string,
  /** 流程节点类型，包括人工节点、系统节点 */
  stateType: string
}[]


/** 流程事件定义列表 */
export type FlowEventDefinition = {
	/** 应用代码 */
  appCode: string,
  /** 流程代码 */
  flowCode: string,
  /** 流程事件代码 */
  eventCode: string,
  /** 流程事件源节点 */
  sourceCode: string,
  /** 流程事件目标节点 */
  targetCode: string,
  /** 流程事件描述 */
  flowEventDescription: string
}[]

export type FlowMangeDataType = {
	appCode: string,
	flowCode: string,
	flowName: string,
	flowDescription: string,
	stateList: FlowStateDefinition
	eventList: FlowEventDefinition
}

export const flowMangeDataType = {
  appCode: '',
	flowCode: '',
	flowName: '',
	flowDescription: '',
	stateList: [] as FlowStateDefinition,
	eventList: [] as FlowEventDefinition
}