wenum 1.72.0 → 1.73.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
@@ -126,6 +126,22 @@ interface NearbyProps {
126
126
  interface InterestNearbyProps extends NearbyProps {
127
127
  interestID: string;
128
128
  }
129
+ interface IsUpcomingProps {
130
+ isUpcoming?: boolean;
131
+ }
132
+ interface EventNearbyProps extends InterestNearbyProps, IsUpcomingProps {
133
+ }
134
+ interface MarketByTypeNearbyProps extends InterestNearbyProps {
135
+ marketType: MarketType;
136
+ }
137
+ interface GameNearbyProps extends InterestNearbyProps, IsUpcomingProps {
138
+ }
139
+ interface GameNearbyByTypeProps extends GameNearbyProps {
140
+ gameType: GameType;
141
+ }
142
+ interface LeaderboardByGameTypeNearbyProps extends InterestNearbyProps {
143
+ gameType: GameType;
144
+ }
129
145
  declare const getNearbyIndex: (h3Cell: string, interestID: string) => string;
130
146
 
131
147
  type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
@@ -226,4 +242,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
226
242
  attributeType: CollectionAttributeType;
227
243
  }) => any;
228
244
 
229
- export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaProps, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameMetaProps, type GameType, type Gender, type Handedness, type InterestNearbyProps, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NearbyProps, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
245
+ export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaProps, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, type EventNearbyProps, FollowingStatus, type GameMetaProps, type GameNearbyByTypeProps, type GameNearbyProps, type GameType, type Gender, type Handedness, type InterestNearbyProps, type InterestType, type LeaderboardByGameTypeNearbyProps, type LeaderboardType, type LengthUnit, type LocationType, type MarketByTypeNearbyProps, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NearbyProps, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
package/dist/index.d.ts CHANGED
@@ -126,6 +126,22 @@ interface NearbyProps {
126
126
  interface InterestNearbyProps extends NearbyProps {
127
127
  interestID: string;
128
128
  }
129
+ interface IsUpcomingProps {
130
+ isUpcoming?: boolean;
131
+ }
132
+ interface EventNearbyProps extends InterestNearbyProps, IsUpcomingProps {
133
+ }
134
+ interface MarketByTypeNearbyProps extends InterestNearbyProps {
135
+ marketType: MarketType;
136
+ }
137
+ interface GameNearbyProps extends InterestNearbyProps, IsUpcomingProps {
138
+ }
139
+ interface GameNearbyByTypeProps extends GameNearbyProps {
140
+ gameType: GameType;
141
+ }
142
+ interface LeaderboardByGameTypeNearbyProps extends InterestNearbyProps {
143
+ gameType: GameType;
144
+ }
129
145
  declare const getNearbyIndex: (h3Cell: string, interestID: string) => string;
130
146
 
131
147
  type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
@@ -226,4 +242,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
226
242
  attributeType: CollectionAttributeType;
227
243
  }) => any;
228
244
 
229
- export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaProps, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameMetaProps, type GameType, type Gender, type Handedness, type InterestNearbyProps, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NearbyProps, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
245
+ export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaProps, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, type EventNearbyProps, FollowingStatus, type GameMetaProps, type GameNearbyByTypeProps, type GameNearbyProps, type GameType, type Gender, type Handedness, type InterestNearbyProps, type InterestType, type LeaderboardByGameTypeNearbyProps, type LeaderboardType, type LengthUnit, type LocationType, type MarketByTypeNearbyProps, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NearbyProps, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.72.0",
3
+ "version": "1.73.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,5 @@
1
+ import { GameType, MarketType } from './profile';
2
+
1
3
  export interface NearbyProps {
2
4
  h3Cell: string;
3
5
  }
@@ -6,4 +8,24 @@ export interface InterestNearbyProps extends NearbyProps {
6
8
  interestID: string;
7
9
  }
8
10
 
11
+ interface IsUpcomingProps {
12
+ isUpcoming?: boolean;
13
+ }
14
+
15
+ export interface EventNearbyProps extends InterestNearbyProps, IsUpcomingProps {}
16
+
17
+ export interface MarketByTypeNearbyProps extends InterestNearbyProps {
18
+ marketType: MarketType;
19
+ }
20
+
21
+ export interface GameNearbyProps extends InterestNearbyProps, IsUpcomingProps {}
22
+
23
+ export interface GameNearbyByTypeProps extends GameNearbyProps {
24
+ gameType: GameType;
25
+ }
26
+
27
+ export interface LeaderboardByGameTypeNearbyProps extends InterestNearbyProps {
28
+ gameType: GameType;
29
+ }
30
+
9
31
  export const getNearbyIndex = (h3Cell: string, interestID: string) => `${h3Cell}_${interestID}`;