summaryrefslogtreecommitdiff
path: root/public/bundle.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-29 00:15:13 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-29 00:15:13 +0200
commita77ddf4bf8ad8aeb91e2109a7c4a92149928b57b (patch)
treebed9a31e1febb3824d4d273bd4821ab28449f82a /public/bundle.js
parentbdab187f3d385a6b96c24135679af468d1e7892b (diff)
adding migrations!!
Diffstat (limited to 'public/bundle.js')
-rw-r--r--public/bundle.js35
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;
+ }, {});
+}
/***/ }),