Skip to content

Instantly share code, notes, and snippets.

@darrenmothersele
Last active January 15, 2020 15:30
Show Gist options
  • Save darrenmothersele/eedafd5592dd760de214246b4a458b52 to your computer and use it in GitHub Desktop.
Save darrenmothersele/eedafd5592dd760de214246b4a458b52 to your computer and use it in GitHub Desktop.
export interface ZipEntry {
version: number;
bitFlag: number;
compressionMethod: number;
lastModDateRaw: number;
lastModDate: string;
crc32: number;
compressedSize: number;
uncompressedSize: number;
filenameLength: number;
extraFieldLength: number;
commentLength: number;
directory: boolean;
offset: 0;
filename: string;
comment: string;
}
export interface ZipTaskProgress {
active: boolean;
current?: number;
total?: number;
}
import { Observable } from 'rxjs';
import { ZipTaskProgress } from './zip-task-progress.interface';
export interface ZipTask {
progress: Observable<ZipTaskProgress>;
data: Observable<Blob>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment