返回 AiToEarn
interaction.ts
根目录 / project / aitoearn-electron / commont / types / interaction.ts
1 // 自动任务的进度标识
2 export enum AutorWorksInteractionScheduleEvent {
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 AutorWorksInteractionScheduleEventMap = new Map([
13 [AutorWorksInteractionScheduleEvent.Start, '开始'],
14 [AutorWorksInteractionScheduleEvent.GetCommentListStart, '获取评论列表开始'],
15 [AutorWorksInteractionScheduleEvent.GetCommentListEnd, '获取评论列表结束'],
16 [AutorWorksInteractionScheduleEvent.ReplyCommentStart, '评论开始'],
17 [AutorWorksInteractionScheduleEvent.ReplyCommentEnd, '评论结束'],
18 ]);
19
19 lines TYPESCRIPT