diff app/model/Query.js @ 235:78134e20e62d

Added new model and store for Queries.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 09:52:05 +0200
parents
children 7097182150d9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/model/Query.js	Tue Jul 23 09:52:05 2013 +0200
@@ -0,0 +1,16 @@
+Ext.define('Lada.model.Query', {
+    extend: 'Ext.data.Model',
+    fields: [
+        {name: "id"},
+        {name: "name"},
+        {name: "description"},
+        {name: "sql"},
+        {name: "fields"},
+    ],
+    proxy: {
+        type: 'memory',
+        reader: {
+            type: 'json'
+        }
+    }
+});

http://lada.wald.intevation.org