@voyantjs/charters 0.54.0 → 0.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/schema-sourced-content.d.ts +1 -1
- package/dist/schema-sourced-content.js +1 -1
- package/dist/service-catalog-plane.d.ts +1 -1
- package/dist/service-catalog-plane.js +1 -1
- package/dist/service-content.d.ts +1 -1
- package/dist/service-content.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# @voyantjs/charters
|
|
2
2
|
|
|
3
|
-
Opt-in charters module for
|
|
3
|
+
Opt-in charters module for OTA, tour-operator, and DMC deployments. Models
|
|
4
|
+
small-scale or specialized charter inventory that does not fit the cruise
|
|
5
|
+
schema - per-suite flat pricing, whole-yacht charter under MYBA contract, and
|
|
6
|
+
APA (Advance Provisioning Allowance) as a first-class concern.
|
|
7
|
+
|
|
8
|
+
Charters may be sourced supplier inventory or operator/DMC-owned operations.
|
|
9
|
+
They are an inventory and operations capability inside the target scenarios,
|
|
10
|
+
not a separate "charter operator" implementation scenario.
|
|
4
11
|
|
|
5
12
|
See [docs/architecture/charters-module.md](../../docs/architecture/charters-module.md) for the full design.
|
|
6
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Charters sourced-content cache. Sibling to the products / cruises /
|
|
3
|
-
*
|
|
3
|
+
* accommodations variants — same shape, different vertical.
|
|
4
4
|
*
|
|
5
5
|
* One row per sourced charter product × locale × market. Stores the
|
|
6
6
|
* rich detail-page content the upstream adapter served via
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Charters sourced-content cache. Sibling to the products / cruises /
|
|
3
|
-
*
|
|
3
|
+
* accommodations variants — same shape, different vertical.
|
|
4
4
|
*
|
|
5
5
|
* One row per sourced charter product × locale × market. Stores the
|
|
6
6
|
* rich detail-page content the upstream adapter served via
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Catalog-plane integration for the charters service.
|
|
3
3
|
*
|
|
4
|
-
* Mirrors the products / cruises /
|
|
4
|
+
* Mirrors the products / cruises / accommodations pattern. Charters carry a
|
|
5
5
|
* couple of vertical-specific managed fields — `defaultMybaTemplateId` and
|
|
6
6
|
* `defaultApaPercent` — that participate in the snapshot at quote/book time.
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Catalog-plane integration for the charters service.
|
|
3
3
|
*
|
|
4
|
-
* Mirrors the products / cruises /
|
|
4
|
+
* Mirrors the products / cruises / accommodations pattern. Charters carry a
|
|
5
5
|
* couple of vertical-specific managed fields — `defaultMybaTemplateId` and
|
|
6
6
|
* `defaultApaPercent` — that participate in the snapshot at quote/book time.
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Charter content service — `getCharterContent` with locale-resolved
|
|
3
3
|
* cache reads, SWR refresh, and synthesizer fallback.
|
|
4
4
|
*
|
|
5
|
-
* Mirrors `service-content.ts` in the products / cruises /
|
|
5
|
+
* Mirrors `service-content.ts` in the products / cruises / accommodations
|
|
6
6
|
* packages but charter-shaped. The charter content aggregate (§3.2 /
|
|
7
7
|
* §3.6) is `{ charter, yacht, voyages[], suites[], schedule_days[],
|
|
8
8
|
* policies[] }` — one payload returned by a single getContent.
|
package/dist/service-content.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Charter content service — `getCharterContent` with locale-resolved
|
|
3
3
|
* cache reads, SWR refresh, and synthesizer fallback.
|
|
4
4
|
*
|
|
5
|
-
* Mirrors `service-content.ts` in the products / cruises /
|
|
5
|
+
* Mirrors `service-content.ts` in the products / cruises / accommodations
|
|
6
6
|
* packages but charter-shaped. The charter content aggregate (§3.2 /
|
|
7
7
|
* §3.6) is `{ charter, yacht, voyages[], suites[], schedule_days[],
|
|
8
8
|
* policies[] }` — one payload returned by a single getContent.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/charters",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
"drizzle-orm": "^0.45.2",
|
|
75
75
|
"hono": "^4.12.10",
|
|
76
76
|
"zod": "^4.3.6",
|
|
77
|
-
"@voyantjs/bookings": "0.
|
|
78
|
-
"@voyantjs/
|
|
79
|
-
"@voyantjs/
|
|
80
|
-
"@voyantjs/
|
|
81
|
-
"@voyantjs/
|
|
77
|
+
"@voyantjs/bookings": "0.55.1",
|
|
78
|
+
"@voyantjs/core": "0.55.1",
|
|
79
|
+
"@voyantjs/db": "0.55.1",
|
|
80
|
+
"@voyantjs/hono": "0.55.1",
|
|
81
|
+
"@voyantjs/catalog": "0.55.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"typescript": "^6.0.2",
|