@seayoo-web/gamer-api 2.13.7 → 2.13.8
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
|
@@ -687,8 +687,8 @@ const v = {
|
|
|
687
687
|
ActivationKey: "activation_key",
|
|
688
688
|
/** 抽奖券 */
|
|
689
689
|
LotteryTicket: "lottery_ticket",
|
|
690
|
-
/**
|
|
691
|
-
|
|
690
|
+
/** 俱乐部积分 */
|
|
691
|
+
ClubCredit: "club_credit",
|
|
692
692
|
/** 外部兑换码 */
|
|
693
693
|
ExternalCode: "external_gift_code",
|
|
694
694
|
/** 空奖励 */
|
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.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.13.1",
|
|
33
|
-
"@seayoo-web/combo-webview": "2.8.0",
|
|
34
33
|
"@seayoo-web/request": "3.4.1",
|
|
35
|
-
"@seayoo-web/
|
|
36
|
-
"@seayoo-web/
|
|
34
|
+
"@seayoo-web/combo-webview": "2.8.0",
|
|
35
|
+
"@seayoo-web/scripts": "3.1.6",
|
|
37
36
|
"@seayoo-web/tsconfig": "1.0.5",
|
|
37
|
+
"@seayoo-web/utils": "4.1.3",
|
|
38
38
|
"@seayoo-web/validator": "1.1.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@seayoo-web/combo-webview": "^2.8.0",
|
|
42
|
-
"@seayoo-web/
|
|
43
|
-
"@seayoo-web/
|
|
42
|
+
"@seayoo-web/validator": "^1.1.1",
|
|
43
|
+
"@seayoo-web/utils": "^4.1.3"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm -F validator build && pnpm -F request build && pnpm -F combo-webview build",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EventFeatureBaseConfig } from "./feature.base";
|
|
2
2
|
import type { InferType } from "@seayoo-web/validator";
|
|
3
|
-
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"
|
|
3
|
+
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"event_item" | "game_item" | "physical_item" | "weixin_hongbao" | "activation_key" | "club_credit" | "external_gift_code" | "void_item", false, false>;
|
|
4
4
|
declare const featureType: "lottery";
|
|
5
5
|
export interface FeatureLotteryItemConfig {
|
|
6
6
|
/** 抽奖奖励道具 id */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InferType } from "@seayoo-web/validator";
|
|
2
|
-
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"
|
|
2
|
+
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"event_item" | "game_item" | "physical_item" | "weixin_hongbao" | "gift_code" | "activation_key" | "lottery_ticket" | "club_credit" | "external_gift_code" | "void_item", false, false>;
|
|
3
3
|
export interface EventRewardItemConfig {
|
|
4
4
|
/** 玩法奖励道具 id */
|
|
5
5
|
reward_item_id: number;
|
|
@@ -15,8 +15,8 @@ export declare const GamerItemType: {
|
|
|
15
15
|
readonly ActivationKey: "activation_key";
|
|
16
16
|
/** 抽奖券 */
|
|
17
17
|
readonly LotteryTicket: "lottery_ticket";
|
|
18
|
-
/**
|
|
19
|
-
readonly
|
|
18
|
+
/** 俱乐部积分 */
|
|
19
|
+
readonly ClubCredit: "club_credit";
|
|
20
20
|
/** 外部兑换码 */
|
|
21
21
|
readonly ExternalCode: "external_gift_code";
|
|
22
22
|
/** 空奖励 */
|
|
@@ -48,8 +48,8 @@ export declare const RewardItemType: {
|
|
|
48
48
|
readonly ActivationKey: "activation_key";
|
|
49
49
|
/** 抽奖券 */
|
|
50
50
|
readonly LotteryTicket: "lottery_ticket";
|
|
51
|
-
/**
|
|
52
|
-
readonly
|
|
51
|
+
/** 俱乐部积分 */
|
|
52
|
+
readonly ClubCredit: "club_credit";
|
|
53
53
|
/** 外部兑换码 */
|
|
54
54
|
readonly ExternalCode: "external_gift_code";
|
|
55
55
|
/** 空奖励 */
|