refac/enh: folder optimization

This commit is contained in:
Timothy Jaeryang Baek
2025-09-26 20:48:17 -05:00
parent 54beeeaf72
commit c80bb31968
9 changed files with 153 additions and 32 deletions
+14
View File
@@ -50,6 +50,20 @@ class FolderModel(BaseModel):
model_config = ConfigDict(from_attributes=True)
class FolderMetadataResponse(BaseModel):
icon: Optional[str] = None
class FolderNameIdResponse(BaseModel):
id: str
name: str
meta: Optional[FolderMetadataResponse] = None
parent_id: Optional[str] = None
is_expanded: bool = False
created_at: int
updated_at: int
####################
# Forms
####################