boussole-pluss/frontend/repositories/axeRepository.ts

10 lines
250 B
TypeScript

import {Axe} from "~/repositories/models/axe.model";
import {RestResponse} from "~/repositories/models/rest-response.model";
import {$axios} from "~/utils/api";
export default {
findAll() {
return $axios.get<RestResponse<Axe>>("/axes");
}
}