Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / api / dashboardItem / dashboardItem.attributes.js
index 1f78cc3..38d577d 100644 (file)
@@ -1 +1 @@
-const a174_0x2d4b=['setDataValue','TEXT','INTEGER','STRING','attrs','long','getDataValue','sequelize','#ffffff','#2196f3'];(function(_0x152142,_0x2d4b8c){const _0x50e34c=function(_0x2843d7){while(--_0x2843d7){_0x152142['push'](_0x152142['shift']());}};_0x50e34c(++_0x2d4b8c);}(a174_0x2d4b,0x160));const a174_0x50e3=function(_0x152142,_0x2d4b8c){_0x152142=_0x152142-0x0;let _0x50e34c=a174_0x2d4b[_0x152142];return _0x50e34c;};const _0x43508a=a174_0x50e3;'use strict';const Sequelize=require(_0x43508a('0x5'));module['exports']={'title':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x43508a('0x9')](_0x43508a('0x3')),'get':function(){const _0xaeafef=_0x43508a;try{return JSON['parse'](this[_0xaeafef('0x4')](_0xaeafef('0x2')));}catch(_0x2843d7){return[];}},'set':function(_0x42fab6){const _0x2cfb3b=_0x43508a;try{this['setDataValue']('attrs',JSON['stringify'](_0x42fab6));}catch(_0x5b9290){this[_0x2cfb3b('0x8')]('attrs',JSON['stringify']([]));}}},'sizeX':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x43508a('0x0')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x43508a('0x0')]},'col':{'type':Sequelize[_0x43508a('0x0')]},'background':{'type':Sequelize[_0x43508a('0x1')],'allowNull':![],'defaultValue':_0x43508a('0x6'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x43508a('0x1')],'allowNull':![],'defaultValue':_0x43508a('0x7'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize['STRING']}};
\ No newline at end of file
+const a174_0x2e09=['setDataValue','attrs','INTEGER','#2196f3','#ffffff','TEXT','STRING','getDataValue','stringify'];(function(_0x277efe,_0x2e0988){const _0x5db8b9=function(_0x43bc51){while(--_0x43bc51){_0x277efe['push'](_0x277efe['shift']());}};_0x5db8b9(++_0x2e0988);}(a174_0x2e09,0x8d));const a174_0x5db8=function(_0x277efe,_0x2e0988){_0x277efe=_0x277efe-0x0;let _0x5db8b9=a174_0x2e09[_0x277efe];return _0x5db8b9;};const _0x29c9f7=a174_0x5db8;'use strict';const Sequelize=require('sequelize');module['exports']={'title':{'type':Sequelize[_0x29c9f7('0x0')],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x29c9f7('0x8')]('long'),'get':function(){const _0x330de2=_0x29c9f7;try{return JSON['parse'](this[_0x330de2('0x1')](_0x330de2('0x4')));}catch(_0x43bc51){return[];}},'set':function(_0xcbd939){const _0x5c7232=_0x29c9f7;try{this[_0x5c7232('0x3')](_0x5c7232('0x4'),JSON['stringify'](_0xcbd939));}catch(_0x168901){this[_0x5c7232('0x3')]('attrs',JSON[_0x5c7232('0x2')]([]));}}},'sizeX':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x29c9f7('0x5')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x29c9f7('0x5')]},'col':{'type':Sequelize['INTEGER']},'background':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x29c9f7('0x7'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x29c9f7('0x0')],'allowNull':![],'defaultValue':_0x29c9f7('0x6'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize['STRING']}};
\ No newline at end of file