@zyacreatives/shared 2.2.77 → 2.2.79

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.
@@ -46,11 +46,6 @@ export declare const MinimalUserSchema: z.ZodObject<{
46
46
  ADMIN: "ADMIN";
47
47
  }>;
48
48
  }, z.core.$strip>;
49
- export declare const UserStatsEntitySchema: z.ZodObject<{
50
- followerCount: z.ZodInt;
51
- followingCount: z.ZodInt;
52
- followingIds: z.ZodArray<z.ZodCUID2>;
53
- }, z.core.$strip>;
54
49
  export declare const UserProfileEntitySchema: z.ZodObject<{
55
50
  id: z.ZodCUID2;
56
51
  email: z.ZodEmail;
@@ -223,6 +218,11 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
223
218
  version: z.ZodInt;
224
219
  }, z.core.$strip>;
225
220
  }, z.core.$strip>;
221
+ export declare const UserStatsEntitySchema: z.ZodObject<{
222
+ followerCount: z.ZodInt;
223
+ followingCount: z.ZodInt;
224
+ followingIds: z.ZodArray<z.ZodCUID2>;
225
+ }, z.core.$strip>;
226
226
  export declare const UserWithProjectsEntitySchema: z.ZodObject<{
227
227
  userId: z.ZodCUID2;
228
228
  projects: z.ZodArray<z.ZodObject<{
@@ -287,35 +287,66 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
287
287
  version: z.ZodNumber;
288
288
  }, z.core.$strip>>;
289
289
  }, z.core.$strip>;
290
- export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
290
+ export declare const UserWithPostsEntitySchema: z.ZodObject<{
291
291
  userId: z.ZodCUID2;
292
- projectLikes: z.ZodArray<z.ZodObject<{
292
+ posts: z.ZodArray<z.ZodObject<{
293
293
  id: z.ZodCUID2;
294
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
295
- userId: z.ZodCUID2;
296
- parentId: z.ZodCUID2;
297
- parentType: z.ZodEnum<{
294
+ parentId: z.ZodOptional<z.ZodCUID2>;
295
+ parentType: z.ZodDefault<z.ZodEnum<{
298
296
  readonly PROJECT: "PROJECT";
299
297
  readonly USER: "USER";
300
298
  readonly JOB: "JOB";
301
299
  readonly POST: "POST";
302
300
  readonly COMMENT: "COMMENT";
303
301
  readonly JOB_APPLICATION: "JOB_APPLICATION";
302
+ }>>;
303
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
+ name: z.ZodString;
305
+ id: z.ZodInt;
306
+ }, z.core.$strip>>>;
307
+ badge: z.ZodOptional<z.ZodEnum<{
308
+ readonly NETWORKING: "Networking";
309
+ readonly FUNDING: "Funding";
310
+ readonly COLLABORATION: "Collaboration";
311
+ readonly OPPORTUNITIES: "Opportunities";
312
+ readonly SHOWCASE: "Showcase";
313
+ readonly LEARNING: "Learning";
314
+ readonly DISCUSSION: "Discussion";
315
+ readonly MENTORSHIP: "Mentorship";
316
+ }>>;
317
+ userId: z.ZodCUID2;
318
+ creatorUsername: z.ZodOptional<z.ZodString>;
319
+ creatorFullName: z.ZodOptional<z.ZodString>;
320
+ creatorImageUrl: z.ZodOptional<z.ZodCUID2>;
321
+ content: z.ZodOptional<z.ZodString>;
322
+ postType: z.ZodEnum<{
323
+ readonly MARKETPLACE: "MARKETPLACE";
324
+ readonly PROJECT: "PROJECT";
325
+ readonly JOB_OPENING: "JOB_OPENING";
326
+ readonly DEFAULT_POST: "DEFAULT_POST";
327
+ readonly POST_WITH_LINKS: "POST_WITH_LINKS";
328
+ readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
329
+ readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
304
330
  }>;
305
- project: z.ZodObject<{
306
- id: z.ZodCUID2;
331
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
332
+ linkMeta: z.ZodOptional<z.ZodObject<{
333
+ url: z.ZodURL;
334
+ title: z.ZodOptional<z.ZodString>;
307
335
  description: z.ZodOptional<z.ZodString>;
308
- title: z.ZodString;
309
- imagePlaceholderUrl: z.ZodURL;
310
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
311
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
312
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
313
- }, z.core.$strip>;
336
+ image: z.ZodOptional<z.ZodURL>;
337
+ }, z.core.$strip>>;
338
+ postFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
339
+ id: z.ZodCUID2;
340
+ postId: z.ZodCUID2;
341
+ fileId: z.ZodCUID2;
342
+ order: z.ZodNumber;
343
+ url: z.ZodURL;
344
+ }, z.core.$strip>>>;
314
345
  }, z.core.$strip>>;
315
346
  }, z.core.$strip>;
316
- export declare const UserWithPostLikesEntitySchema: z.ZodObject<{
347
+ export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
317
348
  userId: z.ZodCUID2;
318
- postLikes: z.ZodArray<z.ZodObject<{
349
+ projectLikes: z.ZodArray<z.ZodObject<{
319
350
  id: z.ZodCUID2;
320
351
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
321
352
  userId: z.ZodCUID2;
@@ -328,21 +359,20 @@ export declare const UserWithPostLikesEntitySchema: z.ZodObject<{
328
359
  readonly COMMENT: "COMMENT";
329
360
  readonly JOB_APPLICATION: "JOB_APPLICATION";
330
361
  }>;
331
- post: z.ZodObject<{
362
+ project: z.ZodObject<{
332
363
  id: z.ZodCUID2;
333
- parentId: z.ZodOptional<z.ZodCUID2>;
334
- content: z.ZodOptional<z.ZodString>;
335
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
336
- tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
337
- name: z.ZodString;
338
- id: z.ZodInt;
339
- }, z.core.$strip>>>;
364
+ description: z.ZodOptional<z.ZodString>;
365
+ title: z.ZodString;
366
+ imagePlaceholderUrl: z.ZodURL;
367
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
368
+ startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
369
+ endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
340
370
  }, z.core.$strip>;
341
371
  }, z.core.$strip>>;
342
372
  }, z.core.$strip>;
343
- export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
373
+ export declare const UserWithPostLikesEntitySchema: z.ZodObject<{
344
374
  userId: z.ZodCUID2;
345
- postBookmarks: z.ZodArray<z.ZodObject<{
375
+ postLikes: z.ZodArray<z.ZodObject<{
346
376
  id: z.ZodCUID2;
347
377
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
348
378
  userId: z.ZodCUID2;
@@ -405,6 +435,7 @@ export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
405
435
  wagesType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
406
436
  createdAt: z.ZodString;
407
437
  updatedAt: z.ZodString;
438
+ isBookmarked: z.ZodDefault<z.ZodBoolean>;
408
439
  }, z.core.$strip>;
409
440
  }, z.core.$strip>>>;
410
441
  }, z.core.$strip>;
@@ -451,6 +482,7 @@ export declare const UserWithJobBookmarksOutputSchema: z.ZodObject<{
451
482
  wagesType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
452
483
  createdAt: z.ZodString;
453
484
  updatedAt: z.ZodString;
485
+ isBookmarked: z.ZodDefault<z.ZodBoolean>;
454
486
  }, z.core.$strip>;
455
487
  }, z.core.$strip>>>;
456
488
  }, z.core.$strip>;
@@ -472,23 +504,327 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
472
504
  readonly JOB_APPLICATION: "JOB_APPLICATION";
473
505
  }>;
474
506
  project: z.ZodObject<{
475
- id: z.ZodCUID2;
476
- description: z.ZodOptional<z.ZodString>;
507
+ id: z.ZodString;
508
+ userId: z.ZodString;
477
509
  title: z.ZodString;
478
510
  imagePlaceholderUrl: z.ZodURL;
511
+ projectCreatorType: z.ZodEnum<{
512
+ readonly CREATIVE: "CREATIVE";
513
+ readonly BRAND: "BRAND";
514
+ readonly INVESTOR: "INVESTOR";
515
+ readonly ADMIN: "ADMIN";
516
+ }>;
517
+ createdAt: z.ZodNumber;
518
+ updatedAt: z.ZodNumber;
519
+ description: z.ZodOptional<z.ZodString>;
520
+ capitalLookingToRaise: z.ZodOptional<z.ZodString>;
521
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
522
+ readonly USD: "USD (United States Dollar)";
523
+ readonly EUR: "EUR (Euro)";
524
+ readonly GBP: "GBP (British Pound Sterling)";
525
+ readonly NGN: "NGN (Nigerian Naira)";
526
+ readonly CAD: "CAD (Canadian Dollar)";
527
+ readonly AUD: "AUD (Australian Dollar)";
528
+ readonly JPY: "JPY (Japanese Yen)";
529
+ readonly CHF: "CHF (Swiss Franc)";
530
+ readonly INR: "INR (Indian Rupee)";
531
+ readonly ZAR: "ZAR (South African Rand)";
532
+ }>>;
533
+ ventureStage: z.ZodOptional<z.ZodEnum<{
534
+ readonly IDEA: "Idea";
535
+ readonly PRE_SEED: "Pre Seed";
536
+ readonly MVP: "MVP";
537
+ readonly SEED: "Seed";
538
+ readonly SERIES_A: "Series A";
539
+ readonly SERIES_B: "Series B";
540
+ readonly SERIES_C: "Series C";
541
+ readonly GROWTH: "Growth";
542
+ readonly EXIT: "Exit";
543
+ }>>;
544
+ url: z.ZodOptional<z.ZodURL>;
479
545
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
480
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
481
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
546
+ creatorUsername: z.ZodString;
547
+ creatorImageUrl: z.ZodString;
548
+ clientId: z.ZodOptional<z.ZodString>;
549
+ clientType: z.ZodOptional<z.ZodEnum<{
550
+ readonly CREATIVE: "CREATIVE";
551
+ readonly BRAND: "BRAND";
552
+ readonly NONE: "NONE";
553
+ }>>;
554
+ clientName: z.ZodOptional<z.ZodString>;
555
+ isFeatured: z.ZodOptional<z.ZodBoolean>;
556
+ startDate: z.ZodOptional<z.ZodNumber>;
557
+ endDate: z.ZodOptional<z.ZodNumber>;
482
558
  }, z.core.$strip>;
483
559
  }, z.core.$strip>>;
484
560
  }, z.core.$strip>;
485
- export declare const GetUserFollowingInputSchema: z.ZodObject<{
486
- searchQuery: z.ZodOptional<z.ZodString>;
487
- offset: z.ZodOptional<z.ZodNumber>;
561
+ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
562
+ userId: z.ZodCUID2;
563
+ postBookmarks: z.ZodArray<z.ZodObject<{
564
+ id: z.ZodCUID2;
565
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
566
+ userId: z.ZodCUID2;
567
+ parentId: z.ZodCUID2;
568
+ parentType: z.ZodEnum<{
569
+ readonly PROJECT: "PROJECT";
570
+ readonly USER: "USER";
571
+ readonly JOB: "JOB";
572
+ readonly POST: "POST";
573
+ readonly COMMENT: "COMMENT";
574
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
575
+ }>;
576
+ post: z.ZodObject<{
577
+ id: z.ZodCUID2;
578
+ parentId: z.ZodOptional<z.ZodCUID2>;
579
+ parentType: z.ZodDefault<z.ZodEnum<{
580
+ readonly PROJECT: "PROJECT";
581
+ readonly USER: "USER";
582
+ readonly JOB: "JOB";
583
+ readonly POST: "POST";
584
+ readonly COMMENT: "COMMENT";
585
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
586
+ }>>;
587
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
588
+ name: z.ZodString;
589
+ id: z.ZodInt;
590
+ }, z.core.$strip>>>;
591
+ badge: z.ZodOptional<z.ZodEnum<{
592
+ readonly NETWORKING: "Networking";
593
+ readonly FUNDING: "Funding";
594
+ readonly COLLABORATION: "Collaboration";
595
+ readonly OPPORTUNITIES: "Opportunities";
596
+ readonly SHOWCASE: "Showcase";
597
+ readonly LEARNING: "Learning";
598
+ readonly DISCUSSION: "Discussion";
599
+ readonly MENTORSHIP: "Mentorship";
600
+ }>>;
601
+ userId: z.ZodCUID2;
602
+ creatorUsername: z.ZodOptional<z.ZodString>;
603
+ creatorFullName: z.ZodOptional<z.ZodString>;
604
+ creatorImageUrl: z.ZodOptional<z.ZodCUID2>;
605
+ content: z.ZodOptional<z.ZodString>;
606
+ postType: z.ZodEnum<{
607
+ readonly MARKETPLACE: "MARKETPLACE";
608
+ readonly PROJECT: "PROJECT";
609
+ readonly JOB_OPENING: "JOB_OPENING";
610
+ readonly DEFAULT_POST: "DEFAULT_POST";
611
+ readonly POST_WITH_LINKS: "POST_WITH_LINKS";
612
+ readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
613
+ readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
614
+ }>;
615
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
616
+ linkMeta: z.ZodOptional<z.ZodObject<{
617
+ url: z.ZodURL;
618
+ title: z.ZodOptional<z.ZodString>;
619
+ description: z.ZodOptional<z.ZodString>;
620
+ image: z.ZodOptional<z.ZodURL>;
621
+ }, z.core.$strip>>;
622
+ postFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
623
+ id: z.ZodCUID2;
624
+ postId: z.ZodCUID2;
625
+ fileId: z.ZodCUID2;
626
+ order: z.ZodNumber;
627
+ url: z.ZodURL;
628
+ }, z.core.$strip>>>;
629
+ stats: z.ZodObject<{
630
+ updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
631
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
632
+ parentId: z.ZodCUID2;
633
+ parentType: z.ZodEnum<{
634
+ readonly PROJECT: "PROJECT";
635
+ readonly USER: "USER";
636
+ readonly JOB: "JOB";
637
+ readonly POST: "POST";
638
+ readonly COMMENT: "COMMENT";
639
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
640
+ }>;
641
+ likesCount: z.ZodNumber;
642
+ bookmarksCount: z.ZodNumber;
643
+ viewsCount: z.ZodNumber;
644
+ commentsCount: z.ZodNumber;
645
+ }, z.core.$strip>;
646
+ score: z.ZodNumber;
647
+ isLiked: z.ZodOptional<z.ZodBoolean>;
648
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
649
+ isBookmarked: z.ZodOptional<z.ZodBoolean>;
650
+ }, z.core.$strip>;
651
+ }, z.core.$strip>>;
488
652
  }, z.core.$strip>;
489
- export declare const GetUserFollowersInputSchema: z.ZodObject<{
490
- searchQuery: z.ZodOptional<z.ZodString>;
491
- offset: z.ZodOptional<z.ZodNumber>;
653
+ export declare const GetUserWithProjectBookmarksInputSchema: z.ZodObject<{
654
+ cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
655
+ limit: z.ZodNullable<z.ZodOptional<z.ZodInt>>;
656
+ }, z.core.$strip>;
657
+ export declare const GetUserWithPostBookmarksInputSchema: z.ZodObject<{
658
+ cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
659
+ limit: z.ZodNullable<z.ZodOptional<z.ZodInt>>;
660
+ }, z.core.$strip>;
661
+ export declare const GetUserWithProjectBookmarksOutputSchema: z.ZodObject<{
662
+ bookmarks: z.ZodObject<{
663
+ userId: z.ZodCUID2;
664
+ projectBookmarks: z.ZodArray<z.ZodObject<{
665
+ id: z.ZodCUID2;
666
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
667
+ userId: z.ZodCUID2;
668
+ parentId: z.ZodCUID2;
669
+ parentType: z.ZodEnum<{
670
+ readonly PROJECT: "PROJECT";
671
+ readonly USER: "USER";
672
+ readonly JOB: "JOB";
673
+ readonly POST: "POST";
674
+ readonly COMMENT: "COMMENT";
675
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
676
+ }>;
677
+ project: z.ZodObject<{
678
+ id: z.ZodString;
679
+ userId: z.ZodString;
680
+ title: z.ZodString;
681
+ imagePlaceholderUrl: z.ZodURL;
682
+ projectCreatorType: z.ZodEnum<{
683
+ readonly CREATIVE: "CREATIVE";
684
+ readonly BRAND: "BRAND";
685
+ readonly INVESTOR: "INVESTOR";
686
+ readonly ADMIN: "ADMIN";
687
+ }>;
688
+ createdAt: z.ZodNumber;
689
+ updatedAt: z.ZodNumber;
690
+ description: z.ZodOptional<z.ZodString>;
691
+ capitalLookingToRaise: z.ZodOptional<z.ZodString>;
692
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
693
+ readonly USD: "USD (United States Dollar)";
694
+ readonly EUR: "EUR (Euro)";
695
+ readonly GBP: "GBP (British Pound Sterling)";
696
+ readonly NGN: "NGN (Nigerian Naira)";
697
+ readonly CAD: "CAD (Canadian Dollar)";
698
+ readonly AUD: "AUD (Australian Dollar)";
699
+ readonly JPY: "JPY (Japanese Yen)";
700
+ readonly CHF: "CHF (Swiss Franc)";
701
+ readonly INR: "INR (Indian Rupee)";
702
+ readonly ZAR: "ZAR (South African Rand)";
703
+ }>>;
704
+ ventureStage: z.ZodOptional<z.ZodEnum<{
705
+ readonly IDEA: "Idea";
706
+ readonly PRE_SEED: "Pre Seed";
707
+ readonly MVP: "MVP";
708
+ readonly SEED: "Seed";
709
+ readonly SERIES_A: "Series A";
710
+ readonly SERIES_B: "Series B";
711
+ readonly SERIES_C: "Series C";
712
+ readonly GROWTH: "Growth";
713
+ readonly EXIT: "Exit";
714
+ }>>;
715
+ url: z.ZodOptional<z.ZodURL>;
716
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
717
+ creatorUsername: z.ZodString;
718
+ creatorImageUrl: z.ZodString;
719
+ clientId: z.ZodOptional<z.ZodString>;
720
+ clientType: z.ZodOptional<z.ZodEnum<{
721
+ readonly CREATIVE: "CREATIVE";
722
+ readonly BRAND: "BRAND";
723
+ readonly NONE: "NONE";
724
+ }>>;
725
+ clientName: z.ZodOptional<z.ZodString>;
726
+ isFeatured: z.ZodOptional<z.ZodBoolean>;
727
+ startDate: z.ZodOptional<z.ZodNumber>;
728
+ endDate: z.ZodOptional<z.ZodNumber>;
729
+ }, z.core.$strip>;
730
+ }, z.core.$strip>>;
731
+ }, z.core.$strip>;
732
+ nextCursor: z.ZodNullable<z.ZodString>;
733
+ }, z.core.$strip>;
734
+ export declare const GetUserWithPostBookmarksOutputSchema: z.ZodObject<{
735
+ bookmarks: z.ZodObject<{
736
+ userId: z.ZodCUID2;
737
+ postBookmarks: z.ZodArray<z.ZodObject<{
738
+ id: z.ZodCUID2;
739
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
740
+ userId: z.ZodCUID2;
741
+ parentId: z.ZodCUID2;
742
+ parentType: z.ZodEnum<{
743
+ readonly PROJECT: "PROJECT";
744
+ readonly USER: "USER";
745
+ readonly JOB: "JOB";
746
+ readonly POST: "POST";
747
+ readonly COMMENT: "COMMENT";
748
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
749
+ }>;
750
+ post: z.ZodObject<{
751
+ id: z.ZodCUID2;
752
+ parentId: z.ZodOptional<z.ZodCUID2>;
753
+ parentType: z.ZodDefault<z.ZodEnum<{
754
+ readonly PROJECT: "PROJECT";
755
+ readonly USER: "USER";
756
+ readonly JOB: "JOB";
757
+ readonly POST: "POST";
758
+ readonly COMMENT: "COMMENT";
759
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
760
+ }>>;
761
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
762
+ name: z.ZodString;
763
+ id: z.ZodInt;
764
+ }, z.core.$strip>>>;
765
+ badge: z.ZodOptional<z.ZodEnum<{
766
+ readonly NETWORKING: "Networking";
767
+ readonly FUNDING: "Funding";
768
+ readonly COLLABORATION: "Collaboration";
769
+ readonly OPPORTUNITIES: "Opportunities";
770
+ readonly SHOWCASE: "Showcase";
771
+ readonly LEARNING: "Learning";
772
+ readonly DISCUSSION: "Discussion";
773
+ readonly MENTORSHIP: "Mentorship";
774
+ }>>;
775
+ userId: z.ZodCUID2;
776
+ creatorUsername: z.ZodOptional<z.ZodString>;
777
+ creatorFullName: z.ZodOptional<z.ZodString>;
778
+ creatorImageUrl: z.ZodOptional<z.ZodCUID2>;
779
+ content: z.ZodOptional<z.ZodString>;
780
+ postType: z.ZodEnum<{
781
+ readonly MARKETPLACE: "MARKETPLACE";
782
+ readonly PROJECT: "PROJECT";
783
+ readonly JOB_OPENING: "JOB_OPENING";
784
+ readonly DEFAULT_POST: "DEFAULT_POST";
785
+ readonly POST_WITH_LINKS: "POST_WITH_LINKS";
786
+ readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
787
+ readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
788
+ }>;
789
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
790
+ linkMeta: z.ZodOptional<z.ZodObject<{
791
+ url: z.ZodURL;
792
+ title: z.ZodOptional<z.ZodString>;
793
+ description: z.ZodOptional<z.ZodString>;
794
+ image: z.ZodOptional<z.ZodURL>;
795
+ }, z.core.$strip>>;
796
+ postFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
+ id: z.ZodCUID2;
798
+ postId: z.ZodCUID2;
799
+ fileId: z.ZodCUID2;
800
+ order: z.ZodNumber;
801
+ url: z.ZodURL;
802
+ }, z.core.$strip>>>;
803
+ stats: z.ZodObject<{
804
+ updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
805
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
806
+ parentId: z.ZodCUID2;
807
+ parentType: z.ZodEnum<{
808
+ readonly PROJECT: "PROJECT";
809
+ readonly USER: "USER";
810
+ readonly JOB: "JOB";
811
+ readonly POST: "POST";
812
+ readonly COMMENT: "COMMENT";
813
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
814
+ }>;
815
+ likesCount: z.ZodNumber;
816
+ bookmarksCount: z.ZodNumber;
817
+ viewsCount: z.ZodNumber;
818
+ commentsCount: z.ZodNumber;
819
+ }, z.core.$strip>;
820
+ score: z.ZodNumber;
821
+ isLiked: z.ZodOptional<z.ZodBoolean>;
822
+ isFollowing: z.ZodOptional<z.ZodBoolean>;
823
+ isBookmarked: z.ZodOptional<z.ZodBoolean>;
824
+ }, z.core.$strip>;
825
+ }, z.core.$strip>>;
826
+ }, z.core.$strip>;
827
+ nextCursor: z.ZodNullable<z.ZodString>;
492
828
  }, z.core.$strip>;
493
829
  export declare const UserWithFollowingEntitySchema: z.ZodObject<{
494
830
  email: z.ZodEmail;
@@ -546,9 +882,17 @@ export declare const UserWithFollowersEntitySchema: z.ZodObject<{
546
882
  followsYou: z.ZodOptional<z.ZodBoolean>;
547
883
  }, z.core.$strip>>;
548
884
  }, z.core.$strip>;
549
- export declare const GetUserFollowersOutputSchema: z.ZodObject<{
885
+ export declare const GetUserFollowingInputSchema: z.ZodObject<{
886
+ searchQuery: z.ZodOptional<z.ZodString>;
887
+ offset: z.ZodOptional<z.ZodNumber>;
888
+ }, z.core.$strip>;
889
+ export declare const GetUserFollowersInputSchema: z.ZodObject<{
890
+ searchQuery: z.ZodOptional<z.ZodString>;
891
+ offset: z.ZodOptional<z.ZodNumber>;
892
+ }, z.core.$strip>;
893
+ export declare const GetUserFollowingOutputSchema: z.ZodObject<{
550
894
  nextCursor: z.ZodString;
551
- followers: z.ZodArray<z.ZodObject<{
895
+ following: z.ZodArray<z.ZodObject<{
552
896
  email: z.ZodEmail;
553
897
  username: z.ZodOptional<z.ZodString>;
554
898
  id: z.ZodCUID2;
@@ -564,9 +908,9 @@ export declare const GetUserFollowersOutputSchema: z.ZodObject<{
564
908
  followsYou: z.ZodOptional<z.ZodBoolean>;
565
909
  }, z.core.$strip>>;
566
910
  }, z.core.$strip>;
567
- export declare const GetUserFollowingOutputSchema: z.ZodObject<{
911
+ export declare const GetUserFollowersOutputSchema: z.ZodObject<{
568
912
  nextCursor: z.ZodString;
569
- following: z.ZodArray<z.ZodObject<{
913
+ followers: z.ZodArray<z.ZodObject<{
570
914
  email: z.ZodEmail;
571
915
  username: z.ZodOptional<z.ZodString>;
572
916
  id: z.ZodCUID2;
@@ -582,63 +926,6 @@ export declare const GetUserFollowingOutputSchema: z.ZodObject<{
582
926
  followsYou: z.ZodOptional<z.ZodBoolean>;
583
927
  }, z.core.$strip>>;
584
928
  }, z.core.$strip>;
585
- export declare const UserWithPostsEntitySchema: z.ZodObject<{
586
- userId: z.ZodCUID2;
587
- posts: z.ZodArray<z.ZodObject<{
588
- id: z.ZodCUID2;
589
- parentId: z.ZodOptional<z.ZodCUID2>;
590
- parentType: z.ZodDefault<z.ZodEnum<{
591
- readonly PROJECT: "PROJECT";
592
- readonly USER: "USER";
593
- readonly JOB: "JOB";
594
- readonly POST: "POST";
595
- readonly COMMENT: "COMMENT";
596
- readonly JOB_APPLICATION: "JOB_APPLICATION";
597
- }>>;
598
- tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
599
- name: z.ZodString;
600
- id: z.ZodInt;
601
- }, z.core.$strip>>>;
602
- badge: z.ZodOptional<z.ZodEnum<{
603
- readonly NETWORKING: "Networking";
604
- readonly FUNDING: "Funding";
605
- readonly COLLABORATION: "Collaboration";
606
- readonly OPPORTUNITIES: "Opportunities";
607
- readonly SHOWCASE: "Showcase";
608
- readonly LEARNING: "Learning";
609
- readonly DISCUSSION: "Discussion";
610
- readonly MENTORSHIP: "Mentorship";
611
- }>>;
612
- userId: z.ZodCUID2;
613
- creatorUsername: z.ZodOptional<z.ZodString>;
614
- creatorFullName: z.ZodOptional<z.ZodString>;
615
- creatorImageUrl: z.ZodOptional<z.ZodCUID2>;
616
- content: z.ZodOptional<z.ZodString>;
617
- postType: z.ZodEnum<{
618
- readonly MARKETPLACE: "MARKETPLACE";
619
- readonly PROJECT: "PROJECT";
620
- readonly JOB_OPENING: "JOB_OPENING";
621
- readonly DEFAULT_POST: "DEFAULT_POST";
622
- readonly POST_WITH_LINKS: "POST_WITH_LINKS";
623
- readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
624
- readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
625
- }>;
626
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
627
- linkMeta: z.ZodOptional<z.ZodObject<{
628
- url: z.ZodURL;
629
- title: z.ZodOptional<z.ZodString>;
630
- description: z.ZodOptional<z.ZodString>;
631
- image: z.ZodOptional<z.ZodURL>;
632
- }, z.core.$strip>>;
633
- postFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
634
- id: z.ZodCUID2;
635
- postId: z.ZodCUID2;
636
- fileId: z.ZodCUID2;
637
- order: z.ZodNumber;
638
- url: z.ZodURL;
639
- }, z.core.$strip>>>;
640
- }, z.core.$strip>>;
641
- }, z.core.$strip>;
642
929
  export declare const GetAuthenticatedUserOutputSchema: z.ZodObject<{
643
930
  id: z.ZodCUID2;
644
931
  email: z.ZodEmail;
@@ -912,6 +1199,76 @@ export declare const GetAuthenticatedUserWithProjectsOutputSchema: z.ZodObject<{
912
1199
  export declare const GetAuthenticatedUserWithProjectBookmarksOutputSchema: z.ZodObject<{
913
1200
  userId: z.ZodCUID2;
914
1201
  projectBookmarks: z.ZodArray<z.ZodObject<{
1202
+ id: z.ZodCUID2;
1203
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1204
+ userId: z.ZodCUID2;
1205
+ parentId: z.ZodCUID2;
1206
+ parentType: z.ZodEnum<{
1207
+ readonly PROJECT: "PROJECT";
1208
+ readonly USER: "USER";
1209
+ readonly JOB: "JOB";
1210
+ readonly POST: "POST";
1211
+ readonly COMMENT: "COMMENT";
1212
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
1213
+ }>;
1214
+ project: z.ZodObject<{
1215
+ id: z.ZodString;
1216
+ userId: z.ZodString;
1217
+ title: z.ZodString;
1218
+ imagePlaceholderUrl: z.ZodURL;
1219
+ projectCreatorType: z.ZodEnum<{
1220
+ readonly CREATIVE: "CREATIVE";
1221
+ readonly BRAND: "BRAND";
1222
+ readonly INVESTOR: "INVESTOR";
1223
+ readonly ADMIN: "ADMIN";
1224
+ }>;
1225
+ createdAt: z.ZodNumber;
1226
+ updatedAt: z.ZodNumber;
1227
+ description: z.ZodOptional<z.ZodString>;
1228
+ capitalLookingToRaise: z.ZodOptional<z.ZodString>;
1229
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
1230
+ readonly USD: "USD (United States Dollar)";
1231
+ readonly EUR: "EUR (Euro)";
1232
+ readonly GBP: "GBP (British Pound Sterling)";
1233
+ readonly NGN: "NGN (Nigerian Naira)";
1234
+ readonly CAD: "CAD (Canadian Dollar)";
1235
+ readonly AUD: "AUD (Australian Dollar)";
1236
+ readonly JPY: "JPY (Japanese Yen)";
1237
+ readonly CHF: "CHF (Swiss Franc)";
1238
+ readonly INR: "INR (Indian Rupee)";
1239
+ readonly ZAR: "ZAR (South African Rand)";
1240
+ }>>;
1241
+ ventureStage: z.ZodOptional<z.ZodEnum<{
1242
+ readonly IDEA: "Idea";
1243
+ readonly PRE_SEED: "Pre Seed";
1244
+ readonly MVP: "MVP";
1245
+ readonly SEED: "Seed";
1246
+ readonly SERIES_A: "Series A";
1247
+ readonly SERIES_B: "Series B";
1248
+ readonly SERIES_C: "Series C";
1249
+ readonly GROWTH: "Growth";
1250
+ readonly EXIT: "Exit";
1251
+ }>>;
1252
+ url: z.ZodOptional<z.ZodURL>;
1253
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1254
+ creatorUsername: z.ZodString;
1255
+ creatorImageUrl: z.ZodString;
1256
+ clientId: z.ZodOptional<z.ZodString>;
1257
+ clientType: z.ZodOptional<z.ZodEnum<{
1258
+ readonly CREATIVE: "CREATIVE";
1259
+ readonly BRAND: "BRAND";
1260
+ readonly NONE: "NONE";
1261
+ }>>;
1262
+ clientName: z.ZodOptional<z.ZodString>;
1263
+ isFeatured: z.ZodOptional<z.ZodBoolean>;
1264
+ startDate: z.ZodOptional<z.ZodNumber>;
1265
+ endDate: z.ZodOptional<z.ZodNumber>;
1266
+ }, z.core.$strip>;
1267
+ }, z.core.$strip>>;
1268
+ }, z.core.$strip>;
1269
+ export declare const GetAuthenticatedUserWithProjectLikesOutputSchema: z.ZodObject<{
1270
+ userId: z.ZodCUID2;
1271
+ projectLikes: z.ZodArray<z.ZodObject<{
915
1272
  id: z.ZodCUID2;
916
1273
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
917
1274
  userId: z.ZodCUID2;
@@ -991,32 +1348,6 @@ export declare const GetAuthenticatedUserWithUserFollowersOutputSchema: z.ZodObj
991
1348
  followsYou: z.ZodOptional<z.ZodBoolean>;
992
1349
  }, z.core.$strip>>;
993
1350
  }, z.core.$strip>;
994
- export declare const GetAuthenticatedUserWithProjectLikesOutputSchema: z.ZodObject<{
995
- userId: z.ZodCUID2;
996
- projectLikes: z.ZodArray<z.ZodObject<{
997
- id: z.ZodCUID2;
998
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
999
- userId: z.ZodCUID2;
1000
- parentId: z.ZodCUID2;
1001
- parentType: z.ZodEnum<{
1002
- readonly PROJECT: "PROJECT";
1003
- readonly USER: "USER";
1004
- readonly JOB: "JOB";
1005
- readonly POST: "POST";
1006
- readonly COMMENT: "COMMENT";
1007
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1008
- }>;
1009
- project: z.ZodObject<{
1010
- id: z.ZodCUID2;
1011
- description: z.ZodOptional<z.ZodString>;
1012
- title: z.ZodString;
1013
- imagePlaceholderUrl: z.ZodURL;
1014
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1015
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1016
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1017
- }, z.core.$strip>;
1018
- }, z.core.$strip>>;
1019
- }, z.core.$strip>;
1020
1351
  export declare const GetUserActivityInputSchema: z.ZodObject<{
1021
1352
  activityType: z.ZodEnum<{
1022
1353
  LIKE: "LIKE";