wenum 1.87.0 → 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 +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +44 -3
- package/dist/index.mjs +44 -3
- package/package.json +1 -1
- package/src/interest/category.ts +2 -3
- package/src/interest/interestByCategory/interest.ts +3 -0
- package/src/interest/interestByCategory/music.ts +26 -2
- package/src/interest/interestByCategory/travel.ts +51 -0
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' | '';
|
|
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';
|
|
185
185
|
declare const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[];
|
|
186
186
|
|
|
187
|
-
type MusicInterestType = 'guitar' | '
|
|
187
|
+
type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | 'clarita';
|
|
188
188
|
declare const ALL_MUSIC_INTERESTS: MusicInterestType[];
|
|
189
189
|
|
|
190
190
|
type PetsInterestType = 'dog' | 'cat';
|
|
@@ -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,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' | '';
|
|
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';
|
|
185
185
|
declare const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[];
|
|
186
186
|
|
|
187
|
-
type MusicInterestType = 'guitar' | '
|
|
187
|
+
type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | 'clarita';
|
|
188
188
|
declare const ALL_MUSIC_INTERESTS: MusicInterestType[];
|
|
189
189
|
|
|
190
190
|
type PetsInterestType = 'dog' | 'cat';
|
|
@@ -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
|
|
@@ -234,8 +235,20 @@ var ALL_CARDGAMES_INTERESTS = [
|
|
|
234
235
|
|
|
235
236
|
// src/interest/interestByCategory/music.ts
|
|
236
237
|
var ALL_MUSIC_INTERESTS = [
|
|
238
|
+
"singing",
|
|
237
239
|
"guitar",
|
|
238
|
-
"
|
|
240
|
+
"piano",
|
|
241
|
+
"violin",
|
|
242
|
+
"cello",
|
|
243
|
+
"bass",
|
|
244
|
+
"drum",
|
|
245
|
+
"saxophone",
|
|
246
|
+
"flute",
|
|
247
|
+
"harp",
|
|
248
|
+
"keytar",
|
|
249
|
+
"trombone",
|
|
250
|
+
"tuba",
|
|
251
|
+
"clarita"
|
|
239
252
|
];
|
|
240
253
|
|
|
241
254
|
// src/interest/interestByCategory/pets.ts
|
|
@@ -266,12 +279,40 @@ var ALL_SPORTS_INTERESTS = [
|
|
|
266
279
|
"hockey"
|
|
267
280
|
];
|
|
268
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
|
+
|
|
269
309
|
// src/interest/interestByCategory/interest.ts
|
|
270
310
|
var INTERESTS_BY_CATEGORY = {
|
|
271
311
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
272
312
|
"2_pets": ALL_PETS_INTERESTS,
|
|
273
313
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
274
|
-
"4_music": ALL_MUSIC_INTERESTS
|
|
314
|
+
"4_music": ALL_MUSIC_INTERESTS,
|
|
315
|
+
"5_travel": ALL_TRAVEL_INTERESTS
|
|
275
316
|
};
|
|
276
317
|
|
|
277
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
|
|
@@ -170,8 +171,20 @@ var ALL_CARDGAMES_INTERESTS = [
|
|
|
170
171
|
|
|
171
172
|
// src/interest/interestByCategory/music.ts
|
|
172
173
|
var ALL_MUSIC_INTERESTS = [
|
|
174
|
+
"singing",
|
|
173
175
|
"guitar",
|
|
174
|
-
"
|
|
176
|
+
"piano",
|
|
177
|
+
"violin",
|
|
178
|
+
"cello",
|
|
179
|
+
"bass",
|
|
180
|
+
"drum",
|
|
181
|
+
"saxophone",
|
|
182
|
+
"flute",
|
|
183
|
+
"harp",
|
|
184
|
+
"keytar",
|
|
185
|
+
"trombone",
|
|
186
|
+
"tuba",
|
|
187
|
+
"clarita"
|
|
175
188
|
];
|
|
176
189
|
|
|
177
190
|
// src/interest/interestByCategory/pets.ts
|
|
@@ -202,12 +215,40 @@ var ALL_SPORTS_INTERESTS = [
|
|
|
202
215
|
"hockey"
|
|
203
216
|
];
|
|
204
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
|
+
|
|
205
245
|
// src/interest/interestByCategory/interest.ts
|
|
206
246
|
var INTERESTS_BY_CATEGORY = {
|
|
207
247
|
"1_sports": ALL_SPORTS_INTERESTS,
|
|
208
248
|
"2_pets": ALL_PETS_INTERESTS,
|
|
209
249
|
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
210
|
-
"4_music": ALL_MUSIC_INTERESTS
|
|
250
|
+
"4_music": ALL_MUSIC_INTERESTS,
|
|
251
|
+
"5_travel": ALL_TRAVEL_INTERESTS
|
|
211
252
|
};
|
|
212
253
|
|
|
213
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
|
};
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
export type MusicInterestType =
|
|
2
|
-
| 'guitar'
|
|
3
2
|
| 'singing'
|
|
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'
|
|
4
16
|
;
|
|
5
17
|
|
|
6
18
|
export const ALL_MUSIC_INTERESTS: MusicInterestType[] = [
|
|
7
|
-
'guitar',
|
|
8
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',
|
|
9
33
|
];
|
|
@@ -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
|
+
];
|