@voyantjs/transactions 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-audit.js +1 -1
- package/dist/schema-offers.js +1 -1
- package/dist/schema-orders.js +2 -2
- package/dist/schema-relations.js +4 -4
- package/dist/schema.d.ts +8 -8
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +8 -8
- package/package.json +5 -5
package/dist/schema-audit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { typeId } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { index, jsonb, pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
|
3
|
-
import { transactionPiiAccessActionEnum, transactionPiiAccessOutcomeEnum } from "./schema-shared";
|
|
3
|
+
import { transactionPiiAccessActionEnum, transactionPiiAccessOutcomeEnum } from "./schema-shared.js";
|
|
4
4
|
export const transactionPiiAccessLog = pgTable("transaction_pii_access_log", {
|
|
5
5
|
id: typeId("transaction_pii_access_log"),
|
|
6
6
|
travelerKind: text("traveler_kind").notNull(),
|
package/dist/schema-offers.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { sql } from "drizzle-orm";
|
|
3
3
|
import { boolean, check, date, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
4
|
-
import { offerStatusEnum, transactionItemParticipantRoleEnum, transactionItemStatusEnum, transactionItemTypeEnum, transactionParticipantTypeEnum, transactionTravelerCategoryEnum, } from "./schema-shared";
|
|
4
|
+
import { offerStatusEnum, transactionItemParticipantRoleEnum, transactionItemStatusEnum, transactionItemTypeEnum, transactionParticipantTypeEnum, transactionTravelerCategoryEnum, } from "./schema-shared.js";
|
|
5
5
|
export const offers = pgTable("offers", {
|
|
6
6
|
id: typeId("offers"),
|
|
7
7
|
offerNumber: text("offer_number").notNull().unique(),
|
package/dist/schema-orders.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { sql } from "drizzle-orm";
|
|
3
3
|
import { boolean, check, date, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
4
|
-
import { offerItems, offers } from "./schema-offers";
|
|
5
|
-
import { orderStatusEnum, orderTermAcceptanceStatusEnum, orderTermTypeEnum, transactionItemParticipantRoleEnum, transactionItemStatusEnum, transactionItemTypeEnum, transactionParticipantTypeEnum, transactionTravelerCategoryEnum, } from "./schema-shared";
|
|
4
|
+
import { offerItems, offers } from "./schema-offers.js";
|
|
5
|
+
import { orderStatusEnum, orderTermAcceptanceStatusEnum, orderTermTypeEnum, transactionItemParticipantRoleEnum, transactionItemStatusEnum, transactionItemTypeEnum, transactionParticipantTypeEnum, transactionTravelerCategoryEnum, } from "./schema-shared.js";
|
|
6
6
|
export const orders = pgTable("orders", {
|
|
7
7
|
id: typeId("orders"),
|
|
8
8
|
orderNumber: text("order_number").notNull().unique(),
|
package/dist/schema-relations.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { relations } from "drizzle-orm";
|
|
2
|
-
import { offerContactAssignments, orderContactAssignments } from "./schema-contacts";
|
|
3
|
-
import { offerItemParticipants, offerItems, offerParticipants, offers } from "./schema-offers";
|
|
4
|
-
import { orderItemParticipants, orderItems, orderParticipants, orders, orderTerms, } from "./schema-orders";
|
|
5
|
-
import { offerStaffAssignments, orderStaffAssignments } from "./schema-staff";
|
|
2
|
+
import { offerContactAssignments, orderContactAssignments } from "./schema-contacts.js";
|
|
3
|
+
import { offerItemParticipants, offerItems, offerParticipants, offers } from "./schema-offers.js";
|
|
4
|
+
import { orderItemParticipants, orderItems, orderParticipants, orders, orderTerms, } from "./schema-orders.js";
|
|
5
|
+
import { offerStaffAssignments, orderStaffAssignments } from "./schema-staff.js";
|
|
6
6
|
export const offersRelations = relations(offers, ({ many }) => ({
|
|
7
7
|
participants: many(offerParticipants),
|
|
8
8
|
contactAssignments: many(offerContactAssignments),
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { bookingTransactionDetails } from "./booking-extension";
|
|
2
|
-
export * from "./schema-audit";
|
|
3
|
-
export * from "./schema-contacts";
|
|
4
|
-
export * from "./schema-offers";
|
|
5
|
-
export * from "./schema-orders";
|
|
6
|
-
export * from "./schema-relations";
|
|
7
|
-
export * from "./schema-shared";
|
|
8
|
-
export * from "./schema-staff";
|
|
1
|
+
export { bookingTransactionDetails } from "./booking-extension.js";
|
|
2
|
+
export * from "./schema-audit.js";
|
|
3
|
+
export * from "./schema-contacts.js";
|
|
4
|
+
export * from "./schema-offers.js";
|
|
5
|
+
export * from "./schema-orders.js";
|
|
6
|
+
export * from "./schema-relations.js";
|
|
7
|
+
export * from "./schema-shared.js";
|
|
8
|
+
export * from "./schema-staff.js";
|
|
9
9
|
//# 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,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AAClE,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA"}
|
package/dist/schema.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { bookingTransactionDetails } from "./booking-extension";
|
|
2
|
-
export * from "./schema-audit";
|
|
3
|
-
export * from "./schema-contacts";
|
|
4
|
-
export * from "./schema-offers";
|
|
5
|
-
export * from "./schema-orders";
|
|
6
|
-
export * from "./schema-relations";
|
|
7
|
-
export * from "./schema-shared";
|
|
8
|
-
export * from "./schema-staff";
|
|
1
|
+
export { bookingTransactionDetails } from "./booking-extension.js";
|
|
2
|
+
export * from "./schema-audit.js";
|
|
3
|
+
export * from "./schema-contacts.js";
|
|
4
|
+
export * from "./schema-offers.js";
|
|
5
|
+
export * from "./schema-orders.js";
|
|
6
|
+
export * from "./schema-relations.js";
|
|
7
|
+
export * from "./schema-shared.js";
|
|
8
|
+
export * from "./schema-staff.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/transactions",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"drizzle-orm": "^0.45.2",
|
|
35
35
|
"hono": "^4.12.10",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
|
-
"@voyantjs/core": "0.26.
|
|
38
|
-
"@voyantjs/db": "0.26.
|
|
39
|
-
"@voyantjs/hono": "0.26.
|
|
40
|
-
"@voyantjs/utils": "0.26.
|
|
37
|
+
"@voyantjs/core": "0.26.1",
|
|
38
|
+
"@voyantjs/db": "0.26.1",
|
|
39
|
+
"@voyantjs/hono": "0.26.1",
|
|
40
|
+
"@voyantjs/utils": "0.26.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"typescript": "^6.0.2",
|