mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-11 11:13:43 +08:00
NineAI 2.4.2
This commit is contained in:
28
dist/modules/statistic/statistic.module.js
vendored
Normal file
28
dist/modules/statistic/statistic.module.js
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.StatisticModule = void 0;
|
||||
const common_1 = require("@nestjs/common");
|
||||
const statistic_controller_1 = require("./statistic.controller");
|
||||
const statistic_service_1 = require("./statistic.service");
|
||||
const typeorm_1 = require("@nestjs/typeorm");
|
||||
const user_entity_1 = require("../user/user.entity");
|
||||
const chatLog_entity_1 = require("../chatLog/chatLog.entity");
|
||||
const config_entity_1 = require("../globalConfig/config.entity");
|
||||
const order_entity_1 = require("../order/order.entity");
|
||||
const midjourney_entity_1 = require("../midjourney/midjourney.entity");
|
||||
let StatisticModule = class StatisticModule {
|
||||
};
|
||||
StatisticModule = __decorate([
|
||||
(0, common_1.Module)({
|
||||
imports: [typeorm_1.TypeOrmModule.forFeature([user_entity_1.UserEntity, chatLog_entity_1.ChatLogEntity, config_entity_1.ConfigEntity, order_entity_1.OrderEntity, midjourney_entity_1.MidjourneyEntity])],
|
||||
controllers: [statistic_controller_1.StatisticController],
|
||||
providers: [statistic_service_1.StatisticService],
|
||||
})
|
||||
], StatisticModule);
|
||||
exports.StatisticModule = StatisticModule;
|
||||
Reference in New Issue
Block a user