Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / api / cmCustomField / cmCustomField.attributes.js
index e42b840..50a85ec 100644 (file)
@@ -1 +1 @@
-const a132_0x2918=['values','setDataValue','parse','STRING','sequelize','getDataValue','voice','TEXT','alias','BOOLEAN','name','exports'];(function(_0x291a1d,_0x291887){const _0x195eac=function(_0x4b5752){while(--_0x4b5752){_0x291a1d['push'](_0x291a1d['shift']());}};_0x195eac(++_0x291887);}(a132_0x2918,0x65));const a132_0x195e=function(_0x291a1d,_0x291887){_0x291a1d=_0x291a1d-0x0;let _0x195eac=a132_0x2918[_0x291a1d];return _0x195eac;};const _0x3752f8=a132_0x195e;'use strict';const Sequelize=require(_0x3752f8('0xb'));module[_0x3752f8('0x6')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(){const _0x5f250f=_0x3752f8;return this[_0x5f250f('0x0')](_0x5f250f('0x3'));}},'alias':{'type':Sequelize[_0x3752f8('0xa')],'allowNull':![],'set':function(_0x4b5752){const _0x231b54=_0x3752f8;this[_0x231b54('0x8')](_0x231b54('0x3'),_0x4b5752?_0x4b5752:this[_0x231b54('0x0')](_0x231b54('0x5')));}},'type':{'type':Sequelize[_0x3752f8('0xa')],'allowNull':![]},'values':{'type':Sequelize[_0x3752f8('0x2')]('long'),'get':function(){const _0x447df7=_0x3752f8;return this[_0x447df7('0x0')]('type')==='select'?JSON[_0x447df7('0x9')](this[_0x447df7('0x0')]('values')):this[_0x447df7('0x0')]('values');},'set':function(_0x3ef971){const _0x336a0d=_0x3752f8;Array['isArray'](_0x3ef971)?this['setDataValue'](_0x336a0d('0x7'),JSON['stringify'](_0x3ef971)):this[_0x336a0d('0x8')](_0x336a0d('0x7'),_0x3ef971);}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x3752f8('0x4')],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM'](_0x3752f8('0x1'))}};
\ No newline at end of file
+const a158_0x2f9c=['setDataValue','BOOLEAN','alias','getDataValue','TEXT','stringify','long','select','VIRTUAL','parse','STRING','name','values','isArray','sequelize','ENUM','type'];(function(_0x35ada0,_0x4af1ab){const _0x2f9cba=function(_0x3af351){while(--_0x3af351){_0x35ada0['push'](_0x35ada0['shift']());}};_0x2f9cba(++_0x4af1ab);}(a158_0x2f9c,0xe7));const a158_0x3af3=function(_0x35ada0,_0x4af1ab){_0x35ada0=_0x35ada0-0x64;let _0x2f9cba=a158_0x2f9c[_0x35ada0];return _0x2f9cba;};const a158_0x3d5a30=a158_0x3af3;'use strict';const {DataTypes}=require(a158_0x3d5a30(0x68)),attributes={'name':{'type':DataTypes[a158_0x3d5a30(0x73)],'get':function(){const _0x4f4671=a158_0x3d5a30;return this[_0x4f4671(0x6e)](_0x4f4671(0x6d));}},'alias':{'type':DataTypes['STRING'],'allowNull':![],'set':function(_0x18d4a6){const _0x4de772=a158_0x3d5a30;this['setDataValue'](_0x4de772(0x6d),_0x18d4a6?_0x18d4a6:this[_0x4de772(0x6e)](_0x4de772(0x65)));}},'type':{'type':DataTypes[a158_0x3d5a30(0x64)],'allowNull':![]},'values':{'type':DataTypes[a158_0x3d5a30(0x6f)]({'length':a158_0x3d5a30(0x71)}),'get':function(){const _0x228f49=a158_0x3d5a30;return this[_0x228f49(0x6e)](_0x228f49(0x6a))===_0x228f49(0x72)?JSON[_0x228f49(0x74)](this[_0x228f49(0x6e)](_0x228f49(0x66))):this[_0x228f49(0x6e)](_0x228f49(0x66));},'set':function(_0x142c7a){const _0x505014=a158_0x3d5a30;Array[_0x505014(0x67)](_0x142c7a)?this[_0x505014(0x6b)](_0x505014(0x66),JSON[_0x505014(0x70)](_0x142c7a)):this[_0x505014(0x6b)](_0x505014(0x66),_0x142c7a);}},'required':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':DataTypes[a158_0x3d5a30(0x6c)],'defaultValue':![]},'actionType':{'type':DataTypes[a158_0x3d5a30(0x69)]('voice')}};module['exports']['attributes']=attributes;
\ No newline at end of file