@zyacreatives/shared 2.1.34 → 2.1.36

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