mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 10:47:55 +00:00
clean model entities
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import {
|
||||
SpaceModelEntity,
|
||||
SpaceProductItemModelEntity,
|
||||
SpaceProductModelEntity,
|
||||
SubspaceModelEntity,
|
||||
} from './entities';
|
||||
import { SpaceModelEntity, SubspaceModelEntity, TagModel } from './entities';
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
@Module({
|
||||
@@ -12,12 +7,7 @@ import { Module } from '@nestjs/common';
|
||||
exports: [],
|
||||
controllers: [],
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([
|
||||
SpaceModelEntity,
|
||||
SubspaceModelEntity,
|
||||
SpaceProductModelEntity,
|
||||
SpaceProductItemModelEntity,
|
||||
]),
|
||||
TypeOrmModule.forFeature([SpaceModelEntity, SubspaceModelEntity, TagModel]),
|
||||
],
|
||||
})
|
||||
export class SpaceModelRepositoryModule {}
|
||||
|
||||
Reference in New Issue
Block a user