Built motion from commit aab208717af8d15f4fa224cdb6a202877019af9b. Version 3.0.0...
[motion-next.git] / server / api / dashboardItem / dashboardItem.attributes.js
1 const a174_0x56cb=['attrs','#ffffff','setDataValue','getDataValue','long','#2196f3','exports','sequelize','TEXT','parse','STRING','stringify','INTEGER'];(function(_0x471c47,_0x56cb86){const _0x1acc70=function(_0x4be4b9){while(--_0x4be4b9){_0x471c47['push'](_0x471c47['shift']());}};_0x1acc70(++_0x56cb86);}(a174_0x56cb,0x100));const a174_0x1acc=function(_0x471c47,_0x56cb86){_0x471c47=_0x471c47-0x0;let _0x1acc70=a174_0x56cb[_0x471c47];return _0x1acc70;};const _0x31a743=a174_0x1acc;'use strict';const Sequelize=require(_0x31a743('0xb'));module[_0x31a743('0xa')]={'title':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize[_0x31a743('0x1')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x31a743('0xc')](_0x31a743('0x8')),'get':function(){const _0xb5503c=_0x31a743;try{return JSON[_0xb5503c('0x0')](this[_0xb5503c('0x7')](_0xb5503c('0x4')));}catch(_0x4be4b9){return[];}},'set':function(_0x3d2c58){const _0x5a7204=_0x31a743;try{this[_0x5a7204('0x6')](_0x5a7204('0x4'),JSON[_0x5a7204('0x2')](_0x3d2c58));}catch(_0x4e868c){this[_0x5a7204('0x6')]('attrs',JSON[_0x5a7204('0x2')]([]));}}},'sizeX':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x31a743('0x3')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x31a743('0x3')]},'col':{'type':Sequelize[_0x31a743('0x3')]},'background':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x31a743('0x5'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x31a743('0x9'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize['STRING']}};