@zyacreatives/shared 2.1.63 → 2.1.64

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.
@@ -316,6 +316,8 @@ export declare const UserWithFollowingEntitySchema: z.ZodObject<{
316
316
  INVESTOR: "INVESTOR";
317
317
  ADMIN: "ADMIN";
318
318
  }>;
319
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
320
+ followsYou: z.ZodOptional<z.ZodBoolean>;
319
321
  }, z.core.$strip>>;
320
322
  }, z.core.$strip>;
321
323
  export declare const UserWithFollowersEntitySchema: z.ZodObject<{
@@ -342,6 +344,8 @@ export declare const UserWithFollowersEntitySchema: z.ZodObject<{
342
344
  INVESTOR: "INVESTOR";
343
345
  ADMIN: "ADMIN";
344
346
  }>;
347
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
348
+ followsYou: z.ZodOptional<z.ZodBoolean>;
345
349
  }, z.core.$strip>>;
346
350
  }, z.core.$strip>;
347
351
  export declare const UserWithPostsEntitySchema: z.ZodObject<{
@@ -426,6 +430,8 @@ export declare const GetUserFollowingOutputSchema: z.ZodObject<{
426
430
  INVESTOR: "INVESTOR";
427
431
  ADMIN: "ADMIN";
428
432
  }>;
433
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
434
+ followsYou: z.ZodOptional<z.ZodBoolean>;
429
435
  }, z.core.$strip>>;
430
436
  }, z.core.$strip>;
431
437
  }, z.core.$strip>;
@@ -454,6 +460,8 @@ export declare const GetUserFollowersOutputSchema: z.ZodObject<{
454
460
  INVESTOR: "INVESTOR";
455
461
  ADMIN: "ADMIN";
456
462
  }>;
463
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
464
+ followsYou: z.ZodOptional<z.ZodBoolean>;
457
465
  }, z.core.$strip>>;
458
466
  }, z.core.$strip>;
459
467
  }, z.core.$strip>;
@@ -722,6 +730,8 @@ export declare const GetAuthenticatedUserWithUserFollowingOutputSchema: z.ZodObj
722
730
  INVESTOR: "INVESTOR";
723
731
  ADMIN: "ADMIN";
724
732
  }>;
733
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
734
+ followsYou: z.ZodOptional<z.ZodBoolean>;
725
735
  }, z.core.$strip>>;
726
736
  }, z.core.$strip>;
727
737
  export declare const GetAuthenticatedUserWithUserFollowersOutputSchema: z.ZodObject<{
@@ -748,6 +758,8 @@ export declare const GetAuthenticatedUserWithUserFollowersOutputSchema: z.ZodObj
748
758
  INVESTOR: "INVESTOR";
749
759
  ADMIN: "ADMIN";
750
760
  }>;
761
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
762
+ followsYou: z.ZodOptional<z.ZodBoolean>;
751
763
  }, z.core.$strip>>;
752
764
  }, z.core.$strip>;
753
765
  export declare const GetAuthenticatedUserWithProjectLikesOutputSchema: z.ZodObject<{
@@ -108,12 +108,18 @@ exports.GetUserFollowersInputSchema = zod_openapi_1.z.object({
108
108
  });
109
109
  exports.UserWithFollowingEntitySchema = exports.MinimalUserSchema.extend({
110
110
  following: zod_openapi_1.z
111
- .array(exports.MinimalUserSchema)
111
+ .array(exports.MinimalUserSchema.extend({
112
+ isFollowing: zod_openapi_1.z.boolean().optional(),
113
+ followsYou: zod_openapi_1.z.boolean().optional(),
114
+ }))
112
115
  .openapi({ description: "List of users this user is following." }),
113
116
  }).openapi("UserWithFollowingEntity");
114
117
  exports.UserWithFollowersEntitySchema = exports.MinimalUserSchema.extend({
115
118
  followers: zod_openapi_1.z
116
- .array(exports.MinimalUserSchema)
119
+ .array(exports.MinimalUserSchema.extend({
120
+ isFollowing: zod_openapi_1.z.boolean().optional(),
121
+ followsYou: zod_openapi_1.z.boolean().optional(),
122
+ }))
117
123
  .openapi({ description: "List of users who follow this user." }),
118
124
  }).openapi("UserWithFollowersEntity");
119
125
  exports.UserWithPostsEntitySchema = zod_openapi_1.z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.63",
3
+ "version": "2.1.64",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -137,13 +137,23 @@ export const GetUserFollowersInputSchema = z.object({
137
137
  });
138
138
  export const UserWithFollowingEntitySchema = MinimalUserSchema.extend({
139
139
  following: z
140
- .array(MinimalUserSchema)
140
+ .array(
141
+ MinimalUserSchema.extend({
142
+ isFollowing: z.boolean().optional(),
143
+ followsYou: z.boolean().optional(),
144
+ }),
145
+ )
141
146
  .openapi({ description: "List of users this user is following." }),
142
147
  }).openapi("UserWithFollowingEntity");
143
148
 
144
149
  export const UserWithFollowersEntitySchema = MinimalUserSchema.extend({
145
150
  followers: z
146
- .array(MinimalUserSchema)
151
+ .array(
152
+ MinimalUserSchema.extend({
153
+ isFollowing: z.boolean().optional(),
154
+ followsYou: z.boolean().optional(),
155
+ }),
156
+ )
147
157
  .openapi({ description: "List of users who follow this user." }),
148
158
  }).openapi("UserWithFollowersEntity");
149
159