@zyacreatives/shared 2.1.9 → 2.1.11

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.
@@ -82,6 +82,7 @@ export declare const INVESTOR_VERIFICATION_DOCUMENT_TYPES: {
82
82
  };
83
83
  export declare const ACTIVITY_PARENT_TYPES: {
84
84
  readonly PROJECT: "PROJECT";
85
+ readonly JOB: "JOB";
85
86
  readonly POST: "POST";
86
87
  };
87
88
  export declare const POST_TYPES: {
package/dist/constants.js CHANGED
@@ -85,6 +85,7 @@ exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = {
85
85
  };
86
86
  exports.ACTIVITY_PARENT_TYPES = {
87
87
  PROJECT: "PROJECT",
88
+ JOB: "JOB",
88
89
  POST: "POST",
89
90
  };
90
91
  exports.POST_TYPES = {
@@ -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 JOB: "JOB";
9
10
  readonly POST: "POST";
10
11
  }>;
11
12
  }, z.core.$strip>;
@@ -13,6 +14,7 @@ export declare const BookmarkInputSchema: z.ZodObject<{
13
14
  parentId: z.ZodString;
14
15
  parentType: z.ZodEnum<{
15
16
  readonly PROJECT: "PROJECT";
17
+ readonly JOB: "JOB";
16
18
  readonly POST: "POST";
17
19
  }>;
18
20
  userId: z.ZodString;
@@ -24,6 +26,7 @@ export declare const BookmarkOutputSchema: z.ZodObject<{
24
26
  parentId: z.ZodCUID2;
25
27
  parentType: z.ZodEnum<{
26
28
  readonly PROJECT: "PROJECT";
29
+ readonly JOB: "JOB";
27
30
  readonly POST: "POST";
28
31
  }>;
29
32
  }, z.core.$strip>;
@@ -141,7 +141,7 @@ exports.UpdateBrandProfileInputSchema = zod_openapi_1.z
141
141
  .optional(),
142
142
  bio: zod_openapi_1.z
143
143
  .string()
144
- .max(210)
144
+ .max(600)
145
145
  .optional()
146
146
  .openapi({ example: "Updated bio for our creative agency." }),
147
147
  tags: zod_openapi_1.z
@@ -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 JOB: "JOB";
8
9
  readonly POST: "POST";
9
10
  }>;
10
11
  content: z.ZodString;
@@ -29,6 +30,7 @@ export declare const CommentOutputSchema: z.ZodObject<{
29
30
  parentId: z.ZodCUID2;
30
31
  parentType: z.ZodEnum<{
31
32
  readonly PROJECT: "PROJECT";
33
+ readonly JOB: "JOB";
32
34
  readonly POST: "POST";
33
35
  }>;
34
36
  content: z.ZodString;
@@ -52,7 +52,7 @@ export declare const CreativeEntitySchema: z.ZodObject<{
52
52
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
53
  title: z.ZodString;
54
54
  link: z.ZodOptional<z.ZodString>;
55
- year: z.ZodOptional<z.ZodNumber>;
55
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
56
56
  }, z.core.$strip>>>;
57
57
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
58
58
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -116,7 +116,7 @@ export declare const UpdateCreativeProfileInputSchema: z.ZodObject<{
116
116
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
117
117
  title: z.ZodString;
118
118
  link: z.ZodOptional<z.ZodString>;
119
- year: z.ZodOptional<z.ZodNumber>;
119
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
120
120
  }, z.core.$strip>>>;
121
121
  }, z.core.$strip>;
122
122
  export declare const GetCreativeInputSchema: z.ZodObject<{
@@ -168,7 +168,7 @@ export declare const CreateCreativeOutputSchema: z.ZodObject<{
168
168
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
169
169
  title: z.ZodString;
170
170
  link: z.ZodOptional<z.ZodString>;
171
- year: z.ZodOptional<z.ZodNumber>;
171
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
172
172
  }, z.core.$strip>>>;
173
173
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
174
174
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -209,7 +209,7 @@ export declare const GetCreativeOutputSchema: z.ZodObject<{
209
209
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
210
210
  title: z.ZodString;
211
211
  link: z.ZodOptional<z.ZodString>;
212
- year: z.ZodOptional<z.ZodNumber>;
212
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
213
213
  }, z.core.$strip>>>;
214
214
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
215
215
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -250,7 +250,7 @@ export declare const UpdateCreativeOutputSchema: z.ZodObject<{
250
250
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
251
251
  title: z.ZodString;
252
252
  link: z.ZodOptional<z.ZodString>;
253
- year: z.ZodOptional<z.ZodNumber>;
253
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
254
254
  }, z.core.$strip>>>;
255
255
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
256
256
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -79,7 +79,7 @@ exports.CreativeEntitySchema = zod_openapi_1.z
79
79
  .object({
80
80
  title: zod_openapi_1.z.string(),
81
81
  link: zod_openapi_1.z.string().optional(),
82
- year: zod_openapi_1.z.number().int().optional(),
82
+ year: zod_openapi_1.z.coerce.number().int().optional(),
83
83
  })
84
84
  .array()
85
85
  .optional(),
@@ -169,7 +169,7 @@ exports.UpdateCreativeProfileInputSchema = zod_openapi_1.z
169
169
  role: zod_openapi_1.z.string().optional().openapi({ example: "Designer" }),
170
170
  bio: zod_openapi_1.z
171
171
  .string()
172
- .max(210)
172
+ .max(600)
173
173
  .optional()
174
174
  .openapi({ example: "I am a freelance UI/UX designer." }),
175
175
  location: zod_openapi_1.z
@@ -209,7 +209,7 @@ exports.UpdateCreativeProfileInputSchema = zod_openapi_1.z
209
209
  .object({
210
210
  title: zod_openapi_1.z.string(),
211
211
  link: zod_openapi_1.z.string().optional(),
212
- year: zod_openapi_1.z.number().int().optional(),
212
+ year: zod_openapi_1.z.coerce.number().int().optional(),
213
213
  })
214
214
  .array()
215
215
  .optional(),
@@ -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 JOB: "JOB";
8
9
  readonly POST: "POST";
9
10
  }>;
10
11
  likesCount: z.ZodNumber;
@@ -49,7 +49,7 @@ exports.InvestorEntitySchema = zod_openapi_1.z
49
49
  .openapi("InvestorEntity");
50
50
  exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
51
51
  .object({
52
- bio: zod_openapi_1.z.string().max(210).optional().openapi({
52
+ bio: zod_openapi_1.z.string().max(600).optional().openapi({
53
53
  example: "Angel investor backing early-stage African startups.",
54
54
  }),
55
55
  websiteURL: zod_openapi_1.z.url("Invalid url").optional().openapi({
@@ -70,7 +70,7 @@ exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
70
70
  });
71
71
  exports.UpdateInvestorProfileInputSchema = zod_openapi_1.z
72
72
  .object({
73
- bio: zod_openapi_1.z.string().max(210).optional().openapi({
73
+ bio: zod_openapi_1.z.string().max(600).optional().openapi({
74
74
  example: "Seasoned venture capitalist with a focus on healthtech.",
75
75
  }),
76
76
  websiteURL: zod_openapi_1.z.url("Invalid url").optional().openapi({
@@ -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 JOB: "JOB";
9
10
  readonly POST: "POST";
10
11
  }>;
11
12
  }, z.core.$strip>;
@@ -13,6 +14,7 @@ export declare const LikeInputSchema: z.ZodObject<{
13
14
  parentId: z.ZodString;
14
15
  parentType: z.ZodEnum<{
15
16
  readonly PROJECT: "PROJECT";
17
+ readonly JOB: "JOB";
16
18
  readonly POST: "POST";
17
19
  }>;
18
20
  userId: z.ZodString;
@@ -24,6 +26,7 @@ export declare const LikeOutputSchema: z.ZodObject<{
24
26
  parentId: z.ZodCUID2;
25
27
  parentType: z.ZodEnum<{
26
28
  readonly PROJECT: "PROJECT";
29
+ readonly JOB: "JOB";
27
30
  readonly POST: "POST";
28
31
  }>;
29
32
  }, z.core.$strip>;
@@ -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 JOB: "JOB";
7
8
  readonly POST: "POST";
8
9
  }>>;
9
10
  replyToMessageId: z.ZodOptional<z.ZodCUID2>;
@@ -40,6 +41,7 @@ export declare const MessageWithFilesEntitySchema: z.ZodObject<{
40
41
  parentId: z.ZodOptional<z.ZodCUID2>;
41
42
  parentType: z.ZodOptional<z.ZodEnum<{
42
43
  readonly PROJECT: "PROJECT";
44
+ readonly JOB: "JOB";
43
45
  readonly POST: "POST";
44
46
  }>>;
45
47
  replyToMessageId: z.ZodOptional<z.ZodCUID2>;
@@ -103,6 +105,7 @@ export declare const CreateMessageOutputSchema: z.ZodObject<{
103
105
  parentId: z.ZodOptional<z.ZodCUID2>;
104
106
  parentType: z.ZodOptional<z.ZodEnum<{
105
107
  readonly PROJECT: "PROJECT";
108
+ readonly JOB: "JOB";
106
109
  readonly POST: "POST";
107
110
  }>>;
108
111
  replyToMessageId: z.ZodOptional<z.ZodCUID2>;
@@ -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 JOB: "JOB";
7
8
  readonly POST: "POST";
8
9
  }>>;
9
10
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -53,6 +54,7 @@ export declare const PostWithFilesEntitySchema: z.ZodObject<{
53
54
  parentId: z.ZodOptional<z.ZodCUID2>;
54
55
  parentType: z.ZodDefault<z.ZodEnum<{
55
56
  readonly PROJECT: "PROJECT";
57
+ readonly JOB: "JOB";
56
58
  readonly POST: "POST";
57
59
  }>>;
58
60
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -103,6 +105,7 @@ export declare const CreatePostInputSchema: z.ZodObject<{
103
105
  parentId: z.ZodOptional<z.ZodCUID2>;
104
106
  parentType: z.ZodDefault<z.ZodEnum<{
105
107
  readonly PROJECT: "PROJECT";
108
+ readonly JOB: "JOB";
106
109
  readonly POST: "POST";
107
110
  }>>;
108
111
  content: z.ZodOptional<z.ZodString>;
@@ -143,6 +146,7 @@ export declare const CreatePostOutputSchema: z.ZodObject<{
143
146
  parentId: z.ZodOptional<z.ZodCUID2>;
144
147
  parentType: z.ZodDefault<z.ZodEnum<{
145
148
  readonly PROJECT: "PROJECT";
149
+ readonly JOB: "JOB";
146
150
  readonly POST: "POST";
147
151
  }>>;
148
152
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -186,6 +190,7 @@ export declare const GetPostOutputSchema: z.ZodObject<{
186
190
  parentId: z.ZodOptional<z.ZodCUID2>;
187
191
  parentType: z.ZodDefault<z.ZodEnum<{
188
192
  readonly PROJECT: "PROJECT";
193
+ readonly JOB: "JOB";
189
194
  readonly POST: "POST";
190
195
  }>>;
191
196
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -250,6 +255,7 @@ export declare const PostWithLikesEntitySchema: z.ZodObject<{
250
255
  parentId: z.ZodCUID2;
251
256
  parentType: z.ZodEnum<{
252
257
  readonly PROJECT: "PROJECT";
258
+ readonly JOB: "JOB";
253
259
  readonly POST: "POST";
254
260
  }>;
255
261
  }, z.core.$strip>>;
@@ -264,6 +270,7 @@ export declare const PostWithCommentsEntitySchema: z.ZodObject<{
264
270
  parentId: z.ZodCUID2;
265
271
  parentType: z.ZodEnum<{
266
272
  readonly PROJECT: "PROJECT";
273
+ readonly JOB: "JOB";
267
274
  readonly POST: "POST";
268
275
  }>;
269
276
  content: z.ZodString;
@@ -286,6 +293,7 @@ export declare const PostWithBookmarksEntitySchema: z.ZodObject<{
286
293
  parentId: z.ZodCUID2;
287
294
  parentType: z.ZodEnum<{
288
295
  readonly PROJECT: "PROJECT";
296
+ readonly JOB: "JOB";
289
297
  readonly POST: "POST";
290
298
  }>;
291
299
  }, z.core.$strip>>;
@@ -304,6 +312,7 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
304
312
  parentId: z.ZodOptional<z.ZodCUID2>;
305
313
  parentType: z.ZodDefault<z.ZodEnum<{
306
314
  readonly PROJECT: "PROJECT";
315
+ readonly JOB: "JOB";
307
316
  readonly POST: "POST";
308
317
  }>>;
309
318
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -354,6 +363,7 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
354
363
  parentId: z.ZodCUID2;
355
364
  parentType: z.ZodEnum<{
356
365
  readonly PROJECT: "PROJECT";
366
+ readonly JOB: "JOB";
357
367
  readonly POST: "POST";
358
368
  }>;
359
369
  likesCount: z.ZodNumber;
@@ -376,6 +386,7 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
376
386
  parentId: z.ZodOptional<z.ZodCUID2>;
377
387
  parentType: z.ZodDefault<z.ZodEnum<{
378
388
  readonly PROJECT: "PROJECT";
389
+ readonly JOB: "JOB";
379
390
  readonly POST: "POST";
380
391
  }>>;
381
392
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -426,6 +437,7 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
426
437
  parentId: z.ZodCUID2;
427
438
  parentType: z.ZodEnum<{
428
439
  readonly PROJECT: "PROJECT";
440
+ readonly JOB: "JOB";
429
441
  readonly POST: "POST";
430
442
  }>;
431
443
  likesCount: z.ZodNumber;
@@ -450,6 +462,7 @@ export declare const SearchPostOutputSchema: z.ZodObject<{
450
462
  parentId: z.ZodOptional<z.ZodCUID2>;
451
463
  parentType: z.ZodDefault<z.ZodEnum<{
452
464
  readonly PROJECT: "PROJECT";
465
+ readonly JOB: "JOB";
453
466
  readonly POST: "POST";
454
467
  }>>;
455
468
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -500,6 +513,7 @@ export declare const SearchPostOutputSchema: z.ZodObject<{
500
513
  parentId: z.ZodCUID2;
501
514
  parentType: z.ZodEnum<{
502
515
  readonly PROJECT: "PROJECT";
516
+ readonly JOB: "JOB";
503
517
  readonly POST: "POST";
504
518
  }>;
505
519
  likesCount: z.ZodNumber;
@@ -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 JOB: "JOB";
348
349
  readonly POST: "POST";
349
350
  }>;
350
351
  sessionId: z.ZodNullable<z.ZodString>;
@@ -366,6 +367,7 @@ export declare const ProjectWithProjectCommentsEntitySchema: z.ZodObject<{
366
367
  parentId: z.ZodCUID2;
367
368
  parentType: z.ZodEnum<{
368
369
  readonly PROJECT: "PROJECT";
370
+ readonly JOB: "JOB";
369
371
  readonly POST: "POST";
370
372
  }>;
371
373
  content: z.ZodString;
@@ -392,6 +394,7 @@ export declare const ProjectWithProjectLikesEntitySchema: z.ZodObject<{
392
394
  parentId: z.ZodCUID2;
393
395
  parentType: z.ZodEnum<{
394
396
  readonly PROJECT: "PROJECT";
397
+ readonly JOB: "JOB";
395
398
  readonly POST: "POST";
396
399
  }>;
397
400
  }, z.core.$strip>>;
@@ -411,6 +414,7 @@ export declare const ProjectWithProjectBookmarksEntitySchema: z.ZodObject<{
411
414
  parentId: z.ZodCUID2;
412
415
  parentType: z.ZodEnum<{
413
416
  readonly PROJECT: "PROJECT";
417
+ readonly JOB: "JOB";
414
418
  readonly POST: "POST";
415
419
  }>;
416
420
  }, z.core.$strip>>;
@@ -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 JOB: "JOB";
10
11
  readonly POST: "POST";
11
12
  }>>;
12
13
  lastReason: z.ZodOptional<z.ZodString>;
@@ -18,6 +19,7 @@ export declare const UpsertUserStrikeInputSchema: z.ZodObject<{
18
19
  parentId: z.ZodCUID2;
19
20
  parentType: z.ZodOptional<z.ZodEnum<{
20
21
  readonly PROJECT: "PROJECT";
22
+ readonly JOB: "JOB";
21
23
  readonly POST: "POST";
22
24
  }>>;
23
25
  }, z.core.$strip>;
@@ -29,6 +31,7 @@ export declare const UpsertUserStrikeOutputSchema: z.ZodObject<{
29
31
  parentId: z.ZodCUID2;
30
32
  parentType: z.ZodOptional<z.ZodEnum<{
31
33
  readonly PROJECT: "PROJECT";
34
+ readonly JOB: "JOB";
32
35
  readonly POST: "POST";
33
36
  }>>;
34
37
  lastReason: z.ZodOptional<z.ZodString>;
@@ -158,7 +158,7 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
158
158
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
159
  title: z.ZodString;
160
160
  link: z.ZodOptional<z.ZodString>;
161
- year: z.ZodOptional<z.ZodNumber>;
161
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
162
162
  }, z.core.$strip>>>;
163
163
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
164
164
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -252,6 +252,7 @@ export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
252
252
  parentId: z.ZodCUID2;
253
253
  parentType: z.ZodEnum<{
254
254
  readonly PROJECT: "PROJECT";
255
+ readonly JOB: "JOB";
255
256
  readonly POST: "POST";
256
257
  }>;
257
258
  project: z.ZodObject<{
@@ -274,6 +275,7 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
274
275
  parentId: z.ZodCUID2;
275
276
  parentType: z.ZodEnum<{
276
277
  readonly PROJECT: "PROJECT";
278
+ readonly JOB: "JOB";
277
279
  readonly POST: "POST";
278
280
  }>;
279
281
  project: z.ZodObject<{
@@ -354,6 +356,7 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
354
356
  parentId: z.ZodOptional<z.ZodCUID2>;
355
357
  parentType: z.ZodDefault<z.ZodEnum<{
356
358
  readonly PROJECT: "PROJECT";
359
+ readonly JOB: "JOB";
357
360
  readonly POST: "POST";
358
361
  }>>;
359
362
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -597,7 +600,7 @@ export declare const GetAuthenticatedUserProfileOutputSchema: z.ZodObject<{
597
600
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
598
601
  title: z.ZodString;
599
602
  link: z.ZodOptional<z.ZodString>;
600
- year: z.ZodOptional<z.ZodNumber>;
603
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
601
604
  }, z.core.$strip>>>;
602
605
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
603
606
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -691,6 +694,7 @@ export declare const GetAuthenticatedUserWithProjectBookmarksOutputSchema: z.Zod
691
694
  parentId: z.ZodCUID2;
692
695
  parentType: z.ZodEnum<{
693
696
  readonly PROJECT: "PROJECT";
697
+ readonly JOB: "JOB";
694
698
  readonly POST: "POST";
695
699
  }>;
696
700
  project: z.ZodObject<{
@@ -765,6 +769,7 @@ export declare const GetAuthenticatedUserWithProjectLikesOutputSchema: z.ZodObje
765
769
  parentId: z.ZodCUID2;
766
770
  parentType: z.ZodEnum<{
767
771
  readonly PROJECT: "PROJECT";
772
+ readonly JOB: "JOB";
768
773
  readonly POST: "POST";
769
774
  }>;
770
775
  project: z.ZodObject<{
@@ -791,6 +796,7 @@ export declare const GetUserActivityOutputSchema: z.ZodArray<z.ZodObject<{
791
796
  parentId: z.ZodString;
792
797
  parentType: z.ZodEnum<{
793
798
  PROJECT: "PROJECT";
799
+ JOB: "JOB";
794
800
  POST: "POST";
795
801
  }>;
796
802
  }, z.core.$strip>>;
@@ -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 JOB: "JOB";
10
11
  readonly POST: "POST";
11
12
  }>;
12
13
  sessionId: z.ZodNullable<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.9",
3
+ "version": "2.1.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -92,6 +92,7 @@ export const INVESTOR_VERIFICATION_DOCUMENT_TYPES = {
92
92
 
93
93
  export const ACTIVITY_PARENT_TYPES = {
94
94
  PROJECT: "PROJECT",
95
+ JOB: "JOB",
95
96
  POST: "POST",
96
97
  } as const;
97
98
 
@@ -152,7 +152,7 @@ export const UpdateBrandProfileInputSchema = z
152
152
  .optional(),
153
153
  bio: z
154
154
  .string()
155
- .max(210)
155
+ .max(600)
156
156
  .optional()
157
157
  .openapi({ example: "Updated bio for our creative agency." }),
158
158
  tags: z
@@ -90,7 +90,7 @@ export const CreativeEntitySchema = z
90
90
  .object({
91
91
  title: z.string(),
92
92
  link: z.string().optional(),
93
- year: z.number().int().optional(),
93
+ year: z.coerce.number().int().optional(),
94
94
  })
95
95
  .array()
96
96
  .optional(),
@@ -201,7 +201,7 @@ export const UpdateCreativeProfileInputSchema = z
201
201
  role: z.string().optional().openapi({ example: "Designer" }),
202
202
  bio: z
203
203
  .string()
204
- .max(210)
204
+ .max(600)
205
205
  .optional()
206
206
  .openapi({ example: "I am a freelance UI/UX designer." }),
207
207
  location: z
@@ -241,7 +241,7 @@ export const UpdateCreativeProfileInputSchema = z
241
241
  .object({
242
242
  title: z.string(),
243
243
  link: z.string().optional(),
244
- year: z.number().int().optional(),
244
+ year: z.coerce.number().int().optional(),
245
245
  })
246
246
  .array()
247
247
  .optional(),
@@ -69,7 +69,7 @@ export const InvestorEntitySchema = z
69
69
 
70
70
  export const CreateInvestorProfileInputSchema = z
71
71
  .object({
72
- bio: z.string().max(210).optional().openapi({
72
+ bio: z.string().max(600).optional().openapi({
73
73
  example: "Angel investor backing early-stage African startups.",
74
74
  }),
75
75
  websiteURL: z.url("Invalid url").optional().openapi({
@@ -96,7 +96,7 @@ export const CreateInvestorProfileInputSchema = z
96
96
 
97
97
  export const UpdateInvestorProfileInputSchema = z
98
98
  .object({
99
- bio: z.string().max(210).optional().openapi({
99
+ bio: z.string().max(600).optional().openapi({
100
100
  example: "Seasoned venture capitalist with a focus on healthtech.",
101
101
  }),
102
102
  websiteURL: z.url("Invalid url").optional().openapi({