feat(archive): ability to archive / extract files in zip format

fix(selectview): clear active files when user taps on select-view button in toolbar

resolve #10
resolve #12
This commit is contained in:
Mahdi Dibaiee
2015-10-24 18:46:17 +03:30
parent 44340abb61
commit dfb7d8aa72
10 changed files with 11547 additions and 297 deletions

View File

@ -0,0 +1,15 @@
import { COMPRESS, DECOMPRESS } from './types';
export function compress(file) {
return {
type: COMPRESS,
file
}
}
export function decompress(file) {
return {
type: DECOMPRESS,
file
}
}

View File

@ -9,6 +9,9 @@ const TYPES = {
REFRESH: Symbol('REFRESH'),
SORT: Symbol('SORT'),
COMPRESS: Symbol('COMPRESS'),
DECOMPRESS: Symbol('DECOMPRESS'),
NEW_FILE: Symbol('NEW_FILE'),
CREATE_FILE: Symbol('CREATE_FILE'),
SHARE_FILE: Symbol('SHARE_FILE'),