mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-08-13 17:03:51 -04:00
15 lines
331 B
JavaScript
15 lines
331 B
JavaScript
|
var StrictModel = require('strictmodel').Model;
|
||
|
|
||
|
|
||
|
module.exports = StrictModel.extend({
|
||
|
init: function () {},
|
||
|
type: 'resource',
|
||
|
session: {
|
||
|
jid: ['string', true],
|
||
|
status: ['string', true, ''],
|
||
|
show: ['string', true, ''],
|
||
|
priority: ['number', true, 0],
|
||
|
idleSince: 'date'
|
||
|
}
|
||
|
});
|