@zyacreatives/shared 2.5.9 → 2.5.10
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/constants.d.ts
CHANGED
|
@@ -255,6 +255,9 @@ export declare const NOTIFICATION_TYPES: {
|
|
|
255
255
|
readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
|
|
256
256
|
readonly SYSTEM_STRIKE: "System Strike";
|
|
257
257
|
readonly PROJECT_FEATURED: "Project Featured";
|
|
258
|
+
readonly PROJECT_TAG: "Project Tag";
|
|
259
|
+
readonly MENTION: "Mention";
|
|
260
|
+
readonly MARKETPLACE_DROP: "Marketplace Drop";
|
|
258
261
|
};
|
|
259
262
|
export declare const VENTURE_STAGES: {
|
|
260
263
|
readonly IDEA: "Idea";
|
package/dist/constants.js
CHANGED
|
@@ -253,6 +253,9 @@ exports.NOTIFICATION_TYPES = {
|
|
|
253
253
|
APPLICATION_STATUS_CHANGE: "Application Status Change",
|
|
254
254
|
SYSTEM_STRIKE: "System Strike",
|
|
255
255
|
PROJECT_FEATURED: "Project Featured",
|
|
256
|
+
PROJECT_TAG: "Project Tag",
|
|
257
|
+
MENTION: "Mention",
|
|
258
|
+
MARKETPLACE_DROP: "Marketplace Drop",
|
|
256
259
|
};
|
|
257
260
|
exports.VENTURE_STAGES = {
|
|
258
261
|
IDEA: "Idea",
|
|
@@ -14,6 +14,9 @@ export declare const NotificationEntitySchema: z.ZodObject<{
|
|
|
14
14
|
readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
|
|
15
15
|
readonly SYSTEM_STRIKE: "System Strike";
|
|
16
16
|
readonly PROJECT_FEATURED: "Project Featured";
|
|
17
|
+
readonly PROJECT_TAG: "Project Tag";
|
|
18
|
+
readonly MENTION: "Mention";
|
|
19
|
+
readonly MARKETPLACE_DROP: "Marketplace Drop";
|
|
17
20
|
}>;
|
|
18
21
|
entityId: z.ZodOptional<z.ZodCUID2>;
|
|
19
22
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
|
|
@@ -64,6 +67,9 @@ export declare const NotificationDetailsEntitySchema: z.ZodObject<{
|
|
|
64
67
|
readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
|
|
65
68
|
readonly SYSTEM_STRIKE: "System Strike";
|
|
66
69
|
readonly PROJECT_FEATURED: "Project Featured";
|
|
70
|
+
readonly PROJECT_TAG: "Project Tag";
|
|
71
|
+
readonly MENTION: "Mention";
|
|
72
|
+
readonly MARKETPLACE_DROP: "Marketplace Drop";
|
|
67
73
|
}>;
|
|
68
74
|
entityId: z.ZodOptional<z.ZodCUID2>;
|
|
69
75
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
|
|
@@ -136,6 +142,9 @@ export declare const ListNotificationsInputSchema: z.ZodObject<{
|
|
|
136
142
|
readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
|
|
137
143
|
readonly SYSTEM_STRIKE: "System Strike";
|
|
138
144
|
readonly PROJECT_FEATURED: "Project Featured";
|
|
145
|
+
readonly PROJECT_TAG: "Project Tag";
|
|
146
|
+
readonly MENTION: "Mention";
|
|
147
|
+
readonly MARKETPLACE_DROP: "Marketplace Drop";
|
|
139
148
|
}>>;
|
|
140
149
|
cursor: z.ZodOptional<z.ZodString>;
|
|
141
150
|
unreadOnly: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>>;
|
|
@@ -156,6 +165,9 @@ export declare const ListNotificationsOutputSchema: z.ZodObject<{
|
|
|
156
165
|
readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
|
|
157
166
|
readonly SYSTEM_STRIKE: "System Strike";
|
|
158
167
|
readonly PROJECT_FEATURED: "Project Featured";
|
|
168
|
+
readonly PROJECT_TAG: "Project Tag";
|
|
169
|
+
readonly MENTION: "Mention";
|
|
170
|
+
readonly MARKETPLACE_DROP: "Marketplace Drop";
|
|
159
171
|
}>;
|
|
160
172
|
entityId: z.ZodOptional<z.ZodCUID2>;
|
|
161
173
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -288,6 +288,9 @@ export const NOTIFICATION_TYPES = {
|
|
|
288
288
|
APPLICATION_STATUS_CHANGE: "Application Status Change",
|
|
289
289
|
SYSTEM_STRIKE: "System Strike",
|
|
290
290
|
PROJECT_FEATURED: "Project Featured",
|
|
291
|
+
PROJECT_TAG: "Project Tag",
|
|
292
|
+
MENTION: "Mention",
|
|
293
|
+
MARKETPLACE_DROP: "Marketplace Drop",
|
|
291
294
|
} as const;
|
|
292
295
|
|
|
293
296
|
export const VENTURE_STAGES = {
|
|
@@ -9,7 +9,6 @@ export const NotificationEntitySchema = z
|
|
|
9
9
|
actorId: z.cuid2().openapi({ example: "user_actor_456" }),
|
|
10
10
|
type: z.enum(NOTIFICATION_TYPES).openapi({ example: "LIKE" }),
|
|
11
11
|
entityId: z.cuid2().optional().openapi({ example: "entity_789" }),
|
|
12
|
-
|
|
13
12
|
parentId: z
|
|
14
13
|
.cuid2()
|
|
15
14
|
.optional()
|