Last active
January 15, 2020 15:30
-
-
Save darrenmothersele/eedafd5592dd760de214246b4a458b52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export interface ZipTaskProgress { | |
| active: boolean; | |
| current?: number; | |
| total?: number; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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