wenum 1.87.1 → 1.88.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.d.mts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +33 -2
- package/dist/index.mjs +32 -2
- package/package.json +1 -1
- package/src/interest/category.ts +2 -3
- package/src/interest/interestByCategory/index.ts +1 -0
- package/src/interest/interestByCategory/interest.ts +3 -0
- package/src/interest/interestByCategory/travel.ts +51 -0
package/dist/index.d.mts
CHANGED
|
@@ -178,7 +178,7 @@ 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' | '';
|
|
181
|
+
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '';
|
|
182
182
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
183
183
|
|
|
184
184
|
type CardGamesInterestType = 'texasholdem' | 'omaha' | 'blackjack';
|
|
@@ -193,7 +193,10 @@ declare const ALL_PETS_INTERESTS: PetsInterestType[];
|
|
|
193
193
|
type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hiking' | 'running' | 'gym' | 'baseball' | 'biking' | 'yoga' | 'tabletennis' | 'football' | 'soccer' | 'badminton' | 'skiing' | 'surfing' | 'swimming' | 'hockey';
|
|
194
194
|
declare const ALL_SPORTS_INTERESTS: SportsInterestType[];
|
|
195
195
|
|
|
196
|
-
type
|
|
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
|
+
declare const ALL_TRAVEL_INTERESTS: TravelInterestType[];
|
|
198
|
+
|
|
199
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | '';
|
|
197
200
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
198
201
|
|
|
199
202
|
type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
|
|
@@ -264,4 +267,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
|
|
|
264
267
|
declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
|
|
265
268
|
declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
266
269
|
|
|
267
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_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, 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ 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' | '';
|
|
181
|
+
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '';
|
|
182
182
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
183
183
|
|
|
184
184
|
type CardGamesInterestType = 'texasholdem' | 'omaha' | 'blackjack';
|
|
@@ -193,7 +193,10 @@ declare const ALL_PETS_INTERESTS: PetsInterestType[];
|
|
|
193
193
|
type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hiking' | 'running' | 'gym' | 'baseball' | 'biking' | 'yoga' | 'tabletennis' | 'football' | 'soccer' | 'badminton' | 'skiing' | 'surfing' | 'swimming' | 'hockey';
|
|
194
194
|
declare const ALL_SPORTS_INTERESTS: SportsInterestType[];
|
|
195
195
|
|
|
196
|
-
type
|
|
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
|
+
declare const ALL_TRAVEL_INTERESTS: TravelInterestType[];
|
|
198
|
+
|
|
199
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | '';
|
|
197
200
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
198
201
|
|
|
199
202
|
type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
|
|
@@ -264,4 +267,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
|
|
|
264
267
|
declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
|
|
265
268
|
declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
266
269
|
|
|
267
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_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, 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 };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(index_exports, {
|
|
|
25
25
|
ALL_MUSIC_INTERESTS: () => ALL_MUSIC_INTERESTS,
|
|
26
26
|
ALL_PETS_INTERESTS: () => ALL_PETS_INTERESTS,
|
|
27
27
|
ALL_SPORTS_INTERESTS: () => ALL_SPORTS_INTERESTS,
|
|
28
|
+
ALL_TRAVEL_INTERESTS: () => ALL_TRAVEL_INTERESTS,
|
|
28
29
|
AdminAccountStatus: () => AdminAccountStatus,
|
|
29
30
|
AttachmentType: () => AttachmentType,
|
|
30
31
|
AttendanceStatus: () => AttendanceStatus,
|
|
@@ -222,7 +223,8 @@ var ALL_INTEREST_CATEGORIES = [
|
|
|
222
223
|
"1_sports",
|
|
223
224
|
"2_pets",
|
|
224
225
|
"3_cardgames",
|
|
225
|
-
"4_music"
|
|
226
|
+
"4_music",
|
|
227
|
+
"5_travel"
|
|
226
228
|
];
|
|
227
229
|
|
|
228
230
|
// src/interest/interestByCategory/cardgames.ts
|
|
@@ -278,12 +280,40 @@ var ALL_SPORTS_INTERESTS = [
|
|
|
278
280
|
"hockey"
|
|
279
281
|
];
|
|
280
282
|
|
|
283
|
+
// src/interest/interestByCategory/travel.ts
|
|
284
|
+
var ALL_TRAVEL_INTERESTS = [
|
|
285
|
+
"landmark",
|
|
286
|
+
"nationalpark",
|
|
287
|
+
"beach",
|
|
288
|
+
"museum",
|
|
289
|
+
"garden",
|
|
290
|
+
"zoo",
|
|
291
|
+
"food",
|
|
292
|
+
"drinks",
|
|
293
|
+
"entertainment",
|
|
294
|
+
"cruise",
|
|
295
|
+
"culture",
|
|
296
|
+
"heritage",
|
|
297
|
+
"island",
|
|
298
|
+
"lake",
|
|
299
|
+
"river",
|
|
300
|
+
"waterfall",
|
|
301
|
+
"cave",
|
|
302
|
+
"desert",
|
|
303
|
+
"mountain",
|
|
304
|
+
"forest",
|
|
305
|
+
"wellness",
|
|
306
|
+
"wildlife",
|
|
307
|
+
"technology"
|
|
308
|
+
];
|
|
309
|
+
|
|
281
310
|
// src/interest/interestByCategory/interest.ts
|
|
282
311
|
var INTERESTS_BY_CATEGORY = {
|
|
283
312
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
284
313
|
"2_pets": ALL_PETS_INTERESTS,
|
|
285
314
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
286
|
-
"4_music": ALL_MUSIC_INTERESTS
|
|
315
|
+
"4_music": ALL_MUSIC_INTERESTS,
|
|
316
|
+
"5_travel": ALL_TRAVEL_INTERESTS
|
|
287
317
|
};
|
|
288
318
|
|
|
289
319
|
// src/meta/common/label.ts
|
|
@@ -417,6 +447,7 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
|
|
|
417
447
|
ALL_MUSIC_INTERESTS,
|
|
418
448
|
ALL_PETS_INTERESTS,
|
|
419
449
|
ALL_SPORTS_INTERESTS,
|
|
450
|
+
ALL_TRAVEL_INTERESTS,
|
|
420
451
|
AdminAccountStatus,
|
|
421
452
|
AttachmentType,
|
|
422
453
|
AttendanceStatus,
|
package/dist/index.mjs
CHANGED
|
@@ -158,7 +158,8 @@ var ALL_INTEREST_CATEGORIES = [
|
|
|
158
158
|
"1_sports",
|
|
159
159
|
"2_pets",
|
|
160
160
|
"3_cardgames",
|
|
161
|
-
"4_music"
|
|
161
|
+
"4_music",
|
|
162
|
+
"5_travel"
|
|
162
163
|
];
|
|
163
164
|
|
|
164
165
|
// src/interest/interestByCategory/cardgames.ts
|
|
@@ -214,12 +215,40 @@ var ALL_SPORTS_INTERESTS = [
|
|
|
214
215
|
"hockey"
|
|
215
216
|
];
|
|
216
217
|
|
|
218
|
+
// src/interest/interestByCategory/travel.ts
|
|
219
|
+
var ALL_TRAVEL_INTERESTS = [
|
|
220
|
+
"landmark",
|
|
221
|
+
"nationalpark",
|
|
222
|
+
"beach",
|
|
223
|
+
"museum",
|
|
224
|
+
"garden",
|
|
225
|
+
"zoo",
|
|
226
|
+
"food",
|
|
227
|
+
"drinks",
|
|
228
|
+
"entertainment",
|
|
229
|
+
"cruise",
|
|
230
|
+
"culture",
|
|
231
|
+
"heritage",
|
|
232
|
+
"island",
|
|
233
|
+
"lake",
|
|
234
|
+
"river",
|
|
235
|
+
"waterfall",
|
|
236
|
+
"cave",
|
|
237
|
+
"desert",
|
|
238
|
+
"mountain",
|
|
239
|
+
"forest",
|
|
240
|
+
"wellness",
|
|
241
|
+
"wildlife",
|
|
242
|
+
"technology"
|
|
243
|
+
];
|
|
244
|
+
|
|
217
245
|
// src/interest/interestByCategory/interest.ts
|
|
218
246
|
var INTERESTS_BY_CATEGORY = {
|
|
219
247
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
220
248
|
"2_pets": ALL_PETS_INTERESTS,
|
|
221
249
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
222
|
-
"4_music": ALL_MUSIC_INTERESTS
|
|
250
|
+
"4_music": ALL_MUSIC_INTERESTS,
|
|
251
|
+
"5_travel": ALL_TRAVEL_INTERESTS
|
|
223
252
|
};
|
|
224
253
|
|
|
225
254
|
// src/meta/common/label.ts
|
|
@@ -352,6 +381,7 @@ export {
|
|
|
352
381
|
ALL_MUSIC_INTERESTS,
|
|
353
382
|
ALL_PETS_INTERESTS,
|
|
354
383
|
ALL_SPORTS_INTERESTS,
|
|
384
|
+
ALL_TRAVEL_INTERESTS,
|
|
355
385
|
AdminAccountStatus,
|
|
356
386
|
AttachmentType,
|
|
357
387
|
AttendanceStatus,
|
package/package.json
CHANGED
package/src/interest/category.ts
CHANGED
|
@@ -3,12 +3,10 @@ export type CategoryType =
|
|
|
3
3
|
| '2_pets'
|
|
4
4
|
| '3_cardgames'
|
|
5
5
|
| '4_music'
|
|
6
|
-
|
|
6
|
+
| '5_travel'
|
|
7
7
|
// | 'boardgames'
|
|
8
8
|
// | 'dancing'
|
|
9
9
|
// | 'language'
|
|
10
|
-
// | 'food'
|
|
11
|
-
// | 'drinks'
|
|
12
10
|
// | 'photography'
|
|
13
11
|
| '';
|
|
14
12
|
|
|
@@ -17,4 +15,5 @@ export const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[] = [
|
|
|
17
15
|
'2_pets',
|
|
18
16
|
'3_cardgames',
|
|
19
17
|
'4_music',
|
|
18
|
+
'5_travel',
|
|
20
19
|
];
|
|
@@ -3,12 +3,14 @@ import { ALL_MUSIC_INTERESTS, MusicInterestType } from './music';
|
|
|
3
3
|
import { ALL_PETS_INTERESTS, PetsInterestType } from './pets';
|
|
4
4
|
import { ALL_SPORTS_INTERESTS, SportsInterestType } from './sports';
|
|
5
5
|
import { CategoryType } from '../category';
|
|
6
|
+
import { ALL_TRAVEL_INTERESTS, TravelInterestType } from './travel';
|
|
6
7
|
|
|
7
8
|
export type InterestType =
|
|
8
9
|
SportsInterestType |
|
|
9
10
|
PetsInterestType |
|
|
10
11
|
MusicInterestType |
|
|
11
12
|
CardGamesInterestType |
|
|
13
|
+
TravelInterestType |
|
|
12
14
|
'';
|
|
13
15
|
|
|
14
16
|
export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]> = {
|
|
@@ -16,4 +18,5 @@ export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestTy
|
|
|
16
18
|
'2_pets': ALL_PETS_INTERESTS,
|
|
17
19
|
'3_cardgames': ALL_CARDGAMES_INTERESTS,
|
|
18
20
|
'4_music': ALL_MUSIC_INTERESTS,
|
|
21
|
+
'5_travel': ALL_TRAVEL_INTERESTS,
|
|
19
22
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export type TravelInterestType =
|
|
2
|
+
| 'landmark'
|
|
3
|
+
| 'nationalpark'
|
|
4
|
+
| 'beach'
|
|
5
|
+
| 'museum'
|
|
6
|
+
| 'garden'
|
|
7
|
+
| 'zoo'
|
|
8
|
+
| 'food'
|
|
9
|
+
| 'entertainment'
|
|
10
|
+
| 'drinks'
|
|
11
|
+
| 'cruise'
|
|
12
|
+
| 'culture'
|
|
13
|
+
| 'heritage'
|
|
14
|
+
| 'island'
|
|
15
|
+
| 'lake'
|
|
16
|
+
| 'river'
|
|
17
|
+
| 'waterfall'
|
|
18
|
+
| 'cave'
|
|
19
|
+
| 'desert'
|
|
20
|
+
| 'mountain'
|
|
21
|
+
| 'forest'
|
|
22
|
+
| 'wellness'
|
|
23
|
+
| 'wildlife'
|
|
24
|
+
| 'technology'
|
|
25
|
+
;
|
|
26
|
+
|
|
27
|
+
export const ALL_TRAVEL_INTERESTS: TravelInterestType[] = [
|
|
28
|
+
'landmark',
|
|
29
|
+
'nationalpark',
|
|
30
|
+
'beach',
|
|
31
|
+
'museum',
|
|
32
|
+
'garden',
|
|
33
|
+
'zoo',
|
|
34
|
+
'food',
|
|
35
|
+
'drinks',
|
|
36
|
+
'entertainment',
|
|
37
|
+
'cruise',
|
|
38
|
+
'culture',
|
|
39
|
+
'heritage',
|
|
40
|
+
'island',
|
|
41
|
+
'lake',
|
|
42
|
+
'river',
|
|
43
|
+
'waterfall',
|
|
44
|
+
'cave',
|
|
45
|
+
'desert',
|
|
46
|
+
'mountain',
|
|
47
|
+
'forest',
|
|
48
|
+
'wellness',
|
|
49
|
+
'wildlife',
|
|
50
|
+
'technology',
|
|
51
|
+
];
|