@zyacreatives/shared 2.2.72 → 2.2.73

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.
@@ -150,7 +150,7 @@ export declare const EditMessageInputSchema: z.ZodObject<{
150
150
  senderId: z.ZodCUID2;
151
151
  receiverId: z.ZodCUID2;
152
152
  content: z.ZodOptional<z.ZodString>;
153
- isEdited: boolean;
153
+ isEdited: z.ZodDefault<z.ZodBoolean>;
154
154
  }, z.core.$strip>;
155
155
  export declare const GetMessagesOutputSchema: z.ZodObject<{
156
156
  messages: z.ZodArray<z.ZodObject<{
@@ -72,7 +72,7 @@ exports.EditMessageInputSchema = zod_openapi_1.z.object({
72
72
  senderId: zod_openapi_1.z.cuid2(),
73
73
  receiverId: zod_openapi_1.z.cuid2(),
74
74
  content: zod_openapi_1.z.string().optional(),
75
- isEdited: true,
75
+ isEdited: zod_openapi_1.z.boolean().default(true),
76
76
  });
77
77
  exports.GetMessagesOutputSchema = zod_openapi_1.z.object({
78
78
  messages: zod_openapi_1.z.array(exports.MessageWithFilesEntitySchema),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.72",
3
+ "version": "2.2.73",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -83,7 +83,7 @@ export const EditMessageInputSchema = z.object({
83
83
  senderId: z.cuid2(),
84
84
  receiverId: z.cuid2(),
85
85
  content: z.string().optional(),
86
- isEdited: true,
86
+ isEdited: z.boolean().default(true),
87
87
  });
88
88
 
89
89
  export const GetMessagesOutputSchema = z.object({