工作队列的创建参数

interface QueueOpts {
    email?: string;
    emailTemp?: string;
    label: string;
    manager?: string;
    memberMap: {
        group?: string[];
        puser?: string[];
        role?: string[];
        roleAndSubordinates?: string[];
        user?: string[];
    };
    name: string;
    objects?: string[];
    sendEmail?: boolean;
}

Properties

email?: string

公共邮箱

emailTemp?: string

邮件模板ID

label: string

标签

manager?: string

管理者ID

memberMap: {
    group?: string[];
    puser?: string[];
    role?: string[];
    roleAndSubordinates?: string[];
    user?: string[];
}

成员

Type declaration

  • Optional group?: string[]
  • Optional puser?: string[]
  • Optional role?: string[]
  • Optional roleAndSubordinates?: string[]
  • Optional user?: string[]
name: string

名称

objects?: string[]

队列对象列表

sendEmail?: boolean

是否给成员发送邮件