Updated
This commit is contained in:
@@ -1,40 +1,42 @@
|
||||
export const API_ENDPOINTS = {
|
||||
home : "/home",
|
||||
account: {
|
||||
profile: "/accounts/profile",
|
||||
send_otp: "/accounts/send_otp",
|
||||
send_otp: "/accounts/send_otp"
|
||||
},
|
||||
product: {
|
||||
get: "/products",
|
||||
get: "/products"
|
||||
},
|
||||
auth: {
|
||||
refresh: "/token/refresh",
|
||||
verify: "/accounts/verify",
|
||||
signin: "/token",
|
||||
logout: "/accounts/logout",
|
||||
logout: "/accounts/logout"
|
||||
},
|
||||
chat: {
|
||||
messages: "/chat/product",
|
||||
new_message: "/chat/product",
|
||||
new_message: "/chat/product"
|
||||
},
|
||||
products: {
|
||||
get_all: "/products",
|
||||
categories: "/products/categories",
|
||||
},
|
||||
categories: "/products/categories"
|
||||
}
|
||||
};
|
||||
|
||||
export const QUERY_KEYS = {
|
||||
home: "home",
|
||||
chat: "chat",
|
||||
product: "product",
|
||||
products: "products",
|
||||
account: "account",
|
||||
categories: "categories",
|
||||
categories: "categories"
|
||||
};
|
||||
|
||||
export const MUTATION_KEYS = {
|
||||
create_chat: "create_chat",
|
||||
create_chat: "create_chat"
|
||||
};
|
||||
|
||||
export const PRODUCT_RANGE = {
|
||||
min: 0,
|
||||
max: 100_000_000,
|
||||
max: 100_000_000
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user