@aopslab/domain-dm-docman 0.1.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.
Files changed (528) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +6 -0
  3. package/README.md +26 -0
  4. package/dist/application/errors/AssetServiceError.d.ts +20 -0
  5. package/dist/application/errors/AssetServiceError.js +13 -0
  6. package/dist/application/errors/AssetVersionServiceError.d.ts +20 -0
  7. package/dist/application/errors/AssetVersionServiceError.js +13 -0
  8. package/dist/application/errors/DocumentGroupServiceError.d.ts +20 -0
  9. package/dist/application/errors/DocumentGroupServiceError.js +16 -0
  10. package/dist/application/errors/DocumentSectionLinkServiceError.d.ts +20 -0
  11. package/dist/application/errors/DocumentSectionLinkServiceError.js +16 -0
  12. package/dist/application/errors/DocumentServiceError.d.ts +20 -0
  13. package/dist/application/errors/DocumentServiceError.js +16 -0
  14. package/dist/application/errors/DocumentVersionServiceError.d.ts +20 -0
  15. package/dist/application/errors/DocumentVersionServiceError.js +16 -0
  16. package/dist/application/errors/EmbedServiceError.d.ts +20 -0
  17. package/dist/application/errors/EmbedServiceError.js +16 -0
  18. package/dist/application/errors/PageEmbedLinkServiceError.d.ts +20 -0
  19. package/dist/application/errors/PageEmbedLinkServiceError.js +16 -0
  20. package/dist/application/errors/PageServiceError.d.ts +20 -0
  21. package/dist/application/errors/PageServiceError.js +16 -0
  22. package/dist/application/errors/PageSnippetLinkServiceError.d.ts +20 -0
  23. package/dist/application/errors/PageSnippetLinkServiceError.js +16 -0
  24. package/dist/application/errors/PageVersionServiceError.d.ts +20 -0
  25. package/dist/application/errors/PageVersionServiceError.js +16 -0
  26. package/dist/application/errors/SectionPageLinkServiceError.d.ts +20 -0
  27. package/dist/application/errors/SectionPageLinkServiceError.js +16 -0
  28. package/dist/application/errors/SectionServiceError.d.ts +20 -0
  29. package/dist/application/errors/SectionServiceError.js +16 -0
  30. package/dist/application/errors/SnippetServiceError.d.ts +20 -0
  31. package/dist/application/errors/SnippetServiceError.js +16 -0
  32. package/dist/application/errors/index.d.ts +1 -0
  33. package/dist/application/errors/index.js +1 -0
  34. package/dist/application/factories/RepositoryFactoryAsset.d.ts +4 -0
  35. package/dist/application/factories/RepositoryFactoryAsset.js +7 -0
  36. package/dist/application/factories/RepositoryFactoryAssetVersion.d.ts +4 -0
  37. package/dist/application/factories/RepositoryFactoryAssetVersion.js +7 -0
  38. package/dist/application/factories/RepositoryFactoryDocument.d.ts +4 -0
  39. package/dist/application/factories/RepositoryFactoryDocument.js +7 -0
  40. package/dist/application/factories/RepositoryFactoryDocumentGroup.d.ts +4 -0
  41. package/dist/application/factories/RepositoryFactoryDocumentGroup.js +7 -0
  42. package/dist/application/factories/RepositoryFactoryDocumentIndexEntry.d.ts +4 -0
  43. package/dist/application/factories/RepositoryFactoryDocumentIndexEntry.js +7 -0
  44. package/dist/application/factories/RepositoryFactoryDocumentSectionLink.d.ts +4 -0
  45. package/dist/application/factories/RepositoryFactoryDocumentSectionLink.js +7 -0
  46. package/dist/application/factories/RepositoryFactoryDocumentVersion.d.ts +4 -0
  47. package/dist/application/factories/RepositoryFactoryDocumentVersion.js +7 -0
  48. package/dist/application/factories/RepositoryFactoryEmbed.d.ts +4 -0
  49. package/dist/application/factories/RepositoryFactoryEmbed.js +7 -0
  50. package/dist/application/factories/RepositoryFactoryPage.d.ts +4 -0
  51. package/dist/application/factories/RepositoryFactoryPage.js +7 -0
  52. package/dist/application/factories/RepositoryFactoryPageEmbedLink.d.ts +4 -0
  53. package/dist/application/factories/RepositoryFactoryPageEmbedLink.js +7 -0
  54. package/dist/application/factories/RepositoryFactoryPageSnippetLink.d.ts +4 -0
  55. package/dist/application/factories/RepositoryFactoryPageSnippetLink.js +7 -0
  56. package/dist/application/factories/RepositoryFactoryPageVersion.d.ts +4 -0
  57. package/dist/application/factories/RepositoryFactoryPageVersion.js +7 -0
  58. package/dist/application/factories/RepositoryFactorySection.d.ts +4 -0
  59. package/dist/application/factories/RepositoryFactorySection.js +7 -0
  60. package/dist/application/factories/RepositoryFactorySectionPageLink.d.ts +4 -0
  61. package/dist/application/factories/RepositoryFactorySectionPageLink.js +7 -0
  62. package/dist/application/factories/RepositoryFactorySnippet.d.ts +4 -0
  63. package/dist/application/factories/RepositoryFactorySnippet.js +7 -0
  64. package/dist/application/factories/ServiceAssetBuilder.d.ts +30 -0
  65. package/dist/application/factories/ServiceAssetBuilder.js +80 -0
  66. package/dist/application/factories/ServiceAssetFactory.d.ts +11 -0
  67. package/dist/application/factories/ServiceAssetFactory.js +15 -0
  68. package/dist/application/factories/ServiceAssetVersionBuilder.d.ts +30 -0
  69. package/dist/application/factories/ServiceAssetVersionBuilder.js +80 -0
  70. package/dist/application/factories/ServiceAssetVersionFactory.d.ts +11 -0
  71. package/dist/application/factories/ServiceAssetVersionFactory.js +15 -0
  72. package/dist/application/factories/ServiceDocumentBuilder.d.ts +30 -0
  73. package/dist/application/factories/ServiceDocumentBuilder.js +83 -0
  74. package/dist/application/factories/ServiceDocumentFactory.d.ts +11 -0
  75. package/dist/application/factories/ServiceDocumentFactory.js +15 -0
  76. package/dist/application/factories/ServiceDocumentGroupBuilder.d.ts +30 -0
  77. package/dist/application/factories/ServiceDocumentGroupBuilder.js +83 -0
  78. package/dist/application/factories/ServiceDocumentGroupFactory.d.ts +11 -0
  79. package/dist/application/factories/ServiceDocumentGroupFactory.js +15 -0
  80. package/dist/application/factories/ServiceDocumentSectionLinkBuilder.d.ts +30 -0
  81. package/dist/application/factories/ServiceDocumentSectionLinkBuilder.js +83 -0
  82. package/dist/application/factories/ServiceDocumentSectionLinkFactory.d.ts +11 -0
  83. package/dist/application/factories/ServiceDocumentSectionLinkFactory.js +15 -0
  84. package/dist/application/factories/ServiceDocumentVersionBuilder.d.ts +30 -0
  85. package/dist/application/factories/ServiceDocumentVersionBuilder.js +83 -0
  86. package/dist/application/factories/ServiceDocumentVersionFactory.d.ts +11 -0
  87. package/dist/application/factories/ServiceDocumentVersionFactory.js +15 -0
  88. package/dist/application/factories/ServiceEmbedBuilder.d.ts +30 -0
  89. package/dist/application/factories/ServiceEmbedBuilder.js +83 -0
  90. package/dist/application/factories/ServiceEmbedFactory.d.ts +11 -0
  91. package/dist/application/factories/ServiceEmbedFactory.js +15 -0
  92. package/dist/application/factories/ServicePageBuilder.d.ts +30 -0
  93. package/dist/application/factories/ServicePageBuilder.js +83 -0
  94. package/dist/application/factories/ServicePageEmbedLinkBuilder.d.ts +30 -0
  95. package/dist/application/factories/ServicePageEmbedLinkBuilder.js +83 -0
  96. package/dist/application/factories/ServicePageEmbedLinkFactory.d.ts +11 -0
  97. package/dist/application/factories/ServicePageEmbedLinkFactory.js +15 -0
  98. package/dist/application/factories/ServicePageFactory.d.ts +11 -0
  99. package/dist/application/factories/ServicePageFactory.js +15 -0
  100. package/dist/application/factories/ServicePageSnippetLinkBuilder.d.ts +30 -0
  101. package/dist/application/factories/ServicePageSnippetLinkBuilder.js +83 -0
  102. package/dist/application/factories/ServicePageSnippetLinkFactory.d.ts +11 -0
  103. package/dist/application/factories/ServicePageSnippetLinkFactory.js +15 -0
  104. package/dist/application/factories/ServicePageVersionBuilder.d.ts +34 -0
  105. package/dist/application/factories/ServicePageVersionBuilder.js +121 -0
  106. package/dist/application/factories/ServicePageVersionFactory.d.ts +11 -0
  107. package/dist/application/factories/ServicePageVersionFactory.js +15 -0
  108. package/dist/application/factories/ServiceSectionBuilder.d.ts +30 -0
  109. package/dist/application/factories/ServiceSectionBuilder.js +83 -0
  110. package/dist/application/factories/ServiceSectionFactory.d.ts +11 -0
  111. package/dist/application/factories/ServiceSectionFactory.js +15 -0
  112. package/dist/application/factories/ServiceSectionPageLinkBuilder.d.ts +30 -0
  113. package/dist/application/factories/ServiceSectionPageLinkBuilder.js +83 -0
  114. package/dist/application/factories/ServiceSectionPageLinkFactory.d.ts +11 -0
  115. package/dist/application/factories/ServiceSectionPageLinkFactory.js +15 -0
  116. package/dist/application/factories/ServiceSnippetBuilder.d.ts +30 -0
  117. package/dist/application/factories/ServiceSnippetBuilder.js +83 -0
  118. package/dist/application/factories/ServiceSnippetFactory.d.ts +11 -0
  119. package/dist/application/factories/ServiceSnippetFactory.js +15 -0
  120. package/dist/application/factories/drizzleDialect.d.ts +16 -0
  121. package/dist/application/factories/drizzleDialect.js +36 -0
  122. package/dist/application/factories/index.d.ts +43 -0
  123. package/dist/application/factories/index.js +44 -0
  124. package/dist/application/ports/inbound/IAssetServicePort.d.ts +14 -0
  125. package/dist/application/ports/inbound/IAssetServicePort.js +1 -0
  126. package/dist/application/ports/inbound/IAssetVersionServicePort.d.ts +14 -0
  127. package/dist/application/ports/inbound/IAssetVersionServicePort.js +1 -0
  128. package/dist/application/ports/inbound/IDocumentGroupServicePort.d.ts +14 -0
  129. package/dist/application/ports/inbound/IDocumentGroupServicePort.js +1 -0
  130. package/dist/application/ports/inbound/IDocumentSectionLinkServicePort.d.ts +16 -0
  131. package/dist/application/ports/inbound/IDocumentSectionLinkServicePort.js +1 -0
  132. package/dist/application/ports/inbound/IDocumentServicePort.d.ts +300 -0
  133. package/dist/application/ports/inbound/IDocumentServicePort.js +1 -0
  134. package/dist/application/ports/inbound/IDocumentVersionServicePort.d.ts +106 -0
  135. package/dist/application/ports/inbound/IDocumentVersionServicePort.js +1 -0
  136. package/dist/application/ports/inbound/IEmbedServicePort.d.ts +14 -0
  137. package/dist/application/ports/inbound/IEmbedServicePort.js +1 -0
  138. package/dist/application/ports/inbound/IPageEmbedLinkServicePort.d.ts +14 -0
  139. package/dist/application/ports/inbound/IPageEmbedLinkServicePort.js +1 -0
  140. package/dist/application/ports/inbound/IPageServicePort.d.ts +14 -0
  141. package/dist/application/ports/inbound/IPageServicePort.js +1 -0
  142. package/dist/application/ports/inbound/IPageSnippetLinkServicePort.d.ts +14 -0
  143. package/dist/application/ports/inbound/IPageSnippetLinkServicePort.js +1 -0
  144. package/dist/application/ports/inbound/IPageVersionServicePort.d.ts +14 -0
  145. package/dist/application/ports/inbound/IPageVersionServicePort.js +1 -0
  146. package/dist/application/ports/inbound/ISectionPageLinkServicePort.d.ts +14 -0
  147. package/dist/application/ports/inbound/ISectionPageLinkServicePort.js +1 -0
  148. package/dist/application/ports/inbound/ISectionServicePort.d.ts +14 -0
  149. package/dist/application/ports/inbound/ISectionServicePort.js +1 -0
  150. package/dist/application/ports/inbound/ISnippetServicePort.d.ts +14 -0
  151. package/dist/application/ports/inbound/ISnippetServicePort.js +1 -0
  152. package/dist/application/ports/inbound/index.d.ts +14 -0
  153. package/dist/application/ports/inbound/index.js +15 -0
  154. package/dist/application/ports/repository-ports/IRepositoryPortAsset.d.ts +5 -0
  155. package/dist/application/ports/repository-ports/IRepositoryPortAsset.js +1 -0
  156. package/dist/application/ports/repository-ports/IRepositoryPortAssetVersion.d.ts +5 -0
  157. package/dist/application/ports/repository-ports/IRepositoryPortAssetVersion.js +1 -0
  158. package/dist/application/ports/repository-ports/IRepositoryPortDocument.d.ts +10 -0
  159. package/dist/application/ports/repository-ports/IRepositoryPortDocument.js +1 -0
  160. package/dist/application/ports/repository-ports/IRepositoryPortDocumentGroup.d.ts +10 -0
  161. package/dist/application/ports/repository-ports/IRepositoryPortDocumentGroup.js +1 -0
  162. package/dist/application/ports/repository-ports/IRepositoryPortDocumentIndexEntry.d.ts +5 -0
  163. package/dist/application/ports/repository-ports/IRepositoryPortDocumentIndexEntry.js +1 -0
  164. package/dist/application/ports/repository-ports/IRepositoryPortDocumentSectionLink.d.ts +21 -0
  165. package/dist/application/ports/repository-ports/IRepositoryPortDocumentSectionLink.js +1 -0
  166. package/dist/application/ports/repository-ports/IRepositoryPortDocumentVersion.d.ts +10 -0
  167. package/dist/application/ports/repository-ports/IRepositoryPortDocumentVersion.js +1 -0
  168. package/dist/application/ports/repository-ports/IRepositoryPortEmbed.d.ts +10 -0
  169. package/dist/application/ports/repository-ports/IRepositoryPortEmbed.js +1 -0
  170. package/dist/application/ports/repository-ports/IRepositoryPortPage.d.ts +10 -0
  171. package/dist/application/ports/repository-ports/IRepositoryPortPage.js +1 -0
  172. package/dist/application/ports/repository-ports/IRepositoryPortPageEmbedLink.d.ts +10 -0
  173. package/dist/application/ports/repository-ports/IRepositoryPortPageEmbedLink.js +1 -0
  174. package/dist/application/ports/repository-ports/IRepositoryPortPageSnippetLink.d.ts +10 -0
  175. package/dist/application/ports/repository-ports/IRepositoryPortPageSnippetLink.js +1 -0
  176. package/dist/application/ports/repository-ports/IRepositoryPortPageVersion.d.ts +10 -0
  177. package/dist/application/ports/repository-ports/IRepositoryPortPageVersion.js +1 -0
  178. package/dist/application/ports/repository-ports/IRepositoryPortSection.d.ts +10 -0
  179. package/dist/application/ports/repository-ports/IRepositoryPortSection.js +1 -0
  180. package/dist/application/ports/repository-ports/IRepositoryPortSectionPageLink.d.ts +10 -0
  181. package/dist/application/ports/repository-ports/IRepositoryPortSectionPageLink.js +1 -0
  182. package/dist/application/ports/repository-ports/IRepositoryPortSnippet.d.ts +10 -0
  183. package/dist/application/ports/repository-ports/IRepositoryPortSnippet.js +1 -0
  184. package/dist/application/ports/repository-ports/index.d.ts +15 -0
  185. package/dist/application/ports/repository-ports/index.js +16 -0
  186. package/dist/application/services/documentCascadeDelete.d.ts +47 -0
  187. package/dist/application/services/documentCascadeDelete.js +202 -0
  188. package/dist/application/services/documentComposeSupport.d.ts +30 -0
  189. package/dist/application/services/documentComposeSupport.js +285 -0
  190. package/dist/application/services/documentIndexSupport.d.ts +7 -0
  191. package/dist/application/services/documentIndexSupport.js +28 -0
  192. package/dist/application/services/documentPublishSupport.d.ts +14 -0
  193. package/dist/application/services/documentPublishSupport.js +39 -0
  194. package/dist/application/services/documentRetrievalAiSupport.d.ts +21 -0
  195. package/dist/application/services/documentRetrievalAiSupport.js +114 -0
  196. package/dist/application/services/index.d.ts +14 -0
  197. package/dist/application/services/index.js +15 -0
  198. package/dist/application/services/service.asset.d.ts +25 -0
  199. package/dist/application/services/service.asset.js +58 -0
  200. package/dist/application/services/service.assetVersion.d.ts +25 -0
  201. package/dist/application/services/service.assetVersion.js +58 -0
  202. package/dist/application/services/service.document.d.ts +167 -0
  203. package/dist/application/services/service.document.js +2860 -0
  204. package/dist/application/services/service.documentGroup.d.ts +25 -0
  205. package/dist/application/services/service.documentGroup.js +58 -0
  206. package/dist/application/services/service.documentSectionLink.d.ts +27 -0
  207. package/dist/application/services/service.documentSectionLink.js +69 -0
  208. package/dist/application/services/service.documentVersion.d.ts +66 -0
  209. package/dist/application/services/service.documentVersion.js +715 -0
  210. package/dist/application/services/service.embed.d.ts +25 -0
  211. package/dist/application/services/service.embed.js +58 -0
  212. package/dist/application/services/service.page.d.ts +25 -0
  213. package/dist/application/services/service.page.js +58 -0
  214. package/dist/application/services/service.pageEmbedLink.d.ts +25 -0
  215. package/dist/application/services/service.pageEmbedLink.js +58 -0
  216. package/dist/application/services/service.pageSnippetLink.d.ts +25 -0
  217. package/dist/application/services/service.pageSnippetLink.js +58 -0
  218. package/dist/application/services/service.pageVersion.d.ts +31 -0
  219. package/dist/application/services/service.pageVersion.js +114 -0
  220. package/dist/application/services/service.section.d.ts +25 -0
  221. package/dist/application/services/service.section.js +58 -0
  222. package/dist/application/services/service.sectionPageLink.d.ts +25 -0
  223. package/dist/application/services/service.sectionPageLink.js +58 -0
  224. package/dist/application/services/service.snippet.d.ts +25 -0
  225. package/dist/application/services/service.snippet.js +58 -0
  226. package/dist/application/services/service.zod-validation.d.ts +11 -0
  227. package/dist/application/services/service.zod-validation.js +14 -0
  228. package/dist/domain/domain.d.ts +8 -0
  229. package/dist/domain/domain.js +9 -0
  230. package/dist/domain/dto/index.d.ts +1 -0
  231. package/dist/domain/dto/index.js +1 -0
  232. package/dist/domain/index.d.ts +4 -0
  233. package/dist/domain/index.js +4 -0
  234. package/dist/domain/models/asset/IbmAsset.d.ts +5 -0
  235. package/dist/domain/models/asset/IbmAsset.js +18 -0
  236. package/dist/domain/models/asset/index.d.ts +2 -0
  237. package/dist/domain/models/asset/index.js +2 -0
  238. package/dist/domain/models/asset/zod.schema.d.ts +39 -0
  239. package/dist/domain/models/asset/zod.schema.js +22 -0
  240. package/dist/domain/models/assetVersion/IbmAssetVersion.d.ts +6 -0
  241. package/dist/domain/models/assetVersion/IbmAssetVersion.js +25 -0
  242. package/dist/domain/models/assetVersion/index.d.ts +2 -0
  243. package/dist/domain/models/assetVersion/index.js +2 -0
  244. package/dist/domain/models/assetVersion/zod.schema.d.ts +71 -0
  245. package/dist/domain/models/assetVersion/zod.schema.js +37 -0
  246. package/dist/domain/models/document/IbmDocument.d.ts +8 -0
  247. package/dist/domain/models/document/IbmDocument.js +30 -0
  248. package/dist/domain/models/document/index.d.ts +2 -0
  249. package/dist/domain/models/document/index.js +2 -0
  250. package/dist/domain/models/document/zod.schema.d.ts +157 -0
  251. package/dist/domain/models/document/zod.schema.js +31 -0
  252. package/dist/domain/models/documentGroup/IbmDocumentGroup.d.ts +5 -0
  253. package/dist/domain/models/documentGroup/IbmDocumentGroup.js +17 -0
  254. package/dist/domain/models/documentGroup/index.d.ts +2 -0
  255. package/dist/domain/models/documentGroup/index.js +2 -0
  256. package/dist/domain/models/documentGroup/zod.schema.d.ts +27 -0
  257. package/dist/domain/models/documentGroup/zod.schema.js +22 -0
  258. package/dist/domain/models/documentIndexEntry/IbmDocumentIndexEntry.d.ts +6 -0
  259. package/dist/domain/models/documentIndexEntry/IbmDocumentIndexEntry.js +50 -0
  260. package/dist/domain/models/documentIndexEntry/index.d.ts +2 -0
  261. package/dist/domain/models/documentIndexEntry/index.js +2 -0
  262. package/dist/domain/models/documentIndexEntry/zod.schema.d.ts +112 -0
  263. package/dist/domain/models/documentIndexEntry/zod.schema.js +55 -0
  264. package/dist/domain/models/documentSectionLink/IbmDocumentSectionLink.d.ts +5 -0
  265. package/dist/domain/models/documentSectionLink/IbmDocumentSectionLink.js +23 -0
  266. package/dist/domain/models/documentSectionLink/index.d.ts +2 -0
  267. package/dist/domain/models/documentSectionLink/index.js +2 -0
  268. package/dist/domain/models/documentSectionLink/zod.schema.d.ts +65 -0
  269. package/dist/domain/models/documentSectionLink/zod.schema.js +80 -0
  270. package/dist/domain/models/documentVersion/IbmDocumentVersion.d.ts +8 -0
  271. package/dist/domain/models/documentVersion/IbmDocumentVersion.js +25 -0
  272. package/dist/domain/models/documentVersion/index.d.ts +2 -0
  273. package/dist/domain/models/documentVersion/index.js +2 -0
  274. package/dist/domain/models/documentVersion/zod.schema.d.ts +75 -0
  275. package/dist/domain/models/documentVersion/zod.schema.js +26 -0
  276. package/dist/domain/models/embed/IbmEmbed.d.ts +5 -0
  277. package/dist/domain/models/embed/IbmEmbed.js +19 -0
  278. package/dist/domain/models/embed/index.d.ts +2 -0
  279. package/dist/domain/models/embed/index.js +2 -0
  280. package/dist/domain/models/embed/zod.schema.d.ts +39 -0
  281. package/dist/domain/models/embed/zod.schema.js +24 -0
  282. package/dist/domain/models/index.d.ts +15 -0
  283. package/dist/domain/models/index.js +16 -0
  284. package/dist/domain/models/page/IbmPage.d.ts +8 -0
  285. package/dist/domain/models/page/IbmPage.js +20 -0
  286. package/dist/domain/models/page/index.d.ts +2 -0
  287. package/dist/domain/models/page/index.js +2 -0
  288. package/dist/domain/models/page/zod.schema.d.ts +57 -0
  289. package/dist/domain/models/page/zod.schema.js +21 -0
  290. package/dist/domain/models/pageEmbedLink/IbmPageEmbedLink.d.ts +5 -0
  291. package/dist/domain/models/pageEmbedLink/IbmPageEmbedLink.js +14 -0
  292. package/dist/domain/models/pageEmbedLink/index.d.ts +2 -0
  293. package/dist/domain/models/pageEmbedLink/index.js +2 -0
  294. package/dist/domain/models/pageEmbedLink/zod.schema.d.ts +21 -0
  295. package/dist/domain/models/pageEmbedLink/zod.schema.js +19 -0
  296. package/dist/domain/models/pageSnippetLink/IbmPageSnippetLink.d.ts +5 -0
  297. package/dist/domain/models/pageSnippetLink/IbmPageSnippetLink.js +15 -0
  298. package/dist/domain/models/pageSnippetLink/index.d.ts +2 -0
  299. package/dist/domain/models/pageSnippetLink/index.js +2 -0
  300. package/dist/domain/models/pageSnippetLink/zod.schema.d.ts +23 -0
  301. package/dist/domain/models/pageSnippetLink/zod.schema.js +20 -0
  302. package/dist/domain/models/pageVersion/IbmPageVersion.d.ts +8 -0
  303. package/dist/domain/models/pageVersion/IbmPageVersion.js +23 -0
  304. package/dist/domain/models/pageVersion/index.d.ts +2 -0
  305. package/dist/domain/models/pageVersion/index.js +2 -0
  306. package/dist/domain/models/pageVersion/zod.schema.d.ts +77 -0
  307. package/dist/domain/models/pageVersion/zod.schema.js +24 -0
  308. package/dist/domain/models/section/IbmSection.d.ts +8 -0
  309. package/dist/domain/models/section/IbmSection.js +20 -0
  310. package/dist/domain/models/section/index.d.ts +2 -0
  311. package/dist/domain/models/section/index.js +2 -0
  312. package/dist/domain/models/section/zod.schema.d.ts +57 -0
  313. package/dist/domain/models/section/zod.schema.js +21 -0
  314. package/dist/domain/models/sectionPageLink/IbmSectionPageLink.d.ts +5 -0
  315. package/dist/domain/models/sectionPageLink/IbmSectionPageLink.js +18 -0
  316. package/dist/domain/models/sectionPageLink/index.d.ts +2 -0
  317. package/dist/domain/models/sectionPageLink/index.js +2 -0
  318. package/dist/domain/models/sectionPageLink/zod.schema.d.ts +29 -0
  319. package/dist/domain/models/sectionPageLink/zod.schema.js +23 -0
  320. package/dist/domain/models/snippet/IbmSnippet.d.ts +5 -0
  321. package/dist/domain/models/snippet/IbmSnippet.js +17 -0
  322. package/dist/domain/models/snippet/index.d.ts +2 -0
  323. package/dist/domain/models/snippet/index.js +2 -0
  324. package/dist/domain/models/snippet/zod.schema.d.ts +27 -0
  325. package/dist/domain/models/snippet/zod.schema.js +22 -0
  326. package/dist/domain/types.d.ts +1 -0
  327. package/dist/domain/types.js +1 -0
  328. package/dist/index.d.ts +3 -0
  329. package/dist/index.js +3 -0
  330. package/dist/infrastructure/db/asset/drizzle/drizzle.mapper.asset.d.ts +31 -0
  331. package/dist/infrastructure/db/asset/drizzle/drizzle.mapper.asset.js +6 -0
  332. package/dist/infrastructure/db/asset/drizzle/drizzle.schema.asset.d.ts +250 -0
  333. package/dist/infrastructure/db/asset/drizzle/drizzle.schema.asset.js +24 -0
  334. package/dist/infrastructure/db/asset/drizzle/drizzle.schema.asset.sqlite.d.ts +272 -0
  335. package/dist/infrastructure/db/asset/drizzle/drizzle.schema.asset.sqlite.js +25 -0
  336. package/dist/infrastructure/db/asset/drizzle/index.d.ts +2 -0
  337. package/dist/infrastructure/db/asset/drizzle/index.js +2 -0
  338. package/dist/infrastructure/db/assetVersion/drizzle/drizzle.mapper.assetVersion.d.ts +45 -0
  339. package/dist/infrastructure/db/assetVersion/drizzle/drizzle.mapper.assetVersion.js +6 -0
  340. package/dist/infrastructure/db/assetVersion/drizzle/drizzle.schema.assetVersion.d.ts +371 -0
  341. package/dist/infrastructure/db/assetVersion/drizzle/drizzle.schema.assetVersion.js +30 -0
  342. package/dist/infrastructure/db/assetVersion/drizzle/drizzle.schema.assetVersion.sqlite.d.ts +397 -0
  343. package/dist/infrastructure/db/assetVersion/drizzle/drizzle.schema.assetVersion.sqlite.js +31 -0
  344. package/dist/infrastructure/db/assetVersion/drizzle/index.d.ts +2 -0
  345. package/dist/infrastructure/db/assetVersion/drizzle/index.js +2 -0
  346. package/dist/infrastructure/db/document/drizzle/drizzle.mapper.document.d.ts +98 -0
  347. package/dist/infrastructure/db/document/drizzle/drizzle.mapper.document.js +6 -0
  348. package/dist/infrastructure/db/document/drizzle/drizzle.schema.document.d.ts +394 -0
  349. package/dist/infrastructure/db/document/drizzle/drizzle.schema.document.js +34 -0
  350. package/dist/infrastructure/db/document/drizzle/drizzle.schema.document.sqlite.d.ts +424 -0
  351. package/dist/infrastructure/db/document/drizzle/drizzle.schema.document.sqlite.js +35 -0
  352. package/dist/infrastructure/db/document/drizzle/index.d.ts +2 -0
  353. package/dist/infrastructure/db/document/drizzle/index.js +2 -0
  354. package/dist/infrastructure/db/documentGroup/drizzle/drizzle.mapper.documentGroup.d.ts +29 -0
  355. package/dist/infrastructure/db/documentGroup/drizzle/drizzle.mapper.documentGroup.js +6 -0
  356. package/dist/infrastructure/db/documentGroup/drizzle/drizzle.schema.documentGroup.d.ts +233 -0
  357. package/dist/infrastructure/db/documentGroup/drizzle/drizzle.schema.documentGroup.js +22 -0
  358. package/dist/infrastructure/db/documentGroup/drizzle/drizzle.schema.documentGroup.sqlite.d.ts +253 -0
  359. package/dist/infrastructure/db/documentGroup/drizzle/drizzle.schema.documentGroup.sqlite.js +23 -0
  360. package/dist/infrastructure/db/documentGroup/drizzle/index.d.ts +2 -0
  361. package/dist/infrastructure/db/documentGroup/drizzle/index.js +2 -0
  362. package/dist/infrastructure/db/documentIndexEntry/drizzle/drizzle.mapper.documentIndexEntry.d.ts +95 -0
  363. package/dist/infrastructure/db/documentIndexEntry/drizzle/drizzle.mapper.documentIndexEntry.js +12 -0
  364. package/dist/infrastructure/db/documentIndexEntry/drizzle/drizzle.schema.documentIndexEntry.d.ts +792 -0
  365. package/dist/infrastructure/db/documentIndexEntry/drizzle/drizzle.schema.documentIndexEntry.js +57 -0
  366. package/dist/infrastructure/db/documentIndexEntry/drizzle/drizzle.schema.documentIndexEntry.sqlite.d.ts +854 -0
  367. package/dist/infrastructure/db/documentIndexEntry/drizzle/drizzle.schema.documentIndexEntry.sqlite.js +58 -0
  368. package/dist/infrastructure/db/documentIndexEntry/drizzle/index.d.ts +2 -0
  369. package/dist/infrastructure/db/documentIndexEntry/drizzle/index.js +2 -0
  370. package/dist/infrastructure/db/documentSectionLink/drizzle/drizzle.mapper.documentSectionLink.d.ts +41 -0
  371. package/dist/infrastructure/db/documentSectionLink/drizzle/drizzle.mapper.documentSectionLink.js +12 -0
  372. package/dist/infrastructure/db/documentSectionLink/drizzle/drizzle.schema.documentSectionLink.d.ts +335 -0
  373. package/dist/infrastructure/db/documentSectionLink/drizzle/drizzle.schema.documentSectionLink.js +29 -0
  374. package/dist/infrastructure/db/documentSectionLink/drizzle/drizzle.schema.documentSectionLink.sqlite.d.ts +357 -0
  375. package/dist/infrastructure/db/documentSectionLink/drizzle/drizzle.schema.documentSectionLink.sqlite.js +30 -0
  376. package/dist/infrastructure/db/documentSectionLink/drizzle/index.d.ts +2 -0
  377. package/dist/infrastructure/db/documentSectionLink/drizzle/index.js +2 -0
  378. package/dist/infrastructure/db/documentVersion/drizzle/drizzle.mapper.documentVersion.d.ts +54 -0
  379. package/dist/infrastructure/db/documentVersion/drizzle/drizzle.mapper.documentVersion.js +7 -0
  380. package/dist/infrastructure/db/documentVersion/drizzle/drizzle.schema.documentVersion.d.ts +301 -0
  381. package/dist/infrastructure/db/documentVersion/drizzle/drizzle.schema.documentVersion.js +30 -0
  382. package/dist/infrastructure/db/documentVersion/drizzle/drizzle.schema.documentVersion.sqlite.d.ts +323 -0
  383. package/dist/infrastructure/db/documentVersion/drizzle/drizzle.schema.documentVersion.sqlite.js +27 -0
  384. package/dist/infrastructure/db/documentVersion/drizzle/index.d.ts +2 -0
  385. package/dist/infrastructure/db/documentVersion/drizzle/index.js +2 -0
  386. package/dist/infrastructure/db/domain-naming.d.ts +2 -0
  387. package/dist/infrastructure/db/domain-naming.js +57 -0
  388. package/dist/infrastructure/db/embed/drizzle/drizzle.mapper.embed.d.ts +33 -0
  389. package/dist/infrastructure/db/embed/drizzle/drizzle.mapper.embed.js +5 -0
  390. package/dist/infrastructure/db/embed/drizzle/drizzle.schema.embed.d.ts +267 -0
  391. package/dist/infrastructure/db/embed/drizzle/drizzle.schema.embed.js +24 -0
  392. package/dist/infrastructure/db/embed/drizzle/drizzle.schema.embed.sqlite.d.ts +291 -0
  393. package/dist/infrastructure/db/embed/drizzle/drizzle.schema.embed.sqlite.js +25 -0
  394. package/dist/infrastructure/db/embed/drizzle/index.d.ts +2 -0
  395. package/dist/infrastructure/db/embed/drizzle/index.js +2 -0
  396. package/dist/infrastructure/db/page/drizzle/drizzle.mapper.page.d.ts +44 -0
  397. package/dist/infrastructure/db/page/drizzle/drizzle.mapper.page.js +5 -0
  398. package/dist/infrastructure/db/page/drizzle/drizzle.schema.page.d.ts +218 -0
  399. package/dist/infrastructure/db/page/drizzle/drizzle.schema.page.js +20 -0
  400. package/dist/infrastructure/db/page/drizzle/drizzle.schema.page.sqlite.d.ts +234 -0
  401. package/dist/infrastructure/db/page/drizzle/drizzle.schema.page.sqlite.js +21 -0
  402. package/dist/infrastructure/db/page/drizzle/index.d.ts +2 -0
  403. package/dist/infrastructure/db/page/drizzle/index.js +2 -0
  404. package/dist/infrastructure/db/pageEmbedLink/drizzle/drizzle.mapper.pageEmbedLink.d.ts +23 -0
  405. package/dist/infrastructure/db/pageEmbedLink/drizzle/drizzle.mapper.pageEmbedLink.js +5 -0
  406. package/dist/infrastructure/db/pageEmbedLink/drizzle/drizzle.schema.pageEmbedLink.d.ts +180 -0
  407. package/dist/infrastructure/db/pageEmbedLink/drizzle/drizzle.schema.pageEmbedLink.js +18 -0
  408. package/dist/infrastructure/db/pageEmbedLink/drizzle/drizzle.schema.pageEmbedLink.sqlite.d.ts +194 -0
  409. package/dist/infrastructure/db/pageEmbedLink/drizzle/drizzle.schema.pageEmbedLink.sqlite.js +19 -0
  410. package/dist/infrastructure/db/pageEmbedLink/drizzle/index.d.ts +2 -0
  411. package/dist/infrastructure/db/pageEmbedLink/drizzle/index.js +2 -0
  412. package/dist/infrastructure/db/pageSnippetLink/drizzle/drizzle.mapper.pageSnippetLink.d.ts +25 -0
  413. package/dist/infrastructure/db/pageSnippetLink/drizzle/drizzle.mapper.pageSnippetLink.js +7 -0
  414. package/dist/infrastructure/db/pageSnippetLink/drizzle/drizzle.schema.pageSnippetLink.d.ts +197 -0
  415. package/dist/infrastructure/db/pageSnippetLink/drizzle/drizzle.schema.pageSnippetLink.js +19 -0
  416. package/dist/infrastructure/db/pageSnippetLink/drizzle/drizzle.schema.pageSnippetLink.sqlite.d.ts +211 -0
  417. package/dist/infrastructure/db/pageSnippetLink/drizzle/drizzle.schema.pageSnippetLink.sqlite.js +20 -0
  418. package/dist/infrastructure/db/pageSnippetLink/drizzle/index.d.ts +2 -0
  419. package/dist/infrastructure/db/pageSnippetLink/drizzle/index.js +2 -0
  420. package/dist/infrastructure/db/pageVersion/drizzle/drizzle.mapper.pageVersion.d.ts +50 -0
  421. package/dist/infrastructure/db/pageVersion/drizzle/drizzle.mapper.pageVersion.js +6 -0
  422. package/dist/infrastructure/db/pageVersion/drizzle/drizzle.schema.pageVersion.d.ts +271 -0
  423. package/dist/infrastructure/db/pageVersion/drizzle/drizzle.schema.pageVersion.js +23 -0
  424. package/dist/infrastructure/db/pageVersion/drizzle/drizzle.schema.pageVersion.sqlite.d.ts +289 -0
  425. package/dist/infrastructure/db/pageVersion/drizzle/drizzle.schema.pageVersion.sqlite.js +24 -0
  426. package/dist/infrastructure/db/pageVersion/drizzle/index.d.ts +2 -0
  427. package/dist/infrastructure/db/pageVersion/drizzle/index.js +2 -0
  428. package/dist/infrastructure/db/section/drizzle/drizzle.mapper.section.d.ts +44 -0
  429. package/dist/infrastructure/db/section/drizzle/drizzle.mapper.section.js +5 -0
  430. package/dist/infrastructure/db/section/drizzle/drizzle.schema.section.d.ts +216 -0
  431. package/dist/infrastructure/db/section/drizzle/drizzle.schema.section.js +20 -0
  432. package/dist/infrastructure/db/section/drizzle/drizzle.schema.section.sqlite.d.ts +234 -0
  433. package/dist/infrastructure/db/section/drizzle/drizzle.schema.section.sqlite.js +21 -0
  434. package/dist/infrastructure/db/section/drizzle/index.d.ts +2 -0
  435. package/dist/infrastructure/db/section/drizzle/index.js +2 -0
  436. package/dist/infrastructure/db/sectionPageLink/drizzle/drizzle.mapper.sectionPageLink.d.ts +31 -0
  437. package/dist/infrastructure/db/sectionPageLink/drizzle/drizzle.mapper.sectionPageLink.js +7 -0
  438. package/dist/infrastructure/db/sectionPageLink/drizzle/drizzle.schema.sectionPageLink.d.ts +248 -0
  439. package/dist/infrastructure/db/sectionPageLink/drizzle/drizzle.schema.sectionPageLink.js +22 -0
  440. package/dist/infrastructure/db/sectionPageLink/drizzle/drizzle.schema.sectionPageLink.sqlite.d.ts +264 -0
  441. package/dist/infrastructure/db/sectionPageLink/drizzle/drizzle.schema.sectionPageLink.sqlite.js +23 -0
  442. package/dist/infrastructure/db/sectionPageLink/drizzle/index.d.ts +2 -0
  443. package/dist/infrastructure/db/sectionPageLink/drizzle/index.js +2 -0
  444. package/dist/infrastructure/db/snippet/drizzle/drizzle.mapper.snippet.d.ts +29 -0
  445. package/dist/infrastructure/db/snippet/drizzle/drizzle.mapper.snippet.js +5 -0
  446. package/dist/infrastructure/db/snippet/drizzle/drizzle.schema.snippet.d.ts +233 -0
  447. package/dist/infrastructure/db/snippet/drizzle/drizzle.schema.snippet.js +22 -0
  448. package/dist/infrastructure/db/snippet/drizzle/drizzle.schema.snippet.sqlite.d.ts +253 -0
  449. package/dist/infrastructure/db/snippet/drizzle/drizzle.schema.snippet.sqlite.js +23 -0
  450. package/dist/infrastructure/db/snippet/drizzle/index.d.ts +2 -0
  451. package/dist/infrastructure/db/snippet/drizzle/index.js +2 -0
  452. package/dist/infrastructure/repositories/asset/drizzle/AssetDrizzleRepo.d.ts +12 -0
  453. package/dist/infrastructure/repositories/asset/drizzle/AssetDrizzleRepo.js +8 -0
  454. package/dist/infrastructure/repositories/asset/drizzle/AssetDrizzleSqliteRepo.d.ts +12 -0
  455. package/dist/infrastructure/repositories/asset/drizzle/AssetDrizzleSqliteRepo.js +8 -0
  456. package/dist/infrastructure/repositories/assetVersion/drizzle/AssetVersionDrizzleRepo.d.ts +12 -0
  457. package/dist/infrastructure/repositories/assetVersion/drizzle/AssetVersionDrizzleRepo.js +8 -0
  458. package/dist/infrastructure/repositories/assetVersion/drizzle/AssetVersionDrizzleSqliteRepo.d.ts +12 -0
  459. package/dist/infrastructure/repositories/assetVersion/drizzle/AssetVersionDrizzleSqliteRepo.js +12 -0
  460. package/dist/infrastructure/repositories/document/drizzle/DocumentDrizzleRepo.d.ts +12 -0
  461. package/dist/infrastructure/repositories/document/drizzle/DocumentDrizzleRepo.js +8 -0
  462. package/dist/infrastructure/repositories/document/drizzle/DocumentDrizzleSqliteRepo.d.ts +12 -0
  463. package/dist/infrastructure/repositories/document/drizzle/DocumentDrizzleSqliteRepo.js +8 -0
  464. package/dist/infrastructure/repositories/documentGroup/drizzle/DocumentGroupDrizzleRepo.d.ts +12 -0
  465. package/dist/infrastructure/repositories/documentGroup/drizzle/DocumentGroupDrizzleRepo.js +8 -0
  466. package/dist/infrastructure/repositories/documentGroup/drizzle/DocumentGroupDrizzleSqliteRepo.d.ts +12 -0
  467. package/dist/infrastructure/repositories/documentGroup/drizzle/DocumentGroupDrizzleSqliteRepo.js +8 -0
  468. package/dist/infrastructure/repositories/documentIndexEntry/drizzle/DocumentIndexEntryDrizzleRepo.d.ts +12 -0
  469. package/dist/infrastructure/repositories/documentIndexEntry/drizzle/DocumentIndexEntryDrizzleRepo.js +12 -0
  470. package/dist/infrastructure/repositories/documentIndexEntry/drizzle/DocumentIndexEntryDrizzleSqliteRepo.d.ts +12 -0
  471. package/dist/infrastructure/repositories/documentIndexEntry/drizzle/DocumentIndexEntryDrizzleSqliteRepo.js +12 -0
  472. package/dist/infrastructure/repositories/documentSectionLink/drizzle/DocumentSectionLinkDrizzleRepo.d.ts +15 -0
  473. package/dist/infrastructure/repositories/documentSectionLink/drizzle/DocumentSectionLinkDrizzleRepo.js +41 -0
  474. package/dist/infrastructure/repositories/documentSectionLink/drizzle/DocumentSectionLinkDrizzleSqliteRepo.d.ts +15 -0
  475. package/dist/infrastructure/repositories/documentSectionLink/drizzle/DocumentSectionLinkDrizzleSqliteRepo.js +40 -0
  476. package/dist/infrastructure/repositories/documentVersion/drizzle/DocumentVersionDrizzleRepo.d.ts +12 -0
  477. package/dist/infrastructure/repositories/documentVersion/drizzle/DocumentVersionDrizzleRepo.js +8 -0
  478. package/dist/infrastructure/repositories/documentVersion/drizzle/DocumentVersionDrizzleSqliteRepo.d.ts +12 -0
  479. package/dist/infrastructure/repositories/documentVersion/drizzle/DocumentVersionDrizzleSqliteRepo.js +8 -0
  480. package/dist/infrastructure/repositories/embed/drizzle/EmbedDrizzleRepo.d.ts +12 -0
  481. package/dist/infrastructure/repositories/embed/drizzle/EmbedDrizzleRepo.js +8 -0
  482. package/dist/infrastructure/repositories/embed/drizzle/EmbedDrizzleSqliteRepo.d.ts +12 -0
  483. package/dist/infrastructure/repositories/embed/drizzle/EmbedDrizzleSqliteRepo.js +8 -0
  484. package/dist/infrastructure/repositories/index.d.ts +30 -0
  485. package/dist/infrastructure/repositories/index.js +31 -0
  486. package/dist/infrastructure/repositories/page/drizzle/PageDrizzleRepo.d.ts +12 -0
  487. package/dist/infrastructure/repositories/page/drizzle/PageDrizzleRepo.js +8 -0
  488. package/dist/infrastructure/repositories/page/drizzle/PageDrizzleSqliteRepo.d.ts +12 -0
  489. package/dist/infrastructure/repositories/page/drizzle/PageDrizzleSqliteRepo.js +8 -0
  490. package/dist/infrastructure/repositories/pageEmbedLink/drizzle/PageEmbedLinkDrizzleRepo.d.ts +12 -0
  491. package/dist/infrastructure/repositories/pageEmbedLink/drizzle/PageEmbedLinkDrizzleRepo.js +8 -0
  492. package/dist/infrastructure/repositories/pageEmbedLink/drizzle/PageEmbedLinkDrizzleSqliteRepo.d.ts +12 -0
  493. package/dist/infrastructure/repositories/pageEmbedLink/drizzle/PageEmbedLinkDrizzleSqliteRepo.js +8 -0
  494. package/dist/infrastructure/repositories/pageSnippetLink/drizzle/PageSnippetLinkDrizzleRepo.d.ts +12 -0
  495. package/dist/infrastructure/repositories/pageSnippetLink/drizzle/PageSnippetLinkDrizzleRepo.js +8 -0
  496. package/dist/infrastructure/repositories/pageSnippetLink/drizzle/PageSnippetLinkDrizzleSqliteRepo.d.ts +12 -0
  497. package/dist/infrastructure/repositories/pageSnippetLink/drizzle/PageSnippetLinkDrizzleSqliteRepo.js +8 -0
  498. package/dist/infrastructure/repositories/pageVersion/drizzle/PageVersionDrizzleRepo.d.ts +12 -0
  499. package/dist/infrastructure/repositories/pageVersion/drizzle/PageVersionDrizzleRepo.js +8 -0
  500. package/dist/infrastructure/repositories/pageVersion/drizzle/PageVersionDrizzleSqliteRepo.d.ts +12 -0
  501. package/dist/infrastructure/repositories/pageVersion/drizzle/PageVersionDrizzleSqliteRepo.js +8 -0
  502. package/dist/infrastructure/repositories/section/drizzle/SectionDrizzleRepo.d.ts +12 -0
  503. package/dist/infrastructure/repositories/section/drizzle/SectionDrizzleRepo.js +8 -0
  504. package/dist/infrastructure/repositories/section/drizzle/SectionDrizzleSqliteRepo.d.ts +12 -0
  505. package/dist/infrastructure/repositories/section/drizzle/SectionDrizzleSqliteRepo.js +8 -0
  506. package/dist/infrastructure/repositories/sectionPageLink/drizzle/SectionPageLinkDrizzleRepo.d.ts +12 -0
  507. package/dist/infrastructure/repositories/sectionPageLink/drizzle/SectionPageLinkDrizzleRepo.js +8 -0
  508. package/dist/infrastructure/repositories/sectionPageLink/drizzle/SectionPageLinkDrizzleSqliteRepo.d.ts +12 -0
  509. package/dist/infrastructure/repositories/sectionPageLink/drizzle/SectionPageLinkDrizzleSqliteRepo.js +8 -0
  510. package/dist/infrastructure/repositories/snippet/drizzle/SnippetDrizzleRepo.d.ts +12 -0
  511. package/dist/infrastructure/repositories/snippet/drizzle/SnippetDrizzleRepo.js +8 -0
  512. package/dist/infrastructure/repositories/snippet/drizzle/SnippetDrizzleSqliteRepo.d.ts +12 -0
  513. package/dist/infrastructure/repositories/snippet/drizzle/SnippetDrizzleSqliteRepo.js +8 -0
  514. package/dist/public/factories/index.d.ts +2 -0
  515. package/dist/public/factories/index.js +2 -0
  516. package/dist/public/index.d.ts +5 -0
  517. package/dist/public/index.js +5 -0
  518. package/dist/public/models/index.d.ts +3 -0
  519. package/dist/public/models/index.js +4 -0
  520. package/dist/public/ports/index.d.ts +1 -0
  521. package/dist/public/ports/index.js +2 -0
  522. package/dist/public/repository-ports/index.d.ts +1 -0
  523. package/dist/public/repository-ports/index.js +2 -0
  524. package/dist/public/services/index.d.ts +1 -0
  525. package/dist/public/services/index.js +2 -0
  526. package/dist/types.d.ts +1 -0
  527. package/dist/types.js +1 -0
  528. package/package.json +84 -0
@@ -0,0 +1,80 @@
1
+ import { z } from 'zod';
2
+ import { IbmZodSchema } from '@aopslab/xf-bm';
3
+ const validateKindPayload = (value, ctx) => {
4
+ if (value.kind === 'section') {
5
+ if (!value.sectionId) {
6
+ ctx.addIssue({
7
+ code: z.ZodIssueCode.custom,
8
+ message: 'sectionId is required when kind is section',
9
+ path: ['sectionId'],
10
+ });
11
+ }
12
+ if (value.pageVersionId) {
13
+ ctx.addIssue({
14
+ code: z.ZodIssueCode.custom,
15
+ message: 'pageVersionId must be empty when kind is section',
16
+ path: ['pageVersionId'],
17
+ });
18
+ }
19
+ }
20
+ if (value.kind === 'page') {
21
+ if (!value.pageVersionId) {
22
+ ctx.addIssue({
23
+ code: z.ZodIssueCode.custom,
24
+ message: 'pageVersionId is required when kind is page',
25
+ path: ['pageVersionId'],
26
+ });
27
+ }
28
+ if (value.sectionId) {
29
+ ctx.addIssue({
30
+ code: z.ZodIssueCode.custom,
31
+ message: 'sectionId must be empty when kind is page',
32
+ path: ['sectionId'],
33
+ });
34
+ }
35
+ }
36
+ };
37
+ const documentSectionLinkZodSchemaBase = z
38
+ .object({
39
+ ...IbmZodSchema.shape,
40
+ documentVersionId: z.string(),
41
+ kind: z.enum(['section', 'page']),
42
+ sectionId: z.string().optional(),
43
+ pageVersionId: z.string().optional(),
44
+ parentLinkId: z.string().nullable().optional(),
45
+ position: z.number().int(),
46
+ depth: z.number().int().optional(),
47
+ titleOverride: z.string().optional(),
48
+ titleVisible: z.boolean().optional(),
49
+ numbering: z.string().optional(),
50
+ pageBreakBefore: z.boolean().optional(),
51
+ pageBreakAfter: z.boolean().optional(),
52
+ directives: z.unknown().optional(),
53
+ createdBy: z.string().optional(),
54
+ updatedBy: z.string().optional(),
55
+ });
56
+ export const documentSectionLinkZodSchema = documentSectionLinkZodSchemaBase.superRefine((value, ctx) => {
57
+ validateKindPayload(value, ctx);
58
+ });
59
+ /* Insert schema */
60
+ export const documentSectionLinkZodSchemaInsert = documentSectionLinkZodSchemaBase
61
+ .omit({
62
+ id: true,
63
+ createdAt: true,
64
+ updatedAt: true,
65
+ tenantId: true,
66
+ })
67
+ .strict()
68
+ .superRefine((value, ctx) => {
69
+ validateKindPayload(value, ctx);
70
+ });
71
+ /* Patch schema */
72
+ export const documentSectionLinkZodSchemaPatch = documentSectionLinkZodSchemaBase
73
+ .omit({
74
+ id: true,
75
+ createdAt: true,
76
+ updatedAt: true,
77
+ tenantId: true,
78
+ })
79
+ .partial()
80
+ .strict();
@@ -0,0 +1,8 @@
1
+ import z from 'zod';
2
+ import { DotNestedMlgKeys } from '@aopslab/xf-bm';
3
+ import { documentVersionZodSchema, documentVersionZodSchemaInsert } from './zod.schema.js';
4
+ export type IbmDocumentVersion = z.infer<typeof documentVersionZodSchema>;
5
+ export type IbmDocumentVersionInsert = z.infer<typeof documentVersionZodSchemaInsert>;
6
+ export declare const ibmDocumentVersionKeys: readonly ["id", "tenantId", "createdAt", "updatedAt", "documentId", "version", "label", "status", "title", "summary", "releaseNotes", "releaseNotesMl", "isCurrent", "basedOnVersionId", "publishedAt", "createdBy", "updatedBy"];
7
+ export type BmDocumentVersionMlgKeys = DotNestedMlgKeys<IbmDocumentVersion>;
8
+ export declare const bmDocumentVersionMlgFields: "releaseNotesMl"[];
@@ -0,0 +1,25 @@
1
+ import { mlgFieldsOf } from '@aopslab/xf-bm';
2
+ export const ibmDocumentVersionKeys = [
3
+ 'id',
4
+ 'tenantId',
5
+ 'createdAt',
6
+ 'updatedAt',
7
+ 'documentId',
8
+ 'version',
9
+ 'label',
10
+ 'status',
11
+ 'title',
12
+ 'summary',
13
+ 'releaseNotes',
14
+ 'releaseNotesMl',
15
+ 'isCurrent',
16
+ 'basedOnVersionId',
17
+ 'publishedAt',
18
+ 'createdBy',
19
+ 'updatedBy',
20
+ ];
21
+ const _verifyKeys = true;
22
+ void _verifyKeys;
23
+ export const bmDocumentVersionMlgFields = mlgFieldsOf()('releaseNotesMl');
24
+ const _verifyMlgFields = true;
25
+ void _verifyMlgFields;
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmDocumentVersion.js';
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmDocumentVersion.js';
@@ -0,0 +1,75 @@
1
+ import { z } from 'zod';
2
+ export declare const documentVersionZodSchema: z.ZodObject<{
3
+ documentId: z.ZodString;
4
+ version: z.ZodNumber;
5
+ label: z.ZodOptional<z.ZodString>;
6
+ status: z.ZodEnum<{
7
+ draft: "draft";
8
+ published: "published";
9
+ archived: "archived";
10
+ }>;
11
+ title: z.ZodOptional<z.ZodString>;
12
+ summary: z.ZodOptional<z.ZodString>;
13
+ releaseNotes: z.ZodOptional<z.ZodString>;
14
+ releaseNotesMl: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
15
+ en: z.ZodOptional<z.ZodString>;
16
+ tr: z.ZodOptional<z.ZodString>;
17
+ de: z.ZodOptional<z.ZodString>;
18
+ fr: z.ZodOptional<z.ZodString>;
19
+ it: z.ZodOptional<z.ZodString>;
20
+ es: z.ZodOptional<z.ZodString>;
21
+ pt: z.ZodOptional<z.ZodString>;
22
+ nl: z.ZodOptional<z.ZodString>;
23
+ pl: z.ZodOptional<z.ZodString>;
24
+ ro: z.ZodOptional<z.ZodString>;
25
+ ru: z.ZodOptional<z.ZodString>;
26
+ sv: z.ZodOptional<z.ZodString>;
27
+ no: z.ZodOptional<z.ZodString>;
28
+ da: z.ZodOptional<z.ZodString>;
29
+ fi: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$catchall<z.ZodOptional<z.ZodString>>>, z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>]>>;
31
+ isCurrent: z.ZodOptional<z.ZodBoolean>;
32
+ basedOnVersionId: z.ZodOptional<z.ZodString>;
33
+ publishedAt: z.ZodOptional<z.ZodDate>;
34
+ createdBy: z.ZodOptional<z.ZodString>;
35
+ updatedBy: z.ZodOptional<z.ZodString>;
36
+ createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
37
+ updatedAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
38
+ id: z.ZodOptional<z.ZodString>;
39
+ tenantId: z.ZodOptional<z.ZodString>;
40
+ }, z.core.$strip>;
41
+ export declare const documentVersionZodSchemaInsert: z.ZodObject<{
42
+ title: z.ZodOptional<z.ZodString>;
43
+ summary: z.ZodOptional<z.ZodString>;
44
+ status: z.ZodEnum<{
45
+ draft: "draft";
46
+ published: "published";
47
+ archived: "archived";
48
+ }>;
49
+ createdBy: z.ZodOptional<z.ZodString>;
50
+ updatedBy: z.ZodOptional<z.ZodString>;
51
+ documentId: z.ZodString;
52
+ version: z.ZodNumber;
53
+ label: z.ZodOptional<z.ZodString>;
54
+ releaseNotes: z.ZodOptional<z.ZodString>;
55
+ releaseNotesMl: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
56
+ en: z.ZodOptional<z.ZodString>;
57
+ tr: z.ZodOptional<z.ZodString>;
58
+ de: z.ZodOptional<z.ZodString>;
59
+ fr: z.ZodOptional<z.ZodString>;
60
+ it: z.ZodOptional<z.ZodString>;
61
+ es: z.ZodOptional<z.ZodString>;
62
+ pt: z.ZodOptional<z.ZodString>;
63
+ nl: z.ZodOptional<z.ZodString>;
64
+ pl: z.ZodOptional<z.ZodString>;
65
+ ro: z.ZodOptional<z.ZodString>;
66
+ ru: z.ZodOptional<z.ZodString>;
67
+ sv: z.ZodOptional<z.ZodString>;
68
+ no: z.ZodOptional<z.ZodString>;
69
+ da: z.ZodOptional<z.ZodString>;
70
+ fi: z.ZodOptional<z.ZodString>;
71
+ }, z.core.$catchall<z.ZodOptional<z.ZodString>>>, z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>]>>;
72
+ isCurrent: z.ZodOptional<z.ZodBoolean>;
73
+ basedOnVersionId: z.ZodOptional<z.ZodString>;
74
+ publishedAt: z.ZodOptional<z.ZodDate>;
75
+ }, z.core.$strict>;
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ import { IbmZodSchema, mlgZodSchemaUnion } from '@aopslab/xf-bm';
3
+ export const documentVersionZodSchema = z
4
+ .object({
5
+ ...IbmZodSchema.shape,
6
+ documentId: z.string(),
7
+ version: z.number().int(),
8
+ label: z.string().optional(),
9
+ status: z.enum(['draft', 'published', 'archived']),
10
+ title: z.string().optional(),
11
+ summary: z.string().optional(),
12
+ releaseNotes: z.string().optional(),
13
+ releaseNotesMl: mlgZodSchemaUnion.optional(),
14
+ isCurrent: z.boolean().optional(),
15
+ basedOnVersionId: z.string().optional(),
16
+ publishedAt: z.date().optional(),
17
+ createdBy: z.string().optional(),
18
+ updatedBy: z.string().optional(),
19
+ });
20
+ /* Insert schema */
21
+ export const documentVersionZodSchemaInsert = documentVersionZodSchema.omit({
22
+ id: true,
23
+ createdAt: true,
24
+ updatedAt: true,
25
+ tenantId: true,
26
+ }).strict();
@@ -0,0 +1,5 @@
1
+ import z from 'zod';
2
+ import { embedZodSchema, embedZodSchemaInsert } from './zod.schema.js';
3
+ export type IbmEmbed = z.infer<typeof embedZodSchema>;
4
+ export type IbmEmbedInsert = z.infer<typeof embedZodSchemaInsert>;
5
+ export declare const ibmEmbedKeys: readonly ["id", "tenantId", "createdAt", "updatedAt", "scopeId", "embedUid", "type", "title", "content", "url", "path", "mime", "meta", "createdBy", "updatedBy"];
@@ -0,0 +1,19 @@
1
+ export const ibmEmbedKeys = [
2
+ 'id',
3
+ 'tenantId',
4
+ 'createdAt',
5
+ 'updatedAt',
6
+ 'scopeId',
7
+ 'embedUid',
8
+ 'type',
9
+ 'title',
10
+ 'content',
11
+ 'url',
12
+ 'path',
13
+ 'mime',
14
+ 'meta',
15
+ 'createdBy',
16
+ 'updatedBy',
17
+ ];
18
+ const _verifyKeys = true;
19
+ void _verifyKeys;
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmEmbed.js';
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmEmbed.js';
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const embedZodSchema: z.ZodObject<{
3
+ scopeId: z.ZodString;
4
+ embedUid: z.ZodString;
5
+ type: z.ZodEnum<{
6
+ image: "image";
7
+ table: "table";
8
+ mermaid: "mermaid";
9
+ }>;
10
+ title: z.ZodOptional<z.ZodString>;
11
+ content: z.ZodOptional<z.ZodString>;
12
+ url: z.ZodOptional<z.ZodString>;
13
+ path: z.ZodOptional<z.ZodString>;
14
+ mime: z.ZodOptional<z.ZodString>;
15
+ meta: z.ZodOptional<z.ZodUnknown>;
16
+ createdBy: z.ZodOptional<z.ZodString>;
17
+ updatedBy: z.ZodOptional<z.ZodString>;
18
+ createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
19
+ updatedAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
20
+ id: z.ZodOptional<z.ZodString>;
21
+ tenantId: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ export declare const embedZodSchemaInsert: z.ZodObject<{
24
+ scopeId: z.ZodString;
25
+ title: z.ZodOptional<z.ZodString>;
26
+ meta: z.ZodOptional<z.ZodUnknown>;
27
+ createdBy: z.ZodOptional<z.ZodString>;
28
+ updatedBy: z.ZodOptional<z.ZodString>;
29
+ type: z.ZodEnum<{
30
+ image: "image";
31
+ table: "table";
32
+ mermaid: "mermaid";
33
+ }>;
34
+ content: z.ZodOptional<z.ZodString>;
35
+ path: z.ZodOptional<z.ZodString>;
36
+ mime: z.ZodOptional<z.ZodString>;
37
+ embedUid: z.ZodString;
38
+ url: z.ZodOptional<z.ZodString>;
39
+ }, z.core.$strict>;
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ import { IbmZodSchema } from '@aopslab/xf-bm';
3
+ export const embedZodSchema = z
4
+ .object({
5
+ ...IbmZodSchema.shape,
6
+ scopeId: z.string(),
7
+ embedUid: z.string(),
8
+ type: z.enum(['image', 'table', 'mermaid']),
9
+ title: z.string().optional(),
10
+ content: z.string().optional(),
11
+ url: z.string().optional(),
12
+ path: z.string().optional(),
13
+ mime: z.string().optional(),
14
+ meta: z.unknown().optional(),
15
+ createdBy: z.string().optional(),
16
+ updatedBy: z.string().optional(),
17
+ });
18
+ /* Insert schema */
19
+ export const embedZodSchemaInsert = embedZodSchema.omit({
20
+ id: true,
21
+ createdAt: true,
22
+ updatedAt: true,
23
+ tenantId: true,
24
+ }).strict();
@@ -0,0 +1,15 @@
1
+ export * from './document/index.js';
2
+ export * from './documentGroup/index.js';
3
+ export * from './documentVersion/index.js';
4
+ export * from './section/index.js';
5
+ export * from './page/index.js';
6
+ export * from './pageVersion/index.js';
7
+ export * from './documentIndexEntry/index.js';
8
+ export * from './documentSectionLink/index.js';
9
+ export * from './sectionPageLink/index.js';
10
+ export * from './snippet/index.js';
11
+ export * from './pageSnippetLink/index.js';
12
+ export * from './asset/index.js';
13
+ export * from './assetVersion/index.js';
14
+ export * from './embed/index.js';
15
+ export * from './pageEmbedLink/index.js';
@@ -0,0 +1,16 @@
1
+ // Auto-generated by xf-gen
2
+ export * from './document/index.js';
3
+ export * from './documentGroup/index.js';
4
+ export * from './documentVersion/index.js';
5
+ export * from './section/index.js';
6
+ export * from './page/index.js';
7
+ export * from './pageVersion/index.js';
8
+ export * from './documentIndexEntry/index.js';
9
+ export * from './documentSectionLink/index.js';
10
+ export * from './sectionPageLink/index.js';
11
+ export * from './snippet/index.js';
12
+ export * from './pageSnippetLink/index.js';
13
+ export * from './asset/index.js';
14
+ export * from './assetVersion/index.js';
15
+ export * from './embed/index.js';
16
+ export * from './pageEmbedLink/index.js';
@@ -0,0 +1,8 @@
1
+ import z from 'zod';
2
+ import { DotNestedMlgKeys } from '@aopslab/xf-bm';
3
+ import { pageZodSchema, pageZodSchemaInsert } from './zod.schema.js';
4
+ export type IbmPage = z.infer<typeof pageZodSchema>;
5
+ export type IbmPageInsert = z.infer<typeof pageZodSchemaInsert>;
6
+ export declare const ibmPageKeys: readonly ["id", "tenantId", "createdAt", "updatedAt", "scopeId", "pageUid", "title", "titleMl", "kind", "meta", "createdBy", "updatedBy"];
7
+ export type BmPageMlgKeys = DotNestedMlgKeys<IbmPage>;
8
+ export declare const bmPageMlgFields: ("titleMl" | "meta")[];
@@ -0,0 +1,20 @@
1
+ import { mlgFieldsOf } from '@aopslab/xf-bm';
2
+ export const ibmPageKeys = [
3
+ 'id',
4
+ 'tenantId',
5
+ 'createdAt',
6
+ 'updatedAt',
7
+ 'scopeId',
8
+ 'pageUid',
9
+ 'title',
10
+ 'titleMl',
11
+ 'kind',
12
+ 'meta',
13
+ 'createdBy',
14
+ 'updatedBy',
15
+ ];
16
+ const _verifyKeys = true;
17
+ void _verifyKeys;
18
+ export const bmPageMlgFields = mlgFieldsOf()('titleMl', 'meta');
19
+ const _verifyMlgFields = true;
20
+ void _verifyMlgFields;
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmPage.js';
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmPage.js';
@@ -0,0 +1,57 @@
1
+ import { z } from 'zod';
2
+ export declare const pageZodSchema: z.ZodObject<{
3
+ scopeId: z.ZodString;
4
+ pageUid: z.ZodString;
5
+ title: z.ZodString;
6
+ titleMl: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
7
+ en: z.ZodOptional<z.ZodString>;
8
+ tr: z.ZodOptional<z.ZodString>;
9
+ de: z.ZodOptional<z.ZodString>;
10
+ fr: z.ZodOptional<z.ZodString>;
11
+ it: z.ZodOptional<z.ZodString>;
12
+ es: z.ZodOptional<z.ZodString>;
13
+ pt: z.ZodOptional<z.ZodString>;
14
+ nl: z.ZodOptional<z.ZodString>;
15
+ pl: z.ZodOptional<z.ZodString>;
16
+ ro: z.ZodOptional<z.ZodString>;
17
+ ru: z.ZodOptional<z.ZodString>;
18
+ sv: z.ZodOptional<z.ZodString>;
19
+ no: z.ZodOptional<z.ZodString>;
20
+ da: z.ZodOptional<z.ZodString>;
21
+ fi: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$catchall<z.ZodOptional<z.ZodString>>>, z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>]>>;
23
+ kind: z.ZodOptional<z.ZodString>;
24
+ meta: z.ZodOptional<z.ZodUnknown>;
25
+ createdBy: z.ZodOptional<z.ZodString>;
26
+ updatedBy: z.ZodOptional<z.ZodString>;
27
+ createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
28
+ updatedAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
29
+ id: z.ZodOptional<z.ZodString>;
30
+ tenantId: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>;
32
+ export declare const pageZodSchemaInsert: z.ZodObject<{
33
+ scopeId: z.ZodString;
34
+ title: z.ZodString;
35
+ titleMl: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
36
+ en: z.ZodOptional<z.ZodString>;
37
+ tr: z.ZodOptional<z.ZodString>;
38
+ de: z.ZodOptional<z.ZodString>;
39
+ fr: z.ZodOptional<z.ZodString>;
40
+ it: z.ZodOptional<z.ZodString>;
41
+ es: z.ZodOptional<z.ZodString>;
42
+ pt: z.ZodOptional<z.ZodString>;
43
+ nl: z.ZodOptional<z.ZodString>;
44
+ pl: z.ZodOptional<z.ZodString>;
45
+ ro: z.ZodOptional<z.ZodString>;
46
+ ru: z.ZodOptional<z.ZodString>;
47
+ sv: z.ZodOptional<z.ZodString>;
48
+ no: z.ZodOptional<z.ZodString>;
49
+ da: z.ZodOptional<z.ZodString>;
50
+ fi: z.ZodOptional<z.ZodString>;
51
+ }, z.core.$catchall<z.ZodOptional<z.ZodString>>>, z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>]>>;
52
+ meta: z.ZodOptional<z.ZodUnknown>;
53
+ createdBy: z.ZodOptional<z.ZodString>;
54
+ updatedBy: z.ZodOptional<z.ZodString>;
55
+ kind: z.ZodOptional<z.ZodString>;
56
+ pageUid: z.ZodString;
57
+ }, z.core.$strict>;
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ import { IbmZodSchema, mlgZodSchemaUnion } from '@aopslab/xf-bm';
3
+ export const pageZodSchema = z
4
+ .object({
5
+ ...IbmZodSchema.shape,
6
+ scopeId: z.string(),
7
+ pageUid: z.string(),
8
+ title: z.string(),
9
+ titleMl: mlgZodSchemaUnion.optional(),
10
+ kind: z.string().optional(),
11
+ meta: z.unknown().optional(),
12
+ createdBy: z.string().optional(),
13
+ updatedBy: z.string().optional(),
14
+ });
15
+ /* Insert schema */
16
+ export const pageZodSchemaInsert = pageZodSchema.omit({
17
+ id: true,
18
+ createdAt: true,
19
+ updatedAt: true,
20
+ tenantId: true,
21
+ }).strict();
@@ -0,0 +1,5 @@
1
+ import z from 'zod';
2
+ import { pageEmbedLinkZodSchema, pageEmbedLinkZodSchemaInsert } from './zod.schema.js';
3
+ export type IbmPageEmbedLink = z.infer<typeof pageEmbedLinkZodSchema>;
4
+ export type IbmPageEmbedLinkInsert = z.infer<typeof pageEmbedLinkZodSchemaInsert>;
5
+ export declare const ibmPageEmbedLinkKeys: readonly ["id", "tenantId", "createdAt", "updatedAt", "pageVersionId", "embedId", "position", "caption", "createdBy", "updatedBy"];
@@ -0,0 +1,14 @@
1
+ export const ibmPageEmbedLinkKeys = [
2
+ 'id',
3
+ 'tenantId',
4
+ 'createdAt',
5
+ 'updatedAt',
6
+ 'pageVersionId',
7
+ 'embedId',
8
+ 'position',
9
+ 'caption',
10
+ 'createdBy',
11
+ 'updatedBy',
12
+ ];
13
+ const _verifyKeys = true;
14
+ void _verifyKeys;
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmPageEmbedLink.js';
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmPageEmbedLink.js';
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ export declare const pageEmbedLinkZodSchema: z.ZodObject<{
3
+ pageVersionId: z.ZodString;
4
+ embedId: z.ZodString;
5
+ position: z.ZodNumber;
6
+ caption: z.ZodOptional<z.ZodString>;
7
+ createdBy: z.ZodOptional<z.ZodString>;
8
+ updatedBy: z.ZodOptional<z.ZodString>;
9
+ createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
10
+ updatedAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
11
+ id: z.ZodOptional<z.ZodString>;
12
+ tenantId: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ export declare const pageEmbedLinkZodSchemaInsert: z.ZodObject<{
15
+ createdBy: z.ZodOptional<z.ZodString>;
16
+ updatedBy: z.ZodOptional<z.ZodString>;
17
+ position: z.ZodNumber;
18
+ pageVersionId: z.ZodString;
19
+ caption: z.ZodOptional<z.ZodString>;
20
+ embedId: z.ZodString;
21
+ }, z.core.$strict>;
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ import { IbmZodSchema } from '@aopslab/xf-bm';
3
+ export const pageEmbedLinkZodSchema = z
4
+ .object({
5
+ ...IbmZodSchema.shape,
6
+ pageVersionId: z.string(),
7
+ embedId: z.string(),
8
+ position: z.number().int(),
9
+ caption: z.string().optional(),
10
+ createdBy: z.string().optional(),
11
+ updatedBy: z.string().optional(),
12
+ });
13
+ /* Insert schema */
14
+ export const pageEmbedLinkZodSchemaInsert = pageEmbedLinkZodSchema.omit({
15
+ id: true,
16
+ createdAt: true,
17
+ updatedAt: true,
18
+ tenantId: true,
19
+ }).strict();
@@ -0,0 +1,5 @@
1
+ import z from 'zod';
2
+ import { pageSnippetLinkZodSchema, pageSnippetLinkZodSchemaInsert } from './zod.schema.js';
3
+ export type IbmPageSnippetLink = z.infer<typeof pageSnippetLinkZodSchema>;
4
+ export type IbmPageSnippetLinkInsert = z.infer<typeof pageSnippetLinkZodSchemaInsert>;
5
+ export declare const ibmPageSnippetLinkKeys: readonly ["id", "tenantId", "createdAt", "updatedAt", "pageVersionId", "snippetId", "position", "caption", "showLineNumbers", "createdBy", "updatedBy"];
@@ -0,0 +1,15 @@
1
+ export const ibmPageSnippetLinkKeys = [
2
+ 'id',
3
+ 'tenantId',
4
+ 'createdAt',
5
+ 'updatedAt',
6
+ 'pageVersionId',
7
+ 'snippetId',
8
+ 'position',
9
+ 'caption',
10
+ 'showLineNumbers',
11
+ 'createdBy',
12
+ 'updatedBy',
13
+ ];
14
+ const _verifyKeys = true;
15
+ void _verifyKeys;
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmPageSnippetLink.js';
@@ -0,0 +1,2 @@
1
+ export * from './zod.schema.js';
2
+ export * from './IbmPageSnippetLink.js';
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ export declare const pageSnippetLinkZodSchema: z.ZodObject<{
3
+ pageVersionId: z.ZodString;
4
+ snippetId: z.ZodString;
5
+ position: z.ZodNumber;
6
+ caption: z.ZodOptional<z.ZodString>;
7
+ showLineNumbers: z.ZodOptional<z.ZodBoolean>;
8
+ createdBy: z.ZodOptional<z.ZodString>;
9
+ updatedBy: z.ZodOptional<z.ZodString>;
10
+ createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
11
+ updatedAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<Date, string | Date>>>;
12
+ id: z.ZodOptional<z.ZodString>;
13
+ tenantId: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ export declare const pageSnippetLinkZodSchemaInsert: z.ZodObject<{
16
+ createdBy: z.ZodOptional<z.ZodString>;
17
+ updatedBy: z.ZodOptional<z.ZodString>;
18
+ position: z.ZodNumber;
19
+ pageVersionId: z.ZodString;
20
+ snippetId: z.ZodString;
21
+ caption: z.ZodOptional<z.ZodString>;
22
+ showLineNumbers: z.ZodOptional<z.ZodBoolean>;
23
+ }, z.core.$strict>;
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ import { IbmZodSchema } from '@aopslab/xf-bm';
3
+ export const pageSnippetLinkZodSchema = z
4
+ .object({
5
+ ...IbmZodSchema.shape,
6
+ pageVersionId: z.string(),
7
+ snippetId: z.string(),
8
+ position: z.number().int(),
9
+ caption: z.string().optional(),
10
+ showLineNumbers: z.boolean().optional(),
11
+ createdBy: z.string().optional(),
12
+ updatedBy: z.string().optional(),
13
+ });
14
+ /* Insert schema */
15
+ export const pageSnippetLinkZodSchemaInsert = pageSnippetLinkZodSchema.omit({
16
+ id: true,
17
+ createdAt: true,
18
+ updatedAt: true,
19
+ tenantId: true,
20
+ }).strict();
@@ -0,0 +1,8 @@
1
+ import z from 'zod';
2
+ import { DotNestedMlgKeys } from '@aopslab/xf-bm';
3
+ import { pageVersionZodSchema, pageVersionZodSchemaInsert } from './zod.schema.js';
4
+ export type IbmPageVersion = z.infer<typeof pageVersionZodSchema>;
5
+ export type IbmPageVersionInsert = z.infer<typeof pageVersionZodSchemaInsert>;
6
+ export declare const ibmPageVersionKeys: readonly ["id", "tenantId", "createdAt", "updatedAt", "pageId", "version", "title", "format", "content", "contentMl", "contentData", "directives", "status", "createdBy", "updatedBy"];
7
+ export type BmPageVersionMlgKeys = DotNestedMlgKeys<IbmPageVersion>;
8
+ export declare const bmPageVersionMlgFields: ("contentMl" | "contentData" | "directives")[];