wenum 1.88.1 → 1.89.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 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +19 -3
- package/dist/index.mjs +18 -3
- package/package.json +1 -1
- package/src/interest/category.ts +2 -0
- package/src/interest/interestByCategory/index.ts +1 -0
- package/src/interest/interestByCategory/interest.ts +3 -0
- package/src/interest/interestByCategory/leisure.ts +21 -0
- package/src/interest/interestByCategory/music.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -178,13 +178,13 @@ declare enum BasketballPosition {
|
|
|
178
178
|
|
|
179
179
|
type SubjectType = "none" | "post" | "rating" | "comment" | "reply";
|
|
180
180
|
|
|
181
|
-
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '';
|
|
181
|
+
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '6_leisure' | '';
|
|
182
182
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
183
183
|
|
|
184
184
|
type CardGamesInterestType = 'texasholdem' | 'omaha' | 'blackjack';
|
|
185
185
|
declare const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[];
|
|
186
186
|
|
|
187
|
-
type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | '
|
|
187
|
+
type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | 'clarinet';
|
|
188
188
|
declare const ALL_MUSIC_INTERESTS: MusicInterestType[];
|
|
189
189
|
|
|
190
190
|
type PetsInterestType = 'dog' | 'cat';
|
|
@@ -196,7 +196,10 @@ declare const ALL_SPORTS_INTERESTS: SportsInterestType[];
|
|
|
196
196
|
type TravelInterestType = 'landmark' | 'nationalpark' | 'beach' | 'museum' | 'garden' | 'zoo' | 'food' | 'entertainment' | 'drinks' | 'cruise' | 'culture' | 'heritage' | 'island' | 'lake' | 'river' | 'waterfall' | 'cave' | 'desert' | 'mountain' | 'forest' | 'wellness' | 'wildlife' | 'technology';
|
|
197
197
|
declare const ALL_TRAVEL_INTERESTS: TravelInterestType[];
|
|
198
198
|
|
|
199
|
-
type
|
|
199
|
+
type LeisureInterestType = 'walking' | 'movie' | 'concert' | 'dining' | 'shopping' | 'camping' | 'picnic' | 'show';
|
|
200
|
+
declare const ALL_LEISURE_INTERESTS: LeisureInterestType[];
|
|
201
|
+
|
|
202
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | '';
|
|
200
203
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
201
204
|
|
|
202
205
|
type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
|
|
@@ -267,4 +270,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
|
|
|
267
270
|
declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
|
|
268
271
|
declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
269
272
|
|
|
270
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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 DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, type Handedness, INTERESTS_BY_CATEGORY, type ImageSize, 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 PageR2Folder, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SocialMediaType, type SportsInterestType, type SubjectR2Folder, type SubjectType, type TennisBackhand, type TennisLevel, type TravelInterestType, 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, getAvatarR2CdnUrl, getAvatarR2FolderByProfileType, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
273
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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 DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, type Handedness, INTERESTS_BY_CATEGORY, type ImageSize, type InterestNearbyProps, type InterestType, type LeaderboardType, type LeaderboardsByGameTypeNearbyProps, type LeisureInterestType, 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 PageR2Folder, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SocialMediaType, type SportsInterestType, type SubjectR2Folder, type SubjectType, type TennisBackhand, type TennisLevel, type TravelInterestType, 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, getAvatarR2CdnUrl, getAvatarR2FolderByProfileType, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.d.ts
CHANGED
|
@@ -178,13 +178,13 @@ declare enum BasketballPosition {
|
|
|
178
178
|
|
|
179
179
|
type SubjectType = "none" | "post" | "rating" | "comment" | "reply";
|
|
180
180
|
|
|
181
|
-
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '';
|
|
181
|
+
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '6_leisure' | '';
|
|
182
182
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
183
183
|
|
|
184
184
|
type CardGamesInterestType = 'texasholdem' | 'omaha' | 'blackjack';
|
|
185
185
|
declare const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[];
|
|
186
186
|
|
|
187
|
-
type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | '
|
|
187
|
+
type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | 'clarinet';
|
|
188
188
|
declare const ALL_MUSIC_INTERESTS: MusicInterestType[];
|
|
189
189
|
|
|
190
190
|
type PetsInterestType = 'dog' | 'cat';
|
|
@@ -196,7 +196,10 @@ declare const ALL_SPORTS_INTERESTS: SportsInterestType[];
|
|
|
196
196
|
type TravelInterestType = 'landmark' | 'nationalpark' | 'beach' | 'museum' | 'garden' | 'zoo' | 'food' | 'entertainment' | 'drinks' | 'cruise' | 'culture' | 'heritage' | 'island' | 'lake' | 'river' | 'waterfall' | 'cave' | 'desert' | 'mountain' | 'forest' | 'wellness' | 'wildlife' | 'technology';
|
|
197
197
|
declare const ALL_TRAVEL_INTERESTS: TravelInterestType[];
|
|
198
198
|
|
|
199
|
-
type
|
|
199
|
+
type LeisureInterestType = 'walking' | 'movie' | 'concert' | 'dining' | 'shopping' | 'camping' | 'picnic' | 'show';
|
|
200
|
+
declare const ALL_LEISURE_INTERESTS: LeisureInterestType[];
|
|
201
|
+
|
|
202
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | '';
|
|
200
203
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
201
204
|
|
|
202
205
|
type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
|
|
@@ -267,4 +270,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
|
|
|
267
270
|
declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
|
|
268
271
|
declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
269
272
|
|
|
270
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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 DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, type Handedness, INTERESTS_BY_CATEGORY, type ImageSize, 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 PageR2Folder, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SocialMediaType, type SportsInterestType, type SubjectR2Folder, type SubjectType, type TennisBackhand, type TennisLevel, type TravelInterestType, 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, getAvatarR2CdnUrl, getAvatarR2FolderByProfileType, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
273
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, type AccountStatus, AdminAccountStatus, AttachmentType, AttendanceStatus, type AvatarR2Folder, 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 DuelGameResultType, type EventsNearbyProps, FollowingStatus, type GameMetaProps, type GameType, type GamesByTypeNearbyProps, type GamesNearbyProps, type Gender, type Handedness, INTERESTS_BY_CATEGORY, type ImageSize, type InterestNearbyProps, type InterestType, type LeaderboardType, type LeaderboardsByGameTypeNearbyProps, type LeisureInterestType, 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 PageR2Folder, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, ReactionType, type SocialMediaType, type SportsInterestType, type SubjectR2Folder, type SubjectType, type TennisBackhand, type TennisLevel, type TravelInterestType, 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, getAvatarR2CdnUrl, getAvatarR2FolderByProfileType, getCollectionAttributeLabel, getCommonAttributeLabel, getNearbyIndex, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
ALL_CARDGAMES_INTERESTS: () => ALL_CARDGAMES_INTERESTS,
|
|
24
24
|
ALL_INTEREST_CATEGORIES: () => ALL_INTEREST_CATEGORIES,
|
|
25
|
+
ALL_LEISURE_INTERESTS: () => ALL_LEISURE_INTERESTS,
|
|
25
26
|
ALL_MUSIC_INTERESTS: () => ALL_MUSIC_INTERESTS,
|
|
26
27
|
ALL_PETS_INTERESTS: () => ALL_PETS_INTERESTS,
|
|
27
28
|
ALL_SPORTS_INTERESTS: () => ALL_SPORTS_INTERESTS,
|
|
@@ -224,7 +225,8 @@ var ALL_INTEREST_CATEGORIES = [
|
|
|
224
225
|
"2_pets",
|
|
225
226
|
"3_cardgames",
|
|
226
227
|
"4_music",
|
|
227
|
-
"5_travel"
|
|
228
|
+
"5_travel",
|
|
229
|
+
"6_leisure"
|
|
228
230
|
];
|
|
229
231
|
|
|
230
232
|
// src/interest/interestByCategory/cardgames.ts
|
|
@@ -249,7 +251,7 @@ var ALL_MUSIC_INTERESTS = [
|
|
|
249
251
|
"keytar",
|
|
250
252
|
"trombone",
|
|
251
253
|
"tuba",
|
|
252
|
-
"
|
|
254
|
+
"clarinet"
|
|
253
255
|
];
|
|
254
256
|
|
|
255
257
|
// src/interest/interestByCategory/pets.ts
|
|
@@ -307,13 +309,26 @@ var ALL_TRAVEL_INTERESTS = [
|
|
|
307
309
|
"technology"
|
|
308
310
|
];
|
|
309
311
|
|
|
312
|
+
// src/interest/interestByCategory/leisure.ts
|
|
313
|
+
var ALL_LEISURE_INTERESTS = [
|
|
314
|
+
"walking",
|
|
315
|
+
"movie",
|
|
316
|
+
"concert",
|
|
317
|
+
"dining",
|
|
318
|
+
"camping",
|
|
319
|
+
"shopping",
|
|
320
|
+
"picnic",
|
|
321
|
+
"show"
|
|
322
|
+
];
|
|
323
|
+
|
|
310
324
|
// src/interest/interestByCategory/interest.ts
|
|
311
325
|
var INTERESTS_BY_CATEGORY = {
|
|
312
326
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
313
327
|
"2_pets": ALL_PETS_INTERESTS,
|
|
314
328
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
315
329
|
"4_music": ALL_MUSIC_INTERESTS,
|
|
316
|
-
"5_travel": ALL_TRAVEL_INTERESTS
|
|
330
|
+
"5_travel": ALL_TRAVEL_INTERESTS,
|
|
331
|
+
"6_leisure": ALL_LEISURE_INTERESTS
|
|
317
332
|
};
|
|
318
333
|
|
|
319
334
|
// src/meta/common/label.ts
|
|
@@ -444,6 +459,7 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
|
|
|
444
459
|
0 && (module.exports = {
|
|
445
460
|
ALL_CARDGAMES_INTERESTS,
|
|
446
461
|
ALL_INTEREST_CATEGORIES,
|
|
462
|
+
ALL_LEISURE_INTERESTS,
|
|
447
463
|
ALL_MUSIC_INTERESTS,
|
|
448
464
|
ALL_PETS_INTERESTS,
|
|
449
465
|
ALL_SPORTS_INTERESTS,
|
package/dist/index.mjs
CHANGED
|
@@ -159,7 +159,8 @@ var ALL_INTEREST_CATEGORIES = [
|
|
|
159
159
|
"2_pets",
|
|
160
160
|
"3_cardgames",
|
|
161
161
|
"4_music",
|
|
162
|
-
"5_travel"
|
|
162
|
+
"5_travel",
|
|
163
|
+
"6_leisure"
|
|
163
164
|
];
|
|
164
165
|
|
|
165
166
|
// src/interest/interestByCategory/cardgames.ts
|
|
@@ -184,7 +185,7 @@ var ALL_MUSIC_INTERESTS = [
|
|
|
184
185
|
"keytar",
|
|
185
186
|
"trombone",
|
|
186
187
|
"tuba",
|
|
187
|
-
"
|
|
188
|
+
"clarinet"
|
|
188
189
|
];
|
|
189
190
|
|
|
190
191
|
// src/interest/interestByCategory/pets.ts
|
|
@@ -242,13 +243,26 @@ var ALL_TRAVEL_INTERESTS = [
|
|
|
242
243
|
"technology"
|
|
243
244
|
];
|
|
244
245
|
|
|
246
|
+
// src/interest/interestByCategory/leisure.ts
|
|
247
|
+
var ALL_LEISURE_INTERESTS = [
|
|
248
|
+
"walking",
|
|
249
|
+
"movie",
|
|
250
|
+
"concert",
|
|
251
|
+
"dining",
|
|
252
|
+
"camping",
|
|
253
|
+
"shopping",
|
|
254
|
+
"picnic",
|
|
255
|
+
"show"
|
|
256
|
+
];
|
|
257
|
+
|
|
245
258
|
// src/interest/interestByCategory/interest.ts
|
|
246
259
|
var INTERESTS_BY_CATEGORY = {
|
|
247
260
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
248
261
|
"2_pets": ALL_PETS_INTERESTS,
|
|
249
262
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
250
263
|
"4_music": ALL_MUSIC_INTERESTS,
|
|
251
|
-
"5_travel": ALL_TRAVEL_INTERESTS
|
|
264
|
+
"5_travel": ALL_TRAVEL_INTERESTS,
|
|
265
|
+
"6_leisure": ALL_LEISURE_INTERESTS
|
|
252
266
|
};
|
|
253
267
|
|
|
254
268
|
// src/meta/common/label.ts
|
|
@@ -378,6 +392,7 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
|
|
|
378
392
|
export {
|
|
379
393
|
ALL_CARDGAMES_INTERESTS,
|
|
380
394
|
ALL_INTEREST_CATEGORIES,
|
|
395
|
+
ALL_LEISURE_INTERESTS,
|
|
381
396
|
ALL_MUSIC_INTERESTS,
|
|
382
397
|
ALL_PETS_INTERESTS,
|
|
383
398
|
ALL_SPORTS_INTERESTS,
|
package/package.json
CHANGED
package/src/interest/category.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type CategoryType =
|
|
|
4
4
|
| '3_cardgames'
|
|
5
5
|
| '4_music'
|
|
6
6
|
| '5_travel'
|
|
7
|
+
| '6_leisure'
|
|
7
8
|
// | 'boardgames'
|
|
8
9
|
// | 'dancing'
|
|
9
10
|
// | 'language'
|
|
@@ -16,4 +17,5 @@ export const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[] = [
|
|
|
16
17
|
'3_cardgames',
|
|
17
18
|
'4_music',
|
|
18
19
|
'5_travel',
|
|
20
|
+
'6_leisure'
|
|
19
21
|
];
|
|
@@ -4,6 +4,7 @@ import { ALL_PETS_INTERESTS, PetsInterestType } from './pets';
|
|
|
4
4
|
import { ALL_SPORTS_INTERESTS, SportsInterestType } from './sports';
|
|
5
5
|
import { CategoryType } from '../category';
|
|
6
6
|
import { ALL_TRAVEL_INTERESTS, TravelInterestType } from './travel';
|
|
7
|
+
import { ALL_LEISURE_INTERESTS, LeisureInterestType } from './leisure';
|
|
7
8
|
|
|
8
9
|
export type InterestType =
|
|
9
10
|
SportsInterestType |
|
|
@@ -11,6 +12,7 @@ PetsInterestType |
|
|
|
11
12
|
MusicInterestType |
|
|
12
13
|
CardGamesInterestType |
|
|
13
14
|
TravelInterestType |
|
|
15
|
+
LeisureInterestType |
|
|
14
16
|
'';
|
|
15
17
|
|
|
16
18
|
export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]> = {
|
|
@@ -19,4 +21,5 @@ export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestTy
|
|
|
19
21
|
'3_cardgames': ALL_CARDGAMES_INTERESTS,
|
|
20
22
|
'4_music': ALL_MUSIC_INTERESTS,
|
|
21
23
|
'5_travel': ALL_TRAVEL_INTERESTS,
|
|
24
|
+
'6_leisure': ALL_LEISURE_INTERESTS,
|
|
22
25
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type LeisureInterestType =
|
|
2
|
+
| 'walking'
|
|
3
|
+
| 'movie'
|
|
4
|
+
| 'concert'
|
|
5
|
+
| 'dining'
|
|
6
|
+
| 'shopping'
|
|
7
|
+
| 'camping'
|
|
8
|
+
| 'picnic'
|
|
9
|
+
| 'show'
|
|
10
|
+
;
|
|
11
|
+
|
|
12
|
+
export const ALL_LEISURE_INTERESTS: LeisureInterestType[] = [
|
|
13
|
+
'walking',
|
|
14
|
+
'movie',
|
|
15
|
+
'concert',
|
|
16
|
+
'dining',
|
|
17
|
+
'camping',
|
|
18
|
+
'shopping',
|
|
19
|
+
'picnic',
|
|
20
|
+
'show',
|
|
21
|
+
];
|
|
@@ -12,7 +12,7 @@ export type MusicInterestType =
|
|
|
12
12
|
| 'keytar'
|
|
13
13
|
| 'trombone'
|
|
14
14
|
| 'tuba'
|
|
15
|
-
| '
|
|
15
|
+
| 'clarinet'
|
|
16
16
|
;
|
|
17
17
|
|
|
18
18
|
export const ALL_MUSIC_INTERESTS: MusicInterestType[] = [
|
|
@@ -29,5 +29,5 @@ export const ALL_MUSIC_INTERESTS: MusicInterestType[] = [
|
|
|
29
29
|
'keytar',
|
|
30
30
|
'trombone',
|
|
31
31
|
'tuba',
|
|
32
|
-
'
|
|
32
|
+
'clarinet',
|
|
33
33
|
];
|