Frontend Hotfixes & Backend improvements
Run Tests on Branches / Detect Changes (push) Successful in 9s
Run Tests on Branches / Backend Tests (push) Successful in 1m51s
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m44s

This commit is contained in:
Ichitux
2026-07-09 00:58:31 +02:00
parent 16fea2de8f
commit 5f604b11ba
8 changed files with 73 additions and 31 deletions
+15 -7
View File
@@ -1,12 +1,20 @@
export interface Medicine {
id: string;
nregistro: string;
nombre: string;
principioActivo: string;
laboratorio: string;
formaFarmaceutica: string;
precio: number | null;
stock: number;
disponibilidad: 'disponible' | 'sin_stock' | 'bajo_stock';
name: string;
active_ingredient: string;
dosage: string;
form: string;
formSimplified: string;
laboratory: string;
prescription: string;
commercialized: boolean;
generic: boolean;
photos: string[];
docs: { tipo: number; url: string; urlHtml?: string; secc: boolean; fecha: number }[];
// Optional pharmacy-specific fields (only present in pharmacy_medicines joins)
precio?: number | null;
stock?: number;
}
export interface Pharmacy {