NotificationPresentationInput — @gj-kit/nest-notifications
@gj-kit/nest-notifications에서 공개하는 interface입니다. package version 0.1.1의 release declaration을 그대로 표시합니다.
검증된 import 예제
섹션 제목: “검증된 import 예제”import { NotificationPresentationInput } from '@gj-kit/nest-notifications';시그니처, 매개변수, 반환 타입
섹션 제목: “시그니처, 매개변수, 반환 타입”/** * 표시 포트 — **기본 구현이 없다**(설계 §0.2-② · §3.4.4). * * 소스는 `새 알림 N건`을 하드코딩했다. 사용자가 실제로 읽는 문장은 제품 카피이고, * 기본값을 주면 영어권 소비자가 남의 언어를 배포하며, 중립 폴백을 주면 5건짜리 배치가 * 첫 항목의 문장으로 나간다(둘 다 거짓말이다). 필수 옵션이면 컴파일 에러가 결정을 강제한다. */interface NotificationPresentationInput { readonly title: string | null; readonly body: string; readonly action: NotificationAction | null; readonly category: string; readonly priority: NotificationPriority; /** How many source commands were merged into this delivery. */ readonly batchCount: number; /** Sum of the merged commands' item counts. */ readonly batchItemCount: number; readonly aggregationLabel: string | null;}이 선언은 매개변수, optionality, 제네릭, 반환값, 공개 union/type 계약의 정본입니다. 호출 전 필요한 환경·권한·오류 경계는 패키지 Golden path와 이 subpath의 import 조건을 함께 확인하세요.
Release context
섹션 제목: “Release context”- 패키지:
@gj-kit/nest-notifications - 버전:
0.1.1 - 공개 entry:
. - 소스: GitHub
구현 주석
섹션 제목: “구현 주석”표시 포트 — 기본 구현이 없다(설계 §0.2-② · §3.4.4).
소스는 새 알림 N건을 하드코딩했다. 사용자가 실제로 읽는 문장은 제품 카피이고,
기본값을 주면 영어권 소비자가 남의 언어를 배포하며, 중립 폴백을 주면 5건짜리 배치가
첫 항목의 문장으로 나간다(둘 다 거짓말이다). 필수 옵션이면 컴파일 에러가 결정을 강제한다.