wenum 1.5.0 → 1.6.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
@@ -227,4 +227,21 @@ declare enum SubjectType {
227
227
  Reply = 4
228
228
  }
229
229
 
230
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
230
+ declare enum LeaderboardStatus {
231
+ None = 0,
232
+ Active = 1,
233
+ Inactive = 2
234
+ }
235
+ declare enum BasketballGameType {
236
+ Other = 0,
237
+ Single = 1,// one-on-one
238
+ Half = 2,// half-court
239
+ Full = 3
240
+ }
241
+ declare enum TennisGameType {
242
+ Other = 0,
243
+ Single = 1,
244
+ Double = 2
245
+ }
246
+
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 };
package/dist/index.d.ts CHANGED
@@ -227,4 +227,21 @@ declare enum SubjectType {
227
227
  Reply = 4
228
228
  }
229
229
 
230
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
230
+ declare enum LeaderboardStatus {
231
+ None = 0,
232
+ Active = 1,
233
+ Inactive = 2
234
+ }
235
+ declare enum BasketballGameType {
236
+ Other = 0,
237
+ Single = 1,// one-on-one
238
+ Half = 2,// half-court
239
+ Full = 3
240
+ }
241
+ declare enum TennisGameType {
242
+ Other = 0,
243
+ Single = 1,
244
+ Double = 2
245
+ }
246
+
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 };
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ __export(index_exports, {
23
23
  AccountStatus: () => AccountStatus,
24
24
  AdminAccountStatus: () => AdminAccountStatus,
25
25
  AttendanceStatus: () => AttendanceStatus,
26
+ BasketballGameType: () => BasketballGameType,
26
27
  BasketballPosition: () => BasketballPosition,
27
28
  BuddyingStatus: () => BuddyingStatus,
28
29
  ChallengeStatus: () => ChallengeStatus,
@@ -31,6 +32,7 @@ __export(index_exports, {
31
32
  ConnectionType: () => ConnectionType,
32
33
  FollowingStatus: () => FollowingStatus,
33
34
  Handedness: () => Handedness,
35
+ LeaderboardStatus: () => LeaderboardStatus,
34
36
  LocationType: () => LocationType,
35
37
  MarketMetaStatus: () => MarketMetaStatus,
36
38
  MarketType: () => MarketType,
@@ -47,6 +49,7 @@ __export(index_exports, {
47
49
  Pronoun: () => Pronoun,
48
50
  SubjectType: () => SubjectType,
49
51
  TennisBackhand: () => TennisBackhand,
52
+ TennisGameType: () => TennisGameType,
50
53
  TennisLevel: () => TennisLevel
51
54
  });
52
55
  module.exports = __toCommonJS(index_exports);
@@ -322,11 +325,33 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
322
325
  SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
323
326
  return SubjectType2;
324
327
  })(SubjectType || {});
328
+
329
+ // src/leaderboard.ts
330
+ var LeaderboardStatus = /* @__PURE__ */ ((LeaderboardStatus2) => {
331
+ LeaderboardStatus2[LeaderboardStatus2["None"] = 0] = "None";
332
+ LeaderboardStatus2[LeaderboardStatus2["Active"] = 1] = "Active";
333
+ LeaderboardStatus2[LeaderboardStatus2["Inactive"] = 2] = "Inactive";
334
+ return LeaderboardStatus2;
335
+ })(LeaderboardStatus || {});
336
+ var BasketballGameType = /* @__PURE__ */ ((BasketballGameType2) => {
337
+ BasketballGameType2[BasketballGameType2["Other"] = 0] = "Other";
338
+ BasketballGameType2[BasketballGameType2["Single"] = 1] = "Single";
339
+ BasketballGameType2[BasketballGameType2["Half"] = 2] = "Half";
340
+ BasketballGameType2[BasketballGameType2["Full"] = 3] = "Full";
341
+ return BasketballGameType2;
342
+ })(BasketballGameType || {});
343
+ var TennisGameType = /* @__PURE__ */ ((TennisGameType2) => {
344
+ TennisGameType2[TennisGameType2["Other"] = 0] = "Other";
345
+ TennisGameType2[TennisGameType2["Single"] = 1] = "Single";
346
+ TennisGameType2[TennisGameType2["Double"] = 2] = "Double";
347
+ return TennisGameType2;
348
+ })(TennisGameType || {});
325
349
  // Annotate the CommonJS export names for ESM import in node:
326
350
  0 && (module.exports = {
327
351
  AccountStatus,
328
352
  AdminAccountStatus,
329
353
  AttendanceStatus,
354
+ BasketballGameType,
330
355
  BasketballPosition,
331
356
  BuddyingStatus,
332
357
  ChallengeStatus,
@@ -335,6 +360,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
335
360
  ConnectionType,
336
361
  FollowingStatus,
337
362
  Handedness,
363
+ LeaderboardStatus,
338
364
  LocationType,
339
365
  MarketMetaStatus,
340
366
  MarketType,
@@ -351,5 +377,6 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
351
377
  Pronoun,
352
378
  SubjectType,
353
379
  TennisBackhand,
380
+ TennisGameType,
354
381
  TennisLevel
355
382
  });
package/dist/index.mjs CHANGED
@@ -269,10 +269,32 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
269
269
  SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
270
270
  return SubjectType2;
271
271
  })(SubjectType || {});
272
+
273
+ // src/leaderboard.ts
274
+ var LeaderboardStatus = /* @__PURE__ */ ((LeaderboardStatus2) => {
275
+ LeaderboardStatus2[LeaderboardStatus2["None"] = 0] = "None";
276
+ LeaderboardStatus2[LeaderboardStatus2["Active"] = 1] = "Active";
277
+ LeaderboardStatus2[LeaderboardStatus2["Inactive"] = 2] = "Inactive";
278
+ return LeaderboardStatus2;
279
+ })(LeaderboardStatus || {});
280
+ var BasketballGameType = /* @__PURE__ */ ((BasketballGameType2) => {
281
+ BasketballGameType2[BasketballGameType2["Other"] = 0] = "Other";
282
+ BasketballGameType2[BasketballGameType2["Single"] = 1] = "Single";
283
+ BasketballGameType2[BasketballGameType2["Half"] = 2] = "Half";
284
+ BasketballGameType2[BasketballGameType2["Full"] = 3] = "Full";
285
+ return BasketballGameType2;
286
+ })(BasketballGameType || {});
287
+ var TennisGameType = /* @__PURE__ */ ((TennisGameType2) => {
288
+ TennisGameType2[TennisGameType2["Other"] = 0] = "Other";
289
+ TennisGameType2[TennisGameType2["Single"] = 1] = "Single";
290
+ TennisGameType2[TennisGameType2["Double"] = 2] = "Double";
291
+ return TennisGameType2;
292
+ })(TennisGameType || {});
272
293
  export {
273
294
  AccountStatus,
274
295
  AdminAccountStatus,
275
296
  AttendanceStatus,
297
+ BasketballGameType,
276
298
  BasketballPosition,
277
299
  BuddyingStatus,
278
300
  ChallengeStatus,
@@ -281,6 +303,7 @@ export {
281
303
  ConnectionType,
282
304
  FollowingStatus,
283
305
  Handedness,
306
+ LeaderboardStatus,
284
307
  LocationType,
285
308
  MarketMetaStatus,
286
309
  MarketType,
@@ -297,5 +320,6 @@ export {
297
320
  Pronoun,
298
321
  SubjectType,
299
322
  TennisBackhand,
323
+ TennisGameType,
300
324
  TennisLevel
301
325
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -4,3 +4,4 @@ export * from './connection';
4
4
  export * from './attribute';
5
5
  export * from './pageUpdate';
6
6
  export * from './comment';
7
+ export * from './leaderboard';
@@ -0,0 +1,18 @@
1
+ export enum LeaderboardStatus {
2
+ None,
3
+ Active,
4
+ Inactive,
5
+ }
6
+
7
+ export enum BasketballGameType {
8
+ Other,
9
+ Single, // one-on-one
10
+ Half, // half-court
11
+ Full, // full-court
12
+ }
13
+
14
+ export enum TennisGameType {
15
+ Other,
16
+ Single,
17
+ Double,
18
+ }