create apiEnum components

This commit is contained in:
2026-03-10 20:23:56 +03:30
parent b379787002
commit d61a5a6250
20 changed files with 207 additions and 6 deletions
+2
View File
@@ -0,0 +1,2 @@
export * from './io';
export * from './types';
+4
View File
@@ -0,0 +1,4 @@
export interface IApiEnumResponse {
name: string;
value: string;
}
+3
View File
@@ -0,0 +1,3 @@
import { ENUMS_API_ROUTES } from '../constants/apiRoutes';
export type TEnumApi = keyof typeof ENUMS_API_ROUTES;