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

teableio / teable / 17757448414

16 Sep 2025 06:59AM UTC coverage: 79.911%. First build
17757448414

Pull #1859

github

web-flow
Merge 3dcef0d2b into d8d7cf621
Pull Request #1859: feat: add user info, collaborator and access token cache

8613 of 9168 branches covered (93.95%)

189 of 226 new or added lines in 19 files covered. (83.63%)

40710 of 50944 relevant lines covered (79.91%)

1882.3 hits per line

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

50.0
/apps/nestjs-backend/src/features/setting/open-api/admin-open-api.controller.ts
1
import { Controller, Get, Param, Patch, Post, Res } from '@nestjs/common';
2✔
2
import { Response } from 'express';
3
import { Permissions } from '../../auth/decorators/permissions.decorator';
4
import { AdminOpenApiService } from './admin-open-api.service';
5

6
@Controller('api/admin')
7
@Permissions('instance|update')
8
export class AdminOpenApiController {
2✔
9
  constructor(private readonly adminService: AdminOpenApiService) {}
125✔
10

11
  @Patch('/plugin/:pluginId/publish')
125✔
12
  async publishPlugin(@Param('pluginId') pluginId: string): Promise<void> {
44✔
13
    await this.adminService.publishPlugin(pluginId);
44✔
14
  }
44✔
15

16
  @Patch('/plugin/:pluginId/unpublish')
125✔
17
  async unpublishPlugin(@Param('pluginId') pluginId: string): Promise<void> {
×
18
    await this.adminService.unpublishPlugin(pluginId);
×
19
  }
×
20

21
  @Post('/attachment/repair-table-thumbnail')
125✔
22
  async repairTableAttachmentThumbnail(): Promise<void> {
×
23
    await this.adminService.repairTableAttachmentThumbnail();
×
24
  }
×
25

26
  @Get('/debug/heap-snapshot')
125✔
27
  async getHeapSnapshot(@Res() res: Response): Promise<void> {
×
28
    await this.adminService.getHeapSnapshot(res);
×
29
  }
×
30

31
  @Get('performance-cache-stats')
125✔
NEW
32
  async getPerformanceCache() {
×
NEW
33
    return await this.adminService.getPerformanceCache();
×
NEW
34
  }
×
35
}
125✔
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