rategame-shared 1.1.506 → 1.1.508
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/article.d.ts +3 -0
- package/dist/schemas/article.js +1 -0
- package/dist/schemas/game.d.ts +210 -0
- package/dist/schemas/game.js +5 -0
- package/dist/schemas/pick.d.ts +558 -0
- package/dist/schemas/player.d.ts +6 -0
- package/dist/schemas/player.js +2 -0
- package/dist/schemas/poll.d.ts +240 -0
- package/dist/schemas/scorePrediction.d.ts +432 -0
- package/dist/schemas/voting.d.ts +242 -0
- package/package.json +1 -1
|
@@ -3659,6 +3659,7 @@ export declare const searchArticleSchema: z.ZodObject<{
|
|
|
3659
3659
|
league: z.ZodOptional<z.ZodString>;
|
|
3660
3660
|
stadiumId: z.ZodOptional<z.ZodString>;
|
|
3661
3661
|
gameId: z.ZodOptional<z.ZodString>;
|
|
3662
|
+
excludeArticleId: z.ZodOptional<z.ZodString>;
|
|
3662
3663
|
limit: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3663
3664
|
offset: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3664
3665
|
sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"createdAt:desc">, z.ZodLiteral<"userLikes:desc">]>>;
|
|
@@ -3679,6 +3680,7 @@ export declare const searchArticleSchema: z.ZodObject<{
|
|
|
3679
3680
|
teamId?: string | number | undefined;
|
|
3680
3681
|
sortBy?: "createdAt:desc" | "userLikes:desc" | undefined;
|
|
3681
3682
|
userId?: string | undefined;
|
|
3683
|
+
excludeArticleId?: string | undefined;
|
|
3682
3684
|
}, {
|
|
3683
3685
|
type?: "stadium" | "league" | "game" | "team" | undefined;
|
|
3684
3686
|
offset?: string | undefined;
|
|
@@ -3693,6 +3695,7 @@ export declare const searchArticleSchema: z.ZodObject<{
|
|
|
3693
3695
|
teamId?: string | number | undefined;
|
|
3694
3696
|
sortBy?: "createdAt:desc" | "userLikes:desc" | undefined;
|
|
3695
3697
|
userId?: string | undefined;
|
|
3698
|
+
excludeArticleId?: string | undefined;
|
|
3696
3699
|
}>;
|
|
3697
3700
|
/**
|
|
3698
3701
|
* Thread comment schema for articles.
|
package/dist/schemas/article.js
CHANGED
|
@@ -104,6 +104,7 @@ exports.searchArticleSchema = zod_1.z.object({
|
|
|
104
104
|
league: zod_1.z.string().optional(),
|
|
105
105
|
stadiumId: zod_1.z.string().optional(),
|
|
106
106
|
gameId: zod_1.z.string().optional(),
|
|
107
|
+
excludeArticleId: zod_1.z.string().optional(),
|
|
107
108
|
limit: zod_1.z.string().optional().default("20"),
|
|
108
109
|
offset: zod_1.z.string().optional().default("0"),
|
|
109
110
|
sortBy: zod_1.z
|