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

ckapps / overckd / 13656842746

31 May 2023 01:52PM UTC coverage: 20.328%. First build
13656842746

push

github

web-flow
Merge pull request #17 from ckapps/chore/update-deps

Chore/update deps

32 of 288 branches covered (11.11%)

Branch coverage included in aggregate %.

32 of 270 new or added lines in 73 files covered. (11.85%)

464 of 2152 relevant lines covered (21.56%)

0.76 hits per line

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

0.0
/packages/desktop-shell/src/db/rxjs/pluck-data.ts
1
import { RxDocument } from 'rxdb';
2
import { OperatorFunction } from 'rxjs';
3
import { map } from 'rxjs/operators';
×
4

5
export function pluckData<T>(): OperatorFunction<
×
6
  RxDocument<T> | null,
7
  T | undefined
8
> {
NEW
9
  return map((doc: RxDocument<T> | null) =>
×
NEW
10
    doc ? doc.toMutableJSON() : undefined,
×
11
  );
12
}
13

14
export function pluckDataStrict<T>(): OperatorFunction<RxDocument<T>, T> {
×
NEW
15
  return map((doc: RxDocument<T>) => doc.toMutableJSON());
×
16
}
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