Skip to content

Commit

Permalink
test with type
Browse files Browse the repository at this point in the history
  • Loading branch information
jamalsoueidan committed Oct 21, 2023
1 parent 993528c commit b5faa03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/library/availability/generate-availability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ import {
import { utcToZonedTime } from "date-fns-tz";
import { enUS } from "date-fns/locale";
import { Availability } from "~/functions/availability";
import { CustomerScheduleServiceGetWithCustomerResponse } from "~/functions/customer/services/schedule";
import { LookupServiceCreate } from "~/functions/lookup";
import { calculateMaxNoticeAndMinBookingPeriod } from "./calculate-max-notice-and-min-booking-period";

import { generateEndDate, generateStartDate } from "./start-end-date";

export type GenerateAvailabilityProps = {
schedule: any;
schedule: CustomerScheduleServiceGetWithCustomerResponse;
lookup?: Awaited<ReturnType<typeof LookupServiceCreate>>;
startDate: string;
};
Expand Down

0 comments on commit b5faa03

Please sign in to comment.