@zyacreatives/shared 2.2.79 → 2.2.80

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.
@@ -626,27 +626,6 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
626
626
  order: z.ZodNumber;
627
627
  url: z.ZodURL;
628
628
  }, z.core.$strip>>>;
629
- stats: z.ZodObject<{
630
- updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
631
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
632
- parentId: z.ZodCUID2;
633
- parentType: z.ZodEnum<{
634
- readonly PROJECT: "PROJECT";
635
- readonly USER: "USER";
636
- readonly JOB: "JOB";
637
- readonly POST: "POST";
638
- readonly COMMENT: "COMMENT";
639
- readonly JOB_APPLICATION: "JOB_APPLICATION";
640
- }>;
641
- likesCount: z.ZodNumber;
642
- bookmarksCount: z.ZodNumber;
643
- viewsCount: z.ZodNumber;
644
- commentsCount: z.ZodNumber;
645
- }, z.core.$strip>;
646
- score: z.ZodNumber;
647
- isLiked: z.ZodOptional<z.ZodBoolean>;
648
- isFollowing: z.ZodOptional<z.ZodBoolean>;
649
- isBookmarked: z.ZodOptional<z.ZodBoolean>;
650
629
  }, z.core.$strip>;
651
630
  }, z.core.$strip>>;
652
631
  }, z.core.$strip>;
@@ -800,27 +779,6 @@ export declare const GetUserWithPostBookmarksOutputSchema: z.ZodObject<{
800
779
  order: z.ZodNumber;
801
780
  url: z.ZodURL;
802
781
  }, z.core.$strip>>>;
803
- stats: z.ZodObject<{
804
- updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
805
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
806
- parentId: z.ZodCUID2;
807
- parentType: z.ZodEnum<{
808
- readonly PROJECT: "PROJECT";
809
- readonly USER: "USER";
810
- readonly JOB: "JOB";
811
- readonly POST: "POST";
812
- readonly COMMENT: "COMMENT";
813
- readonly JOB_APPLICATION: "JOB_APPLICATION";
814
- }>;
815
- likesCount: z.ZodNumber;
816
- bookmarksCount: z.ZodNumber;
817
- viewsCount: z.ZodNumber;
818
- commentsCount: z.ZodNumber;
819
- }, z.core.$strip>;
820
- score: z.ZodNumber;
821
- isLiked: z.ZodOptional<z.ZodBoolean>;
822
- isFollowing: z.ZodOptional<z.ZodBoolean>;
823
- isBookmarked: z.ZodOptional<z.ZodBoolean>;
824
782
  }, z.core.$strip>;
825
783
  }, z.core.$strip>>;
826
784
  }, z.core.$strip>;
@@ -154,7 +154,7 @@ exports.UserWithProjectBookmarksEntitySchema = zod_openapi_1.z
154
154
  exports.UserWithPostBookmarksEntitySchema = zod_openapi_1.z.object({
155
155
  userId: zod_openapi_1.z.cuid2().openapi({ example: "cksd0v6q0000s9a5y8z7p3x9" }),
156
156
  postBookmarks: zod_openapi_1.z.array(bookmark_1.BookmarkEntitySchema.extend({
157
- post: post_1.FeedPostEntitySchema,
157
+ post: post_1.PostWithFilesEntitySchema,
158
158
  })),
159
159
  });
160
160
  exports.GetUserWithProjectBookmarksInputSchema = exports.UserWithJobBookmarksInputSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.79",
3
+ "version": "2.2.80",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -200,7 +200,7 @@ export const UserWithPostBookmarksEntitySchema = z.object({
200
200
  userId: z.cuid2().openapi({ example: "cksd0v6q0000s9a5y8z7p3x9" }),
201
201
  postBookmarks: z.array(
202
202
  BookmarkEntitySchema.extend({
203
- post: FeedPostEntitySchema,
203
+ post: PostWithFilesEntitySchema,
204
204
  }),
205
205
  ),
206
206
  });