chore: Log availability snapshot when booking is created (#22782)
* Add userAvailability type * Add user availability to return value of getUsersAvailability * Log availabilitySnapshot when booking is created * Type fix
This commit is contained in:
1 parent
7b2f811bfe
commit
4e92b6edeb
4 files changed
+14
-4
No files matched your search
@@ -266,7 +266,7 @@ export type CurrentSeats = Awaited<ReturnType<typeof _getCurrentSeats>>;
|
||||
|
||||
export const getCurrentSeats = withReporting(_getCurrentSeats, "getCurrentSeats");
|
||||
|
||||
type GetUserAvailabilityResult = ReturnType<typeof _getUserAvailability>;
|
||||
export type GetUserAvailabilityResult = Awaited<ReturnType<typeof _getUserAvailability>>;
|
||||
|
||||
/** This should be called getUsersWorkingHoursAndBusySlots (...and remaining seats, and final timezone) */
|
||||
const _getUserAvailability = async function getUsersWorkingHoursLifeTheUniverseAndEverythingElse(
|
||||
|
||||
Reference in new issue
Block a user