Files
hossein-por-shop/frontend/constants/index.ts
T
2025-01-13 23:44:37 +03:30

33 lines
586 B
TypeScript

export const API_ENDPOINTS = {
account: {
profile : "/accounts/profile",
send_otp: "/accounts/send_otp",
},
product: {
get : "/products",
},
auth: {
signin: "/token",
logout: "/accounts/logout",
},
chat: {
messages: "/chat/product",
new_message: "/chat/product",
},
};
export const QUERY_KEYS = {
chat: "chat",
product: "product",
account: "account",
};
export const MUTATION_KEYS = {
create_chat: "create_chat",
};
export const PRODUCT_RANGE = {
min: 0,
max: 100000,
};