mirror of
https://github.com/vastxie/99AI.git
synced 2025-09-18 01:36:37 +08:00
29 lines
1.7 KiB
JavaScript
29 lines
1.7 KiB
JavaScript
"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;
|