MCPcopy Create free account
hub / github.com/experdot/pointer / IFolderStore

Interface IFolderStore

src/renderer/src/stores/interfaces/entities.ts:59–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 * 文件夹 Store 接口
58 */
59export 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

Callers 8

getFolderStoreInterfaceFunction · 0.80
createPageFunction · 0.80
checkFolderNameConflictFunction · 0.80
moveFolderFunction · 0.80
createFolderFunction · 0.80
getSubFoldersFunction · 0.80
getFolderStoreInterfaceFunction · 0.80
toggleFolderExpandedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected