UNPKG

skysync-cli

Version:

SkySync Command Line Interface

32 lines (31 loc) 938 B
import { IEntityIdentifier } from './base'; export interface TransferPlatformStatistic { name?: string; bytes?: number; files?: number; folders?: number; } export interface TransferPlatformStatistics { source?: TransferPlatformStatistic; destination?: TransferPlatformStatistic; } export interface TransferStatisticsList { [key: string]: TransferPlatformStatistics; } export declare type TransferJobStatisticsTimeline = { timestamp: number; stats: TransferStatisticsList; }[]; export interface TransferJobStatistics extends IEntityIdentifier<string> { timeline?: TransferJobStatisticsTimeline; by_category?: TransferStatisticsList; by_status?: TransferStatisticsList; processing?: TransferStatisticsList; count?: number; executions?: number; stop_policy?: { none?: number; pending?: number; complete?: number; }; }