refac/enh: folder optimization

This commit is contained in:
Timothy Jaeryang Baek committed 2025-09-26 20:48:17 -05:00
1 parent 54beeeaf72
commit c80bb31968
9 files changed
+153 -32

No files matched your search

+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
####################