rategame-shared 1.1.151 → 1.1.153
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/index.d.ts +2 -1
- package/dist/helpers/index.js +101 -36
- package/dist/schemas/game.d.ts +20 -20
- package/dist/schemas/rating.d.ts +3 -3
- package/dist/schemas/team.d.ts +7 -7
- package/dist/schemas/user.d.ts +12 -11
- package/dist/schemas/user.js +22 -2
- package/package.json +1 -1
package/dist/helpers/index.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import { Timestamp } from "@firebase/firestore";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { timeFilterSchema } from "../schemas/sharedTypes";
|
|
4
4
|
import { Achievement } from "../models/user";
|
|
5
|
+
import { achievementId } from "../schemas/user";
|
|
5
6
|
export declare const firestoreTimestampSchema: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
|
6
7
|
type LeagueSlug = "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "mls" | "cbb" | "cfb" | "epl";
|
|
7
8
|
export declare const urlPrefixMap: Record<LeagueSlug, string>;
|
|
8
9
|
export type TimeFilter = z.infer<typeof timeFilterSchema>;
|
|
9
|
-
export declare const
|
|
10
|
+
export declare const achievementsMap: Record<typeof achievementId._type, Achievement>;
|
|
10
11
|
export {};
|
package/dist/helpers/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.achievementsMap = exports.urlPrefixMap = exports.firestoreTimestampSchema = void 0;
|
|
4
4
|
const firestore_1 = require("@firebase/firestore");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
exports.firestoreTimestampSchema = zod_1.z.instanceof(firestore_1.Timestamp);
|
|
@@ -15,8 +15,8 @@ exports.urlPrefixMap = {
|
|
|
15
15
|
cbb: "leagues/cbb/",
|
|
16
16
|
cfb: "leagues/cfb/",
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
{
|
|
18
|
+
exports.achievementsMap = {
|
|
19
|
+
speed_rater: {
|
|
20
20
|
id: "speed_rater",
|
|
21
21
|
name: "Speed Rater",
|
|
22
22
|
description: "Rate a game within 5 minutes of it ending.",
|
|
@@ -26,9 +26,9 @@ exports.ACHIEVEMENTS = [
|
|
|
26
26
|
gold: { threshold: 50 },
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
id: "
|
|
31
|
-
name: "
|
|
29
|
+
take_this: {
|
|
30
|
+
id: "take_this",
|
|
31
|
+
name: "Take This",
|
|
32
32
|
description: "Get likes on a single rating.",
|
|
33
33
|
tiers: {
|
|
34
34
|
bronze: { threshold: 10 },
|
|
@@ -36,9 +36,9 @@ exports.ACHIEVEMENTS = [
|
|
|
36
36
|
gold: { threshold: 50 },
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
-
{
|
|
40
|
-
id: "
|
|
41
|
-
name: "
|
|
39
|
+
front_runner: {
|
|
40
|
+
id: "front_runner",
|
|
41
|
+
name: "Front Runner",
|
|
42
42
|
description: "Rate games where your favorite team wins.",
|
|
43
43
|
tiers: {
|
|
44
44
|
bronze: { threshold: 10 },
|
|
@@ -46,19 +46,19 @@ exports.ACHIEVEMENTS = [
|
|
|
46
46
|
gold: { threshold: 50 },
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
|
-
{
|
|
50
|
-
id: "
|
|
51
|
-
name: "Loyal
|
|
52
|
-
description: "Rate games where your favorite team
|
|
49
|
+
loyal_till_the_end: {
|
|
50
|
+
id: "loyal_till_the_end",
|
|
51
|
+
name: "Loyal Till the End",
|
|
52
|
+
description: "Rate games where your favorite team wins.",
|
|
53
53
|
tiers: {
|
|
54
54
|
bronze: { threshold: 10 },
|
|
55
55
|
silver: { threshold: 25 },
|
|
56
56
|
gold: { threshold: 50 },
|
|
57
57
|
},
|
|
58
58
|
},
|
|
59
|
-
{
|
|
60
|
-
id: "
|
|
61
|
-
name: "
|
|
59
|
+
around_the_world: {
|
|
60
|
+
id: "around_the_world",
|
|
61
|
+
name: "Around the World",
|
|
62
62
|
description: "Rate at least one game from all leagues.",
|
|
63
63
|
tiers: {
|
|
64
64
|
bronze: { threshold: 3 },
|
|
@@ -66,19 +66,19 @@ exports.ACHIEVEMENTS = [
|
|
|
66
66
|
gold: { threshold: 8 },
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
|
-
{
|
|
69
|
+
superfan: {
|
|
70
70
|
id: "superfan",
|
|
71
71
|
name: "Superfan",
|
|
72
72
|
description: "Rate every game played by your favorite team in a season.",
|
|
73
73
|
},
|
|
74
|
-
{
|
|
75
|
-
id: "
|
|
76
|
-
name: "
|
|
74
|
+
"fan-tastic": {
|
|
75
|
+
id: "fan_tastic",
|
|
76
|
+
name: "Fan-Tastic",
|
|
77
77
|
description: "Select your favorite teams in the app.",
|
|
78
78
|
},
|
|
79
|
-
{
|
|
80
|
-
id: "
|
|
81
|
-
name: "Marathon
|
|
79
|
+
marathon_fan: {
|
|
80
|
+
id: "marathon_fan",
|
|
81
|
+
name: "Marathon Fan",
|
|
82
82
|
description: "Rate games in a single day.",
|
|
83
83
|
tiers: {
|
|
84
84
|
bronze: { threshold: 5 },
|
|
@@ -86,7 +86,7 @@ exports.ACHIEVEMENTS = [
|
|
|
86
86
|
gold: { threshold: 20 },
|
|
87
87
|
},
|
|
88
88
|
},
|
|
89
|
-
{
|
|
89
|
+
new_years_resolution: {
|
|
90
90
|
id: "new_years_resolution",
|
|
91
91
|
name: "New Year’s Resolution",
|
|
92
92
|
description: "Rate games on January 1st.",
|
|
@@ -96,14 +96,9 @@ exports.ACHIEVEMENTS = [
|
|
|
96
96
|
gold: { threshold: 10 },
|
|
97
97
|
},
|
|
98
98
|
},
|
|
99
|
-
{
|
|
100
|
-
id: "
|
|
101
|
-
name: "
|
|
102
|
-
description: "Rate every game of a championship series.",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
id: "summer_sports_fan",
|
|
106
|
-
name: "Summer Sports Fan",
|
|
99
|
+
dog_days_of_summer: {
|
|
100
|
+
id: "dog_days_of_summer",
|
|
101
|
+
name: "Dog Days of Summer",
|
|
107
102
|
description: "Rate games during the off-season of most leagues.",
|
|
108
103
|
tiers: {
|
|
109
104
|
bronze: { threshold: 20 },
|
|
@@ -111,9 +106,79 @@ exports.ACHIEVEMENTS = [
|
|
|
111
106
|
gold: { threshold: 100 },
|
|
112
107
|
},
|
|
113
108
|
},
|
|
114
|
-
{
|
|
115
|
-
id: "
|
|
116
|
-
name: "
|
|
109
|
+
"50_50_club": {
|
|
110
|
+
id: "50_50_club",
|
|
111
|
+
name: "50/50 Club",
|
|
117
112
|
description: "Rate at least 50% of all games in a single season for one league.",
|
|
118
113
|
},
|
|
119
|
-
|
|
114
|
+
take_off: {
|
|
115
|
+
id: "take_off",
|
|
116
|
+
name: "Take Off",
|
|
117
|
+
description: "Rate games from every league with a take.",
|
|
118
|
+
tiers: {
|
|
119
|
+
bronze: { threshold: 3 },
|
|
120
|
+
silver: { threshold: 5 },
|
|
121
|
+
gold: { threshold: 8 },
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
embrace_debate: {
|
|
125
|
+
id: "embrace_debate",
|
|
126
|
+
name: "Embrace Debate",
|
|
127
|
+
description: "Reply to takes.",
|
|
128
|
+
tiers: {
|
|
129
|
+
bronze: { threshold: 10 },
|
|
130
|
+
silver: { threshold: 50 },
|
|
131
|
+
gold: { threshold: 100 },
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
fan_of_the_people: {
|
|
135
|
+
id: "fan_of_the_people",
|
|
136
|
+
name: "Fan of the People",
|
|
137
|
+
description: "Get Followers.",
|
|
138
|
+
tiers: {
|
|
139
|
+
bronze: { threshold: 10 },
|
|
140
|
+
silver: { threshold: 50 },
|
|
141
|
+
gold: { threshold: 100 },
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
the_peoples_fan: {
|
|
145
|
+
id: "the_peoples_fan",
|
|
146
|
+
name: "The People's Fan",
|
|
147
|
+
description: "Follow other fans.",
|
|
148
|
+
tiers: {
|
|
149
|
+
bronze: { threshold: 10 },
|
|
150
|
+
silver: { threshold: 50 },
|
|
151
|
+
gold: { threshold: 100 },
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
take_titan: {
|
|
155
|
+
id: "take_titan",
|
|
156
|
+
name: "Take Titan",
|
|
157
|
+
description: "Rate games with a takes across all leagues.",
|
|
158
|
+
tiers: {
|
|
159
|
+
bronze: { threshold: 100 },
|
|
160
|
+
silver: { threshold: 500 },
|
|
161
|
+
gold: { threshold: 1000 },
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
take_first: {
|
|
165
|
+
id: "take_first",
|
|
166
|
+
name: "Take First",
|
|
167
|
+
description: "Be the first to rate a game with a take.",
|
|
168
|
+
tiers: {
|
|
169
|
+
bronze: { threshold: 10 },
|
|
170
|
+
silver: { threshold: 50 },
|
|
171
|
+
gold: { threshold: 100 },
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
hall_of_takes: {
|
|
175
|
+
id: "hall_of_takes",
|
|
176
|
+
name: "Hall of Takes",
|
|
177
|
+
description: "Accumulate agrees across all takes.",
|
|
178
|
+
tiers: {
|
|
179
|
+
bronze: { threshold: 100 },
|
|
180
|
+
silver: { threshold: 500 },
|
|
181
|
+
gold: { threshold: 1000 },
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
};
|
package/dist/schemas/game.d.ts
CHANGED
|
@@ -3288,7 +3288,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
3288
3288
|
count: number;
|
|
3289
3289
|
}[] | undefined;
|
|
3290
3290
|
}>>;
|
|
3291
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
3291
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
3292
3292
|
id: z.ZodString;
|
|
3293
3293
|
name: z.ZodString;
|
|
3294
3294
|
description: z.ZodString;
|
|
@@ -5459,7 +5459,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5459
5459
|
count: number;
|
|
5460
5460
|
}[] | undefined;
|
|
5461
5461
|
}>>;
|
|
5462
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
5462
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
5463
5463
|
id: z.ZodString;
|
|
5464
5464
|
name: z.ZodString;
|
|
5465
5465
|
description: z.ZodString;
|
|
@@ -7691,7 +7691,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7691
7691
|
count: number;
|
|
7692
7692
|
}[] | undefined;
|
|
7693
7693
|
}>>;
|
|
7694
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
7694
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
7695
7695
|
id: z.ZodString;
|
|
7696
7696
|
name: z.ZodString;
|
|
7697
7697
|
description: z.ZodString;
|
|
@@ -9931,7 +9931,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9931
9931
|
count: number;
|
|
9932
9932
|
}[] | undefined;
|
|
9933
9933
|
}>>;
|
|
9934
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
9934
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
9935
9935
|
id: z.ZodString;
|
|
9936
9936
|
name: z.ZodString;
|
|
9937
9937
|
description: z.ZodString;
|
|
@@ -12249,7 +12249,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
12249
12249
|
count: number;
|
|
12250
12250
|
}[] | undefined;
|
|
12251
12251
|
}>>;
|
|
12252
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
12252
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
12253
12253
|
id: z.ZodString;
|
|
12254
12254
|
name: z.ZodString;
|
|
12255
12255
|
description: z.ZodString;
|
|
@@ -14545,7 +14545,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
14545
14545
|
count: number;
|
|
14546
14546
|
}[] | undefined;
|
|
14547
14547
|
}>>;
|
|
14548
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
14548
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
14549
14549
|
id: z.ZodString;
|
|
14550
14550
|
name: z.ZodString;
|
|
14551
14551
|
description: z.ZodString;
|
|
@@ -16823,7 +16823,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16823
16823
|
count: number;
|
|
16824
16824
|
}[] | undefined;
|
|
16825
16825
|
}>>;
|
|
16826
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
16826
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
16827
16827
|
id: z.ZodString;
|
|
16828
16828
|
name: z.ZodString;
|
|
16829
16829
|
description: z.ZodString;
|
|
@@ -19014,7 +19014,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
19014
19014
|
count: number;
|
|
19015
19015
|
}[] | undefined;
|
|
19016
19016
|
}>>;
|
|
19017
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
19017
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
19018
19018
|
id: z.ZodString;
|
|
19019
19019
|
name: z.ZodString;
|
|
19020
19020
|
description: z.ZodString;
|
|
@@ -21232,7 +21232,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
21232
21232
|
count: number;
|
|
21233
21233
|
}[] | undefined;
|
|
21234
21234
|
}>>;
|
|
21235
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
21235
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
21236
21236
|
id: z.ZodString;
|
|
21237
21237
|
name: z.ZodString;
|
|
21238
21238
|
description: z.ZodString;
|
|
@@ -23471,7 +23471,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
23471
23471
|
count: number;
|
|
23472
23472
|
}[] | undefined;
|
|
23473
23473
|
}>>;
|
|
23474
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
23474
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
23475
23475
|
id: z.ZodString;
|
|
23476
23476
|
name: z.ZodString;
|
|
23477
23477
|
description: z.ZodString;
|
|
@@ -25788,7 +25788,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
25788
25788
|
count: number;
|
|
25789
25789
|
}[] | undefined;
|
|
25790
25790
|
}>>;
|
|
25791
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
25791
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
25792
25792
|
id: z.ZodString;
|
|
25793
25793
|
name: z.ZodString;
|
|
25794
25794
|
description: z.ZodString;
|
|
@@ -28083,7 +28083,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
28083
28083
|
count: number;
|
|
28084
28084
|
}[] | undefined;
|
|
28085
28085
|
}>>;
|
|
28086
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
28086
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
28087
28087
|
id: z.ZodString;
|
|
28088
28088
|
name: z.ZodString;
|
|
28089
28089
|
description: z.ZodString;
|
|
@@ -30360,7 +30360,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
30360
30360
|
count: number;
|
|
30361
30361
|
}[] | undefined;
|
|
30362
30362
|
}>>;
|
|
30363
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
30363
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
30364
30364
|
id: z.ZodString;
|
|
30365
30365
|
name: z.ZodString;
|
|
30366
30366
|
description: z.ZodString;
|
|
@@ -32595,7 +32595,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
32595
32595
|
count: number;
|
|
32596
32596
|
}[] | undefined;
|
|
32597
32597
|
}>>;
|
|
32598
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
32598
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
32599
32599
|
id: z.ZodString;
|
|
32600
32600
|
name: z.ZodString;
|
|
32601
32601
|
description: z.ZodString;
|
|
@@ -34813,7 +34813,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
34813
34813
|
count: number;
|
|
34814
34814
|
}[] | undefined;
|
|
34815
34815
|
}>>;
|
|
34816
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
34816
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
34817
34817
|
id: z.ZodString;
|
|
34818
34818
|
name: z.ZodString;
|
|
34819
34819
|
description: z.ZodString;
|
|
@@ -37052,7 +37052,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
37052
37052
|
count: number;
|
|
37053
37053
|
}[] | undefined;
|
|
37054
37054
|
}>>;
|
|
37055
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
37055
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
37056
37056
|
id: z.ZodString;
|
|
37057
37057
|
name: z.ZodString;
|
|
37058
37058
|
description: z.ZodString;
|
|
@@ -39369,7 +39369,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
39369
39369
|
count: number;
|
|
39370
39370
|
}[] | undefined;
|
|
39371
39371
|
}>>;
|
|
39372
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
39372
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
39373
39373
|
id: z.ZodString;
|
|
39374
39374
|
name: z.ZodString;
|
|
39375
39375
|
description: z.ZodString;
|
|
@@ -41664,7 +41664,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
41664
41664
|
count: number;
|
|
41665
41665
|
}[] | undefined;
|
|
41666
41666
|
}>>;
|
|
41667
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
41667
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
41668
41668
|
id: z.ZodString;
|
|
41669
41669
|
name: z.ZodString;
|
|
41670
41670
|
description: z.ZodString;
|
|
@@ -43941,7 +43941,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
43941
43941
|
count: number;
|
|
43942
43942
|
}[] | undefined;
|
|
43943
43943
|
}>>;
|
|
43944
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
43944
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
43945
43945
|
id: z.ZodString;
|
|
43946
43946
|
name: z.ZodString;
|
|
43947
43947
|
description: z.ZodString;
|
|
@@ -45075,7 +45075,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
45075
45075
|
count: number;
|
|
45076
45076
|
}[] | undefined;
|
|
45077
45077
|
}>>;
|
|
45078
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
45078
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
45079
45079
|
id: z.ZodString;
|
|
45080
45080
|
name: z.ZodString;
|
|
45081
45081
|
description: z.ZodString;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -1455,7 +1455,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1455
1455
|
count: number;
|
|
1456
1456
|
}[] | undefined;
|
|
1457
1457
|
}>>;
|
|
1458
|
-
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").
|
|
1458
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodUnion<[import("zod").ZodLiteral<"speed_rater">, import("zod").ZodLiteral<"take_this">, import("zod").ZodLiteral<"front_runner">, import("zod").ZodLiteral<"loyal_till_the_end">, import("zod").ZodLiteral<"around_the_world">, import("zod").ZodLiteral<"take_off">, import("zod").ZodLiteral<"embrace_debate">, import("zod").ZodLiteral<"fan_of_the_people">, import("zod").ZodLiteral<"the_peoples_fan">, import("zod").ZodLiteral<"take_titan">, import("zod").ZodLiteral<"take_first">, import("zod").ZodLiteral<"hall_of_takes">, import("zod").ZodLiteral<"superfan">, import("zod").ZodLiteral<"fan-tastic">, import("zod").ZodLiteral<"marathon_fan">, import("zod").ZodLiteral<"new_years_resolution">, import("zod").ZodLiteral<"dog_days_of_summer">, import("zod").ZodLiteral<"50_50_club">]>, import("zod").ZodObject<{
|
|
1459
1459
|
id: import("zod").ZodString;
|
|
1460
1460
|
name: import("zod").ZodString;
|
|
1461
1461
|
description: import("zod").ZodString;
|
|
@@ -2209,7 +2209,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2209
2209
|
count: number;
|
|
2210
2210
|
}[] | undefined;
|
|
2211
2211
|
}>>;
|
|
2212
|
-
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").
|
|
2212
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodUnion<[import("zod").ZodLiteral<"speed_rater">, import("zod").ZodLiteral<"take_this">, import("zod").ZodLiteral<"front_runner">, import("zod").ZodLiteral<"loyal_till_the_end">, import("zod").ZodLiteral<"around_the_world">, import("zod").ZodLiteral<"take_off">, import("zod").ZodLiteral<"embrace_debate">, import("zod").ZodLiteral<"fan_of_the_people">, import("zod").ZodLiteral<"the_peoples_fan">, import("zod").ZodLiteral<"take_titan">, import("zod").ZodLiteral<"take_first">, import("zod").ZodLiteral<"hall_of_takes">, import("zod").ZodLiteral<"superfan">, import("zod").ZodLiteral<"fan-tastic">, import("zod").ZodLiteral<"marathon_fan">, import("zod").ZodLiteral<"new_years_resolution">, import("zod").ZodLiteral<"dog_days_of_summer">, import("zod").ZodLiteral<"50_50_club">]>, import("zod").ZodObject<{
|
|
2213
2213
|
id: import("zod").ZodString;
|
|
2214
2214
|
name: import("zod").ZodString;
|
|
2215
2215
|
description: import("zod").ZodString;
|
|
@@ -3029,7 +3029,7 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3029
3029
|
count: number;
|
|
3030
3030
|
}[] | undefined;
|
|
3031
3031
|
}>>;
|
|
3032
|
-
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").
|
|
3032
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodUnion<[import("zod").ZodLiteral<"speed_rater">, import("zod").ZodLiteral<"take_this">, import("zod").ZodLiteral<"front_runner">, import("zod").ZodLiteral<"loyal_till_the_end">, import("zod").ZodLiteral<"around_the_world">, import("zod").ZodLiteral<"take_off">, import("zod").ZodLiteral<"embrace_debate">, import("zod").ZodLiteral<"fan_of_the_people">, import("zod").ZodLiteral<"the_peoples_fan">, import("zod").ZodLiteral<"take_titan">, import("zod").ZodLiteral<"take_first">, import("zod").ZodLiteral<"hall_of_takes">, import("zod").ZodLiteral<"superfan">, import("zod").ZodLiteral<"fan-tastic">, import("zod").ZodLiteral<"marathon_fan">, import("zod").ZodLiteral<"new_years_resolution">, import("zod").ZodLiteral<"dog_days_of_summer">, import("zod").ZodLiteral<"50_50_club">]>, import("zod").ZodObject<{
|
|
3033
3033
|
id: import("zod").ZodString;
|
|
3034
3034
|
name: import("zod").ZodString;
|
|
3035
3035
|
description: import("zod").ZodString;
|
package/dist/schemas/team.d.ts
CHANGED
|
@@ -639,7 +639,7 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
639
639
|
count: number;
|
|
640
640
|
}[] | undefined;
|
|
641
641
|
}>>;
|
|
642
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
642
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
643
643
|
id: z.ZodString;
|
|
644
644
|
name: z.ZodString;
|
|
645
645
|
description: z.ZodString;
|
|
@@ -1450,7 +1450,7 @@ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1450
1450
|
count: number;
|
|
1451
1451
|
}[] | undefined;
|
|
1452
1452
|
}>>;
|
|
1453
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
1453
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
1454
1454
|
id: z.ZodString;
|
|
1455
1455
|
name: z.ZodString;
|
|
1456
1456
|
description: z.ZodString;
|
|
@@ -2259,7 +2259,7 @@ export declare const footballTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2259
2259
|
count: number;
|
|
2260
2260
|
}[] | undefined;
|
|
2261
2261
|
}>>;
|
|
2262
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
2262
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
2263
2263
|
id: z.ZodString;
|
|
2264
2264
|
name: z.ZodString;
|
|
2265
2265
|
description: z.ZodString;
|
|
@@ -3065,7 +3065,7 @@ export declare const nflTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3065
3065
|
count: number;
|
|
3066
3066
|
}[] | undefined;
|
|
3067
3067
|
}>>;
|
|
3068
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
3068
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
3069
3069
|
id: z.ZodString;
|
|
3070
3070
|
name: z.ZodString;
|
|
3071
3071
|
description: z.ZodString;
|
|
@@ -3874,7 +3874,7 @@ export declare const cfbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3874
3874
|
count: number;
|
|
3875
3875
|
}[] | undefined;
|
|
3876
3876
|
}>>;
|
|
3877
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
3877
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
3878
3878
|
id: z.ZodString;
|
|
3879
3879
|
name: z.ZodString;
|
|
3880
3880
|
description: z.ZodString;
|
|
@@ -4686,7 +4686,7 @@ export declare const cbbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4686
4686
|
count: number;
|
|
4687
4687
|
}[] | undefined;
|
|
4688
4688
|
}>>;
|
|
4689
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
4689
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
4690
4690
|
id: z.ZodString;
|
|
4691
4691
|
name: z.ZodString;
|
|
4692
4692
|
description: z.ZodString;
|
|
@@ -5498,7 +5498,7 @@ export declare const nhlTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5498
5498
|
count: number;
|
|
5499
5499
|
}[] | undefined;
|
|
5500
5500
|
}>>;
|
|
5501
|
-
achievements: z.ZodOptional<z.ZodRecord<z.
|
|
5501
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"speed_rater">, z.ZodLiteral<"take_this">, z.ZodLiteral<"front_runner">, z.ZodLiteral<"loyal_till_the_end">, z.ZodLiteral<"around_the_world">, z.ZodLiteral<"take_off">, z.ZodLiteral<"embrace_debate">, z.ZodLiteral<"fan_of_the_people">, z.ZodLiteral<"the_peoples_fan">, z.ZodLiteral<"take_titan">, z.ZodLiteral<"take_first">, z.ZodLiteral<"hall_of_takes">, z.ZodLiteral<"superfan">, z.ZodLiteral<"fan-tastic">, z.ZodLiteral<"marathon_fan">, z.ZodLiteral<"new_years_resolution">, z.ZodLiteral<"dog_days_of_summer">, z.ZodLiteral<"50_50_club">]>, z.ZodObject<{
|
|
5502
5502
|
id: z.ZodString;
|
|
5503
5503
|
name: z.ZodString;
|
|
5504
5504
|
description: z.ZodString;
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export declare const leagueStatsSchema: import("zod").ZodObject<{
|
|
|
34
34
|
weightedRating: number;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
|
+
export declare const achievementId: import("zod").ZodUnion<[import("zod").ZodLiteral<"speed_rater">, import("zod").ZodLiteral<"take_this">, import("zod").ZodLiteral<"front_runner">, import("zod").ZodLiteral<"loyal_till_the_end">, import("zod").ZodLiteral<"around_the_world">, import("zod").ZodLiteral<"take_off">, import("zod").ZodLiteral<"embrace_debate">, import("zod").ZodLiteral<"fan_of_the_people">, import("zod").ZodLiteral<"the_peoples_fan">, import("zod").ZodLiteral<"take_titan">, import("zod").ZodLiteral<"take_first">, import("zod").ZodLiteral<"hall_of_takes">, import("zod").ZodLiteral<"superfan">, import("zod").ZodLiteral<"fan-tastic">, import("zod").ZodLiteral<"marathon_fan">, import("zod").ZodLiteral<"new_years_resolution">, import("zod").ZodLiteral<"dog_days_of_summer">, import("zod").ZodLiteral<"50_50_club">]>;
|
|
37
38
|
export declare const achievementSchema: import("zod").ZodObject<{
|
|
38
39
|
id: import("zod").ZodString;
|
|
39
40
|
name: import("zod").ZodString;
|
|
@@ -772,7 +773,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
772
773
|
count: number;
|
|
773
774
|
}[] | undefined;
|
|
774
775
|
}>>;
|
|
775
|
-
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").
|
|
776
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodUnion<[import("zod").ZodLiteral<"speed_rater">, import("zod").ZodLiteral<"take_this">, import("zod").ZodLiteral<"front_runner">, import("zod").ZodLiteral<"loyal_till_the_end">, import("zod").ZodLiteral<"around_the_world">, import("zod").ZodLiteral<"take_off">, import("zod").ZodLiteral<"embrace_debate">, import("zod").ZodLiteral<"fan_of_the_people">, import("zod").ZodLiteral<"the_peoples_fan">, import("zod").ZodLiteral<"take_titan">, import("zod").ZodLiteral<"take_first">, import("zod").ZodLiteral<"hall_of_takes">, import("zod").ZodLiteral<"superfan">, import("zod").ZodLiteral<"fan-tastic">, import("zod").ZodLiteral<"marathon_fan">, import("zod").ZodLiteral<"new_years_resolution">, import("zod").ZodLiteral<"dog_days_of_summer">, import("zod").ZodLiteral<"50_50_club">]>, import("zod").ZodObject<{
|
|
776
777
|
id: import("zod").ZodString;
|
|
777
778
|
name: import("zod").ZodString;
|
|
778
779
|
description: import("zod").ZodString;
|
|
@@ -1032,7 +1033,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1032
1033
|
count: number;
|
|
1033
1034
|
}[] | undefined;
|
|
1034
1035
|
} | undefined;
|
|
1035
|
-
achievements?: Record<
|
|
1036
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club", {
|
|
1036
1037
|
id: string;
|
|
1037
1038
|
name: string;
|
|
1038
1039
|
description: string;
|
|
@@ -1052,7 +1053,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1052
1053
|
};
|
|
1053
1054
|
} | undefined;
|
|
1054
1055
|
currentTier?: number | undefined;
|
|
1055
|
-
}
|
|
1056
|
+
}>> | undefined;
|
|
1056
1057
|
}, {
|
|
1057
1058
|
id: string;
|
|
1058
1059
|
email: string;
|
|
@@ -1208,7 +1209,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1208
1209
|
count: number;
|
|
1209
1210
|
}[] | undefined;
|
|
1210
1211
|
} | undefined;
|
|
1211
|
-
achievements?: Record<
|
|
1212
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club", {
|
|
1212
1213
|
id: string;
|
|
1213
1214
|
name: string;
|
|
1214
1215
|
description: string;
|
|
@@ -1228,7 +1229,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1228
1229
|
};
|
|
1229
1230
|
} | undefined;
|
|
1230
1231
|
currentTier?: number | undefined;
|
|
1231
|
-
}
|
|
1232
|
+
}>> | undefined;
|
|
1232
1233
|
}>;
|
|
1233
1234
|
export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
1234
1235
|
id: import("zod").ZodString;
|
|
@@ -1863,7 +1864,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
1863
1864
|
count: number;
|
|
1864
1865
|
}[] | undefined;
|
|
1865
1866
|
}>>;
|
|
1866
|
-
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").
|
|
1867
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodUnion<[import("zod").ZodLiteral<"speed_rater">, import("zod").ZodLiteral<"take_this">, import("zod").ZodLiteral<"front_runner">, import("zod").ZodLiteral<"loyal_till_the_end">, import("zod").ZodLiteral<"around_the_world">, import("zod").ZodLiteral<"take_off">, import("zod").ZodLiteral<"embrace_debate">, import("zod").ZodLiteral<"fan_of_the_people">, import("zod").ZodLiteral<"the_peoples_fan">, import("zod").ZodLiteral<"take_titan">, import("zod").ZodLiteral<"take_first">, import("zod").ZodLiteral<"hall_of_takes">, import("zod").ZodLiteral<"superfan">, import("zod").ZodLiteral<"fan-tastic">, import("zod").ZodLiteral<"marathon_fan">, import("zod").ZodLiteral<"new_years_resolution">, import("zod").ZodLiteral<"dog_days_of_summer">, import("zod").ZodLiteral<"50_50_club">]>, import("zod").ZodObject<{
|
|
1867
1868
|
id: import("zod").ZodString;
|
|
1868
1869
|
name: import("zod").ZodString;
|
|
1869
1870
|
description: import("zod").ZodString;
|
|
@@ -2112,7 +2113,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2112
2113
|
count: number;
|
|
2113
2114
|
}[] | undefined;
|
|
2114
2115
|
} | undefined;
|
|
2115
|
-
achievements?: Record<
|
|
2116
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club", {
|
|
2116
2117
|
id: string;
|
|
2117
2118
|
name: string;
|
|
2118
2119
|
description: string;
|
|
@@ -2132,7 +2133,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2132
2133
|
};
|
|
2133
2134
|
} | undefined;
|
|
2134
2135
|
currentTier?: number | undefined;
|
|
2135
|
-
}
|
|
2136
|
+
}>> | undefined;
|
|
2136
2137
|
}, {
|
|
2137
2138
|
email: string;
|
|
2138
2139
|
username: string;
|
|
@@ -2277,7 +2278,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2277
2278
|
count: number;
|
|
2278
2279
|
}[] | undefined;
|
|
2279
2280
|
} | undefined;
|
|
2280
|
-
achievements?: Record<
|
|
2281
|
+
achievements?: Partial<Record<"speed_rater" | "take_this" | "front_runner" | "loyal_till_the_end" | "around_the_world" | "take_off" | "embrace_debate" | "fan_of_the_people" | "the_peoples_fan" | "take_titan" | "take_first" | "hall_of_takes" | "superfan" | "fan-tastic" | "marathon_fan" | "new_years_resolution" | "dog_days_of_summer" | "50_50_club", {
|
|
2281
2282
|
id: string;
|
|
2282
2283
|
name: string;
|
|
2283
2284
|
description: string;
|
|
@@ -2297,7 +2298,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2297
2298
|
};
|
|
2298
2299
|
} | undefined;
|
|
2299
2300
|
currentTier?: number | undefined;
|
|
2300
|
-
}
|
|
2301
|
+
}>> | undefined;
|
|
2301
2302
|
}>;
|
|
2302
2303
|
export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
2303
2304
|
id: import("zod").ZodString;
|
|
@@ -2932,7 +2933,7 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
2932
2933
|
count: number;
|
|
2933
2934
|
}[] | undefined;
|
|
2934
2935
|
}>>;
|
|
2935
|
-
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").
|
|
2936
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodUnion<[import("zod").ZodLiteral<"speed_rater">, import("zod").ZodLiteral<"take_this">, import("zod").ZodLiteral<"front_runner">, import("zod").ZodLiteral<"loyal_till_the_end">, import("zod").ZodLiteral<"around_the_world">, import("zod").ZodLiteral<"take_off">, import("zod").ZodLiteral<"embrace_debate">, import("zod").ZodLiteral<"fan_of_the_people">, import("zod").ZodLiteral<"the_peoples_fan">, import("zod").ZodLiteral<"take_titan">, import("zod").ZodLiteral<"take_first">, import("zod").ZodLiteral<"hall_of_takes">, import("zod").ZodLiteral<"superfan">, import("zod").ZodLiteral<"fan-tastic">, import("zod").ZodLiteral<"marathon_fan">, import("zod").ZodLiteral<"new_years_resolution">, import("zod").ZodLiteral<"dog_days_of_summer">, import("zod").ZodLiteral<"50_50_club">]>, import("zod").ZodObject<{
|
|
2936
2937
|
id: import("zod").ZodString;
|
|
2937
2938
|
name: import("zod").ZodString;
|
|
2938
2939
|
description: import("zod").ZodString;
|
package/dist/schemas/user.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchUserSchema = exports.reducedUserSchema = exports.createUserSchema = exports.userSchema = exports.achievementSchema = exports.leagueStatsSchema = void 0;
|
|
3
|
+
exports.searchUserSchema = exports.reducedUserSchema = exports.createUserSchema = exports.userSchema = exports.achievementSchema = exports.achievementId = exports.leagueStatsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const sharedTypes_1 = require("./sharedTypes");
|
|
6
6
|
exports.leagueStatsSchema = (0, zod_1.object)({
|
|
@@ -13,6 +13,26 @@ exports.leagueStatsSchema = (0, zod_1.object)({
|
|
|
13
13
|
weightedRating: (0, zod_1.number)(),
|
|
14
14
|
}),
|
|
15
15
|
});
|
|
16
|
+
exports.achievementId = (0, zod_1.union)([
|
|
17
|
+
(0, zod_1.literal)("speed_rater"),
|
|
18
|
+
(0, zod_1.literal)("take_this"),
|
|
19
|
+
(0, zod_1.literal)("front_runner"),
|
|
20
|
+
(0, zod_1.literal)("loyal_till_the_end"),
|
|
21
|
+
(0, zod_1.literal)("around_the_world"),
|
|
22
|
+
(0, zod_1.literal)("take_off"),
|
|
23
|
+
(0, zod_1.literal)("embrace_debate"),
|
|
24
|
+
(0, zod_1.literal)("fan_of_the_people"),
|
|
25
|
+
(0, zod_1.literal)("the_peoples_fan"),
|
|
26
|
+
(0, zod_1.literal)("take_titan"),
|
|
27
|
+
(0, zod_1.literal)("take_first"),
|
|
28
|
+
(0, zod_1.literal)("hall_of_takes"),
|
|
29
|
+
(0, zod_1.literal)("superfan"),
|
|
30
|
+
(0, zod_1.literal)("fan-tastic"),
|
|
31
|
+
(0, zod_1.literal)("marathon_fan"),
|
|
32
|
+
(0, zod_1.literal)("new_years_resolution"),
|
|
33
|
+
(0, zod_1.literal)("dog_days_of_summer"),
|
|
34
|
+
(0, zod_1.literal)("50_50_club"),
|
|
35
|
+
]);
|
|
16
36
|
exports.achievementSchema = (0, zod_1.object)({
|
|
17
37
|
id: (0, zod_1.string)(),
|
|
18
38
|
name: (0, zod_1.string)(),
|
|
@@ -114,7 +134,7 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
114
134
|
achievedAt: (0, zod_1.number)(),
|
|
115
135
|
})).optional(),
|
|
116
136
|
}).optional(),
|
|
117
|
-
achievements: (0, zod_1.record)(exports.achievementSchema).optional(),
|
|
137
|
+
achievements: (0, zod_1.record)(exports.achievementId, exports.achievementSchema).optional(),
|
|
118
138
|
});
|
|
119
139
|
exports.createUserSchema = exports.userSchema.omit({
|
|
120
140
|
id: true,
|