@voyant-travel/availability 0.0.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.
- package/README.md +17 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/schema-core.d.ts +1667 -0
- package/dist/schema-core.d.ts.map +1 -0
- package/dist/schema-core.js +188 -0
- package/dist/schema-holds.d.ts +191 -0
- package/dist/schema-holds.d.ts.map +1 -0
- package/dist/schema-holds.js +36 -0
- package/dist/schema-pickups.d.ts +1291 -0
- package/dist/schema-pickups.d.ts.map +1 -0
- package/dist/schema-pickups.js +140 -0
- package/dist/schema-relations.d.ts +82 -0
- package/dist/schema-relations.d.ts.map +1 -0
- package/dist/schema-relations.js +88 -0
- package/dist/schema.d.ts +5 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +4 -0
- package/migrations/0000_availability_baseline.sql +316 -0
- package/migrations/meta/_journal.json +13 -0
- package/package.json +63 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @voyant-travel/availability
|
|
2
|
+
|
|
3
|
+
The availability domain schema — bookable **slots**, **rules**, **start times**,
|
|
4
|
+
**holds**, **pickups** and capacity. This is the single owner of the
|
|
5
|
+
`availability_*` tables.
|
|
6
|
+
|
|
7
|
+
It was extracted from `@voyant-travel/operations` so that, under per-package
|
|
8
|
+
migrations (D.2), availability owns its own schema and the module graph flows in
|
|
9
|
+
the intended direction: `bookings`, `operations` and `accommodations` all consume
|
|
10
|
+
availability (a foundational package), rather than reaching into operations for an
|
|
11
|
+
inventory primitive. `operations` keeps its availability **services and routes**,
|
|
12
|
+
importing the schema from here.
|
|
13
|
+
|
|
14
|
+
## Exports
|
|
15
|
+
|
|
16
|
+
- `.` / `./schema` — the `availability_*` Drizzle tables, enums, relations and
|
|
17
|
+
inferred types.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./schema.js";
|