refactor: remove condition tests and update file node interfaces in game session

TODO: replace "folder" with "directory"
This commit is contained in:
Justin Lin committed 2025-04-24 18:10:47 +08:00
1 parent 0685d71299
commit 7e50c8e06c
6 files changed
+46 -46

No files matched your search

+2 -2
View File
@@ -2,9 +2,9 @@ export { default as File, FileObject } from './file.js'
export { default as FileNode } from './fileNode.js'
export { default as FileGraph, Event } from './fileGraph.js'
export interface INode {
export interface IFileNode {
path: string
type: string
discovered: boolean
children?: INode[]
children?: IFileNode[]
}