wenum 1.71.0 → 1.72.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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +5 -0
- package/dist/index.mjs +4 -0
- package/package.json +1 -1
- package/src/page/index.ts +1 -0
- package/src/page/nearby.ts +9 -0
package/dist/index.d.mts
CHANGED
|
@@ -120,6 +120,14 @@ interface CollectionMetaProps {
|
|
|
120
120
|
}
|
|
121
121
|
declare const ZeroCollectionMeta: CollectionMetaProps;
|
|
122
122
|
|
|
123
|
+
interface NearbyProps {
|
|
124
|
+
h3Cell: string;
|
|
125
|
+
}
|
|
126
|
+
interface InterestNearbyProps extends NearbyProps {
|
|
127
|
+
interestID: string;
|
|
128
|
+
}
|
|
129
|
+
declare const getNearbyIndex: (h3Cell: string, interestID: string) => string;
|
|
130
|
+
|
|
123
131
|
type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
|
|
124
132
|
declare enum AdminAccountStatus {
|
|
125
133
|
None = 0,
|
|
@@ -218,4 +226,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
218
226
|
attributeType: CollectionAttributeType;
|
|
219
227
|
}) => any;
|
|
220
228
|
|
|
221
|
-
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 InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, 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, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -120,6 +120,14 @@ interface CollectionMetaProps {
|
|
|
120
120
|
}
|
|
121
121
|
declare const ZeroCollectionMeta: CollectionMetaProps;
|
|
122
122
|
|
|
123
|
+
interface NearbyProps {
|
|
124
|
+
h3Cell: string;
|
|
125
|
+
}
|
|
126
|
+
interface InterestNearbyProps extends NearbyProps {
|
|
127
|
+
interestID: string;
|
|
128
|
+
}
|
|
129
|
+
declare const getNearbyIndex: (h3Cell: string, interestID: string) => string;
|
|
130
|
+
|
|
123
131
|
type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
|
|
124
132
|
declare enum AdminAccountStatus {
|
|
125
133
|
None = 0,
|
|
@@ -218,4 +226,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
218
226
|
attributeType: CollectionAttributeType;
|
|
219
227
|
}) => any;
|
|
220
228
|
|
|
221
|
-
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 InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, 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, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -40,6 +40,7 @@ __export(index_exports, {
|
|
|
40
40
|
ZeroMarketOption: () => ZeroMarketOption,
|
|
41
41
|
getCollectionAttributeLabel: () => getCollectionAttributeLabel,
|
|
42
42
|
getCommonAttributeLabel: () => getCommonAttributeLabel,
|
|
43
|
+
getNearbyIndex: () => getNearbyIndex,
|
|
43
44
|
getPIDPrefixByProfileType: () => getPIDPrefixByProfileType,
|
|
44
45
|
getProfileTypeByPID: () => getProfileTypeByPID,
|
|
45
46
|
getUoiAttributeLabel: () => getUoiAttributeLabel,
|
|
@@ -172,6 +173,9 @@ var ZeroCollectionMeta = {
|
|
|
172
173
|
label: ""
|
|
173
174
|
};
|
|
174
175
|
|
|
176
|
+
// src/page/nearby.ts
|
|
177
|
+
var getNearbyIndex = (h3Cell, interestID) => `${h3Cell}_${interestID}`;
|
|
178
|
+
|
|
175
179
|
// src/auth.ts
|
|
176
180
|
var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
|
|
177
181
|
AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
|
|
@@ -309,6 +313,7 @@ var getCollectionAttributeLabel = ({
|
|
|
309
313
|
ZeroMarketOption,
|
|
310
314
|
getCollectionAttributeLabel,
|
|
311
315
|
getCommonAttributeLabel,
|
|
316
|
+
getNearbyIndex,
|
|
312
317
|
getPIDPrefixByProfileType,
|
|
313
318
|
getProfileTypeByPID,
|
|
314
319
|
getUoiAttributeLabel,
|
package/dist/index.mjs
CHANGED
|
@@ -120,6 +120,9 @@ var ZeroCollectionMeta = {
|
|
|
120
120
|
label: ""
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
+
// src/page/nearby.ts
|
|
124
|
+
var getNearbyIndex = (h3Cell, interestID) => `${h3Cell}_${interestID}`;
|
|
125
|
+
|
|
123
126
|
// src/auth.ts
|
|
124
127
|
var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
|
|
125
128
|
AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
|
|
@@ -256,6 +259,7 @@ export {
|
|
|
256
259
|
ZeroMarketOption,
|
|
257
260
|
getCollectionAttributeLabel,
|
|
258
261
|
getCommonAttributeLabel,
|
|
262
|
+
getNearbyIndex,
|
|
259
263
|
getPIDPrefixByProfileType,
|
|
260
264
|
getProfileTypeByPID,
|
|
261
265
|
getUoiAttributeLabel,
|
package/package.json
CHANGED
package/src/page/index.ts
CHANGED