@zyacreatives/shared 2.1.32 → 2.1.33

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.
@@ -80,6 +80,8 @@ export declare const ACTIVITY_PARENT_TYPES: {
80
80
  readonly PROJECT: "PROJECT";
81
81
  readonly JOB: "JOB";
82
82
  readonly POST: "POST";
83
+ readonly COMMENT: "COMMENT";
84
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
83
85
  };
84
86
  export declare const POST_TYPES: {
85
87
  readonly MARKETPLACE: "MARKETPLACE";
package/dist/constants.js CHANGED
@@ -83,6 +83,8 @@ exports.ACTIVITY_PARENT_TYPES = {
83
83
  PROJECT: "PROJECT",
84
84
  JOB: "JOB",
85
85
  POST: "POST",
86
+ COMMENT: "COMMENT",
87
+ JOB_APPLICATION: "JOB_APPLICATION",
86
88
  };
87
89
  exports.POST_TYPES = {
88
90
  MARKETPLACE: "MARKETPLACE",
@@ -8,6 +8,8 @@ export declare const BookmarkEntitySchema: z.ZodObject<{
8
8
  readonly PROJECT: "PROJECT";
9
9
  readonly JOB: "JOB";
10
10
  readonly POST: "POST";
11
+ readonly COMMENT: "COMMENT";
12
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
11
13
  }>;
12
14
  }, z.core.$strip>;
13
15
  export declare const BookmarkInputSchema: z.ZodObject<{
@@ -16,6 +18,8 @@ export declare const BookmarkInputSchema: z.ZodObject<{
16
18
  readonly PROJECT: "PROJECT";
17
19
  readonly JOB: "JOB";
18
20
  readonly POST: "POST";
21
+ readonly COMMENT: "COMMENT";
22
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
19
23
  }>;
20
24
  userId: z.ZodString;
21
25
  }, z.core.$strip>;
@@ -28,5 +32,7 @@ export declare const BookmarkOutputSchema: z.ZodObject<{
28
32
  readonly PROJECT: "PROJECT";
29
33
  readonly JOB: "JOB";
30
34
  readonly POST: "POST";
35
+ readonly COMMENT: "COMMENT";
36
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
31
37
  }>;
32
38
  }, z.core.$strip>;
@@ -7,6 +7,8 @@ export declare const CommentEntitySchema: z.ZodObject<{
7
7
  readonly PROJECT: "PROJECT";
8
8
  readonly JOB: "JOB";
9
9
  readonly POST: "POST";
10
+ readonly COMMENT: "COMMENT";
11
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
10
12
  }>;
11
13
  content: z.ZodString;
12
14
  commenterUsername: z.ZodOptional<z.ZodString>;
@@ -32,6 +34,8 @@ export declare const CommentOutputSchema: z.ZodObject<{
32
34
  readonly PROJECT: "PROJECT";
33
35
  readonly JOB: "JOB";
34
36
  readonly POST: "POST";
37
+ readonly COMMENT: "COMMENT";
38
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
35
39
  }>;
36
40
  content: z.ZodString;
37
41
  commenterUsername: z.ZodOptional<z.ZodString>;
@@ -7,6 +7,8 @@ export declare const EntityStatsSchema: z.ZodObject<{
7
7
  readonly PROJECT: "PROJECT";
8
8
  readonly JOB: "JOB";
9
9
  readonly POST: "POST";
10
+ readonly COMMENT: "COMMENT";
11
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
10
12
  }>;
11
13
  likesCount: z.ZodNumber;
12
14
  bookmarksCount: z.ZodNumber;
@@ -8,6 +8,8 @@ export declare const LikeEntitySchema: z.ZodObject<{
8
8
  readonly PROJECT: "PROJECT";
9
9
  readonly JOB: "JOB";
10
10
  readonly POST: "POST";
11
+ readonly COMMENT: "COMMENT";
12
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
11
13
  }>;
12
14
  }, z.core.$strip>;
13
15
  export declare const LikeInputSchema: z.ZodObject<{
@@ -16,6 +18,8 @@ export declare const LikeInputSchema: z.ZodObject<{
16
18
  readonly PROJECT: "PROJECT";
17
19
  readonly JOB: "JOB";
18
20
  readonly POST: "POST";
21
+ readonly COMMENT: "COMMENT";
22
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
19
23
  }>;
20
24
  userId: z.ZodString;
21
25
  }, z.core.$strip>;
@@ -28,5 +32,7 @@ export declare const LikeOutputSchema: z.ZodObject<{
28
32
  readonly PROJECT: "PROJECT";
29
33
  readonly JOB: "JOB";
30
34
  readonly POST: "POST";
35
+ readonly COMMENT: "COMMENT";
36
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
31
37
  }>;
32
38
  }, z.core.$strip>;
@@ -6,6 +6,8 @@ export declare const MessageEntitySchema: z.ZodObject<{
6
6
  readonly PROJECT: "PROJECT";
7
7
  readonly JOB: "JOB";
8
8
  readonly POST: "POST";
9
+ readonly COMMENT: "COMMENT";
10
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
9
11
  }>>;
10
12
  replyToMessageId: z.ZodOptional<z.ZodCUID2>;
11
13
  chatId: z.ZodCUID2;
@@ -43,6 +45,8 @@ export declare const MessageWithFilesEntitySchema: z.ZodObject<{
43
45
  readonly PROJECT: "PROJECT";
44
46
  readonly JOB: "JOB";
45
47
  readonly POST: "POST";
48
+ readonly COMMENT: "COMMENT";
49
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
46
50
  }>>;
47
51
  replyToMessageId: z.ZodOptional<z.ZodCUID2>;
48
52
  chatId: z.ZodCUID2;
@@ -107,6 +111,8 @@ export declare const CreateMessageOutputSchema: z.ZodObject<{
107
111
  readonly PROJECT: "PROJECT";
108
112
  readonly JOB: "JOB";
109
113
  readonly POST: "POST";
114
+ readonly COMMENT: "COMMENT";
115
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
110
116
  }>>;
111
117
  replyToMessageId: z.ZodOptional<z.ZodCUID2>;
112
118
  chatId: z.ZodCUID2;
@@ -19,6 +19,8 @@ export declare const NotificationEntitySchema: z.ZodObject<{
19
19
  readonly PROJECT: "PROJECT";
20
20
  readonly JOB: "JOB";
21
21
  readonly POST: "POST";
22
+ readonly COMMENT: "COMMENT";
23
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
22
24
  }>;
23
25
  isRead: z.ZodDefault<z.ZodBoolean>;
24
26
  createdAt: z.ZodCoercedDate<unknown>;
@@ -49,6 +51,8 @@ export declare const NotificationDetailsEntitySchema: z.ZodObject<{
49
51
  readonly PROJECT: "PROJECT";
50
52
  readonly JOB: "JOB";
51
53
  readonly POST: "POST";
54
+ readonly COMMENT: "COMMENT";
55
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
52
56
  }>;
53
57
  isRead: z.ZodDefault<z.ZodBoolean>;
54
58
  createdAt: z.ZodCoercedDate<unknown>;
@@ -93,6 +97,8 @@ export declare const ListNotificationsOutputSchema: z.ZodObject<{
93
97
  readonly PROJECT: "PROJECT";
94
98
  readonly JOB: "JOB";
95
99
  readonly POST: "POST";
100
+ readonly COMMENT: "COMMENT";
101
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
96
102
  }>;
97
103
  isRead: z.ZodDefault<z.ZodBoolean>;
98
104
  createdAt: z.ZodCoercedDate<unknown>;
@@ -6,6 +6,8 @@ export declare const PostEntitySchema: z.ZodObject<{
6
6
  readonly PROJECT: "PROJECT";
7
7
  readonly JOB: "JOB";
8
8
  readonly POST: "POST";
9
+ readonly COMMENT: "COMMENT";
10
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
9
11
  }>>;
10
12
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
13
  name: z.ZodString;
@@ -56,6 +58,8 @@ export declare const PostWithFilesEntitySchema: z.ZodObject<{
56
58
  readonly PROJECT: "PROJECT";
57
59
  readonly JOB: "JOB";
58
60
  readonly POST: "POST";
61
+ readonly COMMENT: "COMMENT";
62
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
59
63
  }>>;
60
64
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
65
  name: z.ZodString;
@@ -107,6 +111,8 @@ export declare const CreatePostInputSchema: z.ZodObject<{
107
111
  readonly PROJECT: "PROJECT";
108
112
  readonly JOB: "JOB";
109
113
  readonly POST: "POST";
114
+ readonly COMMENT: "COMMENT";
115
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
110
116
  }>>;
111
117
  content: z.ZodOptional<z.ZodString>;
112
118
  postType: z.ZodDefault<z.ZodEnum<{
@@ -148,6 +154,8 @@ export declare const CreatePostOutputSchema: z.ZodObject<{
148
154
  readonly PROJECT: "PROJECT";
149
155
  readonly JOB: "JOB";
150
156
  readonly POST: "POST";
157
+ readonly COMMENT: "COMMENT";
158
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
151
159
  }>>;
152
160
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
153
161
  name: z.ZodString;
@@ -192,6 +200,8 @@ export declare const GetPostOutputSchema: z.ZodObject<{
192
200
  readonly PROJECT: "PROJECT";
193
201
  readonly JOB: "JOB";
194
202
  readonly POST: "POST";
203
+ readonly COMMENT: "COMMENT";
204
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
195
205
  }>>;
196
206
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
197
207
  name: z.ZodString;
@@ -257,6 +267,8 @@ export declare const PostWithLikesEntitySchema: z.ZodObject<{
257
267
  readonly PROJECT: "PROJECT";
258
268
  readonly JOB: "JOB";
259
269
  readonly POST: "POST";
270
+ readonly COMMENT: "COMMENT";
271
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
260
272
  }>;
261
273
  }, z.core.$strip>>;
262
274
  }, z.core.$strip>;
@@ -272,6 +284,8 @@ export declare const PostWithCommentsEntitySchema: z.ZodObject<{
272
284
  readonly PROJECT: "PROJECT";
273
285
  readonly JOB: "JOB";
274
286
  readonly POST: "POST";
287
+ readonly COMMENT: "COMMENT";
288
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
275
289
  }>;
276
290
  content: z.ZodString;
277
291
  commenterUsername: z.ZodOptional<z.ZodString>;
@@ -295,6 +309,8 @@ export declare const PostWithBookmarksEntitySchema: z.ZodObject<{
295
309
  readonly PROJECT: "PROJECT";
296
310
  readonly JOB: "JOB";
297
311
  readonly POST: "POST";
312
+ readonly COMMENT: "COMMENT";
313
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
298
314
  }>;
299
315
  }, z.core.$strip>>;
300
316
  }, z.core.$strip>;
@@ -314,6 +330,8 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
314
330
  readonly PROJECT: "PROJECT";
315
331
  readonly JOB: "JOB";
316
332
  readonly POST: "POST";
333
+ readonly COMMENT: "COMMENT";
334
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
317
335
  }>>;
318
336
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
319
337
  name: z.ZodString;
@@ -365,6 +383,8 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
365
383
  readonly PROJECT: "PROJECT";
366
384
  readonly JOB: "JOB";
367
385
  readonly POST: "POST";
386
+ readonly COMMENT: "COMMENT";
387
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
368
388
  }>;
369
389
  likesCount: z.ZodNumber;
370
390
  bookmarksCount: z.ZodNumber;
@@ -388,6 +408,8 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
388
408
  readonly PROJECT: "PROJECT";
389
409
  readonly JOB: "JOB";
390
410
  readonly POST: "POST";
411
+ readonly COMMENT: "COMMENT";
412
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
391
413
  }>>;
392
414
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
393
415
  name: z.ZodString;
@@ -439,6 +461,8 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
439
461
  readonly PROJECT: "PROJECT";
440
462
  readonly JOB: "JOB";
441
463
  readonly POST: "POST";
464
+ readonly COMMENT: "COMMENT";
465
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
442
466
  }>;
443
467
  likesCount: z.ZodNumber;
444
468
  bookmarksCount: z.ZodNumber;
@@ -464,6 +488,8 @@ export declare const SearchPostOutputSchema: z.ZodObject<{
464
488
  readonly PROJECT: "PROJECT";
465
489
  readonly JOB: "JOB";
466
490
  readonly POST: "POST";
491
+ readonly COMMENT: "COMMENT";
492
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
467
493
  }>>;
468
494
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
469
495
  name: z.ZodString;
@@ -515,6 +541,8 @@ export declare const SearchPostOutputSchema: z.ZodObject<{
515
541
  readonly PROJECT: "PROJECT";
516
542
  readonly JOB: "JOB";
517
543
  readonly POST: "POST";
544
+ readonly COMMENT: "COMMENT";
545
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
518
546
  }>;
519
547
  likesCount: z.ZodNumber;
520
548
  bookmarksCount: z.ZodNumber;
@@ -347,6 +347,8 @@ export declare const ProjectWithProjectViewsEntitySchema: z.ZodObject<{
347
347
  readonly PROJECT: "PROJECT";
348
348
  readonly JOB: "JOB";
349
349
  readonly POST: "POST";
350
+ readonly COMMENT: "COMMENT";
351
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
350
352
  }>;
351
353
  sessionId: z.ZodNullable<z.ZodString>;
352
354
  viewedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -369,6 +371,8 @@ export declare const ProjectWithProjectCommentsEntitySchema: z.ZodObject<{
369
371
  readonly PROJECT: "PROJECT";
370
372
  readonly JOB: "JOB";
371
373
  readonly POST: "POST";
374
+ readonly COMMENT: "COMMENT";
375
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
372
376
  }>;
373
377
  content: z.ZodString;
374
378
  commenterUsername: z.ZodOptional<z.ZodString>;
@@ -396,6 +400,8 @@ export declare const ProjectWithProjectLikesEntitySchema: z.ZodObject<{
396
400
  readonly PROJECT: "PROJECT";
397
401
  readonly JOB: "JOB";
398
402
  readonly POST: "POST";
403
+ readonly COMMENT: "COMMENT";
404
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
399
405
  }>;
400
406
  }, z.core.$strip>>;
401
407
  }, z.core.$strip>;
@@ -416,6 +422,8 @@ export declare const ProjectWithProjectBookmarksEntitySchema: z.ZodObject<{
416
422
  readonly PROJECT: "PROJECT";
417
423
  readonly JOB: "JOB";
418
424
  readonly POST: "POST";
425
+ readonly COMMENT: "COMMENT";
426
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
419
427
  }>;
420
428
  }, z.core.$strip>>;
421
429
  }, z.core.$strip>;
@@ -9,6 +9,8 @@ export declare const UserStrikeEntitySchema: z.ZodObject<{
9
9
  readonly PROJECT: "PROJECT";
10
10
  readonly JOB: "JOB";
11
11
  readonly POST: "POST";
12
+ readonly COMMENT: "COMMENT";
13
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
12
14
  }>>;
13
15
  lastReason: z.ZodOptional<z.ZodString>;
14
16
  createdAt: z.ZodCoercedDate<unknown>;
@@ -21,6 +23,8 @@ export declare const UpsertUserStrikeInputSchema: z.ZodObject<{
21
23
  readonly PROJECT: "PROJECT";
22
24
  readonly JOB: "JOB";
23
25
  readonly POST: "POST";
26
+ readonly COMMENT: "COMMENT";
27
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
24
28
  }>>;
25
29
  }, z.core.$strip>;
26
30
  export declare const UpsertUserStrikeOutputSchema: z.ZodObject<{
@@ -33,6 +37,8 @@ export declare const UpsertUserStrikeOutputSchema: z.ZodObject<{
33
37
  readonly PROJECT: "PROJECT";
34
38
  readonly JOB: "JOB";
35
39
  readonly POST: "POST";
40
+ readonly COMMENT: "COMMENT";
41
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
36
42
  }>>;
37
43
  lastReason: z.ZodOptional<z.ZodString>;
38
44
  createdAt: z.ZodCoercedDate<unknown>;
@@ -246,6 +246,8 @@ export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
246
246
  readonly PROJECT: "PROJECT";
247
247
  readonly JOB: "JOB";
248
248
  readonly POST: "POST";
249
+ readonly COMMENT: "COMMENT";
250
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
249
251
  }>;
250
252
  project: z.ZodObject<{
251
253
  id: z.ZodString;
@@ -269,6 +271,8 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
269
271
  readonly PROJECT: "PROJECT";
270
272
  readonly JOB: "JOB";
271
273
  readonly POST: "POST";
274
+ readonly COMMENT: "COMMENT";
275
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
272
276
  }>;
273
277
  project: z.ZodObject<{
274
278
  id: z.ZodString;
@@ -350,6 +354,8 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
350
354
  readonly PROJECT: "PROJECT";
351
355
  readonly JOB: "JOB";
352
356
  readonly POST: "POST";
357
+ readonly COMMENT: "COMMENT";
358
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
353
359
  }>>;
354
360
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
355
361
  name: z.ZodString;
@@ -680,6 +686,8 @@ export declare const GetAuthenticatedUserWithProjectBookmarksOutputSchema: z.Zod
680
686
  readonly PROJECT: "PROJECT";
681
687
  readonly JOB: "JOB";
682
688
  readonly POST: "POST";
689
+ readonly COMMENT: "COMMENT";
690
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
683
691
  }>;
684
692
  project: z.ZodObject<{
685
693
  id: z.ZodString;
@@ -755,6 +763,8 @@ export declare const GetAuthenticatedUserWithProjectLikesOutputSchema: z.ZodObje
755
763
  readonly PROJECT: "PROJECT";
756
764
  readonly JOB: "JOB";
757
765
  readonly POST: "POST";
766
+ readonly COMMENT: "COMMENT";
767
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
758
768
  }>;
759
769
  project: z.ZodObject<{
760
770
  id: z.ZodString;
@@ -782,5 +792,7 @@ export declare const GetUserActivityOutputSchema: z.ZodArray<z.ZodObject<{
782
792
  PROJECT: "PROJECT";
783
793
  JOB: "JOB";
784
794
  POST: "POST";
795
+ COMMENT: "COMMENT";
796
+ JOB_APPLICATION: "JOB_APPLICATION";
785
797
  }>;
786
798
  }, z.core.$strip>>;
@@ -9,6 +9,8 @@ export declare const ViewEntitySchema: z.ZodObject<{
9
9
  readonly PROJECT: "PROJECT";
10
10
  readonly JOB: "JOB";
11
11
  readonly POST: "POST";
12
+ readonly COMMENT: "COMMENT";
13
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
12
14
  }>;
13
15
  sessionId: z.ZodNullable<z.ZodString>;
14
16
  viewedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.32",
3
+ "version": "2.1.33",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -1,444 +1,446 @@
1
1
  export const ROLES = {
2
- CREATIVE: "CREATIVE",
3
- BRAND: "BRAND",
4
- INVESTOR: "INVESTOR",
5
- ADMIN: "ADMIN",
2
+ CREATIVE: "CREATIVE",
3
+ BRAND: "BRAND",
4
+ INVESTOR: "INVESTOR",
5
+ ADMIN: "ADMIN",
6
6
  } as const;
7
7
 
8
8
  export const USER_STATUSES = {
9
- ACTIVE: "ACTIVE",
10
- SUSPENDED: "SUSPENDED",
11
- DELETED: "DELETED",
9
+ ACTIVE: "ACTIVE",
10
+ SUSPENDED: "SUSPENDED",
11
+ DELETED: "DELETED",
12
12
  } as const;
13
13
 
14
14
  export const CLIENT_TYPES = {
15
- CREATIVE: "CREATIVE",
16
- BRAND: "BRAND",
17
- NONE: "NONE",
15
+ CREATIVE: "CREATIVE",
16
+ BRAND: "BRAND",
17
+ NONE: "NONE",
18
18
  } as const;
19
19
 
20
20
  export const EXPERIENCE_LEVELS = {
21
- YEAR_0_1: "0-1 year",
22
- YEAR_1_3: "1-3 years",
23
- YEAR_3_5: "3-5 years",
24
- YEAR_5_PLUS: "5+ years",
21
+ YEAR_0_1: "0-1 year",
22
+ YEAR_1_3: "1-3 years",
23
+ YEAR_3_5: "3-5 years",
24
+ YEAR_5_PLUS: "5+ years",
25
25
  } as const;
26
26
 
27
27
  export const ONBOARDING_PAGES = {
28
- EMAIL_VERIFICATION: "EMAIL_VERIFICATION",
29
- USERNAME_SELECTION: "USERNAME_SELECTION",
30
- ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION",
31
- CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS",
32
- BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS",
33
- INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS",
34
- INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS",
35
- INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION",
36
- DONE: "DONE",
28
+ EMAIL_VERIFICATION: "EMAIL_VERIFICATION",
29
+ USERNAME_SELECTION: "USERNAME_SELECTION",
30
+ ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION",
31
+ CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS",
32
+ BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS",
33
+ INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS",
34
+ INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS",
35
+ INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION",
36
+ DONE: "DONE",
37
37
  } as const;
38
38
 
39
39
  export const INVESTOR_TYPES = {
40
- ANGEL_INVESTOR: "Angel Investor",
41
- VENTURE_CAPITALIST: "Venture Capitalist",
42
- PRIVATE_EQUITY_FIRM: "Private Equity Firm",
43
- VENTURE_DEBT_PROVIDER: "Venture Debt Provider",
44
- BANK: "Bank",
45
- CONVERTIBLE_NOTE_INVESTOR: "Convertible Note Investor",
46
- REVENUE_BASED_FINANCING_INVESTOR: "Revenue Based Financing Investor",
47
- CORPORATE_VENTURE_CAPITALIST: "Corporate Venture Capitalist",
48
- GOVERNMENT: "Government",
49
- SOCIAL_IMPACT_INVESTOR: "Social Impact Investor",
40
+ ANGEL_INVESTOR: "Angel Investor",
41
+ VENTURE_CAPITALIST: "Venture Capitalist",
42
+ PRIVATE_EQUITY_FIRM: "Private Equity Firm",
43
+ VENTURE_DEBT_PROVIDER: "Venture Debt Provider",
44
+ BANK: "Bank",
45
+ CONVERTIBLE_NOTE_INVESTOR: "Convertible Note Investor",
46
+ REVENUE_BASED_FINANCING_INVESTOR: "Revenue Based Financing Investor",
47
+ CORPORATE_VENTURE_CAPITALIST: "Corporate Venture Capitalist",
48
+ GOVERNMENT: "Government",
49
+ SOCIAL_IMPACT_INVESTOR: "Social Impact Investor",
50
50
  } as const;
51
51
 
52
52
  export const INVESTMENT_SIZES = {
53
- UNDER_5K: "Under 5k USD",
54
- BETWEEN_5K_25K: "5k - 25k USD",
55
- BETWEEN_25K_100K: "25k - 100k USD",
56
- BETWEEN_100K_500K: "100k - 500k USD",
57
- BETWEEN_500K_1M: "500k - 1M USD",
58
- OVER_1M: "1M+ USD",
53
+ UNDER_5K: "Under 5k USD",
54
+ BETWEEN_5K_25K: "5k - 25k USD",
55
+ BETWEEN_25K_100K: "25k - 100k USD",
56
+ BETWEEN_100K_500K: "100k - 500k USD",
57
+ BETWEEN_500K_1M: "500k - 1M USD",
58
+ OVER_1M: "1M+ USD",
59
59
  } as const;
60
60
 
61
61
  export const GEOGRAPHIC_FOCUS = {
62
- AFRICA: "Africa",
63
- ASIA: "Asia",
64
- EUROPE: "Europe",
65
- NORTH_AMERICA: "North America",
66
- SOUTH_AMERICA: "South America",
67
- MIDDLE_EAST: "Middle East",
68
- OCEANIA: "Oceania",
69
- UK: "United Kingdom (UK)",
70
- US: "United States (US)",
71
- GLOBAL: "Global",
72
- OTHER: "Other",
62
+ AFRICA: "Africa",
63
+ ASIA: "Asia",
64
+ EUROPE: "Europe",
65
+ NORTH_AMERICA: "North America",
66
+ SOUTH_AMERICA: "South America",
67
+ MIDDLE_EAST: "Middle East",
68
+ OCEANIA: "Oceania",
69
+ UK: "United Kingdom (UK)",
70
+ US: "United States (US)",
71
+ GLOBAL: "Global",
72
+ OTHER: "Other",
73
73
  } as const;
74
74
 
75
75
  export const INVESTOR_VERIFICATION_DOCUMENT_STATUSES = {
76
- PENDING: "PENDING",
77
- APPROVED: "APPROVED",
78
- REJECTED: "REJECTED",
76
+ PENDING: "PENDING",
77
+ APPROVED: "APPROVED",
78
+ REJECTED: "REJECTED",
79
79
  } as const;
80
80
 
81
81
  export const INVESTOR_VERIFICATION_DOCUMENT_TYPES = {
82
- ID_PROOF: "ID_PROOF",
83
- BANK_STATEMENT: "BANK_STATEMENT",
84
- TAX_DOCUMENT: "TAX_DOCUMENT",
85
- BUSINESS_REGISTRATION: "BUSINESS_REGISTRATION",
86
- OTHER_CERTIFICATE: "OTHER_CERTIFICATE",
82
+ ID_PROOF: "ID_PROOF",
83
+ BANK_STATEMENT: "BANK_STATEMENT",
84
+ TAX_DOCUMENT: "TAX_DOCUMENT",
85
+ BUSINESS_REGISTRATION: "BUSINESS_REGISTRATION",
86
+ OTHER_CERTIFICATE: "OTHER_CERTIFICATE",
87
87
  } as const;
88
88
 
89
89
  export const ACTIVITY_PARENT_TYPES = {
90
- PROJECT: "PROJECT",
91
- JOB: "JOB",
92
- POST: "POST",
90
+ PROJECT: "PROJECT",
91
+ JOB: "JOB",
92
+ POST: "POST",
93
+ COMMENT: "COMMENT",
94
+ JOB_APPLICATION: "JOB_APPLICATION",
93
95
  } as const;
94
96
 
95
97
  export const POST_TYPES = {
96
- MARKETPLACE: "MARKETPLACE",
97
- PROJECT: "PROJECT",
98
- JOB_OPENING: "JOB_OPENING",
99
- DEFAULT_POST: "DEFAULT_POST",
100
- POST_WITH_LINKS: "POST_WITH_LINKS",
101
- POST_WITH_MEDIA: "POST_WITH_MEDIA",
102
- POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS",
98
+ MARKETPLACE: "MARKETPLACE",
99
+ PROJECT: "PROJECT",
100
+ JOB_OPENING: "JOB_OPENING",
101
+ DEFAULT_POST: "DEFAULT_POST",
102
+ POST_WITH_LINKS: "POST_WITH_LINKS",
103
+ POST_WITH_MEDIA: "POST_WITH_MEDIA",
104
+ POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS",
103
105
  } as const;
104
106
 
105
107
  export const JOB_TYPE = {
106
- GIG: "GIG",
107
- ROLE: "ROLE",
108
+ GIG: "GIG",
109
+ ROLE: "ROLE",
108
110
  } as const;
109
111
 
110
112
  export const WORK_MODE = {
111
- REMOTE: "Remote",
112
- HYBRID: "Hybrid",
113
- ON_SITE: "On Site",
113
+ REMOTE: "Remote",
114
+ HYBRID: "Hybrid",
115
+ ON_SITE: "On Site",
114
116
  } as const;
115
117
  export const EMPLOYMENT_TYPE = {
116
- FULL_TIME: "Full Time",
117
- PART_TIME: "Part Time",
118
- FREELANCE: "Freelance",
119
- INTERNSHIP: "Internship",
118
+ FULL_TIME: "Full Time",
119
+ PART_TIME: "Part Time",
120
+ FREELANCE: "Freelance",
121
+ INTERNSHIP: "Internship",
120
122
  } as const;
121
123
 
122
124
  export const JOB_AVAILABILITY_TYPES = {
123
- IMMEDIATE: "Immediate (Within 1 week)",
124
- TWO_WEEKS_NOTICE: "2 weeks notice",
125
- ONE_MONTH_NOTICE: "1 month notice",
126
- FLEXIBLE: "Flexible",
125
+ IMMEDIATE: "Immediate (Within 1 week)",
126
+ TWO_WEEKS_NOTICE: "2 weeks notice",
127
+ ONE_MONTH_NOTICE: "1 month notice",
128
+ FLEXIBLE: "Flexible",
127
129
  } as const;
128
130
 
129
131
  export const WAGE_TYPES = {
130
- HOURLY: "Hourly",
131
- DAILY: "Daily",
132
- WEEKLY: "Weekly",
133
- MONTHLY: "Monthly",
134
- PROJECT_BASED: "Project Based",
132
+ HOURLY: "Hourly",
133
+ DAILY: "Daily",
134
+ WEEKLY: "Weekly",
135
+ MONTHLY: "Monthly",
136
+ PROJECT_BASED: "Project Based",
135
137
  } as const;
136
138
 
137
139
  export const JOB_SECTIONS = {
138
- PERSONAL_INFORMATION: "PERSONAL_INFORMATION",
139
- PHONE_NO: "PHONE_NO",
140
- PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION",
141
- RESUME: "RESUME",
142
- COVER_LETTER: "COVER_LETTER",
143
- PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES",
144
- AVAILABILITY: "AVAILABILITY",
145
- WAGES: "WAGES",
140
+ PERSONAL_INFORMATION: "PERSONAL_INFORMATION",
141
+ PHONE_NO: "PHONE_NO",
142
+ PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION",
143
+ RESUME: "RESUME",
144
+ COVER_LETTER: "COVER_LETTER",
145
+ PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES",
146
+ AVAILABILITY: "AVAILABILITY",
147
+ WAGES: "WAGES",
146
148
  } as const;
147
149
 
148
150
  export const JOB_LOCATIONS = {
149
- AFRICA: "Africa",
150
- REMOTE: "Remote",
151
- EUROPE: "Europe",
152
- ASIA: "Asia",
153
- NORTH_AMERICA: "North America",
154
- SOUTH_AMERICA: "South America",
155
- MIDDLE_EAST: "Middle East",
156
- OCEANIA: "Oceania",
157
- EMEA: "EMEA", // Europe, Middle East, Africa
158
- ASIA_PACIFIC: "Asia Pacific", // Asia Pacific
159
- GLOBAL: "Global",
160
- OTHER: "Other",
151
+ AFRICA: "Africa",
152
+ REMOTE: "Remote",
153
+ EUROPE: "Europe",
154
+ ASIA: "Asia",
155
+ NORTH_AMERICA: "North America",
156
+ SOUTH_AMERICA: "South America",
157
+ MIDDLE_EAST: "Middle East",
158
+ OCEANIA: "Oceania",
159
+ EMEA: "EMEA", // Europe, Middle East, Africa
160
+ ASIA_PACIFIC: "Asia Pacific", // Asia Pacific
161
+ GLOBAL: "Global",
162
+ OTHER: "Other",
161
163
  } as const;
162
164
 
163
165
  export const MESSAGE_TYPES = {
164
- MARKETPLACE: "MARKETPLACE",
165
- PROJECT: "PROJECT",
166
- JOB_OPENING: "JOB_OPENING",
167
- DEFAULT_MESSAGE: "DEFAULT_MESSAGE",
168
- MESSAGE_WITH_LINKS: "MESSAGE_WITH_LINKS",
169
- MESSAGE_WITH_MEDIA: "MESSAGE_WITH_MEDIA",
170
- MESSAGE_WITH_MEDIA_AND_LINKS: "MESSAGE_WITH_MEDIA_AND_LINKS",
166
+ MARKETPLACE: "MARKETPLACE",
167
+ PROJECT: "PROJECT",
168
+ JOB_OPENING: "JOB_OPENING",
169
+ DEFAULT_MESSAGE: "DEFAULT_MESSAGE",
170
+ MESSAGE_WITH_LINKS: "MESSAGE_WITH_LINKS",
171
+ MESSAGE_WITH_MEDIA: "MESSAGE_WITH_MEDIA",
172
+ MESSAGE_WITH_MEDIA_AND_LINKS: "MESSAGE_WITH_MEDIA_AND_LINKS",
171
173
  } as const;
172
174
 
173
175
  export type JobLocation = (typeof JOB_LOCATIONS)[keyof typeof JOB_LOCATIONS];
174
176
 
175
177
  export const GIG_TYPE = {
176
- ONE_TIME: "One Time",
177
- RECURRING: "Recurring",
178
+ ONE_TIME: "One Time",
179
+ RECURRING: "Recurring",
178
180
  } as const;
179
181
 
180
182
  export const WAGES_CURRENCY = {
181
- USD: "USD (United States Dollar)",
182
- EUR: "EUR (Euro)",
183
- GBP: "GBP (British Pound Sterling)",
184
- NGN: "NGN (Nigerian Naira)",
185
- CAD: "CAD (Canadian Dollar)",
186
- AUD: "AUD (Australian Dollar)",
187
- JPY: "JPY (Japanese Yen)",
188
- CHF: "CHF (Swiss Franc)",
189
- INR: "INR (Indian Rupee)",
190
- ZAR: "ZAR (South African Rand)",
183
+ USD: "USD (United States Dollar)",
184
+ EUR: "EUR (Euro)",
185
+ GBP: "GBP (British Pound Sterling)",
186
+ NGN: "NGN (Nigerian Naira)",
187
+ CAD: "CAD (Canadian Dollar)",
188
+ AUD: "AUD (Australian Dollar)",
189
+ JPY: "JPY (Japanese Yen)",
190
+ CHF: "CHF (Swiss Franc)",
191
+ INR: "INR (Indian Rupee)",
192
+ ZAR: "ZAR (South African Rand)",
191
193
  } as const;
192
194
 
193
195
  export const JOB_STATUS = {
194
- ACTIVE: "ACTIVE",
195
- DRAFT: "DRAFT",
196
- ARCHIVED: "ARCHIVED",
197
- DELETED: "DELETED",
196
+ ACTIVE: "ACTIVE",
197
+ DRAFT: "DRAFT",
198
+ ARCHIVED: "ARCHIVED",
199
+ DELETED: "DELETED",
198
200
  } as const;
199
201
 
200
202
  export const POST_BADGE_TYPES = {
201
- NETWORKING: "Networking",
202
- FUNDING: "Funding",
203
- COLLABORATION: "Collaboration",
204
- OPPORTUNITIES: "Opportunities",
205
- SHOWCASE: "Showcase",
206
- LEARNING: "Learning",
207
- DISCUSSION: "Discussion",
208
- MENTORSHIP: "Mentorship",
203
+ NETWORKING: "Networking",
204
+ FUNDING: "Funding",
205
+ COLLABORATION: "Collaboration",
206
+ OPPORTUNITIES: "Opportunities",
207
+ SHOWCASE: "Showcase",
208
+ LEARNING: "Learning",
209
+ DISCUSSION: "Discussion",
210
+ MENTORSHIP: "Mentorship",
209
211
  } as const;
210
212
 
211
213
  export const ACTIVITY_TYPES = {
212
- LIKE: "LIKE",
213
- UNLIKE: "UNLIKE",
214
- BOOKMARK: "BOOKMARK",
215
- UNBOOKMARK: "UNBOOKMARK",
216
- VIEW: "VIEW",
214
+ LIKE: "LIKE",
215
+ UNLIKE: "UNLIKE",
216
+ BOOKMARK: "BOOKMARK",
217
+ UNBOOKMARK: "UNBOOKMARK",
218
+ VIEW: "VIEW",
217
219
  } as const;
218
220
 
219
221
  export const LINK_TYPES = {
220
- INSTAGRAM: "Instagram",
221
- LINKEDIN: "LinkedIn",
222
- TWITTER: "Twitter",
223
- YOUTUBE: "Youtube",
224
- PORTFOLIO: "Portfolio Website",
225
- GENERIC_WEBSITE: "Generic Website",
222
+ INSTAGRAM: "Instagram",
223
+ LINKEDIN: "LinkedIn",
224
+ TWITTER: "Twitter",
225
+ YOUTUBE: "Youtube",
226
+ PORTFOLIO: "Portfolio Website",
227
+ GENERIC_WEBSITE: "Generic Website",
226
228
  } as const;
227
229
 
228
230
  export const APPLICATION_STATUS = {
229
- SENT: "Application Sent",
230
- OPENED: "Opened",
231
- REJECTED: "Rejected",
232
- DECLINED: "Declined",
233
- OFFERED: "Offered",
234
- HIRED: "Hired",
231
+ SENT: "Application Sent",
232
+ OPENED: "Opened",
233
+ REJECTED: "Rejected",
234
+ DECLINED: "Declined",
235
+ OFFERED: "Offered",
236
+ HIRED: "Hired",
235
237
  } as const;
236
238
 
237
239
  export const NOTIFICATION_TYPES = {
238
- FOLLOW: "Follow",
239
- LIKE: "Like",
240
- COMMENT: "Comment",
241
- REPLY: "Reply",
242
- MESSAGE: "Message",
243
- JOB_APPLICATION: "Job Application",
244
- APPLICATION_STATUS_CHANGE: "Application Status Change",
245
- SYSTEM_STRIKE: "System Strike",
246
- PROJECT_FEATURED: "Project Featured",
240
+ FOLLOW: "Follow",
241
+ LIKE: "Like",
242
+ COMMENT: "Comment",
243
+ REPLY: "Reply",
244
+ MESSAGE: "Message",
245
+ JOB_APPLICATION: "Job Application",
246
+ APPLICATION_STATUS_CHANGE: "Application Status Change",
247
+ SYSTEM_STRIKE: "System Strike",
248
+ PROJECT_FEATURED: "Project Featured",
247
249
  } as const;
248
250
 
249
251
  export type NotificationType =
250
- (typeof NOTIFICATION_TYPES)[keyof typeof NOTIFICATION_TYPES];
252
+ (typeof NOTIFICATION_TYPES)[keyof typeof NOTIFICATION_TYPES];
251
253
 
252
254
  export type ApplicationStatus =
253
- (typeof APPLICATION_STATUS)[keyof typeof APPLICATION_STATUS];
255
+ (typeof APPLICATION_STATUS)[keyof typeof APPLICATION_STATUS];
254
256
  export type ActivityType = (typeof ACTIVITY_TYPES)[keyof typeof ACTIVITY_TYPES];
255
257
  export type PostBadgeType =
256
- (typeof POST_BADGE_TYPES)[keyof typeof POST_BADGE_TYPES];
258
+ (typeof POST_BADGE_TYPES)[keyof typeof POST_BADGE_TYPES];
257
259
  export type JobSections = (typeof JOB_SECTIONS)[keyof typeof JOB_SECTIONS];
258
260
  export type WagesCurrency =
259
- (typeof WAGES_CURRENCY)[keyof typeof WAGES_CURRENCY];
261
+ (typeof WAGES_CURRENCY)[keyof typeof WAGES_CURRENCY];
260
262
  export type JobStatus = (typeof JOB_STATUS)[keyof typeof JOB_STATUS];
261
263
  export type Role = (typeof ROLES)[keyof typeof ROLES];
262
264
  export type JobType = (typeof JOB_TYPE)[keyof typeof JOB_TYPE];
263
265
  export type WorkMode = (typeof WORK_MODE)[keyof typeof WORK_MODE];
264
266
  export type GigType = (typeof GIG_TYPE)[keyof typeof GIG_TYPE];
265
267
  export type EmploymentType =
266
- (typeof EMPLOYMENT_TYPE)[keyof typeof EMPLOYMENT_TYPE];
268
+ (typeof EMPLOYMENT_TYPE)[keyof typeof EMPLOYMENT_TYPE];
267
269
  export type JobAvailabilityTypes =
268
- (typeof JOB_AVAILABILITY_TYPES)[keyof typeof JOB_AVAILABILITY_TYPES];
270
+ (typeof JOB_AVAILABILITY_TYPES)[keyof typeof JOB_AVAILABILITY_TYPES];
269
271
  export type WageTypes = (typeof WAGE_TYPES)[keyof typeof WAGE_TYPES];
270
272
  export type PostType = (typeof POST_TYPES)[keyof typeof POST_TYPES];
271
273
  export type MessageType = (typeof MESSAGE_TYPES)[keyof typeof MESSAGE_TYPES];
272
274
  export type LinkType = (typeof LINK_TYPES)[keyof typeof LINK_TYPES];
273
275
  export type ActivityParentType =
274
- (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
276
+ (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
275
277
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
276
278
  export type ClientType = (typeof CLIENT_TYPES)[keyof typeof CLIENT_TYPES];
277
279
  export type ExperienceLevel =
278
- (typeof EXPERIENCE_LEVELS)[keyof typeof EXPERIENCE_LEVELS];
280
+ (typeof EXPERIENCE_LEVELS)[keyof typeof EXPERIENCE_LEVELS];
279
281
  export type OnboardingPage =
280
- (typeof ONBOARDING_PAGES)[keyof typeof ONBOARDING_PAGES];
282
+ (typeof ONBOARDING_PAGES)[keyof typeof ONBOARDING_PAGES];
281
283
  export type InvestorType = (typeof INVESTOR_TYPES)[keyof typeof INVESTOR_TYPES];
282
284
  export type InvestmentSize =
283
- (typeof INVESTMENT_SIZES)[keyof typeof INVESTMENT_SIZES];
285
+ (typeof INVESTMENT_SIZES)[keyof typeof INVESTMENT_SIZES];
284
286
  export type GeographicFocus =
285
- (typeof GEOGRAPHIC_FOCUS)[keyof typeof GEOGRAPHIC_FOCUS];
287
+ (typeof GEOGRAPHIC_FOCUS)[keyof typeof GEOGRAPHIC_FOCUS];
286
288
  export type InvestorVerificationDocumentStatus =
287
- (typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES];
289
+ (typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES];
288
290
  export type InvestorVerificationDocumentType =
289
- (typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES];
291
+ (typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES];
290
292
 
291
293
  export const API_ROUTES = {
292
- healthCheck: "/health",
293
- username: {
294
- base: "/usernames",
295
- checkAvailability: "/:username/availability",
296
- },
297
- personal: {
298
- base: "/me",
299
- getUser: "",
300
- getProfile: "/profile",
301
- getProjects: "/projects",
302
- getProjectBookmarks: "/project-bookmarks",
303
- getFollowers: "/followers",
304
- getFollowing: "/following",
305
- },
306
- user: {
307
- base: "/users",
308
- getUser: "/:value",
309
- getProfile: "/:value/profile",
310
- getProjects: "/:value/projects",
311
- getFollowers: "/:userId/followers",
312
- getFollowing: "/:userId/following",
313
- followUser: "/:userId/follow",
314
- unfollowUser: "/:userId/unfollow",
315
- reserveUsername: "/reserve-username",
316
- },
317
- redirect: {
318
- base: "/redirect",
319
- passwordReset: "/password-reset",
320
- verifiedUser: "/verified-user",
321
- googleProfile: "/google-profile",
322
- newGoogleProfile: "/new-google-profile",
323
- },
324
- file: {
325
- base: "/files",
326
- getPresignedUploadUrl: "/get-upload-url",
327
- getPresignedDownloadUrl: "/:fileId/download-url",
328
- getPublicUrl: "/:fileId/public-url",
329
- createFile: "",
330
- deleteFile: "/:fileId",
331
- },
332
- disciplines: {
333
- base: "/disciplines",
334
- getDisciplines: "",
335
- getSingleDiscipline: "/:slug",
336
- addDisciplines: "",
337
- deleteDiscipline: "/:slug",
338
- },
339
- creatives: {
340
- base: "/creatives",
341
- createCreative: "",
342
- getCreative: "/:value",
343
- updateCreative: "",
344
- },
345
- brands: {
346
- base: "/brands",
347
- createBrand: "",
348
- getBrand: "/:value",
349
- updateBrand: "",
350
- },
351
- investors: {
352
- base: "/investors",
353
- createInvestor: "",
354
- getInvestor: "/:value",
355
- updateInvestor: "",
356
- },
357
- projects: {
358
- base: "/projects",
359
- createProject: "",
360
- updateProject: "",
361
- listProjects: "",
362
- getProject: "/:projectId",
363
- deleteProject: "/:projectId",
364
- commentOnProject: "/:projectId/comment",
365
- deleteCommentOnProject: "/:projectId/comments/:commentId",
366
- bookmarkProject: "/:projectId/bookmark",
367
- unbookmarkProject: "/:projectId/unbookmark",
368
- likeProject: "/:projectId/like",
369
- unlikeProject: "/:projectId/unlike",
370
- viewProject: "/:projectId/view",
371
- getProjectComments: "/:projectId/comments",
372
- getProjectLikes: "/:projectId/likes",
373
- getProjectBookmarks: "/:projectId/bookmarks",
374
- getProjectViews: "/:projectId/views",
375
- getProjectUser: "/:projectId/user",
376
- },
294
+ healthCheck: "/health",
295
+ username: {
296
+ base: "/usernames",
297
+ checkAvailability: "/:username/availability",
298
+ },
299
+ personal: {
300
+ base: "/me",
301
+ getUser: "",
302
+ getProfile: "/profile",
303
+ getProjects: "/projects",
304
+ getProjectBookmarks: "/project-bookmarks",
305
+ getFollowers: "/followers",
306
+ getFollowing: "/following",
307
+ },
308
+ user: {
309
+ base: "/users",
310
+ getUser: "/:value",
311
+ getProfile: "/:value/profile",
312
+ getProjects: "/:value/projects",
313
+ getFollowers: "/:userId/followers",
314
+ getFollowing: "/:userId/following",
315
+ followUser: "/:userId/follow",
316
+ unfollowUser: "/:userId/unfollow",
317
+ reserveUsername: "/reserve-username",
318
+ },
319
+ redirect: {
320
+ base: "/redirect",
321
+ passwordReset: "/password-reset",
322
+ verifiedUser: "/verified-user",
323
+ googleProfile: "/google-profile",
324
+ newGoogleProfile: "/new-google-profile",
325
+ },
326
+ file: {
327
+ base: "/files",
328
+ getPresignedUploadUrl: "/get-upload-url",
329
+ getPresignedDownloadUrl: "/:fileId/download-url",
330
+ getPublicUrl: "/:fileId/public-url",
331
+ createFile: "",
332
+ deleteFile: "/:fileId",
333
+ },
334
+ disciplines: {
335
+ base: "/disciplines",
336
+ getDisciplines: "",
337
+ getSingleDiscipline: "/:slug",
338
+ addDisciplines: "",
339
+ deleteDiscipline: "/:slug",
340
+ },
341
+ creatives: {
342
+ base: "/creatives",
343
+ createCreative: "",
344
+ getCreative: "/:value",
345
+ updateCreative: "",
346
+ },
347
+ brands: {
348
+ base: "/brands",
349
+ createBrand: "",
350
+ getBrand: "/:value",
351
+ updateBrand: "",
352
+ },
353
+ investors: {
354
+ base: "/investors",
355
+ createInvestor: "",
356
+ getInvestor: "/:value",
357
+ updateInvestor: "",
358
+ },
359
+ projects: {
360
+ base: "/projects",
361
+ createProject: "",
362
+ updateProject: "",
363
+ listProjects: "",
364
+ getProject: "/:projectId",
365
+ deleteProject: "/:projectId",
366
+ commentOnProject: "/:projectId/comment",
367
+ deleteCommentOnProject: "/:projectId/comments/:commentId",
368
+ bookmarkProject: "/:projectId/bookmark",
369
+ unbookmarkProject: "/:projectId/unbookmark",
370
+ likeProject: "/:projectId/like",
371
+ unlikeProject: "/:projectId/unlike",
372
+ viewProject: "/:projectId/view",
373
+ getProjectComments: "/:projectId/comments",
374
+ getProjectLikes: "/:projectId/likes",
375
+ getProjectBookmarks: "/:projectId/bookmarks",
376
+ getProjectViews: "/:projectId/views",
377
+ getProjectUser: "/:projectId/user",
378
+ },
377
379
  } as const;
378
380
 
379
381
  export const DEFAULT_DISCIPLINES = [
380
- { name: "3D Art", slug: "3d_art" },
381
- { name: "Advertising & Marketing", slug: "advertising_marketing" },
382
- { name: "AI & Machine Learning Art", slug: "ai_machine_learning_art" },
383
- { name: "Animation & Motion", slug: "animation_motion" },
384
- { name: "Architecture & Interior", slug: "architecture_interior" },
385
- { name: "Art Business", slug: "art_business" },
386
- { name: "Art Challenges & Community", slug: "art_challenges_community" },
387
- { name: "Art Education", slug: "art_education" },
388
- { name: "Book & Editorial Design", slug: "book_editorial_design" },
389
- { name: "Brand Strategy", slug: "brand_strategy" },
390
- { name: "Business & Consulting", slug: "business_consulting" },
391
- { name: "Calligraphy & Penmanship", slug: "calligraphy_penmanship" },
392
- {
393
- name: "Character Rigging & Animation Setup",
394
- slug: "character_rigging_setup",
395
- },
396
- { name: "Comics & Webtoons", slug: "comics_webtoons" },
397
- { name: "Concept Art", slug: "concept_art" },
398
- { name: "Content Creation", slug: "content_creation" },
399
- {
400
- name: "Copywriting & Content Writing",
401
- slug: "copywriting_content_writing",
402
- },
403
- { name: "Crafts & DIY", slug: "crafts_diy" },
404
- { name: "Creative Coding", slug: "creative_coding" },
405
- { name: "Data Science & Analysis", slug: "data_science_analysis" },
406
- { name: "Data Visualization", slug: "data_visualization" },
407
- { name: "Digital Art", slug: "digital_art" },
408
- {
409
- name: "Digital Painting & Matte Painting",
410
- slug: "digital_painting_matte",
411
- },
412
- { name: "E-commerce & Store Design", slug: "ecommerce_store_design" },
413
- { name: "Fashion & Style", slug: "fashion_style" },
414
- { name: "Food Content", slug: "food_content" },
415
- { name: "Game Development", slug: "game_development" },
416
- { name: "Graphic Design", slug: "graphic_design" },
417
- { name: "Illustration", slug: "illustration" },
418
- { name: "Lettering & Typography", slug: "lettering_typography" },
419
- { name: "Miniature & Model Making", slug: "miniature_model_making" },
420
- { name: "Music Performance", slug: "music_performance" },
421
- { name: "Music Production", slug: "music_production" },
422
- { name: "Photography", slug: "photography" },
423
- { name: "Pixel Art", slug: "pixel_art" },
424
- {
425
- name: "Product Strategy & Management",
426
- slug: "product_strategy_management",
427
- },
428
- { name: "Sculpture & 3D Crafts", slug: "sculpture_3d_crafts" },
429
- { name: "Sound Design & Audio", slug: "sound_design_audio" },
430
- { name: "Storyboarding & Pre-Vis", slug: "storyboarding_previs" },
431
- { name: "Street Art & Murals", slug: "street_art_murals" },
432
- { name: "Tattoo Art", slug: "tattoo_art" },
433
- { name: "Technical Illustration", slug: "technical_illustration" },
434
- { name: "Technical Writing", slug: "technical_writing" },
435
- { name: "Traditional Art", slug: "traditional_art" },
436
- { name: "Translation & Localization", slug: "translation_localization" },
437
- { name: "UI/UX Design", slug: "ui_ux_design" },
438
- { name: "Video Content", slug: "video_content" },
439
- { name: "Virtual/Augmented Reality", slug: "virtual_augmented_reality" },
440
- { name: "Visual Effects (VFX)", slug: "visual_effects_vfx" },
441
- { name: "Web Development (Back-End)", slug: "web_development_backend" },
442
- { name: "Web Development (Front-End)", slug: "web_development_frontend" },
443
- { name: "Writing & Storytelling", slug: "writing_storytelling" },
382
+ { name: "3D Art", slug: "3d_art" },
383
+ { name: "Advertising & Marketing", slug: "advertising_marketing" },
384
+ { name: "AI & Machine Learning Art", slug: "ai_machine_learning_art" },
385
+ { name: "Animation & Motion", slug: "animation_motion" },
386
+ { name: "Architecture & Interior", slug: "architecture_interior" },
387
+ { name: "Art Business", slug: "art_business" },
388
+ { name: "Art Challenges & Community", slug: "art_challenges_community" },
389
+ { name: "Art Education", slug: "art_education" },
390
+ { name: "Book & Editorial Design", slug: "book_editorial_design" },
391
+ { name: "Brand Strategy", slug: "brand_strategy" },
392
+ { name: "Business & Consulting", slug: "business_consulting" },
393
+ { name: "Calligraphy & Penmanship", slug: "calligraphy_penmanship" },
394
+ {
395
+ name: "Character Rigging & Animation Setup",
396
+ slug: "character_rigging_setup",
397
+ },
398
+ { name: "Comics & Webtoons", slug: "comics_webtoons" },
399
+ { name: "Concept Art", slug: "concept_art" },
400
+ { name: "Content Creation", slug: "content_creation" },
401
+ {
402
+ name: "Copywriting & Content Writing",
403
+ slug: "copywriting_content_writing",
404
+ },
405
+ { name: "Crafts & DIY", slug: "crafts_diy" },
406
+ { name: "Creative Coding", slug: "creative_coding" },
407
+ { name: "Data Science & Analysis", slug: "data_science_analysis" },
408
+ { name: "Data Visualization", slug: "data_visualization" },
409
+ { name: "Digital Art", slug: "digital_art" },
410
+ {
411
+ name: "Digital Painting & Matte Painting",
412
+ slug: "digital_painting_matte",
413
+ },
414
+ { name: "E-commerce & Store Design", slug: "ecommerce_store_design" },
415
+ { name: "Fashion & Style", slug: "fashion_style" },
416
+ { name: "Food Content", slug: "food_content" },
417
+ { name: "Game Development", slug: "game_development" },
418
+ { name: "Graphic Design", slug: "graphic_design" },
419
+ { name: "Illustration", slug: "illustration" },
420
+ { name: "Lettering & Typography", slug: "lettering_typography" },
421
+ { name: "Miniature & Model Making", slug: "miniature_model_making" },
422
+ { name: "Music Performance", slug: "music_performance" },
423
+ { name: "Music Production", slug: "music_production" },
424
+ { name: "Photography", slug: "photography" },
425
+ { name: "Pixel Art", slug: "pixel_art" },
426
+ {
427
+ name: "Product Strategy & Management",
428
+ slug: "product_strategy_management",
429
+ },
430
+ { name: "Sculpture & 3D Crafts", slug: "sculpture_3d_crafts" },
431
+ { name: "Sound Design & Audio", slug: "sound_design_audio" },
432
+ { name: "Storyboarding & Pre-Vis", slug: "storyboarding_previs" },
433
+ { name: "Street Art & Murals", slug: "street_art_murals" },
434
+ { name: "Tattoo Art", slug: "tattoo_art" },
435
+ { name: "Technical Illustration", slug: "technical_illustration" },
436
+ { name: "Technical Writing", slug: "technical_writing" },
437
+ { name: "Traditional Art", slug: "traditional_art" },
438
+ { name: "Translation & Localization", slug: "translation_localization" },
439
+ { name: "UI/UX Design", slug: "ui_ux_design" },
440
+ { name: "Video Content", slug: "video_content" },
441
+ { name: "Virtual/Augmented Reality", slug: "virtual_augmented_reality" },
442
+ { name: "Visual Effects (VFX)", slug: "visual_effects_vfx" },
443
+ { name: "Web Development (Back-End)", slug: "web_development_backend" },
444
+ { name: "Web Development (Front-End)", slug: "web_development_frontend" },
445
+ { name: "Writing & Storytelling", slug: "writing_storytelling" },
444
446
  ];
@@ -22,6 +22,7 @@ export const MinimalNotificationEntitySchema = z.object({
22
22
  });
23
23
 
24
24
  export const NotificationDetailsEntitySchema = NotificationEntitySchema.extend({
25
+
25
26
  itemTitle: z.string().optional(),
26
27
  itemContent: z.string().optional(),
27
28
  itemImgUrl: z.string().optional(),