Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 3d08fb0..cbdbc6a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x55fe=['parse','values','isArray','stringify','BOOLEAN','ENUM','voice','lodash','VIRTUAL','getDataValue','setDataValue','alias','name','STRING','TEXT'];(function(_0x2b49bc,_0x47b636){var _0x43cc65=function(_0x236ec3){while(--_0x236ec3){_0x2b49bc['push'](_0x2b49bc['shift']());}};_0x43cc65(++_0x47b636);}(_0x55fe,0xf7));var _0xe55f=function(_0x278a59,_0x11137c){_0x278a59=_0x278a59-0x0;var _0x4f24c7=_0x55fe[_0x278a59];return _0x4f24c7;};'use strict';var Sequelize=require('sequelize');var _=require(_0xe55f('0x0'));module['exports']={'name':{'type':Sequelize[_0xe55f('0x1')],'get':function(_0x3aec30){return this[_0xe55f('0x2')]('alias');}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x3dad48){this[_0xe55f('0x3')](_0xe55f('0x4'),_0x3dad48?_0x3dad48:this[_0xe55f('0x2')](_0xe55f('0x5')));}},'type':{'type':Sequelize[_0xe55f('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0xe55f('0x7')]('long'),'get':function(){if(this['getDataValue']('type')==='select'){return JSON[_0xe55f('0x8')](this['getDataValue'](_0xe55f('0x9')));}else{return this[_0xe55f('0x2')](_0xe55f('0x9'));}},'set':function(_0x386433){if(Array[_0xe55f('0xa')](_0x386433)){this['setDataValue']('values',JSON[_0xe55f('0xb')](_0x386433));}else{this[_0xe55f('0x3')](_0xe55f('0x9'),_0x386433);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xe55f('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xe55f('0xd')](_0xe55f('0xe'))}};
\ No newline at end of file
+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