Skip to content

CreateDeliveryResult — @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 { CreateDeliveryResult } from '@gj-kit/nest-notifications';
/**
* `created: false` means a delivery with this batch identity already existed and
* `id` is that row. It is NOT an error and MUST NOT throw (R11): the caller falls
* back to `mergeIntoBatch`, and to the follow-up route when that fails.
* Appending an item to a delivery you did not create can bind it to a
* presentation-locked row, which loses the notification silently (design 0.3-7).
*/
interface CreateDeliveryResult {
readonly id: string;
readonly created: boolean;
}

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