mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 10:24:53 +00:00
unused import
This commit is contained in:
@ -27,7 +27,6 @@ import {
|
|||||||
ORPHAN_SPACE_NAME,
|
ORPHAN_SPACE_NAME,
|
||||||
} from '@app/common/constants/orphan-constant';
|
} from '@app/common/constants/orphan-constant';
|
||||||
import { CommandBus } from '@nestjs/cqrs';
|
import { CommandBus } from '@nestjs/cqrs';
|
||||||
import { TagService } from './tag';
|
|
||||||
import { TagService as NewTagService } from 'src/tags/services/tags.service';
|
import { TagService as NewTagService } from 'src/tags/services/tags.service';
|
||||||
import { SpaceModelService } from 'src/space-model/services';
|
import { SpaceModelService } from 'src/space-model/services';
|
||||||
import { DisableSpaceCommand } from '../commands';
|
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 { SpaceEntity } from '@app/common/modules/space/entities/space.entity';
|
||||||
import { ProcessTagDto } from 'src/tags/dtos';
|
import { ProcessTagDto } from 'src/tags/dtos';
|
||||||
import { SpaceProductAllocationService } from './space-product-allocation.service';
|
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 { 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()
|
@Injectable()
|
||||||
export class SpaceService {
|
export class SpaceService {
|
||||||
constructor(
|
constructor(
|
||||||
@ -49,14 +45,10 @@ export class SpaceService {
|
|||||||
private readonly spaceLinkService: SpaceLinkService,
|
private readonly spaceLinkService: SpaceLinkService,
|
||||||
private readonly subSpaceService: SubSpaceService,
|
private readonly subSpaceService: SubSpaceService,
|
||||||
private readonly validationService: ValidationService,
|
private readonly validationService: ValidationService,
|
||||||
private readonly tagService: TagService,
|
|
||||||
private readonly newTagService: NewTagService,
|
private readonly newTagService: NewTagService,
|
||||||
private readonly spaceModelService: SpaceModelService,
|
private readonly spaceModelService: SpaceModelService,
|
||||||
private commandBus: CommandBus,
|
private commandBus: CommandBus,
|
||||||
private readonly spaceProductAllocationService: SpaceProductAllocationService,
|
private readonly spaceProductAllocationService: SpaceProductAllocationService,
|
||||||
private readonly subspaceProductAllocationService: SubspaceProductAllocationService,
|
|
||||||
private readonly deviceRepository: DeviceRepository,
|
|
||||||
private readonly deviceSevice: DeviceService,
|
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async createSpace(
|
async createSpace(
|
||||||
|
|||||||
Reference in New Issue
Block a user