rategame-shared 1.1.463 → 1.1.464
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/chat.d.ts +6 -6
- package/dist/schemas/chat.js +2 -0
- package/package.json +1 -1
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -1252,7 +1252,7 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
1252
1252
|
badge?: string | undefined;
|
|
1253
1253
|
}>;
|
|
1254
1254
|
lastPlay: z.ZodOptional<z.ZodBoolean>;
|
|
1255
|
-
type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"text">]>;
|
|
1255
|
+
type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"stadium">, z.ZodLiteral<"text">]>;
|
|
1256
1256
|
itemId: z.ZodOptional<z.ZodString>;
|
|
1257
1257
|
gifUrl: z.ZodOptional<z.ZodString>;
|
|
1258
1258
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2507,7 +2507,7 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
2507
2507
|
} & {
|
|
2508
2508
|
replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
2509
2509
|
}, "strip", z.ZodTypeAny, {
|
|
2510
|
-
type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
2510
|
+
type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
2511
2511
|
id: string;
|
|
2512
2512
|
content: string;
|
|
2513
2513
|
user: {
|
|
@@ -2536,7 +2536,7 @@ export declare const chatMessageSchema: z.ZodObject<{
|
|
|
2536
2536
|
replyToDeleted?: boolean | undefined;
|
|
2537
2537
|
replyToMessage?: any;
|
|
2538
2538
|
}, {
|
|
2539
|
-
type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
2539
|
+
type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
2540
2540
|
id: string;
|
|
2541
2541
|
content: string;
|
|
2542
2542
|
user: {
|
|
@@ -3816,7 +3816,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
3816
3816
|
avatarUrl?: string | null | undefined;
|
|
3817
3817
|
badge?: string | undefined;
|
|
3818
3818
|
}>;
|
|
3819
|
-
type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"text">]>;
|
|
3819
|
+
type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"stadium">, z.ZodLiteral<"text">]>;
|
|
3820
3820
|
itemId: z.ZodOptional<z.ZodString>;
|
|
3821
3821
|
gifUrl: z.ZodOptional<z.ZodString>;
|
|
3822
3822
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5071,7 +5071,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
5071
5071
|
} & {
|
|
5072
5072
|
replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
5073
5073
|
}, "strip", z.ZodTypeAny, {
|
|
5074
|
-
type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
5074
|
+
type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
5075
5075
|
id: string;
|
|
5076
5076
|
user: {
|
|
5077
5077
|
id: string;
|
|
@@ -5098,7 +5098,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
|
|
|
5098
5098
|
replyToDeleted?: boolean | undefined;
|
|
5099
5099
|
replyToMessage?: any;
|
|
5100
5100
|
}, {
|
|
5101
|
-
type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
5101
|
+
type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
|
|
5102
5102
|
id: string;
|
|
5103
5103
|
user: {
|
|
5104
5104
|
id: string;
|
package/dist/schemas/chat.js
CHANGED
|
@@ -22,6 +22,7 @@ const baseChatMessageSchema = zod_1.z.object({
|
|
|
22
22
|
zod_1.z.literal("trivia"),
|
|
23
23
|
zod_1.z.literal("article"),
|
|
24
24
|
zod_1.z.literal("experience"),
|
|
25
|
+
zod_1.z.literal("stadium"),
|
|
25
26
|
zod_1.z.literal("text"),
|
|
26
27
|
]),
|
|
27
28
|
itemId: zod_1.z.string().optional(),
|
|
@@ -48,6 +49,7 @@ const baseCommunityChatMessageSchema = zod_1.z.object({
|
|
|
48
49
|
zod_1.z.literal("trivia"),
|
|
49
50
|
zod_1.z.literal("article"),
|
|
50
51
|
zod_1.z.literal("experience"),
|
|
52
|
+
zod_1.z.literal("stadium"),
|
|
51
53
|
zod_1.z.literal("text"),
|
|
52
54
|
]),
|
|
53
55
|
itemId: zod_1.z.string().optional(),
|