MemoryTossPaymentsPostgresRecorded — @gj-kit/toss-payments-postgresql
A public interface from @gj-kit/toss-payments-postgresql/testing. The signature below is taken directly from the 0.5.1 release declaration.
Verified import example
Section titled “Verified import example”import { MemoryTossPaymentsPostgresRecorded } from '@gj-kit/toss-payments-postgresql/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** Test-only observation surface. All arrays are live views cleared by `reset()`. */interface MemoryTossPaymentsPostgresRecorded { readonly events: readonly MemoryTossPaymentsPostgresEvent[]; /** * Audit entries in first-`record()` order, one per distinct `id` — the PostgreSQL sink has no * read API. A second `record()` with an id already present is a no-op, mirroring the table's * `ON CONFLICT (id) DO NOTHING`. */ readonly auditEntries: readonly AuditEntry[]; /** Inbox rows in first-received order. */ readonly inbox: readonly MemoryWebhookInboxRow[];}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-postgresql - Version:
0.5.1 - Public entry:
./testing - Source: GitHub