feat(archive-name): ask for a name to set for new archives

resolve #13
This commit is contained in:
Mahdi Dibaiee
2015-10-24 19:41:54 +03:30
parent 735ef7fa7b
commit 1833a5e3c1
7 changed files with 98 additions and 22 deletions

View File

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