wenum 1.87.1 → 1.88.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 +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +31 -2
- package/dist/index.mjs +31 -2
- package/package.json +1 -1
- package/src/interest/category.ts +2 -3
- 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,9 @@ 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
|
+
|
|
198
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | '';
|
|
197
199
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
198
200
|
|
|
199
201
|
type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
|
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,9 @@ 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
|
+
|
|
198
|
+
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | '';
|
|
197
199
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
198
200
|
|
|
199
201
|
type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
|
package/dist/index.js
CHANGED
|
@@ -222,7 +222,8 @@ var ALL_INTEREST_CATEGORIES = [
|
|
|
222
222
|
"1_sports",
|
|
223
223
|
"2_pets",
|
|
224
224
|
"3_cardgames",
|
|
225
|
-
"4_music"
|
|
225
|
+
"4_music",
|
|
226
|
+
"5_travel"
|
|
226
227
|
];
|
|
227
228
|
|
|
228
229
|
// src/interest/interestByCategory/cardgames.ts
|
|
@@ -278,12 +279,40 @@ var ALL_SPORTS_INTERESTS = [
|
|
|
278
279
|
"hockey"
|
|
279
280
|
];
|
|
280
281
|
|
|
282
|
+
// src/interest/interestByCategory/travel.ts
|
|
283
|
+
var ALL_TRAVEL_INTERESTS = [
|
|
284
|
+
"landmark",
|
|
285
|
+
"nationalpark",
|
|
286
|
+
"beach",
|
|
287
|
+
"museum",
|
|
288
|
+
"garden",
|
|
289
|
+
"zoo",
|
|
290
|
+
"food",
|
|
291
|
+
"drinks",
|
|
292
|
+
"entertainment",
|
|
293
|
+
"cruise",
|
|
294
|
+
"culture",
|
|
295
|
+
"heritage",
|
|
296
|
+
"island",
|
|
297
|
+
"lake",
|
|
298
|
+
"river",
|
|
299
|
+
"waterfall",
|
|
300
|
+
"cave",
|
|
301
|
+
"desert",
|
|
302
|
+
"mountain",
|
|
303
|
+
"forest",
|
|
304
|
+
"wellness",
|
|
305
|
+
"wildlife",
|
|
306
|
+
"technology"
|
|
307
|
+
];
|
|
308
|
+
|
|
281
309
|
// src/interest/interestByCategory/interest.ts
|
|
282
310
|
var INTERESTS_BY_CATEGORY = {
|
|
283
311
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
284
312
|
"2_pets": ALL_PETS_INTERESTS,
|
|
285
313
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
286
|
-
"4_music": ALL_MUSIC_INTERESTS
|
|
314
|
+
"4_music": ALL_MUSIC_INTERESTS,
|
|
315
|
+
"5_travel": ALL_TRAVEL_INTERESTS
|
|
287
316
|
};
|
|
288
317
|
|
|
289
318
|
// src/meta/common/label.ts
|
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
|
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
|
+
];
|