• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 22575363049

02 Mar 2026 12:09PM UTC coverage: 56.52% (-32.9%) from 89.388%
22575363049

push

github

web-flow
build(deps): bump @nestjs/swagger from 11.2.0 to 11.2.6 (#2957)

Bumps [@nestjs/swagger](https://github.com/nestjs/swagger) from 11.2.0 to 11.2.6.
- [Release notes](https://github.com/nestjs/swagger/releases)
- [Commits](https://github.com/nestjs/swagger/compare/11.2.0...11.2.6)

---
updated-dependencies:
- dependency-name: "@nestjs/swagger"
  dependency-version: 11.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

1979 of 3720 branches covered (53.2%)

Branch coverage included in aggregate %.

8406 of 14654 relevant lines covered (57.36%)

132.06 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.48
/src/modules/data-decoder/routes/entities/data-decoded.entity.ts
1
import {
24✔
2
  ApiExtraModels,
3
  ApiProperty,
4
  ApiPropertyOptional,
5
  getSchemaPath,
6
} from '@nestjs/swagger';
7
import {
24✔
8
  BaseDataDecoded as DomainBaseDataDecoded,
9
  MultiSend as DomainMultiSend,
10
  DataDecoded as DomainDataDecoded,
11
  DataDecodedParameter as DomainDataDecodedParameter,
12
  DataDecodedAccuracy,
13
} from '@/modules/data-decoder/domain/v2/entities/data-decoded.entity';
14
import { Operation } from '@/modules/safe/domain/entities/operation.entity';
24✔
15
import type { Address, Hex } from 'viem';
16

17
class BaseDataDecoded implements DomainBaseDataDecoded {
18
  @ApiProperty()
19
  method!: string;
24✔
20

21
  @ApiPropertyOptional({ type: () => DataDecodedParameter, isArray: true })
×
22
  parameters!: Array<DataDecodedParameter> | null;
24✔
23
}
24

25
class MultiSend implements DomainMultiSend {
26
  @ApiProperty({
27
    enum: Operation,
28
    enumName: 'Operation',
29
    description: 'Operation type: 0 for CALL, 1 for DELEGATE',
30
  })
31
  operation!: Operation;
24✔
32

33
  @ApiProperty()
34
  value!: string;
24✔
35

36
  @ApiPropertyOptional({ type: () => BaseDataDecoded })
×
37
  dataDecoded!: BaseDataDecoded;
24✔
38

39
  @ApiProperty()
40
  to!: Address;
24✔
41

42
  @ApiProperty({
43
    type: String,
44
    nullable: true,
45
    description: 'Hexadecimal encoded data',
46
    pattern: '^0x[0-9a-fA-F]*$',
47
  })
48
  data!: Hex | null;
24✔
49
}
50

51
@ApiExtraModels(MultiSend, BaseDataDecoded)
52
export class DataDecodedParameter implements DomainDataDecodedParameter {
24✔
53
  @ApiProperty()
54
  name!: string;
24✔
55

56
  @ApiProperty()
57
  type!: string;
24✔
58

59
  @ApiProperty({
60
    description:
61
      'Parameter value - typically a string, but may be an array of strings for array types (e.g., address[], uint256[])',
62
    oneOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],
63
  })
64
  value!: Required<unknown>;
24✔
65

66
  @ApiPropertyOptional({
67
    oneOf: [
68
      { $ref: getSchemaPath(BaseDataDecoded) },
69
      { type: 'array', items: { $ref: getSchemaPath(MultiSend) } },
70
      { type: 'null' },
71
    ],
72
  })
73
  valueDecoded?: Array<DomainMultiSend> | DomainBaseDataDecoded | null;
24✔
74
}
75

76
export class DataDecoded implements DomainDataDecoded {
24✔
77
  @ApiProperty()
78
  method!: string;
24✔
79

80
  @ApiPropertyOptional({
81
    type: DataDecodedParameter,
82
    isArray: true,
83
    nullable: true,
84
  })
85
  parameters!: Array<DataDecodedParameter> | null;
24✔
86

87
  @ApiPropertyOptional({
88
    enum: [...DataDecodedAccuracy, 'UNKNOWN'],
89
    default: 'UNKNOWN',
90
  })
91
  accuracy!: (typeof DataDecodedAccuracy)[number] | 'UNKNOWN';
24✔
92
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc