@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.
- package/dist/schemas/post.d.ts +4 -4
- package/dist/schemas/post.js +1 -1
- package/package.json +1 -1
- package/src/schemas/post.ts +1 -1
package/dist/schemas/post.d.ts
CHANGED
|
@@ -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>>;
|
package/dist/schemas/post.js
CHANGED
|
@@ -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
|
|
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
package/src/schemas/post.ts
CHANGED