NotificationPushGateway — @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.
Verified import example
Section titled “Verified import example”import { NotificationPushGateway } from '@gj-kit/nest-notifications/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface NotificationPushGateway { /** Reject malformed provider addresses before they become durable endpoints. */ isValidEndpoint(endpoint: Pick<NotificationPushEndpoint, 'provider' | 'address'>): boolean; /** * Hands one delivery to the transport. Implementations absorb transport * failures into `accepted: false` rather than throwing: a rejected handoff is * an outcome the dispatcher records, not an exception it has to classify. */ send(endpoints: readonly NotificationPushEndpoint[], payload: NotificationPushPayload): Promise<NotificationPushResult>;}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:
./core - Source: GitHub