wenum 1.6.0 → 1.7.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 CHANGED
@@ -232,6 +232,11 @@ declare enum LeaderboardStatus {
232
232
  Active = 1,
233
233
  Inactive = 2
234
234
  }
235
+ declare enum GameResult {
236
+ Lose = -1,
237
+ Tie = 0,
238
+ Win = 1
239
+ }
235
240
  declare enum BasketballGameType {
236
241
  Other = 0,
237
242
  Single = 1,// one-on-one
@@ -244,4 +249,4 @@ declare enum TennisGameType {
244
249
  Double = 2
245
250
  }
246
251
 
247
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballGameType, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LeaderboardStatus, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisGameType, TennisLevel };
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 };
package/dist/index.d.ts CHANGED
@@ -232,6 +232,11 @@ declare enum LeaderboardStatus {
232
232
  Active = 1,
233
233
  Inactive = 2
234
234
  }
235
+ declare enum GameResult {
236
+ Lose = -1,
237
+ Tie = 0,
238
+ Win = 1
239
+ }
235
240
  declare enum BasketballGameType {
236
241
  Other = 0,
237
242
  Single = 1,// one-on-one
@@ -244,4 +249,4 @@ declare enum TennisGameType {
244
249
  Double = 2
245
250
  }
246
251
 
247
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballGameType, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LeaderboardStatus, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisGameType, TennisLevel };
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 };
package/dist/index.js CHANGED
@@ -31,6 +31,7 @@ __export(index_exports, {
31
31
  CollectionType: () => CollectionType,
32
32
  ConnectionType: () => ConnectionType,
33
33
  FollowingStatus: () => FollowingStatus,
34
+ GameResult: () => GameResult,
34
35
  Handedness: () => Handedness,
35
36
  LeaderboardStatus: () => LeaderboardStatus,
36
37
  LocationType: () => LocationType,
@@ -333,6 +334,12 @@ var LeaderboardStatus = /* @__PURE__ */ ((LeaderboardStatus2) => {
333
334
  LeaderboardStatus2[LeaderboardStatus2["Inactive"] = 2] = "Inactive";
334
335
  return LeaderboardStatus2;
335
336
  })(LeaderboardStatus || {});
337
+ var GameResult = /* @__PURE__ */ ((GameResult2) => {
338
+ GameResult2[GameResult2["Lose"] = -1] = "Lose";
339
+ GameResult2[GameResult2["Tie"] = 0] = "Tie";
340
+ GameResult2[GameResult2["Win"] = 1] = "Win";
341
+ return GameResult2;
342
+ })(GameResult || {});
336
343
  var BasketballGameType = /* @__PURE__ */ ((BasketballGameType2) => {
337
344
  BasketballGameType2[BasketballGameType2["Other"] = 0] = "Other";
338
345
  BasketballGameType2[BasketballGameType2["Single"] = 1] = "Single";
@@ -359,6 +366,7 @@ var TennisGameType = /* @__PURE__ */ ((TennisGameType2) => {
359
366
  CollectionType,
360
367
  ConnectionType,
361
368
  FollowingStatus,
369
+ GameResult,
362
370
  Handedness,
363
371
  LeaderboardStatus,
364
372
  LocationType,
package/dist/index.mjs CHANGED
@@ -277,6 +277,12 @@ var LeaderboardStatus = /* @__PURE__ */ ((LeaderboardStatus2) => {
277
277
  LeaderboardStatus2[LeaderboardStatus2["Inactive"] = 2] = "Inactive";
278
278
  return LeaderboardStatus2;
279
279
  })(LeaderboardStatus || {});
280
+ var GameResult = /* @__PURE__ */ ((GameResult2) => {
281
+ GameResult2[GameResult2["Lose"] = -1] = "Lose";
282
+ GameResult2[GameResult2["Tie"] = 0] = "Tie";
283
+ GameResult2[GameResult2["Win"] = 1] = "Win";
284
+ return GameResult2;
285
+ })(GameResult || {});
280
286
  var BasketballGameType = /* @__PURE__ */ ((BasketballGameType2) => {
281
287
  BasketballGameType2[BasketballGameType2["Other"] = 0] = "Other";
282
288
  BasketballGameType2[BasketballGameType2["Single"] = 1] = "Single";
@@ -302,6 +308,7 @@ export {
302
308
  CollectionType,
303
309
  ConnectionType,
304
310
  FollowingStatus,
311
+ GameResult,
305
312
  Handedness,
306
313
  LeaderboardStatus,
307
314
  LocationType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -4,6 +4,12 @@ export enum LeaderboardStatus {
4
4
  Inactive,
5
5
  }
6
6
 
7
+ export enum GameResult {
8
+ Lose = -1,
9
+ Tie = 0,
10
+ Win = 1,
11
+ }
12
+
7
13
  export enum BasketballGameType {
8
14
  Other,
9
15
  Single, // one-on-one