@zyacreatives/shared 2.5.52 → 2.5.55
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.
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/schemas/activity.d.ts +1 -0
- package/dist/schemas/auth.d.ts +2 -0
- package/dist/schemas/bookmark.d.ts +62 -7
- package/dist/schemas/bookmark.js +32 -30
- package/dist/schemas/brand.d.ts +3 -3
- package/dist/schemas/chat.d.ts +96 -52
- package/dist/schemas/chat.js +44 -18
- package/dist/schemas/comment.d.ts +65 -21
- package/dist/schemas/comment.js +48 -54
- package/dist/schemas/common.d.ts +15 -11
- package/dist/schemas/creative.d.ts +21 -21
- package/dist/schemas/creative.js +3 -3
- package/dist/schemas/discipline.d.ts +63 -12
- package/dist/schemas/discipline.js +62 -65
- package/dist/schemas/entity-stats.d.ts +35 -3
- package/dist/schemas/entity-stats.js +24 -38
- package/dist/schemas/feed.d.ts +50 -3
- package/dist/schemas/feed.js +43 -13
- package/dist/schemas/file.d.ts +65 -24
- package/dist/schemas/file.js +60 -49
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/investor-shortlist.d.ts +68 -11
- package/dist/schemas/investor-shortlist.js +46 -24
- package/dist/schemas/investor-signal.d.ts +52 -12
- package/dist/schemas/investor-signal.js +59 -39
- package/dist/schemas/investor.d.ts +3 -3
- package/dist/schemas/job-application.d.ts +291 -279
- package/dist/schemas/job-application.js +59 -95
- package/dist/schemas/job.d.ts +200 -659
- package/dist/schemas/job.js +98 -231
- package/dist/schemas/like.d.ts +3 -0
- package/dist/schemas/message.d.ts +125 -94
- package/dist/schemas/message.js +54 -55
- package/dist/schemas/notification.d.ts +99 -32
- package/dist/schemas/notification.js +46 -42
- package/dist/schemas/payout-method.d.ts +51 -31
- package/dist/schemas/payout-method.js +48 -58
- package/dist/schemas/post.d.ts +295 -204
- package/dist/schemas/post.js +148 -272
- package/dist/schemas/product.d.ts +308 -229
- package/dist/schemas/product.js +111 -94
- package/dist/schemas/project.d.ts +75 -107
- package/dist/schemas/project.js +1 -5
- package/dist/schemas/seller.d.ts +10 -10
- package/dist/schemas/user-strike.d.ts +3 -0
- package/dist/schemas/user.d.ts +128 -126
- package/dist/schemas/user.js +10 -1
- package/dist/schemas/username.d.ts +1 -0
- package/dist/schemas/view.d.ts +1 -0
- package/dist/types/activity.d.ts +1 -3
- package/dist/types/auth.d.ts +1 -4
- package/dist/types/bookmark.d.ts +1 -3
- package/dist/types/chat.d.ts +1 -11
- package/dist/types/comment.d.ts +1 -5
- package/dist/types/common.d.ts +2 -8
- package/dist/types/discipline.d.ts +1 -11
- package/dist/types/entity-stats.d.ts +1 -3
- package/dist/types/feed.d.ts +1 -5
- package/dist/types/investor-shortlist.d.ts +1 -6
- package/dist/types/investor-signal.d.ts +1 -7
- package/dist/types/like.d.ts +1 -3
- package/dist/types/message.d.ts +1 -9
- package/dist/types/notification.d.ts +1 -9
- package/dist/types/user-strike.d.ts +1 -5
- package/dist/types/username.d.ts +1 -3
- package/package.json +1 -1
- package/src/index.ts +4 -5
- package/src/schemas/activity.ts +5 -4
- package/src/schemas/auth.ts +14 -10
- package/src/schemas/bookmark.ts +48 -29
- package/src/schemas/chat.ts +79 -18
- package/src/schemas/comment.ts +63 -49
- package/src/schemas/common.ts +8 -3
- package/src/schemas/creative.ts +3 -3
- package/src/schemas/discipline.ts +103 -71
- package/src/schemas/entity-stats.ts +32 -38
- package/src/schemas/feed.ts +62 -15
- package/src/schemas/file.ts +85 -58
- package/src/schemas/index.ts +1 -0
- package/src/schemas/investor-shortlist.ts +57 -8
- package/src/schemas/investor-signal.ts +79 -27
- package/src/schemas/job-application.ts +81 -115
- package/src/schemas/job.ts +160 -301
- package/src/schemas/like.ts +5 -1
- package/src/schemas/message.ts +71 -64
- package/src/schemas/notification.ts +63 -51
- package/src/schemas/payout-method.ts +47 -63
- package/src/schemas/post.ts +211 -272
- package/src/schemas/product.ts +202 -139
- package/src/schemas/project.ts +7 -10
- package/src/schemas/user-strike.ts +7 -1
- package/src/schemas/user.ts +17 -5
- package/src/schemas/username.ts +5 -3
- package/src/schemas/view.ts +0 -50
- package/src/types/activity.ts +0 -4
- package/src/types/auth.ts +0 -5
- package/src/types/bookmark.ts +0 -4
- package/src/types/chat.ts +0 -31
- package/src/types/comment.ts +0 -12
- package/src/types/common.ts +0 -14
- package/src/types/discipline.ts +0 -32
- package/src/types/entity-stats.ts +0 -4
- package/src/types/feed.ts +0 -10
- package/src/types/index.ts +0 -16
- package/src/types/investor-shortlist.ts +0 -18
- package/src/types/investor-signal.ts +0 -26
- package/src/types/like.ts +0 -4
- package/src/types/message.ts +0 -26
- package/src/types/notification.ts +0 -34
- package/src/types/user-strike.ts +0 -10
- package/src/types/username.ts +0 -4
package/dist/schemas/user.d.ts
CHANGED
|
@@ -176,10 +176,10 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
|
|
|
176
176
|
workExperience: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
177
177
|
companyName: z.ZodString;
|
|
178
178
|
position: z.ZodString;
|
|
179
|
-
startDate: z.ZodOptional<z.
|
|
180
|
-
endDate: z.ZodOptional<z.
|
|
179
|
+
startDate: z.ZodOptional<z.ZodISODateTime>;
|
|
180
|
+
endDate: z.ZodOptional<z.ZodISODateTime>;
|
|
181
181
|
currentlyWorking: z.ZodDefault<z.ZodBoolean>;
|
|
182
|
-
description: z.
|
|
182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
183
183
|
}, z.core.$strip>>>;
|
|
184
184
|
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
185
185
|
url: z.ZodURL;
|
|
@@ -286,12 +286,12 @@ export type UserWithIdType = z.infer<typeof UserWithId>;
|
|
|
286
286
|
export declare const UserWithProjectsEntitySchema: z.ZodObject<{
|
|
287
287
|
userId: z.ZodCUID2;
|
|
288
288
|
projects: z.ZodArray<z.ZodObject<{
|
|
289
|
-
description: z.ZodOptional<z.ZodString>;
|
|
290
|
-
title: z.ZodString;
|
|
291
289
|
id: z.ZodCUID2;
|
|
292
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
293
290
|
userId: z.ZodCUID2;
|
|
291
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
294
292
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
293
|
+
description: z.ZodOptional<z.ZodString>;
|
|
294
|
+
title: z.ZodString;
|
|
295
295
|
url: z.ZodOptional<z.ZodURL>;
|
|
296
296
|
status: z.ZodEnum<{
|
|
297
297
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -351,7 +351,14 @@ export type UserWithProjectsEntity = z.infer<typeof UserWithProjectsEntitySchema
|
|
|
351
351
|
export declare const UserWithPostsEntitySchema: z.ZodObject<{
|
|
352
352
|
userId: z.ZodCUID2;
|
|
353
353
|
posts: z.ZodArray<z.ZodObject<{
|
|
354
|
-
|
|
354
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
355
|
+
id: z.ZodInt;
|
|
356
|
+
name: z.ZodString;
|
|
357
|
+
}, z.core.$strip>>>;
|
|
358
|
+
creatorUsername: z.ZodOptional<z.ZodString>;
|
|
359
|
+
creatorFullName: z.ZodOptional<z.ZodString>;
|
|
360
|
+
creatorImageUrl: z.ZodOptional<z.ZodString>;
|
|
361
|
+
createdAt: z.ZodISODateTime;
|
|
355
362
|
parentId: z.ZodOptional<z.ZodCUID2>;
|
|
356
363
|
parentType: z.ZodDefault<z.ZodEnum<{
|
|
357
364
|
readonly PROJECT: "PROJECT";
|
|
@@ -365,11 +372,16 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
|
|
|
365
372
|
readonly COMMENT: "COMMENT";
|
|
366
373
|
readonly JOB_APPLICATION: "JOB_APPLICATION";
|
|
367
374
|
}>>;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
375
|
+
content: z.ZodOptional<z.ZodString>;
|
|
376
|
+
postType: z.ZodDefault<z.ZodEnum<{
|
|
377
|
+
readonly MARKETPLACE: "MARKETPLACE";
|
|
378
|
+
readonly PROJECT: "PROJECT";
|
|
379
|
+
readonly JOB_OPENING: "JOB_OPENING";
|
|
380
|
+
readonly DEFAULT_POST: "DEFAULT_POST";
|
|
381
|
+
readonly POST_WITH_LINKS: "POST_WITH_LINKS";
|
|
382
|
+
readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
|
|
383
|
+
readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
|
|
384
|
+
}>>;
|
|
373
385
|
badge: z.ZodOptional<z.ZodEnum<{
|
|
374
386
|
readonly NETWORKING: "Networking";
|
|
375
387
|
readonly FUNDING: "Funding";
|
|
@@ -380,32 +392,21 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
|
|
|
380
392
|
readonly DISCUSSION: "Discussion";
|
|
381
393
|
readonly MENTORSHIP: "Mentorship";
|
|
382
394
|
}>>;
|
|
383
|
-
|
|
384
|
-
creatorUsername: z.ZodOptional<z.ZodString>;
|
|
385
|
-
creatorFullName: z.ZodOptional<z.ZodString>;
|
|
386
|
-
creatorImageUrl: z.ZodOptional<z.ZodCUID2>;
|
|
387
|
-
content: z.ZodOptional<z.ZodString>;
|
|
388
|
-
postType: z.ZodEnum<{
|
|
389
|
-
readonly MARKETPLACE: "MARKETPLACE";
|
|
390
|
-
readonly PROJECT: "PROJECT";
|
|
391
|
-
readonly JOB_OPENING: "JOB_OPENING";
|
|
392
|
-
readonly DEFAULT_POST: "DEFAULT_POST";
|
|
393
|
-
readonly POST_WITH_LINKS: "POST_WITH_LINKS";
|
|
394
|
-
readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
|
|
395
|
-
readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
|
|
396
|
-
}>;
|
|
397
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
395
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodCUID2>>;
|
|
398
396
|
linkMeta: z.ZodOptional<z.ZodObject<{
|
|
399
397
|
url: z.ZodURL;
|
|
400
398
|
title: z.ZodOptional<z.ZodString>;
|
|
401
399
|
description: z.ZodOptional<z.ZodString>;
|
|
402
400
|
image: z.ZodOptional<z.ZodURL>;
|
|
403
401
|
}, z.core.$strip>>;
|
|
402
|
+
id: z.ZodCUID2;
|
|
403
|
+
userId: z.ZodCUID2;
|
|
404
404
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
405
|
-
|
|
405
|
+
createdAt: z.ZodISODateTime;
|
|
406
|
+
updatedAt: z.ZodISODateTime;
|
|
407
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
406
408
|
key: z.ZodString;
|
|
407
409
|
mimeType: z.ZodString;
|
|
408
|
-
url: z.ZodURL;
|
|
409
410
|
parentId: z.ZodNullable<z.ZodCUID2>;
|
|
410
411
|
parentType: z.ZodNullable<z.ZodEnum<{
|
|
411
412
|
readonly PROJECT: "PROJECT";
|
|
@@ -421,9 +422,8 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
|
|
|
421
422
|
}>>;
|
|
422
423
|
isThumbnail: z.ZodNullable<z.ZodBoolean>;
|
|
423
424
|
order: z.ZodNumber;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
425
|
+
id: z.ZodCUID2;
|
|
426
|
+
url: z.ZodURL;
|
|
427
427
|
}, z.core.$strip>>>;
|
|
428
428
|
}, z.core.$strip>>;
|
|
429
429
|
}, z.core.$strip>;
|
|
@@ -448,9 +448,9 @@ export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
|
|
|
448
448
|
readonly JOB_APPLICATION: "JOB_APPLICATION";
|
|
449
449
|
}>;
|
|
450
450
|
project: z.ZodObject<{
|
|
451
|
+
id: z.ZodCUID2;
|
|
451
452
|
description: z.ZodOptional<z.ZodString>;
|
|
452
453
|
title: z.ZodString;
|
|
453
|
-
id: z.ZodCUID2;
|
|
454
454
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
455
455
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
456
456
|
imagePlaceholderUrl: z.ZodURL;
|
|
@@ -479,13 +479,13 @@ export declare const UserWithPostLikesEntitySchema: z.ZodObject<{
|
|
|
479
479
|
readonly JOB_APPLICATION: "JOB_APPLICATION";
|
|
480
480
|
}>;
|
|
481
481
|
post: z.ZodObject<{
|
|
482
|
-
id: z.ZodCUID2;
|
|
483
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
484
482
|
parentId: z.ZodOptional<z.ZodCUID2>;
|
|
485
483
|
content: z.ZodOptional<z.ZodString>;
|
|
484
|
+
id: z.ZodCUID2;
|
|
485
|
+
createdAt: z.ZodISODateTime;
|
|
486
486
|
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
487
|
-
name: z.ZodString;
|
|
488
487
|
id: z.ZodInt;
|
|
488
|
+
name: z.ZodString;
|
|
489
489
|
}, z.core.$strip>>>;
|
|
490
490
|
}, z.core.$strip>;
|
|
491
491
|
}, z.core.$strip>>;
|
|
@@ -499,9 +499,7 @@ export type UserWithPostLikesEntity = z.infer<typeof UserWithPostLikesEntitySche
|
|
|
499
499
|
export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
|
|
500
500
|
userId: z.ZodCUID2;
|
|
501
501
|
jobBookmarks: z.ZodArray<z.ZodObject<{
|
|
502
|
-
|
|
503
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
504
|
-
userId: z.ZodCUID2;
|
|
502
|
+
createdAt: z.ZodISODateTime;
|
|
505
503
|
parentId: z.ZodCUID2;
|
|
506
504
|
parentType: z.ZodEnum<{
|
|
507
505
|
readonly PROJECT: "PROJECT";
|
|
@@ -515,10 +513,11 @@ export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
|
|
|
515
513
|
readonly COMMENT: "COMMENT";
|
|
516
514
|
readonly JOB_APPLICATION: "JOB_APPLICATION";
|
|
517
515
|
}>;
|
|
516
|
+
id: z.ZodCUID2;
|
|
517
|
+
userId: z.ZodCUID2;
|
|
518
518
|
job: z.ZodObject<{
|
|
519
519
|
id: z.ZodCUID2;
|
|
520
520
|
title: z.ZodString;
|
|
521
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
522
521
|
brandId: z.ZodCUID2;
|
|
523
522
|
brandName: z.ZodString;
|
|
524
523
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -526,19 +525,11 @@ export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
|
|
|
526
525
|
GIG: "GIG";
|
|
527
526
|
ROLE: "ROLE";
|
|
528
527
|
}>;
|
|
529
|
-
status: z.ZodOptional<z.ZodString>;
|
|
530
|
-
employmentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
531
|
-
workMode: z.ZodString;
|
|
532
|
-
gigType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
533
528
|
location: z.ZodString;
|
|
534
529
|
overview: z.ZodString;
|
|
535
530
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
wagesCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
539
|
-
wagesType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
540
|
-
createdAt: z.ZodString;
|
|
541
|
-
updatedAt: z.ZodString;
|
|
531
|
+
createdAt: z.ZodISODateTime;
|
|
532
|
+
updatedAt: z.ZodISODateTime;
|
|
542
533
|
isBookmarked: z.ZodDefault<z.ZodBoolean>;
|
|
543
534
|
}, z.core.$strip>;
|
|
544
535
|
}, z.core.$strip>>;
|
|
@@ -547,9 +538,7 @@ export type UserWithJobBookmarksEntity = z.infer<typeof UserWithJobBookmarksEnti
|
|
|
547
538
|
export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
|
|
548
539
|
userId: z.ZodCUID2;
|
|
549
540
|
projectBookmarks: z.ZodArray<z.ZodObject<{
|
|
550
|
-
|
|
551
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
552
|
-
userId: z.ZodCUID2;
|
|
541
|
+
createdAt: z.ZodISODateTime;
|
|
553
542
|
parentId: z.ZodCUID2;
|
|
554
543
|
parentType: z.ZodEnum<{
|
|
555
544
|
readonly PROJECT: "PROJECT";
|
|
@@ -563,6 +552,8 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
|
|
|
563
552
|
readonly COMMENT: "COMMENT";
|
|
564
553
|
readonly JOB_APPLICATION: "JOB_APPLICATION";
|
|
565
554
|
}>;
|
|
555
|
+
id: z.ZodCUID2;
|
|
556
|
+
userId: z.ZodCUID2;
|
|
566
557
|
project: z.ZodObject<{
|
|
567
558
|
id: z.ZodString;
|
|
568
559
|
userId: z.ZodString;
|
|
@@ -618,10 +609,11 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
|
|
|
618
609
|
startDate: z.ZodOptional<z.ZodNumber>;
|
|
619
610
|
endDate: z.ZodOptional<z.ZodNumber>;
|
|
620
611
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
621
|
-
|
|
612
|
+
createdAt: z.ZodISODateTime;
|
|
613
|
+
updatedAt: z.ZodISODateTime;
|
|
614
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
622
615
|
key: z.ZodString;
|
|
623
616
|
mimeType: z.ZodString;
|
|
624
|
-
url: z.ZodURL;
|
|
625
617
|
parentId: z.ZodNullable<z.ZodCUID2>;
|
|
626
618
|
parentType: z.ZodNullable<z.ZodEnum<{
|
|
627
619
|
readonly PROJECT: "PROJECT";
|
|
@@ -637,9 +629,8 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
|
|
|
637
629
|
}>>;
|
|
638
630
|
isThumbnail: z.ZodNullable<z.ZodBoolean>;
|
|
639
631
|
order: z.ZodNumber;
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
632
|
+
id: z.ZodCUID2;
|
|
633
|
+
url: z.ZodURL;
|
|
643
634
|
}, z.core.$strip>>>;
|
|
644
635
|
}, z.core.$strip>;
|
|
645
636
|
}, z.core.$strip>>;
|
|
@@ -648,9 +639,7 @@ export type UserWithProjectBookmarksEntity = z.infer<typeof UserWithProjectBookm
|
|
|
648
639
|
export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
|
|
649
640
|
userId: z.ZodCUID2;
|
|
650
641
|
postBookmarks: z.ZodArray<z.ZodObject<{
|
|
651
|
-
|
|
652
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
653
|
-
userId: z.ZodCUID2;
|
|
642
|
+
createdAt: z.ZodISODateTime;
|
|
654
643
|
parentId: z.ZodCUID2;
|
|
655
644
|
parentType: z.ZodEnum<{
|
|
656
645
|
readonly PROJECT: "PROJECT";
|
|
@@ -664,8 +653,17 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
|
|
|
664
653
|
readonly COMMENT: "COMMENT";
|
|
665
654
|
readonly JOB_APPLICATION: "JOB_APPLICATION";
|
|
666
655
|
}>;
|
|
656
|
+
id: z.ZodCUID2;
|
|
657
|
+
userId: z.ZodCUID2;
|
|
667
658
|
post: z.ZodObject<{
|
|
668
|
-
|
|
659
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
660
|
+
id: z.ZodInt;
|
|
661
|
+
name: z.ZodString;
|
|
662
|
+
}, z.core.$strip>>>;
|
|
663
|
+
creatorUsername: z.ZodOptional<z.ZodString>;
|
|
664
|
+
creatorFullName: z.ZodOptional<z.ZodString>;
|
|
665
|
+
creatorImageUrl: z.ZodOptional<z.ZodString>;
|
|
666
|
+
createdAt: z.ZodISODateTime;
|
|
669
667
|
parentId: z.ZodOptional<z.ZodCUID2>;
|
|
670
668
|
parentType: z.ZodDefault<z.ZodEnum<{
|
|
671
669
|
readonly PROJECT: "PROJECT";
|
|
@@ -679,11 +677,16 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
|
|
|
679
677
|
readonly COMMENT: "COMMENT";
|
|
680
678
|
readonly JOB_APPLICATION: "JOB_APPLICATION";
|
|
681
679
|
}>>;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
680
|
+
content: z.ZodOptional<z.ZodString>;
|
|
681
|
+
postType: z.ZodDefault<z.ZodEnum<{
|
|
682
|
+
readonly MARKETPLACE: "MARKETPLACE";
|
|
683
|
+
readonly PROJECT: "PROJECT";
|
|
684
|
+
readonly JOB_OPENING: "JOB_OPENING";
|
|
685
|
+
readonly DEFAULT_POST: "DEFAULT_POST";
|
|
686
|
+
readonly POST_WITH_LINKS: "POST_WITH_LINKS";
|
|
687
|
+
readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
|
|
688
|
+
readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
|
|
689
|
+
}>>;
|
|
687
690
|
badge: z.ZodOptional<z.ZodEnum<{
|
|
688
691
|
readonly NETWORKING: "Networking";
|
|
689
692
|
readonly FUNDING: "Funding";
|
|
@@ -694,32 +697,21 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
|
|
|
694
697
|
readonly DISCUSSION: "Discussion";
|
|
695
698
|
readonly MENTORSHIP: "Mentorship";
|
|
696
699
|
}>>;
|
|
697
|
-
|
|
698
|
-
creatorUsername: z.ZodOptional<z.ZodString>;
|
|
699
|
-
creatorFullName: z.ZodOptional<z.ZodString>;
|
|
700
|
-
creatorImageUrl: z.ZodOptional<z.ZodCUID2>;
|
|
701
|
-
content: z.ZodOptional<z.ZodString>;
|
|
702
|
-
postType: z.ZodEnum<{
|
|
703
|
-
readonly MARKETPLACE: "MARKETPLACE";
|
|
704
|
-
readonly PROJECT: "PROJECT";
|
|
705
|
-
readonly JOB_OPENING: "JOB_OPENING";
|
|
706
|
-
readonly DEFAULT_POST: "DEFAULT_POST";
|
|
707
|
-
readonly POST_WITH_LINKS: "POST_WITH_LINKS";
|
|
708
|
-
readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
|
|
709
|
-
readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
|
|
710
|
-
}>;
|
|
711
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
700
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodCUID2>>;
|
|
712
701
|
linkMeta: z.ZodOptional<z.ZodObject<{
|
|
713
702
|
url: z.ZodURL;
|
|
714
703
|
title: z.ZodOptional<z.ZodString>;
|
|
715
704
|
description: z.ZodOptional<z.ZodString>;
|
|
716
705
|
image: z.ZodOptional<z.ZodURL>;
|
|
717
706
|
}, z.core.$strip>>;
|
|
707
|
+
id: z.ZodCUID2;
|
|
708
|
+
userId: z.ZodCUID2;
|
|
718
709
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
719
|
-
|
|
710
|
+
createdAt: z.ZodISODateTime;
|
|
711
|
+
updatedAt: z.ZodISODateTime;
|
|
712
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
720
713
|
key: z.ZodString;
|
|
721
714
|
mimeType: z.ZodString;
|
|
722
|
-
url: z.ZodURL;
|
|
723
715
|
parentId: z.ZodNullable<z.ZodCUID2>;
|
|
724
716
|
parentType: z.ZodNullable<z.ZodEnum<{
|
|
725
717
|
readonly PROJECT: "PROJECT";
|
|
@@ -735,9 +727,8 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
|
|
|
735
727
|
}>>;
|
|
736
728
|
isThumbnail: z.ZodNullable<z.ZodBoolean>;
|
|
737
729
|
order: z.ZodNumber;
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
730
|
+
id: z.ZodCUID2;
|
|
731
|
+
url: z.ZodURL;
|
|
741
732
|
}, z.core.$strip>>>;
|
|
742
733
|
}, z.core.$strip>;
|
|
743
734
|
}, z.core.$strip>>;
|
|
@@ -746,29 +737,13 @@ export type UserWithPostBookmarksEntity = z.infer<typeof UserWithPostBookmarksEn
|
|
|
746
737
|
export declare const UserWithProductsEntitySchema: z.ZodObject<{
|
|
747
738
|
userId: z.ZodCUID2;
|
|
748
739
|
products: z.ZodArray<z.ZodObject<{
|
|
749
|
-
|
|
750
|
-
sellerId: z.ZodCUID2;
|
|
751
|
-
sellerUsername: z.ZodString;
|
|
752
|
-
sellerName: z.ZodString;
|
|
753
|
-
sellerImageUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
|
|
754
|
-
title: z.ZodString;
|
|
755
|
-
description: z.ZodString;
|
|
756
|
-
keyFeatures: z.ZodString;
|
|
757
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
758
|
-
readonly ACTIVE: "ACTIVE";
|
|
759
|
-
readonly UNDER_REVIEW: "UNDER_REVIEW";
|
|
760
|
-
readonly DRAFT: "DRAFT";
|
|
761
|
-
readonly ARCHIVED: "ARCHIVED";
|
|
762
|
-
readonly DELETED: "DELETED";
|
|
763
|
-
}>>;
|
|
764
|
-
category: z.ZodString;
|
|
765
|
-
subcategory: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
766
|
-
tags: z.ZodArray<z.ZodString>;
|
|
740
|
+
subcategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
767
741
|
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
768
|
-
|
|
742
|
+
createdAt: z.ZodISODateTime;
|
|
743
|
+
updatedAt: z.ZodISODateTime;
|
|
744
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
769
745
|
key: z.ZodString;
|
|
770
746
|
mimeType: z.ZodString;
|
|
771
|
-
url: z.ZodURL;
|
|
772
747
|
parentId: z.ZodNullable<z.ZodCUID2>;
|
|
773
748
|
parentType: z.ZodNullable<z.ZodEnum<{
|
|
774
749
|
readonly PROJECT: "PROJECT";
|
|
@@ -784,19 +759,34 @@ export declare const UserWithProductsEntitySchema: z.ZodObject<{
|
|
|
784
759
|
}>>;
|
|
785
760
|
isThumbnail: z.ZodNullable<z.ZodBoolean>;
|
|
786
761
|
order: z.ZodNumber;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
762
|
+
id: z.ZodCUID2;
|
|
763
|
+
url: z.ZodURL;
|
|
790
764
|
}, z.core.$strip>>>;
|
|
791
765
|
productLinks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
792
766
|
title: z.ZodNullable<z.ZodString>;
|
|
793
767
|
url: z.ZodString;
|
|
794
768
|
}, z.core.$strip>>>;
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
769
|
+
ownsRights: z.ZodBoolean;
|
|
770
|
+
noHarmfulContent: z.ZodBoolean;
|
|
771
|
+
providesSupport: z.ZodBoolean;
|
|
772
|
+
agreesToTerms: z.ZodBoolean;
|
|
773
|
+
supportEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
774
|
+
supportPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
775
|
+
createdAt: z.ZodISODateTime;
|
|
776
|
+
updatedAt: z.ZodISODateTime;
|
|
777
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
778
|
+
title: z.ZodString;
|
|
779
|
+
description: z.ZodString;
|
|
780
|
+
keyFeatures: z.ZodString;
|
|
781
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
782
|
+
readonly ACTIVE: "ACTIVE";
|
|
783
|
+
readonly UNDER_REVIEW: "UNDER_REVIEW";
|
|
784
|
+
readonly DRAFT: "DRAFT";
|
|
785
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
786
|
+
readonly DELETED: "DELETED";
|
|
787
|
+
}>>;
|
|
788
|
+
category: z.ZodString;
|
|
789
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
800
790
|
currency: z.ZodEnum<{
|
|
801
791
|
readonly USD: "USD (United States Dollar)";
|
|
802
792
|
readonly EUR: "EUR (Euro)";
|
|
@@ -809,8 +799,13 @@ export declare const UserWithProductsEntitySchema: z.ZodObject<{
|
|
|
809
799
|
readonly INR: "INR (Indian Rupee)";
|
|
810
800
|
readonly ZAR: "ZAR (South African Rand)";
|
|
811
801
|
}>;
|
|
812
|
-
|
|
813
|
-
|
|
802
|
+
pricingModel: z.ZodDefault<z.ZodEnum<{
|
|
803
|
+
readonly FREE: "Free";
|
|
804
|
+
readonly FIXED: "Fixed";
|
|
805
|
+
readonly PWYW: "Pay What You Want";
|
|
806
|
+
}>>;
|
|
807
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
808
|
+
suggestedPrice: z.ZodOptional<z.ZodNumber>;
|
|
814
809
|
discounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
815
810
|
discountType: z.ZodEnum<{
|
|
816
811
|
readonly FIXED_AMOUNT: "Fixed Amount";
|
|
@@ -820,18 +815,25 @@ export declare const UserWithProductsEntitySchema: z.ZodObject<{
|
|
|
820
815
|
discountCode: z.ZodOptional<z.ZodString>;
|
|
821
816
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
822
817
|
}, z.core.$strip>>>;
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
supportPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
829
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
830
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
831
|
-
deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
818
|
+
id: z.ZodCUID2;
|
|
819
|
+
sellerId: z.ZodCUID2;
|
|
820
|
+
sellerUsername: z.ZodString;
|
|
821
|
+
sellerName: z.ZodString;
|
|
822
|
+
sellerImageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
832
823
|
}, z.core.$strip>>;
|
|
833
824
|
}, z.core.$strip>;
|
|
834
825
|
export type UserWithProductsEntity = z.infer<typeof UserWithProductsEntitySchema>;
|
|
826
|
+
export declare const UserAuthStatusEntitySchema: z.ZodObject<{
|
|
827
|
+
exists: z.ZodBoolean;
|
|
828
|
+
isOAuthOnly: z.ZodBoolean;
|
|
829
|
+
providers: z.ZodArray<z.ZodString>;
|
|
830
|
+
}, z.core.$strip>;
|
|
831
|
+
export declare const UserWithJobBookmarksInputSchema: z.ZodObject<{
|
|
832
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
833
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
834
|
+
}, z.core.$strip>;
|
|
835
|
+
export type UserAuthStatusEntity = z.infer<typeof UserAuthStatusEntitySchema>;
|
|
836
|
+
export type UserWithJobBookmarksInput = z.infer<typeof UserWithJobBookmarksEntitySchema>;
|
|
835
837
|
/**
|
|
836
838
|
* --------------------------------
|
|
837
839
|
* FOLLOW SYSTEM
|
package/dist/schemas/user.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserSearchDocumentSchema = exports.GetUserActivityOutputSchema = exports.GetUserActivityInputSchema = exports.SearchUsersOutputSchema = exports.SearchUsersInputSchema = exports.UserWithFollowersEntitySchema = exports.UserWithFollowingEntitySchema = exports.UserWithProductsEntitySchema = exports.UserWithPostBookmarksEntitySchema = exports.UserWithProjectBookmarksEntitySchema = exports.UserWithJobBookmarksEntitySchema = exports.UserWithPostLikesEntitySchema = exports.UserWithProjectLikesEntitySchema = exports.UserWithPostsEntitySchema = exports.UserWithProjectsEntitySchema = exports.UserStatsEntitySchema = exports.UserProfileEntitySchema = exports.MinimalUserSchema = exports.UserEntitySchema = void 0;
|
|
3
|
+
exports.UserSearchDocumentSchema = exports.GetUserActivityOutputSchema = exports.GetUserActivityInputSchema = exports.SearchUsersOutputSchema = exports.SearchUsersInputSchema = exports.UserWithFollowersEntitySchema = exports.UserWithFollowingEntitySchema = exports.UserWithJobBookmarksInputSchema = exports.UserAuthStatusEntitySchema = exports.UserWithProductsEntitySchema = exports.UserWithPostBookmarksEntitySchema = exports.UserWithProjectBookmarksEntitySchema = exports.UserWithJobBookmarksEntitySchema = exports.UserWithPostLikesEntitySchema = exports.UserWithProjectLikesEntitySchema = exports.UserWithPostsEntitySchema = exports.UserWithProjectsEntitySchema = exports.UserStatsEntitySchema = exports.UserProfileEntitySchema = exports.MinimalUserSchema = exports.UserEntitySchema = void 0;
|
|
4
4
|
const zod_openapi_1 = require("@hono/zod-openapi");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
const project_1 = require("./project");
|
|
@@ -130,6 +130,15 @@ exports.UserWithProductsEntitySchema = zod_openapi_1.z.object({
|
|
|
130
130
|
userId: zod_openapi_1.z.cuid2(),
|
|
131
131
|
products: zod_openapi_1.z.array(product_1.ProductEntitySchema),
|
|
132
132
|
});
|
|
133
|
+
exports.UserAuthStatusEntitySchema = zod_openapi_1.z.object({
|
|
134
|
+
exists: zod_openapi_1.z.boolean(),
|
|
135
|
+
isOAuthOnly: zod_openapi_1.z.boolean(),
|
|
136
|
+
providers: zod_openapi_1.z.array(zod_openapi_1.z.string()),
|
|
137
|
+
});
|
|
138
|
+
exports.UserWithJobBookmarksInputSchema = zod_openapi_1.z.object({
|
|
139
|
+
cursor: zod_openapi_1.z.string().optional(),
|
|
140
|
+
limit: zod_openapi_1.z.coerce.number().int().positive().optional(),
|
|
141
|
+
});
|
|
133
142
|
/**
|
|
134
143
|
* --------------------------------
|
|
135
144
|
* FOLLOW SYSTEM
|
package/dist/schemas/view.d.ts
CHANGED
package/dist/types/activity.d.ts
CHANGED
package/dist/types/auth.d.ts
CHANGED
package/dist/types/bookmark.d.ts
CHANGED
package/dist/types/chat.d.ts
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { AcceptMessageRequestInputSchema, BaseChatEntitySchema, ChatEntitySchema, ChatIdSchema, CreateChatInputSchema, CreateChatOutputSchema, GetChatsForUserOutputSchema, GetChatsOutputSchema } from "../schemas/chat";
|
|
3
|
-
export type BaseChatEntity = z.infer<typeof BaseChatEntitySchema>;
|
|
4
|
-
export type ChatEntity = z.infer<typeof ChatEntitySchema>;
|
|
5
|
-
export type CreateChatInput = z.infer<typeof CreateChatInputSchema>;
|
|
6
|
-
export type CreateChatOutput = z.infer<typeof CreateChatOutputSchema>;
|
|
7
|
-
export type ChatIdInput = z.infer<typeof ChatIdSchema>;
|
|
8
|
-
export type GetChatsOutput = z.infer<typeof GetChatsOutputSchema>;
|
|
9
|
-
export type GetChatsForUserOutput = z.infer<typeof GetChatsForUserOutputSchema>;
|
|
10
|
-
export type AcceptMessageRequestInput = z.infer<typeof AcceptMessageRequestInputSchema>;
|
|
11
|
-
export type DeclineMessageRequestInput = AcceptMessageRequestInput;
|
|
1
|
+
export type { AcceptMessageRequestInput, BaseChatEntity, ChatEntity, ChatIdInput, CreateChatInput, CreateChatOutput, DeclineMessageRequestInput, GetChatsForUserOutput, GetChatsOutput, } from "../schemas/chat";
|
package/dist/types/comment.d.ts
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { CommentEntitySchema, CommentInputSchema, CommentOutputSchema } from "../schemas/comment";
|
|
3
|
-
export type CommentEntity = z.infer<typeof CommentEntitySchema>;
|
|
4
|
-
export type CommentInput = z.infer<typeof CommentInputSchema>;
|
|
5
|
-
export type CommentOutput = z.infer<typeof CommentOutputSchema>;
|
|
1
|
+
export type { CommentEntity, CommentInput, CommentOutput, } from "../schemas/comment";
|
package/dist/types/common.d.ts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export type ProjectSocialGraphEntity = z.infer<typeof ProjectSocialGraphEntitySchema>;
|
|
4
|
-
export type PostSocialGraphEntity = z.infer<typeof ProjectSocialGraphEntitySchema>;
|
|
5
|
-
export type Cursor = {
|
|
6
|
-
id: string;
|
|
7
|
-
createdAt: string;
|
|
8
|
-
};
|
|
1
|
+
export type { Cursor } from "../schemas/common";
|
|
2
|
+
export type { PostSocialGraphEntity, ProjectSocialGraphEntity, } from "../schemas/project";
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { BaseDisciplineEntitySchema, CreateDisciplinesInputSchema, CreateDisciplinesOutputSchema, DisciplineEntitySchema, DisciplineUpdateOutputSchema, GetDisciplinesInputSchema, GetDisciplinesOutputSchema, SlugInputSchema, TagEntitySchema } from "../schemas/discipline";
|
|
3
|
-
export type BaseDisciplineEntity = z.infer<typeof BaseDisciplineEntitySchema>;
|
|
4
|
-
export type DisciplineEntity = z.infer<typeof DisciplineEntitySchema>;
|
|
5
|
-
export type DisciplineUpdateOutput = z.infer<typeof DisciplineUpdateOutputSchema>;
|
|
6
|
-
export type CreateDisciplinesInput = z.infer<typeof CreateDisciplinesInputSchema>;
|
|
7
|
-
export type CreateDisciplinesOutput = z.infer<typeof CreateDisciplinesOutputSchema>;
|
|
8
|
-
export type GetDisciplinesInput = z.infer<typeof GetDisciplinesInputSchema>;
|
|
9
|
-
export type GetDisciplinesOutput = z.infer<typeof GetDisciplinesOutputSchema>;
|
|
10
|
-
export type SlugInput = z.infer<typeof SlugInputSchema>;
|
|
11
|
-
export type TagEntity = z.infer<typeof TagEntitySchema>;
|
|
1
|
+
export type { BaseDisciplineEntity, CreateDisciplinesInput, CreateDisciplinesOutput, DisciplineEntity, DisciplineUpdateOutput, GetDisciplinesInput, GetDisciplinesOutput, SlugInput, TagEntity, } from "../schemas/discipline";
|
package/dist/types/feed.d.ts
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FeedTagsInputSchema, FeedTagsSchema, TrendingUsersOutputSchema } from "../schemas/feed";
|
|
3
|
-
export type FeedTagsInput = z.infer<typeof FeedTagsInputSchema>;
|
|
4
|
-
export type FeedTagsOutput = z.infer<typeof FeedTagsSchema>;
|
|
5
|
-
export type TrendingUsersOutput = z.infer<typeof TrendingUsersOutputSchema>;
|
|
1
|
+
export type { FeedTagsInput, FeedTagsOutput, TrendingUsersOutput, } from "../schemas/feed";
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { CreateInvestorShortlistInputSchema, GetInvestorShortlistInputSchema, GetInvestorShortlistOutputSchema, InvestorShortlistEntitySchema } from "../schemas/investor-shortlist";
|
|
3
|
-
export type InvestorShortlistEntity = z.infer<typeof InvestorShortlistEntitySchema>;
|
|
4
|
-
export type CreateInvestorShortlistInput = z.infer<typeof CreateInvestorShortlistInputSchema>;
|
|
5
|
-
export type GetInvestorShortlistInput = z.infer<typeof GetInvestorShortlistInputSchema>;
|
|
6
|
-
export type GetInvestorShortlistOutput = z.infer<typeof GetInvestorShortlistOutputSchema>;
|
|
1
|
+
export type { CreateInvestorShortlistInput, GetInvestorShortlistInput, GetInvestorShortlistOutput, InvestorShortlistEntity, } from "../schemas/investor-shortlist";
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { CreateInvestorSignalInputSchema, GetInvestorSignalInputSchema, GetInvestorSignalOutputSchema, InvestorSignalEntitySchema, UpdateInvestorSignalStatusSchema } from "../schemas/investor-signal";
|
|
3
|
-
export type InvestorSignalEntity = z.infer<typeof InvestorSignalEntitySchema>;
|
|
4
|
-
export type CreateInvestorSignalInput = z.infer<typeof CreateInvestorSignalInputSchema>;
|
|
5
|
-
export type UpdateInvestorSignalStatusInput = z.infer<typeof UpdateInvestorSignalStatusSchema>;
|
|
6
|
-
export type GetInvestorSignalInput = z.infer<typeof GetInvestorSignalInputSchema>;
|
|
7
|
-
export type GetInvestorSignalOutput = z.infer<typeof GetInvestorSignalOutputSchema>;
|
|
1
|
+
export type { CreateInvestorSignalInput, GetInvestorSignalInput, GetInvestorSignalOutput, InvestorSignalEntity, UpdateInvestorSignalStatusInput, } from "../schemas/investor-signal";
|
package/dist/types/like.d.ts
CHANGED
package/dist/types/message.d.ts
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { CreateMessageInputSchema, DeleteMessagesInputSchema, EditMessageInputSchema, GetMessagesOutputSchema, MessageEntitySchema, MessageFileEntitySchema, MessageWithFilesEntitySchema } from "../schemas/message";
|
|
3
|
-
export type MessageEntity = z.infer<typeof MessageEntitySchema>;
|
|
4
|
-
export type MessageFileEntity = z.infer<typeof MessageFileEntitySchema>;
|
|
5
|
-
export type MessageWithFilesEntity = z.infer<typeof MessageWithFilesEntitySchema>;
|
|
6
|
-
export type CreateMessageInput = z.infer<typeof CreateMessageInputSchema>;
|
|
7
|
-
export type GetMessagesOutput = z.infer<typeof GetMessagesOutputSchema>;
|
|
8
|
-
export type DeleteMessagesInput = z.infer<typeof DeleteMessagesInputSchema>;
|
|
9
|
-
export type EditMessageInput = z.infer<typeof EditMessageInputSchema>;
|
|
1
|
+
export type { CreateMessageInput, DeleteMessagesInput, EditMessageInput, GetMessagesOutput, MessageEntity, MessageFileEntity, MessageWithFilesEntity, } from "../schemas/message";
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { NotificationEntitySchema, MinimalNotificationEntitySchema, NotificationDetailsEntitySchema, ListNotificationsInputSchema, ListNotificationsOutputSchema, MarkReadInputSchema, NotificationCountOutputSchema } from "../schemas/notification";
|
|
3
|
-
export type NotificationEntity = z.infer<typeof NotificationEntitySchema>;
|
|
4
|
-
export type MinimalNotificationEntity = z.infer<typeof MinimalNotificationEntitySchema>;
|
|
5
|
-
export type NotificationDetailsEntity = z.infer<typeof NotificationDetailsEntitySchema>;
|
|
6
|
-
export type ListNotificationsInput = z.infer<typeof ListNotificationsInputSchema>;
|
|
7
|
-
export type ListNotificationsOutput = z.infer<typeof ListNotificationsOutputSchema>;
|
|
8
|
-
export type MarkReadInput = z.infer<typeof MarkReadInputSchema>;
|
|
9
|
-
export type NotificationCountOutput = z.infer<typeof NotificationCountOutputSchema>;
|
|
1
|
+
export type { ListNotificationsInput, ListNotificationsOutput, MarkReadInput, MinimalNotificationEntity, NotificationCountOutput, NotificationDetailsEntity, NotificationEntity, } from "../schemas/notification";
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { UpsertUserStrikeInputSchema, UserStrikeEntitySchema } from "../schemas/user-strike";
|
|
3
|
-
export type UserStrikeEntity = z.infer<typeof UserStrikeEntitySchema>;
|
|
4
|
-
export type UpsertUserStrikeInput = z.infer<typeof UpsertUserStrikeInputSchema>;
|
|
5
|
-
export type UpsertUserStrikeOutput = UserStrikeEntity;
|
|
1
|
+
export type { UpsertUserStrikeInput, UpsertUserStrikeOutput, UserStrikeEntity, } from "../schemas/user-strike";
|