maj via codex

This commit is contained in:
2026-02-22 18:34:50 +01:00
parent 20af00d653
commit 55387f4b0e
90 changed files with 9902 additions and 1251 deletions
+8
View File
@@ -0,0 +1,8 @@
import client from './client';
export const astucesApi = {
list: (params) => client.get('/api/astuces', { params }).then(r => r.data),
get: (id) => client.get(`/api/astuces/${id}`).then(r => r.data),
create: (a) => client.post('/api/astuces', a).then(r => r.data),
update: (id, a) => client.put(`/api/astuces/${id}`, a).then(r => r.data),
remove: (id) => client.delete(`/api/astuces/${id}`),
};