@voyantjs/products 0.53.2 → 0.55.0
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.
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* - Price = product.sellAmountCents × pax_count, no taxes / addons /
|
|
19
19
|
* accommodation / vouchers.
|
|
20
20
|
* - Commit goes through the bridge into `bookingsCreate`'s input
|
|
21
|
-
* shape — products-only, no extras /
|
|
21
|
+
* shape — products-only, no extras / accommodations / cruises / encrypted
|
|
22
22
|
* travel details / snapshot graph.
|
|
23
23
|
*
|
|
24
24
|
* Phase C+ extensions land on this same handler without re-architecting
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* - Price = product.sellAmountCents × pax_count, no taxes / addons /
|
|
19
19
|
* accommodation / vouchers.
|
|
20
20
|
* - Commit goes through the bridge into `bookingsCreate`'s input
|
|
21
|
-
* shape — products-only, no extras /
|
|
21
|
+
* shape — products-only, no extras / accommodations / cruises / encrypted
|
|
22
22
|
* travel details / snapshot graph.
|
|
23
23
|
*
|
|
24
24
|
* Phase C+ extensions land on this same handler without re-architecting
|
package/dist/draft-shape.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* offers.
|
|
14
14
|
*
|
|
15
15
|
* No accommodation sub-step today (multi-day tours w/ rooms route
|
|
16
|
-
* through
|
|
16
|
+
* through accommodations, not products). Pricing flows through
|
|
17
17
|
* liveResolve at quote time, not the descriptor.
|
|
18
18
|
*
|
|
19
19
|
* See `docs/architecture/booking-journey-architecture.md` §3 + §F.
|
package/dist/draft-shape.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* offers.
|
|
14
14
|
*
|
|
15
15
|
* No accommodation sub-step today (multi-day tours w/ rooms route
|
|
16
|
-
* through
|
|
16
|
+
* through accommodations, not products). Pricing flows through
|
|
17
17
|
* liveResolve at quote time, not the descriptor.
|
|
18
18
|
*
|
|
19
19
|
* See `docs/architecture/booking-journey-architecture.md` §3 + §F.
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* `@voyantjs/catalog`.
|
|
16
16
|
*
|
|
17
17
|
* See `docs/architecture/catalog-architecture.md` §9.1 for the integration
|
|
18
|
-
* pattern this file establishes (replicated for cruises,
|
|
18
|
+
* pattern this file establishes (replicated for cruises, accommodations, etc.
|
|
19
19
|
* in their own service-catalog-plane.ts files).
|
|
20
20
|
*/
|
|
21
21
|
import { type CaptureSnapshotInput, type DocumentBuilder, type DocumentEmitter, type FieldPolicy, type FieldPolicyRegistry, type IndexerDocument, type IndexerSlice, type PricingBasis, type Provenance, type ResolvedView, type ResolverScope, type Visibility } from "@voyantjs/catalog";
|
|
@@ -92,7 +92,7 @@ export declare function listResolvedProducts(db: AnyDrizzleDb, rows: ReadonlyArr
|
|
|
92
92
|
*
|
|
93
93
|
* Composition: a single-product booking calls this once and passes the
|
|
94
94
|
* result to `captureSnapshot`. A composite booking (e.g. a tour-package
|
|
95
|
-
* booking with referenced
|
|
95
|
+
* booking with referenced accommodations + excursions) calls this and the
|
|
96
96
|
* other verticals' equivalents, collects the inputs, and passes them all
|
|
97
97
|
* to `captureSnapshotGraph` in one transaction.
|
|
98
98
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* `@voyantjs/catalog`.
|
|
16
16
|
*
|
|
17
17
|
* See `docs/architecture/catalog-architecture.md` §9.1 for the integration
|
|
18
|
-
* pattern this file establishes (replicated for cruises,
|
|
18
|
+
* pattern this file establishes (replicated for cruises, accommodations, etc.
|
|
19
19
|
* in their own service-catalog-plane.ts files).
|
|
20
20
|
*/
|
|
21
21
|
import { buildIndexerDocument, buildSnapshotInputFromView, createFieldPolicyRegistry, resolveEntityView, } from "@voyantjs/catalog";
|
|
@@ -157,7 +157,7 @@ export async function listResolvedProducts(db, rows, context) {
|
|
|
157
157
|
*
|
|
158
158
|
* Composition: a single-product booking calls this once and passes the
|
|
159
159
|
* result to `captureSnapshot`. A composite booking (e.g. a tour-package
|
|
160
|
-
* booking with referenced
|
|
160
|
+
* booking with referenced accommodations + excursions) calls this and the
|
|
161
161
|
* other verticals' equivalents, collects the inputs, and passes them all
|
|
162
162
|
* to `captureSnapshotGraph` in one transaction.
|
|
163
163
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/products",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -132,13 +132,13 @@
|
|
|
132
132
|
"pdf-lib": "^1.17.1",
|
|
133
133
|
"sanitize-html": "^2.17.4",
|
|
134
134
|
"zod": "^4.3.6",
|
|
135
|
-
"@voyantjs/action-ledger": "0.
|
|
136
|
-
"@voyantjs/core": "0.
|
|
137
|
-
"@voyantjs/db": "0.
|
|
138
|
-
"@voyantjs/hono": "0.
|
|
139
|
-
"@voyantjs/utils": "0.
|
|
140
|
-
"@voyantjs/catalog": "0.
|
|
141
|
-
"@voyantjs/storage": "0.
|
|
135
|
+
"@voyantjs/action-ledger": "0.55.0",
|
|
136
|
+
"@voyantjs/core": "0.55.0",
|
|
137
|
+
"@voyantjs/db": "0.55.0",
|
|
138
|
+
"@voyantjs/hono": "0.55.0",
|
|
139
|
+
"@voyantjs/utils": "0.55.0",
|
|
140
|
+
"@voyantjs/catalog": "0.55.0",
|
|
141
|
+
"@voyantjs/storage": "0.55.0"
|
|
142
142
|
},
|
|
143
143
|
"devDependencies": {
|
|
144
144
|
"@types/sanitize-html": "^2.16.1",
|