wenum 1.16.1 → 1.19.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
@@ -106,10 +106,6 @@ declare enum AttendanceStatus {
106
106
  CheckedIn = 4,
107
107
  Left = 5
108
108
  }
109
- declare enum EventType {
110
- Regular = 0,
111
- Game = 1
112
- }
113
109
 
114
110
  declare enum GameType {
115
111
  Zero = 0,
@@ -136,6 +132,10 @@ declare enum LeaderboardType {
136
132
  Distance = 3,
137
133
  Score = 4
138
134
  }
135
+ declare enum LeaderboardOrder {
136
+ Asc = 0,
137
+ Desc = 1
138
+ }
139
139
 
140
140
  declare enum PostType {
141
141
  None = 0,
@@ -260,4 +260,42 @@ declare enum SubjectType {
260
260
  Reply = 4
261
261
  }
262
262
 
263
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, EventType, FollowingStatus, GameType, Handedness, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
263
+ declare enum CategoryName {
264
+ Sports = "sports",
265
+ Pets = "pets",
266
+ Music = "music",
267
+ Dancing = "dancing",
268
+ Food = "food",
269
+ Photography = "photography",
270
+ Tourism = "tourism"
271
+ }
272
+
273
+ declare enum PentsInterestName {
274
+ Dog = "dog",
275
+ Cat = "cat"
276
+ }
277
+
278
+ declare enum SportsInterestName {
279
+ Tennis = "tennis",
280
+ Pickleball = "pickleball",
281
+ Basketball = "basketball",
282
+ Golf = "golf",
283
+ Hiking = "hiking",
284
+ Running = "running",
285
+ Gym = "gym",
286
+ Baseball = "baseball",
287
+ Biking = "biking",
288
+ Yoga = "yoga",
289
+ TableTennis = "tabletennis",
290
+ Football = "football",
291
+ Soccer = "soccer",
292
+ Badminton = "badminton",
293
+ Ski = "ski",
294
+ Surf = "surf",
295
+ Swim = "swim",
296
+ Hockey = "hockey"
297
+ }
298
+
299
+ type InterestName = SportsInterestName | PentsInterestName;
300
+
301
+ export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, FollowingStatus, GameType, Handedness, type InterestName, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PentsInterestName, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.d.ts CHANGED
@@ -106,10 +106,6 @@ declare enum AttendanceStatus {
106
106
  CheckedIn = 4,
107
107
  Left = 5
108
108
  }
109
- declare enum EventType {
110
- Regular = 0,
111
- Game = 1
112
- }
113
109
 
114
110
  declare enum GameType {
115
111
  Zero = 0,
@@ -136,6 +132,10 @@ declare enum LeaderboardType {
136
132
  Distance = 3,
137
133
  Score = 4
138
134
  }
135
+ declare enum LeaderboardOrder {
136
+ Asc = 0,
137
+ Desc = 1
138
+ }
139
139
 
140
140
  declare enum PostType {
141
141
  None = 0,
@@ -260,4 +260,42 @@ declare enum SubjectType {
260
260
  Reply = 4
261
261
  }
262
262
 
263
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, EventType, FollowingStatus, GameType, Handedness, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
263
+ declare enum CategoryName {
264
+ Sports = "sports",
265
+ Pets = "pets",
266
+ Music = "music",
267
+ Dancing = "dancing",
268
+ Food = "food",
269
+ Photography = "photography",
270
+ Tourism = "tourism"
271
+ }
272
+
273
+ declare enum PentsInterestName {
274
+ Dog = "dog",
275
+ Cat = "cat"
276
+ }
277
+
278
+ declare enum SportsInterestName {
279
+ Tennis = "tennis",
280
+ Pickleball = "pickleball",
281
+ Basketball = "basketball",
282
+ Golf = "golf",
283
+ Hiking = "hiking",
284
+ Running = "running",
285
+ Gym = "gym",
286
+ Baseball = "baseball",
287
+ Biking = "biking",
288
+ Yoga = "yoga",
289
+ TableTennis = "tabletennis",
290
+ Football = "football",
291
+ Soccer = "soccer",
292
+ Badminton = "badminton",
293
+ Ski = "ski",
294
+ Surf = "surf",
295
+ Swim = "swim",
296
+ Hockey = "hockey"
297
+ }
298
+
299
+ type InterestName = SportsInterestName | PentsInterestName;
300
+
301
+ export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, FollowingStatus, GameType, Handedness, type InterestName, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, PageType, PageUpdateType, PentsInterestName, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.js CHANGED
@@ -25,15 +25,16 @@ __export(index_exports, {
25
25
  AttendanceStatus: () => AttendanceStatus,
26
26
  BasketballPosition: () => BasketballPosition,
27
27
  BuddyingStatus: () => BuddyingStatus,
28
+ CategoryName: () => CategoryName,
28
29
  ChallengeStatus: () => ChallengeStatus,
29
30
  CollectionMetaStatus: () => CollectionMetaStatus,
30
31
  CollectionType: () => CollectionType,
31
32
  ConnectionType: () => ConnectionType,
32
33
  DuelGameResultType: () => DuelGameResultType,
33
- EventType: () => EventType,
34
34
  FollowingStatus: () => FollowingStatus,
35
35
  GameType: () => GameType,
36
36
  Handedness: () => Handedness,
37
+ LeaderboardOrder: () => LeaderboardOrder,
37
38
  LeaderboardType: () => LeaderboardType,
38
39
  LocationType: () => LocationType,
39
40
  MarketMetaStatus: () => MarketMetaStatus,
@@ -41,6 +42,7 @@ __export(index_exports, {
41
42
  MemberingStatus: () => MemberingStatus,
42
43
  PageType: () => PageType,
43
44
  PageUpdateType: () => PageUpdateType,
45
+ PentsInterestName: () => PentsInterestName,
44
46
  PetGender: () => PetGender,
45
47
  PostPrivacy: () => PostPrivacy,
46
48
  PostType: () => PostType,
@@ -49,6 +51,7 @@ __export(index_exports, {
49
51
  ProfileStatus: () => ProfileStatus,
50
52
  ProfileType: () => ProfileType,
51
53
  Pronoun: () => Pronoun,
54
+ SportsInterestName: () => SportsInterestName,
52
55
  SubjectType: () => SubjectType,
53
56
  TennisBackhand: () => TennisBackhand,
54
57
  TennisLevel: () => TennisLevel
@@ -181,11 +184,6 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
181
184
  AttendanceStatus2[AttendanceStatus2["Left"] = 5] = "Left";
182
185
  return AttendanceStatus2;
183
186
  })(AttendanceStatus || {});
184
- var EventType = /* @__PURE__ */ ((EventType2) => {
185
- EventType2[EventType2["Regular"] = 0] = "Regular";
186
- EventType2[EventType2["Game"] = 1] = "Game";
187
- return EventType2;
188
- })(EventType || {});
189
187
 
190
188
  // src/page/profile/game.ts
191
189
  var GameType = /* @__PURE__ */ ((GameType2) => {
@@ -217,6 +215,11 @@ var LeaderboardType = /* @__PURE__ */ ((LeaderboardType2) => {
217
215
  LeaderboardType2[LeaderboardType2["Score"] = 4] = "Score";
218
216
  return LeaderboardType2;
219
217
  })(LeaderboardType || {});
218
+ var LeaderboardOrder = /* @__PURE__ */ ((LeaderboardOrder2) => {
219
+ LeaderboardOrder2[LeaderboardOrder2["Asc"] = 0] = "Asc";
220
+ LeaderboardOrder2[LeaderboardOrder2["Desc"] = 1] = "Desc";
221
+ return LeaderboardOrder2;
222
+ })(LeaderboardOrder || {});
220
223
 
221
224
  // src/page/post.ts
222
225
  var PostType = /* @__PURE__ */ ((PostType2) => {
@@ -365,6 +368,48 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
365
368
  SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
366
369
  return SubjectType2;
367
370
  })(SubjectType || {});
371
+
372
+ // src/interest/category.ts
373
+ var CategoryName = /* @__PURE__ */ ((CategoryName2) => {
374
+ CategoryName2["Sports"] = "sports";
375
+ CategoryName2["Pets"] = "pets";
376
+ CategoryName2["Music"] = "music";
377
+ CategoryName2["Dancing"] = "dancing";
378
+ CategoryName2["Food"] = "food";
379
+ CategoryName2["Photography"] = "photography";
380
+ CategoryName2["Tourism"] = "tourism";
381
+ return CategoryName2;
382
+ })(CategoryName || {});
383
+
384
+ // src/interest/interestByCategory/sports.ts
385
+ var SportsInterestName = /* @__PURE__ */ ((SportsInterestName2) => {
386
+ SportsInterestName2["Tennis"] = "tennis";
387
+ SportsInterestName2["Pickleball"] = "pickleball";
388
+ SportsInterestName2["Basketball"] = "basketball";
389
+ SportsInterestName2["Golf"] = "golf";
390
+ SportsInterestName2["Hiking"] = "hiking";
391
+ SportsInterestName2["Running"] = "running";
392
+ SportsInterestName2["Gym"] = "gym";
393
+ SportsInterestName2["Baseball"] = "baseball";
394
+ SportsInterestName2["Biking"] = "biking";
395
+ SportsInterestName2["Yoga"] = "yoga";
396
+ SportsInterestName2["TableTennis"] = "tabletennis";
397
+ SportsInterestName2["Football"] = "football";
398
+ SportsInterestName2["Soccer"] = "soccer";
399
+ SportsInterestName2["Badminton"] = "badminton";
400
+ SportsInterestName2["Ski"] = "ski";
401
+ SportsInterestName2["Surf"] = "surf";
402
+ SportsInterestName2["Swim"] = "swim";
403
+ SportsInterestName2["Hockey"] = "hockey";
404
+ return SportsInterestName2;
405
+ })(SportsInterestName || {});
406
+
407
+ // src/interest/interestByCategory/pets.ts
408
+ var PentsInterestName = /* @__PURE__ */ ((PentsInterestName2) => {
409
+ PentsInterestName2["Dog"] = "dog";
410
+ PentsInterestName2["Cat"] = "cat";
411
+ return PentsInterestName2;
412
+ })(PentsInterestName || {});
368
413
  // Annotate the CommonJS export names for ESM import in node:
369
414
  0 && (module.exports = {
370
415
  AccountStatus,
@@ -372,15 +417,16 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
372
417
  AttendanceStatus,
373
418
  BasketballPosition,
374
419
  BuddyingStatus,
420
+ CategoryName,
375
421
  ChallengeStatus,
376
422
  CollectionMetaStatus,
377
423
  CollectionType,
378
424
  ConnectionType,
379
425
  DuelGameResultType,
380
- EventType,
381
426
  FollowingStatus,
382
427
  GameType,
383
428
  Handedness,
429
+ LeaderboardOrder,
384
430
  LeaderboardType,
385
431
  LocationType,
386
432
  MarketMetaStatus,
@@ -388,6 +434,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
388
434
  MemberingStatus,
389
435
  PageType,
390
436
  PageUpdateType,
437
+ PentsInterestName,
391
438
  PetGender,
392
439
  PostPrivacy,
393
440
  PostType,
@@ -396,6 +443,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
396
443
  ProfileStatus,
397
444
  ProfileType,
398
445
  Pronoun,
446
+ SportsInterestName,
399
447
  SubjectType,
400
448
  TennisBackhand,
401
449
  TennisLevel
package/dist/index.mjs CHANGED
@@ -124,11 +124,6 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
124
124
  AttendanceStatus2[AttendanceStatus2["Left"] = 5] = "Left";
125
125
  return AttendanceStatus2;
126
126
  })(AttendanceStatus || {});
127
- var EventType = /* @__PURE__ */ ((EventType2) => {
128
- EventType2[EventType2["Regular"] = 0] = "Regular";
129
- EventType2[EventType2["Game"] = 1] = "Game";
130
- return EventType2;
131
- })(EventType || {});
132
127
 
133
128
  // src/page/profile/game.ts
134
129
  var GameType = /* @__PURE__ */ ((GameType2) => {
@@ -160,6 +155,11 @@ var LeaderboardType = /* @__PURE__ */ ((LeaderboardType2) => {
160
155
  LeaderboardType2[LeaderboardType2["Score"] = 4] = "Score";
161
156
  return LeaderboardType2;
162
157
  })(LeaderboardType || {});
158
+ var LeaderboardOrder = /* @__PURE__ */ ((LeaderboardOrder2) => {
159
+ LeaderboardOrder2[LeaderboardOrder2["Asc"] = 0] = "Asc";
160
+ LeaderboardOrder2[LeaderboardOrder2["Desc"] = 1] = "Desc";
161
+ return LeaderboardOrder2;
162
+ })(LeaderboardOrder || {});
163
163
 
164
164
  // src/page/post.ts
165
165
  var PostType = /* @__PURE__ */ ((PostType2) => {
@@ -308,21 +308,64 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
308
308
  SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
309
309
  return SubjectType2;
310
310
  })(SubjectType || {});
311
+
312
+ // src/interest/category.ts
313
+ var CategoryName = /* @__PURE__ */ ((CategoryName2) => {
314
+ CategoryName2["Sports"] = "sports";
315
+ CategoryName2["Pets"] = "pets";
316
+ CategoryName2["Music"] = "music";
317
+ CategoryName2["Dancing"] = "dancing";
318
+ CategoryName2["Food"] = "food";
319
+ CategoryName2["Photography"] = "photography";
320
+ CategoryName2["Tourism"] = "tourism";
321
+ return CategoryName2;
322
+ })(CategoryName || {});
323
+
324
+ // src/interest/interestByCategory/sports.ts
325
+ var SportsInterestName = /* @__PURE__ */ ((SportsInterestName2) => {
326
+ SportsInterestName2["Tennis"] = "tennis";
327
+ SportsInterestName2["Pickleball"] = "pickleball";
328
+ SportsInterestName2["Basketball"] = "basketball";
329
+ SportsInterestName2["Golf"] = "golf";
330
+ SportsInterestName2["Hiking"] = "hiking";
331
+ SportsInterestName2["Running"] = "running";
332
+ SportsInterestName2["Gym"] = "gym";
333
+ SportsInterestName2["Baseball"] = "baseball";
334
+ SportsInterestName2["Biking"] = "biking";
335
+ SportsInterestName2["Yoga"] = "yoga";
336
+ SportsInterestName2["TableTennis"] = "tabletennis";
337
+ SportsInterestName2["Football"] = "football";
338
+ SportsInterestName2["Soccer"] = "soccer";
339
+ SportsInterestName2["Badminton"] = "badminton";
340
+ SportsInterestName2["Ski"] = "ski";
341
+ SportsInterestName2["Surf"] = "surf";
342
+ SportsInterestName2["Swim"] = "swim";
343
+ SportsInterestName2["Hockey"] = "hockey";
344
+ return SportsInterestName2;
345
+ })(SportsInterestName || {});
346
+
347
+ // src/interest/interestByCategory/pets.ts
348
+ var PentsInterestName = /* @__PURE__ */ ((PentsInterestName2) => {
349
+ PentsInterestName2["Dog"] = "dog";
350
+ PentsInterestName2["Cat"] = "cat";
351
+ return PentsInterestName2;
352
+ })(PentsInterestName || {});
311
353
  export {
312
354
  AccountStatus,
313
355
  AdminAccountStatus,
314
356
  AttendanceStatus,
315
357
  BasketballPosition,
316
358
  BuddyingStatus,
359
+ CategoryName,
317
360
  ChallengeStatus,
318
361
  CollectionMetaStatus,
319
362
  CollectionType,
320
363
  ConnectionType,
321
364
  DuelGameResultType,
322
- EventType,
323
365
  FollowingStatus,
324
366
  GameType,
325
367
  Handedness,
368
+ LeaderboardOrder,
326
369
  LeaderboardType,
327
370
  LocationType,
328
371
  MarketMetaStatus,
@@ -330,6 +373,7 @@ export {
330
373
  MemberingStatus,
331
374
  PageType,
332
375
  PageUpdateType,
376
+ PentsInterestName,
333
377
  PetGender,
334
378
  PostPrivacy,
335
379
  PostType,
@@ -338,6 +382,7 @@ export {
338
382
  ProfileStatus,
339
383
  ProfileType,
340
384
  Pronoun,
385
+ SportsInterestName,
341
386
  SubjectType,
342
387
  TennisBackhand,
343
388
  TennisLevel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.16.1",
3
+ "version": "1.19.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 './interest';
@@ -0,0 +1,9 @@
1
+ export enum CategoryName {
2
+ Sports = 'sports',
3
+ Pets = 'pets',
4
+ Music = 'music',
5
+ Dancing = 'dancing',
6
+ Food = 'food',
7
+ Photography = 'photography',
8
+ Tourism = 'tourism'
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './category';
2
+ export * from './interestByCategory';
@@ -0,0 +1,3 @@
1
+ export * from './interest';
2
+ export * from './sports';
3
+ export * from './pets';
@@ -0,0 +1,4 @@
1
+ import { PentsInterestName } from './pets';
2
+ import { SportsInterestName } from './sports';
3
+
4
+ export type InterestName = SportsInterestName | PentsInterestName;
@@ -0,0 +1,4 @@
1
+ export enum PentsInterestName {
2
+ Dog = "dog",
3
+ Cat = "cat",
4
+ }
@@ -0,0 +1,20 @@
1
+ export enum SportsInterestName {
2
+ Tennis = "tennis",
3
+ Pickleball = "pickleball",
4
+ Basketball = "basketball",
5
+ Golf = "golf",
6
+ Hiking = "hiking",
7
+ Running = "running",
8
+ Gym = "gym",
9
+ Baseball = "baseball",
10
+ Biking = "biking",
11
+ Yoga = "yoga",
12
+ TableTennis = "tabletennis",
13
+ Football = "football",
14
+ Soccer = "soccer",
15
+ Badminton = "badminton",
16
+ Ski = "ski",
17
+ Surf = "surf",
18
+ Swim = "swim",
19
+ Hockey = "hockey"
20
+ }
@@ -1,7 +1,3 @@
1
1
  export enum AttendanceStatus {
2
2
  None, Pending, OnTime, Late, CheckedIn, Left,
3
3
  }
4
-
5
- export enum EventType {
6
- Regular, Game,
7
- }
@@ -4,4 +4,9 @@ export enum LeaderboardType {
4
4
  Time,
5
5
  Distance,
6
6
  Score,
7
+ }
8
+
9
+ export enum LeaderboardOrder {
10
+ Asc,
11
+ Desc,
7
12
  }