diff --git a/src/space/services/space.service.ts b/src/space/services/space.service.ts index 02a4f09..f72c0ca 100644 --- a/src/space/services/space.service.ts +++ b/src/space/services/space.service.ts @@ -27,7 +27,6 @@ import { ORPHAN_SPACE_NAME, } from '@app/common/constants/orphan-constant'; import { CommandBus } from '@nestjs/cqrs'; -import { TagService } from './tag'; import { TagService as NewTagService } from 'src/tags/services/tags.service'; import { SpaceModelService } from 'src/space-model/services'; import { DisableSpaceCommand } from '../commands'; @@ -36,10 +35,7 @@ import { removeCircularReferences } from '@app/common/helper/removeCircularRefer import { SpaceEntity } from '@app/common/modules/space/entities/space.entity'; import { ProcessTagDto } from 'src/tags/dtos'; import { SpaceProductAllocationService } from './space-product-allocation.service'; -import { SubspaceProductAllocationService } from './subspace/subspace-product-allocation.service'; import { SubspaceEntity } from '@app/common/modules/space/entities/subspace/subspace.entity'; -import { DeviceRepository } from '@app/common/modules/device/repositories'; -import { DeviceService } from 'src/device/services'; @Injectable() export class SpaceService { constructor( @@ -49,14 +45,10 @@ export class SpaceService { private readonly spaceLinkService: SpaceLinkService, private readonly subSpaceService: SubSpaceService, private readonly validationService: ValidationService, - private readonly tagService: TagService, private readonly newTagService: NewTagService, private readonly spaceModelService: SpaceModelService, private commandBus: CommandBus, private readonly spaceProductAllocationService: SpaceProductAllocationService, - private readonly subspaceProductAllocationService: SubspaceProductAllocationService, - private readonly deviceRepository: DeviceRepository, - private readonly deviceSevice: DeviceService, ) {} async createSpace(