feat: app complète - tous les modules

This commit is contained in:
Bastien COIGNOUX
2026-05-04 09:09:10 +02:00
parent 695d4e76d0
commit 432f8ce176
15 changed files with 1355 additions and 108 deletions

View File

@ -0,0 +1,23 @@
export type ChecklistEtat = 'ok' | 'attention' | 'probleme' | 'non';
export const CHECKLIST_ETATS: { id: ChecklistEtat; label: string; color: string }[] = [
{ id: 'ok', label: 'OK', color: '#16A34A' },
{ id: 'attention', label: 'Attention', color: '#CA8A04' },
{ id: 'probleme', label: 'Problème', color: '#DC2626' },
{ id: 'non', label: 'Non vérifié', color: '#64748B' },
];
export const CHECKLIST_ITEMS: { id: string; label: string }[] = [
{ id: 'facade', label: 'Façade / extérieur' },
{ id: 'toiture', label: 'Toiture / couverture' },
{ id: 'humidite', label: 'Humidité / traces' },
{ id: 'menuiseries', label: 'Menuiseries' },
{ id: 'chauffage', label: 'Chauffage / ECS' },
{ id: 'electricite', label: 'Électricité' },
{ id: 'plomberie', label: 'Plomberie / évacuations' },
{ id: 'copropriete', label: 'Parties communes / copro' },
{ id: 'bruit', label: 'Nuisances (bruit, odeurs)' },
{ id: 'stationnement', label: 'Stationnement / accès' },
];
export const GENERATE_RAPPORT_PATH = '/api/mdb/generate-rapport';