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