wenum 1.22.0 → 1.23.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
@@ -215,16 +215,22 @@ declare enum Handedness {
215
215
  Right = 2
216
216
  }
217
217
 
218
- declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
219
- tennis: {
220
- 0: string;
221
- 1: string;
222
- };
223
- basketball: {
224
- 0: string;
225
- };
218
+ declare enum AttributeLabelUoiSportsBasketball {
219
+ Positions = 0
220
+ }
221
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
222
+ 0: string;
226
223
  };
227
224
 
225
+ declare enum BasketballPosition {
226
+ None = 0,
227
+ SG = 1,
228
+ PG = 2,
229
+ C = 4,
230
+ SF = 8,
231
+ PF = 16
232
+ }
233
+
228
234
  declare enum AttributeLabelUoiSportsTennis {
229
235
  Level = 0,
230
236
  Bankhand = 1
@@ -253,21 +259,16 @@ declare enum TennisLevel {
253
259
  SixAbove = 9
254
260
  }
255
261
 
256
- declare enum AttributeLabelUoiSportsBasketball {
257
- Positions = 0
258
- }
259
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
260
- 0: string;
262
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
263
+ tennis: {
264
+ 0: string;
265
+ 1: string;
266
+ };
267
+ basketball: {
268
+ 0: string;
269
+ };
261
270
  };
262
-
263
- declare enum BasketballPosition {
264
- None = 0,
265
- SG = 1,
266
- PG = 2,
267
- C = 4,
268
- SF = 8,
269
- PF = 16
270
- }
271
+ type AttributeLabelUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
271
272
 
272
273
  declare const ATTRIBUTE_LABEL_UOI: {
273
274
  sports: {
@@ -280,6 +281,7 @@ declare const ATTRIBUTE_LABEL_UOI: {
280
281
  };
281
282
  };
282
283
  };
284
+ type AttributeLabelUoi = AttributeLabelUoiSports;
283
285
 
284
286
  declare enum PetGender {
285
287
  None = 0,
@@ -297,6 +299,8 @@ declare enum AttributeLabelCollectionPets {
297
299
  Weight = 6
298
300
  }
299
301
 
302
+ type AttributeLabelCollection = AttributeLabelCollectionPets;
303
+
300
304
  declare const ATTRIBUTE_LABEL: {
301
305
  2: {
302
306
  sports: {
@@ -312,7 +316,11 @@ declare const ATTRIBUTE_LABEL: {
312
316
  5: {
313
317
  pets: typeof AttributeLabelCollectionPets;
314
318
  };
319
+ 0: {
320
+ 0: string;
321
+ };
315
322
  };
323
+ type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
316
324
 
317
325
  declare enum PageUpdateType {
318
326
  None = 0,
@@ -382,4 +390,4 @@ declare enum SportsInterestName {
382
390
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
383
391
  declare const InterestNameNone: InterestName;
384
392
 
385
- 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -215,16 +215,22 @@ declare enum Handedness {
215
215
  Right = 2
216
216
  }
217
217
 
218
- declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
219
- tennis: {
220
- 0: string;
221
- 1: string;
222
- };
223
- basketball: {
224
- 0: string;
225
- };
218
+ declare enum AttributeLabelUoiSportsBasketball {
219
+ Positions = 0
220
+ }
221
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
222
+ 0: string;
226
223
  };
227
224
 
225
+ declare enum BasketballPosition {
226
+ None = 0,
227
+ SG = 1,
228
+ PG = 2,
229
+ C = 4,
230
+ SF = 8,
231
+ PF = 16
232
+ }
233
+
228
234
  declare enum AttributeLabelUoiSportsTennis {
229
235
  Level = 0,
230
236
  Bankhand = 1
@@ -253,21 +259,16 @@ declare enum TennisLevel {
253
259
  SixAbove = 9
254
260
  }
255
261
 
256
- declare enum AttributeLabelUoiSportsBasketball {
257
- Positions = 0
258
- }
259
- declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
260
- 0: string;
262
+ declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
263
+ tennis: {
264
+ 0: string;
265
+ 1: string;
266
+ };
267
+ basketball: {
268
+ 0: string;
269
+ };
261
270
  };
262
-
263
- declare enum BasketballPosition {
264
- None = 0,
265
- SG = 1,
266
- PG = 2,
267
- C = 4,
268
- SF = 8,
269
- PF = 16
270
- }
271
+ type AttributeLabelUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
271
272
 
272
273
  declare const ATTRIBUTE_LABEL_UOI: {
273
274
  sports: {
@@ -280,6 +281,7 @@ declare const ATTRIBUTE_LABEL_UOI: {
280
281
  };
281
282
  };
282
283
  };
284
+ type AttributeLabelUoi = AttributeLabelUoiSports;
283
285
 
284
286
  declare enum PetGender {
285
287
  None = 0,
@@ -297,6 +299,8 @@ declare enum AttributeLabelCollectionPets {
297
299
  Weight = 6
298
300
  }
299
301
 
302
+ type AttributeLabelCollection = AttributeLabelCollectionPets;
303
+
300
304
  declare const ATTRIBUTE_LABEL: {
301
305
  2: {
302
306
  sports: {
@@ -312,7 +316,11 @@ declare const ATTRIBUTE_LABEL: {
312
316
  5: {
313
317
  pets: typeof AttributeLabelCollectionPets;
314
318
  };
319
+ 0: {
320
+ 0: string;
321
+ };
315
322
  };
323
+ type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
316
324
 
317
325
  declare enum PageUpdateType {
318
326
  None = 0,
@@ -382,4 +390,4 @@ declare enum SportsInterestName {
382
390
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
383
391
  declare const InterestNameNone: InterestName;
384
392
 
385
- 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 };
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 };
package/dist/index.js CHANGED
@@ -311,9 +311,9 @@ var FollowingStatus = /* @__PURE__ */ ((FollowingStatus2) => {
311
311
  })(FollowingStatus || {});
312
312
 
313
313
  // src/attribute/common/label.ts
314
- var AttributeLabelCommon = /* @__PURE__ */ ((AttributeLabelCommon2) => {
315
- AttributeLabelCommon2[AttributeLabelCommon2["Handedness"] = 0] = "Handedness";
316
- return AttributeLabelCommon2;
314
+ var AttributeLabelCommon = /* @__PURE__ */ ((AttributeLabelCommon3) => {
315
+ AttributeLabelCommon3[AttributeLabelCommon3["Handedness"] = 0] = "Handedness";
316
+ return AttributeLabelCommon3;
317
317
  })(AttributeLabelCommon || {});
318
318
  var ATTRIBUTE_LABEL_COMMON = {
319
319
  [0 /* Handedness */]: "Handedness"
@@ -476,7 +476,8 @@ var ATTRIBUTE_LABEL_COLLECTION = {
476
476
  // src/attribute/label.ts
477
477
  var ATTRIBUTE_LABEL = {
478
478
  [2 /* Uoi */]: ATTRIBUTE_LABEL_UOI,
479
- [5 /* Collection */]: ATTRIBUTE_LABEL_COLLECTION
479
+ [5 /* Collection */]: ATTRIBUTE_LABEL_COLLECTION,
480
+ [0 /* None */]: ATTRIBUTE_LABEL_COMMON
480
481
  };
481
482
 
482
483
  // src/pageUpdate.ts
package/dist/index.mjs CHANGED
@@ -239,9 +239,9 @@ var FollowingStatus = /* @__PURE__ */ ((FollowingStatus2) => {
239
239
  })(FollowingStatus || {});
240
240
 
241
241
  // src/attribute/common/label.ts
242
- var AttributeLabelCommon = /* @__PURE__ */ ((AttributeLabelCommon2) => {
243
- AttributeLabelCommon2[AttributeLabelCommon2["Handedness"] = 0] = "Handedness";
244
- return AttributeLabelCommon2;
242
+ var AttributeLabelCommon = /* @__PURE__ */ ((AttributeLabelCommon3) => {
243
+ AttributeLabelCommon3[AttributeLabelCommon3["Handedness"] = 0] = "Handedness";
244
+ return AttributeLabelCommon3;
245
245
  })(AttributeLabelCommon || {});
246
246
  var ATTRIBUTE_LABEL_COMMON = {
247
247
  [0 /* Handedness */]: "Handedness"
@@ -404,7 +404,8 @@ var ATTRIBUTE_LABEL_COLLECTION = {
404
404
  // src/attribute/label.ts
405
405
  var ATTRIBUTE_LABEL = {
406
406
  [2 /* Uoi */]: ATTRIBUTE_LABEL_UOI,
407
- [5 /* Collection */]: ATTRIBUTE_LABEL_COLLECTION
407
+ [5 /* Collection */]: ATTRIBUTE_LABEL_COLLECTION,
408
+ [0 /* None */]: ATTRIBUTE_LABEL_COMMON
408
409
  };
409
410
 
410
411
  // src/pageUpdate.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.22.0",
3
+ "version": "1.23.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,7 +1,8 @@
1
1
  import { CategoryName } from '../../interest';
2
2
  import { AttributeLabelCollectionPets } from './pets';
3
3
 
4
-
5
4
  export const ATTRIBUTE_LABEL_COLLECTION = {
6
5
  [CategoryName.Pets]: AttributeLabelCollectionPets,
7
6
  };
7
+
8
+ export type AttributeLabelCollection = AttributeLabelCollectionPets;
@@ -1,9 +1,16 @@
1
1
 
2
2
  import { ProfileType } from '../page';
3
- import { ATTRIBUTE_LABEL_COLLECTION } from './collection/label';
4
- import { ATTRIBUTE_LABEL_UOI } from './uoi';
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';
5
6
 
6
7
  export const ATTRIBUTE_LABEL = {
7
8
  [ProfileType.Uoi]: ATTRIBUTE_LABEL_UOI,
8
9
  [ProfileType.Collection]: ATTRIBUTE_LABEL_COLLECTION,
10
+ [ProfileType.None]: ATTRIBUTE_LABEL_COMMON,
9
11
  };
12
+
13
+ export type AttributeLabel =
14
+ | AttributeLabelUoi
15
+ | AttributeLabelCollection
16
+ | AttributeLabelCommon;
@@ -1,7 +1,9 @@
1
1
  import { CategoryName } from '../../interest';
2
- import { ATTRIBUTE_LABEL_UOI_SPORTS } from './sports';
2
+ import { ATTRIBUTE_LABEL_UOI_SPORTS, AttributeLabelUoiSports } from './sports';
3
3
 
4
4
 
5
5
  export const ATTRIBUTE_LABEL_UOI = {
6
6
  [CategoryName.Sports]: ATTRIBUTE_LABEL_UOI_SPORTS,
7
7
  };
8
+
9
+ export type AttributeLabelUoi = AttributeLabelUoiSports;
@@ -7,3 +7,7 @@ export const ATTRIBUTE_LABEL_UOI_SPORTS = {
7
7
  [SportsInterestName.Tennis]: ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS,
8
8
  [SportsInterestName.Basketball]: ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL,
9
9
  };
10
+
11
+ export type AttributeLabelUoiSports =
12
+ | typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS
13
+ | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;