boussole-pluss/frontend/repositories/axeRepository.ts

10 lines
286 B
TypeScript
Raw Normal View History

2022-10-07 14:15:53 +00:00
import {RestResponse} from "~/repositories/models/rest-response.model";
import {$axios} from "~/utils/api";
import {AxeWithQuestions} from "~/repositories/models/axe.model";
2022-10-07 14:15:53 +00:00
export default {
findAll() {
return $axios.get<RestResponse<AxeWithQuestions>>("/axes/search/me");
2022-10-07 14:15:53 +00:00
}
}