wenum 1.86.0 → 1.87.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 CHANGED
@@ -178,17 +178,23 @@ 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' | 'boardgames' | 'music' | 'travel' | 'dancing' | 'language' | 'food' | 'drinks' | 'photography' | '';
181
+ type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '';
182
+ declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
182
183
 
183
184
  type CardGamesInterestType = 'texasholdem' | 'omaha' | 'blackjack';
185
+ declare const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[];
184
186
 
185
- type MusicInterestType = 'guitar' | 'singing';
187
+ type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | 'clarita';
188
+ declare const ALL_MUSIC_INTERESTS: MusicInterestType[];
186
189
 
187
190
  type PetsInterestType = 'dog' | 'cat';
191
+ declare const ALL_PETS_INTERESTS: PetsInterestType[];
188
192
 
189
193
  type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hiking' | 'running' | 'gym' | 'baseball' | 'biking' | 'yoga' | 'tabletennis' | 'football' | 'soccer' | 'badminton' | 'skiing' | 'surfing' | 'swimming' | 'hockey';
194
+ declare const ALL_SPORTS_INTERESTS: SportsInterestType[];
190
195
 
191
196
  type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | '';
197
+ declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
192
198
 
193
199
  type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
194
200
  type WeightUnit = "kg" | "g" | "lb" | "oz";
@@ -258,4 +264,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
258
264
  declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
259
265
  declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
260
266
 
261
- export { 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, 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -178,17 +178,23 @@ 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' | 'boardgames' | 'music' | 'travel' | 'dancing' | 'language' | 'food' | 'drinks' | 'photography' | '';
181
+ type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '';
182
+ declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
182
183
 
183
184
  type CardGamesInterestType = 'texasholdem' | 'omaha' | 'blackjack';
185
+ declare const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[];
184
186
 
185
- type MusicInterestType = 'guitar' | 'singing';
187
+ type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | 'clarita';
188
+ declare const ALL_MUSIC_INTERESTS: MusicInterestType[];
186
189
 
187
190
  type PetsInterestType = 'dog' | 'cat';
191
+ declare const ALL_PETS_INTERESTS: PetsInterestType[];
188
192
 
189
193
  type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hiking' | 'running' | 'gym' | 'baseball' | 'biking' | 'yoga' | 'tabletennis' | 'football' | 'soccer' | 'badminton' | 'skiing' | 'surfing' | 'swimming' | 'hockey';
194
+ declare const ALL_SPORTS_INTERESTS: SportsInterestType[];
190
195
 
191
196
  type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | '';
197
+ declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
192
198
 
193
199
  type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
194
200
  type WeightUnit = "kg" | "g" | "lb" | "oz";
@@ -258,4 +264,4 @@ type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' |
258
264
  declare function getAvatarR2FolderByProfileType(profileType: ProfileType): AvatarR2Folder;
259
265
  declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
260
266
 
261
- export { 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, 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 };
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 };
package/dist/index.js CHANGED
@@ -20,6 +20,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ ALL_CARDGAMES_INTERESTS: () => ALL_CARDGAMES_INTERESTS,
24
+ ALL_INTEREST_CATEGORIES: () => ALL_INTEREST_CATEGORIES,
25
+ ALL_MUSIC_INTERESTS: () => ALL_MUSIC_INTERESTS,
26
+ ALL_PETS_INTERESTS: () => ALL_PETS_INTERESTS,
27
+ ALL_SPORTS_INTERESTS: () => ALL_SPORTS_INTERESTS,
23
28
  AdminAccountStatus: () => AdminAccountStatus,
24
29
  AttachmentType: () => AttachmentType,
25
30
  AttendanceStatus: () => AttendanceStatus,
@@ -29,6 +34,7 @@ __export(index_exports, {
29
34
  COMMON_ATTRIBUTE_LABEL: () => COMMON_ATTRIBUTE_LABEL,
30
35
  ChallengeStatus: () => ChallengeStatus,
31
36
  FollowingStatus: () => FollowingStatus,
37
+ INTERESTS_BY_CATEGORY: () => INTERESTS_BY_CATEGORY,
32
38
  PID_LENGTH: () => PID_LENGTH,
33
39
  PID_PREFIX_LENGTH: () => PID_PREFIX_LENGTH,
34
40
  ReactionType: () => ReactionType,
@@ -211,6 +217,75 @@ var BasketballPosition = /* @__PURE__ */ ((BasketballPosition2) => {
211
217
  return BasketballPosition2;
212
218
  })(BasketballPosition || {});
213
219
 
220
+ // src/interest/category.ts
221
+ var ALL_INTEREST_CATEGORIES = [
222
+ "1_sports",
223
+ "2_pets",
224
+ "3_cardgames",
225
+ "4_music"
226
+ ];
227
+
228
+ // src/interest/interestByCategory/cardgames.ts
229
+ var ALL_CARDGAMES_INTERESTS = [
230
+ "texasholdem",
231
+ "omaha",
232
+ "blackjack"
233
+ ];
234
+
235
+ // src/interest/interestByCategory/music.ts
236
+ var ALL_MUSIC_INTERESTS = [
237
+ "singing",
238
+ "guitar",
239
+ "piano",
240
+ "violin",
241
+ "cello",
242
+ "bass",
243
+ "drum",
244
+ "saxophone",
245
+ "flute",
246
+ "harp",
247
+ "keytar",
248
+ "trombone",
249
+ "tuba",
250
+ "clarita"
251
+ ];
252
+
253
+ // src/interest/interestByCategory/pets.ts
254
+ var ALL_PETS_INTERESTS = [
255
+ "dog",
256
+ "cat"
257
+ ];
258
+
259
+ // src/interest/interestByCategory/sports.ts
260
+ var ALL_SPORTS_INTERESTS = [
261
+ "tennis",
262
+ "pickleball",
263
+ "basketball",
264
+ "golf",
265
+ "hiking",
266
+ "running",
267
+ "gym",
268
+ "baseball",
269
+ "biking",
270
+ "yoga",
271
+ "tabletennis",
272
+ "football",
273
+ "soccer",
274
+ "badminton",
275
+ "skiing",
276
+ "surfing",
277
+ "swimming",
278
+ "hockey"
279
+ ];
280
+
281
+ // src/interest/interestByCategory/interest.ts
282
+ var INTERESTS_BY_CATEGORY = {
283
+ "1_sports": ALL_SPORTS_INTERESTS,
284
+ "2_pets": ALL_PETS_INTERESTS,
285
+ "3_cardgames": ALL_CARDGAMES_INTERESTS,
286
+ "4_music": ALL_MUSIC_INTERESTS
287
+ };
288
+
214
289
  // src/meta/common/label.ts
215
290
  var COMMON_ATTRIBUTE_LABEL = {
216
291
  handedness: "Handedness",
@@ -337,6 +412,11 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
337
412
  }
338
413
  // Annotate the CommonJS export names for ESM import in node:
339
414
  0 && (module.exports = {
415
+ ALL_CARDGAMES_INTERESTS,
416
+ ALL_INTEREST_CATEGORIES,
417
+ ALL_MUSIC_INTERESTS,
418
+ ALL_PETS_INTERESTS,
419
+ ALL_SPORTS_INTERESTS,
340
420
  AdminAccountStatus,
341
421
  AttachmentType,
342
422
  AttendanceStatus,
@@ -346,6 +426,7 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
346
426
  COMMON_ATTRIBUTE_LABEL,
347
427
  ChallengeStatus,
348
428
  FollowingStatus,
429
+ INTERESTS_BY_CATEGORY,
349
430
  PID_LENGTH,
350
431
  PID_PREFIX_LENGTH,
351
432
  ReactionType,
package/dist/index.mjs CHANGED
@@ -153,6 +153,75 @@ var BasketballPosition = /* @__PURE__ */ ((BasketballPosition2) => {
153
153
  return BasketballPosition2;
154
154
  })(BasketballPosition || {});
155
155
 
156
+ // src/interest/category.ts
157
+ var ALL_INTEREST_CATEGORIES = [
158
+ "1_sports",
159
+ "2_pets",
160
+ "3_cardgames",
161
+ "4_music"
162
+ ];
163
+
164
+ // src/interest/interestByCategory/cardgames.ts
165
+ var ALL_CARDGAMES_INTERESTS = [
166
+ "texasholdem",
167
+ "omaha",
168
+ "blackjack"
169
+ ];
170
+
171
+ // src/interest/interestByCategory/music.ts
172
+ var ALL_MUSIC_INTERESTS = [
173
+ "singing",
174
+ "guitar",
175
+ "piano",
176
+ "violin",
177
+ "cello",
178
+ "bass",
179
+ "drum",
180
+ "saxophone",
181
+ "flute",
182
+ "harp",
183
+ "keytar",
184
+ "trombone",
185
+ "tuba",
186
+ "clarita"
187
+ ];
188
+
189
+ // src/interest/interestByCategory/pets.ts
190
+ var ALL_PETS_INTERESTS = [
191
+ "dog",
192
+ "cat"
193
+ ];
194
+
195
+ // src/interest/interestByCategory/sports.ts
196
+ var ALL_SPORTS_INTERESTS = [
197
+ "tennis",
198
+ "pickleball",
199
+ "basketball",
200
+ "golf",
201
+ "hiking",
202
+ "running",
203
+ "gym",
204
+ "baseball",
205
+ "biking",
206
+ "yoga",
207
+ "tabletennis",
208
+ "football",
209
+ "soccer",
210
+ "badminton",
211
+ "skiing",
212
+ "surfing",
213
+ "swimming",
214
+ "hockey"
215
+ ];
216
+
217
+ // src/interest/interestByCategory/interest.ts
218
+ var INTERESTS_BY_CATEGORY = {
219
+ "1_sports": ALL_SPORTS_INTERESTS,
220
+ "2_pets": ALL_PETS_INTERESTS,
221
+ "3_cardgames": ALL_CARDGAMES_INTERESTS,
222
+ "4_music": ALL_MUSIC_INTERESTS
223
+ };
224
+
156
225
  // src/meta/common/label.ts
157
226
  var COMMON_ATTRIBUTE_LABEL = {
158
227
  handedness: "Handedness",
@@ -278,6 +347,11 @@ function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
278
347
  return `https://avatar.buddiesnearby.com/${folder}/${pageID}/${imageID}/${size}.webp`;
279
348
  }
280
349
  export {
350
+ ALL_CARDGAMES_INTERESTS,
351
+ ALL_INTEREST_CATEGORIES,
352
+ ALL_MUSIC_INTERESTS,
353
+ ALL_PETS_INTERESTS,
354
+ ALL_SPORTS_INTERESTS,
281
355
  AdminAccountStatus,
282
356
  AttachmentType,
283
357
  AttendanceStatus,
@@ -287,6 +361,7 @@ export {
287
361
  COMMON_ATTRIBUTE_LABEL,
288
362
  ChallengeStatus,
289
363
  FollowingStatus,
364
+ INTERESTS_BY_CATEGORY,
290
365
  PID_LENGTH,
291
366
  PID_PREFIX_LENGTH,
292
367
  ReactionType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.86.0",
3
+ "version": "1.87.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -2,12 +2,19 @@ export type CategoryType =
2
2
  | '1_sports'
3
3
  | '2_pets'
4
4
  | '3_cardgames'
5
- | 'boardgames'
6
- | 'music'
7
- | 'travel'
8
- | 'dancing'
9
- | 'language'
10
- | 'food'
11
- | 'drinks'
12
- | 'photography'
5
+ | '4_music'
6
+ // | 'travel'
7
+ // | 'boardgames'
8
+ // | 'dancing'
9
+ // | 'language'
10
+ // | 'food'
11
+ // | 'drinks'
12
+ // | 'photography'
13
13
  | '';
14
+
15
+ export const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[] = [
16
+ '1_sports',
17
+ '2_pets',
18
+ '3_cardgames',
19
+ '4_music',
20
+ ];
@@ -2,4 +2,10 @@ export type CardGamesInterestType =
2
2
  | 'texasholdem'
3
3
  | 'omaha'
4
4
  | 'blackjack'
5
- ;
5
+ ;
6
+
7
+ export const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[] = [
8
+ 'texasholdem',
9
+ 'omaha',
10
+ 'blackjack',
11
+ ];
@@ -1,11 +1,19 @@
1
- import { CardGamesInterestType } from './cardgames';
2
- import { MusicInterestType } from './music';
3
- import { PetsInterestType } from './pets';
4
- import { SportsInterestType } from './sports';
1
+ import { ALL_CARDGAMES_INTERESTS, CardGamesInterestType } from './cardgames';
2
+ import { ALL_MUSIC_INTERESTS, MusicInterestType } from './music';
3
+ import { ALL_PETS_INTERESTS, PetsInterestType } from './pets';
4
+ import { ALL_SPORTS_INTERESTS, SportsInterestType } from './sports';
5
+ import { CategoryType } from '../category';
5
6
 
6
- export type InterestType =
7
- SportsInterestType |
8
- PetsInterestType |
7
+ export type InterestType =
8
+ SportsInterestType |
9
+ PetsInterestType |
9
10
  MusicInterestType |
10
11
  CardGamesInterestType |
11
12
  '';
13
+
14
+ export const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]> = {
15
+ '1_sports': ALL_SPORTS_INTERESTS,
16
+ '2_pets': ALL_PETS_INTERESTS,
17
+ '3_cardgames': ALL_CARDGAMES_INTERESTS,
18
+ '4_music': ALL_MUSIC_INTERESTS,
19
+ };
@@ -1,4 +1,33 @@
1
1
  export type MusicInterestType =
2
- | 'guitar'
3
2
  | 'singing'
4
- ;
3
+ | 'guitar'
4
+ | 'piano'
5
+ | 'violin'
6
+ | 'cello'
7
+ | 'bass'
8
+ | 'drum'
9
+ | 'saxophone'
10
+ | 'flute'
11
+ | 'harp'
12
+ | 'keytar'
13
+ | 'trombone'
14
+ | 'tuba'
15
+ | 'clarita'
16
+ ;
17
+
18
+ export const ALL_MUSIC_INTERESTS: MusicInterestType[] = [
19
+ 'singing',
20
+ 'guitar',
21
+ 'piano',
22
+ 'violin',
23
+ 'cello',
24
+ 'bass',
25
+ 'drum',
26
+ 'saxophone',
27
+ 'flute',
28
+ 'harp',
29
+ 'keytar',
30
+ 'trombone',
31
+ 'tuba',
32
+ 'clarita',
33
+ ];
@@ -1,4 +1,9 @@
1
1
  export type PetsInterestType =
2
2
  | 'dog'
3
3
  | 'cat'
4
- ;
4
+ ;
5
+
6
+ export const ALL_PETS_INTERESTS: PetsInterestType[] = [
7
+ 'dog',
8
+ 'cat',
9
+ ];
@@ -17,4 +17,25 @@ export type SportsInterestType =
17
17
  | 'surfing'
18
18
  | 'swimming'
19
19
  | 'hockey'
20
- ;
20
+ ;
21
+
22
+ export const ALL_SPORTS_INTERESTS: SportsInterestType[] = [
23
+ 'tennis',
24
+ 'pickleball',
25
+ 'basketball',
26
+ 'golf',
27
+ 'hiking',
28
+ 'running',
29
+ 'gym',
30
+ 'baseball',
31
+ 'biking',
32
+ 'yoga',
33
+ 'tabletennis',
34
+ 'football',
35
+ 'soccer',
36
+ 'badminton',
37
+ 'skiing',
38
+ 'surfing',
39
+ 'swimming',
40
+ 'hockey',
41
+ ];