9 lines
399 B
TypeScript
9 lines
399 B
TypeScript
|
import {AxiosResponse} from "axios";
|
||
|
import {ResponseVO} from "@/lib/definitions";
|
||
|
import {httpReq} from "@/utils/axiosReq";
|
||
|
import {TaskStepSortVO} from "@/components/type/TaskSort.d";
|
||
|
|
||
|
export const addStepItemAPI= (data:TaskStepSortVO):Promise<AxiosResponse<ResponseVO<TaskStepSortVO>>> =>{
|
||
|
return httpReq.post(process.env.NEXT_PUBLIC_TODO_REQUEST_URL + `/task/step/sort/item`,
|
||
|
data)
|
||
|
}
|