1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-16 14:25:22 -05:00
kaiwa/clientapp/models/resource.js

18 lines
373 B
JavaScript
Raw Normal View History

2013-08-29 23:38:28 -04:00
"use strict";
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: {
jid: ['string', true],
status: ['string', true, ''],
show: ['string', true, ''],
priority: ['number', true, 0],
idleSince: 'date',
discoInfo: 'object'
2013-08-20 13:45:06 -04:00
}
});