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

1 line
4.1 KiB
JavaScript

'use strict';var _0x402a7a=_0x101b;(function(_0x588a40,_0x31cd48){var _0x2a441d=_0x101b,_0x9e4393=_0x588a40();while(!![]){try{var _0xe4e46d=-parseInt(_0x2a441d(0x1c0))/0x1*(parseInt(_0x2a441d(0x1c3))/0x2)+parseInt(_0x2a441d(0x1bf))/0x3*(parseInt(_0x2a441d(0x1a7))/0x4)+parseInt(_0x2a441d(0x1c2))/0x5*(-parseInt(_0x2a441d(0x1c6))/0x6)+parseInt(_0x2a441d(0x1b2))/0x7*(parseInt(_0x2a441d(0x1ca))/0x8)+-parseInt(_0x2a441d(0x1b1))/0x9+-parseInt(_0x2a441d(0x1c7))/0xa*(-parseInt(_0x2a441d(0x1aa))/0xb)+parseInt(_0x2a441d(0x1b9))/0xc;if(_0xe4e46d===_0x31cd48)break;else _0x9e4393['push'](_0x9e4393['shift']());}catch(_0x354743){_0x9e4393['push'](_0x9e4393['shift']());}}}(_0x2702,0x31fa0));var __decorate=this&&this[_0x402a7a(0x1b6)]||function(_0x7f3399,_0xe75cb3,_0x18dc2c,_0x85758e){var _0x461a0d=_0x402a7a,_0x3efc21=arguments[_0x461a0d(0x1ad)],_0x4d7a87=_0x3efc21<0x3?_0xe75cb3:_0x85758e===null?_0x85758e=Object[_0x461a0d(0x1bc)](_0xe75cb3,_0x18dc2c):_0x85758e,_0x518f37;if(typeof Reflect==='object'&&typeof Reflect[_0x461a0d(0x1b8)]===_0x461a0d(0x1b0))_0x4d7a87=Reflect['decorate'](_0x7f3399,_0xe75cb3,_0x18dc2c,_0x85758e);else{for(var _0xd999a=_0x7f3399[_0x461a0d(0x1ad)]-0x1;_0xd999a>=0x0;_0xd999a--)if(_0x518f37=_0x7f3399[_0xd999a])_0x4d7a87=(_0x3efc21<0x3?_0x518f37(_0x4d7a87):_0x3efc21>0x3?_0x518f37(_0xe75cb3,_0x18dc2c,_0x4d7a87):_0x518f37(_0xe75cb3,_0x18dc2c))||_0x4d7a87;}return _0x3efc21>0x3&&_0x4d7a87&&Object['defineProperty'](_0xe75cb3,_0x18dc2c,_0x4d7a87),_0x4d7a87;},__metadata=this&&this[_0x402a7a(0x1b4)]||function(_0x1e344e,_0x2b1e7d){var _0x4da679=_0x402a7a;if(typeof Reflect===_0x4da679(0x1b5)&&typeof Reflect[_0x4da679(0x1ae)]===_0x4da679(0x1b0))return Reflect[_0x4da679(0x1ae)](_0x1e344e,_0x2b1e7d);};function _0x101b(_0x3d607f,_0xa5be70){var _0x270283=_0x2702();return _0x101b=function(_0x101bbc,_0x1f2003){_0x101bbc=_0x101bbc-0x1a7;var _0x5c3cba=_0x270283[_0x101bbc];return _0x5c3cba;},_0x101b(_0x3d607f,_0xa5be70);}Object[_0x402a7a(0x1cb)](exports,_0x402a7a(0x1ce),{'value':!![]}),exports['ChatBoxEntity']=void 0x0;const typeorm_1=require('typeorm'),baseEntity_1=require(_0x402a7a(0x1be));let ChatBoxEntity=class ChatBoxEntity extends baseEntity_1[_0x402a7a(0x1b7)]{};function _0x2702(){var _0x3010ac=['chat_box','Entity','96EjtdHi','2140cCYHpm','typeId','ChatBoxEntity','61816tfeNYv','defineProperty','status','prototype','__esModule','7604NrKyml','快速描述词','design:type','15763zZuGRX','prompt','跳转地址','length','metadata','appId','function','2783169IAHDZd','196vNisGN','分类ID','__metadata','object','__decorate','BaseEntity','decorate','1536jSWZTP','排序ID','应用ID','getOwnPropertyDescriptor','text','../../common/entity/baseEntity','228CkSgDt','329syKTcL','Column','17900TvpFUg','586AgaIbg'];_0x2702=function(){return _0x3010ac;};return _0x2702();}__decorate([(0x0,typeorm_1[_0x402a7a(0x1c1)])({'comment':_0x402a7a(0x1b3)}),__metadata(_0x402a7a(0x1a9),Number)],ChatBoxEntity[_0x402a7a(0x1cd)],_0x402a7a(0x1c8),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'comment':_0x402a7a(0x1bb),'nullable':!![]}),__metadata('design:type',Number)],ChatBoxEntity['prototype'],_0x402a7a(0x1af),void 0x0),__decorate([(0x0,typeorm_1[_0x402a7a(0x1c1)])({'comment':_0x402a7a(0x1a8),'nullable':!![],'type':_0x402a7a(0x1bd)}),__metadata('design:type',String)],ChatBoxEntity['prototype'],_0x402a7a(0x1ab),void 0x0),__decorate([(0x0,typeorm_1[_0x402a7a(0x1c1)])({'comment':'标题名称'}),__metadata('design:type',String)],ChatBoxEntity[_0x402a7a(0x1cd)],'title',void 0x0),__decorate([(0x0,typeorm_1[_0x402a7a(0x1c1)])({'comment':_0x402a7a(0x1ba),'default':0x64}),__metadata('design:type',Number)],ChatBoxEntity[_0x402a7a(0x1cd)],'order',void 0x0),__decorate([(0x0,typeorm_1[_0x402a7a(0x1c1)])({'comment':'开启状态','default':!![]}),__metadata(_0x402a7a(0x1a9),Boolean)],ChatBoxEntity[_0x402a7a(0x1cd)],_0x402a7a(0x1cc),void 0x0),__decorate([(0x0,typeorm_1[_0x402a7a(0x1c1)])({'comment':_0x402a7a(0x1ac)}),__metadata(_0x402a7a(0x1a9),String)],ChatBoxEntity['prototype'],'url',void 0x0),ChatBoxEntity=__decorate([(0x0,typeorm_1[_0x402a7a(0x1c5)])({'name':_0x402a7a(0x1c4)})],ChatBoxEntity),exports[_0x402a7a(0x1c9)]=ChatBoxEntity;