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.cjs
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/page/profile/profile.ts
|
|
3
|
+
let ChallengeStatus = /* @__PURE__ */ function(ChallengeStatus) {
|
|
4
|
+
ChallengeStatus[ChallengeStatus["None"] = 0] = "None";
|
|
5
|
+
ChallengeStatus[ChallengeStatus["Open"] = 1] = "Open";
|
|
6
|
+
ChallengeStatus[ChallengeStatus["Closed"] = 2] = "Closed";
|
|
7
|
+
return ChallengeStatus;
|
|
8
|
+
}({});
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/page/profile/market/type/index.ts
|
|
11
|
+
const ZeroMarketOption = {
|
|
12
|
+
label: "",
|
|
13
|
+
marketType: ""
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/page/profile/event.ts
|
|
17
|
+
let AttendanceStatus = /* @__PURE__ */ function(AttendanceStatus) {
|
|
18
|
+
AttendanceStatus[AttendanceStatus["None"] = 0] = "None";
|
|
19
|
+
AttendanceStatus[AttendanceStatus["Pending"] = 1] = "Pending";
|
|
20
|
+
AttendanceStatus[AttendanceStatus["OnTime"] = 2] = "OnTime";
|
|
21
|
+
AttendanceStatus[AttendanceStatus["Late"] = 3] = "Late";
|
|
22
|
+
AttendanceStatus[AttendanceStatus["CheckedIn"] = 4] = "CheckedIn";
|
|
23
|
+
AttendanceStatus[AttendanceStatus["Left"] = 5] = "Left";
|
|
24
|
+
return AttendanceStatus;
|
|
25
|
+
}({});
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/page/profile/game/index.ts
|
|
28
|
+
const ZeroGameMeta = {
|
|
29
|
+
gameType: "other",
|
|
30
|
+
label: ""
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/page/pid.ts
|
|
34
|
+
const PID_LENGTH = 9;
|
|
35
|
+
const PID_PREFIX_LENGTH = 3;
|
|
36
|
+
const PID_ALPHANUMERIC_REGEX = /^[A-Za-z0-9]+$/;
|
|
37
|
+
const isValidPID = (pid) => {
|
|
38
|
+
if (pid.length !== 9) return false;
|
|
39
|
+
return PID_ALPHANUMERIC_REGEX.test(pid);
|
|
40
|
+
};
|
|
41
|
+
const getPIDPrefix = (pid) => {
|
|
42
|
+
if (!isValidPID(pid)) return "";
|
|
43
|
+
return pid.slice(0, 3);
|
|
44
|
+
};
|
|
45
|
+
function getProfileTypeByPID(pid) {
|
|
46
|
+
switch (getPIDPrefix(pid)) {
|
|
47
|
+
case "usr": return "user";
|
|
48
|
+
case "uoi": return "uoi";
|
|
49
|
+
case "tms": return "team";
|
|
50
|
+
case "arn": return "arena";
|
|
51
|
+
case "evt": return "event";
|
|
52
|
+
case "org": return "organization";
|
|
53
|
+
case "lbd": return "leaderboard";
|
|
54
|
+
case "gme": return "game";
|
|
55
|
+
case "mkt": return "market";
|
|
56
|
+
default: return "none";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function getEntityTypeByPID(pid) {
|
|
60
|
+
switch (getPIDPrefix(pid)) {
|
|
61
|
+
case "lbd": return "leaderboard";
|
|
62
|
+
case "tms": return "team";
|
|
63
|
+
case "col": return "collection";
|
|
64
|
+
case "uoi": return "uoi";
|
|
65
|
+
default: return;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
const getPIDPrefixByProfileType = (profileType) => {
|
|
69
|
+
switch (profileType) {
|
|
70
|
+
case "user": return "usr";
|
|
71
|
+
case "uoi": return "uoi";
|
|
72
|
+
case "team": return "tms";
|
|
73
|
+
case "arena": return "arn";
|
|
74
|
+
case "event": return "evt";
|
|
75
|
+
case "organization": return "org";
|
|
76
|
+
case "leaderboard": return "lbd";
|
|
77
|
+
case "game": return "gme";
|
|
78
|
+
default: return "";
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
function isTeamPID(pid) {
|
|
82
|
+
return getPIDPrefix(pid) === "tms";
|
|
83
|
+
}
|
|
84
|
+
function isUoiPID(pid) {
|
|
85
|
+
return getPIDPrefix(pid) === "uoi";
|
|
86
|
+
}
|
|
87
|
+
function isGamePID(pid) {
|
|
88
|
+
return getPIDPrefix(pid) === "gme";
|
|
89
|
+
}
|
|
90
|
+
function isLeaderboardPID(pid) {
|
|
91
|
+
return getPIDPrefix(pid) === "lbd";
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/page/collection/other.ts
|
|
95
|
+
const ZeroCollectionMeta = {
|
|
96
|
+
collectionType: "zzzother",
|
|
97
|
+
label: ""
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/page/nearby.ts
|
|
101
|
+
const getNearbyIndex = (h3Cell, interestID) => `${h3Cell}_${interestID}`;
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/page/attachment.ts
|
|
104
|
+
let AttachmentType = /* @__PURE__ */ function(AttachmentType) {
|
|
105
|
+
AttachmentType[AttachmentType["None"] = 0] = "None";
|
|
106
|
+
AttachmentType[AttachmentType["Image"] = 1] = "Image";
|
|
107
|
+
AttachmentType[AttachmentType["Video"] = 2] = "Video";
|
|
108
|
+
AttachmentType[AttachmentType["Poll"] = 4] = "Poll";
|
|
109
|
+
return AttachmentType;
|
|
110
|
+
}({});
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/page/entity.ts
|
|
113
|
+
function getPIDPrefixByEntityType(entityType) {
|
|
114
|
+
switch (entityType) {
|
|
115
|
+
case "uoi": return "uoi";
|
|
116
|
+
case "team": return "tms";
|
|
117
|
+
case "leaderboard": return "lbd";
|
|
118
|
+
case "collection": return "col";
|
|
119
|
+
default: return "";
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/auth.ts
|
|
124
|
+
let AdminAccountStatus = /* @__PURE__ */ function(AdminAccountStatus) {
|
|
125
|
+
AdminAccountStatus[AdminAccountStatus["None"] = 0] = "None";
|
|
126
|
+
AdminAccountStatus[AdminAccountStatus["Active"] = 1] = "Active";
|
|
127
|
+
AdminAccountStatus[AdminAccountStatus["Inactive"] = 2] = "Inactive";
|
|
128
|
+
return AdminAccountStatus;
|
|
129
|
+
}({});
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region src/connection.ts
|
|
132
|
+
let FollowingStatus = /* @__PURE__ */ function(FollowingStatus) {
|
|
133
|
+
FollowingStatus[FollowingStatus["None"] = 0] = "None";
|
|
134
|
+
FollowingStatus[FollowingStatus["Pending"] = 1] = "Pending";
|
|
135
|
+
FollowingStatus[FollowingStatus["Approved"] = 2] = "Approved";
|
|
136
|
+
FollowingStatus[FollowingStatus["Blocked"] = 3] = "Blocked";
|
|
137
|
+
FollowingStatus[FollowingStatus["Withdrawn"] = 4] = "Withdrawn";
|
|
138
|
+
FollowingStatus[FollowingStatus["Unfollowed"] = 5] = "Unfollowed";
|
|
139
|
+
return FollowingStatus;
|
|
140
|
+
}({});
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/attribute/uoi/sports/basketball.ts
|
|
143
|
+
let BasketballPosition = /* @__PURE__ */ function(BasketballPosition) {
|
|
144
|
+
BasketballPosition[BasketballPosition["None"] = 0] = "None";
|
|
145
|
+
BasketballPosition[BasketballPosition["SG"] = 1] = "SG";
|
|
146
|
+
BasketballPosition[BasketballPosition["PG"] = 2] = "PG";
|
|
147
|
+
BasketballPosition[BasketballPosition["C"] = 4] = "C";
|
|
148
|
+
BasketballPosition[BasketballPosition["SF"] = 8] = "SF";
|
|
149
|
+
BasketballPosition[BasketballPosition["PF"] = 16] = "PF";
|
|
150
|
+
return BasketballPosition;
|
|
151
|
+
}({});
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/interest/category.ts
|
|
154
|
+
const ALL_INTEREST_CATEGORIES = [
|
|
155
|
+
"1_sports",
|
|
156
|
+
"2_pets",
|
|
157
|
+
"3_cardgames",
|
|
158
|
+
"4_music",
|
|
159
|
+
"5_travel",
|
|
160
|
+
"6_leisure"
|
|
161
|
+
];
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/interest/interestByCategory/cardgames.ts
|
|
164
|
+
const ALL_CARDGAMES_INTERESTS = [
|
|
165
|
+
"texasholdem",
|
|
166
|
+
"omaha",
|
|
167
|
+
"blackjack"
|
|
168
|
+
];
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region src/interest/interestByCategory/music.ts
|
|
171
|
+
const ALL_MUSIC_INTERESTS = [
|
|
172
|
+
"singing",
|
|
173
|
+
"guitar",
|
|
174
|
+
"piano",
|
|
175
|
+
"violin",
|
|
176
|
+
"cello",
|
|
177
|
+
"bass",
|
|
178
|
+
"drum",
|
|
179
|
+
"saxophone",
|
|
180
|
+
"flute",
|
|
181
|
+
"harp",
|
|
182
|
+
"keytar",
|
|
183
|
+
"trombone",
|
|
184
|
+
"tuba",
|
|
185
|
+
"clarinet"
|
|
186
|
+
];
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region src/interest/interestByCategory/pets.ts
|
|
189
|
+
const ALL_PETS_INTERESTS = ["dog", "cat"];
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/interest/interestByCategory/sports.ts
|
|
192
|
+
const ALL_SPORTS_INTERESTS = [
|
|
193
|
+
"tennis",
|
|
194
|
+
"pickleball",
|
|
195
|
+
"basketball",
|
|
196
|
+
"golf",
|
|
197
|
+
"hiking",
|
|
198
|
+
"running",
|
|
199
|
+
"gym",
|
|
200
|
+
"baseball",
|
|
201
|
+
"biking",
|
|
202
|
+
"yoga",
|
|
203
|
+
"tabletennis",
|
|
204
|
+
"football",
|
|
205
|
+
"soccer",
|
|
206
|
+
"badminton",
|
|
207
|
+
"skiing",
|
|
208
|
+
"surfing",
|
|
209
|
+
"swimming",
|
|
210
|
+
"hockey"
|
|
211
|
+
];
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/interest/interestByCategory/travel.ts
|
|
214
|
+
const ALL_TRAVEL_INTERESTS = [
|
|
215
|
+
"landmark",
|
|
216
|
+
"nationalpark",
|
|
217
|
+
"beach",
|
|
218
|
+
"museum",
|
|
219
|
+
"garden",
|
|
220
|
+
"zoo",
|
|
221
|
+
"food",
|
|
222
|
+
"drinks",
|
|
223
|
+
"entertainment",
|
|
224
|
+
"cruise",
|
|
225
|
+
"culture",
|
|
226
|
+
"heritage",
|
|
227
|
+
"island",
|
|
228
|
+
"lake",
|
|
229
|
+
"river",
|
|
230
|
+
"waterfall",
|
|
231
|
+
"cave",
|
|
232
|
+
"desert",
|
|
233
|
+
"mountain",
|
|
234
|
+
"forest",
|
|
235
|
+
"wellness",
|
|
236
|
+
"wildlife",
|
|
237
|
+
"technology"
|
|
238
|
+
];
|
|
239
|
+
//#endregion
|
|
240
|
+
//#region src/interest/interestByCategory/leisure.ts
|
|
241
|
+
const ALL_LEISURE_INTERESTS = [
|
|
242
|
+
"walking",
|
|
243
|
+
"movie",
|
|
244
|
+
"concert",
|
|
245
|
+
"dining",
|
|
246
|
+
"camping",
|
|
247
|
+
"shopping",
|
|
248
|
+
"picnic",
|
|
249
|
+
"show"
|
|
250
|
+
];
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region src/interest/interestByCategory/interest.ts
|
|
253
|
+
const INTERESTS_BY_CATEGORY = {
|
|
254
|
+
"1_sports": ALL_SPORTS_INTERESTS,
|
|
255
|
+
"2_pets": ALL_PETS_INTERESTS,
|
|
256
|
+
"3_cardgames": ALL_CARDGAMES_INTERESTS,
|
|
257
|
+
"4_music": ALL_MUSIC_INTERESTS,
|
|
258
|
+
"5_travel": ALL_TRAVEL_INTERESTS,
|
|
259
|
+
"6_leisure": ALL_LEISURE_INTERESTS
|
|
260
|
+
};
|
|
261
|
+
//#endregion
|
|
262
|
+
//#region src/meta/common/label.ts
|
|
263
|
+
const COMMON_ATTRIBUTE_LABEL = {
|
|
264
|
+
handedness: "Handedness",
|
|
265
|
+
gender: "Gender",
|
|
266
|
+
dob: "Date of Birth"
|
|
267
|
+
};
|
|
268
|
+
//#endregion
|
|
269
|
+
//#region src/meta/common/util.ts
|
|
270
|
+
const getCommonAttributeLabel = ({ attributeType }) => {
|
|
271
|
+
return COMMON_ATTRIBUTE_LABEL[attributeType] || "";
|
|
272
|
+
};
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region src/meta/uoi/sports/tennis/label.ts
|
|
275
|
+
const UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL = {
|
|
276
|
+
level: "Level",
|
|
277
|
+
backhand: "Backhand",
|
|
278
|
+
handedness: "Handedness"
|
|
279
|
+
};
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/meta/uoi/sports/basketball/label.ts
|
|
282
|
+
const UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL = { positions: "Positions" };
|
|
283
|
+
//#endregion
|
|
284
|
+
//#region src/meta/uoi/sports/label.ts
|
|
285
|
+
const UOI_SPORTS_ATTRIBUTE_LABEL = {
|
|
286
|
+
tennis: UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL,
|
|
287
|
+
basketball: UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL
|
|
288
|
+
};
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region src/meta/uoi/label.ts
|
|
291
|
+
const UOI_ATTRIBUTE_LABEL = { "1_sports": UOI_SPORTS_ATTRIBUTE_LABEL };
|
|
292
|
+
//#endregion
|
|
293
|
+
//#region src/meta/uoi/util.ts
|
|
294
|
+
const getUoiAttributeLabel = ({ categoryType, interestType, attributeType }) => {
|
|
295
|
+
let labels = UOI_ATTRIBUTE_LABEL;
|
|
296
|
+
if (categoryType) labels = labels?.[categoryType] || {};
|
|
297
|
+
if (interestType) labels = labels?.[interestType] || {};
|
|
298
|
+
return labels?.[attributeType] || "";
|
|
299
|
+
};
|
|
300
|
+
//#endregion
|
|
301
|
+
//#region src/meta/collection/pets/label.ts
|
|
302
|
+
const COLLECTION_PETS_ATTRIBUTE_LABEL = {
|
|
303
|
+
breed: "Breed",
|
|
304
|
+
father: "Father",
|
|
305
|
+
mother: "Mother",
|
|
306
|
+
gender: "Gender",
|
|
307
|
+
height: "Height",
|
|
308
|
+
weight: "Weight",
|
|
309
|
+
children: "Children",
|
|
310
|
+
dob: "Date of Birth"
|
|
311
|
+
};
|
|
312
|
+
//#endregion
|
|
313
|
+
//#region src/meta/collection/label.ts
|
|
314
|
+
const COLLECTION_ATTRIBUTE_LABEL = { "2_pets": COLLECTION_PETS_ATTRIBUTE_LABEL };
|
|
315
|
+
//#endregion
|
|
316
|
+
//#region src/meta/collection/util.ts
|
|
317
|
+
const getCollectionAttributeLabel = ({ categoryType, interestType, attributeType }) => {
|
|
318
|
+
let labels = COLLECTION_ATTRIBUTE_LABEL;
|
|
319
|
+
if (categoryType) labels = labels?.[categoryType] || {};
|
|
320
|
+
if (interestType) labels = labels?.[interestType] || {};
|
|
321
|
+
return labels?.[attributeType] || "";
|
|
322
|
+
};
|
|
323
|
+
//#endregion
|
|
324
|
+
//#region src/reaction.ts
|
|
325
|
+
let ReactionType = /* @__PURE__ */ function(ReactionType) {
|
|
326
|
+
ReactionType[ReactionType["None"] = 0] = "None";
|
|
327
|
+
ReactionType[ReactionType["Like"] = 1] = "Like";
|
|
328
|
+
return ReactionType;
|
|
329
|
+
}({});
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/r2/subjectR2Folder.ts
|
|
332
|
+
function getSubjectR2CdnUrl(folder, imageFID, size) {
|
|
333
|
+
if (!imageFID) return "";
|
|
334
|
+
return `https://subject.buddiesnearby.com/${folder}/${imageFID}/${size}.webp`;
|
|
335
|
+
}
|
|
336
|
+
//#endregion
|
|
337
|
+
//#region src/r2/pageR2Folder.ts
|
|
338
|
+
function getPageR2CdnUrl(folder, pageID, imageID, size) {
|
|
339
|
+
if (!imageID) return "";
|
|
340
|
+
return `https://page.buddiesnearby.com/${folder}/${pageID}/${imageID}/${size}.webp`;
|
|
341
|
+
}
|
|
342
|
+
//#endregion
|
|
343
|
+
//#region src/r2/avatarR2Folder.ts
|
|
344
|
+
const entityTypeToAvatarR2Folder = {
|
|
345
|
+
user: "user",
|
|
346
|
+
uoi: "user",
|
|
347
|
+
team: "team",
|
|
348
|
+
arena: "arena",
|
|
349
|
+
event: "event",
|
|
350
|
+
market: "market",
|
|
351
|
+
leaderboard: "leaderboard",
|
|
352
|
+
game: "game",
|
|
353
|
+
collection: "collection"
|
|
354
|
+
};
|
|
355
|
+
function getAvatarR2FolderByEntityType(entityType) {
|
|
356
|
+
return entityTypeToAvatarR2Folder[entityType] ?? "";
|
|
357
|
+
}
|
|
358
|
+
function getAvatarR2CdnUrl(folder, pageID, imageID, size) {
|
|
359
|
+
if (!imageID) return "";
|
|
360
|
+
return `https://avatar.buddiesnearby.com/${folder}/${pageID}/${imageID}/${size}.webp`;
|
|
361
|
+
}
|
|
362
|
+
//#endregion
|
|
363
|
+
exports.ALL_CARDGAMES_INTERESTS = ALL_CARDGAMES_INTERESTS;
|
|
364
|
+
exports.ALL_INTEREST_CATEGORIES = ALL_INTEREST_CATEGORIES;
|
|
365
|
+
exports.ALL_LEISURE_INTERESTS = ALL_LEISURE_INTERESTS;
|
|
366
|
+
exports.ALL_MUSIC_INTERESTS = ALL_MUSIC_INTERESTS;
|
|
367
|
+
exports.ALL_PETS_INTERESTS = ALL_PETS_INTERESTS;
|
|
368
|
+
exports.ALL_SPORTS_INTERESTS = ALL_SPORTS_INTERESTS;
|
|
369
|
+
exports.ALL_TRAVEL_INTERESTS = ALL_TRAVEL_INTERESTS;
|
|
370
|
+
exports.AdminAccountStatus = AdminAccountStatus;
|
|
371
|
+
exports.AttachmentType = AttachmentType;
|
|
372
|
+
exports.AttendanceStatus = AttendanceStatus;
|
|
373
|
+
exports.BasketballPosition = BasketballPosition;
|
|
374
|
+
exports.COLLECTION_ATTRIBUTE_LABEL = COLLECTION_ATTRIBUTE_LABEL;
|
|
375
|
+
exports.COLLECTION_PETS_ATTRIBUTE_LABEL = COLLECTION_PETS_ATTRIBUTE_LABEL;
|
|
376
|
+
exports.COMMON_ATTRIBUTE_LABEL = COMMON_ATTRIBUTE_LABEL;
|
|
377
|
+
exports.ChallengeStatus = ChallengeStatus;
|
|
378
|
+
exports.FollowingStatus = FollowingStatus;
|
|
379
|
+
exports.INTERESTS_BY_CATEGORY = INTERESTS_BY_CATEGORY;
|
|
380
|
+
exports.PID_LENGTH = PID_LENGTH;
|
|
381
|
+
exports.PID_PREFIX_LENGTH = PID_PREFIX_LENGTH;
|
|
382
|
+
exports.ReactionType = ReactionType;
|
|
383
|
+
exports.UOI_ATTRIBUTE_LABEL = UOI_ATTRIBUTE_LABEL;
|
|
384
|
+
exports.UOI_SPORTS_ATTRIBUTE_LABEL = UOI_SPORTS_ATTRIBUTE_LABEL;
|
|
385
|
+
exports.UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL = UOI_SPORTS_BASKETBALL_ATTRIBUTE_LABEL;
|
|
386
|
+
exports.UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL = UOI_SPORTS_TENNIS_ATTRIBUTE_LABEL;
|
|
387
|
+
exports.ZeroCollectionMeta = ZeroCollectionMeta;
|
|
388
|
+
exports.ZeroGameMeta = ZeroGameMeta;
|
|
389
|
+
exports.ZeroMarketOption = ZeroMarketOption;
|
|
390
|
+
exports.getAvatarR2CdnUrl = getAvatarR2CdnUrl;
|
|
391
|
+
exports.getAvatarR2FolderByEntityType = getAvatarR2FolderByEntityType;
|
|
392
|
+
exports.getCollectionAttributeLabel = getCollectionAttributeLabel;
|
|
393
|
+
exports.getCommonAttributeLabel = getCommonAttributeLabel;
|
|
394
|
+
exports.getEntityTypeByPID = getEntityTypeByPID;
|
|
395
|
+
exports.getNearbyIndex = getNearbyIndex;
|
|
396
|
+
exports.getPIDPrefixByEntityType = getPIDPrefixByEntityType;
|
|
397
|
+
exports.getPIDPrefixByProfileType = getPIDPrefixByProfileType;
|
|
398
|
+
exports.getPageR2CdnUrl = getPageR2CdnUrl;
|
|
399
|
+
exports.getProfileTypeByPID = getProfileTypeByPID;
|
|
400
|
+
exports.getSubjectR2CdnUrl = getSubjectR2CdnUrl;
|
|
401
|
+
exports.getUoiAttributeLabel = getUoiAttributeLabel;
|
|
402
|
+
exports.isGamePID = isGamePID;
|
|
403
|
+
exports.isLeaderboardPID = isLeaderboardPID;
|
|
404
|
+
exports.isTeamPID = isTeamPID;
|
|
405
|
+
exports.isUoiPID = isUoiPID;
|