{"size": 559, "ext": "js", "max_stars_repo_path": "dist/esm/popup/reducers/remoteUploadStart.js", "max_stars_repo_name": "willmendesneto/willmendesneto-playground", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/esm/popup/reducers/remoteUploadStart.js", "max_issues_repo_name": "willmendesneto/willmendesneto-playground", "max_issues_repo_issues_event_min_datetime": "2020-06-28T17:32:22.000Z", "max_issues_repo_issues_event_max_datetime": "2020-08-01T03:59:30.000Z", "max_forks_repo_path": "dist/esm/popup/reducers/remoteUploadStart.js", "max_forks_repo_name": "willmendesneto/willmendesneto-playground", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 39.9285714286, "max_line_length": 79, "alphanum_fraction": 0.6726296959}
import { __assign } from "tslib";
import { REMOTE_UPLOAD_START, } from '../actions/remoteUploadStart';
export default function remoteUploadStart(state, action) {
    if (action.type === REMOTE_UPLOAD_START) {
        var tenantFileId = action.tenantFileId;
        var remoteUploads = __assign({}, state.remoteUploads);
        remoteUploads[tenantFileId] = {
            timeStarted: Date.now(),
        };
        return __assign(__assign({}, state), { remoteUploads: remoteUploads });
    }
    return state;
}
//# sourceMappingURL=remoteUploadStart.js.map