mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-22 16:10:50 +00:00
Merge main into terminal drag-drop zmodem
This commit is contained in:
commit
285fcd55a9
88 files changed
+2774
-638
No files matched your search
+14
@@ -97,6 +97,20 @@ declare global {
|
||||
error?: string;
|
||||
code?: string;
|
||||
}>;
|
||||
receiveSerialYmodem?(sessionId: string, destinationDir: string): Promise<{
|
||||
success: boolean;
|
||||
files?: Array<{
|
||||
fileName: string;
|
||||
filePath: string;
|
||||
totalBytes: number;
|
||||
writtenBytes: number;
|
||||
}>;
|
||||
fileName?: string;
|
||||
fileCount?: number;
|
||||
totalBytes?: number;
|
||||
error?: string;
|
||||
code?: string;
|
||||
}>;
|
||||
getDefaultShell?(): Promise<string>;
|
||||
discoverShells?(): Promise<DiscoveredShell[]>;
|
||||
validatePath?(path: string, type?: 'file' | 'directory' | 'any'): Promise<{ exists: boolean; isFile: boolean; isDirectory: boolean; isExecutable: boolean }>;
|
||||
|
||||
Reference in new issue
Block a user