chore: build
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
// ============================================
|
||||
// db/cancel_commands_db.go
|
||||
// FONCTIONS DB ATOMIQUES POUR L'ANNULATION
|
||||
// ============================================
|
||||
|
||||
package db
|
||||
|
||||
import (
|
||||
|
||||
@@ -70,7 +70,6 @@ export const maneuverIcons: Record<string, string> = {
|
||||
DEFAULT: "arrow-up",
|
||||
};
|
||||
|
||||
// ---- Helpers ----
|
||||
function formatDistance(meters: number): string {
|
||||
if (meters < 1000) return `${Math.round(meters)} m`;
|
||||
return `${(meters / 1000).toFixed(1)} km`;
|
||||
|
||||
@@ -95,10 +95,6 @@ export interface RegisterAdminRequest {
|
||||
role: "admin" | "cabine" | "livreur";
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// 🛒 PANIER - TYPES
|
||||
// ============================================
|
||||
|
||||
/**
|
||||
* Item du panier côté frontend
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user