Sha256: 082832da92212bd735316eecadb35b13d47b214d109535aebe0a58159c1366ed

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

Ext.define('TM.model.Task', {
	extend: 'Ext.data.Model',

	fields: [
		{ name: 'id', type: 'int' },
		{ name: 'name'},
		{ name: 'task_type'},
		{ name: 'data', type: 'auto' },
		{ name: 'status' },
    { name: 'assignee', type: 'auto', persist: false },
		{ name: 'deadline', type: 'date'},
		{ name: 'created_at', type: 'date' },
    { name: 'updated_at', type: 'date' }
	],

	proxy: {
    type: 'rest',
    url: '/task-manager/api/tasks',
    reader: {
      root: 'tasks',
      totalProperty: 'total'
    }
  }
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
task-manager-0.1.7 app/assets/javascripts/task-manager/extjs/app/model/Task.js
task-manager-0.1.6 app/assets/javascripts/task-manager/extjs/app/model/Task.js