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

teableio / teable / 8478979078

29 Mar 2024 08:32AM CUT coverage: 82.643% (+61.0%) from 21.636%
8478979078

push

github

web-flow
feat: search api (#507)

* feat: search api

* test: add advanced test case

* feat: search responsive ui

* feat: realtime search

3942 of 4135 branches covered (95.33%)

454 of 493 new or added lines in 29 files covered. (92.09%)

26536 of 32109 relevant lines covered (82.64%)

1222.65 hits per line

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

90.91
/apps/nestjs-backend/src/features/field/model/field-dto/checkbox-field.dto.ts
1
import { CheckboxFieldCore } from '@teable/core';
4✔
2
import type { FieldBase } from '../field-base';
4✔
3

4✔
4
export class CheckboxFieldDto extends CheckboxFieldCore implements FieldBase {
4✔
5
  get isStructuredCellValue() {
4✔
NEW
6
    return false;
×
NEW
7
  }
×
8

4✔
9
  convertCellValue2DBValue(value: unknown): unknown {
4✔
10
    if (this.isMultipleCellValue) {
134✔
11
      return value == null ? value : JSON.stringify(value);
64✔
12
    }
64✔
13
    return value ? true : null;
134!
14
  }
134✔
15

4✔
16
  convertDBValue2CellValue(value: unknown): unknown {
4✔
17
    if (this.isMultipleCellValue) {
4,971✔
18
      return value == null || typeof value === 'object' ? value : JSON.parse(value as string);
822✔
19
    }
822✔
20
    return value ? true : null;
4,971✔
21
  }
4,971✔
22
}
4✔
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