12 Commits

Author SHA1 Message Date
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
28bceab36d take into account cancelled and completed orders in the slot list 2025-06-25 16:27:49 +03:00
vchikalkin
25c90984dc fix queries, using formatDate & formatTime on client 2025-06-10 17:11:55 +03:00
vchikalkin
0cb9e6b6ee graphql/api: remove throw new Error 2025-06-08 17:17:08 +03:00
vchikalkin
a4608ead43 fix slots queries 2025-05-23 16:08:20 +03:00
vchikalkin
c710537727 replace ScheduleTimeContext with ScheduleStore 2025-05-23 14:32:39 +03:00
vchikalkin
0698242257 take into existing orders when computing times 2025-05-21 17:26:10 +03:00
vchikalkin
52d68964f1 take into service duration when computing times 2025-05-21 16:27:56 +03:00
vchikalkin
0b867a9136 getAvailableTimeSlots: add filter by orders 2025-05-20 19:53:51 +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