rategame-shared 1.1.149 → 1.1.151
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/schemas/game.d.ts +46 -40
- package/dist/schemas/game.js +4 -0
- package/dist/schemas/rating.d.ts +6 -6
- package/dist/schemas/team.d.ts +14 -14
- package/dist/schemas/user.d.ts +14 -14
- package/dist/schemas/user.js +1 -1
- package/package.json +1 -1
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.
|
|
3291
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3292
3292
|
id: z.ZodString;
|
|
3293
3293
|
name: z.ZodString;
|
|
3294
3294
|
description: z.ZodString;
|
|
@@ -3392,7 +3392,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
3392
3392
|
};
|
|
3393
3393
|
} | undefined;
|
|
3394
3394
|
currentTier?: number | undefined;
|
|
3395
|
-
}
|
|
3395
|
+
}>>>;
|
|
3396
3396
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3397
3397
|
id: string;
|
|
3398
3398
|
email: string;
|
|
@@ -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.
|
|
5462
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5463
5463
|
id: z.ZodString;
|
|
5464
5464
|
name: z.ZodString;
|
|
5465
5465
|
description: z.ZodString;
|
|
@@ -5563,7 +5563,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5563
5563
|
};
|
|
5564
5564
|
} | undefined;
|
|
5565
5565
|
currentTier?: number | undefined;
|
|
5566
|
-
}
|
|
5566
|
+
}>>>;
|
|
5567
5567
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
5568
5568
|
id: string;
|
|
5569
5569
|
email: string;
|
|
@@ -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.
|
|
7694
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7695
7695
|
id: z.ZodString;
|
|
7696
7696
|
name: z.ZodString;
|
|
7697
7697
|
description: z.ZodString;
|
|
@@ -7795,7 +7795,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7795
7795
|
};
|
|
7796
7796
|
} | undefined;
|
|
7797
7797
|
currentTier?: number | undefined;
|
|
7798
|
-
}
|
|
7798
|
+
}>>>;
|
|
7799
7799
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
7800
7800
|
id: string;
|
|
7801
7801
|
email: string;
|
|
@@ -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.
|
|
9934
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9935
9935
|
id: z.ZodString;
|
|
9936
9936
|
name: z.ZodString;
|
|
9937
9937
|
description: z.ZodString;
|
|
@@ -10035,7 +10035,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10035
10035
|
};
|
|
10036
10036
|
} | undefined;
|
|
10037
10037
|
currentTier?: number | undefined;
|
|
10038
|
-
}
|
|
10038
|
+
}>>>;
|
|
10039
10039
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
10040
10040
|
id: string;
|
|
10041
10041
|
email: string;
|
|
@@ -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.
|
|
12252
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12253
12253
|
id: z.ZodString;
|
|
12254
12254
|
name: z.ZodString;
|
|
12255
12255
|
description: z.ZodString;
|
|
@@ -12353,7 +12353,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
12353
12353
|
};
|
|
12354
12354
|
} | undefined;
|
|
12355
12355
|
currentTier?: number | undefined;
|
|
12356
|
-
}
|
|
12356
|
+
}>>>;
|
|
12357
12357
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
12358
12358
|
id: string;
|
|
12359
12359
|
email: string;
|
|
@@ -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.
|
|
14548
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14549
14549
|
id: z.ZodString;
|
|
14550
14550
|
name: z.ZodString;
|
|
14551
14551
|
description: z.ZodString;
|
|
@@ -14649,7 +14649,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
14649
14649
|
};
|
|
14650
14650
|
} | undefined;
|
|
14651
14651
|
currentTier?: number | undefined;
|
|
14652
|
-
}
|
|
14652
|
+
}>>>;
|
|
14653
14653
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
14654
14654
|
id: string;
|
|
14655
14655
|
email: string;
|
|
@@ -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.
|
|
16826
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16827
16827
|
id: z.ZodString;
|
|
16828
16828
|
name: z.ZodString;
|
|
16829
16829
|
description: z.ZodString;
|
|
@@ -16927,7 +16927,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16927
16927
|
};
|
|
16928
16928
|
} | undefined;
|
|
16929
16929
|
currentTier?: number | undefined;
|
|
16930
|
-
}
|
|
16930
|
+
}>>>;
|
|
16931
16931
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
16932
16932
|
id: string;
|
|
16933
16933
|
email: string;
|
|
@@ -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.
|
|
19017
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
19018
19018
|
id: z.ZodString;
|
|
19019
19019
|
name: z.ZodString;
|
|
19020
19020
|
description: z.ZodString;
|
|
@@ -19118,7 +19118,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
19118
19118
|
};
|
|
19119
19119
|
} | undefined;
|
|
19120
19120
|
currentTier?: number | undefined;
|
|
19121
|
-
}
|
|
19121
|
+
}>>>;
|
|
19122
19122
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
19123
19123
|
id: string;
|
|
19124
19124
|
email: string;
|
|
@@ -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.
|
|
21235
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
21236
21236
|
id: z.ZodString;
|
|
21237
21237
|
name: z.ZodString;
|
|
21238
21238
|
description: z.ZodString;
|
|
@@ -21336,7 +21336,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
21336
21336
|
};
|
|
21337
21337
|
} | undefined;
|
|
21338
21338
|
currentTier?: number | undefined;
|
|
21339
|
-
}
|
|
21339
|
+
}>>>;
|
|
21340
21340
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
21341
21341
|
id: string;
|
|
21342
21342
|
email: string;
|
|
@@ -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.
|
|
23474
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
23475
23475
|
id: z.ZodString;
|
|
23476
23476
|
name: z.ZodString;
|
|
23477
23477
|
description: z.ZodString;
|
|
@@ -23575,7 +23575,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
23575
23575
|
};
|
|
23576
23576
|
} | undefined;
|
|
23577
23577
|
currentTier?: number | undefined;
|
|
23578
|
-
}
|
|
23578
|
+
}>>>;
|
|
23579
23579
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
23580
23580
|
id: string;
|
|
23581
23581
|
email: string;
|
|
@@ -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.
|
|
25791
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
25792
25792
|
id: z.ZodString;
|
|
25793
25793
|
name: z.ZodString;
|
|
25794
25794
|
description: z.ZodString;
|
|
@@ -25892,7 +25892,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
25892
25892
|
};
|
|
25893
25893
|
} | undefined;
|
|
25894
25894
|
currentTier?: number | undefined;
|
|
25895
|
-
}
|
|
25895
|
+
}>>>;
|
|
25896
25896
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
25897
25897
|
id: string;
|
|
25898
25898
|
email: string;
|
|
@@ -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.
|
|
28086
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
28087
28087
|
id: z.ZodString;
|
|
28088
28088
|
name: z.ZodString;
|
|
28089
28089
|
description: z.ZodString;
|
|
@@ -28187,7 +28187,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
28187
28187
|
};
|
|
28188
28188
|
} | undefined;
|
|
28189
28189
|
currentTier?: number | undefined;
|
|
28190
|
-
}
|
|
28190
|
+
}>>>;
|
|
28191
28191
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
28192
28192
|
id: string;
|
|
28193
28193
|
email: string;
|
|
@@ -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.
|
|
30363
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
30364
30364
|
id: z.ZodString;
|
|
30365
30365
|
name: z.ZodString;
|
|
30366
30366
|
description: z.ZodString;
|
|
@@ -30464,7 +30464,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
30464
30464
|
};
|
|
30465
30465
|
} | undefined;
|
|
30466
30466
|
currentTier?: number | undefined;
|
|
30467
|
-
}
|
|
30467
|
+
}>>>;
|
|
30468
30468
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
30469
30469
|
id: string;
|
|
30470
30470
|
email: string;
|
|
@@ -30873,6 +30873,8 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
30873
30873
|
filterNoRatingAvg: z.ZodOptional<z.ZodString>;
|
|
30874
30874
|
topRatedGames: z.ZodOptional<z.ZodString>;
|
|
30875
30875
|
seasonGroup: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"combined">, z.ZodLiteral<"regularSeason">, z.ZodLiteral<"playoffs">]>>;
|
|
30876
|
+
gamesType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"topRated">, z.ZodLiteral<"mostRated">]>>;
|
|
30877
|
+
season: z.ZodOptional<z.ZodString>;
|
|
30876
30878
|
}, "strip", z.ZodTypeAny, {
|
|
30877
30879
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
|
|
30878
30880
|
offset?: string | undefined;
|
|
@@ -30880,11 +30882,13 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
30880
30882
|
q?: string | undefined;
|
|
30881
30883
|
createdAt?: "Today" | "This Week" | "This Season" | "This Month" | "This Year" | "All" | "12h" | "daily" | "weekly" | undefined;
|
|
30882
30884
|
limit?: string | undefined;
|
|
30885
|
+
season?: string | undefined;
|
|
30883
30886
|
teamId?: string | undefined;
|
|
30884
30887
|
sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | "ratings.weightedRating.avg:asc" | "ratings.weightedRating.avg:desc" | "rating.votes.total:desc" | undefined;
|
|
30885
30888
|
filterNoRatingAvg?: string | undefined;
|
|
30886
30889
|
topRatedGames?: string | undefined;
|
|
30887
30890
|
seasonGroup?: "combined" | "regularSeason" | "playoffs" | undefined;
|
|
30891
|
+
gamesType?: "topRated" | "mostRated" | undefined;
|
|
30888
30892
|
}, {
|
|
30889
30893
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
|
|
30890
30894
|
offset?: string | undefined;
|
|
@@ -30892,11 +30896,13 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
30892
30896
|
q?: string | undefined;
|
|
30893
30897
|
createdAt?: "Today" | "This Week" | "This Season" | "This Month" | "This Year" | "All" | "12h" | "daily" | "weekly" | undefined;
|
|
30894
30898
|
limit?: string | undefined;
|
|
30899
|
+
season?: string | undefined;
|
|
30895
30900
|
teamId?: string | undefined;
|
|
30896
30901
|
sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | "ratings.weightedRating.avg:asc" | "ratings.weightedRating.avg:desc" | "rating.votes.total:desc" | undefined;
|
|
30897
30902
|
filterNoRatingAvg?: string | undefined;
|
|
30898
30903
|
topRatedGames?: string | undefined;
|
|
30899
30904
|
seasonGroup?: "combined" | "regularSeason" | "playoffs" | undefined;
|
|
30905
|
+
gamesType?: "topRated" | "mostRated" | undefined;
|
|
30900
30906
|
}>;
|
|
30901
30907
|
export declare const creatorPickSchema: z.ZodObject<{
|
|
30902
30908
|
game: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -32589,7 +32595,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
32589
32595
|
count: number;
|
|
32590
32596
|
}[] | undefined;
|
|
32591
32597
|
}>>;
|
|
32592
|
-
achievements: z.ZodOptional<z.
|
|
32598
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
32593
32599
|
id: z.ZodString;
|
|
32594
32600
|
name: z.ZodString;
|
|
32595
32601
|
description: z.ZodString;
|
|
@@ -32693,7 +32699,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
32693
32699
|
};
|
|
32694
32700
|
} | undefined;
|
|
32695
32701
|
currentTier?: number | undefined;
|
|
32696
|
-
}
|
|
32702
|
+
}>>>;
|
|
32697
32703
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
32698
32704
|
id: string;
|
|
32699
32705
|
email: string;
|
|
@@ -34807,7 +34813,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
34807
34813
|
count: number;
|
|
34808
34814
|
}[] | undefined;
|
|
34809
34815
|
}>>;
|
|
34810
|
-
achievements: z.ZodOptional<z.
|
|
34816
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
34811
34817
|
id: z.ZodString;
|
|
34812
34818
|
name: z.ZodString;
|
|
34813
34819
|
description: z.ZodString;
|
|
@@ -34911,7 +34917,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
34911
34917
|
};
|
|
34912
34918
|
} | undefined;
|
|
34913
34919
|
currentTier?: number | undefined;
|
|
34914
|
-
}
|
|
34920
|
+
}>>>;
|
|
34915
34921
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
34916
34922
|
id: string;
|
|
34917
34923
|
email: string;
|
|
@@ -37046,7 +37052,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
37046
37052
|
count: number;
|
|
37047
37053
|
}[] | undefined;
|
|
37048
37054
|
}>>;
|
|
37049
|
-
achievements: z.ZodOptional<z.
|
|
37055
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
37050
37056
|
id: z.ZodString;
|
|
37051
37057
|
name: z.ZodString;
|
|
37052
37058
|
description: z.ZodString;
|
|
@@ -37150,7 +37156,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
37150
37156
|
};
|
|
37151
37157
|
} | undefined;
|
|
37152
37158
|
currentTier?: number | undefined;
|
|
37153
|
-
}
|
|
37159
|
+
}>>>;
|
|
37154
37160
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
37155
37161
|
id: string;
|
|
37156
37162
|
email: string;
|
|
@@ -39363,7 +39369,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
39363
39369
|
count: number;
|
|
39364
39370
|
}[] | undefined;
|
|
39365
39371
|
}>>;
|
|
39366
|
-
achievements: z.ZodOptional<z.
|
|
39372
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
39367
39373
|
id: z.ZodString;
|
|
39368
39374
|
name: z.ZodString;
|
|
39369
39375
|
description: z.ZodString;
|
|
@@ -39467,7 +39473,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
39467
39473
|
};
|
|
39468
39474
|
} | undefined;
|
|
39469
39475
|
currentTier?: number | undefined;
|
|
39470
|
-
}
|
|
39476
|
+
}>>>;
|
|
39471
39477
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
39472
39478
|
id: string;
|
|
39473
39479
|
email: string;
|
|
@@ -41658,7 +41664,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
41658
41664
|
count: number;
|
|
41659
41665
|
}[] | undefined;
|
|
41660
41666
|
}>>;
|
|
41661
|
-
achievements: z.ZodOptional<z.
|
|
41667
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
41662
41668
|
id: z.ZodString;
|
|
41663
41669
|
name: z.ZodString;
|
|
41664
41670
|
description: z.ZodString;
|
|
@@ -41762,7 +41768,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
41762
41768
|
};
|
|
41763
41769
|
} | undefined;
|
|
41764
41770
|
currentTier?: number | undefined;
|
|
41765
|
-
}
|
|
41771
|
+
}>>>;
|
|
41766
41772
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
41767
41773
|
id: string;
|
|
41768
41774
|
email: string;
|
|
@@ -43935,7 +43941,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
43935
43941
|
count: number;
|
|
43936
43942
|
}[] | undefined;
|
|
43937
43943
|
}>>;
|
|
43938
|
-
achievements: z.ZodOptional<z.
|
|
43944
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
43939
43945
|
id: z.ZodString;
|
|
43940
43946
|
name: z.ZodString;
|
|
43941
43947
|
description: z.ZodString;
|
|
@@ -44039,7 +44045,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
44039
44045
|
};
|
|
44040
44046
|
} | undefined;
|
|
44041
44047
|
currentTier?: number | undefined;
|
|
44042
|
-
}
|
|
44048
|
+
}>>>;
|
|
44043
44049
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
44044
44050
|
id: string;
|
|
44045
44051
|
email: string;
|
|
@@ -45069,7 +45075,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
45069
45075
|
count: number;
|
|
45070
45076
|
}[] | undefined;
|
|
45071
45077
|
}>>;
|
|
45072
|
-
achievements: z.ZodOptional<z.
|
|
45078
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
45073
45079
|
id: z.ZodString;
|
|
45074
45080
|
name: z.ZodString;
|
|
45075
45081
|
description: z.ZodString;
|
|
@@ -45173,7 +45179,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
45173
45179
|
};
|
|
45174
45180
|
} | undefined;
|
|
45175
45181
|
currentTier?: number | undefined;
|
|
45176
|
-
}
|
|
45182
|
+
}>>>;
|
|
45177
45183
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
45178
45184
|
id: string;
|
|
45179
45185
|
email: string;
|
package/dist/schemas/game.js
CHANGED
|
@@ -327,6 +327,10 @@ exports.searchGameSchema = zod_1.z.object({
|
|
|
327
327
|
filterNoRatingAvg: zod_1.z.string().optional(),
|
|
328
328
|
topRatedGames: zod_1.z.string().optional(),
|
|
329
329
|
seasonGroup: sharedTypes_1.seasonGroupingSchema.optional(),
|
|
330
|
+
gamesType: zod_1.z
|
|
331
|
+
.union([zod_1.z.literal("topRated"), zod_1.z.literal("mostRated")])
|
|
332
|
+
.optional(),
|
|
333
|
+
season: zod_1.z.string().optional(),
|
|
330
334
|
});
|
|
331
335
|
exports.creatorPickSchema = zod_1.z.object({
|
|
332
336
|
game: exports.unionGameSchema,
|
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").
|
|
1458
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
1459
1459
|
id: import("zod").ZodString;
|
|
1460
1460
|
name: import("zod").ZodString;
|
|
1461
1461
|
description: import("zod").ZodString;
|
|
@@ -1559,7 +1559,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1559
1559
|
};
|
|
1560
1560
|
} | undefined;
|
|
1561
1561
|
currentTier?: number | undefined;
|
|
1562
|
-
}
|
|
1562
|
+
}>>>;
|
|
1563
1563
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
1564
1564
|
id: string;
|
|
1565
1565
|
email: string;
|
|
@@ -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").
|
|
2212
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
2213
2213
|
id: import("zod").ZodString;
|
|
2214
2214
|
name: import("zod").ZodString;
|
|
2215
2215
|
description: import("zod").ZodString;
|
|
@@ -2313,7 +2313,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2313
2313
|
};
|
|
2314
2314
|
} | undefined;
|
|
2315
2315
|
currentTier?: number | undefined;
|
|
2316
|
-
}
|
|
2316
|
+
}>>>;
|
|
2317
2317
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
2318
2318
|
id: string;
|
|
2319
2319
|
email: string;
|
|
@@ -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").
|
|
3032
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
3033
3033
|
id: import("zod").ZodString;
|
|
3034
3034
|
name: import("zod").ZodString;
|
|
3035
3035
|
description: import("zod").ZodString;
|
|
@@ -3133,7 +3133,7 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3133
3133
|
};
|
|
3134
3134
|
} | undefined;
|
|
3135
3135
|
currentTier?: number | undefined;
|
|
3136
|
-
}
|
|
3136
|
+
}>>>;
|
|
3137
3137
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3138
3138
|
id: string;
|
|
3139
3139
|
email: string;
|
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.
|
|
642
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
643
643
|
id: z.ZodString;
|
|
644
644
|
name: z.ZodString;
|
|
645
645
|
description: z.ZodString;
|
|
@@ -743,7 +743,7 @@ export declare const teamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
743
743
|
};
|
|
744
744
|
} | undefined;
|
|
745
745
|
currentTier?: number | undefined;
|
|
746
|
-
}
|
|
746
|
+
}>>>;
|
|
747
747
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
748
748
|
id: string;
|
|
749
749
|
email: string;
|
|
@@ -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.
|
|
1453
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1454
1454
|
id: z.ZodString;
|
|
1455
1455
|
name: z.ZodString;
|
|
1456
1456
|
description: z.ZodString;
|
|
@@ -1554,7 +1554,7 @@ export declare const mlbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1554
1554
|
};
|
|
1555
1555
|
} | undefined;
|
|
1556
1556
|
currentTier?: number | undefined;
|
|
1557
|
-
}
|
|
1557
|
+
}>>>;
|
|
1558
1558
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1559
1559
|
id: string;
|
|
1560
1560
|
email: string;
|
|
@@ -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.
|
|
2262
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2263
2263
|
id: z.ZodString;
|
|
2264
2264
|
name: z.ZodString;
|
|
2265
2265
|
description: z.ZodString;
|
|
@@ -2363,7 +2363,7 @@ export declare const footballTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2363
2363
|
};
|
|
2364
2364
|
} | undefined;
|
|
2365
2365
|
currentTier?: number | undefined;
|
|
2366
|
-
}
|
|
2366
|
+
}>>>;
|
|
2367
2367
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2368
2368
|
id: string;
|
|
2369
2369
|
email: string;
|
|
@@ -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.
|
|
3068
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3069
3069
|
id: z.ZodString;
|
|
3070
3070
|
name: z.ZodString;
|
|
3071
3071
|
description: z.ZodString;
|
|
@@ -3169,7 +3169,7 @@ export declare const nflTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3169
3169
|
};
|
|
3170
3170
|
} | undefined;
|
|
3171
3171
|
currentTier?: number | undefined;
|
|
3172
|
-
}
|
|
3172
|
+
}>>>;
|
|
3173
3173
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3174
3174
|
id: string;
|
|
3175
3175
|
email: string;
|
|
@@ -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.
|
|
3877
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3878
3878
|
id: z.ZodString;
|
|
3879
3879
|
name: z.ZodString;
|
|
3880
3880
|
description: z.ZodString;
|
|
@@ -3978,7 +3978,7 @@ export declare const cfbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3978
3978
|
};
|
|
3979
3979
|
} | undefined;
|
|
3980
3980
|
currentTier?: number | undefined;
|
|
3981
|
-
}
|
|
3981
|
+
}>>>;
|
|
3982
3982
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3983
3983
|
id: string;
|
|
3984
3984
|
email: string;
|
|
@@ -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.
|
|
4689
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4690
4690
|
id: z.ZodString;
|
|
4691
4691
|
name: z.ZodString;
|
|
4692
4692
|
description: z.ZodString;
|
|
@@ -4790,7 +4790,7 @@ export declare const cbbTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4790
4790
|
};
|
|
4791
4791
|
} | undefined;
|
|
4792
4792
|
currentTier?: number | undefined;
|
|
4793
|
-
}
|
|
4793
|
+
}>>>;
|
|
4794
4794
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4795
4795
|
id: string;
|
|
4796
4796
|
email: string;
|
|
@@ -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.
|
|
5501
|
+
achievements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5502
5502
|
id: z.ZodString;
|
|
5503
5503
|
name: z.ZodString;
|
|
5504
5504
|
description: z.ZodString;
|
|
@@ -5602,7 +5602,7 @@ export declare const nhlTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5602
5602
|
};
|
|
5603
5603
|
} | undefined;
|
|
5604
5604
|
currentTier?: number | undefined;
|
|
5605
|
-
}
|
|
5605
|
+
}>>>;
|
|
5606
5606
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
5607
5607
|
id: string;
|
|
5608
5608
|
email: string;
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -772,7 +772,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
772
772
|
count: number;
|
|
773
773
|
}[] | undefined;
|
|
774
774
|
}>>;
|
|
775
|
-
achievements: import("zod").ZodOptional<import("zod").
|
|
775
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
776
776
|
id: import("zod").ZodString;
|
|
777
777
|
name: import("zod").ZodString;
|
|
778
778
|
description: import("zod").ZodString;
|
|
@@ -876,7 +876,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
876
876
|
};
|
|
877
877
|
} | undefined;
|
|
878
878
|
currentTier?: number | undefined;
|
|
879
|
-
}
|
|
879
|
+
}>>>;
|
|
880
880
|
}, "strip", import("zod").ZodTypeAny, {
|
|
881
881
|
id: string;
|
|
882
882
|
email: string;
|
|
@@ -1032,7 +1032,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1032
1032
|
count: number;
|
|
1033
1033
|
}[] | undefined;
|
|
1034
1034
|
} | undefined;
|
|
1035
|
-
achievements?: {
|
|
1035
|
+
achievements?: Record<string, {
|
|
1036
1036
|
id: string;
|
|
1037
1037
|
name: string;
|
|
1038
1038
|
description: string;
|
|
@@ -1052,7 +1052,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1052
1052
|
};
|
|
1053
1053
|
} | undefined;
|
|
1054
1054
|
currentTier?: number | undefined;
|
|
1055
|
-
}
|
|
1055
|
+
}> | undefined;
|
|
1056
1056
|
}, {
|
|
1057
1057
|
id: string;
|
|
1058
1058
|
email: string;
|
|
@@ -1208,7 +1208,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1208
1208
|
count: number;
|
|
1209
1209
|
}[] | undefined;
|
|
1210
1210
|
} | undefined;
|
|
1211
|
-
achievements?: {
|
|
1211
|
+
achievements?: Record<string, {
|
|
1212
1212
|
id: string;
|
|
1213
1213
|
name: string;
|
|
1214
1214
|
description: string;
|
|
@@ -1228,7 +1228,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1228
1228
|
};
|
|
1229
1229
|
} | undefined;
|
|
1230
1230
|
currentTier?: number | undefined;
|
|
1231
|
-
}
|
|
1231
|
+
}> | undefined;
|
|
1232
1232
|
}>;
|
|
1233
1233
|
export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
1234
1234
|
id: import("zod").ZodString;
|
|
@@ -1863,7 +1863,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
1863
1863
|
count: number;
|
|
1864
1864
|
}[] | undefined;
|
|
1865
1865
|
}>>;
|
|
1866
|
-
achievements: import("zod").ZodOptional<import("zod").
|
|
1866
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
1867
1867
|
id: import("zod").ZodString;
|
|
1868
1868
|
name: import("zod").ZodString;
|
|
1869
1869
|
description: import("zod").ZodString;
|
|
@@ -1967,7 +1967,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
1967
1967
|
};
|
|
1968
1968
|
} | undefined;
|
|
1969
1969
|
currentTier?: number | undefined;
|
|
1970
|
-
}
|
|
1970
|
+
}>>>;
|
|
1971
1971
|
}, "id" | "totalRatedGames" | "avgRating" | "createdAt" | "updatedAt" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", import("zod").ZodTypeAny, {
|
|
1972
1972
|
email: string;
|
|
1973
1973
|
username: string;
|
|
@@ -2112,7 +2112,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2112
2112
|
count: number;
|
|
2113
2113
|
}[] | undefined;
|
|
2114
2114
|
} | undefined;
|
|
2115
|
-
achievements?: {
|
|
2115
|
+
achievements?: Record<string, {
|
|
2116
2116
|
id: string;
|
|
2117
2117
|
name: string;
|
|
2118
2118
|
description: string;
|
|
@@ -2132,7 +2132,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2132
2132
|
};
|
|
2133
2133
|
} | undefined;
|
|
2134
2134
|
currentTier?: number | undefined;
|
|
2135
|
-
}
|
|
2135
|
+
}> | undefined;
|
|
2136
2136
|
}, {
|
|
2137
2137
|
email: string;
|
|
2138
2138
|
username: string;
|
|
@@ -2277,7 +2277,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2277
2277
|
count: number;
|
|
2278
2278
|
}[] | undefined;
|
|
2279
2279
|
} | undefined;
|
|
2280
|
-
achievements?: {
|
|
2280
|
+
achievements?: Record<string, {
|
|
2281
2281
|
id: string;
|
|
2282
2282
|
name: string;
|
|
2283
2283
|
description: string;
|
|
@@ -2297,7 +2297,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2297
2297
|
};
|
|
2298
2298
|
} | undefined;
|
|
2299
2299
|
currentTier?: number | undefined;
|
|
2300
|
-
}
|
|
2300
|
+
}> | undefined;
|
|
2301
2301
|
}>;
|
|
2302
2302
|
export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
2303
2303
|
id: import("zod").ZodString;
|
|
@@ -2932,7 +2932,7 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
2932
2932
|
count: number;
|
|
2933
2933
|
}[] | undefined;
|
|
2934
2934
|
}>>;
|
|
2935
|
-
achievements: import("zod").ZodOptional<import("zod").
|
|
2935
|
+
achievements: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
2936
2936
|
id: import("zod").ZodString;
|
|
2937
2937
|
name: import("zod").ZodString;
|
|
2938
2938
|
description: import("zod").ZodString;
|
|
@@ -3036,7 +3036,7 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
3036
3036
|
};
|
|
3037
3037
|
} | undefined;
|
|
3038
3038
|
currentTier?: number | undefined;
|
|
3039
|
-
}
|
|
3039
|
+
}>>>;
|
|
3040
3040
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3041
3041
|
id: string;
|
|
3042
3042
|
email: string;
|
package/dist/schemas/user.js
CHANGED
|
@@ -114,7 +114,7 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
114
114
|
achievedAt: (0, zod_1.number)(),
|
|
115
115
|
})).optional(),
|
|
116
116
|
}).optional(),
|
|
117
|
-
achievements: (0, zod_1.
|
|
117
|
+
achievements: (0, zod_1.record)(exports.achievementSchema).optional(),
|
|
118
118
|
});
|
|
119
119
|
exports.createUserSchema = exports.userSchema.omit({
|
|
120
120
|
id: true,
|