@zyacreatives/shared 2.2.26 → 2.2.27

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.
@@ -97,6 +97,7 @@ export declare const MessageWithFilesEntitySchema: z.ZodObject<{
97
97
  }, z.core.$strip>>>;
98
98
  }, z.core.$strip>;
99
99
  export declare const CreateMessageInputSchema: z.ZodObject<{
100
+ id: z.ZodCUID2;
100
101
  parentId: z.ZodOptional<z.ZodCUID2>;
101
102
  content: z.ZodOptional<z.ZodString>;
102
103
  messageType: z.ZodDefault<z.ZodEnum<{
@@ -62,6 +62,7 @@ exports.MessageWithFilesEntitySchema = exports.MessageEntitySchema.extend({
62
62
  .openapi({ description: "Files associated with the project." }),
63
63
  });
64
64
  exports.CreateMessageInputSchema = zod_openapi_1.z.object({
65
+ id: zod_openapi_1.z.cuid2(),
65
66
  parentId: zod_openapi_1.z
66
67
  .cuid2()
67
68
  .optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.26",
3
+ "version": "2.2.27",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -65,6 +65,7 @@ export const MessageWithFilesEntitySchema = MessageEntitySchema.extend({
65
65
  });
66
66
 
67
67
  export const CreateMessageInputSchema = z.object({
68
+ id: z.cuid2(),
68
69
  parentId: z
69
70
  .cuid2()
70
71
  .optional()