Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 4c65859..0b8ec89 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6c93=['getDataValue','name','long','type','select','parse','values','BOOLEAN','ENUM','voice','sequelize','lodash','exports','VIRTUAL','alias','STRING','setDataValue'];(function(_0x186922,_0x525776){var _0x3132a0=function(_0x643392){while(--_0x643392){_0x186922['push'](_0x186922['shift']());}};_0x3132a0(++_0x525776);}(_0x6c93,0xa3));var _0x36c9=function(_0x4c9915,_0x406b1a){_0x4c9915=_0x4c9915-0x0;var _0x473218=_0x6c93[_0x4c9915];return _0x473218;};'use strict';var Sequelize=require(_0x36c9('0x0'));var _=require(_0x36c9('0x1'));module[_0x36c9('0x2')]={'name':{'type':Sequelize[_0x36c9('0x3')],'get':function(_0xe7e309){return this['getDataValue'](_0x36c9('0x4'));}},'alias':{'type':Sequelize[_0x36c9('0x5')],'allowNull':![],'set':function(_0x1bda4b){this[_0x36c9('0x6')](_0x36c9('0x4'),_0x1bda4b?_0x1bda4b:this[_0x36c9('0x7')](_0x36c9('0x8')));}},'type':{'type':Sequelize[_0x36c9('0x5')],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0x36c9('0x9')),'get':function(){if(this['getDataValue'](_0x36c9('0xa'))===_0x36c9('0xb')){return JSON[_0x36c9('0xc')](this['getDataValue'](_0x36c9('0xd')));}else{return this[_0x36c9('0x7')](_0x36c9('0xd'));}},'set':function(_0x4ab73a){if(Array['isArray'](_0x4ab73a)){this['setDataValue']('values',JSON['stringify'](_0x4ab73a));}else{this[_0x36c9('0x6')]('values',_0x4ab73a);}}},'required':{'type':Sequelize[_0x36c9('0xe')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0x36c9('0xf')](_0x36c9('0x10'))}};
\ No newline at end of file
+var _0xf974=['parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize','exports','VIRTUAL','getDataValue','STRING','setDataValue','alias','name','long'];(function(_0x447dac,_0x34259d){var _0x1cd215=function(_0x14173b){while(--_0x14173b){_0x447dac['push'](_0x447dac['shift']());}};_0x1cd215(++_0x34259d);}(_0xf974,0x107));var _0x4f97=function(_0x22ac17,_0x53a678){_0x22ac17=_0x22ac17-0x0;var _0x182cf8=_0xf974[_0x22ac17];return _0x182cf8;};'use strict';var Sequelize=require(_0x4f97('0x0'));var _=require('lodash');module[_0x4f97('0x1')]={'name':{'type':Sequelize[_0x4f97('0x2')],'get':function(_0x4bf3ab){return this[_0x4f97('0x3')]('alias');}},'alias':{'type':Sequelize[_0x4f97('0x4')],'allowNull':![],'set':function(_0x35d212){this[_0x4f97('0x5')](_0x4f97('0x6'),_0x35d212?_0x35d212:this['getDataValue'](_0x4f97('0x7')));}},'type':{'type':Sequelize[_0x4f97('0x4')],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0x4f97('0x8')),'get':function(){if(this[_0x4f97('0x3')]('type')==='select'){return JSON[_0x4f97('0x9')](this[_0x4f97('0x3')](_0x4f97('0xa')));}else{return this[_0x4f97('0x3')](_0x4f97('0xa'));}},'set':function(_0x18613c){if(Array[_0x4f97('0xb')](_0x18613c)){this[_0x4f97('0x5')]('values',JSON[_0x4f97('0xc')](_0x18613c));}else{this[_0x4f97('0x5')]('values',_0x18613c);}}},'required':{'type':Sequelize[_0x4f97('0xd')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x4f97('0xd')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x4f97('0xe')](_0x4f97('0xf'))}};
\ No newline at end of file