create apiEnum components
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
export * from './io';
|
||||
export * from './types';
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export interface IApiEnumResponse {
|
||||
name: string;
|
||||
value: string;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { ENUMS_API_ROUTES } from '../constants/apiRoutes';
|
||||
|
||||
export type TEnumApi = keyof typeof ENUMS_API_ROUTES;
|
||||
Reference in New Issue
Block a user