@zyacreatives/shared 2.5.74 → 2.5.75
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.
- package/dist/schemas/post.d.ts +3 -0
- package/dist/schemas/post.js +1 -0
- package/package.json +1 -1
- package/src/schemas/post.ts +1 -0
package/dist/schemas/post.d.ts
CHANGED
|
@@ -310,6 +310,7 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
|
|
|
310
310
|
isLiked: z.ZodOptional<z.ZodBoolean>;
|
|
311
311
|
isFollowing: z.ZodOptional<z.ZodBoolean>;
|
|
312
312
|
isBookmarked: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
+
canComment: z.ZodBoolean;
|
|
313
314
|
}, z.core.$strip>;
|
|
314
315
|
export type FeedPostEntity = z.infer<typeof FeedPostEntitySchema>;
|
|
315
316
|
/**
|
|
@@ -645,6 +646,7 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
|
|
|
645
646
|
isLiked: z.ZodOptional<z.ZodBoolean>;
|
|
646
647
|
isFollowing: z.ZodOptional<z.ZodBoolean>;
|
|
647
648
|
isBookmarked: z.ZodOptional<z.ZodBoolean>;
|
|
649
|
+
canComment: z.ZodBoolean;
|
|
648
650
|
}, z.core.$strip>>;
|
|
649
651
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
650
652
|
}, z.core.$strip>;
|
|
@@ -750,6 +752,7 @@ export declare const SearchPostOutputSchema: z.ZodObject<{
|
|
|
750
752
|
isLiked: z.ZodOptional<z.ZodBoolean>;
|
|
751
753
|
isFollowing: z.ZodOptional<z.ZodBoolean>;
|
|
752
754
|
isBookmarked: z.ZodOptional<z.ZodBoolean>;
|
|
755
|
+
canComment: z.ZodBoolean;
|
|
753
756
|
}, z.core.$strip>>;
|
|
754
757
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
755
758
|
}, z.core.$strip>;
|
package/dist/schemas/post.js
CHANGED
|
@@ -79,6 +79,7 @@ exports.FeedPostEntitySchema = exports.PostWithFilesEntitySchema.extend({
|
|
|
79
79
|
isLiked: zod_openapi_1.z.boolean().optional(),
|
|
80
80
|
isFollowing: zod_openapi_1.z.boolean().optional(),
|
|
81
81
|
isBookmarked: zod_openapi_1.z.boolean().optional(),
|
|
82
|
+
canComment: zod_openapi_1.z.boolean()
|
|
82
83
|
}).openapi("FeedPost");
|
|
83
84
|
/**
|
|
84
85
|
* --------------------------------
|
package/package.json
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -113,6 +113,7 @@ export const FeedPostEntitySchema = PostWithFilesEntitySchema.extend({
|
|
|
113
113
|
isLiked: z.boolean().optional(),
|
|
114
114
|
isFollowing: z.boolean().optional(),
|
|
115
115
|
isBookmarked: z.boolean().optional(),
|
|
116
|
+
canComment: z.boolean()
|
|
116
117
|
}).openapi("FeedPost");
|
|
117
118
|
|
|
118
119
|
export type FeedPostEntity = z.infer<typeof FeedPostEntitySchema>;
|