@zyacreatives/shared 2.1.39 → 2.1.40

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.
@@ -16,14 +16,6 @@ export declare const NotificationEntitySchema: z.ZodObject<{
16
16
  readonly PROJECT_FEATURED: "Project Featured";
17
17
  }>;
18
18
  entityId: z.ZodOptional<z.ZodCUID2>;
19
- entityType: z.ZodEnum<{
20
- readonly PROJECT: "PROJECT";
21
- readonly USER: "USER";
22
- readonly JOB: "JOB";
23
- readonly POST: "POST";
24
- readonly COMMENT: "COMMENT";
25
- readonly JOB_APPLICATION: "JOB_APPLICATION";
26
- }>;
27
19
  parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
28
20
  parentType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
29
21
  readonly PROJECT: "PROJECT";
@@ -68,14 +60,6 @@ export declare const NotificationDetailsEntitySchema: z.ZodObject<{
68
60
  readonly PROJECT_FEATURED: "Project Featured";
69
61
  }>;
70
62
  entityId: z.ZodOptional<z.ZodCUID2>;
71
- entityType: z.ZodEnum<{
72
- readonly PROJECT: "PROJECT";
73
- readonly USER: "USER";
74
- readonly JOB: "JOB";
75
- readonly POST: "POST";
76
- readonly COMMENT: "COMMENT";
77
- readonly JOB_APPLICATION: "JOB_APPLICATION";
78
- }>;
79
63
  parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
80
64
  parentType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
81
65
  readonly PROJECT: "PROJECT";
@@ -136,14 +120,6 @@ export declare const ListNotificationsOutputSchema: z.ZodObject<{
136
120
  readonly PROJECT_FEATURED: "Project Featured";
137
121
  }>;
138
122
  entityId: z.ZodOptional<z.ZodCUID2>;
139
- entityType: z.ZodEnum<{
140
- readonly PROJECT: "PROJECT";
141
- readonly USER: "USER";
142
- readonly JOB: "JOB";
143
- readonly POST: "POST";
144
- readonly COMMENT: "COMMENT";
145
- readonly JOB_APPLICATION: "JOB_APPLICATION";
146
- }>;
147
123
  parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
148
124
  parentType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
149
125
  readonly PROJECT: "PROJECT";
@@ -11,7 +11,6 @@ exports.NotificationEntitySchema = zod_openapi_1.z
11
11
  type: zod_openapi_1.z.enum(constants_1.NOTIFICATION_TYPES).openapi({ example: "LIKE" }),
12
12
  // 1. ENTITY: The specific thing created (e.g., the Reply)
13
13
  entityId: zod_openapi_1.z.cuid2().optional().openapi({ example: "entity_789" }),
14
- entityType: zod_openapi_1.z.enum(constants_1.ACTIVITY_PARENT_TYPES),
15
14
  // 2. PARENT: The direct context (e.g., the Comment being replied to)
16
15
  // Optional because top-level interactions (like a comment on a project)
17
16
  // have no parent other than the root.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.39",
3
+ "version": "2.1.40",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -7,10 +7,8 @@ export const NotificationEntitySchema = z
7
7
  recipientId: z.cuid2().openapi({ example: "user_recipient_123" }),
8
8
  actorId: z.cuid2().openapi({ example: "user_actor_456" }),
9
9
  type: z.enum(NOTIFICATION_TYPES).openapi({ example: "LIKE" }),
10
-
11
10
  // 1. ENTITY: The specific thing created (e.g., the Reply)
12
11
  entityId: z.cuid2().optional().openapi({ example: "entity_789" }),
13
- entityType: z.enum(ACTIVITY_PARENT_TYPES),
14
12
 
15
13
  // 2. PARENT: The direct context (e.g., the Comment being replied to)
16
14
  // Optional because top-level interactions (like a comment on a project)