Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / api / cmCustomField / cmCustomField.attributes.js
1 const a132_0x20e5=['TEXT','VIRTUAL','BOOLEAN','getDataValue','select','exports','type','parse','STRING','values','isArray','ENUM','setDataValue','sequelize','name','stringify'];(function(_0x259df2,_0x20e588){const _0x5b7a44=function(_0x2892e9){while(--_0x2892e9){_0x259df2['push'](_0x259df2['shift']());}};_0x5b7a44(++_0x20e588);}(a132_0x20e5,0x120));const a132_0x5b7a=function(_0x259df2,_0x20e588){_0x259df2=_0x259df2-0x0;let _0x5b7a44=a132_0x20e5[_0x259df2];return _0x5b7a44;};const _0x1b18f9=a132_0x5b7a;'use strict';const Sequelize=require(_0x1b18f9('0xd'));module[_0x1b18f9('0x5')]={'name':{'type':Sequelize[_0x1b18f9('0x1')],'get':function(){return this['getDataValue']('alias');}},'alias':{'type':Sequelize[_0x1b18f9('0x8')],'allowNull':![],'set':function(_0x2892e9){const _0x28abd4=_0x1b18f9;this[_0x28abd4('0xc')]('alias',_0x2892e9?_0x2892e9:this[_0x28abd4('0x3')](_0x28abd4('0xe')));}},'type':{'type':Sequelize[_0x1b18f9('0x8')],'allowNull':![]},'values':{'type':Sequelize[_0x1b18f9('0x0')]('long'),'get':function(){const _0x22059f=_0x1b18f9;return this[_0x22059f('0x3')](_0x22059f('0x6'))===_0x22059f('0x4')?JSON[_0x22059f('0x7')](this['getDataValue'](_0x22059f('0x9'))):this[_0x22059f('0x3')](_0x22059f('0x9'));},'set':function(_0x374450){const _0x3cd3a2=_0x1b18f9;Array[_0x3cd3a2('0xa')](_0x374450)?this[_0x3cd3a2('0xc')](_0x3cd3a2('0x9'),JSON[_0x3cd3a2('0xf')](_0x374450)):this[_0x3cd3a2('0xc')](_0x3cd3a2('0x9'),_0x374450);}},'required':{'type':Sequelize[_0x1b18f9('0x2')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x1b18f9('0x2')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x1b18f9('0xb')]('voice')}};