wenum 1.77.0 → 1.79.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
@@ -79,7 +79,6 @@ type ProfileJoiningType = "gameToLeaderboard" | "playerToGame" | "memberToCircle
79
79
 
80
80
  type PlayerType = 'uoi' | 'team' | 'collection';
81
81
 
82
- type PostType = "none" | "text" | "image" | "poll";
83
82
  type PostPrivacy = "public" | "private" | "parent" | "internal";
84
83
 
85
84
  type LocationType = "none" | "point" | "street" | "city";
@@ -144,6 +143,13 @@ interface LeaderboardsByGameTypeNearbyProps extends InterestNearbyProps {
144
143
  }
145
144
  declare const getNearbyIndex: (h3Cell: string, interestID: string) => string;
146
145
 
146
+ declare enum AttachmentType {
147
+ None = 0,
148
+ Image = 1,
149
+ Video = 2,
150
+ Poll = 4
151
+ }
152
+
147
153
  type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
148
154
  declare enum AdminAccountStatus {
149
155
  None = 0,
@@ -250,4 +256,9 @@ type SetCoordinatesFuncType = (coordinates: CoordinatesProps) => void;
250
256
  declare const HEADERQUARTER_LAT = 37.7749;
251
257
  declare const HEADERQUARTER_LNG = -122.4194;
252
258
 
253
- 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, 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 };
259
+ declare enum ReactionType {
260
+ None = 0,
261
+ Like = 1
262
+ }
263
+
264
+ export { type AccountStatus, AdminAccountStatus, AttachmentType, 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 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
@@ -79,7 +79,6 @@ type ProfileJoiningType = "gameToLeaderboard" | "playerToGame" | "memberToCircle
79
79
 
80
80
  type PlayerType = 'uoi' | 'team' | 'collection';
81
81
 
82
- type PostType = "none" | "text" | "image" | "poll";
83
82
  type PostPrivacy = "public" | "private" | "parent" | "internal";
84
83
 
85
84
  type LocationType = "none" | "point" | "street" | "city";
@@ -144,6 +143,13 @@ interface LeaderboardsByGameTypeNearbyProps extends InterestNearbyProps {
144
143
  }
145
144
  declare const getNearbyIndex: (h3Cell: string, interestID: string) => string;
146
145
 
146
+ declare enum AttachmentType {
147
+ None = 0,
148
+ Image = 1,
149
+ Video = 2,
150
+ Poll = 4
151
+ }
152
+
147
153
  type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
148
154
  declare enum AdminAccountStatus {
149
155
  None = 0,
@@ -250,4 +256,9 @@ type SetCoordinatesFuncType = (coordinates: CoordinatesProps) => void;
250
256
  declare const HEADERQUARTER_LAT = 37.7749;
251
257
  declare const HEADERQUARTER_LNG = -122.4194;
252
258
 
253
- 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, 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 };
259
+ declare enum ReactionType {
260
+ None = 0,
261
+ Like = 1
262
+ }
263
+
264
+ export { type AccountStatus, AdminAccountStatus, AttachmentType, 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 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
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AdminAccountStatus: () => AdminAccountStatus,
24
+ AttachmentType: () => AttachmentType,
24
25
  AttendanceStatus: () => AttendanceStatus,
25
26
  AvatarType: () => AvatarType,
26
27
  BasketballPosition: () => BasketballPosition,
@@ -33,6 +34,7 @@ __export(index_exports, {
33
34
  HEADERQUARTER_LNG: () => HEADERQUARTER_LNG,
34
35
  PID_LENGTH: () => PID_LENGTH,
35
36
  PID_PREFIX_LENGTH: () => PID_PREFIX_LENGTH,
37
+ ReactionType: () => ReactionType,
36
38
  UOI_ATTRIBUTE_LABEL: () => UOI_ATTRIBUTE_LABEL,
37
39
  UOI_SPORTS_ATTRIBUTE_LABEL: () => UOI_SPORTS_ATTRIBUTE_LABEL,
38
40
  UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL: () => UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
@@ -178,6 +180,15 @@ var ZeroCollectionMeta = {
178
180
  // src/page/nearby.ts
179
181
  var getNearbyIndex = (h3Cell, interestID) => `${h3Cell}_${interestID}`;
180
182
 
183
+ // src/page/attachment.ts
184
+ var AttachmentType = /* @__PURE__ */ ((AttachmentType2) => {
185
+ AttachmentType2[AttachmentType2["None"] = 0] = "None";
186
+ AttachmentType2[AttachmentType2["Image"] = 1] = "Image";
187
+ AttachmentType2[AttachmentType2["Video"] = 2] = "Video";
188
+ AttachmentType2[AttachmentType2["Poll"] = 4] = "Poll";
189
+ return AttachmentType2;
190
+ })(AttachmentType || {});
191
+
181
192
  // src/auth.ts
182
193
  var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
183
194
  AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
@@ -297,9 +308,17 @@ var getCollectionAttributeLabel = ({
297
308
  // src/map.ts
298
309
  var HEADERQUARTER_LAT = 37.7749;
299
310
  var HEADERQUARTER_LNG = -122.4194;
311
+
312
+ // src/reaction.ts
313
+ var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
314
+ ReactionType2[ReactionType2["None"] = 0] = "None";
315
+ ReactionType2[ReactionType2["Like"] = 1] = "Like";
316
+ return ReactionType2;
317
+ })(ReactionType || {});
300
318
  // Annotate the CommonJS export names for ESM import in node:
301
319
  0 && (module.exports = {
302
320
  AdminAccountStatus,
321
+ AttachmentType,
303
322
  AttendanceStatus,
304
323
  AvatarType,
305
324
  BasketballPosition,
@@ -312,6 +331,7 @@ var HEADERQUARTER_LNG = -122.4194;
312
331
  HEADERQUARTER_LNG,
313
332
  PID_LENGTH,
314
333
  PID_PREFIX_LENGTH,
334
+ ReactionType,
315
335
  UOI_ATTRIBUTE_LABEL,
316
336
  UOI_SPORTS_ATTRIBUTE_LABEL,
317
337
  UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
package/dist/index.mjs CHANGED
@@ -123,6 +123,15 @@ var ZeroCollectionMeta = {
123
123
  // src/page/nearby.ts
124
124
  var getNearbyIndex = (h3Cell, interestID) => `${h3Cell}_${interestID}`;
125
125
 
126
+ // src/page/attachment.ts
127
+ var AttachmentType = /* @__PURE__ */ ((AttachmentType2) => {
128
+ AttachmentType2[AttachmentType2["None"] = 0] = "None";
129
+ AttachmentType2[AttachmentType2["Image"] = 1] = "Image";
130
+ AttachmentType2[AttachmentType2["Video"] = 2] = "Video";
131
+ AttachmentType2[AttachmentType2["Poll"] = 4] = "Poll";
132
+ return AttachmentType2;
133
+ })(AttachmentType || {});
134
+
126
135
  // src/auth.ts
127
136
  var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
128
137
  AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
@@ -242,8 +251,16 @@ var getCollectionAttributeLabel = ({
242
251
  // src/map.ts
243
252
  var HEADERQUARTER_LAT = 37.7749;
244
253
  var HEADERQUARTER_LNG = -122.4194;
254
+
255
+ // src/reaction.ts
256
+ var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
257
+ ReactionType2[ReactionType2["None"] = 0] = "None";
258
+ ReactionType2[ReactionType2["Like"] = 1] = "Like";
259
+ return ReactionType2;
260
+ })(ReactionType || {});
245
261
  export {
246
262
  AdminAccountStatus,
263
+ AttachmentType,
247
264
  AttendanceStatus,
248
265
  AvatarType,
249
266
  BasketballPosition,
@@ -256,6 +273,7 @@ export {
256
273
  HEADERQUARTER_LNG,
257
274
  PID_LENGTH,
258
275
  PID_PREFIX_LENGTH,
276
+ ReactionType,
259
277
  UOI_ATTRIBUTE_LABEL,
260
278
  UOI_SPORTS_ATTRIBUTE_LABEL,
261
279
  UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.77.0",
3
+ "version": "1.79.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
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';
@@ -0,0 +1,6 @@
1
+ export enum AttachmentType {
2
+ None = 0,
3
+ Image = 1,
4
+ Video = 2,
5
+ Poll = 4,
6
+ }
package/src/page/index.ts CHANGED
@@ -5,4 +5,5 @@ export * from './location';
5
5
  export * from './pid';
6
6
  export * from './broadcast';
7
7
  export * from './collection';
8
- export * from './nearby';
8
+ export * from './nearby';
9
+ export * from './attachment';
package/src/page/post.ts CHANGED
@@ -1,9 +1,3 @@
1
- export type PostType =
2
- "none" |
3
- "text" |
4
- "image" |
5
- "poll";
6
-
7
1
  export type PostPrivacy =
8
2
  "public" |
9
3
  "private" |
@@ -0,0 +1,4 @@
1
+ export enum ReactionType {
2
+ None = 0,
3
+ Like = 1,
4
+ }