feat(#357): custom_field_definitions generisch — W4b-Muster (422/403-Entity-Checks, {items,total}-Shape, ACL-Fix), zentrale Helper, Plural-Ableitungs-Fix
This commit is contained in:
@@ -62,3 +62,10 @@ class CustomFieldDefinitionResponse(BaseModel):
|
||||
updated_by: uuid.UUID | None = None
|
||||
created_at: datetime
|
||||
updated_at: datetime
|
||||
|
||||
|
||||
class CustomFieldDefinitionListResponse(BaseModel):
|
||||
"""List response — {items, total} shape consumed by the frontend."""
|
||||
|
||||
items: list[CustomFieldDefinitionResponse]
|
||||
total: int
|
||||
|
||||
Reference in New Issue
Block a user