Built motion from commit bbec7235.|2.6.20
[motion2.git] / server / api / dashboardItem / dashboardItem.attributes.js
index 02b00b5..472cf9e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x33af=['attrs','setDataValue','stringify','INTEGER','#ffffff','squel','exports','STRING','TEXT','long','parse'];(function(_0x2b8971,_0x581f63){var _0x1aaddc=function(_0xffa738){while(--_0xffa738){_0x2b8971['push'](_0x2b8971['shift']());}};_0x1aaddc(++_0x581f63);}(_0x33af,0xec));var _0xf33a=function(_0xee37f1,_0x189f43){_0xee37f1=_0xee37f1-0x0;var _0x37fd54=_0x33af[_0xee37f1];return _0x37fd54;};'use strict';var Sequelize=require('sequelize');var squel=require(_0xf33a('0x0'));var _=require('lodash');module[_0xf33a('0x1')]={'title':{'type':Sequelize[_0xf33a('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0xf33a('0x2')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0xf33a('0x3')](_0xf33a('0x4')),'get':function(){try{return JSON[_0xf33a('0x5')](this['getDataValue'](_0xf33a('0x6')));}catch(_0x44cfa5){return[];}},'set':function(_0x583e54){try{this[_0xf33a('0x7')](_0xf33a('0x6'),JSON[_0xf33a('0x8')](_0x583e54));}catch(_0x2f3730){this[_0xf33a('0x7')](_0xf33a('0x6'),JSON['stringify']([]));}}},'sizeX':{'type':Sequelize[_0xf33a('0x9')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0xf33a('0x9')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0xf33a('0x9')]},'col':{'type':Sequelize[_0xf33a('0x9')]},'background':{'type':Sequelize[_0xf33a('0x2')],'allowNull':![],'defaultValue':_0xf33a('0xa'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'#2196f3','validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0xf33a('0x2')]},'titleFontSize':{'type':Sequelize[_0xf33a('0x9')],'defaultValue':0xc}};
\ No newline at end of file
+var _0x7c09=['getDataValue','attrs','stringify','setDataValue','INTEGER','#2196f3','squel','lodash','STRING','TEXT','long','parse'];(function(_0x13c542,_0x4a9af3){var _0x306405=function(_0x36aaef){while(--_0x36aaef){_0x13c542['push'](_0x13c542['shift']());}};_0x306405(++_0x4a9af3);}(_0x7c09,0x102));var _0x97c0=function(_0x322f90,_0x4777d5){_0x322f90=_0x322f90-0x0;var _0xc8bfd6=_0x7c09[_0x322f90];return _0xc8bfd6;};'use strict';var Sequelize=require('sequelize');var squel=require(_0x97c0('0x0'));var _=require(_0x97c0('0x1'));module['exports']={'title':{'type':Sequelize[_0x97c0('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0x97c0('0x2')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x97c0('0x3')](_0x97c0('0x4')),'get':function(){try{return JSON[_0x97c0('0x5')](this[_0x97c0('0x6')](_0x97c0('0x7')));}catch(_0x4a7788){return[];}},'set':function(_0x4b2f81){try{this['setDataValue'](_0x97c0('0x7'),JSON[_0x97c0('0x8')](_0x4b2f81));}catch(_0x2c19fa){this[_0x97c0('0x9')](_0x97c0('0x7'),JSON['stringify']([]));}}},'sizeX':{'type':Sequelize[_0x97c0('0xa')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x97c0('0xa')]},'col':{'type':Sequelize[_0x97c0('0xa')]},'background':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'#ffffff','validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x97c0('0x2')],'allowNull':![],'defaultValue':_0x97c0('0xb'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x97c0('0x2')]},'titleFontSize':{'type':Sequelize[_0x97c0('0xa')],'defaultValue':0xc}};
\ No newline at end of file