@zyacreatives/shared 2.5.73 → 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
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
|
* --------------------------------
|
|
@@ -624,6 +624,7 @@ export declare const ProjectSearchDocumentSchema: z.ZodObject<{
|
|
|
624
624
|
url: z.ZodURL;
|
|
625
625
|
}, z.core.$strip>>>;
|
|
626
626
|
isBookmarked: z.ZodDefault<z.ZodBoolean>;
|
|
627
|
+
canComment: z.ZodBoolean;
|
|
627
628
|
}, z.core.$strip>;
|
|
628
629
|
export type ProjectSearchDocument = z.infer<typeof ProjectSearchDocumentSchema>;
|
|
629
630
|
/**
|
|
@@ -725,6 +726,7 @@ export declare const GetProjectOutputSchema: z.ZodObject<{
|
|
|
725
726
|
}, z.core.$strip>>>;
|
|
726
727
|
isLiked: z.ZodOptional<z.ZodBoolean>;
|
|
727
728
|
isBookmarked: z.ZodOptional<z.ZodBoolean>;
|
|
729
|
+
canComment: z.ZodBoolean;
|
|
728
730
|
}, z.core.$strip>;
|
|
729
731
|
export type GetProjectOutput = z.infer<typeof GetProjectOutputSchema>;
|
|
730
732
|
export declare const SearchProjectsOutputSchema: z.ZodObject<{
|
|
@@ -801,6 +803,7 @@ export declare const SearchProjectsOutputSchema: z.ZodObject<{
|
|
|
801
803
|
url: z.ZodURL;
|
|
802
804
|
}, z.core.$strip>>>;
|
|
803
805
|
isBookmarked: z.ZodDefault<z.ZodBoolean>;
|
|
806
|
+
canComment: z.ZodBoolean;
|
|
804
807
|
}, z.core.$strip>>;
|
|
805
808
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
806
809
|
}, z.core.$strip>;
|
package/dist/schemas/project.js
CHANGED
|
@@ -258,7 +258,8 @@ exports.ProjectSearchDocumentSchema = zod_openapi_1.z
|
|
|
258
258
|
startDate: zod_openapi_1.z.iso.datetime().optional(),
|
|
259
259
|
endDate: zod_openapi_1.z.iso.datetime().optional(),
|
|
260
260
|
files: zod_openapi_1.z.array(file_1.FileEntitySchema).optional(),
|
|
261
|
-
isBookmarked: zod_openapi_1.z.boolean().default(false)
|
|
261
|
+
isBookmarked: zod_openapi_1.z.boolean().default(false),
|
|
262
|
+
canComment: zod_openapi_1.z.boolean()
|
|
262
263
|
})
|
|
263
264
|
.openapi("ProjectSearchDocument");
|
|
264
265
|
/**
|
|
@@ -269,6 +270,7 @@ exports.ProjectSearchDocumentSchema = zod_openapi_1.z
|
|
|
269
270
|
exports.GetProjectOutputSchema = exports.ProjectDetailsEntitySchema.extend({
|
|
270
271
|
isLiked: zod_openapi_1.z.boolean().optional(),
|
|
271
272
|
isBookmarked: zod_openapi_1.z.boolean().optional(),
|
|
273
|
+
canComment: zod_openapi_1.z.boolean()
|
|
272
274
|
}).openapi("GetProjectOutput");
|
|
273
275
|
exports.SearchProjectsOutputSchema = zod_openapi_1.z
|
|
274
276
|
.object({
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -657,6 +657,7 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
|
|
|
657
657
|
url: z.ZodURL;
|
|
658
658
|
}, z.core.$strip>>>;
|
|
659
659
|
isBookmarked: z.ZodDefault<z.ZodBoolean>;
|
|
660
|
+
canComment: z.ZodBoolean;
|
|
660
661
|
}, z.core.$strip>;
|
|
661
662
|
}, z.core.$strip>>;
|
|
662
663
|
}, z.core.$strip>;
|
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>;
|
package/src/schemas/project.ts
CHANGED
|
@@ -382,7 +382,8 @@ export const ProjectSearchDocumentSchema = z
|
|
|
382
382
|
endDate: z.iso.datetime().optional(),
|
|
383
383
|
|
|
384
384
|
files: z.array(FileEntitySchema).optional(),
|
|
385
|
-
isBookmarked: z.boolean().default(false)
|
|
385
|
+
isBookmarked: z.boolean().default(false),
|
|
386
|
+
canComment: z.boolean()
|
|
386
387
|
})
|
|
387
388
|
.openapi("ProjectSearchDocument");
|
|
388
389
|
|
|
@@ -397,6 +398,7 @@ export type ProjectSearchDocument = z.infer<typeof ProjectSearchDocumentSchema>;
|
|
|
397
398
|
export const GetProjectOutputSchema = ProjectDetailsEntitySchema.extend({
|
|
398
399
|
isLiked: z.boolean().optional(),
|
|
399
400
|
isBookmarked: z.boolean().optional(),
|
|
401
|
+
canComment: z.boolean()
|
|
400
402
|
}).openapi("GetProjectOutput");
|
|
401
403
|
|
|
402
404
|
export type GetProjectOutput = z.infer<typeof GetProjectOutputSchema>;
|