wenum 1.7.0 → 1.9.0
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.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +22 -0
- package/dist/index.mjs +20 -0
- package/package.json +1 -1
- package/src/leaderboard.ts +13 -0
- package/src/page/profile/event.ts +5 -1
package/dist/index.d.mts
CHANGED
|
@@ -103,6 +103,10 @@ declare enum AttendanceStatus {
|
|
|
103
103
|
CheckedIn = 4,
|
|
104
104
|
Left = 5
|
|
105
105
|
}
|
|
106
|
+
declare enum EventType {
|
|
107
|
+
Regular = 0,
|
|
108
|
+
Game = 1
|
|
109
|
+
}
|
|
106
110
|
|
|
107
111
|
declare enum PostType {
|
|
108
112
|
None = 0,
|
|
@@ -248,5 +252,17 @@ declare enum TennisGameType {
|
|
|
248
252
|
Single = 1,
|
|
249
253
|
Double = 2
|
|
250
254
|
}
|
|
255
|
+
declare enum RunningGameType {
|
|
256
|
+
Other = 0,
|
|
257
|
+
M100 = 1,
|
|
258
|
+
M200 = 2,
|
|
259
|
+
M400 = 3,
|
|
260
|
+
M800 = 4,
|
|
261
|
+
M1500 = 5,
|
|
262
|
+
M5k = 6,
|
|
263
|
+
M10k = 7,
|
|
264
|
+
HalfMarathon = 8,
|
|
265
|
+
Marathon = 9
|
|
266
|
+
}
|
|
251
267
|
|
|
252
|
-
export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballGameType, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, FollowingStatus, GameResult, Handedness, LeaderboardStatus, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisGameType, TennisLevel };
|
|
268
|
+
export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballGameType, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, EventType, FollowingStatus, GameResult, Handedness, LeaderboardStatus, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, RunningGameType, SubjectType, TennisBackhand, TennisGameType, TennisLevel };
|
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,10 @@ declare enum AttendanceStatus {
|
|
|
103
103
|
CheckedIn = 4,
|
|
104
104
|
Left = 5
|
|
105
105
|
}
|
|
106
|
+
declare enum EventType {
|
|
107
|
+
Regular = 0,
|
|
108
|
+
Game = 1
|
|
109
|
+
}
|
|
106
110
|
|
|
107
111
|
declare enum PostType {
|
|
108
112
|
None = 0,
|
|
@@ -248,5 +252,17 @@ declare enum TennisGameType {
|
|
|
248
252
|
Single = 1,
|
|
249
253
|
Double = 2
|
|
250
254
|
}
|
|
255
|
+
declare enum RunningGameType {
|
|
256
|
+
Other = 0,
|
|
257
|
+
M100 = 1,
|
|
258
|
+
M200 = 2,
|
|
259
|
+
M400 = 3,
|
|
260
|
+
M800 = 4,
|
|
261
|
+
M1500 = 5,
|
|
262
|
+
M5k = 6,
|
|
263
|
+
M10k = 7,
|
|
264
|
+
HalfMarathon = 8,
|
|
265
|
+
Marathon = 9
|
|
266
|
+
}
|
|
251
267
|
|
|
252
|
-
export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballGameType, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, FollowingStatus, GameResult, Handedness, LeaderboardStatus, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisGameType, TennisLevel };
|
|
268
|
+
export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballGameType, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, EventType, FollowingStatus, GameResult, Handedness, LeaderboardStatus, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, RunningGameType, SubjectType, TennisBackhand, TennisGameType, TennisLevel };
|
package/dist/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __export(index_exports, {
|
|
|
30
30
|
CollectionMetaStatus: () => CollectionMetaStatus,
|
|
31
31
|
CollectionType: () => CollectionType,
|
|
32
32
|
ConnectionType: () => ConnectionType,
|
|
33
|
+
EventType: () => EventType,
|
|
33
34
|
FollowingStatus: () => FollowingStatus,
|
|
34
35
|
GameResult: () => GameResult,
|
|
35
36
|
Handedness: () => Handedness,
|
|
@@ -48,6 +49,7 @@ __export(index_exports, {
|
|
|
48
49
|
ProfileStatus: () => ProfileStatus,
|
|
49
50
|
ProfileType: () => ProfileType,
|
|
50
51
|
Pronoun: () => Pronoun,
|
|
52
|
+
RunningGameType: () => RunningGameType,
|
|
51
53
|
SubjectType: () => SubjectType,
|
|
52
54
|
TennisBackhand: () => TennisBackhand,
|
|
53
55
|
TennisGameType: () => TennisGameType,
|
|
@@ -178,6 +180,11 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
|
|
|
178
180
|
AttendanceStatus2[AttendanceStatus2["Left"] = 5] = "Left";
|
|
179
181
|
return AttendanceStatus2;
|
|
180
182
|
})(AttendanceStatus || {});
|
|
183
|
+
var EventType = /* @__PURE__ */ ((EventType2) => {
|
|
184
|
+
EventType2[EventType2["Regular"] = 0] = "Regular";
|
|
185
|
+
EventType2[EventType2["Game"] = 1] = "Game";
|
|
186
|
+
return EventType2;
|
|
187
|
+
})(EventType || {});
|
|
181
188
|
|
|
182
189
|
// src/page/post.ts
|
|
183
190
|
var PostType = /* @__PURE__ */ ((PostType2) => {
|
|
@@ -353,6 +360,19 @@ var TennisGameType = /* @__PURE__ */ ((TennisGameType2) => {
|
|
|
353
360
|
TennisGameType2[TennisGameType2["Double"] = 2] = "Double";
|
|
354
361
|
return TennisGameType2;
|
|
355
362
|
})(TennisGameType || {});
|
|
363
|
+
var RunningGameType = /* @__PURE__ */ ((RunningGameType2) => {
|
|
364
|
+
RunningGameType2[RunningGameType2["Other"] = 0] = "Other";
|
|
365
|
+
RunningGameType2[RunningGameType2["M100"] = 1] = "M100";
|
|
366
|
+
RunningGameType2[RunningGameType2["M200"] = 2] = "M200";
|
|
367
|
+
RunningGameType2[RunningGameType2["M400"] = 3] = "M400";
|
|
368
|
+
RunningGameType2[RunningGameType2["M800"] = 4] = "M800";
|
|
369
|
+
RunningGameType2[RunningGameType2["M1500"] = 5] = "M1500";
|
|
370
|
+
RunningGameType2[RunningGameType2["M5k"] = 6] = "M5k";
|
|
371
|
+
RunningGameType2[RunningGameType2["M10k"] = 7] = "M10k";
|
|
372
|
+
RunningGameType2[RunningGameType2["HalfMarathon"] = 8] = "HalfMarathon";
|
|
373
|
+
RunningGameType2[RunningGameType2["Marathon"] = 9] = "Marathon";
|
|
374
|
+
return RunningGameType2;
|
|
375
|
+
})(RunningGameType || {});
|
|
356
376
|
// Annotate the CommonJS export names for ESM import in node:
|
|
357
377
|
0 && (module.exports = {
|
|
358
378
|
AccountStatus,
|
|
@@ -365,6 +385,7 @@ var TennisGameType = /* @__PURE__ */ ((TennisGameType2) => {
|
|
|
365
385
|
CollectionMetaStatus,
|
|
366
386
|
CollectionType,
|
|
367
387
|
ConnectionType,
|
|
388
|
+
EventType,
|
|
368
389
|
FollowingStatus,
|
|
369
390
|
GameResult,
|
|
370
391
|
Handedness,
|
|
@@ -383,6 +404,7 @@ var TennisGameType = /* @__PURE__ */ ((TennisGameType2) => {
|
|
|
383
404
|
ProfileStatus,
|
|
384
405
|
ProfileType,
|
|
385
406
|
Pronoun,
|
|
407
|
+
RunningGameType,
|
|
386
408
|
SubjectType,
|
|
387
409
|
TennisBackhand,
|
|
388
410
|
TennisGameType,
|
package/dist/index.mjs
CHANGED
|
@@ -121,6 +121,11 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
|
|
|
121
121
|
AttendanceStatus2[AttendanceStatus2["Left"] = 5] = "Left";
|
|
122
122
|
return AttendanceStatus2;
|
|
123
123
|
})(AttendanceStatus || {});
|
|
124
|
+
var EventType = /* @__PURE__ */ ((EventType2) => {
|
|
125
|
+
EventType2[EventType2["Regular"] = 0] = "Regular";
|
|
126
|
+
EventType2[EventType2["Game"] = 1] = "Game";
|
|
127
|
+
return EventType2;
|
|
128
|
+
})(EventType || {});
|
|
124
129
|
|
|
125
130
|
// src/page/post.ts
|
|
126
131
|
var PostType = /* @__PURE__ */ ((PostType2) => {
|
|
@@ -296,6 +301,19 @@ var TennisGameType = /* @__PURE__ */ ((TennisGameType2) => {
|
|
|
296
301
|
TennisGameType2[TennisGameType2["Double"] = 2] = "Double";
|
|
297
302
|
return TennisGameType2;
|
|
298
303
|
})(TennisGameType || {});
|
|
304
|
+
var RunningGameType = /* @__PURE__ */ ((RunningGameType2) => {
|
|
305
|
+
RunningGameType2[RunningGameType2["Other"] = 0] = "Other";
|
|
306
|
+
RunningGameType2[RunningGameType2["M100"] = 1] = "M100";
|
|
307
|
+
RunningGameType2[RunningGameType2["M200"] = 2] = "M200";
|
|
308
|
+
RunningGameType2[RunningGameType2["M400"] = 3] = "M400";
|
|
309
|
+
RunningGameType2[RunningGameType2["M800"] = 4] = "M800";
|
|
310
|
+
RunningGameType2[RunningGameType2["M1500"] = 5] = "M1500";
|
|
311
|
+
RunningGameType2[RunningGameType2["M5k"] = 6] = "M5k";
|
|
312
|
+
RunningGameType2[RunningGameType2["M10k"] = 7] = "M10k";
|
|
313
|
+
RunningGameType2[RunningGameType2["HalfMarathon"] = 8] = "HalfMarathon";
|
|
314
|
+
RunningGameType2[RunningGameType2["Marathon"] = 9] = "Marathon";
|
|
315
|
+
return RunningGameType2;
|
|
316
|
+
})(RunningGameType || {});
|
|
299
317
|
export {
|
|
300
318
|
AccountStatus,
|
|
301
319
|
AdminAccountStatus,
|
|
@@ -307,6 +325,7 @@ export {
|
|
|
307
325
|
CollectionMetaStatus,
|
|
308
326
|
CollectionType,
|
|
309
327
|
ConnectionType,
|
|
328
|
+
EventType,
|
|
310
329
|
FollowingStatus,
|
|
311
330
|
GameResult,
|
|
312
331
|
Handedness,
|
|
@@ -325,6 +344,7 @@ export {
|
|
|
325
344
|
ProfileStatus,
|
|
326
345
|
ProfileType,
|
|
327
346
|
Pronoun,
|
|
347
|
+
RunningGameType,
|
|
328
348
|
SubjectType,
|
|
329
349
|
TennisBackhand,
|
|
330
350
|
TennisGameType,
|
package/package.json
CHANGED
package/src/leaderboard.ts
CHANGED