Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 10e8626..c04ad6c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x03ce=['lodash','exports','VIRTUAL','getDataValue','alias','STRING','setDataValue','name','TEXT','long','select','parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize'];(function(_0x2631cb,_0x4f5593){var _0x13fad3=function(_0x371be3){while(--_0x371be3){_0x2631cb['push'](_0x2631cb['shift']());}};_0x13fad3(++_0x4f5593);}(_0x03ce,0x1a1));var _0xe03c=function(_0x332a78,_0x4d38b3){_0x332a78=_0x332a78-0x0;var _0x537ac5=_0x03ce[_0x332a78];return _0x537ac5;};'use strict';var Sequelize=require(_0xe03c('0x0'));var _=require(_0xe03c('0x1'));module[_0xe03c('0x2')]={'name':{'type':Sequelize[_0xe03c('0x3')],'get':function(_0x56ac7a){return this[_0xe03c('0x4')](_0xe03c('0x5'));}},'alias':{'type':Sequelize[_0xe03c('0x6')],'allowNull':![],'set':function(_0x527a32){this[_0xe03c('0x7')](_0xe03c('0x5'),_0x527a32?_0x527a32:this[_0xe03c('0x4')](_0xe03c('0x8')));}},'type':{'type':Sequelize[_0xe03c('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0xe03c('0x9')](_0xe03c('0xa')),'get':function(){if(this['getDataValue']('type')===_0xe03c('0xb')){return JSON[_0xe03c('0xc')](this[_0xe03c('0x4')](_0xe03c('0xd')));}else{return this[_0xe03c('0x4')](_0xe03c('0xd'));}},'set':function(_0x46bf2b){if(Array[_0xe03c('0xe')](_0x46bf2b)){this['setDataValue'](_0xe03c('0xd'),JSON[_0xe03c('0xf')](_0x46bf2b));}else{this[_0xe03c('0x7')]('values',_0x46bf2b);}}},'required':{'type':Sequelize[_0xe03c('0x10')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xe03c('0x10')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xe03c('0x11')](_0xe03c('0x12'))}};
\ No newline at end of file
+var _0xdea0=['long','type','select','parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','exports','VIRTUAL','getDataValue','STRING','setDataValue','alias','name','TEXT'];(function(_0x39096d,_0x51f8a0){var _0x13da4f=function(_0x11e6b2){while(--_0x11e6b2){_0x39096d['push'](_0x39096d['shift']());}};_0x13da4f(++_0x51f8a0);}(_0xdea0,0xe6));var _0x0dea=function(_0x150f6e,_0x48ae9b){_0x150f6e=_0x150f6e-0x0;var _0x5cd20e=_0xdea0[_0x150f6e];return _0x5cd20e;};'use strict';var Sequelize=require(_0x0dea('0x0'));var _=require(_0x0dea('0x1'));module[_0x0dea('0x2')]={'name':{'type':Sequelize[_0x0dea('0x3')],'get':function(_0x59aad8){return this[_0x0dea('0x4')]('alias');}},'alias':{'type':Sequelize[_0x0dea('0x5')],'allowNull':![],'set':function(_0xad2eee){this[_0x0dea('0x6')](_0x0dea('0x7'),_0xad2eee?_0xad2eee:this[_0x0dea('0x4')](_0x0dea('0x8')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x0dea('0x9')](_0x0dea('0xa')),'get':function(){if(this[_0x0dea('0x4')](_0x0dea('0xb'))===_0x0dea('0xc')){return JSON[_0x0dea('0xd')](this[_0x0dea('0x4')](_0x0dea('0xe')));}else{return this['getDataValue'](_0x0dea('0xe'));}},'set':function(_0x17137f){if(Array[_0x0dea('0xf')](_0x17137f)){this[_0x0dea('0x6')](_0x0dea('0xe'),JSON[_0x0dea('0x10')](_0x17137f));}else{this[_0x0dea('0x6')]('values',_0x17137f);}}},'required':{'type':Sequelize[_0x0dea('0x11')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x0dea('0x11')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x0dea('0x12')](_0x0dea('0x13'))}};
\ No newline at end of file