@voyant-travel/distribution
v0.127.2
Published
Distribution module for Voyant. Distribution owns the broader commercial network: channels, suppliers, source/operator links, external refs, mappings, allotments, channel push, webhooks, and reconciliation for OTA, tour-operator, and DMC deployments.
Readme
@voyant-travel/distribution
Distribution module for Voyant. Distribution owns the broader commercial network: channels, suppliers, source/operator links, external refs, mappings, allotments, channel push, webhooks, and reconciliation for OTA, tour-operator, and DMC deployments.
Distribution is cross-cutting channel support. It is not a separate implementation scenario or user base.
Install
pnpm add @voyant-travel/distributionUsage
import { distributionModule } from "@voyant-travel/distribution"
import { createApp } from "@voyant-travel/hono"
const app = createApp({
modules: [distributionModule],
// ...
})Exports
| Entry | Description |
| --- | --- |
| . | Module export |
| ./channel-push-workflows | Opt-in workflow registration for channel-push bundles |
| ./schema | Drizzle tables |
| ./validation | Zod schemas |
| ./routes | Hono routes |
| ./suppliers | Supplier identity, services, rates, notes, routes, validation, and schema owner path |
| ./external-refs | External reference routes, service, validation, and schema owner path |
Set VOYANT_DISTRIBUTION_CHANNEL_PUSH_ENABLED=true in workflow build/runtime
environments that should publish the scheduled availability and content
channel-push workflows.
License
Apache-2.0
