@zyacreatives/shared 2.1.28 → 2.1.31

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.
@@ -25,11 +25,7 @@ export declare const ONBOARDING_PAGES: {
25
25
  readonly USERNAME_SELECTION: "USERNAME_SELECTION";
26
26
  readonly ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
27
27
  readonly CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
28
- readonly CREATIVE_PROFILE_CUSTOMIZE_FEED: "CREATIVE_PROFILE_CUSTOMIZE_FEED";
29
- readonly CREATIVE_PROFILE_PORTFOLIO: "CREATIVE_PROFILE_PORTFOLIO";
30
28
  readonly BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
31
- readonly BRAND_PROFILE_CUSTOMIZE_FEED: "BRAND_PROFILE_CUSTOMIZE_FEED";
32
- readonly BRAND_PROFILE_PORTFOLIO: "BRAND_PROFILE_PORTFOLIO";
33
29
  readonly INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
34
30
  readonly INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
35
31
  readonly INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
@@ -211,6 +207,18 @@ export declare const APPLICATION_STATUS: {
211
207
  readonly OFFERED: "Offered";
212
208
  readonly HIRED: "Hired";
213
209
  };
210
+ export declare const NOTIFICATION_TYPES: {
211
+ readonly FOLLOW: "Follow";
212
+ readonly LIKE: "Like";
213
+ readonly COMMENT: "Comment";
214
+ readonly REPLY: "Reply";
215
+ readonly MESSAGE: "Message";
216
+ readonly JOB_APPLICATION: "Job Application";
217
+ readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
218
+ readonly SYSTEM_STRIKE: "System Strike";
219
+ readonly PROJECT_FEATURED: "Project Featured";
220
+ };
221
+ export type NotificationType = (typeof NOTIFICATION_TYPES)[keyof typeof NOTIFICATION_TYPES];
214
222
  export type ApplicationStatus = (typeof APPLICATION_STATUS)[keyof typeof APPLICATION_STATUS];
215
223
  export type ActivityType = (typeof ACTIVITY_TYPES)[keyof typeof ACTIVITY_TYPES];
216
224
  export type PostBadgeType = (typeof POST_BADGE_TYPES)[keyof typeof POST_BADGE_TYPES];
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.APPLICATION_STATUS = exports.LINK_TYPES = exports.ACTIVITY_TYPES = exports.POST_BADGE_TYPES = exports.JOB_STATUS = exports.WAGES_CURRENCY = exports.GIG_TYPE = exports.MESSAGE_TYPES = exports.JOB_LOCATIONS = exports.JOB_SECTIONS = exports.WAGE_TYPES = exports.JOB_AVAILABILITY_TYPES = exports.EMPLOYMENT_TYPE = exports.WORK_MODE = exports.JOB_TYPE = exports.POST_TYPES = exports.ACTIVITY_PARENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_STATUSES = exports.GEOGRAPHIC_FOCUS = exports.INVESTMENT_SIZES = exports.INVESTOR_TYPES = exports.ONBOARDING_PAGES = exports.EXPERIENCE_LEVELS = exports.CLIENT_TYPES = exports.USER_STATUSES = exports.ROLES = void 0;
3
+ exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.NOTIFICATION_TYPES = exports.APPLICATION_STATUS = exports.LINK_TYPES = exports.ACTIVITY_TYPES = exports.POST_BADGE_TYPES = exports.JOB_STATUS = exports.WAGES_CURRENCY = exports.GIG_TYPE = exports.MESSAGE_TYPES = exports.JOB_LOCATIONS = exports.JOB_SECTIONS = exports.WAGE_TYPES = exports.JOB_AVAILABILITY_TYPES = exports.EMPLOYMENT_TYPE = exports.WORK_MODE = exports.JOB_TYPE = exports.POST_TYPES = exports.ACTIVITY_PARENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_STATUSES = exports.GEOGRAPHIC_FOCUS = exports.INVESTMENT_SIZES = exports.INVESTOR_TYPES = exports.ONBOARDING_PAGES = exports.EXPERIENCE_LEVELS = exports.CLIENT_TYPES = exports.USER_STATUSES = exports.ROLES = void 0;
4
4
  exports.ROLES = {
5
5
  CREATIVE: "CREATIVE",
6
6
  BRAND: "BRAND",
@@ -28,11 +28,7 @@ exports.ONBOARDING_PAGES = {
28
28
  USERNAME_SELECTION: "USERNAME_SELECTION",
29
29
  ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION",
30
30
  CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS",
31
- CREATIVE_PROFILE_CUSTOMIZE_FEED: "CREATIVE_PROFILE_CUSTOMIZE_FEED",
32
- CREATIVE_PROFILE_PORTFOLIO: "CREATIVE_PROFILE_PORTFOLIO",
33
31
  BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS",
34
- BRAND_PROFILE_CUSTOMIZE_FEED: "BRAND_PROFILE_CUSTOMIZE_FEED",
35
- BRAND_PROFILE_PORTFOLIO: "BRAND_PROFILE_PORTFOLIO",
36
32
  INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS",
37
33
  INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS",
38
34
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION",
@@ -213,6 +209,17 @@ exports.APPLICATION_STATUS = {
213
209
  OFFERED: "Offered",
214
210
  HIRED: "Hired",
215
211
  };
212
+ exports.NOTIFICATION_TYPES = {
213
+ FOLLOW: "Follow",
214
+ LIKE: "Like",
215
+ COMMENT: "Comment",
216
+ REPLY: "Reply",
217
+ MESSAGE: "Message",
218
+ JOB_APPLICATION: "Job Application",
219
+ APPLICATION_STATUS_CHANGE: "Application Status Change",
220
+ SYSTEM_STRIKE: "System Strike",
221
+ PROJECT_FEATURED: "Project Featured",
222
+ };
216
223
  exports.API_ROUTES = {
217
224
  healthCheck: "/health",
218
225
  username: {
@@ -329,7 +336,10 @@ exports.DEFAULT_DISCIPLINES = [
329
336
  { name: "Data Science & Analysis", slug: "data_science_analysis" },
330
337
  { name: "Data Visualization", slug: "data_visualization" },
331
338
  { name: "Digital Art", slug: "digital_art" },
332
- { name: "Digital Painting & Matte Painting", slug: "digital_painting_matte" },
339
+ {
340
+ name: "Digital Painting & Matte Painting",
341
+ slug: "digital_painting_matte",
342
+ },
333
343
  { name: "E-commerce & Store Design", slug: "ecommerce_store_design" },
334
344
  { name: "Fashion & Style", slug: "fashion_style" },
335
345
  { name: "Food Content", slug: "food_content" },
@@ -15,3 +15,4 @@ export * from "./chat";
15
15
  export * from "./job";
16
16
  export * from "./job-application";
17
17
  export * from "./user-strike";
18
+ export * from "./notification";
@@ -31,3 +31,4 @@ __exportStar(require("./chat"), exports);
31
31
  __exportStar(require("./job"), exports);
32
32
  __exportStar(require("./job-application"), exports);
33
33
  __exportStar(require("./user-strike"), exports);
34
+ __exportStar(require("./notification"), exports);
@@ -1,4 +1,13 @@
1
1
  import { z } from "zod";
2
+ export declare const MinimalJobEntitySchema: z.ZodObject<{
3
+ id: z.ZodCUID2;
4
+ title: z.ZodString;
5
+ brandId: z.ZodCUID2;
6
+ jobType: z.ZodEnum<{
7
+ GIG: "GIG";
8
+ ROLE: "ROLE";
9
+ }>;
10
+ }, z.core.$strip>;
2
11
  export declare const BaseJobEntitySchema: z.ZodObject<{
3
12
  id: z.ZodCUID2;
4
13
  title: z.ZodString;
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetJobsOutputSchema = exports.GetJobsInputSchema = exports.GetCreatedJobsOutputSchema = exports.NormalizedJobSchema = exports.UpdateJobInputSchema = exports.UpdateGigJobInputSchema = exports.UpdateRoleJobInputSchema = exports.CreateGigJobInputSchema = exports.CreateRoleJobInputSchema = exports.CreateJobInputSchema = exports.JobWithRoleDetailsEntitySchema = exports.RoleJobEntitySchema = exports.JobWithGigDetailsEntitySchema = exports.GigJobEntitySchema = exports.JobEntitySchema = exports.JobIdSchema = exports.BaseJobEntitySchema = void 0;
3
+ exports.GetJobsOutputSchema = exports.GetJobsInputSchema = exports.GetCreatedJobsOutputSchema = exports.NormalizedJobSchema = exports.UpdateJobInputSchema = exports.UpdateGigJobInputSchema = exports.UpdateRoleJobInputSchema = exports.CreateGigJobInputSchema = exports.CreateRoleJobInputSchema = exports.CreateJobInputSchema = exports.JobWithRoleDetailsEntitySchema = exports.RoleJobEntitySchema = exports.JobWithGigDetailsEntitySchema = exports.GigJobEntitySchema = exports.JobEntitySchema = exports.JobIdSchema = exports.BaseJobEntitySchema = exports.MinimalJobEntitySchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const constants_1 = require("../constants");
6
6
  const JobSectionEnum = zod_1.z.enum(Object.values(constants_1.JOB_SECTIONS));
7
+ exports.MinimalJobEntitySchema = zod_1.z.object({
8
+ id: zod_1.z.cuid2(),
9
+ title: zod_1.z.string(),
10
+ brandId: zod_1.z.cuid2(),
11
+ jobType: zod_1.z.enum(Object.values(constants_1.JOB_TYPE)),
12
+ });
7
13
  exports.BaseJobEntitySchema = zod_1.z.object({
8
14
  id: zod_1.z.cuid2(),
9
15
  title: zod_1.z.string(),
@@ -157,7 +163,9 @@ exports.CreateRoleJobInputSchema = zod_1.z
157
163
  .enum(Object.values(constants_1.WAGE_TYPES))
158
164
  .optional(),
159
165
  })
160
- .refine(({ wagesMin, wagesMax }) => wagesMin === undefined || wagesMax === undefined || wagesMax > wagesMin, {
166
+ .refine(({ wagesMin, wagesMax }) => wagesMin === undefined ||
167
+ wagesMax === undefined ||
168
+ wagesMax > wagesMin, {
161
169
  message: "wagesMax must be greater than wagesMin",
162
170
  path: ["wagesMax"],
163
171
  });
@@ -178,7 +186,9 @@ exports.CreateGigJobInputSchema = zod_1.z
178
186
  .enum(Object.values(constants_1.WAGE_TYPES))
179
187
  .optional(),
180
188
  })
181
- .refine(({ wagesMin, wagesMax }) => wagesMin === undefined || wagesMax === undefined || wagesMax > wagesMin, {
189
+ .refine(({ wagesMin, wagesMax }) => wagesMin === undefined ||
190
+ wagesMax === undefined ||
191
+ wagesMax > wagesMin, {
182
192
  message: "wagesMax must be greater than wagesMin",
183
193
  path: ["wagesMax"],
184
194
  });
@@ -0,0 +1,106 @@
1
+ import { z } from "@hono/zod-openapi";
2
+ export declare const NotificationEntitySchema: z.ZodObject<{
3
+ id: z.ZodCUID2;
4
+ recipientId: z.ZodCUID2;
5
+ actorId: z.ZodCUID2;
6
+ type: z.ZodEnum<{
7
+ readonly FOLLOW: "Follow";
8
+ readonly LIKE: "Like";
9
+ readonly COMMENT: "Comment";
10
+ readonly REPLY: "Reply";
11
+ readonly MESSAGE: "Message";
12
+ readonly JOB_APPLICATION: "Job Application";
13
+ readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
14
+ readonly SYSTEM_STRIKE: "System Strike";
15
+ readonly PROJECT_FEATURED: "Project Featured";
16
+ }>;
17
+ parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
18
+ parentType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
19
+ [x: string]: string;
20
+ }>>>;
21
+ isRead: z.ZodDefault<z.ZodBoolean>;
22
+ createdAt: z.ZodCoercedDate<unknown>;
23
+ deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
24
+ }, z.core.$strip>;
25
+ export declare const MinimalNotificationEntitySchema: z.ZodObject<{
26
+ id: z.ZodCUID2;
27
+ recipientId: z.ZodCUID2;
28
+ actorId: z.ZodCUID2;
29
+ }, z.core.$strip>;
30
+ export declare const NotificationDetailsEntitySchema: z.ZodObject<{
31
+ id: z.ZodCUID2;
32
+ recipientId: z.ZodCUID2;
33
+ actorId: z.ZodCUID2;
34
+ type: z.ZodEnum<{
35
+ readonly FOLLOW: "Follow";
36
+ readonly LIKE: "Like";
37
+ readonly COMMENT: "Comment";
38
+ readonly REPLY: "Reply";
39
+ readonly MESSAGE: "Message";
40
+ readonly JOB_APPLICATION: "Job Application";
41
+ readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
42
+ readonly SYSTEM_STRIKE: "System Strike";
43
+ readonly PROJECT_FEATURED: "Project Featured";
44
+ }>;
45
+ parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
46
+ parentType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
47
+ [x: string]: string;
48
+ }>>>;
49
+ isRead: z.ZodDefault<z.ZodBoolean>;
50
+ createdAt: z.ZodCoercedDate<unknown>;
51
+ deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
52
+ itemTitle: z.ZodOptional<z.ZodString>;
53
+ itemContent: z.ZodOptional<z.ZodString>;
54
+ itemImgUrl: z.ZodOptional<z.ZodString>;
55
+ }, z.core.$strip>;
56
+ export declare const ListNotificationsInputSchema: z.ZodObject<{
57
+ type: z.ZodOptional<z.ZodEnum<{
58
+ readonly FOLLOW: "Follow";
59
+ readonly LIKE: "Like";
60
+ readonly COMMENT: "Comment";
61
+ readonly REPLY: "Reply";
62
+ readonly MESSAGE: "Message";
63
+ readonly JOB_APPLICATION: "Job Application";
64
+ readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
65
+ readonly SYSTEM_STRIKE: "System Strike";
66
+ readonly PROJECT_FEATURED: "Project Featured";
67
+ }>>;
68
+ cursor: z.ZodOptional<z.ZodString>;
69
+ unreadOnly: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>>;
70
+ }, z.core.$strip>;
71
+ export declare const ListNotificationsOutputSchema: z.ZodObject<{
72
+ notifications: z.ZodArray<z.ZodObject<{
73
+ id: z.ZodCUID2;
74
+ recipientId: z.ZodCUID2;
75
+ actorId: z.ZodCUID2;
76
+ type: z.ZodEnum<{
77
+ readonly FOLLOW: "Follow";
78
+ readonly LIKE: "Like";
79
+ readonly COMMENT: "Comment";
80
+ readonly REPLY: "Reply";
81
+ readonly MESSAGE: "Message";
82
+ readonly JOB_APPLICATION: "Job Application";
83
+ readonly APPLICATION_STATUS_CHANGE: "Application Status Change";
84
+ readonly SYSTEM_STRIKE: "System Strike";
85
+ readonly PROJECT_FEATURED: "Project Featured";
86
+ }>;
87
+ parentId: z.ZodNullable<z.ZodOptional<z.ZodCUID2>>;
88
+ parentType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
89
+ [x: string]: string;
90
+ }>>>;
91
+ isRead: z.ZodDefault<z.ZodBoolean>;
92
+ createdAt: z.ZodCoercedDate<unknown>;
93
+ deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
94
+ itemTitle: z.ZodOptional<z.ZodString>;
95
+ itemContent: z.ZodOptional<z.ZodString>;
96
+ itemImgUrl: z.ZodOptional<z.ZodString>;
97
+ }, z.core.$strip>>;
98
+ nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
99
+ unreadCount: z.ZodNumber;
100
+ }, z.core.$strip>;
101
+ export declare const MarkReadInputSchema: z.ZodObject<{
102
+ notificationIds: z.ZodArray<z.ZodCUID2>;
103
+ }, z.core.$strip>;
104
+ export declare const NotificationCountOutputSchema: z.ZodObject<{
105
+ unreadCount: z.ZodNumber;
106
+ }, z.core.$strip>;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationCountOutputSchema = exports.MarkReadInputSchema = exports.ListNotificationsOutputSchema = exports.ListNotificationsInputSchema = exports.NotificationDetailsEntitySchema = exports.MinimalNotificationEntitySchema = exports.NotificationEntitySchema = void 0;
4
+ const zod_openapi_1 = require("@hono/zod-openapi");
5
+ const constants_1 = require("../constants");
6
+ exports.NotificationEntitySchema = zod_openapi_1.z
7
+ .object({
8
+ id: zod_openapi_1.z.cuid2().openapi({ example: "not_cksd0v6q0000s9a5y8z7p3x9" }),
9
+ recipientId: zod_openapi_1.z.cuid2().openapi({ example: "user_recipient_123" }),
10
+ actorId: zod_openapi_1.z.cuid2().openapi({ example: "user_actor_456" }),
11
+ type: zod_openapi_1.z.enum(constants_1.NOTIFICATION_TYPES).openapi({ example: "LIKE" }),
12
+ parentId: zod_openapi_1.z.cuid2().optional().nullable(),
13
+ parentType: zod_openapi_1.z
14
+ .enum(Object.values(constants_1.ACTIVITY_PARENT_TYPES))
15
+ .optional()
16
+ .nullable(),
17
+ isRead: zod_openapi_1.z.boolean().default(false).openapi({ example: false }),
18
+ createdAt: zod_openapi_1.z.coerce
19
+ .date()
20
+ .openapi({ example: "2025-10-13T09:00:00.000Z" }),
21
+ deletedAt: zod_openapi_1.z.coerce.date().optional().nullable(),
22
+ })
23
+ .openapi("NotificationEntity");
24
+ exports.MinimalNotificationEntitySchema = zod_openapi_1.z.object({
25
+ id: zod_openapi_1.z.cuid2(),
26
+ recipientId: zod_openapi_1.z.cuid2(),
27
+ actorId: zod_openapi_1.z.cuid2(),
28
+ });
29
+ exports.NotificationDetailsEntitySchema = exports.NotificationEntitySchema.extend({
30
+ itemTitle: zod_openapi_1.z.string().optional(),
31
+ itemContent: zod_openapi_1.z.string().optional(),
32
+ itemImgUrl: zod_openapi_1.z.string().optional(),
33
+ });
34
+ exports.ListNotificationsInputSchema = zod_openapi_1.z
35
+ .object({
36
+ type: zod_openapi_1.z
37
+ .enum(constants_1.NOTIFICATION_TYPES)
38
+ .openapi({ example: "LIKE" })
39
+ .optional(),
40
+ cursor: zod_openapi_1.z.string().optional(),
41
+ unreadOnly: zod_openapi_1.z
42
+ .preprocess((val) => val === "true" || val === true, zod_openapi_1.z.boolean())
43
+ .optional()
44
+ .default(false),
45
+ })
46
+ .openapi("ListNotificationsInput");
47
+ exports.ListNotificationsOutputSchema = zod_openapi_1.z.object({
48
+ notifications: zod_openapi_1.z.array(exports.NotificationDetailsEntitySchema),
49
+ nextCursor: zod_openapi_1.z.string().optional().nullable(),
50
+ unreadCount: zod_openapi_1.z.number().int().openapi({ example: 5 }),
51
+ });
52
+ exports.MarkReadInputSchema = zod_openapi_1.z.object({
53
+ notificationIds: zod_openapi_1.z.array(zod_openapi_1.z.cuid2()).min(1),
54
+ });
55
+ exports.NotificationCountOutputSchema = zod_openapi_1.z.object({
56
+ unreadCount: zod_openapi_1.z.number().int().openapi({ example: 12 }),
57
+ });
@@ -23,11 +23,7 @@ export declare const UserEntitySchema: z.ZodObject<{
23
23
  USERNAME_SELECTION: "USERNAME_SELECTION";
24
24
  ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
25
25
  CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
26
- CREATIVE_PROFILE_CUSTOMIZE_FEED: "CREATIVE_PROFILE_CUSTOMIZE_FEED";
27
- CREATIVE_PROFILE_PORTFOLIO: "CREATIVE_PROFILE_PORTFOLIO";
28
26
  BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
29
- BRAND_PROFILE_CUSTOMIZE_FEED: "BRAND_PROFILE_CUSTOMIZE_FEED";
30
- BRAND_PROFILE_PORTFOLIO: "BRAND_PROFILE_PORTFOLIO";
31
27
  INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
32
28
  INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
33
29
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
@@ -78,11 +74,7 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
78
74
  USERNAME_SELECTION: "USERNAME_SELECTION";
79
75
  ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
80
76
  CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
81
- CREATIVE_PROFILE_CUSTOMIZE_FEED: "CREATIVE_PROFILE_CUSTOMIZE_FEED";
82
- CREATIVE_PROFILE_PORTFOLIO: "CREATIVE_PROFILE_PORTFOLIO";
83
77
  BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
84
- BRAND_PROFILE_CUSTOMIZE_FEED: "BRAND_PROFILE_CUSTOMIZE_FEED";
85
- BRAND_PROFILE_PORTFOLIO: "BRAND_PROFILE_PORTFOLIO";
86
78
  INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
87
79
  INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
88
80
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
@@ -483,11 +475,7 @@ export declare const GetAuthenticatedUserOutputSchema: z.ZodObject<{
483
475
  USERNAME_SELECTION: "USERNAME_SELECTION";
484
476
  ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
485
477
  CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
486
- CREATIVE_PROFILE_CUSTOMIZE_FEED: "CREATIVE_PROFILE_CUSTOMIZE_FEED";
487
- CREATIVE_PROFILE_PORTFOLIO: "CREATIVE_PROFILE_PORTFOLIO";
488
478
  BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
489
- BRAND_PROFILE_CUSTOMIZE_FEED: "BRAND_PROFILE_CUSTOMIZE_FEED";
490
- BRAND_PROFILE_PORTFOLIO: "BRAND_PROFILE_PORTFOLIO";
491
479
  INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
492
480
  INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
493
481
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
@@ -520,11 +508,7 @@ export declare const GetAuthenticatedUserProfileOutputSchema: z.ZodObject<{
520
508
  USERNAME_SELECTION: "USERNAME_SELECTION";
521
509
  ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
522
510
  CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
523
- CREATIVE_PROFILE_CUSTOMIZE_FEED: "CREATIVE_PROFILE_CUSTOMIZE_FEED";
524
- CREATIVE_PROFILE_PORTFOLIO: "CREATIVE_PROFILE_PORTFOLIO";
525
511
  BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
526
- BRAND_PROFILE_CUSTOMIZE_FEED: "BRAND_PROFILE_CUSTOMIZE_FEED";
527
- BRAND_PROFILE_PORTFOLIO: "BRAND_PROFILE_PORTFOLIO";
528
512
  INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
529
513
  INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
530
514
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
@@ -16,3 +16,4 @@ export * from "./message";
16
16
  export * from "./chat";
17
17
  export * from "./job";
18
18
  export * from "./user-strike";
19
+ export * from "./notification";
@@ -32,3 +32,4 @@ __exportStar(require("./message"), exports);
32
32
  __exportStar(require("./chat"), exports);
33
33
  __exportStar(require("./job"), exports);
34
34
  __exportStar(require("./user-strike"), exports);
35
+ __exportStar(require("./notification"), exports);
@@ -0,0 +1,9 @@
1
+ import { z } from "@hono/zod-openapi";
2
+ import type { NotificationEntitySchema, MinimalNotificationEntitySchema, NotificationDetailsEntitySchema, ListNotificationsInputSchema, ListNotificationsOutputSchema, MarkReadInputSchema, NotificationCountOutputSchema } from "../schemas/notification";
3
+ export type NotificationEntity = z.infer<typeof NotificationEntitySchema>;
4
+ export type MinimalNotificationEntity = z.infer<typeof MinimalNotificationEntitySchema>;
5
+ export type NotificationDetailsEntity = z.infer<typeof NotificationDetailsEntitySchema>;
6
+ export type ListNotificationsInput = z.infer<typeof ListNotificationsInputSchema>;
7
+ export type ListNotificationsOutput = z.infer<typeof ListNotificationsOutputSchema>;
8
+ export type MarkReadInput = z.infer<typeof MarkReadInputSchema>;
9
+ export type NotificationCountOutput = z.infer<typeof NotificationCountOutputSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.28",
3
+ "version": "2.1.31",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",