forked from wangziqi/gongxue-base
- Move backend/ to apps/server/ via git mv - Move frontend/ to apps/admin/ via git mv - Create packages/typescript-config/ with base, nestjs, and react-vite presets
15 lines
528 B
TypeScript
15 lines
528 B
TypeScript
import { Module, Global } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { OperationLog } from '../entities/operation-log.entity';
|
|
import { OperationLogsService } from './operation-logs.service';
|
|
import { OperationLogsController } from './operation-logs.controller';
|
|
|
|
@Global()
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([OperationLog])],
|
|
controllers: [OperationLogsController],
|
|
providers: [OperationLogsService],
|
|
exports: [OperationLogsService],
|
|
})
|
|
export class OperationLogsModule {}
|