- import { FOLDER_TYPE_LIST } from './constant'
- import axios from './instance'
- export interface FloderType {
- filesTypeId: number,
- filesTypeName: string
- }
- export type FloderTypes = FloderType[]
- export const fetchFloderTypes = () =>
- axios.get<FloderTypes>(FOLDER_TYPE_LIST)
|