@zyacreatives/shared 1.8.1 → 1.8.3

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.
@@ -8,3 +8,4 @@ export * from "./discipline";
8
8
  export * from "./file";
9
9
  export * from "./username";
10
10
  export * from "./post";
11
+ export * from "./entity-stats";
@@ -24,3 +24,4 @@ __exportStar(require("./discipline"), exports);
24
24
  __exportStar(require("./file"), exports);
25
25
  __exportStar(require("./username"), exports);
26
26
  __exportStar(require("./post"), exports);
27
+ __exportStar(require("./entity-stats"), exports);
@@ -56,7 +56,6 @@ export declare const PostWithFilesEntitySchema: z.ZodObject<{
56
56
  }, z.core.$strip>;
57
57
  export declare const CreatePostInputSchema: z.ZodObject<{
58
58
  parentId: z.ZodOptional<z.ZodCUID2>;
59
- userId: z.ZodCUID2;
60
59
  content: z.ZodString;
61
60
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
61
  postType: z.ZodDefault<z.ZodEnum<{
@@ -64,9 +64,6 @@ exports.CreatePostInputSchema = zod_openapi_1.z.object({
64
64
  .cuid2()
65
65
  .optional()
66
66
  .openapi({ description: "Parent id", example: "ckl1a2b3c0000abc" }),
67
- userId: zod_openapi_1.z
68
- .cuid2()
69
- .openapi({ description: "User id", example: "ckl1a2b3c0000def" }),
70
67
  content: zod_openapi_1.z.string().openapi({
71
68
  description: "Post content",
72
69
  example: "New project announcement",
@@ -7,4 +7,5 @@ export * from "./investor";
7
7
  export * from "./project";
8
8
  export * from "./user";
9
9
  export * from "./username";
10
+ export * from "./entity-stats";
10
11
  export * from "./post";
@@ -23,4 +23,5 @@ __exportStar(require("./investor"), exports);
23
23
  __exportStar(require("./project"), exports);
24
24
  __exportStar(require("./user"), exports);
25
25
  __exportStar(require("./username"), exports);
26
+ __exportStar(require("./entity-stats"), exports);
26
27
  __exportStar(require("./post"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,3 +8,4 @@ export * from "./discipline";
8
8
  export * from "./file";
9
9
  export * from "./username";
10
10
  export * from "./post";
11
+ export * from "./entity-stats";
@@ -67,9 +67,6 @@ export const CreatePostInputSchema = z.object({
67
67
  .cuid2()
68
68
  .optional()
69
69
  .openapi({ description: "Parent id", example: "ckl1a2b3c0000abc" }),
70
- userId: z
71
- .cuid2()
72
- .openapi({ description: "User id", example: "ckl1a2b3c0000def" }),
73
70
  content: z.string().openapi({
74
71
  description: "Post content",
75
72
  example: "New project announcement",
@@ -7,4 +7,5 @@ export * from "./investor";
7
7
  export * from "./project";
8
8
  export * from "./user";
9
9
  export * from "./username";
10
+ export * from "./entity-stats";
10
11
  export * from "./post";