mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 15:47:55 +00:00
changed entity and type structure
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { DeviceEntity } from './entities';
|
||||
import {
|
||||
DeviceEntity,
|
||||
DeviceNotificationEntity,
|
||||
DeviceUserPermissionEntity,
|
||||
} from './entities';
|
||||
|
||||
@Module({
|
||||
providers: [],
|
||||
exports: [],
|
||||
controllers: [],
|
||||
imports: [TypeOrmModule.forFeature([DeviceEntity])],
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([
|
||||
DeviceEntity,
|
||||
DeviceNotificationEntity,
|
||||
DeviceUserPermissionEntity,
|
||||
]),
|
||||
],
|
||||
})
|
||||
export class DeviceRepositoryModule {}
|
||||
|
||||
Reference in New Issue
Block a user