mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 18:24:53 +00:00
Remove unused imports and fix formatting issues
This commit is contained in:
@ -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