wenum 1.54.0 → 1.55.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 +9 -15
- package/dist/index.d.ts +9 -15
- package/dist/index.js +10 -22
- package/dist/index.mjs +9 -20
- package/package.json +1 -1
- package/src/common/index.ts +2 -1
- package/src/common/measure.ts +14 -6
- package/src/common/socialMedia.ts +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -271,20 +271,14 @@ type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hik
|
|
|
271
271
|
|
|
272
272
|
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | '';
|
|
273
273
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}
|
|
283
|
-
declare enum WeightUnit {
|
|
284
|
-
KG = 0,
|
|
285
|
-
Gram = 1,
|
|
286
|
-
LB = 2,
|
|
287
|
-
Ounce = 3
|
|
274
|
+
type LengthUnit = "m" | "cm" | "km" | "ft" | "in" | "mi" | "yd";
|
|
275
|
+
type WeightUnit = "kg" | "g" | "lb" | "oz";
|
|
276
|
+
|
|
277
|
+
declare enum SocialMedia {
|
|
278
|
+
None = 0,
|
|
279
|
+
Facebook = 1,
|
|
280
|
+
LinkedIn = 2,
|
|
281
|
+
Instagram = 3
|
|
288
282
|
}
|
|
289
283
|
|
|
290
284
|
declare enum NotificationType {
|
|
@@ -345,4 +339,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
|
|
|
345
339
|
attributeType: AttributeType;
|
|
346
340
|
}) => any;
|
|
347
341
|
|
|
348
|
-
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, 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, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
342
|
+
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, 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, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, SocialMedia, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.d.ts
CHANGED
|
@@ -271,20 +271,14 @@ type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hik
|
|
|
271
271
|
|
|
272
272
|
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | '';
|
|
273
273
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}
|
|
283
|
-
declare enum WeightUnit {
|
|
284
|
-
KG = 0,
|
|
285
|
-
Gram = 1,
|
|
286
|
-
LB = 2,
|
|
287
|
-
Ounce = 3
|
|
274
|
+
type LengthUnit = "m" | "cm" | "km" | "ft" | "in" | "mi" | "yd";
|
|
275
|
+
type WeightUnit = "kg" | "g" | "lb" | "oz";
|
|
276
|
+
|
|
277
|
+
declare enum SocialMedia {
|
|
278
|
+
None = 0,
|
|
279
|
+
Facebook = 1,
|
|
280
|
+
LinkedIn = 2,
|
|
281
|
+
Instagram = 3
|
|
288
282
|
}
|
|
289
283
|
|
|
290
284
|
declare enum NotificationType {
|
|
@@ -345,4 +339,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
|
|
|
345
339
|
attributeType: AttributeType;
|
|
346
340
|
}) => any;
|
|
347
341
|
|
|
348
|
-
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, 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, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
342
|
+
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, 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, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, SocialMedia, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,6 @@ __export(index_exports, {
|
|
|
41
41
|
Gender: () => Gender,
|
|
42
42
|
Handedness: () => Handedness,
|
|
43
43
|
LeaderboardType: () => LeaderboardType,
|
|
44
|
-
LengthUnit: () => LengthUnit,
|
|
45
44
|
LocationType: () => LocationType,
|
|
46
45
|
MarketMetaStatus: () => MarketMetaStatus,
|
|
47
46
|
MemberingStatus: () => MemberingStatus,
|
|
@@ -56,11 +55,11 @@ __export(index_exports, {
|
|
|
56
55
|
ProfilePrivacy: () => ProfilePrivacy,
|
|
57
56
|
ProfileStatus: () => ProfileStatus,
|
|
58
57
|
ProfileType: () => ProfileType,
|
|
58
|
+
SocialMedia: () => SocialMedia,
|
|
59
59
|
SubjectType: () => SubjectType,
|
|
60
60
|
TennisBackhand: () => TennisBackhand,
|
|
61
61
|
TennisLevel: () => TennisLevel,
|
|
62
62
|
UserPronoun: () => UserPronoun,
|
|
63
|
-
WeightUnit: () => WeightUnit,
|
|
64
63
|
getBuddyingStatusName: () => getBuddyingStatusName,
|
|
65
64
|
getMemberingStatusName: () => getMemberingStatusName,
|
|
66
65
|
getNotificationTypeName: () => getNotificationTypeName,
|
|
@@ -475,24 +474,14 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
|
|
|
475
474
|
return SubjectType2;
|
|
476
475
|
})(SubjectType || {});
|
|
477
476
|
|
|
478
|
-
// src/common/
|
|
479
|
-
var
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
LengthUnit2[LengthUnit2["Yard"] = 6] = "Yard";
|
|
487
|
-
return LengthUnit2;
|
|
488
|
-
})(LengthUnit || {});
|
|
489
|
-
var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
490
|
-
WeightUnit2[WeightUnit2["KG"] = 0] = "KG";
|
|
491
|
-
WeightUnit2[WeightUnit2["Gram"] = 1] = "Gram";
|
|
492
|
-
WeightUnit2[WeightUnit2["LB"] = 2] = "LB";
|
|
493
|
-
WeightUnit2[WeightUnit2["Ounce"] = 3] = "Ounce";
|
|
494
|
-
return WeightUnit2;
|
|
495
|
-
})(WeightUnit || {});
|
|
477
|
+
// src/common/socialMedia.ts
|
|
478
|
+
var SocialMedia = /* @__PURE__ */ ((SocialMedia2) => {
|
|
479
|
+
SocialMedia2[SocialMedia2["None"] = 0] = "None";
|
|
480
|
+
SocialMedia2[SocialMedia2["Facebook"] = 1] = "Facebook";
|
|
481
|
+
SocialMedia2[SocialMedia2["LinkedIn"] = 2] = "LinkedIn";
|
|
482
|
+
SocialMedia2[SocialMedia2["Instagram"] = 3] = "Instagram";
|
|
483
|
+
return SocialMedia2;
|
|
484
|
+
})(SocialMedia || {});
|
|
496
485
|
|
|
497
486
|
// src/notification.ts
|
|
498
487
|
var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
@@ -643,7 +632,6 @@ var getProfileAttributeLabel = ({
|
|
|
643
632
|
Gender,
|
|
644
633
|
Handedness,
|
|
645
634
|
LeaderboardType,
|
|
646
|
-
LengthUnit,
|
|
647
635
|
LocationType,
|
|
648
636
|
MarketMetaStatus,
|
|
649
637
|
MemberingStatus,
|
|
@@ -658,11 +646,11 @@ var getProfileAttributeLabel = ({
|
|
|
658
646
|
ProfilePrivacy,
|
|
659
647
|
ProfileStatus,
|
|
660
648
|
ProfileType,
|
|
649
|
+
SocialMedia,
|
|
661
650
|
SubjectType,
|
|
662
651
|
TennisBackhand,
|
|
663
652
|
TennisLevel,
|
|
664
653
|
UserPronoun,
|
|
665
|
-
WeightUnit,
|
|
666
654
|
getBuddyingStatusName,
|
|
667
655
|
getMemberingStatusName,
|
|
668
656
|
getNotificationTypeName,
|
package/dist/index.mjs
CHANGED
|
@@ -398,24 +398,14 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
|
|
|
398
398
|
return SubjectType2;
|
|
399
399
|
})(SubjectType || {});
|
|
400
400
|
|
|
401
|
-
// src/common/
|
|
402
|
-
var
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
LengthUnit2[LengthUnit2["Yard"] = 6] = "Yard";
|
|
410
|
-
return LengthUnit2;
|
|
411
|
-
})(LengthUnit || {});
|
|
412
|
-
var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
413
|
-
WeightUnit2[WeightUnit2["KG"] = 0] = "KG";
|
|
414
|
-
WeightUnit2[WeightUnit2["Gram"] = 1] = "Gram";
|
|
415
|
-
WeightUnit2[WeightUnit2["LB"] = 2] = "LB";
|
|
416
|
-
WeightUnit2[WeightUnit2["Ounce"] = 3] = "Ounce";
|
|
417
|
-
return WeightUnit2;
|
|
418
|
-
})(WeightUnit || {});
|
|
401
|
+
// src/common/socialMedia.ts
|
|
402
|
+
var SocialMedia = /* @__PURE__ */ ((SocialMedia2) => {
|
|
403
|
+
SocialMedia2[SocialMedia2["None"] = 0] = "None";
|
|
404
|
+
SocialMedia2[SocialMedia2["Facebook"] = 1] = "Facebook";
|
|
405
|
+
SocialMedia2[SocialMedia2["LinkedIn"] = 2] = "LinkedIn";
|
|
406
|
+
SocialMedia2[SocialMedia2["Instagram"] = 3] = "Instagram";
|
|
407
|
+
return SocialMedia2;
|
|
408
|
+
})(SocialMedia || {});
|
|
419
409
|
|
|
420
410
|
// src/notification.ts
|
|
421
411
|
var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
@@ -565,7 +555,6 @@ export {
|
|
|
565
555
|
Gender,
|
|
566
556
|
Handedness,
|
|
567
557
|
LeaderboardType,
|
|
568
|
-
LengthUnit,
|
|
569
558
|
LocationType,
|
|
570
559
|
MarketMetaStatus,
|
|
571
560
|
MemberingStatus,
|
|
@@ -580,11 +569,11 @@ export {
|
|
|
580
569
|
ProfilePrivacy,
|
|
581
570
|
ProfileStatus,
|
|
582
571
|
ProfileType,
|
|
572
|
+
SocialMedia,
|
|
583
573
|
SubjectType,
|
|
584
574
|
TennisBackhand,
|
|
585
575
|
TennisLevel,
|
|
586
576
|
UserPronoun,
|
|
587
|
-
WeightUnit,
|
|
588
577
|
getBuddyingStatusName,
|
|
589
578
|
getMemberingStatusName,
|
|
590
579
|
getNotificationTypeName,
|
package/package.json
CHANGED
package/src/common/index.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './measure';
|
|
1
|
+
export * from './measure';
|
|
2
|
+
export * from './socialMedia';
|
package/src/common/measure.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export type LengthUnit =
|
|
2
|
+
| "m"
|
|
3
|
+
| "cm"
|
|
4
|
+
| "km"
|
|
5
|
+
| "ft"
|
|
6
|
+
| "in"
|
|
7
|
+
| "mi"
|
|
8
|
+
| "yd";
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
|
|
11
|
+
export type WeightUnit =
|
|
12
|
+
| "kg"
|
|
13
|
+
| "g"
|
|
14
|
+
| "lb"
|
|
15
|
+
| "oz";
|