Skip to content

classifyExpoPushTickets — @gj-kit/nest-notifications

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

import { classifyExpoPushTickets } from '@gj-kit/nest-notifications/expo';
/**
* Maps one chunk's tickets back onto its entries.
*
* A response whose length differs from the request is never treated as a
* handoff: which messages landed is unknowable, and losing a notification is
* worse than sending it twice (design 3.1 F7). The tickets that did arrive are
* still classified, so an endpoint the provider already confirmed as gone is
* reported even in that case.
*/
declare function classifyExpoPushTickets(entries: readonly ExpoPushEntry[], tickets: readonly ExpoPushTicket[]): ExpoTicketClassification;

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: ./expo
  • Source: GitHub