export type NodeItemType = {
  id: string
  name: string
  value?: any
  nodeType: 'root' | 'event' | 'target' | 'action' | 'add'
  config?: any
  children?: NodeItemType[]
  parentId?: string
  parentType?: 'root' | 'event' | 'target' | 'action' | 'add'
}

export type OptionType = {
  label: string
  value: string
  disabled?: boolean
  groupKey?: string
  groupLabel?: string
  groupOrder?: number
  data?: any
  defaultValue?: any
  [key: string]: any
}
