joist-core 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (891) hide show
  1. package/build/BaseEntity.d.cts +3 -4
  2. package/build/BaseEntity.d.cts.map +1 -1
  3. package/build/BaseEntity.d.mts +3 -4
  4. package/build/BaseEntity.d.mts.map +1 -1
  5. package/build/Entity.d.cts +3 -4
  6. package/build/Entity.d.cts.map +1 -1
  7. package/build/Entity.d.mts +3 -4
  8. package/build/Entity.d.mts.map +1 -1
  9. package/build/EntityFields.d.cts +3 -4
  10. package/build/EntityFields.d.cts.map +1 -1
  11. package/build/EntityFields.d.mts +3 -4
  12. package/build/EntityFields.d.mts.map +1 -1
  13. package/build/EntityManager.cjs +102 -22
  14. package/build/EntityManager.cjs.map +1 -1
  15. package/build/EntityManager.d.cts +99 -54
  16. package/build/EntityManager.d.cts.map +1 -1
  17. package/build/EntityManager.d.mts +99 -54
  18. package/build/EntityManager.d.mts.map +1 -1
  19. package/build/EntityManager.js +102 -24
  20. package/build/EntityManager.js.map +1 -1
  21. package/build/EntityMetadata.cjs +0 -1
  22. package/build/EntityMetadata.cjs.map +1 -1
  23. package/build/EntityMetadata.d.cts +47 -36
  24. package/build/EntityMetadata.d.cts.map +1 -1
  25. package/build/EntityMetadata.d.mts +47 -36
  26. package/build/EntityMetadata.d.mts.map +1 -1
  27. package/build/EntityMetadata.js +0 -1
  28. package/build/EntityMetadata.js.map +1 -1
  29. package/build/EnumMetadata.d.cts +1 -2
  30. package/build/EnumMetadata.d.cts.map +1 -1
  31. package/build/EnumMetadata.d.mts +1 -2
  32. package/build/EnumMetadata.d.mts.map +1 -1
  33. package/build/IndexManager.cjs +25 -5
  34. package/build/IndexManager.cjs.map +1 -1
  35. package/build/IndexManager.d.cts +2 -3
  36. package/build/IndexManager.d.cts.map +1 -1
  37. package/build/IndexManager.d.mts +2 -3
  38. package/build/IndexManager.d.mts.map +1 -1
  39. package/build/IndexManager.js +25 -5
  40. package/build/IndexManager.js.map +1 -1
  41. package/build/InstanceData.cjs.map +1 -1
  42. package/build/InstanceData.d.cts +1 -2
  43. package/build/InstanceData.d.cts.map +1 -1
  44. package/build/InstanceData.d.mts +1 -2
  45. package/build/InstanceData.d.mts.map +1 -1
  46. package/build/InstanceData.js.map +1 -1
  47. package/build/PluginManager.cjs.map +1 -1
  48. package/build/PluginManager.d.cts +4 -4
  49. package/build/PluginManager.d.cts.map +1 -1
  50. package/build/PluginManager.d.mts +4 -4
  51. package/build/PluginManager.d.mts.map +1 -1
  52. package/build/PluginManager.js.map +1 -1
  53. package/build/RowData.d.cts +3 -4
  54. package/build/RowData.d.cts.map +1 -1
  55. package/build/RowData.d.mts +3 -4
  56. package/build/RowData.d.mts.map +1 -1
  57. package/build/batchloaders/BatchLoader.cjs.map +1 -1
  58. package/build/batchloaders/BatchLoader.d.cts +1 -2
  59. package/build/batchloaders/BatchLoader.d.cts.map +1 -1
  60. package/build/batchloaders/BatchLoader.d.mts +1 -2
  61. package/build/batchloaders/BatchLoader.d.mts.map +1 -1
  62. package/build/batchloaders/BatchLoader.js.map +1 -1
  63. package/build/batchloaders/enumCollectionBatchLoader.d.cts +2 -3
  64. package/build/batchloaders/enumCollectionBatchLoader.d.cts.map +1 -1
  65. package/build/batchloaders/enumCollectionBatchLoader.d.mts +2 -3
  66. package/build/batchloaders/enumCollectionBatchLoader.d.mts.map +1 -1
  67. package/build/batchloaders/loadBatchLoader.d.cts +2 -3
  68. package/build/batchloaders/loadBatchLoader.d.cts.map +1 -1
  69. package/build/batchloaders/loadBatchLoader.d.mts +2 -3
  70. package/build/batchloaders/loadBatchLoader.d.mts.map +1 -1
  71. package/build/batchloaders/manyToManyBatchLoader.d.cts +2 -3
  72. package/build/batchloaders/manyToManyBatchLoader.d.cts.map +1 -1
  73. package/build/batchloaders/manyToManyBatchLoader.d.mts +2 -3
  74. package/build/batchloaders/manyToManyBatchLoader.d.mts.map +1 -1
  75. package/build/batchloaders/oneToManyBatchLoader.cjs +1 -1
  76. package/build/batchloaders/oneToManyBatchLoader.d.cts +2 -3
  77. package/build/batchloaders/oneToManyBatchLoader.d.cts.map +1 -1
  78. package/build/batchloaders/oneToManyBatchLoader.d.mts +2 -3
  79. package/build/batchloaders/oneToManyBatchLoader.d.mts.map +1 -1
  80. package/build/batchloaders/oneToManyBatchLoader.js +1 -1
  81. package/build/batchloaders/oneToOneBatchLoader.cjs +1 -1
  82. package/build/batchloaders/oneToOneBatchLoader.d.cts +2 -3
  83. package/build/batchloaders/oneToOneBatchLoader.d.cts.map +1 -1
  84. package/build/batchloaders/oneToOneBatchLoader.d.mts +2 -3
  85. package/build/batchloaders/oneToOneBatchLoader.d.mts.map +1 -1
  86. package/build/batchloaders/oneToOneBatchLoader.js +1 -1
  87. package/build/batchloaders/populateBatchLoader.d.cts +2 -3
  88. package/build/batchloaders/populateBatchLoader.d.cts.map +1 -1
  89. package/build/batchloaders/populateBatchLoader.d.mts +2 -3
  90. package/build/batchloaders/populateBatchLoader.d.mts.map +1 -1
  91. package/build/batchloaders/recursiveChildrenBatchLoader.cjs +1 -1
  92. package/build/batchloaders/recursiveChildrenBatchLoader.d.cts +2 -3
  93. package/build/batchloaders/recursiveChildrenBatchLoader.d.cts.map +1 -1
  94. package/build/batchloaders/recursiveChildrenBatchLoader.d.mts +2 -3
  95. package/build/batchloaders/recursiveChildrenBatchLoader.d.mts.map +1 -1
  96. package/build/batchloaders/recursiveChildrenBatchLoader.js +1 -1
  97. package/build/batchloaders/recursiveM2mBatchLoader.d.cts +2 -3
  98. package/build/batchloaders/recursiveM2mBatchLoader.d.cts.map +1 -1
  99. package/build/batchloaders/recursiveM2mBatchLoader.d.mts +2 -3
  100. package/build/batchloaders/recursiveM2mBatchLoader.d.mts.map +1 -1
  101. package/build/batchloaders/recursiveParentsBatchLoader.cjs +1 -1
  102. package/build/batchloaders/recursiveParentsBatchLoader.d.cts +2 -3
  103. package/build/batchloaders/recursiveParentsBatchLoader.d.cts.map +1 -1
  104. package/build/batchloaders/recursiveParentsBatchLoader.d.mts +2 -3
  105. package/build/batchloaders/recursiveParentsBatchLoader.d.mts.map +1 -1
  106. package/build/batchloaders/recursiveParentsBatchLoader.js +1 -1
  107. package/build/changes.cjs +1 -1
  108. package/build/changes.cjs.map +1 -1
  109. package/build/changes.d.cts +9 -10
  110. package/build/changes.d.cts.map +1 -1
  111. package/build/changes.d.mts +9 -10
  112. package/build/changes.d.mts.map +1 -1
  113. package/build/changes.js +1 -1
  114. package/build/changes.js.map +1 -1
  115. package/build/config.cjs +165 -26
  116. package/build/config.cjs.map +1 -1
  117. package/build/config.d.cts +111 -19
  118. package/build/config.d.cts.map +1 -1
  119. package/build/config.d.mts +111 -19
  120. package/build/config.d.mts.map +1 -1
  121. package/build/config.js +165 -26
  122. package/build/config.js.map +1 -1
  123. package/build/configure.cjs +32 -2
  124. package/build/configure.cjs.map +1 -1
  125. package/build/configure.d.cts +8 -9
  126. package/build/configure.d.cts.map +1 -1
  127. package/build/configure.d.mts +8 -9
  128. package/build/configure.d.mts.map +1 -1
  129. package/build/configure.js +32 -2
  130. package/build/configure.js.map +1 -1
  131. package/build/dataloaders/fastWhereFilterHash.d.cts +1 -2
  132. package/build/dataloaders/fastWhereFilterHash.d.cts.map +1 -1
  133. package/build/dataloaders/fastWhereFilterHash.d.mts +1 -2
  134. package/build/dataloaders/fastWhereFilterHash.d.mts.map +1 -1
  135. package/build/dataloaders/findByUniqueDataLoader.d.cts +2 -3
  136. package/build/dataloaders/findByUniqueDataLoader.d.cts.map +1 -1
  137. package/build/dataloaders/findByUniqueDataLoader.d.mts +2 -3
  138. package/build/dataloaders/findByUniqueDataLoader.d.mts.map +1 -1
  139. package/build/dataloaders/findCountDataLoader.d.cts +4 -5
  140. package/build/dataloaders/findCountDataLoader.d.cts.map +1 -1
  141. package/build/dataloaders/findCountDataLoader.d.mts +4 -5
  142. package/build/dataloaders/findCountDataLoader.d.mts.map +1 -1
  143. package/build/dataloaders/findDataLoader.cjs +1 -1
  144. package/build/dataloaders/findDataLoader.d.cts +11 -12
  145. package/build/dataloaders/findDataLoader.d.cts.map +1 -1
  146. package/build/dataloaders/findDataLoader.d.mts +11 -12
  147. package/build/dataloaders/findDataLoader.d.mts.map +1 -1
  148. package/build/dataloaders/findDataLoader.js +1 -1
  149. package/build/dataloaders/findIdsDataLoader.d.cts +2 -3
  150. package/build/dataloaders/findIdsDataLoader.d.cts.map +1 -1
  151. package/build/dataloaders/findIdsDataLoader.d.mts +2 -3
  152. package/build/dataloaders/findIdsDataLoader.d.mts.map +1 -1
  153. package/build/dataloaders/findOrCreateDataLoader.cjs +6 -2
  154. package/build/dataloaders/findOrCreateDataLoader.cjs.map +1 -1
  155. package/build/dataloaders/findOrCreateDataLoader.d.cts +3 -3
  156. package/build/dataloaders/findOrCreateDataLoader.d.cts.map +1 -1
  157. package/build/dataloaders/findOrCreateDataLoader.d.mts +3 -3
  158. package/build/dataloaders/findOrCreateDataLoader.d.mts.map +1 -1
  159. package/build/dataloaders/findOrCreateDataLoader.js +7 -3
  160. package/build/dataloaders/findOrCreateDataLoader.js.map +1 -1
  161. package/build/dataloaders/findPaginatedDataLoader.cjs +10 -12
  162. package/build/dataloaders/findPaginatedDataLoader.cjs.map +1 -1
  163. package/build/dataloaders/findPaginatedDataLoader.d.cts +1 -2
  164. package/build/dataloaders/findPaginatedDataLoader.d.cts.map +1 -1
  165. package/build/dataloaders/findPaginatedDataLoader.d.mts +1 -2
  166. package/build/dataloaders/findPaginatedDataLoader.d.mts.map +1 -1
  167. package/build/dataloaders/findPaginatedDataLoader.js +10 -12
  168. package/build/dataloaders/findPaginatedDataLoader.js.map +1 -1
  169. package/build/dataloaders/lensDataLoader.d.cts +2 -3
  170. package/build/dataloaders/lensDataLoader.d.cts.map +1 -1
  171. package/build/dataloaders/lensDataLoader.d.mts +2 -3
  172. package/build/dataloaders/lensDataLoader.d.mts.map +1 -1
  173. package/build/dataloaders/manyToManyFindDataLoader.d.cts +2 -3
  174. package/build/dataloaders/manyToManyFindDataLoader.d.cts.map +1 -1
  175. package/build/dataloaders/manyToManyFindDataLoader.d.mts +2 -3
  176. package/build/dataloaders/manyToManyFindDataLoader.d.mts.map +1 -1
  177. package/build/dataloaders/oneToManyFindDataLoader.d.cts +2 -3
  178. package/build/dataloaders/oneToManyFindDataLoader.d.cts.map +1 -1
  179. package/build/dataloaders/oneToManyFindDataLoader.d.mts +2 -3
  180. package/build/dataloaders/oneToManyFindDataLoader.d.mts.map +1 -1
  181. package/build/defaults.cjs +1 -1
  182. package/build/defaults.cjs.map +1 -1
  183. package/build/defaults.d.cts +7 -7
  184. package/build/defaults.d.cts.map +1 -1
  185. package/build/defaults.d.mts +7 -7
  186. package/build/defaults.d.mts.map +1 -1
  187. package/build/defaults.js +1 -1
  188. package/build/defaults.js.map +1 -1
  189. package/build/drivers/Driver.d.cts +2 -3
  190. package/build/drivers/Driver.d.cts.map +1 -1
  191. package/build/drivers/Driver.d.mts +2 -3
  192. package/build/drivers/Driver.d.mts.map +1 -1
  193. package/build/drivers/EntityWriter.cjs +4 -3
  194. package/build/drivers/EntityWriter.cjs.map +1 -1
  195. package/build/drivers/EntityWriter.d.cts +19 -7
  196. package/build/drivers/EntityWriter.d.cts.map +1 -1
  197. package/build/drivers/EntityWriter.d.mts +19 -7
  198. package/build/drivers/EntityWriter.d.mts.map +1 -1
  199. package/build/drivers/EntityWriter.js +5 -4
  200. package/build/drivers/EntityWriter.js.map +1 -1
  201. package/build/drivers/IdAssigner.cjs.map +1 -1
  202. package/build/drivers/IdAssigner.d.cts +5 -5
  203. package/build/drivers/IdAssigner.d.cts.map +1 -1
  204. package/build/drivers/IdAssigner.d.mts +5 -5
  205. package/build/drivers/IdAssigner.d.mts.map +1 -1
  206. package/build/drivers/IdAssigner.js.map +1 -1
  207. package/build/drivers/driverApi.d.cts +2 -3
  208. package/build/drivers/driverApi.d.cts.map +1 -1
  209. package/build/drivers/driverApi.d.mts +2 -3
  210. package/build/drivers/driverApi.d.mts.map +1 -1
  211. package/build/fields.cjs +12 -9
  212. package/build/fields.cjs.map +1 -1
  213. package/build/fields.d.cts +10 -11
  214. package/build/fields.d.cts.map +1 -1
  215. package/build/fields.d.mts +10 -11
  216. package/build/fields.d.mts.map +1 -1
  217. package/build/fields.js +12 -9
  218. package/build/fields.js.map +1 -1
  219. package/build/flush/FlushLock.cjs.map +1 -1
  220. package/build/flush/FlushLock.d.cts +1 -2
  221. package/build/flush/FlushLock.d.cts.map +1 -1
  222. package/build/flush/FlushLock.d.mts +1 -2
  223. package/build/flush/FlushLock.d.mts.map +1 -1
  224. package/build/flush/FlushLock.js.map +1 -1
  225. package/build/flush/JoinRows.cjs.map +1 -1
  226. package/build/flush/JoinRows.d.cts +5 -6
  227. package/build/flush/JoinRows.d.cts.map +1 -1
  228. package/build/flush/JoinRows.d.mts +5 -6
  229. package/build/flush/JoinRows.d.mts.map +1 -1
  230. package/build/flush/JoinRows.js.map +1 -1
  231. package/build/flush/PendingChanges.d.cts +5 -6
  232. package/build/flush/PendingChanges.d.cts.map +1 -1
  233. package/build/flush/PendingChanges.d.mts +5 -6
  234. package/build/flush/PendingChanges.d.mts.map +1 -1
  235. package/build/flush/ReadDrift.cjs +90 -0
  236. package/build/flush/ReadDrift.cjs.map +1 -0
  237. package/build/flush/ReadDrift.d.cts +25 -0
  238. package/build/flush/ReadDrift.d.cts.map +1 -0
  239. package/build/flush/ReadDrift.d.mts +25 -0
  240. package/build/flush/ReadDrift.d.mts.map +1 -0
  241. package/build/flush/ReadDrift.js +87 -0
  242. package/build/flush/ReadDrift.js.map +1 -0
  243. package/build/flush/Todo.d.cts +5 -6
  244. package/build/flush/Todo.d.cts.map +1 -1
  245. package/build/flush/Todo.d.mts +5 -6
  246. package/build/flush/Todo.d.mts.map +1 -1
  247. package/build/getProperties.cjs +1 -1
  248. package/build/getProperties.d.cts +3 -4
  249. package/build/getProperties.d.cts.map +1 -1
  250. package/build/getProperties.d.mts +3 -4
  251. package/build/getProperties.d.mts.map +1 -1
  252. package/build/getProperties.js +1 -1
  253. package/build/index.cjs +20 -7
  254. package/build/index.cjs.map +1 -1
  255. package/build/index.d.cts +23 -19
  256. package/build/index.d.cts.map +1 -1
  257. package/build/index.d.mts +23 -19
  258. package/build/index.d.mts.map +1 -1
  259. package/build/index.js +17 -10
  260. package/build/index.js.map +1 -1
  261. package/build/json.d.cts +11 -11
  262. package/build/json.d.cts.map +1 -1
  263. package/build/json.d.mts +11 -11
  264. package/build/json.d.mts.map +1 -1
  265. package/build/keys.d.cts +27 -27
  266. package/build/keys.d.cts.map +1 -1
  267. package/build/keys.d.mts +27 -27
  268. package/build/keys.d.mts.map +1 -1
  269. package/build/loading/HintTree.d.cts +3 -4
  270. package/build/loading/HintTree.d.cts.map +1 -1
  271. package/build/loading/HintTree.d.mts +3 -4
  272. package/build/loading/HintTree.d.mts.map +1 -1
  273. package/build/loading/IsLoadedCache.cjs +2 -2
  274. package/build/loading/IsLoadedCache.cjs.map +1 -1
  275. package/build/loading/IsLoadedCache.d.cts +3 -4
  276. package/build/loading/IsLoadedCache.d.cts.map +1 -1
  277. package/build/loading/IsLoadedCache.d.mts +3 -4
  278. package/build/loading/IsLoadedCache.d.mts.map +1 -1
  279. package/build/loading/IsLoadedCache.js +2 -2
  280. package/build/loading/IsLoadedCache.js.map +1 -1
  281. package/build/loading/loadHints.d.cts +17 -17
  282. package/build/loading/loadHints.d.cts.map +1 -1
  283. package/build/loading/loadHints.d.mts +17 -17
  284. package/build/loading/loadHints.d.mts.map +1 -1
  285. package/build/loading/loadLens.d.cts +13 -13
  286. package/build/loading/loadLens.d.cts.map +1 -1
  287. package/build/loading/loadLens.d.mts +13 -13
  288. package/build/loading/loadLens.d.mts.map +1 -1
  289. package/build/loading/withLoaded.d.cts +5 -6
  290. package/build/loading/withLoaded.d.cts.map +1 -1
  291. package/build/loading/withLoaded.d.mts +5 -6
  292. package/build/loading/withLoaded.d.mts.map +1 -1
  293. package/build/logging/FactoryLogger.cjs +1 -1
  294. package/build/logging/FactoryLogger.cjs.map +1 -1
  295. package/build/logging/FactoryLogger.d.cts +3 -4
  296. package/build/logging/FactoryLogger.d.cts.map +1 -1
  297. package/build/logging/FactoryLogger.d.mts +3 -4
  298. package/build/logging/FactoryLogger.d.mts.map +1 -1
  299. package/build/logging/FactoryLogger.js +2 -2
  300. package/build/logging/FactoryLogger.js.map +1 -1
  301. package/build/logging/FieldLogger.cjs.map +1 -1
  302. package/build/logging/FieldLogger.d.cts +4 -5
  303. package/build/logging/FieldLogger.d.cts.map +1 -1
  304. package/build/logging/FieldLogger.d.mts +4 -5
  305. package/build/logging/FieldLogger.d.mts.map +1 -1
  306. package/build/logging/FieldLogger.js.map +1 -1
  307. package/build/logging/ReactionLogger.d.cts +7 -7
  308. package/build/logging/ReactionLogger.d.cts.map +1 -1
  309. package/build/logging/ReactionLogger.d.mts +7 -7
  310. package/build/logging/ReactionLogger.d.mts.map +1 -1
  311. package/build/metrics/EntityMetrics.cjs +81 -0
  312. package/build/metrics/EntityMetrics.cjs.map +1 -0
  313. package/build/metrics/EntityMetrics.d.cts +55 -0
  314. package/build/metrics/EntityMetrics.d.cts.map +1 -0
  315. package/build/metrics/EntityMetrics.d.mts +55 -0
  316. package/build/metrics/EntityMetrics.d.mts.map +1 -0
  317. package/build/metrics/EntityMetrics.js +79 -0
  318. package/build/metrics/EntityMetrics.js.map +1 -0
  319. package/build/newEntity.cjs +1 -1
  320. package/build/newEntity.cjs.map +1 -1
  321. package/build/newEntity.d.cts +4 -5
  322. package/build/newEntity.d.cts.map +1 -1
  323. package/build/newEntity.d.mts +4 -5
  324. package/build/newEntity.d.mts.map +1 -1
  325. package/build/newEntity.js +1 -1
  326. package/build/newEntity.js.map +1 -1
  327. package/build/newTestInstance.cjs +1 -0
  328. package/build/newTestInstance.cjs.map +1 -1
  329. package/build/newTestInstance.d.cts +21 -21
  330. package/build/newTestInstance.d.cts.map +1 -1
  331. package/build/newTestInstance.d.mts +21 -21
  332. package/build/newTestInstance.d.mts.map +1 -1
  333. package/build/newTestInstance.js +1 -0
  334. package/build/newTestInstance.js.map +1 -1
  335. package/build/normalizeHints.d.cts +7 -8
  336. package/build/normalizeHints.d.cts.map +1 -1
  337. package/build/normalizeHints.d.mts +7 -8
  338. package/build/normalizeHints.d.mts.map +1 -1
  339. package/build/nowUTC.d.cts +4 -5
  340. package/build/nowUTC.d.cts.map +1 -1
  341. package/build/nowUTC.d.mts +4 -5
  342. package/build/nowUTC.d.mts.map +1 -1
  343. package/build/plugins/ImmutableEntitiesPlugin.d.cts +1 -2
  344. package/build/plugins/ImmutableEntitiesPlugin.d.cts.map +1 -1
  345. package/build/plugins/ImmutableEntitiesPlugin.d.mts +1 -2
  346. package/build/plugins/ImmutableEntitiesPlugin.d.mts.map +1 -1
  347. package/build/plugins/PreloadPlugin.d.cts +3 -4
  348. package/build/plugins/PreloadPlugin.d.cts.map +1 -1
  349. package/build/plugins/PreloadPlugin.d.mts +3 -4
  350. package/build/plugins/PreloadPlugin.d.mts.map +1 -1
  351. package/build/preloading/JsonAggregatePreloader.d.cts +1 -2
  352. package/build/preloading/JsonAggregatePreloader.d.cts.map +1 -1
  353. package/build/preloading/JsonAggregatePreloader.d.mts +1 -2
  354. package/build/preloading/JsonAggregatePreloader.d.mts.map +1 -1
  355. package/build/preloading/canPreload.d.cts +1 -2
  356. package/build/preloading/canPreload.d.cts.map +1 -1
  357. package/build/preloading/canPreload.d.mts +1 -2
  358. package/build/preloading/canPreload.d.mts.map +1 -1
  359. package/build/preloading/partitionHint.cjs +1 -1
  360. package/build/preloading/partitionHint.d.cts +1 -2
  361. package/build/preloading/partitionHint.d.cts.map +1 -1
  362. package/build/preloading/partitionHint.d.mts +1 -2
  363. package/build/preloading/partitionHint.d.mts.map +1 -1
  364. package/build/preloading/partitionHint.js +1 -1
  365. package/build/queries/ConditionBuilder.d.cts +2 -2
  366. package/build/queries/ConditionBuilder.d.cts.map +1 -1
  367. package/build/queries/ConditionBuilder.d.mts +2 -2
  368. package/build/queries/ConditionBuilder.d.mts.map +1 -1
  369. package/build/queries/conditions.d.cts +11 -12
  370. package/build/queries/conditions.d.cts.map +1 -1
  371. package/build/queries/conditions.d.mts +11 -12
  372. package/build/queries/conditions.d.mts.map +1 -1
  373. package/build/queries/entityQueryUtils.d.cts +4 -5
  374. package/build/queries/entityQueryUtils.d.cts.map +1 -1
  375. package/build/queries/entityQueryUtils.d.mts +4 -5
  376. package/build/queries/entityQueryUtils.d.mts.map +1 -1
  377. package/build/queries/find/Aliases.d.cts +16 -16
  378. package/build/queries/find/Aliases.d.cts.map +1 -1
  379. package/build/queries/find/Aliases.d.mts +16 -16
  380. package/build/queries/find/Aliases.d.mts.map +1 -1
  381. package/build/queries/find/DeferredAlias.d.cts +5 -6
  382. package/build/queries/find/DeferredAlias.d.cts.map +1 -1
  383. package/build/queries/find/DeferredAlias.d.mts +5 -6
  384. package/build/queries/find/DeferredAlias.d.mts.map +1 -1
  385. package/build/queries/find/EntityFilter.d.cts +12 -13
  386. package/build/queries/find/EntityFilter.d.cts.map +1 -1
  387. package/build/queries/find/EntityFilter.d.mts +12 -13
  388. package/build/queries/find/EntityFilter.d.mts.map +1 -1
  389. package/build/queries/find/EntityGraphQLFilter.d.cts +8 -9
  390. package/build/queries/find/EntityGraphQLFilter.d.cts.map +1 -1
  391. package/build/queries/find/EntityGraphQLFilter.d.mts +8 -9
  392. package/build/queries/find/EntityGraphQLFilter.d.mts.map +1 -1
  393. package/build/queries/find/QueryParser.collectionJoins.d.cts +1 -2
  394. package/build/queries/find/QueryParser.collectionJoins.d.cts.map +1 -1
  395. package/build/queries/find/QueryParser.collectionJoins.d.mts +1 -2
  396. package/build/queries/find/QueryParser.collectionJoins.d.mts.map +1 -1
  397. package/build/queries/find/QueryParser.d.cts +18 -18
  398. package/build/queries/find/QueryParser.d.cts.map +1 -1
  399. package/build/queries/find/QueryParser.d.mts +18 -18
  400. package/build/queries/find/QueryParser.d.mts.map +1 -1
  401. package/build/queries/find/QueryParser.pruning.d.cts +2 -3
  402. package/build/queries/find/QueryParser.pruning.d.cts.map +1 -1
  403. package/build/queries/find/QueryParser.pruning.d.mts +2 -3
  404. package/build/queries/find/QueryParser.pruning.d.mts.map +1 -1
  405. package/build/queries/find/QueryVisitor.d.cts +4 -4
  406. package/build/queries/find/QueryVisitor.d.cts.map +1 -1
  407. package/build/queries/find/QueryVisitor.d.mts +4 -4
  408. package/build/queries/find/QueryVisitor.d.mts.map +1 -1
  409. package/build/queries/find/buildFindQuery.d.cts +3 -3
  410. package/build/queries/find/buildFindQuery.d.cts.map +1 -1
  411. package/build/queries/find/buildFindQuery.d.mts +3 -3
  412. package/build/queries/find/buildFindQuery.d.mts.map +1 -1
  413. package/build/queries/find/scopes.cjs.map +1 -1
  414. package/build/queries/find/scopes.d.cts +12 -13
  415. package/build/queries/find/scopes.d.cts.map +1 -1
  416. package/build/queries/find/scopes.d.mts +12 -13
  417. package/build/queries/find/scopes.d.mts.map +1 -1
  418. package/build/queries/find/scopes.js.map +1 -1
  419. package/build/queries/parsedConditions.d.cts +7 -8
  420. package/build/queries/parsedConditions.d.cts.map +1 -1
  421. package/build/queries/parsedConditions.d.mts +7 -8
  422. package/build/queries/parsedConditions.d.mts.map +1 -1
  423. package/build/queries/renderConditions.d.cts +3 -4
  424. package/build/queries/renderConditions.d.cts.map +1 -1
  425. package/build/queries/renderConditions.d.mts +3 -4
  426. package/build/queries/renderConditions.d.mts.map +1 -1
  427. package/build/queries/skipCondition.d.cts +1 -2
  428. package/build/queries/skipCondition.d.cts.map +1 -1
  429. package/build/queries/skipCondition.d.mts +1 -2
  430. package/build/queries/skipCondition.d.mts.map +1 -1
  431. package/build/queries/sql/AliasAssigner.cjs.map +1 -1
  432. package/build/queries/sql/AliasAssigner.d.cts +1 -2
  433. package/build/queries/sql/AliasAssigner.d.cts.map +1 -1
  434. package/build/queries/sql/AliasAssigner.d.mts +1 -2
  435. package/build/queries/sql/AliasAssigner.d.mts.map +1 -1
  436. package/build/queries/sql/AliasAssigner.js.map +1 -1
  437. package/build/queries/sql/Expr.cjs +38 -0
  438. package/build/queries/sql/Expr.cjs.map +1 -1
  439. package/build/queries/sql/Expr.d.cts +45 -27
  440. package/build/queries/sql/Expr.d.cts.map +1 -1
  441. package/build/queries/sql/Expr.d.mts +45 -27
  442. package/build/queries/sql/Expr.d.mts.map +1 -1
  443. package/build/queries/sql/Expr.js +38 -1
  444. package/build/queries/sql/Expr.js.map +1 -1
  445. package/build/queries/sql/JoinTree.d.cts +5 -5
  446. package/build/queries/sql/JoinTree.d.cts.map +1 -1
  447. package/build/queries/sql/JoinTree.d.mts +5 -5
  448. package/build/queries/sql/JoinTree.d.mts.map +1 -1
  449. package/build/queries/sql/Tables.cjs +9 -0
  450. package/build/queries/sql/Tables.cjs.map +1 -1
  451. package/build/queries/sql/Tables.d.cts +46 -39
  452. package/build/queries/sql/Tables.d.cts.map +1 -1
  453. package/build/queries/sql/Tables.d.mts +46 -39
  454. package/build/queries/sql/Tables.d.mts.map +1 -1
  455. package/build/queries/sql/Tables.js +10 -1
  456. package/build/queries/sql/Tables.js.map +1 -1
  457. package/build/queries/sql/custom.d.cts +14 -14
  458. package/build/queries/sql/custom.d.cts.map +1 -1
  459. package/build/queries/sql/custom.d.mts +14 -14
  460. package/build/queries/sql/custom.d.mts.map +1 -1
  461. package/build/queries/sql/execute.cjs +68 -89
  462. package/build/queries/sql/execute.cjs.map +1 -1
  463. package/build/queries/sql/execute.d.cts +49 -32
  464. package/build/queries/sql/execute.d.cts.map +1 -1
  465. package/build/queries/sql/execute.d.mts +49 -32
  466. package/build/queries/sql/execute.d.mts.map +1 -1
  467. package/build/queries/sql/execute.js +70 -91
  468. package/build/queries/sql/execute.js.map +1 -1
  469. package/build/queries/sql/expressions/arrayAgg.d.cts +5 -6
  470. package/build/queries/sql/expressions/arrayAgg.d.cts.map +1 -1
  471. package/build/queries/sql/expressions/arrayAgg.d.mts +5 -6
  472. package/build/queries/sql/expressions/arrayAgg.d.mts.map +1 -1
  473. package/build/queries/sql/expressions/case.d.cts +10 -10
  474. package/build/queries/sql/expressions/case.d.cts.map +1 -1
  475. package/build/queries/sql/expressions/case.d.mts +10 -10
  476. package/build/queries/sql/expressions/case.d.mts.map +1 -1
  477. package/build/queries/sql/expressions/coalesce.d.cts +5 -6
  478. package/build/queries/sql/expressions/coalesce.d.cts.map +1 -1
  479. package/build/queries/sql/expressions/coalesce.d.mts +5 -6
  480. package/build/queries/sql/expressions/coalesce.d.mts.map +1 -1
  481. package/build/queries/sql/expressions/codecs.d.cts +1 -2
  482. package/build/queries/sql/expressions/codecs.d.cts.map +1 -1
  483. package/build/queries/sql/expressions/codecs.d.mts +1 -2
  484. package/build/queries/sql/expressions/codecs.d.mts.map +1 -1
  485. package/build/queries/sql/expressions/expression.d.cts +6 -6
  486. package/build/queries/sql/expressions/expression.d.cts.map +1 -1
  487. package/build/queries/sql/expressions/expression.d.mts +6 -6
  488. package/build/queries/sql/expressions/expression.d.mts.map +1 -1
  489. package/build/queries/sql/expressions/greatest.d.cts +5 -6
  490. package/build/queries/sql/expressions/greatest.d.cts.map +1 -1
  491. package/build/queries/sql/expressions/greatest.d.mts +5 -6
  492. package/build/queries/sql/expressions/greatest.d.mts.map +1 -1
  493. package/build/queries/sql/expressions/least.d.cts +5 -6
  494. package/build/queries/sql/expressions/least.d.cts.map +1 -1
  495. package/build/queries/sql/expressions/least.d.mts +5 -6
  496. package/build/queries/sql/expressions/least.d.mts.map +1 -1
  497. package/build/queries/sql/expressions/nullIf.d.cts +5 -6
  498. package/build/queries/sql/expressions/nullIf.d.cts.map +1 -1
  499. package/build/queries/sql/expressions/nullIf.d.mts +5 -6
  500. package/build/queries/sql/expressions/nullIf.d.mts.map +1 -1
  501. package/build/queries/sql/expressions/parseExpression.d.cts +5 -6
  502. package/build/queries/sql/expressions/parseExpression.d.cts.map +1 -1
  503. package/build/queries/sql/expressions/parseExpression.d.mts +5 -6
  504. package/build/queries/sql/expressions/parseExpression.d.mts.map +1 -1
  505. package/build/queries/sql/expressions/types.d.cts +11 -11
  506. package/build/queries/sql/expressions/types.d.cts.map +1 -1
  507. package/build/queries/sql/expressions/types.d.mts +11 -11
  508. package/build/queries/sql/expressions/types.d.mts.map +1 -1
  509. package/build/queries/sql/keywords.d.cts +4 -5
  510. package/build/queries/sql/keywords.d.cts.map +1 -1
  511. package/build/queries/sql/keywords.d.mts +4 -5
  512. package/build/queries/sql/keywords.d.mts.map +1 -1
  513. package/build/queries/sql/query.cjs +77 -30
  514. package/build/queries/sql/query.cjs.map +1 -1
  515. package/build/queries/sql/query.d.cts +119 -76
  516. package/build/queries/sql/query.d.cts.map +1 -1
  517. package/build/queries/sql/query.d.mts +119 -76
  518. package/build/queries/sql/query.d.mts.map +1 -1
  519. package/build/queries/sql/query.js +75 -30
  520. package/build/queries/sql/query.js.map +1 -1
  521. package/build/queries/unnest.cjs +4 -5
  522. package/build/queries/unnest.cjs.map +1 -1
  523. package/build/queries/unnest.d.cts +2 -3
  524. package/build/queries/unnest.d.cts.map +1 -1
  525. package/build/queries/unnest.d.mts +2 -3
  526. package/build/queries/unnest.d.mts.map +1 -1
  527. package/build/queries/unnest.js +4 -5
  528. package/build/queries/unnest.js.map +1 -1
  529. package/build/queries/valueFilters.d.cts +5 -6
  530. package/build/queries/valueFilters.d.cts.map +1 -1
  531. package/build/queries/valueFilters.d.mts +5 -6
  532. package/build/queries/valueFilters.d.mts.map +1 -1
  533. package/build/reactivity/ReactionsManager.cjs +171 -2
  534. package/build/reactivity/ReactionsManager.cjs.map +1 -1
  535. package/build/reactivity/ReactionsManager.d.cts +56 -4
  536. package/build/reactivity/ReactionsManager.d.cts.map +1 -1
  537. package/build/reactivity/ReactionsManager.d.mts +56 -4
  538. package/build/reactivity/ReactionsManager.d.mts.map +1 -1
  539. package/build/reactivity/ReactionsManager.js +172 -3
  540. package/build/reactivity/ReactionsManager.js.map +1 -1
  541. package/build/reactivity/reactiveHints.cjs +9 -3
  542. package/build/reactivity/reactiveHints.cjs.map +1 -1
  543. package/build/reactivity/reactiveHints.d.cts +19 -18
  544. package/build/reactivity/reactiveHints.d.cts.map +1 -1
  545. package/build/reactivity/reactiveHints.d.mts +19 -18
  546. package/build/reactivity/reactiveHints.d.mts.map +1 -1
  547. package/build/reactivity/reactiveHints.js +9 -3
  548. package/build/reactivity/reactiveHints.js.map +1 -1
  549. package/build/relations/AbstractPropertyImpl.cjs.map +1 -1
  550. package/build/relations/AbstractPropertyImpl.d.cts +1 -2
  551. package/build/relations/AbstractPropertyImpl.d.cts.map +1 -1
  552. package/build/relations/AbstractPropertyImpl.d.mts +1 -2
  553. package/build/relations/AbstractPropertyImpl.d.mts.map +1 -1
  554. package/build/relations/AbstractPropertyImpl.js.map +1 -1
  555. package/build/relations/AbstractRelationImpl.d.cts +1 -2
  556. package/build/relations/AbstractRelationImpl.d.cts.map +1 -1
  557. package/build/relations/AbstractRelationImpl.d.mts +1 -2
  558. package/build/relations/AbstractRelationImpl.d.mts.map +1 -1
  559. package/build/relations/AsyncProperty.cjs +1 -1
  560. package/build/relations/AsyncProperty.cjs.map +1 -1
  561. package/build/relations/AsyncProperty.d.cts +5 -6
  562. package/build/relations/AsyncProperty.d.cts.map +1 -1
  563. package/build/relations/AsyncProperty.d.mts +5 -6
  564. package/build/relations/AsyncProperty.d.mts.map +1 -1
  565. package/build/relations/AsyncProperty.js +1 -1
  566. package/build/relations/AsyncProperty.js.map +1 -1
  567. package/build/relations/AsyncReactiveField.cjs +23 -5
  568. package/build/relations/AsyncReactiveField.cjs.map +1 -1
  569. package/build/relations/AsyncReactiveField.d.cts +7 -6
  570. package/build/relations/AsyncReactiveField.d.cts.map +1 -1
  571. package/build/relations/AsyncReactiveField.d.mts +7 -6
  572. package/build/relations/AsyncReactiveField.d.mts.map +1 -1
  573. package/build/relations/AsyncReactiveField.js +23 -5
  574. package/build/relations/AsyncReactiveField.js.map +1 -1
  575. package/build/relations/Collection.d.cts +4 -5
  576. package/build/relations/Collection.d.cts.map +1 -1
  577. package/build/relations/Collection.d.mts +4 -5
  578. package/build/relations/Collection.d.mts.map +1 -1
  579. package/build/relations/CustomCollection.cjs +1 -1
  580. package/build/relations/CustomCollection.cjs.map +1 -1
  581. package/build/relations/CustomCollection.d.cts +3 -4
  582. package/build/relations/CustomCollection.d.cts.map +1 -1
  583. package/build/relations/CustomCollection.d.mts +3 -4
  584. package/build/relations/CustomCollection.d.mts.map +1 -1
  585. package/build/relations/CustomCollection.js +1 -1
  586. package/build/relations/CustomCollection.js.map +1 -1
  587. package/build/relations/CustomReference.cjs +2 -2
  588. package/build/relations/CustomReference.cjs.map +1 -1
  589. package/build/relations/CustomReference.d.cts +3 -4
  590. package/build/relations/CustomReference.d.cts.map +1 -1
  591. package/build/relations/CustomReference.d.mts +3 -4
  592. package/build/relations/CustomReference.d.mts.map +1 -1
  593. package/build/relations/CustomReference.js +2 -2
  594. package/build/relations/CustomReference.js.map +1 -1
  595. package/build/relations/EnumCollection.cjs +1 -1
  596. package/build/relations/EnumCollection.cjs.map +1 -1
  597. package/build/relations/EnumCollection.d.cts +5 -5
  598. package/build/relations/EnumCollection.d.cts.map +1 -1
  599. package/build/relations/EnumCollection.d.mts +5 -5
  600. package/build/relations/EnumCollection.d.mts.map +1 -1
  601. package/build/relations/EnumCollection.js +1 -1
  602. package/build/relations/EnumCollection.js.map +1 -1
  603. package/build/relations/LargeCollection.d.cts +1 -2
  604. package/build/relations/LargeCollection.d.cts.map +1 -1
  605. package/build/relations/LargeCollection.d.mts +1 -2
  606. package/build/relations/LargeCollection.d.mts.map +1 -1
  607. package/build/relations/LazyField.cjs +16 -2
  608. package/build/relations/LazyField.cjs.map +1 -1
  609. package/build/relations/LazyField.d.cts +13 -8
  610. package/build/relations/LazyField.d.cts.map +1 -1
  611. package/build/relations/LazyField.d.mts +13 -8
  612. package/build/relations/LazyField.d.mts.map +1 -1
  613. package/build/relations/LazyField.js +16 -2
  614. package/build/relations/LazyField.js.map +1 -1
  615. package/build/relations/ManyToManyCollection.cjs +1 -1
  616. package/build/relations/ManyToManyCollection.cjs.map +1 -1
  617. package/build/relations/ManyToManyCollection.d.cts +2 -3
  618. package/build/relations/ManyToManyCollection.d.cts.map +1 -1
  619. package/build/relations/ManyToManyCollection.d.mts +2 -3
  620. package/build/relations/ManyToManyCollection.d.mts.map +1 -1
  621. package/build/relations/ManyToManyCollection.js +1 -1
  622. package/build/relations/ManyToManyCollection.js.map +1 -1
  623. package/build/relations/ManyToManyLargeCollection.cjs +1 -1
  624. package/build/relations/ManyToManyLargeCollection.d.cts +2 -3
  625. package/build/relations/ManyToManyLargeCollection.d.cts.map +1 -1
  626. package/build/relations/ManyToManyLargeCollection.d.mts +2 -3
  627. package/build/relations/ManyToManyLargeCollection.d.mts.map +1 -1
  628. package/build/relations/ManyToManyLargeCollection.js +1 -1
  629. package/build/relations/ManyToOneReference.cjs +2 -2
  630. package/build/relations/ManyToOneReference.cjs.map +1 -1
  631. package/build/relations/ManyToOneReference.d.cts +6 -7
  632. package/build/relations/ManyToOneReference.d.cts.map +1 -1
  633. package/build/relations/ManyToOneReference.d.mts +6 -7
  634. package/build/relations/ManyToOneReference.d.mts.map +1 -1
  635. package/build/relations/ManyToOneReference.js +2 -2
  636. package/build/relations/ManyToOneReference.js.map +1 -1
  637. package/build/relations/OneToManyCollection.cjs +1 -1
  638. package/build/relations/OneToManyCollection.cjs.map +1 -1
  639. package/build/relations/OneToManyCollection.d.cts +2 -3
  640. package/build/relations/OneToManyCollection.d.cts.map +1 -1
  641. package/build/relations/OneToManyCollection.d.mts +2 -3
  642. package/build/relations/OneToManyCollection.d.mts.map +1 -1
  643. package/build/relations/OneToManyCollection.js +1 -1
  644. package/build/relations/OneToManyCollection.js.map +1 -1
  645. package/build/relations/OneToManyLargeCollection.cjs +1 -1
  646. package/build/relations/OneToManyLargeCollection.cjs.map +1 -1
  647. package/build/relations/OneToManyLargeCollection.d.cts +2 -3
  648. package/build/relations/OneToManyLargeCollection.d.cts.map +1 -1
  649. package/build/relations/OneToManyLargeCollection.d.mts +2 -3
  650. package/build/relations/OneToManyLargeCollection.d.mts.map +1 -1
  651. package/build/relations/OneToManyLargeCollection.js +1 -1
  652. package/build/relations/OneToManyLargeCollection.js.map +1 -1
  653. package/build/relations/OneToOneReference.cjs +2 -2
  654. package/build/relations/OneToOneReference.cjs.map +1 -1
  655. package/build/relations/OneToOneReference.d.cts +7 -7
  656. package/build/relations/OneToOneReference.d.cts.map +1 -1
  657. package/build/relations/OneToOneReference.d.mts +7 -7
  658. package/build/relations/OneToOneReference.d.mts.map +1 -1
  659. package/build/relations/OneToOneReference.js +2 -2
  660. package/build/relations/OneToOneReference.js.map +1 -1
  661. package/build/relations/PolymorphicReference.cjs +2 -2
  662. package/build/relations/PolymorphicReference.cjs.map +1 -1
  663. package/build/relations/PolymorphicReference.d.cts +4 -5
  664. package/build/relations/PolymorphicReference.d.cts.map +1 -1
  665. package/build/relations/PolymorphicReference.d.mts +4 -5
  666. package/build/relations/PolymorphicReference.d.mts.map +1 -1
  667. package/build/relations/PolymorphicReference.js +2 -2
  668. package/build/relations/PolymorphicReference.js.map +1 -1
  669. package/build/relations/PropertySymbols.d.cts +1 -2
  670. package/build/relations/PropertySymbols.d.cts.map +1 -1
  671. package/build/relations/PropertySymbols.d.mts +1 -2
  672. package/build/relations/PropertySymbols.d.mts.map +1 -1
  673. package/build/relations/ReactiveField.cjs +27 -6
  674. package/build/relations/ReactiveField.cjs.map +1 -1
  675. package/build/relations/ReactiveField.d.cts +11 -7
  676. package/build/relations/ReactiveField.d.cts.map +1 -1
  677. package/build/relations/ReactiveField.d.mts +11 -7
  678. package/build/relations/ReactiveField.d.mts.map +1 -1
  679. package/build/relations/ReactiveField.js +27 -6
  680. package/build/relations/ReactiveField.js.map +1 -1
  681. package/build/relations/ReactiveGetter.cjs +1 -1
  682. package/build/relations/ReactiveGetter.cjs.map +1 -1
  683. package/build/relations/ReactiveGetter.d.cts +4 -5
  684. package/build/relations/ReactiveGetter.d.cts.map +1 -1
  685. package/build/relations/ReactiveGetter.d.mts +4 -5
  686. package/build/relations/ReactiveGetter.d.mts.map +1 -1
  687. package/build/relations/ReactiveGetter.js +1 -1
  688. package/build/relations/ReactiveGetter.js.map +1 -1
  689. package/build/relations/ReactiveManyToMany.cjs +1 -1
  690. package/build/relations/ReactiveManyToMany.cjs.map +1 -1
  691. package/build/relations/ReactiveManyToMany.d.cts +4 -5
  692. package/build/relations/ReactiveManyToMany.d.cts.map +1 -1
  693. package/build/relations/ReactiveManyToMany.d.mts +4 -5
  694. package/build/relations/ReactiveManyToMany.d.mts.map +1 -1
  695. package/build/relations/ReactiveManyToMany.js +1 -1
  696. package/build/relations/ReactiveManyToMany.js.map +1 -1
  697. package/build/relations/ReactiveManyToManyOtherSide.cjs +1 -1
  698. package/build/relations/ReactiveManyToManyOtherSide.cjs.map +1 -1
  699. package/build/relations/ReactiveManyToManyOtherSide.d.cts +4 -5
  700. package/build/relations/ReactiveManyToManyOtherSide.d.cts.map +1 -1
  701. package/build/relations/ReactiveManyToManyOtherSide.d.mts +4 -5
  702. package/build/relations/ReactiveManyToManyOtherSide.d.mts.map +1 -1
  703. package/build/relations/ReactiveManyToManyOtherSide.js +1 -1
  704. package/build/relations/ReactiveManyToManyOtherSide.js.map +1 -1
  705. package/build/relations/ReactiveReference.cjs +2 -2
  706. package/build/relations/ReactiveReference.cjs.map +1 -1
  707. package/build/relations/ReactiveReference.d.cts +6 -7
  708. package/build/relations/ReactiveReference.d.cts.map +1 -1
  709. package/build/relations/ReactiveReference.d.mts +6 -7
  710. package/build/relations/ReactiveReference.d.mts.map +1 -1
  711. package/build/relations/ReactiveReference.js +2 -2
  712. package/build/relations/ReactiveReference.js.map +1 -1
  713. package/build/relations/ReadOnlyCollection.d.cts +4 -5
  714. package/build/relations/ReadOnlyCollection.d.cts.map +1 -1
  715. package/build/relations/ReadOnlyCollection.d.mts +4 -5
  716. package/build/relations/ReadOnlyCollection.d.mts.map +1 -1
  717. package/build/relations/RecursiveCollection.cjs +1 -1
  718. package/build/relations/RecursiveCollection.cjs.map +1 -1
  719. package/build/relations/RecursiveCollection.d.cts +10 -10
  720. package/build/relations/RecursiveCollection.d.cts.map +1 -1
  721. package/build/relations/RecursiveCollection.d.mts +10 -10
  722. package/build/relations/RecursiveCollection.d.mts.map +1 -1
  723. package/build/relations/RecursiveCollection.js +1 -1
  724. package/build/relations/RecursiveCollection.js.map +1 -1
  725. package/build/relations/RecursiveCycleError.d.cts +2 -2
  726. package/build/relations/RecursiveCycleError.d.cts.map +1 -1
  727. package/build/relations/RecursiveCycleError.d.mts +2 -2
  728. package/build/relations/RecursiveCycleError.d.mts.map +1 -1
  729. package/build/relations/Reference.d.cts +5 -5
  730. package/build/relations/Reference.d.cts.map +1 -1
  731. package/build/relations/Reference.d.mts +5 -5
  732. package/build/relations/Reference.d.mts.map +1 -1
  733. package/build/relations/ReferenceSymbols.d.cts +1 -2
  734. package/build/relations/ReferenceSymbols.d.cts.map +1 -1
  735. package/build/relations/ReferenceSymbols.d.mts +1 -2
  736. package/build/relations/ReferenceSymbols.d.mts.map +1 -1
  737. package/build/relations/Relation.d.cts +3 -3
  738. package/build/relations/Relation.d.cts.map +1 -1
  739. package/build/relations/Relation.d.mts +3 -3
  740. package/build/relations/Relation.d.mts.map +1 -1
  741. package/build/relations/RelationSymbols.d.cts +2 -3
  742. package/build/relations/RelationSymbols.d.cts.map +1 -1
  743. package/build/relations/RelationSymbols.d.mts +2 -3
  744. package/build/relations/RelationSymbols.d.mts.map +1 -1
  745. package/build/relations/hasAsyncMethod.cjs +24 -5
  746. package/build/relations/hasAsyncMethod.cjs.map +1 -1
  747. package/build/relations/hasAsyncMethod.d.cts +9 -8
  748. package/build/relations/hasAsyncMethod.d.cts.map +1 -1
  749. package/build/relations/hasAsyncMethod.d.mts +9 -8
  750. package/build/relations/hasAsyncMethod.d.mts.map +1 -1
  751. package/build/relations/hasAsyncMethod.js +24 -6
  752. package/build/relations/hasAsyncMethod.js.map +1 -1
  753. package/build/relations/hasManyDerived.cjs +1 -1
  754. package/build/relations/hasManyDerived.d.cts +2 -2
  755. package/build/relations/hasManyDerived.d.cts.map +1 -1
  756. package/build/relations/hasManyDerived.d.mts +2 -2
  757. package/build/relations/hasManyDerived.d.mts.map +1 -1
  758. package/build/relations/hasManyDerived.js +1 -1
  759. package/build/relations/hasManyThrough.cjs +1 -1
  760. package/build/relations/hasManyThrough.d.cts +1 -2
  761. package/build/relations/hasManyThrough.d.cts.map +1 -1
  762. package/build/relations/hasManyThrough.d.mts +1 -2
  763. package/build/relations/hasManyThrough.d.mts.map +1 -1
  764. package/build/relations/hasManyThrough.js +1 -1
  765. package/build/relations/hasOneDerived.cjs +1 -1
  766. package/build/relations/hasOneDerived.d.cts +1 -2
  767. package/build/relations/hasOneDerived.d.cts.map +1 -1
  768. package/build/relations/hasOneDerived.d.mts +1 -2
  769. package/build/relations/hasOneDerived.d.mts.map +1 -1
  770. package/build/relations/hasOneDerived.js +1 -1
  771. package/build/relations/hasOneThrough.cjs +1 -1
  772. package/build/relations/hasOneThrough.d.cts +1 -2
  773. package/build/relations/hasOneThrough.d.cts.map +1 -1
  774. package/build/relations/hasOneThrough.d.mts +1 -2
  775. package/build/relations/hasOneThrough.d.mts.map +1 -1
  776. package/build/relations/hasOneThrough.js +1 -1
  777. package/build/relations/hasProperty.cjs +1 -1
  778. package/build/relations/hasProperty.cjs.map +1 -1
  779. package/build/relations/hasProperty.d.cts +8 -8
  780. package/build/relations/hasProperty.d.cts.map +1 -1
  781. package/build/relations/hasProperty.d.mts +8 -8
  782. package/build/relations/hasProperty.d.mts.map +1 -1
  783. package/build/relations/hasProperty.js +1 -1
  784. package/build/relations/hasProperty.js.map +1 -1
  785. package/build/relations/hasReactiveAsyncMethod.cjs +87 -0
  786. package/build/relations/hasReactiveAsyncMethod.cjs.map +1 -0
  787. package/build/relations/hasReactiveAsyncMethod.d.cts +32 -0
  788. package/build/relations/hasReactiveAsyncMethod.d.cts.map +1 -0
  789. package/build/relations/hasReactiveAsyncMethod.d.mts +32 -0
  790. package/build/relations/hasReactiveAsyncMethod.d.mts.map +1 -0
  791. package/build/relations/hasReactiveAsyncMethod.js +85 -0
  792. package/build/relations/hasReactiveAsyncMethod.js.map +1 -0
  793. package/build/relations/index.cjs +2 -0
  794. package/build/relations/index.d.cts +2 -1
  795. package/build/relations/index.d.mts +2 -1
  796. package/build/relations/index.js +2 -1
  797. package/build/relations/isCascadeDelete.d.cts +1 -2
  798. package/build/relations/isCascadeDelete.d.cts.map +1 -1
  799. package/build/relations/isCascadeDelete.d.mts +1 -2
  800. package/build/relations/isCascadeDelete.d.mts.map +1 -1
  801. package/build/resurrection.cjs +11 -1
  802. package/build/resurrection.cjs.map +1 -1
  803. package/build/resurrection.d.cts +5 -3
  804. package/build/resurrection.d.cts.map +1 -1
  805. package/build/resurrection.d.mts +5 -3
  806. package/build/resurrection.d.mts.map +1 -1
  807. package/build/resurrection.js +11 -2
  808. package/build/resurrection.js.map +1 -1
  809. package/build/rules.cjs +1 -1
  810. package/build/rules.cjs.map +1 -1
  811. package/build/rules.d.cts +25 -20
  812. package/build/rules.d.cts.map +1 -1
  813. package/build/rules.d.mts +25 -20
  814. package/build/rules.d.mts.map +1 -1
  815. package/build/rules.js +1 -1
  816. package/build/rules.js.map +1 -1
  817. package/build/runtimeConfig.d.cts +4 -5
  818. package/build/runtimeConfig.d.cts.map +1 -1
  819. package/build/runtimeConfig.d.mts +4 -5
  820. package/build/runtimeConfig.d.mts.map +1 -1
  821. package/build/serde/TypeInfo.d.cts +3 -4
  822. package/build/serde/TypeInfo.d.cts.map +1 -1
  823. package/build/serde/TypeInfo.d.mts +3 -4
  824. package/build/serde/TypeInfo.d.mts.map +1 -1
  825. package/build/serde/columns.cjs +3 -0
  826. package/build/serde/columns.cjs.map +1 -1
  827. package/build/serde/columns.d.cts +3 -3
  828. package/build/serde/columns.d.cts.map +1 -1
  829. package/build/serde/columns.d.mts +3 -3
  830. package/build/serde/columns.d.mts.map +1 -1
  831. package/build/serde/columns.js +3 -0
  832. package/build/serde/columns.js.map +1 -1
  833. package/build/serde/fieldSerde.cjs +3 -0
  834. package/build/serde/fieldSerde.cjs.map +1 -1
  835. package/build/serde/fieldSerde.d.cts +10 -9
  836. package/build/serde/fieldSerde.d.cts.map +1 -1
  837. package/build/serde/fieldSerde.d.mts +10 -9
  838. package/build/serde/fieldSerde.d.mts.map +1 -1
  839. package/build/serde/fieldSerde.js +3 -0
  840. package/build/serde/fieldSerde.js.map +1 -1
  841. package/build/serde/serde.cjs +60 -0
  842. package/build/serde/serde.cjs.map +1 -1
  843. package/build/serde/serde.d.cts +58 -19
  844. package/build/serde/serde.d.cts.map +1 -1
  845. package/build/serde/serde.d.mts +58 -19
  846. package/build/serde/serde.d.mts.map +1 -1
  847. package/build/serde/serde.js +60 -1
  848. package/build/serde/serde.js.map +1 -1
  849. package/build/serde/temporal.cjs +7 -12
  850. package/build/serde/temporal.cjs.map +1 -1
  851. package/build/serde/temporal.d.cts +6 -6
  852. package/build/serde/temporal.d.cts.map +1 -1
  853. package/build/serde/temporal.d.mts +6 -6
  854. package/build/serde/temporal.d.mts.map +1 -1
  855. package/build/serde/temporal.js +7 -12
  856. package/build/serde/temporal.js.map +1 -1
  857. package/build/serde/temporalMappers.cjs +8 -4
  858. package/build/serde/temporalMappers.cjs.map +1 -1
  859. package/build/serde/temporalMappers.d.cts +4 -5
  860. package/build/serde/temporalMappers.d.cts.map +1 -1
  861. package/build/serde/temporalMappers.d.mts +4 -5
  862. package/build/serde/temporalMappers.d.mts.map +1 -1
  863. package/build/serde/temporalMappers.js +8 -4
  864. package/build/serde/temporalMappers.js.map +1 -1
  865. package/build/transitions.cjs +91 -0
  866. package/build/transitions.cjs.map +1 -0
  867. package/build/transitions.d.cts +115 -0
  868. package/build/transitions.d.cts.map +1 -0
  869. package/build/transitions.d.mts +115 -0
  870. package/build/transitions.d.mts.map +1 -0
  871. package/build/transitions.js +86 -0
  872. package/build/transitions.js.map +1 -0
  873. package/build/trusted.d.cts +2 -3
  874. package/build/trusted.d.cts.map +1 -1
  875. package/build/trusted.d.mts +2 -3
  876. package/build/trusted.d.mts.map +1 -1
  877. package/build/typeMap.d.cts +17 -17
  878. package/build/typeMap.d.cts.map +1 -1
  879. package/build/typeMap.d.mts +17 -17
  880. package/build/typeMap.d.mts.map +1 -1
  881. package/build/upsert.cjs +1 -1
  882. package/build/upsert.d.cts +4 -4
  883. package/build/upsert.d.cts.map +1 -1
  884. package/build/upsert.d.mts +4 -4
  885. package/build/upsert.d.mts.map +1 -1
  886. package/build/upsert.js +1 -1
  887. package/build/utils.d.cts +27 -28
  888. package/build/utils.d.cts.map +1 -1
  889. package/build/utils.d.mts +27 -28
  890. package/build/utils.d.mts.map +1 -1
  891. package/package.json +6 -6
@@ -1,9 +1,10 @@
1
1
  import { BatchLoader } from "./batchloaders/BatchLoader.mjs";
2
- import { OptsOf, OrderOf } from "./typeMap.mjs";
2
+ import { OptsOf, OrderOf, TypeMap } from "./typeMap.mjs";
3
+ import { EntityMetrics } from "./metrics/EntityMetrics.mjs";
3
4
  import { Collection } from "./relations/Collection.mjs";
5
+ import { IsLoadedCache } from "./loading/IsLoadedCache.mjs";
4
6
  import { lazyColumnLoadOperation } from "./relations/LazyField.mjs";
5
7
  import { Reference } from "./relations/Reference.mjs";
6
- import { IsLoadedCache } from "./loading/IsLoadedCache.mjs";
7
8
  import { OneToManyCollection } from "./relations/OneToManyCollection.mjs";
8
9
  import { ReactionLogger } from "./logging/ReactionLogger.mjs";
9
10
  import { ReactionsManager } from "./reactivity/ReactionsManager.mjs";
@@ -13,10 +14,11 @@ import { ExpressionFilter, FindFilter, UniqueFilter } from "./queries/find/Entit
13
14
  import { MaybePromise } from "./utils.mjs";
14
15
  import { LoadHint, Loaded, New } from "./loading/loadHints.mjs";
15
16
  import { ReactiveHint } from "./reactivity/reactiveHints.mjs";
17
+ import { ValidationError, ValidationRuleResult } from "./rules.mjs";
16
18
  import { RowData } from "./RowData.mjs";
17
19
  import { EntityMetadata } from "./EntityMetadata.mjs";
18
20
  import { Lens } from "./loading/loadLens.mjs";
19
- import { CheckSetQuery, EntityQuery, QueryArg, QueryJoinInput, QueryRow, QuerySelect, QuerySource, ResolvedJoins, SetOperand, SetQuery, SetQueryRow, Subquery } from "./queries/sql/query.mjs";
21
+ import { CheckSetQuery, EntityQuery, QueryArg, QueryJoinInput, QueryRow, QuerySelect, QuerySource, QueryTable, ResolvedJoins, SetOperand, SetQuery, SetQueryRow } from "./queries/sql/query.mjs";
20
22
  import { PreloadPlugin } from "./plugins/PreloadPlugin.mjs";
21
23
  import { Driver } from "./drivers/Driver.mjs";
22
24
  import { CheckMutation, ExecuteResult, MutationInput, MutationRow } from "./queries/sql/execute.mjs";
@@ -53,7 +55,7 @@ import DataLoader, { BatchLoadFn, Options } from "dataloader";
53
55
  * Abstract entity types, like a base `Publisher` class that is marked `abstract`, cannot
54
56
  * implement this and instead only have the `AbsEntityConstructor` type.
55
57
  */
56
- interface EntityConstructor<T> {
58
+ export interface EntityConstructor<T> {
57
59
  /** The pseudo-public constructor for entities; only the `EntityManager` should actually instantiate entities. */
58
60
  new (em: EntityManager<any, any, any>): T;
59
61
  tagName: any;
@@ -62,7 +64,7 @@ interface EntityConstructor<T> {
62
64
  getInstanceData(entity: Entity): InstanceData;
63
65
  }
64
66
  /** Options for the auto-batchable `em.find` queries. */
65
- interface FindFilterOptions<T extends Entity> {
67
+ export interface FindFilterOptions<T extends Entity> {
66
68
  conditions?: ExpressionFilter;
67
69
  orderBy?: OrderOf<T> | OrderOf<T>[];
68
70
  limit?: number | undefined;
@@ -71,12 +73,12 @@ interface FindFilterOptions<T extends Entity> {
71
73
  allowMultipleLeftJoins?: boolean;
72
74
  optimizeJoinsToExists?: boolean;
73
75
  }
74
- interface FindGqlFilterOptions<T extends Entity> extends Omit<FindFilterOptions<T>, "limit" | "offset"> {
76
+ export interface FindGqlFilterOptions<T extends Entity> extends Omit<FindFilterOptions<T>, "limit" | "offset"> {
75
77
  limit?: number | null | undefined;
76
78
  offset?: number | null | undefined;
77
79
  }
78
80
  /** Options for the `findCount`. */
79
- interface FindCountFilterOptions<T extends Entity> {
81
+ export interface FindCountFilterOptions<T extends Entity> {
80
82
  conditions?: ExpressionFilter;
81
83
  softDeletes?: "include" | "exclude";
82
84
  allowMultipleLeftJoins?: boolean;
@@ -87,22 +89,40 @@ interface FindCountFilterOptions<T extends Entity> {
87
89
  *
88
90
  * I.e. this is more like "MaybeAbstractEntityConstructor".
89
91
  */
90
- type MaybeAbstractEntityConstructor<T> = abstract new (em: EntityManager<any, any, any>, opts: any) => T;
92
+ export type MaybeAbstractEntityConstructor<T> = abstract new (em: EntityManager<any, any, any>, opts: any) => T;
91
93
  /** Pulls the entity's id type out of a given entity type T. */
92
- type IdOf<T> = T extends {
94
+ export type IdOf<T> = T extends {
93
95
  id: infer I;
94
96
  } ? I : never;
95
- type TaggedId = string;
96
- declare function isId(value: any): value is IdOf<unknown>;
97
- type EntityManagerHook = "beforeBegin" | "afterBegin" | "beforeCommit" | "afterCommit";
97
+ export type TaggedId = string;
98
+ /** Creation options for any registered entity type, since deep clones can include more than the root type. */
99
+ export type CloneOverrides = Partial<TypeMap[keyof TypeMap]["optsType"]>;
100
+ /** Skips entities using either a shared predicate or predicates for specific entity types. */
101
+ export type CloneSkipIf<E extends Entity = Entity> = ((original: E) => boolean) | { [K in keyof TypeMap]?: (original: TypeMap[K]["entityType"]) => boolean; };
102
+ /** Supplies creation options using either a shared callback or callbacks with type-specific options. */
103
+ export type CloneOverridesCallback<E extends Entity = Entity> = ((original: E) => CloneOverrides) | { [K in keyof TypeMap]?: (original: TypeMap[K]["entityType"]) => Partial<TypeMap[K]["optsType"]>; };
104
+ /** Customizes clones using either a shared callback or callbacks for specific entity types. */
105
+ export type ClonePostClone<E extends Entity = Entity> = ((original: E, clone: E) => void) | { [K in keyof TypeMap]?: (original: TypeMap[K]["entityType"], clone: TypeMap[K]["entityType"]) => void; };
106
+ export declare function isId(value: any): value is IdOf<unknown>;
107
+ export type EntityManagerHook = "beforeBegin" | "afterBegin" | "beforeCommit" | "afterCommit";
108
+ /** Options for EntityManager transaction hooks. */
109
+ export interface EntityManagerHookOptions {
110
+ /**
111
+ * Runs the transaction lifecycle even on write-less flushes. Defaults to false.
112
+ *
113
+ * The transaction still starts after pre-transaction reactivity and validation, or reuses an
114
+ * existing transaction. Like the hooks, this option persists across flushes and forks.
115
+ */
116
+ forceTransaction?: boolean;
117
+ }
98
118
  type HookFn<TX> = (em: EntityManager, txn: TX) => MaybePromise<any>;
99
- type LoaderCache = Record<string, DataLoader<any, any>>;
100
- interface TimestampFields {
119
+ export type LoaderCache = Record<string, DataLoader<any, any>>;
120
+ export interface TimestampFields {
101
121
  updatedAt: string | undefined;
102
122
  createdAt: string | undefined;
103
123
  deletedAt: string | undefined;
104
124
  }
105
- type EntityManagerOpts<TX = unknown> = ({
125
+ export type EntityManagerOpts<TX = unknown> = ({
106
126
  driver: Driver<TX>;
107
127
  em?: undefined;
108
128
  } | {
@@ -111,7 +131,7 @@ type EntityManagerOpts<TX = unknown> = ({
111
131
  }) & {
112
132
  preloadPlugin?: PreloadPlugin;
113
133
  };
114
- interface FlushOptions {
134
+ export interface FlushOptions {
115
135
  /** Skip all validations, including reactive validations, when flushing */
116
136
  skipValidation?: boolean;
117
137
  }
@@ -122,8 +142,8 @@ interface FlushOptions {
122
142
  * - `in-memory-writes` -- allows entity mutations and `em.flush` w/o a `COMMIT`
123
143
  * - `writes` -- allows entity mutations and `em.flush` will `COMMIT` writes
124
144
  */
125
- type EntityManagerMode = "read-only" | "in-memory-writes" | "writes";
126
- type FindOperation = typeof findOperation | typeof findByUniqueOperation | typeof findCountOperation | typeof findIdsOperation | typeof lensOperation | typeof loadOperation | typeof manyToManyLoadOperation | typeof manyToManyFindOperation | typeof enumCollectionLoadOperation | typeof oneToManyLoadOperation | typeof oneToManyFindOperation | typeof oneToOneLoadOperation | typeof populateOperation | typeof recursiveChildrenOperation | typeof recursiveM2mOperation | typeof recursiveParentsOperation | typeof lazyColumnLoadOperation;
145
+ export type EntityManagerMode = "read-only" | "in-memory-writes" | "writes";
146
+ export type FindOperation = typeof findOperation | typeof findByUniqueOperation | typeof findCountOperation | typeof findIdsOperation | typeof lensOperation | typeof loadOperation | typeof manyToManyLoadOperation | typeof manyToManyFindOperation | typeof enumCollectionLoadOperation | typeof oneToManyLoadOperation | typeof oneToManyFindOperation | typeof oneToOneLoadOperation | typeof populateOperation | typeof recursiveChildrenOperation | typeof recursiveM2mOperation | typeof recursiveParentsOperation | typeof lazyColumnLoadOperation;
127
147
  /**
128
148
  * The EntityManager is the primary way nearly all code, i.e. anything that finds/creates/updates/deletes entities,
129
149
  * will interact with the database.
@@ -144,7 +164,7 @@ type FindOperation = typeof findOperation | typeof findByUniqueOperation | typeo
144
164
  * @typeParam Entity - the application's based entity type (i.e. with number ids or string ids)
145
165
  * @typeParamTX - the application's Transaction type, i.e. `Knex`
146
166
  */
147
- declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX extends unknown = unknown> {
167
+ export declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX extends unknown = unknown> {
148
168
  #private;
149
169
  readonly ctx: C;
150
170
  driver: Driver<TX>;
@@ -207,7 +227,7 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
207
227
  * Population runs after the query, using the same relation loaders as `em.populate`.
208
228
  * This method is not batched: these are custom queries, too unique to batch.
209
229
  */
210
- query<R>(q: Subquery<R, any>): Promise<R[]>;
230
+ query<R>(q: QueryTable<R, any>): Promise<R[]>;
211
231
  query<T extends Entity$1>(q: EntityQuery<T>): Promise<T[]>;
212
232
  query<T extends Entity$1, const H extends LoadHint<T>>(q: EntityQuery<T>, options: {
213
233
  populate: H;
@@ -222,7 +242,7 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
222
242
  * reads retain query's decoding and permissions. Neither path flushes or repairs cached entities.
223
243
  */
224
244
  execute<const M extends MutationInput>(statement: M & CheckMutation<M>): Promise<ExecuteResult<MutationRow<M>>>;
225
- execute<R>(statement: Subquery<R, any>): Promise<ExecuteResult<R>>;
245
+ execute<R>(statement: QueryTable<R, any>): Promise<ExecuteResult<R>>;
226
246
  execute<T extends Entity$1>(statement: EntityQuery<T>): Promise<ExecuteResult<T>>;
227
247
  execute<const Q extends SetQuery<readonly SetOperand[]>>(statement: Q & CheckSetQuery<Q>): Promise<ExecuteResult<SetQueryRow<Q>>>;
228
248
  execute<F extends QuerySource, const S extends QuerySelect = never, J extends QueryJoinInput = []>(statement: QueryArg<F, S, J, never>): Promise<ExecuteResult<QueryRow<S, ResolvedJoins<F, J>>>>;
@@ -366,8 +386,9 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
366
386
  * @param opts - Options to control the clone behaviour
367
387
  * @param deep - Populate hint of the nested tree of objects to clone
368
388
  * @param skip - Keys that will be skipped in the clone
369
- * @param skipIf - Predicate for determining if a specific entity should be skipped (and any entities beneath it
370
- * @param postClone - Function to be called for each original/clone entity for any post-processing needed
389
+ * @param skipIf - Shared or per-type predicates that skip entities and their children
390
+ * @param overrides - Shared or per-type callbacks that supply creation options before defaults run
391
+ * @param postClone - Shared or per-type callbacks for any original/clone post-processing needed
371
392
  * @returns The `Loaded` cloned entity or fails if the clone could not be made
372
393
  *
373
394
  * @example
@@ -393,8 +414,9 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
393
414
  clone<T extends Entity$1, H extends LoadHint<T>, const K = ReactiveHint<T>>(entity: T, opts?: {
394
415
  deep?: H;
395
416
  skip?: K;
396
- skipIf?: (entity: Entity$1) => boolean;
397
- postClone?: (original: Entity$1, clone: Entity$1) => void;
417
+ skipIf?: CloneSkipIf<Entity$1>;
418
+ overrides?: CloneOverridesCallback<Entity$1>;
419
+ postClone?: ClonePostClone<Entity$1>;
398
420
  }): Promise<Loaded<T, H>>;
399
421
  /**
400
422
  * Utility to clone an entity and its nested relations, as determined by a populate hint.
@@ -403,8 +425,9 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
403
425
  * @param opts - Options to control the clone behaviour
404
426
  * @param deep - Populate hint of the nested tree of objects to clone
405
427
  * @param skip - Keys that will be skipped in the clone
406
- * @param skipIf - Predicate for determining if a specific entity should be skipped (and any entities beneath it
407
- * @param postClone - Function to be called for each original/clone entity for any post-processing needed
428
+ * @param skipIf - Shared or per-type predicates that skip entities and their children
429
+ * @param overrides - Shared or per-type callbacks that supply creation options before defaults run
430
+ * @param postClone - Shared or per-type callbacks for any original/clone post-processing needed
408
431
  * @returns Array of `Loaded` cloned entities from the provided list or empty array if all are skipped
409
432
  *
410
433
  * @example
@@ -417,7 +440,7 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
417
440
  *
418
441
  * @example
419
442
  * // This will duplicate the author's books, and assign them to a different author
420
- * const duplicatedBooks = await em.clone(author.books.get, { postClone: (_original, clone) => clone.author.set(author2) })
443
+ * const duplicatedBooks = await em.clone(author.books.get, { overrides: () => ({ author: author2 }) })
421
444
  *
422
445
  * @example
423
446
  * // This will duplicate the author's books, but skip any book where the title includes `sea`
@@ -426,8 +449,9 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
426
449
  clone<T extends Entity$1, H extends LoadHint<T>, const K = ReactiveHint<T>>(entities: readonly T[], opts?: {
427
450
  deep?: H;
428
451
  skip?: K;
429
- skipIf?: (entity: Entity$1) => boolean;
430
- postClone?: (original: Entity$1, clone: Entity$1) => void;
452
+ skipIf?: CloneSkipIf<Entity$1>;
453
+ overrides?: CloneOverridesCallback<Entity$1>;
454
+ postClone?: ClonePostClone<Entity$1>;
431
455
  }): Promise<Loaded<T, H>[]>;
432
456
  /**
433
457
  * Merges multiple source entities into a target entity by updating all references that point
@@ -638,6 +662,14 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
638
662
  hydrateFromRowData<T extends Entity>(type: MaybeAbstractEntityConstructor<T>, rowData: RowData, options?: {
639
663
  overwriteExisting?: boolean;
640
664
  }): T[];
665
+ /**
666
+ * Protects loaded read dependencies at the next flush, then clears them on success.
667
+ *
668
+ * New entities are ignored. Written entities use oplocks instead. Types without updatedAt
669
+ * cannot be protected. A drift requires retrying the whole unit of work in a fresh EM.
670
+ */
671
+ assertUnchanged(entity: Entity): void;
672
+ assertUnchanged(entities: readonly Entity[]): void;
641
673
  /**
642
674
  * Mark an entity as needing to be flushed regardless of its state.
643
675
  *
@@ -666,10 +698,14 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
666
698
  recalc(entities: Entity[]): Promise<void>;
667
699
  recalc(entity: Entity, reactionName: string): Promise<void>;
668
700
  recalc(entities: Entity[], reactionName: string): Promise<void>;
669
- beforeBegin(fn: HookFn<TX>): void;
670
- afterBegin(fn: HookFn<TX>): void;
671
- beforeCommit(fn: HookFn<TX>): void;
672
- afterCommit(fn: HookFn<TX>): void;
701
+ /** Registers a hook to run before the transaction begins. */
702
+ beforeBegin(fn: HookFn<TX>, opts?: EntityManagerHookOptions): void;
703
+ /** Registers a hook to run after the transaction begins. */
704
+ afterBegin(fn: HookFn<TX>, opts?: EntityManagerHookOptions): void;
705
+ /** Registers a hook to run before the transaction commits. */
706
+ beforeCommit(fn: HookFn<TX>, opts?: EntityManagerHookOptions): void;
707
+ /** Registers a hook to run after the transaction commits. */
708
+ afterCommit(fn: HookFn<TX>, opts?: EntityManagerHookOptions): void;
673
709
  /**
674
710
  * Returns an EntityManager-scoped (i.e. request scoped) data loader.
675
711
  *
@@ -691,6 +727,8 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
691
727
  toString(): string;
692
728
  /** Recursively cascades any pending deletions. */
693
729
  private flushDeletes;
730
+ /** Attaches request-owned metrics, or disables collection without resetting the collector. */
731
+ setMetrics(metrics: EntityMetrics | undefined): void;
694
732
  setReactionLogging(logger: ReactionLogger): void;
695
733
  setReactionLogging(enabled: boolean): void;
696
734
  /** Accepts `Author` or `Author.firstName,lastName` or `Author.lastName!`. */
@@ -763,7 +801,7 @@ declare class EntityManager<C = unknown, Entity$1 extends Entity = Entity, TX ex
763
801
  get isFlushing(): boolean;
764
802
  }
765
803
  /** Provides an internal API to the `EntityManager`. */
766
- interface EntityManagerInternalApi {
804
+ export interface EntityManagerInternalApi {
767
805
  joinRows: (m2m: ManyToManyLike) => JoinRows;
768
806
  /** Map of taggedId -> fieldName -> pending children, i.e. when `a1.books` later loads, add/remove b1. */
769
807
  pendingPercolate: Map<string, Map<string, {
@@ -785,6 +823,7 @@ interface EntityManagerInternalApi {
785
823
  checkWritesAllowed: () => void;
786
824
  isMerging: (entity: Entity) => boolean;
787
825
  get fieldLogger(): FieldLogger;
826
+ readonly metrics: EntityMetrics | undefined;
788
827
  get isLoadedCache(): IsLoadedCache;
789
828
  pluginManager: PluginManager;
790
829
  clearDataloaders(): void;
@@ -795,29 +834,35 @@ interface EntityManagerInternalApi {
795
834
  pendingDeleteIds(type: MaybeAbstractEntityConstructor<Entity>): readonly IdType[];
796
835
  setIsRefreshing(isRefreshing: boolean): void;
797
836
  }
798
- declare function getEmInternalApi(em: EntityManager): EntityManagerInternalApi;
799
- declare function getDefaultEntityLimit(): number;
800
- declare function setDefaultEntityLimit(limit: number): void;
801
- declare function resetDefaultEntityLimit(): void;
802
- declare function isKey(k: any): k is string;
837
+ export declare function getEmInternalApi(em: EntityManager): EntityManagerInternalApi;
838
+ export declare function getDefaultEntityLimit(): number;
839
+ export declare function setDefaultEntityLimit(limit: number): void;
840
+ export declare function resetDefaultEntityLimit(): void;
841
+ export declare function isKey(k: any): k is string;
803
842
  /** Compares `a` to `b`, where `b` might be an id. */
804
- declare function sameEntity(a: Entity | string | number | undefined, b: Entity | string | number | undefined): boolean;
843
+ export declare function sameEntity(a: Entity | string | number | undefined, b: Entity | string | number | undefined): boolean;
805
844
  /** Compares the value `a` to `b`, with handling of new entities w/o ids assigned yet. */
806
- declare function sameReference<T extends Entity>(a: Reference<any, T, any>, b: Reference<any, T, any>): boolean;
845
+ export declare function sameReference<T extends Entity>(a: Reference<any, T, any>, b: Reference<any, T, any>): boolean;
807
846
  /** Thrown by `findOneOrFail`, 'load' & 'loadAll' if an entity is not found. */
808
- declare class NotFoundError extends Error {}
847
+ export declare class NotFoundError extends Error {}
809
848
  /** Thrown by `findOne` and `findOneOrFail` if more than one entity is found. */
810
- declare class TooManyError extends Error {
849
+ export declare class TooManyError extends Error {
811
850
  constructor(message: string);
812
851
  }
813
- declare function driverBeforeBegin<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
814
- declare function driverAfterBegin<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
815
- declare function driverBeforeCommit<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
816
- declare function driverAfterCommit<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
817
- declare function isDefined<T extends any>(param: T | undefined | null): param is T;
818
- declare function setLastNow(now: Date | undefined): void;
852
+ /** Invokes a single validation rule, coercing its result/sync throws into a promise. */
853
+ export declare function invokeRule(entity: Entity, fn: (entity: any) => MaybePromise<ValidationRuleResult>): Promise<ValidationError[]>;
854
+ export declare function driverBeforeBegin<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
855
+ export declare function driverAfterBegin<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
856
+ export declare function driverBeforeCommit<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
857
+ export declare function driverAfterCommit<TXN>(em: EntityManager<any, any, TXN>, txn: TXN): Promise<unknown>;
858
+ export declare function isDefined<T extends any>(param: T | undefined | null): param is T;
859
+ export declare function setLastNow(now: Date | undefined): void;
860
+ /** An error thrown by `em.flush` after a previous `em.flush` on the same EntityManager failed. */
861
+ export declare class FailedFlushError extends Error {
862
+ constructor(cause: unknown);
863
+ }
819
864
  /** An error thrown when `em.mode === "read-only"` but entities are mutated/flushed. */
820
- declare class ReadOnlyError extends Error {
865
+ export declare class ReadOnlyError extends Error {
821
866
  constructor();
822
867
  }
823
868
  /**
@@ -826,10 +871,10 @@ declare class ReadOnlyError extends Error {
826
871
  *
827
872
  * See https://github.com/brianc/node-postgres/pull/2983
828
873
  */
829
- declare function appendStack(err: unknown, dummy: Error): unknown;
830
- declare function createRowFromEntityData(e: Entity, opts?: {
874
+ export declare function appendStack(err: unknown, dummy: Error): unknown;
875
+ export declare function createRowFromEntityData(e: Entity, opts?: {
831
876
  preferOriginalData?: boolean;
832
877
  }): Record<string, any>;
833
878
  //#endregion
834
- export { EntityConstructor, EntityManager, EntityManagerHook, EntityManagerInternalApi, EntityManagerMode, EntityManagerOpts, FindCountFilterOptions, FindFilterOptions, FindGqlFilterOptions, FindOperation, FlushOptions, IdOf, LoaderCache, MaybeAbstractEntityConstructor, NotFoundError, ReadOnlyError, TaggedId, TimestampFields, TooManyError, appendStack, createRowFromEntityData, driverAfterBegin, driverAfterCommit, driverBeforeBegin, driverBeforeCommit, getDefaultEntityLimit, getEmInternalApi, isDefined, isId, isKey, resetDefaultEntityLimit, sameEntity, sameReference, setDefaultEntityLimit, setLastNow };
879
+ export {};
835
880
  //# sourceMappingURL=EntityManager.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityManager.d.mts","names":[],"sources":["../src/EntityManager.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAqKiB,kBAAkB;;OAE5B,IAAI,+BAA+B;EAKxC;EACA,UAAU;;EAGV,gBAAgB,QAAQ,SAAS;;;UAIlB,kBAAkB,UAAU;EAC3C,aAAa;EACb,UAAU,QAAQ,KAAK,QAAQ;EAC/B;EACA;EACA;EACA;EACA;;UAGe,qBAAqB,UAAU,gBAAgB,KAAK,kBAAkB;EACrF;EACA;;;UAIe,uBAAuB,UAAU;EAChD,aAAa;EACb;EACA;EACA;;;;;;;KAQU,+BAA+B,mBAAmB,IAAI,8BAA8B,cAAc;;KAGlG,KA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