From 426b55d51c12cdc6f0248449ff7022fe6f2443cc Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Thu, 27 Feb 2025 20:49:36 +0330 Subject: [PATCH] added tickets and order api url and query keys --- frontend/constants/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/constants/index.ts b/frontend/constants/index.ts index 4a835d5..b301e58 100644 --- a/frontend/constants/index.ts +++ b/frontend/constants/index.ts @@ -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 = {