wenum 2.3.0 → 2.4.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.cjs CHANGED
@@ -360,8 +360,8 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
360
360
  return `https://avatar.buddiesnearby.com/${folder}/${pageID}/${imageID}/${size}.webp`;
361
361
  }
362
362
  //#endregion
363
- //#region src/userViolation.ts
364
- const USER_VIOLATION_OPTIONS = [
363
+ //#region src/contentViolation.ts
364
+ const CONTENT_VIOLATION_OPTIONS = [
365
365
  {
366
366
  key: "spam",
367
367
  label: "Spam"
@@ -406,6 +406,7 @@ exports.BasketballPosition = BasketballPosition;
406
406
  exports.COLLECTION_ATTRIBUTE_LABEL = COLLECTION_ATTRIBUTE_LABEL;
407
407
  exports.COLLECTION_PETS_ATTRIBUTE_LABEL = COLLECTION_PETS_ATTRIBUTE_LABEL;
408
408
  exports.COMMON_ATTRIBUTE_LABEL = COMMON_ATTRIBUTE_LABEL;
409
+ exports.CONTENT_VIOLATION_OPTIONS = CONTENT_VIOLATION_OPTIONS;
409
410
  exports.ChallengeStatus = ChallengeStatus;
410
411
  exports.FollowingStatus = FollowingStatus;
411
412
  exports.INTERESTS_BY_CATEGORY = INTERESTS_BY_CATEGORY;
@@ -416,7 +417,6 @@ exports.UOI_ATTRIBUTE_LABEL = UOI_ATTRIBUTE_LABEL;
416
417
  exports.UOI_SPORTS_ATTRIBUTE_LABEL = UOI_SPORTS_ATTRIBUTE_LABEL;
417
418
  exports.UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL = UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL;
418
419
  exports.UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL = UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL;
419
- exports.USER_VIOLATION_OPTIONS = USER_VIOLATION_OPTIONS;
420
420
  exports.ZeroCollectionMeta = ZeroCollectionMeta;
421
421
  exports.ZeroGameMeta = ZeroGameMeta;
422
422
  exports.ZeroMarketOption = ZeroMarketOption;
package/dist/index.d.cts CHANGED
@@ -349,12 +349,12 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
349
349
  declare function getAvatarR2FolderByEntityType(entityType: EntityType): AvatarR2Folder;
350
350
  declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
351
351
  //#endregion
352
- //#region src/userViolation.d.ts
353
- type UserViolationType = 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
354
- interface UserViolationOption {
355
- key: UserViolationType;
352
+ //#region src/contentViolation.d.ts
353
+ type ContentViolationType = 'none' | 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
354
+ interface ContentViolationOption {
355
+ key: ContentViolationType;
356
356
  label: string;
357
357
  }
358
- declare const USER_VIOLATION_OPTIONS: UserViolationOption[];
358
+ declare const CONTENT_VIOLATION_OPTIONS: ContentViolationOption[];
359
359
  //#endregion
360
- 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, CommentStatus, 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, PostStatus, 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 };
360
+ 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, CONTENT_VIOLATION_OPTIONS, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommentStatus, CommonAttributeType, CommonMarketType, ContentViolationOption, ContentViolationType, 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, PostStatus, 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, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, 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,12 +349,12 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
349
349
  declare function getAvatarR2FolderByEntityType(entityType: EntityType): AvatarR2Folder;
350
350
  declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
351
351
  //#endregion
352
- //#region src/userViolation.d.ts
353
- type UserViolationType = 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
354
- interface UserViolationOption {
355
- key: UserViolationType;
352
+ //#region src/contentViolation.d.ts
353
+ type ContentViolationType = 'none' | 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
354
+ interface ContentViolationOption {
355
+ key: ContentViolationType;
356
356
  label: string;
357
357
  }
358
- declare const USER_VIOLATION_OPTIONS: UserViolationOption[];
358
+ declare const CONTENT_VIOLATION_OPTIONS: ContentViolationOption[];
359
359
  //#endregion
360
- 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, CommentStatus, 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, PostStatus, 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 };
360
+ 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, CONTENT_VIOLATION_OPTIONS, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommentStatus, CommonAttributeType, CommonMarketType, ContentViolationOption, ContentViolationType, 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, PostStatus, 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, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
package/dist/index.mjs CHANGED
@@ -359,8 +359,8 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
359
359
  return `https://avatar.buddiesnearby.com/${folder}/${pageID}/${imageID}/${size}.webp`;
360
360
  }
361
361
  //#endregion
362
- //#region src/userViolation.ts
363
- const USER_VIOLATION_OPTIONS = [
362
+ //#region src/contentViolation.ts
363
+ const CONTENT_VIOLATION_OPTIONS = [
364
364
  {
365
365
  key: "spam",
366
366
  label: "Spam"
@@ -391,4 +391,4 @@ const USER_VIOLATION_OPTIONS = [
391
391
  }
392
392
  ];
393
393
  //#endregion
394
- export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AdminAccountStatus, AttachmentType, AttendanceStatus, BasketballPosition, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, ChallengeStatus, FollowingStatus, INTERESTS_BY_CATEGORY, PID_LENGTH, PID_PREFIX_LENGTH, ReactionType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, USER_VIOLATION_OPTIONS, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
394
+ export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AdminAccountStatus, AttachmentType, AttendanceStatus, BasketballPosition, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CONTENT_VIOLATION_OPTIONS, ChallengeStatus, FollowingStatus, INTERESTS_BY_CATEGORY, PID_LENGTH, PID_PREFIX_LENGTH, ReactionType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, 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.3.0",
3
+ "version": "2.4.1",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.cts",
@@ -1,11 +1,11 @@
1
- export type UserViolationType = 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
1
+ export type ContentViolationType = 'none' | 'spam' | 'harassment' | 'hate_speech' | 'nudity' | 'violence' | 'false_info' | 'other';
2
2
 
3
- export interface UserViolationOption {
4
- key: UserViolationType;
3
+ export interface ContentViolationOption {
4
+ key: ContentViolationType;
5
5
  label: string;
6
6
  };
7
7
 
8
- export const USER_VIOLATION_OPTIONS: UserViolationOption[] = [{
8
+ export const CONTENT_VIOLATION_OPTIONS: ContentViolationOption[] = [{
9
9
  key: 'spam',
10
10
  label: 'Spam',
11
11
  }, {
package/src/index.ts CHANGED
@@ -9,4 +9,4 @@ export * from './notification';
9
9
  export * from './meta';
10
10
  export * from './reaction';
11
11
  export * from './r2';
12
- export * from './userViolation';
12
+ export * from './contentViolation';