mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 10:46:17 +00:00

* refactor: reducing used queries on get communities (#385) * refactor: fix create space logic (#394) * Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity * refactor: fix create space logic * device model updated to include the fixes and final columns * updated space models to include suggested fixes, update final logic and column names * task: removing old references of the old tag-product relation * task: remove old use of tags * task: remove old tag & tag model usage * refactor: delete space * task: remove unused functions * fix lint rule
25 lines
782 B
TypeScript
25 lines
782 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
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';
|
|
|
|
@Module({
|
|
providers: [],
|
|
exports: [],
|
|
controllers: [],
|
|
imports: [
|
|
TypeOrmModule.forFeature([
|
|
SpaceEntity,
|
|
SubspaceEntity,
|
|
InviteSpaceEntity,
|
|
SpaceProductAllocationEntity,
|
|
SubspaceProductAllocationEntity,
|
|
]),
|
|
],
|
|
})
|
|
export class SpaceRepositoryModule {}
|