Built motion from commit 746c7d2a.|2.5.35
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index f512ec0..04068d3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc567=['values','isArray','stringify','voice','lodash','VIRTUAL','getDataValue','alias','STRING','setDataValue','name','TEXT','long','type','parse'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xc567,0x112));var _0x7c56=function(_0x4d3280,_0x12ad7e){_0x4d3280=_0x4d3280-0x0;var _0x183fe6=_0xc567[_0x4d3280];return _0x183fe6;};'use strict';var Sequelize=require('sequelize');var _=require(_0x7c56('0x0'));module['exports']={'name':{'type':Sequelize[_0x7c56('0x1')],'get':function(_0x54637a){return this[_0x7c56('0x2')](_0x7c56('0x3'));}},'alias':{'type':Sequelize[_0x7c56('0x4')],'allowNull':![],'set':function(_0x243c7b){this[_0x7c56('0x5')]('alias',_0x243c7b?_0x243c7b:this['getDataValue'](_0x7c56('0x6')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x7c56('0x7')](_0x7c56('0x8')),'get':function(){if(this[_0x7c56('0x2')](_0x7c56('0x9'))==='select'){return JSON[_0x7c56('0xa')](this[_0x7c56('0x2')](_0x7c56('0xb')));}else{return this[_0x7c56('0x2')]('values');}},'set':function(_0x39794c){if(Array[_0x7c56('0xc')](_0x39794c)){this[_0x7c56('0x5')](_0x7c56('0xb'),JSON[_0x7c56('0xd')](_0x39794c));}else{this[_0x7c56('0x5')](_0x7c56('0xb'),_0x39794c);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM'](_0x7c56('0xe'))}};
\ No newline at end of file
+var _0xf611=['STRING','setDataValue','getDataValue','TEXT','long','parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','exports','alias'];(function(_0x3d49bc,_0x1ce1e4){var _0x4d3f6a=function(_0x3fdd06){while(--_0x3fdd06){_0x3d49bc['push'](_0x3d49bc['shift']());}};_0x4d3f6a(++_0x1ce1e4);}(_0xf611,0x1cc));var _0x1f61=function(_0x2bbdc4,_0x2cb88e){_0x2bbdc4=_0x2bbdc4-0x0;var _0x482d0c=_0xf611[_0x2bbdc4];return _0x482d0c;};'use strict';var Sequelize=require(_0x1f61('0x0'));var _=require(_0x1f61('0x1'));module[_0x1f61('0x2')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x15380e){return this['getDataValue'](_0x1f61('0x3'));}},'alias':{'type':Sequelize[_0x1f61('0x4')],'allowNull':![],'set':function(_0x330e2c){this[_0x1f61('0x5')](_0x1f61('0x3'),_0x330e2c?_0x330e2c:this[_0x1f61('0x6')]('name'));}},'type':{'type':Sequelize[_0x1f61('0x4')],'allowNull':![]},'values':{'type':Sequelize[_0x1f61('0x7')](_0x1f61('0x8')),'get':function(){if(this[_0x1f61('0x6')]('type')==='select'){return JSON[_0x1f61('0x9')](this[_0x1f61('0x6')]('values'));}else{return this[_0x1f61('0x6')](_0x1f61('0xa'));}},'set':function(_0x211a36){if(Array[_0x1f61('0xb')](_0x211a36)){this[_0x1f61('0x5')]('values',JSON[_0x1f61('0xc')](_0x211a36));}else{this['setDataValue'](_0x1f61('0xa'),_0x211a36);}}},'required':{'type':Sequelize[_0x1f61('0xd')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x1f61('0xd')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x1f61('0xe')](_0x1f61('0xf'))}};
\ No newline at end of file