@voyant-travel/inventory 0.1.0

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.
Files changed (311) hide show
  1. package/LICENSE +201 -0
  2. package/dist/action-ledger-drift.d.ts +29 -0
  3. package/dist/action-ledger-drift.d.ts.map +1 -0
  4. package/dist/action-ledger-drift.js +338 -0
  5. package/dist/action-ledger.d.ts +104 -0
  6. package/dist/action-ledger.d.ts.map +1 -0
  7. package/dist/action-ledger.js +100 -0
  8. package/dist/authoring/builder.d.ts +37 -0
  9. package/dist/authoring/builder.d.ts.map +1 -0
  10. package/dist/authoring/builder.js +248 -0
  11. package/dist/authoring/clone-content.d.ts +38 -0
  12. package/dist/authoring/clone-content.d.ts.map +1 -0
  13. package/dist/authoring/clone-content.js +367 -0
  14. package/dist/authoring/clone-pricing.d.ts +9 -0
  15. package/dist/authoring/clone-pricing.d.ts.map +1 -0
  16. package/dist/authoring/clone-pricing.js +242 -0
  17. package/dist/authoring/clone.d.ts +45 -0
  18. package/dist/authoring/clone.d.ts.map +1 -0
  19. package/dist/authoring/clone.js +142 -0
  20. package/dist/authoring/errors.d.ts +21 -0
  21. package/dist/authoring/errors.d.ts.map +1 -0
  22. package/dist/authoring/errors.js +13 -0
  23. package/dist/authoring/extension.d.ts +248 -0
  24. package/dist/authoring/extension.d.ts.map +1 -0
  25. package/dist/authoring/extension.js +116 -0
  26. package/dist/authoring/index.d.ts +12 -0
  27. package/dist/authoring/index.d.ts.map +1 -0
  28. package/dist/authoring/index.js +11 -0
  29. package/dist/authoring/schema.d.ts +85 -0
  30. package/dist/authoring/schema.d.ts.map +1 -0
  31. package/dist/authoring/schema.js +16 -0
  32. package/dist/authoring/service.d.ts +28 -0
  33. package/dist/authoring/service.d.ts.map +1 -0
  34. package/dist/authoring/service.js +66 -0
  35. package/dist/authoring/spec.d.ts +524 -0
  36. package/dist/authoring/spec.d.ts.map +1 -0
  37. package/dist/authoring/spec.js +167 -0
  38. package/dist/authoring/validate.d.ts +17 -0
  39. package/dist/authoring/validate.d.ts.map +1 -0
  40. package/dist/authoring/validate.js +83 -0
  41. package/dist/authoring.d.ts +2 -0
  42. package/dist/authoring.d.ts.map +1 -0
  43. package/dist/authoring.js +1 -0
  44. package/dist/booking-engine/handler-support.d.ts +91 -0
  45. package/dist/booking-engine/handler-support.d.ts.map +1 -0
  46. package/dist/booking-engine/handler-support.js +355 -0
  47. package/dist/booking-engine/handler.d.ts +404 -0
  48. package/dist/booking-engine/handler.d.ts.map +1 -0
  49. package/dist/booking-engine/handler.js +398 -0
  50. package/dist/booking-engine/index.d.ts +8 -0
  51. package/dist/booking-engine/index.d.ts.map +1 -0
  52. package/dist/booking-engine/index.js +7 -0
  53. package/dist/booking-engine.d.ts +2 -0
  54. package/dist/booking-engine.d.ts.map +1 -0
  55. package/dist/booking-engine.js +1 -0
  56. package/dist/booking-extension.d.ts +278 -0
  57. package/dist/booking-extension.d.ts.map +1 -0
  58. package/dist/booking-extension.js +161 -0
  59. package/dist/catalog-policy-departures.d.ts +52 -0
  60. package/dist/catalog-policy-departures.d.ts.map +1 -0
  61. package/dist/catalog-policy-departures.js +169 -0
  62. package/dist/catalog-policy-destinations.d.ts +43 -0
  63. package/dist/catalog-policy-destinations.d.ts.map +1 -0
  64. package/dist/catalog-policy-destinations.js +165 -0
  65. package/dist/catalog-policy-pricing.d.ts +55 -0
  66. package/dist/catalog-policy-pricing.d.ts.map +1 -0
  67. package/dist/catalog-policy-pricing.js +109 -0
  68. package/dist/catalog-policy-promotions.d.ts +52 -0
  69. package/dist/catalog-policy-promotions.d.ts.map +1 -0
  70. package/dist/catalog-policy-promotions.js +270 -0
  71. package/dist/catalog-policy-taxonomy.d.ts +51 -0
  72. package/dist/catalog-policy-taxonomy.d.ts.map +1 -0
  73. package/dist/catalog-policy-taxonomy.js +191 -0
  74. package/dist/catalog-policy.d.ts +33 -0
  75. package/dist/catalog-policy.d.ts.map +1 -0
  76. package/dist/catalog-policy.js +733 -0
  77. package/dist/content-shape.d.ts +15 -0
  78. package/dist/content-shape.d.ts.map +1 -0
  79. package/dist/content-shape.js +28 -0
  80. package/dist/draft-shape.d.ts +43 -0
  81. package/dist/draft-shape.d.ts.map +1 -0
  82. package/dist/draft-shape.js +48 -0
  83. package/dist/events.d.ts +37 -0
  84. package/dist/events.d.ts.map +1 -0
  85. package/dist/events.js +32 -0
  86. package/dist/extras/catalog-policy.d.ts +30 -0
  87. package/dist/extras/catalog-policy.d.ts.map +1 -0
  88. package/dist/extras/catalog-policy.js +319 -0
  89. package/dist/extras/content-shape.d.ts +5 -0
  90. package/dist/extras/content-shape.d.ts.map +1 -0
  91. package/dist/extras/content-shape.js +13 -0
  92. package/dist/extras/draft-shape.d.ts +34 -0
  93. package/dist/extras/draft-shape.d.ts.map +1 -0
  94. package/dist/extras/draft-shape.js +69 -0
  95. package/dist/extras/routes.d.ts +380 -0
  96. package/dist/extras/routes.d.ts.map +1 -0
  97. package/dist/extras/routes.js +59 -0
  98. package/dist/extras/schema-sourced-content.d.ts +254 -0
  99. package/dist/extras/schema-sourced-content.d.ts.map +1 -0
  100. package/dist/extras/schema-sourced-content.js +45 -0
  101. package/dist/extras/schema.d.ts +628 -0
  102. package/dist/extras/schema.d.ts.map +1 -0
  103. package/dist/extras/schema.js +87 -0
  104. package/dist/extras/service-catalog-plane.d.ts +77 -0
  105. package/dist/extras/service-catalog-plane.d.ts.map +1 -0
  106. package/dist/extras/service-catalog-plane.js +219 -0
  107. package/dist/extras/service-content-synthesizer.d.ts +41 -0
  108. package/dist/extras/service-content-synthesizer.d.ts.map +1 -0
  109. package/dist/extras/service-content-synthesizer.js +138 -0
  110. package/dist/extras/service-content.d.ts +48 -0
  111. package/dist/extras/service-content.d.ts.map +1 -0
  112. package/dist/extras/service-content.js +253 -0
  113. package/dist/extras/service.d.ts +185 -0
  114. package/dist/extras/service.d.ts.map +1 -0
  115. package/dist/extras/service.js +96 -0
  116. package/dist/extras/validation.d.ts +437 -0
  117. package/dist/extras/validation.d.ts.map +1 -0
  118. package/dist/extras/validation.js +149 -0
  119. package/dist/extras.d.ts +267 -0
  120. package/dist/extras.d.ts.map +1 -0
  121. package/dist/extras.js +19 -0
  122. package/dist/index.d.ts +22 -0
  123. package/dist/index.d.ts.map +1 -0
  124. package/dist/index.js +32 -0
  125. package/dist/interface.d.ts +5869 -0
  126. package/dist/interface.d.ts.map +1 -0
  127. package/dist/interface.js +54 -0
  128. package/dist/public-routes.d.ts +2 -0
  129. package/dist/public-routes.d.ts.map +1 -0
  130. package/dist/public-routes.js +1 -0
  131. package/dist/public-validation.d.ts +2 -0
  132. package/dist/public-validation.d.ts.map +1 -0
  133. package/dist/public-validation.js +1 -0
  134. package/dist/read-model.d.ts +25 -0
  135. package/dist/read-model.d.ts.map +1 -0
  136. package/dist/read-model.js +99 -0
  137. package/dist/route-env.d.ts +22 -0
  138. package/dist/route-env.d.ts.map +1 -0
  139. package/dist/route-env.js +1 -0
  140. package/dist/routes-associations.d.ts +164 -0
  141. package/dist/routes-associations.d.ts.map +1 -0
  142. package/dist/routes-associations.js +100 -0
  143. package/dist/routes-catalog.d.ts +436 -0
  144. package/dist/routes-catalog.d.ts.map +1 -0
  145. package/dist/routes-catalog.js +104 -0
  146. package/dist/routes-configuration.d.ts +773 -0
  147. package/dist/routes-configuration.d.ts.map +1 -0
  148. package/dist/routes-configuration.js +364 -0
  149. package/dist/routes-content.d.ts +74 -0
  150. package/dist/routes-content.d.ts.map +1 -0
  151. package/dist/routes-content.js +117 -0
  152. package/dist/routes-core.d.ts +331 -0
  153. package/dist/routes-core.d.ts.map +1 -0
  154. package/dist/routes-core.js +95 -0
  155. package/dist/routes-itinerary.d.ts +759 -0
  156. package/dist/routes-itinerary.d.ts.map +1 -0
  157. package/dist/routes-itinerary.js +387 -0
  158. package/dist/routes-maintenance.d.ts +32 -0
  159. package/dist/routes-maintenance.d.ts.map +1 -0
  160. package/dist/routes-maintenance.js +14 -0
  161. package/dist/routes-media.d.ts +634 -0
  162. package/dist/routes-media.d.ts.map +1 -0
  163. package/dist/routes-media.js +245 -0
  164. package/dist/routes-merchandising.d.ts +1120 -0
  165. package/dist/routes-merchandising.d.ts.map +1 -0
  166. package/dist/routes-merchandising.js +377 -0
  167. package/dist/routes-options.d.ts +363 -0
  168. package/dist/routes-options.d.ts.map +1 -0
  169. package/dist/routes-options.js +173 -0
  170. package/dist/routes-public.d.ts +776 -0
  171. package/dist/routes-public.d.ts.map +1 -0
  172. package/dist/routes-public.js +119 -0
  173. package/dist/routes-translations.d.ts +489 -0
  174. package/dist/routes-translations.d.ts.map +1 -0
  175. package/dist/routes-translations.js +258 -0
  176. package/dist/routes.d.ts +5097 -0
  177. package/dist/routes.d.ts.map +1 -0
  178. package/dist/routes.js +64 -0
  179. package/dist/schema-core.d.ts +1238 -0
  180. package/dist/schema-core.d.ts.map +1 -0
  181. package/dist/schema-core.js +157 -0
  182. package/dist/schema-itinerary.d.ts +1169 -0
  183. package/dist/schema-itinerary.d.ts.map +1 -0
  184. package/dist/schema-itinerary.js +130 -0
  185. package/dist/schema-relations.d.ts +117 -0
  186. package/dist/schema-relations.d.ts.map +1 -0
  187. package/dist/schema-relations.js +192 -0
  188. package/dist/schema-settings.d.ts +1800 -0
  189. package/dist/schema-settings.d.ts.map +1 -0
  190. package/dist/schema-settings.js +220 -0
  191. package/dist/schema-shared.d.ts +15 -0
  192. package/dist/schema-shared.d.ts.map +1 -0
  193. package/dist/schema-shared.js +91 -0
  194. package/dist/schema-sourced-content.d.ts +262 -0
  195. package/dist/schema-sourced-content.d.ts.map +1 -0
  196. package/dist/schema-sourced-content.js +69 -0
  197. package/dist/schema-taxonomy.d.ts +1363 -0
  198. package/dist/schema-taxonomy.d.ts.map +1 -0
  199. package/dist/schema-taxonomy.js +203 -0
  200. package/dist/schema.d.ts +10 -0
  201. package/dist/schema.d.ts.map +1 -0
  202. package/dist/schema.js +9 -0
  203. package/dist/service-aggregates.d.ts +29 -0
  204. package/dist/service-aggregates.d.ts.map +1 -0
  205. package/dist/service-aggregates.js +56 -0
  206. package/dist/service-catalog-plane-destinations.d.ts +30 -0
  207. package/dist/service-catalog-plane-destinations.d.ts.map +1 -0
  208. package/dist/service-catalog-plane-destinations.js +143 -0
  209. package/dist/service-catalog-plane-taxonomy.d.ts +73 -0
  210. package/dist/service-catalog-plane-taxonomy.d.ts.map +1 -0
  211. package/dist/service-catalog-plane-taxonomy.js +242 -0
  212. package/dist/service-catalog-plane.d.ts +179 -0
  213. package/dist/service-catalog-plane.d.ts.map +1 -0
  214. package/dist/service-catalog-plane.js +431 -0
  215. package/dist/service-catalog.d.ts +251 -0
  216. package/dist/service-catalog.d.ts.map +1 -0
  217. package/dist/service-catalog.js +517 -0
  218. package/dist/service-configuration.d.ts +261 -0
  219. package/dist/service-configuration.d.ts.map +1 -0
  220. package/dist/service-configuration.js +343 -0
  221. package/dist/service-content-owned.d.ts +68 -0
  222. package/dist/service-content-owned.d.ts.map +1 -0
  223. package/dist/service-content-owned.js +329 -0
  224. package/dist/service-content-synthesizer.d.ts +90 -0
  225. package/dist/service-content-synthesizer.d.ts.map +1 -0
  226. package/dist/service-content-synthesizer.js +178 -0
  227. package/dist/service-content.d.ts +106 -0
  228. package/dist/service-content.d.ts.map +1 -0
  229. package/dist/service-content.js +388 -0
  230. package/dist/service-core.d.ts +194 -0
  231. package/dist/service-core.d.ts.map +1 -0
  232. package/dist/service-core.js +213 -0
  233. package/dist/service-delivery-formats.d.ts +58 -0
  234. package/dist/service-delivery-formats.d.ts.map +1 -0
  235. package/dist/service-delivery-formats.js +107 -0
  236. package/dist/service-destinations.d.ts +223 -0
  237. package/dist/service-destinations.d.ts.map +1 -0
  238. package/dist/service-destinations.js +310 -0
  239. package/dist/service-itinerary-history.d.ts +457 -0
  240. package/dist/service-itinerary-history.d.ts.map +1 -0
  241. package/dist/service-itinerary-history.js +135 -0
  242. package/dist/service-itinerary.d.ts +1149 -0
  243. package/dist/service-itinerary.d.ts.map +1 -0
  244. package/dist/service-itinerary.js +419 -0
  245. package/dist/service-media.d.ts +272 -0
  246. package/dist/service-media.d.ts.map +1 -0
  247. package/dist/service-media.js +320 -0
  248. package/dist/service-merchandising.d.ts +184 -0
  249. package/dist/service-merchandising.d.ts.map +1 -0
  250. package/dist/service-merchandising.js +181 -0
  251. package/dist/service-option-translations.d.ts +268 -0
  252. package/dist/service-option-translations.d.ts.map +1 -0
  253. package/dist/service-option-translations.js +300 -0
  254. package/dist/service-options.d.ts +181 -0
  255. package/dist/service-options.d.ts.map +1 -0
  256. package/dist/service-options.js +179 -0
  257. package/dist/service-product-destinations.d.ts +37 -0
  258. package/dist/service-product-destinations.d.ts.map +1 -0
  259. package/dist/service-product-destinations.js +94 -0
  260. package/dist/service-public.d.ts +664 -0
  261. package/dist/service-public.d.ts.map +1 -0
  262. package/dist/service-public.js +374 -0
  263. package/dist/service-taxonomy.d.ts +197 -0
  264. package/dist/service-taxonomy.d.ts.map +1 -0
  265. package/dist/service-taxonomy.js +221 -0
  266. package/dist/service.d.ts +3929 -0
  267. package/dist/service.d.ts.map +1 -0
  268. package/dist/service.js +28 -0
  269. package/dist/tasks/brochure-printers.d.ts +31 -0
  270. package/dist/tasks/brochure-printers.d.ts.map +1 -0
  271. package/dist/tasks/brochure-printers.js +149 -0
  272. package/dist/tasks/brochure-templates.d.ts +36 -0
  273. package/dist/tasks/brochure-templates.d.ts.map +1 -0
  274. package/dist/tasks/brochure-templates.js +110 -0
  275. package/dist/tasks/brochures.d.ts +43 -0
  276. package/dist/tasks/brochures.d.ts.map +1 -0
  277. package/dist/tasks/brochures.js +72 -0
  278. package/dist/tasks/generate-pdf.d.ts +8 -0
  279. package/dist/tasks/generate-pdf.d.ts.map +1 -0
  280. package/dist/tasks/generate-pdf.js +106 -0
  281. package/dist/tasks/index.d.ts +5 -0
  282. package/dist/tasks/index.d.ts.map +1 -0
  283. package/dist/tasks/index.js +4 -0
  284. package/dist/tasks/pdf-text.d.ts +2 -0
  285. package/dist/tasks/pdf-text.d.ts.map +1 -0
  286. package/dist/tasks/pdf-text.js +40 -0
  287. package/dist/tasks.d.ts +2 -0
  288. package/dist/tasks.d.ts.map +1 -0
  289. package/dist/tasks.js +1 -0
  290. package/dist/validation-catalog.d.ts +2 -0
  291. package/dist/validation-catalog.d.ts.map +1 -0
  292. package/dist/validation-catalog.js +3 -0
  293. package/dist/validation-config.d.ts +2 -0
  294. package/dist/validation-config.d.ts.map +1 -0
  295. package/dist/validation-config.js +3 -0
  296. package/dist/validation-content.d.ts +2 -0
  297. package/dist/validation-content.d.ts.map +1 -0
  298. package/dist/validation-content.js +3 -0
  299. package/dist/validation-core.d.ts +2 -0
  300. package/dist/validation-core.d.ts.map +1 -0
  301. package/dist/validation-core.js +3 -0
  302. package/dist/validation-public.d.ts +2 -0
  303. package/dist/validation-public.d.ts.map +1 -0
  304. package/dist/validation-public.js +3 -0
  305. package/dist/validation-shared.d.ts +2 -0
  306. package/dist/validation-shared.d.ts.map +1 -0
  307. package/dist/validation-shared.js +3 -0
  308. package/dist/validation.d.ts +2 -0
  309. package/dist/validation.d.ts.map +1 -0
  310. package/dist/validation.js +3 -0
  311. package/package.json +204 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-settings.d.ts","sourceRoot":"","sources":["../src/schema-settings.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,220 @@
1
+ import { typeId, typeIdRef } from "@voyant-travel/db/lib/typeid-column";
2
+ import { boolean, doublePrecision, index, integer, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
3
+ import { optionUnits, productOptions, products } from "./schema-core.js";
4
+ import { productActivationModeEnum, productCapabilityEnum, productDeliveryFormatEnum, productFeatureTypeEnum, productLocationTypeEnum, productTicketFulfillmentEnum, } from "./schema-shared.js";
5
+ export const productActivationSettings = pgTable("product_activation_settings", {
6
+ id: typeId("product_activation_settings"),
7
+ productId: typeIdRef("product_id")
8
+ .notNull()
9
+ .references(() => products.id, { onDelete: "cascade" }),
10
+ activationMode: productActivationModeEnum("activation_mode").notNull().default("manual"),
11
+ activateAt: timestamp("activate_at", { withTimezone: true }),
12
+ deactivateAt: timestamp("deactivate_at", { withTimezone: true }),
13
+ sellAt: timestamp("sell_at", { withTimezone: true }),
14
+ stopSellAt: timestamp("stop_sell_at", { withTimezone: true }),
15
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
16
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
17
+ }, (table) => [
18
+ uniqueIndex("uidx_product_activation_settings_product").on(table.productId),
19
+ index("idx_product_activation_settings_created").on(table.createdAt),
20
+ index("idx_product_activation_settings_mode").on(table.activationMode),
21
+ index("idx_product_activation_settings_mode_created").on(table.activationMode, table.createdAt),
22
+ ]);
23
+ export const productTicketSettings = pgTable("product_ticket_settings", {
24
+ id: typeId("product_ticket_settings"),
25
+ productId: typeIdRef("product_id")
26
+ .notNull()
27
+ .references(() => products.id, { onDelete: "cascade" }),
28
+ fulfillmentMode: productTicketFulfillmentEnum("fulfillment_mode").notNull().default("none"),
29
+ defaultDeliveryFormat: productDeliveryFormatEnum("default_delivery_format")
30
+ .notNull()
31
+ .default("none"),
32
+ ticketPerUnit: boolean("ticket_per_unit").notNull().default(false),
33
+ barcodeFormat: text("barcode_format"),
34
+ voucherMessage: text("voucher_message"),
35
+ ticketMessage: text("ticket_message"),
36
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
37
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
38
+ }, (table) => [
39
+ uniqueIndex("uidx_product_ticket_settings_product").on(table.productId),
40
+ index("idx_product_ticket_settings_created").on(table.createdAt),
41
+ index("idx_product_ticket_settings_fulfillment_created").on(table.fulfillmentMode, table.createdAt),
42
+ ]);
43
+ export const productVisibilitySettings = pgTable("product_visibility_settings", {
44
+ id: typeId("product_visibility_settings"),
45
+ productId: typeIdRef("product_id")
46
+ .notNull()
47
+ .references(() => products.id, { onDelete: "cascade" }),
48
+ isSearchable: boolean("is_searchable").notNull().default(false),
49
+ isBookable: boolean("is_bookable").notNull().default(false),
50
+ isFeatured: boolean("is_featured").notNull().default(false),
51
+ requiresAuthentication: boolean("requires_authentication").notNull().default(false),
52
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
53
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
54
+ }, (table) => [
55
+ uniqueIndex("uidx_product_visibility_settings_product").on(table.productId),
56
+ index("idx_product_visibility_settings_created").on(table.createdAt),
57
+ index("idx_product_visibility_settings_searchable_created").on(table.isSearchable, table.createdAt),
58
+ index("idx_product_visibility_settings_bookable_created").on(table.isBookable, table.createdAt),
59
+ index("idx_product_visibility_settings_featured_product").on(table.isFeatured, table.productId),
60
+ ]);
61
+ export const productCapabilities = pgTable("product_capabilities", {
62
+ id: typeId("product_capabilities"),
63
+ productId: typeIdRef("product_id")
64
+ .notNull()
65
+ .references(() => products.id, { onDelete: "cascade" }),
66
+ capability: productCapabilityEnum("capability").notNull(),
67
+ enabled: boolean("enabled").notNull().default(true),
68
+ notes: text("notes"),
69
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
70
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
71
+ }, (table) => [
72
+ index("idx_product_capabilities_product").on(table.productId),
73
+ index("idx_product_capabilities_capability").on(table.capability),
74
+ index("idx_product_capabilities_capability_created").on(table.capability, table.createdAt),
75
+ index("idx_product_capabilities_enabled_capability_created").on(table.enabled, table.capability, table.createdAt),
76
+ uniqueIndex("uidx_product_capabilities_product_capability").on(table.productId, table.capability),
77
+ ]);
78
+ export const productDeliveryFormats = pgTable("product_delivery_formats", {
79
+ id: typeId("product_delivery_formats"),
80
+ productId: typeIdRef("product_id")
81
+ .notNull()
82
+ .references(() => products.id, { onDelete: "cascade" }),
83
+ format: productDeliveryFormatEnum("format").notNull(),
84
+ isDefault: boolean("is_default").notNull().default(false),
85
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
86
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
87
+ }, (table) => [
88
+ index("idx_product_delivery_formats_product").on(table.productId),
89
+ index("idx_product_delivery_formats_default_created").on(table.isDefault, table.createdAt),
90
+ index("idx_product_delivery_formats_product_default_created").on(table.productId, table.isDefault, table.createdAt),
91
+ index("idx_product_delivery_formats_format_default_created").on(table.format, table.isDefault, table.createdAt),
92
+ uniqueIndex("uidx_product_delivery_formats_product_format").on(table.productId, table.format),
93
+ ]);
94
+ export const productFeatures = pgTable("product_features", {
95
+ id: typeId("product_features"),
96
+ productId: typeIdRef("product_id")
97
+ .notNull()
98
+ .references(() => products.id, { onDelete: "cascade" }),
99
+ featureType: productFeatureTypeEnum("feature_type").notNull().default("highlight"),
100
+ title: text("title").notNull(),
101
+ description: text("description"),
102
+ sortOrder: integer("sort_order").notNull().default(0),
103
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
104
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
105
+ }, (table) => [
106
+ index("idx_product_features_product").on(table.productId),
107
+ index("idx_product_features_sort").on(table.sortOrder, table.createdAt),
108
+ index("idx_product_features_product_sort").on(table.productId, table.sortOrder, table.createdAt),
109
+ index("idx_product_features_type").on(table.featureType),
110
+ index("idx_product_features_type_sort").on(table.featureType, table.sortOrder, table.createdAt),
111
+ index("idx_product_features_product_type_sort").on(table.productId, table.featureType, table.sortOrder, table.createdAt),
112
+ ]);
113
+ export const productFaqs = pgTable("product_faqs", {
114
+ id: typeId("product_faqs"),
115
+ productId: typeIdRef("product_id")
116
+ .notNull()
117
+ .references(() => products.id, { onDelete: "cascade" }),
118
+ question: text("question").notNull(),
119
+ answer: text("answer").notNull(),
120
+ sortOrder: integer("sort_order").notNull().default(0),
121
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
122
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
123
+ }, (table) => [
124
+ index("idx_product_faqs_product").on(table.productId),
125
+ index("idx_product_faqs_sort").on(table.sortOrder, table.createdAt),
126
+ index("idx_product_faqs_product_sort").on(table.productId, table.sortOrder, table.createdAt),
127
+ ]);
128
+ export const productLocations = pgTable("product_locations", {
129
+ id: typeId("product_locations"),
130
+ productId: typeIdRef("product_id")
131
+ .notNull()
132
+ .references(() => products.id, { onDelete: "cascade" }),
133
+ locationType: productLocationTypeEnum("location_type").notNull().default("point_of_interest"),
134
+ title: text("title").notNull(),
135
+ address: text("address"),
136
+ city: text("city"),
137
+ countryCode: text("country_code"),
138
+ latitude: doublePrecision("latitude"),
139
+ longitude: doublePrecision("longitude"),
140
+ googlePlaceId: text("google_place_id"),
141
+ applePlaceId: text("apple_place_id"),
142
+ tripadvisorLocationId: text("tripadvisor_location_id"),
143
+ sortOrder: integer("sort_order").notNull().default(0),
144
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
145
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
146
+ }, (table) => [
147
+ index("idx_product_locations_product").on(table.productId),
148
+ index("idx_product_locations_sort").on(table.sortOrder, table.createdAt),
149
+ index("idx_product_locations_product_sort").on(table.productId, table.sortOrder, table.createdAt),
150
+ index("idx_product_locations_type").on(table.locationType),
151
+ index("idx_product_locations_type_product").on(table.locationType, table.productId),
152
+ index("idx_product_locations_type_sort").on(table.locationType, table.sortOrder, table.createdAt),
153
+ index("idx_product_locations_product_type_sort").on(table.productId, table.locationType, table.sortOrder, table.createdAt),
154
+ index("idx_product_locations_country_product").on(table.countryCode, table.productId),
155
+ // Trigram GIN indexes back the public catalog's case-insensitive
156
+ // `ILIKE` lookups on location title / city. Requires the pg_trgm
157
+ // extension.
158
+ index("idx_product_locations_title_trgm").using("gin", table.title.op("gin_trgm_ops")),
159
+ index("idx_product_locations_city_trgm").using("gin", table.city.op("gin_trgm_ops")),
160
+ ]);
161
+ export const productTranslations = pgTable("product_translations", {
162
+ id: typeId("product_translations"),
163
+ productId: typeIdRef("product_id")
164
+ .notNull()
165
+ .references(() => products.id, { onDelete: "cascade" }),
166
+ languageTag: text("language_tag").notNull(),
167
+ slug: text("slug"),
168
+ name: text("name").notNull(),
169
+ shortDescription: text("short_description"),
170
+ description: text("description"),
171
+ inclusionsHtml: text("inclusions_html"),
172
+ exclusionsHtml: text("exclusions_html"),
173
+ termsHtml: text("terms_html"),
174
+ seoTitle: text("seo_title"),
175
+ seoDescription: text("seo_description"),
176
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
177
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
178
+ }, (table) => [
179
+ index("idx_product_translations_product").on(table.productId),
180
+ index("idx_product_translations_language").on(table.languageTag),
181
+ index("idx_product_translations_product_language_created").on(table.productId, table.languageTag, table.createdAt),
182
+ index("idx_product_translations_language_created").on(table.languageTag, table.createdAt),
183
+ uniqueIndex("uidx_product_translations_product_language").on(table.productId, table.languageTag),
184
+ ]);
185
+ export const productOptionTranslations = pgTable("product_option_translations", {
186
+ id: typeId("product_option_translations"),
187
+ optionId: typeIdRef("option_id")
188
+ .notNull()
189
+ .references(() => productOptions.id, { onDelete: "cascade" }),
190
+ languageTag: text("language_tag").notNull(),
191
+ name: text("name").notNull(),
192
+ shortDescription: text("short_description"),
193
+ description: text("description"),
194
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
195
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
196
+ }, (table) => [
197
+ index("idx_product_option_translations_option").on(table.optionId),
198
+ index("idx_product_option_translations_language").on(table.languageTag),
199
+ index("idx_product_option_translations_option_language_created").on(table.optionId, table.languageTag, table.createdAt),
200
+ index("idx_product_option_translations_language_created").on(table.languageTag, table.createdAt),
201
+ uniqueIndex("uidx_product_option_translations_option_language").on(table.optionId, table.languageTag),
202
+ ]);
203
+ export const optionUnitTranslations = pgTable("option_unit_translations", {
204
+ id: typeId("option_unit_translations"),
205
+ unitId: typeIdRef("unit_id")
206
+ .notNull()
207
+ .references(() => optionUnits.id, { onDelete: "cascade" }),
208
+ languageTag: text("language_tag").notNull(),
209
+ name: text("name").notNull(),
210
+ shortDescription: text("short_description"),
211
+ description: text("description"),
212
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
213
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
214
+ }, (table) => [
215
+ index("idx_option_unit_translations_unit").on(table.unitId),
216
+ index("idx_option_unit_translations_language").on(table.languageTag),
217
+ index("idx_option_unit_translations_unit_language_created").on(table.unitId, table.languageTag, table.createdAt),
218
+ index("idx_option_unit_translations_language_created").on(table.languageTag, table.createdAt),
219
+ uniqueIndex("uidx_option_unit_translations_unit_language").on(table.unitId, table.languageTag),
220
+ ]);
@@ -0,0 +1,15 @@
1
+ export declare const productStatusEnum: import("drizzle-orm/pg-core").PgEnum<["draft", "active", "archived"]>;
2
+ export declare const productOptionStatusEnum: import("drizzle-orm/pg-core").PgEnum<["draft", "active", "archived"]>;
3
+ export declare const optionUnitTypeEnum: import("drizzle-orm/pg-core").PgEnum<["person", "group", "room", "vehicle", "service", "other"]>;
4
+ export declare const productBookingModeEnum: import("drizzle-orm/pg-core").PgEnum<["date", "date_time", "open", "stay", "transfer", "itinerary", "other"]>;
5
+ export declare const productCapacityModeEnum: import("drizzle-orm/pg-core").PgEnum<["free_sale", "limited", "on_request"]>;
6
+ export declare const productVisibilityEnum: import("drizzle-orm/pg-core").PgEnum<["public", "private", "hidden"]>;
7
+ export declare const productActivationModeEnum: import("drizzle-orm/pg-core").PgEnum<["manual", "scheduled", "channel_controlled"]>;
8
+ export declare const productTicketFulfillmentEnum: import("drizzle-orm/pg-core").PgEnum<["none", "per_booking", "per_participant", "per_item"]>;
9
+ export declare const productDeliveryFormatEnum: import("drizzle-orm/pg-core").PgEnum<["voucher", "ticket", "pdf", "qr_code", "barcode", "email", "mobile", "none"]>;
10
+ export declare const productCapabilityEnum: import("drizzle-orm/pg-core").PgEnum<["instant_confirmation", "on_request", "pickup_available", "dropoff_available", "guided", "private", "shared", "digital_ticket", "voucher_required", "external_inventory", "multi_day", "accommodation", "transport"]>;
11
+ export declare const productFeatureTypeEnum: import("drizzle-orm/pg-core").PgEnum<["inclusion", "exclusion", "highlight", "important_information", "other"]>;
12
+ export declare const productLocationTypeEnum: import("drizzle-orm/pg-core").PgEnum<["start", "end", "meeting_point", "pickup", "dropoff", "point_of_interest", "other"]>;
13
+ export declare const serviceTypeEnum: import("drizzle-orm/pg-core").PgEnum<["accommodation", "transfer", "experience", "guide", "meal", "other"]>;
14
+ export declare const productMediaTypeEnum: import("drizzle-orm/pg-core").PgEnum<["image", "video", "document"]>;
15
+ //# sourceMappingURL=schema-shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-shared.d.ts","sourceRoot":"","sources":["../src/schema-shared.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,uEAA4D,CAAA;AAC1F,eAAO,MAAM,uBAAuB,uEAIlC,CAAA;AACF,eAAO,MAAM,kBAAkB,kGAO7B,CAAA;AACF,eAAO,MAAM,sBAAsB,+GAQjC,CAAA;AACF,eAAO,MAAM,uBAAuB,8EAIlC,CAAA;AACF,eAAO,MAAM,qBAAqB,uEAAgE,CAAA;AAClG,eAAO,MAAM,yBAAyB,qFAIpC,CAAA;AACF,eAAO,MAAM,4BAA4B,8FAKvC,CAAA;AACF,eAAO,MAAM,yBAAyB,qHASpC,CAAA;AACF,eAAO,MAAM,qBAAqB,6PAchC,CAAA;AACF,eAAO,MAAM,sBAAsB,iHAMjC,CAAA;AACF,eAAO,MAAM,uBAAuB,4HAQlC,CAAA;AACF,eAAO,MAAM,eAAe,6GAO1B,CAAA;AACF,eAAO,MAAM,oBAAoB,sEAA+D,CAAA"}
@@ -0,0 +1,91 @@
1
+ import { pgEnum } from "drizzle-orm/pg-core";
2
+ export const productStatusEnum = pgEnum("product_status", ["draft", "active", "archived"]);
3
+ export const productOptionStatusEnum = pgEnum("product_option_status", [
4
+ "draft",
5
+ "active",
6
+ "archived",
7
+ ]);
8
+ export const optionUnitTypeEnum = pgEnum("option_unit_type", [
9
+ "person",
10
+ "group",
11
+ "room",
12
+ "vehicle",
13
+ "service",
14
+ "other",
15
+ ]);
16
+ export const productBookingModeEnum = pgEnum("product_booking_mode", [
17
+ "date",
18
+ "date_time",
19
+ "open",
20
+ "stay",
21
+ "transfer",
22
+ "itinerary",
23
+ "other",
24
+ ]);
25
+ export const productCapacityModeEnum = pgEnum("product_capacity_mode", [
26
+ "free_sale",
27
+ "limited",
28
+ "on_request",
29
+ ]);
30
+ export const productVisibilityEnum = pgEnum("product_visibility", ["public", "private", "hidden"]);
31
+ export const productActivationModeEnum = pgEnum("product_activation_mode", [
32
+ "manual",
33
+ "scheduled",
34
+ "channel_controlled",
35
+ ]);
36
+ export const productTicketFulfillmentEnum = pgEnum("product_ticket_fulfillment", [
37
+ "none",
38
+ "per_booking",
39
+ "per_participant",
40
+ "per_item",
41
+ ]);
42
+ export const productDeliveryFormatEnum = pgEnum("product_delivery_format", [
43
+ "voucher",
44
+ "ticket",
45
+ "pdf",
46
+ "qr_code",
47
+ "barcode",
48
+ "email",
49
+ "mobile",
50
+ "none",
51
+ ]);
52
+ export const productCapabilityEnum = pgEnum("product_capability", [
53
+ "instant_confirmation",
54
+ "on_request",
55
+ "pickup_available",
56
+ "dropoff_available",
57
+ "guided",
58
+ "private",
59
+ "shared",
60
+ "digital_ticket",
61
+ "voucher_required",
62
+ "external_inventory",
63
+ "multi_day",
64
+ "accommodation",
65
+ "transport",
66
+ ]);
67
+ export const productFeatureTypeEnum = pgEnum("product_feature_type", [
68
+ "inclusion",
69
+ "exclusion",
70
+ "highlight",
71
+ "important_information",
72
+ "other",
73
+ ]);
74
+ export const productLocationTypeEnum = pgEnum("product_location_type", [
75
+ "start",
76
+ "end",
77
+ "meeting_point",
78
+ "pickup",
79
+ "dropoff",
80
+ "point_of_interest",
81
+ "other",
82
+ ]);
83
+ export const serviceTypeEnum = pgEnum("service_type", [
84
+ "accommodation",
85
+ "transfer",
86
+ "experience",
87
+ "guide",
88
+ "meal",
89
+ "other",
90
+ ]);
91
+ export const productMediaTypeEnum = pgEnum("product_media_type", ["image", "video", "document"]);
@@ -0,0 +1,262 @@
1
+ /**
2
+ * Products sourced-content cache.
3
+ *
4
+ * One row per sourced product × locale × market. Stores the rich
5
+ * detail-page content the upstream adapter served via `getContent`, plus
6
+ * the SWR metadata the read service needs (TTL, ETag, fetch status,
7
+ * locale fallback bookkeeping).
8
+ *
9
+ * Locale-keyed (per-locale rows, not one JSONB-of-locales) so
10
+ * per-locale TTLs, per-locale fetch failures, "what's missing in ro-RO?"
11
+ * SQL queries, and per-locale invalidation on drift all stay simple.
12
+ *
13
+ * See `docs/architecture/catalog-sourced-content.md` §3.2.
14
+ */
15
+ /**
16
+ * Lifecycle status per cache row. Distinct from sourced-entry lifecycle
17
+ * (which tracks whether the upstream still advertises the entity);
18
+ * `fetch_status` tracks the last cache fetch attempt for one
19
+ * (entity, locale, market) tuple.
20
+ */
21
+ export type ProductsSourcedContentFetchStatus = "ok" | "stale" | "error" | "unsupported";
22
+ /**
23
+ * Sentinel value for the `market` column when an adapter is not
24
+ * market-sensitive. The value `'*'` is the all-markets row; other
25
+ * values are specific markets the adapter served content for.
26
+ */
27
+ export declare const PRODUCTS_CONTENT_MARKET_ANY = "*";
28
+ export declare const productsSourcedContentTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
29
+ name: "products_sourced_content";
30
+ schema: undefined;
31
+ columns: {
32
+ entity_id: import("drizzle-orm/pg-core").PgColumn<{
33
+ name: "entity_id";
34
+ tableName: "products_sourced_content";
35
+ dataType: "string";
36
+ columnType: "PgText";
37
+ data: string;
38
+ driverParam: string;
39
+ notNull: true;
40
+ hasDefault: false;
41
+ isPrimaryKey: false;
42
+ isAutoincrement: false;
43
+ hasRuntimeDefault: false;
44
+ enumValues: [string, ...string[]];
45
+ baseColumn: never;
46
+ identity: undefined;
47
+ generated: undefined;
48
+ }, {}, {}>;
49
+ locale: import("drizzle-orm/pg-core").PgColumn<{
50
+ name: "locale";
51
+ tableName: "products_sourced_content";
52
+ dataType: "string";
53
+ columnType: "PgText";
54
+ data: string;
55
+ driverParam: string;
56
+ notNull: true;
57
+ hasDefault: false;
58
+ isPrimaryKey: false;
59
+ isAutoincrement: false;
60
+ hasRuntimeDefault: false;
61
+ enumValues: [string, ...string[]];
62
+ baseColumn: never;
63
+ identity: undefined;
64
+ generated: undefined;
65
+ }, {}, {}>;
66
+ market: import("drizzle-orm/pg-core").PgColumn<{
67
+ name: "market";
68
+ tableName: "products_sourced_content";
69
+ dataType: "string";
70
+ columnType: "PgText";
71
+ data: string;
72
+ driverParam: string;
73
+ notNull: true;
74
+ hasDefault: true;
75
+ isPrimaryKey: false;
76
+ isAutoincrement: false;
77
+ hasRuntimeDefault: false;
78
+ enumValues: [string, ...string[]];
79
+ baseColumn: never;
80
+ identity: undefined;
81
+ generated: undefined;
82
+ }, {}, {}>;
83
+ payload: import("drizzle-orm/pg-core").PgColumn<{
84
+ name: "payload";
85
+ tableName: "products_sourced_content";
86
+ dataType: "json";
87
+ columnType: "PgJsonb";
88
+ data: Record<string, unknown>;
89
+ driverParam: unknown;
90
+ notNull: true;
91
+ hasDefault: false;
92
+ isPrimaryKey: false;
93
+ isAutoincrement: false;
94
+ hasRuntimeDefault: false;
95
+ enumValues: undefined;
96
+ baseColumn: never;
97
+ identity: undefined;
98
+ generated: undefined;
99
+ }, {}, {
100
+ $type: Record<string, unknown>;
101
+ }>;
102
+ content_schema_version: import("drizzle-orm/pg-core").PgColumn<{
103
+ name: "content_schema_version";
104
+ tableName: "products_sourced_content";
105
+ dataType: "string";
106
+ columnType: "PgText";
107
+ data: string;
108
+ driverParam: string;
109
+ notNull: true;
110
+ hasDefault: false;
111
+ isPrimaryKey: false;
112
+ isAutoincrement: false;
113
+ hasRuntimeDefault: false;
114
+ enumValues: [string, ...string[]];
115
+ baseColumn: never;
116
+ identity: undefined;
117
+ generated: undefined;
118
+ }, {}, {}>;
119
+ returned_locale: import("drizzle-orm/pg-core").PgColumn<{
120
+ name: "returned_locale";
121
+ tableName: "products_sourced_content";
122
+ dataType: "string";
123
+ columnType: "PgText";
124
+ data: string;
125
+ driverParam: string;
126
+ notNull: true;
127
+ hasDefault: false;
128
+ isPrimaryKey: false;
129
+ isAutoincrement: false;
130
+ hasRuntimeDefault: false;
131
+ enumValues: [string, ...string[]];
132
+ baseColumn: never;
133
+ identity: undefined;
134
+ generated: undefined;
135
+ }, {}, {}>;
136
+ machine_translated: import("drizzle-orm/pg-core").PgColumn<{
137
+ name: "machine_translated";
138
+ tableName: "products_sourced_content";
139
+ dataType: "boolean";
140
+ columnType: "PgBoolean";
141
+ data: boolean;
142
+ driverParam: boolean;
143
+ notNull: true;
144
+ hasDefault: true;
145
+ isPrimaryKey: false;
146
+ isAutoincrement: false;
147
+ hasRuntimeDefault: false;
148
+ enumValues: undefined;
149
+ baseColumn: never;
150
+ identity: undefined;
151
+ generated: undefined;
152
+ }, {}, {}>;
153
+ source_updated_at: import("drizzle-orm/pg-core").PgColumn<{
154
+ name: "source_updated_at";
155
+ tableName: "products_sourced_content";
156
+ dataType: "date";
157
+ columnType: "PgTimestamp";
158
+ data: Date;
159
+ driverParam: string;
160
+ notNull: false;
161
+ hasDefault: false;
162
+ isPrimaryKey: false;
163
+ isAutoincrement: false;
164
+ hasRuntimeDefault: false;
165
+ enumValues: undefined;
166
+ baseColumn: never;
167
+ identity: undefined;
168
+ generated: undefined;
169
+ }, {}, {}>;
170
+ fetched_at: import("drizzle-orm/pg-core").PgColumn<{
171
+ name: "fetched_at";
172
+ tableName: "products_sourced_content";
173
+ dataType: "date";
174
+ columnType: "PgTimestamp";
175
+ data: Date;
176
+ driverParam: string;
177
+ notNull: true;
178
+ hasDefault: true;
179
+ isPrimaryKey: false;
180
+ isAutoincrement: false;
181
+ hasRuntimeDefault: false;
182
+ enumValues: undefined;
183
+ baseColumn: never;
184
+ identity: undefined;
185
+ generated: undefined;
186
+ }, {}, {}>;
187
+ fresh_until: import("drizzle-orm/pg-core").PgColumn<{
188
+ name: "fresh_until";
189
+ tableName: "products_sourced_content";
190
+ dataType: "date";
191
+ columnType: "PgTimestamp";
192
+ data: Date;
193
+ driverParam: string;
194
+ notNull: false;
195
+ hasDefault: false;
196
+ isPrimaryKey: false;
197
+ isAutoincrement: false;
198
+ hasRuntimeDefault: false;
199
+ enumValues: undefined;
200
+ baseColumn: never;
201
+ identity: undefined;
202
+ generated: undefined;
203
+ }, {}, {}>;
204
+ etag: import("drizzle-orm/pg-core").PgColumn<{
205
+ name: "etag";
206
+ tableName: "products_sourced_content";
207
+ dataType: "string";
208
+ columnType: "PgText";
209
+ data: string;
210
+ driverParam: string;
211
+ notNull: false;
212
+ hasDefault: false;
213
+ isPrimaryKey: false;
214
+ isAutoincrement: false;
215
+ hasRuntimeDefault: false;
216
+ enumValues: [string, ...string[]];
217
+ baseColumn: never;
218
+ identity: undefined;
219
+ generated: undefined;
220
+ }, {}, {}>;
221
+ fetch_status: import("drizzle-orm/pg-core").PgColumn<{
222
+ name: "fetch_status";
223
+ tableName: "products_sourced_content";
224
+ dataType: "string";
225
+ columnType: "PgText";
226
+ data: ProductsSourcedContentFetchStatus;
227
+ driverParam: string;
228
+ notNull: true;
229
+ hasDefault: true;
230
+ isPrimaryKey: false;
231
+ isAutoincrement: false;
232
+ hasRuntimeDefault: false;
233
+ enumValues: [string, ...string[]];
234
+ baseColumn: never;
235
+ identity: undefined;
236
+ generated: undefined;
237
+ }, {}, {
238
+ $type: ProductsSourcedContentFetchStatus;
239
+ }>;
240
+ fetch_error: import("drizzle-orm/pg-core").PgColumn<{
241
+ name: "fetch_error";
242
+ tableName: "products_sourced_content";
243
+ dataType: "string";
244
+ columnType: "PgText";
245
+ data: string;
246
+ driverParam: string;
247
+ notNull: false;
248
+ hasDefault: false;
249
+ isPrimaryKey: false;
250
+ isAutoincrement: false;
251
+ hasRuntimeDefault: false;
252
+ enumValues: [string, ...string[]];
253
+ baseColumn: never;
254
+ identity: undefined;
255
+ generated: undefined;
256
+ }, {}, {}>;
257
+ };
258
+ dialect: "pg";
259
+ }>;
260
+ export type InsertProductsSourcedContent = typeof productsSourcedContentTable.$inferInsert;
261
+ export type SelectProductsSourcedContent = typeof productsSourcedContentTable.$inferSelect;
262
+ //# sourceMappingURL=schema-sourced-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-sourced-content.d.ts","sourceRoot":"","sources":["../src/schema-sourced-content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH;;;;;GAKG;AACH,MAAM,MAAM,iCAAiC,GAAG,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAAA;AAExF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,MAAM,CAAA;AAE9C,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DvC,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,OAAO,2BAA2B,CAAC,YAAY,CAAA;AAC1F,MAAM,MAAM,4BAA4B,GAAG,OAAO,2BAA2B,CAAC,YAAY,CAAA"}