cnpmcore
Version:
20 lines (19 loc) • 450 B
TypeScript
import { Bone } from 'leoric';
import { TaskState, TaskType } from '../../common/enum/Task';
export declare class Task extends Bone {
id: bigint;
createdAt: Date;
updatedAt: Date;
taskId: string;
type: TaskType;
state: TaskState;
targetName: string;
authorId: string;
authorIp: string;
data: any;
logPath: string;
logStorePosition: string;
attempts: number;
error: string;
bizId: string;
}