wenum 1.78.0 → 1.80.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,
@@ -255,4 +261,6 @@ declare enum ReactionType {
255
261
  Like = 1
256
262
  }
257
263
 
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 };
264
+ type R2Folder = 'collection' | 'post' | 'game' | 'uoi' | 'user' | 'team' | 'leaderboard' | 'arena' | 'event';
265
+
266
+ 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, type R2Folder, 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,
@@ -255,4 +261,6 @@ declare enum ReactionType {
255
261
  Like = 1
256
262
  }
257
263
 
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 };
264
+ type R2Folder = 'collection' | 'post' | 'game' | 'uoi' | 'user' | 'team' | 'leaderboard' | 'arena' | 'event';
265
+
266
+ 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, type R2Folder, 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,
@@ -179,6 +180,15 @@ var ZeroCollectionMeta = {
179
180
  // src/page/nearby.ts
180
181
  var getNearbyIndex = (h3Cell, interestID) => `${h3Cell}_${interestID}`;
181
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
+
182
192
  // src/auth.ts
183
193
  var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
184
194
  AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
@@ -308,6 +318,7 @@ var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
308
318
  // Annotate the CommonJS export names for ESM import in node:
309
319
  0 && (module.exports = {
310
320
  AdminAccountStatus,
321
+ AttachmentType,
311
322
  AttendanceStatus,
312
323
  AvatarType,
313
324
  BasketballPosition,
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";
@@ -251,6 +260,7 @@ var ReactionType = /* @__PURE__ */ ((ReactionType2) => {
251
260
  })(ReactionType || {});
252
261
  export {
253
262
  AdminAccountStatus,
263
+ AttachmentType,
254
264
  AttendanceStatus,
255
265
  AvatarType,
256
266
  BasketballPosition,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.78.0",
3
+ "version": "1.80.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
@@ -8,4 +8,5 @@ export * from './common';
8
8
  export * from './notification';
9
9
  export * from './meta';
10
10
  export * from './map';
11
- export * from './reaction';
11
+ export * from './reaction';
12
+ export * from './r2';;
@@ -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" |
package/src/r2.ts ADDED
@@ -0,0 +1,2 @@
1
+ export type R2Folder = 'collection' | 'post' | 'game' | 'uoi' | 'user' | 'team' | 'leaderboard' | 'arena' | 'event';
2
+