@voyantjs/suppliers
v0.111.6
Published
Suppliers module for Voyant. Models suppliers, their services, rate cards, and notes for OTA, tour-operator, and DMC workflows.
Readme
@voyantjs/suppliers
Suppliers module for Voyant. Models suppliers, their services, rate cards, and notes for OTA, tour-operator, and DMC workflows.
Suppliers are ecosystem counterparties and operating parties. They are not a separate Voyant implementation scenario.
Install
pnpm add @voyantjs/suppliersUsage
import { suppliersModule } from "@voyantjs/suppliers"
import { createApp } from "@voyantjs/hono"
const app = createApp({
modules: [suppliersModule],
// ...
})Entities
- Suppliers (
supp) - Supplier services (
ssvc) - Supplier rates (
srat) - Supplier notes (
snot)
Exports
| Entry | Description |
| --- | --- |
| . | Module export + public types |
| ./schema | Drizzle tables |
| ./validation | Zod schemas |
| ./routes | Hono routes |
License
Apache-2.0
