hunk.code_window:     }
       return prisma.booking.create(createBookingObj);
     }
     let results: EventResult<AdditionalInformation>[] = [];
     let referencesToCreate: PartialReference[] = [];
     type Booking = Prisma.PromiseReturnType<typeof createBooking>;
     let booking: (Booking & { appsStatus?: AppsStatus[] }) | null = null;
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:   let results: EventResult<AdditionalInformation & { url?: string }>[] = [];
  
hunk.file_path: packages/features/bookings/lib/handleNewBooking.ts
hunk.type: replace
file: import { useRouter } from "next/router";
  
  export default function usePublicPage() {
    const router = useRouter();
    const isPublicPage = ["/[user]", "/booking", "/cancel", "/reschedule"].find((route) =>
      router.pathname.startsWith(route)
    );
    return isPublicPage;
  }
  