wenum 1.23.0 → 1.24.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
@@ -202,12 +202,11 @@ declare enum FollowingStatus {
202
202
  Unfollowed = 5
203
203
  }
204
204
 
205
- declare enum AttributeLabelCommon {
205
+ declare enum AttributeTypeCommon {
206
206
  Handedness = 0
207
207
  }
208
- declare const ATTRIBUTE_LABEL_COMMON: {
209
- 0: string;
210
- };
208
+
209
+ declare const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>>;
211
210
 
212
211
  declare enum Handedness {
213
212
  None = 0,
@@ -215,30 +214,63 @@ declare enum Handedness {
215
214
  Right = 2
216
215
  }
217
216
 
218
- declare enum AttributeLabelUoiSportsBasketball {
219
- Positions = 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 = ""
220
227
  }
221
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
222
- 0: string;
223
- };
224
228
 
225
- declare enum BasketballPosition {
226
- None = 0,
227
- SG = 1,
228
- PG = 2,
229
- C = 4,
230
- SF = 8,
231
- PF = 16
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"
239
+ }
240
+
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"
232
261
  }
233
262
 
234
- declare enum AttributeLabelUoiSportsTennis {
263
+ type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
264
+ declare const InterestNameNone: InterestName;
265
+
266
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>>;
267
+
268
+ declare enum AttributeTypeUoiSportsTennis {
235
269
  Level = 0,
236
270
  Bankhand = 1
237
271
  }
238
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
239
- 0: string;
240
- 1: string;
241
- };
272
+
273
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>>;
242
274
 
243
275
  declare enum TennisBackhand {
244
276
  None = 0,
@@ -259,29 +291,26 @@ declare enum TennisLevel {
259
291
  SixAbove = 9
260
292
  }
261
293
 
262
- declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
263
- tennis: {
264
- 0: string;
265
- 1: string;
266
- };
267
- basketball: {
268
- 0: string;
269
- };
270
- };
271
- type AttributeLabelUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
272
-
273
- declare const ATTRIBUTE_LABEL_UOI: {
274
- sports: {
275
- tennis: {
276
- 0: string;
277
- 1: string;
278
- };
279
- basketball: {
280
- 0: string;
281
- };
282
- };
283
- };
284
- type AttributeLabelUoi = AttributeLabelUoiSports;
294
+ declare enum AttributeTypeUoiSportsBasketball {
295
+ Positions = 0
296
+ }
297
+
298
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>>;
299
+
300
+ declare enum BasketballPosition {
301
+ None = 0,
302
+ SG = 1,
303
+ PG = 2,
304
+ C = 4,
305
+ SF = 8,
306
+ PF = 16
307
+ }
308
+
309
+ type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
310
+
311
+ declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
312
+
313
+ type AttributeTypeUoi = AttributeTypeUoiSports;
285
314
 
286
315
  declare enum PetGender {
287
316
  None = 0,
@@ -289,7 +318,7 @@ declare enum PetGender {
289
318
  Female = 2
290
319
  }
291
320
 
292
- declare enum AttributeLabelCollectionPets {
321
+ declare enum AttributeTypeCollectionPets {
293
322
  Breed = 0,
294
323
  Dob = 1,
295
324
  Father = 2,
@@ -299,28 +328,13 @@ declare enum AttributeLabelCollectionPets {
299
328
  Weight = 6
300
329
  }
301
330
 
302
- type AttributeLabelCollection = AttributeLabelCollectionPets;
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 AttributeLabelCollectionPets;
318
- };
319
- 0: {
320
- 0: string;
321
- };
322
- };
323
- type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
331
+ type AttributeTypeCollection = AttributeTypeCollectionPets;
332
+
333
+ declare const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>>;
334
+
335
+ declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
336
+
337
+ type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
324
338
 
325
339
  declare enum PageUpdateType {
326
340
  None = 0,
@@ -341,53 +355,4 @@ declare enum SubjectType {
341
355
  Reply = 4
342
356
  }
343
357
 
344
- declare enum CategoryName {
345
- Sports = "sports",
346
- Pets = "pets",
347
- Music = "music",
348
- Dancing = "dancing",
349
- Food = "food",
350
- Photography = "photography",
351
- Tourism = "tourism",
352
- Other = "other",
353
- None = ""
354
- }
355
-
356
- declare enum MusicInterestName {
357
- Guitar = "guitar",
358
- Singing = "singing",
359
- Other = "other"
360
- }
361
-
362
- declare enum PetsInterestName {
363
- Dog = "dog",
364
- Cat = "cat",
365
- Other = "other"
366
- }
367
-
368
- declare enum SportsInterestName {
369
- Tennis = "tennis",
370
- Pickleball = "pickleball",
371
- Basketball = "basketball",
372
- Golf = "golf",
373
- Hiking = "hiking",
374
- Running = "running",
375
- Gym = "gym",
376
- Baseball = "baseball",
377
- Biking = "biking",
378
- Yoga = "yoga",
379
- TableTennis = "tabletennis",
380
- Football = "football",
381
- Soccer = "soccer",
382
- Badminton = "badminton",
383
- Skiing = "skiing",
384
- Surfing = "surfing",
385
- Swimming = "swimming",
386
- Hockey = "hockey",
387
- Other = "other"
388
- }
389
-
390
- type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
391
- declare const InterestNameNone: InterestName;
392
-
393
- export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeLabel, AttributeLabelCollectionPets, AttributeLabelCommon, type AttributeLabelUoi, type AttributeLabelUoiSports, AttributeLabelUoiSportsBasketball, AttributeLabelUoiSportsTennis, 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 };
358
+ 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,12 +202,11 @@ declare enum FollowingStatus {
202
202
  Unfollowed = 5
203
203
  }
204
204
 
205
- declare enum AttributeLabelCommon {
205
+ declare enum AttributeTypeCommon {
206
206
  Handedness = 0
207
207
  }
208
- declare const ATTRIBUTE_LABEL_COMMON: {
209
- 0: string;
210
- };
208
+
209
+ declare const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>>;
211
210
 
212
211
  declare enum Handedness {
213
212
  None = 0,
@@ -215,30 +214,63 @@ declare enum Handedness {
215
214
  Right = 2
216
215
  }
217
216
 
218
- declare enum AttributeLabelUoiSportsBasketball {
219
- Positions = 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 = ""
220
227
  }
221
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
222
- 0: string;
223
- };
224
228
 
225
- declare enum BasketballPosition {
226
- None = 0,
227
- SG = 1,
228
- PG = 2,
229
- C = 4,
230
- SF = 8,
231
- PF = 16
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"
239
+ }
240
+
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"
232
261
  }
233
262
 
234
- declare enum AttributeLabelUoiSportsTennis {
263
+ type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
264
+ declare const InterestNameNone: InterestName;
265
+
266
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>>;
267
+
268
+ declare enum AttributeTypeUoiSportsTennis {
235
269
  Level = 0,
236
270
  Bankhand = 1
237
271
  }
238
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
239
- 0: string;
240
- 1: string;
241
- };
272
+
273
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>>;
242
274
 
243
275
  declare enum TennisBackhand {
244
276
  None = 0,
@@ -259,29 +291,26 @@ declare enum TennisLevel {
259
291
  SixAbove = 9
260
292
  }
261
293
 
262
- declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
263
- tennis: {
264
- 0: string;
265
- 1: string;
266
- };
267
- basketball: {
268
- 0: string;
269
- };
270
- };
271
- type AttributeLabelUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
272
-
273
- declare const ATTRIBUTE_LABEL_UOI: {
274
- sports: {
275
- tennis: {
276
- 0: string;
277
- 1: string;
278
- };
279
- basketball: {
280
- 0: string;
281
- };
282
- };
283
- };
284
- type AttributeLabelUoi = AttributeLabelUoiSports;
294
+ declare enum AttributeTypeUoiSportsBasketball {
295
+ Positions = 0
296
+ }
297
+
298
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>>;
299
+
300
+ declare enum BasketballPosition {
301
+ None = 0,
302
+ SG = 1,
303
+ PG = 2,
304
+ C = 4,
305
+ SF = 8,
306
+ PF = 16
307
+ }
308
+
309
+ type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
310
+
311
+ declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
312
+
313
+ type AttributeTypeUoi = AttributeTypeUoiSports;
285
314
 
286
315
  declare enum PetGender {
287
316
  None = 0,
@@ -289,7 +318,7 @@ declare enum PetGender {
289
318
  Female = 2
290
319
  }
291
320
 
292
- declare enum AttributeLabelCollectionPets {
321
+ declare enum AttributeTypeCollectionPets {
293
322
  Breed = 0,
294
323
  Dob = 1,
295
324
  Father = 2,
@@ -299,28 +328,13 @@ declare enum AttributeLabelCollectionPets {
299
328
  Weight = 6
300
329
  }
301
330
 
302
- type AttributeLabelCollection = AttributeLabelCollectionPets;
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 AttributeLabelCollectionPets;
318
- };
319
- 0: {
320
- 0: string;
321
- };
322
- };
323
- type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
331
+ type AttributeTypeCollection = AttributeTypeCollectionPets;
332
+
333
+ declare const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>>;
334
+
335
+ declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
336
+
337
+ type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
324
338
 
325
339
  declare enum PageUpdateType {
326
340
  None = 0,
@@ -341,53 +355,4 @@ declare enum SubjectType {
341
355
  Reply = 4
342
356
  }
343
357
 
344
- declare enum CategoryName {
345
- Sports = "sports",
346
- Pets = "pets",
347
- Music = "music",
348
- Dancing = "dancing",
349
- Food = "food",
350
- Photography = "photography",
351
- Tourism = "tourism",
352
- Other = "other",
353
- None = ""
354
- }
355
-
356
- declare enum MusicInterestName {
357
- Guitar = "guitar",
358
- Singing = "singing",
359
- Other = "other"
360
- }
361
-
362
- declare enum PetsInterestName {
363
- Dog = "dog",
364
- Cat = "cat",
365
- Other = "other"
366
- }
367
-
368
- declare enum SportsInterestName {
369
- Tennis = "tennis",
370
- Pickleball = "pickleball",
371
- Basketball = "basketball",
372
- Golf = "golf",
373
- Hiking = "hiking",
374
- Running = "running",
375
- Gym = "gym",
376
- Baseball = "baseball",
377
- Biking = "biking",
378
- Yoga = "yoga",
379
- TableTennis = "tabletennis",
380
- Football = "football",
381
- Soccer = "soccer",
382
- Badminton = "badminton",
383
- Skiing = "skiing",
384
- Surfing = "surfing",
385
- Swimming = "swimming",
386
- Hockey = "hockey",
387
- Other = "other"
388
- }
389
-
390
- type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
391
- declare const InterestNameNone: InterestName;
392
-
393
- export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeLabel, AttributeLabelCollectionPets, AttributeLabelCommon, type AttributeLabelUoi, type AttributeLabelUoiSports, AttributeLabelUoiSportsBasketball, AttributeLabelUoiSportsTennis, 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 };
358
+ 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
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  ATTRIBUTE_LABEL: () => ATTRIBUTE_LABEL,
24
+ ATTRIBUTE_LABEL_COLLECTION: () => ATTRIBUTE_LABEL_COLLECTION,
24
25
  ATTRIBUTE_LABEL_COMMON: () => ATTRIBUTE_LABEL_COMMON,
25
26
  ATTRIBUTE_LABEL_UOI: () => ATTRIBUTE_LABEL_UOI,
26
27
  ATTRIBUTE_LABEL_UOI_SPORTS: () => ATTRIBUTE_LABEL_UOI_SPORTS,
@@ -29,10 +30,8 @@ __export(index_exports, {
29
30
  AccountStatus: () => AccountStatus,
30
31
  AdminAccountStatus: () => AdminAccountStatus,
31
32
  AttendanceStatus: () => AttendanceStatus,
32
- AttributeLabelCollectionPets: () => AttributeLabelCollectionPets,
33
- AttributeLabelCommon: () => AttributeLabelCommon,
34
- AttributeLabelUoiSportsBasketball: () => AttributeLabelUoiSportsBasketball,
35
- AttributeLabelUoiSportsTennis: () => AttributeLabelUoiSportsTennis,
33
+ AttributeTypeCollectionPets: () => AttributeTypeCollectionPets,
34
+ AttributeTypeCommon: () => AttributeTypeCommon,
36
35
  BasketballPosition: () => BasketballPosition,
37
36
  BuddyingStatus: () => BuddyingStatus,
38
37
  CategoryName: () => CategoryName,
@@ -310,11 +309,13 @@ var FollowingStatus = /* @__PURE__ */ ((FollowingStatus2) => {
310
309
  return FollowingStatus2;
311
310
  })(FollowingStatus || {});
312
311
 
312
+ // src/attribute/common/type.ts
313
+ var AttributeTypeCommon = /* @__PURE__ */ ((AttributeTypeCommon2) => {
314
+ AttributeTypeCommon2[AttributeTypeCommon2["Handedness"] = 0] = "Handedness";
315
+ return AttributeTypeCommon2;
316
+ })(AttributeTypeCommon || {});
317
+
313
318
  // src/attribute/common/label.ts
314
- var AttributeLabelCommon = /* @__PURE__ */ ((AttributeLabelCommon3) => {
315
- AttributeLabelCommon3[AttributeLabelCommon3["Handedness"] = 0] = "Handedness";
316
- return AttributeLabelCommon3;
317
- })(AttributeLabelCommon || {});
318
319
  var ATTRIBUTE_LABEL_COMMON = {
319
320
  [0 /* Handedness */]: "Handedness"
320
321
  };
@@ -385,10 +386,6 @@ var MusicInterestName = /* @__PURE__ */ ((MusicInterestName2) => {
385
386
  })(MusicInterestName || {});
386
387
 
387
388
  // src/attribute/uoi/sports/basketball/label.ts
388
- var AttributeLabelUoiSportsBasketball = /* @__PURE__ */ ((AttributeLabelUoiSportsBasketball2) => {
389
- AttributeLabelUoiSportsBasketball2[AttributeLabelUoiSportsBasketball2["Positions"] = 0] = "Positions";
390
- return AttributeLabelUoiSportsBasketball2;
391
- })(AttributeLabelUoiSportsBasketball || {});
392
389
  var ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL = {
393
390
  [0 /* Positions */]: "Positions"
394
391
  };
@@ -405,11 +402,6 @@ var BasketballPosition = /* @__PURE__ */ ((BasketballPosition2) => {
405
402
  })(BasketballPosition || {});
406
403
 
407
404
  // src/attribute/uoi/sports/tennis/label.ts
408
- var AttributeLabelUoiSportsTennis = /* @__PURE__ */ ((AttributeLabelUoiSportsTennis2) => {
409
- AttributeLabelUoiSportsTennis2[AttributeLabelUoiSportsTennis2["Level"] = 0] = "Level";
410
- AttributeLabelUoiSportsTennis2[AttributeLabelUoiSportsTennis2["Bankhand"] = 1] = "Bankhand";
411
- return AttributeLabelUoiSportsTennis2;
412
- })(AttributeLabelUoiSportsTennis || {});
413
405
  var ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS = {
414
406
  [0 /* Level */]: "Level",
415
407
  [1 /* Bankhand */]: "Bankhand"
@@ -456,21 +448,21 @@ var PetGender = /* @__PURE__ */ ((PetGender2) => {
456
448
  return PetGender2;
457
449
  })(PetGender || {});
458
450
 
459
- // src/attribute/collection/pets/label.ts
460
- var AttributeLabelCollectionPets = /* @__PURE__ */ ((AttributeLabelCollectionPets2) => {
461
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Breed"] = 0] = "Breed";
462
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Dob"] = 1] = "Dob";
463
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Father"] = 2] = "Father";
464
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Mother"] = 3] = "Mother";
465
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Gender"] = 4] = "Gender";
466
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Height"] = 5] = "Height";
467
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Weight"] = 6] = "Weight";
468
- return AttributeLabelCollectionPets2;
469
- })(AttributeLabelCollectionPets || {});
451
+ // src/attribute/collection/pets/type.ts
452
+ var AttributeTypeCollectionPets = /* @__PURE__ */ ((AttributeTypeCollectionPets2) => {
453
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Breed"] = 0] = "Breed";
454
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Dob"] = 1] = "Dob";
455
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Father"] = 2] = "Father";
456
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Mother"] = 3] = "Mother";
457
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Gender"] = 4] = "Gender";
458
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Height"] = 5] = "Height";
459
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Weight"] = 6] = "Weight";
460
+ return AttributeTypeCollectionPets2;
461
+ })(AttributeTypeCollectionPets || {});
470
462
 
471
463
  // src/attribute/collection/label.ts
472
464
  var ATTRIBUTE_LABEL_COLLECTION = {
473
- ["pets" /* Pets */]: AttributeLabelCollectionPets
465
+ ["pets" /* Pets */]: AttributeTypeCollectionPets
474
466
  };
475
467
 
476
468
  // src/attribute/label.ts
@@ -506,6 +498,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
506
498
  // Annotate the CommonJS export names for ESM import in node:
507
499
  0 && (module.exports = {
508
500
  ATTRIBUTE_LABEL,
501
+ ATTRIBUTE_LABEL_COLLECTION,
509
502
  ATTRIBUTE_LABEL_COMMON,
510
503
  ATTRIBUTE_LABEL_UOI,
511
504
  ATTRIBUTE_LABEL_UOI_SPORTS,
@@ -514,10 +507,8 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
514
507
  AccountStatus,
515
508
  AdminAccountStatus,
516
509
  AttendanceStatus,
517
- AttributeLabelCollectionPets,
518
- AttributeLabelCommon,
519
- AttributeLabelUoiSportsBasketball,
520
- AttributeLabelUoiSportsTennis,
510
+ AttributeTypeCollectionPets,
511
+ AttributeTypeCommon,
521
512
  BasketballPosition,
522
513
  BuddyingStatus,
523
514
  CategoryName,
package/dist/index.mjs CHANGED
@@ -238,11 +238,13 @@ var FollowingStatus = /* @__PURE__ */ ((FollowingStatus2) => {
238
238
  return FollowingStatus2;
239
239
  })(FollowingStatus || {});
240
240
 
241
+ // src/attribute/common/type.ts
242
+ var AttributeTypeCommon = /* @__PURE__ */ ((AttributeTypeCommon2) => {
243
+ AttributeTypeCommon2[AttributeTypeCommon2["Handedness"] = 0] = "Handedness";
244
+ return AttributeTypeCommon2;
245
+ })(AttributeTypeCommon || {});
246
+
241
247
  // src/attribute/common/label.ts
242
- var AttributeLabelCommon = /* @__PURE__ */ ((AttributeLabelCommon3) => {
243
- AttributeLabelCommon3[AttributeLabelCommon3["Handedness"] = 0] = "Handedness";
244
- return AttributeLabelCommon3;
245
- })(AttributeLabelCommon || {});
246
248
  var ATTRIBUTE_LABEL_COMMON = {
247
249
  [0 /* Handedness */]: "Handedness"
248
250
  };
@@ -313,10 +315,6 @@ var MusicInterestName = /* @__PURE__ */ ((MusicInterestName2) => {
313
315
  })(MusicInterestName || {});
314
316
 
315
317
  // src/attribute/uoi/sports/basketball/label.ts
316
- var AttributeLabelUoiSportsBasketball = /* @__PURE__ */ ((AttributeLabelUoiSportsBasketball2) => {
317
- AttributeLabelUoiSportsBasketball2[AttributeLabelUoiSportsBasketball2["Positions"] = 0] = "Positions";
318
- return AttributeLabelUoiSportsBasketball2;
319
- })(AttributeLabelUoiSportsBasketball || {});
320
318
  var ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL = {
321
319
  [0 /* Positions */]: "Positions"
322
320
  };
@@ -333,11 +331,6 @@ var BasketballPosition = /* @__PURE__ */ ((BasketballPosition2) => {
333
331
  })(BasketballPosition || {});
334
332
 
335
333
  // src/attribute/uoi/sports/tennis/label.ts
336
- var AttributeLabelUoiSportsTennis = /* @__PURE__ */ ((AttributeLabelUoiSportsTennis2) => {
337
- AttributeLabelUoiSportsTennis2[AttributeLabelUoiSportsTennis2["Level"] = 0] = "Level";
338
- AttributeLabelUoiSportsTennis2[AttributeLabelUoiSportsTennis2["Bankhand"] = 1] = "Bankhand";
339
- return AttributeLabelUoiSportsTennis2;
340
- })(AttributeLabelUoiSportsTennis || {});
341
334
  var ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS = {
342
335
  [0 /* Level */]: "Level",
343
336
  [1 /* Bankhand */]: "Bankhand"
@@ -384,21 +377,21 @@ var PetGender = /* @__PURE__ */ ((PetGender2) => {
384
377
  return PetGender2;
385
378
  })(PetGender || {});
386
379
 
387
- // src/attribute/collection/pets/label.ts
388
- var AttributeLabelCollectionPets = /* @__PURE__ */ ((AttributeLabelCollectionPets2) => {
389
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Breed"] = 0] = "Breed";
390
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Dob"] = 1] = "Dob";
391
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Father"] = 2] = "Father";
392
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Mother"] = 3] = "Mother";
393
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Gender"] = 4] = "Gender";
394
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Height"] = 5] = "Height";
395
- AttributeLabelCollectionPets2[AttributeLabelCollectionPets2["Weight"] = 6] = "Weight";
396
- return AttributeLabelCollectionPets2;
397
- })(AttributeLabelCollectionPets || {});
380
+ // src/attribute/collection/pets/type.ts
381
+ var AttributeTypeCollectionPets = /* @__PURE__ */ ((AttributeTypeCollectionPets2) => {
382
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Breed"] = 0] = "Breed";
383
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Dob"] = 1] = "Dob";
384
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Father"] = 2] = "Father";
385
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Mother"] = 3] = "Mother";
386
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Gender"] = 4] = "Gender";
387
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Height"] = 5] = "Height";
388
+ AttributeTypeCollectionPets2[AttributeTypeCollectionPets2["Weight"] = 6] = "Weight";
389
+ return AttributeTypeCollectionPets2;
390
+ })(AttributeTypeCollectionPets || {});
398
391
 
399
392
  // src/attribute/collection/label.ts
400
393
  var ATTRIBUTE_LABEL_COLLECTION = {
401
- ["pets" /* Pets */]: AttributeLabelCollectionPets
394
+ ["pets" /* Pets */]: AttributeTypeCollectionPets
402
395
  };
403
396
 
404
397
  // src/attribute/label.ts
@@ -433,6 +426,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
433
426
  })(SubjectType || {});
434
427
  export {
435
428
  ATTRIBUTE_LABEL,
429
+ ATTRIBUTE_LABEL_COLLECTION,
436
430
  ATTRIBUTE_LABEL_COMMON,
437
431
  ATTRIBUTE_LABEL_UOI,
438
432
  ATTRIBUTE_LABEL_UOI_SPORTS,
@@ -441,10 +435,8 @@ export {
441
435
  AccountStatus,
442
436
  AdminAccountStatus,
443
437
  AttendanceStatus,
444
- AttributeLabelCollectionPets,
445
- AttributeLabelCommon,
446
- AttributeLabelUoiSportsBasketball,
447
- AttributeLabelUoiSportsTennis,
438
+ AttributeTypeCollectionPets,
439
+ AttributeTypeCommon,
448
440
  BasketballPosition,
449
441
  BuddyingStatus,
450
442
  CategoryName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.23.0",
3
+ "version": "1.24.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1,3 @@
1
- export * from './pets';
1
+ export * from './pets';
2
+ export * from './type';
3
+ export * from './label';
@@ -1,8 +1,6 @@
1
1
  import { CategoryName } from '../../interest';
2
- import { AttributeLabelCollectionPets } from './pets';
2
+ import { AttributeTypeCollectionPets } from './pets';
3
3
 
4
- export const ATTRIBUTE_LABEL_COLLECTION = {
5
- [CategoryName.Pets]: AttributeLabelCollectionPets,
4
+ export const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>> = {
5
+ [CategoryName.Pets]: AttributeTypeCollectionPets,
6
6
  };
7
-
8
- export type AttributeLabelCollection = AttributeLabelCollectionPets;
@@ -1,2 +1,2 @@
1
1
  export * from './pets';
2
- export * from './label';
2
+ export * from './type';
@@ -1,4 +1,4 @@
1
- export enum AttributeLabelCollectionPets {
1
+ export enum AttributeTypeCollectionPets {
2
2
  Breed,
3
3
  Dob,
4
4
  Father,
@@ -0,0 +1,3 @@
1
+ import { AttributeTypeCollectionPets } from './pets';
2
+
3
+ export type AttributeTypeCollection = AttributeTypeCollectionPets;
@@ -1,2 +1,3 @@
1
1
  export * from './label';
2
- export * from './common';
2
+ export * from './common';
3
+ export * from './type';
@@ -1,7 +1,5 @@
1
- export enum AttributeLabelCommon {
2
- Handedness,
3
- }
1
+ import { AttributeTypeCommon } from './type';
4
2
 
5
- export const ATTRIBUTE_LABEL_COMMON = {
6
- [AttributeLabelCommon.Handedness]: 'Handedness',
3
+ export const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>> = {
4
+ [AttributeTypeCommon.Handedness]: 'Handedness',
7
5
  };
@@ -0,0 +1,3 @@
1
+ export enum AttributeTypeCommon {
2
+ Handedness,
3
+ }
@@ -2,3 +2,4 @@ export * from './common';
2
2
  export * from './uoi';
3
3
  export * from './collection';
4
4
  export * from './label';
5
+ export * from './type';
@@ -1,16 +1,11 @@
1
1
 
2
2
  import { ProfileType } from '../page';
3
- import { ATTRIBUTE_LABEL_COLLECTION, AttributeLabelCollection } from './collection/label';
4
- import { ATTRIBUTE_LABEL_COMMON, AttributeLabelCommon } from './common';
5
- import { ATTRIBUTE_LABEL_UOI, AttributeLabelUoi } from './uoi';
3
+ import { ATTRIBUTE_LABEL_COLLECTION } from './collection';
4
+ import { ATTRIBUTE_LABEL_COMMON } from './common';
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,
11
11
  };
12
-
13
- export type AttributeLabel =
14
- | AttributeLabelUoi
15
- | AttributeLabelCollection
16
- | AttributeLabelCommon;
@@ -0,0 +1,9 @@
1
+
2
+ import { AttributeTypeCollection } from './collection';
3
+ import { AttributeTypeCommon } from './common';
4
+ import { AttributeTypeUoi } from './uoi';
5
+
6
+ export type AttributeType =
7
+ | AttributeTypeUoi
8
+ | AttributeTypeCollection
9
+ | AttributeTypeCommon;
@@ -1,2 +1,3 @@
1
1
  export * from './sports';
2
- export * from './label';
2
+ export * from './label';
3
+ export * from './type';
@@ -1,9 +1,6 @@
1
1
  import { CategoryName } from '../../interest';
2
- import { ATTRIBUTE_LABEL_UOI_SPORTS, AttributeLabelUoiSports } from './sports';
2
+ import { ATTRIBUTE_LABEL_UOI_SPORTS } from './sports';
3
3
 
4
-
5
- export const ATTRIBUTE_LABEL_UOI = {
4
+ export const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>> = {
6
5
  [CategoryName.Sports]: ATTRIBUTE_LABEL_UOI_SPORTS,
7
6
  };
8
-
9
- export type AttributeLabelUoi = AttributeLabelUoiSports;
@@ -1,8 +1,6 @@
1
- export enum AttributeLabelUoiSportsBasketball {
2
- Positions,
3
- }
1
+ import { AttributeTypeUoiSportsBasketball } from './type';
4
2
 
5
- export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL = {
6
- [AttributeLabelUoiSportsBasketball.Positions]: 'Positions',
3
+ export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>> = {
4
+ [AttributeTypeUoiSportsBasketball.Positions]: 'Positions',
7
5
  };
8
6
 
@@ -0,0 +1,5 @@
1
+ export enum AttributeTypeUoiSportsBasketball {
2
+ Positions,
3
+ }
4
+
5
+
@@ -1,3 +1,4 @@
1
1
  export * from './label';
2
2
  export * from './tennis';
3
3
  export * from './basketball';
4
+ export * from './type';
@@ -2,12 +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
-
6
- export const ATTRIBUTE_LABEL_UOI_SPORTS = {
5
+ export const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>> = {
7
6
  [SportsInterestName.Tennis]: ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS,
8
7
  [SportsInterestName.Basketball]: ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL,
9
8
  };
10
-
11
- export type AttributeLabelUoiSports =
12
- | typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS
13
- | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
@@ -1,8 +1,6 @@
1
- export enum AttributeLabelUoiSportsTennis {
2
- Level, Bankhand,
3
- }
1
+ import { AttributeTypeUoiSportsTennis } from './type';
4
2
 
5
- export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS = {
6
- [AttributeLabelUoiSportsTennis.Level]: 'Level',
7
- [AttributeLabelUoiSportsTennis.Bankhand]: 'Bankhand',
3
+ export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>> = {
4
+ [AttributeTypeUoiSportsTennis.Level]: 'Level',
5
+ [AttributeTypeUoiSportsTennis.Bankhand]: 'Bankhand',
8
6
  };
@@ -0,0 +1,3 @@
1
+ export enum AttributeTypeUoiSportsTennis {
2
+ Level, Bankhand,
3
+ }
@@ -0,0 +1,6 @@
1
+ import { ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL } from './basketball';
2
+ import { ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS } from './tennis';
3
+
4
+ export type AttributeTypeUoiSports =
5
+ | typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS
6
+ | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
@@ -0,0 +1,3 @@
1
+ import { AttributeTypeUoiSports } from './sports';
2
+
3
+ export type AttributeTypeUoi = AttributeTypeUoiSports;