wenum 1.21.0 → 1.22.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
@@ -297,6 +297,26 @@ declare enum AttributeLabelCollectionPets {
297
297
  Weight = 6
298
298
  }
299
299
 
300
+ declare const ATTRIBUTE_LABEL: {
301
+ 2: {
302
+ sports: {
303
+ tennis: {
304
+ 0: string;
305
+ 1: string;
306
+ };
307
+ basketball: {
308
+ 0: string;
309
+ };
310
+ };
311
+ };
312
+ 5: {
313
+ pets: typeof AttributeLabelCollectionPets;
314
+ };
315
+ 0: {
316
+ 0: string;
317
+ };
318
+ };
319
+
300
320
  declare enum PageUpdateType {
301
321
  None = 0,
302
322
  CreatePost = 1,
@@ -365,4 +385,4 @@ declare enum SportsInterestName {
365
385
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
366
386
  declare const InterestNameNone: InterestName;
367
387
 
368
- export { 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -297,6 +297,26 @@ declare enum AttributeLabelCollectionPets {
297
297
  Weight = 6
298
298
  }
299
299
 
300
+ declare const ATTRIBUTE_LABEL: {
301
+ 2: {
302
+ sports: {
303
+ tennis: {
304
+ 0: string;
305
+ 1: string;
306
+ };
307
+ basketball: {
308
+ 0: string;
309
+ };
310
+ };
311
+ };
312
+ 5: {
313
+ pets: typeof AttributeLabelCollectionPets;
314
+ };
315
+ 0: {
316
+ 0: string;
317
+ };
318
+ };
319
+
300
320
  declare enum PageUpdateType {
301
321
  None = 0,
302
322
  CreatePost = 1,
@@ -365,4 +385,4 @@ declare enum SportsInterestName {
365
385
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
366
386
  declare const InterestNameNone: InterestName;
367
387
 
368
- export { 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 };
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 };
package/dist/index.js CHANGED
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ ATTRIBUTE_LABEL: () => ATTRIBUTE_LABEL,
23
24
  ATTRIBUTE_LABEL_COMMON: () => ATTRIBUTE_LABEL_COMMON,
24
25
  ATTRIBUTE_LABEL_UOI: () => ATTRIBUTE_LABEL_UOI,
25
26
  ATTRIBUTE_LABEL_UOI_SPORTS: () => ATTRIBUTE_LABEL_UOI_SPORTS,
@@ -467,6 +468,18 @@ var AttributeLabelCollectionPets = /* @__PURE__ */ ((AttributeLabelCollectionPet
467
468
  return AttributeLabelCollectionPets2;
468
469
  })(AttributeLabelCollectionPets || {});
469
470
 
471
+ // src/attribute/collection/label.ts
472
+ var ATTRIBUTE_LABEL_COLLECTION = {
473
+ ["pets" /* Pets */]: AttributeLabelCollectionPets
474
+ };
475
+
476
+ // src/attribute/label.ts
477
+ var ATTRIBUTE_LABEL = {
478
+ [2 /* Uoi */]: ATTRIBUTE_LABEL_UOI,
479
+ [5 /* Collection */]: ATTRIBUTE_LABEL_COLLECTION,
480
+ [0 /* None */]: ATTRIBUTE_LABEL_COMMON
481
+ };
482
+
470
483
  // src/pageUpdate.ts
471
484
  var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
472
485
  PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
@@ -492,6 +505,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
492
505
  })(SubjectType || {});
493
506
  // Annotate the CommonJS export names for ESM import in node:
494
507
  0 && (module.exports = {
508
+ ATTRIBUTE_LABEL,
495
509
  ATTRIBUTE_LABEL_COMMON,
496
510
  ATTRIBUTE_LABEL_UOI,
497
511
  ATTRIBUTE_LABEL_UOI_SPORTS,
package/dist/index.mjs CHANGED
@@ -396,6 +396,18 @@ var AttributeLabelCollectionPets = /* @__PURE__ */ ((AttributeLabelCollectionPet
396
396
  return AttributeLabelCollectionPets2;
397
397
  })(AttributeLabelCollectionPets || {});
398
398
 
399
+ // src/attribute/collection/label.ts
400
+ var ATTRIBUTE_LABEL_COLLECTION = {
401
+ ["pets" /* Pets */]: AttributeLabelCollectionPets
402
+ };
403
+
404
+ // src/attribute/label.ts
405
+ var ATTRIBUTE_LABEL = {
406
+ [2 /* Uoi */]: ATTRIBUTE_LABEL_UOI,
407
+ [5 /* Collection */]: ATTRIBUTE_LABEL_COLLECTION,
408
+ [0 /* None */]: ATTRIBUTE_LABEL_COMMON
409
+ };
410
+
399
411
  // src/pageUpdate.ts
400
412
  var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
401
413
  PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
@@ -420,6 +432,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
420
432
  return SubjectType2;
421
433
  })(SubjectType || {});
422
434
  export {
435
+ ATTRIBUTE_LABEL,
423
436
  ATTRIBUTE_LABEL_COMMON,
424
437
  ATTRIBUTE_LABEL_UOI,
425
438
  ATTRIBUTE_LABEL_UOI_SPORTS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.21.0",
3
+ "version": "1.22.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,4 @@
1
1
  export * from './common';
2
2
  export * from './uoi';
3
3
  export * from './collection';
4
+ export * from './label';
@@ -0,0 +1,11 @@
1
+
2
+ import { ProfileType } from '../page';
3
+ import { ATTRIBUTE_LABEL_COLLECTION } from './collection/label';
4
+ import { ATTRIBUTE_LABEL_COMMON } from './common';
5
+ import { ATTRIBUTE_LABEL_UOI } from './uoi';
6
+
7
+ export const ATTRIBUTE_LABEL = {
8
+ [ProfileType.Uoi]: ATTRIBUTE_LABEL_UOI,
9
+ [ProfileType.Collection]: ATTRIBUTE_LABEL_COLLECTION,
10
+ [ProfileType.None]: ATTRIBUTE_LABEL_COMMON,
11
+ };