Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
957 B

Ext.define('Rambox.model.Service', {
extend: 'Ext.data.Model'
,identifier: 'sequential'
,proxy: {
type: 'localstorage'
,id: 'services'
}
,fields: [{
name: 'id'
,type: 'int'
},{
name: 'position'
,type: 'int'
},{
name: 'type'
,type: 'string'
},{
name: 'logo'
,type: 'string'
},{
name: 'name'
,type: 'string'
},{
name: 'url'
,type: 'string'
},{
name: 'align'
,type: 'string'
,defaultValue: 'left'
},{
name: 'notifications'
,type: 'boolean'
,defaultValue: true
},{
name: 'muted'
,type: 'boolean'
,defaultValue: false
},
{
name: 'displayTabUnreadCounter',
type: 'boolean',
defaultValue: true
},
{
name: 'includeInGlobalUnreadCounter',
type: 'boolean',
defaultValue: true
},
{
name: 'trust'
,type: 'boolean'
,defaultValue: false
},{
name: 'enabled'
,type: 'boolean'
,defaultValue: true
},{
name: 'js_unread'
,type: 'string'
,defaultValue: ''
}]
});