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

teableio / teable / 8389227144

22 Mar 2024 10:56AM CUT 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

67.86
/apps/nestjs-backend/src/event-emitter/events/core-event.ts
1
import type { IncomingHttpHeaders } from 'http';
1✔
2
import type { OpName } from '@teable/core';
1✔
3
import { nanoid } from 'nanoid';
1✔
4
import type { Events } from './event.enum';
1✔
5

1✔
6
export interface IEventContext {
1✔
7
  user?: {
1✔
8
    id: string;
1✔
9
    name: string;
1✔
10
    email: string;
1✔
11
  };
1✔
12
  headers?: Record<string, string | undefined> | IncomingHttpHeaders;
1✔
13
  opMeta?: {
1✔
14
    name: OpName;
1✔
15
    propertyKey?: string;
1✔
16
  };
1✔
17
}
1✔
18

1✔
19
export abstract class CoreEvent<Payload extends object = object> {
1!
UNCOV
20
  abstract name: Events;
×
UNCOV
21

×
UNCOV
22
  constructor(
×
UNCOV
23
    public readonly payload: Payload,
×
UNCOV
24
    public readonly context: IEventContext,
×
UNCOV
25
    public readonly isBulk = false,
×
UNCOV
26
    public readonly id = nanoid()
×
UNCOV
27
  ) {}
×
UNCOV
28
}
×
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