First upload version 0.0.1
This commit is contained in:
18
node_modules/ipull/dist/download/transfer-visualize/format-transfer-status.d.ts
generated
vendored
Normal file
18
node_modules/ipull/dist/download/transfer-visualize/format-transfer-status.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { TransferProgressInfo } from "./transfer-statistics.js";
|
||||
import { Options as PrettyMsOptions } from "pretty-ms";
|
||||
import { ProgressStatus } from "../download-engine/download-file/progress-status-file.js";
|
||||
export type CliInfoStatus = TransferProgressInfo & {
|
||||
fileName?: string;
|
||||
comment?: string;
|
||||
};
|
||||
export type FormattedStatus = ProgressStatus & CliInfoStatus & {
|
||||
formattedSpeed: string;
|
||||
formatTransferred: string;
|
||||
formatTotal: string;
|
||||
formatTransferredOfTotal: string;
|
||||
formatTimeLeft: string;
|
||||
formattedPercentage: string;
|
||||
formattedComment: string;
|
||||
};
|
||||
export declare const PRETTY_MS_OPTIONS: PrettyMsOptions;
|
||||
export declare function createFormattedStatus(status: ProgressStatus | FormattedStatus): FormattedStatus;
|
||||
Reference in New Issue
Block a user