Remove unused imports and fix formatting issues

This commit is contained in:
faris Aljohari
2024-04-18 10:46:21 +03:00
parent 239dbc84b1
commit af7a9dbd72
7 changed files with 21 additions and 23 deletions

View File

@ -1,6 +1,6 @@
import { PassportModule } from '@nestjs/passport';
import { JwtModule } from '@nestjs/jwt';
import { ConfigModule, ConfigService } from '@nestjs/config';
import { ConfigModule } from '@nestjs/config';
import { Module } from '@nestjs/common';
import { HelperModule } from '../helper/helper.module';
import { JwtStrategy } from './strategies/jwt.strategy';

View File

@ -1,20 +1,19 @@
import { IsNotEmpty, IsString } from "class-validator";
import { IsNotEmpty, IsString } from 'class-validator';
export class DeviceDto{
export class DeviceDto {
@IsString()
@IsNotEmpty()
public uuid: string;
@IsString()
@IsNotEmpty()
public uuid: string;
@IsString()
@IsNotEmpty()
spaceUuid:string;
@IsString()
@IsNotEmpty()
spaceUuid: string;
@IsString()
@IsNotEmpty()
deviceTuyaUuid:string;
@IsString()
@IsNotEmpty()
deviceTuyaUuid: string;
@IsString()
@IsNotEmpty()
productUuid:string;
}
@IsString()
@IsNotEmpty()
productUuid: string;
}

View File

@ -1 +1 @@
export * from './permission.dto'
export * from './permission.dto';

View File

@ -1 +1 @@
export * from './permission.entity'
export * from './permission.entity';

View File

@ -1 +1 @@
export * from './permission.repository'
export * from './permission.repository';