8 Commits

Author SHA1 Message Date
vchikalkin
f305987f68 hooks: invalidate orders & slots after mutate & delete 2025-06-26 14:12:51 +03:00
vchikalkin
46f60d969d remove getSlotsOrders fn 2025-06-25 18:22:20 +03:00
vchikalkin
2ca11832a9 highlight days with slots in schedule calendar 2025-06-25 17:57:41 +03:00
vchikalkin
8242d186fe fix create slot 2025-06-10 13:51:49 +03:00
vchikalkin
a4608ead43 fix slots queries 2025-05-23 16:08:20 +03:00
vchikalkin
52d68964f1 take into service duration when computing times 2025-05-21 16:27:56 +03:00
vchikalkin
b8880eedee move getAvailableTimeSlots to server 2025-05-20 19:25:25 +03:00
Vlad Chikalkin
9314cdd1cb
merge branch 'refactor-api' (#23)
* refactor customer api

* refactor slots api

* hooks/customers: use invalidateQueries

* refactor services api

* optimize hooks queryKey

* refactor orders api

* typo refactor hooks

* fix telegramId type (number)

* fix bot with new api

* rename customers masters & clients query

* fix useClientsQuery & useMastersQuery query

* new line after 'use client' & 'use server' directives
2025-05-20 14:27:51 +03:00