wenum 1.76.0 → 1.78.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
@@ -242,11 +242,17 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
242
242
  attributeType: CollectionAttributeType;
243
243
  }) => any;
244
244
 
245
- interface CoodinatesProps {
245
+ interface CoordinatesProps {
246
246
  lat: number;
247
247
  lng: number;
248
248
  }
249
+ type SetCoordinatesFuncType = (coordinates: CoordinatesProps) => void;
249
250
  declare const HEADERQUARTER_LAT = 37.7749;
250
251
  declare const HEADERQUARTER_LNG = -122.4194;
251
252
 
252
- 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 CoodinatesProps, type DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, HEADERQUARTER_LAT, HEADERQUARTER_LNG, type Handedness, 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 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 };
253
+ declare enum ReactionType {
254
+ None = 0,
255
+ Like = 1
256
+ }
257
+
258
+ 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 CoordinatesProps, type DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, HEADERQUARTER_LAT, HEADERQUARTER_LNG, type Handedness, 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 PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SetCoordinatesFuncType, 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
@@ -242,11 +242,17 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
242
242
  attributeType: CollectionAttributeType;
243
243
  }) => any;
244
244
 
245
- interface CoodinatesProps {
245
+ interface CoordinatesProps {
246
246
  lat: number;
247
247
  lng: number;
248
248
  }
249
+ type SetCoordinatesFuncType = (coordinates: CoordinatesProps) => void;
249
250
  declare const HEADERQUARTER_LAT = 37.7749;
250
251
  declare const HEADERQUARTER_LNG = -122.4194;
251
252
 
252
- 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 CoodinatesProps, type DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, HEADERQUARTER_LAT, HEADERQUARTER_LNG, type Handedness, 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 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 };
253
+ declare enum ReactionType {
254
+ None = 0,
255
+ Like = 1
256
+ }
257
+
258
+ 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 CoordinatesProps, type DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, HEADERQUARTER_LAT, HEADERQUARTER_LNG, type Handedness, 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 PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SetCoordinatesFuncType, 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
@@ -33,6 +33,7 @@ __export(index_exports, {
33
33
  HEADERQUARTER_LNG: () => HEADERQUARTER_LNG,
34
34
  PID_LENGTH: () => PID_LENGTH,
35
35
  PID_PREFIX_LENGTH: () => PID_PREFIX_LENGTH,
36
+ ReactionType: () => ReactionType,
36
37
  UOI_ATTRIBUTE_LABEL: () => UOI_ATTRIBUTE_LABEL,
37
38
  UOI_SPORTS_ATTRIBUTE_LABEL: () => UOI_SPORTS_ATTRIBUTE_LABEL,
38
39
  UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL: () => UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
@@ -297,6 +298,13 @@ var getCollectionAttributeLabel = ({
297
298
  // src/map.ts
298
299
  var HEADERQUARTER_LAT = 37.7749;
299
300
  var HEADERQUARTER_LNG = -122.4194;
301
+
302
+ // src/reaction.ts
303
+ var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
304
+ ReactionType2[ReactionType2["None"] = 0] = "None";
305
+ ReactionType2[ReactionType2["Like"] = 1] = "Like";
306
+ return ReactionType2;
307
+ })(ReactionType || {});
300
308
  // Annotate the CommonJS export names for ESM import in node:
301
309
  0 && (module.exports = {
302
310
  AdminAccountStatus,
@@ -312,6 +320,7 @@ var HEADERQUARTER_LNG = -122.4194;
312
320
  HEADERQUARTER_LNG,
313
321
  PID_LENGTH,
314
322
  PID_PREFIX_LENGTH,
323
+ ReactionType,
315
324
  UOI_ATTRIBUTE_LABEL,
316
325
  UOI_SPORTS_ATTRIBUTE_LABEL,
317
326
  UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
package/dist/index.mjs CHANGED
@@ -242,6 +242,13 @@ var getCollectionAttributeLabel = ({
242
242
  // src/map.ts
243
243
  var HEADERQUARTER_LAT = 37.7749;
244
244
  var HEADERQUARTER_LNG = -122.4194;
245
+
246
+ // src/reaction.ts
247
+ var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
248
+ ReactionType2[ReactionType2["None"] = 0] = "None";
249
+ ReactionType2[ReactionType2["Like"] = 1] = "Like";
250
+ return ReactionType2;
251
+ })(ReactionType || {});
245
252
  export {
246
253
  AdminAccountStatus,
247
254
  AttendanceStatus,
@@ -256,6 +263,7 @@ export {
256
263
  HEADERQUARTER_LNG,
257
264
  PID_LENGTH,
258
265
  PID_PREFIX_LENGTH,
266
+ ReactionType,
259
267
  UOI_ATTRIBUTE_LABEL,
260
268
  UOI_SPORTS_ATTRIBUTE_LABEL,
261
269
  UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.76.0",
3
+ "version": "1.78.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -14,6 +14,7 @@
14
14
  "scripts": {
15
15
  "build": "tsup src/index.ts --dts --format cjs,esm",
16
16
  "dev": "tsup src/index.ts --watch",
17
+ "deploy": "npm run build && npm publish",
17
18
  "test": "jest"
18
19
  },
19
20
  "keywords": [],
package/src/index.ts CHANGED
@@ -7,4 +7,5 @@ export * from './interest';
7
7
  export * from './common';
8
8
  export * from './notification';
9
9
  export * from './meta';
10
- export * from './map';
10
+ export * from './map';
11
+ export * from './reaction';
package/src/map.ts CHANGED
@@ -1,7 +1,9 @@
1
- export interface CoodinatesProps {
1
+ export interface CoordinatesProps {
2
2
  lat: number;
3
3
  lng: number;
4
4
  }
5
5
 
6
+ export type SetCoordinatesFuncType = (coordinates: CoordinatesProps) => void
7
+
6
8
  export const HEADERQUARTER_LAT = 37.7749;
7
9
  export const HEADERQUARTER_LNG = -122.4194;
@@ -7,7 +7,6 @@ export interface NearbyProps {
7
7
  export interface InterestNearbyProps extends NearbyProps {
8
8
  interestID: string;
9
9
  }
10
-
11
10
  interface IsUpcomingProps {
12
11
  isUpcoming?: boolean;
13
12
  }
@@ -0,0 +1,4 @@
1
+ export enum ReactionType {
2
+ None = 0,
3
+ Like = 1,
4
+ }