@voyant-travel/accommodations 0.108.0 → 0.108.2
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/dist/index.d.ts +2 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -9
- package/dist/linkables.d.ts +11 -0
- package/dist/linkables.d.ts.map +1 -0
- package/dist/linkables.js +14 -0
- package/package.json +11 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Module } from "@voyant-travel/core";
|
|
2
2
|
import type { HonoModule } from "@voyant-travel/hono/module";
|
|
3
3
|
/**
|
|
4
4
|
* Room blocks are the accommodations module's first linkable surface — a
|
|
5
5
|
* standard, package-owned allotment primitive that any deployment can use
|
|
6
6
|
* (the MICE spine merely links to it). See RFC voyant#1489.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
export declare const accommodationsLinkable: {
|
|
10
|
-
roomBlock: LinkableDefinition;
|
|
11
|
-
};
|
|
8
|
+
export { accommodationsLinkable, roomBlockLinkable } from "./linkables.js";
|
|
12
9
|
export declare const accommodationsModule: Module;
|
|
13
10
|
export declare const accommodationsHonoModule: HonoModule;
|
|
14
11
|
export declare const accommodationsHonoModules: readonly [HonoModule];
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAK5D;;;;GAIG;AACH,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAE1E,eAAO,MAAM,oBAAoB,EAAE,MAKlC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,UAGtC,CAAA;AAED,eAAO,MAAM,yBAAyB,uBAAsC,CAAA;AAE5E,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA;AACpC,cAAc,kCAAkC,CAAA;AAChD,cAAc,0BAA0B,CAAA;AACxC,cAAc,6BAA6B,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,11 @@
|
|
|
1
|
+
import { accommodationsLinkable } from "./linkables.js";
|
|
1
2
|
import { roomBlockAdminRoutes } from "./routes-room-blocks.js";
|
|
2
3
|
/**
|
|
3
4
|
* Room blocks are the accommodations module's first linkable surface — a
|
|
4
5
|
* standard, package-owned allotment primitive that any deployment can use
|
|
5
6
|
* (the MICE spine merely links to it). See RFC voyant#1489.
|
|
6
7
|
*/
|
|
7
|
-
export
|
|
8
|
-
module: "accommodations",
|
|
9
|
-
entity: "roomBlock",
|
|
10
|
-
table: "room_blocks",
|
|
11
|
-
idPrefix: "hrbl",
|
|
12
|
-
};
|
|
13
|
-
export const accommodationsLinkable = {
|
|
14
|
-
roomBlock: roomBlockLinkable,
|
|
15
|
-
};
|
|
8
|
+
export { accommodationsLinkable, roomBlockLinkable } from "./linkables.js";
|
|
16
9
|
export const accommodationsModule = {
|
|
17
10
|
name: "accommodations",
|
|
18
11
|
// Pickup / reversal / cutoff mutate per-night counters under a transaction.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LinkableDefinition } from "@voyant-travel/core";
|
|
2
|
+
/**
|
|
3
|
+
* Room blocks are the accommodations module's first linkable surface - a
|
|
4
|
+
* standard, package-owned allotment primitive that any deployment can use
|
|
5
|
+
* (the MICE spine merely links to it). See RFC voyant#1489.
|
|
6
|
+
*/
|
|
7
|
+
export declare const roomBlockLinkable: LinkableDefinition;
|
|
8
|
+
export declare const accommodationsLinkable: {
|
|
9
|
+
roomBlock: LinkableDefinition;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=linkables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkables.d.ts","sourceRoot":"","sources":["../src/linkables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAE7D;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,kBAK/B,CAAA;AAED,eAAO,MAAM,sBAAsB;;CAElC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Room blocks are the accommodations module's first linkable surface - a
|
|
3
|
+
* standard, package-owned allotment primitive that any deployment can use
|
|
4
|
+
* (the MICE spine merely links to it). See RFC voyant#1489.
|
|
5
|
+
*/
|
|
6
|
+
export const roomBlockLinkable = {
|
|
7
|
+
module: "accommodations",
|
|
8
|
+
entity: "roomBlock",
|
|
9
|
+
table: "room_blocks",
|
|
10
|
+
idPrefix: "hrbl",
|
|
11
|
+
};
|
|
12
|
+
export const accommodationsLinkable = {
|
|
13
|
+
roomBlock: roomBlockLinkable,
|
|
14
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/accommodations",
|
|
3
|
-
"version": "0.108.
|
|
3
|
+
"version": "0.108.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
"import": "./dist/schema.js",
|
|
15
15
|
"default": "./dist/schema.js"
|
|
16
16
|
},
|
|
17
|
+
"./linkables": {
|
|
18
|
+
"types": "./dist/linkables.d.ts",
|
|
19
|
+
"import": "./dist/linkables.js",
|
|
20
|
+
"default": "./dist/linkables.js"
|
|
21
|
+
},
|
|
17
22
|
"./content-shape": {
|
|
18
23
|
"types": "./dist/content-shape.d.ts",
|
|
19
24
|
"import": "./dist/content-shape.js",
|
|
@@ -61,12 +66,12 @@
|
|
|
61
66
|
"zod": "^4.3.6",
|
|
62
67
|
"@voyant-travel/accommodations-contracts": "^0.105.3",
|
|
63
68
|
"@voyant-travel/allotments": "^0.2.0",
|
|
64
|
-
"@voyant-travel/bookings": "^0.
|
|
65
|
-
"@voyant-travel/catalog": "^0.
|
|
69
|
+
"@voyant-travel/bookings": "^0.137.0",
|
|
70
|
+
"@voyant-travel/catalog": "^0.135.0",
|
|
66
71
|
"@voyant-travel/core": "^0.111.0",
|
|
67
|
-
"@voyant-travel/db": "^0.109.
|
|
68
|
-
"@voyant-travel/hono": "^0.
|
|
69
|
-
"@voyant-travel/operations": "^0.5.
|
|
72
|
+
"@voyant-travel/db": "^0.109.4",
|
|
73
|
+
"@voyant-travel/hono": "^0.117.0",
|
|
74
|
+
"@voyant-travel/operations": "^0.5.2"
|
|
70
75
|
},
|
|
71
76
|
"devDependencies": {
|
|
72
77
|
"drizzle-kit": "^0.31.10",
|