ExpoTicketClassification — @gj-kit/nest-notifications
A public interface from @gj-kit/nest-notifications/expo. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { ExpoTicketClassification } from '@gj-kit/nest-notifications/expo';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * ticket 분류 — undersized 응답 가드 포함(설계 §3.5). * * 순수 함수로 공개하는 이유는 두 가지다. ① 호스트가 receipt 폴링을 직접 붙일 수 있도록 * 성공 ticket의 id를 돌려준다(§0.3-② — Expo의 `DeviceNotRegistered` 상당수는 ticket이 * 아니라 receipt로 온다). ② 길이 불일치를 "핸드오프 성공"으로 취급하지 않는다는 판단이 * 테스트 가능한 형태로 남는다. */interface ExpoTicketClassification { readonly accepted: boolean; readonly invalidEndpointIds: readonly string[]; /** Ids of accepted tickets, for a host that polls Expo receipts (design 0.3-2). */ readonly ticketIds: readonly string[]; /** Error codes only. A ticket `message` can carry payload text and never appears here. */ readonly otherErrors: readonly 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.
Release context
Section titled “Release context”- Package:
@gj-kit/nest-notifications - Version:
0.1.1 - Public entry:
./expo - Source: GitHub