mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-20 03:51:00 +00:00
create folder status interface
This commit is contained in:
parent
90c39de0cc
commit
75b3b31d11
@ -1,6 +1,37 @@
|
|||||||
export interface Folder {
|
export interface Folder {
|
||||||
id: string;
|
id: string;
|
||||||
label: string;
|
label: string;
|
||||||
|
status: FolderStatus;
|
||||||
// TODO add additional properties
|
}
|
||||||
|
|
||||||
|
export interface FolderStatus {
|
||||||
|
globalBytes: number;
|
||||||
|
globalDeleted: number;
|
||||||
|
globalDirectories: number;
|
||||||
|
globalFiles: number;
|
||||||
|
globalSymlinks: number;
|
||||||
|
ignorePatterns: boolean;
|
||||||
|
inSyncBytes: number;
|
||||||
|
inSyncFiles: number;
|
||||||
|
invalid: string;
|
||||||
|
localBytes: number;
|
||||||
|
localDeleted: number;
|
||||||
|
localDirectories: number;
|
||||||
|
localFiles: number;
|
||||||
|
localSymlinks: number;
|
||||||
|
needBytes: number;
|
||||||
|
needDeletes: number;
|
||||||
|
needDirectories: number;
|
||||||
|
needFiles: number;
|
||||||
|
needSymlinks: number;
|
||||||
|
pullErrors: number;
|
||||||
|
receiveOnlyChangedBytes: number;
|
||||||
|
receiveOnlyChangedDeletes: number;
|
||||||
|
receiveOnlyChangedDirectories: number;
|
||||||
|
receiveOnlyChangedFiles: number;
|
||||||
|
receiveOnlyChangedSymlinks: number;
|
||||||
|
sequence: number;
|
||||||
|
state: string;
|
||||||
|
stateChanged: string;
|
||||||
|
version: number;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user