feat: 优化页面 UI 以及支持个人中心 练习足迹
This commit is contained in:
@@ -78,6 +78,7 @@ export type {
|
||||
PublishDaySlotsDto,
|
||||
Booking,
|
||||
BookingWithDetails,
|
||||
PracticeActivity,
|
||||
BookingWithUser,
|
||||
TeachingScheduleStudent,
|
||||
TeachingScheduleSlot,
|
||||
|
||||
@@ -75,3 +75,8 @@ export interface AdminArrangeBookingDto {
|
||||
readonly membershipId: string
|
||||
readonly timeSlotId: string
|
||||
}
|
||||
|
||||
/** Completed classes by scheduled date, in Asia/Shanghai; includes today. */
|
||||
export interface PracticeActivity {
|
||||
readonly days: readonly { readonly date: string; readonly count: number }[]
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ export type { TimeSlot, TimeSlotWithBookingStatus, CreateManualSlotDto, Schedule
|
||||
export type {
|
||||
Booking,
|
||||
BookingWithDetails,
|
||||
PracticeActivity,
|
||||
BookingWithUser,
|
||||
TeachingScheduleStudent,
|
||||
TeachingScheduleSlot,
|
||||
|
||||
Reference in New Issue
Block a user