wenum 1.93.0 → 2.0.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/.claude/settings.local.json +7 -0
- package/dist/index.cjs +405 -0
- package/dist/{index.d.ts → index.d.cts} +208 -134
- package/dist/index.d.mts +208 -134
- package/dist/index.mjs +320 -425
- package/package.json +15 -10
- package/src/page/entity.ts +3 -1
- package/src/r2/avatarR2Folder.ts +5 -4
- package/tsconfig.json +1 -2
- package/dist/index.js +0 -536
package/dist/index.d.mts
CHANGED
|
@@ -1,83 +1,109 @@
|
|
|
1
|
+
//#region src/page/page.d.ts
|
|
1
2
|
type PageType = "none" | "profile" | "post" | "loi" | "location" | "collection";
|
|
2
|
-
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/page/profile/profile.d.ts
|
|
3
5
|
type ProfileType = "none" | "user" | "uoi" | "market" | "arena" | "organization" | "event" | "team" | "leaderboard" | "game";
|
|
4
6
|
type ProfilePrivacy = "public" | "private" | "internal";
|
|
5
7
|
type ProfilePermission = "none" | "admin" | "connected" | "following" | "blocked";
|
|
6
8
|
type ProfileStatus = "none" | "active" | "inactive";
|
|
7
9
|
declare enum ChallengeStatus {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
None = 0,
|
|
11
|
+
Open = 1,
|
|
12
|
+
Closed = 2
|
|
11
13
|
}
|
|
12
|
-
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/page/profile/market/status.d.ts
|
|
13
16
|
type MarketMetaStatus = "none" | "active" | "inactive";
|
|
14
|
-
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/page/profile/market/type/pets/cat.d.ts
|
|
15
19
|
type MarketTypeCat = '0_catsitting' | '1_grooming' | '2_dating';
|
|
16
|
-
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/page/profile/market/type/pets/dog.d.ts
|
|
17
22
|
type MarketTypeDog = '0_dogsitting' | '1_grooming' | '2_dating';
|
|
18
|
-
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/page/profile/market/type/pets/index.d.ts
|
|
19
25
|
type MarketTypePets = MarketTypeCat | MarketTypeDog;
|
|
20
|
-
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/page/profile/market/type/sports/tennis.d.ts
|
|
21
28
|
type MarketTypeTennis = '0_coaching' | '1_stringing';
|
|
22
|
-
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/page/profile/market/type/sports/index.d.ts
|
|
23
31
|
type MarketTypeSports = MarketTypeTennis;
|
|
24
|
-
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/page/profile/market/type/index.d.ts
|
|
25
34
|
type CommonMarketType = "0_shop" | "1_repair" | "2_rental" | "3_exchange" | "4_giveaway" | "5_lost" | "6_found" | "other";
|
|
26
35
|
type MarketType = CommonMarketType | MarketTypePets | MarketTypeSports;
|
|
27
36
|
interface MarketMetaProps {
|
|
28
|
-
|
|
29
|
-
|
|
37
|
+
marketType: MarketType;
|
|
38
|
+
label: string;
|
|
30
39
|
}
|
|
31
40
|
declare const ZeroMarketOption: {
|
|
32
|
-
|
|
33
|
-
|
|
41
|
+
label: string;
|
|
42
|
+
marketType: string;
|
|
34
43
|
};
|
|
35
|
-
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/page/profile/user.d.ts
|
|
36
46
|
type UserPronoun = "none" | "he" | "she";
|
|
37
|
-
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/page/profile/event.d.ts
|
|
38
49
|
declare enum AttendanceStatus {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
50
|
+
None = 0,
|
|
51
|
+
Pending = 1,
|
|
52
|
+
OnTime = 2,
|
|
53
|
+
Late = 3,
|
|
54
|
+
CheckedIn = 4,
|
|
55
|
+
Left = 5
|
|
45
56
|
}
|
|
46
|
-
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/page/profile/game/type/util.d.ts
|
|
47
59
|
type GameTypeOther = 'other';
|
|
48
|
-
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/page/profile/game/type/sports/basketball/index.d.ts
|
|
49
62
|
type GameTypeBasketball = '0_1on1' | '1_halfcourt' | '2_fullcourt' | '3_3point' | '4_slamdunk' | GameTypeOther;
|
|
50
|
-
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/page/profile/game/type/sports/running/index.d.ts
|
|
51
65
|
type GameTypeRunning = '0_100m' | '1_200m' | '2_400m' | '3_800m' | '4_1500m' | '5_5km' | '6_10km' | '7_halfmarathon' | '8_marathon' | GameTypeOther;
|
|
52
|
-
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/page/profile/game/type/sports/tennis/index.d.ts
|
|
53
68
|
type GameTypeTennis = '0_single' | '1_double' | GameTypeOther;
|
|
54
|
-
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/page/profile/game/type/sports/golf/index.d.ts
|
|
55
71
|
type GameTypeGolf = '0_18hole' | '1_9hole' | '2_drivingrange' | '3_putting' | '4_minigolf' | GameTypeOther;
|
|
56
|
-
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/page/profile/game/type/sports/index.d.ts
|
|
57
74
|
type GameTypeSports = GameTypeBasketball | GameTypeRunning | GameTypeTennis | GameTypeGolf;
|
|
58
|
-
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/page/profile/game/type/index.d.ts
|
|
59
77
|
type GameType = GameTypeSports;
|
|
60
|
-
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/page/profile/game/duel.d.ts
|
|
61
80
|
type DuelGameResultType = "loss" | "tie" | "win";
|
|
62
|
-
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/page/profile/game/index.d.ts
|
|
63
83
|
interface GameMetaProps {
|
|
64
|
-
|
|
65
|
-
|
|
84
|
+
gameType: GameType;
|
|
85
|
+
label: string;
|
|
66
86
|
}
|
|
67
87
|
declare const ZeroGameMeta: GameMetaProps;
|
|
68
|
-
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region src/page/profile/leaderboard.d.ts
|
|
69
90
|
type LeaderboardType = "score" | "duel" | "time" | "distance" | "weight";
|
|
70
|
-
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/page/profile/player.d.ts
|
|
71
93
|
type PlayerType = 'uoi' | 'team' | 'collection';
|
|
72
|
-
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region src/page/post.d.ts
|
|
73
96
|
type PostPrivacy = "public" | "private" | "parent" | "internal";
|
|
74
|
-
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region src/page/location.d.ts
|
|
75
99
|
type LocationType = "none" | "point" | "street" | "city";
|
|
76
|
-
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region src/page/entity.d.ts
|
|
77
102
|
type AddingEntityType = "gameToLeaderboard" | "playerToDuelGame" | "playerToNonDuelGame" | "memberToCircle";
|
|
78
|
-
type EntityType =
|
|
103
|
+
type EntityType = ProfileType | "collection";
|
|
79
104
|
declare function getPIDPrefixByEntityType(entityType: EntityType): string;
|
|
80
|
-
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/page/pid.d.ts
|
|
81
107
|
type PIDPrefixType = 'usr' | 'uoi' | 'tms' | 'arn' | 'evt' | 'col' | 'lbd' | 'gme' | 'mkt' | 'org' | 'lcp' | 'lcs' | 'lcc' | 'lip' | 'lis' | 'lic' | 'txt' | 'img' | 'pol' | 'vid' | '';
|
|
82
108
|
declare const PID_LENGTH = 9;
|
|
83
109
|
declare const PID_PREFIX_LENGTH = 3;
|
|
@@ -88,189 +114,237 @@ declare function isTeamPID(pid: string): boolean;
|
|
|
88
114
|
declare function isUoiPID(pid: string): boolean;
|
|
89
115
|
declare function isGamePID(pid: string): boolean;
|
|
90
116
|
declare function isLeaderboardPID(pid: string): boolean;
|
|
91
|
-
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/page/broadcast.d.ts
|
|
92
119
|
type BroadcastType = 'info' | 'warn' | 'alert';
|
|
93
|
-
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/page/collection/type/util.d.ts
|
|
94
122
|
type CollectionTypeOther = 'zzzother';
|
|
95
|
-
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/page/collection/type/pets/cat.d.ts
|
|
96
125
|
type CollectionTypeCat = '0cat' | 'bed' | 'cage' | 'carrier' | 'clothing' | 'food' | CollectionTypeOther;
|
|
97
|
-
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/page/collection/type/pets/dog.d.ts
|
|
98
128
|
type CollectionTypeDog = '0dog' | 'bed' | 'cage' | 'carrier' | 'clothing' | 'collar' | 'food' | 'house' | 'leash' | CollectionTypeOther;
|
|
99
|
-
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/page/collection/type/pets/index.d.ts
|
|
100
131
|
type CollectionTypePets = CollectionTypeCat | CollectionTypeDog;
|
|
101
|
-
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region src/page/collection/type/sports/tennis.d.ts
|
|
102
134
|
type CollectionTypeTennis = '0racket' | 'ball' | 'ballmachine' | 'shoes' | 'overgrip' | 'tennisstring' | CollectionTypeOther;
|
|
103
|
-
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/page/collection/type/sports/index.d.ts
|
|
104
137
|
type CollectionTypeSports = CollectionTypeTennis;
|
|
105
|
-
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/page/collection/type/index.d.ts
|
|
106
140
|
type CollectionType = CollectionTypePets | CollectionTypeSports;
|
|
107
|
-
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/page/collection/other.d.ts
|
|
108
143
|
type CollectionMetaStatus = "inactive" | "active" | "none";
|
|
109
144
|
type CollectionStatus = "inactive" | "active" | "none";
|
|
110
145
|
type CollectionPrivacy = "public" | "private";
|
|
111
146
|
type CollectionOwnerStatus = "owned";
|
|
112
147
|
interface CollectionMetaProps {
|
|
113
|
-
|
|
114
|
-
|
|
148
|
+
collectionType: CollectionType;
|
|
149
|
+
label: string;
|
|
115
150
|
}
|
|
116
151
|
declare const ZeroCollectionMeta: CollectionMetaProps;
|
|
117
|
-
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/page/nearby.d.ts
|
|
118
154
|
interface NearbyProps {
|
|
119
|
-
|
|
155
|
+
h3Cell: string;
|
|
120
156
|
}
|
|
121
157
|
interface InterestNearbyProps extends NearbyProps {
|
|
122
|
-
|
|
158
|
+
interestID: string;
|
|
123
159
|
}
|
|
124
160
|
interface IsUpcomingProps {
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
interface EventsNearbyProps extends InterestNearbyProps, IsUpcomingProps {
|
|
161
|
+
isUpcoming?: boolean;
|
|
128
162
|
}
|
|
163
|
+
interface EventsNearbyProps extends InterestNearbyProps, IsUpcomingProps {}
|
|
129
164
|
interface MarketsByTypeNearbyProps extends InterestNearbyProps {
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
interface GamesNearbyProps extends InterestNearbyProps, IsUpcomingProps {
|
|
165
|
+
marketType: MarketType;
|
|
133
166
|
}
|
|
167
|
+
interface GamesNearbyProps extends InterestNearbyProps, IsUpcomingProps {}
|
|
134
168
|
interface GamesByTypeNearbyProps extends GamesNearbyProps {
|
|
135
|
-
|
|
169
|
+
gameType: GameType;
|
|
136
170
|
}
|
|
137
171
|
interface LeaderboardsByGameTypeNearbyProps extends InterestNearbyProps {
|
|
138
|
-
|
|
172
|
+
gameType: GameType;
|
|
139
173
|
}
|
|
140
174
|
declare const getNearbyIndex: (h3Cell: string, interestID: string) => string;
|
|
141
|
-
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region src/page/attachment.d.ts
|
|
142
177
|
declare enum AttachmentType {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
178
|
+
None = 0,
|
|
179
|
+
Image = 1,
|
|
180
|
+
Video = 2,
|
|
181
|
+
Poll = 4
|
|
147
182
|
}
|
|
148
|
-
|
|
183
|
+
//#endregion
|
|
184
|
+
//#region src/auth.d.ts
|
|
149
185
|
type AccountStatus = "none" | "registrationNeedBasicInfo" | "registrationNeedInterests" | "active" | "inactive";
|
|
150
186
|
declare enum AdminAccountStatus {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
187
|
+
None = 0,
|
|
188
|
+
Active = 1,
|
|
189
|
+
Inactive = 2
|
|
154
190
|
}
|
|
155
|
-
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region src/connection.d.ts
|
|
156
193
|
type BuddyingStatus = "removedByRequestee" | "removedByRequester" | "withdrawn" | "ignored" | "accepted" | "pendingReceived" | "pendingSent" | "none";
|
|
157
194
|
type MemberingStatus = "none" | "admined" | "membered" | "pendingApply" | "ignoredApply" | "withdrawnApply" | "memberLeft" | "pendingInvite" | "ignoredInvite" | "withdrawnInvite" | "memberRemoved";
|
|
158
195
|
declare enum FollowingStatus {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
196
|
+
None = 0,
|
|
197
|
+
Pending = 1,
|
|
198
|
+
Approved = 2,
|
|
199
|
+
Blocked = 3,
|
|
200
|
+
Withdrawn = 4,
|
|
201
|
+
Unfollowed = 5
|
|
165
202
|
}
|
|
166
|
-
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/attribute/common.d.ts
|
|
167
205
|
type Handedness = "right" | "left" | "none";
|
|
168
206
|
type Gender = "female" | "male" | "none";
|
|
169
|
-
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region src/attribute/uoi/sports/tennis.d.ts
|
|
170
209
|
type TennisBackhand = "none" | "single" | "double" | "both";
|
|
171
210
|
type TennisLevel = "none" | "twoBelow" | "twoFive" | "three" | "threeFive" | "four" | "fourFive" | "five" | "fiveFive" | "sixAbove";
|
|
172
|
-
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/attribute/uoi/sports/basketball.d.ts
|
|
173
213
|
declare enum BasketballPosition {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
214
|
+
None = 0,
|
|
215
|
+
SG = 1,
|
|
216
|
+
PG = 2,
|
|
217
|
+
C = 4,
|
|
218
|
+
SF = 8,
|
|
219
|
+
PF = 16
|
|
180
220
|
}
|
|
181
|
-
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/comment.d.ts
|
|
182
223
|
type SubjectType = "none" | "post" | "rating" | "comment" | "reply";
|
|
183
|
-
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/interest/category.d.ts
|
|
184
226
|
type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | '4_music' | '5_travel' | '6_leisure' | '';
|
|
185
227
|
declare const ALL_INTEREST_CATEGORIES: Exclude<CategoryType, ''>[];
|
|
186
|
-
|
|
228
|
+
//#endregion
|
|
229
|
+
//#region src/interest/interestByCategory/cardgames.d.ts
|
|
187
230
|
type CardGamesInterestType = 'texasholdem' | 'omaha' | 'blackjack';
|
|
188
231
|
declare const ALL_CARDGAMES_INTERESTS: CardGamesInterestType[];
|
|
189
|
-
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region src/interest/interestByCategory/music.d.ts
|
|
190
234
|
type MusicInterestType = 'singing' | 'guitar' | 'piano' | 'violin' | 'cello' | 'bass' | 'drum' | 'saxophone' | 'flute' | 'harp' | 'keytar' | 'trombone' | 'tuba' | 'clarinet';
|
|
191
235
|
declare const ALL_MUSIC_INTERESTS: MusicInterestType[];
|
|
192
|
-
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/interest/interestByCategory/pets.d.ts
|
|
193
238
|
type PetsInterestType = 'dog' | 'cat';
|
|
194
239
|
declare const ALL_PETS_INTERESTS: PetsInterestType[];
|
|
195
|
-
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region src/interest/interestByCategory/sports.d.ts
|
|
196
242
|
type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hiking' | 'running' | 'gym' | 'baseball' | 'biking' | 'yoga' | 'tabletennis' | 'football' | 'soccer' | 'badminton' | 'skiing' | 'surfing' | 'swimming' | 'hockey';
|
|
197
243
|
declare const ALL_SPORTS_INTERESTS: SportsInterestType[];
|
|
198
|
-
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region src/interest/interestByCategory/travel.d.ts
|
|
199
246
|
type TravelInterestType = 'landmark' | 'nationalpark' | 'beach' | 'museum' | 'garden' | 'zoo' | 'food' | 'entertainment' | 'drinks' | 'cruise' | 'culture' | 'heritage' | 'island' | 'lake' | 'river' | 'waterfall' | 'cave' | 'desert' | 'mountain' | 'forest' | 'wellness' | 'wildlife' | 'technology';
|
|
200
247
|
declare const ALL_TRAVEL_INTERESTS: TravelInterestType[];
|
|
201
|
-
|
|
248
|
+
//#endregion
|
|
249
|
+
//#region src/interest/interestByCategory/leisure.d.ts
|
|
202
250
|
type LeisureInterestType = 'walking' | 'movie' | 'concert' | 'dining' | 'shopping' | 'camping' | 'picnic' | 'show';
|
|
203
251
|
declare const ALL_LEISURE_INTERESTS: LeisureInterestType[];
|
|
204
|
-
|
|
252
|
+
//#endregion
|
|
253
|
+
//#region src/interest/interestByCategory/interest.d.ts
|
|
205
254
|
type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | TravelInterestType | LeisureInterestType | '';
|
|
206
255
|
declare const INTERESTS_BY_CATEGORY: Record<Exclude<CategoryType, ''>, InterestType[]>;
|
|
207
|
-
|
|
256
|
+
//#endregion
|
|
257
|
+
//#region src/common/measure.d.ts
|
|
208
258
|
type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
|
|
209
259
|
type WeightUnit = "kg" | "g" | "lb" | "oz";
|
|
210
|
-
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region src/common/socialMedia.d.ts
|
|
211
262
|
type SocialMediaType = "none" | "facebook" | "linkedIn" | "instagram";
|
|
212
|
-
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region src/notification.d.ts
|
|
213
265
|
type NotificationType = "addBuddy" | "acceptBuddy" | "uoiJoinCircle" | "acceptUoiJoinCircle" | "inviteUoiToCircle" | "acceptInviteUoiToCircle" | "teamJoinCircle" | "acceptTeamJoinCircle" | "inviteTeamToCircle" | "acceptInviteTeamToCircle" | "addGameToLeaderboard" | "acceptAddGameToLeaderboard" | "inviteGameToLeaderboard" | "acceptInviteGameToLeaderboard" | "createPost";
|
|
214
|
-
|
|
266
|
+
//#endregion
|
|
267
|
+
//#region src/meta/common/type.d.ts
|
|
215
268
|
type CommonAttributeType = 'handedness' | 'gender' | 'dob';
|
|
216
|
-
|
|
269
|
+
//#endregion
|
|
270
|
+
//#region src/meta/common/label.d.ts
|
|
217
271
|
declare const COMMON_ATTRIBUTE_LABEL: Record<CommonAttributeType, string>;
|
|
218
|
-
|
|
272
|
+
//#endregion
|
|
273
|
+
//#region src/meta/common/util.d.ts
|
|
219
274
|
declare const getCommonAttributeLabel: ({ attributeType }: {
|
|
220
|
-
|
|
275
|
+
attributeType: CommonAttributeType;
|
|
221
276
|
}) => string;
|
|
222
|
-
|
|
277
|
+
//#endregion
|
|
278
|
+
//#region src/meta/uoi/sports/tennis/type.d.ts
|
|
223
279
|
type UoiSportsTennisAttributeType = 'level' | 'backhand' | 'handedness';
|
|
224
|
-
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/meta/uoi/sports/tennis/label.d.ts
|
|
225
282
|
declare const UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL: Record<UoiSportsTennisAttributeType, string>;
|
|
226
|
-
|
|
283
|
+
//#endregion
|
|
284
|
+
//#region src/meta/uoi/sports/basketball/type.d.ts
|
|
227
285
|
type UoiSportsBasketballAttributeType = 'positions';
|
|
228
|
-
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/meta/uoi/sports/basketball/label.d.ts
|
|
229
288
|
declare const UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL: Record<UoiSportsBasketballAttributeType, string>;
|
|
230
|
-
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region src/meta/uoi/sports/label.d.ts
|
|
231
291
|
declare const UOI_SPORTS_ATTRIBUTE_LABEL: Partial<Record<SportsInterestType, any>>;
|
|
232
|
-
|
|
292
|
+
//#endregion
|
|
293
|
+
//#region src/meta/uoi/sports/type.d.ts
|
|
233
294
|
type UoiSportsAttributeType = UoiSportsTennisAttributeType | UoiSportsBasketballAttributeType;
|
|
234
|
-
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region src/meta/uoi/label.d.ts
|
|
235
297
|
declare const UOI_ATTRIBUTE_LABEL: Partial<Record<CategoryType, any>>;
|
|
236
|
-
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region src/meta/uoi/type.d.ts
|
|
237
300
|
type UoiAttributeType = UoiSportsAttributeType;
|
|
238
|
-
|
|
301
|
+
//#endregion
|
|
302
|
+
//#region src/meta/uoi/util.d.ts
|
|
239
303
|
declare const getUoiAttributeLabel: ({ categoryType, interestType, attributeType }: {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
304
|
+
categoryType: CategoryType;
|
|
305
|
+
interestType?: InterestType;
|
|
306
|
+
attributeType: UoiAttributeType;
|
|
243
307
|
}) => any;
|
|
244
|
-
|
|
308
|
+
//#endregion
|
|
309
|
+
//#region src/meta/collection/pets/type.d.ts
|
|
245
310
|
type CollectionPetsAttributeType = 'dob' | 'breed' | 'father' | 'mother' | 'gender' | 'height' | 'weight' | 'children';
|
|
246
|
-
|
|
311
|
+
//#endregion
|
|
312
|
+
//#region src/meta/collection/pets/label.d.ts
|
|
247
313
|
declare const COLLECTION_PETS_ATTRIBUTE_LABEL: Record<CollectionPetsAttributeType, string>;
|
|
248
|
-
|
|
314
|
+
//#endregion
|
|
315
|
+
//#region src/meta/collection/type.d.ts
|
|
249
316
|
type CollectionAttributeType = CollectionPetsAttributeType;
|
|
250
|
-
|
|
317
|
+
//#endregion
|
|
318
|
+
//#region src/meta/collection/label.d.ts
|
|
251
319
|
declare const COLLECTION_ATTRIBUTE_LABEL: Partial<Record<CategoryType, any>>;
|
|
252
|
-
|
|
320
|
+
//#endregion
|
|
321
|
+
//#region src/meta/collection/util.d.ts
|
|
253
322
|
declare const getCollectionAttributeLabel: ({ categoryType, interestType, attributeType }: {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
323
|
+
categoryType: CategoryType;
|
|
324
|
+
interestType?: InterestType;
|
|
325
|
+
attributeType: CollectionAttributeType;
|
|
257
326
|
}) => any;
|
|
258
|
-
|
|
327
|
+
//#endregion
|
|
328
|
+
//#region src/reaction.d.ts
|
|
259
329
|
declare enum ReactionType {
|
|
260
|
-
|
|
261
|
-
|
|
330
|
+
None = 0,
|
|
331
|
+
Like = 1
|
|
262
332
|
}
|
|
263
|
-
|
|
333
|
+
//#endregion
|
|
334
|
+
//#region src/r2/imageSize.d.ts
|
|
264
335
|
type ImageSize = 'sm' | 'md' | 'lg';
|
|
265
|
-
|
|
336
|
+
//#endregion
|
|
337
|
+
//#region src/r2/subjectR2Folder.d.ts
|
|
266
338
|
type SubjectR2Folder = 'post' | 'comment' | 'reply' | 'rating' | 'broadcast';
|
|
267
339
|
declare function getSubjectR2CdnUrl(folder: SubjectR2Folder, imageFID: string, size: ImageSize): string;
|
|
268
|
-
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region src/r2/pageR2Folder.d.ts
|
|
269
342
|
type PageR2Folder = 'collection' | 'game' | 'uoi' | 'user' | 'team' | 'leaderboard' | 'arena' | 'event' | 'loi' | 'location';
|
|
270
343
|
declare function getPageR2CdnUrl(folder: PageR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
271
|
-
|
|
344
|
+
//#endregion
|
|
345
|
+
//#region src/r2/avatarR2Folder.d.ts
|
|
272
346
|
type AvatarR2Folder = 'collection' | 'game' | 'user' | 'team' | 'leaderboard' | 'arena' | 'event' | 'market' | '';
|
|
273
|
-
declare function
|
|
347
|
+
declare function getAvatarR2FolderByEntityType(entityType: EntityType): AvatarR2Folder;
|
|
274
348
|
declare function getAvatarR2CdnUrl(folder: AvatarR2Folder, pageID: string, imageID: string, size: ImageSize): string;
|
|
275
|
-
|
|
276
|
-
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS,
|
|
349
|
+
//#endregion
|
|
350
|
+
export { ALL_CARDGAMES_INTERESTS, ALL_INTEREST_CATEGORIES, ALL_LEISURE_INTERESTS, ALL_MUSIC_INTERESTS, ALL_PETS_INTERESTS, ALL_SPORTS_INTERESTS, ALL_TRAVEL_INTERESTS, AccountStatus, AddingEntityType, AdminAccountStatus, AttachmentType, AttendanceStatus, AvatarR2Folder, BasketballPosition, BroadcastType, BuddyingStatus, COLLECTION_ATTRIBUTE_LABEL, COLLECTION_PETS_ATTRIBUTE_LABEL, COMMON_ATTRIBUTE_LABEL, CardGamesInterestType, CategoryType, ChallengeStatus, CollectionAttributeType, CollectionMetaProps, CollectionMetaStatus, CollectionOwnerStatus, CollectionPetsAttributeType, CollectionPrivacy, CollectionStatus, CollectionType, CommonAttributeType, CommonMarketType, DuelGameResultType, EntityType, EventsNearbyProps, FollowingStatus, GameMetaProps, GameType, GamesByTypeNearbyProps, GamesNearbyProps, Gender, Handedness, INTERESTS_BY_CATEGORY, ImageSize, InterestNearbyProps, InterestType, LeaderboardType, LeaderboardsByGameTypeNearbyProps, LeisureInterestType, LengthUnit, LocationType, MarketMetaProps, MarketMetaStatus, MarketType, MarketsByTypeNearbyProps, MemberingStatus, MusicInterestType, NearbyProps, NotificationType, PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageR2Folder, PageType, PetsInterestType, PlayerType, PostPrivacy, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, ReactionType, SocialMediaType, SportsInterestType, SubjectR2Folder, SubjectType, TennisBackhand, TennisLevel, TravelInterestType, UOI_ATTRIBUTE_LABEL, UOI_SPORTS_ATTRIBUTE_LABEL, UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL, UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL, UoiAttributeType, UoiSportsAttributeType, UoiSportsBasketballAttributeType, UoiSportsTennisAttributeType, UserPronoun, WeightUnit, ZeroCollectionMeta, ZeroGameMeta, ZeroMarketOption, getAvatarR2CdnUrl, getAvatarR2FolderByEntityType, getCollectionAttributeLabel, getCommonAttributeLabel, getEntityTypeByPID, getNearbyIndex, getPIDPrefixByEntityType, getPIDPrefixByProfileType, getPageR2CdnUrl, getProfileTypeByPID, getSubjectR2CdnUrl, getUoiAttributeLabel, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
|