Skip to content

NotificationPushResult — @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 { NotificationPushResult } from '@gj-kit/nest-notifications/core';
interface NotificationPushResult {
/** False retains the durable delivery for retry. */
readonly accepted: boolean;
/** The provider confirmed these endpoints are gone. Safe to disable. */
readonly invalidEndpointIds: readonly string[];
/**
* Locally malformed addresses. NOT provider-confirmed: the dispatcher logs
* them and, by default, leaves them enabled (design 0.2-6). Merging the two
* lists is how the source could permanently disable a live device the day its
* own regex became stricter than the provider's.
*/
readonly rejectedEndpointIds: readonly 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