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

teableio / teable / 8389227144

22 Mar 2024 10:56AM UTC coverage: 26.087% (-53.9%) from 79.937%
8389227144

push

github

web-flow
refactor: move zod schema to openapi (#487)

2100 of 3363 branches covered (62.44%)

282 of 757 new or added lines in 74 files covered. (37.25%)

14879 existing lines in 182 files now uncovered.

25574 of 98035 relevant lines covered (26.09%)

5.17 hits per line

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

41.18
/apps/nestjs-backend/src/features/field/model/field-dto/single-line-text-field.dto.ts
1
import { SingleLineTextFieldCore } from '@teable/core';
1✔
2
import type { IFieldBase } from '../field-base';
1✔
3
export class SingleLineTextFieldDto extends SingleLineTextFieldCore implements IFieldBase {
1✔
4
  convertCellValue2DBValue(value: unknown): unknown {
1✔
UNCOV
5
    if (this.isMultipleCellValue) {
×
UNCOV
6
      return value == null ? value : JSON.stringify(value);
×
UNCOV
7
    }
×
UNCOV
8
    return value;
×
UNCOV
9
  }
×
10

1✔
11
  convertDBValue2CellValue(value: unknown): unknown {
1✔
UNCOV
12
    if (this.isMultipleCellValue) {
×
UNCOV
13
      return value == null || typeof value === 'object' ? value : JSON.parse(value as string);
×
UNCOV
14
    }
×
UNCOV
15
    return value;
×
UNCOV
16
  }
×
17
}
1✔
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