Skip to content

CreateDeliveryInput — @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 { CreateDeliveryInput } from '@gj-kit/nest-notifications/core';
interface CreateDeliveryInput {
readonly applicationKey: string;
readonly recipientRef: string;
readonly actorRef: string | null;
readonly category: string;
readonly priority: NotificationPriority;
readonly title: string | null;
readonly body: string;
readonly action: NotificationAction | null;
/** Null for a standalone delivery: the batch unique constraint then does not apply. */
readonly batchKey: string | null;
readonly batchWindowStartedAt: Date | null;
readonly batchPolicyKey: string | null;
readonly aggregationLabel: string | null;
readonly batchCount: number;
readonly batchItemCount: number;
/** Not dispatchable before this instant (D5). */
readonly deliverAfter: Date;
readonly createdAt: Date;
}

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