Skip to content

SensitiveValueContext — @gj-kit/toss-payments-postgresql

A public interface from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.

import { SensitiveValueContext } from '@gj-kit/toss-payments-postgresql';
/**
* 보호기 호출마다 전달되는 AAD 결속 정보.
*
* `recordId`는 DB의 primary/lookup key와 동일하다(customerKey, orderId, ticketId).
* 암호문 자체뿐 아니라 저장 위치도 인증하려면 `purpose`와 `recordId`를 둘 다 AAD에
* 포함해야 한다.
*/
interface SensitiveValueContext {
readonly purpose: SensitiveValuePurpose;
readonly recordId: 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/toss-payments-postgresql
  • Version: 0.5.1
  • Public entry: .
  • Source: GitHub