@zyacreatives/shared 2.2.70 → 2.2.71

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.
@@ -132,6 +132,7 @@ export declare const CreateMessageInputSchema: z.ZodObject<{
132
132
  }>>;
133
133
  parentId: z.ZodOptional<z.ZodCUID2>;
134
134
  replyToMessageId: z.ZodOptional<z.ZodCUID2>;
135
+ isEdited: z.ZodDefault<z.ZodBoolean>;
135
136
  linkMeta: z.ZodOptional<z.ZodObject<{
136
137
  url: z.ZodURL;
137
138
  title: z.ZodOptional<z.ZodString>;
@@ -61,6 +61,7 @@ exports.CreateMessageInputSchema = zod_openapi_1.z.object({
61
61
  messageType: zod_openapi_1.z.enum(constants_1.MESSAGE_TYPES).default("DEFAULT_MESSAGE"),
62
62
  parentId: zod_openapi_1.z.cuid2().optional(),
63
63
  replyToMessageId: zod_openapi_1.z.cuid2().optional(),
64
+ isEdited: zod_openapi_1.z.boolean().default(false),
64
65
  linkMeta: exports.LinkMetaSchema.optional(),
65
66
  files: zod_openapi_1.z
66
67
  .array(file_1.CreateFileInputSchema.extend({ order: zod_openapi_1.z.number().int() }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.70",
3
+ "version": "2.2.71",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -71,7 +71,7 @@ export const CreateMessageInputSchema = z.object({
71
71
 
72
72
  parentId: z.cuid2().optional(),
73
73
  replyToMessageId: z.cuid2().optional(),
74
-
74
+ isEdited: z.boolean().default(false),
75
75
  linkMeta: LinkMetaSchema.optional(),
76
76
  files: z
77
77
  .array(CreateFileInputSchema.extend({ order: z.number().int() }))