backend/src/tokens/dto/token-revocation-response.dto/TokenRevocationResponseDto.ts
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 13
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 13
ccs 5
cts 5
cp 1
c 0
b 0
f 0
wmc 0
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 0
1 8
import { ApiProperty } from '@nestjs/swagger';
2
3 8
export class TokenRevocationResponseDto {
4
  @ApiProperty()
5 8
  success: boolean;
6
7
  @ApiProperty()
8 8
  message: string;
9
10
  @ApiProperty()
11 8
  revokedCount?: number; // Optional, if you want to include how many tokens were revoked
12
}
13