Initial commit
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
export type User = {
|
||||
id: string
|
||||
openid: string
|
||||
phone: any | null
|
||||
}
|
||||
|
||||
export type Project = {
|
||||
id: string
|
||||
category_id: string
|
||||
name: string
|
||||
subtitle: string
|
||||
price_text: string
|
||||
image?: string
|
||||
image_key?: string
|
||||
sortIndex?: number
|
||||
}
|
||||
|
||||
export type Category = {
|
||||
id: string
|
||||
name: string
|
||||
icon?: string
|
||||
image_key?: string
|
||||
projects: Project[]
|
||||
}
|
||||
|
||||
export type Day = {
|
||||
date: string
|
||||
status?: string
|
||||
slots: Slot[]
|
||||
}
|
||||
|
||||
export type Slot = {
|
||||
id: string
|
||||
start_time: string
|
||||
status: string
|
||||
statusText?: string
|
||||
}
|
||||
|
||||
export type Draft = {
|
||||
project: Project | null
|
||||
day: Day | null
|
||||
date: string
|
||||
slot: Slot | null
|
||||
phone: string
|
||||
}
|
||||
|
||||
export type Booking = {
|
||||
id: string
|
||||
status: string
|
||||
}
|
||||
|
||||
export type BookingDetail = {
|
||||
booking: Booking
|
||||
project: Project
|
||||
day: Day
|
||||
slot: Slot
|
||||
key?: string
|
||||
dateText?: string
|
||||
statusText?: string
|
||||
canCancel?: boolean
|
||||
}
|
||||
|
||||
export type QuickAction = {
|
||||
key: string
|
||||
title: string
|
||||
subtitle: string
|
||||
icon: string
|
||||
}
|
||||
Reference in New Issue
Block a user