@voyantjs/hospitality 0.26.0 → 0.26.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/dist/schema-bookings.js +2 -2
- package/dist/schema-inventory.js +1 -1
- package/dist/schema-operations.js +3 -3
- package/dist/schema-pricing.js +1 -1
- package/dist/schema-relations.js +4 -4
- package/dist/schema.d.ts +7 -7
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +7 -7
- package/package.json +8 -8
package/dist/schema-bookings.js
CHANGED
|
@@ -2,8 +2,8 @@ import { bookingItems } from "@voyantjs/bookings/schema";
|
|
|
2
2
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
3
3
|
import { properties } from "@voyantjs/facilities/schema";
|
|
4
4
|
import { date, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
5
|
-
import { mealPlans, ratePlans, roomTypes, roomUnits } from "./schema-inventory";
|
|
6
|
-
import { hospitalityHousekeepingTaskStatusEnum, hospitalityMaintenanceBlockStatusEnum, hospitalityRoomBlockStatusEnum, stayBookingItemStatusEnum, } from "./schema-shared";
|
|
5
|
+
import { mealPlans, ratePlans, roomTypes, roomUnits } from "./schema-inventory.js";
|
|
6
|
+
import { hospitalityHousekeepingTaskStatusEnum, hospitalityMaintenanceBlockStatusEnum, hospitalityRoomBlockStatusEnum, stayBookingItemStatusEnum, } from "./schema-shared.js";
|
|
7
7
|
export const stayBookingItems = pgTable("stay_booking_items", {
|
|
8
8
|
id: typeId("stay_booking_items"),
|
|
9
9
|
bookingItemId: typeIdRef("booking_item_id")
|
package/dist/schema-inventory.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { properties } from "@voyantjs/facilities/schema";
|
|
3
3
|
import { boolean, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
4
|
-
import { hospitalityGuaranteeModeEnum, hospitalityInventoryModeEnum, ratePlanChargeFrequencyEnum, roomUnitStatusEnum, } from "./schema-shared";
|
|
4
|
+
import { hospitalityGuaranteeModeEnum, hospitalityInventoryModeEnum, ratePlanChargeFrequencyEnum, roomUnitStatusEnum, } from "./schema-shared.js";
|
|
5
5
|
export const roomTypes = pgTable("room_types", {
|
|
6
6
|
id: typeId("room_types"),
|
|
7
7
|
propertyId: typeIdRef("property_id")
|
|
@@ -2,9 +2,9 @@ import { bookingItems } from "@voyantjs/bookings/schema";
|
|
|
2
2
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
3
3
|
import { properties } from "@voyantjs/facilities/schema";
|
|
4
4
|
import { date, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
5
|
-
import { stayBookingItems } from "./schema-bookings";
|
|
6
|
-
import { roomUnits } from "./schema-inventory";
|
|
7
|
-
import { stayCheckpointTypeEnum, stayFolioStatusEnum, stayOperationStatusEnum, stayServicePostKindEnum, } from "./schema-shared";
|
|
5
|
+
import { stayBookingItems } from "./schema-bookings.js";
|
|
6
|
+
import { roomUnits } from "./schema-inventory.js";
|
|
7
|
+
import { stayCheckpointTypeEnum, stayFolioStatusEnum, stayOperationStatusEnum, stayServicePostKindEnum, } from "./schema-shared.js";
|
|
8
8
|
export const stayOperations = pgTable("stay_operations", {
|
|
9
9
|
id: typeId("stay_operations"),
|
|
10
10
|
stayBookingItemId: typeIdRef("stay_booking_item_id")
|
package/dist/schema-pricing.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { properties } from "@voyantjs/facilities/schema";
|
|
3
3
|
import { boolean, char, date, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
4
|
-
import { ratePlans, roomTypes } from "./schema-inventory";
|
|
4
|
+
import { ratePlans, roomTypes } from "./schema-inventory.js";
|
|
5
5
|
export const stayRules = pgTable("stay_rules", {
|
|
6
6
|
id: typeId("stay_rules"),
|
|
7
7
|
propertyId: typeIdRef("property_id")
|
package/dist/schema-relations.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { bookingItems } from "@voyantjs/bookings/schema";
|
|
2
2
|
import { properties } from "@voyantjs/facilities/schema";
|
|
3
3
|
import { relations } from "drizzle-orm";
|
|
4
|
-
import { housekeepingTasks, maintenanceBlocks, roomBlocks, roomUnitStatusEvents, stayBookingItems, stayDailyRates, } from "./schema-bookings";
|
|
5
|
-
import { mealPlans, ratePlanRoomTypes, ratePlans, roomTypeBedConfigs, roomTypes, roomUnits, } from "./schema-inventory";
|
|
6
|
-
import { stayCheckpoints, stayFolioLines, stayFolios, stayOperations, stayServicePosts, } from "./schema-operations";
|
|
7
|
-
import { ratePlanInventoryOverrides, roomInventory, roomTypeRates, stayRules, } from "./schema-pricing";
|
|
4
|
+
import { housekeepingTasks, maintenanceBlocks, roomBlocks, roomUnitStatusEvents, stayBookingItems, stayDailyRates, } from "./schema-bookings.js";
|
|
5
|
+
import { mealPlans, ratePlanRoomTypes, ratePlans, roomTypeBedConfigs, roomTypes, roomUnits, } from "./schema-inventory.js";
|
|
6
|
+
import { stayCheckpoints, stayFolioLines, stayFolios, stayOperations, stayServicePosts, } from "./schema-operations.js";
|
|
7
|
+
import { ratePlanInventoryOverrides, roomInventory, roomTypeRates, stayRules, } from "./schema-pricing.js";
|
|
8
8
|
export const roomTypesRelations = relations(roomTypes, ({ one, many }) => ({
|
|
9
9
|
property: one(properties, { fields: [roomTypes.propertyId], references: [properties.id] }),
|
|
10
10
|
bedConfigs: many(roomTypeBedConfigs),
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./schema-bookings";
|
|
2
|
-
export * from "./schema-inventory";
|
|
3
|
-
export * from "./schema-operations";
|
|
4
|
-
export * from "./schema-pricing";
|
|
5
|
-
export * from "./schema-relations";
|
|
6
|
-
export * from "./schema-shared";
|
|
7
|
-
export { HOSPITALITY_CONTENT_MARKET_ANY, type HospitalitySourcedContentFetchStatus, hospitalitySourcedContentTable, type InsertHospitalitySourcedContent, type SelectHospitalitySourcedContent, } from "./schema-sourced-content";
|
|
1
|
+
export * from "./schema-bookings.js";
|
|
2
|
+
export * from "./schema-inventory.js";
|
|
3
|
+
export * from "./schema-operations.js";
|
|
4
|
+
export * from "./schema-pricing.js";
|
|
5
|
+
export * from "./schema-relations.js";
|
|
6
|
+
export * from "./schema-shared.js";
|
|
7
|
+
export { HOSPITALITY_CONTENT_MARKET_ANY, type HospitalitySourcedContentFetchStatus, hospitalitySourcedContentTable, type InsertHospitalitySourcedContent, type SelectHospitalitySourcedContent, } from "./schema-sourced-content.js";
|
|
8
8
|
//# sourceMappingURL=schema.d.ts.map
|
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,OAAO,EACL,8BAA8B,EAC9B,KAAK,oCAAoC,EACzC,8BAA8B,EAC9B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,GACrC,MAAM,6BAA6B,CAAA"}
|
package/dist/schema.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./schema-bookings";
|
|
2
|
-
export * from "./schema-inventory";
|
|
3
|
-
export * from "./schema-operations";
|
|
4
|
-
export * from "./schema-pricing";
|
|
5
|
-
export * from "./schema-relations";
|
|
6
|
-
export * from "./schema-shared";
|
|
7
|
-
export { HOSPITALITY_CONTENT_MARKET_ANY, hospitalitySourcedContentTable, } from "./schema-sourced-content";
|
|
1
|
+
export * from "./schema-bookings.js";
|
|
2
|
+
export * from "./schema-inventory.js";
|
|
3
|
+
export * from "./schema-operations.js";
|
|
4
|
+
export * from "./schema-pricing.js";
|
|
5
|
+
export * from "./schema-relations.js";
|
|
6
|
+
export * from "./schema-shared.js";
|
|
7
|
+
export { HOSPITALITY_CONTENT_MARKET_ANY, hospitalitySourcedContentTable, } from "./schema-sourced-content.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/hospitality",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"drizzle-orm": "^0.45.2",
|
|
40
40
|
"hono": "^4.12.10",
|
|
41
41
|
"zod": "^4.3.6",
|
|
42
|
-
"@voyantjs/bookings": "0.26.
|
|
43
|
-
"@voyantjs/core": "0.26.
|
|
44
|
-
"@voyantjs/db": "0.26.
|
|
45
|
-
"@voyantjs/facilities": "0.26.
|
|
46
|
-
"@voyantjs/hono": "0.26.
|
|
47
|
-
"@voyantjs/catalog": "0.26.
|
|
42
|
+
"@voyantjs/bookings": "0.26.1",
|
|
43
|
+
"@voyantjs/core": "0.26.1",
|
|
44
|
+
"@voyantjs/db": "0.26.1",
|
|
45
|
+
"@voyantjs/facilities": "0.26.1",
|
|
46
|
+
"@voyantjs/hono": "0.26.1",
|
|
47
|
+
"@voyantjs/catalog": "0.26.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"typescript": "^6.0.2",
|
|
51
|
-
"@voyantjs/pricing": "0.26.
|
|
51
|
+
"@voyantjs/pricing": "0.26.1",
|
|
52
52
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
53
53
|
},
|
|
54
54
|
"files": [
|