chore: build
This commit is contained in:
@@ -12,10 +12,6 @@ import type {
|
|||||||
const V2 = "https://mln-uber.club/api/v2";
|
const V2 = "https://mln-uber.club/api/v2";
|
||||||
const CABINE_URL = "https://mln-uber.club/api/v1/cabine";
|
const CABINE_URL = "https://mln-uber.club/api/v1/cabine";
|
||||||
|
|
||||||
// ============================================
|
|
||||||
// AUTH
|
|
||||||
// ============================================
|
|
||||||
|
|
||||||
export const loginAdmin = async (
|
export const loginAdmin = async (
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
|
|||||||
@@ -4,13 +4,6 @@
|
|||||||
// Interfaces complètes pour le frontend
|
// Interfaces complètes pour le frontend
|
||||||
// À importer dans les composants
|
// À importer dans les composants
|
||||||
|
|
||||||
// ============================================
|
|
||||||
// 🔐 AUTHENTIFICATION - TYPES
|
|
||||||
// ============================================
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Réponse générique de l'API
|
|
||||||
*/
|
|
||||||
export interface ApiResponse {
|
export interface ApiResponse {
|
||||||
success: boolean;
|
success: boolean;
|
||||||
message?: string;
|
message?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user