Use dto package in frontend
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import { Requests, Responses } from '../../../dto';
|
||||
|
||||
export * from '../../../dto';
|
||||
import { Requests, Responses } from 'dto';
|
||||
|
||||
export const post = <T extends Requests.BaseRequest>(url: string, data: T) =>
|
||||
axios
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
export { Requests, Responses, isErrorResponse } from './base';
|
||||
export { Requests, Responses } from 'dto';
|
||||
|
||||
export { isErrorResponse } from './base';
|
||||
export * as Auth from './auth';
|
||||
export * as FS from './fs';
|
||||
export * from './util';
|
||||
|
||||
Reference in New Issue
Block a user