gst-common 1.4.57 → 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 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
- tutor: TTutorEntity | null;
1663
- student: TStudentEntity | null;
1665
+ totalFollower: number;
1666
+ isMe: boolean;
1664
1667
  };
1665
1668
  type TAccountPublicListFollowerRes = TAccountEntity & {
1666
1669
  followers: TAccountEntity[];
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
- tutor: TTutorEntity | null;
1663
- student: TStudentEntity | null;
1665
+ totalFollower: number;
1666
+ isMe: boolean;
1664
1667
  };
1665
1668
  type TAccountPublicListFollowerRes = TAccountEntity & {
1666
1669
  followers: TAccountEntity[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.4.57",
3
+ "version": "1.4.58",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",