gst-common 1.4.56 → 1.4.58
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 +7 -4
- package/dist/index.d.ts +7 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1657,10 +1657,13 @@ type TPostAllCommentUpdateRes = TPostCommentEntity & {
|
|
|
1657
1657
|
updatedBy: TAccountEntity;
|
|
1658
1658
|
};
|
|
1659
1659
|
type TPostAllCommentDeleteRes = TPostCommentEntity;
|
|
1660
|
-
type TAccountPublicPreviewRes = TAccountEntity & {
|
|
1660
|
+
type TAccountPublicPreviewRes = Omit<TAccountEntity, "student"> & {
|
|
1661
|
+
student: (TStudentEntity & {
|
|
1662
|
+
totalProgram: number;
|
|
1663
|
+
}) | null;
|
|
1661
1664
|
hasFollowed: boolean;
|
|
1662
|
-
|
|
1663
|
-
|
|
1665
|
+
totalFollower: number;
|
|
1666
|
+
isMe: boolean;
|
|
1664
1667
|
};
|
|
1665
1668
|
type TAccountPublicListFollowerRes = TAccountEntity & {
|
|
1666
1669
|
followers: TAccountEntity[];
|
|
@@ -1704,7 +1707,7 @@ type TProgramPublicLearnedProgramRes = {
|
|
|
1704
1707
|
totalCompletedHours: number;
|
|
1705
1708
|
totalCompletedLessons: number;
|
|
1706
1709
|
classes: TClassEntity[];
|
|
1707
|
-
latestClass: TClassEntity
|
|
1710
|
+
latestClass: TClassEntity;
|
|
1708
1711
|
})[];
|
|
1709
1712
|
total: number;
|
|
1710
1713
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1657,10 +1657,13 @@ type TPostAllCommentUpdateRes = TPostCommentEntity & {
|
|
|
1657
1657
|
updatedBy: TAccountEntity;
|
|
1658
1658
|
};
|
|
1659
1659
|
type TPostAllCommentDeleteRes = TPostCommentEntity;
|
|
1660
|
-
type TAccountPublicPreviewRes = TAccountEntity & {
|
|
1660
|
+
type TAccountPublicPreviewRes = Omit<TAccountEntity, "student"> & {
|
|
1661
|
+
student: (TStudentEntity & {
|
|
1662
|
+
totalProgram: number;
|
|
1663
|
+
}) | null;
|
|
1661
1664
|
hasFollowed: boolean;
|
|
1662
|
-
|
|
1663
|
-
|
|
1665
|
+
totalFollower: number;
|
|
1666
|
+
isMe: boolean;
|
|
1664
1667
|
};
|
|
1665
1668
|
type TAccountPublicListFollowerRes = TAccountEntity & {
|
|
1666
1669
|
followers: TAccountEntity[];
|
|
@@ -1704,7 +1707,7 @@ type TProgramPublicLearnedProgramRes = {
|
|
|
1704
1707
|
totalCompletedHours: number;
|
|
1705
1708
|
totalCompletedLessons: number;
|
|
1706
1709
|
classes: TClassEntity[];
|
|
1707
|
-
latestClass: TClassEntity
|
|
1710
|
+
latestClass: TClassEntity;
|
|
1708
1711
|
})[];
|
|
1709
1712
|
total: number;
|
|
1710
1713
|
};
|