chat implemented

need testing
This commit is contained in:
dimitar committed 2026-04-03 03:25:11 +02:00
1 parent c90f8cb1fa
commit 9cbdc35903
40 files changed
+7068 -10

No files matched your search

+10
View File
@@ -63,6 +63,16 @@ export const API_ENDPOINTS = {
GET_RANGE: (startDate: string, endDate: string) =>
`/api/hydration?startDate=${startDate}&endDate=${endDate}`,
},
CHAT: {
THREADS: "/api/chat/threads",
GYM_ROOM: "/api/chat/gym-room",
START_DM: "/api/chat/dm/start",
MY_DM_THREAD: "/api/chat/dm/my-thread",
THREAD: (threadId: string) => `/api/chat/threads/${threadId}`,
THREAD_MESSAGES: (threadId: string) =>
`/api/chat/threads/${threadId}/messages`,
THREAD_READ: (threadId: string) => `/api/chat/threads/${threadId}/read`,
},
FITNESS_GOALS: {
LIST: "/api/fitness-goals",
CREATE: "/api/fitness-goals",