wenum 1.66.0 → 1.68.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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +9 -0
- package/dist/index.mjs +8 -0
- package/package.json +1 -1
- package/src/meta/common/index.ts +1 -0
- package/src/page/collection/index.ts +1 -1
- package/src/page/collection/other.ts +13 -0
- package/src/page/collection/status.ts +0 -4
package/dist/index.d.mts
CHANGED
|
@@ -83,6 +83,8 @@ declare function isLeaderboardPID(pid: string): boolean;
|
|
|
83
83
|
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
84
84
|
|
|
85
85
|
type CollectionMetaStatus = "inactive" | "active" | "none";
|
|
86
|
+
type CollectionStatus = "inactive" | "active" | "none";
|
|
87
|
+
type CollectionPrivacy = "public" | "private";
|
|
86
88
|
|
|
87
89
|
type CollectionTypeOther = 'zzzother';
|
|
88
90
|
|
|
@@ -156,6 +158,10 @@ type CommonAttributeType = 'handedness' | 'gender' | 'dob';
|
|
|
156
158
|
|
|
157
159
|
declare const COMMON_ATTRIBUTE_LABEL: Record<CommonAttributeType, string>;
|
|
158
160
|
|
|
161
|
+
declare const getCommonAttributeLabel: ({ attributeType }: {
|
|
162
|
+
attributeType: CommonAttributeType;
|
|
163
|
+
}) => string;
|
|
164
|
+
|
|
159
165
|
type UoiSportsTennisAttributeType = 'level' | 'backhand' | 'handedness';
|
|
160
166
|
|
|
161
167
|
declare const UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL: Record<UoiSportsTennisAttributeType, string>;
|
|
@@ -192,4 +198,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
192
198
|
attributeType: CollectionAttributeType;
|
|
193
199
|
}) => any;
|
|
194
200
|
|
|
195
|
-
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 CollectionMetaStatus, type CollectionPetsAttributeType, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, 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, getCollectionAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
201
|
+
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 CollectionMetaStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, 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, getCollectionAttributeLabel, getCommonAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.d.ts
CHANGED
|
@@ -83,6 +83,8 @@ declare function isLeaderboardPID(pid: string): boolean;
|
|
|
83
83
|
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
84
84
|
|
|
85
85
|
type CollectionMetaStatus = "inactive" | "active" | "none";
|
|
86
|
+
type CollectionStatus = "inactive" | "active" | "none";
|
|
87
|
+
type CollectionPrivacy = "public" | "private";
|
|
86
88
|
|
|
87
89
|
type CollectionTypeOther = 'zzzother';
|
|
88
90
|
|
|
@@ -156,6 +158,10 @@ type CommonAttributeType = 'handedness' | 'gender' | 'dob';
|
|
|
156
158
|
|
|
157
159
|
declare const COMMON_ATTRIBUTE_LABEL: Record<CommonAttributeType, string>;
|
|
158
160
|
|
|
161
|
+
declare const getCommonAttributeLabel: ({ attributeType }: {
|
|
162
|
+
attributeType: CommonAttributeType;
|
|
163
|
+
}) => string;
|
|
164
|
+
|
|
159
165
|
type UoiSportsTennisAttributeType = 'level' | 'backhand' | 'handedness';
|
|
160
166
|
|
|
161
167
|
declare const UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL: Record<UoiSportsTennisAttributeType, string>;
|
|
@@ -192,4 +198,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
192
198
|
attributeType: CollectionAttributeType;
|
|
193
199
|
}) => any;
|
|
194
200
|
|
|
195
|
-
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 CollectionMetaStatus, type CollectionPetsAttributeType, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, 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, getCollectionAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
201
|
+
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 CollectionMetaStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, 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, getCollectionAttributeLabel, getCommonAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __export(index_exports, {
|
|
|
36
36
|
UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL: () => UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
|
|
37
37
|
UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL: () => UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL,
|
|
38
38
|
getCollectionAttributeLabel: () => getCollectionAttributeLabel,
|
|
39
|
+
getCommonAttributeLabel: () => getCommonAttributeLabel,
|
|
39
40
|
getPIDPrefixByProfileType: () => getPIDPrefixByProfileType,
|
|
40
41
|
getProfileTypeByPID: () => getProfileTypeByPID,
|
|
41
42
|
getUoiAttributeLabel: () => getUoiAttributeLabel,
|
|
@@ -187,6 +188,13 @@ var COMMON_ATTRIBUTE_LABEL = {
|
|
|
187
188
|
dob: "Date of Birth"
|
|
188
189
|
};
|
|
189
190
|
|
|
191
|
+
// src/meta/common/util.ts
|
|
192
|
+
var getCommonAttributeLabel = ({
|
|
193
|
+
attributeType
|
|
194
|
+
}) => {
|
|
195
|
+
return COMMON_ATTRIBUTE_LABEL[attributeType] || "";
|
|
196
|
+
};
|
|
197
|
+
|
|
190
198
|
// src/meta/uoi/sports/tennis/label.ts
|
|
191
199
|
var UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL = {
|
|
192
200
|
level: "Level",
|
|
@@ -276,6 +284,7 @@ var getCollectionAttributeLabel = ({
|
|
|
276
284
|
UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
|
|
277
285
|
UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL,
|
|
278
286
|
getCollectionAttributeLabel,
|
|
287
|
+
getCommonAttributeLabel,
|
|
279
288
|
getPIDPrefixByProfileType,
|
|
280
289
|
getProfileTypeByPID,
|
|
281
290
|
getUoiAttributeLabel,
|
package/dist/index.mjs
CHANGED
|
@@ -139,6 +139,13 @@ var COMMON_ATTRIBUTE_LABEL = {
|
|
|
139
139
|
dob: "Date of Birth"
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
+
// src/meta/common/util.ts
|
|
143
|
+
var getCommonAttributeLabel = ({
|
|
144
|
+
attributeType
|
|
145
|
+
}) => {
|
|
146
|
+
return COMMON_ATTRIBUTE_LABEL[attributeType] || "";
|
|
147
|
+
};
|
|
148
|
+
|
|
142
149
|
// src/meta/uoi/sports/tennis/label.ts
|
|
143
150
|
var UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL = {
|
|
144
151
|
level: "Level",
|
|
@@ -227,6 +234,7 @@ export {
|
|
|
227
234
|
UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL,
|
|
228
235
|
UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL,
|
|
229
236
|
getCollectionAttributeLabel,
|
|
237
|
+
getCommonAttributeLabel,
|
|
230
238
|
getPIDPrefixByProfileType,
|
|
231
239
|
getProfileTypeByPID,
|
|
232
240
|
getUoiAttributeLabel,
|
package/package.json
CHANGED
package/src/meta/common/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './other';
|
|
2
2
|
export * from './type';
|