YiAi/YiAiQuickDeploy/dist/modules/chatgpt/whiteList.entity.js
2024-02-06 13:43:30 +08:00

1 line
3.3 KiB
JavaScript

'use strict';var _0x1651ce=_0x1a61;(function(_0xee3bfb,_0x25d607){var _0x3384a1=_0x1a61,_0x1e0300=_0xee3bfb();while(!![]){try{var _0x3ef7b8=parseInt(_0x3384a1(0xc1))/0x1+parseInt(_0x3384a1(0xc3))/0x2+parseInt(_0x3384a1(0xb3))/0x3+parseInt(_0x3384a1(0xb2))/0x4+parseInt(_0x3384a1(0xb9))/0x5+-parseInt(_0x3384a1(0xb7))/0x6*(-parseInt(_0x3384a1(0xbd))/0x7)+-parseInt(_0x3384a1(0xcd))/0x8;if(_0x3ef7b8===_0x25d607)break;else _0x1e0300['push'](_0x1e0300['shift']());}catch(_0x392093){_0x1e0300['push'](_0x1e0300['shift']());}}}(_0x5093,0x7e8d8));var __decorate=this&&this['__decorate']||function(_0x149ea3,_0x4775c5,_0x33c7bb,_0x2ea056){var _0x2336f0=_0x1a61,_0x3ec9fb=arguments['length'],_0x52ec18=_0x3ec9fb<0x3?_0x4775c5:_0x2ea056===null?_0x2ea056=Object[_0x2336f0(0xc5)](_0x4775c5,_0x33c7bb):_0x2ea056,_0x2ddba2;if(typeof Reflect===_0x2336f0(0xbf)&&typeof Reflect[_0x2336f0(0xbb)]===_0x2336f0(0xbe))_0x52ec18=Reflect[_0x2336f0(0xbb)](_0x149ea3,_0x4775c5,_0x33c7bb,_0x2ea056);else{for(var _0x33cee5=_0x149ea3[_0x2336f0(0xc6)]-0x1;_0x33cee5>=0x0;_0x33cee5--)if(_0x2ddba2=_0x149ea3[_0x33cee5])_0x52ec18=(_0x3ec9fb<0x3?_0x2ddba2(_0x52ec18):_0x3ec9fb>0x3?_0x2ddba2(_0x4775c5,_0x33c7bb,_0x52ec18):_0x2ddba2(_0x4775c5,_0x33c7bb))||_0x52ec18;}return _0x3ec9fb>0x3&&_0x52ec18&&Object[_0x2336f0(0xb6)](_0x4775c5,_0x33c7bb,_0x52ec18),_0x52ec18;},__metadata=this&&this['__metadata']||function(_0x5c44ca,_0x1a73bd){var _0x2a1ae8=_0x1a61;if(typeof Reflect===_0x2a1ae8(0xbf)&&typeof Reflect['metadata']==='function')return Reflect[_0x2a1ae8(0xcb)](_0x5c44ca,_0x1a73bd);};function _0x1a61(_0x5ed576,_0x3a9504){var _0x50930f=_0x5093();return _0x1a61=function(_0x1a6162,_0x1c50f3){_0x1a6162=_0x1a6162-0xb2;var _0x254ff4=_0x50930f[_0x1a6162];return _0x254ff4;},_0x1a61(_0x5ed576,_0x3a9504);}function _0x5093(){var _0x8ff6e1=['useCount','用户ID','当前用户状态','metadata','prototype','8564480ifTKAx','157972JYFFfe','1106256oLXcwJ','white_list','__esModule','defineProperty','17178hDdrgY','Column','1702730RetEvW','typeorm','decorate','使用次数限制','1274ocuWEj','function','object','design:type','292886HmnugW','status','52354GsMiYx','WhiteListEntity','getOwnPropertyDescriptor','length','Entity'];_0x5093=function(){return _0x8ff6e1;};return _0x5093();}Object['defineProperty'](exports,_0x1651ce(0xb5),{'value':!![]}),exports[_0x1651ce(0xc4)]=void 0x0;const typeorm_1=require(_0x1651ce(0xba)),baseEntity_1=require('../../common/entity/baseEntity');let WhiteListEntity=class WhiteListEntity extends baseEntity_1['BaseEntity']{};__decorate([(0x0,typeorm_1['Column'])({'unique':!![],'comment':_0x1651ce(0xc9)}),__metadata('design:type',Number)],WhiteListEntity[_0x1651ce(0xcc)],'userId',void 0x0),__decorate([(0x0,typeorm_1[_0x1651ce(0xb8)])({'comment':_0x1651ce(0xbc),'default':0x0}),__metadata(_0x1651ce(0xc0),Number)],WhiteListEntity[_0x1651ce(0xcc)],'count',void 0x0),__decorate([(0x0,typeorm_1[_0x1651ce(0xb8)])({'comment':_0x1651ce(0xca),'default':0x1}),__metadata('design:type',Number)],WhiteListEntity[_0x1651ce(0xcc)],_0x1651ce(0xc2),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'comment':'已经使用的次数','default':0x0}),__metadata(_0x1651ce(0xc0),Number)],WhiteListEntity[_0x1651ce(0xcc)],_0x1651ce(0xc8),void 0x0),WhiteListEntity=__decorate([(0x0,typeorm_1[_0x1651ce(0xc7)])({'name':_0x1651ce(0xb4)})],WhiteListEntity),exports[_0x1651ce(0xc4)]=WhiteListEntity;