TossPaymentsModuleAsyncOptions — @gj-kit/toss-payments-nestjs
A public interface from @gj-kit/toss-payments-nestjs. The signature below is taken directly from the 0.4.4 release declaration.
Verified import example
Section titled “Verified import example”import { TossPaymentsModuleAsyncOptions } from '@gj-kit/toss-payments-nestjs';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** forRootAsync 옵션 (설계 §4.2) — 스토어(PrismaService 등)를 DI 의존성으로 조립하는 경로. */interface TossPaymentsModuleAsyncOptions<C extends AnyTossPaymentsConfig> { readonly imports?: DynamicModule['imports']; /** useFactory 파라미터로 주입할 프로바이더 토큰. 예: [PrismaService, ConfigService] */ readonly inject?: readonly InjectionToken[]; /** * config 팩토리. **반환값은 반드시 `defineTossPaymentsConfig(...)`로 감싸라**(설계 §4.3 강권) — * 팩토리 반환 경로에서는 const 추론이 풀려 조건부 프로퍼티(배선) 판정이 무너질 수 있다. */ readonly useFactory: (...deps: readonly any[]) => C | Promise<C>; /** 기본 true — 결제 kit은 전역 싱글턴이 자연스러운 단위다(모듈마다 재조립 금지). */ 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.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments-nestjs - Version:
0.4.4 - Public entry:
. - Source: GitHub