gst-common 1.4.54 → 1.4.56
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 -2
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1668,7 +1668,10 @@ type TAccountPublicListFollowerRes = TAccountEntity & {
|
|
|
1668
1668
|
type TAccountPublicListFollowingRes = TAccountEntity & {
|
|
1669
1669
|
following: TAccountEntity[];
|
|
1670
1670
|
};
|
|
1671
|
-
type TAccountPublicDetailRes = TAccountEntity & {
|
|
1671
|
+
type TAccountPublicDetailRes = Omit<TAccountEntity, "student"> & {
|
|
1672
|
+
student: (TStudentEntity & {
|
|
1673
|
+
totalProgram: number;
|
|
1674
|
+
}) | null;
|
|
1672
1675
|
hasFollowed: boolean;
|
|
1673
1676
|
totalFollower: number;
|
|
1674
1677
|
isMe: boolean;
|
|
@@ -1700,7 +1703,8 @@ type TProgramPublicLearnedProgramRes = {
|
|
|
1700
1703
|
account: TAccountEntity;
|
|
1701
1704
|
totalCompletedHours: number;
|
|
1702
1705
|
totalCompletedLessons: number;
|
|
1703
|
-
|
|
1706
|
+
classes: TClassEntity[];
|
|
1707
|
+
latestClass: TClassEntity[];
|
|
1704
1708
|
})[];
|
|
1705
1709
|
total: number;
|
|
1706
1710
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1668,7 +1668,10 @@ type TAccountPublicListFollowerRes = TAccountEntity & {
|
|
|
1668
1668
|
type TAccountPublicListFollowingRes = TAccountEntity & {
|
|
1669
1669
|
following: TAccountEntity[];
|
|
1670
1670
|
};
|
|
1671
|
-
type TAccountPublicDetailRes = TAccountEntity & {
|
|
1671
|
+
type TAccountPublicDetailRes = Omit<TAccountEntity, "student"> & {
|
|
1672
|
+
student: (TStudentEntity & {
|
|
1673
|
+
totalProgram: number;
|
|
1674
|
+
}) | null;
|
|
1672
1675
|
hasFollowed: boolean;
|
|
1673
1676
|
totalFollower: number;
|
|
1674
1677
|
isMe: boolean;
|
|
@@ -1700,7 +1703,8 @@ type TProgramPublicLearnedProgramRes = {
|
|
|
1700
1703
|
account: TAccountEntity;
|
|
1701
1704
|
totalCompletedHours: number;
|
|
1702
1705
|
totalCompletedLessons: number;
|
|
1703
|
-
|
|
1706
|
+
classes: TClassEntity[];
|
|
1707
|
+
latestClass: TClassEntity[];
|
|
1704
1708
|
})[];
|
|
1705
1709
|
total: number;
|
|
1706
1710
|
};
|