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 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 SocialMedia {
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, SocialMedia, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
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 SocialMedia {
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, SocialMedia, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
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
- SocialMedia: () => SocialMedia,
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 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 || {});
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
- SocialMedia,
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 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 || {});
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
- SocialMedia,
572
+ SocialMediaType,
573
573
  SubjectType,
574
574
  TennisBackhand,
575
575
  TennisLevel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.55.0",
3
+ "version": "1.57.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,4 @@
1
- export enum SocialMedia {
1
+ export enum SocialMediaType {
2
2
  None,
3
3
  Facebook,
4
4
  LinkedIn,
@@ -0,0 +1 @@
1
+ export type BroadcastType = 'info' | 'warn' | 'alert';
package/src/page/index.ts CHANGED
@@ -3,3 +3,4 @@ export * from './profile';
3
3
  export * from './post';
4
4
  export * from './location';
5
5
  export * from './pid';
6
+ export * from './broadcast';