Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index cbdbc6a..ca959c3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5bf5=['BOOLEAN','voice','sequelize','lodash','exports','VIRTUAL','getDataValue','alias','setDataValue','name','STRING','TEXT','type','parse','values','isArray','stringify'];(function(_0x596649,_0x4773b1){var _0x26f5d8=function(_0x203e3e){while(--_0x203e3e){_0x596649['push'](_0x596649['shift']());}};_0x26f5d8(++_0x4773b1);}(_0x5bf5,0x1ab));var _0x55bf=function(_0x42eb44,_0x5b5a9a){_0x42eb44=_0x42eb44-0x0;var _0x4f6b13=_0x5bf5[_0x42eb44];return _0x4f6b13;};'use strict';var Sequelize=require(_0x55bf('0x0'));var _=require(_0x55bf('0x1'));module[_0x55bf('0x2')]={'name':{'type':Sequelize[_0x55bf('0x3')],'get':function(_0x1dc39d){return this[_0x55bf('0x4')](_0x55bf('0x5'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0xb90fb0){this[_0x55bf('0x6')](_0x55bf('0x5'),_0xb90fb0?_0xb90fb0:this['getDataValue'](_0x55bf('0x7')));}},'type':{'type':Sequelize[_0x55bf('0x8')],'allowNull':![]},'values':{'type':Sequelize[_0x55bf('0x9')]('long'),'get':function(){if(this[_0x55bf('0x4')](_0x55bf('0xa'))==='select'){return JSON[_0x55bf('0xb')](this[_0x55bf('0x4')](_0x55bf('0xc')));}else{return this[_0x55bf('0x4')](_0x55bf('0xc'));}},'set':function(_0x57edf8){if(Array[_0x55bf('0xd')](_0x57edf8)){this['setDataValue'](_0x55bf('0xc'),JSON[_0x55bf('0xe')](_0x57edf8));}else{this[_0x55bf('0x6')](_0x55bf('0xc'),_0x57edf8);}}},'required':{'type':Sequelize[_0x55bf('0xf')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM'](_0x55bf('0x10'))}};
\ No newline at end of file
+var _0x3390=['name','STRING','TEXT','long','type','select','values','isArray','setDataValue','stringify','BOOLEAN','voice','sequelize','lodash','exports','VIRTUAL','getDataValue','alias'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x3390,0x108));var _0x0339=function(_0x37ea79,_0x489e57){_0x37ea79=_0x37ea79-0x0;var _0x220eb3=_0x3390[_0x37ea79];return _0x220eb3;};'use strict';var Sequelize=require(_0x0339('0x0'));var _=require(_0x0339('0x1'));module[_0x0339('0x2')]={'name':{'type':Sequelize[_0x0339('0x3')],'get':function(_0x2771e3){return this[_0x0339('0x4')](_0x0339('0x5'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x15353f){this['setDataValue']('alias',_0x15353f?_0x15353f:this['getDataValue'](_0x0339('0x6')));}},'type':{'type':Sequelize[_0x0339('0x7')],'allowNull':![]},'values':{'type':Sequelize[_0x0339('0x8')](_0x0339('0x9')),'get':function(){if(this['getDataValue'](_0x0339('0xa'))===_0x0339('0xb')){return JSON['parse'](this['getDataValue'](_0x0339('0xc')));}else{return this['getDataValue'](_0x0339('0xc'));}},'set':function(_0x3520d7){if(Array[_0x0339('0xd')](_0x3520d7)){this[_0x0339('0xe')]('values',JSON[_0x0339('0xf')](_0x3520d7));}else{this[_0x0339('0xe')](_0x0339('0xc'),_0x3520d7);}}},'required':{'type':Sequelize[_0x0339('0x10')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x0339('0x10')],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM'](_0x0339('0x11'))}};
\ No newline at end of file