mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat(web): sort file search results (#1109)
This commit is contained in:
@@ -400,6 +400,18 @@ export type ListDirectoryResponse = {
|
||||
|
||||
export type RpcListDirectoryResponse = ListDirectoryResponse
|
||||
|
||||
export type FileMetadataEntry = {
|
||||
path: string
|
||||
size?: number
|
||||
modified?: number
|
||||
}
|
||||
|
||||
export type StatFilesResponse = {
|
||||
success: boolean
|
||||
entries?: FileMetadataEntry[]
|
||||
error?: string
|
||||
}
|
||||
|
||||
export type MachineDirectoryEntry = DirectoryEntry & {
|
||||
isGitRepo?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user