diff options
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/public/bundle.js b/public/bundle.js index 220a5a1..e6986de 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -4576,7 +4576,12 @@ exports.default = taskReducer; Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = { + +var _system$app$task$sock; + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +exports.default = (_system$app$task$sock = { system: { running_command: 'SYSTEM_RUNNING_COMMAND', command_output: 'SYSTEM_COMMAND_OUTPUT', @@ -4634,8 +4639,32 @@ exports.default = { save_frame: 'SAVE_FRAME', saving_video: 'SAVING_VIDEO', save_video: 'SAVE_VIDEO' - } -}; + }, + folder: crud('folder', ['']), + file: crud('file', []) +}, _defineProperty(_system$app$task$sock, 'task', crud('task', [])), _defineProperty(_system$app$task$sock, 'samplernn', { + // dataset uploading + upload_files: 'UPLOAD_FILES', + file_progress: 'FILE_PROGRESS', + file_uploaded: 'FILE_UPLOADED', + fetch_url: 'FETCH_URL', + fetch_progress: 'FETCH_PROGRESS' + // queue and train + // update checkpoint settings + // reset checkpoint settings + // queue new checkpoint + // +}), _system$app$task$sock); + + +var standard_actions = ['index', 'show', 'create', 'update', 'destroy', 'sort']; +function crud(type) { + var actions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + + return actions.concat(standard_actions).reduce(function (lookup, action) { + (lookup[action] = [type, action].join('_').toUpperCase()) && lookup; + }, {}); +} /***/ }), |
