gst-common 1.4.8 → 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 +6 -24
- package/dist/index.d.ts +6 -24
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -954,7 +954,6 @@ type TPostAllRemoveUpvote = {
|
|
|
954
954
|
type TPostPublicListComment = {
|
|
955
955
|
postId?: string;
|
|
956
956
|
commentId?: string;
|
|
957
|
-
hasUpvoted: "0" | "1";
|
|
958
957
|
} & BasePaginationParams;
|
|
959
958
|
|
|
960
959
|
type TProgramRegisteredMeTutorEdit = {
|
|
@@ -1538,29 +1537,12 @@ type TPostAllReplyCommentRes = TPostCommentEntity & {
|
|
|
1538
1537
|
parent: TPostCommentEntity;
|
|
1539
1538
|
};
|
|
1540
1539
|
type TPostPublicListCommentRes = {
|
|
1541
|
-
comments: {
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
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
|
@@ -954,7 +954,6 @@ type TPostAllRemoveUpvote = {
|
|
|
954
954
|
type TPostPublicListComment = {
|
|
955
955
|
postId?: string;
|
|
956
956
|
commentId?: string;
|
|
957
|
-
hasUpvoted: "0" | "1";
|
|
958
957
|
} & BasePaginationParams;
|
|
959
958
|
|
|
960
959
|
type TProgramRegisteredMeTutorEdit = {
|
|
@@ -1538,29 +1537,12 @@ type TPostAllReplyCommentRes = TPostCommentEntity & {
|
|
|
1538
1537
|
parent: TPostCommentEntity;
|
|
1539
1538
|
};
|
|
1540
1539
|
type TPostPublicListCommentRes = {
|
|
1541
|
-
comments: {
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
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
|
|