mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 10:25:23 +00:00
Remove unused imports and fix formatting issues
This commit is contained in:
@ -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';
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export * from './permission.dto'
|
||||
export * from './permission.dto';
|
||||
|
@ -1 +1 @@
|
||||
export * from './permission.entity'
|
||||
export * from './permission.entity';
|
||||
|
@ -1 +1 @@
|
||||
export * from './permission.repository'
|
||||
export * from './permission.repository';
|
||||
|
Reference in New Issue
Block a user