mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-15 00:24:09 +01:00
19 lines
380 B
TypeScript
19 lines
380 B
TypeScript
export interface ReservationSlot {
|
|
id?: number,
|
|
start_at: Date,
|
|
end_at: Date,
|
|
availability_id: number,
|
|
offered: boolean
|
|
}
|
|
|
|
export interface Reservation {
|
|
reservable_id: number,
|
|
reservable_type: string,
|
|
slots_attributes: Array<ReservationSlot>,
|
|
nb_reserve_places?: number,
|
|
tickets_attributes?: {
|
|
event_price_category_id: number,
|
|
booked: boolean,
|
|
},
|
|
}
|