Skip to content

NotificationDispatchTransaction — @gj-kit/nest-notifications

A public interface from @gj-kit/nest-notifications. The signature below is taken directly from the 0.1.1 release declaration.

import { NotificationDispatchTransaction } from '@gj-kit/nest-notifications';
interface NotificationDispatchTransaction {
readDelivery(): Promise<ClaimedNotificationDelivery | null>;
/** Conflict-safe insert then read. Never throws on a duplicate (D2). */
ensureMessage(input: EnsureMessageInput): Promise<{
readonly id: string;
}>;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-notifications
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub