@zyacreatives/shared 2.0.31 → 2.0.32

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.
@@ -308,7 +308,7 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
308
308
  order: z.ZodNumber;
309
309
  url: z.ZodURL;
310
310
  }, z.core.$strip>>>;
311
- stats: {
311
+ stats: z.ZodObject<{
312
312
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
313
313
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
314
314
  parentId: z.ZodCUID2;
@@ -320,7 +320,7 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
320
320
  bookmarksCount: z.ZodNumber;
321
321
  viewsCount: z.ZodNumber;
322
322
  commentsCount: z.ZodNumber;
323
- };
323
+ }, z.core.$strip>;
324
324
  score: z.ZodNumber;
325
325
  }, z.core.$strip>;
326
326
  export declare const GetFeedInputSchema: z.ZodObject<{
@@ -369,7 +369,7 @@ export declare const GetFeedOutputSchema: z.ZodArray<z.ZodObject<{
369
369
  order: z.ZodNumber;
370
370
  url: z.ZodURL;
371
371
  }, z.core.$strip>>>;
372
- stats: {
372
+ stats: z.ZodObject<{
373
373
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
374
374
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
375
375
  parentId: z.ZodCUID2;
@@ -381,6 +381,6 @@ export declare const GetFeedOutputSchema: z.ZodArray<z.ZodObject<{
381
381
  bookmarksCount: z.ZodNumber;
382
382
  viewsCount: z.ZodNumber;
383
383
  commentsCount: z.ZodNumber;
384
- };
384
+ }, z.core.$strip>;
385
385
  score: z.ZodNumber;
386
386
  }, z.core.$strip>>;
@@ -152,7 +152,7 @@ exports.LinkPreviewOutputSchema = zod_openapi_1.z.object({
152
152
  url: zod_openapi_1.z.string().optional(),
153
153
  });
154
154
  exports.FeedPostEntitySchema = exports.PostWithFilesEntitySchema.extend({
155
- stats: entity_stats_1.EntityStatsSchema.shape,
155
+ stats: entity_stats_1.EntityStatsSchema,
156
156
  score: zod_openapi_1.z.number(),
157
157
  });
158
158
  exports.GetFeedInputSchema = zod_openapi_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.31",
3
+ "version": "2.0.32",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -167,7 +167,7 @@ export const LinkPreviewOutputSchema = z.object({
167
167
  });
168
168
 
169
169
  export const FeedPostEntitySchema = PostWithFilesEntitySchema.extend({
170
- stats: EntityStatsSchema.shape,
170
+ stats: EntityStatsSchema,
171
171
  score: z.number(),
172
172
  });
173
173