timeslots API

This commit is contained in:
Asya Vee
2025-08-26 23:36:24 +04:00
parent 47baf8dfe2
commit c0647fe512
47 changed files with 830 additions and 776 deletions

View File

@@ -41,11 +41,11 @@ export interface TimeSlot extends BaseRecord {
// Recurrence pattern structure
export interface RecurrencePattern {
type: 'daily' | 'weekly' | 'monthly';
interval: number;
days_of_week?: number[]; // 0-6, Sunday = 0
// type: 'daily' | 'weekly' | 'monthly';
// interval: number;
days?: number[]; // 0-6, Sunday = 0
end_date?: string;
occurrences?: number;
// occurrences?: number;
}
// Booking entity