folder-type.ts 280 B

12345678910111213
  1. import { FOLDER_TYPE_LIST } from './constant'
  2. import axios from './instance'
  3. export interface FloderType {
  4. filesTypeId: number,
  5. filesTypeName: string
  6. }
  7. export type FloderTypes = FloderType[]
  8. export const fetchFloderTypes = () =>
  9. axios.get<FloderTypes>(FOLDER_TYPE_LIST)