feat(app): 新增个人中心课表视图
This commit is contained in:
@@ -50,6 +50,8 @@ export type {
|
||||
Booking,
|
||||
BookingWithDetails,
|
||||
BookingWithUser,
|
||||
TeachingScheduleStudent,
|
||||
TeachingScheduleSlot,
|
||||
BookingStatusHistory,
|
||||
CreateBookingDto,
|
||||
Order,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user