Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / dashboardItem / dashboardItem.attributes.js
index e34b0bd..5ac4385 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3fc0=['#ffffff','sequelize','squel','exports','STRING','TEXT','long','setDataValue','attrs','stringify','INTEGER'];(function(_0x5c9d9f,_0x4bf54b){var _0xfe6db4=function(_0x29d897){while(--_0x29d897){_0x5c9d9f['push'](_0x5c9d9f['shift']());}};_0xfe6db4(++_0x4bf54b);}(_0x3fc0,0x14b));var _0x03fc=function(_0x3b96cf,_0x1592f2){_0x3b96cf=_0x3b96cf-0x0;var _0x2e315a=_0x3fc0[_0x3b96cf];return _0x2e315a;};'use strict';var Sequelize=require(_0x03fc('0x0'));var squel=require(_0x03fc('0x1'));var _=require('lodash');module[_0x03fc('0x2')]={'title':{'type':Sequelize[_0x03fc('0x3')],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x03fc('0x4')](_0x03fc('0x5')),'get':function(){try{return JSON['parse'](this['getDataValue']('attrs'));}catch(_0x4c1570){return[];}},'set':function(_0x5cf972){try{this[_0x03fc('0x6')](_0x03fc('0x7'),JSON['stringify'](_0x5cf972));}catch(_0x5e3da1){this[_0x03fc('0x6')]('attrs',JSON[_0x03fc('0x8')]([]));}}},'sizeX':{'type':Sequelize[_0x03fc('0x9')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x03fc('0x9')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x03fc('0x9')]},'col':{'type':Sequelize[_0x03fc('0x9')]},'background':{'type':Sequelize[_0x03fc('0x3')],'allowNull':![],'defaultValue':_0x03fc('0xa'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'#2196f3','validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x03fc('0x3')]}};
\ No newline at end of file
+var _0x23bb=['squel','exports','TEXT','parse','getDataValue','attrs','setDataValue','stringify','INTEGER','STRING','#ffffff','#2196f3','sequelize'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x23bb,0x1ed));var _0xb23b=function(_0x28add8,_0x18d6bd){_0x28add8=_0x28add8-0x0;var _0x2b1f4f=_0x23bb[_0x28add8];return _0x2b1f4f;};'use strict';var Sequelize=require(_0xb23b('0x0'));var squel=require(_0xb23b('0x1'));var _=require('lodash');module[_0xb23b('0x2')]={'title':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0xb23b('0x3')]('long'),'get':function(){try{return JSON[_0xb23b('0x4')](this[_0xb23b('0x5')](_0xb23b('0x6')));}catch(_0x3cce5e){return[];}},'set':function(_0x1c6d43){try{this[_0xb23b('0x7')](_0xb23b('0x6'),JSON[_0xb23b('0x8')](_0x1c6d43));}catch(_0x3e6b9b){this[_0xb23b('0x7')](_0xb23b('0x6'),JSON['stringify']([]));}}},'sizeX':{'type':Sequelize[_0xb23b('0x9')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0xb23b('0x9')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0xb23b('0x9')]},'col':{'type':Sequelize[_0xb23b('0x9')]},'background':{'type':Sequelize[_0xb23b('0xa')],'allowNull':![],'defaultValue':_0xb23b('0xb'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0xb23b('0xa')],'allowNull':![],'defaultValue':_0xb23b('0xc'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0xb23b('0xa')]}};
\ No newline at end of file