Skip to content

ObservedNotificationEndpoint — @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 { ObservedNotificationEndpoint } from '@gj-kit/nest-notifications/core';
/**
* An endpoint plus the registration revision observed when it was listed. A
* disable computed from this observation must not survive a re-registration that
* happened afterwards (D6).
*/
interface ObservedNotificationEndpoint extends NotificationPushEndpoint {
/**
* Opaque and compared only for equality. Any value that changes whenever the
* row is re-registered works: `lastSeenAt.toISOString()`, a version counter, or
* an xmin/rowversion column.
*/
readonly revision: 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