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

teableio / teable / 17758926474

16 Sep 2025 08:00AM UTC coverage: 79.898%. First build
17758926474

Pull #1859

github

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

8583 of 9137 branches covered (93.94%)

190 of 239 new or added lines in 19 files covered. (79.5%)

40712 of 50955 relevant lines covered (79.9%)

1881.79 hits per line

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

46.43
/apps/nestjs-backend/src/features/setting/open-api/admin-open-api.controller.ts
1
import { Controller, Delete, Get, Param, Patch, Post, Query, 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

36
  @Delete('performance-cache')
125✔
NEW
37
  async deletePerformanceCache(@Query('key') key?: string) {
×
NEW
38
    return await this.adminService.deletePerformanceCache(key);
×
NEW
39
  }
×
40
}
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