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

snatalenko / node-cqrs / 21877149956

10 Feb 2026 06:20PM UTC coverage: 85.292% (-9.1%) from 94.396%
21877149956

Pull #28

github

web-flow
Merge 1d0a1ad0d into 828e39903
Pull Request #28: TypeScript and event dispatching pipeline refactoring

673 of 1010 branches covered (66.63%)

935 of 1061 new or added lines in 68 files covered. (88.12%)

49 existing lines in 13 files now uncovered.

1270 of 1489 relevant lines covered (85.29%)

33.79 hits per line

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

66.67
/src/interfaces/IIdentifierProvider.ts
1
import type { Identifier } from './Identifier.ts';
2
import { isObject } from './isObject.ts';
46✔
3

4
export interface IIdentifierProvider {
5

6
        /**
7
         * Generates and returns a new unique identifier suitable for aggregates, sagas, and events.
8
         *
9
         * @returns A promise resolving to an identifier or an identifier itself.
10
         */
11
        getNewId(): Identifier | Promise<Identifier>;
12
}
13

14
export const isIdentifierProvider = (obj: any): obj is IIdentifierProvider =>
46✔
NEW
15
        isObject(obj)
×
16
        && 'getNewId' in obj
17
        && typeof obj.getNewId === 'function';
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