rategame-shared 1.1.411 → 1.1.412

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.
@@ -751,35 +751,35 @@ export declare const ratingSchema: import("zod").ZodObject<{
751
751
  commentLanguage?: string | undefined;
752
752
  }>;
753
753
  export declare const translationRequestSchema: import("zod").ZodObject<{
754
- ratingId: import("zod").ZodString;
754
+ entityId: import("zod").ZodString;
755
755
  text: import("zod").ZodString;
756
756
  targetLanguage: import("zod").ZodString;
757
757
  sourceLanguage: import("zod").ZodOptional<import("zod").ZodString>;
758
758
  }, "strip", import("zod").ZodTypeAny, {
759
759
  text: string;
760
- ratingId: string;
760
+ entityId: string;
761
761
  targetLanguage: string;
762
762
  sourceLanguage?: string | undefined;
763
763
  }, {
764
764
  text: string;
765
- ratingId: string;
765
+ entityId: string;
766
766
  targetLanguage: string;
767
767
  sourceLanguage?: string | undefined;
768
768
  }>;
769
769
  export declare const translationResponseSchema: import("zod").ZodObject<{
770
- ratingId: import("zod").ZodString;
770
+ entityId: import("zod").ZodString;
771
771
  targetLanguage: import("zod").ZodString;
772
772
  sourceLanguage: import("zod").ZodString;
773
773
  translatedText: import("zod").ZodString;
774
774
  cached: import("zod").ZodOptional<import("zod").ZodBoolean>;
775
775
  }, "strip", import("zod").ZodTypeAny, {
776
- ratingId: string;
776
+ entityId: string;
777
777
  targetLanguage: string;
778
778
  sourceLanguage: string;
779
779
  translatedText: string;
780
780
  cached?: boolean | undefined;
781
781
  }, {
782
- ratingId: string;
782
+ entityId: string;
783
783
  targetLanguage: string;
784
784
  sourceLanguage: string;
785
785
  translatedText: string;
@@ -4004,8 +4004,8 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
4004
4004
  badge?: string | undefined;
4005
4005
  };
4006
4006
  createdAt: number;
4007
- ratingId: string;
4008
4007
  gameId: string;
4008
+ ratingId: string;
4009
4009
  level: number;
4010
4010
  parentId?: string | null | undefined;
4011
4011
  isReply?: boolean | undefined;
@@ -4033,8 +4033,8 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
4033
4033
  badge?: string | undefined;
4034
4034
  };
4035
4035
  createdAt: number;
4036
- ratingId: string;
4037
4036
  gameId: string;
4037
+ ratingId: string;
4038
4038
  level: number;
4039
4039
  parentId?: string | null | undefined;
4040
4040
  isReply?: boolean | undefined;
@@ -88,13 +88,13 @@ exports.ratingSchema = (0, zod_1.object)({
88
88
  commentLanguage: (0, zod_1.string)().optional(),
89
89
  });
90
90
  exports.translationRequestSchema = (0, zod_1.object)({
91
- ratingId: (0, zod_1.string)(),
91
+ entityId: (0, zod_1.string)(),
92
92
  text: (0, zod_1.string)().min(1).max(1000),
93
93
  targetLanguage: (0, zod_1.string)(),
94
94
  sourceLanguage: (0, zod_1.string)().optional(),
95
95
  });
96
96
  exports.translationResponseSchema = (0, zod_1.object)({
97
- ratingId: (0, zod_1.string)(),
97
+ entityId: (0, zod_1.string)(),
98
98
  targetLanguage: (0, zod_1.string)(),
99
99
  sourceLanguage: (0, zod_1.string)(),
100
100
  translatedText: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.411",
3
+ "version": "1.1.412",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",