Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ssut committed Jan 8, 2024
1 parent 685df81 commit c091c07
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/mikro-orm.middleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MikroORM, RequestContext } from '@mikro-orm/core';
import { Injectable ,type NestMiddleware } from '@nestjs/common';
import { Injectable, type NestMiddleware } from '@nestjs/common';

@Injectable()
export class MikroOrmMiddleware implements NestMiddleware {
Expand Down
16 changes: 8 additions & 8 deletions src/mikro-orm.module.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { Utils ,type AnyEntity } from '@mikro-orm/core';
import { Module ,type DynamicModule } from '@nestjs/common';
import { createMikroOrmRepositoryProviders } from './mikro-orm.providers';
import { Utils, type AnyEntity } from '@mikro-orm/core';
import { Module, type DynamicModule } from '@nestjs/common';
import { MikroOrmCoreModule } from './mikro-orm-core.module';
import { MikroOrmMiddlewareModule } from './mikro-orm-middleware.module';
import { MikroOrmEntitiesStorage } from './mikro-orm.entities.storage';
import { createMikroOrmRepositoryProviders } from './mikro-orm.providers';
import type {
MikroOrmModuleAsyncOptions,
MikroOrmModuleSyncOptions,
EntityName,
MikroOrmMiddlewareModuleOptions,
MikroOrmModuleAsyncOptions,
MikroOrmModuleFeatureOptions,
EntityName,
MikroOrmModuleSyncOptions,
} from './typings';
import { MikroOrmMiddlewareModule } from './mikro-orm-middleware.module';
import { MikroOrmEntitiesStorage } from './mikro-orm.entities.storage';

@Module({})
export class MikroOrmModule {
Expand Down
6 changes: 3 additions & 3 deletions src/mikro-orm.providers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ConfigurationLoader, EntityManager, MetadataStorage, MikroORM ,type AnyEntity,type EntityClass,type EntityClassGroup,type EntitySchema } from '@mikro-orm/core';
import { getEntityManagerToken, getMikroORMToken, getRepositoryToken, logger, MIKRO_ORM_MODULE_OPTIONS } from './mikro-orm.common';
import { ConfigurationLoader, EntityManager, MetadataStorage, MikroORM, type AnyEntity, type EntityClass, type EntityClassGroup, type EntitySchema } from '@mikro-orm/core';
import { MIKRO_ORM_MODULE_OPTIONS, getEntityManagerToken, getMikroORMToken, getRepositoryToken, logger } from './mikro-orm.common';

import { Scope ,type InjectionToken,type Provider,type Type } from '@nestjs/common';
import { Scope, type InjectionToken, type Provider, type Type } from '@nestjs/common';
import { MikroOrmEntitiesStorage } from './mikro-orm.entities.storage';
import type { EntityName, MikroOrmModuleAsyncOptions, MikroOrmModuleOptions, MikroOrmOptionsFactory } from './typings';

Expand Down

0 comments on commit c091c07

Please sign in to comment.