chore: build

This commit is contained in:
2026-06-14 18:21:13 +02:00
parent 3a70a6f4c7
commit c7d43e7641
4 changed files with 0 additions and 12 deletions
-5
View File
@@ -1,8 +1,3 @@
// ============================================
// db/cancel_commands_db.go
// FONCTIONS DB ATOMIQUES POUR L'ANNULATION
// ============================================
package db package db
import ( import (
-1
View File
@@ -70,7 +70,6 @@ export const maneuverIcons: Record<string, string> = {
DEFAULT: "arrow-up", DEFAULT: "arrow-up",
}; };
// ---- Helpers ----
function formatDistance(meters: number): string { function formatDistance(meters: number): string {
if (meters < 1000) return `${Math.round(meters)} m`; if (meters < 1000) return `${Math.round(meters)} m`;
return `${(meters / 1000).toFixed(1)} km`; return `${(meters / 1000).toFixed(1)} km`;
-4
View File
@@ -95,10 +95,6 @@ export interface RegisterAdminRequest {
role: "admin" | "cabine" | "livreur"; role: "admin" | "cabine" | "livreur";
} }
// ============================================
// 🛒 PANIER - TYPES
// ============================================
/** /**
* Item du panier côté frontend * Item du panier côté frontend
*/ */
-2
View File
@@ -1,8 +1,6 @@
// ============================================ // ============================================
// api/api_TYPES.ts - TOUTES LES INTERFACES // api/api_TYPES.ts - TOUTES LES INTERFACES
// ============================================ // ============================================
// Interfaces complètes pour le frontend
// À importer dans les composants
export interface ApiResponse { export interface ApiResponse {
success: boolean; success: boolean;