@zyacreatives/shared 2.1.92 → 2.1.94

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.
@@ -12,4 +12,6 @@ export declare const ActivitySchema: z.ZodObject<{
12
12
  actorId: z.ZodString;
13
13
  actorUsername: z.ZodString;
14
14
  actorImageUrl: z.ZodOptional<z.ZodURL>;
15
+ followsYou: z.ZodOptional<z.ZodBoolean>;
16
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
15
17
  }, z.core.$strip>;
@@ -16,4 +16,6 @@ exports.ActivitySchema = zod_1.default.object({
16
16
  actorId: zod_1.default.string(),
17
17
  actorUsername: zod_1.default.string(),
18
18
  actorImageUrl: zod_1.default.url().optional(),
19
+ followsYou: zod_1.default.boolean().optional(),
20
+ isFollowing: zod_1.default.boolean().optional(),
19
21
  });
@@ -115,6 +115,7 @@ export declare const CreateMessageInputSchema: z.ZodObject<{
115
115
  }, z.core.$strip>>>;
116
116
  chatId: z.ZodString;
117
117
  senderId: z.ZodString;
118
+ replyToMessageId: z.ZodOptional<z.ZodCUID2>;
118
119
  linkMeta: z.ZodOptional<z.ZodObject<{
119
120
  url: z.ZodURL;
120
121
  title: z.ZodOptional<z.ZodString>;
@@ -84,6 +84,7 @@ exports.CreateMessageInputSchema = zod_openapi_1.z.object({
84
84
  .optional(),
85
85
  chatId: zod_openapi_1.z.string(),
86
86
  senderId: zod_openapi_1.z.string(),
87
+ replyToMessageId: zod_openapi_1.z.cuid2().optional(),
87
88
  linkMeta: zod_openapi_1.z
88
89
  .object({
89
90
  url: zod_openapi_1.z.url(),
@@ -374,6 +374,8 @@ export declare const PostWithBookmarksEntitySchema: z.ZodObject<{
374
374
  actorId: z.ZodString;
375
375
  actorUsername: z.ZodString;
376
376
  actorImageUrl: z.ZodOptional<z.ZodURL>;
377
+ followsYou: z.ZodOptional<z.ZodBoolean>;
378
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
377
379
  }, z.core.$strip>>;
378
380
  }, z.core.$strip>;
379
381
  export declare const GetPostWithBookmarksOutputSchema: z.ZodObject<{
@@ -393,6 +395,8 @@ export declare const GetPostWithBookmarksOutputSchema: z.ZodObject<{
393
395
  actorId: z.ZodString;
394
396
  actorUsername: z.ZodString;
395
397
  actorImageUrl: z.ZodOptional<z.ZodURL>;
398
+ followsYou: z.ZodOptional<z.ZodBoolean>;
399
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
396
400
  }, z.core.$strip>>;
397
401
  totalNo: z.ZodNumber;
398
402
  }, z.core.$strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.92",
3
+ "version": "2.1.94",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,4 +11,7 @@ export const ActivitySchema = z.object({
11
11
  actorId: z.string(),
12
12
  actorUsername: z.string(),
13
13
  actorImageUrl: z.url().optional(),
14
+ followsYou: z.boolean().optional(),
15
+ isFollowing: z.boolean().optional(),
14
16
  });
17
+
@@ -89,6 +89,7 @@ export const CreateMessageInputSchema = z.object({
89
89
  .optional(),
90
90
  chatId: z.string(),
91
91
  senderId: z.string(),
92
+ replyToMessageId: z.cuid2().optional(),
92
93
  linkMeta: z
93
94
  .object({
94
95
  url: z.url(),