@voyant-travel/finance-contracts
v0.104.5
Published
Pure finance validation schemas (invoices, payments, tax, vouchers) and enums, zod-only, for consumers (admin SDK, Voyant Connect) that validate finance payloads without the finance runtime. `@voyant-travel/finance` re-exports these so existing import pat
Readme
@voyant-travel/finance-contracts
Pure finance validation schemas (invoices, payments, tax, vouchers) and enums,
zod-only, for consumers (admin SDK, Voyant Connect) that validate finance
payloads without the finance runtime. @voyant-travel/finance re-exports these so
existing import paths are unchanged.
Install
pnpm add @voyant-travel/finance-contracts zodUsage
import {
invoiceStatusSchema,
insertInvoiceSchema,
paymentMethodSchema,
} from "@voyant-travel/finance-contracts"Existing @voyant-travel/finance/validation and @voyant-travel/finance imports remain
available for applications that already depend on the full runtime package.
