gst-common 1.4.57 → 1.4.59

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
@@ -24,6 +24,7 @@ type TStudentEntity = {
24
24
  hiddenPhoneNumber: boolean;
25
25
  account: TAccountEntity;
26
26
  totalHourLearning: number;
27
+ introduction: string | null;
27
28
  } & BaseEntity;
28
29
  type TAccountEntity = {
29
30
  id: string;
@@ -1657,10 +1658,13 @@ type TPostAllCommentUpdateRes = TPostCommentEntity & {
1657
1658
  updatedBy: TAccountEntity;
1658
1659
  };
1659
1660
  type TPostAllCommentDeleteRes = TPostCommentEntity;
1660
- type TAccountPublicPreviewRes = TAccountEntity & {
1661
+ type TAccountPublicPreviewRes = Omit<TAccountEntity, "student"> & {
1662
+ student: (TStudentEntity & {
1663
+ totalProgram: number;
1664
+ }) | null;
1661
1665
  hasFollowed: boolean;
1662
- tutor: TTutorEntity | null;
1663
- student: TStudentEntity | null;
1666
+ totalFollower: number;
1667
+ isMe: boolean;
1664
1668
  };
1665
1669
  type TAccountPublicListFollowerRes = TAccountEntity & {
1666
1670
  followers: TAccountEntity[];
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ type TStudentEntity = {
24
24
  hiddenPhoneNumber: boolean;
25
25
  account: TAccountEntity;
26
26
  totalHourLearning: number;
27
+ introduction: string | null;
27
28
  } & BaseEntity;
28
29
  type TAccountEntity = {
29
30
  id: string;
@@ -1657,10 +1658,13 @@ type TPostAllCommentUpdateRes = TPostCommentEntity & {
1657
1658
  updatedBy: TAccountEntity;
1658
1659
  };
1659
1660
  type TPostAllCommentDeleteRes = TPostCommentEntity;
1660
- type TAccountPublicPreviewRes = TAccountEntity & {
1661
+ type TAccountPublicPreviewRes = Omit<TAccountEntity, "student"> & {
1662
+ student: (TStudentEntity & {
1663
+ totalProgram: number;
1664
+ }) | null;
1661
1665
  hasFollowed: boolean;
1662
- tutor: TTutorEntity | null;
1663
- student: TStudentEntity | null;
1666
+ totalFollower: number;
1667
+ isMe: boolean;
1664
1668
  };
1665
1669
  type TAccountPublicListFollowerRes = TAccountEntity & {
1666
1670
  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.59",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",