@zyacreatives/shared 2.4.0 → 2.4.1

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.
@@ -53,6 +53,7 @@ export declare const EntityCommentsOutputSchema: z.ZodObject<{
53
53
  }, z.core.$strip>>;
54
54
  nextCursor: z.ZodNullable<z.ZodString>;
55
55
  }, z.core.$strip>;
56
+ export type EntityCommentsOutput = z.infer<typeof EntityCommentsOutputSchema>;
56
57
  export declare const EntityLikesOutputSchema: z.ZodObject<{
57
58
  likes: z.ZodArray<z.ZodObject<{
58
59
  id: z.ZodCUID2;
@@ -72,6 +73,7 @@ export declare const EntityLikesOutputSchema: z.ZodObject<{
72
73
  }, z.core.$strip>>;
73
74
  nextCursor: z.ZodNullable<z.ZodString>;
74
75
  }, z.core.$strip>;
76
+ export type EntityLikesOutput = z.infer<typeof EntityLikesOutputSchema>;
75
77
  export declare const EntityBookmarksOutputSchema: z.ZodObject<{
76
78
  bookmarks: z.ZodArray<z.ZodObject<{
77
79
  id: z.ZodCUID2;
@@ -91,6 +93,7 @@ export declare const EntityBookmarksOutputSchema: z.ZodObject<{
91
93
  }, z.core.$strip>>;
92
94
  nextCursor: z.ZodNullable<z.ZodString>;
93
95
  }, z.core.$strip>;
96
+ export type EntityBookmarksOutput = z.infer<typeof EntityBookmarksOutputSchema>;
94
97
  export declare const EntityRepliesOutputSchema: z.ZodObject<{
95
98
  replies: z.ZodArray<z.ZodObject<{
96
99
  id: z.ZodCUID2;
@@ -110,3 +113,4 @@ export declare const EntityRepliesOutputSchema: z.ZodObject<{
110
113
  }, z.core.$strip>>;
111
114
  nextCursor: z.ZodNullable<z.ZodString>;
112
115
  }, z.core.$strip>;
116
+ export type EntityRepliesOutput = z.infer<typeof EntityRepliesOutputSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,18 +32,22 @@ export const EntityCommentsOutputSchema = z.object({
32
32
  comments: z.array(CommentEntitySchema),
33
33
  nextCursor: z.string().nullable(),
34
34
  });
35
+ export type EntityCommentsOutput = z.infer<typeof EntityCommentsOutputSchema>;
35
36
 
36
37
  export const EntityLikesOutputSchema = z.object({
37
38
  likes: z.array(ActivitySchema),
38
39
  nextCursor: z.string().nullable(),
39
40
  });
41
+ export type EntityLikesOutput = z.infer<typeof EntityLikesOutputSchema>;
40
42
 
41
43
  export const EntityBookmarksOutputSchema = z.object({
42
44
  bookmarks: z.array(ActivitySchema),
43
45
  nextCursor: z.string().nullable(),
44
46
  });
47
+ export type EntityBookmarksOutput = z.infer<typeof EntityBookmarksOutputSchema>;
45
48
 
46
49
  export const EntityRepliesOutputSchema = z.object({
47
50
  replies: z.array(ActivitySchema),
48
51
  nextCursor: z.string().nullable(),
49
52
  });
53
+ export type EntityRepliesOutput = z.infer<typeof EntityRepliesOutputSchema>;