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

safe-global / safe-client-gateway / 8691536998

15 Apr 2024 03:07PM UTC coverage: 92.79% (-0.3%) from 93.056%
8691536998

push

github

fmrsabino
wip

1897 of 2289 branches covered (82.87%)

Branch coverage included in aggregate %.

0 of 30 new or added lines in 3 files covered. (0.0%)

6777 of 7059 relevant lines covered (96.01%)

312.68 hits per line

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

0.0
/src/routes/data-decode/data-decoded-v2.controller.ts
NEW
1
import { Body, Controller, HttpCode, Param, Post } from '@nestjs/common';
×
NEW
2
import { ApiOkResponse, ApiTags } from '@nestjs/swagger';
×
NEW
3
import { DataDecodedService } from '@/routes/data-decode/data-decoded.service';
×
NEW
4
import { DataDecoded } from '@/routes/data-decode/entities/data-decoded.entity';
×
NEW
5
import { GetDataDecodedDto } from '@/routes/data-decode/entities/get-data-decoded.dto.entity';
×
NEW
6
import { ValidationPipe } from '@/validation/pipes/validation.pipe';
×
NEW
7
import { GetDataDecodedDtoSchema } from '@/routes/data-decode/entities/schemas/get-data-decoded.dto.schema';
×
8

9
@ApiTags('data-decoded')
10
@Controller({
11
  path: '',
12
  version: '2',
13
})
NEW
14
export class DataDecodedController {
×
NEW
15
  constructor(private readonly dataDecodedService: DataDecodedService) {}
×
16

17
  @ApiOkResponse({ type: DataDecoded })
18
  @HttpCode(200)
19
  @Post('chains/:chainId/data-decoder')
NEW
20
  async getDataDecoded(
×
21
    @Param('chainId') chainId: string,
22
    @Body(new ValidationPipe(GetDataDecodedDtoSchema))
23
    getDataDecodedDto: GetDataDecodedDto,
24
  ): Promise<DataDecoded> {
NEW
25
    return this.dataDecodedService.getDataDecoded({
×
26
      chainId,
27
      getDataDecodedDto,
28
    });
29
  }
30
}
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