NotificationPresenter — @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.
Verified import example
Section titled “Verified import example”import { NotificationPresenter } from '@gj-kit/nest-notifications';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Produces the sentence a person actually reads, in the inbox and in the push * payload. The library ships no implementation: batch copy is product copy, and * a default would ship one product's language to every consumer. * * A presenter that returns an empty body makes the notification invisible, which * the dispatcher treats as a permanent failure * (`ERR_NOTIFICATION_MESSAGE_NOT_VISIBLE`) rather than writing a blank inbox card. */interface NotificationPresenter { present(input: NotificationPresentationInput): NotificationPresentation;}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.
Release context
Section titled “Release context”- Package:
@gj-kit/nest-notifications - Version:
0.1.1 - Public entry:
. - Source: GitHub