| 57 | * 文件夹 Store 接口 |
| 58 | */ |
| 59 | export interface IFolderStore extends IEntityStore<PageFolder, FolderCreateDTO> { |
| 60 | /** |
| 61 | * 当前文件夹列表(只读) |
| 62 | */ |
| 63 | readonly folders: PageFolder[] |
| 64 | |
| 65 | /** |
| 66 | * 根据父文件夹 ID 查询子文件夹 |
| 67 | * @param parentId 父文件夹 ID,undefined 表示根目录 |
| 68 | */ |
| 69 | findByParentId(parentId: string | undefined): PageFolder[] |
| 70 | |
| 71 | /** |
| 72 | * 切换文件夹展开状态 |
| 73 | */ |
| 74 | toggleExpanded(id: string): Promise<void> |
| 75 | } |
| 76 | |
| 77 | // ==================== Message Store ==================== |
| 78 |
no outgoing calls
no test coverage detected