X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FdashboardItem%2FdashboardItem.attributes.js;h=55d2f4d6889d768105e147fffc721dfe98506161;hb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;hp=3a93f1984b1d554e2ff39f4021440a6378b30e8b;hpb=d5b3d400e91cc98c429bfb9d7741cfdb9b495f82;p=motion2.git diff --git a/server/api/dashboardItem/dashboardItem.attributes.js b/server/api/dashboardItem/dashboardItem.attributes.js index 3a93f19..55d2f4d 100644 --- a/server/api/dashboardItem/dashboardItem.attributes.js +++ b/server/api/dashboardItem/dashboardItem.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf5f5=['exports','STRING','TEXT','long','parse','getDataValue','attrs','stringify','setDataValue','INTEGER','#ffffff','#2196f3','sequelize'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xf5f5,0x74));var _0x5f5f=function(_0x32fb3b,_0xbec2b6){_0x32fb3b=_0x32fb3b-0x0;var _0x47dbda=_0xf5f5[_0x32fb3b];return _0x47dbda;};'use strict';var Sequelize=require(_0x5f5f('0x0'));var squel=require('squel');var _=require('lodash');module[_0x5f5f('0x1')]={'title':{'type':Sequelize[_0x5f5f('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0x5f5f('0x2')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x5f5f('0x3')](_0x5f5f('0x4')),'get':function(){try{return JSON[_0x5f5f('0x5')](this[_0x5f5f('0x6')](_0x5f5f('0x7')));}catch(_0x5e708c){return[];}},'set':function(_0x187974){try{this['setDataValue'](_0x5f5f('0x7'),JSON[_0x5f5f('0x8')](_0x187974));}catch(_0x5eefbc){this[_0x5f5f('0x9')]('attrs',JSON[_0x5f5f('0x8')]([]));}}},'sizeX':{'type':Sequelize[_0x5f5f('0xa')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x5f5f('0xa')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x5f5f('0xa')]},'col':{'type':Sequelize[_0x5f5f('0xa')]},'background':{'type':Sequelize[_0x5f5f('0x2')],'allowNull':![],'defaultValue':_0x5f5f('0xb'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x5f5f('0x2')],'allowNull':![],'defaultValue':_0x5f5f('0xc'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x5f5f('0x2')]},'titleFontSize':{'type':Sequelize[_0x5f5f('0xa')],'defaultValue':0xc}}; \ No newline at end of file +var _0x9510=['setDataValue','INTEGER','#ffffff','sequelize','squel','lodash','exports','STRING','long','parse','attrs','stringify'];(function(_0x40da39,_0x3efdd2){var _0x2d2ed1=function(_0x35fa23){while(--_0x35fa23){_0x40da39['push'](_0x40da39['shift']());}};_0x2d2ed1(++_0x3efdd2);}(_0x9510,0xab));var _0x0951=function(_0x55d02c,_0x5b53f3){_0x55d02c=_0x55d02c-0x0;var _0x1a871e=_0x9510[_0x55d02c];return _0x1a871e;};'use strict';var Sequelize=require(_0x0951('0x0'));var squel=require(_0x0951('0x1'));var _=require(_0x0951('0x2'));module[_0x0951('0x3')]={'title':{'type':Sequelize[_0x0951('0x4')],'allowNull':![]},'type':{'type':Sequelize[_0x0951('0x4')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize['TEXT'](_0x0951('0x5')),'get':function(){try{return JSON[_0x0951('0x6')](this['getDataValue']('attrs'));}catch(_0x262874){return[];}},'set':function(_0x176e18){try{this['setDataValue'](_0x0951('0x7'),JSON[_0x0951('0x8')](_0x176e18));}catch(_0x452860){this[_0x0951('0x9')](_0x0951('0x7'),JSON[_0x0951('0x8')]([]));}}},'sizeX':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x0951('0xa')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize['INTEGER']},'col':{'type':Sequelize[_0x0951('0xa')]},'background':{'type':Sequelize[_0x0951('0x4')],'allowNull':![],'defaultValue':_0x0951('0xb'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x0951('0x4')],'allowNull':![],'defaultValue':'#2196f3','validate':{'notEmpty':!![]}},'link':{'type':Sequelize['STRING']},'titleFontSize':{'type':Sequelize[_0x0951('0xa')],'defaultValue':0xc}}; \ No newline at end of file