wenum 1.22.1 → 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: {
@@ -316,6 +320,7 @@ declare const ATTRIBUTE_LABEL: {
316
320
  0: string;
317
321
  };
318
322
  };
323
+ type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
319
324
 
320
325
  declare enum PageUpdateType {
321
326
  None = 0,
@@ -385,4 +390,4 @@ declare enum SportsInterestName {
385
390
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
386
391
  declare const InterestNameNone: InterestName;
387
392
 
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 };
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: {
@@ -316,6 +320,7 @@ declare const ATTRIBUTE_LABEL: {
316
320
  0: string;
317
321
  };
318
322
  };
323
+ type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
319
324
 
320
325
  declare enum PageUpdateType {
321
326
  None = 0,
@@ -385,4 +390,4 @@ declare enum SportsInterestName {
385
390
  type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
386
391
  declare const InterestNameNone: InterestName;
387
392
 
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 };
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"
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.22.1",
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,11 +1,16 @@
1
1
 
2
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';
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';
6
6
 
7
7
  export const ATTRIBUTE_LABEL = {
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;
@@ -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;