From 75b3b31d11e8d19e5c7bbf2202bb7849babdfa94 Mon Sep 17 00:00:00 2001 From: Jesse Lucas Date: Tue, 17 Mar 2020 22:36:57 -0400 Subject: [PATCH] create folder status interface --- src/app/folder.ts | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/src/app/folder.ts b/src/app/folder.ts index 0ca038740..4d56e7944 100644 --- a/src/app/folder.ts +++ b/src/app/folder.ts @@ -1,6 +1,37 @@ export interface Folder { id: 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; } \ No newline at end of file