@seayoo-web/gamer-api 2.13.16 → 2.13.17
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/dist/index.js
CHANGED
|
@@ -1284,6 +1284,9 @@ const v = {
|
|
|
1284
1284
|
ugcs: e.array(
|
|
1285
1285
|
e.object({
|
|
1286
1286
|
ugc_id: e.number(),
|
|
1287
|
+
event_id: e.number().optional(),
|
|
1288
|
+
feature_id: e.number().optional(),
|
|
1289
|
+
feature_name: e.string().optional(),
|
|
1287
1290
|
review_status: kt,
|
|
1288
1291
|
title: e.string(),
|
|
1289
1292
|
content: e.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seayoo-web/gamer-api",
|
|
3
3
|
"description": "agent for gamer api",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.17",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.13.1",
|
|
33
33
|
"@seayoo-web/combo-webview": "2.8.0",
|
|
34
|
-
"@seayoo-web/scripts": "3.1.6",
|
|
35
|
-
"@seayoo-web/tsconfig": "1.0.5",
|
|
36
34
|
"@seayoo-web/request": "3.4.2",
|
|
35
|
+
"@seayoo-web/tsconfig": "1.0.5",
|
|
37
36
|
"@seayoo-web/utils": "4.1.3",
|
|
37
|
+
"@seayoo-web/scripts": "3.1.6",
|
|
38
38
|
"@seayoo-web/validator": "2.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
package/types/src/event.d.ts
CHANGED
|
@@ -344,8 +344,8 @@ export declare class EventApi {
|
|
|
344
344
|
* https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=biEwrNKhAF
|
|
345
345
|
*/
|
|
346
346
|
getUgcRecord(option: {
|
|
347
|
-
/** 按照多个活动 ID
|
|
348
|
-
event_ids?:
|
|
347
|
+
/** 按照多个活动 ID 批量查询投稿记录,以逗号分隔。若传入此参数,不再进行单活动/玩法的精确匹配*/
|
|
348
|
+
event_ids?: string;
|
|
349
349
|
/** 单个活动 ID */
|
|
350
350
|
event_id?: number;
|
|
351
351
|
/** 活动玩法 ID */
|
|
@@ -30,6 +30,12 @@ export declare const UgcEngagementDataValidator: import("@seayoo-web/validator")
|
|
|
30
30
|
export interface UgcRecord {
|
|
31
31
|
/** 投稿记录 ID */
|
|
32
32
|
ugc_id: number;
|
|
33
|
+
/** 活动 ID */
|
|
34
|
+
event_id?: number;
|
|
35
|
+
/** 玩法 ID */
|
|
36
|
+
feature_id?: number;
|
|
37
|
+
/** 玩法名称 */
|
|
38
|
+
feature_name?: string;
|
|
33
39
|
/** 状态 */
|
|
34
40
|
review_status: UgcReviewStatus;
|
|
35
41
|
/** 标题 */
|
package/types/src/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const console: Pick<Console, "
|
|
1
|
+
export declare const console: Pick<Console, "log" | "error" | "warn">;
|
|
2
2
|
/** 检测是否在 combo webview */
|
|
3
3
|
export declare function inComboWebview(): boolean;
|
|
4
4
|
export declare function isRootEndpoint(path: string): boolean;
|