wenum 1.22.1 → 1.24.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 CHANGED
@@ -202,9 +202,6 @@ declare enum FollowingStatus {
202
202
  Unfollowed = 5
203
203
  }
204
204
 
205
- declare enum AttributeLabelCommon {
206
- Handedness = 0
207
- }
208
205
  declare const ATTRIBUTE_LABEL_COMMON: {
209
206
  0: string;
210
207
  };
@@ -215,6 +212,10 @@ declare enum Handedness {
215
212
  Right = 2
216
213
  }
217
214
 
215
+ declare enum AttributeTypeCommon {
216
+ Handedness = 0
217
+ }
218
+
218
219
  declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
219
220
  tennis: {
220
221
  0: string;
@@ -225,10 +226,6 @@ declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
225
226
  };
226
227
  };
227
228
 
228
- declare enum AttributeLabelUoiSportsTennis {
229
- Level = 0,
230
- Bankhand = 1
231
- }
232
229
  declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
233
230
  0: string;
234
231
  1: string;
@@ -253,9 +250,6 @@ declare enum TennisLevel {
253
250
  SixAbove = 9
254
251
  }
255
252
 
256
- declare enum AttributeLabelUoiSportsBasketball {
257
- Positions = 0
258
- }
259
253
  declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
260
254
  0: string;
261
255
  };
@@ -269,6 +263,8 @@ declare enum BasketballPosition {
269
263
  PF = 16
270
264
  }
271
265
 
266
+ type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
267
+
272
268
  declare const ATTRIBUTE_LABEL_UOI: {
273
269
  sports: {
274
270
  tennis: {
@@ -281,13 +277,15 @@ declare const ATTRIBUTE_LABEL_UOI: {
281
277
  };
282
278
  };
283
279
 
280
+ type AttributeTypeUoi = AttributeTypeUoiSports;
281
+
284
282
  declare enum PetGender {
285
283
  None = 0,
286
284
  Male = 1,
287
285
  Female = 2
288
286
  }
289
287
 
290
- declare enum AttributeLabelCollectionPets {
288
+ declare enum AttributeTypeCollectionPets {
291
289
  Breed = 0,
292
290
  Dob = 1,
293
291
  Father = 2,
@@ -297,6 +295,12 @@ declare enum AttributeLabelCollectionPets {
297
295
  Weight = 6
298
296
  }
299
297
 
298
+ type AttributeTypeCollection = AttributeTypeCollectionPets;
299
+
300
+ declare const ATTRIBUTE_LABEL_COLLECTION: {
301
+ pets: typeof AttributeTypeCollectionPets;
302
+ };
303
+
300
304
  declare const ATTRIBUTE_LABEL: {
301
305
  2: {
302
306
  sports: {
@@ -310,13 +314,15 @@ declare const ATTRIBUTE_LABEL: {
310
314
  };
311
315
  };
312
316
  5: {
313
- pets: typeof AttributeLabelCollectionPets;
317
+ pets: typeof AttributeTypeCollectionPets;
314
318
  };
315
319
  0: {
316
320
  0: string;
317
321
  };
318
322
  };
319
323
 
324
+ type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
325
+
320
326
  declare enum PageUpdateType {
321
327
  None = 0,
322
328
  CreatePost = 1,
@@ -385,4 +391,4 @@ declare enum SportsInterestName {
385
391
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
386
392
  declare const InterestNameNone: InterestName;
387
393
 
388
- 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, AttributeLabelCollectionPets, AttributeLabelCommon, 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 };
394
+ 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,6 @@ declare enum FollowingStatus {
202
202
  Unfollowed = 5
203
203
  }
204
204
 
205
- declare enum AttributeLabelCommon {
206
- Handedness = 0
207
- }
208
205
  declare const ATTRIBUTE_LABEL_COMMON: {
209
206
  0: string;
210
207
  };
@@ -215,6 +212,10 @@ declare enum Handedness {
215
212
  Right = 2
216
213
  }
217
214
 
215
+ declare enum AttributeTypeCommon {
216
+ Handedness = 0
217
+ }
218
+
218
219
  declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
219
220
  tennis: {
220
221
  0: string;
@@ -225,10 +226,6 @@ declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
225
226
  };
226
227
  };
227
228
 
228
- declare enum AttributeLabelUoiSportsTennis {
229
- Level = 0,
230
- Bankhand = 1
231
- }
232
229
  declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
233
230
  0: string;
234
231
  1: string;
@@ -253,9 +250,6 @@ declare enum TennisLevel {
253
250
  SixAbove = 9
254
251
  }
255
252
 
256
- declare enum AttributeLabelUoiSportsBasketball {
257
- Positions = 0
258
- }
259
253
  declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
260
254
  0: string;
261
255
  };
@@ -269,6 +263,8 @@ declare enum BasketballPosition {
269
263
  PF = 16
270
264
  }
271
265
 
266
+ type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
267
+
272
268
  declare const ATTRIBUTE_LABEL_UOI: {
273
269
  sports: {
274
270
  tennis: {
@@ -281,13 +277,15 @@ declare const ATTRIBUTE_LABEL_UOI: {
281
277
  };
282
278
  };
283
279
 
280
+ type AttributeTypeUoi = AttributeTypeUoiSports;
281
+
284
282
  declare enum PetGender {
285
283
  None = 0,
286
284
  Male = 1,
287
285
  Female = 2
288
286
  }
289
287
 
290
- declare enum AttributeLabelCollectionPets {
288
+ declare enum AttributeTypeCollectionPets {
291
289
  Breed = 0,
292
290
  Dob = 1,
293
291
  Father = 2,
@@ -297,6 +295,12 @@ declare enum AttributeLabelCollectionPets {
297
295
  Weight = 6
298
296
  }
299
297
 
298
+ type AttributeTypeCollection = AttributeTypeCollectionPets;
299
+
300
+ declare const ATTRIBUTE_LABEL_COLLECTION: {
301
+ pets: typeof AttributeTypeCollectionPets;
302
+ };
303
+
300
304
  declare const ATTRIBUTE_LABEL: {
301
305
  2: {
302
306
  sports: {
@@ -310,13 +314,15 @@ declare const ATTRIBUTE_LABEL: {
310
314
  };
311
315
  };
312
316
  5: {
313
- pets: typeof AttributeLabelCollectionPets;
317
+ pets: typeof AttributeTypeCollectionPets;
314
318
  };
315
319
  0: {
316
320
  0: string;
317
321
  };
318
322
  };
319
323
 
324
+ type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
325
+
320
326
  declare enum PageUpdateType {
321
327
  None = 0,
322
328
  CreatePost = 1,
@@ -385,4 +391,4 @@ declare enum SportsInterestName {
385
391
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
386
392
  declare const InterestNameNone: InterestName;
387
393
 
388
- 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, AttributeLabelCollectionPets, AttributeLabelCommon, 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 };
394
+ 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__ */ ((AttributeLabelCommon2) => {
315
- AttributeLabelCommon2[AttributeLabelCommon2["Handedness"] = 0] = "Handedness";
316
- return AttributeLabelCommon2;
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__ */ ((AttributeLabelCommon2) => {
243
- AttributeLabelCommon2[AttributeLabelCommon2["Handedness"] = 0] = "Handedness";
244
- return AttributeLabelCommon2;
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.22.1",
3
+ "version": "1.24.0",
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,7 +1,6 @@
1
1
  import { CategoryName } from '../../interest';
2
- import { AttributeLabelCollectionPets } from './pets';
3
-
2
+ import { AttributeTypeCollectionPets } from './pets';
4
3
 
5
4
  export const ATTRIBUTE_LABEL_COLLECTION = {
6
- [CategoryName.Pets]: AttributeLabelCollectionPets,
5
+ [CategoryName.Pets]: AttributeTypeCollectionPets,
7
6
  };
@@ -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
3
  export const ATTRIBUTE_LABEL_COMMON = {
6
- [AttributeLabelCommon.Handedness]: 'Handedness',
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,6 +1,6 @@
1
1
 
2
2
  import { ProfileType } from '../page';
3
- import { ATTRIBUTE_LABEL_COLLECTION } from './collection/label';
3
+ import { ATTRIBUTE_LABEL_COLLECTION } from './collection';
4
4
  import { ATTRIBUTE_LABEL_COMMON } from './common';
5
5
  import { ATTRIBUTE_LABEL_UOI } from './uoi';
6
6
 
@@ -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,7 +1,6 @@
1
1
  import { CategoryName } from '../../interest';
2
2
  import { ATTRIBUTE_LABEL_UOI_SPORTS } from './sports';
3
3
 
4
-
5
4
  export const ATTRIBUTE_LABEL_UOI = {
6
5
  [CategoryName.Sports]: ATTRIBUTE_LABEL_UOI_SPORTS,
7
6
  };
@@ -1,8 +1,6 @@
1
- export enum AttributeLabelUoiSportsBasketball {
2
- Positions,
3
- }
1
+ import { AttributeTypeUoiSportsBasketball } from './type';
4
2
 
5
3
  export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL = {
6
- [AttributeLabelUoiSportsBasketball.Positions]: 'Positions',
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,7 +2,6 @@ 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
5
  export const ATTRIBUTE_LABEL_UOI_SPORTS = {
7
6
  [SportsInterestName.Tennis]: ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS,
8
7
  [SportsInterestName.Basketball]: 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
3
  export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS = {
6
- [AttributeLabelUoiSportsTennis.Level]: 'Level',
7
- [AttributeLabelUoiSportsTennis.Bankhand]: 'Bankhand',
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;