gst-common 1.4.53 → 1.4.55

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
@@ -23,6 +23,7 @@ type TStudentEntity = {
23
23
  phoneNumber: string | null | null;
24
24
  hiddenPhoneNumber: boolean;
25
25
  account: TAccountEntity;
26
+ totalHourLearning: number;
26
27
  } & BaseEntity;
27
28
  type TAccountEntity = {
28
29
  id: string;
@@ -1667,7 +1668,10 @@ type TAccountPublicListFollowerRes = TAccountEntity & {
1667
1668
  type TAccountPublicListFollowingRes = TAccountEntity & {
1668
1669
  following: TAccountEntity[];
1669
1670
  };
1670
- type TAccountPublicDetailRes = TAccountEntity & {
1671
+ type TAccountPublicDetailRes = Omit<TAccountEntity, "student"> & {
1672
+ student: (TStudentEntity & {
1673
+ totalProgram: number;
1674
+ }) | null;
1671
1675
  hasFollowed: boolean;
1672
1676
  totalFollower: number;
1673
1677
  isMe: boolean;
package/dist/index.d.ts CHANGED
@@ -23,6 +23,7 @@ type TStudentEntity = {
23
23
  phoneNumber: string | null | null;
24
24
  hiddenPhoneNumber: boolean;
25
25
  account: TAccountEntity;
26
+ totalHourLearning: number;
26
27
  } & BaseEntity;
27
28
  type TAccountEntity = {
28
29
  id: string;
@@ -1667,7 +1668,10 @@ type TAccountPublicListFollowerRes = TAccountEntity & {
1667
1668
  type TAccountPublicListFollowingRes = TAccountEntity & {
1668
1669
  following: TAccountEntity[];
1669
1670
  };
1670
- type TAccountPublicDetailRes = TAccountEntity & {
1671
+ type TAccountPublicDetailRes = Omit<TAccountEntity, "student"> & {
1672
+ student: (TStudentEntity & {
1673
+ totalProgram: number;
1674
+ }) | null;
1671
1675
  hasFollowed: boolean;
1672
1676
  totalFollower: number;
1673
1677
  isMe: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.4.53",
3
+ "version": "1.4.55",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",