import type { ProcessDescriptor } from '@cacp/ui'

export const initProcessDescriptor: ProcessDescriptor = {
  code: '',
  name: '',
  branch: false,
  expireDays: 0,
  nodes: [
    {
      type: 'START',
      code: 'ISSUE',
      name: '拟稿',
      listeners: [],
      options: {},
      attrs: { x: 100, y: 80 }
    },
    {
      type: 'END',
      code: 'END',
      name: '结束',
      listeners: [],
      options: {},
      attrs: { x: 600, y: 80 }
    },
  ],
  flows: []
}
