feat: generation of modules from the server, moved modules fields from the general tab

This commit is contained in:
2025-03-05 16:54:42 +04:00
parent f8d0f430ac
commit 487174c4ff
8 changed files with 121 additions and 15 deletions

View File

@@ -1,3 +1,5 @@
from typing import Optional
from schemas.attribute import AttributeSchema
from schemas.base import BaseSchema, OkMessageSchema
@@ -17,6 +19,7 @@ class ModuleSchema(BaseSchema):
id: int
key: str
label: str
icon_name: Optional[str] = None
is_deleted: bool