1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-11 20:15:00 -05:00
kaiwa/clientapp/models/resource.js
2013-09-09 16:00:13 -07:00

18 lines
373 B
JavaScript

"use strict";
var HumanModel = require('human-model');
module.exports = HumanModel.define({
initialize: function () {},
type: 'resource',
session: {
jid: ['string', true],
status: ['string', true, ''],
show: ['string', true, ''],
priority: ['number', true, 0],
idleSince: 'date',
discoInfo: 'object'
}
});