@seayoo-web/gamer-api 2.15.3 → 2.15.4
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/package.json +6 -6
- package/types/src/club.define.d.ts +0 -16
- package/types/src/club.enums.d.ts +0 -5
- package/types/src/community.define.d.ts +0 -14
- package/types/src/community.enums.d.ts +0 -4
- package/types/src/event.config/index.d.ts +0 -1
- package/types/src/event.config/reward.d.ts +0 -3
- package/types/src/event.engage/engage.d.ts +0 -1
- package/types/src/event.engage/index.d.ts +0 -1
- package/types/src/event.enums.d.ts +0 -19
- package/types/src/utils.d.ts +1 -1
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.15.
|
|
4
|
+
"version": "2.15.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.13.1",
|
|
33
33
|
"@seayoo-web/combo-webview": "2.8.0",
|
|
34
|
-
"@seayoo-web/
|
|
34
|
+
"@seayoo-web/scripts": "3.1.6",
|
|
35
35
|
"@seayoo-web/utils": "4.1.3",
|
|
36
|
-
"@seayoo-web/validator": "2.0.0",
|
|
37
36
|
"@seayoo-web/request": "3.4.2",
|
|
38
|
-
"@seayoo-web/
|
|
37
|
+
"@seayoo-web/tsconfig": "1.0.5",
|
|
38
|
+
"@seayoo-web/validator": "2.3.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@seayoo-web/combo-webview": "^2.8.0",
|
|
42
|
-
"@seayoo-web/
|
|
43
|
-
"@seayoo-web/
|
|
42
|
+
"@seayoo-web/utils": "^4.1.3",
|
|
43
|
+
"@seayoo-web/validator": "^2.3.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm -F validator build && pnpm -F request build && pnpm -F combo-webview build",
|
|
@@ -31,7 +31,6 @@ export type ClubGlobalConfig = {
|
|
|
31
31
|
send_role_mail_rate_limit: number;
|
|
32
32
|
};
|
|
33
33
|
export declare const ClubGlobalConfigValidator: import("@seayoo-web/validator").ObjectValidator<ClubGlobalConfig, false, false> & {
|
|
34
|
-
desc: never;
|
|
35
34
|
plain: never;
|
|
36
35
|
optional: never;
|
|
37
36
|
maybeNull: never;
|
|
@@ -56,7 +55,6 @@ export type ClubPlayer = {
|
|
|
56
55
|
level_expire_time: number;
|
|
57
56
|
};
|
|
58
57
|
export declare const ClubPlayerValidator: import("@seayoo-web/validator").ObjectValidator<ClubPlayer, false, false> & {
|
|
59
|
-
desc: never;
|
|
60
58
|
plain: never;
|
|
61
59
|
optional: never;
|
|
62
60
|
maybeNull: never;
|
|
@@ -69,7 +67,6 @@ export type ServerBaseInfo = {
|
|
|
69
67
|
server_name: string;
|
|
70
68
|
};
|
|
71
69
|
export declare const ServerBaseInfoValidator: import("@seayoo-web/validator").ObjectValidator<ServerBaseInfo, false, false> & {
|
|
72
|
-
desc: never;
|
|
73
70
|
plain: never;
|
|
74
71
|
optional: never;
|
|
75
72
|
maybeNull: never;
|
|
@@ -82,7 +79,6 @@ export type RoleBaseInfo = {
|
|
|
82
79
|
role_name: string;
|
|
83
80
|
};
|
|
84
81
|
export declare const RoleBaseInfoValidator: import("@seayoo-web/validator").ObjectValidator<RoleBaseInfo, false, false> & {
|
|
85
|
-
desc: never;
|
|
86
82
|
plain: never;
|
|
87
83
|
optional: never;
|
|
88
84
|
maybeNull: never;
|
|
@@ -95,7 +91,6 @@ export type PlayerRole = RoleBaseInfo & ServerBaseInfo & {
|
|
|
95
91
|
last_login_time: number;
|
|
96
92
|
};
|
|
97
93
|
export declare const PlayerRoleValidator: import("@seayoo-web/validator").ObjectValidator<PlayerRole, false, false> & {
|
|
98
|
-
desc: never;
|
|
99
94
|
plain: never;
|
|
100
95
|
optional: never;
|
|
101
96
|
maybeNull: never;
|
|
@@ -112,7 +107,6 @@ export type PlayerRoleCard = PlayerRole & {
|
|
|
112
107
|
kin_position?: string;
|
|
113
108
|
};
|
|
114
109
|
export declare const PlayerRoleCardValidator: import("@seayoo-web/validator").ObjectValidator<PlayerRoleCard, false, false> & {
|
|
115
|
-
desc: never;
|
|
116
110
|
plain: never;
|
|
117
111
|
optional: never;
|
|
118
112
|
maybeNull: never;
|
|
@@ -143,7 +137,6 @@ export interface Homepage {
|
|
|
143
137
|
homepage_image_url: string;
|
|
144
138
|
}
|
|
145
139
|
export declare const ClubUserProfileValidator: import("@seayoo-web/validator").ObjectValidator<ClubUserProfile, false, false> & {
|
|
146
|
-
desc: never;
|
|
147
140
|
plain: never;
|
|
148
141
|
optional: never;
|
|
149
142
|
maybeNull: never;
|
|
@@ -168,7 +161,6 @@ export type ClubAddress = {
|
|
|
168
161
|
is_default: boolean;
|
|
169
162
|
};
|
|
170
163
|
export declare const ClubAddressValidator: import("@seayoo-web/validator").ObjectValidator<ClubAddress, false, false> & {
|
|
171
|
-
desc: never;
|
|
172
164
|
plain: never;
|
|
173
165
|
optional: never;
|
|
174
166
|
maybeNull: never;
|
|
@@ -185,7 +177,6 @@ export type ClubUserCredit = {
|
|
|
185
177
|
balance_credit: number;
|
|
186
178
|
};
|
|
187
179
|
export declare const ClubUserCreditValidator: import("@seayoo-web/validator").ObjectValidator<ClubUserCredit, false, false> & {
|
|
188
|
-
desc: never;
|
|
189
180
|
plain: never;
|
|
190
181
|
optional: never;
|
|
191
182
|
maybeNull: never;
|
|
@@ -208,7 +199,6 @@ export type ClubCreditLog = {
|
|
|
208
199
|
metadata?: Record<string, unknown>;
|
|
209
200
|
};
|
|
210
201
|
export declare const ClubCreditLogValidator: import("@seayoo-web/validator").ObjectValidator<ClubCreditLog, false, false> & {
|
|
211
|
-
desc: never;
|
|
212
202
|
plain: never;
|
|
213
203
|
optional: never;
|
|
214
204
|
maybeNull: never;
|
|
@@ -233,7 +223,6 @@ export type ClubBenefitSummary = {
|
|
|
233
223
|
tag: string;
|
|
234
224
|
};
|
|
235
225
|
export declare const ClubBenefitSummaryValidator: import("@seayoo-web/validator").ObjectValidator<ClubBenefitSummary, false, false> & {
|
|
236
|
-
desc: never;
|
|
237
226
|
plain: never;
|
|
238
227
|
optional: never;
|
|
239
228
|
maybeNull: never;
|
|
@@ -292,7 +281,6 @@ export type ClubProduct = {
|
|
|
292
281
|
redeemable_quantity?: number;
|
|
293
282
|
};
|
|
294
283
|
export declare const ClubProductValidator: import("@seayoo-web/validator").ObjectValidator<ClubProduct, false, false> & {
|
|
295
|
-
desc: never;
|
|
296
284
|
plain: never;
|
|
297
285
|
optional: never;
|
|
298
286
|
maybeNull: never;
|
|
@@ -303,7 +291,6 @@ export type ClubBenefit = Omit<ClubBenefitSummary, "tag"> & {
|
|
|
303
291
|
product?: ClubProduct;
|
|
304
292
|
};
|
|
305
293
|
export declare const ClubBenefitValidator: import("@seayoo-web/validator").ObjectValidator<ClubBenefit, false, false> & {
|
|
306
|
-
desc: never;
|
|
307
294
|
plain: never;
|
|
308
295
|
optional: never;
|
|
309
296
|
maybeNull: never;
|
|
@@ -322,7 +309,6 @@ export declare const RedeemParamsValidator: import("@seayoo-web/validator").Unio
|
|
|
322
309
|
}, false, false>, import("@seayoo-web/validator").ObjectValidator<{
|
|
323
310
|
address_id: number;
|
|
324
311
|
}, false, false>], false, false> & {
|
|
325
|
-
desc: never;
|
|
326
312
|
optional: never;
|
|
327
313
|
maybeNull: never;
|
|
328
314
|
key: never;
|
|
@@ -348,7 +334,6 @@ export type ExtraPhysicalShipment = {
|
|
|
348
334
|
express_number: string;
|
|
349
335
|
};
|
|
350
336
|
export declare const ExtraPhysicalShipmentValidator: import("@seayoo-web/validator").ObjectValidator<ExtraPhysicalShipment, false, false> & {
|
|
351
|
-
desc: never;
|
|
352
337
|
plain: never;
|
|
353
338
|
optional: never;
|
|
354
339
|
maybeNull: never;
|
|
@@ -360,7 +345,6 @@ export type ExtraGameReward = {
|
|
|
360
345
|
role_name: string;
|
|
361
346
|
};
|
|
362
347
|
export declare const ExtraGameRewardValidator: import("@seayoo-web/validator").ObjectValidator<ExtraGameReward, false, false> & {
|
|
363
|
-
desc: never;
|
|
364
348
|
plain: never;
|
|
365
349
|
optional: never;
|
|
366
350
|
maybeNull: never;
|
|
@@ -9,7 +9,6 @@ export declare const Gender: {
|
|
|
9
9
|
};
|
|
10
10
|
export type Gender = ValueOf<typeof Gender>;
|
|
11
11
|
export declare const GenderValidator: import("@seayoo-web/validator").StringValidator<Gender, false, false> & {
|
|
12
|
-
desc: never;
|
|
13
12
|
pattern: never;
|
|
14
13
|
url: never;
|
|
15
14
|
dataUri: never;
|
|
@@ -30,7 +29,6 @@ export declare const ClubCreditChangeType: {
|
|
|
30
29
|
};
|
|
31
30
|
export type ClubCreditChangeType = ValueOf<typeof ClubCreditChangeType>;
|
|
32
31
|
export declare const ClubCreditChangeTypeValidator: import("@seayoo-web/validator").StringValidator<ClubCreditChangeType, false, false> & {
|
|
33
|
-
desc: never;
|
|
34
32
|
pattern: never;
|
|
35
33
|
url: never;
|
|
36
34
|
dataUri: never;
|
|
@@ -57,7 +55,6 @@ export declare const ClubCreditChangeScene: {
|
|
|
57
55
|
};
|
|
58
56
|
export type ClubCreditChangeScene = ValueOf<typeof ClubCreditChangeScene>;
|
|
59
57
|
export declare const ClubCreditChangeSceneValidator: import("@seayoo-web/validator").StringValidator<ClubCreditChangeScene, false, false> & {
|
|
60
|
-
desc: never;
|
|
61
58
|
pattern: never;
|
|
62
59
|
url: never;
|
|
63
60
|
dataUri: never;
|
|
@@ -77,7 +74,6 @@ export declare const ClubItemType: {
|
|
|
77
74
|
};
|
|
78
75
|
export type ClubItemType = ValueOf<typeof ClubItemType>;
|
|
79
76
|
export declare const ClubItemTypeValidator: import("@seayoo-web/validator").StringValidator<ClubItemType, false, false> & {
|
|
80
|
-
desc: never;
|
|
81
77
|
pattern: never;
|
|
82
78
|
url: never;
|
|
83
79
|
dataUri: never;
|
|
@@ -97,7 +93,6 @@ export declare const ClubRedemptionStatus: {
|
|
|
97
93
|
};
|
|
98
94
|
export type ClubRedemptionStatus = ValueOf<typeof ClubRedemptionStatus>;
|
|
99
95
|
export declare const ClubRedemptionStatusValidator: import("@seayoo-web/validator").StringValidator<ClubRedemptionStatus, false, false> & {
|
|
100
|
-
desc: never;
|
|
101
96
|
pattern: never;
|
|
102
97
|
url: never;
|
|
103
98
|
dataUri: never;
|
|
@@ -17,7 +17,6 @@ export interface Forum {
|
|
|
17
17
|
member_ids: number[];
|
|
18
18
|
}
|
|
19
19
|
export declare const ForumValidator: import("@seayoo-web/validator").ObjectValidator<Forum, false, false> & {
|
|
20
|
-
desc: never;
|
|
21
20
|
plain: never;
|
|
22
21
|
optional: never;
|
|
23
22
|
maybeNull: never;
|
|
@@ -38,7 +37,6 @@ export interface Topic {
|
|
|
38
37
|
post_num: number;
|
|
39
38
|
}
|
|
40
39
|
export declare const TopicValidator: import("@seayoo-web/validator").ObjectValidator<Topic, false, false> & {
|
|
41
|
-
desc: never;
|
|
42
40
|
plain: never;
|
|
43
41
|
optional: never;
|
|
44
42
|
maybeNull: never;
|
|
@@ -85,7 +83,6 @@ export interface Post {
|
|
|
85
83
|
create_time: number;
|
|
86
84
|
}
|
|
87
85
|
export declare const PostValidator: import("@seayoo-web/validator").ObjectValidator<Post, false, false> & {
|
|
88
|
-
desc: never;
|
|
89
86
|
plain: never;
|
|
90
87
|
optional: never;
|
|
91
88
|
maybeNull: never;
|
|
@@ -96,7 +93,6 @@ export interface Antispam {
|
|
|
96
93
|
err_msg?: string;
|
|
97
94
|
}
|
|
98
95
|
export declare const AntispamValidator: import("@seayoo-web/validator").ObjectValidator<Antispam, true, false> & {
|
|
99
|
-
desc: never;
|
|
100
96
|
plain: never;
|
|
101
97
|
optional: never;
|
|
102
98
|
maybeNull: never;
|
|
@@ -115,7 +111,6 @@ export interface ReplyTo {
|
|
|
115
111
|
avatar_url: string;
|
|
116
112
|
}
|
|
117
113
|
export declare const ReplyToValidator: import("@seayoo-web/validator").ObjectValidator<ReplyTo, false, false> & {
|
|
118
|
-
desc: never;
|
|
119
114
|
plain: never;
|
|
120
115
|
optional: never;
|
|
121
116
|
maybeNull: never;
|
|
@@ -152,7 +147,6 @@ export interface Reply {
|
|
|
152
147
|
create_time: number;
|
|
153
148
|
}
|
|
154
149
|
export declare const ReplyValidator: import("@seayoo-web/validator").ObjectValidator<Reply, false, false> & {
|
|
155
|
-
desc: never;
|
|
156
150
|
plain: never;
|
|
157
151
|
optional: never;
|
|
158
152
|
maybeNull: never;
|
|
@@ -199,7 +193,6 @@ export interface Comment {
|
|
|
199
193
|
replies?: Reply[];
|
|
200
194
|
}
|
|
201
195
|
export declare const CommentValidator: import("@seayoo-web/validator").ObjectValidator<Comment, false, false> & {
|
|
202
|
-
desc: never;
|
|
203
196
|
plain: never;
|
|
204
197
|
optional: never;
|
|
205
198
|
maybeNull: never;
|
|
@@ -214,7 +207,6 @@ export interface PresignedUrlResponse {
|
|
|
214
207
|
existed: boolean;
|
|
215
208
|
}
|
|
216
209
|
export declare const PresignedUrlResponseValidator: import("@seayoo-web/validator").ObjectValidator<PresignedUrlResponse, false, false> & {
|
|
217
|
-
desc: never;
|
|
218
210
|
plain: never;
|
|
219
211
|
optional: never;
|
|
220
212
|
maybeNull: never;
|
|
@@ -237,7 +229,6 @@ export interface NotificationBase {
|
|
|
237
229
|
origin_user_avatar_url: string;
|
|
238
230
|
}
|
|
239
231
|
export declare const NotificationBaseValidator: import("@seayoo-web/validator").ObjectValidator<NotificationBase, false, false> & {
|
|
240
|
-
desc: never;
|
|
241
232
|
plain: never;
|
|
242
233
|
optional: never;
|
|
243
234
|
maybeNull: never;
|
|
@@ -250,7 +241,6 @@ export interface NotificationPayloadSystem {
|
|
|
250
241
|
system_message_content: string;
|
|
251
242
|
}
|
|
252
243
|
export declare const NotificationPayloadSystemValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadSystem, false, false> & {
|
|
253
|
-
desc: never;
|
|
254
244
|
plain: never;
|
|
255
245
|
optional: never;
|
|
256
246
|
maybeNull: never;
|
|
@@ -267,7 +257,6 @@ export interface NotificationPayloadPost {
|
|
|
267
257
|
post_image_url: string;
|
|
268
258
|
}
|
|
269
259
|
export declare const NotificationPayloadPostValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadPost, false, false> & {
|
|
270
|
-
desc: never;
|
|
271
260
|
plain: never;
|
|
272
261
|
optional: never;
|
|
273
262
|
maybeNull: never;
|
|
@@ -280,7 +269,6 @@ export interface NotificationPayloadComment {
|
|
|
280
269
|
comment_content: string;
|
|
281
270
|
}
|
|
282
271
|
export declare const NotificationPayloadCommentValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadComment, false, false> & {
|
|
283
|
-
desc: never;
|
|
284
272
|
plain: never;
|
|
285
273
|
optional: never;
|
|
286
274
|
maybeNull: never;
|
|
@@ -293,7 +281,6 @@ export interface NotificationPayloadReply {
|
|
|
293
281
|
reply_content: string;
|
|
294
282
|
}
|
|
295
283
|
export declare const NotificationPayloadReplyValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadReply, false, false> & {
|
|
296
|
-
desc: never;
|
|
297
284
|
plain: never;
|
|
298
285
|
optional: never;
|
|
299
286
|
maybeNull: never;
|
|
@@ -336,7 +323,6 @@ export declare const NotificationReplyValidator: import("@seayoo-web/validator")
|
|
|
336
323
|
/** 社区通知 */
|
|
337
324
|
export type NotificationAll = NotificationSystem | NotificationPost | NotificationPostComment | NotificationCommentReply | NotificationComment | NotificationReplyReplied | NotificationReply;
|
|
338
325
|
export declare const NotificationValidator: import("@seayoo-web/validator").UnionValidator<[import("@seayoo-web/validator").ObjectValidator<NotificationSystem, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationPost, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationPostComment, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationCommentReply, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationComment, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationReplyReplied, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationReply, false, false>], false, false> & {
|
|
339
|
-
desc: never;
|
|
340
326
|
optional: never;
|
|
341
327
|
maybeNull: never;
|
|
342
328
|
key: never;
|
|
@@ -8,7 +8,6 @@ export declare const ForumMode: {
|
|
|
8
8
|
};
|
|
9
9
|
export type ForumMode = ValueOf<typeof ForumMode>;
|
|
10
10
|
export declare const ForumModeValidator: import("@seayoo-web/validator").StringValidator<ForumMode, false, false> & {
|
|
11
|
-
desc: never;
|
|
12
11
|
pattern: never;
|
|
13
12
|
url: never;
|
|
14
13
|
dataUri: never;
|
|
@@ -31,7 +30,6 @@ export declare const PostStatus: {
|
|
|
31
30
|
};
|
|
32
31
|
export type PostStatus = ValueOf<typeof PostStatus>;
|
|
33
32
|
export declare const PostStatusValidator: import("@seayoo-web/validator").StringValidator<PostStatus, false, false> & {
|
|
34
|
-
desc: never;
|
|
35
33
|
pattern: never;
|
|
36
34
|
url: never;
|
|
37
35
|
dataUri: never;
|
|
@@ -52,7 +50,6 @@ export declare const NotificationCategory: {
|
|
|
52
50
|
};
|
|
53
51
|
export type NotificationCategory = ValueOf<typeof NotificationCategory>;
|
|
54
52
|
export declare const NotificationCategoryValidator: import("@seayoo-web/validator").StringValidator<NotificationCategory, false, false> & {
|
|
55
|
-
desc: never;
|
|
56
53
|
pattern: never;
|
|
57
54
|
url: never;
|
|
58
55
|
dataUri: never;
|
|
@@ -91,7 +88,6 @@ export declare const NotificationType: {
|
|
|
91
88
|
};
|
|
92
89
|
export type NotificationType = ValueOf<typeof NotificationType>;
|
|
93
90
|
export declare const NotificationTypeValidator: import("@seayoo-web/validator").StringValidator<NotificationType, false, false> & {
|
|
94
|
-
desc: never;
|
|
95
91
|
pattern: never;
|
|
96
92
|
url: never;
|
|
97
93
|
dataUri: never;
|
|
@@ -16,7 +16,6 @@ export interface EventConfig {
|
|
|
16
16
|
features: EventFeatureConfig[];
|
|
17
17
|
}
|
|
18
18
|
export declare const EventConfigValidator: import("@seayoo-web/validator").ObjectValidator<EventConfig, false, false> & {
|
|
19
|
-
desc: never;
|
|
20
19
|
plain: never;
|
|
21
20
|
optional: never;
|
|
22
21
|
maybeNull: never;
|
|
@@ -17,7 +17,6 @@ export interface EventRewardItemConfig {
|
|
|
17
17
|
reward_item_rating: number;
|
|
18
18
|
}
|
|
19
19
|
export declare const EventRewardItemConfigValidator: import("@seayoo-web/validator").ObjectValidator<EventRewardItemConfig, false, false> & {
|
|
20
|
-
desc: never;
|
|
21
20
|
plain: never;
|
|
22
21
|
optional: never;
|
|
23
22
|
maybeNull: never;
|
|
@@ -28,7 +27,6 @@ export interface RegularReward {
|
|
|
28
27
|
rewards: EventRewardItemConfig[];
|
|
29
28
|
}
|
|
30
29
|
export declare const RegularRewardValidator: import("@seayoo-web/validator").ObjectValidator<RegularReward, false, false> & {
|
|
31
|
-
desc: never;
|
|
32
30
|
plain: never;
|
|
33
31
|
optional: never;
|
|
34
32
|
maybeNull: never;
|
|
@@ -48,7 +46,6 @@ export declare const FeatureRewardValidator: import("@seayoo-web/validator").Uni
|
|
|
48
46
|
feature_reward_type: "regular";
|
|
49
47
|
reward_details: RegularReward[];
|
|
50
48
|
}, false, false>], false, false> & {
|
|
51
|
-
desc: never;
|
|
52
49
|
optional: never;
|
|
53
50
|
maybeNull: never;
|
|
54
51
|
key: never;
|
|
@@ -57,7 +57,6 @@ export declare const UserEngagementDataValidator: import("@seayoo-web/validator"
|
|
|
57
57
|
content: /*elided*/ any;
|
|
58
58
|
}[];
|
|
59
59
|
}, false, false>, import("@seayoo-web/validator").ObjectValidator<UgcEngagementData, false, false>, import("@seayoo-web/validator").ObjectValidator<RedeemEngagementData, false, false>, import("@seayoo-web/validator").CustomValidator<EmptyObject, false, false>], false, false> & {
|
|
60
|
-
desc: never;
|
|
61
60
|
optional: never;
|
|
62
61
|
maybeNull: never;
|
|
63
62
|
key: never;
|
|
@@ -24,7 +24,6 @@ export type UserEngagement = {
|
|
|
24
24
|
rewards?: Reward[];
|
|
25
25
|
};
|
|
26
26
|
export declare const UserEngagementValidator: import("@seayoo-web/validator").ObjectValidator<UserEngagement, false, false> & {
|
|
27
|
-
desc: never;
|
|
28
27
|
plain: never;
|
|
29
28
|
optional: never;
|
|
30
29
|
maybeNull: never;
|
|
@@ -26,7 +26,6 @@ export declare const GamerItemType: {
|
|
|
26
26
|
};
|
|
27
27
|
export type GamerItemType = ValueOf<typeof GamerItemType>;
|
|
28
28
|
export declare const GamerItemTypeValidator: import("@seayoo-web/validator").StringValidator<GamerItemType, false, false> & {
|
|
29
|
-
desc: never;
|
|
30
29
|
pattern: never;
|
|
31
30
|
url: never;
|
|
32
31
|
dataUri: never;
|
|
@@ -62,7 +61,6 @@ export declare const RewardItemType: {
|
|
|
62
61
|
};
|
|
63
62
|
export type RewardItemType = GamerItemType;
|
|
64
63
|
export declare const RewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<GamerItemType, false, false> & {
|
|
65
|
-
desc: never;
|
|
66
64
|
pattern: never;
|
|
67
65
|
url: never;
|
|
68
66
|
dataUri: never;
|
|
@@ -81,7 +79,6 @@ export declare const EngageAccountType: {
|
|
|
81
79
|
};
|
|
82
80
|
export type EngageAccountType = ValueOf<typeof EngageAccountType>;
|
|
83
81
|
export declare const EngageAccountTypeValidator: import("@seayoo-web/validator").StringValidator<EngageAccountType, false, false> & {
|
|
84
|
-
desc: never;
|
|
85
82
|
pattern: never;
|
|
86
83
|
url: never;
|
|
87
84
|
dataUri: never;
|
|
@@ -100,7 +97,6 @@ export declare const EventPeriodType: {
|
|
|
100
97
|
};
|
|
101
98
|
export type EventPeriodType = ValueOf<typeof EventPeriodType>;
|
|
102
99
|
export declare const EventPeriodTypeValidator: import("@seayoo-web/validator").StringValidator<EventPeriodType, false, false> & {
|
|
103
|
-
desc: never;
|
|
104
100
|
pattern: never;
|
|
105
101
|
url: never;
|
|
106
102
|
dataUri: never;
|
|
@@ -163,7 +159,6 @@ export declare const FeatureType: {
|
|
|
163
159
|
};
|
|
164
160
|
export type FeatureType = ValueOf<typeof FeatureType>;
|
|
165
161
|
export declare const FeatureTypeValidator: import("@seayoo-web/validator").StringValidator<FeatureType, false, false> & {
|
|
166
|
-
desc: never;
|
|
167
162
|
pattern: never;
|
|
168
163
|
url: never;
|
|
169
164
|
dataUri: never;
|
|
@@ -204,7 +199,6 @@ export declare const QuestObjective: {
|
|
|
204
199
|
};
|
|
205
200
|
export type QuestObjective = ValueOf<typeof QuestObjective>;
|
|
206
201
|
export declare const QuestObjectiveValidator: import("@seayoo-web/validator").StringValidator<QuestObjective, false, false> & {
|
|
207
|
-
desc: never;
|
|
208
202
|
pattern: never;
|
|
209
203
|
url: never;
|
|
210
204
|
dataUri: never;
|
|
@@ -225,7 +219,6 @@ export declare const VoteOptionSource: {
|
|
|
225
219
|
};
|
|
226
220
|
export type VoteOptionSource = ValueOf<typeof VoteOptionSource>;
|
|
227
221
|
export declare const VoteOptionSourceValidator: import("@seayoo-web/validator").StringValidator<VoteOptionSource, false, false> & {
|
|
228
|
-
desc: never;
|
|
229
222
|
pattern: never;
|
|
230
223
|
url: never;
|
|
231
224
|
dataUri: never;
|
|
@@ -252,7 +245,6 @@ export declare const RewardStatus: {
|
|
|
252
245
|
};
|
|
253
246
|
export type RewardStatus = ValueOf<typeof RewardStatus>;
|
|
254
247
|
export declare const RewardStatusValidator: import("@seayoo-web/validator").StringValidator<RewardStatus, false, false> & {
|
|
255
|
-
desc: never;
|
|
256
248
|
pattern: never;
|
|
257
249
|
url: never;
|
|
258
250
|
dataUri: never;
|
|
@@ -277,7 +269,6 @@ export declare const RewardStatusSuffix: {
|
|
|
277
269
|
};
|
|
278
270
|
export type RewardStatusSuffix = ValueOf<typeof RewardStatusSuffix>;
|
|
279
271
|
export declare const RewardStatusSuffixValidator: import("@seayoo-web/validator").StringValidator<RewardStatusSuffix, false, false> & {
|
|
280
|
-
desc: never;
|
|
281
272
|
pattern: never;
|
|
282
273
|
url: never;
|
|
283
274
|
dataUri: never;
|
|
@@ -303,7 +294,6 @@ export declare const ClaimRewardStatus: {
|
|
|
303
294
|
readonly Delivered: "delivered";
|
|
304
295
|
};
|
|
305
296
|
export declare const ClaimRewardStatusValidator: import("@seayoo-web/validator").StringValidator<ClaimRewardStatus, false, false> & {
|
|
306
|
-
desc: never;
|
|
307
297
|
pattern: never;
|
|
308
298
|
url: never;
|
|
309
299
|
dataUri: never;
|
|
@@ -323,7 +313,6 @@ export declare const RewardSource: {
|
|
|
323
313
|
};
|
|
324
314
|
export type RewardSource = ValueOf<typeof RewardSource>;
|
|
325
315
|
export declare const RewardSourceValidator: import("@seayoo-web/validator").StringValidator<RewardSource, false, false> & {
|
|
326
|
-
desc: never;
|
|
327
316
|
pattern: never;
|
|
328
317
|
url: never;
|
|
329
318
|
dataUri: never;
|
|
@@ -342,7 +331,6 @@ export declare const TeamVisibility: {
|
|
|
342
331
|
};
|
|
343
332
|
export type TeamVisibility = ValueOf<typeof TeamVisibility>;
|
|
344
333
|
export declare const TeamVisibilityValidator: import("@seayoo-web/validator").StringValidator<TeamVisibility, false, false> & {
|
|
345
|
-
desc: never;
|
|
346
334
|
pattern: never;
|
|
347
335
|
url: never;
|
|
348
336
|
dataUri: never;
|
|
@@ -367,7 +355,6 @@ export declare const LotteryTicketStatus: {
|
|
|
367
355
|
};
|
|
368
356
|
export type LotteryTicketStatus = ValueOf<typeof LotteryTicketStatus>;
|
|
369
357
|
export declare const LotteryTicketStatusValidator: import("@seayoo-web/validator").StringValidator<LotteryTicketStatus, false, false> & {
|
|
370
|
-
desc: never;
|
|
371
358
|
pattern: never;
|
|
372
359
|
url: never;
|
|
373
360
|
dataUri: never;
|
|
@@ -392,7 +379,6 @@ export declare const TeamAction: {
|
|
|
392
379
|
};
|
|
393
380
|
export type TeamAction = ValueOf<typeof TeamAction>;
|
|
394
381
|
export declare const TeamActionValidator: import("@seayoo-web/validator").StringValidator<TeamAction, false, false> & {
|
|
395
|
-
desc: never;
|
|
396
382
|
pattern: never;
|
|
397
383
|
url: never;
|
|
398
384
|
dataUri: never;
|
|
@@ -413,7 +399,6 @@ export declare const LotteryDrawAction: {
|
|
|
413
399
|
};
|
|
414
400
|
export type LotteryDrawAction = ValueOf<typeof LotteryDrawAction>;
|
|
415
401
|
export declare const LotteryDrawActionValidator: import("@seayoo-web/validator").StringValidator<LotteryDrawAction, false, false> & {
|
|
416
|
-
desc: never;
|
|
417
402
|
pattern: never;
|
|
418
403
|
url: never;
|
|
419
404
|
dataUri: never;
|
|
@@ -432,7 +417,6 @@ export declare const QuestProgressAlgorithm: {
|
|
|
432
417
|
};
|
|
433
418
|
export type QuestProgressAlgorithm = ValueOf<typeof QuestProgressAlgorithm>;
|
|
434
419
|
export declare const QuestProgressAlgorithmValidator: import("@seayoo-web/validator").StringValidator<QuestProgressAlgorithm, false, false> & {
|
|
435
|
-
desc: never;
|
|
436
420
|
pattern: never;
|
|
437
421
|
url: never;
|
|
438
422
|
dataUri: never;
|
|
@@ -455,7 +439,6 @@ export declare const Vote2RewardType: {
|
|
|
455
439
|
};
|
|
456
440
|
export type Vote2RewardType = (typeof Vote2RewardType)[keyof typeof Vote2RewardType];
|
|
457
441
|
export declare const Vote2RewardTypeValidator: import("@seayoo-web/validator").StringValidator<Vote2RewardType, false, false> & {
|
|
458
|
-
desc: never;
|
|
459
442
|
pattern: never;
|
|
460
443
|
url: never;
|
|
461
444
|
dataUri: never;
|
|
@@ -484,7 +467,6 @@ export declare const UgcSocialMedia: {
|
|
|
484
467
|
};
|
|
485
468
|
export type UgcSocialMedia = ValueOf<typeof UgcSocialMedia>;
|
|
486
469
|
export declare const UgcSocialMediaValidator: import("@seayoo-web/validator").StringValidator<UgcSocialMedia, false, false> & {
|
|
487
|
-
desc: never;
|
|
488
470
|
pattern: never;
|
|
489
471
|
url: never;
|
|
490
472
|
dataUri: never;
|
|
@@ -505,7 +487,6 @@ export declare const UgcReviewStatus: {
|
|
|
505
487
|
};
|
|
506
488
|
export type UgcReviewStatus = ValueOf<typeof UgcReviewStatus>;
|
|
507
489
|
export declare const UgcReviewStatusValidator: import("@seayoo-web/validator").StringValidator<UgcReviewStatus, false, false> & {
|
|
508
|
-
desc: never;
|
|
509
490
|
pattern: never;
|
|
510
491
|
url: never;
|
|
511
492
|
dataUri: never;
|
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;
|