Mercurial > lada > lada-client
comparison app/model/Query.js @ 491:850ccfe5f3c4
Code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Oct 2014 23:23:32 +0100 |
parents | debfcc7713e3 |
children |
comparison
equal
deleted
inserted
replaced
490:446e99cfd425 | 491:850ccfe5f3c4 |
---|---|
9 /** | 9 /** |
10 * Model class for SQL-Querys | 10 * Model class for SQL-Querys |
11 */ | 11 */ |
12 Ext.define('Lada.model.Query', { | 12 Ext.define('Lada.model.Query', { |
13 extend: 'Lada.model.Base', | 13 extend: 'Lada.model.Base', |
14 fields: [ | 14 |
15 {name: "id"}, | 15 fields: [{ |
16 {name: "name"}, | 16 name: "id" |
17 {name: "description"}, | 17 }, { |
18 {name: "sql"}, | 18 name: "name" |
19 {name: "results"}, | 19 }, { |
20 {name: "filters"} | 20 name: "description" |
21 ], | 21 }, { |
22 name: "sql" | |
23 }, { | |
24 name: "results" | |
25 }, { | |
26 name: "filters" | |
27 }], | |
28 | |
22 proxy: { | 29 proxy: { |
23 type: 'rest', | 30 type: 'rest', |
24 url: 'server/rest/query', | 31 url: 'server/rest/query', |
25 reader: { | 32 reader: { |
26 type: 'json', | 33 type: 'json', |