diff --git a/backend/gestion/db/db_cancel_command.go b/backend/gestion/db/db_cancel_command.go index 40c23c03..9b608313 100644 --- a/backend/gestion/db/db_cancel_command.go +++ b/backend/gestion/db/db_cancel_command.go @@ -1,8 +1,3 @@ -// ============================================ -// db/cancel_commands_db.go -// FONCTIONS DB ATOMIQUES POUR L'ANNULATION -// ============================================ - package db import ( diff --git a/frontend-admin/src/api/tomtom.ts b/frontend-admin/src/api/tomtom.ts index 2a3bb8fc..6f04394b 100644 --- a/frontend-admin/src/api/tomtom.ts +++ b/frontend-admin/src/api/tomtom.ts @@ -70,7 +70,6 @@ export const maneuverIcons: Record = { DEFAULT: "arrow-up", }; -// ---- Helpers ---- function formatDistance(meters: number): string { if (meters < 1000) return `${Math.round(meters)} m`; return `${(meters / 1000).toFixed(1)} km`; diff --git a/frontend-prep/src/api/api_types.ts b/frontend-prep/src/api/api_types.ts index a671d763..00f5dec2 100644 --- a/frontend-prep/src/api/api_types.ts +++ b/frontend-prep/src/api/api_types.ts @@ -95,10 +95,6 @@ export interface RegisterAdminRequest { role: "admin" | "cabine" | "livreur"; } -// ============================================ -// 🛒 PANIER - TYPES -// ============================================ - /** * Item du panier côté frontend */ diff --git a/mobile/src/api/api_types.ts b/mobile/src/api/api_types.ts index 88a2e41a..b66244cb 100644 --- a/mobile/src/api/api_types.ts +++ b/mobile/src/api/api_types.ts @@ -1,8 +1,6 @@ // ============================================ // api/api_TYPES.ts - TOUTES LES INTERFACES // ============================================ -// Interfaces complètes pour le frontend -// À importer dans les composants export interface ApiResponse { success: boolean;