import type { IResponse } from "@/types/response.types";

export type Schedule = {
  id: string;
  createdAt: string;
  updatedAt: string;
  deletedAt: string | null;
  weekDay: number;
  openTime: string;
  closeTime: string;
  isActive: boolean;
  restId: string;
};

export type GetSchedulesResponseType = IResponse<Schedule[]>;

export type GetScheduleResponseType = IResponse<Schedule>;

export type CreateScheduleType = {
  weekDay: number;
  openTime: string;
  closeTime: string;
  isActive: boolean;
};
