Skip to content

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

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

import { TossPaymentsPostgresModuleAsyncOptions } from '@gj-kit/toss-payments-postgresql/nestjs';
/** forRootAsync 옵션 — pg Pool 등을 Nest 프로바이더(inject)로 받아 조립하는 경로. */
interface TossPaymentsPostgresModuleAsyncOptions {
readonly imports?: DynamicModule['imports'];
/** useFactory 파라미터로 주입할 프로바이더 토큰. 예: [ConfigService, PG_POOL] */
readonly inject?: readonly InjectionToken[];
/** 반환값에는 필수 `sensitiveValueProtector`를 포함한다. */
readonly useFactory: (...deps: readonly any[]) => TossPaymentsPostgresOptions | Promise<TossPaymentsPostgresOptions>;
/** 기본 true. 모듈 경계를 엄격히 유지하려면 false를 명시한다. */
readonly global?: boolean;
}

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