@nest-yalc-2/omnikernel-module 2.2.0 → 2.2.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 (315) hide show
  1. package/LICENSE +661 -0
  2. package/package.json +30 -17
  3. package/src/base/omni-base.entity.js +42 -0
  4. package/src/base/omni-base.entity.js.map +1 -0
  5. package/src/base/omni-external-ref.entity.js +61 -0
  6. package/src/base/omni-external-ref.entity.js.map +1 -0
  7. package/src/base/omni-named.entity.js +24 -0
  8. package/src/base/omni-named.entity.js.map +1 -0
  9. package/src/base/omni-record.entity.js +60 -0
  10. package/src/base/omni-record.entity.js.map +1 -0
  11. package/src/base/omni-relation.entity.js +80 -0
  12. package/src/base/omni-relation.entity.js.map +1 -0
  13. package/src/index.js +50 -0
  14. package/src/index.js.map +1 -0
  15. package/src/omni-collection-kind.enum.js +10 -0
  16. package/src/omni-collection-kind.enum.js.map +1 -0
  17. package/src/omni-collection.backend.js +11 -0
  18. package/src/omni-collection.backend.js.map +1 -0
  19. package/{dist/src → src}/omni-collection.dto.d.ts +1 -1
  20. package/src/omni-collection.dto.js +170 -0
  21. package/src/omni-collection.dto.js.map +1 -0
  22. package/{dist/src → src}/omni-collection.dto.ts +1 -1
  23. package/src/omni-collection.entity.js +30 -0
  24. package/src/omni-collection.entity.js.map +1 -0
  25. package/{dist/src → src}/omni-collection.service.js +4 -8
  26. package/src/omni-collection.service.js.map +1 -0
  27. package/src/omni-document-kind.enum.js +12 -0
  28. package/src/omni-document-kind.enum.js.map +1 -0
  29. package/src/omni-document.backend.js +11 -0
  30. package/src/omni-document.backend.js.map +1 -0
  31. package/{dist/src → src}/omni-document.dto.d.ts +1 -1
  32. package/src/omni-document.dto.js +199 -0
  33. package/src/omni-document.dto.js.map +1 -0
  34. package/{dist/src → src}/omni-document.dto.ts +1 -1
  35. package/src/omni-document.entity.js +42 -0
  36. package/src/omni-document.entity.js.map +1 -0
  37. package/{dist/src → src}/omni-document.service.js +4 -8
  38. package/src/omni-document.service.js.map +1 -0
  39. package/src/omni-dto.helpers.js +7 -0
  40. package/src/omni-dto.helpers.js.map +1 -0
  41. package/{dist/src → src}/omni-extension-projection.definition.js +24 -29
  42. package/src/omni-extension-projection.definition.js.map +1 -0
  43. package/{dist/src → src}/omni-extension-projection.resource.d.ts +1 -1
  44. package/src/omni-extension-projection.resource.js +124 -0
  45. package/src/omni-extension-projection.resource.js.map +1 -0
  46. package/{dist/src → src}/omni-extension-projection.resource.ts +1 -1
  47. package/{dist/src → src}/omni-extension-projection.service.js +15 -19
  48. package/src/omni-extension-projection.service.js.map +1 -0
  49. package/src/omni-external-ref-binding.validator.js +30 -0
  50. package/src/omni-external-ref-binding.validator.js.map +1 -0
  51. package/src/omni-external-ref-internal-type.enum.js +11 -0
  52. package/src/omni-external-ref-internal-type.enum.js.map +1 -0
  53. package/src/omni-external-ref.backend.js +15 -0
  54. package/src/omni-external-ref.backend.js.map +1 -0
  55. package/{dist/src → src}/omni-external-ref.dto.d.ts +1 -1
  56. package/src/omni-external-ref.dto.js +126 -0
  57. package/src/omni-external-ref.dto.js.map +1 -0
  58. package/{dist/src → src}/omni-external-ref.dto.ts +1 -1
  59. package/{dist/src → src}/omni-external-ref.service.js +11 -15
  60. package/src/omni-external-ref.service.js.map +1 -0
  61. package/{dist/src → src}/omni-migration.js +22 -27
  62. package/src/omni-migration.js.map +1 -0
  63. package/src/omni-named.backend.js +9 -0
  64. package/src/omni-named.backend.js.map +1 -0
  65. package/{dist/src → src}/omni-named.dto.d.ts +1 -1
  66. package/src/omni-named.dto.js +80 -0
  67. package/src/omni-named.dto.js.map +1 -0
  68. package/{dist/src → src}/omni-named.dto.ts +1 -1
  69. package/{dist/src → src}/omni-projection.catalog.js +18 -23
  70. package/src/omni-projection.catalog.js.map +1 -0
  71. package/src/omni-projection.lifecycle.js +2 -0
  72. package/src/omni-record-status.enum.js +11 -0
  73. package/src/omni-record-status.enum.js.map +1 -0
  74. package/src/omni-record.backend.js +9 -0
  75. package/src/omni-record.backend.js.map +1 -0
  76. package/{dist/src → src}/omni-record.dto.d.ts +1 -1
  77. package/src/omni-record.dto.js +155 -0
  78. package/src/omni-record.dto.js.map +1 -0
  79. package/{dist/src → src}/omni-record.dto.ts +1 -1
  80. package/{dist/src → src}/omni-record.service.js +6 -10
  81. package/src/omni-record.service.js.map +1 -0
  82. package/src/omni-relation-kind.contract.js +29 -0
  83. package/src/omni-relation-kind.contract.js.map +1 -0
  84. package/src/omni-relation-kind.enum.js +12 -0
  85. package/src/omni-relation-kind.enum.js.map +1 -0
  86. package/{dist/src → src}/omni-relation-projection.definition.js +7 -12
  87. package/src/omni-relation-projection.definition.js.map +1 -0
  88. package/{dist/src → src}/omni-relation-projection.resource.d.ts +1 -1
  89. package/src/omni-relation-projection.resource.js +196 -0
  90. package/src/omni-relation-projection.resource.js.map +1 -0
  91. package/{dist/src → src}/omni-relation-projection.resource.ts +2 -2
  92. package/{dist/src → src}/omni-relation-projection.service.js +44 -48
  93. package/src/omni-relation-projection.service.js.map +1 -0
  94. package/src/omni-relation-semantics.js +27 -0
  95. package/src/omni-relation-semantics.js.map +1 -0
  96. package/src/omni-relation-status.enum.js +11 -0
  97. package/src/omni-relation-status.enum.js.map +1 -0
  98. package/src/omni-relation.backend.js +13 -0
  99. package/src/omni-relation.backend.js.map +1 -0
  100. package/{dist/src → src}/omni-relation.dto.d.ts +1 -1
  101. package/src/omni-relation.dto.js +139 -0
  102. package/src/omni-relation.dto.js.map +1 -0
  103. package/{dist/src → src}/omni-relation.dto.ts +1 -1
  104. package/{dist/src → src}/omni-relation.service.js +14 -18
  105. package/src/omni-relation.service.js.map +1 -0
  106. package/{dist/src → src}/omni-scope.js +14 -18
  107. package/src/omni-scope.js.map +1 -0
  108. package/{dist/src → src}/omni-scoped.backend.d.ts +1 -1
  109. package/src/omni-scoped.backend.js +43 -0
  110. package/src/omni-scoped.backend.js.map +1 -0
  111. package/{dist/src → src}/omni-scoped.backend.ts +1 -1
  112. package/{dist/src → src}/omni-scoped.repository.js +1 -5
  113. package/src/omni-scoped.repository.js.map +1 -0
  114. package/{dist/src → src}/omni-scoped.service.js +17 -21
  115. package/src/omni-scoped.service.js.map +1 -0
  116. package/{dist/src → src}/omnikernel.diagnostics.js +1 -4
  117. package/src/omnikernel.diagnostics.js.map +1 -0
  118. package/src/omnikernel.module.js +79 -0
  119. package/src/omnikernel.module.js.map +1 -0
  120. package/src/omnikernel.query.service.js +80 -0
  121. package/src/omnikernel.query.service.js.map +1 -0
  122. package/dist/src/base/omni-base.entity.js +0 -45
  123. package/dist/src/base/omni-base.entity.js.map +0 -1
  124. package/dist/src/base/omni-external-ref.entity.js +0 -64
  125. package/dist/src/base/omni-external-ref.entity.js.map +0 -1
  126. package/dist/src/base/omni-named.entity.js +0 -27
  127. package/dist/src/base/omni-named.entity.js.map +0 -1
  128. package/dist/src/base/omni-record.entity.js +0 -63
  129. package/dist/src/base/omni-record.entity.js.map +0 -1
  130. package/dist/src/base/omni-relation.entity.js +0 -83
  131. package/dist/src/base/omni-relation.entity.js.map +0 -1
  132. package/dist/src/index.js +0 -53
  133. package/dist/src/index.js.map +0 -1
  134. package/dist/src/omni-collection-kind.enum.js +0 -13
  135. package/dist/src/omni-collection-kind.enum.js.map +0 -1
  136. package/dist/src/omni-collection.backend.js +0 -15
  137. package/dist/src/omni-collection.backend.js.map +0 -1
  138. package/dist/src/omni-collection.dto.js +0 -173
  139. package/dist/src/omni-collection.dto.js.map +0 -1
  140. package/dist/src/omni-collection.entity.js +0 -33
  141. package/dist/src/omni-collection.entity.js.map +0 -1
  142. package/dist/src/omni-collection.service.js.map +0 -1
  143. package/dist/src/omni-document-kind.enum.js +0 -15
  144. package/dist/src/omni-document-kind.enum.js.map +0 -1
  145. package/dist/src/omni-document.backend.js +0 -15
  146. package/dist/src/omni-document.backend.js.map +0 -1
  147. package/dist/src/omni-document.dto.js +0 -202
  148. package/dist/src/omni-document.dto.js.map +0 -1
  149. package/dist/src/omni-document.entity.js +0 -45
  150. package/dist/src/omni-document.entity.js.map +0 -1
  151. package/dist/src/omni-document.service.js.map +0 -1
  152. package/dist/src/omni-dto.helpers.js +0 -10
  153. package/dist/src/omni-dto.helpers.js.map +0 -1
  154. package/dist/src/omni-extension-projection.definition.js.map +0 -1
  155. package/dist/src/omni-extension-projection.resource.js +0 -127
  156. package/dist/src/omni-extension-projection.resource.js.map +0 -1
  157. package/dist/src/omni-extension-projection.service.js.map +0 -1
  158. package/dist/src/omni-external-ref-binding.validator.js +0 -34
  159. package/dist/src/omni-external-ref-binding.validator.js.map +0 -1
  160. package/dist/src/omni-external-ref-internal-type.enum.js +0 -14
  161. package/dist/src/omni-external-ref-internal-type.enum.js.map +0 -1
  162. package/dist/src/omni-external-ref.backend.js +0 -19
  163. package/dist/src/omni-external-ref.backend.js.map +0 -1
  164. package/dist/src/omni-external-ref.dto.js +0 -129
  165. package/dist/src/omni-external-ref.dto.js.map +0 -1
  166. package/dist/src/omni-external-ref.service.js.map +0 -1
  167. package/dist/src/omni-migration.js.map +0 -1
  168. package/dist/src/omni-named.backend.js +0 -13
  169. package/dist/src/omni-named.backend.js.map +0 -1
  170. package/dist/src/omni-named.dto.js +0 -83
  171. package/dist/src/omni-named.dto.js.map +0 -1
  172. package/dist/src/omni-projection.catalog.js.map +0 -1
  173. package/dist/src/omni-projection.lifecycle.js +0 -3
  174. package/dist/src/omni-record-status.enum.js +0 -14
  175. package/dist/src/omni-record-status.enum.js.map +0 -1
  176. package/dist/src/omni-record.backend.js +0 -13
  177. package/dist/src/omni-record.backend.js.map +0 -1
  178. package/dist/src/omni-record.dto.js +0 -158
  179. package/dist/src/omni-record.dto.js.map +0 -1
  180. package/dist/src/omni-record.service.js.map +0 -1
  181. package/dist/src/omni-relation-kind.contract.js +0 -33
  182. package/dist/src/omni-relation-kind.contract.js.map +0 -1
  183. package/dist/src/omni-relation-kind.enum.js +0 -15
  184. package/dist/src/omni-relation-kind.enum.js.map +0 -1
  185. package/dist/src/omni-relation-projection.definition.js.map +0 -1
  186. package/dist/src/omni-relation-projection.resource.js +0 -201
  187. package/dist/src/omni-relation-projection.resource.js.map +0 -1
  188. package/dist/src/omni-relation-projection.service.js.map +0 -1
  189. package/dist/src/omni-relation-semantics.js +0 -34
  190. package/dist/src/omni-relation-semantics.js.map +0 -1
  191. package/dist/src/omni-relation-status.enum.js +0 -14
  192. package/dist/src/omni-relation-status.enum.js.map +0 -1
  193. package/dist/src/omni-relation.backend.js +0 -17
  194. package/dist/src/omni-relation.backend.js.map +0 -1
  195. package/dist/src/omni-relation.dto.js +0 -142
  196. package/dist/src/omni-relation.dto.js.map +0 -1
  197. package/dist/src/omni-relation.service.js.map +0 -1
  198. package/dist/src/omni-scope.js.map +0 -1
  199. package/dist/src/omni-scoped.backend.js +0 -47
  200. package/dist/src/omni-scoped.backend.js.map +0 -1
  201. package/dist/src/omni-scoped.repository.js.map +0 -1
  202. package/dist/src/omni-scoped.service.js.map +0 -1
  203. package/dist/src/omnikernel.diagnostics.js.map +0 -1
  204. package/dist/src/omnikernel.module.js +0 -82
  205. package/dist/src/omnikernel.module.js.map +0 -1
  206. package/dist/src/omnikernel.query.service.js +0 -85
  207. package/dist/src/omnikernel.query.service.js.map +0 -1
  208. /package/{dist/src → src}/__tests__/omni-collection.entity.spec.ts +0 -0
  209. /package/{dist/src → src}/__tests__/omni-collection.service.spec.ts +0 -0
  210. /package/{dist/src → src}/__tests__/omni-document.entity.spec.ts +0 -0
  211. /package/{dist/src → src}/__tests__/omni-document.service.spec.ts +0 -0
  212. /package/{dist/src → src}/__tests__/omni-extension-projection-constraints.spec.ts +0 -0
  213. /package/{dist/src → src}/__tests__/omni-extension-projection.registration.spec.ts +0 -0
  214. /package/{dist/src → src}/__tests__/omni-extension-projection.service.spec.ts +0 -0
  215. /package/{dist/src → src}/__tests__/omni-external-ref.entity.spec.ts +0 -0
  216. /package/{dist/src → src}/__tests__/omni-external-ref.service.spec.ts +0 -0
  217. /package/{dist/src → src}/__tests__/omni-named.entity.spec.ts +0 -0
  218. /package/{dist/src → src}/__tests__/omni-record.entity.spec.ts +0 -0
  219. /package/{dist/src → src}/__tests__/omni-record.service.spec.ts +0 -0
  220. /package/{dist/src → src}/__tests__/omni-relation-semantics.spec.ts +0 -0
  221. /package/{dist/src → src}/__tests__/omni-relation.entity.spec.ts +0 -0
  222. /package/{dist/src → src}/__tests__/omni-scope-substrate.spec.ts +0 -0
  223. /package/{dist/src → src}/__tests__/omni-scoped.backend.spec.ts +0 -0
  224. /package/{dist/src → src}/__tests__/omni-scoped.service.spec.ts +0 -0
  225. /package/{dist/src → src}/__tests__/omnikernel.diagnostics.spec.ts +0 -0
  226. /package/{dist/src → src}/__tests__/omnikernel.module.spec.ts +0 -0
  227. /package/{dist/src → src}/__tests__/omnikernel.persistence.spec.ts +0 -0
  228. /package/{dist/src → src}/__tests__/omnikernel.public-api.spec.ts +0 -0
  229. /package/{dist/src → src}/__tests__/omnikernel.query.service.spec.ts +0 -0
  230. /package/{dist/src → src}/__tests__/tsconfig.json +0 -0
  231. /package/{dist/src → src}/base/omni-base.entity.d.ts +0 -0
  232. /package/{dist/src → src}/base/omni-base.entity.ts +0 -0
  233. /package/{dist/src → src}/base/omni-external-ref.entity.d.ts +0 -0
  234. /package/{dist/src → src}/base/omni-external-ref.entity.ts +0 -0
  235. /package/{dist/src → src}/base/omni-named.entity.d.ts +0 -0
  236. /package/{dist/src → src}/base/omni-named.entity.ts +0 -0
  237. /package/{dist/src → src}/base/omni-record.entity.d.ts +0 -0
  238. /package/{dist/src → src}/base/omni-record.entity.ts +0 -0
  239. /package/{dist/src → src}/base/omni-relation.entity.d.ts +0 -0
  240. /package/{dist/src → src}/base/omni-relation.entity.ts +0 -0
  241. /package/{dist/src → src}/index.d.ts +0 -0
  242. /package/{dist/src → src}/index.ts +0 -0
  243. /package/{dist/src → src}/omni-collection-kind.enum.d.ts +0 -0
  244. /package/{dist/src → src}/omni-collection-kind.enum.ts +0 -0
  245. /package/{dist/src → src}/omni-collection.backend.d.ts +0 -0
  246. /package/{dist/src → src}/omni-collection.backend.ts +0 -0
  247. /package/{dist/src → src}/omni-collection.entity.d.ts +0 -0
  248. /package/{dist/src → src}/omni-collection.entity.ts +0 -0
  249. /package/{dist/src → src}/omni-collection.service.d.ts +0 -0
  250. /package/{dist/src → src}/omni-collection.service.ts +0 -0
  251. /package/{dist/src → src}/omni-document-kind.enum.d.ts +0 -0
  252. /package/{dist/src → src}/omni-document-kind.enum.ts +0 -0
  253. /package/{dist/src → src}/omni-document.backend.d.ts +0 -0
  254. /package/{dist/src → src}/omni-document.backend.ts +0 -0
  255. /package/{dist/src → src}/omni-document.entity.d.ts +0 -0
  256. /package/{dist/src → src}/omni-document.entity.ts +0 -0
  257. /package/{dist/src → src}/omni-document.service.d.ts +0 -0
  258. /package/{dist/src → src}/omni-document.service.ts +0 -0
  259. /package/{dist/src → src}/omni-dto.helpers.d.ts +0 -0
  260. /package/{dist/src → src}/omni-dto.helpers.ts +0 -0
  261. /package/{dist/src → src}/omni-extension-projection.definition.d.ts +0 -0
  262. /package/{dist/src → src}/omni-extension-projection.definition.ts +0 -0
  263. /package/{dist/src → src}/omni-extension-projection.service.d.ts +0 -0
  264. /package/{dist/src → src}/omni-extension-projection.service.ts +0 -0
  265. /package/{dist/src → src}/omni-external-ref-binding.validator.d.ts +0 -0
  266. /package/{dist/src → src}/omni-external-ref-binding.validator.ts +0 -0
  267. /package/{dist/src → src}/omni-external-ref-internal-type.enum.d.ts +0 -0
  268. /package/{dist/src → src}/omni-external-ref-internal-type.enum.ts +0 -0
  269. /package/{dist/src → src}/omni-external-ref.backend.d.ts +0 -0
  270. /package/{dist/src → src}/omni-external-ref.backend.ts +0 -0
  271. /package/{dist/src → src}/omni-external-ref.service.d.ts +0 -0
  272. /package/{dist/src → src}/omni-external-ref.service.ts +0 -0
  273. /package/{dist/src → src}/omni-migration.d.ts +0 -0
  274. /package/{dist/src → src}/omni-migration.ts +0 -0
  275. /package/{dist/src → src}/omni-named.backend.d.ts +0 -0
  276. /package/{dist/src → src}/omni-named.backend.ts +0 -0
  277. /package/{dist/src → src}/omni-projection.catalog.d.ts +0 -0
  278. /package/{dist/src → src}/omni-projection.catalog.ts +0 -0
  279. /package/{dist/src → src}/omni-projection.lifecycle.d.ts +0 -0
  280. /package/{dist/src → src}/omni-projection.lifecycle.js.map +0 -0
  281. /package/{dist/src → src}/omni-projection.lifecycle.ts +0 -0
  282. /package/{dist/src → src}/omni-record-status.enum.d.ts +0 -0
  283. /package/{dist/src → src}/omni-record-status.enum.ts +0 -0
  284. /package/{dist/src → src}/omni-record.backend.d.ts +0 -0
  285. /package/{dist/src → src}/omni-record.backend.ts +0 -0
  286. /package/{dist/src → src}/omni-record.service.d.ts +0 -0
  287. /package/{dist/src → src}/omni-record.service.ts +0 -0
  288. /package/{dist/src → src}/omni-relation-kind.contract.d.ts +0 -0
  289. /package/{dist/src → src}/omni-relation-kind.contract.ts +0 -0
  290. /package/{dist/src → src}/omni-relation-kind.enum.d.ts +0 -0
  291. /package/{dist/src → src}/omni-relation-kind.enum.ts +0 -0
  292. /package/{dist/src → src}/omni-relation-projection.definition.d.ts +0 -0
  293. /package/{dist/src → src}/omni-relation-projection.definition.ts +0 -0
  294. /package/{dist/src → src}/omni-relation-projection.service.d.ts +0 -0
  295. /package/{dist/src → src}/omni-relation-projection.service.ts +0 -0
  296. /package/{dist/src → src}/omni-relation-semantics.d.ts +0 -0
  297. /package/{dist/src → src}/omni-relation-semantics.ts +0 -0
  298. /package/{dist/src → src}/omni-relation-status.enum.d.ts +0 -0
  299. /package/{dist/src → src}/omni-relation-status.enum.ts +0 -0
  300. /package/{dist/src → src}/omni-relation.backend.d.ts +0 -0
  301. /package/{dist/src → src}/omni-relation.backend.ts +0 -0
  302. /package/{dist/src → src}/omni-relation.service.d.ts +0 -0
  303. /package/{dist/src → src}/omni-relation.service.ts +0 -0
  304. /package/{dist/src → src}/omni-scope.d.ts +0 -0
  305. /package/{dist/src → src}/omni-scope.ts +0 -0
  306. /package/{dist/src → src}/omni-scoped.repository.d.ts +0 -0
  307. /package/{dist/src → src}/omni-scoped.repository.ts +0 -0
  308. /package/{dist/src → src}/omni-scoped.service.d.ts +0 -0
  309. /package/{dist/src → src}/omni-scoped.service.ts +0 -0
  310. /package/{dist/src → src}/omnikernel.diagnostics.d.ts +0 -0
  311. /package/{dist/src → src}/omnikernel.diagnostics.ts +0 -0
  312. /package/{dist/src → src}/omnikernel.module.d.ts +0 -0
  313. /package/{dist/src → src}/omnikernel.module.ts +0 -0
  314. /package/{dist/src → src}/omnikernel.query.service.d.ts +0 -0
  315. /package/{dist/src → src}/omnikernel.query.service.ts +0 -0
package/package.json CHANGED
@@ -1,31 +1,27 @@
1
1
  {
2
2
  "name": "@nest-yalc-2/omnikernel-module",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "type": "module",
5
5
  "description": "Foundational OmniKernel persistence module for nestjs-yalc",
6
- "main": "./dist/src/index.js",
7
- "types": "./dist/src/index.d.ts",
6
+ "main": "./src/index.js",
7
+ "types": "./src/index.d.ts",
8
8
  "exports": {
9
- ".": "./dist/src/index.js",
10
- "./*.js": "./dist/src/*.js",
11
- "./*": "./dist/src/*"
9
+ ".": "./src/index.js",
10
+ "./*": "./src/*"
12
11
  },
13
- "scripts": {
14
- "build": "rimraf ./dist && tsc --project ./tsconfig.build.json",
15
- "test": "echo \"Use the root Jest projects\""
16
- },
17
- "author": "",
12
+ "author": "Autistic_Intelligence",
18
13
  "license": "MIT",
19
14
  "files": [
20
- "dist"
15
+ "dist",
16
+ "src"
21
17
  ],
22
18
  "dependencies": {
23
- "@nest-yalc-2/crud-gen": "^2.0.0",
24
- "@nest-yalc-2/data-loader": "^2.0.0",
25
- "@nest-yalc-2/event-manager": "^2.0.0",
26
- "@nest-yalc-2/graphql": "^2.0.0",
19
+ "@nest-yalc-2/crud-gen": "^2.2.2",
20
+ "@nest-yalc-2/data-loader": "^2.2.2",
21
+ "@nest-yalc-2/event-manager": "^2.2.2",
22
+ "@nest-yalc-2/graphql": "^2.2.2",
27
23
  "@nest-yalc-2/types": "^1.0.0",
28
- "@nest-yalc-2/utils": "^1.0.0",
24
+ "@nest-yalc-2/utils": "^2.2.2",
29
25
  "tslib": "^2.8.1"
30
26
  },
31
27
  "peerDependencies": {
@@ -40,5 +36,22 @@
40
36
  "graphql-type-json": "^0.3.2",
41
37
  "reflect-metadata": "^0.2.2",
42
38
  "typeorm": "^0.3.28"
39
+ },
40
+ "keywords": [
41
+ "nestjs",
42
+ "yalc",
43
+ "framework",
44
+ "omnikernel module"
45
+ ],
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/Nek97/nestjs-yalc.git"
49
+ },
50
+ "bugs": {
51
+ "url": "https://github.com/Nek97/nestjs-yalc/issues"
52
+ },
53
+ "homepage": "https://github.com/Nek97/nestjs-yalc#readme",
54
+ "publishConfig": {
55
+ "access": "public"
43
56
  }
44
57
  }
@@ -0,0 +1,42 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { ObjectType } from '@nestjs/graphql';
3
+ import { BaseEntity, CreateDateColumn, DeleteDateColumn, PrimaryColumn, UpdateDateColumn, VersionColumn, } from 'typeorm';
4
+ let OmniBaseEntity = class OmniBaseEntity extends BaseEntity {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.scopeId = 'default';
8
+ }
9
+ };
10
+ __decorate([
11
+ PrimaryColumn('varchar', {
12
+ name: 'scopeId',
13
+ length: 64,
14
+ default: 'default',
15
+ }),
16
+ __metadata("design:type", String)
17
+ ], OmniBaseEntity.prototype, "scopeId", void 0);
18
+ __decorate([
19
+ PrimaryColumn('varchar', { name: 'guid', length: 36 }),
20
+ __metadata("design:type", String)
21
+ ], OmniBaseEntity.prototype, "guid", void 0);
22
+ __decorate([
23
+ VersionColumn({ type: 'integer', default: 1 }),
24
+ __metadata("design:type", Number)
25
+ ], OmniBaseEntity.prototype, "revision", void 0);
26
+ __decorate([
27
+ DeleteDateColumn({ nullable: true }),
28
+ __metadata("design:type", Object)
29
+ ], OmniBaseEntity.prototype, "deletedAt", void 0);
30
+ __decorate([
31
+ CreateDateColumn(),
32
+ __metadata("design:type", Date)
33
+ ], OmniBaseEntity.prototype, "createdAt", void 0);
34
+ __decorate([
35
+ UpdateDateColumn(),
36
+ __metadata("design:type", Date)
37
+ ], OmniBaseEntity.prototype, "updatedAt", void 0);
38
+ OmniBaseEntity = __decorate([
39
+ ObjectType({ isAbstract: true })
40
+ ], OmniBaseEntity);
41
+ export { OmniBaseEntity };
42
+ //# sourceMappingURL=omni-base.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omni-base.entity.js","sourceRoot":"","sources":["omni-base.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,aAAa,GACd,MAAM,SAAS,CAAC;AAGV,IAAe,cAAc,GAA7B,MAAe,cAAe,SAAQ,UAAU;IAAhD;;QAWL,YAAO,GAAW,SAAS,CAAC;IAkB9B,CAAC;CAAA,CAAA;AAlBC;IALC,aAAa,CAAC,SAAS,EAAE;QACxB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,SAAS;KACnB,CAAC;;+CAC0B;AAG5B;IADC,aAAa,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;4CACzC;AAId;IADC,aAAa,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;gDAC7B;AAIlB;IADC,gBAAgB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACb;AAGxB;IADC,gBAAgB,EAAE;8BACP,IAAI;iDAAC;AAGjB;IADC,gBAAgB,EAAE;8BACP,IAAI;iDAAC;AA5BG,cAAc;IADnC,UAAU,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GACX,cAAc,CA6BnC"}
@@ -0,0 +1,61 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { ObjectType } from '@nestjs/graphql';
3
+ import { Column, Entity, Index } from 'typeorm';
4
+ import { OmniBaseEntity } from './omni-base.entity.js';
5
+ import { OmniExternalRefInternalType } from '../omni-external-ref-internal-type.enum.js';
6
+ let OmniExternalRefEntity = class OmniExternalRefEntity extends OmniBaseEntity {
7
+ };
8
+ __decorate([
9
+ Column({
10
+ type: 'varchar',
11
+ enum: Object.values(OmniExternalRefInternalType),
12
+ length: 64,
13
+ }),
14
+ __metadata("design:type", String)
15
+ ], OmniExternalRefEntity.prototype, "internalType", void 0);
16
+ __decorate([
17
+ Column({ type: 'varchar', length: 36 }),
18
+ __metadata("design:type", String)
19
+ ], OmniExternalRefEntity.prototype, "internalId", void 0);
20
+ __decorate([
21
+ Column({ type: 'varchar', length: 128 }),
22
+ __metadata("design:type", String)
23
+ ], OmniExternalRefEntity.prototype, "provider", void 0);
24
+ __decorate([
25
+ Column({ type: 'varchar', default: '', length: 128 }),
26
+ __metadata("design:type", Object)
27
+ ], OmniExternalRefEntity.prototype, "account", void 0);
28
+ __decorate([
29
+ Column({ type: 'varchar', default: '', length: 128 }),
30
+ __metadata("design:type", Object)
31
+ ], OmniExternalRefEntity.prototype, "container", void 0);
32
+ __decorate([
33
+ Column({ type: 'varchar', length: 255 }),
34
+ __metadata("design:type", String)
35
+ ], OmniExternalRefEntity.prototype, "externalId", void 0);
36
+ __decorate([
37
+ Column({ type: 'simple-json', nullable: true }),
38
+ __metadata("design:type", Object)
39
+ ], OmniExternalRefEntity.prototype, "payload", void 0);
40
+ __decorate([
41
+ Column({ type: 'varchar', nullable: true, length: 128 }),
42
+ __metadata("design:type", Object)
43
+ ], OmniExternalRefEntity.prototype, "payloadSchemaId", void 0);
44
+ __decorate([
45
+ Column({ type: 'integer', nullable: true }),
46
+ __metadata("design:type", Object)
47
+ ], OmniExternalRefEntity.prototype, "payloadSchemaVersion", void 0);
48
+ OmniExternalRefEntity = __decorate([
49
+ Entity('omni-external-ref'),
50
+ Index('omni_external_ref_scope_external_identity_unique', ['scopeId', 'provider', 'account', 'container', 'externalId'], { unique: true }),
51
+ Index('omni_external_ref_scope_internal_lookup_idx', [
52
+ 'scopeId',
53
+ 'internalType',
54
+ 'internalId',
55
+ 'provider',
56
+ 'guid',
57
+ ]),
58
+ ObjectType({ isAbstract: true })
59
+ ], OmniExternalRefEntity);
60
+ export { OmniExternalRefEntity };
61
+ //# sourceMappingURL=omni-external-ref.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omni-external-ref.entity.js","sourceRoot":"","sources":["omni-external-ref.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AAgBlF,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,cAAc;CAiCxD,CAAA;AA3BC;IALC,MAAM,CAAC;QACN,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC;QAChD,MAAM,EAAE,EAAE;KACX,CAAC;;2DACyC;AAG3C;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;yDACpB;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;uDACvB;AAIlB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;sDAC9B;AAIxB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;wDAC5B;AAG1B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;yDACrB;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;AAGzC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;8DACzB;AAGhC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACP;AAhC1B,qBAAqB;IAdjC,MAAM,CAAC,mBAAmB,CAAC;IAC3B,KAAK,CACJ,kDAAkD,EAClD,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,CAAC,EAC7D,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB;IACA,KAAK,CAAC,6CAA6C,EAAE;QACpD,SAAS;QACT,cAAc;QACd,YAAY;QACZ,UAAU;QACV,MAAM;KACP,CAAC;IACD,UAAU,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GACpB,qBAAqB,CAiCjC"}
@@ -0,0 +1,24 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { ObjectType } from '@nestjs/graphql';
3
+ import { Column, Entity } from 'typeorm';
4
+ import { OmniBaseEntity } from './omni-base.entity.js';
5
+ let OmniNamedEntity = class OmniNamedEntity extends OmniBaseEntity {
6
+ };
7
+ __decorate([
8
+ Column({ type: 'varchar', nullable: true, length: 128 }),
9
+ __metadata("design:type", Object)
10
+ ], OmniNamedEntity.prototype, "externalId", void 0);
11
+ __decorate([
12
+ Column({ type: 'varchar', length: 255 }),
13
+ __metadata("design:type", String)
14
+ ], OmniNamedEntity.prototype, "title", void 0);
15
+ __decorate([
16
+ Column({ type: 'varchar', nullable: true, length: 255 }),
17
+ __metadata("design:type", Object)
18
+ ], OmniNamedEntity.prototype, "slug", void 0);
19
+ OmniNamedEntity = __decorate([
20
+ Entity('omni-named'),
21
+ ObjectType({ isAbstract: true })
22
+ ], OmniNamedEntity);
23
+ export { OmniNamedEntity };
24
+ //# sourceMappingURL=omni-named.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omni-named.entity.js","sourceRoot":"","sources":["omni-named.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAIhD,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,cAAc;CASlD,CAAA;AAPC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;mDAC9B;AAG3B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;8CAC1B;AAGf;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;6CACpC;AARV,eAAe;IAF3B,MAAM,CAAC,YAAY,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GACpB,eAAe,CAS3B"}
@@ -0,0 +1,60 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { ObjectType } from '@nestjs/graphql';
3
+ import { Column, Entity, Index, OneToMany, TableInheritance } from 'typeorm';
4
+ import { OmniNamedEntity } from './omni-named.entity.js';
5
+ import { OmniRelationEntity } from './omni-relation.entity.js';
6
+ import { OmniRecordStatus } from '../omni-record-status.enum.js';
7
+ let OmniRecordEntity = class OmniRecordEntity extends OmniNamedEntity {
8
+ };
9
+ __decorate([
10
+ Column({ type: 'varchar', length: 64 }),
11
+ __metadata("design:type", String)
12
+ ], OmniRecordEntity.prototype, "kind", void 0);
13
+ __decorate([
14
+ Column({
15
+ type: 'varchar',
16
+ default: OmniRecordStatus.Draft,
17
+ enum: Object.values(OmniRecordStatus),
18
+ length: 32,
19
+ }),
20
+ __metadata("design:type", String)
21
+ ], OmniRecordEntity.prototype, "status", void 0);
22
+ __decorate([
23
+ Column({ type: 'simple-json', nullable: true }),
24
+ __metadata("design:type", Object)
25
+ ], OmniRecordEntity.prototype, "payload", void 0);
26
+ __decorate([
27
+ Column({ type: 'varchar', nullable: true, length: 128 }),
28
+ __metadata("design:type", Object)
29
+ ], OmniRecordEntity.prototype, "payloadSchemaId", void 0);
30
+ __decorate([
31
+ Column({ type: 'integer', nullable: true }),
32
+ __metadata("design:type", Object)
33
+ ], OmniRecordEntity.prototype, "payloadSchemaVersion", void 0);
34
+ __decorate([
35
+ OneToMany(() => OmniRelationEntity, (relation) => relation.sourceRecord),
36
+ __metadata("design:type", Object)
37
+ ], OmniRecordEntity.prototype, "outgoingRelations", void 0);
38
+ __decorate([
39
+ OneToMany(() => OmniRelationEntity, (relation) => relation.targetRecord),
40
+ __metadata("design:type", Object)
41
+ ], OmniRecordEntity.prototype, "incomingRelations", void 0);
42
+ OmniRecordEntity = __decorate([
43
+ Entity('omni-record'),
44
+ Index('omni_record_scope_kind_status_guid_idx', [
45
+ 'scopeId',
46
+ 'kind',
47
+ 'status',
48
+ 'guid',
49
+ ]),
50
+ TableInheritance({
51
+ column: {
52
+ name: 'recordType',
53
+ type: 'varchar',
54
+ length: 32,
55
+ },
56
+ }),
57
+ ObjectType({ isAbstract: true })
58
+ ], OmniRecordEntity);
59
+ export { OmniRecordEntity };
60
+ //# sourceMappingURL=omni-record.entity.js.map
@@ -0,0 +1 @@
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EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;;2DACtB;AA3BxC,gBAAgB;IAf5B,MAAM,CAAC,aAAa,CAAC;IACrB,KAAK,CAAC,wCAAwC,EAAE;QAC/C,SAAS;QACT,MAAM;QACN,QAAQ;QACR,MAAM;KACP,CAAC;IACD,gBAAgB,CAAC;QAChB,MAAM,EAAE;YACN,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,SAAS;YACf,MAAM,EAAE,EAAE;SACX;KACF,CAAC;IACD,UAAU,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GACpB,gBAAgB,CA4B5B"}
@@ -0,0 +1,80 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { ObjectType } from '@nestjs/graphql';
3
+ import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm';
4
+ import { OmniBaseEntity } from './omni-base.entity.js';
5
+ import { OmniRecordEntity } from './omni-record.entity.js';
6
+ import { OmniRelationStatus } from '../omni-relation-status.enum.js';
7
+ let OmniRelationEntity = class OmniRelationEntity extends OmniBaseEntity {
8
+ };
9
+ __decorate([
10
+ Column({ type: 'varchar', length: 36 }),
11
+ __metadata("design:type", String)
12
+ ], OmniRelationEntity.prototype, "sourceRecordId", void 0);
13
+ __decorate([
14
+ ManyToOne(() => OmniRecordEntity, (record) => record.outgoingRelations),
15
+ JoinColumn([
16
+ { name: 'scopeId', referencedColumnName: 'scopeId' },
17
+ { name: 'sourceRecordId', referencedColumnName: 'guid' },
18
+ ]),
19
+ __metadata("design:type", Object)
20
+ ], OmniRelationEntity.prototype, "sourceRecord", void 0);
21
+ __decorate([
22
+ Column({ type: 'varchar', length: 36 }),
23
+ __metadata("design:type", String)
24
+ ], OmniRelationEntity.prototype, "targetRecordId", void 0);
25
+ __decorate([
26
+ ManyToOne(() => OmniRecordEntity, (record) => record.incomingRelations),
27
+ JoinColumn([
28
+ { name: 'scopeId', referencedColumnName: 'scopeId' },
29
+ { name: 'targetRecordId', referencedColumnName: 'guid' },
30
+ ]),
31
+ __metadata("design:type", Object)
32
+ ], OmniRelationEntity.prototype, "targetRecord", void 0);
33
+ __decorate([
34
+ Column({ type: 'varchar', length: 64 }),
35
+ __metadata("design:type", String)
36
+ ], OmniRelationEntity.prototype, "kind", void 0);
37
+ __decorate([
38
+ Column({
39
+ type: 'varchar',
40
+ default: OmniRelationStatus.Active,
41
+ enum: Object.values(OmniRelationStatus),
42
+ length: 32,
43
+ }),
44
+ __metadata("design:type", String)
45
+ ], OmniRelationEntity.prototype, "status", void 0);
46
+ __decorate([
47
+ Column({ type: 'simple-json', nullable: true }),
48
+ __metadata("design:type", Object)
49
+ ], OmniRelationEntity.prototype, "payload", void 0);
50
+ __decorate([
51
+ Column({ type: 'varchar', nullable: true, length: 128 }),
52
+ __metadata("design:type", Object)
53
+ ], OmniRelationEntity.prototype, "payloadSchemaId", void 0);
54
+ __decorate([
55
+ Column({ type: 'integer', nullable: true }),
56
+ __metadata("design:type", Object)
57
+ ], OmniRelationEntity.prototype, "payloadSchemaVersion", void 0);
58
+ OmniRelationEntity = __decorate([
59
+ Entity('omni-relation'),
60
+ Index('omni_relation_scope_source_kind_status_created_guid_idx', [
61
+ 'scopeId',
62
+ 'sourceRecordId',
63
+ 'kind',
64
+ 'status',
65
+ 'createdAt',
66
+ 'guid',
67
+ ]),
68
+ Index('omni_relation_scope_target_kind_status_created_guid_idx', [
69
+ 'scopeId',
70
+ 'targetRecordId',
71
+ 'kind',
72
+ 'status',
73
+ 'createdAt',
74
+ 'guid',
75
+ ]),
76
+ Index('omni_relation_scope_edge_kind_status_unique', ['scopeId', 'sourceRecordId', 'targetRecordId', 'kind', 'status'], { unique: true }),
77
+ ObjectType({ isAbstract: true })
78
+ ], OmniRelationEntity);
79
+ export { OmniRelationEntity };
80
+ //# sourceMappingURL=omni-relation.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omni-relation.entity.js","sourceRoot":"","sources":["omni-relation.entity.ts"],"names":[],"mappings":";AAAA,OAA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IAAI,EAAE,SAAS;QACf,OAAO,EAAE,kBAAkB,CAAC,MAAM;QAClC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC;QACvC,MAAM,EAAE,EAAE;KACX,CAAC;;kDAC0B;AAG5B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACP;AAGzC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2DACzB;AAGhC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACP;AAxC1B,kBAAkB;IAvB9B,MAAM,CAAC,eAAe,CAAC;IACvB,KAAK,CAAC,yDAAyD,EAAE;QAChE,SAAS;QACT,gBAAgB;QAChB,MAAM;QACN,QAAQ;QACR,WAAW;QACX,MAAM;KACP,CAAC;IACD,KAAK,CAAC,yDAAyD,EAAE;QAChE,SAAS;QACT,gBAAgB;QAChB,MAAM;QACN,QAAQ;QACR,WAAW;QACX,MAAM;KACP,CAAC;IACD,KAAK,CACJ,6CAA6C,EAC7C,CAAC,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,EAAE,QAAQ,CAAC,EACjE,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB;IACA,UAAU,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GACpB,kBAAkB,CAyC9B"}
package/src/index.js ADDED
@@ -0,0 +1,50 @@
1
+ export * from './base/omni-base.entity.js';
2
+ export * from './base/omni-named.entity.js';
3
+ export * from './base/omni-record.entity.js';
4
+ export * from './base/omni-relation.entity.js';
5
+ export * from './base/omni-external-ref.entity.js';
6
+ export * from './omni-named.dto.js';
7
+ export * from './omni-dto.helpers.js';
8
+ export * from './omni-named.backend.js';
9
+ export * from './omni-record-status.enum.js';
10
+ export * from './omni-relation-status.enum.js';
11
+ export * from './omni-relation-kind.enum.js';
12
+ export * from './omni-relation-kind.contract.js';
13
+ export * from './omni-relation-semantics.js';
14
+ export * from './omni-record.dto.js';
15
+ export * from './omni-record.backend.js';
16
+ export * from './omni-record.service.js';
17
+ export * from './omni-collection-kind.enum.js';
18
+ export * from './omni-collection.entity.js';
19
+ export * from './omni-collection.dto.js';
20
+ export * from './omni-collection.service.js';
21
+ export * from './omni-collection.backend.js';
22
+ export * from './omni-document-kind.enum.js';
23
+ export * from './omni-document.entity.js';
24
+ export * from './omni-document.dto.js';
25
+ export * from './omni-document.service.js';
26
+ export * from './omni-document.backend.js';
27
+ export * from './omni-relation.dto.js';
28
+ export * from './omni-relation.backend.js';
29
+ export * from './omni-external-ref-internal-type.enum.js';
30
+ export * from './omni-external-ref-binding.validator.js';
31
+ export * from './omni-external-ref.dto.js';
32
+ export * from './omni-external-ref.service.js';
33
+ export * from './omni-external-ref.backend.js';
34
+ export * from './omni-scoped.repository.js';
35
+ export * from './omni-scoped.service.js';
36
+ export * from './omni-scope.js';
37
+ export * from './omni-scoped.backend.js';
38
+ export * from './omni-projection.lifecycle.js';
39
+ export * from './omni-projection.catalog.js';
40
+ export * from './omni-extension-projection.definition.js';
41
+ export * from './omni-extension-projection.resource.js';
42
+ export * from './omni-extension-projection.service.js';
43
+ export * from './omni-migration.js';
44
+ export * from './omni-relation-projection.definition.js';
45
+ export * from './omni-relation-projection.resource.js';
46
+ export * from './omni-relation-projection.service.js';
47
+ export * from './omnikernel.query.service.js';
48
+ export * from './omnikernel.diagnostics.js';
49
+ export * from './omnikernel.module.js';
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,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umType } from '@nestjs/graphql';
2
+ export var OmniCollectionKind;
3
+ (function (OmniCollectionKind) {
4
+ OmniCollectionKind["Collection"] = "collection";
5
+ OmniCollectionKind["Folder"] = "folder";
6
+ })(OmniCollectionKind || (OmniCollectionKind = {}));
7
+ registerEnumType(OmniCollectionKind, {
8
+ name: 'OmniCollectionKind',
9
+ });
10
+ //# sourceMappingURL=omni-collection-kind.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omni-collection-kind.enum.js","sourceRoot":"","sources":["omni-collection-kind.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,+CAAyB,CAAA;IACzB,uCAAiB,CAAA;AACnB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED,gBAAgB,CAAC,kBAAkB,EAAE;IACnC,IAAI,EAAE,oBAAoB;CAC3B,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { OmniCollectionEntity } from './omni-collection.entity.js';
2
+ import { OmniCollectionService } from './omni-collection.service.js';
3
+ import { omniBackendServiceToken, omniScopedBackendProvidersFactory, } from './omni-scoped.backend.js';
4
+ export const omniCollectionBackendProvidersFactory = (dbConnection) => omniScopedBackendProvidersFactory({
5
+ entityModel: OmniCollectionEntity,
6
+ dbConnection,
7
+ serviceToken: omniBackendServiceToken(OmniCollectionService),
8
+ serviceProvider: OmniCollectionService,
9
+ createService: (repository, scope, options) => new OmniCollectionService(repository, scope, options.deletion.collection),
10
+ });
11
+ //# sourceMappingURL=omni-collection.backend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omni-collection.backend.js","sourceRoot":"","sources":["omni-collection.backend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,YAAoB,EAAE,EAAE,CAC5E,iCAAiC,CAAuB;IACtD,WAAW,EAAE,oBAAoB;IACjC,YAAY;IACZ,YAAY,EAAE,uBAAuB,CAAC,qBAAqB,CAAC;IAC5D,eAAe,EAAE,qBAAqB;IACtC,aAAa,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAC5C,IAAI,qBAAqB,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC;CAC5E,CAAC,CAAC"}
@@ -20,7 +20,7 @@ export declare class OmniCollectionType extends OmniCollectionEntity {
20
20
  collectionKind: OmniCollectionKind;
21
21
  summary?: string | null;
22
22
  }
23
- declare const OmniCollectionCreateInput_base: import("@nestjs/common").Type<Omit<OmniCollectionType, "createdAt" | "updatedAt" | "revision" | "kind" | "outgoingRelations" | "incomingRelations">>;
23
+ declare const OmniCollectionCreateInput_base: import("@nestjs/common").Type<Omit<OmniCollectionType, "revision" | "createdAt" | "updatedAt" | "kind" | "outgoingRelations" | "incomingRelations">>;
24
24
  export declare class OmniCollectionCreateInput extends OmniCollectionCreateInput_base {
25
25
  }
26
26
  declare const OmniCollectionCondition_base: import("@nestjs/common").Type<Partial<OmniCollectionCreateInput>>;
@@ -0,0 +1,170 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { InputType, Int, ObjectType, OmitType, PartialType, } from '@nestjs/graphql';
3
+ import { ModelField, ModelObject, } from '@nest-yalc-2/crud-gen/object.decorator.js';
4
+ import { UUIDScalar } from '@nest-yalc-2/graphql/scalars/uuid.scalar.js';
5
+ import returnValue from '@node-yalc/utils/returnValue.js';
6
+ import { IsEnum, IsInt, IsObject, IsOptional, IsString, IsUUID, MaxLength, } from 'class-validator';
7
+ import { GraphQLJSONObject } from 'graphql-type-json';
8
+ import { OmniRelationEntity } from './base/omni-relation.entity.js';
9
+ import { OmniCollectionEntity } from './omni-collection.entity.js';
10
+ import { OmniCollectionKind } from './omni-collection-kind.enum.js';
11
+ import { assignOmniPublicDto } from './omni-dto.helpers.js';
12
+ import { OmniRecordStatus } from './omni-record-status.enum.js';
13
+ import { OmniRelationType } from './omni-relation.dto.js';
14
+ let OmniCollectionType = class OmniCollectionType extends OmniCollectionEntity {
15
+ constructor(data) {
16
+ super();
17
+ if (data) {
18
+ assignOmniPublicDto(this, data);
19
+ }
20
+ }
21
+ };
22
+ __decorate([
23
+ ModelField({ gqlType: returnValue(UUIDScalar), isRequired: true }),
24
+ IsUUID(),
25
+ __metadata("design:type", String)
26
+ ], OmniCollectionType.prototype, "guid", void 0);
27
+ __decorate([
28
+ ModelField({ gqlType: returnValue(Int) }),
29
+ IsInt(),
30
+ __metadata("design:type", Number)
31
+ ], OmniCollectionType.prototype, "revision", void 0);
32
+ __decorate([
33
+ ModelField({
34
+ gqlType: returnValue(String),
35
+ gqlOptions: { nullable: true },
36
+ }),
37
+ IsOptional(),
38
+ IsString(),
39
+ MaxLength(128),
40
+ __metadata("design:type", Object)
41
+ ], OmniCollectionType.prototype, "externalId", void 0);
42
+ __decorate([
43
+ ModelField({ gqlType: returnValue(String) }),
44
+ IsString(),
45
+ MaxLength(255),
46
+ __metadata("design:type", String)
47
+ ], OmniCollectionType.prototype, "title", void 0);
48
+ __decorate([
49
+ ModelField({
50
+ gqlType: returnValue(String),
51
+ gqlOptions: { nullable: true },
52
+ }),
53
+ IsOptional(),
54
+ IsString(),
55
+ MaxLength(255),
56
+ __metadata("design:type", Object)
57
+ ], OmniCollectionType.prototype, "slug", void 0);
58
+ __decorate([
59
+ ModelField({ gqlType: returnValue(OmniCollectionKind) }),
60
+ IsEnum(OmniCollectionKind),
61
+ __metadata("design:type", String)
62
+ ], OmniCollectionType.prototype, "kind", void 0);
63
+ __decorate([
64
+ ModelField({ gqlType: returnValue(OmniRecordStatus) }),
65
+ IsEnum(OmniRecordStatus),
66
+ __metadata("design:type", String)
67
+ ], OmniCollectionType.prototype, "status", void 0);
68
+ __decorate([
69
+ ModelField({
70
+ gqlType: returnValue(GraphQLJSONObject),
71
+ gqlOptions: { nullable: true },
72
+ }),
73
+ IsOptional(),
74
+ IsObject(),
75
+ __metadata("design:type", Object)
76
+ ], OmniCollectionType.prototype, "payload", void 0);
77
+ __decorate([
78
+ ModelField({
79
+ gqlType: returnValue(String),
80
+ gqlOptions: { nullable: true },
81
+ }),
82
+ IsOptional(),
83
+ IsString(),
84
+ MaxLength(128),
85
+ __metadata("design:type", Object)
86
+ ], OmniCollectionType.prototype, "payloadSchemaId", void 0);
87
+ __decorate([
88
+ ModelField({
89
+ gqlType: returnValue(Int),
90
+ gqlOptions: { nullable: true },
91
+ }),
92
+ IsOptional(),
93
+ IsInt(),
94
+ __metadata("design:type", Object)
95
+ ], OmniCollectionType.prototype, "payloadSchemaVersion", void 0);
96
+ __decorate([
97
+ ModelField({
98
+ gqlType: () => [OmniRelationType],
99
+ gqlOptions: { nullable: true },
100
+ relation: {
101
+ relationType: 'one-to-many',
102
+ sourceKey: { dst: 'guid', alias: 'guid' },
103
+ targetKey: { dst: 'sourceRecordId', alias: 'sourceRecordId' },
104
+ type: () => OmniRelationEntity,
105
+ },
106
+ }),
107
+ __metadata("design:type", Object)
108
+ ], OmniCollectionType.prototype, "outgoingRelations", void 0);
109
+ __decorate([
110
+ ModelField({
111
+ gqlType: () => [OmniRelationType],
112
+ gqlOptions: { nullable: true },
113
+ relation: {
114
+ relationType: 'one-to-many',
115
+ sourceKey: { dst: 'guid', alias: 'guid' },
116
+ targetKey: { dst: 'targetRecordId', alias: 'targetRecordId' },
117
+ type: () => OmniRelationEntity,
118
+ },
119
+ }),
120
+ __metadata("design:type", Object)
121
+ ], OmniCollectionType.prototype, "incomingRelations", void 0);
122
+ __decorate([
123
+ ModelField({ gqlType: returnValue(OmniCollectionKind) }),
124
+ IsEnum(OmniCollectionKind),
125
+ __metadata("design:type", String)
126
+ ], OmniCollectionType.prototype, "collectionKind", void 0);
127
+ __decorate([
128
+ ModelField({
129
+ gqlType: returnValue(String),
130
+ gqlOptions: { nullable: true },
131
+ }),
132
+ IsOptional(),
133
+ IsString(),
134
+ __metadata("design:type", Object)
135
+ ], OmniCollectionType.prototype, "summary", void 0);
136
+ OmniCollectionType = __decorate([
137
+ ObjectType(),
138
+ ModelObject(),
139
+ __metadata("design:paramtypes", [Object])
140
+ ], OmniCollectionType);
141
+ export { OmniCollectionType };
142
+ let OmniCollectionCreateInput = class OmniCollectionCreateInput extends OmitType(OmniCollectionType, [
143
+ 'createdAt',
144
+ 'updatedAt',
145
+ 'revision',
146
+ 'kind',
147
+ 'outgoingRelations',
148
+ 'incomingRelations',
149
+ ], InputType) {
150
+ };
151
+ OmniCollectionCreateInput = __decorate([
152
+ InputType(),
153
+ ModelObject()
154
+ ], OmniCollectionCreateInput);
155
+ export { OmniCollectionCreateInput };
156
+ let OmniCollectionCondition = class OmniCollectionCondition extends PartialType(OmniCollectionCreateInput, InputType) {
157
+ };
158
+ OmniCollectionCondition = __decorate([
159
+ InputType(),
160
+ ModelObject({ copyFrom: OmniCollectionType })
161
+ ], OmniCollectionCondition);
162
+ export { OmniCollectionCondition };
163
+ let OmniCollectionUpdateInput = class OmniCollectionUpdateInput extends PartialType(OmniCollectionCreateInput, InputType) {
164
+ };
165
+ OmniCollectionUpdateInput = __decorate([
166
+ InputType(),
167
+ ModelObject({ copyFrom: OmniCollectionType })
168
+ ], OmniCollectionUpdateInput);
169
+ export { OmniCollectionUpdateInput };
170
+ //# sourceMappingURL=omni-collection.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omni-collection.dto.js","sourceRoot":"","sources":["omni-collection.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,GAAG,EACH,UAAU,EACV,QAAQ,EACR,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,UAAU,EACV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,mBAAmB;CACX,EACV,SAAS,CACV;CAAG,CAAA;AAXS,yBAAyB;IAFrC,SAAS,EAAE;IACX,WAAW,EAAE;GACD,yBAAyB,CAWlC;;AAIG,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,WAAW,CACtD,yBAAyB,EACzB,SAAS,CACV;CAAG,CAAA;AAHS,uBAAuB;IAFnC,SAAS,EAAE;IACX,WAAW,CAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAC;GACjC,uBAAuB,CAGhC;;AAIG,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,WAAW,CACxD,yBAAyB,EACzB,SAAS,CACV;CAAG,CAAA;AAHS,yBAAyB;IAFrC,SAAS,EAAE;IACX,WAAW,CAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAC;GACjC,yBAAyB,CAGlC"}
@@ -10,7 +10,7 @@ import {
10
10
  ModelObject,
11
11
  } from '@nest-yalc-2/crud-gen/object.decorator.js';
12
12
  import { UUIDScalar } from '@nest-yalc-2/graphql/scalars/uuid.scalar.js';
13
- import returnValue from '@node-yalc/utils/returnValue';
13
+ import returnValue from '@node-yalc/utils/returnValue.js';
14
14
  import {
15
15
  IsEnum,
16
16
  IsInt,