wenum 2.2.0 → 2.2.1

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.cts CHANGED
@@ -349,9 +349,10 @@ declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, image
349
349
  //#endregion
350
350
  //#region src/userViolation.d.ts
351
351
  type UserViolationType = 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
352
- declare const USER_VIOLATION_OPTIONS: {
352
+ interface UserViolationOption {
353
353
  key: UserViolationType;
354
354
  label: string;
355
- }[];
355
+ }
356
+ declare const USER_VIOLATION_OPTIONS: UserViolationOption[];
356
357
  //#endregion
357
- export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AccountStatus, AddingEntityType, AdminAccountStatus, AttachmentType, AttendanceStatus, AvatarR2Folder, BasketballPosition, BroadcastType, BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommonAttributeType, CommonMarketType, DuelGameResultType, EntityType, EventsNearbyProps, FollowingStatus, GameMetaProps, GameType, GamesByTypeNearbyProps, GamesNearbyProps, Gender, Handedness, INTERESTS_BY_CATEGORY, ImageSize, InterestNearbyProps, InterestType, LeaderboardType, LeaderboardsByGameTypeNearbyProps, LeisureInterestType, LengthUnit, LocationType, MarketMetaProps, MarketMetaStatus, MarketType, MarketsByTypeNearbyProps, MemberingStatus, MusicInterestType, NearbyProps, NotificationType, PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageR2Folder, PageType, PetsInterestType, PlayerType, PostPrivacy, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, ReactionType, SocialMediaType, SportsInterestType, SubjectR2Folder, SubjectType, TennisBackhand, TennisLevel, TravelInterestType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, USER_VIOLATION_OPTIONS, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, UserViolationType, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
358
+ export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AccountStatus, AddingEntityType, AdminAccountStatus, AttachmentType, AttendanceStatus, AvatarR2Folder, BasketballPosition, BroadcastType, BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommonAttributeType, CommonMarketType, DuelGameResultType, EntityType, EventsNearbyProps, FollowingStatus, GameMetaProps, GameType, GamesByTypeNearbyProps, GamesNearbyProps, Gender, Handedness, INTERESTS_BY_CATEGORY, ImageSize, InterestNearbyProps, InterestType, LeaderboardType, LeaderboardsByGameTypeNearbyProps, LeisureInterestType, LengthUnit, LocationType, MarketMetaProps, MarketMetaStatus, MarketType, MarketsByTypeNearbyProps, MemberingStatus, MusicInterestType, NearbyProps, NotificationType, PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageR2Folder, PageType, PetsInterestType, PlayerType, PostPrivacy, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, ReactionType, SocialMediaType, SportsInterestType, SubjectR2Folder, SubjectType, TennisBackhand, TennisLevel, TravelInterestType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, USER_VIOLATION_OPTIONS, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, UserViolationOption, UserViolationType, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
package/dist/index.d.mts CHANGED
@@ -349,9 +349,10 @@ declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, image
349
349
  //#endregion
350
350
  //#region src/userViolation.d.ts
351
351
  type UserViolationType = 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
352
- declare const USER_VIOLATION_OPTIONS: {
352
+ interface UserViolationOption {
353
353
  key: UserViolationType;
354
354
  label: string;
355
- }[];
355
+ }
356
+ declare const USER_VIOLATION_OPTIONS: UserViolationOption[];
356
357
  //#endregion
357
- export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AccountStatus, AddingEntityType, AdminAccountStatus, AttachmentType, AttendanceStatus, AvatarR2Folder, BasketballPosition, BroadcastType, BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommonAttributeType, CommonMarketType, DuelGameResultType, EntityType, EventsNearbyProps, FollowingStatus, GameMetaProps, GameType, GamesByTypeNearbyProps, GamesNearbyProps, Gender, Handedness, INTERESTS_BY_CATEGORY, ImageSize, InterestNearbyProps, InterestType, LeaderboardType, LeaderboardsByGameTypeNearbyProps, LeisureInterestType, LengthUnit, LocationType, MarketMetaProps, MarketMetaStatus, MarketType, MarketsByTypeNearbyProps, MemberingStatus, MusicInterestType, NearbyProps, NotificationType, PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageR2Folder, PageType, PetsInterestType, PlayerType, PostPrivacy, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, ReactionType, SocialMediaType, SportsInterestType, SubjectR2Folder, SubjectType, TennisBackhand, TennisLevel, TravelInterestType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, USER_VIOLATION_OPTIONS, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, UserViolationType, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
358
+ export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AccountStatus, AddingEntityType, AdminAccountStatus, AttachmentType, AttendanceStatus, AvatarR2Folder, BasketballPosition, BroadcastType, BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommonAttributeType, CommonMarketType, DuelGameResultType, EntityType, EventsNearbyProps, FollowingStatus, GameMetaProps, GameType, GamesByTypeNearbyProps, GamesNearbyProps, Gender, Handedness, INTERESTS_BY_CATEGORY, ImageSize, InterestNearbyProps, InterestType, LeaderboardType, LeaderboardsByGameTypeNearbyProps, LeisureInterestType, LengthUnit, LocationType, MarketMetaProps, MarketMetaStatus, MarketType, MarketsByTypeNearbyProps, MemberingStatus, MusicInterestType, NearbyProps, NotificationType, PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageR2Folder, PageType, PetsInterestType, PlayerType, PostPrivacy, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, ReactionType, SocialMediaType, SportsInterestType, SubjectR2Folder, SubjectType, TennisBackhand, TennisLevel, TravelInterestType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, USER_VIOLATION_OPTIONS, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, UserViolationOption, UserViolationType, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.cts",
@@ -1,6 +1,11 @@
1
1
  export type UserViolationType = 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
2
2
 
3
- export const USER_VIOLATION_OPTIONS: { key: UserViolationType; label: string }[] = [{
3
+ export interface UserViolationOption {
4
+ key: UserViolationType;
5
+ label: string;
6
+ };
7
+
8
+ export const USER_VIOLATION_OPTIONS: UserViolationOption[] = [{
4
9
  key: 'spam',
5
10
  label: 'Spam',
6
11
  }, {