NotificationEndpointStore — @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 { NotificationEndpointStore } from '@gj-kit/nest-notifications/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface NotificationEndpointStore { listEnabled(input: { readonly applicationKey: string; readonly recipientRef: string; readonly providers: readonly string[]; }): Promise<readonly ObservedNotificationEndpoint[]>; /** * Idempotent and stale-safe. An empty list is a no-op, and so is an entry whose * `revision` no longer matches the stored row: the device re-registered between * `listEnabled` and here, and disabling it would leave a live device dark * indefinitely (D6, design 0.2-18). */ disable(input: { readonly applicationKey: string; readonly endpoints: readonly NotificationEndpointDisableTarget[]; /** Recorded as the disable instant. From the injected clock (D7). */ readonly at: Date; }): Promise<void>;}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