joist-orm 1.293.0 → 2.0.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 (486) hide show
  1. package/build/{drivers/PostgresDriver.d.ts → PostgresDriver.d.ts} +1 -4
  2. package/build/PostgresDriver.d.ts.map +1 -0
  3. package/build/{drivers/PostgresDriver.js → PostgresDriver.js} +49 -58
  4. package/build/PostgresDriver.js.map +1 -0
  5. package/build/codegen.d.ts +2 -0
  6. package/build/codegen.d.ts.map +1 -0
  7. package/build/codegen.js +29 -0
  8. package/build/codegen.js.map +1 -0
  9. package/build/graphql-codegen-export.d.ts +2 -0
  10. package/build/graphql-codegen-export.d.ts.map +1 -0
  11. package/build/{drivers/index.js → graphql-codegen-export.js} +3 -5
  12. package/build/graphql-codegen-export.js.map +1 -0
  13. package/build/graphql-export.d.ts +2 -0
  14. package/build/graphql-export.d.ts.map +1 -0
  15. package/build/graphql-export.js +19 -0
  16. package/build/graphql-export.js.map +1 -0
  17. package/build/index.d.ts +3 -127
  18. package/build/index.d.ts.map +1 -1
  19. package/build/index.js +8 -282
  20. package/build/index.js.map +1 -1
  21. package/build/knex-export.d.ts +2 -0
  22. package/build/knex-export.d.ts.map +1 -0
  23. package/build/knex-export.js +19 -0
  24. package/build/knex-export.js.map +1 -0
  25. package/build/pg-migrate.d.ts +2 -0
  26. package/build/pg-migrate.d.ts.map +1 -0
  27. package/build/pg-migrate.js +30 -0
  28. package/build/pg-migrate.js.map +1 -0
  29. package/build/postgres-driver.d.ts +2 -0
  30. package/build/postgres-driver.d.ts.map +1 -0
  31. package/build/postgres-driver.js +7 -0
  32. package/build/postgres-driver.js.map +1 -0
  33. package/build/tests-export.d.ts +2 -0
  34. package/build/tests-export.d.ts.map +1 -0
  35. package/build/tests-export.js +19 -0
  36. package/build/tests-export.js.map +1 -0
  37. package/build/trusted.d.ts +5 -0
  38. package/build/trusted.d.ts.map +1 -0
  39. package/build/trusted.js +15 -0
  40. package/build/trusted.js.map +1 -0
  41. package/package.json +85 -16
  42. package/build/AliasAssigner.d.ts +0 -7
  43. package/build/AliasAssigner.d.ts.map +0 -1
  44. package/build/AliasAssigner.js +0 -30
  45. package/build/AliasAssigner.js.map +0 -1
  46. package/build/Aliases.d.ts +0 -110
  47. package/build/Aliases.d.ts.map +0 -1
  48. package/build/Aliases.js +0 -456
  49. package/build/Aliases.js.map +0 -1
  50. package/build/BaseEntity.d.ts +0 -66
  51. package/build/BaseEntity.d.ts.map +0 -1
  52. package/build/BaseEntity.js +0 -120
  53. package/build/BaseEntity.js.map +0 -1
  54. package/build/ConditionBuilder.d.ts +0 -50
  55. package/build/ConditionBuilder.d.ts.map +0 -1
  56. package/build/ConditionBuilder.js +0 -178
  57. package/build/ConditionBuilder.js.map +0 -1
  58. package/build/Entity.d.ts +0 -38
  59. package/build/Entity.d.ts.map +0 -1
  60. package/build/Entity.js +0 -8
  61. package/build/Entity.js.map +0 -1
  62. package/build/EntityFields.d.ts +0 -37
  63. package/build/EntityFields.d.ts.map +0 -1
  64. package/build/EntityFields.js +0 -3
  65. package/build/EntityFields.js.map +0 -1
  66. package/build/EntityFilter.d.ts +0 -113
  67. package/build/EntityFilter.d.ts.map +0 -1
  68. package/build/EntityFilter.js +0 -3
  69. package/build/EntityFilter.js.map +0 -1
  70. package/build/EntityGraphQLFilter.d.ts +0 -51
  71. package/build/EntityGraphQLFilter.d.ts.map +0 -1
  72. package/build/EntityGraphQLFilter.js +0 -54
  73. package/build/EntityGraphQLFilter.js.map +0 -1
  74. package/build/EntityManager.d.ts +0 -734
  75. package/build/EntityManager.d.ts.map +0 -1
  76. package/build/EntityManager.js +0 -2069
  77. package/build/EntityManager.js.map +0 -1
  78. package/build/EntityMetadata.d.ts +0 -185
  79. package/build/EntityMetadata.d.ts.map +0 -1
  80. package/build/EntityMetadata.js +0 -61
  81. package/build/EntityMetadata.js.map +0 -1
  82. package/build/EnumMetadata.d.ts +0 -15
  83. package/build/EnumMetadata.d.ts.map +0 -1
  84. package/build/EnumMetadata.js +0 -3
  85. package/build/EnumMetadata.js.map +0 -1
  86. package/build/FlushLock.d.ts +0 -26
  87. package/build/FlushLock.d.ts.map +0 -1
  88. package/build/FlushLock.js +0 -57
  89. package/build/FlushLock.js.map +0 -1
  90. package/build/HintTree.d.ts +0 -42
  91. package/build/HintTree.d.ts.map +0 -1
  92. package/build/HintTree.js +0 -64
  93. package/build/HintTree.js.map +0 -1
  94. package/build/IndexManager.d.ts +0 -30
  95. package/build/IndexManager.d.ts.map +0 -1
  96. package/build/IndexManager.js +0 -206
  97. package/build/IndexManager.js.map +0 -1
  98. package/build/InstanceData.d.ts +0 -59
  99. package/build/InstanceData.d.ts.map +0 -1
  100. package/build/InstanceData.js +0 -162
  101. package/build/InstanceData.js.map +0 -1
  102. package/build/IsLoadedCache.d.ts +0 -32
  103. package/build/IsLoadedCache.d.ts.map +0 -1
  104. package/build/IsLoadedCache.js +0 -80
  105. package/build/IsLoadedCache.js.map +0 -1
  106. package/build/JoinRows.d.ts +0 -75
  107. package/build/JoinRows.d.ts.map +0 -1
  108. package/build/JoinRows.js +0 -246
  109. package/build/JoinRows.js.map +0 -1
  110. package/build/PluginManager.d.ts +0 -90
  111. package/build/PluginManager.d.ts.map +0 -1
  112. package/build/PluginManager.js +0 -97
  113. package/build/PluginManager.js.map +0 -1
  114. package/build/QueryParser.d.ts +0 -271
  115. package/build/QueryParser.d.ts.map +0 -1
  116. package/build/QueryParser.js +0 -853
  117. package/build/QueryParser.js.map +0 -1
  118. package/build/QueryParser.pruning.d.ts +0 -5
  119. package/build/QueryParser.pruning.d.ts.map +0 -1
  120. package/build/QueryParser.pruning.js +0 -118
  121. package/build/QueryParser.pruning.js.map +0 -1
  122. package/build/QueryVisitor.d.ts +0 -19
  123. package/build/QueryVisitor.d.ts.map +0 -1
  124. package/build/QueryVisitor.js +0 -84
  125. package/build/QueryVisitor.js.map +0 -1
  126. package/build/ReactionsManager.d.ts +0 -84
  127. package/build/ReactionsManager.d.ts.map +0 -1
  128. package/build/ReactionsManager.js +0 -307
  129. package/build/ReactionsManager.js.map +0 -1
  130. package/build/Todo.d.ts +0 -31
  131. package/build/Todo.d.ts.map +0 -1
  132. package/build/Todo.js +0 -73
  133. package/build/Todo.js.map +0 -1
  134. package/build/caches.d.ts +0 -6
  135. package/build/caches.d.ts.map +0 -1
  136. package/build/caches.js +0 -42
  137. package/build/caches.js.map +0 -1
  138. package/build/changes.d.ts +0 -79
  139. package/build/changes.d.ts.map +0 -1
  140. package/build/changes.js +0 -251
  141. package/build/changes.js.map +0 -1
  142. package/build/config.d.ts +0 -237
  143. package/build/config.d.ts.map +0 -1
  144. package/build/config.js +0 -298
  145. package/build/config.js.map +0 -1
  146. package/build/config.test.d.ts +0 -2
  147. package/build/config.test.d.ts.map +0 -1
  148. package/build/config.test.js +0 -53
  149. package/build/config.test.js.map +0 -1
  150. package/build/configure.d.ts +0 -13
  151. package/build/configure.d.ts.map +0 -1
  152. package/build/configure.js +0 -329
  153. package/build/configure.js.map +0 -1
  154. package/build/dataloaders/findByUniqueDataLoader.d.ts +0 -7
  155. package/build/dataloaders/findByUniqueDataLoader.d.ts.map +0 -1
  156. package/build/dataloaders/findByUniqueDataLoader.js +0 -47
  157. package/build/dataloaders/findByUniqueDataLoader.js.map +0 -1
  158. package/build/dataloaders/findCountDataLoader.d.ts +0 -7
  159. package/build/dataloaders/findCountDataLoader.d.ts.map +0 -1
  160. package/build/dataloaders/findCountDataLoader.js +0 -74
  161. package/build/dataloaders/findCountDataLoader.js.map +0 -1
  162. package/build/dataloaders/findDataLoader.d.ts +0 -37
  163. package/build/dataloaders/findDataLoader.d.ts.map +0 -1
  164. package/build/dataloaders/findDataLoader.js +0 -337
  165. package/build/dataloaders/findDataLoader.js.map +0 -1
  166. package/build/dataloaders/findIdsDataLoader.d.ts +0 -7
  167. package/build/dataloaders/findIdsDataLoader.d.ts.map +0 -1
  168. package/build/dataloaders/findIdsDataLoader.js +0 -74
  169. package/build/dataloaders/findIdsDataLoader.js.map +0 -1
  170. package/build/dataloaders/findOrCreateDataLoader.d.ts +0 -13
  171. package/build/dataloaders/findOrCreateDataLoader.d.ts.map +0 -1
  172. package/build/dataloaders/findOrCreateDataLoader.js +0 -174
  173. package/build/dataloaders/findOrCreateDataLoader.js.map +0 -1
  174. package/build/dataloaders/lensDataLoader.d.ts +0 -12
  175. package/build/dataloaders/lensDataLoader.d.ts.map +0 -1
  176. package/build/dataloaders/lensDataLoader.js +0 -180
  177. package/build/dataloaders/lensDataLoader.js.map +0 -1
  178. package/build/dataloaders/loadDataLoader.d.ts +0 -11
  179. package/build/dataloaders/loadDataLoader.d.ts.map +0 -1
  180. package/build/dataloaders/loadDataLoader.js +0 -54
  181. package/build/dataloaders/loadDataLoader.js.map +0 -1
  182. package/build/dataloaders/manyToManyDataLoader.d.ts +0 -8
  183. package/build/dataloaders/manyToManyDataLoader.d.ts.map +0 -1
  184. package/build/dataloaders/manyToManyDataLoader.js +0 -74
  185. package/build/dataloaders/manyToManyDataLoader.js.map +0 -1
  186. package/build/dataloaders/manyToManyFindDataLoader.d.ts +0 -8
  187. package/build/dataloaders/manyToManyFindDataLoader.d.ts.map +0 -1
  188. package/build/dataloaders/manyToManyFindDataLoader.js +0 -70
  189. package/build/dataloaders/manyToManyFindDataLoader.js.map +0 -1
  190. package/build/dataloaders/oneToManyDataLoader.d.ts +0 -7
  191. package/build/dataloaders/oneToManyDataLoader.d.ts.map +0 -1
  192. package/build/dataloaders/oneToManyDataLoader.js +0 -60
  193. package/build/dataloaders/oneToManyDataLoader.js.map +0 -1
  194. package/build/dataloaders/oneToManyFindDataLoader.d.ts +0 -8
  195. package/build/dataloaders/oneToManyFindDataLoader.d.ts.map +0 -1
  196. package/build/dataloaders/oneToManyFindDataLoader.js +0 -71
  197. package/build/dataloaders/oneToManyFindDataLoader.js.map +0 -1
  198. package/build/dataloaders/oneToOneDataLoader.d.ts +0 -7
  199. package/build/dataloaders/oneToOneDataLoader.d.ts.map +0 -1
  200. package/build/dataloaders/oneToOneDataLoader.js +0 -59
  201. package/build/dataloaders/oneToOneDataLoader.js.map +0 -1
  202. package/build/dataloaders/populateDataLoader.d.ts +0 -13
  203. package/build/dataloaders/populateDataLoader.d.ts.map +0 -1
  204. package/build/dataloaders/populateDataLoader.js +0 -148
  205. package/build/dataloaders/populateDataLoader.js.map +0 -1
  206. package/build/dataloaders/recursiveChildrenDataLoader.d.ts +0 -7
  207. package/build/dataloaders/recursiveChildrenDataLoader.d.ts.map +0 -1
  208. package/build/dataloaders/recursiveChildrenDataLoader.js +0 -77
  209. package/build/dataloaders/recursiveChildrenDataLoader.js.map +0 -1
  210. package/build/dataloaders/recursiveParentsDataLoader.d.ts +0 -7
  211. package/build/dataloaders/recursiveParentsDataLoader.d.ts.map +0 -1
  212. package/build/dataloaders/recursiveParentsDataLoader.js +0 -59
  213. package/build/dataloaders/recursiveParentsDataLoader.js.map +0 -1
  214. package/build/defaults.d.ts +0 -54
  215. package/build/defaults.d.ts.map +0 -1
  216. package/build/defaults.js +0 -282
  217. package/build/defaults.js.map +0 -1
  218. package/build/driverApi.d.ts +0 -19
  219. package/build/driverApi.d.ts.map +0 -1
  220. package/build/driverApi.js +0 -17
  221. package/build/driverApi.js.map +0 -1
  222. package/build/drivers/Driver.d.ts +0 -26
  223. package/build/drivers/Driver.d.ts.map +0 -1
  224. package/build/drivers/Driver.js +0 -3
  225. package/build/drivers/Driver.js.map +0 -1
  226. package/build/drivers/EntityWriter.d.ts +0 -64
  227. package/build/drivers/EntityWriter.d.ts.map +0 -1
  228. package/build/drivers/EntityWriter.js +0 -237
  229. package/build/drivers/EntityWriter.js.map +0 -1
  230. package/build/drivers/IdAssigner.d.ts +0 -50
  231. package/build/drivers/IdAssigner.d.ts.map +0 -1
  232. package/build/drivers/IdAssigner.js +0 -133
  233. package/build/drivers/IdAssigner.js.map +0 -1
  234. package/build/drivers/PostgresDriver.d.ts.map +0 -1
  235. package/build/drivers/PostgresDriver.js.map +0 -1
  236. package/build/drivers/buildRawQuery.d.ts +0 -20
  237. package/build/drivers/buildRawQuery.d.ts.map +0 -1
  238. package/build/drivers/buildRawQuery.js +0 -148
  239. package/build/drivers/buildRawQuery.js.map +0 -1
  240. package/build/drivers/buildUtils.d.ts +0 -4
  241. package/build/drivers/buildUtils.d.ts.map +0 -1
  242. package/build/drivers/buildUtils.js +0 -79
  243. package/build/drivers/buildUtils.js.map +0 -1
  244. package/build/drivers/index.d.ts +0 -5
  245. package/build/drivers/index.d.ts.map +0 -1
  246. package/build/drivers/index.js.map +0 -1
  247. package/build/fields.d.ts +0 -24
  248. package/build/fields.d.ts.map +0 -1
  249. package/build/fields.js +0 -161
  250. package/build/fields.js.map +0 -1
  251. package/build/getProperties.d.ts +0 -28
  252. package/build/getProperties.d.ts.map +0 -1
  253. package/build/getProperties.js +0 -141
  254. package/build/getProperties.js.map +0 -1
  255. package/build/json.d.ts +0 -77
  256. package/build/json.d.ts.map +0 -1
  257. package/build/json.js +0 -116
  258. package/build/json.js.map +0 -1
  259. package/build/k.d.ts +0 -2
  260. package/build/k.d.ts.map +0 -1
  261. package/build/k.js +0 -9
  262. package/build/k.js.map +0 -1
  263. package/build/keys.d.ts +0 -49
  264. package/build/keys.d.ts.map +0 -1
  265. package/build/keys.js +0 -195
  266. package/build/keys.js.map +0 -1
  267. package/build/keywords.d.ts +0 -5
  268. package/build/keywords.d.ts.map +0 -1
  269. package/build/keywords.js +0 -124
  270. package/build/keywords.js.map +0 -1
  271. package/build/loadHints.d.ts +0 -112
  272. package/build/loadHints.d.ts.map +0 -1
  273. package/build/loadHints.js +0 -75
  274. package/build/loadHints.js.map +0 -1
  275. package/build/loadLens.d.ts +0 -66
  276. package/build/loadLens.d.ts.map +0 -1
  277. package/build/loadLens.js +0 -287
  278. package/build/loadLens.js.map +0 -1
  279. package/build/logging/FactoryLogger.d.ts +0 -24
  280. package/build/logging/FactoryLogger.d.ts.map +0 -1
  281. package/build/logging/FactoryLogger.js +0 -77
  282. package/build/logging/FactoryLogger.js.map +0 -1
  283. package/build/logging/FieldLogger.d.ts +0 -27
  284. package/build/logging/FieldLogger.d.ts.map +0 -1
  285. package/build/logging/FieldLogger.js +0 -69
  286. package/build/logging/FieldLogger.js.map +0 -1
  287. package/build/logging/ReactionLogger.d.ts +0 -23
  288. package/build/logging/ReactionLogger.d.ts.map +0 -1
  289. package/build/logging/ReactionLogger.js +0 -65
  290. package/build/logging/ReactionLogger.js.map +0 -1
  291. package/build/newEntity.d.ts +0 -45
  292. package/build/newEntity.d.ts.map +0 -1
  293. package/build/newEntity.js +0 -106
  294. package/build/newEntity.js.map +0 -1
  295. package/build/newTestInstance.d.ts +0 -193
  296. package/build/newTestInstance.d.ts.map +0 -1
  297. package/build/newTestInstance.js +0 -738
  298. package/build/newTestInstance.js.map +0 -1
  299. package/build/normalizeHints.d.ts +0 -16
  300. package/build/normalizeHints.d.ts.map +0 -1
  301. package/build/normalizeHints.js +0 -31
  302. package/build/normalizeHints.js.map +0 -1
  303. package/build/plugins/ImmutableEntitiesPlugin.d.ts +0 -9
  304. package/build/plugins/ImmutableEntitiesPlugin.d.ts.map +0 -1
  305. package/build/plugins/ImmutableEntitiesPlugin.js +0 -21
  306. package/build/plugins/ImmutableEntitiesPlugin.js.map +0 -1
  307. package/build/plugins/PreloadPlugin.d.ts +0 -69
  308. package/build/plugins/PreloadPlugin.d.ts.map +0 -1
  309. package/build/plugins/PreloadPlugin.js +0 -3
  310. package/build/plugins/PreloadPlugin.js.map +0 -1
  311. package/build/preloading/JsonAggregatePreloader.d.ts +0 -16
  312. package/build/preloading/JsonAggregatePreloader.d.ts.map +0 -1
  313. package/build/preloading/JsonAggregatePreloader.js +0 -238
  314. package/build/preloading/JsonAggregatePreloader.js.map +0 -1
  315. package/build/preloading/canPreload.d.ts +0 -3
  316. package/build/preloading/canPreload.d.ts.map +0 -1
  317. package/build/preloading/canPreload.js +0 -21
  318. package/build/preloading/canPreload.js.map +0 -1
  319. package/build/preloading/partitionHint.d.ts +0 -5
  320. package/build/preloading/partitionHint.d.ts.map +0 -1
  321. package/build/preloading/partitionHint.js +0 -56
  322. package/build/preloading/partitionHint.js.map +0 -1
  323. package/build/reactiveHints.d.ts +0 -129
  324. package/build/reactiveHints.d.ts.map +0 -1
  325. package/build/reactiveHints.js +0 -458
  326. package/build/reactiveHints.js.map +0 -1
  327. package/build/relations/AbstractPropertyImpl.d.ts +0 -8
  328. package/build/relations/AbstractPropertyImpl.d.ts.map +0 -1
  329. package/build/relations/AbstractPropertyImpl.js +0 -15
  330. package/build/relations/AbstractPropertyImpl.js.map +0 -1
  331. package/build/relations/AbstractRelationImpl.d.ts +0 -36
  332. package/build/relations/AbstractRelationImpl.d.ts.map +0 -1
  333. package/build/relations/AbstractRelationImpl.js +0 -19
  334. package/build/relations/AbstractRelationImpl.js.map +0 -1
  335. package/build/relations/Collection.d.ts +0 -28
  336. package/build/relations/Collection.d.ts.map +0 -1
  337. package/build/relations/Collection.js +0 -18
  338. package/build/relations/Collection.js.map +0 -1
  339. package/build/relations/CustomCollection.d.ts +0 -69
  340. package/build/relations/CustomCollection.d.ts.map +0 -1
  341. package/build/relations/CustomCollection.js +0 -166
  342. package/build/relations/CustomCollection.js.map +0 -1
  343. package/build/relations/CustomReference.d.ts +0 -71
  344. package/build/relations/CustomReference.d.ts.map +0 -1
  345. package/build/relations/CustomReference.js +0 -152
  346. package/build/relations/CustomReference.js.map +0 -1
  347. package/build/relations/LargeCollection.d.ts +0 -19
  348. package/build/relations/LargeCollection.d.ts.map +0 -1
  349. package/build/relations/LargeCollection.js +0 -3
  350. package/build/relations/LargeCollection.js.map +0 -1
  351. package/build/relations/ManyToManyCollection.d.ts +0 -44
  352. package/build/relations/ManyToManyCollection.d.ts.map +0 -1
  353. package/build/relations/ManyToManyCollection.js +0 -268
  354. package/build/relations/ManyToManyCollection.js.map +0 -1
  355. package/build/relations/ManyToManyLargeCollection.d.ts +0 -30
  356. package/build/relations/ManyToManyLargeCollection.d.ts.map +0 -1
  357. package/build/relations/ManyToManyLargeCollection.js +0 -119
  358. package/build/relations/ManyToManyLargeCollection.js.map +0 -1
  359. package/build/relations/ManyToOneReference.d.ts +0 -121
  360. package/build/relations/ManyToOneReference.d.ts.map +0 -1
  361. package/build/relations/ManyToOneReference.js +0 -389
  362. package/build/relations/ManyToOneReference.js.map +0 -1
  363. package/build/relations/OneToManyCollection.d.ts +0 -58
  364. package/build/relations/OneToManyCollection.d.ts.map +0 -1
  365. package/build/relations/OneToManyCollection.js +0 -347
  366. package/build/relations/OneToManyCollection.js.map +0 -1
  367. package/build/relations/OneToManyLargeCollection.d.ts +0 -26
  368. package/build/relations/OneToManyLargeCollection.d.ts.map +0 -1
  369. package/build/relations/OneToManyLargeCollection.js +0 -102
  370. package/build/relations/OneToManyLargeCollection.js.map +0 -1
  371. package/build/relations/OneToOneReference.d.ts +0 -93
  372. package/build/relations/OneToOneReference.d.ts.map +0 -1
  373. package/build/relations/OneToOneReference.js +0 -228
  374. package/build/relations/OneToOneReference.js.map +0 -1
  375. package/build/relations/PolymorphicReference.d.ts +0 -89
  376. package/build/relations/PolymorphicReference.d.ts.map +0 -1
  377. package/build/relations/PolymorphicReference.js +0 -244
  378. package/build/relations/PolymorphicReference.js.map +0 -1
  379. package/build/relations/ReactiveField.d.ts +0 -87
  380. package/build/relations/ReactiveField.d.ts.map +0 -1
  381. package/build/relations/ReactiveField.js +0 -149
  382. package/build/relations/ReactiveField.js.map +0 -1
  383. package/build/relations/ReactiveGetter.d.ts +0 -30
  384. package/build/relations/ReactiveGetter.d.ts.map +0 -1
  385. package/build/relations/ReactiveGetter.js +0 -38
  386. package/build/relations/ReactiveGetter.js.map +0 -1
  387. package/build/relations/ReactiveManyToMany.d.ts +0 -56
  388. package/build/relations/ReactiveManyToMany.d.ts.map +0 -1
  389. package/build/relations/ReactiveManyToMany.js +0 -243
  390. package/build/relations/ReactiveManyToMany.js.map +0 -1
  391. package/build/relations/ReactiveManyToManyOtherSide.d.ts +0 -47
  392. package/build/relations/ReactiveManyToManyOtherSide.d.ts.map +0 -1
  393. package/build/relations/ReactiveManyToManyOtherSide.js +0 -155
  394. package/build/relations/ReactiveManyToManyOtherSide.js.map +0 -1
  395. package/build/relations/ReactiveQueryField.d.ts +0 -41
  396. package/build/relations/ReactiveQueryField.d.ts.map +0 -1
  397. package/build/relations/ReactiveQueryField.js +0 -125
  398. package/build/relations/ReactiveQueryField.js.map +0 -1
  399. package/build/relations/ReactiveReference.d.ts +0 -119
  400. package/build/relations/ReactiveReference.d.ts.map +0 -1
  401. package/build/relations/ReactiveReference.js +0 -333
  402. package/build/relations/ReactiveReference.js.map +0 -1
  403. package/build/relations/ReadOnlyCollection.d.ts +0 -19
  404. package/build/relations/ReadOnlyCollection.d.ts.map +0 -1
  405. package/build/relations/ReadOnlyCollection.js +0 -15
  406. package/build/relations/ReadOnlyCollection.js.map +0 -1
  407. package/build/relations/RecursiveCollection.d.ts +0 -84
  408. package/build/relations/RecursiveCollection.d.ts.map +0 -1
  409. package/build/relations/RecursiveCollection.js +0 -296
  410. package/build/relations/RecursiveCollection.js.map +0 -1
  411. package/build/relations/Reference.d.ts +0 -35
  412. package/build/relations/Reference.d.ts.map +0 -1
  413. package/build/relations/Reference.js +0 -21
  414. package/build/relations/Reference.js.map +0 -1
  415. package/build/relations/Relation.d.ts +0 -14
  416. package/build/relations/Relation.d.ts.map +0 -1
  417. package/build/relations/Relation.js +0 -12
  418. package/build/relations/Relation.js.map +0 -1
  419. package/build/relations/hasAsyncMethod.d.ts +0 -27
  420. package/build/relations/hasAsyncMethod.d.ts.map +0 -1
  421. package/build/relations/hasAsyncMethod.js +0 -47
  422. package/build/relations/hasAsyncMethod.js.map +0 -1
  423. package/build/relations/hasAsyncProperty.d.ts +0 -49
  424. package/build/relations/hasAsyncProperty.d.ts.map +0 -1
  425. package/build/relations/hasAsyncProperty.js +0 -98
  426. package/build/relations/hasAsyncProperty.js.map +0 -1
  427. package/build/relations/hasManyDerived.d.ts +0 -22
  428. package/build/relations/hasManyDerived.d.ts.map +0 -1
  429. package/build/relations/hasManyDerived.js +0 -32
  430. package/build/relations/hasManyDerived.js.map +0 -1
  431. package/build/relations/hasManyThrough.d.ts +0 -10
  432. package/build/relations/hasManyThrough.d.ts.map +0 -1
  433. package/build/relations/hasManyThrough.js +0 -24
  434. package/build/relations/hasManyThrough.js.map +0 -1
  435. package/build/relations/hasOneDerived.d.ts +0 -12
  436. package/build/relations/hasOneDerived.d.ts.map +0 -1
  437. package/build/relations/hasOneDerived.js +0 -24
  438. package/build/relations/hasOneDerived.js.map +0 -1
  439. package/build/relations/hasOneThrough.d.ts +0 -10
  440. package/build/relations/hasOneThrough.d.ts.map +0 -1
  441. package/build/relations/hasOneThrough.js +0 -24
  442. package/build/relations/hasOneThrough.js.map +0 -1
  443. package/build/relations/index.d.ts +0 -28
  444. package/build/relations/index.d.ts.map +0 -1
  445. package/build/relations/index.js +0 -88
  446. package/build/relations/index.js.map +0 -1
  447. package/build/rules.d.ts +0 -123
  448. package/build/rules.d.ts.map +0 -1
  449. package/build/rules.js +0 -231
  450. package/build/rules.js.map +0 -1
  451. package/build/runtimeConfig.d.ts +0 -17
  452. package/build/runtimeConfig.d.ts.map +0 -1
  453. package/build/runtimeConfig.js +0 -18
  454. package/build/runtimeConfig.js.map +0 -1
  455. package/build/serde.d.ts +0 -277
  456. package/build/serde.d.ts.map +0 -1
  457. package/build/serde.js +0 -517
  458. package/build/serde.js.map +0 -1
  459. package/build/temporal.d.ts +0 -16
  460. package/build/temporal.d.ts.map +0 -1
  461. package/build/temporal.js +0 -48
  462. package/build/temporal.js.map +0 -1
  463. package/build/temporalMappers.d.ts +0 -25
  464. package/build/temporalMappers.d.ts.map +0 -1
  465. package/build/temporalMappers.js +0 -59
  466. package/build/temporalMappers.js.map +0 -1
  467. package/build/typeMap.d.ts +0 -68
  468. package/build/typeMap.d.ts.map +0 -1
  469. package/build/typeMap.js +0 -3
  470. package/build/typeMap.js.map +0 -1
  471. package/build/unnest.d.ts +0 -13
  472. package/build/unnest.d.ts.map +0 -1
  473. package/build/unnest.js +0 -85
  474. package/build/unnest.js.map +0 -1
  475. package/build/upsert.d.ts +0 -42
  476. package/build/upsert.d.ts.map +0 -1
  477. package/build/upsert.js +0 -265
  478. package/build/upsert.js.map +0 -1
  479. package/build/utils.d.ts +0 -58
  480. package/build/utils.d.ts.map +0 -1
  481. package/build/utils.js +0 -236
  482. package/build/utils.js.map +0 -1
  483. package/build/withLoaded.d.ts +0 -56
  484. package/build/withLoaded.d.ts.map +0 -1
  485. package/build/withLoaded.js +0 -76
  486. package/build/withLoaded.js.map +0 -1
package/build/config.js DELETED
@@ -1,298 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConfigData = exports.ConfigApi = exports.constraintNameToValidationError = void 0;
4
- exports.setBooted = setBooted;
5
- exports.setAfterMetadataLocked = setAfterMetadataLocked;
6
- exports.resetBootFlag = resetBootFlag;
7
- exports.getCallerName = getCallerName;
8
- exports.getFuzzyCallerName = getFuzzyCallerName;
9
- exports.getFilePath = getFilePath;
10
- exports.findUserCodeLine = findUserCodeLine;
11
- const configure_1 = require("./configure");
12
- const defaults_1 = require("./defaults");
13
- const index_1 = require("./index");
14
- const reactiveHints_1 = require("./reactiveHints");
15
- exports.constraintNameToValidationError = {};
16
- let booted = false;
17
- let afterMetadataLocked = false;
18
- /**
19
- * Called at the end of `configureMetadata` to indicate the boot process is complete.
20
- *
21
- * We use this flag to prevent users from mistakenly calling `config` methods after the boot
22
- * process is complete, i.e. from hooks or other post-boot invocations, where the calls are
23
- * not guaranteed to work because Joist's reactivity graph has already been initialized.
24
- */
25
- function setBooted() {
26
- booted = true;
27
- }
28
- function setAfterMetadataLocked() {
29
- afterMetadataLocked = true;
30
- }
31
- /** The public API to configure an Entity's hooks & validation rules. */
32
- class ConfigApi {
33
- __data = new ConfigData();
34
- /**
35
- * Maps a given `constraintName`, i.e. `authors_publisher_id_unique_index`, to a hard-coded-but-pretty validation errors.
36
- *
37
- * Note that the validationError must be hard-coded b/c we cannot tease out "which entity" caused a given
38
- * constraint failure from the SQL database. If you really need pretty-and-custom validation errors, you'll
39
- * need to check the constraint by hand ahead of time, before calling `em.flush`.
40
- */
41
- addConstraintMessage(constraintName, validationError) {
42
- this.ensurePreBoot(getCallerName(), "addConstraintMessage");
43
- exports.constraintNameToValidationError[constraintName] = validationError;
44
- }
45
- addRule(ruleOrHint, maybeRule) {
46
- // Keep the name for easy debugging/tracing later
47
- const name = getCallerName();
48
- this.ensurePreBoot(name, "addRule");
49
- if (typeof ruleOrHint === "function") {
50
- const fn = ruleOrHint;
51
- this.__data.rules.push({ name, fn, hint: undefined });
52
- }
53
- else {
54
- const hint = ruleOrHint;
55
- let loadHint;
56
- // Create a wrapper around the user's function to populate
57
- const fn = (entity) => {
58
- // Ideally, we'd convert this outside `wrappedFn`, but we don't have `metadata` yet. So we do it lazily on the
59
- // first call.
60
- loadHint ??= (0, reactiveHints_1.convertToLoadHint)((0, index_1.getMetadata)(entity), hint);
61
- if (Object.keys(loadHint).length > 0) {
62
- return entity.em.populate(entity, loadHint).then(maybeRule);
63
- }
64
- return maybeRule(entity);
65
- };
66
- this.__data.rules.push({ name, fn, hint });
67
- }
68
- }
69
- /** If both this entity, and `cstr` entities, are in the same `em.flush`, run us first. */
70
- runHooksBefore(cstr) {
71
- this.__data.runHooksBefore.push(cstr);
72
- }
73
- /** Deletes any entity/entities pointed to by `relation` when this entity is deleted. */
74
- cascadeDelete(relation) {
75
- this.ensurePreBoot(getCallerName(), "cascadeDelete");
76
- this.__data.cascadeDeleteFields.push(relation);
77
- }
78
- touchOnChange(relation) {
79
- this.ensurePreBoot(getCallerName(), "touchOnChange");
80
- this.__data.touchOnChange.add(relation);
81
- }
82
- addHook(hook, ruleOrHint, maybeFn) {
83
- this.ensurePreBoot(getCallerName(), "addHook");
84
- if (typeof ruleOrHint === "function") {
85
- this.__data.hooks[hook].push(ruleOrHint);
86
- }
87
- else {
88
- const fn = async (entity, ctx) => {
89
- // TODO Use this for reactive beforeFlush
90
- const loaded = await entity.em.populate(entity, ruleOrHint);
91
- return maybeFn(loaded, ctx);
92
- };
93
- // Squirrel our hint away where configureMetadata can find it
94
- fn.hint = ruleOrHint;
95
- this.__data.hooks[hook].push(fn);
96
- }
97
- }
98
- afterMetadata(fn) {
99
- if (afterMetadataLocked) {
100
- throw new Error(`config.afterMetadata on ${getCallerName()} must only be called on boot, before calling \`configureMetadata\` and not from other \`afterMetadata\` hooks.`);
101
- }
102
- this.__data.afterMetadataCallbacks.push(fn);
103
- }
104
- beforeDelete(ruleOrHint, maybeFn) {
105
- this.addHook("beforeDelete", ruleOrHint, maybeFn);
106
- }
107
- beforeFlush(ruleOrHint, maybeFn) {
108
- this.addHook("beforeFlush", ruleOrHint, maybeFn);
109
- }
110
- beforeCreate(ruleOrHint, maybeFn) {
111
- this.addHook("beforeCreate", ruleOrHint, maybeFn);
112
- }
113
- beforeUpdate(ruleOrHint, maybeFn) {
114
- this.addHook("beforeUpdate", ruleOrHint, maybeFn);
115
- }
116
- afterValidation(ruleOrHint, maybeFn) {
117
- this.addHook("afterValidation", ruleOrHint, maybeFn);
118
- }
119
- beforeCommit(fn) {
120
- this.addHook("beforeCommit", fn);
121
- }
122
- afterCommit(fn) {
123
- this.addHook("afterCommit", fn);
124
- }
125
- addReaction(nameOrOptsOrHint, hintOrFn, maybeFn) {
126
- // Keep the name so we can uniquely identify this reaction later and also aid debugging/tracing
127
- const fn = maybeFn ?? hintOrFn;
128
- const hint = (maybeFn ? hintOrFn : nameOrOptsOrHint);
129
- const opts = maybeFn
130
- ? typeof nameOrOptsOrHint === "string"
131
- ? { name: nameOrOptsOrHint }
132
- : nameOrOptsOrHint
133
- : {};
134
- const { name = getCallerName(), runOnce = false } = opts;
135
- this.ensurePreBoot(name, "addReaction");
136
- let loadHint;
137
- // Create a wrapper around the user's function to populate
138
- const wrappedFn = (entity, ctx) => {
139
- // Ideally, we'd convert this outside `wrappedFn`, but we don't have `metadata` yet. So we do it lazily on the
140
- // first call.
141
- loadHint ??= (0, reactiveHints_1.convertToLoadHint)((0, index_1.getMetadata)(entity), hint);
142
- if (Object.keys(loadHint).length > 0) {
143
- return entity.em.populate(entity, loadHint).then((loaded) => fn(loaded, ctx));
144
- }
145
- return fn(entity, ctx);
146
- };
147
- this.__data.reactions.push({ name, fn: wrappedFn, hint, runOnce });
148
- }
149
- setDefault(fieldName, hintOrFnOrValue, fn) {
150
- this.ensurePreBoot(getCallerName(), "setDefault");
151
- if (fn) {
152
- // If we're called once by the codegen, and again by the user, override the syncDefault
153
- delete this.__data.syncDefaults[fieldName];
154
- this.__data.asyncDefaults[fieldName] = new defaults_1.AsyncDefault(fieldName, hintOrFnOrValue, fn);
155
- }
156
- else {
157
- this.__data.syncDefaults[fieldName] = hintOrFnOrValue;
158
- }
159
- }
160
- /**
161
- * A noop method that exists solely to keep the `config.placeholder()` line in the initial entity file,
162
- * until the user is ready to use it. */
163
- placeholder() { }
164
- ensurePreBoot(name, op) {
165
- if (booted) {
166
- // Detect if this is NextJS and we're in a hot-reload situation
167
- if (isRunningInNextJs()) {
168
- // Reset our bag of config data to collect only the new rules/hooks
169
- this.__data = new ConfigData();
170
- resetBootFlag();
171
- }
172
- else {
173
- throw new Error(`config.${op} call on ${name} must only be called on boot, before calling \`configureMetadata\`.`);
174
- }
175
- }
176
- }
177
- }
178
- exports.ConfigApi = ConfigApi;
179
- function isRunningInNextJs() {
180
- return "__NEXT_HTTP_AGENT" in globalThis || "__NEXT_HTTPS_AGENT" in globalThis;
181
- }
182
- /**
183
- * Allows projects to manually reset the internal `booted` flag.
184
- *
185
- * This is only necessary if they're using hot-reloading and reloading their entity files
186
- * without restarting the server.
187
- *
188
- * Generally most tools like tsx or ts-node-dev reload the whole process, so don't need
189
- * to call this, but if Joist is used in a framework that does actual-hot-reloading, this
190
- * it will be necessary.
191
- */
192
- function resetBootFlag() {
193
- booted = false;
194
- afterMetadataLocked = false;
195
- (0, configure_1.resetConstructorMap)();
196
- }
197
- /** The internal state of an entity's configuration data, i.e. validation rules/hooks. */
198
- class ConfigData {
199
- afterMetadataCallbacks = [];
200
- runHooksBefore = [];
201
- /** The validation rules for this entity type. */
202
- rules = [];
203
- /** The reactions for this entity type. */
204
- reactions = [];
205
- /** The hooks for this entity type. */
206
- hooks = {
207
- beforeDelete: [],
208
- beforeFlush: [],
209
- beforeCreate: [],
210
- beforeUpdate: [],
211
- afterValidation: [],
212
- beforeCommit: [],
213
- afterCommit: [],
214
- };
215
- /** Synchronous defaults for this entity type, invoked on `em.create`. */
216
- syncDefaults = {};
217
- /** Asynchronous defaults for this entity type, invoked on `em.flush`. */
218
- asyncDefaults = {};
219
- // An array of the reactive rules that depend on this entity
220
- reactiveRules = [];
221
- // An array of the reactive fields and reactions that depend on this entity
222
- reactables = [];
223
- cascadeDeleteFields = [];
224
- touchOnChange = new Set();
225
- // Constantly converting reactive hints to load hints is expense, so cache them here
226
- cachedReactiveLoadHints = {};
227
- }
228
- exports.ConfigData = ConfigData;
229
- function getCallerName(extraFrames = 0) {
230
- const err = getStack();
231
- // E.g. at Object.<anonymous> (/home/stephen/homebound/graphql-service/src/entities/Activity.ts:86:8)
232
- // (Make sure to drop lines that don't start with 'at' b/c the stack format can differ
233
- // slightly i.e. if running via tsx/using a node loader (probably?)
234
- const line = err.stack.split("\n").filter((line) => line.includes(" at "))[3 + extraFrames];
235
- const parts = line.split("/");
236
- // Get the last part, which will be the file name, i.e. Activity.ts:86:8
237
- return parts[parts.length - 1].replace(/:\d+\)?$/, "");
238
- }
239
- function getFuzzyCallerName() {
240
- const err = getStack();
241
- const lines = err
242
- .stack.split("\n")
243
- // E.g. at Object.<anonymous> (/home/stephen/homebound/graphql-service/src/entities/Activity.ts:86:8)
244
- .filter((line) => line.includes(" at "));
245
- const line = findUserCodeLine(lines);
246
- return getFilePath(line);
247
- }
248
- /**
249
- * Given a callstack line return the file name.
250
- *
251
- * I.e. `at Object.<anonymous> (/home/stephen/homebound/graphql-service/src/entities/Activity.ts:86:8)`
252
- */
253
- function getFilePath(line) {
254
- const parts = line.split("/");
255
- return parts[parts.length - 1].replace(/:\d+\)?$/, ""); // Drop the `:8)`at the end
256
- }
257
- /** Given a callstack, uses heuristics to find the first line that looks like user code. */
258
- function findUserCodeLine(lines) {
259
- return (lines.find((line) => {
260
- // When running Joist's own integration tests, if we ignore `/joist-orm/`, we'll end up ignoring
261
- // everything because `joist-orm` is the name of the repository/working copy itself.
262
- const withinWorkingCopyJoist = line.includes("/packages/orm/");
263
- // But once we're not in a working copy, assume any `/joist-orm/` in the path === internal orm stack frames
264
- const withinProductionJoist = !withinWorkingCopyJoist && line.includes("/joist-orm/src/");
265
- const nodeInternals = line.includes("node:internal/") || line.includes("Promise.all");
266
- const isUserCode = !withinWorkingCopyJoist && !withinProductionJoist && !nodeInternals;
267
- // const isRecalc = line.includes(".recalcPending");
268
- const isDefault = line.includes("/defaults.ts");
269
- // Batched calls like findOrCreate won't have a stack trace back to the true caller, so just stop there
270
- const isDataloader = line.includes("/dataloaders/");
271
- // If this is the `newTestInstance` call
272
- // What about:
273
- // recalcSynchronousDerivedFields
274
- return ((isDefault || isDataloader || isUserCode) &&
275
- !line.includes("Codegen.ts") &&
276
- // I wanted to exclude this, but it was actually our utils/entities.ts maybeSetDefault helper method
277
- // !line.includes("entities.ts") &&
278
- // Ignore loops in joist code like setOpts
279
- !line.includes("at Array") &&
280
- // Ignore the Author.ts constructor calling setOpts
281
- !line.includes("at new "));
282
- }) ?? (0, index_1.fail)("Could not find caller name"));
283
- }
284
- const getStack = "captureStackTrace" in Error ? getStackFromCapture : getStackFromObject;
285
- function getStackFromCapture() {
286
- const obj = {};
287
- Error.captureStackTrace(obj);
288
- return obj;
289
- }
290
- function getStackFromObject() {
291
- try {
292
- throw Error("");
293
- }
294
- catch (err) {
295
- return err;
296
- }
297
- }
298
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";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ources":["../src/config.test.ts"],"names":[],"mappings":""}
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const config_1 = require("./config");
4
- describe("config", () => {
5
- describe("findUserCodeLine", () => {
6
- it("finds ReactiveReference recalc", () => {
7
- const lines = [
8
- " at getStackFromCapture (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/config.ts:388:9)",
9
- " at getFuzzyCallerName (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/config.ts:340:15)",
10
- " at FieldLogger.logSet (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/logging/FieldLogger.ts:52:36)",
11
- " at setField (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/fields.ts:113:16)",
12
- " at ReactiveReferenceImpl.setImpl (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/relations/ReactiveReference.ts:272:13)",
13
- " at ReactiveReferenceImpl.doGet (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/relations/ReactiveReference.ts:228:14)",
14
- " at <anonymous> (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/relations/ReactiveReference.ts:160:23)",
15
- " at process.processTicksAndRejections (node:internal/process/task_queues:105:5)",
16
- " at async Promise.allSettled (index 16)",
17
- " at async ReactionsManager.recalcPendingDerivedValues (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/ReactionsManager.ts:180:23)",
18
- " at async <anonymous> (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/EntityManager.ts:1263:7)",
19
- " at async EntityManager.flush (/home/stephen/homebound/graphql-service/node_modules/joist-orm/src/EntityManager.ts:1256:5)",
20
- " at async Object.savePersonalizationOptionGroup (/home/stephen/homebound/graphql-service/src/resolvers/mutations/designPackage/savePersonalizationOptionGroupResolver.ts:43:5)",
21
- " at async run (/home/stephen/homebound/graphql-service/node_modules/joist-test-utils/src/run.ts:18:18)",
22
- " at async <anonymous> (/home/stephen/homebound/graphql-service/src/resolvers/mutations/designPackage/savePersonalizationOptionGroupResolver.test.ts:29:7)",
23
- ];
24
- expect((0, config_1.findUserCodeLine)(lines)).toMatchInlineSnapshot(`" at async Object.savePersonalizationOptionGroup (/home/stephen/homebound/graphql-service/src/resolvers/mutations/designPackage/savePersonalizationOptionGroupResolver.ts:43:5)"`);
25
- });
26
- it("works on cascadeDeletes", () => {
27
- const lines = [
28
- " at getStackFromCapture (/home/node/app/node_modules/joist-orm/src/config.ts:393:9)",
29
- " at getFuzzyCallerName (/home/node/app/node_modules/joist-orm/src/config.ts:338:15)",
30
- " at FieldLogger.logSet (/home/node/app/node_modules/joist-orm/src/logging/FieldLogger.ts:52:36)",
31
- " at setField (/home/node/app/node_modules/joist-orm/src/fields.ts:113:16)",
32
- " at ManyToOneReferenceImpl.setImpl (/home/node/app/node_modules/joist-orm/src/relations/ManyToOneReference.ts:231:13)",
33
- " at ManyToOneReferenceImpl.set (/home/node/app/node_modules/joist-orm/src/relations/ManyToOneReference.ts:112:10)",
34
- " at OneToManyCollection.remove (/home/node/app/node_modules/joist-orm/src/relations/OneToManyCollection.ts:234:34)",
35
- " at ManyToOneReferenceImpl.cleanupOnEntityDeleted (/home/node/app/node_modules/joist-orm/src/relations/ManyToOneReference.ts:266:13)",
36
- " at process.processTicksAndRejections (node:internal/process/task_queues:105:5)",
37
- " at async Promise.all (index 6)",
38
- " at async EntityManager.cascadeDeletes (/home/node/app/node_modules/joist-orm/src/EntityManager.ts:1769:5)",
39
- " at async <anonymous> (/home/node/app/node_modules/joist-orm/src/EntityManager.ts:1341:11)",
40
- " at async runHooksOnPendingEntities (/home/node/app/node_modules/joist-orm/src/EntityManager.ts:1322:9)",
41
- " at async EntityManager.flush (/home/node/app/node_modules/joist-orm/src/EntityManager.ts:1388:29)",
42
- " at async Object.savePersonalizationOptionGroup (/home/stephen/homebound/graphql-service/src/resolvers/mutations/designPackage/savePersonalizationOptionGroupResolver.ts:46:5)",
43
- ];
44
- expect((0, config_1.findUserCodeLine)(lines)).toMatchInlineSnapshot(`" at async Object.savePersonalizationOptionGroup (/home/stephen/homebound/graphql-service/src/resolvers/mutations/designPackage/savePersonalizationOptionGroupResolver.ts:46:5)"`);
45
- });
46
- });
47
- describe("getFilePath", () => {
48
- it("works", () => {
49
- expect((0, config_1.getFilePath)(" at async Object.savePersonalizationOptionGroup (/home/stephen/homebound/graphql-service/src/resolvers/mutations/designPackage/savePersonalizationOptionGroupResolver.ts:43:5)")).toBe("savePersonalizationOptionGroupResolver.ts:43");
50
- });
51
- });
52
- });
53
- //# sourceMappingURL=config.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.test.js","sourceRoot":"","sources":["../src/config.test.ts"],"names":[],"mappings":";;AAAA,qCAAyD;AAEzD,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE;IACtB,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;QAChC,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;YACxC,MAAM,KAAK,GAAG;gBACZ,iHAAiH;gBACjH,iHAAiH;gBACjH,6HAA6H;gBAC7H,uGAAuG;gBACvG,iJAAiJ;gBACjJ,+IAA+I;gBAC/I,+HAA+H;gBAC/H,oFAAoF;gBACpF,4CAA4C;gBAC5C,0JAA0J;gBAC1J,uHAAuH;gBACvH,+HAA+H;gBAC/H,mLAAmL;gBACnL,2GAA2G;gBAC3G,8JAA8J;aAC/J,CAAC;YACF,MAAM,CAAC,IAAA,yBAAgB,EAAC,KAAK,CAAC,CAAC,CAAC,qBAAqB,CACnD,qLAAqL,CACtL,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,yBAAyB,EAAE,GAAG,EAAE;YACjC,MAAM,KAAK,GAAG;gBACZ,wFAAwF;gBACxF,wFAAwF;gBACxF,oGAAoG;gBACpG,8EAA8E;gBAC9E,0HAA0H;gBAC1H,sHAAsH;gBACtH,uHAAuH;gBACvH,yIAAyI;gBACzI,oFAAoF;gBACpF,oCAAoC;gBACpC,+GAA+G;gBAC/G,+FAA+F;gBAC/F,4GAA4G;gBAC5G,uGAAuG;gBACvG,mLAAmL;aACpL,CAAC;YACF,MAAM,CAAC,IAAA,yBAAgB,EAAC,KAAK,CAAC,CAAC,CAAC,qBAAqB,CACnD,qLAAqL,CACtL,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;QAC3B,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;YACf,MAAM,CACJ,IAAA,oBAAW,EACT,mLAAmL,CACpL,CACF,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAC;QACzD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import { Entity } from "./Entity";
2
- import { MaybeAbstractEntityConstructor, TaggedId } from "./EntityManager";
3
- import { EntityMetadata } from "./EntityMetadata";
4
- import { Reference } from "./relations";
5
- /** Performs our boot-time initialization, i.e. hooking up reactivity. */
6
- export declare function configureMetadata(metas: EntityMetadata[]): void;
7
- export declare function resetConstructorMap(): void;
8
- export declare function getConstructorFromTag(tag: string): MaybeAbstractEntityConstructor<any>;
9
- export declare function getConstructorFromTaggedId(id: TaggedId): MaybeAbstractEntityConstructor<any>;
10
- export declare function getMetadataForTable(tableName: string): EntityMetadata;
11
- export declare function getMetadataForType(typeName: string): EntityMetadata;
12
- export declare function maybeGetConstructorFromReference(value: string | Entity | Reference<any, any, any> | undefined): MaybeAbstractEntityConstructor<any> | undefined;
13
- //# sourceMappingURL=configure.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../src/configure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAA+C,MAAM,kBAAkB,CAAC;AAM/F,OAAO,EAAiD,SAAS,EAAE,MAAM,aAAa,CAAC;AAavF,yEAAyE;AACzE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI,CAyB/D;AAuBD,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,8BAA8B,CAAC,GAAG,CAAC,CAEtF;AAED,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,QAAQ,GAAG,8BAA8B,CAAC,GAAG,CAAC,CAG5F;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,CAErE;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAEnE;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS,GAC5D,8BAA8B,CAAC,GAAG,CAAC,GAAG,SAAS,CAGjD"}