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

teableio / teable / 8432329425

26 Mar 2024 07:31AM CUT coverage: 26.059% (-0.05%) from 26.106%
8432329425

Pull #493

github

web-flow
Merge de535fbae into 98543ea09
Pull Request #493: feat: export csv

2106 of 3377 branches covered (62.36%)

9 of 220 new or added lines in 12 files covered. (4.09%)

1 existing line in 1 file now uncovered.

25609 of 98275 relevant lines covered (26.06%)

5.16 hits per line

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

0.0
/apps/nestjs-backend/src/features/export/open-api/export-open-api.controller.ts
NEW
1
import { Controller, Get, UseGuards, Param, Res } from '@nestjs/common';
×
NEW
2
import { Response } from 'express';
×
NEW
3
import { Permissions } from '../../auth/decorators/permissions.decorator';
×
NEW
4
import { PermissionGuard } from '../../auth/guard/permission.guard';
×
NEW
5
import { ExportOpenApiService } from './export-open-api.service';
×
NEW
6

×
NEW
7
@Controller('api/export')
×
NEW
8
@UseGuards(PermissionGuard)
×
NEW
9
export class ExportController {
×
NEW
10
  constructor(private readonly exportOpenService: ExportOpenApiService) {}
×
NEW
11
  @Get(':tableId')
×
NEW
12
  @Permissions('table|export')
×
NEW
13
  async exportCsvFromTable(
×
NEW
14
    @Param('tableId') tableId: string,
×
NEW
15
    @Res({ passthrough: true }) response: Response
×
NEW
16
  ): Promise<void> {
×
NEW
17
    return await this.exportOpenService.exportCsvFromTable(tableId, response);
×
NEW
18
  }
×
NEW
19
}
×
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

© 2025 Coveralls, Inc