feat(app): 新增个人中心课表视图

This commit is contained in:
richarjiang
2026-04-19 22:23:23 +08:00
parent 9575210b06
commit bd3d519b4f
17 changed files with 998 additions and 29 deletions

View File

@@ -50,6 +50,8 @@ export type {
Booking,
BookingWithDetails,
BookingWithUser,
TeachingScheduleStudent,
TeachingScheduleSlot,
BookingStatusHistory,
CreateBookingDto,
Order,

View File

@@ -37,6 +37,24 @@ export interface BookingWithUser extends BookingWithDetails {
}
}
export interface TeachingScheduleStudent {
readonly bookingId: string
readonly userId: string
readonly nickname: string
readonly phone: string | null
readonly status: BookingStatus
}
export interface TeachingScheduleSlot {
readonly slotId: string
readonly date: string
readonly startTime: string
readonly endTime: string
readonly bookedCount: number
readonly capacity: number
readonly students: readonly TeachingScheduleStudent[]
}
export interface BookingStatusHistory {
readonly id: string
readonly bookingId: string

View File

@@ -11,7 +11,15 @@ export type { CardType, CreateCardTypeDto, UpdateCardTypeDto } from './card-type
export type { Membership, MembershipWithCardType } from './membership'
export type { WeekTemplate, WeekTemplateInput } from './week-template'
export type { TimeSlot, TimeSlotWithBookingStatus, CreateManualSlotDto, ScheduleSlotPreview, PublishDaySlotItem, PublishDaySlotsDto } from './time-slot'
export type { Booking, BookingWithDetails, BookingWithUser, BookingStatusHistory, CreateBookingDto } from './booking'
export type {
Booking,
BookingWithDetails,
BookingWithUser,
TeachingScheduleStudent,
TeachingScheduleSlot,
BookingStatusHistory,
CreateBookingDto,
} from './booking'
export type { Order, OrderWithDetails, CreateOrderDto, PaymentParams, CreateOrderResponse } from './order'
export type {
StudioConfig,