@voyantjs/products 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-core.js +1 -1
- package/dist/schema-itinerary.js +2 -2
- package/dist/schema-relations.js +4 -4
- package/dist/schema-settings.js +2 -2
- package/dist/schema-taxonomy.js +1 -1
- package/dist/schema.d.ts +8 -8
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +8 -8
- package/package.json +7 -7
package/dist/schema-core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { boolean, date, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
3
|
-
import { optionUnitTypeEnum, productBookingModeEnum, productCapacityModeEnum, productOptionStatusEnum, productStatusEnum, productVisibilityEnum, } from "./schema-shared";
|
|
3
|
+
import { optionUnitTypeEnum, productBookingModeEnum, productCapacityModeEnum, productOptionStatusEnum, productStatusEnum, productVisibilityEnum, } from "./schema-shared.js";
|
|
4
4
|
export const products = pgTable("products", {
|
|
5
5
|
id: typeId("products"),
|
|
6
6
|
name: text("name").notNull(),
|
package/dist/schema-itinerary.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, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
4
|
-
import { products } from "./schema-core";
|
|
5
|
-
import { productMediaTypeEnum, serviceTypeEnum } from "./schema-shared";
|
|
4
|
+
import { products } from "./schema-core.js";
|
|
5
|
+
import { productMediaTypeEnum, serviceTypeEnum } from "./schema-shared.js";
|
|
6
6
|
export const productItineraries = pgTable("product_itineraries", {
|
|
7
7
|
id: typeId("product_itineraries"),
|
|
8
8
|
productId: typeIdRef("product_id")
|
package/dist/schema-relations.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { relations } from "drizzle-orm";
|
|
2
|
-
import { optionUnits, productOptions, products } from "./schema-core";
|
|
3
|
-
import { productDayServices, productDays, productItineraries, productMedia, productNotes, productVersions, } from "./schema-itinerary";
|
|
4
|
-
import { optionUnitTranslations, productActivationSettings, productCapabilities, productDeliveryFormats, productFaqs, productFeatures, productLocations, productOptionTranslations, productTicketSettings, productTranslations, productVisibilitySettings, } from "./schema-settings";
|
|
5
|
-
import { destinations, destinationTranslations, productCategories, productCategoryProducts, productDestinations, productTagProducts, productTags, productTypes, } from "./schema-taxonomy";
|
|
2
|
+
import { optionUnits, productOptions, products } from "./schema-core.js";
|
|
3
|
+
import { productDayServices, productDays, productItineraries, productMedia, productNotes, productVersions, } from "./schema-itinerary.js";
|
|
4
|
+
import { optionUnitTranslations, productActivationSettings, productCapabilities, productDeliveryFormats, productFaqs, productFeatures, productLocations, productOptionTranslations, productTicketSettings, productTranslations, productVisibilitySettings, } from "./schema-settings.js";
|
|
5
|
+
import { destinations, destinationTranslations, productCategories, productCategoryProducts, productDestinations, productTagProducts, productTags, productTypes, } from "./schema-taxonomy.js";
|
|
6
6
|
export const productsRelations = relations(products, ({ one, many }) => ({
|
|
7
7
|
productType: one(productTypes, {
|
|
8
8
|
fields: [products.productTypeId],
|
package/dist/schema-settings.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { boolean, doublePrecision, index, integer, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
3
|
-
import { optionUnits, productOptions, products } from "./schema-core";
|
|
4
|
-
import { productActivationModeEnum, productCapabilityEnum, productDeliveryFormatEnum, productFeatureTypeEnum, productLocationTypeEnum, productTicketFulfillmentEnum, } from "./schema-shared";
|
|
3
|
+
import { optionUnits, productOptions, products } from "./schema-core.js";
|
|
4
|
+
import { productActivationModeEnum, productCapabilityEnum, productDeliveryFormatEnum, productFeatureTypeEnum, productLocationTypeEnum, productTicketFulfillmentEnum, } from "./schema-shared.js";
|
|
5
5
|
export const productActivationSettings = pgTable("product_activation_settings", {
|
|
6
6
|
id: typeId("product_activation_settings"),
|
|
7
7
|
productId: typeIdRef("product_id")
|
package/dist/schema-taxonomy.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { boolean, index, integer, jsonb, pgTable, primaryKey, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
3
|
-
import { products } from "./schema-core";
|
|
3
|
+
import { products } from "./schema-core.js";
|
|
4
4
|
export const productTypes = pgTable("product_types", {
|
|
5
5
|
id: typeId("product_types"),
|
|
6
6
|
name: text("name").notNull(),
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { bookingItemProductDetails, bookingProductDetails } from "./booking-extension";
|
|
2
|
-
export * from "./schema-core";
|
|
3
|
-
export * from "./schema-itinerary";
|
|
4
|
-
export * from "./schema-relations";
|
|
5
|
-
export * from "./schema-settings";
|
|
6
|
-
export * from "./schema-shared";
|
|
7
|
-
export { type InsertProductsSourcedContent, PRODUCTS_CONTENT_MARKET_ANY, type ProductsSourcedContentFetchStatus, productsSourcedContentTable, type SelectProductsSourcedContent, } from "./schema-sourced-content";
|
|
8
|
-
export * from "./schema-taxonomy";
|
|
1
|
+
export { bookingItemProductDetails, bookingProductDetails } from "./booking-extension.js";
|
|
2
|
+
export * from "./schema-core.js";
|
|
3
|
+
export * from "./schema-itinerary.js";
|
|
4
|
+
export * from "./schema-relations.js";
|
|
5
|
+
export * from "./schema-settings.js";
|
|
6
|
+
export * from "./schema-shared.js";
|
|
7
|
+
export { type InsertProductsSourcedContent, PRODUCTS_CONTENT_MARKET_ANY, type ProductsSourcedContentFetchStatus, productsSourcedContentTable, type SelectProductsSourcedContent, } from "./schema-sourced-content.js";
|
|
8
|
+
export * from "./schema-taxonomy.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,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AACzF,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,OAAO,EACL,KAAK,4BAA4B,EACjC,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,2BAA2B,EAC3B,KAAK,4BAA4B,GAClC,MAAM,6BAA6B,CAAA;AACpC,cAAc,sBAAsB,CAAA"}
|
package/dist/schema.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { bookingItemProductDetails, bookingProductDetails } from "./booking-extension";
|
|
2
|
-
export * from "./schema-core";
|
|
3
|
-
export * from "./schema-itinerary";
|
|
4
|
-
export * from "./schema-relations";
|
|
5
|
-
export * from "./schema-settings";
|
|
6
|
-
export * from "./schema-shared";
|
|
7
|
-
export { PRODUCTS_CONTENT_MARKET_ANY, productsSourcedContentTable, } from "./schema-sourced-content";
|
|
8
|
-
export * from "./schema-taxonomy";
|
|
1
|
+
export { bookingItemProductDetails, bookingProductDetails } from "./booking-extension.js";
|
|
2
|
+
export * from "./schema-core.js";
|
|
3
|
+
export * from "./schema-itinerary.js";
|
|
4
|
+
export * from "./schema-relations.js";
|
|
5
|
+
export * from "./schema-settings.js";
|
|
6
|
+
export * from "./schema-shared.js";
|
|
7
|
+
export { PRODUCTS_CONTENT_MARKET_ANY, productsSourcedContentTable, } from "./schema-sourced-content.js";
|
|
8
|
+
export * from "./schema-taxonomy.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/products",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"hono": "^4.12.10",
|
|
56
56
|
"pdf-lib": "^1.17.1",
|
|
57
57
|
"zod": "^4.3.6",
|
|
58
|
-
"@voyantjs/core": "0.26.
|
|
59
|
-
"@voyantjs/db": "0.26.
|
|
60
|
-
"@voyantjs/hono": "0.26.
|
|
61
|
-
"@voyantjs/utils": "0.26.
|
|
62
|
-
"@voyantjs/catalog": "0.26.
|
|
63
|
-
"@voyantjs/storage": "0.26.
|
|
58
|
+
"@voyantjs/core": "0.26.2",
|
|
59
|
+
"@voyantjs/db": "0.26.2",
|
|
60
|
+
"@voyantjs/hono": "0.26.2",
|
|
61
|
+
"@voyantjs/utils": "0.26.2",
|
|
62
|
+
"@voyantjs/catalog": "0.26.2",
|
|
63
|
+
"@voyantjs/storage": "0.26.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"typescript": "^6.0.2",
|