added tickets and order api url and query keys

This commit is contained in:
Mamalizz
2025-02-27 20:49:36 +03:30
parent 866251125a
commit 426b55d51c
+6
View File
@@ -39,6 +39,10 @@ export const API_ENDPOINTS = {
create: "/tickets/create",
upload_attachment: "/tickets/attachment/create",
delete_attachment: "/tickets/attachment/delete",
get_one: "/tickets",
},
orders: {
get_all: "/order/list",
},
};
@@ -54,6 +58,8 @@ export const QUERY_KEYS = {
categories: "categories",
addresses: "addresses",
tickets: "tickets",
ticket: "ticket",
orders: "orders",
};
export const MUTATION_KEYS = {