@zyacreatives/shared 2.0.73 → 2.0.74

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.
@@ -280,6 +280,8 @@ export declare const GetProjectOutputSchema: z.ZodObject<{
280
280
  updatedAt: z.ZodCoercedDate<unknown>;
281
281
  }, z.core.$strip>;
282
282
  }, z.core.$strip>>>;
283
+ isLiked: z.ZodOptional<z.ZodBoolean>;
284
+ isBookmarked: z.ZodOptional<z.ZodBoolean>;
283
285
  }, z.core.$strip>;
284
286
  export declare const ProjectIdSchema: z.ZodObject<{
285
287
  projectId: z.ZodCUID2;
@@ -210,7 +210,10 @@ exports.ViewProjectInputSchema = zod_openapi_1.z
210
210
  exports.CreateProjectOutputSchema = exports.ProjectEntitySchema;
211
211
  exports.UpdateProjectOutputSchema = exports.ProjectEntitySchema;
212
212
  exports.DeleteProjectOutputSchema = exports.ProjectEntitySchema;
213
- exports.GetProjectOutputSchema = exports.ProjectWithFilesEntitySchema;
213
+ exports.GetProjectOutputSchema = exports.ProjectWithFilesEntitySchema.extend({
214
+ isLiked: zod_openapi_1.z.boolean().optional(),
215
+ isBookmarked: zod_openapi_1.z.boolean().optional(),
216
+ });
214
217
  exports.ProjectIdSchema = zod_openapi_1.z.object({ projectId: zod_openapi_1.z.cuid2() });
215
218
  exports.MinimalProjectSchema = exports.ProjectEntitySchema.pick({
216
219
  id: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.73",
3
+ "version": "2.0.74",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -220,7 +220,11 @@ export const ViewProjectInputSchema = z
220
220
  export const CreateProjectOutputSchema = ProjectEntitySchema;
221
221
  export const UpdateProjectOutputSchema = ProjectEntitySchema;
222
222
  export const DeleteProjectOutputSchema = ProjectEntitySchema;
223
- export const GetProjectOutputSchema = ProjectWithFilesEntitySchema;
223
+
224
+ export const GetProjectOutputSchema = ProjectWithFilesEntitySchema.extend({
225
+ isLiked: z.boolean().optional(),
226
+ isBookmarked: z.boolean().optional(),
227
+ });
224
228
 
225
229
  export const ProjectIdSchema = z.object({ projectId: z.cuid2() });
226
230
  export const MinimalProjectSchema = ProjectEntitySchema.pick({