rategame-shared 1.1.470 → 1.1.472
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/helpers/fancyText.d.ts +5 -0
- package/dist/helpers/fancyText.js +29 -0
- package/dist/helpers/favoriteTeams.d.ts +26 -0
- package/dist/helpers/favoriteTeams.js +91 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/miniLeague.d.ts +19 -0
- package/dist/models/miniLeague.js +2 -0
- package/dist/schemas/article.d.ts +30 -0
- package/dist/schemas/chat.d.ts +30 -0
- package/dist/schemas/experience.d.ts +24 -0
- package/dist/schemas/game.d.ts +120 -0
- package/dist/schemas/list.d.ts +30 -0
- package/dist/schemas/miniLeague.d.ts +10739 -0
- package/dist/schemas/miniLeague.js +124 -0
- package/dist/schemas/moderation.d.ts +24 -0
- package/dist/schemas/pick.d.ts +228 -0
- package/dist/schemas/poll.d.ts +96 -0
- package/dist/schemas/rating.d.ts +18 -0
- package/dist/schemas/scorePrediction.d.ts +162 -0
- package/dist/schemas/stadium.d.ts +24 -0
- package/dist/schemas/trivia.d.ts +30 -0
- package/dist/schemas/user.d.ts +26 -0
- package/dist/schemas/user.js +2 -0
- package/dist/schemas/userEvent.d.ts +18 -0
- package/dist/schemas/voting.d.ts +54 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const FANCY_TEXT_ERROR_MESSAGE = "Fancy or styled characters are not allowed. Please use normal letters and numbers.";
|
|
2
|
+
/**
|
|
3
|
+
* Detects mathematical-alphanumeric, fullwidth, and similar disguised characters.
|
|
4
|
+
*/
|
|
5
|
+
export declare function containsFancyText(value: string | null | undefined): boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.containsFancyText = exports.FANCY_TEXT_ERROR_MESSAGE = void 0;
|
|
4
|
+
exports.FANCY_TEXT_ERROR_MESSAGE = 'Fancy or styled characters are not allowed. Please use normal letters and numbers.';
|
|
5
|
+
/** Unicode ranges used for disguised / styled text (not normal user input). */
|
|
6
|
+
const FANCY_CODE_POINT_RANGES = [
|
|
7
|
+
[0x1d400, 0x1d7ff],
|
|
8
|
+
[0x1d800, 0x1daff],
|
|
9
|
+
[0x1f100, 0x1f1ff],
|
|
10
|
+
[0x2100, 0x214f],
|
|
11
|
+
[0x2460, 0x24ff],
|
|
12
|
+
[0xff01, 0xff5e], // Fullwidth ASCII variants
|
|
13
|
+
];
|
|
14
|
+
const isFancyCodePoint = (code) => FANCY_CODE_POINT_RANGES.some(([start, end]) => code >= start && code <= end);
|
|
15
|
+
/**
|
|
16
|
+
* Detects mathematical-alphanumeric, fullwidth, and similar disguised characters.
|
|
17
|
+
*/
|
|
18
|
+
function containsFancyText(value) {
|
|
19
|
+
if (!value)
|
|
20
|
+
return false;
|
|
21
|
+
for (const char of value) {
|
|
22
|
+
const code = char.codePointAt(0);
|
|
23
|
+
if (code !== undefined && isFancyCodePoint(code)) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
exports.containsFancyText = containsFancyText;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const DEFAULT_FAVORITE_TEAM_LEAGUE_ORDER: readonly ["nba", "mlb", "wbc", "nfl", "nhl", "iho", "epl", "fifa", "cbb", "cfb", "mls", "wnba", "cwc"];
|
|
2
|
+
export type FavoriteTeamLookup = {
|
|
3
|
+
id?: string | number;
|
|
4
|
+
name?: string;
|
|
5
|
+
image?: string;
|
|
6
|
+
primaryColor?: string | null;
|
|
7
|
+
countryId?: string | number;
|
|
8
|
+
};
|
|
9
|
+
export type FavoriteTeamChip = {
|
|
10
|
+
key: string;
|
|
11
|
+
league: string;
|
|
12
|
+
teamImage: string;
|
|
13
|
+
teamId: string;
|
|
14
|
+
teamName: string;
|
|
15
|
+
primaryColor: string | null;
|
|
16
|
+
countryId?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare function getFavoriteTeamChipKey({ league, teamId, countryId, }: {
|
|
19
|
+
league: string;
|
|
20
|
+
teamId: string;
|
|
21
|
+
countryId?: string;
|
|
22
|
+
}): string;
|
|
23
|
+
export declare function buildFavoriteTeamChips(favoriteTeamsPerLeague: Record<string, string> | undefined, allTeams: Record<string, FavoriteTeamLookup[] | undefined> | undefined): FavoriteTeamChip[];
|
|
24
|
+
export declare function sortFavoriteTeamChips(chips: FavoriteTeamChip[], favoriteTeamsOrder?: string[]): FavoriteTeamChip[];
|
|
25
|
+
export declare function buildFavoriteTeamsOrderFromChips(chips: FavoriteTeamChip[]): string[];
|
|
26
|
+
export declare function syncFavoriteTeamsOrder(favoriteTeamsOrder: string[] | undefined, chips: FavoriteTeamChip[]): string[];
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.syncFavoriteTeamsOrder = exports.buildFavoriteTeamsOrderFromChips = exports.sortFavoriteTeamChips = exports.buildFavoriteTeamChips = exports.getFavoriteTeamChipKey = exports.DEFAULT_FAVORITE_TEAM_LEAGUE_ORDER = void 0;
|
|
4
|
+
exports.DEFAULT_FAVORITE_TEAM_LEAGUE_ORDER = [
|
|
5
|
+
"nba",
|
|
6
|
+
"mlb",
|
|
7
|
+
"wbc",
|
|
8
|
+
"nfl",
|
|
9
|
+
"nhl",
|
|
10
|
+
"iho",
|
|
11
|
+
"epl",
|
|
12
|
+
"fifa",
|
|
13
|
+
"cbb",
|
|
14
|
+
"cfb",
|
|
15
|
+
"mls",
|
|
16
|
+
"wnba",
|
|
17
|
+
"cwc",
|
|
18
|
+
];
|
|
19
|
+
function getFavoriteTeamChipKey({ league, teamId, countryId, }) {
|
|
20
|
+
return countryId ? `country-${countryId}` : `${league}-${teamId}`;
|
|
21
|
+
}
|
|
22
|
+
exports.getFavoriteTeamChipKey = getFavoriteTeamChipKey;
|
|
23
|
+
function buildFavoriteTeamChips(favoriteTeamsPerLeague, allTeams) {
|
|
24
|
+
if (!favoriteTeamsPerLeague)
|
|
25
|
+
return [];
|
|
26
|
+
const chipsByKey = new Map();
|
|
27
|
+
Object.entries(favoriteTeamsPerLeague).forEach(([league, teamId]) => {
|
|
28
|
+
var _a, _b, _c;
|
|
29
|
+
const leagueKey = league === "ncaa" ? "cbb" : league;
|
|
30
|
+
const favoriteTeam = (_a = allTeams === null || allTeams === void 0 ? void 0 : allTeams[leagueKey]) === null || _a === void 0 ? void 0 : _a.find(item => { var _a; return ((_a = item === null || item === void 0 ? void 0 : item.id) === null || _a === void 0 ? void 0 : _a.toString()) === teamId; });
|
|
31
|
+
if (!(favoriteTeam === null || favoriteTeam === void 0 ? void 0 : favoriteTeam.image))
|
|
32
|
+
return;
|
|
33
|
+
const countryId = favoriteTeam.countryId
|
|
34
|
+
? String(favoriteTeam.countryId)
|
|
35
|
+
: undefined;
|
|
36
|
+
const key = getFavoriteTeamChipKey({
|
|
37
|
+
league: leagueKey,
|
|
38
|
+
teamId,
|
|
39
|
+
countryId,
|
|
40
|
+
});
|
|
41
|
+
if (chipsByKey.has(key))
|
|
42
|
+
return;
|
|
43
|
+
chipsByKey.set(key, {
|
|
44
|
+
key,
|
|
45
|
+
league: leagueKey,
|
|
46
|
+
teamImage: favoriteTeam.image,
|
|
47
|
+
teamId,
|
|
48
|
+
teamName: (_b = favoriteTeam.name) !== null && _b !== void 0 ? _b : "",
|
|
49
|
+
primaryColor: (_c = favoriteTeam.primaryColor) !== null && _c !== void 0 ? _c : null,
|
|
50
|
+
countryId,
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
return Array.from(chipsByKey.values());
|
|
54
|
+
}
|
|
55
|
+
exports.buildFavoriteTeamChips = buildFavoriteTeamChips;
|
|
56
|
+
function sortFavoriteTeamChips(chips, favoriteTeamsOrder) {
|
|
57
|
+
if (!chips.length)
|
|
58
|
+
return chips;
|
|
59
|
+
const orderIndex = new Map((favoriteTeamsOrder !== null && favoriteTeamsOrder !== void 0 ? favoriteTeamsOrder : []).map((key, index) => [key, index]));
|
|
60
|
+
return [...chips].sort((a, b) => {
|
|
61
|
+
const aOrder = orderIndex.get(a.key);
|
|
62
|
+
const bOrder = orderIndex.get(b.key);
|
|
63
|
+
if (aOrder !== undefined && bOrder !== undefined) {
|
|
64
|
+
return aOrder - bOrder;
|
|
65
|
+
}
|
|
66
|
+
if (aOrder !== undefined)
|
|
67
|
+
return -1;
|
|
68
|
+
if (bOrder !== undefined)
|
|
69
|
+
return 1;
|
|
70
|
+
const aIndex = exports.DEFAULT_FAVORITE_TEAM_LEAGUE_ORDER.indexOf(a.league);
|
|
71
|
+
const bIndex = exports.DEFAULT_FAVORITE_TEAM_LEAGUE_ORDER.indexOf(b.league);
|
|
72
|
+
return ((aIndex === -1 ? exports.DEFAULT_FAVORITE_TEAM_LEAGUE_ORDER.length : aIndex) -
|
|
73
|
+
(bIndex === -1 ? exports.DEFAULT_FAVORITE_TEAM_LEAGUE_ORDER.length : bIndex));
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
exports.sortFavoriteTeamChips = sortFavoriteTeamChips;
|
|
77
|
+
function buildFavoriteTeamsOrderFromChips(chips) {
|
|
78
|
+
return sortFavoriteTeamChips(chips).map(chip => chip.key);
|
|
79
|
+
}
|
|
80
|
+
exports.buildFavoriteTeamsOrderFromChips = buildFavoriteTeamsOrderFromChips;
|
|
81
|
+
function syncFavoriteTeamsOrder(favoriteTeamsOrder, chips) {
|
|
82
|
+
const chipKeys = new Set(chips.map(chip => chip.key));
|
|
83
|
+
const syncedOrder = (favoriteTeamsOrder !== null && favoriteTeamsOrder !== void 0 ? favoriteTeamsOrder : []).filter(key => chipKeys.has(key));
|
|
84
|
+
chips.forEach(chip => {
|
|
85
|
+
if (!syncedOrder.includes(chip.key)) {
|
|
86
|
+
syncedOrder.push(chip.key);
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
return syncedOrder;
|
|
90
|
+
}
|
|
91
|
+
exports.syncFavoriteTeamsOrder = syncFavoriteTeamsOrder;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./schemas/scorePrediction";
|
|
|
27
27
|
export * from "./schemas/reactivation";
|
|
28
28
|
export * from "./schemas/standings";
|
|
29
29
|
export * from "./schemas/attendance";
|
|
30
|
+
export * from "./schemas/miniLeague";
|
|
30
31
|
export * from "./models/user";
|
|
31
32
|
export * from "./models/rating";
|
|
32
33
|
export * from "./models/game";
|
|
@@ -57,4 +58,5 @@ export * from "./models/scorePrediction";
|
|
|
57
58
|
export * from "./models/reactivation";
|
|
58
59
|
export * from "./models/standings";
|
|
59
60
|
export * from "./models/attendance";
|
|
61
|
+
export * from "./models/miniLeague";
|
|
60
62
|
export * from "./constants";
|
package/dist/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __exportStar(require("./schemas/scorePrediction"), exports);
|
|
|
43
43
|
__exportStar(require("./schemas/reactivation"), exports);
|
|
44
44
|
__exportStar(require("./schemas/standings"), exports);
|
|
45
45
|
__exportStar(require("./schemas/attendance"), exports);
|
|
46
|
+
__exportStar(require("./schemas/miniLeague"), exports);
|
|
46
47
|
__exportStar(require("./models/user"), exports);
|
|
47
48
|
__exportStar(require("./models/rating"), exports);
|
|
48
49
|
__exportStar(require("./models/game"), exports);
|
|
@@ -73,4 +74,5 @@ __exportStar(require("./models/scorePrediction"), exports);
|
|
|
73
74
|
__exportStar(require("./models/reactivation"), exports);
|
|
74
75
|
__exportStar(require("./models/standings"), exports);
|
|
75
76
|
__exportStar(require("./models/attendance"), exports);
|
|
77
|
+
__exportStar(require("./models/miniLeague"), exports);
|
|
76
78
|
__exportStar(require("./constants"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { miniLeagueSchema, miniLeagueMemberSchema, miniLeagueInvitationSchema, createMiniLeagueDtoSchema, updateMiniLeagueDtoSchema, createMiniLeagueInvitationDtoSchema, miniLeagueJoinResponseDtoSchema, miniLeagueInvitationActionResponseDtoSchema, miniLeagueListResponseDtoSchema, miniLeagueMembersResponseDtoSchema, miniLeagueInvitationsResponseDtoSchema, miniLeagueLeaderboardResponseDtoSchema, miniLeagueUpcomingGamesResponseDtoSchema, miniLeagueVisibilitySchema, miniLeagueStatusSchema, miniLeagueMemberRoleSchema, miniLeagueInvitationStatusSchema } from "../schemas/miniLeague";
|
|
3
|
+
export type MiniLeague = z.infer<typeof miniLeagueSchema>;
|
|
4
|
+
export type MiniLeagueMember = z.infer<typeof miniLeagueMemberSchema>;
|
|
5
|
+
export type MiniLeagueInvitation = z.infer<typeof miniLeagueInvitationSchema>;
|
|
6
|
+
export type CreateMiniLeagueDto = z.infer<typeof createMiniLeagueDtoSchema>;
|
|
7
|
+
export type UpdateMiniLeagueDto = z.infer<typeof updateMiniLeagueDtoSchema>;
|
|
8
|
+
export type CreateMiniLeagueInvitationDto = z.infer<typeof createMiniLeagueInvitationDtoSchema>;
|
|
9
|
+
export type MiniLeagueJoinResponseDto = z.infer<typeof miniLeagueJoinResponseDtoSchema>;
|
|
10
|
+
export type MiniLeagueInvitationActionResponseDto = z.infer<typeof miniLeagueInvitationActionResponseDtoSchema>;
|
|
11
|
+
export type MiniLeagueListResponseDto = z.infer<typeof miniLeagueListResponseDtoSchema>;
|
|
12
|
+
export type MiniLeagueMembersResponseDto = z.infer<typeof miniLeagueMembersResponseDtoSchema>;
|
|
13
|
+
export type MiniLeagueInvitationsResponseDto = z.infer<typeof miniLeagueInvitationsResponseDtoSchema>;
|
|
14
|
+
export type MiniLeagueLeaderboardResponseDto = z.infer<typeof miniLeagueLeaderboardResponseDtoSchema>;
|
|
15
|
+
export type MiniLeagueUpcomingGamesResponseDto = z.infer<typeof miniLeagueUpcomingGamesResponseDtoSchema>;
|
|
16
|
+
export type MiniLeagueVisibility = z.infer<typeof miniLeagueVisibilitySchema>;
|
|
17
|
+
export type MiniLeagueStatus = z.infer<typeof miniLeagueStatusSchema>;
|
|
18
|
+
export type MiniLeagueMemberRole = z.infer<typeof miniLeagueMemberRoleSchema>;
|
|
19
|
+
export type MiniLeagueInvitationStatus = z.infer<typeof miniLeagueInvitationStatusSchema>;
|
|
@@ -1262,7 +1262,11 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1262
1262
|
pinnedRatings: z.ZodBoolean;
|
|
1263
1263
|
favoriteGames: z.ZodBoolean;
|
|
1264
1264
|
gradientColor: z.ZodBoolean;
|
|
1265
|
+
location: z.ZodBoolean;
|
|
1266
|
+
birthday: z.ZodBoolean;
|
|
1265
1267
|
}, "strip", z.ZodTypeAny, {
|
|
1268
|
+
location: boolean;
|
|
1269
|
+
birthday: boolean;
|
|
1266
1270
|
bio: boolean;
|
|
1267
1271
|
profilePicture: boolean;
|
|
1268
1272
|
favoriteTeam: boolean;
|
|
@@ -1270,6 +1274,8 @@ export declare const articleSchema: z.ZodObject<{
|
|
|
1270
1274
|
favoriteGames: boolean;
|
|
1271
1275
|
gradientColor: boolean;
|
|
1272
1276
|
}, {
|
|
1277
|
+
location: boolean;
|
|
1278
|
+
birthday: boolean;
|
|
1273
1279
|
bio: boolean;
|
|
1274
1280
|
profilePicture: boolean;
|
|
1275
1281
|
favoriteTeam: boolean;
|
|
@@ -2646,7 +2652,11 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2646
2652
|
pinnedRatings: z.ZodBoolean;
|
|
2647
2653
|
favoriteGames: z.ZodBoolean;
|
|
2648
2654
|
gradientColor: z.ZodBoolean;
|
|
2655
|
+
location: z.ZodBoolean;
|
|
2656
|
+
birthday: z.ZodBoolean;
|
|
2649
2657
|
}, "strip", z.ZodTypeAny, {
|
|
2658
|
+
location: boolean;
|
|
2659
|
+
birthday: boolean;
|
|
2650
2660
|
bio: boolean;
|
|
2651
2661
|
profilePicture: boolean;
|
|
2652
2662
|
favoriteTeam: boolean;
|
|
@@ -2654,6 +2664,8 @@ export declare const createArticleSchema: z.ZodObject<{
|
|
|
2654
2664
|
favoriteGames: boolean;
|
|
2655
2665
|
gradientColor: boolean;
|
|
2656
2666
|
}, {
|
|
2667
|
+
location: boolean;
|
|
2668
|
+
birthday: boolean;
|
|
2657
2669
|
bio: boolean;
|
|
2658
2670
|
profilePicture: boolean;
|
|
2659
2671
|
favoriteTeam: boolean;
|
|
@@ -4093,7 +4105,11 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
4093
4105
|
pinnedRatings: z.ZodBoolean;
|
|
4094
4106
|
favoriteGames: z.ZodBoolean;
|
|
4095
4107
|
gradientColor: z.ZodBoolean;
|
|
4108
|
+
location: z.ZodBoolean;
|
|
4109
|
+
birthday: z.ZodBoolean;
|
|
4096
4110
|
}, "strip", z.ZodTypeAny, {
|
|
4111
|
+
location: boolean;
|
|
4112
|
+
birthday: boolean;
|
|
4097
4113
|
bio: boolean;
|
|
4098
4114
|
profilePicture: boolean;
|
|
4099
4115
|
favoriteTeam: boolean;
|
|
@@ -4101,6 +4117,8 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
4101
4117
|
favoriteGames: boolean;
|
|
4102
4118
|
gradientColor: boolean;
|
|
4103
4119
|
}, {
|
|
4120
|
+
location: boolean;
|
|
4121
|
+
birthday: boolean;
|
|
4104
4122
|
bio: boolean;
|
|
4105
4123
|
profilePicture: boolean;
|
|
4106
4124
|
favoriteTeam: boolean;
|
|
@@ -5345,7 +5363,11 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
5345
5363
|
pinnedRatings: z.ZodBoolean;
|
|
5346
5364
|
favoriteGames: z.ZodBoolean;
|
|
5347
5365
|
gradientColor: z.ZodBoolean;
|
|
5366
|
+
location: z.ZodBoolean;
|
|
5367
|
+
birthday: z.ZodBoolean;
|
|
5348
5368
|
}, "strip", z.ZodTypeAny, {
|
|
5369
|
+
location: boolean;
|
|
5370
|
+
birthday: boolean;
|
|
5349
5371
|
bio: boolean;
|
|
5350
5372
|
profilePicture: boolean;
|
|
5351
5373
|
favoriteTeam: boolean;
|
|
@@ -5353,6 +5375,8 @@ export declare const articleThreadCommentSchema: z.ZodObject<{
|
|
|
5353
5375
|
favoriteGames: boolean;
|
|
5354
5376
|
gradientColor: boolean;
|
|
5355
5377
|
}, {
|
|
5378
|
+
location: boolean;
|
|
5379
|
+
birthday: boolean;
|
|
5356
5380
|
bio: boolean;
|
|
5357
5381
|
profilePicture: boolean;
|
|
5358
5382
|
favoriteTeam: boolean;
|
|
@@ -6649,7 +6673,11 @@ export declare const articleThreadCommentLikeSchema: z.ZodObject<{
|
|
|
6649
6673
|
pinnedRatings: z.ZodBoolean;
|
|
6650
6674
|
favoriteGames: z.ZodBoolean;
|
|
6651
6675
|
gradientColor: z.ZodBoolean;
|
|
6676
|
+
location: z.ZodBoolean;
|
|
6677
|
+
birthday: z.ZodBoolean;
|
|
6652
6678
|
}, "strip", z.ZodTypeAny, {
|
|
6679
|
+
location: boolean;
|
|
6680
|
+
birthday: boolean;
|
|
6653
6681
|
bio: boolean;
|
|
6654
6682
|
profilePicture: boolean;
|
|
6655
6683
|
favoriteTeam: boolean;
|
|
@@ -6657,6 +6685,8 @@ export declare const articleThreadCommentLikeSchema: z.ZodObject<{
|
|
|
6657
6685
|
favoriteGames: boolean;
|
|
6658
6686
|
gradientColor: boolean;
|
|
6659
6687
|
}, {
|
|
6688
|
+
location: boolean;
|
|
6689
|
+
birthday: boolean;
|
|
6660
6690
|
bio: boolean;
|
|
6661
6691
|
profilePicture: boolean;
|
|
6662
6692
|
favoriteTeam: boolean;
|
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -1144,7 +1144,11 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
1144
1144
|
pinnedRatings: z.ZodBoolean;
|
|
1145
1145
|
favoriteGames: z.ZodBoolean;
|
|
1146
1146
|
gradientColor: z.ZodBoolean;
|
|
1147
|
+
location: z.ZodBoolean;
|
|
1148
|
+
birthday: z.ZodBoolean;
|
|
1147
1149
|
}, "strip", z.ZodTypeAny, {
|
|
1150
|
+
location: boolean;
|
|
1151
|
+
birthday: boolean;
|
|
1148
1152
|
bio: boolean;
|
|
1149
1153
|
profilePicture: boolean;
|
|
1150
1154
|
favoriteTeam: boolean;
|
|
@@ -1152,6 +1156,8 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
1152
1156
|
favoriteGames: boolean;
|
|
1153
1157
|
gradientColor: boolean;
|
|
1154
1158
|
}, {
|
|
1159
|
+
location: boolean;
|
|
1160
|
+
birthday: boolean;
|
|
1155
1161
|
bio: boolean;
|
|
1156
1162
|
profilePicture: boolean;
|
|
1157
1163
|
favoriteTeam: boolean;
|
|
@@ -2401,7 +2407,11 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
2401
2407
|
pinnedRatings: z.ZodBoolean;
|
|
2402
2408
|
favoriteGames: z.ZodBoolean;
|
|
2403
2409
|
gradientColor: z.ZodBoolean;
|
|
2410
|
+
location: z.ZodBoolean;
|
|
2411
|
+
birthday: z.ZodBoolean;
|
|
2404
2412
|
}, "strip", z.ZodTypeAny, {
|
|
2413
|
+
location: boolean;
|
|
2414
|
+
birthday: boolean;
|
|
2405
2415
|
bio: boolean;
|
|
2406
2416
|
profilePicture: boolean;
|
|
2407
2417
|
favoriteTeam: boolean;
|
|
@@ -2409,6 +2419,8 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
2409
2419
|
favoriteGames: boolean;
|
|
2410
2420
|
gradientColor: boolean;
|
|
2411
2421
|
}, {
|
|
2422
|
+
location: boolean;
|
|
2423
|
+
birthday: boolean;
|
|
2412
2424
|
bio: boolean;
|
|
2413
2425
|
profilePicture: boolean;
|
|
2414
2426
|
favoriteTeam: boolean;
|
|
@@ -3717,7 +3729,11 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
3717
3729
|
pinnedRatings: z.ZodBoolean;
|
|
3718
3730
|
favoriteGames: z.ZodBoolean;
|
|
3719
3731
|
gradientColor: z.ZodBoolean;
|
|
3732
|
+
location: z.ZodBoolean;
|
|
3733
|
+
birthday: z.ZodBoolean;
|
|
3720
3734
|
}, "strip", z.ZodTypeAny, {
|
|
3735
|
+
location: boolean;
|
|
3736
|
+
birthday: boolean;
|
|
3721
3737
|
bio: boolean;
|
|
3722
3738
|
profilePicture: boolean;
|
|
3723
3739
|
favoriteTeam: boolean;
|
|
@@ -3725,6 +3741,8 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
3725
3741
|
favoriteGames: boolean;
|
|
3726
3742
|
gradientColor: boolean;
|
|
3727
3743
|
}, {
|
|
3744
|
+
location: boolean;
|
|
3745
|
+
birthday: boolean;
|
|
3728
3746
|
bio: boolean;
|
|
3729
3747
|
profilePicture: boolean;
|
|
3730
3748
|
favoriteTeam: boolean;
|
|
@@ -4973,7 +4991,11 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
4973
4991
|
pinnedRatings: z.ZodBoolean;
|
|
4974
4992
|
favoriteGames: z.ZodBoolean;
|
|
4975
4993
|
gradientColor: z.ZodBoolean;
|
|
4994
|
+
location: z.ZodBoolean;
|
|
4995
|
+
birthday: z.ZodBoolean;
|
|
4976
4996
|
}, "strip", z.ZodTypeAny, {
|
|
4997
|
+
location: boolean;
|
|
4998
|
+
birthday: boolean;
|
|
4977
4999
|
bio: boolean;
|
|
4978
5000
|
profilePicture: boolean;
|
|
4979
5001
|
favoriteTeam: boolean;
|
|
@@ -4981,6 +5003,8 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
4981
5003
|
favoriteGames: boolean;
|
|
4982
5004
|
gradientColor: boolean;
|
|
4983
5005
|
}, {
|
|
5006
|
+
location: boolean;
|
|
5007
|
+
birthday: boolean;
|
|
4984
5008
|
bio: boolean;
|
|
4985
5009
|
profilePicture: boolean;
|
|
4986
5010
|
favoriteTeam: boolean;
|
|
@@ -6283,7 +6307,11 @@ export declare const messageReactionSchema: z.ZodObject<{
|
|
|
6283
6307
|
pinnedRatings: z.ZodBoolean;
|
|
6284
6308
|
favoriteGames: z.ZodBoolean;
|
|
6285
6309
|
gradientColor: z.ZodBoolean;
|
|
6310
|
+
location: z.ZodBoolean;
|
|
6311
|
+
birthday: z.ZodBoolean;
|
|
6286
6312
|
}, "strip", z.ZodTypeAny, {
|
|
6313
|
+
location: boolean;
|
|
6314
|
+
birthday: boolean;
|
|
6287
6315
|
bio: boolean;
|
|
6288
6316
|
profilePicture: boolean;
|
|
6289
6317
|
favoriteTeam: boolean;
|
|
@@ -6291,6 +6319,8 @@ export declare const messageReactionSchema: z.ZodObject<{
|
|
|
6291
6319
|
favoriteGames: boolean;
|
|
6292
6320
|
gradientColor: boolean;
|
|
6293
6321
|
}, {
|
|
6322
|
+
location: boolean;
|
|
6323
|
+
birthday: boolean;
|
|
6294
6324
|
bio: boolean;
|
|
6295
6325
|
profilePicture: boolean;
|
|
6296
6326
|
favoriteTeam: boolean;
|
|
@@ -1283,7 +1283,11 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
1283
1283
|
pinnedRatings: z.ZodBoolean;
|
|
1284
1284
|
favoriteGames: z.ZodBoolean;
|
|
1285
1285
|
gradientColor: z.ZodBoolean;
|
|
1286
|
+
location: z.ZodBoolean;
|
|
1287
|
+
birthday: z.ZodBoolean;
|
|
1286
1288
|
}, "strip", z.ZodTypeAny, {
|
|
1289
|
+
location: boolean;
|
|
1290
|
+
birthday: boolean;
|
|
1287
1291
|
bio: boolean;
|
|
1288
1292
|
profilePicture: boolean;
|
|
1289
1293
|
favoriteTeam: boolean;
|
|
@@ -1291,6 +1295,8 @@ export declare const experienceRatingSchema: z.ZodObject<{
|
|
|
1291
1295
|
favoriteGames: boolean;
|
|
1292
1296
|
gradientColor: boolean;
|
|
1293
1297
|
}, {
|
|
1298
|
+
location: boolean;
|
|
1299
|
+
birthday: boolean;
|
|
1294
1300
|
bio: boolean;
|
|
1295
1301
|
profilePicture: boolean;
|
|
1296
1302
|
favoriteTeam: boolean;
|
|
@@ -2795,7 +2801,11 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
|
2795
2801
|
pinnedRatings: z.ZodBoolean;
|
|
2796
2802
|
favoriteGames: z.ZodBoolean;
|
|
2797
2803
|
gradientColor: z.ZodBoolean;
|
|
2804
|
+
location: z.ZodBoolean;
|
|
2805
|
+
birthday: z.ZodBoolean;
|
|
2798
2806
|
}, "strip", z.ZodTypeAny, {
|
|
2807
|
+
location: boolean;
|
|
2808
|
+
birthday: boolean;
|
|
2799
2809
|
bio: boolean;
|
|
2800
2810
|
profilePicture: boolean;
|
|
2801
2811
|
favoriteTeam: boolean;
|
|
@@ -2803,6 +2813,8 @@ export declare const createExperienceRatingSchema: z.ZodObject<{
|
|
|
2803
2813
|
favoriteGames: boolean;
|
|
2804
2814
|
gradientColor: boolean;
|
|
2805
2815
|
}, {
|
|
2816
|
+
location: boolean;
|
|
2817
|
+
birthday: boolean;
|
|
2806
2818
|
bio: boolean;
|
|
2807
2819
|
profilePicture: boolean;
|
|
2808
2820
|
favoriteTeam: boolean;
|
|
@@ -4240,7 +4252,11 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
4240
4252
|
pinnedRatings: z.ZodBoolean;
|
|
4241
4253
|
favoriteGames: z.ZodBoolean;
|
|
4242
4254
|
gradientColor: z.ZodBoolean;
|
|
4255
|
+
location: z.ZodBoolean;
|
|
4256
|
+
birthday: z.ZodBoolean;
|
|
4243
4257
|
}, "strip", z.ZodTypeAny, {
|
|
4258
|
+
location: boolean;
|
|
4259
|
+
birthday: boolean;
|
|
4244
4260
|
bio: boolean;
|
|
4245
4261
|
profilePicture: boolean;
|
|
4246
4262
|
favoriteTeam: boolean;
|
|
@@ -4248,6 +4264,8 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
4248
4264
|
favoriteGames: boolean;
|
|
4249
4265
|
gradientColor: boolean;
|
|
4250
4266
|
}, {
|
|
4267
|
+
location: boolean;
|
|
4268
|
+
birthday: boolean;
|
|
4251
4269
|
bio: boolean;
|
|
4252
4270
|
profilePicture: boolean;
|
|
4253
4271
|
favoriteTeam: boolean;
|
|
@@ -5492,7 +5510,11 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
5492
5510
|
pinnedRatings: z.ZodBoolean;
|
|
5493
5511
|
favoriteGames: z.ZodBoolean;
|
|
5494
5512
|
gradientColor: z.ZodBoolean;
|
|
5513
|
+
location: z.ZodBoolean;
|
|
5514
|
+
birthday: z.ZodBoolean;
|
|
5495
5515
|
}, "strip", z.ZodTypeAny, {
|
|
5516
|
+
location: boolean;
|
|
5517
|
+
birthday: boolean;
|
|
5496
5518
|
bio: boolean;
|
|
5497
5519
|
profilePicture: boolean;
|
|
5498
5520
|
favoriteTeam: boolean;
|
|
@@ -5500,6 +5522,8 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
|
|
|
5500
5522
|
favoriteGames: boolean;
|
|
5501
5523
|
gradientColor: boolean;
|
|
5502
5524
|
}, {
|
|
5525
|
+
location: boolean;
|
|
5526
|
+
birthday: boolean;
|
|
5503
5527
|
bio: boolean;
|
|
5504
5528
|
profilePicture: boolean;
|
|
5505
5529
|
favoriteTeam: boolean;
|