Skip to content

DispatchClaimRequest — @gj-kit/nest-notifications

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

import { DispatchClaimRequest } from '@gj-kit/nest-notifications/core';
interface DispatchClaimRequest {
readonly applicationKey: string;
readonly limit: number;
/** From the injected clock. Also the due cutoff for `deliverAfter` (D5). */
readonly at: Date;
/** A duration; the store compares it against its own clock (D8). */
readonly claimStaleMs: number;
/** Same predicate and the same "pass count, not duration" caveat as R13 (D9). */
readonly maxAttempts?: number | undefined;
readonly claimToken: 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: ./core
  • Source: GitHub