torsten@235: Ext.define('Lada.model.Query', { torsten@235: extend: 'Ext.data.Model', torsten@235: fields: [ torsten@235: {name: "id"}, torsten@235: {name: "name"}, torsten@235: {name: "description"}, torsten@235: {name: "sql"}, torsten@248: {name: "results"}, torsten@244: {name: "filters"}, torsten@235: ], torsten@235: proxy: { torsten@248: type: 'rest', torsten@248: url: 'server/rest/query', torsten@235: reader: { torsten@248: type: 'json', torsten@248: root: 'data' torsten@235: } torsten@235: } torsten@235: });