wenum 1.55.0 → 1.57.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 +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +9 -9
- package/dist/index.mjs +8 -8
- package/package.json +1 -1
- package/src/common/socialMedia.ts +1 -1
- package/src/page/broadcast.ts +1 -0
- package/src/page/index.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -165,6 +165,8 @@ declare function isUoiPID(pid: string): boolean;
|
|
|
165
165
|
declare function isGamePID(pid: string): boolean;
|
|
166
166
|
declare function isLeaderboardPID(pid: string): boolean;
|
|
167
167
|
|
|
168
|
+
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
169
|
+
|
|
168
170
|
declare enum AccountStatus {
|
|
169
171
|
None = 0,
|
|
170
172
|
RegistrationNeedBasicInfo = 1,
|
|
@@ -274,7 +276,7 @@ type InterestType = SportsInterestType | PetsInterestType | MusicInterestType |
|
|
|
274
276
|
type LengthUnit = "m" | "cm" | "km" | "ft" | "in" | "mi" | "yd";
|
|
275
277
|
type WeightUnit = "kg" | "g" | "lb" | "oz";
|
|
276
278
|
|
|
277
|
-
declare enum
|
|
279
|
+
declare enum SocialMediaType {
|
|
278
280
|
None = 0,
|
|
279
281
|
Facebook = 1,
|
|
280
282
|
LinkedIn = 2,
|
|
@@ -339,4 +341,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
|
|
|
339
341
|
attributeType: AttributeType;
|
|
340
342
|
}) => any;
|
|
341
343
|
|
|
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,
|
|
344
|
+
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, type BroadcastType, 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, SocialMediaType, 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
|
@@ -165,6 +165,8 @@ declare function isUoiPID(pid: string): boolean;
|
|
|
165
165
|
declare function isGamePID(pid: string): boolean;
|
|
166
166
|
declare function isLeaderboardPID(pid: string): boolean;
|
|
167
167
|
|
|
168
|
+
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
169
|
+
|
|
168
170
|
declare enum AccountStatus {
|
|
169
171
|
None = 0,
|
|
170
172
|
RegistrationNeedBasicInfo = 1,
|
|
@@ -274,7 +276,7 @@ type InterestType = SportsInterestType | PetsInterestType | MusicInterestType |
|
|
|
274
276
|
type LengthUnit = "m" | "cm" | "km" | "ft" | "in" | "mi" | "yd";
|
|
275
277
|
type WeightUnit = "kg" | "g" | "lb" | "oz";
|
|
276
278
|
|
|
277
|
-
declare enum
|
|
279
|
+
declare enum SocialMediaType {
|
|
278
280
|
None = 0,
|
|
279
281
|
Facebook = 1,
|
|
280
282
|
LinkedIn = 2,
|
|
@@ -339,4 +341,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
|
|
|
339
341
|
attributeType: AttributeType;
|
|
340
342
|
}) => any;
|
|
341
343
|
|
|
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,
|
|
344
|
+
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, type BroadcastType, 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, SocialMediaType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,7 @@ __export(index_exports, {
|
|
|
55
55
|
ProfilePrivacy: () => ProfilePrivacy,
|
|
56
56
|
ProfileStatus: () => ProfileStatus,
|
|
57
57
|
ProfileType: () => ProfileType,
|
|
58
|
-
|
|
58
|
+
SocialMediaType: () => SocialMediaType,
|
|
59
59
|
SubjectType: () => SubjectType,
|
|
60
60
|
TennisBackhand: () => TennisBackhand,
|
|
61
61
|
TennisLevel: () => TennisLevel,
|
|
@@ -475,13 +475,13 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
|
|
|
475
475
|
})(SubjectType || {});
|
|
476
476
|
|
|
477
477
|
// src/common/socialMedia.ts
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
return
|
|
484
|
-
})(
|
|
478
|
+
var SocialMediaType = /* @__PURE__ */ ((SocialMediaType2) => {
|
|
479
|
+
SocialMediaType2[SocialMediaType2["None"] = 0] = "None";
|
|
480
|
+
SocialMediaType2[SocialMediaType2["Facebook"] = 1] = "Facebook";
|
|
481
|
+
SocialMediaType2[SocialMediaType2["LinkedIn"] = 2] = "LinkedIn";
|
|
482
|
+
SocialMediaType2[SocialMediaType2["Instagram"] = 3] = "Instagram";
|
|
483
|
+
return SocialMediaType2;
|
|
484
|
+
})(SocialMediaType || {});
|
|
485
485
|
|
|
486
486
|
// src/notification.ts
|
|
487
487
|
var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
@@ -646,7 +646,7 @@ var getProfileAttributeLabel = ({
|
|
|
646
646
|
ProfilePrivacy,
|
|
647
647
|
ProfileStatus,
|
|
648
648
|
ProfileType,
|
|
649
|
-
|
|
649
|
+
SocialMediaType,
|
|
650
650
|
SubjectType,
|
|
651
651
|
TennisBackhand,
|
|
652
652
|
TennisLevel,
|
package/dist/index.mjs
CHANGED
|
@@ -399,13 +399,13 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
|
|
|
399
399
|
})(SubjectType || {});
|
|
400
400
|
|
|
401
401
|
// src/common/socialMedia.ts
|
|
402
|
-
var
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
return
|
|
408
|
-
})(
|
|
402
|
+
var SocialMediaType = /* @__PURE__ */ ((SocialMediaType2) => {
|
|
403
|
+
SocialMediaType2[SocialMediaType2["None"] = 0] = "None";
|
|
404
|
+
SocialMediaType2[SocialMediaType2["Facebook"] = 1] = "Facebook";
|
|
405
|
+
SocialMediaType2[SocialMediaType2["LinkedIn"] = 2] = "LinkedIn";
|
|
406
|
+
SocialMediaType2[SocialMediaType2["Instagram"] = 3] = "Instagram";
|
|
407
|
+
return SocialMediaType2;
|
|
408
|
+
})(SocialMediaType || {});
|
|
409
409
|
|
|
410
410
|
// src/notification.ts
|
|
411
411
|
var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
@@ -569,7 +569,7 @@ export {
|
|
|
569
569
|
ProfilePrivacy,
|
|
570
570
|
ProfileStatus,
|
|
571
571
|
ProfileType,
|
|
572
|
-
|
|
572
|
+
SocialMediaType,
|
|
573
573
|
SubjectType,
|
|
574
574
|
TennisBackhand,
|
|
575
575
|
TennisLevel,
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BroadcastType = 'info' | 'warn' | 'alert';
|
package/src/page/index.ts
CHANGED