From 811bc494fa42286fd0cf597641c3cabc4d89152b Mon Sep 17 00:00:00 2001 From: PritamIT2023 Date: Tue, 22 Oct 2024 22:20:42 +0530 Subject: [PATCH] refactor: :recycle: remove unused routes remove unused routes Ref: #71 --- service/routes.registry.ts | 43 +------------------------------------- 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/service/routes.registry.ts b/service/routes.registry.ts index 7e28463..c70225d 100644 --- a/service/routes.registry.ts +++ b/service/routes.registry.ts @@ -1,44 +1,3 @@ -const RoutesRegistry = { - testGetAllAPI: { - name: "Test Get All API", - url: "wrappidall", - authRequired: false, - entityRef: "testGetAllAPI", - reqMethod: "get", - controllerRef: "testGetAllFunc", - }, - testGetAPI: { - name: "Test Get API", - url: "wrappid/:id", - authRequired: false, - entityRef: "testGetAllAPI", - reqMethod: "get", - controllerRef: "testGetFunc", - }, - testPostAPI: { - name: "Test Get All API", - url: "wrappid", - authRequired: false, - entityRef: "testGetAllAPI", - reqMethod: "post", - controllerRef: "testPostFunc", - }, - testPutAPI: { - name: "Test Get All API", - url: "wrappid/:id", - authRequired: false, - entityRef: "testGetAllAPI", - reqMethod: "put", - controllerRef: "testPutFunc", - }, - testPatchAPI: { - name: "Test Get All API", - url: "wrappid/:id", - authRequired: false, - entityRef: "testGetAllAPI", - reqMethod: "patch", - controllerRef: "testPatchFunc", - }, -}; +const RoutesRegistry = {}; export default RoutesRegistry;