wenum 2.4.1 → 2.5.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.cjs +29 -2
- package/dist/index.d.cts +7 -3
- package/dist/index.d.mts +7 -3
- package/dist/index.mjs +29 -3
- package/package.json +1 -1
- package/src/interest/category.ts +3 -2
- package/src/interest/interestByCategory/index.ts +1 -0
- package/src/interest/interestByCategory/interest.ts +3 -0
- package/src/interest/interestByCategory/language.ts +45 -0
package/dist/index.cjs
CHANGED
|
@@ -157,7 +157,8 @@ const ALL_INTEREST_CATEGORIES = [
|
|
|
157
157
|
"3_cardgames",
|
|
158
158
|
"4_music",
|
|
159
159
|
"5_travel",
|
|
160
|
-
"6_leisure"
|
|
160
|
+
"6_leisure",
|
|
161
|
+
"7_language"
|
|
161
162
|
];
|
|
162
163
|
//#endregion
|
|
163
164
|
//#region src/interest/interestByCategory/cardgames.ts
|
|
@@ -249,6 +250,30 @@ const ALL_LEISURE_INTERESTS = [
|
|
|
249
250
|
"show"
|
|
250
251
|
];
|
|
251
252
|
//#endregion
|
|
253
|
+
//#region src/interest/interestByCategory/language.ts
|
|
254
|
+
const ALL_LANGUAGE_INTERESTS = [
|
|
255
|
+
"arabic",
|
|
256
|
+
"dutch",
|
|
257
|
+
"english",
|
|
258
|
+
"french",
|
|
259
|
+
"german",
|
|
260
|
+
"greek",
|
|
261
|
+
"hindi",
|
|
262
|
+
"indonesian",
|
|
263
|
+
"italian",
|
|
264
|
+
"japanese",
|
|
265
|
+
"korean",
|
|
266
|
+
"malay",
|
|
267
|
+
"mandarin",
|
|
268
|
+
"portuguese",
|
|
269
|
+
"russian",
|
|
270
|
+
"spanish",
|
|
271
|
+
"swedish",
|
|
272
|
+
"thai",
|
|
273
|
+
"turkish",
|
|
274
|
+
"vietnamese"
|
|
275
|
+
];
|
|
276
|
+
//#endregion
|
|
252
277
|
//#region src/interest/interestByCategory/interest.ts
|
|
253
278
|
const INTERESTS_BY_CATEGORY = {
|
|
254
279
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
@@ -256,7 +281,8 @@ const INTERESTS_BY_CATEGORY = {
|
|
|
256
281
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
257
282
|
"4_music": ALL_MUSIC_INTERESTS,
|
|
258
283
|
"5_travel": ALL_TRAVEL_INTERESTS,
|
|
259
|
-
"6_leisure": ALL_LEISURE_INTERESTS
|
|
284
|
+
"6_leisure": ALL_LEISURE_INTERESTS,
|
|
285
|
+
"7_language": ALL_LANGUAGE_INTERESTS
|
|
260
286
|
};
|
|
261
287
|
//#endregion
|
|
262
288
|
//#region src/meta/common/label.ts
|
|
@@ -394,6 +420,7 @@ const CONTENT_VIOLATION_OPTIONS = [
|
|
|
394
420
|
//#endregion
|
|
395
421
|
exports.ALL_CARDGAMES_INTERESTS = ALL_CARDGAMES_INTERESTS;
|
|
396
422
|
exports.ALL_INTEREST_CATEGORIES = ALL_INTEREST_CATEGORIES;
|
|
423
|
+
exports.ALL_LANGUAGE_INTERESTS = ALL_LANGUAGE_INTERESTS;
|
|
397
424
|
exports.ALL_LEISURE_INTERESTS = ALL_LEISURE_INTERESTS;
|
|
398
425
|
exports.ALL_MUSIC_INTERESTS = ALL_MUSIC_INTERESTS;
|
|
399
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_language' | '';
|
|
229
229
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/interest/interestByCategory/cardgames.d.ts
|
|
@@ -252,8 +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/language.d.ts
|
|
256
|
+
type LanguageInterestType = 'arabic' | 'dutch' | 'english' | 'french' | 'german' | 'greek' | 'hindi' | 'indonesian' | 'italian' | 'japanese' | 'korean' | 'malay' | 'mandarin' | 'portuguese' | 'russian' | 'spanish' | 'swedish' | 'thai' | 'turkish' | 'vietnamese';
|
|
257
|
+
declare const ALL_LANGUAGE_INTERESTS: LanguageInterestType[];
|
|
258
|
+
//#endregion
|
|
255
259
|
//#region src/interest/interestByCategory/interest.d.ts
|
|
256
|
-
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | '';
|
|
260
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | LanguageInterestType | '';
|
|
257
261
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
258
262
|
//#endregion
|
|
259
263
|
//#region src/common/measure.d.ts
|
|
@@ -357,4 +361,4 @@ interface ContentViolationOption {
|
|
|
357
361
|
}
|
|
358
362
|
declare const CONTENT_VIOLATION_OPTIONS: ContentViolationOption[];
|
|
359
363
|
//#endregion
|
|
360
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, 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, 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 };
|
|
364
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LANGUAGE_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, LanguageInterestType, 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_language' | '';
|
|
229
229
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/interest/interestByCategory/cardgames.d.ts
|
|
@@ -252,8 +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/language.d.ts
|
|
256
|
+
type LanguageInterestType = 'arabic' | 'dutch' | 'english' | 'french' | 'german' | 'greek' | 'hindi' | 'indonesian' | 'italian' | 'japanese' | 'korean' | 'malay' | 'mandarin' | 'portuguese' | 'russian' | 'spanish' | 'swedish' | 'thai' | 'turkish' | 'vietnamese';
|
|
257
|
+
declare const ALL_LANGUAGE_INTERESTS: LanguageInterestType[];
|
|
258
|
+
//#endregion
|
|
255
259
|
//#region src/interest/interestByCategory/interest.d.ts
|
|
256
|
-
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | '';
|
|
260
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | LanguageInterestType | '';
|
|
257
261
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
258
262
|
//#endregion
|
|
259
263
|
//#region src/common/measure.d.ts
|
|
@@ -357,4 +361,4 @@ interface ContentViolationOption {
|
|
|
357
361
|
}
|
|
358
362
|
declare const CONTENT_VIOLATION_OPTIONS: ContentViolationOption[];
|
|
359
363
|
//#endregion
|
|
360
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, 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, 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 };
|
|
364
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LANGUAGE_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, LanguageInterestType, 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
|
@@ -156,7 +156,8 @@ const ALL_INTEREST_CATEGORIES = [
|
|
|
156
156
|
"3_cardgames",
|
|
157
157
|
"4_music",
|
|
158
158
|
"5_travel",
|
|
159
|
-
"6_leisure"
|
|
159
|
+
"6_leisure",
|
|
160
|
+
"7_language"
|
|
160
161
|
];
|
|
161
162
|
//#endregion
|
|
162
163
|
//#region src/interest/interestByCategory/cardgames.ts
|
|
@@ -248,6 +249,30 @@ const ALL_LEISURE_INTERESTS = [
|
|
|
248
249
|
"show"
|
|
249
250
|
];
|
|
250
251
|
//#endregion
|
|
252
|
+
//#region src/interest/interestByCategory/language.ts
|
|
253
|
+
const ALL_LANGUAGE_INTERESTS = [
|
|
254
|
+
"arabic",
|
|
255
|
+
"dutch",
|
|
256
|
+
"english",
|
|
257
|
+
"french",
|
|
258
|
+
"german",
|
|
259
|
+
"greek",
|
|
260
|
+
"hindi",
|
|
261
|
+
"indonesian",
|
|
262
|
+
"italian",
|
|
263
|
+
"japanese",
|
|
264
|
+
"korean",
|
|
265
|
+
"malay",
|
|
266
|
+
"mandarin",
|
|
267
|
+
"portuguese",
|
|
268
|
+
"russian",
|
|
269
|
+
"spanish",
|
|
270
|
+
"swedish",
|
|
271
|
+
"thai",
|
|
272
|
+
"turkish",
|
|
273
|
+
"vietnamese"
|
|
274
|
+
];
|
|
275
|
+
//#endregion
|
|
251
276
|
//#region src/interest/interestByCategory/interest.ts
|
|
252
277
|
const INTERESTS_BY_CATEGORY = {
|
|
253
278
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
@@ -255,7 +280,8 @@ const INTERESTS_BY_CATEGORY = {
|
|
|
255
280
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
256
281
|
"4_music": ALL_MUSIC_INTERESTS,
|
|
257
282
|
"5_travel": ALL_TRAVEL_INTERESTS,
|
|
258
|
-
"6_leisure": ALL_LEISURE_INTERESTS
|
|
283
|
+
"6_leisure": ALL_LEISURE_INTERESTS,
|
|
284
|
+
"7_language": ALL_LANGUAGE_INTERESTS
|
|
259
285
|
};
|
|
260
286
|
//#endregion
|
|
261
287
|
//#region src/meta/common/label.ts
|
|
@@ -391,4 +417,4 @@ const CONTENT_VIOLATION_OPTIONS = [
|
|
|
391
417
|
}
|
|
392
418
|
];
|
|
393
419
|
//#endregion
|
|
394
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, 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 };
|
|
420
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LANGUAGE_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,9 +5,9 @@ export type CategoryType =
|
|
|
5
5
|
| '4_music'
|
|
6
6
|
| '5_travel'
|
|
7
7
|
| '6_leisure'
|
|
8
|
+
| '7_language'
|
|
8
9
|
// | 'boardgames'
|
|
9
10
|
// | 'dancing'
|
|
10
|
-
// | 'language'
|
|
11
11
|
// | 'photography'
|
|
12
12
|
| '';
|
|
13
13
|
|
|
@@ -17,5 +17,6 @@ export const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[] = [
|
|
|
17
17
|
'3_cardgames',
|
|
18
18
|
'4_music',
|
|
19
19
|
'5_travel',
|
|
20
|
-
'6_leisure'
|
|
20
|
+
'6_leisure',
|
|
21
|
+
'7_language'
|
|
21
22
|
];
|
|
@@ -5,6 +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 { ALL_LANGUAGE_INTERESTS, LanguageInterestType } from './language';
|
|
8
9
|
|
|
9
10
|
export type InterestType =
|
|
10
11
|
SportsInterestType |
|
|
@@ -13,6 +14,7 @@ MusicInterestType |
|
|
|
13
14
|
CardGamesInterestType |
|
|
14
15
|
TravelInterestType |
|
|
15
16
|
LeisureInterestType |
|
|
17
|
+
LanguageInterestType |
|
|
16
18
|
'';
|
|
17
19
|
|
|
18
20
|
export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]> = {
|
|
@@ -22,4 +24,5 @@ export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestTy
|
|
|
22
24
|
'4_music': ALL_MUSIC_INTERESTS,
|
|
23
25
|
'5_travel': ALL_TRAVEL_INTERESTS,
|
|
24
26
|
'6_leisure': ALL_LEISURE_INTERESTS,
|
|
27
|
+
'7_language': ALL_LANGUAGE_INTERESTS,
|
|
25
28
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type LanguageInterestType =
|
|
2
|
+
| 'arabic'
|
|
3
|
+
| 'dutch'
|
|
4
|
+
| 'english'
|
|
5
|
+
| 'french'
|
|
6
|
+
| 'german'
|
|
7
|
+
| 'greek'
|
|
8
|
+
| 'hindi'
|
|
9
|
+
| 'indonesian'
|
|
10
|
+
| 'italian'
|
|
11
|
+
| 'japanese'
|
|
12
|
+
| 'korean'
|
|
13
|
+
| 'malay'
|
|
14
|
+
| 'mandarin'
|
|
15
|
+
| 'portuguese'
|
|
16
|
+
| 'russian'
|
|
17
|
+
| 'spanish'
|
|
18
|
+
| 'swedish'
|
|
19
|
+
| 'thai'
|
|
20
|
+
| 'turkish'
|
|
21
|
+
| 'vietnamese'
|
|
22
|
+
;
|
|
23
|
+
|
|
24
|
+
export const ALL_LANGUAGE_INTERESTS: LanguageInterestType[] = [
|
|
25
|
+
'arabic',
|
|
26
|
+
'dutch',
|
|
27
|
+
'english',
|
|
28
|
+
'french',
|
|
29
|
+
'german',
|
|
30
|
+
'greek',
|
|
31
|
+
'hindi',
|
|
32
|
+
'indonesian',
|
|
33
|
+
'italian',
|
|
34
|
+
'japanese',
|
|
35
|
+
'korean',
|
|
36
|
+
'malay',
|
|
37
|
+
'mandarin',
|
|
38
|
+
'portuguese',
|
|
39
|
+
'russian',
|
|
40
|
+
'spanish',
|
|
41
|
+
'swedish',
|
|
42
|
+
'thai',
|
|
43
|
+
'turkish',
|
|
44
|
+
'vietnamese',
|
|
45
|
+
];
|