FIX: add usage on interfaces

This commit is contained in:
Gabriel Rosa
2022-08-05 16:32:10 -03:00
parent 9fbbfc2064
commit 2f006c607c
4 changed files with 11 additions and 8 deletions
+2
View File
@@ -23,6 +23,8 @@ export class RoleDto {
isPublic: boolean;
@ApiProperty({ type: () => Customer })
customer?: Customer;
@ApiProperty()
usage: string;
}
export class CustomerRole extends OmitType(RoleDto, ['customer']) {}
+1
View File
@@ -28,6 +28,7 @@ interface GetRolesPermissionsName {
isPublic?: boolean;
createdAt: string;
updatedAt: string;
usage: string;
}
@Injectable()
export class RolesService {