wenum 1.58.0 → 1.59.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 +2 -8
- package/dist/index.d.ts +2 -8
- package/dist/index.js +0 -10
- package/dist/index.mjs +0 -9
- package/package.json +1 -1
- package/src/auth.ts +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -169,13 +169,7 @@ declare function isLeaderboardPID(pid: string): boolean;
|
|
|
169
169
|
|
|
170
170
|
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
None = 0,
|
|
174
|
-
RegistrationNeedBasicInfo = 1,
|
|
175
|
-
RegistrationNeedInterests = 2,
|
|
176
|
-
Active = 3,
|
|
177
|
-
Inactive = 4
|
|
178
|
-
}
|
|
172
|
+
type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
|
|
179
173
|
declare enum AdminAccountStatus {
|
|
180
174
|
None = 0,
|
|
181
175
|
Active = 1,
|
|
@@ -343,4 +337,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
|
|
|
343
337
|
attributeType: AttributeType;
|
|
344
338
|
}) => any;
|
|
345
339
|
|
|
346
|
-
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, type PlayerType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, SocialMediaType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
340
|
+
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, type AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, type PlayerType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, SocialMediaType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.d.ts
CHANGED
|
@@ -169,13 +169,7 @@ declare function isLeaderboardPID(pid: string): boolean;
|
|
|
169
169
|
|
|
170
170
|
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
None = 0,
|
|
174
|
-
RegistrationNeedBasicInfo = 1,
|
|
175
|
-
RegistrationNeedInterests = 2,
|
|
176
|
-
Active = 3,
|
|
177
|
-
Inactive = 4
|
|
178
|
-
}
|
|
172
|
+
type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
|
|
179
173
|
declare enum AdminAccountStatus {
|
|
180
174
|
None = 0,
|
|
181
175
|
Active = 1,
|
|
@@ -343,4 +337,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
|
|
|
343
337
|
attributeType: AttributeType;
|
|
344
338
|
}) => any;
|
|
345
339
|
|
|
346
|
-
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, type PlayerType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, SocialMediaType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
340
|
+
export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, type AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, type PlayerType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, SocialMediaType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, getProfileTypeName, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.js
CHANGED
|
@@ -28,7 +28,6 @@ __export(index_exports, {
|
|
|
28
28
|
ATTRIBUTE_LABEL_UOI_SPORTS: () => ATTRIBUTE_LABEL_UOI_SPORTS,
|
|
29
29
|
ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: () => ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL,
|
|
30
30
|
ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: () => ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS,
|
|
31
|
-
AccountStatus: () => AccountStatus,
|
|
32
31
|
AdminAccountStatus: () => AdminAccountStatus,
|
|
33
32
|
AttendanceStatus: () => AttendanceStatus,
|
|
34
33
|
AvatarType: () => AvatarType,
|
|
@@ -320,14 +319,6 @@ function isLeaderboardPID(pid) {
|
|
|
320
319
|
}
|
|
321
320
|
|
|
322
321
|
// src/auth.ts
|
|
323
|
-
var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
|
|
324
|
-
AccountStatus2[AccountStatus2["None"] = 0] = "None";
|
|
325
|
-
AccountStatus2[AccountStatus2["RegistrationNeedBasicInfo"] = 1] = "RegistrationNeedBasicInfo";
|
|
326
|
-
AccountStatus2[AccountStatus2["RegistrationNeedInterests"] = 2] = "RegistrationNeedInterests";
|
|
327
|
-
AccountStatus2[AccountStatus2["Active"] = 3] = "Active";
|
|
328
|
-
AccountStatus2[AccountStatus2["Inactive"] = 4] = "Inactive";
|
|
329
|
-
return AccountStatus2;
|
|
330
|
-
})(AccountStatus || {});
|
|
331
322
|
var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
|
|
332
323
|
AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
|
|
333
324
|
AdminAccountStatus2[AdminAccountStatus2["Active"] = 1] = "Active";
|
|
@@ -619,7 +610,6 @@ var getProfileAttributeLabel = ({
|
|
|
619
610
|
ATTRIBUTE_LABEL_UOI_SPORTS,
|
|
620
611
|
ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL,
|
|
621
612
|
ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS,
|
|
622
|
-
AccountStatus,
|
|
623
613
|
AdminAccountStatus,
|
|
624
614
|
AttendanceStatus,
|
|
625
615
|
AvatarType,
|
package/dist/index.mjs
CHANGED
|
@@ -244,14 +244,6 @@ function isLeaderboardPID(pid) {
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
// src/auth.ts
|
|
247
|
-
var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
|
|
248
|
-
AccountStatus2[AccountStatus2["None"] = 0] = "None";
|
|
249
|
-
AccountStatus2[AccountStatus2["RegistrationNeedBasicInfo"] = 1] = "RegistrationNeedBasicInfo";
|
|
250
|
-
AccountStatus2[AccountStatus2["RegistrationNeedInterests"] = 2] = "RegistrationNeedInterests";
|
|
251
|
-
AccountStatus2[AccountStatus2["Active"] = 3] = "Active";
|
|
252
|
-
AccountStatus2[AccountStatus2["Inactive"] = 4] = "Inactive";
|
|
253
|
-
return AccountStatus2;
|
|
254
|
-
})(AccountStatus || {});
|
|
255
247
|
var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
|
|
256
248
|
AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
|
|
257
249
|
AdminAccountStatus2[AdminAccountStatus2["Active"] = 1] = "Active";
|
|
@@ -542,7 +534,6 @@ export {
|
|
|
542
534
|
ATTRIBUTE_LABEL_UOI_SPORTS,
|
|
543
535
|
ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL,
|
|
544
536
|
ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS,
|
|
545
|
-
AccountStatus,
|
|
546
537
|
AdminAccountStatus,
|
|
547
538
|
AttendanceStatus,
|
|
548
539
|
AvatarType,
|
package/package.json
CHANGED
package/src/auth.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export type AccountStatus =
|
|
2
|
+
"none"|
|
|
3
|
+
"registrationNeedBasicInfo"|
|
|
4
|
+
"registrationNeedInterests"|
|
|
5
|
+
"active"|
|
|
6
|
+
"inactive";
|
|
8
7
|
|
|
9
8
|
export enum AdminAccountStatus {
|
|
10
9
|
None,
|
|
11
10
|
Active,
|
|
12
11
|
Inactive,
|
|
13
12
|
}
|
|
13
|
+
|