wenum 2.5.0 → 2.6.1
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.cjs +6 -6
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- package/src/interest/category.ts +2 -2
- package/src/interest/interestByCategory/index.ts +1 -1
- package/src/interest/interestByCategory/interest.ts +3 -3
- package/src/interest/interestByCategory/{language.ts → languages.ts} +4 -4
package/dist/index.cjs
CHANGED
|
@@ -158,7 +158,7 @@ const ALL_INTEREST_CATEGORIES = [
|
|
|
158
158
|
"4_music",
|
|
159
159
|
"5_travel",
|
|
160
160
|
"6_leisure",
|
|
161
|
-
"
|
|
161
|
+
"7_languages"
|
|
162
162
|
];
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/interest/interestByCategory/cardgames.ts
|
|
@@ -250,9 +250,10 @@ const ALL_LEISURE_INTERESTS = [
|
|
|
250
250
|
"show"
|
|
251
251
|
];
|
|
252
252
|
//#endregion
|
|
253
|
-
//#region src/interest/interestByCategory/
|
|
254
|
-
const
|
|
253
|
+
//#region src/interest/interestByCategory/languages.ts
|
|
254
|
+
const ALL_LANGUAGES_INTERESTS = [
|
|
255
255
|
"arabic",
|
|
256
|
+
"chinese",
|
|
256
257
|
"dutch",
|
|
257
258
|
"english",
|
|
258
259
|
"french",
|
|
@@ -264,7 +265,6 @@ const ALL_LANGUAGE_INTERESTS = [
|
|
|
264
265
|
"japanese",
|
|
265
266
|
"korean",
|
|
266
267
|
"malay",
|
|
267
|
-
"mandarin",
|
|
268
268
|
"portuguese",
|
|
269
269
|
"russian",
|
|
270
270
|
"spanish",
|
|
@@ -282,7 +282,7 @@ const INTERESTS_BY_CATEGORY = {
|
|
|
282
282
|
"4_music": ALL_MUSIC_INTERESTS,
|
|
283
283
|
"5_travel": ALL_TRAVEL_INTERESTS,
|
|
284
284
|
"6_leisure": ALL_LEISURE_INTERESTS,
|
|
285
|
-
"
|
|
285
|
+
"7_languages": ALL_LANGUAGES_INTERESTS
|
|
286
286
|
};
|
|
287
287
|
//#endregion
|
|
288
288
|
//#region src/meta/common/label.ts
|
|
@@ -420,7 +420,7 @@ const CONTENT_VIOLATION_OPTIONS = [
|
|
|
420
420
|
//#endregion
|
|
421
421
|
exports.ALL_CARDGAMES_INTERESTS = ALL_CARDGAMES_INTERESTS;
|
|
422
422
|
exports.ALL_INTEREST_CATEGORIES = ALL_INTEREST_CATEGORIES;
|
|
423
|
-
exports.
|
|
423
|
+
exports.ALL_LANGUAGES_INTERESTS = ALL_LANGUAGES_INTERESTS;
|
|
424
424
|
exports.ALL_LEISURE_INTERESTS = ALL_LEISURE_INTERESTS;
|
|
425
425
|
exports.ALL_MUSIC_INTERESTS = ALL_MUSIC_INTERESTS;
|
|
426
426
|
exports.ALL_PETS_INTERESTS = ALL_PETS_INTERESTS;
|
package/dist/index.d.cts
CHANGED
|
@@ -225,7 +225,7 @@ type SubjectType = "none" | "post" | "rating" | "comment" | "reply";
|
|
|
225
225
|
type CommentStatus = "none" | "active" | "deletedByUser" | "removedByModerator";
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region src/interest/category.d.ts
|
|
228
|
-
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '6_leisure' | '
|
|
228
|
+
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '6_leisure' | '7_languages' | '';
|
|
229
229
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/interest/interestByCategory/cardgames.d.ts
|
|
@@ -252,12 +252,12 @@ declare const ALL_TRAVEL_INTERESTS: TravelInterestType[];
|
|
|
252
252
|
type LeisureInterestType = 'walking' | 'movie' | 'concert' | 'dining' | 'shopping' | 'camping' | 'picnic' | 'show';
|
|
253
253
|
declare const ALL_LEISURE_INTERESTS: LeisureInterestType[];
|
|
254
254
|
//#endregion
|
|
255
|
-
//#region src/interest/interestByCategory/
|
|
256
|
-
type
|
|
257
|
-
declare const
|
|
255
|
+
//#region src/interest/interestByCategory/languages.d.ts
|
|
256
|
+
type LanguagesInterestType = 'arabic' | 'chinese' | 'dutch' | 'english' | 'french' | 'german' | 'greek' | 'hindi' | 'indonesian' | 'italian' | 'japanese' | 'korean' | 'malay' | 'portuguese' | 'russian' | 'spanish' | 'swedish' | 'thai' | 'turkish' | 'vietnamese';
|
|
257
|
+
declare const ALL_LANGUAGES_INTERESTS: LanguagesInterestType[];
|
|
258
258
|
//#endregion
|
|
259
259
|
//#region src/interest/interestByCategory/interest.d.ts
|
|
260
|
-
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType |
|
|
260
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | LanguagesInterestType | '';
|
|
261
261
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/common/measure.d.ts
|
|
@@ -361,4 +361,4 @@ interface ContentViolationOption {
|
|
|
361
361
|
}
|
|
362
362
|
declare const CONTENT_VIOLATION_OPTIONS: ContentViolationOption[];
|
|
363
363
|
//#endregion
|
|
364
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES,
|
|
364
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LANGUAGES_INTERESTS, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AccountStatus, AddingEntityType, AdminAccountStatus, AttachmentType, AttendanceStatus, AvatarR2Folder, BasketballPosition, BroadcastType, BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CONTENT_VIOLATION_OPTIONS, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommentStatus, CommonAttributeType, CommonMarketType, ContentViolationOption, ContentViolationType, DuelGameResultType, EntityType, EventsNearbyProps, FollowingStatus, GameMetaProps, GameType, GamesByTypeNearbyProps, GamesNearbyProps, Gender, Handedness, INTERESTS_BY_CATEGORY, ImageSize, InterestNearbyProps, InterestType, LanguagesInterestType, LeaderboardType, LeaderboardsByGameTypeNearbyProps, LeisureInterestType, LengthUnit, LocationType, MarketMetaProps, MarketMetaStatus, MarketType, MarketsByTypeNearbyProps, MemberingStatus, MusicInterestType, NearbyProps, NotificationType, PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageR2Folder, PageType, PetsInterestType, PlayerType, PostPrivacy, PostStatus, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, ReactionType, SocialMediaType, SportsInterestType, SubjectR2Folder, SubjectType, TennisBackhand, TennisLevel, TravelInterestType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.d.mts
CHANGED
|
@@ -225,7 +225,7 @@ type SubjectType = "none" | "post" | "rating" | "comment" | "reply";
|
|
|
225
225
|
type CommentStatus = "none" | "active" | "deletedByUser" | "removedByModerator";
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region src/interest/category.d.ts
|
|
228
|
-
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '6_leisure' | '
|
|
228
|
+
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '6_leisure' | '7_languages' | '';
|
|
229
229
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/interest/interestByCategory/cardgames.d.ts
|
|
@@ -252,12 +252,12 @@ declare const ALL_TRAVEL_INTERESTS: TravelInterestType[];
|
|
|
252
252
|
type LeisureInterestType = 'walking' | 'movie' | 'concert' | 'dining' | 'shopping' | 'camping' | 'picnic' | 'show';
|
|
253
253
|
declare const ALL_LEISURE_INTERESTS: LeisureInterestType[];
|
|
254
254
|
//#endregion
|
|
255
|
-
//#region src/interest/interestByCategory/
|
|
256
|
-
type
|
|
257
|
-
declare const
|
|
255
|
+
//#region src/interest/interestByCategory/languages.d.ts
|
|
256
|
+
type LanguagesInterestType = 'arabic' | 'chinese' | 'dutch' | 'english' | 'french' | 'german' | 'greek' | 'hindi' | 'indonesian' | 'italian' | 'japanese' | 'korean' | 'malay' | 'portuguese' | 'russian' | 'spanish' | 'swedish' | 'thai' | 'turkish' | 'vietnamese';
|
|
257
|
+
declare const ALL_LANGUAGES_INTERESTS: LanguagesInterestType[];
|
|
258
258
|
//#endregion
|
|
259
259
|
//#region src/interest/interestByCategory/interest.d.ts
|
|
260
|
-
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType |
|
|
260
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | LanguagesInterestType | '';
|
|
261
261
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/common/measure.d.ts
|
|
@@ -361,4 +361,4 @@ interface ContentViolationOption {
|
|
|
361
361
|
}
|
|
362
362
|
declare const CONTENT_VIOLATION_OPTIONS: ContentViolationOption[];
|
|
363
363
|
//#endregion
|
|
364
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES,
|
|
364
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LANGUAGES_INTERESTS, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AccountStatus, AddingEntityType, AdminAccountStatus, AttachmentType, AttendanceStatus, AvatarR2Folder, BasketballPosition, BroadcastType, BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CONTENT_VIOLATION_OPTIONS, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommentStatus, CommonAttributeType, CommonMarketType, ContentViolationOption, ContentViolationType, DuelGameResultType, EntityType, EventsNearbyProps, FollowingStatus, GameMetaProps, GameType, GamesByTypeNearbyProps, GamesNearbyProps, Gender, Handedness, INTERESTS_BY_CATEGORY, ImageSize, InterestNearbyProps, InterestType, LanguagesInterestType, LeaderboardType, LeaderboardsByGameTypeNearbyProps, LeisureInterestType, LengthUnit, LocationType, MarketMetaProps, MarketMetaStatus, MarketType, MarketsByTypeNearbyProps, MemberingStatus, MusicInterestType, NearbyProps, NotificationType, PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageR2Folder, PageType, PetsInterestType, PlayerType, PostPrivacy, PostStatus, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, ReactionType, SocialMediaType, SportsInterestType, SubjectR2Folder, SubjectType, TennisBackhand, TennisLevel, TravelInterestType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.mjs
CHANGED
|
@@ -157,7 +157,7 @@ const ALL_INTEREST_CATEGORIES = [
|
|
|
157
157
|
"4_music",
|
|
158
158
|
"5_travel",
|
|
159
159
|
"6_leisure",
|
|
160
|
-
"
|
|
160
|
+
"7_languages"
|
|
161
161
|
];
|
|
162
162
|
//#endregion
|
|
163
163
|
//#region src/interest/interestByCategory/cardgames.ts
|
|
@@ -249,9 +249,10 @@ const ALL_LEISURE_INTERESTS = [
|
|
|
249
249
|
"show"
|
|
250
250
|
];
|
|
251
251
|
//#endregion
|
|
252
|
-
//#region src/interest/interestByCategory/
|
|
253
|
-
const
|
|
252
|
+
//#region src/interest/interestByCategory/languages.ts
|
|
253
|
+
const ALL_LANGUAGES_INTERESTS = [
|
|
254
254
|
"arabic",
|
|
255
|
+
"chinese",
|
|
255
256
|
"dutch",
|
|
256
257
|
"english",
|
|
257
258
|
"french",
|
|
@@ -263,7 +264,6 @@ const ALL_LANGUAGE_INTERESTS = [
|
|
|
263
264
|
"japanese",
|
|
264
265
|
"korean",
|
|
265
266
|
"malay",
|
|
266
|
-
"mandarin",
|
|
267
267
|
"portuguese",
|
|
268
268
|
"russian",
|
|
269
269
|
"spanish",
|
|
@@ -281,7 +281,7 @@ const INTERESTS_BY_CATEGORY = {
|
|
|
281
281
|
"4_music": ALL_MUSIC_INTERESTS,
|
|
282
282
|
"5_travel": ALL_TRAVEL_INTERESTS,
|
|
283
283
|
"6_leisure": ALL_LEISURE_INTERESTS,
|
|
284
|
-
"
|
|
284
|
+
"7_languages": ALL_LANGUAGES_INTERESTS
|
|
285
285
|
};
|
|
286
286
|
//#endregion
|
|
287
287
|
//#region src/meta/common/label.ts
|
|
@@ -417,4 +417,4 @@ const CONTENT_VIOLATION_OPTIONS = [
|
|
|
417
417
|
}
|
|
418
418
|
];
|
|
419
419
|
//#endregion
|
|
420
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES,
|
|
420
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LANGUAGES_INTERESTS, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AdminAccountStatus, AttachmentType, AttendanceStatus, BasketballPosition, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CONTENT_VIOLATION_OPTIONS, ChallengeStatus, FollowingStatus, INTERESTS_BY_CATEGORY, PID_LENGTH, PID_PREFIX_LENGTH, ReactionType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/package.json
CHANGED
package/src/interest/category.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type CategoryType =
|
|
|
5
5
|
| '4_music'
|
|
6
6
|
| '5_travel'
|
|
7
7
|
| '6_leisure'
|
|
8
|
-
| '
|
|
8
|
+
| '7_languages'
|
|
9
9
|
// | 'boardgames'
|
|
10
10
|
// | 'dancing'
|
|
11
11
|
// | 'photography'
|
|
@@ -18,5 +18,5 @@ export const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[] = [
|
|
|
18
18
|
'4_music',
|
|
19
19
|
'5_travel',
|
|
20
20
|
'6_leisure',
|
|
21
|
-
'
|
|
21
|
+
'7_languages'
|
|
22
22
|
];
|
|
@@ -5,7 +5,7 @@ import { ALL_SPORTS_INTERESTS, SportsInterestType } from './sports';
|
|
|
5
5
|
import { CategoryType } from '../category';
|
|
6
6
|
import { ALL_TRAVEL_INTERESTS, TravelInterestType } from './travel';
|
|
7
7
|
import { ALL_LEISURE_INTERESTS, LeisureInterestType } from './leisure';
|
|
8
|
-
import {
|
|
8
|
+
import { ALL_LANGUAGES_INTERESTS, LanguagesInterestType } from './languages';
|
|
9
9
|
|
|
10
10
|
export type InterestType =
|
|
11
11
|
SportsInterestType |
|
|
@@ -14,7 +14,7 @@ MusicInterestType |
|
|
|
14
14
|
CardGamesInterestType |
|
|
15
15
|
TravelInterestType |
|
|
16
16
|
LeisureInterestType |
|
|
17
|
-
|
|
17
|
+
LanguagesInterestType |
|
|
18
18
|
'';
|
|
19
19
|
|
|
20
20
|
export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]> = {
|
|
@@ -24,5 +24,5 @@ export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestTy
|
|
|
24
24
|
'4_music': ALL_MUSIC_INTERESTS,
|
|
25
25
|
'5_travel': ALL_TRAVEL_INTERESTS,
|
|
26
26
|
'6_leisure': ALL_LEISURE_INTERESTS,
|
|
27
|
-
'
|
|
27
|
+
'7_languages': ALL_LANGUAGES_INTERESTS,
|
|
28
28
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type LanguagesInterestType =
|
|
2
2
|
| 'arabic'
|
|
3
|
+
| 'chinese'
|
|
3
4
|
| 'dutch'
|
|
4
5
|
| 'english'
|
|
5
6
|
| 'french'
|
|
@@ -11,7 +12,6 @@ export type LanguageInterestType =
|
|
|
11
12
|
| 'japanese'
|
|
12
13
|
| 'korean'
|
|
13
14
|
| 'malay'
|
|
14
|
-
| 'mandarin'
|
|
15
15
|
| 'portuguese'
|
|
16
16
|
| 'russian'
|
|
17
17
|
| 'spanish'
|
|
@@ -21,8 +21,9 @@ export type LanguageInterestType =
|
|
|
21
21
|
| 'vietnamese'
|
|
22
22
|
;
|
|
23
23
|
|
|
24
|
-
export const
|
|
24
|
+
export const ALL_LANGUAGES_INTERESTS: LanguagesInterestType[] = [
|
|
25
25
|
'arabic',
|
|
26
|
+
'chinese',
|
|
26
27
|
'dutch',
|
|
27
28
|
'english',
|
|
28
29
|
'french',
|
|
@@ -34,7 +35,6 @@ export const ALL_LANGUAGE_INTERESTS: LanguageInterestType[] = [
|
|
|
34
35
|
'japanese',
|
|
35
36
|
'korean',
|
|
36
37
|
'malay',
|
|
37
|
-
'mandarin',
|
|
38
38
|
'portuguese',
|
|
39
39
|
'russian',
|
|
40
40
|
'spanish',
|