wenum 1.69.1 → 1.70.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
|
@@ -24,6 +24,10 @@ type MarketTypeSports = MarketTypeTennis;
|
|
|
24
24
|
|
|
25
25
|
type CommonMarketType = "0_shop" | "1_repair" | "2_rental" | "3_exchange" | "4_giveaway" | "5_lost" | "6_found" | "other";
|
|
26
26
|
type MarketType = CommonMarketType | MarketTypePets | MarketTypeSports;
|
|
27
|
+
interface MarketMetaProps {
|
|
28
|
+
marketType: MarketType;
|
|
29
|
+
label: string;
|
|
30
|
+
}
|
|
27
31
|
|
|
28
32
|
type UserPronoun = "none" | "he" | "she";
|
|
29
33
|
|
|
@@ -36,8 +40,6 @@ declare enum AttendanceStatus {
|
|
|
36
40
|
Left = 5
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
type DuelGameResultType = "loss" | "tie" | "win";
|
|
40
|
-
|
|
41
43
|
type GameTypeOther = 'other';
|
|
42
44
|
|
|
43
45
|
type GameTypeBasketball = '0_1on1' | '1_halfcourt' | '2_fullcourt' | '3_3point' | '4_slamdunk' | GameTypeOther;
|
|
@@ -52,6 +54,13 @@ type GameTypeSports = GameTypeBasketball | GameTypeRunning | GameTypeTennis | Ga
|
|
|
52
54
|
|
|
53
55
|
type GameType = GameTypeSports;
|
|
54
56
|
|
|
57
|
+
type DuelGameResultType = "loss" | "tie" | "win";
|
|
58
|
+
|
|
59
|
+
interface GameMetaProps {
|
|
60
|
+
gameType: GameType;
|
|
61
|
+
label: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
55
64
|
type LeaderboardType = "score" | "duel" | "time" | "distance" | "weight";
|
|
56
65
|
|
|
57
66
|
declare enum AvatarType {
|
|
@@ -82,11 +91,6 @@ declare function isLeaderboardPID(pid: string): boolean;
|
|
|
82
91
|
|
|
83
92
|
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
84
93
|
|
|
85
|
-
type CollectionMetaStatus = "inactive" | "active" | "none";
|
|
86
|
-
type CollectionStatus = "inactive" | "active" | "none";
|
|
87
|
-
type CollectionPrivacy = "public" | "private";
|
|
88
|
-
type CollectionOwnerStatus = "owned";
|
|
89
|
-
|
|
90
94
|
type CollectionTypeOther = 'zzzother';
|
|
91
95
|
|
|
92
96
|
type CollectionTypeCat = '0cat' | 'bed' | 'cage' | 'carrier' | 'clothing' | 'food' | CollectionTypeOther;
|
|
@@ -101,6 +105,15 @@ type CollectionTypeSports = CollectionTypeTennis;
|
|
|
101
105
|
|
|
102
106
|
type CollectionType = CollectionTypePets | CollectionTypeSports;
|
|
103
107
|
|
|
108
|
+
type CollectionMetaStatus = "inactive" | "active" | "none";
|
|
109
|
+
type CollectionStatus = "inactive" | "active" | "none";
|
|
110
|
+
type CollectionPrivacy = "public" | "private";
|
|
111
|
+
type CollectionOwnerStatus = "owned";
|
|
112
|
+
interface CollectionMetaProps {
|
|
113
|
+
collectionType: CollectionType;
|
|
114
|
+
label: string;
|
|
115
|
+
}
|
|
116
|
+
|
|
104
117
|
type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
|
|
105
118
|
declare enum AdminAccountStatus {
|
|
106
119
|
None = 0,
|
|
@@ -199,4 +212,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
199
212
|
attributeType: CollectionAttributeType;
|
|
200
213
|
}) => any;
|
|
201
214
|
|
|
202
|
-
export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, getCollectionAttributeLabel, getCommonAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
215
|
+
export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaProps, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameMetaProps, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, getCollectionAttributeLabel, getCommonAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ type MarketTypeSports = MarketTypeTennis;
|
|
|
24
24
|
|
|
25
25
|
type CommonMarketType = "0_shop" | "1_repair" | "2_rental" | "3_exchange" | "4_giveaway" | "5_lost" | "6_found" | "other";
|
|
26
26
|
type MarketType = CommonMarketType | MarketTypePets | MarketTypeSports;
|
|
27
|
+
interface MarketMetaProps {
|
|
28
|
+
marketType: MarketType;
|
|
29
|
+
label: string;
|
|
30
|
+
}
|
|
27
31
|
|
|
28
32
|
type UserPronoun = "none" | "he" | "she";
|
|
29
33
|
|
|
@@ -36,8 +40,6 @@ declare enum AttendanceStatus {
|
|
|
36
40
|
Left = 5
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
type DuelGameResultType = "loss" | "tie" | "win";
|
|
40
|
-
|
|
41
43
|
type GameTypeOther = 'other';
|
|
42
44
|
|
|
43
45
|
type GameTypeBasketball = '0_1on1' | '1_halfcourt' | '2_fullcourt' | '3_3point' | '4_slamdunk' | GameTypeOther;
|
|
@@ -52,6 +54,13 @@ type GameTypeSports = GameTypeBasketball | GameTypeRunning | GameTypeTennis | Ga
|
|
|
52
54
|
|
|
53
55
|
type GameType = GameTypeSports;
|
|
54
56
|
|
|
57
|
+
type DuelGameResultType = "loss" | "tie" | "win";
|
|
58
|
+
|
|
59
|
+
interface GameMetaProps {
|
|
60
|
+
gameType: GameType;
|
|
61
|
+
label: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
55
64
|
type LeaderboardType = "score" | "duel" | "time" | "distance" | "weight";
|
|
56
65
|
|
|
57
66
|
declare enum AvatarType {
|
|
@@ -82,11 +91,6 @@ declare function isLeaderboardPID(pid: string): boolean;
|
|
|
82
91
|
|
|
83
92
|
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
84
93
|
|
|
85
|
-
type CollectionMetaStatus = "inactive" | "active" | "none";
|
|
86
|
-
type CollectionStatus = "inactive" | "active" | "none";
|
|
87
|
-
type CollectionPrivacy = "public" | "private";
|
|
88
|
-
type CollectionOwnerStatus = "owned";
|
|
89
|
-
|
|
90
94
|
type CollectionTypeOther = 'zzzother';
|
|
91
95
|
|
|
92
96
|
type CollectionTypeCat = '0cat' | 'bed' | 'cage' | 'carrier' | 'clothing' | 'food' | CollectionTypeOther;
|
|
@@ -101,6 +105,15 @@ type CollectionTypeSports = CollectionTypeTennis;
|
|
|
101
105
|
|
|
102
106
|
type CollectionType = CollectionTypePets | CollectionTypeSports;
|
|
103
107
|
|
|
108
|
+
type CollectionMetaStatus = "inactive" | "active" | "none";
|
|
109
|
+
type CollectionStatus = "inactive" | "active" | "none";
|
|
110
|
+
type CollectionPrivacy = "public" | "private";
|
|
111
|
+
type CollectionOwnerStatus = "owned";
|
|
112
|
+
interface CollectionMetaProps {
|
|
113
|
+
collectionType: CollectionType;
|
|
114
|
+
label: string;
|
|
115
|
+
}
|
|
116
|
+
|
|
104
117
|
type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
|
|
105
118
|
declare enum AdminAccountStatus {
|
|
106
119
|
None = 0,
|
|
@@ -199,4 +212,4 @@ declare const getCollectionAttributeLabel: ({ categoryType, interestType, attrib
|
|
|
199
212
|
attributeType: CollectionAttributeType;
|
|
200
213
|
}) => any;
|
|
201
214
|
|
|
202
|
-
export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, getCollectionAttributeLabel, getCommonAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
|
215
|
+
export { type AccountStatus, AdminAccountStatus, AttendanceStatus, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionAttributeType, type CollectionMetaProps, type CollectionMetaStatus, type CollectionOwnerStatus, type CollectionPetsAttributeType, type CollectionPrivacy, type CollectionStatus, type CollectionType, type CommonAttributeType, type CommonMarketType, type DuelGameResultType, FollowingStatus, type GameMetaProps, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaProps, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, type UoiAttributeType, type UoiSportsAttributeType, type UoiSportsBasketballAttributeType, type UoiSportsTennisAttributeType, type UserPronoun, type WeightUnit, getCollectionAttributeLabel, getCommonAttributeLabel, getPIDPrefixByProfileType, getProfileTypeByPID, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CollectionType } from './type';
|
|
2
|
+
|
|
1
3
|
export type CollectionMetaStatus =
|
|
2
4
|
"inactive" |
|
|
3
5
|
"active" |
|
|
@@ -13,4 +15,9 @@ export type CollectionPrivacy =
|
|
|
13
15
|
"private";
|
|
14
16
|
|
|
15
17
|
export type CollectionOwnerStatus =
|
|
16
|
-
"owned";
|
|
18
|
+
"owned";
|
|
19
|
+
|
|
20
|
+
export interface CollectionMetaProps {
|
|
21
|
+
collectionType: CollectionType;
|
|
22
|
+
label: string;
|
|
23
|
+
}
|
|
@@ -11,4 +11,9 @@ export type CommonMarketType =
|
|
|
11
11
|
"6_found" |
|
|
12
12
|
"other";
|
|
13
13
|
|
|
14
|
-
export type MarketType = CommonMarketType | MarketTypePets | MarketTypeSports;
|
|
14
|
+
export type MarketType = CommonMarketType | MarketTypePets | MarketTypeSports;
|
|
15
|
+
|
|
16
|
+
export interface MarketMetaProps {
|
|
17
|
+
marketType: MarketType;
|
|
18
|
+
label: string;
|
|
19
|
+
}
|