rategame-shared 1.1.438 → 1.1.439

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.
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2
+ export declare const chatMessageSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  content: z.ZodString;
5
5
  createdAt: z.ZodAny;
@@ -2374,9 +2374,9 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2374
2374
  avatarUrl?: string | null | undefined;
2375
2375
  badge?: string | undefined;
2376
2376
  }>>>;
2377
- }, {
2377
+ } & {
2378
2378
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
2379
- }>, "strip", z.ZodTypeAny, {
2379
+ }, "strip", z.ZodTypeAny, {
2380
2380
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
2381
2381
  id: string;
2382
2382
  content: string;
@@ -2435,7 +2435,7 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2435
2435
  replyToDeleted?: boolean | undefined;
2436
2436
  replyToMessage?: any;
2437
2437
  }>;
2438
- export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2438
+ export declare const communityChatMessageSchema: z.ZodObject<{
2439
2439
  id: z.ZodString;
2440
2440
  content: z.ZodOptional<z.ZodString>;
2441
2441
  createdAt: z.ZodAny;
@@ -4808,9 +4808,9 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4808
4808
  avatarUrl?: string | null | undefined;
4809
4809
  badge?: string | undefined;
4810
4810
  }>>>;
4811
- }, {
4811
+ } & {
4812
4812
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
4813
- }>, "strip", z.ZodTypeAny, {
4813
+ }, "strip", z.ZodTypeAny, {
4814
4814
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
4815
4815
  id: string;
4816
4816
  user: {
@@ -17,16 +17,16 @@ export declare const featuredVideoSchema: import("zod").ZodObject<{
17
17
  description: string;
18
18
  thumbnail: string;
19
19
  }>;
20
- export declare const createFeaturedVideoScheduleInputSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
20
+ export declare const createFeaturedVideoScheduleInputSchema: import("zod").ZodObject<{
21
21
  id: import("zod").ZodString;
22
22
  title: import("zod").ZodString;
23
23
  description: import("zod").ZodString;
24
24
  url: import("zod").ZodString;
25
25
  thumbnail: import("zod").ZodString;
26
- }, {
26
+ } & {
27
27
  startsAt: import("zod").ZodNumber;
28
28
  endsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
29
- }>, "strip", import("zod").ZodTypeAny, {
29
+ }, "strip", import("zod").ZodTypeAny, {
30
30
  id: string;
31
31
  url: string;
32
32
  title: string;
@@ -43,16 +43,16 @@ export declare const createFeaturedVideoScheduleInputSchema: import("zod").ZodOb
43
43
  startsAt: number;
44
44
  endsAt?: number | undefined;
45
45
  }>;
46
- export declare const updateFeaturedVideoScheduleInputSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
46
+ export declare const updateFeaturedVideoScheduleInputSchema: import("zod").ZodObject<{
47
47
  id: import("zod").ZodString;
48
48
  title: import("zod").ZodString;
49
49
  description: import("zod").ZodString;
50
50
  url: import("zod").ZodString;
51
51
  thumbnail: import("zod").ZodString;
52
- }, {
52
+ } & {
53
53
  startsAt: import("zod").ZodNumber;
54
54
  endsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
55
- }>, "strip", import("zod").ZodTypeAny, {
55
+ }, "strip", import("zod").ZodTypeAny, {
56
56
  id: string;
57
57
  url: string;
58
58
  title: string;
@@ -69,19 +69,19 @@ export declare const updateFeaturedVideoScheduleInputSchema: import("zod").ZodOb
69
69
  startsAt: number;
70
70
  endsAt?: number | undefined;
71
71
  }>;
72
- export declare const featuredVideoScheduleSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
72
+ export declare const featuredVideoScheduleSchema: import("zod").ZodObject<{
73
73
  id: import("zod").ZodString;
74
74
  title: import("zod").ZodString;
75
75
  description: import("zod").ZodString;
76
76
  url: import("zod").ZodString;
77
77
  thumbnail: import("zod").ZodString;
78
- }, {
78
+ } & {
79
79
  scheduleId: import("zod").ZodString;
80
80
  startsAt: import("zod").ZodNumber;
81
81
  endsAt: import("zod").ZodNumber;
82
82
  createdAt: import("zod").ZodNumber;
83
83
  updatedAt: import("zod").ZodNumber;
84
- }>, "strip", import("zod").ZodTypeAny, {
84
+ }, "strip", import("zod").ZodTypeAny, {
85
85
  id: string;
86
86
  url: string;
87
87
  title: string;
@@ -1586,12 +1586,8 @@ export declare const searchExperienceRatingSchema: z.ZodObject<{
1586
1586
  /**
1587
1587
  * Schema for creating a new experience rating
1588
1588
  */
1589
- export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1589
+ export declare const createExperienceRatingSchema: z.ZodObject<{
1590
1590
  id: z.ZodString;
1591
- createdAt: z.ZodNumber;
1592
- rating: z.ZodNumber;
1593
- comment: z.ZodOptional<z.ZodString>;
1594
- commentLanguage: z.ZodOptional<z.ZodString>;
1595
1591
  user: z.ZodObject<Pick<{
1596
1592
  id: z.ZodString;
1597
1593
  email: z.ZodString;
@@ -2772,81 +2768,10 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
2772
2768
  avatarUrl?: string | null | undefined;
2773
2769
  badge?: string | undefined;
2774
2770
  }>;
2775
- experience: z.ZodObject<{
2776
- id: z.ZodString;
2777
- name: z.ZodString;
2778
- description: z.ZodString;
2779
- thumbnailUrl: z.ZodString;
2780
- gameId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2781
- stadiumId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2782
- stadiumVenueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2783
- stadiumUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2784
- rating: z.ZodOptional<z.ZodObject<{
2785
- avg: z.ZodNumber;
2786
- votes: z.ZodObject<{
2787
- options: z.ZodRecord<z.ZodNumber, z.ZodNumber>;
2788
- total: z.ZodNumber;
2789
- }, "strip", z.ZodTypeAny, {
2790
- total: number;
2791
- options: Record<number, number>;
2792
- }, {
2793
- total: number;
2794
- options: Record<number, number>;
2795
- }>;
2796
- }, "strip", z.ZodTypeAny, {
2797
- avg: number;
2798
- votes: {
2799
- total: number;
2800
- options: Record<number, number>;
2801
- };
2802
- }, {
2803
- avg: number;
2804
- votes: {
2805
- total: number;
2806
- options: Record<number, number>;
2807
- };
2808
- }>>;
2809
- createdAt: z.ZodNumber;
2810
- happenedAt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2811
- }, "strip", z.ZodTypeAny, {
2812
- id: string;
2813
- name: string;
2814
- description: string;
2815
- createdAt: number;
2816
- thumbnailUrl: string;
2817
- stadiumUrl?: string | null | undefined;
2818
- rating?: {
2819
- avg: number;
2820
- votes: {
2821
- total: number;
2822
- options: Record<number, number>;
2823
- };
2824
- } | undefined;
2825
- stadiumId?: string | null | undefined;
2826
- gameId?: string | null | undefined;
2827
- stadiumVenueName?: string | null | undefined;
2828
- happenedAt?: number | null | undefined;
2829
- }, {
2830
- id: string;
2831
- name: string;
2832
- description: string;
2833
- createdAt: number;
2834
- thumbnailUrl: string;
2835
- stadiumUrl?: string | null | undefined;
2836
- rating?: {
2837
- avg: number;
2838
- votes: {
2839
- total: number;
2840
- options: Record<number, number>;
2841
- };
2842
- } | undefined;
2843
- stadiumId?: string | null | undefined;
2844
- gameId?: string | null | undefined;
2845
- stadiumVenueName?: string | null | undefined;
2846
- happenedAt?: number | null | undefined;
2847
- }>;
2848
- userLikes: z.ZodOptional<z.ZodNumber>;
2849
2771
  updatedAt: z.ZodOptional<z.ZodNumber>;
2772
+ rating: z.ZodNumber;
2773
+ comment: z.ZodOptional<z.ZodString>;
2774
+ userLikes: z.ZodOptional<z.ZodNumber>;
2850
2775
  edited: z.ZodOptional<z.ZodBoolean>;
2851
2776
  userLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2852
2777
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2892,7 +2817,8 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
2892
2817
  ratingCount?: number | undefined;
2893
2818
  };
2894
2819
  }>, "many">>;
2895
- }, "createdAt">, {
2820
+ commentLanguage: z.ZodOptional<z.ZodString>;
2821
+ } & {
2896
2822
  experience: z.ZodObject<Omit<{
2897
2823
  id: z.ZodString;
2898
2824
  name: z.ZodString;
@@ -2952,7 +2878,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
2952
2878
  stadiumVenueName?: string | null | undefined;
2953
2879
  happenedAt?: number | null | undefined;
2954
2880
  }>;
2955
- }>, "strip", z.ZodTypeAny, {
2881
+ }, "strip", z.ZodTypeAny, {
2956
2882
  id: string;
2957
2883
  user: {
2958
2884
  id: string;