wenum 1.24.0 → 1.24.2

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
@@ -202,9 +202,11 @@ declare enum FollowingStatus {
202
202
  Unfollowed = 5
203
203
  }
204
204
 
205
- declare const ATTRIBUTE_LABEL_COMMON: {
206
- 0: string;
207
- };
205
+ declare enum AttributeTypeCommon {
206
+ Handedness = 0
207
+ }
208
+
209
+ declare const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>>;
208
210
 
209
211
  declare enum Handedness {
210
212
  None = 0,
@@ -212,24 +214,63 @@ declare enum Handedness {
212
214
  Right = 2
213
215
  }
214
216
 
215
- declare enum AttributeTypeCommon {
216
- Handedness = 0
217
+ declare enum CategoryName {
218
+ Sports = "sports",
219
+ Pets = "pets",
220
+ Music = "music",
221
+ Dancing = "dancing",
222
+ Food = "food",
223
+ Photography = "photography",
224
+ Tourism = "tourism",
225
+ Other = "other",
226
+ None = ""
227
+ }
228
+
229
+ declare enum MusicInterestName {
230
+ Guitar = "guitar",
231
+ Singing = "singing",
232
+ Other = "other"
233
+ }
234
+
235
+ declare enum PetsInterestName {
236
+ Dog = "dog",
237
+ Cat = "cat",
238
+ Other = "other"
217
239
  }
218
240
 
219
- declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
220
- tennis: {
221
- 0: string;
222
- 1: string;
223
- };
224
- basketball: {
225
- 0: string;
226
- };
227
- };
241
+ declare enum SportsInterestName {
242
+ Tennis = "tennis",
243
+ Pickleball = "pickleball",
244
+ Basketball = "basketball",
245
+ Golf = "golf",
246
+ Hiking = "hiking",
247
+ Running = "running",
248
+ Gym = "gym",
249
+ Baseball = "baseball",
250
+ Biking = "biking",
251
+ Yoga = "yoga",
252
+ TableTennis = "tabletennis",
253
+ Football = "football",
254
+ Soccer = "soccer",
255
+ Badminton = "badminton",
256
+ Skiing = "skiing",
257
+ Surfing = "surfing",
258
+ Swimming = "swimming",
259
+ Hockey = "hockey",
260
+ Other = "other"
261
+ }
262
+
263
+ type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
264
+ declare const InterestNameNone: InterestName;
265
+
266
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>>;
228
267
 
229
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
230
- 0: string;
231
- 1: string;
232
- };
268
+ declare enum AttributeTypeUoiSportsTennis {
269
+ Level = 0,
270
+ Bankhand = 1
271
+ }
272
+
273
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>>;
233
274
 
234
275
  declare enum TennisBackhand {
235
276
  None = 0,
@@ -250,9 +291,11 @@ declare enum TennisLevel {
250
291
  SixAbove = 9
251
292
  }
252
293
 
253
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
254
- 0: string;
255
- };
294
+ declare enum AttributeTypeUoiSportsBasketball {
295
+ Positions = 0
296
+ }
297
+
298
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>>;
256
299
 
257
300
  declare enum BasketballPosition {
258
301
  None = 0,
@@ -265,17 +308,7 @@ declare enum BasketballPosition {
265
308
 
266
309
  type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
267
310
 
268
- declare const ATTRIBUTE_LABEL_UOI: {
269
- sports: {
270
- tennis: {
271
- 0: string;
272
- 1: string;
273
- };
274
- basketball: {
275
- 0: string;
276
- };
277
- };
278
- };
311
+ declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
279
312
 
280
313
  type AttributeTypeUoi = AttributeTypeUoiSports;
281
314
 
@@ -292,34 +325,15 @@ declare enum AttributeTypeCollectionPets {
292
325
  Mother = 3,
293
326
  Gender = 4,
294
327
  Height = 5,
295
- Weight = 6
328
+ Weight = 6,
329
+ Children = 7
296
330
  }
297
331
 
298
332
  type AttributeTypeCollection = AttributeTypeCollectionPets;
299
333
 
300
- declare const ATTRIBUTE_LABEL_COLLECTION: {
301
- pets: typeof AttributeTypeCollectionPets;
302
- };
303
-
304
- declare const ATTRIBUTE_LABEL: {
305
- 2: {
306
- sports: {
307
- tennis: {
308
- 0: string;
309
- 1: string;
310
- };
311
- basketball: {
312
- 0: string;
313
- };
314
- };
315
- };
316
- 5: {
317
- pets: typeof AttributeTypeCollectionPets;
318
- };
319
- 0: {
320
- 0: string;
321
- };
322
- };
334
+ declare const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>>;
335
+
336
+ declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
323
337
 
324
338
  type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
325
339
 
@@ -342,53 +356,4 @@ declare enum SubjectType {
342
356
  Reply = 4
343
357
  }
344
358
 
345
- declare enum CategoryName {
346
- Sports = "sports",
347
- Pets = "pets",
348
- Music = "music",
349
- Dancing = "dancing",
350
- Food = "food",
351
- Photography = "photography",
352
- Tourism = "tourism",
353
- Other = "other",
354
- None = ""
355
- }
356
-
357
- declare enum MusicInterestName {
358
- Guitar = "guitar",
359
- Singing = "singing",
360
- Other = "other"
361
- }
362
-
363
- declare enum PetsInterestName {
364
- Dog = "dog",
365
- Cat = "cat",
366
- Other = "other"
367
- }
368
-
369
- declare enum SportsInterestName {
370
- Tennis = "tennis",
371
- Pickleball = "pickleball",
372
- Basketball = "basketball",
373
- Golf = "golf",
374
- Hiking = "hiking",
375
- Running = "running",
376
- Gym = "gym",
377
- Baseball = "baseball",
378
- Biking = "biking",
379
- Yoga = "yoga",
380
- TableTennis = "tabletennis",
381
- Football = "football",
382
- Soccer = "soccer",
383
- Badminton = "badminton",
384
- Skiing = "skiing",
385
- Surfing = "surfing",
386
- Swimming = "swimming",
387
- Hockey = "hockey",
388
- Other = "other"
389
- }
390
-
391
- type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
392
- declare const InterestNameNone: InterestName;
393
-
394
359
  export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, AttributeTypeCollectionPets, AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, FollowingStatus, GameType, Handedness, type InterestName, InterestNameNone, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, MusicInterestName, PageType, PageUpdateType, PetGender, PetsInterestName, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.d.ts CHANGED
@@ -202,9 +202,11 @@ declare enum FollowingStatus {
202
202
  Unfollowed = 5
203
203
  }
204
204
 
205
- declare const ATTRIBUTE_LABEL_COMMON: {
206
- 0: string;
207
- };
205
+ declare enum AttributeTypeCommon {
206
+ Handedness = 0
207
+ }
208
+
209
+ declare const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>>;
208
210
 
209
211
  declare enum Handedness {
210
212
  None = 0,
@@ -212,24 +214,63 @@ declare enum Handedness {
212
214
  Right = 2
213
215
  }
214
216
 
215
- declare enum AttributeTypeCommon {
216
- Handedness = 0
217
+ declare enum CategoryName {
218
+ Sports = "sports",
219
+ Pets = "pets",
220
+ Music = "music",
221
+ Dancing = "dancing",
222
+ Food = "food",
223
+ Photography = "photography",
224
+ Tourism = "tourism",
225
+ Other = "other",
226
+ None = ""
227
+ }
228
+
229
+ declare enum MusicInterestName {
230
+ Guitar = "guitar",
231
+ Singing = "singing",
232
+ Other = "other"
233
+ }
234
+
235
+ declare enum PetsInterestName {
236
+ Dog = "dog",
237
+ Cat = "cat",
238
+ Other = "other"
217
239
  }
218
240
 
219
- declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
220
- tennis: {
221
- 0: string;
222
- 1: string;
223
- };
224
- basketball: {
225
- 0: string;
226
- };
227
- };
241
+ declare enum SportsInterestName {
242
+ Tennis = "tennis",
243
+ Pickleball = "pickleball",
244
+ Basketball = "basketball",
245
+ Golf = "golf",
246
+ Hiking = "hiking",
247
+ Running = "running",
248
+ Gym = "gym",
249
+ Baseball = "baseball",
250
+ Biking = "biking",
251
+ Yoga = "yoga",
252
+ TableTennis = "tabletennis",
253
+ Football = "football",
254
+ Soccer = "soccer",
255
+ Badminton = "badminton",
256
+ Skiing = "skiing",
257
+ Surfing = "surfing",
258
+ Swimming = "swimming",
259
+ Hockey = "hockey",
260
+ Other = "other"
261
+ }
262
+
263
+ type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
264
+ declare const InterestNameNone: InterestName;
265
+
266
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>>;
228
267
 
229
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
230
- 0: string;
231
- 1: string;
232
- };
268
+ declare enum AttributeTypeUoiSportsTennis {
269
+ Level = 0,
270
+ Bankhand = 1
271
+ }
272
+
273
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>>;
233
274
 
234
275
  declare enum TennisBackhand {
235
276
  None = 0,
@@ -250,9 +291,11 @@ declare enum TennisLevel {
250
291
  SixAbove = 9
251
292
  }
252
293
 
253
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
254
- 0: string;
255
- };
294
+ declare enum AttributeTypeUoiSportsBasketball {
295
+ Positions = 0
296
+ }
297
+
298
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>>;
256
299
 
257
300
  declare enum BasketballPosition {
258
301
  None = 0,
@@ -265,17 +308,7 @@ declare enum BasketballPosition {
265
308
 
266
309
  type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
267
310
 
268
- declare const ATTRIBUTE_LABEL_UOI: {
269
- sports: {
270
- tennis: {
271
- 0: string;
272
- 1: string;
273
- };
274
- basketball: {
275
- 0: string;
276
- };
277
- };
278
- };
311
+ declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
279
312
 
280
313
  type AttributeTypeUoi = AttributeTypeUoiSports;
281
314
 
@@ -292,34 +325,15 @@ declare enum AttributeTypeCollectionPets {
292
325
  Mother = 3,
293
326
  Gender = 4,
294
327
  Height = 5,
295
- Weight = 6
328
+ Weight = 6,
329
+ Children = 7
296
330
  }
297
331
 
298
332
  type AttributeTypeCollection = AttributeTypeCollectionPets;
299
333
 
300
- declare const ATTRIBUTE_LABEL_COLLECTION: {
301
- pets: typeof AttributeTypeCollectionPets;
302
- };
303
-
304
- declare const ATTRIBUTE_LABEL: {
305
- 2: {
306
- sports: {
307
- tennis: {
308
- 0: string;
309
- 1: string;
310
- };
311
- basketball: {
312
- 0: string;
313
- };
314
- };
315
- };
316
- 5: {
317
- pets: typeof AttributeTypeCollectionPets;
318
- };
319
- 0: {
320
- 0: string;
321
- };
322
- };
334
+ declare const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>>;
335
+
336
+ declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
323
337
 
324
338
  type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
325
339
 
@@ -342,53 +356,4 @@ declare enum SubjectType {
342
356
  Reply = 4
343
357
  }
344
358
 
345
- declare enum CategoryName {
346
- Sports = "sports",
347
- Pets = "pets",
348
- Music = "music",
349
- Dancing = "dancing",
350
- Food = "food",
351
- Photography = "photography",
352
- Tourism = "tourism",
353
- Other = "other",
354
- None = ""
355
- }
356
-
357
- declare enum MusicInterestName {
358
- Guitar = "guitar",
359
- Singing = "singing",
360
- Other = "other"
361
- }
362
-
363
- declare enum PetsInterestName {
364
- Dog = "dog",
365
- Cat = "cat",
366
- Other = "other"
367
- }
368
-
369
- declare enum SportsInterestName {
370
- Tennis = "tennis",
371
- Pickleball = "pickleball",
372
- Basketball = "basketball",
373
- Golf = "golf",
374
- Hiking = "hiking",
375
- Running = "running",
376
- Gym = "gym",
377
- Baseball = "baseball",
378
- Biking = "biking",
379
- Yoga = "yoga",
380
- TableTennis = "tabletennis",
381
- Football = "football",
382
- Soccer = "soccer",
383
- Badminton = "badminton",
384
- Skiing = "skiing",
385
- Surfing = "surfing",
386
- Swimming = "swimming",
387
- Hockey = "hockey",
388
- Other = "other"
389
- }
390
-
391
- type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
392
- declare const InterestNameNone: InterestName;
393
-
394
359
  export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, AttributeTypeCollectionPets, AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, BasketballPosition, BuddyingStatus, CategoryName, ChallengeStatus, CollectionMetaStatus, CollectionType, ConnectionType, DuelGameResultType, FollowingStatus, GameType, Handedness, type InterestName, InterestNameNone, LeaderboardOrder, LeaderboardType, LocationType, MarketMetaStatus, MarketType, MemberingStatus, MusicInterestName, PageType, PageUpdateType, PetGender, PetsInterestName, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SportsInterestName, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.js CHANGED
@@ -457,6 +457,7 @@ var AttributeTypeCollectionPets = /* @__PURE__ */ ((AttributeTypeCollectionPets2
457
457
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Gender"] = 4] = "Gender";
458
458
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Height"] = 5] = "Height";
459
459
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Weight"] = 6] = "Weight";
460
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Children"] = 7] = "Children";
460
461
  return AttributeTypeCollectionPets2;
461
462
  })(AttributeTypeCollectionPets || {});
462
463
 
package/dist/index.mjs CHANGED
@@ -386,6 +386,7 @@ var AttributeTypeCollectionPets = /* @__PURE__ */ ((AttributeTypeCollectionPets2
386
386
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Gender"] = 4] = "Gender";
387
387
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Height"] = 5] = "Height";
388
388
  AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Weight"] = 6] = "Weight";
389
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Children"] = 7] = "Children";
389
390
  return AttributeTypeCollectionPets2;
390
391
  })(AttributeTypeCollectionPets || {});
391
392
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.24.0",
3
+ "version": "1.24.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  import { CategoryName } from '../../interest';
2
2
  import { AttributeTypeCollectionPets } from './pets';
3
3
 
4
- export const ATTRIBUTE_LABEL_COLLECTION = {
4
+ export const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>> = {
5
5
  [CategoryName.Pets]: AttributeTypeCollectionPets,
6
6
  };
@@ -6,4 +6,5 @@ export enum AttributeTypeCollectionPets {
6
6
  Gender,
7
7
  Height,
8
8
  Weight,
9
+ Children,
9
10
  }
@@ -1,5 +1,5 @@
1
1
  import { AttributeTypeCommon } from './type';
2
2
 
3
- export const ATTRIBUTE_LABEL_COMMON = {
3
+ export const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>> = {
4
4
  [AttributeTypeCommon.Handedness]: 'Handedness',
5
5
  };
@@ -4,7 +4,7 @@ import { ATTRIBUTE_LABEL_COLLECTION } from './collection';
4
4
  import { ATTRIBUTE_LABEL_COMMON } from './common';
5
5
  import { ATTRIBUTE_LABEL_UOI } from './uoi';
6
6
 
7
- export const ATTRIBUTE_LABEL = {
7
+ export const ATTRIBUTE_LABEL:Partial<Record<ProfileType, any>> = {
8
8
  [ProfileType.Uoi]: ATTRIBUTE_LABEL_UOI,
9
9
  [ProfileType.Collection]: ATTRIBUTE_LABEL_COLLECTION,
10
10
  [ProfileType.None]: ATTRIBUTE_LABEL_COMMON,
@@ -1,6 +1,6 @@
1
1
  import { CategoryName } from '../../interest';
2
2
  import { ATTRIBUTE_LABEL_UOI_SPORTS } from './sports';
3
3
 
4
- export const ATTRIBUTE_LABEL_UOI = {
4
+ export const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>> = {
5
5
  [CategoryName.Sports]: ATTRIBUTE_LABEL_UOI_SPORTS,
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { AttributeTypeUoiSportsBasketball } from './type';
2
2
 
3
- export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL = {
3
+ export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>> = {
4
4
  [AttributeTypeUoiSportsBasketball.Positions]: 'Positions',
5
5
  };
6
6
 
@@ -2,7 +2,7 @@ import { SportsInterestName } from '../../../interest';
2
2
  import { ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL } from './basketball';
3
3
  import { ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS } from './tennis';
4
4
 
5
- export const ATTRIBUTE_LABEL_UOI_SPORTS = {
5
+ export const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>> = {
6
6
  [SportsInterestName.Tennis]: ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS,
7
7
  [SportsInterestName.Basketball]: ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL,
8
8
  };
@@ -1,6 +1,6 @@
1
1
  import { AttributeTypeUoiSportsTennis } from './type';
2
2
 
3
- export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS = {
3
+ export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>> = {
4
4
  [AttributeTypeUoiSportsTennis.Level]: 'Level',
5
5
  [AttributeTypeUoiSportsTennis.Bankhand]: 'Bankhand',
6
6
  };