rategame-shared 1.1.404 → 1.1.406

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;
@@ -800,6 +800,19 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
800
800
  streakReminders?: boolean | undefined;
801
801
  newTrivia?: boolean | undefined;
802
802
  }>>;
803
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
804
+ activity: z.ZodOptional<z.ZodBoolean>;
805
+ following: z.ZodOptional<z.ZodBoolean>;
806
+ system: z.ZodOptional<z.ZodBoolean>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ activity?: boolean | undefined;
809
+ following?: boolean | undefined;
810
+ system?: boolean | undefined;
811
+ }, {
812
+ activity?: boolean | undefined;
813
+ following?: boolean | undefined;
814
+ system?: boolean | undefined;
815
+ }>>;
803
816
  emailSettings: z.ZodOptional<z.ZodObject<{
804
817
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
805
818
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -1966,6 +1979,19 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
1966
1979
  streakReminders?: boolean | undefined;
1967
1980
  newTrivia?: boolean | undefined;
1968
1981
  }>>;
1982
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
1983
+ activity: z.ZodOptional<z.ZodBoolean>;
1984
+ following: z.ZodOptional<z.ZodBoolean>;
1985
+ system: z.ZodOptional<z.ZodBoolean>;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ activity?: boolean | undefined;
1988
+ following?: boolean | undefined;
1989
+ system?: boolean | undefined;
1990
+ }, {
1991
+ activity?: boolean | undefined;
1992
+ following?: boolean | undefined;
1993
+ system?: boolean | undefined;
1994
+ }>>;
1969
1995
  emailSettings: z.ZodOptional<z.ZodObject<{
1970
1996
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
1971
1997
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -2331,9 +2357,9 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2331
2357
  avatarUrl?: string | null | undefined;
2332
2358
  badge?: string | undefined;
2333
2359
  }>>>;
2334
- }, {
2360
+ } & {
2335
2361
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
2336
- }>, "strip", z.ZodTypeAny, {
2362
+ }, "strip", z.ZodTypeAny, {
2337
2363
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
2338
2364
  id: string;
2339
2365
  content: string;
@@ -2388,7 +2414,7 @@ export declare const chatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2388
2414
  itemId?: string | undefined;
2389
2415
  replyToMessage?: any;
2390
2416
  }>;
2391
- export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
2417
+ export declare const communityChatMessageSchema: z.ZodObject<{
2392
2418
  id: z.ZodString;
2393
2419
  content: z.ZodOptional<z.ZodString>;
2394
2420
  createdAt: z.ZodAny;
@@ -3188,6 +3214,19 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
3188
3214
  streakReminders?: boolean | undefined;
3189
3215
  newTrivia?: boolean | undefined;
3190
3216
  }>>;
3217
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
3218
+ activity: z.ZodOptional<z.ZodBoolean>;
3219
+ following: z.ZodOptional<z.ZodBoolean>;
3220
+ system: z.ZodOptional<z.ZodBoolean>;
3221
+ }, "strip", z.ZodTypeAny, {
3222
+ activity?: boolean | undefined;
3223
+ following?: boolean | undefined;
3224
+ system?: boolean | undefined;
3225
+ }, {
3226
+ activity?: boolean | undefined;
3227
+ following?: boolean | undefined;
3228
+ system?: boolean | undefined;
3229
+ }>>;
3191
3230
  emailSettings: z.ZodOptional<z.ZodObject<{
3192
3231
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
3193
3232
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -4353,6 +4392,19 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4353
4392
  streakReminders?: boolean | undefined;
4354
4393
  newTrivia?: boolean | undefined;
4355
4394
  }>>;
4395
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
4396
+ activity: z.ZodOptional<z.ZodBoolean>;
4397
+ following: z.ZodOptional<z.ZodBoolean>;
4398
+ system: z.ZodOptional<z.ZodBoolean>;
4399
+ }, "strip", z.ZodTypeAny, {
4400
+ activity?: boolean | undefined;
4401
+ following?: boolean | undefined;
4402
+ system?: boolean | undefined;
4403
+ }, {
4404
+ activity?: boolean | undefined;
4405
+ following?: boolean | undefined;
4406
+ system?: boolean | undefined;
4407
+ }>>;
4356
4408
  emailSettings: z.ZodOptional<z.ZodObject<{
4357
4409
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
4358
4410
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -4718,9 +4770,9 @@ export declare const communityChatMessageSchema: z.ZodObject<z.objectUtil.extend
4718
4770
  avatarUrl?: string | null | undefined;
4719
4771
  badge?: string | undefined;
4720
4772
  }>>>;
4721
- }, {
4773
+ } & {
4722
4774
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
4723
- }>, "strip", z.ZodTypeAny, {
4775
+ }, "strip", z.ZodTypeAny, {
4724
4776
  type: "text" | "rating" | "game" | "profile" | "list" | "gif" | "trivia";
4725
4777
  id: string;
4726
4778
  user: {
@@ -5570,6 +5622,19 @@ export declare const messageReactionSchema: z.ZodObject<{
5570
5622
  streakReminders?: boolean | undefined;
5571
5623
  newTrivia?: boolean | undefined;
5572
5624
  }>>;
5625
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
5626
+ activity: z.ZodOptional<z.ZodBoolean>;
5627
+ following: z.ZodOptional<z.ZodBoolean>;
5628
+ system: z.ZodOptional<z.ZodBoolean>;
5629
+ }, "strip", z.ZodTypeAny, {
5630
+ activity?: boolean | undefined;
5631
+ following?: boolean | undefined;
5632
+ system?: boolean | undefined;
5633
+ }, {
5634
+ activity?: boolean | undefined;
5635
+ following?: boolean | undefined;
5636
+ system?: boolean | undefined;
5637
+ }>>;
5573
5638
  emailSettings: z.ZodOptional<z.ZodObject<{
5574
5639
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
5575
5640
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -939,6 +939,19 @@ export declare const experienceRatingSchema: z.ZodObject<{
939
939
  streakReminders?: boolean | undefined;
940
940
  newTrivia?: boolean | undefined;
941
941
  }>>;
942
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
943
+ activity: z.ZodOptional<z.ZodBoolean>;
944
+ following: z.ZodOptional<z.ZodBoolean>;
945
+ system: z.ZodOptional<z.ZodBoolean>;
946
+ }, "strip", z.ZodTypeAny, {
947
+ activity?: boolean | undefined;
948
+ following?: boolean | undefined;
949
+ system?: boolean | undefined;
950
+ }, {
951
+ activity?: boolean | undefined;
952
+ following?: boolean | undefined;
953
+ system?: boolean | undefined;
954
+ }>>;
942
955
  emailSettings: z.ZodOptional<z.ZodObject<{
943
956
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
944
957
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -1563,11 +1576,8 @@ export declare const searchExperienceRatingSchema: z.ZodObject<{
1563
1576
  /**
1564
1577
  * Schema for creating a new experience rating
1565
1578
  */
1566
- export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1579
+ export declare const createExperienceRatingSchema: z.ZodObject<{
1567
1580
  id: z.ZodString;
1568
- createdAt: z.ZodNumber;
1569
- rating: z.ZodNumber;
1570
- comment: z.ZodOptional<z.ZodString>;
1571
1581
  user: z.ZodObject<Pick<{
1572
1582
  id: z.ZodString;
1573
1583
  email: z.ZodString;
@@ -2363,6 +2373,19 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
2363
2373
  streakReminders?: boolean | undefined;
2364
2374
  newTrivia?: boolean | undefined;
2365
2375
  }>>;
2376
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
2377
+ activity: z.ZodOptional<z.ZodBoolean>;
2378
+ following: z.ZodOptional<z.ZodBoolean>;
2379
+ system: z.ZodOptional<z.ZodBoolean>;
2380
+ }, "strip", z.ZodTypeAny, {
2381
+ activity?: boolean | undefined;
2382
+ following?: boolean | undefined;
2383
+ system?: boolean | undefined;
2384
+ }, {
2385
+ activity?: boolean | undefined;
2386
+ following?: boolean | undefined;
2387
+ system?: boolean | undefined;
2388
+ }>>;
2366
2389
  emailSettings: z.ZodOptional<z.ZodObject<{
2367
2390
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
2368
2391
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -2728,81 +2751,10 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
2728
2751
  avatarUrl?: string | null | undefined;
2729
2752
  badge?: string | undefined;
2730
2753
  }>;
2731
- experience: z.ZodObject<{
2732
- id: z.ZodString;
2733
- name: z.ZodString;
2734
- description: z.ZodString;
2735
- thumbnailUrl: z.ZodString;
2736
- gameId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2737
- stadiumId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2738
- stadiumVenueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2739
- stadiumUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2740
- rating: z.ZodOptional<z.ZodObject<{
2741
- avg: z.ZodNumber;
2742
- votes: z.ZodObject<{
2743
- options: z.ZodRecord<z.ZodNumber, z.ZodNumber>;
2744
- total: z.ZodNumber;
2745
- }, "strip", z.ZodTypeAny, {
2746
- total: number;
2747
- options: Record<number, number>;
2748
- }, {
2749
- total: number;
2750
- options: Record<number, number>;
2751
- }>;
2752
- }, "strip", z.ZodTypeAny, {
2753
- avg: number;
2754
- votes: {
2755
- total: number;
2756
- options: Record<number, number>;
2757
- };
2758
- }, {
2759
- avg: number;
2760
- votes: {
2761
- total: number;
2762
- options: Record<number, number>;
2763
- };
2764
- }>>;
2765
- createdAt: z.ZodNumber;
2766
- happenedAt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2767
- }, "strip", z.ZodTypeAny, {
2768
- id: string;
2769
- name: string;
2770
- description: string;
2771
- createdAt: number;
2772
- thumbnailUrl: string;
2773
- stadiumUrl?: string | null | undefined;
2774
- rating?: {
2775
- avg: number;
2776
- votes: {
2777
- total: number;
2778
- options: Record<number, number>;
2779
- };
2780
- } | undefined;
2781
- stadiumId?: string | null | undefined;
2782
- gameId?: string | null | undefined;
2783
- stadiumVenueName?: string | null | undefined;
2784
- happenedAt?: number | null | undefined;
2785
- }, {
2786
- id: string;
2787
- name: string;
2788
- description: string;
2789
- createdAt: number;
2790
- thumbnailUrl: string;
2791
- stadiumUrl?: string | null | undefined;
2792
- rating?: {
2793
- avg: number;
2794
- votes: {
2795
- total: number;
2796
- options: Record<number, number>;
2797
- };
2798
- } | undefined;
2799
- stadiumId?: string | null | undefined;
2800
- gameId?: string | null | undefined;
2801
- stadiumVenueName?: string | null | undefined;
2802
- happenedAt?: number | null | undefined;
2803
- }>;
2804
- userLikes: z.ZodOptional<z.ZodNumber>;
2805
2754
  updatedAt: z.ZodOptional<z.ZodNumber>;
2755
+ rating: z.ZodNumber;
2756
+ comment: z.ZodOptional<z.ZodString>;
2757
+ userLikes: z.ZodOptional<z.ZodNumber>;
2806
2758
  edited: z.ZodOptional<z.ZodBoolean>;
2807
2759
  userLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2808
2760
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2848,7 +2800,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
2848
2800
  ratingCount?: number | undefined;
2849
2801
  };
2850
2802
  }>, "many">>;
2851
- }, "createdAt">, {
2803
+ } & {
2852
2804
  experience: z.ZodObject<Omit<{
2853
2805
  id: z.ZodString;
2854
2806
  name: z.ZodString;
@@ -2908,7 +2860,7 @@ export declare const createExperienceRatingSchema: z.ZodObject<z.objectUtil.exte
2908
2860
  stadiumVenueName?: string | null | undefined;
2909
2861
  happenedAt?: number | null | undefined;
2910
2862
  }>;
2911
- }>, "strip", z.ZodTypeAny, {
2863
+ }, "strip", z.ZodTypeAny, {
2912
2864
  id: string;
2913
2865
  user: {
2914
2866
  id: string;
@@ -3787,6 +3739,19 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
3787
3739
  streakReminders?: boolean | undefined;
3788
3740
  newTrivia?: boolean | undefined;
3789
3741
  }>>;
3742
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
3743
+ activity: z.ZodOptional<z.ZodBoolean>;
3744
+ following: z.ZodOptional<z.ZodBoolean>;
3745
+ system: z.ZodOptional<z.ZodBoolean>;
3746
+ }, "strip", z.ZodTypeAny, {
3747
+ activity?: boolean | undefined;
3748
+ following?: boolean | undefined;
3749
+ system?: boolean | undefined;
3750
+ }, {
3751
+ activity?: boolean | undefined;
3752
+ following?: boolean | undefined;
3753
+ system?: boolean | undefined;
3754
+ }>>;
3790
3755
  emailSettings: z.ZodOptional<z.ZodObject<{
3791
3756
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
3792
3757
  unsubscribe: z.ZodOptional<z.ZodBoolean>;
@@ -4950,6 +4915,19 @@ export declare const experienceThreadCommentSchema: z.ZodObject<{
4950
4915
  streakReminders?: boolean | undefined;
4951
4916
  newTrivia?: boolean | undefined;
4952
4917
  }>>;
4918
+ notificationBadgePreferences: z.ZodOptional<z.ZodObject<{
4919
+ activity: z.ZodOptional<z.ZodBoolean>;
4920
+ following: z.ZodOptional<z.ZodBoolean>;
4921
+ system: z.ZodOptional<z.ZodBoolean>;
4922
+ }, "strip", z.ZodTypeAny, {
4923
+ activity?: boolean | undefined;
4924
+ following?: boolean | undefined;
4925
+ system?: boolean | undefined;
4926
+ }, {
4927
+ activity?: boolean | undefined;
4928
+ following?: boolean | undefined;
4929
+ system?: boolean | undefined;
4930
+ }>>;
4953
4931
  emailSettings: z.ZodOptional<z.ZodObject<{
4954
4932
  digestFrequency: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
4955
4933
  unsubscribe: z.ZodOptional<z.ZodBoolean>;