feat : Création de l'api, chargement des mockups

This commit is contained in:
Yaël Perret
2026-09-01 18:48:41 +02:00
parent fde710b607
commit 68d7ea3f9a
69 changed files with 1134 additions and 6 deletions

5
src/hooks/api/posts.ts Normal file
View File

@@ -0,0 +1,5 @@
import type { Post } from '@/models';
import { postsApi } from '@/api/entities/posts';
import { createCrudHooks } from './createCrudHooks';
export const postsHooks = createCrudHooks<Post>('posts', postsApi);