| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- export interface Appointment {
- _id: string;
- user: string;
- title: string;
- description: string;
- dueDate: Date;
- place: string;
- duration: number;
- times: AppointmentDateTimes[];
- inputs: AppointmentInputs[];
- timeSpans: AppointmentList[];
- }
- export interface AppointmentTimes {
- date: string;
- available: boolean;
- }
- export interface AuthTokenResponse {
- token: string;
- }
- export interface AppointmentDateTimes {
- date: Date;
- available: boolean;
- }
- export interface AppointmentInputs {
- name: string;
- type: "text" | "email" | "tel";
- }
- export interface AppointmentTimeRange {
- start: string;
- end: string;
- }
- export interface WeekdayAppointment {
- name: string;
- active: boolean;
- date: string;
- times: AppointmentTimeRange[];
- }
- export interface AppointmentList {
- week: number;
- appointments: WeekdayAppointment[];
- }
- export interface DynamicJson {
- [key: string]: any; // Allows any key with any value
- }
- export interface AppointmentBooking {
- appointment: string;
- time: string;
- inputs: DynamicJson[];
- }
- export interface WeekSelection {
- week: number;
- yearWeek: number;
- start: Date;
- end: Date;
- }
|