* fix: skip when browsing month has no available slots * Fix zustand error + add wip tests * Fix issue with using brows ingDate too early * Use slots instead of schedule return types to remove hard coupling to tRPC * Some await fixes + use type definition from extended core feature * Move useNextMonth to custom hook * Add unit tests to cover the next month scenario * Use changed interface, schedule -> slots,isLoading * Return no-op until ready
4 lines
183 B
TypeScript
4 lines
183 B
TypeScript
export * from "./components";
|
|
export type { Slots, Slot } from "./lib/use-schedule/types";
|
|
export { useSchedule, useSlotsForDate, useNonEmptyScheduleDays } from "./lib/use-schedule";
|