fix: projects editor to selected project editor, moved attributes editor

This commit is contained in:
2025-03-02 16:49:44 +04:00
parent 6fb9dcf6f0
commit f8d0f430ac

View File

@@ -9,6 +9,10 @@ class BaseProjectSchema(BaseSchema):
name: str
class ProjectGeneralInfoSchema(BaseProjectSchema):
id: int
class ModuleSchema(BaseSchema):
id: int
key: str
@@ -16,8 +20,7 @@ class ModuleSchema(BaseSchema):
is_deleted: bool
class ProjectSchema(BaseProjectSchema):
id: int
class ProjectSchema(ProjectGeneralInfoSchema):
attributes: list[AttributeSchema]
modules: list[ModuleSchema]
@@ -35,7 +38,7 @@ class CreateProjectRequest(BaseSchema):
class UpdateProjectRequest(BaseSchema):
project: ProjectSchema
project: ProjectGeneralInfoSchema
class UpdateModulesRequest(BaseSchema):