Adding on_website and preferred part indicators

This commit is contained in:
Ian Roddis committed 2026-09-21 14:01:23 -03:00
1 parent 13b64a2d17
commit 4fd2bb1b58
13 files changed
+331 -6

No files matched your search

+4
View File
@@ -39,6 +39,8 @@ class AugmentedPartBase(BaseModel):
scope_model_id: int | None = None
part_type_id: int
sub_part_type_id: int | None = None
on_website: bool = False
preferred_part: bool = False
class AugmentedPartCreate(AugmentedPartBase):
@@ -54,6 +56,8 @@ class AugmentedPartUpdate(BaseModel):
part_type_id: int | None = None
sub_part_type_id: int | None = None
archived: bool | None = None
on_website: bool | None = None
preferred_part: bool | None = None
class AugmentedPartSyncResult(BaseModel):