@orchestr-sh/orchestr 1.7.4 → 1.9.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 (330) hide show
  1. package/README.md +666 -0
  2. package/dist/Cache/CacheManager.d.ts +109 -0
  3. package/dist/Cache/CacheManager.d.ts.map +1 -0
  4. package/dist/Cache/CacheManager.js +181 -0
  5. package/dist/Cache/CacheManager.js.map +1 -0
  6. package/dist/Cache/CacheServiceProvider.d.ts +19 -0
  7. package/dist/Cache/CacheServiceProvider.d.ts.map +1 -0
  8. package/dist/Cache/CacheServiceProvider.js +71 -0
  9. package/dist/Cache/CacheServiceProvider.js.map +1 -0
  10. package/dist/Cache/Contracts/Lock.d.ts +31 -0
  11. package/dist/Cache/Contracts/Lock.d.ts.map +1 -0
  12. package/dist/Cache/Contracts/Lock.js +3 -0
  13. package/dist/Cache/Contracts/Lock.js.map +1 -0
  14. package/dist/Cache/Contracts/Repository.d.ts +59 -0
  15. package/dist/Cache/Contracts/Repository.d.ts.map +1 -0
  16. package/dist/Cache/Contracts/Repository.js +9 -0
  17. package/dist/Cache/Contracts/Repository.js.map +1 -0
  18. package/dist/Cache/Contracts/Store.d.ts +51 -0
  19. package/dist/Cache/Contracts/Store.d.ts.map +1 -0
  20. package/dist/Cache/Contracts/Store.js +3 -0
  21. package/dist/Cache/Contracts/Store.js.map +1 -0
  22. package/dist/Cache/Events/CacheFlushed.d.ts +11 -0
  23. package/dist/Cache/Events/CacheFlushed.d.ts.map +1 -0
  24. package/dist/Cache/Events/CacheFlushed.js +18 -0
  25. package/dist/Cache/Events/CacheFlushed.js.map +1 -0
  26. package/dist/Cache/Events/CacheHit.d.ts +13 -0
  27. package/dist/Cache/Events/CacheHit.d.ts.map +1 -0
  28. package/dist/Cache/Events/CacheHit.js +22 -0
  29. package/dist/Cache/Events/CacheHit.js.map +1 -0
  30. package/dist/Cache/Events/CacheMissed.d.ts +12 -0
  31. package/dist/Cache/Events/CacheMissed.d.ts.map +1 -0
  32. package/dist/Cache/Events/CacheMissed.js +20 -0
  33. package/dist/Cache/Events/CacheMissed.js.map +1 -0
  34. package/dist/Cache/Events/KeyForgotten.d.ts +12 -0
  35. package/dist/Cache/Events/KeyForgotten.d.ts.map +1 -0
  36. package/dist/Cache/Events/KeyForgotten.js +20 -0
  37. package/dist/Cache/Events/KeyForgotten.js.map +1 -0
  38. package/dist/Cache/Events/KeyWritten.d.ts +14 -0
  39. package/dist/Cache/Events/KeyWritten.d.ts.map +1 -0
  40. package/dist/Cache/Events/KeyWritten.js +24 -0
  41. package/dist/Cache/Events/KeyWritten.js.map +1 -0
  42. package/dist/Cache/Events/index.d.ts +6 -0
  43. package/dist/Cache/Events/index.d.ts.map +1 -0
  44. package/dist/Cache/Events/index.js +14 -0
  45. package/dist/Cache/Events/index.js.map +1 -0
  46. package/dist/Cache/Locks/CacheLock.d.ts +19 -0
  47. package/dist/Cache/Locks/CacheLock.d.ts.map +1 -0
  48. package/dist/Cache/Locks/CacheLock.js +49 -0
  49. package/dist/Cache/Locks/CacheLock.js.map +1 -0
  50. package/dist/Cache/Locks/Lock.d.ts +51 -0
  51. package/dist/Cache/Locks/Lock.d.ts.map +1 -0
  52. package/dist/Cache/Locks/Lock.js +83 -0
  53. package/dist/Cache/Locks/Lock.js.map +1 -0
  54. package/dist/Cache/Locks/LockTimeoutException.d.ts +9 -0
  55. package/dist/Cache/Locks/LockTimeoutException.d.ts.map +1 -0
  56. package/dist/Cache/Locks/LockTimeoutException.js +16 -0
  57. package/dist/Cache/Locks/LockTimeoutException.js.map +1 -0
  58. package/dist/Cache/Locks/index.d.ts +4 -0
  59. package/dist/Cache/Locks/index.d.ts.map +1 -0
  60. package/dist/Cache/Locks/index.js +10 -0
  61. package/dist/Cache/Locks/index.js.map +1 -0
  62. package/dist/Cache/Repository.d.ts +61 -0
  63. package/dist/Cache/Repository.d.ts.map +1 -0
  64. package/dist/Cache/Repository.js +207 -0
  65. package/dist/Cache/Repository.js.map +1 -0
  66. package/dist/Cache/Stores/ArrayStore.d.ts +44 -0
  67. package/dist/Cache/Stores/ArrayStore.d.ts.map +1 -0
  68. package/dist/Cache/Stores/ArrayStore.js +118 -0
  69. package/dist/Cache/Stores/ArrayStore.js.map +1 -0
  70. package/dist/Cache/Stores/DatabaseStore.d.ts +44 -0
  71. package/dist/Cache/Stores/DatabaseStore.d.ts.map +1 -0
  72. package/dist/Cache/Stores/DatabaseStore.js +165 -0
  73. package/dist/Cache/Stores/DatabaseStore.js.map +1 -0
  74. package/dist/Cache/Stores/FileStore.d.ts +50 -0
  75. package/dist/Cache/Stores/FileStore.d.ts.map +1 -0
  76. package/dist/Cache/Stores/FileStore.js +194 -0
  77. package/dist/Cache/Stores/FileStore.js.map +1 -0
  78. package/dist/Cache/Stores/NullStore.d.ts +22 -0
  79. package/dist/Cache/Stores/NullStore.d.ts.map +1 -0
  80. package/dist/Cache/Stores/NullStore.js +49 -0
  81. package/dist/Cache/Stores/NullStore.js.map +1 -0
  82. package/dist/Cache/Stores/index.d.ts +5 -0
  83. package/dist/Cache/Stores/index.d.ts.map +1 -0
  84. package/dist/Cache/Stores/index.js +12 -0
  85. package/dist/Cache/Stores/index.js.map +1 -0
  86. package/dist/Cache/Tags/TagSet.d.ts +39 -0
  87. package/dist/Cache/Tags/TagSet.d.ts.map +1 -0
  88. package/dist/Cache/Tags/TagSet.js +72 -0
  89. package/dist/Cache/Tags/TagSet.js.map +1 -0
  90. package/dist/Cache/Tags/TaggedCache.d.ts +54 -0
  91. package/dist/Cache/Tags/TaggedCache.d.ts.map +1 -0
  92. package/dist/Cache/Tags/TaggedCache.js +125 -0
  93. package/dist/Cache/Tags/TaggedCache.js.map +1 -0
  94. package/dist/Cache/Tags/index.d.ts +3 -0
  95. package/dist/Cache/Tags/index.d.ts.map +1 -0
  96. package/dist/Cache/Tags/index.js +8 -0
  97. package/dist/Cache/Tags/index.js.map +1 -0
  98. package/dist/Cache/index.d.ts +27 -0
  99. package/dist/Cache/index.d.ts.map +1 -0
  100. package/dist/Cache/index.js +48 -0
  101. package/dist/Cache/index.js.map +1 -0
  102. package/dist/Console/Commands/CacheClearCommand.d.ts +16 -0
  103. package/dist/Console/Commands/CacheClearCommand.d.ts.map +1 -0
  104. package/dist/Console/Commands/CacheClearCommand.js +33 -0
  105. package/dist/Console/Commands/CacheClearCommand.js.map +1 -0
  106. package/dist/Console/Commands/CacheForgetCommand.d.ts +16 -0
  107. package/dist/Console/Commands/CacheForgetCommand.d.ts.map +1 -0
  108. package/dist/Console/Commands/CacheForgetCommand.js +39 -0
  109. package/dist/Console/Commands/CacheForgetCommand.js.map +1 -0
  110. package/dist/Console/Commands/CacheTableCommand.d.ts +17 -0
  111. package/dist/Console/Commands/CacheTableCommand.d.ts.map +1 -0
  112. package/dist/Console/Commands/CacheTableCommand.js +92 -0
  113. package/dist/Console/Commands/CacheTableCommand.js.map +1 -0
  114. package/dist/Console/Commands/MakeJobCommand.d.ts +20 -0
  115. package/dist/Console/Commands/MakeJobCommand.d.ts.map +1 -0
  116. package/dist/Console/Commands/MakeJobCommand.js +165 -0
  117. package/dist/Console/Commands/MakeJobCommand.js.map +1 -0
  118. package/dist/Console/Commands/QueueBatchesTableCommand.d.ts +17 -0
  119. package/dist/Console/Commands/QueueBatchesTableCommand.d.ts.map +1 -0
  120. package/dist/Console/Commands/QueueBatchesTableCommand.js +92 -0
  121. package/dist/Console/Commands/QueueBatchesTableCommand.js.map +1 -0
  122. package/dist/Console/Commands/QueueClearCommand.d.ts +16 -0
  123. package/dist/Console/Commands/QueueClearCommand.d.ts.map +1 -0
  124. package/dist/Console/Commands/QueueClearCommand.js +29 -0
  125. package/dist/Console/Commands/QueueClearCommand.js.map +1 -0
  126. package/dist/Console/Commands/QueueFailedCommand.d.ts +18 -0
  127. package/dist/Console/Commands/QueueFailedCommand.d.ts.map +1 -0
  128. package/dist/Console/Commands/QueueFailedCommand.js +76 -0
  129. package/dist/Console/Commands/QueueFailedCommand.js.map +1 -0
  130. package/dist/Console/Commands/QueueFailedTableCommand.d.ts +17 -0
  131. package/dist/Console/Commands/QueueFailedTableCommand.d.ts.map +1 -0
  132. package/dist/Console/Commands/QueueFailedTableCommand.js +89 -0
  133. package/dist/Console/Commands/QueueFailedTableCommand.js.map +1 -0
  134. package/dist/Console/Commands/QueueFlushCommand.d.ts +18 -0
  135. package/dist/Console/Commands/QueueFlushCommand.d.ts.map +1 -0
  136. package/dist/Console/Commands/QueueFlushCommand.js +44 -0
  137. package/dist/Console/Commands/QueueFlushCommand.js.map +1 -0
  138. package/dist/Console/Commands/QueueForgetCommand.d.ts +18 -0
  139. package/dist/Console/Commands/QueueForgetCommand.d.ts.map +1 -0
  140. package/dist/Console/Commands/QueueForgetCommand.js +48 -0
  141. package/dist/Console/Commands/QueueForgetCommand.js.map +1 -0
  142. package/dist/Console/Commands/QueueMonitorCommand.d.ts +16 -0
  143. package/dist/Console/Commands/QueueMonitorCommand.d.ts.map +1 -0
  144. package/dist/Console/Commands/QueueMonitorCommand.js +42 -0
  145. package/dist/Console/Commands/QueueMonitorCommand.js.map +1 -0
  146. package/dist/Console/Commands/QueuePruneBatchesCommand.d.ts +16 -0
  147. package/dist/Console/Commands/QueuePruneBatchesCommand.d.ts.map +1 -0
  148. package/dist/Console/Commands/QueuePruneBatchesCommand.js +44 -0
  149. package/dist/Console/Commands/QueuePruneBatchesCommand.js.map +1 -0
  150. package/dist/Console/Commands/QueuePruneFailedCommand.d.ts +18 -0
  151. package/dist/Console/Commands/QueuePruneFailedCommand.d.ts.map +1 -0
  152. package/dist/Console/Commands/QueuePruneFailedCommand.js +39 -0
  153. package/dist/Console/Commands/QueuePruneFailedCommand.js.map +1 -0
  154. package/dist/Console/Commands/QueueRestartCommand.d.ts +16 -0
  155. package/dist/Console/Commands/QueueRestartCommand.d.ts.map +1 -0
  156. package/dist/Console/Commands/QueueRestartCommand.js +34 -0
  157. package/dist/Console/Commands/QueueRestartCommand.js.map +1 -0
  158. package/dist/Console/Commands/QueueRetryCommand.d.ts +20 -0
  159. package/dist/Console/Commands/QueueRetryCommand.d.ts.map +1 -0
  160. package/dist/Console/Commands/QueueRetryCommand.js +77 -0
  161. package/dist/Console/Commands/QueueRetryCommand.js.map +1 -0
  162. package/dist/Console/Commands/QueueTableCommand.d.ts +17 -0
  163. package/dist/Console/Commands/QueueTableCommand.d.ts.map +1 -0
  164. package/dist/Console/Commands/QueueTableCommand.js +89 -0
  165. package/dist/Console/Commands/QueueTableCommand.js.map +1 -0
  166. package/dist/Console/Commands/QueueWorkCommand.d.ts +16 -0
  167. package/dist/Console/Commands/QueueWorkCommand.d.ts.map +1 -0
  168. package/dist/Console/Commands/QueueWorkCommand.js +51 -0
  169. package/dist/Console/Commands/QueueWorkCommand.js.map +1 -0
  170. package/dist/Facades/Bus.d.ts +62 -0
  171. package/dist/Facades/Bus.d.ts.map +1 -0
  172. package/dist/Facades/Bus.js +102 -0
  173. package/dist/Facades/Bus.js.map +1 -0
  174. package/dist/Facades/Cache.d.ts +41 -0
  175. package/dist/Facades/Cache.d.ts.map +1 -0
  176. package/dist/Facades/Cache.js +78 -0
  177. package/dist/Facades/Cache.js.map +1 -0
  178. package/dist/Facades/Queue.d.ts +42 -0
  179. package/dist/Facades/Queue.d.ts.map +1 -0
  180. package/dist/Facades/Queue.js +71 -0
  181. package/dist/Facades/Queue.js.map +1 -0
  182. package/dist/Facades/index.d.ts +3 -0
  183. package/dist/Facades/index.d.ts.map +1 -1
  184. package/dist/Facades/index.js +7 -1
  185. package/dist/Facades/index.js.map +1 -1
  186. package/dist/Queue/Batching/Batch.d.ts +86 -0
  187. package/dist/Queue/Batching/Batch.d.ts.map +1 -0
  188. package/dist/Queue/Batching/Batch.js +170 -0
  189. package/dist/Queue/Batching/Batch.js.map +1 -0
  190. package/dist/Queue/Batching/PendingBatch.d.ts +72 -0
  191. package/dist/Queue/Batching/PendingBatch.d.ts.map +1 -0
  192. package/dist/Queue/Batching/PendingBatch.js +122 -0
  193. package/dist/Queue/Batching/PendingBatch.js.map +1 -0
  194. package/dist/Queue/Batching/index.d.ts +3 -0
  195. package/dist/Queue/Batching/index.d.ts.map +1 -0
  196. package/dist/Queue/Batching/index.js +8 -0
  197. package/dist/Queue/Batching/index.js.map +1 -0
  198. package/dist/Queue/Concerns/Dispatchable.d.ts +36 -0
  199. package/dist/Queue/Concerns/Dispatchable.d.ts.map +1 -0
  200. package/dist/Queue/Concerns/Dispatchable.js +102 -0
  201. package/dist/Queue/Concerns/Dispatchable.js.map +1 -0
  202. package/dist/Queue/Contracts/QueueDriver.d.ts +67 -0
  203. package/dist/Queue/Contracts/QueueDriver.d.ts.map +1 -0
  204. package/dist/Queue/Contracts/QueueDriver.js +9 -0
  205. package/dist/Queue/Contracts/QueueDriver.js.map +1 -0
  206. package/dist/Queue/Contracts/QueueableJob.d.ts +74 -0
  207. package/dist/Queue/Contracts/QueueableJob.d.ts.map +1 -0
  208. package/dist/Queue/Contracts/QueueableJob.js +9 -0
  209. package/dist/Queue/Contracts/QueueableJob.js.map +1 -0
  210. package/dist/Queue/Contracts/ShouldBeUnique.d.ts +43 -0
  211. package/dist/Queue/Contracts/ShouldBeUnique.d.ts.map +1 -0
  212. package/dist/Queue/Contracts/ShouldBeUnique.js +12 -0
  213. package/dist/Queue/Contracts/ShouldBeUnique.js.map +1 -0
  214. package/dist/Queue/Drivers/DatabaseDriver.d.ts +39 -0
  215. package/dist/Queue/Drivers/DatabaseDriver.d.ts.map +1 -0
  216. package/dist/Queue/Drivers/DatabaseDriver.js +176 -0
  217. package/dist/Queue/Drivers/DatabaseDriver.js.map +1 -0
  218. package/dist/Queue/Drivers/NullDriver.d.ts +30 -0
  219. package/dist/Queue/Drivers/NullDriver.d.ts.map +1 -0
  220. package/dist/Queue/Drivers/NullDriver.js +57 -0
  221. package/dist/Queue/Drivers/NullDriver.js.map +1 -0
  222. package/dist/Queue/Drivers/SyncDriver.d.ts +29 -0
  223. package/dist/Queue/Drivers/SyncDriver.d.ts.map +1 -0
  224. package/dist/Queue/Drivers/SyncDriver.js +67 -0
  225. package/dist/Queue/Drivers/SyncDriver.js.map +1 -0
  226. package/dist/Queue/Drivers/index.d.ts +4 -0
  227. package/dist/Queue/Drivers/index.d.ts.map +1 -0
  228. package/dist/Queue/Drivers/index.js +10 -0
  229. package/dist/Queue/Drivers/index.js.map +1 -0
  230. package/dist/Queue/Events/JobExceptionOccurred.d.ts +13 -0
  231. package/dist/Queue/Events/JobExceptionOccurred.d.ts.map +1 -0
  232. package/dist/Queue/Events/JobExceptionOccurred.js +20 -0
  233. package/dist/Queue/Events/JobExceptionOccurred.js.map +1 -0
  234. package/dist/Queue/Events/JobFailed.d.ts +13 -0
  235. package/dist/Queue/Events/JobFailed.d.ts.map +1 -0
  236. package/dist/Queue/Events/JobFailed.js +20 -0
  237. package/dist/Queue/Events/JobFailed.js.map +1 -0
  238. package/dist/Queue/Events/JobProcessed.d.ts +12 -0
  239. package/dist/Queue/Events/JobProcessed.d.ts.map +1 -0
  240. package/dist/Queue/Events/JobProcessed.js +18 -0
  241. package/dist/Queue/Events/JobProcessed.js.map +1 -0
  242. package/dist/Queue/Events/JobProcessing.d.ts +12 -0
  243. package/dist/Queue/Events/JobProcessing.d.ts.map +1 -0
  244. package/dist/Queue/Events/JobProcessing.js +18 -0
  245. package/dist/Queue/Events/JobProcessing.js.map +1 -0
  246. package/dist/Queue/Events/JobQueued.d.ts +14 -0
  247. package/dist/Queue/Events/JobQueued.d.ts.map +1 -0
  248. package/dist/Queue/Events/JobQueued.js +22 -0
  249. package/dist/Queue/Events/JobQueued.js.map +1 -0
  250. package/dist/Queue/Events/JobRetryRequested.d.ts +12 -0
  251. package/dist/Queue/Events/JobRetryRequested.d.ts.map +1 -0
  252. package/dist/Queue/Events/JobRetryRequested.js +20 -0
  253. package/dist/Queue/Events/JobRetryRequested.js.map +1 -0
  254. package/dist/Queue/Events/WorkerStopping.d.ts +11 -0
  255. package/dist/Queue/Events/WorkerStopping.d.ts.map +1 -0
  256. package/dist/Queue/Events/WorkerStopping.js +18 -0
  257. package/dist/Queue/Events/WorkerStopping.js.map +1 -0
  258. package/dist/Queue/Events/index.d.ts +8 -0
  259. package/dist/Queue/Events/index.d.ts.map +1 -0
  260. package/dist/Queue/Events/index.js +18 -0
  261. package/dist/Queue/Events/index.js.map +1 -0
  262. package/dist/Queue/Failed/DatabaseFailedJobProvider.d.ts +33 -0
  263. package/dist/Queue/Failed/DatabaseFailedJobProvider.d.ts.map +1 -0
  264. package/dist/Queue/Failed/DatabaseFailedJobProvider.js +100 -0
  265. package/dist/Queue/Failed/DatabaseFailedJobProvider.js.map +1 -0
  266. package/dist/Queue/Failed/FailedJobProvider.d.ts +42 -0
  267. package/dist/Queue/Failed/FailedJobProvider.d.ts.map +1 -0
  268. package/dist/Queue/Failed/FailedJobProvider.js +9 -0
  269. package/dist/Queue/Failed/FailedJobProvider.js.map +1 -0
  270. package/dist/Queue/Job.d.ts +194 -0
  271. package/dist/Queue/Job.d.ts.map +1 -0
  272. package/dist/Queue/Job.js +286 -0
  273. package/dist/Queue/Job.js.map +1 -0
  274. package/dist/Queue/JobPayload.d.ts +37 -0
  275. package/dist/Queue/JobPayload.d.ts.map +1 -0
  276. package/dist/Queue/JobPayload.js +46 -0
  277. package/dist/Queue/JobPayload.js.map +1 -0
  278. package/dist/Queue/Middleware/JobMiddleware.d.ts +29 -0
  279. package/dist/Queue/Middleware/JobMiddleware.d.ts.map +1 -0
  280. package/dist/Queue/Middleware/JobMiddleware.js +21 -0
  281. package/dist/Queue/Middleware/JobMiddleware.js.map +1 -0
  282. package/dist/Queue/Middleware/RateLimited.d.ts +56 -0
  283. package/dist/Queue/Middleware/RateLimited.d.ts.map +1 -0
  284. package/dist/Queue/Middleware/RateLimited.js +83 -0
  285. package/dist/Queue/Middleware/RateLimited.js.map +1 -0
  286. package/dist/Queue/Middleware/ThrottlesExceptions.d.ts +71 -0
  287. package/dist/Queue/Middleware/ThrottlesExceptions.d.ts.map +1 -0
  288. package/dist/Queue/Middleware/ThrottlesExceptions.js +119 -0
  289. package/dist/Queue/Middleware/ThrottlesExceptions.js.map +1 -0
  290. package/dist/Queue/Middleware/WithoutOverlapping.d.ts +64 -0
  291. package/dist/Queue/Middleware/WithoutOverlapping.d.ts.map +1 -0
  292. package/dist/Queue/Middleware/WithoutOverlapping.js +103 -0
  293. package/dist/Queue/Middleware/WithoutOverlapping.js.map +1 -0
  294. package/dist/Queue/Middleware/index.d.ts +5 -0
  295. package/dist/Queue/Middleware/index.d.ts.map +1 -0
  296. package/dist/Queue/Middleware/index.js +10 -0
  297. package/dist/Queue/Middleware/index.js.map +1 -0
  298. package/dist/Queue/PendingChain.d.ts +63 -0
  299. package/dist/Queue/PendingChain.d.ts.map +1 -0
  300. package/dist/Queue/PendingChain.js +111 -0
  301. package/dist/Queue/PendingChain.js.map +1 -0
  302. package/dist/Queue/PendingDispatch.d.ts +66 -0
  303. package/dist/Queue/PendingDispatch.d.ts.map +1 -0
  304. package/dist/Queue/PendingDispatch.js +101 -0
  305. package/dist/Queue/PendingDispatch.js.map +1 -0
  306. package/dist/Queue/QueueManager.d.ts +151 -0
  307. package/dist/Queue/QueueManager.d.ts.map +1 -0
  308. package/dist/Queue/QueueManager.js +227 -0
  309. package/dist/Queue/QueueManager.js.map +1 -0
  310. package/dist/Queue/QueueServiceProvider.d.ts +19 -0
  311. package/dist/Queue/QueueServiceProvider.d.ts.map +1 -0
  312. package/dist/Queue/QueueServiceProvider.js +75 -0
  313. package/dist/Queue/QueueServiceProvider.js.map +1 -0
  314. package/dist/Queue/Workers/Worker.d.ts +99 -0
  315. package/dist/Queue/Workers/Worker.d.ts.map +1 -0
  316. package/dist/Queue/Workers/Worker.js +324 -0
  317. package/dist/Queue/Workers/Worker.js.map +1 -0
  318. package/dist/Queue/Workers/WorkerOptions.d.ts +62 -0
  319. package/dist/Queue/Workers/WorkerOptions.d.ts.map +1 -0
  320. package/dist/Queue/Workers/WorkerOptions.js +23 -0
  321. package/dist/Queue/Workers/WorkerOptions.js.map +1 -0
  322. package/dist/Queue/index.d.ts +41 -0
  323. package/dist/Queue/index.d.ts.map +1 -0
  324. package/dist/Queue/index.js +67 -0
  325. package/dist/Queue/index.js.map +1 -0
  326. package/dist/index.d.ts +75 -0
  327. package/dist/index.d.ts.map +1 -1
  328. package/dist/index.js +141 -2
  329. package/dist/index.js.map +1 -1
  330. package/package.json +1 -1
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Cache Module
3
+ *
4
+ * A complete Laravel-compatible cache system for TypeScript.
5
+ */
6
+ export { CacheManager } from './CacheManager';
7
+ export type { CacheConfig, StoreConfig, StoreFactory } from './CacheManager';
8
+ export { CacheServiceProvider } from './CacheServiceProvider';
9
+ export { Repository } from './Repository';
10
+ export type { Store } from './Contracts/Store';
11
+ export type { RepositoryContract } from './Contracts/Repository';
12
+ export type { LockContract } from './Contracts/Lock';
13
+ export { ArrayStore } from './Stores/ArrayStore';
14
+ export { FileStore } from './Stores/FileStore';
15
+ export { DatabaseStore } from './Stores/DatabaseStore';
16
+ export { NullStore } from './Stores/NullStore';
17
+ export { Lock } from './Locks/Lock';
18
+ export { CacheLock } from './Locks/CacheLock';
19
+ export { LockTimeoutException } from './Locks/LockTimeoutException';
20
+ export { TaggedCache } from './Tags/TaggedCache';
21
+ export { TagSet } from './Tags/TagSet';
22
+ export { CacheHit } from './Events/CacheHit';
23
+ export { CacheMissed } from './Events/CacheMissed';
24
+ export { KeyWritten } from './Events/KeyWritten';
25
+ export { KeyForgotten } from './Events/KeyForgotten';
26
+ export { CacheFlushed } from './Events/CacheFlushed';
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Cache/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGpE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAGvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * Cache Module
4
+ *
5
+ * A complete Laravel-compatible cache system for TypeScript.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.CacheFlushed = exports.KeyForgotten = exports.KeyWritten = exports.CacheMissed = exports.CacheHit = exports.TagSet = exports.TaggedCache = exports.LockTimeoutException = exports.CacheLock = exports.Lock = exports.NullStore = exports.DatabaseStore = exports.FileStore = exports.ArrayStore = exports.Repository = exports.CacheServiceProvider = exports.CacheManager = void 0;
9
+ // Core
10
+ var CacheManager_1 = require("./CacheManager");
11
+ Object.defineProperty(exports, "CacheManager", { enumerable: true, get: function () { return CacheManager_1.CacheManager; } });
12
+ var CacheServiceProvider_1 = require("./CacheServiceProvider");
13
+ Object.defineProperty(exports, "CacheServiceProvider", { enumerable: true, get: function () { return CacheServiceProvider_1.CacheServiceProvider; } });
14
+ var Repository_1 = require("./Repository");
15
+ Object.defineProperty(exports, "Repository", { enumerable: true, get: function () { return Repository_1.Repository; } });
16
+ // Stores
17
+ var ArrayStore_1 = require("./Stores/ArrayStore");
18
+ Object.defineProperty(exports, "ArrayStore", { enumerable: true, get: function () { return ArrayStore_1.ArrayStore; } });
19
+ var FileStore_1 = require("./Stores/FileStore");
20
+ Object.defineProperty(exports, "FileStore", { enumerable: true, get: function () { return FileStore_1.FileStore; } });
21
+ var DatabaseStore_1 = require("./Stores/DatabaseStore");
22
+ Object.defineProperty(exports, "DatabaseStore", { enumerable: true, get: function () { return DatabaseStore_1.DatabaseStore; } });
23
+ var NullStore_1 = require("./Stores/NullStore");
24
+ Object.defineProperty(exports, "NullStore", { enumerable: true, get: function () { return NullStore_1.NullStore; } });
25
+ // Locks
26
+ var Lock_1 = require("./Locks/Lock");
27
+ Object.defineProperty(exports, "Lock", { enumerable: true, get: function () { return Lock_1.Lock; } });
28
+ var CacheLock_1 = require("./Locks/CacheLock");
29
+ Object.defineProperty(exports, "CacheLock", { enumerable: true, get: function () { return CacheLock_1.CacheLock; } });
30
+ var LockTimeoutException_1 = require("./Locks/LockTimeoutException");
31
+ Object.defineProperty(exports, "LockTimeoutException", { enumerable: true, get: function () { return LockTimeoutException_1.LockTimeoutException; } });
32
+ // Tags
33
+ var TaggedCache_1 = require("./Tags/TaggedCache");
34
+ Object.defineProperty(exports, "TaggedCache", { enumerable: true, get: function () { return TaggedCache_1.TaggedCache; } });
35
+ var TagSet_1 = require("./Tags/TagSet");
36
+ Object.defineProperty(exports, "TagSet", { enumerable: true, get: function () { return TagSet_1.TagSet; } });
37
+ // Events
38
+ var CacheHit_1 = require("./Events/CacheHit");
39
+ Object.defineProperty(exports, "CacheHit", { enumerable: true, get: function () { return CacheHit_1.CacheHit; } });
40
+ var CacheMissed_1 = require("./Events/CacheMissed");
41
+ Object.defineProperty(exports, "CacheMissed", { enumerable: true, get: function () { return CacheMissed_1.CacheMissed; } });
42
+ var KeyWritten_1 = require("./Events/KeyWritten");
43
+ Object.defineProperty(exports, "KeyWritten", { enumerable: true, get: function () { return KeyWritten_1.KeyWritten; } });
44
+ var KeyForgotten_1 = require("./Events/KeyForgotten");
45
+ Object.defineProperty(exports, "KeyForgotten", { enumerable: true, get: function () { return KeyForgotten_1.KeyForgotten; } });
46
+ var CacheFlushed_1 = require("./Events/CacheFlushed");
47
+ Object.defineProperty(exports, "CacheFlushed", { enumerable: true, get: function () { return CacheFlushed_1.CacheFlushed; } });
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Cache/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,OAAO;AACP,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AAErB,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AAOnB,SAAS;AACT,kDAAiD;AAAxC,wGAAA,UAAU,OAAA;AACnB,gDAA+C;AAAtC,sGAAA,SAAS,OAAA;AAClB,wDAAuD;AAA9C,8GAAA,aAAa,OAAA;AACtB,gDAA+C;AAAtC,sGAAA,SAAS,OAAA;AAElB,QAAQ;AACR,qCAAoC;AAA3B,4FAAA,IAAI,OAAA;AACb,+CAA8C;AAArC,sGAAA,SAAS,OAAA;AAClB,qEAAoE;AAA3D,4HAAA,oBAAoB,OAAA;AAE7B,OAAO;AACP,kDAAiD;AAAxC,0GAAA,WAAW,OAAA;AACpB,wCAAuC;AAA9B,gGAAA,MAAM,OAAA;AAEf,SAAS;AACT,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AACjB,oDAAmD;AAA1C,0GAAA,WAAW,OAAA;AACpB,kDAAiD;AAAxC,wGAAA,UAAU,OAAA;AACnB,sDAAqD;AAA5C,4GAAA,YAAY,OAAA;AACrB,sDAAqD;AAA5C,4GAAA,YAAY,OAAA"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * CacheClearCommand
3
+ *
4
+ * Flush the application cache.
5
+ * Mirrors Laravel's `php artisan cache:clear`.
6
+ */
7
+ import { Command, CommandOptions } from '../Command';
8
+ import { Application } from '../../Foundation/Application';
9
+ export declare class CacheClearCommand extends Command {
10
+ protected app: Application;
11
+ signature: string;
12
+ description: string;
13
+ constructor(app: Application);
14
+ handle(args: string[], _options: CommandOptions): Promise<void>;
15
+ }
16
+ //# sourceMappingURL=CacheClearCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CacheClearCommand.d.ts","sourceRoot":"","sources":["../../../src/Console/Commands/CacheClearCommand.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,qBAAa,iBAAkB,SAAQ,OAAO;IAIhC,SAAS,CAAC,GAAG,EAAE,WAAW;IAHtC,SAAS,SAAyB;IAClC,WAAW,SAAiC;gBAEtB,GAAG,EAAE,WAAW;IAIhC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAatE"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * CacheClearCommand
4
+ *
5
+ * Flush the application cache.
6
+ * Mirrors Laravel's `php artisan cache:clear`.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.CacheClearCommand = void 0;
10
+ const Command_1 = require("../Command");
11
+ class CacheClearCommand extends Command_1.Command {
12
+ app;
13
+ signature = 'cache:clear [store]';
14
+ description = 'Flush the application cache';
15
+ constructor(app) {
16
+ super();
17
+ this.app = app;
18
+ }
19
+ async handle(args, _options) {
20
+ const manager = this.app.make('cache');
21
+ const storeName = args[0] || undefined;
22
+ const store = manager.store(storeName);
23
+ const success = await store.flush();
24
+ if (success) {
25
+ this.info(`Application cache cleared successfully${storeName ? ` [${storeName}]` : ''}.`);
26
+ }
27
+ else {
28
+ this.error('Failed to clear the application cache.');
29
+ }
30
+ }
31
+ }
32
+ exports.CacheClearCommand = CacheClearCommand;
33
+ //# sourceMappingURL=CacheClearCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CacheClearCommand.js","sourceRoot":"","sources":["../../../src/Console/Commands/CacheClearCommand.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,wCAAqD;AAIrD,MAAa,iBAAkB,SAAQ,iBAAO;IAItB;IAHtB,SAAS,GAAG,qBAAqB,CAAC;IAClC,WAAW,GAAG,6BAA6B,CAAC;IAE5C,YAAsB,GAAgB;QACpC,KAAK,EAAE,CAAC;QADY,QAAG,GAAH,GAAG,CAAa;IAEtC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAAc,EAAE,QAAwB;QACnD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAe,OAAO,CAAC,CAAC;QACrD,MAAM,SAAS,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC;QAEvC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACvC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;QAEpC,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,CAAC,IAAI,CAAC,yCAAyC,SAAS,CAAC,CAAC,CAAC,KAAK,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QAC5F,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;CACF;AArBD,8CAqBC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * CacheForgetCommand
3
+ *
4
+ * Remove an item from the cache.
5
+ * Mirrors Laravel's `php artisan cache:forget`.
6
+ */
7
+ import { Command, CommandOptions } from '../Command';
8
+ import { Application } from '../../Foundation/Application';
9
+ export declare class CacheForgetCommand extends Command {
10
+ protected app: Application;
11
+ signature: string;
12
+ description: string;
13
+ constructor(app: Application);
14
+ handle(args: string[], _options: CommandOptions): Promise<void>;
15
+ }
16
+ //# sourceMappingURL=CacheForgetCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CacheForgetCommand.d.ts","sourceRoot":"","sources":["../../../src/Console/Commands/CacheForgetCommand.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,qBAAa,kBAAmB,SAAQ,OAAO;IAIjC,SAAS,CAAC,GAAG,EAAE,WAAW;IAHtC,SAAS,SAAgC;IACzC,WAAW,SAAmC;gBAExB,GAAG,EAAE,WAAW;IAIhC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAqBtE"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * CacheForgetCommand
4
+ *
5
+ * Remove an item from the cache.
6
+ * Mirrors Laravel's `php artisan cache:forget`.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.CacheForgetCommand = void 0;
10
+ const Command_1 = require("../Command");
11
+ class CacheForgetCommand extends Command_1.Command {
12
+ app;
13
+ signature = 'cache:forget <key> [store]';
14
+ description = 'Remove an item from the cache';
15
+ constructor(app) {
16
+ super();
17
+ this.app = app;
18
+ }
19
+ async handle(args, _options) {
20
+ const key = args[0];
21
+ const storeName = args[1] || undefined;
22
+ if (!key) {
23
+ this.error('Cache key is required.');
24
+ this.line('Usage: cache:forget <key> [store]');
25
+ return;
26
+ }
27
+ const manager = this.app.make('cache');
28
+ const store = manager.store(storeName);
29
+ const forgotten = await store.forget(key);
30
+ if (forgotten) {
31
+ this.info(`The [${key}] key has been removed from the cache.`);
32
+ }
33
+ else {
34
+ this.comment(`The [${key}] key was not found in the cache.`);
35
+ }
36
+ }
37
+ }
38
+ exports.CacheForgetCommand = CacheForgetCommand;
39
+ //# sourceMappingURL=CacheForgetCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CacheForgetCommand.js","sourceRoot":"","sources":["../../../src/Console/Commands/CacheForgetCommand.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,wCAAqD;AAIrD,MAAa,kBAAmB,SAAQ,iBAAO;IAIvB;IAHtB,SAAS,GAAG,4BAA4B,CAAC;IACzC,WAAW,GAAG,+BAA+B,CAAC;IAE9C,YAAsB,GAAgB;QACpC,KAAK,EAAE,CAAC;QADY,QAAG,GAAH,GAAG,CAAa;IAEtC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAAc,EAAE,QAAwB;QACnD,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACpB,MAAM,SAAS,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC;QAEvC,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;YACrC,IAAI,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;YAC/C,OAAO;QACT,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAe,OAAO,CAAC,CAAC;QACrD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAEvC,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAE1C,IAAI,SAAS,EAAE,CAAC;YACd,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,wCAAwC,CAAC,CAAC;QACjE,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,mCAAmC,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AA7BD,gDA6BC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * CacheTableCommand
3
+ *
4
+ * Create a migration for the cache database table.
5
+ * Mirrors Laravel's `php artisan cache:table`.
6
+ */
7
+ import { Command, CommandOptions } from '../Command';
8
+ import { Application } from '../../Foundation/Application';
9
+ export declare class CacheTableCommand extends Command {
10
+ protected app: Application;
11
+ signature: string;
12
+ description: string;
13
+ constructor(app: Application);
14
+ handle(_args: string[], options: CommandOptions): Promise<void>;
15
+ protected getStub(): string;
16
+ }
17
+ //# sourceMappingURL=CacheTableCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CacheTableCommand.d.ts","sourceRoot":"","sources":["../../../src/Console/Commands/CacheTableCommand.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,qBAAa,iBAAkB,SAAQ,OAAO;IAIhC,SAAS,CAAC,GAAG,EAAE,WAAW;IAHtC,SAAS,SAAiB;IAC1B,WAAW,SAAqD;gBAE1C,GAAG,EAAE,WAAW;IAIhC,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAcrE,SAAS,CAAC,OAAO,IAAI,MAAM;CA0B5B"}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ /**
3
+ * CacheTableCommand
4
+ *
5
+ * Create a migration for the cache database table.
6
+ * Mirrors Laravel's `php artisan cache:table`.
7
+ */
8
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9
+ if (k2 === undefined) k2 = k;
10
+ var desc = Object.getOwnPropertyDescriptor(m, k);
11
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
12
+ desc = { enumerable: true, get: function() { return m[k]; } };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ }) : (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ }));
19
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
20
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
21
+ }) : function(o, v) {
22
+ o["default"] = v;
23
+ });
24
+ var __importStar = (this && this.__importStar) || (function () {
25
+ var ownKeys = function(o) {
26
+ ownKeys = Object.getOwnPropertyNames || function (o) {
27
+ var ar = [];
28
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
+ return ar;
30
+ };
31
+ return ownKeys(o);
32
+ };
33
+ return function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ })();
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.CacheTableCommand = void 0;
43
+ const Command_1 = require("../Command");
44
+ const fs = __importStar(require("fs/promises"));
45
+ const path = __importStar(require("path"));
46
+ class CacheTableCommand extends Command_1.Command {
47
+ app;
48
+ signature = 'cache:table';
49
+ description = 'Create a migration for the cache database table';
50
+ constructor(app) {
51
+ super();
52
+ this.app = app;
53
+ }
54
+ async handle(_args, options) {
55
+ const migrationsPath = options.path || this.app.databasePath('migrations');
56
+ await fs.mkdir(migrationsPath, { recursive: true });
57
+ const timestamp = new Date().toISOString().replace(/[-:T]/g, '').slice(0, 14);
58
+ const fileName = `${timestamp}_create_cache_table.ts`;
59
+ const filePath = path.join(migrationsPath, fileName);
60
+ await fs.writeFile(filePath, this.getStub());
61
+ this.info(`Migration created successfully: ${filePath}`);
62
+ this.comment('Run "npx orchestr migrate" to create the table.');
63
+ }
64
+ getStub() {
65
+ return `import { Migration } from '@orchestr-sh/orchestr';
66
+ import type { SchemaBuilder } from '@orchestr-sh/orchestr';
67
+
68
+ export default class CreateCacheTable extends Migration {
69
+ async up(schema: SchemaBuilder): Promise<void> {
70
+ await schema.create('cache', (table) => {
71
+ table.string('key').primary();
72
+ table.text('value');
73
+ table.integer('expiration');
74
+ });
75
+
76
+ await schema.create('cache_locks', (table) => {
77
+ table.string('key').primary();
78
+ table.string('owner');
79
+ table.integer('expiration');
80
+ });
81
+ }
82
+
83
+ async down(schema: SchemaBuilder): Promise<void> {
84
+ await schema.drop('cache_locks');
85
+ await schema.drop('cache');
86
+ }
87
+ }
88
+ `;
89
+ }
90
+ }
91
+ exports.CacheTableCommand = CacheTableCommand;
92
+ //# sourceMappingURL=CacheTableCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CacheTableCommand.js","sourceRoot":"","sources":["../../../src/Console/Commands/CacheTableCommand.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wCAAqD;AAErD,gDAAkC;AAClC,2CAA6B;AAE7B,MAAa,iBAAkB,SAAQ,iBAAO;IAItB;IAHtB,SAAS,GAAG,aAAa,CAAC;IAC1B,WAAW,GAAG,iDAAiD,CAAC;IAEhE,YAAsB,GAAgB;QACpC,KAAK,EAAE,CAAC;QADY,QAAG,GAAH,GAAG,CAAa;IAEtC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,KAAe,EAAE,OAAuB;QACnD,MAAM,cAAc,GAAI,OAAO,CAAC,IAAe,IAAI,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;QACvF,MAAM,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAEpD,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,GAAG,SAAS,wBAAwB,CAAC;QACtD,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;QAErD,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QAE7C,IAAI,CAAC,IAAI,CAAC,mCAAmC,QAAQ,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAClE,CAAC;IAES,OAAO;QACf,OAAO;;;;;;;;;;;;;;;;;;;;;;;CAuBV,CAAC;IACA,CAAC;CACF;AAhDD,8CAgDC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * MakeJobCommand
3
+ *
4
+ * Create a new job class.
5
+ * Mirrors Laravel's `php artisan make:job`.
6
+ */
7
+ import { Command, CommandOptions } from '../Command';
8
+ import { Application } from '../../Foundation/Application';
9
+ export declare class MakeJobCommand extends Command {
10
+ protected app: Application;
11
+ signature: string;
12
+ description: string;
13
+ constructor(app: Application);
14
+ handle(args: string[], options: CommandOptions): Promise<void>;
15
+ protected getPath(options: CommandOptions): string;
16
+ protected fileExists(filePath: string): Promise<boolean>;
17
+ protected getStub(): string;
18
+ protected getSyncStub(): string;
19
+ }
20
+ //# sourceMappingURL=MakeJobCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MakeJobCommand.d.ts","sourceRoot":"","sources":["../../../src/Console/Commands/MakeJobCommand.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,qBAAa,cAAe,SAAQ,OAAO;IAI7B,SAAS,CAAC,GAAG,EAAE,WAAW;IAHtC,SAAS,SAAqB;IAC9B,WAAW,SAA4B;gBAEjB,GAAG,EAAE,WAAW;IAIhC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAuCpE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM;cAIlC,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAS9D,SAAS,CAAC,OAAO,IAAI,MAAM;IA8C3B,SAAS,CAAC,WAAW,IAAI,MAAM;CAsBhC"}
@@ -0,0 +1,165 @@
1
+ "use strict";
2
+ /**
3
+ * MakeJobCommand
4
+ *
5
+ * Create a new job class.
6
+ * Mirrors Laravel's `php artisan make:job`.
7
+ */
8
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9
+ if (k2 === undefined) k2 = k;
10
+ var desc = Object.getOwnPropertyDescriptor(m, k);
11
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
12
+ desc = { enumerable: true, get: function() { return m[k]; } };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ }) : (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ }));
19
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
20
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
21
+ }) : function(o, v) {
22
+ o["default"] = v;
23
+ });
24
+ var __importStar = (this && this.__importStar) || (function () {
25
+ var ownKeys = function(o) {
26
+ ownKeys = Object.getOwnPropertyNames || function (o) {
27
+ var ar = [];
28
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
+ return ar;
30
+ };
31
+ return ownKeys(o);
32
+ };
33
+ return function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ })();
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.MakeJobCommand = void 0;
43
+ const Command_1 = require("../Command");
44
+ const fs = __importStar(require("fs/promises"));
45
+ const path = __importStar(require("path"));
46
+ class MakeJobCommand extends Command_1.Command {
47
+ app;
48
+ signature = 'make:job <name>';
49
+ description = 'Create a new job class';
50
+ constructor(app) {
51
+ super();
52
+ this.app = app;
53
+ }
54
+ async handle(args, options) {
55
+ const name = args[0];
56
+ if (!name) {
57
+ this.error('Job name is required.');
58
+ this.line('Usage: make:job <name>');
59
+ return;
60
+ }
61
+ const jobsPath = this.getPath(options);
62
+ const filePath = path.join(jobsPath, `${name}.ts`);
63
+ // Check if file already exists
64
+ if (await this.fileExists(filePath)) {
65
+ this.error(`Job already exists: ${filePath}`);
66
+ return;
67
+ }
68
+ // Create directory if it doesn't exist
69
+ await fs.mkdir(jobsPath, { recursive: true });
70
+ // Determine if sync or queued
71
+ const sync = options.sync === true || options.sync === 'true';
72
+ // Generate file content
73
+ const content = (sync ? this.getSyncStub() : this.getStub())
74
+ .replace(/\{\{className\}\}/g, name);
75
+ // Write file
76
+ await fs.writeFile(filePath, content);
77
+ this.info(`Job created successfully: ${filePath}`);
78
+ this.newLine();
79
+ this.comment('Next steps:');
80
+ this.comment('1. Add your job logic to the handle() method');
81
+ this.comment('2. Dispatch the job:');
82
+ this.comment(` await ${name}.dispatch();`);
83
+ }
84
+ getPath(options) {
85
+ return options.path || this.app.path('Jobs');
86
+ }
87
+ async fileExists(filePath) {
88
+ try {
89
+ await fs.access(filePath);
90
+ return true;
91
+ }
92
+ catch {
93
+ return false;
94
+ }
95
+ }
96
+ getStub() {
97
+ return `import { Job } from '@orchestr-sh/orchestr';
98
+
99
+ export class {{className}} extends Job {
100
+ /**
101
+ * The number of times the job may be attempted.
102
+ */
103
+ public tries = 3;
104
+
105
+ /**
106
+ * The number of seconds the job can run before timing out.
107
+ */
108
+ public timeout = 60;
109
+
110
+ /**
111
+ * The number of seconds to wait before retrying the job.
112
+ * Can use an array for progressive backoff: [10, 30, 60]
113
+ */
114
+ public backoff = 10;
115
+
116
+ /**
117
+ * Create a new job instance.
118
+ */
119
+ constructor(
120
+ // Add your job data here
121
+ ) {
122
+ super();
123
+ }
124
+
125
+ /**
126
+ * Execute the job.
127
+ */
128
+ async handle(): Promise<void> {
129
+ //
130
+ }
131
+
132
+ /**
133
+ * Handle a job failure.
134
+ */
135
+ async failed(error: Error): Promise<void> {
136
+ console.error(\`[\${this.displayName()}] Failed:\`, error.message);
137
+ }
138
+ }
139
+ `;
140
+ }
141
+ getSyncStub() {
142
+ return `import { Job } from '@orchestr-sh/orchestr';
143
+
144
+ export class {{className}} extends Job {
145
+ /**
146
+ * Create a new job instance.
147
+ */
148
+ constructor(
149
+ // Add your job data here
150
+ ) {
151
+ super();
152
+ }
153
+
154
+ /**
155
+ * Execute the job.
156
+ */
157
+ async handle(): Promise<void> {
158
+ //
159
+ }
160
+ }
161
+ `;
162
+ }
163
+ }
164
+ exports.MakeJobCommand = MakeJobCommand;
165
+ //# sourceMappingURL=MakeJobCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MakeJobCommand.js","sourceRoot":"","sources":["../../../src/Console/Commands/MakeJobCommand.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wCAAqD;AAErD,gDAAkC;AAClC,2CAA6B;AAE7B,MAAa,cAAe,SAAQ,iBAAO;IAInB;IAHtB,SAAS,GAAG,iBAAiB,CAAC;IAC9B,WAAW,GAAG,wBAAwB,CAAC;IAEvC,YAAsB,GAAgB;QACpC,KAAK,EAAE,CAAC;QADY,QAAG,GAAH,GAAG,CAAa;IAEtC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAAc,EAAE,OAAuB;QAClD,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QAErB,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;YACpC,IAAI,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;YACpC,OAAO;QACT,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI,KAAK,CAAC,CAAC;QAEnD,+BAA+B;QAC/B,IAAI,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpC,IAAI,CAAC,KAAK,CAAC,uBAAuB,QAAQ,EAAE,CAAC,CAAC;YAC9C,OAAO;QACT,CAAC;QAED,uCAAuC;QACvC,MAAM,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAE9C,8BAA8B;QAC9B,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,KAAK,IAAI,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC;QAE9D,wBAAwB;QACxB,MAAM,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;aACzD,OAAO,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC;QAEvC,aAAa;QACb,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAEtC,IAAI,CAAC,IAAI,CAAC,6BAA6B,QAAQ,EAAE,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,EAAE,CAAC;QACf,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC5B,IAAI,CAAC,OAAO,CAAC,8CAA8C,CAAC,CAAC;QAC7D,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,cAAc,CAAC,CAAC;IAC/C,CAAC;IAES,OAAO,CAAC,OAAuB;QACvC,OAAQ,OAAO,CAAC,IAAe,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3D,CAAC;IAES,KAAK,CAAC,UAAU,CAAC,QAAgB;QACzC,IAAI,CAAC;YACH,MAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC1B,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAES,OAAO;QACf,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CV,CAAC;IACA,CAAC;IAES,WAAW;QACnB,OAAO;;;;;;;;;;;;;;;;;;;CAmBV,CAAC;IACA,CAAC;CACF;AAhID,wCAgIC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * QueueBatchesTableCommand
3
+ *
4
+ * Create a migration for the batches database table.
5
+ * Mirrors Laravel's `php artisan queue:batches-table`.
6
+ */
7
+ import { Command, CommandOptions } from '../Command';
8
+ import { Application } from '../../Foundation/Application';
9
+ export declare class QueueBatchesTableCommand extends Command {
10
+ protected app: Application;
11
+ signature: string;
12
+ description: string;
13
+ constructor(app: Application);
14
+ handle(_args: string[], options: CommandOptions): Promise<void>;
15
+ protected getStub(): string;
16
+ }
17
+ //# sourceMappingURL=QueueBatchesTableCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueueBatchesTableCommand.d.ts","sourceRoot":"","sources":["../../../src/Console/Commands/QueueBatchesTableCommand.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,qBAAa,wBAAyB,SAAQ,OAAO;IAIvC,SAAS,CAAC,GAAG,EAAE,WAAW;IAHtC,SAAS,SAAyB;IAClC,WAAW,SAAuD;gBAE5C,GAAG,EAAE,WAAW;IAIhC,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAcrE,SAAS,CAAC,OAAO,IAAI,MAAM;CA0B5B"}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ /**
3
+ * QueueBatchesTableCommand
4
+ *
5
+ * Create a migration for the batches database table.
6
+ * Mirrors Laravel's `php artisan queue:batches-table`.
7
+ */
8
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9
+ if (k2 === undefined) k2 = k;
10
+ var desc = Object.getOwnPropertyDescriptor(m, k);
11
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
12
+ desc = { enumerable: true, get: function() { return m[k]; } };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ }) : (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ }));
19
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
20
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
21
+ }) : function(o, v) {
22
+ o["default"] = v;
23
+ });
24
+ var __importStar = (this && this.__importStar) || (function () {
25
+ var ownKeys = function(o) {
26
+ ownKeys = Object.getOwnPropertyNames || function (o) {
27
+ var ar = [];
28
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
+ return ar;
30
+ };
31
+ return ownKeys(o);
32
+ };
33
+ return function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ })();
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.QueueBatchesTableCommand = void 0;
43
+ const Command_1 = require("../Command");
44
+ const fs = __importStar(require("fs/promises"));
45
+ const path = __importStar(require("path"));
46
+ class QueueBatchesTableCommand extends Command_1.Command {
47
+ app;
48
+ signature = 'queue:batches-table';
49
+ description = 'Create a migration for the batches database table';
50
+ constructor(app) {
51
+ super();
52
+ this.app = app;
53
+ }
54
+ async handle(_args, options) {
55
+ const migrationsPath = options.path || this.app.databasePath('migrations');
56
+ await fs.mkdir(migrationsPath, { recursive: true });
57
+ const timestamp = new Date().toISOString().replace(/[-:T]/g, '').slice(0, 14);
58
+ const fileName = `${timestamp}_create_job_batches_table.ts`;
59
+ const filePath = path.join(migrationsPath, fileName);
60
+ await fs.writeFile(filePath, this.getStub());
61
+ this.info(`Migration created successfully: ${filePath}`);
62
+ this.comment('Run "npx orchestr migrate" to create the table.');
63
+ }
64
+ getStub() {
65
+ return `import { Migration } from '@orchestr-sh/orchestr';
66
+ import type { SchemaBuilder } from '@orchestr-sh/orchestr';
67
+
68
+ export default class CreateJobBatchesTable extends Migration {
69
+ async up(schema: SchemaBuilder): Promise<void> {
70
+ await schema.create('job_batches', (table) => {
71
+ table.string('id').primary();
72
+ table.string('name');
73
+ table.integer('total_jobs');
74
+ table.integer('pending_jobs');
75
+ table.integer('failed_jobs');
76
+ table.text('failed_job_ids');
77
+ table.text('options').nullable();
78
+ table.integer('cancelled_at').nullable();
79
+ table.integer('created_at');
80
+ table.integer('finished_at').nullable();
81
+ });
82
+ }
83
+
84
+ async down(schema: SchemaBuilder): Promise<void> {
85
+ await schema.drop('job_batches');
86
+ }
87
+ }
88
+ `;
89
+ }
90
+ }
91
+ exports.QueueBatchesTableCommand = QueueBatchesTableCommand;
92
+ //# sourceMappingURL=QueueBatchesTableCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueueBatchesTableCommand.js","sourceRoot":"","sources":["../../../src/Console/Commands/QueueBatchesTableCommand.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wCAAqD;AAErD,gDAAkC;AAClC,2CAA6B;AAE7B,MAAa,wBAAyB,SAAQ,iBAAO;IAI7B;IAHtB,SAAS,GAAG,qBAAqB,CAAC;IAClC,WAAW,GAAG,mDAAmD,CAAC;IAElE,YAAsB,GAAgB;QACpC,KAAK,EAAE,CAAC;QADY,QAAG,GAAH,GAAG,CAAa;IAEtC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,KAAe,EAAE,OAAuB;QACnD,MAAM,cAAc,GAAI,OAAO,CAAC,IAAe,IAAI,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;QACvF,MAAM,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAEpD,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,GAAG,SAAS,8BAA8B,CAAC;QAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;QAErD,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QAE7C,IAAI,CAAC,IAAI,CAAC,mCAAmC,QAAQ,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAClE,CAAC;IAES,OAAO;QACf,OAAO;;;;;;;;;;;;;;;;;;;;;;;CAuBV,CAAC;IACA,CAAC;CACF;AAhDD,4DAgDC"}