mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-30 23:09:08 +00:00
FIX: add usage on interfaces
This commit is contained in:
@@ -23,6 +23,8 @@ export class RoleDto {
|
||||
isPublic: boolean;
|
||||
@ApiProperty({ type: () => Customer })
|
||||
customer?: Customer;
|
||||
@ApiProperty()
|
||||
usage: string;
|
||||
}
|
||||
|
||||
export class CustomerRole extends OmitType(RoleDto, ['customer']) {}
|
||||
|
||||
@@ -28,6 +28,7 @@ interface GetRolesPermissionsName {
|
||||
isPublic?: boolean;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
usage: string;
|
||||
}
|
||||
@Injectable()
|
||||
export class RolesService {
|
||||
|
||||
Reference in New Issue
Block a user