Skip to content

notificationBatchPolicyKey — @gj-kit/nest-notifications

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

import { notificationBatchPolicyKey } from '@gj-kit/nest-notifications/core';
/**
* Route key for one batch identity.
*
* JSON array encoding rather than a delimiter join: a category name is opaque to
* this library and could contain whatever separator we picked (source rationale,
* kept verbatim).
*/
declare function notificationBatchPolicyKey(category: string, priority: NotificationPriority, timing: NotificationTiming): 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