@be-link/ecommerce-client-backend-service-node-sdk 0.1.24 → 0.1.26
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/modules/data/types.d.ts +13 -0
- package/package.json +1 -1
package/modules/data/types.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { ENUM } from '../../enum';
|
|
2
2
|
import { FastifyRequest } from 'fastify';
|
|
3
3
|
export declare namespace DataService {
|
|
4
|
+
namespace Payload {
|
|
5
|
+
/** 用户观看直播任务时长消息体 */
|
|
6
|
+
interface TaskDuration {
|
|
7
|
+
/** 任务ID */
|
|
8
|
+
taskId: string;
|
|
9
|
+
/** 用户ID */
|
|
10
|
+
userId: string;
|
|
11
|
+
/** 直播间ID */
|
|
12
|
+
liveStreamRoomId: string;
|
|
13
|
+
/** 观看时长,单位秒 */
|
|
14
|
+
watchDuration: number;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
4
17
|
namespace Request {
|
|
5
18
|
/**
|
|
6
19
|
* 上传用户直播间关系
|