wenum 1.23.0 → 1.24.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 +82 -117
- package/dist/index.d.ts +82 -117
- 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 +3 -5
- 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 +3 -5
- package/src/attribute/common/type.ts +3 -0
- package/src/attribute/index.ts +1 -0
- package/src/attribute/label.ts +4 -9
- package/src/attribute/type.ts +9 -0
- package/src/attribute/uoi/index.ts +2 -1
- package/src/attribute/uoi/label.ts +2 -5
- package/src/attribute/uoi/sports/basketball/label.ts +3 -5
- 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 +1 -6
- package/src/attribute/uoi/sports/tennis/label.ts +4 -6
- 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,12 +202,11 @@ declare enum FollowingStatus {
|
|
|
202
202
|
Unfollowed = 5
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
declare enum
|
|
205
|
+
declare enum AttributeTypeCommon {
|
|
206
206
|
Handedness = 0
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
};
|
|
208
|
+
|
|
209
|
+
declare const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>>;
|
|
211
210
|
|
|
212
211
|
declare enum Handedness {
|
|
213
212
|
None = 0,
|
|
@@ -215,30 +214,63 @@ declare enum Handedness {
|
|
|
215
214
|
Right = 2
|
|
216
215
|
}
|
|
217
216
|
|
|
218
|
-
declare enum
|
|
219
|
-
|
|
217
|
+
declare enum CategoryName {
|
|
218
|
+
Sports = "sports",
|
|
219
|
+
Pets = "pets",
|
|
220
|
+
Music = "music",
|
|
221
|
+
Dancing = "dancing",
|
|
222
|
+
Food = "food",
|
|
223
|
+
Photography = "photography",
|
|
224
|
+
Tourism = "tourism",
|
|
225
|
+
Other = "other",
|
|
226
|
+
None = ""
|
|
220
227
|
}
|
|
221
|
-
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
|
|
222
|
-
0: string;
|
|
223
|
-
};
|
|
224
228
|
|
|
225
|
-
declare enum
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
declare enum MusicInterestName {
|
|
230
|
+
Guitar = "guitar",
|
|
231
|
+
Singing = "singing",
|
|
232
|
+
Other = "other"
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare enum PetsInterestName {
|
|
236
|
+
Dog = "dog",
|
|
237
|
+
Cat = "cat",
|
|
238
|
+
Other = "other"
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
declare enum SportsInterestName {
|
|
242
|
+
Tennis = "tennis",
|
|
243
|
+
Pickleball = "pickleball",
|
|
244
|
+
Basketball = "basketball",
|
|
245
|
+
Golf = "golf",
|
|
246
|
+
Hiking = "hiking",
|
|
247
|
+
Running = "running",
|
|
248
|
+
Gym = "gym",
|
|
249
|
+
Baseball = "baseball",
|
|
250
|
+
Biking = "biking",
|
|
251
|
+
Yoga = "yoga",
|
|
252
|
+
TableTennis = "tabletennis",
|
|
253
|
+
Football = "football",
|
|
254
|
+
Soccer = "soccer",
|
|
255
|
+
Badminton = "badminton",
|
|
256
|
+
Skiing = "skiing",
|
|
257
|
+
Surfing = "surfing",
|
|
258
|
+
Swimming = "swimming",
|
|
259
|
+
Hockey = "hockey",
|
|
260
|
+
Other = "other"
|
|
232
261
|
}
|
|
233
262
|
|
|
234
|
-
|
|
263
|
+
type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
|
|
264
|
+
declare const InterestNameNone: InterestName;
|
|
265
|
+
|
|
266
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>>;
|
|
267
|
+
|
|
268
|
+
declare enum AttributeTypeUoiSportsTennis {
|
|
235
269
|
Level = 0,
|
|
236
270
|
Bankhand = 1
|
|
237
271
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
1: string;
|
|
241
|
-
};
|
|
272
|
+
|
|
273
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>>;
|
|
242
274
|
|
|
243
275
|
declare enum TennisBackhand {
|
|
244
276
|
None = 0,
|
|
@@ -259,29 +291,26 @@ declare enum TennisLevel {
|
|
|
259
291
|
SixAbove = 9
|
|
260
292
|
}
|
|
261
293
|
|
|
262
|
-
declare
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
type AttributeLabelUoi = AttributeLabelUoiSports;
|
|
294
|
+
declare enum AttributeTypeUoiSportsBasketball {
|
|
295
|
+
Positions = 0
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>>;
|
|
299
|
+
|
|
300
|
+
declare enum BasketballPosition {
|
|
301
|
+
None = 0,
|
|
302
|
+
SG = 1,
|
|
303
|
+
PG = 2,
|
|
304
|
+
C = 4,
|
|
305
|
+
SF = 8,
|
|
306
|
+
PF = 16
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
|
|
310
|
+
|
|
311
|
+
declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
|
|
312
|
+
|
|
313
|
+
type AttributeTypeUoi = AttributeTypeUoiSports;
|
|
285
314
|
|
|
286
315
|
declare enum PetGender {
|
|
287
316
|
None = 0,
|
|
@@ -289,7 +318,7 @@ declare enum PetGender {
|
|
|
289
318
|
Female = 2
|
|
290
319
|
}
|
|
291
320
|
|
|
292
|
-
declare enum
|
|
321
|
+
declare enum AttributeTypeCollectionPets {
|
|
293
322
|
Breed = 0,
|
|
294
323
|
Dob = 1,
|
|
295
324
|
Father = 2,
|
|
@@ -299,28 +328,13 @@ declare enum AttributeLabelCollectionPets {
|
|
|
299
328
|
Weight = 6
|
|
300
329
|
}
|
|
301
330
|
|
|
302
|
-
type
|
|
303
|
-
|
|
304
|
-
declare const
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
1: string;
|
|
310
|
-
};
|
|
311
|
-
basketball: {
|
|
312
|
-
0: string;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
5: {
|
|
317
|
-
pets: typeof AttributeLabelCollectionPets;
|
|
318
|
-
};
|
|
319
|
-
0: {
|
|
320
|
-
0: string;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
|
|
331
|
+
type AttributeTypeCollection = AttributeTypeCollectionPets;
|
|
332
|
+
|
|
333
|
+
declare const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>>;
|
|
334
|
+
|
|
335
|
+
declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
|
|
336
|
+
|
|
337
|
+
type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
|
|
324
338
|
|
|
325
339
|
declare enum PageUpdateType {
|
|
326
340
|
None = 0,
|
|
@@ -341,53 +355,4 @@ declare enum SubjectType {
|
|
|
341
355
|
Reply = 4
|
|
342
356
|
}
|
|
343
357
|
|
|
344
|
-
|
|
345
|
-
Sports = "sports",
|
|
346
|
-
Pets = "pets",
|
|
347
|
-
Music = "music",
|
|
348
|
-
Dancing = "dancing",
|
|
349
|
-
Food = "food",
|
|
350
|
-
Photography = "photography",
|
|
351
|
-
Tourism = "tourism",
|
|
352
|
-
Other = "other",
|
|
353
|
-
None = ""
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
declare enum MusicInterestName {
|
|
357
|
-
Guitar = "guitar",
|
|
358
|
-
Singing = "singing",
|
|
359
|
-
Other = "other"
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
declare enum PetsInterestName {
|
|
363
|
-
Dog = "dog",
|
|
364
|
-
Cat = "cat",
|
|
365
|
-
Other = "other"
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
declare enum SportsInterestName {
|
|
369
|
-
Tennis = "tennis",
|
|
370
|
-
Pickleball = "pickleball",
|
|
371
|
-
Basketball = "basketball",
|
|
372
|
-
Golf = "golf",
|
|
373
|
-
Hiking = "hiking",
|
|
374
|
-
Running = "running",
|
|
375
|
-
Gym = "gym",
|
|
376
|
-
Baseball = "baseball",
|
|
377
|
-
Biking = "biking",
|
|
378
|
-
Yoga = "yoga",
|
|
379
|
-
TableTennis = "tabletennis",
|
|
380
|
-
Football = "football",
|
|
381
|
-
Soccer = "soccer",
|
|
382
|
-
Badminton = "badminton",
|
|
383
|
-
Skiing = "skiing",
|
|
384
|
-
Surfing = "surfing",
|
|
385
|
-
Swimming = "swimming",
|
|
386
|
-
Hockey = "hockey",
|
|
387
|
-
Other = "other"
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
|
|
391
|
-
declare const InterestNameNone: InterestName;
|
|
392
|
-
|
|
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 };
|
|
358
|
+
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,12 +202,11 @@ declare enum FollowingStatus {
|
|
|
202
202
|
Unfollowed = 5
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
declare enum
|
|
205
|
+
declare enum AttributeTypeCommon {
|
|
206
206
|
Handedness = 0
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
};
|
|
208
|
+
|
|
209
|
+
declare const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>>;
|
|
211
210
|
|
|
212
211
|
declare enum Handedness {
|
|
213
212
|
None = 0,
|
|
@@ -215,30 +214,63 @@ declare enum Handedness {
|
|
|
215
214
|
Right = 2
|
|
216
215
|
}
|
|
217
216
|
|
|
218
|
-
declare enum
|
|
219
|
-
|
|
217
|
+
declare enum CategoryName {
|
|
218
|
+
Sports = "sports",
|
|
219
|
+
Pets = "pets",
|
|
220
|
+
Music = "music",
|
|
221
|
+
Dancing = "dancing",
|
|
222
|
+
Food = "food",
|
|
223
|
+
Photography = "photography",
|
|
224
|
+
Tourism = "tourism",
|
|
225
|
+
Other = "other",
|
|
226
|
+
None = ""
|
|
220
227
|
}
|
|
221
|
-
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: {
|
|
222
|
-
0: string;
|
|
223
|
-
};
|
|
224
228
|
|
|
225
|
-
declare enum
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
declare enum MusicInterestName {
|
|
230
|
+
Guitar = "guitar",
|
|
231
|
+
Singing = "singing",
|
|
232
|
+
Other = "other"
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare enum PetsInterestName {
|
|
236
|
+
Dog = "dog",
|
|
237
|
+
Cat = "cat",
|
|
238
|
+
Other = "other"
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
declare enum SportsInterestName {
|
|
242
|
+
Tennis = "tennis",
|
|
243
|
+
Pickleball = "pickleball",
|
|
244
|
+
Basketball = "basketball",
|
|
245
|
+
Golf = "golf",
|
|
246
|
+
Hiking = "hiking",
|
|
247
|
+
Running = "running",
|
|
248
|
+
Gym = "gym",
|
|
249
|
+
Baseball = "baseball",
|
|
250
|
+
Biking = "biking",
|
|
251
|
+
Yoga = "yoga",
|
|
252
|
+
TableTennis = "tabletennis",
|
|
253
|
+
Football = "football",
|
|
254
|
+
Soccer = "soccer",
|
|
255
|
+
Badminton = "badminton",
|
|
256
|
+
Skiing = "skiing",
|
|
257
|
+
Surfing = "surfing",
|
|
258
|
+
Swimming = "swimming",
|
|
259
|
+
Hockey = "hockey",
|
|
260
|
+
Other = "other"
|
|
232
261
|
}
|
|
233
262
|
|
|
234
|
-
|
|
263
|
+
type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
|
|
264
|
+
declare const InterestNameNone: InterestName;
|
|
265
|
+
|
|
266
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>>;
|
|
267
|
+
|
|
268
|
+
declare enum AttributeTypeUoiSportsTennis {
|
|
235
269
|
Level = 0,
|
|
236
270
|
Bankhand = 1
|
|
237
271
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
1: string;
|
|
241
|
-
};
|
|
272
|
+
|
|
273
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>>;
|
|
242
274
|
|
|
243
275
|
declare enum TennisBackhand {
|
|
244
276
|
None = 0,
|
|
@@ -259,29 +291,26 @@ declare enum TennisLevel {
|
|
|
259
291
|
SixAbove = 9
|
|
260
292
|
}
|
|
261
293
|
|
|
262
|
-
declare
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
type AttributeLabelUoi = AttributeLabelUoiSports;
|
|
294
|
+
declare enum AttributeTypeUoiSportsBasketball {
|
|
295
|
+
Positions = 0
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
declare const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>>;
|
|
299
|
+
|
|
300
|
+
declare enum BasketballPosition {
|
|
301
|
+
None = 0,
|
|
302
|
+
SG = 1,
|
|
303
|
+
PG = 2,
|
|
304
|
+
C = 4,
|
|
305
|
+
SF = 8,
|
|
306
|
+
PF = 16
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
type AttributeTypeUoiSports = typeof ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS | typeof ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL;
|
|
310
|
+
|
|
311
|
+
declare const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>>;
|
|
312
|
+
|
|
313
|
+
type AttributeTypeUoi = AttributeTypeUoiSports;
|
|
285
314
|
|
|
286
315
|
declare enum PetGender {
|
|
287
316
|
None = 0,
|
|
@@ -289,7 +318,7 @@ declare enum PetGender {
|
|
|
289
318
|
Female = 2
|
|
290
319
|
}
|
|
291
320
|
|
|
292
|
-
declare enum
|
|
321
|
+
declare enum AttributeTypeCollectionPets {
|
|
293
322
|
Breed = 0,
|
|
294
323
|
Dob = 1,
|
|
295
324
|
Father = 2,
|
|
@@ -299,28 +328,13 @@ declare enum AttributeLabelCollectionPets {
|
|
|
299
328
|
Weight = 6
|
|
300
329
|
}
|
|
301
330
|
|
|
302
|
-
type
|
|
303
|
-
|
|
304
|
-
declare const
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
1: string;
|
|
310
|
-
};
|
|
311
|
-
basketball: {
|
|
312
|
-
0: string;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
5: {
|
|
317
|
-
pets: typeof AttributeLabelCollectionPets;
|
|
318
|
-
};
|
|
319
|
-
0: {
|
|
320
|
-
0: string;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
type AttributeLabel = AttributeLabelUoi | AttributeLabelCollection | AttributeLabelCommon;
|
|
331
|
+
type AttributeTypeCollection = AttributeTypeCollectionPets;
|
|
332
|
+
|
|
333
|
+
declare const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>>;
|
|
334
|
+
|
|
335
|
+
declare const ATTRIBUTE_LABEL: Partial<Record<ProfileType, any>>;
|
|
336
|
+
|
|
337
|
+
type AttributeType = AttributeTypeUoi | AttributeTypeCollection | AttributeTypeCommon;
|
|
324
338
|
|
|
325
339
|
declare enum PageUpdateType {
|
|
326
340
|
None = 0,
|
|
@@ -341,53 +355,4 @@ declare enum SubjectType {
|
|
|
341
355
|
Reply = 4
|
|
342
356
|
}
|
|
343
357
|
|
|
344
|
-
|
|
345
|
-
Sports = "sports",
|
|
346
|
-
Pets = "pets",
|
|
347
|
-
Music = "music",
|
|
348
|
-
Dancing = "dancing",
|
|
349
|
-
Food = "food",
|
|
350
|
-
Photography = "photography",
|
|
351
|
-
Tourism = "tourism",
|
|
352
|
-
Other = "other",
|
|
353
|
-
None = ""
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
declare enum MusicInterestName {
|
|
357
|
-
Guitar = "guitar",
|
|
358
|
-
Singing = "singing",
|
|
359
|
-
Other = "other"
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
declare enum PetsInterestName {
|
|
363
|
-
Dog = "dog",
|
|
364
|
-
Cat = "cat",
|
|
365
|
-
Other = "other"
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
declare enum SportsInterestName {
|
|
369
|
-
Tennis = "tennis",
|
|
370
|
-
Pickleball = "pickleball",
|
|
371
|
-
Basketball = "basketball",
|
|
372
|
-
Golf = "golf",
|
|
373
|
-
Hiking = "hiking",
|
|
374
|
-
Running = "running",
|
|
375
|
-
Gym = "gym",
|
|
376
|
-
Baseball = "baseball",
|
|
377
|
-
Biking = "biking",
|
|
378
|
-
Yoga = "yoga",
|
|
379
|
-
TableTennis = "tabletennis",
|
|
380
|
-
Football = "football",
|
|
381
|
-
Soccer = "soccer",
|
|
382
|
-
Badminton = "badminton",
|
|
383
|
-
Skiing = "skiing",
|
|
384
|
-
Surfing = "surfing",
|
|
385
|
-
Swimming = "swimming",
|
|
386
|
-
Hockey = "hockey",
|
|
387
|
-
Other = "other"
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
type InterestName = SportsInterestName | PetsInterestName | MusicInterestName | '';
|
|
391
|
-
declare const InterestNameNone: InterestName;
|
|
392
|
-
|
|
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 };
|
|
358
|
+
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
|
-
export const ATTRIBUTE_LABEL_COLLECTION = {
|
|
5
|
-
[CategoryName.Pets]:
|
|
4
|
+
export const ATTRIBUTE_LABEL_COLLECTION: Partial<Record<CategoryName, any>> = {
|
|
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';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
Handedness,
|
|
3
|
-
}
|
|
1
|
+
import { AttributeTypeCommon } from './type';
|
|
4
2
|
|
|
5
|
-
export const ATTRIBUTE_LABEL_COMMON = {
|
|
6
|
-
[
|
|
3
|
+
export const ATTRIBUTE_LABEL_COMMON: Partial<Record<AttributeTypeCommon, any>> = {
|
|
4
|
+
[AttributeTypeCommon.Handedness]: 'Handedness',
|
|
7
5
|
};
|
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
|
-
export const ATTRIBUTE_LABEL = {
|
|
7
|
+
export const ATTRIBUTE_LABEL:Partial<Record<ProfileType, any>> = {
|
|
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
|
|
2
|
+
import { ATTRIBUTE_LABEL_UOI_SPORTS } from './sports';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
export const ATTRIBUTE_LABEL_UOI = {
|
|
4
|
+
export const ATTRIBUTE_LABEL_UOI: Partial<Record<CategoryName, any>> = {
|
|
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
|
-
export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL = {
|
|
6
|
-
[
|
|
3
|
+
export const ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL: Partial<Record<AttributeTypeUoiSportsBasketball, any>> = {
|
|
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
|
-
export const ATTRIBUTE_LABEL_UOI_SPORTS = {
|
|
5
|
+
export const ATTRIBUTE_LABEL_UOI_SPORTS: Partial<Record<SportsInterestName, any>> = {
|
|
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
|
-
export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS = {
|
|
6
|
-
[
|
|
7
|
-
[
|
|
3
|
+
export const ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS: Partial<Record<AttributeTypeUoiSportsTennis, any>> = {
|
|
4
|
+
[AttributeTypeUoiSportsTennis.Level]: 'Level',
|
|
5
|
+
[AttributeTypeUoiSportsTennis.Bankhand]: 'Bankhand',
|
|
8
6
|
};
|