feat: rename stock to cantidad_maxima in product variant interfaces and update related components for consistency
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user