mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 23:17:54 +00:00
fixed entity relation, removed circular dependency
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { SpaceEntity, SubspaceEntity, TagEntity } from './entities';
|
||||
|
||||
import { InviteSpaceEntity } from './entities/invite-space.entity';
|
||||
import { SpaceProductAllocationEntity } from './entities/space-product-allocation.entity';
|
||||
import { SpaceEntity } from './entities/space.entity';
|
||||
import { SubspaceProductAllocationEntity } from './entities/subspace/subspace-product-allocation.entity';
|
||||
import { SubspaceEntity } from './entities/subspace/subspace.entity';
|
||||
import { TagEntity } from './entities/tag.entity';
|
||||
|
||||
@Module({
|
||||
providers: [],
|
||||
@@ -13,6 +18,8 @@ import { InviteSpaceEntity } from './entities/invite-space.entity';
|
||||
SubspaceEntity,
|
||||
TagEntity,
|
||||
InviteSpaceEntity,
|
||||
SpaceProductAllocationEntity,
|
||||
SubspaceProductAllocationEntity,
|
||||
]),
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user