wenum 1.23.0 → 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 +36 -35
- package/dist/index.d.ts +36 -35
- package/dist/index.js +24 -33
- package/dist/index.mjs +21 -29
- package/package.json +1 -1
- package/src/attribute/collection/index.ts +3 -1
- package/src/attribute/collection/label.ts +2 -4
- package/src/attribute/collection/pets/index.ts +1 -1
- package/src/attribute/collection/pets/{label.ts → type.ts} +1 -1
- package/src/attribute/collection/type.ts +3 -0
- package/src/attribute/common/index.ts +2 -1
- package/src/attribute/common/label.ts +2 -4
- package/src/attribute/common/type.ts +3 -0
- package/src/attribute/index.ts +1 -0
- package/src/attribute/label.ts +3 -8
- package/src/attribute/type.ts +9 -0
- package/src/attribute/uoi/index.ts +2 -1
- package/src/attribute/uoi/label.ts +1 -4
- package/src/attribute/uoi/sports/basketball/label.ts +2 -4
- package/src/attribute/uoi/sports/basketball/type.ts +5 -0
- package/src/attribute/uoi/sports/index.ts +1 -0
- package/src/attribute/uoi/sports/label.ts +0 -5
- package/src/attribute/uoi/sports/tennis/label.ts +3 -5
- package/src/attribute/uoi/sports/tennis/type.ts +3 -0
- package/src/attribute/uoi/sports/type.ts +6 -0
- package/src/attribute/uoi/type.ts +3 -0
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,26 +212,20 @@ declare enum Handedness {
|
|
|
215
212
|
Right = 2
|
|
216
213
|
}
|
|
217
214
|
|
|
218
|
-
declare enum
|
|
219
|
-
|
|
215
|
+
declare enum AttributeTypeCommon {
|
|
216
|
+
Handedness = 0
|
|
220
217
|
}
|
|
221
|
-
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
|
|
222
|
-
0: string;
|
|
223
|
-
};
|
|
224
218
|
|
|
225
|
-
declare
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
219
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
|
|
220
|
+
tennis: {
|
|
221
|
+
0: string;
|
|
222
|
+
1: string;
|
|
223
|
+
};
|
|
224
|
+
basketball: {
|
|
225
|
+
0: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
233
228
|
|
|
234
|
-
declare enum AttributeLabelUoiSportsTennis {
|
|
235
|
-
Level = 0,
|
|
236
|
-
Bankhand = 1
|
|
237
|
-
}
|
|
238
229
|
declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
|
|
239
230
|
0: string;
|
|
240
231
|
1: string;
|
|
@@ -259,16 +250,20 @@ declare enum TennisLevel {
|
|
|
259
250
|
SixAbove = 9
|
|
260
251
|
}
|
|
261
252
|
|
|
262
|
-
declare const
|
|
263
|
-
|
|
264
|
-
0: string;
|
|
265
|
-
1: string;
|
|
266
|
-
};
|
|
267
|
-
basketball: {
|
|
268
|
-
0: string;
|
|
269
|
-
};
|
|
253
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
|
|
254
|
+
0: string;
|
|
270
255
|
};
|
|
271
|
-
|
|
256
|
+
|
|
257
|
+
declare enum BasketballPosition {
|
|
258
|
+
None = 0,
|
|
259
|
+
SG = 1,
|
|
260
|
+
PG = 2,
|
|
261
|
+
C = 4,
|
|
262
|
+
SF = 8,
|
|
263
|
+
PF = 16
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
|
|
272
267
|
|
|
273
268
|
declare const ATTRIBUTE_LABEL_UOI: {
|
|
274
269
|
sports: {
|
|
@@ -281,7 +276,8 @@ declare const ATTRIBUTE_LABEL_UOI: {
|
|
|
281
276
|
};
|
|
282
277
|
};
|
|
283
278
|
};
|
|
284
|
-
|
|
279
|
+
|
|
280
|
+
type AttributeTypeUoi = AttributeTypeUoiSports;
|
|
285
281
|
|
|
286
282
|
declare enum PetGender {
|
|
287
283
|
None = 0,
|
|
@@ -289,7 +285,7 @@ declare enum PetGender {
|
|
|
289
285
|
Female = 2
|
|
290
286
|
}
|
|
291
287
|
|
|
292
|
-
declare enum
|
|
288
|
+
declare enum AttributeTypeCollectionPets {
|
|
293
289
|
Breed = 0,
|
|
294
290
|
Dob = 1,
|
|
295
291
|
Father = 2,
|
|
@@ -299,7 +295,11 @@ declare enum AttributeLabelCollectionPets {
|
|
|
299
295
|
Weight = 6
|
|
300
296
|
}
|
|
301
297
|
|
|
302
|
-
type
|
|
298
|
+
type AttributeTypeCollection = AttributeTypeCollectionPets;
|
|
299
|
+
|
|
300
|
+
declare const ATTRIBUTE_LABEL_COLLECTION: {
|
|
301
|
+
pets: typeof AttributeTypeCollectionPets;
|
|
302
|
+
};
|
|
303
303
|
|
|
304
304
|
declare const ATTRIBUTE_LABEL: {
|
|
305
305
|
2: {
|
|
@@ -314,13 +314,14 @@ declare const ATTRIBUTE_LABEL: {
|
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
5: {
|
|
317
|
-
pets: typeof
|
|
317
|
+
pets: typeof AttributeTypeCollectionPets;
|
|
318
318
|
};
|
|
319
319
|
0: {
|
|
320
320
|
0: string;
|
|
321
321
|
};
|
|
322
322
|
};
|
|
323
|
-
|
|
323
|
+
|
|
324
|
+
type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
|
|
324
325
|
|
|
325
326
|
declare enum PageUpdateType {
|
|
326
327
|
None = 0,
|
|
@@ -390,4 +391,4 @@ declare enum SportsInterestName {
|
|
|
390
391
|
type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
|
|
391
392
|
declare const InterestNameNone: InterestName;
|
|
392
393
|
|
|
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
|
|
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,26 +212,20 @@ declare enum Handedness {
|
|
|
215
212
|
Right = 2
|
|
216
213
|
}
|
|
217
214
|
|
|
218
|
-
declare enum
|
|
219
|
-
|
|
215
|
+
declare enum AttributeTypeCommon {
|
|
216
|
+
Handedness = 0
|
|
220
217
|
}
|
|
221
|
-
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
|
|
222
|
-
0: string;
|
|
223
|
-
};
|
|
224
218
|
|
|
225
|
-
declare
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
219
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS: {
|
|
220
|
+
tennis: {
|
|
221
|
+
0: string;
|
|
222
|
+
1: string;
|
|
223
|
+
};
|
|
224
|
+
basketball: {
|
|
225
|
+
0: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
233
228
|
|
|
234
|
-
declare enum AttributeLabelUoiSportsTennis {
|
|
235
|
-
Level = 0,
|
|
236
|
-
Bankhand = 1
|
|
237
|
-
}
|
|
238
229
|
declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: {
|
|
239
230
|
0: string;
|
|
240
231
|
1: string;
|
|
@@ -259,16 +250,20 @@ declare enum TennisLevel {
|
|
|
259
250
|
SixAbove = 9
|
|
260
251
|
}
|
|
261
252
|
|
|
262
|
-
declare const
|
|
263
|
-
|
|
264
|
-
0: string;
|
|
265
|
-
1: string;
|
|
266
|
-
};
|
|
267
|
-
basketball: {
|
|
268
|
-
0: string;
|
|
269
|
-
};
|
|
253
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
|
|
254
|
+
0: string;
|
|
270
255
|
};
|
|
271
|
-
|
|
256
|
+
|
|
257
|
+
declare enum BasketballPosition {
|
|
258
|
+
None = 0,
|
|
259
|
+
SG = 1,
|
|
260
|
+
PG = 2,
|
|
261
|
+
C = 4,
|
|
262
|
+
SF = 8,
|
|
263
|
+
PF = 16
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
|
|
272
267
|
|
|
273
268
|
declare const ATTRIBUTE_LABEL_UOI: {
|
|
274
269
|
sports: {
|
|
@@ -281,7 +276,8 @@ declare const ATTRIBUTE_LABEL_UOI: {
|
|
|
281
276
|
};
|
|
282
277
|
};
|
|
283
278
|
};
|
|
284
|
-
|
|
279
|
+
|
|
280
|
+
type AttributeTypeUoi = AttributeTypeUoiSports;
|
|
285
281
|
|
|
286
282
|
declare enum PetGender {
|
|
287
283
|
None = 0,
|
|
@@ -289,7 +285,7 @@ declare enum PetGender {
|
|
|
289
285
|
Female = 2
|
|
290
286
|
}
|
|
291
287
|
|
|
292
|
-
declare enum
|
|
288
|
+
declare enum AttributeTypeCollectionPets {
|
|
293
289
|
Breed = 0,
|
|
294
290
|
Dob = 1,
|
|
295
291
|
Father = 2,
|
|
@@ -299,7 +295,11 @@ declare enum AttributeLabelCollectionPets {
|
|
|
299
295
|
Weight = 6
|
|
300
296
|
}
|
|
301
297
|
|
|
302
|
-
type
|
|
298
|
+
type AttributeTypeCollection = AttributeTypeCollectionPets;
|
|
299
|
+
|
|
300
|
+
declare const ATTRIBUTE_LABEL_COLLECTION: {
|
|
301
|
+
pets: typeof AttributeTypeCollectionPets;
|
|
302
|
+
};
|
|
303
303
|
|
|
304
304
|
declare const ATTRIBUTE_LABEL: {
|
|
305
305
|
2: {
|
|
@@ -314,13 +314,14 @@ declare const ATTRIBUTE_LABEL: {
|
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
5: {
|
|
317
|
-
pets: typeof
|
|
317
|
+
pets: typeof AttributeTypeCollectionPets;
|
|
318
318
|
};
|
|
319
319
|
0: {
|
|
320
320
|
0: string;
|
|
321
321
|
};
|
|
322
322
|
};
|
|
323
|
-
|
|
323
|
+
|
|
324
|
+
type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
|
|
324
325
|
|
|
325
326
|
declare enum PageUpdateType {
|
|
326
327
|
None = 0,
|
|
@@ -390,4 +391,4 @@ declare enum SportsInterestName {
|
|
|
390
391
|
type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
|
|
391
392
|
declare const InterestNameNone: InterestName;
|
|
392
393
|
|
|
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
|
|
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
|
-
|
|
33
|
-
|
|
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/
|
|
460
|
-
var
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
return
|
|
469
|
-
})(
|
|
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 */]:
|
|
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
|
-
|
|
518
|
-
|
|
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/
|
|
388
|
-
var
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
return
|
|
397
|
-
})(
|
|
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 */]:
|
|
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
|
-
|
|
445
|
-
|
|
446
|
-
AttributeLabelUoiSportsBasketball,
|
|
447
|
-
AttributeLabelUoiSportsTennis,
|
|
438
|
+
AttributeTypeCollectionPets,
|
|
439
|
+
AttributeTypeCommon,
|
|
448
440
|
BasketballPosition,
|
|
449
441
|
BuddyingStatus,
|
|
450
442
|
CategoryName,
|
package/package.json
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { CategoryName } from '../../interest';
|
|
2
|
-
import {
|
|
2
|
+
import { AttributeTypeCollectionPets } from './pets';
|
|
3
3
|
|
|
4
4
|
export const ATTRIBUTE_LABEL_COLLECTION = {
|
|
5
|
-
[CategoryName.Pets]:
|
|
5
|
+
[CategoryName.Pets]: AttributeTypeCollectionPets,
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
export type AttributeLabelCollection = AttributeLabelCollectionPets;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './pets';
|
|
2
|
-
export * from './
|
|
2
|
+
export * from './type';
|
package/src/attribute/index.ts
CHANGED
package/src/attribute/label.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { ProfileType } from '../page';
|
|
3
|
-
import { ATTRIBUTE_LABEL_COLLECTION
|
|
4
|
-
import { ATTRIBUTE_LABEL_COMMON
|
|
5
|
-
import { ATTRIBUTE_LABEL_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
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,9 +1,6 @@
|
|
|
1
1
|
import { CategoryName } from '../../interest';
|
|
2
|
-
import { ATTRIBUTE_LABEL_UOI_SPORTS
|
|
3
|
-
|
|
2
|
+
import { ATTRIBUTE_LABEL_UOI_SPORTS } from './sports';
|
|
4
3
|
|
|
5
4
|
export const ATTRIBUTE_LABEL_UOI = {
|
|
6
5
|
[CategoryName.Sports]: ATTRIBUTE_LABEL_UOI_SPORTS,
|
|
7
6
|
};
|
|
8
|
-
|
|
9
|
-
export type AttributeLabelUoi = AttributeLabelUoiSports;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
Positions,
|
|
3
|
-
}
|
|
1
|
+
import { AttributeTypeUoiSportsBasketball } from './type';
|
|
4
2
|
|
|
5
3
|
export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL = {
|
|
6
|
-
[
|
|
4
|
+
[AttributeTypeUoiSportsBasketball.Positions]: 'Positions',
|
|
7
5
|
};
|
|
8
6
|
|
|
@@ -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
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,
|
|
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
|
-
|
|
2
|
-
Level, Bankhand,
|
|
3
|
-
}
|
|
1
|
+
import { AttributeTypeUoiSportsTennis } from './type';
|
|
4
2
|
|
|
5
3
|
export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS = {
|
|
6
|
-
[
|
|
7
|
-
[
|
|
4
|
+
[AttributeTypeUoiSportsTennis.Level]: 'Level',
|
|
5
|
+
[AttributeTypeUoiSportsTennis.Bankhand]: 'Bankhand',
|
|
8
6
|
};
|