/*
 * @Author: 吴永生 15770852798@163.com
 * @Date: 2022-10-19 20:50:18
 * @LastEditors: 吴永生 15770852798@163.com
 * @LastEditTime: 2022-10-24 20:38:09
 * @FilePath: /bkunyun/src/views/ResourceCenter/UserResources/WorkflowOperator/interface.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

export type IOperatorType = 'BATCH' | 'FLOW'
export interface IOperatorInfo{
  id: string;
  title: string;
  type: IOperatorType;
  version: string;   
  productId: string; 
  createdTime: string;
}

export enum operatorType {
  'FLOW' = '流算子',
  'BATCH' = '批算子',
}

export interface IOperatorAddFormData {
  title?: string;
  type?: IOperatorType;
  version?: string;   
  productId?: string; 
  description?: string;
  envId?: string;
  parameters?: any
}