@vitex/tcm-cli 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/commands/account.js +3 -3
- package/src/commands/workbench.js +3 -0
package/README.md
CHANGED
|
@@ -149,6 +149,7 @@ tcm logout
|
|
|
149
149
|
- `accounts`、`comments`、`awemes`、`comment-records`、`comment-candidates`、`comment-likes`、`top-comments`
|
|
150
150
|
- `tasks`、`task-success-rate`、`task-type-trend`、`task-status-trend`、`task-type-share`、`task-status-share`、`task-error-top`
|
|
151
151
|
- `comment-overview-trend`
|
|
152
|
+
- `item-overview`、`item-overview-trend`、`top-items`(作品口径,按发布时间统计)
|
|
152
153
|
|
|
153
154
|
统计接口一般需要 `--startDate` / `--endDate`;任务类接口还支持 `--types`、`--status`。
|
|
154
155
|
|
package/package.json
CHANGED
package/src/commands/account.js
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
summary: '分页查询账号',
|
|
8
8
|
params: {
|
|
9
9
|
keyword: string('关键词'),
|
|
10
|
-
statuses: array('状态多选:NORMAL / WARMING_UP / HIDDEN'),
|
|
10
|
+
statuses: array('状态多选:NORMAL / WARMING_UP / BANNED / HIDDEN'),
|
|
11
11
|
health: string('健康状态:ONLINE / OFFLINE'),
|
|
12
12
|
loginStatus: boolean('是否已登录'),
|
|
13
13
|
verified: boolean('是否已认证'),
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
id: id('账号 ID'),
|
|
44
44
|
description: string('描述'),
|
|
45
45
|
tags: array('标签'),
|
|
46
|
-
status: string('状态:NORMAL / WARMING_UP / HIDDEN'),
|
|
46
|
+
status: string('状态:NORMAL / WARMING_UP / BANNED / HIDDEN'),
|
|
47
47
|
capabilities: array(
|
|
48
48
|
'任务能力多选:AWEMES / ITEMS / COMMENT / COMMENT_INFO / COMMENT_DIGG / HOT_COMMENT / PUBLISH',
|
|
49
49
|
),
|
|
@@ -58,7 +58,7 @@ export default {
|
|
|
58
58
|
summary: '切换账号状态',
|
|
59
59
|
params: {
|
|
60
60
|
id: id('账号 ID'),
|
|
61
|
-
status: string('状态:NORMAL / WARMING_UP / HIDDEN', { required: true }),
|
|
61
|
+
status: string('状态:NORMAL / WARMING_UP / BANNED / HIDDEN', { required: true }),
|
|
62
62
|
},
|
|
63
63
|
build: (p) => post('/api/fleet/account/status', pick(p, ['id', 'status'])),
|
|
64
64
|
},
|
|
@@ -32,6 +32,9 @@ export default {
|
|
|
32
32
|
'comment-likes': metric('comment-likes', '评论点赞数量'),
|
|
33
33
|
'comment-overview-trend': metric('comment-overview-trend', '评论概览趋势'),
|
|
34
34
|
'top-comments': metric('top-comments', '热门评论'),
|
|
35
|
+
'item-overview': metric('item-overview', '作品概览(按发布时间统计的作品数、播放与互动合计)'),
|
|
36
|
+
'item-overview-trend': metric('item-overview-trend', '作品概览趋势'),
|
|
37
|
+
'top-items': metric('top-items', '热门作品(按播放倒排)'),
|
|
35
38
|
tasks: metric('tasks', '任务数量', taskPeriod),
|
|
36
39
|
'task-success-rate': metric('task-success-rate', '任务成功率', taskPeriod),
|
|
37
40
|
'task-type-trend': metric('task-type-trend', '任务类型趋势', taskPeriod),
|