wenum 1.78.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 +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +11 -0
- package/dist/index.mjs +10 -0
- package/package.json +1 -1
- package/src/page/attachment.ts +6 -0
- package/src/page/index.ts +2 -1
- package/src/page/post.ts +0 -6
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,4 @@ 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
|
|
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,
|
|
@@ -255,4 +261,4 @@ 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
|
|
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,
|
|
@@ -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
package/src/page/index.ts
CHANGED