2013-08-29 23:38:28 -04:00
|
|
|
"use strict";
|
|
|
|
|
2013-09-03 22:18:31 -04:00
|
|
|
var HumanModel = require('human-model');
|
2013-08-20 13:45:06 -04:00
|
|
|
|
|
|
|
|
2013-09-05 19:53:23 -04:00
|
|
|
module.exports = HumanModel.define({
|
2013-08-29 23:38:28 -04:00
|
|
|
initialize: function () {},
|
2013-08-20 13:45:06 -04:00
|
|
|
type: 'resource',
|
|
|
|
session: {
|
2013-09-12 16:24:52 -04:00
|
|
|
id: ['string', true],
|
2013-08-20 13:45:06 -04:00
|
|
|
jid: ['string', true],
|
|
|
|
status: ['string', true, ''],
|
|
|
|
show: ['string', true, ''],
|
|
|
|
priority: ['number', true, 0],
|
2013-09-09 19:00:13 -04:00
|
|
|
idleSince: 'date',
|
|
|
|
discoInfo: 'object'
|
2013-08-20 13:45:06 -04:00
|
|
|
}
|
|
|
|
});
|