@voyantjs/distribution 0.26.0 → 0.26.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/schema-automation.js +3 -3
- package/dist/schema-core.js +1 -1
- package/dist/schema-finance.js +2 -2
- package/dist/schema-inventory.js +2 -2
- package/dist/schema-push-intents.js +1 -1
- 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 +11 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { boolean, index, integer, jsonb, pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
|
3
|
-
import { channelContracts, channels } from "./schema-core";
|
|
4
|
-
import { channelInventoryReleaseRules } from "./schema-inventory";
|
|
5
|
-
import { channelReconciliationPolicyFrequencyEnum, channelReleaseScheduleKindEnum, channelSettlementPolicyFrequencyEnum, } from "./schema-shared";
|
|
3
|
+
import { channelContracts, channels } from "./schema-core.js";
|
|
4
|
+
import { channelInventoryReleaseRules } from "./schema-inventory.js";
|
|
5
|
+
import { channelReconciliationPolicyFrequencyEnum, channelReleaseScheduleKindEnum, channelSettlementPolicyFrequencyEnum, } from "./schema-shared.js";
|
|
6
6
|
export const channelSettlementPolicies = pgTable("channel_settlement_policies", {
|
|
7
7
|
id: typeId("channel_settlement_policies"),
|
|
8
8
|
channelId: typeIdRef("channel_id")
|
package/dist/schema-core.js
CHANGED
|
@@ -3,7 +3,7 @@ import { products } from "@voyantjs/products/schema";
|
|
|
3
3
|
import { suppliers } from "@voyantjs/suppliers/schema";
|
|
4
4
|
import { sql } from "drizzle-orm";
|
|
5
5
|
import { boolean, date, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
6
|
-
import { channelCommissionScopeEnum, channelCommissionTypeEnum, channelContractStatusEnum, channelKindEnum, channelStatusEnum, channelWebhookStatusEnum, distributionCancellationOwnerEnum, distributionPaymentOwnerEnum, } from "./schema-shared";
|
|
6
|
+
import { channelCommissionScopeEnum, channelCommissionTypeEnum, channelContractStatusEnum, channelKindEnum, channelStatusEnum, channelWebhookStatusEnum, distributionCancellationOwnerEnum, distributionPaymentOwnerEnum, } from "./schema-shared.js";
|
|
7
7
|
export const channels = pgTable("channels", {
|
|
8
8
|
id: typeId("channels"),
|
|
9
9
|
name: text("name").notNull(),
|
package/dist/schema-finance.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { date, index, integer, jsonb, pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
|
3
|
-
import { channelBookingLinks, channelCommissionRules, channelContracts, channels, } from "./schema-core";
|
|
4
|
-
import { channelReconciliationIssueTypeEnum, channelReconciliationResolutionStatusEnum, channelReconciliationRunStatusEnum, channelReconciliationSeverityEnum, channelRemittanceExceptionStatusEnum, channelSettlementApprovalStatusEnum, channelSettlementItemStatusEnum, channelSettlementRunStatusEnum, } from "./schema-shared";
|
|
3
|
+
import { channelBookingLinks, channelCommissionRules, channelContracts, channels, } from "./schema-core.js";
|
|
4
|
+
import { channelReconciliationIssueTypeEnum, channelReconciliationResolutionStatusEnum, channelReconciliationRunStatusEnum, channelReconciliationSeverityEnum, channelRemittanceExceptionStatusEnum, channelSettlementApprovalStatusEnum, channelSettlementItemStatusEnum, channelSettlementRunStatusEnum, } from "./schema-shared.js";
|
|
5
5
|
export const channelSettlementRuns = pgTable("channel_settlement_runs", {
|
|
6
6
|
id: typeId("channel_settlement_runs"),
|
|
7
7
|
channelId: typeIdRef("channel_id")
|
package/dist/schema-inventory.js
CHANGED
|
@@ -2,8 +2,8 @@ import { availabilitySlots, availabilityStartTimes } from "@voyantjs/availabilit
|
|
|
2
2
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
3
3
|
import { productOptions, products } from "@voyantjs/products/schema";
|
|
4
4
|
import { boolean, date, index, integer, jsonb, pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
|
5
|
-
import { channelContracts, channels } from "./schema-core";
|
|
6
|
-
import { channelAllotmentReleaseModeEnum, channelAllotmentUnsoldActionEnum, channelReleaseExecutionActionEnum, channelReleaseExecutionStatusEnum, } from "./schema-shared";
|
|
5
|
+
import { channelContracts, channels } from "./schema-core.js";
|
|
6
|
+
import { channelAllotmentReleaseModeEnum, channelAllotmentUnsoldActionEnum, channelReleaseExecutionActionEnum, channelReleaseExecutionStatusEnum, } from "./schema-shared.js";
|
|
7
7
|
export const channelInventoryAllotments = pgTable("channel_inventory_allotments", {
|
|
8
8
|
id: typeId("channel_inventory_allotments"),
|
|
9
9
|
channelId: typeIdRef("channel_id")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { index, integer, pgTable, text, timestamp, uniqueIndex } from "drizzle-orm/pg-core";
|
|
3
|
-
import { channels } from "./schema-core";
|
|
3
|
+
import { channels } from "./schema-core.js";
|
|
4
4
|
/**
|
|
5
5
|
* Durable handoff rows for the channel-push availability and content
|
|
6
6
|
* flows. Subscribers INSERT into these tables (returning immediately
|
package/dist/schema-relations.js
CHANGED
|
@@ -2,10 +2,10 @@ import { availabilitySlots, availabilityStartTimes } from "@voyantjs/availabilit
|
|
|
2
2
|
import { productOptions, products } from "@voyantjs/products/schema";
|
|
3
3
|
import { suppliers } from "@voyantjs/suppliers/schema";
|
|
4
4
|
import { relations } from "drizzle-orm";
|
|
5
|
-
import { channelReconciliationPolicies, channelReleaseSchedules, channelSettlementPolicies, } from "./schema-automation";
|
|
6
|
-
import { channelBookingLinks, channelCommissionRules, channelContactProjections, channelContracts, channelProductMappings, channels, channelWebhookEvents, } from "./schema-core";
|
|
7
|
-
import { channelReconciliationItems, channelReconciliationRuns, channelRemittanceExceptions, channelSettlementApprovals, channelSettlementItems, channelSettlementRuns, } from "./schema-finance";
|
|
8
|
-
import { channelInventoryAllotments, channelInventoryAllotmentTargets, channelInventoryReleaseExecutions, channelInventoryReleaseRules, } from "./schema-inventory";
|
|
5
|
+
import { channelReconciliationPolicies, channelReleaseSchedules, channelSettlementPolicies, } from "./schema-automation.js";
|
|
6
|
+
import { channelBookingLinks, channelCommissionRules, channelContactProjections, channelContracts, channelProductMappings, channels, channelWebhookEvents, } from "./schema-core.js";
|
|
7
|
+
import { channelReconciliationItems, channelReconciliationRuns, channelRemittanceExceptions, channelSettlementApprovals, channelSettlementItems, channelSettlementRuns, } from "./schema-finance.js";
|
|
8
|
+
import { channelInventoryAllotments, channelInventoryAllotmentTargets, channelInventoryReleaseExecutions, channelInventoryReleaseRules, } from "./schema-inventory.js";
|
|
9
9
|
export const channelsRelations = relations(channels, ({ many, one }) => ({
|
|
10
10
|
contracts: many(channelContracts),
|
|
11
11
|
productMappings: many(channelProductMappings),
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { bookingDistributionDetails, bookingPaymentOwnerEnum } from "./booking-extension";
|
|
2
|
-
export * from "./schema-automation";
|
|
3
|
-
export * from "./schema-core";
|
|
4
|
-
export * from "./schema-finance";
|
|
5
|
-
export * from "./schema-inventory";
|
|
6
|
-
export * from "./schema-push-intents";
|
|
7
|
-
export * from "./schema-relations";
|
|
8
|
-
export * from "./schema-shared";
|
|
1
|
+
export { bookingDistributionDetails, bookingPaymentOwnerEnum } from "./booking-extension.js";
|
|
2
|
+
export * from "./schema-automation.js";
|
|
3
|
+
export * from "./schema-core.js";
|
|
4
|
+
export * from "./schema-finance.js";
|
|
5
|
+
export * from "./schema-inventory.js";
|
|
6
|
+
export * from "./schema-push-intents.js";
|
|
7
|
+
export * from "./schema-relations.js";
|
|
8
|
+
export * from "./schema-shared.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,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAC5F,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA"}
|
package/dist/schema.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { bookingDistributionDetails, bookingPaymentOwnerEnum } from "./booking-extension";
|
|
2
|
-
export * from "./schema-automation";
|
|
3
|
-
export * from "./schema-core";
|
|
4
|
-
export * from "./schema-finance";
|
|
5
|
-
export * from "./schema-inventory";
|
|
6
|
-
export * from "./schema-push-intents";
|
|
7
|
-
export * from "./schema-relations";
|
|
8
|
-
export * from "./schema-shared";
|
|
1
|
+
export { bookingDistributionDetails, bookingPaymentOwnerEnum } from "./booking-extension.js";
|
|
2
|
+
export * from "./schema-automation.js";
|
|
3
|
+
export * from "./schema-core.js";
|
|
4
|
+
export * from "./schema-finance.js";
|
|
5
|
+
export * from "./schema-inventory.js";
|
|
6
|
+
export * from "./schema-push-intents.js";
|
|
7
|
+
export * from "./schema-relations.js";
|
|
8
|
+
export * from "./schema-shared.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/distribution",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2",
|
|
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/availability": "0.26.
|
|
43
|
-
"@voyantjs/bookings": "0.26.
|
|
44
|
-
"@voyantjs/catalog": "0.26.
|
|
45
|
-
"@voyantjs/core": "0.26.
|
|
46
|
-
"@voyantjs/db": "0.26.
|
|
47
|
-
"@voyantjs/hono": "0.26.
|
|
48
|
-
"@voyantjs/identity": "0.26.
|
|
49
|
-
"@voyantjs/products": "0.26.
|
|
50
|
-
"@voyantjs/suppliers": "0.26.
|
|
51
|
-
"@voyantjs/workflows": "0.26.
|
|
42
|
+
"@voyantjs/availability": "0.26.2",
|
|
43
|
+
"@voyantjs/bookings": "0.26.2",
|
|
44
|
+
"@voyantjs/catalog": "0.26.2",
|
|
45
|
+
"@voyantjs/core": "0.26.2",
|
|
46
|
+
"@voyantjs/db": "0.26.2",
|
|
47
|
+
"@voyantjs/hono": "0.26.2",
|
|
48
|
+
"@voyantjs/identity": "0.26.2",
|
|
49
|
+
"@voyantjs/products": "0.26.2",
|
|
50
|
+
"@voyantjs/suppliers": "0.26.2",
|
|
51
|
+
"@voyantjs/workflows": "0.26.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "^6.0.2",
|