refactor(control): create gloabel type CompleteFileLoadingData

This commit is contained in:
E44
2026-01-18 11:58:28 +01:00
parent f84a7c0520
commit c2d9a2b049
2 changed files with 10 additions and 13 deletions
+7
View File
@@ -66,6 +66,13 @@ export type FileLoadingData = {
seconds_until_finish: number;
};
export type CompleteFileLoadingData = {
is_loading: boolean;
total_percentage: number;
total_seconds_until_finish: number;
display_data: { loading_data: FileLoadingData; display_name: string }[];
};
export type Inode = {
path: string;
name: string;