wenum 1.85.0 → 1.86.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 +1 -9
- package/dist/index.d.ts +1 -9
- package/dist/index.js +1 -8
- package/dist/index.mjs +1 -6
- package/package.json +1 -1
- package/src/index.ts +0 -1
- package/src/r2/avatarR2Folder.ts +1 -0
- package/src/map.ts +0 -9
package/dist/index.d.mts
CHANGED
|
@@ -241,14 +241,6 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
241
241
|
attributeType: CollectionAttributeType;
|
|
242
242
|
}) => any;
|
|
243
243
|
|
|
244
|
-
interface CoordinatesProps {
|
|
245
|
-
lat: number;
|
|
246
|
-
lng: number;
|
|
247
|
-
}
|
|
248
|
-
type SetCoordinatesFuncType = (coordinates: CoordinatesProps) => void;
|
|
249
|
-
declare const HEADERQUARTER_LAT = 37.7749;
|
|
250
|
-
declare const HEADERQUARTER_LNG = -122.4194;
|
|
251
|
-
|
|
252
244
|
declare enum ReactionType {
|
|
253
245
|
None = 0,
|
|
254
246
|
Like = 1
|
|
@@ -266,4 +258,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
|
|
|
266
258
|
declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
|
|
267
259
|
declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
268
260
|
|
|
269
|
-
export { type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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
|
|
261
|
+
export { type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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 EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, type Handedness, type ImageSize, type InterestNearbyProps, type InterestType, type LeaderboardType, type LeaderboardsByGameTypeNearbyProps, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MarketsByTypeNearbyProps, type MemberingStatus, type MusicInterestType, type NearbyProps, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageR2Folder, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SocialMediaType, type SportsInterestType, type SubjectR2Folder, 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, getAvatarR2CdnUrl, getAvatarR2FolderByProfileType, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.d.ts
CHANGED
|
@@ -241,14 +241,6 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
241
241
|
attributeType: CollectionAttributeType;
|
|
242
242
|
}) => any;
|
|
243
243
|
|
|
244
|
-
interface CoordinatesProps {
|
|
245
|
-
lat: number;
|
|
246
|
-
lng: number;
|
|
247
|
-
}
|
|
248
|
-
type SetCoordinatesFuncType = (coordinates: CoordinatesProps) => void;
|
|
249
|
-
declare const HEADERQUARTER_LAT = 37.7749;
|
|
250
|
-
declare const HEADERQUARTER_LNG = -122.4194;
|
|
251
|
-
|
|
252
244
|
declare enum ReactionType {
|
|
253
245
|
None = 0,
|
|
254
246
|
Like = 1
|
|
@@ -266,4 +258,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
|
|
|
266
258
|
declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
|
|
267
259
|
declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
268
260
|
|
|
269
|
-
export { type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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
|
|
261
|
+
export { type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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 EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, type Handedness, type ImageSize, type InterestNearbyProps, type InterestType, type LeaderboardType, type LeaderboardsByGameTypeNearbyProps, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MarketsByTypeNearbyProps, type MemberingStatus, type MusicInterestType, type NearbyProps, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageR2Folder, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SocialMediaType, type SportsInterestType, type SubjectR2Folder, 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, getAvatarR2CdnUrl, getAvatarR2FolderByProfileType, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.js
CHANGED
|
@@ -29,8 +29,6 @@ __export(index_exports, {
|
|
|
29
29
|
COMMON_ATTRIBUTE_LABEL: () => COMMON_ATTRIBUTE_LABEL,
|
|
30
30
|
ChallengeStatus: () => ChallengeStatus,
|
|
31
31
|
FollowingStatus: () => FollowingStatus,
|
|
32
|
-
HEADERQUARTER_LAT: () => HEADERQUARTER_LAT,
|
|
33
|
-
HEADERQUARTER_LNG: () => HEADERQUARTER_LNG,
|
|
34
32
|
PID_LENGTH: () => PID_LENGTH,
|
|
35
33
|
PID_PREFIX_LENGTH: () => PID_PREFIX_LENGTH,
|
|
36
34
|
ReactionType: () => ReactionType,
|
|
@@ -299,10 +297,6 @@ var getCollectionAttributeLabel = ({
|
|
|
299
297
|
return (labels == null ? void 0 : labels[attributeType]) || "";
|
|
300
298
|
};
|
|
301
299
|
|
|
302
|
-
// src/map.ts
|
|
303
|
-
var HEADERQUARTER_LAT = 37.7749;
|
|
304
|
-
var HEADERQUARTER_LNG = -122.4194;
|
|
305
|
-
|
|
306
300
|
// src/reaction.ts
|
|
307
301
|
var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
|
|
308
302
|
ReactionType2[ReactionType2["None"] = 0] = "None";
|
|
@@ -325,6 +319,7 @@ function getPageR2CdnUrl(folder, pageID, imageID, size) {
|
|
|
325
319
|
// src/r2/avatarR2Folder.ts
|
|
326
320
|
var profileTypeToAvatarR2Folder = {
|
|
327
321
|
user: "user",
|
|
322
|
+
uoi: "user",
|
|
328
323
|
team: "team",
|
|
329
324
|
arena: "arena",
|
|
330
325
|
event: "event",
|
|
@@ -351,8 +346,6 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
|
|
|
351
346
|
COMMON_ATTRIBUTE_LABEL,
|
|
352
347
|
ChallengeStatus,
|
|
353
348
|
FollowingStatus,
|
|
354
|
-
HEADERQUARTER_LAT,
|
|
355
|
-
HEADERQUARTER_LNG,
|
|
356
349
|
PID_LENGTH,
|
|
357
350
|
PID_PREFIX_LENGTH,
|
|
358
351
|
ReactionType,
|
package/dist/index.mjs
CHANGED
|
@@ -239,10 +239,6 @@ var getCollectionAttributeLabel = ({
|
|
|
239
239
|
return (labels == null ? void 0 : labels[attributeType]) || "";
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
-
// src/map.ts
|
|
243
|
-
var HEADERQUARTER_LAT = 37.7749;
|
|
244
|
-
var HEADERQUARTER_LNG = -122.4194;
|
|
245
|
-
|
|
246
242
|
// src/reaction.ts
|
|
247
243
|
var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
|
|
248
244
|
ReactionType2[ReactionType2["None"] = 0] = "None";
|
|
@@ -265,6 +261,7 @@ function getPageR2CdnUrl(folder, pageID, imageID, size) {
|
|
|
265
261
|
// src/r2/avatarR2Folder.ts
|
|
266
262
|
var profileTypeToAvatarR2Folder = {
|
|
267
263
|
user: "user",
|
|
264
|
+
uoi: "user",
|
|
268
265
|
team: "team",
|
|
269
266
|
arena: "arena",
|
|
270
267
|
event: "event",
|
|
@@ -290,8 +287,6 @@ export {
|
|
|
290
287
|
COMMON_ATTRIBUTE_LABEL,
|
|
291
288
|
ChallengeStatus,
|
|
292
289
|
FollowingStatus,
|
|
293
|
-
HEADERQUARTER_LAT,
|
|
294
|
-
HEADERQUARTER_LNG,
|
|
295
290
|
PID_LENGTH,
|
|
296
291
|
PID_PREFIX_LENGTH,
|
|
297
292
|
ReactionType,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/r2/avatarR2Folder.ts
CHANGED
package/src/map.ts
DELETED