- Removed the `plugins.constants.ts` file as it was no longer needed. - Updated the `vm.class.ts` to improve result handling and logging. - Introduced `vm.constants.ts` to manage registered plugins and modules. - Simplified the test payload in `case1-payload.js` by removing unnecessary insert logic. - Enhanced `case1.ts` to include database and migration setup, improving test clarity. - Deleted unused functions for adding modules and plugins, streamlining the codebase.
17 lines
519 B
TypeScript
17 lines
519 B
TypeScript
import { forwardRef, Module } from "@nestjs/common";
|
|
import { MigrationService } from "./migration.service";
|
|
import { TypeOrmModule } from "@nestjs/typeorm";
|
|
import { Migration } from "../entities/migration.entity";
|
|
import { DatabaseManagerModule } from "../database.manager.module";
|
|
|
|
@Module({
|
|
imports: [
|
|
forwardRef(() => DatabaseManagerModule),
|
|
TypeOrmModule.forFeature([Migration]),
|
|
],
|
|
controllers: [],
|
|
providers: [MigrationService],
|
|
exports: [MigrationService],
|
|
})
|
|
export class MigrationModule {}
|