wenum 1.26.1 → 1.28.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
@@ -130,7 +130,8 @@ declare enum LeaderboardType {
130
130
  Duel = 1,
131
131
  Time = 2,
132
132
  Distance = 3,
133
- Score = 4
133
+ Score = 4,
134
+ Weight = 5
134
135
  }
135
136
  declare enum LeaderboardOrder {
136
137
  Asc = 0,
@@ -319,12 +320,6 @@ declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
319
320
 
320
321
  type AttributeTypeUoi = AttributeTypeUoiSports;
321
322
 
322
- declare enum PetGender {
323
- None = 0,
324
- Male = 1,
325
- Female = 2
326
- }
327
-
328
323
  declare enum AttributeTypeCollectionPets {
329
324
  Breed = 0,
330
325
  Dob = 1,
@@ -344,6 +339,12 @@ declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
344
339
 
345
340
  type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
346
341
 
342
+ declare enum Gender {
343
+ None = 0,
344
+ Male = 1,
345
+ Female = 2
346
+ }
347
+
347
348
  declare enum PageUpdateType {
348
349
  None = 0,
349
350
  CreatePost = 1,
@@ -363,4 +364,19 @@ declare enum SubjectType {
363
364
  Reply = 4
364
365
  }
365
366
 
366
- export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, AttributeTypeCollectionPets, AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, AttributeTypeUoiSportsBasketball, AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, FollowingStatus, GameType, Handedness, type InterestName, InterestNameNone, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, MusicInterestName, PageType, PageUpdateType, PetGender, PetsInterestName, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel };
367
+ declare enum DistanceUnit {
368
+ Meter = 0,
369
+ CM = 1,
370
+ KM = 2,
371
+ Feet = 3,
372
+ Inch = 4,
373
+ Mile = 5
374
+ }
375
+ declare enum WeightUnit {
376
+ KG = 0,
377
+ Gram = 1,
378
+ Pound = 2,
379
+ Ounce = 3
380
+ }
381
+
382
+ export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, AttributeTypeCollectionPets, AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, AttributeTypeUoiSportsBasketball, AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DistanceUnit, DuelGameResultType, FollowingStatus, GameType, Gender, Handedness, type InterestName, InterestNameNone, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, MusicInterestName, PageType, PageUpdateType, PetsInterestName, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel, WeightUnit };
package/dist/index.d.ts CHANGED
@@ -130,7 +130,8 @@ declare enum LeaderboardType {
130
130
  Duel = 1,
131
131
  Time = 2,
132
132
  Distance = 3,
133
- Score = 4
133
+ Score = 4,
134
+ Weight = 5
134
135
  }
135
136
  declare enum LeaderboardOrder {
136
137
  Asc = 0,
@@ -319,12 +320,6 @@ declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
319
320
 
320
321
  type AttributeTypeUoi = AttributeTypeUoiSports;
321
322
 
322
- declare enum PetGender {
323
- None = 0,
324
- Male = 1,
325
- Female = 2
326
- }
327
-
328
323
  declare enum AttributeTypeCollectionPets {
329
324
  Breed = 0,
330
325
  Dob = 1,
@@ -344,6 +339,12 @@ declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
344
339
 
345
340
  type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
346
341
 
342
+ declare enum Gender {
343
+ None = 0,
344
+ Male = 1,
345
+ Female = 2
346
+ }
347
+
347
348
  declare enum PageUpdateType {
348
349
  None = 0,
349
350
  CreatePost = 1,
@@ -363,4 +364,19 @@ declare enum SubjectType {
363
364
  Reply = 4
364
365
  }
365
366
 
366
- export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, AttributeTypeCollectionPets, AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, AttributeTypeUoiSportsBasketball, AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, FollowingStatus, GameType, Handedness, type InterestName, InterestNameNone, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, MusicInterestName, PageType, PageUpdateType, PetGender, PetsInterestName, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel };
367
+ declare enum DistanceUnit {
368
+ Meter = 0,
369
+ CM = 1,
370
+ KM = 2,
371
+ Feet = 3,
372
+ Inch = 4,
373
+ Mile = 5
374
+ }
375
+ declare enum WeightUnit {
376
+ KG = 0,
377
+ Gram = 1,
378
+ Pound = 2,
379
+ Ounce = 3
380
+ }
381
+
382
+ export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, AttributeTypeCollectionPets, AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, AttributeTypeUoiSportsBasketball, AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DistanceUnit, DuelGameResultType, FollowingStatus, GameType, Gender, Handedness, type InterestName, InterestNameNone, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, MusicInterestName, PageType, PageUpdateType, PetsInterestName, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel, WeightUnit };
package/dist/index.js CHANGED
@@ -42,9 +42,11 @@ __export(index_exports, {
42
42
  CollectionMetaStatus: () => CollectionMetaStatus,
43
43
  CollectionType: () => CollectionType,
44
44
  ConnectionType: () => ConnectionType,
45
+ DistanceUnit: () => DistanceUnit,
45
46
  DuelGameResultType: () => DuelGameResultType,
46
47
  FollowingStatus: () => FollowingStatus,
47
48
  GameType: () => GameType,
49
+ Gender: () => Gender,
48
50
  Handedness: () => Handedness,
49
51
  InterestNameNone: () => InterestNameNone,
50
52
  LeaderboardOrder: () => LeaderboardOrder,
@@ -56,7 +58,6 @@ __export(index_exports, {
56
58
  MusicInterestName: () => MusicInterestName,
57
59
  PageType: () => PageType,
58
60
  PageUpdateType: () => PageUpdateType,
59
- PetGender: () => PetGender,
60
61
  PetsInterestName: () => PetsInterestName,
61
62
  PostPrivacy: () => PostPrivacy,
62
63
  PostType: () => PostType,
@@ -68,7 +69,8 @@ __export(index_exports, {
68
69
  SportsInterestName: () => SportsInterestName,
69
70
  SubjectType: () => SubjectType,
70
71
  TennisBackhand: () => TennisBackhand,
71
- TennisLevel: () => TennisLevel
72
+ TennisLevel: () => TennisLevel,
73
+ WeightUnit: () => WeightUnit
72
74
  });
73
75
  module.exports = __toCommonJS(index_exports);
74
76
 
@@ -227,6 +229,7 @@ var LeaderboardType = /* @__PURE__ */ ((LeaderboardType2) => {
227
229
  LeaderboardType2[LeaderboardType2["Time"] = 2] = "Time";
228
230
  LeaderboardType2[LeaderboardType2["Distance"] = 3] = "Distance";
229
231
  LeaderboardType2[LeaderboardType2["Score"] = 4] = "Score";
232
+ LeaderboardType2[LeaderboardType2["Weight"] = 5] = "Weight";
230
233
  return LeaderboardType2;
231
234
  })(LeaderboardType || {});
232
235
  var LeaderboardOrder = /* @__PURE__ */ ((LeaderboardOrder2) => {
@@ -465,14 +468,6 @@ var ATTRIBUTE_LABEL_UOI = {
465
468
  ["sports" /* Sports */]: ATTRIBUTE_LABEL_UOI_SPORTS
466
469
  };
467
470
 
468
- // src/attribute/collection/pets/pets.ts
469
- var PetGender = /* @__PURE__ */ ((PetGender2) => {
470
- PetGender2[PetGender2["None"] = 0] = "None";
471
- PetGender2[PetGender2["Male"] = 1] = "Male";
472
- PetGender2[PetGender2["Female"] = 2] = "Female";
473
- return PetGender2;
474
- })(PetGender || {});
475
-
476
471
  // src/attribute/collection/pets/type.ts
477
472
  var AttributeTypeCollectionPets = /* @__PURE__ */ ((AttributeTypeCollectionPets2) => {
478
473
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Breed"] = 0] = "Breed";
@@ -498,6 +493,14 @@ var ATTRIBUTE_LABEL = {
498
493
  [0 /* None */]: ATTRIBUTE_LABEL_COMMON
499
494
  };
500
495
 
496
+ // src/attribute/attributes.ts
497
+ var Gender = /* @__PURE__ */ ((Gender2) => {
498
+ Gender2[Gender2["None"] = 0] = "None";
499
+ Gender2[Gender2["Male"] = 1] = "Male";
500
+ Gender2[Gender2["Female"] = 2] = "Female";
501
+ return Gender2;
502
+ })(Gender || {});
503
+
501
504
  // src/pageUpdate.ts
502
505
  var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
503
506
  PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
@@ -521,6 +524,24 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
521
524
  SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
522
525
  return SubjectType2;
523
526
  })(SubjectType || {});
527
+
528
+ // src/common/measure.ts
529
+ var DistanceUnit = /* @__PURE__ */ ((DistanceUnit2) => {
530
+ DistanceUnit2[DistanceUnit2["Meter"] = 0] = "Meter";
531
+ DistanceUnit2[DistanceUnit2["CM"] = 1] = "CM";
532
+ DistanceUnit2[DistanceUnit2["KM"] = 2] = "KM";
533
+ DistanceUnit2[DistanceUnit2["Feet"] = 3] = "Feet";
534
+ DistanceUnit2[DistanceUnit2["Inch"] = 4] = "Inch";
535
+ DistanceUnit2[DistanceUnit2["Mile"] = 5] = "Mile";
536
+ return DistanceUnit2;
537
+ })(DistanceUnit || {});
538
+ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
539
+ WeightUnit2[WeightUnit2["KG"] = 0] = "KG";
540
+ WeightUnit2[WeightUnit2["Gram"] = 1] = "Gram";
541
+ WeightUnit2[WeightUnit2["Pound"] = 2] = "Pound";
542
+ WeightUnit2[WeightUnit2["Ounce"] = 3] = "Ounce";
543
+ return WeightUnit2;
544
+ })(WeightUnit || {});
524
545
  // Annotate the CommonJS export names for ESM import in node:
525
546
  0 && (module.exports = {
526
547
  ATTRIBUTE_LABEL,
@@ -545,9 +566,11 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
545
566
  CollectionMetaStatus,
546
567
  CollectionType,
547
568
  ConnectionType,
569
+ DistanceUnit,
548
570
  DuelGameResultType,
549
571
  FollowingStatus,
550
572
  GameType,
573
+ Gender,
551
574
  Handedness,
552
575
  InterestNameNone,
553
576
  LeaderboardOrder,
@@ -559,7 +582,6 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
559
582
  MusicInterestName,
560
583
  PageType,
561
584
  PageUpdateType,
562
- PetGender,
563
585
  PetsInterestName,
564
586
  PostPrivacy,
565
587
  PostType,
@@ -571,5 +593,6 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
571
593
  SportsInterestName,
572
594
  SubjectType,
573
595
  TennisBackhand,
574
- TennisLevel
596
+ TennisLevel,
597
+ WeightUnit
575
598
  });
package/dist/index.mjs CHANGED
@@ -153,6 +153,7 @@ var LeaderboardType = /* @__PURE__ */ ((LeaderboardType2) => {
153
153
  LeaderboardType2[LeaderboardType2["Time"] = 2] = "Time";
154
154
  LeaderboardType2[LeaderboardType2["Distance"] = 3] = "Distance";
155
155
  LeaderboardType2[LeaderboardType2["Score"] = 4] = "Score";
156
+ LeaderboardType2[LeaderboardType2["Weight"] = 5] = "Weight";
156
157
  return LeaderboardType2;
157
158
  })(LeaderboardType || {});
158
159
  var LeaderboardOrder = /* @__PURE__ */ ((LeaderboardOrder2) => {
@@ -391,14 +392,6 @@ var ATTRIBUTE_LABEL_UOI = {
391
392
  ["sports" /* Sports */]: ATTRIBUTE_LABEL_UOI_SPORTS
392
393
  };
393
394
 
394
- // src/attribute/collection/pets/pets.ts
395
- var PetGender = /* @__PURE__ */ ((PetGender2) => {
396
- PetGender2[PetGender2["None"] = 0] = "None";
397
- PetGender2[PetGender2["Male"] = 1] = "Male";
398
- PetGender2[PetGender2["Female"] = 2] = "Female";
399
- return PetGender2;
400
- })(PetGender || {});
401
-
402
395
  // src/attribute/collection/pets/type.ts
403
396
  var AttributeTypeCollectionPets = /* @__PURE__ */ ((AttributeTypeCollectionPets2) => {
404
397
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Breed"] = 0] = "Breed";
@@ -424,6 +417,14 @@ var ATTRIBUTE_LABEL = {
424
417
  [0 /* None */]: ATTRIBUTE_LABEL_COMMON
425
418
  };
426
419
 
420
+ // src/attribute/attributes.ts
421
+ var Gender = /* @__PURE__ */ ((Gender2) => {
422
+ Gender2[Gender2["None"] = 0] = "None";
423
+ Gender2[Gender2["Male"] = 1] = "Male";
424
+ Gender2[Gender2["Female"] = 2] = "Female";
425
+ return Gender2;
426
+ })(Gender || {});
427
+
427
428
  // src/pageUpdate.ts
428
429
  var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
429
430
  PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
@@ -447,6 +448,24 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
447
448
  SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
448
449
  return SubjectType2;
449
450
  })(SubjectType || {});
451
+
452
+ // src/common/measure.ts
453
+ var DistanceUnit = /* @__PURE__ */ ((DistanceUnit2) => {
454
+ DistanceUnit2[DistanceUnit2["Meter"] = 0] = "Meter";
455
+ DistanceUnit2[DistanceUnit2["CM"] = 1] = "CM";
456
+ DistanceUnit2[DistanceUnit2["KM"] = 2] = "KM";
457
+ DistanceUnit2[DistanceUnit2["Feet"] = 3] = "Feet";
458
+ DistanceUnit2[DistanceUnit2["Inch"] = 4] = "Inch";
459
+ DistanceUnit2[DistanceUnit2["Mile"] = 5] = "Mile";
460
+ return DistanceUnit2;
461
+ })(DistanceUnit || {});
462
+ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
463
+ WeightUnit2[WeightUnit2["KG"] = 0] = "KG";
464
+ WeightUnit2[WeightUnit2["Gram"] = 1] = "Gram";
465
+ WeightUnit2[WeightUnit2["Pound"] = 2] = "Pound";
466
+ WeightUnit2[WeightUnit2["Ounce"] = 3] = "Ounce";
467
+ return WeightUnit2;
468
+ })(WeightUnit || {});
450
469
  export {
451
470
  ATTRIBUTE_LABEL,
452
471
  ATTRIBUTE_LABEL_COLLECTION,
@@ -470,9 +489,11 @@ export {
470
489
  CollectionMetaStatus,
471
490
  CollectionType,
472
491
  ConnectionType,
492
+ DistanceUnit,
473
493
  DuelGameResultType,
474
494
  FollowingStatus,
475
495
  GameType,
496
+ Gender,
476
497
  Handedness,
477
498
  InterestNameNone,
478
499
  LeaderboardOrder,
@@ -484,7 +505,6 @@ export {
484
505
  MusicInterestName,
485
506
  PageType,
486
507
  PageUpdateType,
487
- PetGender,
488
508
  PetsInterestName,
489
509
  PostPrivacy,
490
510
  PostType,
@@ -496,5 +516,6 @@ export {
496
516
  SportsInterestName,
497
517
  SubjectType,
498
518
  TennisBackhand,
499
- TennisLevel
519
+ TennisLevel,
520
+ WeightUnit
500
521
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.26.1",
3
+ "version": "1.28.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,3 @@
1
+ export enum Gender {
2
+ None, Male, Female,
3
+ }
@@ -1,2 +1 @@
1
- export * from './pets';
2
1
  export * from './type';
@@ -3,3 +3,4 @@ export * from './uoi';
3
3
  export * from './collection';
4
4
  export * from './label';
5
5
  export * from './type';
6
+ export * from './attributes';
@@ -0,0 +1 @@
1
+ export * from './measure';
@@ -0,0 +1,7 @@
1
+ export enum DistanceUnit {
2
+ Meter, CM, KM, Feet, Inch, Mile,
3
+ }
4
+
5
+ export enum WeightUnit {
6
+ KG, Gram, Pound, Ounce,
7
+ }
package/src/index.ts CHANGED
@@ -4,4 +4,5 @@ export * from './connection';
4
4
  export * from './attribute';
5
5
  export * from './pageUpdate';
6
6
  export * from './comment';
7
- export * from './interest';
7
+ export * from './interest';
8
+ export * from './common';
@@ -4,6 +4,7 @@ export enum LeaderboardType {
4
4
  Time,
5
5
  Distance,
6
6
  Score,
7
+ Weight,
7
8
  }
8
9
 
9
10
  export enum LeaderboardOrder {
@@ -1,3 +0,0 @@
1
- export enum PetGender {
2
- None, Male, Female,
3
- }