返回 AiToEarn
reply.ts
1 // 自动任务的进度标识
2 export enum AutorReplyCommentScheduleEvent {
3 Start = 'start', // 开始
4 GetCommentListStart = 'getCommentListStart', // 获取评论列表开始
5 GetCommentListEnd = 'getCommentListEnd', // 获取评论列表结束
6 ReplyCommentStart = 'replyCommentStart', // 评论开始
7 ReplyCommentEnd = 'replyCommentEnd', // 评论结束
8 End = 'end', // 结束
9 Error = 'error', // 错误
10 }
11
12 export const AutorReplyCommentScheduleEventTagStrMap = new Map([
13 [AutorReplyCommentScheduleEvent.Start, '开始'],
14 [AutorReplyCommentScheduleEvent.GetCommentListStart, '获取评论列表开始'],
15 [AutorReplyCommentScheduleEvent.GetCommentListEnd, '获取评论列表结束'],
16 [AutorReplyCommentScheduleEvent.ReplyCommentStart, '评论开始'],
17 [AutorReplyCommentScheduleEvent.ReplyCommentEnd, '评论结束'],
18 ]);
19
19 lines TYPESCRIPT