MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / FileNode

Interface FileNode

apps/webuiapps/src/types/fileSystem.ts:30–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 * File node
29 */
30export interface FileNode {
31 /** Unique identifier */
32 id: string;
33 /** File/folder name */
34 name: string;
35 /** Full path, e.g. "/photos/2024/img.jpg" */
36 path: string;
37 /** Node type */
38 type: FileNodeType;
39 /** Parent node ID, null for root node */
40 parentId: string | null;
41 /** Child node ID list (folder type only) */
42 children?: string[];
43 /** File content (optional, loaded on demand) */
44 content?: unknown;
45 /** Metadata */
46 metadata?: FileMetadata;
47}
48
49// ============ File system store types ============
50

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected