feat: 优化页面 UI 以及支持个人中心 练习足迹

This commit is contained in:
richarjiang
2026-09-08 11:26:46 +08:00
parent 87d946adb5
commit 301f9ae385
9 changed files with 347 additions and 411 deletions

View File

@@ -78,6 +78,7 @@ export type {
PublishDaySlotsDto,
Booking,
BookingWithDetails,
PracticeActivity,
BookingWithUser,
TeachingScheduleStudent,
TeachingScheduleSlot,

View File

@@ -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 }[]
}

View File

@@ -25,6 +25,7 @@ export type { TimeSlot, TimeSlotWithBookingStatus, CreateManualSlotDto, Schedule
export type {
Booking,
BookingWithDetails,
PracticeActivity,
BookingWithUser,
TeachingScheduleStudent,
TeachingScheduleSlot,