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

* chore: remove unused imports and dead code for space link * chore: remove unused imports and dead code * chore: remove unused imports and dead code of tag service
26 lines
950 B
TypeScript
26 lines
950 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
import { DataSource, Repository } from 'typeorm';
|
|
import { InviteSpaceEntity } from '../entities/invite-space.entity';
|
|
import { SpaceProductAllocationEntity } from '../entities/space-product-allocation.entity';
|
|
import { SpaceEntity } from '../entities/space.entity';
|
|
|
|
@Injectable()
|
|
export class SpaceRepository extends Repository<SpaceEntity> {
|
|
constructor(private dataSource: DataSource) {
|
|
super(SpaceEntity, dataSource.createEntityManager());
|
|
}
|
|
}
|
|
|
|
@Injectable()
|
|
export class InviteSpaceRepository extends Repository<InviteSpaceEntity> {
|
|
constructor(private dataSource: DataSource) {
|
|
super(InviteSpaceEntity, dataSource.createEntityManager());
|
|
}
|
|
}
|
|
@Injectable()
|
|
export class SpaceProductAllocationRepository extends Repository<SpaceProductAllocationEntity> {
|
|
constructor(private dataSource: DataSource) {
|
|
super(SpaceProductAllocationEntity, dataSource.createEntityManager());
|
|
}
|
|
}
|