feat: rename stock to cantidad_maxima in product variant interfaces and update related components for consistency

This commit is contained in:
2026-07-02 09:39:06 -03:00
parent 16eea32ce7
commit 4817dd1f76
5 changed files with 14 additions and 14 deletions

View File

@@ -31,14 +31,14 @@ export interface ProductAttribute {
export interface ProductVariant {
id: number;
stock: number;
cantidad_maxima: number;
definitions: Record<string, string>;
images: string[];
}
export interface ProductVariantMap {
variant_id: number;
stock: number;
cantidad_maxima: number;
attributes: Record<string, string>;
}