@decaf-ts/core 0.24.0 → 0.25.1

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 (340) hide show
  1. package/lib/cjs/index.cjs +1 -1
  2. package/lib/esm/index.js +1 -1
  3. package/lib/types/auth/decorators.d.cts +2 -2
  4. package/lib/types/auth/decorators.d.mts +2 -2
  5. package/lib/types/auth/index.d.cts +2 -2
  6. package/lib/types/auth/index.d.mts +2 -2
  7. package/lib/types/fs/FilesystemAdapter.d.cts +5 -5
  8. package/lib/types/fs/FilesystemAdapter.d.mts +5 -5
  9. package/lib/types/fs/FsDispatch.d.cts +4 -4
  10. package/lib/types/fs/FsDispatch.d.mts +4 -4
  11. package/lib/types/fs/index.d.cts +4 -4
  12. package/lib/types/fs/index.d.mts +4 -4
  13. package/lib/types/fs/indexStore.d.cts +2 -2
  14. package/lib/types/fs/indexStore.d.mts +2 -2
  15. package/lib/types/fs/types.d.cts +2 -2
  16. package/lib/types/fs/types.d.mts +2 -2
  17. package/lib/types/identity/decorators.d.cts +3 -3
  18. package/lib/types/identity/decorators.d.mts +3 -3
  19. package/lib/types/identity/index.d.cts +1 -1
  20. package/lib/types/identity/index.d.mts +1 -1
  21. package/lib/types/index.d.cts +13 -13
  22. package/lib/types/index.d.mts +13 -13
  23. package/lib/types/interfaces/ContextuallyLogged.d.cts +2 -2
  24. package/lib/types/interfaces/ContextuallyLogged.d.mts +2 -2
  25. package/lib/types/interfaces/Observable.d.cts +1 -1
  26. package/lib/types/interfaces/Observable.d.mts +1 -1
  27. package/lib/types/interfaces/Paginatable.d.cts +1 -1
  28. package/lib/types/interfaces/Paginatable.d.mts +1 -1
  29. package/lib/types/interfaces/Queriable.d.cts +2 -2
  30. package/lib/types/interfaces/Queriable.d.mts +2 -2
  31. package/lib/types/interfaces/RawExecutor.d.cts +1 -1
  32. package/lib/types/interfaces/RawExecutor.d.mts +1 -1
  33. package/lib/types/interfaces/index.d.cts +7 -7
  34. package/lib/types/interfaces/index.d.mts +7 -7
  35. package/lib/types/migrations/Migration.d.cts +4 -4
  36. package/lib/types/migrations/Migration.d.mts +4 -4
  37. package/lib/types/migrations/MigrationService.d.cts +7 -7
  38. package/lib/types/migrations/MigrationService.d.mts +7 -7
  39. package/lib/types/migrations/MigrationTaskBuilder.d.cts +3 -3
  40. package/lib/types/migrations/MigrationTaskBuilder.d.mts +3 -3
  41. package/lib/types/migrations/MigrationTasks.d.cts +2 -2
  42. package/lib/types/migrations/MigrationTasks.d.mts +2 -2
  43. package/lib/types/migrations/SemverMigrationVersioning.d.cts +1 -1
  44. package/lib/types/migrations/SemverMigrationVersioning.d.mts +1 -1
  45. package/lib/types/migrations/StandardMigrationVersioning.d.cts +1 -1
  46. package/lib/types/migrations/StandardMigrationVersioning.d.mts +1 -1
  47. package/lib/types/migrations/constants.d.cts +1 -1
  48. package/lib/types/migrations/constants.d.mts +1 -1
  49. package/lib/types/migrations/decorators.d.cts +1 -1
  50. package/lib/types/migrations/decorators.d.mts +1 -1
  51. package/lib/types/migrations/index.d.cts +9 -9
  52. package/lib/types/migrations/index.d.mts +9 -9
  53. package/lib/types/migrations/types.d.cts +5 -5
  54. package/lib/types/migrations/types.d.mts +5 -5
  55. package/lib/types/model/SequenceModel.d.cts +1 -1
  56. package/lib/types/model/SequenceModel.d.mts +1 -1
  57. package/lib/types/model/construction.d.cts +4 -4
  58. package/lib/types/model/construction.d.mts +4 -4
  59. package/lib/types/model/decorators.d.cts +4 -4
  60. package/lib/types/model/decorators.d.mts +4 -4
  61. package/lib/types/model/index.d.cts +6 -6
  62. package/lib/types/model/index.d.mts +6 -6
  63. package/lib/types/model/indexing.d.cts +1 -1
  64. package/lib/types/model/indexing.d.mts +1 -1
  65. package/lib/types/model/types.d.cts +2 -2
  66. package/lib/types/model/types.d.mts +2 -2
  67. package/lib/types/overrides/Metadata.d.cts +6 -6
  68. package/lib/types/overrides/Metadata.d.mts +6 -6
  69. package/lib/types/overrides/Model.d.cts +3 -3
  70. package/lib/types/overrides/Model.d.mts +3 -3
  71. package/lib/types/overrides/index.d.cts +5 -5
  72. package/lib/types/overrides/index.d.mts +5 -5
  73. package/lib/types/overrides/injectables.d.cts +2 -2
  74. package/lib/types/overrides/injectables.d.mts +2 -2
  75. package/lib/types/persistence/Adapter.d.cts +15 -15
  76. package/lib/types/persistence/Adapter.d.mts +15 -15
  77. package/lib/types/persistence/Context.d.cts +1 -1
  78. package/lib/types/persistence/Context.d.mts +1 -1
  79. package/lib/types/persistence/ContextLock.d.cts +1 -1
  80. package/lib/types/persistence/ContextLock.d.mts +1 -1
  81. package/lib/types/persistence/Dispatch.d.cts +4 -4
  82. package/lib/types/persistence/Dispatch.d.mts +4 -4
  83. package/lib/types/persistence/ObserverHandler.d.cts +4 -4
  84. package/lib/types/persistence/ObserverHandler.d.mts +4 -4
  85. package/lib/types/persistence/Sequence.d.cts +7 -7
  86. package/lib/types/persistence/Sequence.d.mts +7 -7
  87. package/lib/types/persistence/constants.d.cts +2 -2
  88. package/lib/types/persistence/constants.d.mts +2 -2
  89. package/lib/types/persistence/decorators.d.cts +3 -3
  90. package/lib/types/persistence/decorators.d.mts +3 -3
  91. package/lib/types/persistence/event-filters.d.cts +2 -2
  92. package/lib/types/persistence/event-filters.d.mts +2 -2
  93. package/lib/types/persistence/index.d.cts +13 -13
  94. package/lib/types/persistence/index.d.mts +13 -13
  95. package/lib/types/persistence/transactions.d.cts +2 -2
  96. package/lib/types/persistence/transactions.d.mts +2 -2
  97. package/lib/types/persistence/types.d.cts +8 -8
  98. package/lib/types/persistence/types.d.mts +8 -8
  99. package/lib/types/query/Condition.d.cts +2 -2
  100. package/lib/types/query/Condition.d.mts +2 -2
  101. package/lib/types/query/MethodQueryBuilder.d.cts +1 -1
  102. package/lib/types/query/MethodQueryBuilder.d.mts +1 -1
  103. package/lib/types/query/Paginator.d.cts +3 -3
  104. package/lib/types/query/Paginator.d.mts +3 -3
  105. package/lib/types/query/Statement.d.cts +11 -11
  106. package/lib/types/query/Statement.d.mts +11 -11
  107. package/lib/types/query/decorators.d.cts +3 -3
  108. package/lib/types/query/decorators.d.mts +3 -3
  109. package/lib/types/query/index.d.cts +11 -11
  110. package/lib/types/query/index.d.mts +11 -11
  111. package/lib/types/query/options.d.cts +4 -4
  112. package/lib/types/query/options.d.mts +4 -4
  113. package/lib/types/query/selectors.d.cts +1 -1
  114. package/lib/types/query/selectors.d.mts +1 -1
  115. package/lib/types/query/types.d.cts +3 -3
  116. package/lib/types/query/types.d.mts +3 -3
  117. package/lib/types/query/utils.d.cts +1 -1
  118. package/lib/types/query/utils.d.mts +1 -1
  119. package/lib/types/ram/RamAdapter.d.cts +7 -7
  120. package/lib/types/ram/RamAdapter.d.mts +7 -7
  121. package/lib/types/ram/RamPaginator.d.cts +4 -4
  122. package/lib/types/ram/RamPaginator.d.mts +4 -4
  123. package/lib/types/ram/RamStatement.d.cts +5 -5
  124. package/lib/types/ram/RamStatement.d.mts +5 -5
  125. package/lib/types/ram/handlers.d.cts +3 -3
  126. package/lib/types/ram/handlers.d.mts +3 -3
  127. package/lib/types/ram/index.d.cts +6 -6
  128. package/lib/types/ram/index.d.mts +6 -6
  129. package/lib/types/ram/types.d.cts +3 -3
  130. package/lib/types/ram/types.d.mts +3 -3
  131. package/lib/types/repository/Repository.d.cts +14 -14
  132. package/lib/types/repository/Repository.d.mts +14 -14
  133. package/lib/types/repository/constants.d.cts +1 -1
  134. package/lib/types/repository/constants.d.mts +1 -1
  135. package/lib/types/repository/index.d.cts +7 -7
  136. package/lib/types/repository/index.d.mts +7 -7
  137. package/lib/types/repository/types.d.cts +1 -1
  138. package/lib/types/repository/types.d.mts +1 -1
  139. package/lib/types/services/ModelService.d.cts +8 -8
  140. package/lib/types/services/ModelService.d.mts +8 -8
  141. package/lib/types/services/PersistenceService.d.cts +4 -4
  142. package/lib/types/services/PersistenceService.d.mts +4 -4
  143. package/lib/types/services/index.d.cts +3 -3
  144. package/lib/types/services/index.d.mts +3 -3
  145. package/lib/types/services/services.d.cts +5 -5
  146. package/lib/types/services/services.d.mts +5 -5
  147. package/lib/types/tasks/CleanUpTask.d.cts +5 -5
  148. package/lib/types/tasks/CleanUpTask.d.mts +5 -5
  149. package/lib/types/tasks/TaskContext.d.cts +7 -7
  150. package/lib/types/tasks/TaskContext.d.mts +7 -7
  151. package/lib/types/tasks/TaskEngine.d.cts +18 -18
  152. package/lib/types/tasks/TaskEngine.d.mts +18 -18
  153. package/lib/types/tasks/TaskErrors.d.cts +2 -2
  154. package/lib/types/tasks/TaskErrors.d.mts +2 -2
  155. package/lib/types/tasks/TaskEventBus.d.cts +7 -7
  156. package/lib/types/tasks/TaskEventBus.d.mts +7 -7
  157. package/lib/types/tasks/TaskEventService.d.cts +3 -3
  158. package/lib/types/tasks/TaskEventService.d.mts +3 -3
  159. package/lib/types/tasks/TaskHandler.d.cts +3 -3
  160. package/lib/types/tasks/TaskHandler.d.mts +3 -3
  161. package/lib/types/tasks/TaskHandlerRegistry.d.cts +1 -1
  162. package/lib/types/tasks/TaskHandlerRegistry.d.mts +1 -1
  163. package/lib/types/tasks/TaskService.d.cts +15 -15
  164. package/lib/types/tasks/TaskService.d.mts +15 -15
  165. package/lib/types/tasks/TaskStateChangeError.d.cts +2 -2
  166. package/lib/types/tasks/TaskStateChangeError.d.mts +2 -2
  167. package/lib/types/tasks/TaskTracker.d.cts +8 -8
  168. package/lib/types/tasks/TaskTracker.d.mts +8 -8
  169. package/lib/types/tasks/builder.d.cts +4 -4
  170. package/lib/types/tasks/builder.d.mts +4 -4
  171. package/lib/types/tasks/constants.d.cts +1 -1
  172. package/lib/types/tasks/constants.d.mts +1 -1
  173. package/lib/types/tasks/index.d.cts +17 -17
  174. package/lib/types/tasks/index.d.mts +17 -17
  175. package/lib/types/tasks/logging.d.cts +1 -1
  176. package/lib/types/tasks/logging.d.mts +1 -1
  177. package/lib/types/tasks/models/TaskBackoffModel.d.cts +1 -1
  178. package/lib/types/tasks/models/TaskBackoffModel.d.mts +1 -1
  179. package/lib/types/tasks/models/TaskEventModel.d.cts +1 -1
  180. package/lib/types/tasks/models/TaskEventModel.d.mts +1 -1
  181. package/lib/types/tasks/models/TaskModel.d.cts +6 -6
  182. package/lib/types/tasks/models/TaskModel.d.mts +6 -6
  183. package/lib/types/tasks/models/TaskStepResultModel.d.cts +2 -2
  184. package/lib/types/tasks/models/TaskStepResultModel.d.mts +2 -2
  185. package/lib/types/tasks/models/index.d.cts +8 -8
  186. package/lib/types/tasks/models/index.d.mts +8 -8
  187. package/lib/types/tasks/types.d.cts +10 -10
  188. package/lib/types/tasks/types.d.mts +10 -10
  189. package/lib/types/tasks/utils.d.cts +2 -2
  190. package/lib/types/tasks/utils.d.mts +2 -2
  191. package/lib/types/utils/ContextualLoggedClass.d.cts +4 -4
  192. package/lib/types/utils/ContextualLoggedClass.d.mts +4 -4
  193. package/lib/types/utils/decorators.d.cts +1 -1
  194. package/lib/types/utils/decorators.d.mts +1 -1
  195. package/lib/types/utils/index.d.cts +6 -6
  196. package/lib/types/utils/index.d.mts +6 -6
  197. package/lib/types/workers/TaskEngine.d.cts +6 -6
  198. package/lib/types/workers/TaskEngine.d.mts +6 -6
  199. package/lib/types/workers/WorkThreadEnvironment.d.cts +1 -1
  200. package/lib/types/workers/WorkThreadEnvironment.d.mts +1 -1
  201. package/lib/types/workers/index.d.cts +4 -4
  202. package/lib/types/workers/index.d.mts +4 -4
  203. package/lib/types/workers/messages.d.cts +1 -1
  204. package/lib/types/workers/messages.d.mts +1 -1
  205. package/lib/types/workers/types.d.cts +3 -3
  206. package/lib/types/workers/types.d.mts +3 -3
  207. package/package.json +1 -1
  208. package/lib/types/auth/constants.d.ts +0 -5
  209. package/lib/types/auth/decorators.d.ts +0 -5
  210. package/lib/types/auth/index.d.ts +0 -2
  211. package/lib/types/fs/FilesystemAdapter.d.ts +0 -70
  212. package/lib/types/fs/FsDispatch.d.ts +0 -7
  213. package/lib/types/fs/helpers.d.ts +0 -17
  214. package/lib/types/fs/index.d.ts +0 -4
  215. package/lib/types/fs/indexStore.d.ts +0 -28
  216. package/lib/types/fs/locks/FilesystemLock.d.ts +0 -13
  217. package/lib/types/fs/locks/FilesystemMultiLock.d.ts +0 -8
  218. package/lib/types/fs/types.d.ts +0 -40
  219. package/lib/types/identity/decorators.d.ts +0 -72
  220. package/lib/types/identity/index.d.ts +0 -6
  221. package/lib/types/index.d.ts +0 -34
  222. package/lib/types/interfaces/ContextuallyLogged.d.ts +0 -8
  223. package/lib/types/interfaces/ErrorParser.d.ts +0 -16
  224. package/lib/types/interfaces/Executor.d.ts +0 -16
  225. package/lib/types/interfaces/Observable.d.ts +0 -33
  226. package/lib/types/interfaces/Observer.d.ts +0 -15
  227. package/lib/types/interfaces/Paginatable.d.ts +0 -20
  228. package/lib/types/interfaces/Queriable.d.ts +0 -47
  229. package/lib/types/interfaces/RawExecutor.d.ts +0 -28
  230. package/lib/types/interfaces/SequenceOptions.d.ts +0 -79
  231. package/lib/types/interfaces/index.d.ts +0 -12
  232. package/lib/types/migrations/Migration.d.ts +0 -19
  233. package/lib/types/migrations/MigrationService.d.ts +0 -63
  234. package/lib/types/migrations/MigrationTaskBuilder.d.ts +0 -10
  235. package/lib/types/migrations/MigrationTasks.d.ts +0 -9
  236. package/lib/types/migrations/MigrationVersioning.d.ts +0 -7
  237. package/lib/types/migrations/SemverMigrationVersioning.d.ts +0 -10
  238. package/lib/types/migrations/StandardMigrationVersioning.d.ts +0 -12
  239. package/lib/types/migrations/constants.d.ts +0 -2
  240. package/lib/types/migrations/decorators.d.ts +0 -12
  241. package/lib/types/migrations/index.d.ts +0 -15
  242. package/lib/types/migrations/types.d.ts +0 -46
  243. package/lib/types/model/BaseModel.d.ts +0 -37
  244. package/lib/types/model/SequenceModel.d.ts +0 -32
  245. package/lib/types/model/construction.d.ts +0 -455
  246. package/lib/types/model/decorators.d.ts +0 -237
  247. package/lib/types/model/index.d.ts +0 -11
  248. package/lib/types/model/indexing.d.ts +0 -20
  249. package/lib/types/model/types.d.ts +0 -60
  250. package/lib/types/overrides/Metadata.d.ts +0 -22
  251. package/lib/types/overrides/Model.d.ts +0 -94
  252. package/lib/types/overrides/ModelBuilder.d.ts +0 -31
  253. package/lib/types/overrides/index.d.ts +0 -11
  254. package/lib/types/overrides/injectables.d.ts +0 -10
  255. package/lib/types/overrides/overrides.d.ts +0 -1
  256. package/lib/types/persistence/Adapter.d.ts +0 -469
  257. package/lib/types/persistence/Context.d.ts +0 -16
  258. package/lib/types/persistence/ContextLock.d.ts +0 -18
  259. package/lib/types/persistence/Dispatch.d.ts +0 -128
  260. package/lib/types/persistence/ObserverHandler.d.ts +0 -111
  261. package/lib/types/persistence/Sequence.d.ts +0 -126
  262. package/lib/types/persistence/constants.d.ts +0 -74
  263. package/lib/types/persistence/decorators.d.ts +0 -28
  264. package/lib/types/persistence/errors.d.ts +0 -33
  265. package/lib/types/persistence/event-filters.d.ts +0 -20
  266. package/lib/types/persistence/generators.d.ts +0 -14
  267. package/lib/types/persistence/index.d.ts +0 -18
  268. package/lib/types/persistence/transactions.d.ts +0 -4
  269. package/lib/types/persistence/types.d.ts +0 -86
  270. package/lib/types/query/Condition.d.ts +0 -131
  271. package/lib/types/query/MethodQueryBuilder.d.ts +0 -185
  272. package/lib/types/query/Paginator.d.ts +0 -105
  273. package/lib/types/query/Statement.d.ts +0 -136
  274. package/lib/types/query/constants.d.ts +0 -69
  275. package/lib/types/query/decorators.d.ts +0 -8
  276. package/lib/types/query/errors.d.ts +0 -21
  277. package/lib/types/query/index.d.ts +0 -16
  278. package/lib/types/query/options.d.ts +0 -393
  279. package/lib/types/query/selectors.d.ts +0 -39
  280. package/lib/types/query/types.d.ts +0 -158
  281. package/lib/types/query/utils.d.ts +0 -40
  282. package/lib/types/ram/RamAdapter.d.ts +0 -341
  283. package/lib/types/ram/RamPaginator.d.ts +0 -54
  284. package/lib/types/ram/RamStatement.d.ts +0 -92
  285. package/lib/types/ram/constants.d.ts +0 -8
  286. package/lib/types/ram/handlers.d.ts +0 -24
  287. package/lib/types/ram/index.d.ts +0 -12
  288. package/lib/types/ram/types.d.ts +0 -50
  289. package/lib/types/repository/Repository.d.ts +0 -501
  290. package/lib/types/repository/constants.d.ts +0 -36
  291. package/lib/types/repository/decorators.d.ts +0 -30
  292. package/lib/types/repository/errors.d.ts +0 -19
  293. package/lib/types/repository/index.d.ts +0 -12
  294. package/lib/types/repository/injectables.d.ts +0 -95
  295. package/lib/types/repository/types.d.ts +0 -28
  296. package/lib/types/repository/utils.d.ts +0 -36
  297. package/lib/types/services/ModelService.d.ts +0 -45
  298. package/lib/types/services/PersistenceService.d.ts +0 -17
  299. package/lib/types/services/index.d.ts +0 -8
  300. package/lib/types/services/services.d.ts +0 -96
  301. package/lib/types/tasks/CleanUpTask.d.ts +0 -15
  302. package/lib/types/tasks/TaskContext.d.ts +0 -30
  303. package/lib/types/tasks/TaskEngine.d.ts +0 -97
  304. package/lib/types/tasks/TaskErrors.d.ts +0 -65
  305. package/lib/types/tasks/TaskEventBus.d.ts +0 -17
  306. package/lib/types/tasks/TaskEventService.d.ts +0 -7
  307. package/lib/types/tasks/TaskHandler.d.ts +0 -12
  308. package/lib/types/tasks/TaskHandlerRegistry.d.ts +0 -8
  309. package/lib/types/tasks/TaskService.d.ts +0 -65
  310. package/lib/types/tasks/TaskStateChangeError.d.ts +0 -11
  311. package/lib/types/tasks/TaskTracker.d.ts +0 -47
  312. package/lib/types/tasks/builder.d.ts +0 -72
  313. package/lib/types/tasks/constants.d.ts +0 -31
  314. package/lib/types/tasks/decorators.d.ts +0 -4
  315. package/lib/types/tasks/index.d.ts +0 -23
  316. package/lib/types/tasks/logging.d.ts +0 -31
  317. package/lib/types/tasks/models/TaskBackoffModel.d.ts +0 -9
  318. package/lib/types/tasks/models/TaskErrorModel.d.ts +0 -8
  319. package/lib/types/tasks/models/TaskEventModel.d.ts +0 -11
  320. package/lib/types/tasks/models/TaskIOSerializer.d.ts +0 -33
  321. package/lib/types/tasks/models/TaskLogEntryModel.d.ts +0 -10
  322. package/lib/types/tasks/models/TaskModel.d.ts +0 -43
  323. package/lib/types/tasks/models/TaskStepResultModel.d.ts +0 -9
  324. package/lib/types/tasks/models/TaskStepSpecModel.d.ts +0 -9
  325. package/lib/types/tasks/models/index.d.ts +0 -8
  326. package/lib/types/tasks/types.d.ts +0 -71
  327. package/lib/types/tasks/utils.d.ts +0 -5
  328. package/lib/types/utils/ContextualLoggedClass.d.ts +0 -37
  329. package/lib/types/utils/decorators.d.ts +0 -27
  330. package/lib/types/utils/errors.d.ts +0 -56
  331. package/lib/types/utils/index.d.ts +0 -11
  332. package/lib/types/utils/throttling.d.ts +0 -9
  333. package/lib/types/utils/types.d.ts +0 -23
  334. package/lib/types/utils/utils.d.ts +0 -22
  335. package/lib/types/workers/TaskEngine.d.ts +0 -40
  336. package/lib/types/workers/WorkThreadEnvironment.d.ts +0 -35
  337. package/lib/types/workers/index.d.ts +0 -5
  338. package/lib/types/workers/messages.d.ts +0 -69
  339. package/lib/types/workers/types.d.ts +0 -41
  340. package/lib/types/workers/workerThread.d.ts +0 -1
@@ -4,9 +4,9 @@
4
4
  * @module core/ram
5
5
  */
6
6
  import "../overrides";
7
- export * from "./constants.js";
8
- export * from "./handlers.js";
9
- export * from "./RamPaginator.js";
10
- export * from "./RamStatement.js";
11
- export * from "./types.js";
12
- export * from "./RamAdapter.js";
7
+ export * from "./constants.d.mts";
8
+ export * from "./handlers.d.mts";
9
+ export * from "./RamPaginator.d.mts";
10
+ export * from "./RamStatement.d.mts";
11
+ export * from "./types.d.mts";
12
+ export * from "./RamAdapter.d.mts";
@@ -1,8 +1,8 @@
1
1
  import { Model } from "@decaf-ts/decorator-validation";
2
- import { Repository } from "../repository/index.cjs";
2
+ import { Repository } from "../repository/index.d.cts";
3
3
  import { Constructor } from "@decaf-ts/decoration";
4
- import { Adapter, AdapterFlags } from "../persistence/index.cjs";
5
- import { Context } from "../persistence/Context.cjs";
4
+ import { Adapter, AdapterFlags } from "../persistence/index.d.cts";
5
+ import { Context } from "../persistence/Context.d.cts";
6
6
  import { MultiLock } from "@decaf-ts/transactional-decorators";
7
7
  import { PrimaryKeyType } from "@decaf-ts/db-decorators";
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  import { Model } from "@decaf-ts/decorator-validation";
2
- import { Repository } from "../repository/index.js";
2
+ import { Repository } from "../repository/index.d.mts";
3
3
  import { Constructor } from "@decaf-ts/decoration";
4
- import { Adapter, AdapterFlags } from "../persistence/index.js";
5
- import { Context } from "../persistence/Context.js";
4
+ import { Adapter, AdapterFlags } from "../persistence/index.d.mts";
5
+ import { Context } from "../persistence/Context.d.mts";
6
6
  import { MultiLock } from "@decaf-ts/transactional-decorators";
7
7
  import { PrimaryKeyType } from "@decaf-ts/db-decorators";
8
8
  /**
@@ -1,20 +1,20 @@
1
1
  import { IRepository, Repository as Rep, PrimaryKeyType } from "@decaf-ts/db-decorators";
2
2
  import { Logger } from "@decaf-ts/logging";
3
- import { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.cjs";
4
- import { Adapter } from "../persistence/Adapter.cjs";
5
- import { ObserverHandler } from "../persistence/ObserverHandler.cjs";
6
- import type { DirectionLimitOffset, QueryOptions } from "../query/types.cjs";
7
- import { SelectSelector } from "../query/selectors.cjs";
8
- import { CountWhereOption, WhereOption } from "../query/options.cjs";
9
- import { Condition } from "../query/Condition.cjs";
10
- import { Queriable } from "../interfaces/Queriable.cjs";
11
- import { SequenceOptions } from "../interfaces/SequenceOptions.cjs";
12
- import { OrderDirection } from "./constants.cjs";
13
- import type { AllOperationKeys, ContextOf, EventIds, FlagsOf, InferredAdapterConfig, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.cjs";
14
- import type { Observer } from "../interfaces/Observer.cjs";
3
+ import { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.d.cts";
4
+ import { Adapter } from "../persistence/Adapter.d.cts";
5
+ import { ObserverHandler } from "../persistence/ObserverHandler.d.cts";
6
+ import type { DirectionLimitOffset, QueryOptions } from "../query/types.d.cts";
7
+ import { SelectSelector } from "../query/selectors.d.cts";
8
+ import { CountWhereOption, WhereOption } from "../query/options.d.cts";
9
+ import { Condition } from "../query/Condition.d.cts";
10
+ import { Queriable } from "../interfaces/Queriable.d.cts";
11
+ import { SequenceOptions } from "../interfaces/SequenceOptions.d.cts";
12
+ import { OrderDirection } from "./constants.d.cts";
13
+ import type { AllOperationKeys, ContextOf, EventIds, FlagsOf, InferredAdapterConfig, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.d.cts";
14
+ import type { Observer } from "../interfaces/Observer.d.cts";
15
15
  import { Constructor } from "@decaf-ts/decoration";
16
16
  import { Model } from "@decaf-ts/decorator-validation";
17
- import { SerializedPage } from "../query/Paginator.cjs";
17
+ import { SerializedPage } from "../query/Paginator.d.cts";
18
18
  /**
19
19
  * @description Type alias for Repository class with simplified generic parameters.
20
20
  * @summary Provides a more concise way to reference the Repository class with its generic parameters.
@@ -475,7 +475,7 @@ export declare class Repository<M extends Model<boolean>, A extends Adapter<any,
475
475
  * @return {R} A repository instance for the model.
476
476
  * @throws {InternalError} If no adapter is registered for the flavour.
477
477
  */
478
- static forModel<M extends Model, R extends Repo<M>>(model: Constructor<M>, alias?: string, ...args: any[]): R;
478
+ static forModel<M extends Model<boolean>, R extends Repo<M>>(model: Constructor<M>, alias?: string, ...args: any[]): R;
479
479
  /**
480
480
  * @description Retrieves a repository for a model from the cache.
481
481
  * @summary Gets a repository constructor or instance for the specified model from the internal cache.
@@ -1,20 +1,20 @@
1
1
  import { IRepository, Repository as Rep, PrimaryKeyType } from "@decaf-ts/db-decorators";
2
2
  import { Logger } from "@decaf-ts/logging";
3
- import { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.js";
4
- import { Adapter } from "../persistence/Adapter.js";
5
- import { ObserverHandler } from "../persistence/ObserverHandler.js";
6
- import type { DirectionLimitOffset, QueryOptions } from "../query/types.js";
7
- import { SelectSelector } from "../query/selectors.js";
8
- import { CountWhereOption, WhereOption } from "../query/options.js";
9
- import { Condition } from "../query/Condition.js";
10
- import { Queriable } from "../interfaces/Queriable.js";
11
- import { SequenceOptions } from "../interfaces/SequenceOptions.js";
12
- import { OrderDirection } from "./constants.js";
13
- import type { AllOperationKeys, ContextOf, EventIds, FlagsOf, InferredAdapterConfig, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.js";
14
- import type { Observer } from "../interfaces/Observer.js";
3
+ import { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.d.mts";
4
+ import { Adapter } from "../persistence/Adapter.d.mts";
5
+ import { ObserverHandler } from "../persistence/ObserverHandler.d.mts";
6
+ import type { DirectionLimitOffset, QueryOptions } from "../query/types.d.mts";
7
+ import { SelectSelector } from "../query/selectors.d.mts";
8
+ import { CountWhereOption, WhereOption } from "../query/options.d.mts";
9
+ import { Condition } from "../query/Condition.d.mts";
10
+ import { Queriable } from "../interfaces/Queriable.d.mts";
11
+ import { SequenceOptions } from "../interfaces/SequenceOptions.d.mts";
12
+ import { OrderDirection } from "./constants.d.mts";
13
+ import type { AllOperationKeys, ContextOf, EventIds, FlagsOf, InferredAdapterConfig, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.d.mts";
14
+ import type { Observer } from "../interfaces/Observer.d.mts";
15
15
  import { Constructor } from "@decaf-ts/decoration";
16
16
  import { Model } from "@decaf-ts/decorator-validation";
17
- import { SerializedPage } from "../query/Paginator.js";
17
+ import { SerializedPage } from "../query/Paginator.d.mts";
18
18
  /**
19
19
  * @description Type alias for Repository class with simplified generic parameters.
20
20
  * @summary Provides a more concise way to reference the Repository class with its generic parameters.
@@ -475,7 +475,7 @@ export declare class Repository<M extends Model<boolean>, A extends Adapter<any,
475
475
  * @return {R} A repository instance for the model.
476
476
  * @throws {InternalError} If no adapter is registered for the flavour.
477
477
  */
478
- static forModel<M extends Model, R extends Repo<M>>(model: Constructor<M>, alias?: string, ...args: any[]): R;
478
+ static forModel<M extends Model<boolean>, R extends Repo<M>>(model: Constructor<M>, alias?: string, ...args: any[]): R;
479
479
  /**
480
480
  * @description Retrieves a repository for a model from the cache.
481
481
  * @summary Gets a repository constructor or instance for the specified model from the internal cache.
@@ -1,4 +1,4 @@
1
- import { CascadeMetadata } from "./types.cjs";
1
+ import { CascadeMetadata } from "./types.d.cts";
2
2
  /**
3
3
  * @description Enumeration of possible sort directions.
4
4
  * @summary Defines the available sort directions for ordering query results.
@@ -1,4 +1,4 @@
1
- import { CascadeMetadata } from "./types.js";
1
+ import { CascadeMetadata } from "./types.d.mts";
2
2
  /**
3
3
  * @description Enumeration of possible sort directions.
4
4
  * @summary Defines the available sort directions for ordering query results.
@@ -3,10 +3,10 @@
3
3
  * @summary This file exports all the necessary components for the repository functionality, including constants, decorators, and more.
4
4
  * @module core/repository
5
5
  */
6
- export * from "./constants.cjs";
7
- export * from "./decorators.cjs";
8
- export * from "./errors.cjs";
9
- export * from "./injectables.cjs";
10
- export * from "./Repository.cjs";
11
- export * from "./types.cjs";
12
- export * from "./utils.cjs";
6
+ export * from "./constants.d.cts";
7
+ export * from "./decorators.d.cts";
8
+ export * from "./errors.d.cts";
9
+ export * from "./injectables.d.cts";
10
+ export * from "./Repository.d.cts";
11
+ export * from "./types.d.cts";
12
+ export * from "./utils.d.cts";
@@ -3,10 +3,10 @@
3
3
  * @summary This file exports all the necessary components for the repository functionality, including constants, decorators, and more.
4
4
  * @module core/repository
5
5
  */
6
- export * from "./constants.js";
7
- export * from "./decorators.js";
8
- export * from "./errors.js";
9
- export * from "./injectables.js";
10
- export * from "./Repository.js";
11
- export * from "./types.js";
12
- export * from "./utils.js";
6
+ export * from "./constants.d.mts";
7
+ export * from "./decorators.d.mts";
8
+ export * from "./errors.d.mts";
9
+ export * from "./injectables.d.mts";
10
+ export * from "./Repository.d.mts";
11
+ export * from "./types.d.mts";
12
+ export * from "./utils.d.mts";
@@ -1,4 +1,4 @@
1
- import { Cascade, OrderDirection } from "./constants.cjs";
1
+ import { Cascade, OrderDirection } from "./constants.d.cts";
2
2
  /**
3
3
  * @description Metadata for cascade operations on related entities.
4
4
  * @summary Defines how update and delete operations should cascade to related entities.
@@ -1,4 +1,4 @@
1
- import { Cascade, OrderDirection } from "./constants.js";
1
+ import { Cascade, OrderDirection } from "./constants.d.mts";
2
2
  /**
3
3
  * @description Metadata for cascade operations on related entities.
4
4
  * @summary Defines how update and delete operations should cascade to related entities.
@@ -1,14 +1,14 @@
1
1
  import { type Constructor } from "@decaf-ts/decoration";
2
2
  import { Model, type ModelConstructor } from "@decaf-ts/decorator-validation";
3
- import { type Repo } from "../repository/Repository.cjs";
4
- import { Service } from "./services.cjs";
5
- import type { AllOperationKeys, ContextOf, EventIds, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.cjs";
3
+ import { type Repo } from "../repository/Repository.d.cts";
4
+ import { Service } from "./services.d.cts";
5
+ import type { AllOperationKeys, ContextOf, EventIds, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.d.cts";
6
6
  import { type IRepository, type PrimaryKeyType } from "@decaf-ts/db-decorators";
7
- import type { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.cjs";
8
- import { OrderDirection } from "../repository/constants.cjs";
9
- import { type DirectionLimitOffset } from "../query/types.cjs";
10
- import { type Observer } from "../interfaces/index.cjs";
11
- import { SelectSelector, WhereOption } from "../query/index.cjs";
7
+ import type { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.d.cts";
8
+ import { OrderDirection } from "../repository/constants.d.cts";
9
+ import { type DirectionLimitOffset } from "../query/types.d.cts";
10
+ import { type Observer } from "../interfaces/index.d.cts";
11
+ import { SelectSelector, WhereOption } from "../query/index.d.cts";
12
12
  export type ArrayMode = "one" | "many";
13
13
  export declare class ModelService<M extends Model<boolean>, R extends Repo<M> = Repo<M>> extends Service implements IRepository<M, ContextOf<R>>, PersistenceObservable<ContextOf<R>>, PersistenceObserver<ContextOf<R>> {
14
14
  private readonly clazz;
@@ -1,14 +1,14 @@
1
1
  import { type Constructor } from "@decaf-ts/decoration";
2
2
  import { Model, type ModelConstructor } from "@decaf-ts/decorator-validation";
3
- import { type Repo } from "../repository/Repository.js";
4
- import { Service } from "./services.js";
5
- import type { AllOperationKeys, ContextOf, EventIds, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.js";
3
+ import { type Repo } from "../repository/Repository.d.mts";
4
+ import { Service } from "./services.d.mts";
5
+ import type { AllOperationKeys, ContextOf, EventIds, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.d.mts";
6
6
  import { type IRepository, type PrimaryKeyType } from "@decaf-ts/db-decorators";
7
- import type { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.js";
8
- import { OrderDirection } from "../repository/constants.js";
9
- import { type DirectionLimitOffset } from "../query/types.js";
10
- import { type Observer } from "../interfaces/index.js";
11
- import { SelectSelector, WhereOption } from "../query/index.js";
7
+ import type { ContextualArgs, ContextualizedArgs, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.d.mts";
8
+ import { OrderDirection } from "../repository/constants.d.mts";
9
+ import { type DirectionLimitOffset } from "../query/types.d.mts";
10
+ import { type Observer } from "../interfaces/index.d.mts";
11
+ import { SelectSelector, WhereOption } from "../query/index.d.mts";
12
12
  export type ArrayMode = "one" | "many";
13
13
  export declare class ModelService<M extends Model<boolean>, R extends Repo<M> = Repo<M>> extends Service implements IRepository<M, ContextOf<R>>, PersistenceObservable<ContextOf<R>>, PersistenceObserver<ContextOf<R>> {
14
14
  private readonly clazz;
@@ -1,7 +1,7 @@
1
- import { ClientBasedService } from "./services.cjs";
2
- import { Adapter } from "../persistence/Adapter.cjs";
3
- import { ConfigOf, ContextOf } from "../persistence/types.cjs";
4
- import { MaybeContextualArg } from "../utils/ContextualLoggedClass.cjs";
1
+ import { ClientBasedService } from "./services.d.cts";
2
+ import { Adapter } from "../persistence/Adapter.d.cts";
3
+ import { ConfigOf, ContextOf } from "../persistence/types.d.cts";
4
+ import { MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
5
5
  import { Constructor } from "@decaf-ts/decoration";
6
6
  export declare class PersistenceService<A extends Adapter<any, any, any, any>> extends ClientBasedService<A[], [
7
7
  Constructor<A>,
@@ -1,7 +1,7 @@
1
- import { ClientBasedService } from "./services.js";
2
- import { Adapter } from "../persistence/Adapter.js";
3
- import { ConfigOf, ContextOf } from "../persistence/types.js";
4
- import { MaybeContextualArg } from "../utils/ContextualLoggedClass.js";
1
+ import { ClientBasedService } from "./services.d.mts";
2
+ import { Adapter } from "../persistence/Adapter.d.mts";
3
+ import { ConfigOf, ContextOf } from "../persistence/types.d.mts";
4
+ import { MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
5
5
  import { Constructor } from "@decaf-ts/decoration";
6
6
  export declare class PersistenceService<A extends Adapter<any, any, any, any>> extends ClientBasedService<A[], [
7
7
  Constructor<A>,
@@ -3,6 +3,6 @@
3
3
  * @summary This file exports all the necessary components for the services functionality, including ModelService, PersistenceService, and services.
4
4
  * @module core/services
5
5
  */
6
- export * from "./ModelService.cjs";
7
- export * from "./PersistenceService.cjs";
8
- export * from "./services.cjs";
6
+ export * from "./ModelService.d.cts";
7
+ export * from "./PersistenceService.d.cts";
8
+ export * from "./services.d.cts";
@@ -3,6 +3,6 @@
3
3
  * @summary This file exports all the necessary components for the services functionality, including ModelService, PersistenceService, and services.
4
4
  * @module core/services
5
5
  */
6
- export * from "./ModelService.js";
7
- export * from "./PersistenceService.js";
8
- export * from "./services.js";
6
+ export * from "./ModelService.d.mts";
7
+ export * from "./PersistenceService.d.mts";
8
+ export * from "./services.d.mts";
@@ -1,9 +1,9 @@
1
- import type { AllOperationKeys, ContextFlags, EventIds, FlagsOf, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.cjs";
2
- import { Context } from "../persistence/Context.cjs";
3
- import { ContextualArgs, ContextualizedArgs, ContextualLoggedClass, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.cjs";
1
+ import type { AllOperationKeys, ContextFlags, EventIds, FlagsOf, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.d.cts";
2
+ import { Context } from "../persistence/Context.d.cts";
3
+ import { ContextualArgs, ContextualizedArgs, ContextualLoggedClass, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.d.cts";
4
4
  import { Constructor } from "@decaf-ts/decoration";
5
- import type { Observer } from "../interfaces/Observer.cjs";
6
- import { ObserverHandler } from "../persistence/ObserverHandler.cjs";
5
+ import type { Observer } from "../interfaces/Observer.d.cts";
6
+ import { ObserverHandler } from "../persistence/ObserverHandler.d.cts";
7
7
  export declare abstract class Service<C extends Context<ContextFlags<any>> = Context<ContextFlags<any>>> extends ContextualLoggedClass<C> implements PersistenceObservable<C>, PersistenceObserver<C> {
8
8
  readonly name?: string | undefined;
9
9
  protected observers: Observer[];
@@ -1,9 +1,9 @@
1
- import type { AllOperationKeys, ContextFlags, EventIds, FlagsOf, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.js";
2
- import { Context } from "../persistence/Context.js";
3
- import { ContextualArgs, ContextualizedArgs, ContextualLoggedClass, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.js";
1
+ import type { AllOperationKeys, ContextFlags, EventIds, FlagsOf, ObserverFilter, PersistenceObservable, PersistenceObserver } from "../persistence/types.d.mts";
2
+ import { Context } from "../persistence/Context.d.mts";
3
+ import { ContextualArgs, ContextualizedArgs, ContextualLoggedClass, MaybeContextualArg, MethodOrOperation } from "../utils/ContextualLoggedClass.d.mts";
4
4
  import { Constructor } from "@decaf-ts/decoration";
5
- import type { Observer } from "../interfaces/Observer.js";
6
- import { ObserverHandler } from "../persistence/ObserverHandler.js";
5
+ import type { Observer } from "../interfaces/Observer.d.mts";
6
+ import { ObserverHandler } from "../persistence/ObserverHandler.d.mts";
7
7
  export declare abstract class Service<C extends Context<ContextFlags<any>> = Context<ContextFlags<any>>> extends ContextualLoggedClass<C> implements PersistenceObservable<C>, PersistenceObserver<C> {
8
8
  readonly name?: string | undefined;
9
9
  protected observers: Observer[];
@@ -1,8 +1,8 @@
1
- import { TaskHandler } from "./TaskHandler.cjs";
2
- import { TaskContext } from "./TaskContext.cjs";
3
- import { type Repo } from "../repository/Repository.cjs";
4
- import { TaskModel } from "./models/TaskModel.cjs";
5
- import { Condition } from "../query/Condition.cjs";
1
+ import { TaskHandler } from "./TaskHandler.d.cts";
2
+ import { TaskContext } from "./TaskContext.d.cts";
3
+ import { type Repo } from "../repository/Repository.d.cts";
4
+ import { TaskModel } from "./models/TaskModel.d.cts";
5
+ import { Condition } from "../query/Condition.d.cts";
6
6
  export type CleanUpTaskInput = {
7
7
  successfulExpiry: Date;
8
8
  failedExpiry: Date;
@@ -1,8 +1,8 @@
1
- import { TaskHandler } from "./TaskHandler.js";
2
- import { TaskContext } from "./TaskContext.js";
3
- import { type Repo } from "../repository/Repository.js";
4
- import { TaskModel } from "./models/TaskModel.js";
5
- import { Condition } from "../query/Condition.js";
1
+ import { TaskHandler } from "./TaskHandler.d.mts";
2
+ import { TaskContext } from "./TaskContext.d.mts";
3
+ import { type Repo } from "../repository/Repository.d.mts";
4
+ import { TaskModel } from "./models/TaskModel.d.mts";
5
+ import { Condition } from "../query/Condition.d.mts";
6
6
  export type CleanUpTaskInput = {
7
7
  successfulExpiry: Date;
8
8
  failedExpiry: Date;
@@ -1,11 +1,11 @@
1
- import { Context } from "../persistence/Context.cjs";
2
- import { TaskFlags } from "./types.cjs";
3
- import { TaskLogger } from "./logging.cjs";
1
+ import { Context } from "../persistence/Context.d.cts";
2
+ import { TaskFlags } from "./types.d.cts";
3
+ import { TaskLogger } from "./logging.d.cts";
4
4
  import { DateTarget } from "@decaf-ts/decorator-validation";
5
- import { TaskErrorModel } from "./models/TaskErrorModel.cjs";
6
- import { TaskStatus } from "./constants.cjs";
7
- import { TaskStateChangeRequest } from "./TaskStateChangeError.cjs";
8
- import { TaskStepSpecModel } from "./models/TaskStepSpecModel.cjs";
5
+ import { TaskErrorModel } from "./models/TaskErrorModel.d.cts";
6
+ import { TaskStatus } from "./constants.d.cts";
7
+ import { TaskStateChangeRequest } from "./TaskStateChangeError.d.cts";
8
+ import { TaskStepSpecModel } from "./models/TaskStepSpecModel.d.cts";
9
9
  export declare class TaskContext extends Context<TaskFlags> {
10
10
  get taskId(): string;
11
11
  get logger(): TaskLogger<any>;
@@ -1,11 +1,11 @@
1
- import { Context } from "../persistence/Context.js";
2
- import { TaskFlags } from "./types.js";
3
- import { TaskLogger } from "./logging.js";
1
+ import { Context } from "../persistence/Context.d.mts";
2
+ import { TaskFlags } from "./types.d.mts";
3
+ import { TaskLogger } from "./logging.d.mts";
4
4
  import { DateTarget } from "@decaf-ts/decorator-validation";
5
- import { TaskErrorModel } from "./models/TaskErrorModel.js";
6
- import { TaskStatus } from "./constants.js";
7
- import { TaskStateChangeRequest } from "./TaskStateChangeError.js";
8
- import { TaskStepSpecModel } from "./models/TaskStepSpecModel.js";
5
+ import { TaskErrorModel } from "./models/TaskErrorModel.d.mts";
6
+ import { TaskStatus } from "./constants.d.mts";
7
+ import { TaskStateChangeRequest } from "./TaskStateChangeError.d.mts";
8
+ import { TaskStepSpecModel } from "./models/TaskStepSpecModel.d.mts";
9
9
  export declare class TaskContext extends Context<TaskFlags> {
10
10
  get taskId(): string;
11
11
  get logger(): TaskLogger<any>;
@@ -1,25 +1,25 @@
1
- import { TaskModel } from "./models/TaskModel.cjs";
2
- import { Repo } from "../repository/Repository.cjs";
3
- import { TaskEventModel } from "./models/TaskEventModel.cjs";
4
- import { TaskHandlerRegistry } from "./TaskHandlerRegistry.cjs";
5
- import { TaskEventBus } from "./TaskEventBus.cjs";
6
- import { TaskStepResultModel } from "./models/TaskStepResultModel.cjs";
7
- import { TaskLogEntryModel } from "./models/TaskLogEntryModel.cjs";
8
- import { TaskBackoffModel } from "./models/TaskBackoffModel.cjs";
9
- import { TaskStepSpecModel } from "./models/TaskStepSpecModel.cjs";
10
- import { TaskEventType, TaskStatus } from "./constants.cjs";
11
- import { Adapter } from "../persistence/Adapter.cjs";
12
- import { Context } from "../persistence/Context.cjs";
13
- import { ContextOf, FlagsOf } from "../persistence/types.cjs";
1
+ import { TaskModel } from "./models/TaskModel.d.cts";
2
+ import { Repo } from "../repository/Repository.d.cts";
3
+ import { TaskEventModel } from "./models/TaskEventModel.d.cts";
4
+ import { TaskHandlerRegistry } from "./TaskHandlerRegistry.d.cts";
5
+ import { TaskEventBus } from "./TaskEventBus.d.cts";
6
+ import { TaskStepResultModel } from "./models/TaskStepResultModel.d.cts";
7
+ import { TaskLogEntryModel } from "./models/TaskLogEntryModel.d.cts";
8
+ import { TaskBackoffModel } from "./models/TaskBackoffModel.d.cts";
9
+ import { TaskStepSpecModel } from "./models/TaskStepSpecModel.d.cts";
10
+ import { TaskEventType, TaskStatus } from "./constants.d.cts";
11
+ import { Adapter } from "../persistence/Adapter.d.cts";
12
+ import { Context } from "../persistence/Context.d.cts";
13
+ import { ContextOf, FlagsOf } from "../persistence/types.d.cts";
14
14
  import { LogLevel } from "@decaf-ts/logging";
15
- import { AbsContextual, ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.cjs";
15
+ import { AbsContextual, ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
16
16
  import { OperationKeys } from "@decaf-ts/db-decorators";
17
- import { TaskContext } from "./TaskContext.cjs";
18
- import { TaskStateChangeRequest } from "./TaskStateChangeError.cjs";
17
+ import { TaskContext } from "./TaskContext.d.cts";
18
+ import { TaskStateChangeRequest } from "./TaskStateChangeError.d.cts";
19
19
  import { DateTarget } from "@decaf-ts/decorator-validation";
20
20
  import { Constructor } from "@decaf-ts/decoration";
21
- import { TaskEngineConfig, TaskFlags } from "./types.cjs";
22
- import { TaskTracker } from "./TaskTracker.cjs";
21
+ import { TaskEngineConfig, TaskFlags } from "./types.d.cts";
22
+ import { TaskTracker } from "./TaskTracker.d.cts";
23
23
  import { Lock } from "@decaf-ts/transactional-decorators";
24
24
  type ParsedTaskDependency = {
25
25
  taskId: string;
@@ -1,25 +1,25 @@
1
- import { TaskModel } from "./models/TaskModel.js";
2
- import { Repo } from "../repository/Repository.js";
3
- import { TaskEventModel } from "./models/TaskEventModel.js";
4
- import { TaskHandlerRegistry } from "./TaskHandlerRegistry.js";
5
- import { TaskEventBus } from "./TaskEventBus.js";
6
- import { TaskStepResultModel } from "./models/TaskStepResultModel.js";
7
- import { TaskLogEntryModel } from "./models/TaskLogEntryModel.js";
8
- import { TaskBackoffModel } from "./models/TaskBackoffModel.js";
9
- import { TaskStepSpecModel } from "./models/TaskStepSpecModel.js";
10
- import { TaskEventType, TaskStatus } from "./constants.js";
11
- import { Adapter } from "../persistence/Adapter.js";
12
- import { Context } from "../persistence/Context.js";
13
- import { ContextOf, FlagsOf } from "../persistence/types.js";
1
+ import { TaskModel } from "./models/TaskModel.d.mts";
2
+ import { Repo } from "../repository/Repository.d.mts";
3
+ import { TaskEventModel } from "./models/TaskEventModel.d.mts";
4
+ import { TaskHandlerRegistry } from "./TaskHandlerRegistry.d.mts";
5
+ import { TaskEventBus } from "./TaskEventBus.d.mts";
6
+ import { TaskStepResultModel } from "./models/TaskStepResultModel.d.mts";
7
+ import { TaskLogEntryModel } from "./models/TaskLogEntryModel.d.mts";
8
+ import { TaskBackoffModel } from "./models/TaskBackoffModel.d.mts";
9
+ import { TaskStepSpecModel } from "./models/TaskStepSpecModel.d.mts";
10
+ import { TaskEventType, TaskStatus } from "./constants.d.mts";
11
+ import { Adapter } from "../persistence/Adapter.d.mts";
12
+ import { Context } from "../persistence/Context.d.mts";
13
+ import { ContextOf, FlagsOf } from "../persistence/types.d.mts";
14
14
  import { LogLevel } from "@decaf-ts/logging";
15
- import { AbsContextual, ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.js";
15
+ import { AbsContextual, ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
16
16
  import { OperationKeys } from "@decaf-ts/db-decorators";
17
- import { TaskContext } from "./TaskContext.js";
18
- import { TaskStateChangeRequest } from "./TaskStateChangeError.js";
17
+ import { TaskContext } from "./TaskContext.d.mts";
18
+ import { TaskStateChangeRequest } from "./TaskStateChangeError.d.mts";
19
19
  import { DateTarget } from "@decaf-ts/decorator-validation";
20
20
  import { Constructor } from "@decaf-ts/decoration";
21
- import { TaskEngineConfig, TaskFlags } from "./types.js";
22
- import { TaskTracker } from "./TaskTracker.js";
21
+ import { TaskEngineConfig, TaskFlags } from "./types.d.mts";
22
+ import { TaskTracker } from "./TaskTracker.d.mts";
23
23
  import { Lock } from "@decaf-ts/transactional-decorators";
24
24
  type ParsedTaskDependency = {
25
25
  taskId: string;
@@ -1,6 +1,6 @@
1
1
  import { BaseError } from "@decaf-ts/db-decorators";
2
- import { TaskErrorModel } from "./models/TaskErrorModel.cjs";
3
- import { TaskStatus } from "./constants.cjs";
2
+ import { TaskErrorModel } from "./models/TaskErrorModel.d.cts";
3
+ import { TaskStatus } from "./constants.d.cts";
4
4
  /**
5
5
  * Represents the next action to take after a task error.
6
6
  * Used to identify the appropriate response to task failures.
@@ -1,6 +1,6 @@
1
1
  import { BaseError } from "@decaf-ts/db-decorators";
2
- import { TaskErrorModel } from "./models/TaskErrorModel.js";
3
- import { TaskStatus } from "./constants.js";
2
+ import { TaskErrorModel } from "./models/TaskErrorModel.d.mts";
3
+ import { TaskStatus } from "./constants.d.mts";
4
4
  /**
5
5
  * Represents the next action to take after a task error.
6
6
  * Used to identify the appropriate response to task failures.
@@ -1,12 +1,12 @@
1
- import { TaskEventModel } from "./models/TaskEventModel.cjs";
2
- import { Context } from "../persistence/Context.cjs";
3
- import { ObserverHandler } from "../persistence/ObserverHandler.cjs";
4
- import { EventIds, ObserverFilter } from "../persistence/types.cjs";
5
- import { TaskContext } from "./TaskContext.cjs";
6
- import { Observer } from "../interfaces/Observer.cjs";
1
+ import { TaskEventModel } from "./models/TaskEventModel.d.cts";
2
+ import { Context } from "../persistence/Context.d.cts";
3
+ import { ObserverHandler } from "../persistence/ObserverHandler.d.cts";
4
+ import { EventIds, ObserverFilter } from "../persistence/types.d.cts";
5
+ import { TaskContext } from "./TaskContext.d.cts";
6
+ import { Observer } from "../interfaces/Observer.d.cts";
7
7
  import { Constructor } from "@decaf-ts/decoration";
8
8
  import { BulkCrudOperationKeys, OperationKeys } from "@decaf-ts/db-decorators";
9
- import { ContextualArgs } from "../utils/index.cjs";
9
+ import { ContextualArgs } from "../utils/index.d.cts";
10
10
  import { Model } from "@decaf-ts/decorator-validation";
11
11
  export declare class TaskEventBus extends ObserverHandler<TaskContext> {
12
12
  protected readonly listeners: Set<(evt: TaskEventModel) => void>;
@@ -1,12 +1,12 @@
1
- import { TaskEventModel } from "./models/TaskEventModel.js";
2
- import { Context } from "../persistence/Context.js";
3
- import { ObserverHandler } from "../persistence/ObserverHandler.js";
4
- import { EventIds, ObserverFilter } from "../persistence/types.js";
5
- import { TaskContext } from "./TaskContext.js";
6
- import { Observer } from "../interfaces/Observer.js";
1
+ import { TaskEventModel } from "./models/TaskEventModel.d.mts";
2
+ import { Context } from "../persistence/Context.d.mts";
3
+ import { ObserverHandler } from "../persistence/ObserverHandler.d.mts";
4
+ import { EventIds, ObserverFilter } from "../persistence/types.d.mts";
5
+ import { TaskContext } from "./TaskContext.d.mts";
6
+ import { Observer } from "../interfaces/Observer.d.mts";
7
7
  import { Constructor } from "@decaf-ts/decoration";
8
8
  import { BulkCrudOperationKeys, OperationKeys } from "@decaf-ts/db-decorators";
9
- import { ContextualArgs } from "../utils/index.js";
9
+ import { ContextualArgs } from "../utils/index.d.mts";
10
10
  import { Model } from "@decaf-ts/decorator-validation";
11
11
  export declare class TaskEventBus extends ObserverHandler<TaskContext> {
12
12
  protected readonly listeners: Set<(evt: TaskEventModel) => void>;
@@ -1,6 +1,6 @@
1
- import { type Repo } from "../repository/Repository.cjs";
2
- import { ModelService } from "../services/ModelService.cjs";
3
- import { TaskEventModel } from "./models/TaskEventModel.cjs";
1
+ import { type Repo } from "../repository/Repository.d.cts";
2
+ import { ModelService } from "../services/ModelService.d.cts";
3
+ import { TaskEventModel } from "./models/TaskEventModel.d.cts";
4
4
  export declare class TaskEventService extends ModelService<TaskEventModel> {
5
5
  constructor();
6
6
  get repo(): Repo<TaskEventModel>;
@@ -1,6 +1,6 @@
1
- import { type Repo } from "../repository/Repository.js";
2
- import { ModelService } from "../services/ModelService.js";
3
- import { TaskEventModel } from "./models/TaskEventModel.js";
1
+ import { type Repo } from "../repository/Repository.d.mts";
2
+ import { ModelService } from "../services/ModelService.d.mts";
3
+ import { TaskEventModel } from "./models/TaskEventModel.d.mts";
4
4
  export declare class TaskEventService extends ModelService<TaskEventModel> {
5
5
  constructor();
6
6
  get repo(): Repo<TaskEventModel>;
@@ -1,6 +1,6 @@
1
- import { ITaskHandler } from "./types.cjs";
2
- import { AbsContextual, ContextualArgs } from "../utils/ContextualLoggedClass.cjs";
3
- import { TaskContext } from "./TaskContext.cjs";
1
+ import { ITaskHandler } from "./types.d.cts";
2
+ import { AbsContextual, ContextualArgs } from "../utils/ContextualLoggedClass.d.cts";
3
+ import { TaskContext } from "./TaskContext.d.cts";
4
4
  export declare abstract class TaskHandler<I, O> extends AbsContextual<TaskContext> implements ITaskHandler<I, O> {
5
5
  private _type?;
6
6
  get type(): string;