summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/models/ConfigItem.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/models/ConfigItem.js')
-rw-r--r--module/web/static/js/models/ConfigItem.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/module/web/static/js/models/ConfigItem.js b/module/web/static/js/models/ConfigItem.js
new file mode 100644
index 000000000..f55bb2b9e
--- /dev/null
+++ b/module/web/static/js/models/ConfigItem.js
@@ -0,0 +1,22 @@
+define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes'],
+ function($, Backbone, _, App, Api) {
+
+ return Backbone.Model.extend({
+
+ defaults: {
+ name: "",
+ label: "",
+ description: "",
+ input: null,
+ default_valie: null,
+ value: null,
+ // additional attributes
+ inputView: null
+ },
+
+ // Model Constructor
+ initialize: function() {
+
+ }
+ });
+ }); \ No newline at end of file