gst-common 1.4.9 → 1.4.10

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.cts CHANGED
@@ -1537,30 +1537,12 @@ type TPostAllReplyCommentRes = TPostCommentEntity & {
1537
1537
  parent: TPostCommentEntity;
1538
1538
  };
1539
1539
  type TPostPublicListCommentRes = {
1540
- comments: {
1541
- postComment_id: string;
1542
- hasUpvoted: "0" | "1";
1543
- postComment_createdAt: string;
1544
- postComment_updatedAt: string;
1545
- postComment_deletedAt: string | null;
1546
- postComment_content: string;
1547
- postComment_createdById: string;
1548
- postComment_updatedById: string | null;
1549
- postComment_postId: string;
1550
- postComment_parentId: string | null;
1551
- createdBy_id: string;
1552
- createdBy_fullname: string;
1553
- createdBy_avatar: string;
1554
- createdBy_type: string;
1555
- createdBy_registerMethod: string;
1556
- createdBy_username: string;
1557
- createdBy_providerId: string | null;
1558
- createdBy_updatedAt: string;
1559
- createdBy_createdAt: string;
1560
- createdBy_deletedAt: string | null;
1561
- replyCount: string;
1562
- upvoteCount: string;
1563
- }[];
1540
+ comments: (TPostCommentEntity & {
1541
+ upvoteCount: number;
1542
+ replyCount: number;
1543
+ hasUpvoted: boolean;
1544
+ createdBy: TAccountEntity;
1545
+ })[];
1564
1546
  total: number;
1565
1547
  };
1566
1548
 
package/dist/index.d.ts CHANGED
@@ -1537,30 +1537,12 @@ type TPostAllReplyCommentRes = TPostCommentEntity & {
1537
1537
  parent: TPostCommentEntity;
1538
1538
  };
1539
1539
  type TPostPublicListCommentRes = {
1540
- comments: {
1541
- postComment_id: string;
1542
- hasUpvoted: "0" | "1";
1543
- postComment_createdAt: string;
1544
- postComment_updatedAt: string;
1545
- postComment_deletedAt: string | null;
1546
- postComment_content: string;
1547
- postComment_createdById: string;
1548
- postComment_updatedById: string | null;
1549
- postComment_postId: string;
1550
- postComment_parentId: string | null;
1551
- createdBy_id: string;
1552
- createdBy_fullname: string;
1553
- createdBy_avatar: string;
1554
- createdBy_type: string;
1555
- createdBy_registerMethod: string;
1556
- createdBy_username: string;
1557
- createdBy_providerId: string | null;
1558
- createdBy_updatedAt: string;
1559
- createdBy_createdAt: string;
1560
- createdBy_deletedAt: string | null;
1561
- replyCount: string;
1562
- upvoteCount: string;
1563
- }[];
1540
+ comments: (TPostCommentEntity & {
1541
+ upvoteCount: number;
1542
+ replyCount: number;
1543
+ hasUpvoted: boolean;
1544
+ createdBy: TAccountEntity;
1545
+ })[];
1564
1546
  total: number;
1565
1547
  };
1566
1548
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.4.9",
3
+ "version": "1.4.10",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",