feat: printing attributes in cards on dashboard

This commit is contained in:
2025-03-14 11:33:50 +04:00
parent 069bab1c01
commit 0e6563f54d
5 changed files with 9 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ class BaseAttributeSchema(BaseSchema):
label: str
name: str
is_applicable_to_group: bool
is_shown_on_dashboard: bool
is_nullable: bool
default_value: Optional[bool | int | float | str | date | datetime]
type_id: int

View File

@@ -43,6 +43,7 @@ class CardSummary(BaseSchema):
base_marketplace: Optional[BaseMarketplaceSchema] = None
total_products: int
tags: list[CardTagSchema]
attributes: list[CardAttributeSchema]
shipment_warehouse_id: Optional[int]
shipment_warehouse_name: Optional[str]