@adaas/a-utils 0.2.8 → 0.3.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 (795) hide show
  1. package/.conf/tsconfig.base.json +91 -0
  2. package/.conf/tsconfig.browser.json +26 -0
  3. package/.conf/tsconfig.node.json +30 -0
  4. package/dist/browser/A-Logger.component-Be-LMV3I.d.mts +467 -0
  5. package/dist/browser/A-StateMachineTransition.context-BINjcsgq.d.mts +221 -0
  6. package/dist/browser/a-channel.d.mts +456 -0
  7. package/dist/browser/a-channel.mjs +367 -0
  8. package/dist/browser/a-channel.mjs.map +1 -0
  9. package/dist/browser/a-command.d.mts +555 -0
  10. package/dist/browser/a-command.mjs +567 -0
  11. package/dist/browser/a-command.mjs.map +1 -0
  12. package/dist/browser/a-config.d.mts +60 -0
  13. package/dist/browser/a-config.mjs +6 -0
  14. package/dist/browser/a-config.mjs.map +1 -0
  15. package/dist/browser/a-execution.d.mts +17 -0
  16. package/dist/browser/a-execution.mjs +4 -0
  17. package/dist/browser/a-execution.mjs.map +1 -0
  18. package/dist/browser/a-logger.d.mts +107 -0
  19. package/dist/browser/a-logger.mjs +7 -0
  20. package/dist/browser/a-logger.mjs.map +1 -0
  21. package/dist/browser/a-manifest.d.mts +111 -0
  22. package/dist/browser/a-manifest.mjs +176 -0
  23. package/dist/browser/a-manifest.mjs.map +1 -0
  24. package/dist/browser/a-memory.d.mts +163 -0
  25. package/dist/browser/a-memory.mjs +375 -0
  26. package/dist/browser/a-memory.mjs.map +1 -0
  27. package/dist/browser/a-operation.d.mts +52 -0
  28. package/dist/browser/a-operation.mjs +5 -0
  29. package/dist/browser/a-operation.mjs.map +1 -0
  30. package/dist/browser/a-polyfill.d.mts +275 -0
  31. package/dist/browser/a-polyfill.mjs +4 -0
  32. package/dist/browser/a-polyfill.mjs.map +1 -0
  33. package/dist/browser/a-route.d.mts +25 -0
  34. package/dist/browser/a-route.mjs +98 -0
  35. package/dist/browser/a-route.mjs.map +1 -0
  36. package/dist/browser/a-schedule.d.mts +111 -0
  37. package/dist/browser/a-schedule.mjs +97 -0
  38. package/dist/browser/a-schedule.mjs.map +1 -0
  39. package/dist/browser/a-service.d.mts +40 -0
  40. package/dist/browser/a-service.mjs +197 -0
  41. package/dist/browser/a-service.mjs.map +1 -0
  42. package/dist/browser/a-signal.d.mts +402 -0
  43. package/dist/browser/a-signal.mjs +588 -0
  44. package/dist/browser/a-signal.mjs.map +1 -0
  45. package/dist/browser/a-state-machine.d.mts +11 -0
  46. package/dist/browser/a-state-machine.mjs +6 -0
  47. package/dist/browser/a-state-machine.mjs.map +1 -0
  48. package/dist/browser/chunk-72ANHWNG.mjs +48 -0
  49. package/dist/browser/chunk-72ANHWNG.mjs.map +1 -0
  50. package/dist/browser/chunk-ECSGFDRQ.mjs +264 -0
  51. package/dist/browser/chunk-ECSGFDRQ.mjs.map +1 -0
  52. package/dist/browser/chunk-EQQGB2QZ.mjs +15 -0
  53. package/dist/browser/chunk-EQQGB2QZ.mjs.map +1 -0
  54. package/dist/browser/chunk-J6CLHXFQ.mjs +679 -0
  55. package/dist/browser/chunk-J6CLHXFQ.mjs.map +1 -0
  56. package/dist/browser/chunk-NLPSQYIQ.mjs +149 -0
  57. package/dist/browser/chunk-NLPSQYIQ.mjs.map +1 -0
  58. package/dist/browser/chunk-TK5UEYMZ.mjs +776 -0
  59. package/dist/browser/chunk-TK5UEYMZ.mjs.map +1 -0
  60. package/dist/browser/chunk-TQ5UON22.mjs +56 -0
  61. package/dist/browser/chunk-TQ5UON22.mjs.map +1 -0
  62. package/dist/node/A-Command.entity-24rvXQLC.d.mts +409 -0
  63. package/dist/node/A-Command.entity-ISgSk8wB.d.ts +409 -0
  64. package/dist/node/A-Manifest.context-D2uynD9t.d.mts +66 -0
  65. package/dist/node/A-Manifest.context-rZnvR17w.d.ts +66 -0
  66. package/dist/node/A-Signal.types-P5VKMKMs.d.mts +114 -0
  67. package/dist/node/A-Signal.types-P5VKMKMs.d.ts +114 -0
  68. package/dist/node/chunk-EQQGB2QZ.mjs +15 -0
  69. package/dist/node/chunk-EQQGB2QZ.mjs.map +1 -0
  70. package/dist/node/constants/errors.constants.d.mts +2 -0
  71. package/dist/node/constants/errors.constants.d.ts +2 -0
  72. package/dist/node/constants/errors.constants.js +4 -0
  73. package/dist/node/constants/errors.constants.js.map +1 -0
  74. package/dist/node/constants/errors.constants.mjs +3 -0
  75. package/dist/node/constants/errors.constants.mjs.map +1 -0
  76. package/dist/node/lib/A-Channel/A-Channel.component.d.mts +365 -0
  77. package/dist/node/lib/A-Channel/A-Channel.component.d.ts +365 -0
  78. package/dist/node/lib/A-Channel/A-Channel.component.js +303 -0
  79. package/dist/node/lib/A-Channel/A-Channel.component.js.map +1 -0
  80. package/dist/node/lib/A-Channel/A-Channel.component.mjs +294 -0
  81. package/dist/node/lib/A-Channel/A-Channel.component.mjs.map +1 -0
  82. package/dist/node/lib/A-Channel/A-Channel.constants.d.mts +68 -0
  83. package/dist/node/lib/A-Channel/A-Channel.constants.d.ts +68 -0
  84. package/dist/node/lib/A-Channel/A-Channel.constants.js +28 -0
  85. package/dist/node/lib/A-Channel/A-Channel.constants.js.map +1 -0
  86. package/dist/node/lib/A-Channel/A-Channel.constants.mjs +27 -0
  87. package/dist/node/lib/A-Channel/A-Channel.constants.mjs.map +1 -0
  88. package/dist/node/lib/A-Channel/A-Channel.error.d.mts +23 -0
  89. package/dist/node/lib/A-Channel/A-Channel.error.d.ts +23 -0
  90. package/dist/node/lib/A-Channel/A-Channel.error.js +36 -0
  91. package/dist/node/lib/A-Channel/A-Channel.error.js.map +1 -0
  92. package/dist/node/lib/A-Channel/A-Channel.error.mjs +35 -0
  93. package/dist/node/lib/A-Channel/A-Channel.error.mjs.map +1 -0
  94. package/dist/node/lib/A-Channel/A-Channel.types.d.mts +2 -0
  95. package/dist/node/lib/A-Channel/A-Channel.types.d.ts +2 -0
  96. package/dist/node/lib/A-Channel/A-Channel.types.js +4 -0
  97. package/dist/node/lib/A-Channel/A-Channel.types.js.map +1 -0
  98. package/dist/node/lib/A-Channel/A-Channel.types.mjs +3 -0
  99. package/dist/node/lib/A-Channel/A-Channel.types.mjs.map +1 -0
  100. package/dist/node/lib/A-Channel/A-ChannelRequest.context.d.mts +17 -0
  101. package/dist/node/lib/A-Channel/A-ChannelRequest.context.d.ts +17 -0
  102. package/dist/node/lib/A-Channel/A-ChannelRequest.context.js +41 -0
  103. package/dist/node/lib/A-Channel/A-ChannelRequest.context.js.map +1 -0
  104. package/dist/node/lib/A-Channel/A-ChannelRequest.context.mjs +34 -0
  105. package/dist/node/lib/A-Channel/A-ChannelRequest.context.mjs.map +1 -0
  106. package/dist/node/lib/A-Channel/index.d.mts +8 -0
  107. package/dist/node/lib/A-Channel/index.d.ts +8 -0
  108. package/dist/node/lib/A-Channel/index.js +36 -0
  109. package/dist/node/lib/A-Channel/index.js.map +1 -0
  110. package/dist/node/lib/A-Channel/index.mjs +8 -0
  111. package/dist/node/lib/A-Channel/index.mjs.map +1 -0
  112. package/dist/node/lib/A-Command/A-Command.constants.d.mts +139 -0
  113. package/dist/node/lib/A-Command/A-Command.constants.d.ts +139 -0
  114. package/dist/node/lib/A-Command/A-Command.constants.js +45 -0
  115. package/dist/node/lib/A-Command/A-Command.constants.js.map +1 -0
  116. package/dist/node/lib/A-Command/A-Command.constants.mjs +42 -0
  117. package/dist/node/lib/A-Command/A-Command.constants.mjs.map +1 -0
  118. package/dist/node/lib/A-Command/A-Command.entity.d.mts +16 -0
  119. package/dist/node/lib/A-Command/A-Command.entity.d.ts +16 -0
  120. package/dist/node/lib/A-Command/A-Command.entity.js +530 -0
  121. package/dist/node/lib/A-Command/A-Command.entity.js.map +1 -0
  122. package/dist/node/lib/A-Command/A-Command.entity.mjs +520 -0
  123. package/dist/node/lib/A-Command/A-Command.entity.mjs.map +1 -0
  124. package/dist/node/lib/A-Command/A-Command.error.d.mts +13 -0
  125. package/dist/node/lib/A-Command/A-Command.error.d.ts +13 -0
  126. package/dist/node/lib/A-Command/A-Command.error.js +17 -0
  127. package/dist/node/lib/A-Command/A-Command.error.js.map +1 -0
  128. package/dist/node/lib/A-Command/A-Command.error.mjs +16 -0
  129. package/dist/node/lib/A-Command/A-Command.error.mjs.map +1 -0
  130. package/dist/node/lib/A-Command/A-Command.types.d.mts +16 -0
  131. package/dist/node/lib/A-Command/A-Command.types.d.ts +16 -0
  132. package/dist/node/lib/A-Command/A-Command.types.js +4 -0
  133. package/dist/node/lib/A-Command/A-Command.types.js.map +1 -0
  134. package/dist/node/lib/A-Command/A-Command.types.mjs +3 -0
  135. package/dist/node/lib/A-Command/A-Command.types.mjs.map +1 -0
  136. package/dist/node/lib/A-Command/index.d.mts +17 -0
  137. package/dist/node/lib/A-Command/index.d.ts +17 -0
  138. package/dist/node/lib/A-Command/index.js +31 -0
  139. package/dist/node/lib/A-Command/index.js.map +1 -0
  140. package/dist/node/lib/A-Command/index.mjs +7 -0
  141. package/dist/node/lib/A-Command/index.mjs.map +1 -0
  142. package/dist/node/lib/A-Config/A-Config.constants.d.mts +5 -0
  143. package/dist/node/lib/A-Config/A-Config.constants.d.ts +5 -0
  144. package/dist/node/lib/A-Config/A-Config.constants.js +9 -0
  145. package/dist/node/lib/A-Config/A-Config.constants.js.map +1 -0
  146. package/dist/node/lib/A-Config/A-Config.constants.mjs +8 -0
  147. package/dist/node/lib/A-Config/A-Config.constants.mjs.map +1 -0
  148. package/dist/node/lib/A-Config/A-Config.container.d.mts +33 -0
  149. package/dist/node/lib/A-Config/A-Config.container.d.ts +33 -0
  150. package/dist/node/lib/A-Config/A-Config.container.js +78 -0
  151. package/dist/node/lib/A-Config/A-Config.container.js.map +1 -0
  152. package/dist/node/lib/A-Config/A-Config.container.mjs +68 -0
  153. package/dist/node/lib/A-Config/A-Config.container.mjs.map +1 -0
  154. package/dist/node/lib/A-Config/A-Config.context.d.mts +42 -0
  155. package/dist/node/lib/A-Config/A-Config.context.d.ts +42 -0
  156. package/dist/node/lib/A-Config/A-Config.context.js +65 -0
  157. package/dist/node/lib/A-Config/A-Config.context.js.map +1 -0
  158. package/dist/node/lib/A-Config/A-Config.context.mjs +58 -0
  159. package/dist/node/lib/A-Config/A-Config.context.mjs.map +1 -0
  160. package/dist/node/lib/A-Config/A-Config.error.d.mts +7 -0
  161. package/dist/node/lib/A-Config/A-Config.error.d.ts +7 -0
  162. package/dist/node/lib/A-Config/A-Config.error.js +11 -0
  163. package/dist/node/lib/A-Config/A-Config.error.js.map +1 -0
  164. package/dist/node/lib/A-Config/A-Config.error.mjs +10 -0
  165. package/dist/node/lib/A-Config/A-Config.error.mjs.map +1 -0
  166. package/dist/node/lib/A-Config/A-Config.types.d.mts +22 -0
  167. package/dist/node/lib/A-Config/A-Config.types.d.ts +22 -0
  168. package/dist/node/lib/A-Config/A-Config.types.js +9 -0
  169. package/dist/node/lib/A-Config/A-Config.types.js.map +1 -0
  170. package/dist/node/lib/A-Config/A-Config.types.mjs +9 -0
  171. package/dist/node/lib/A-Config/A-Config.types.mjs.map +1 -0
  172. package/dist/node/lib/A-Config/components/ConfigReader.component.d.mts +50 -0
  173. package/dist/node/lib/A-Config/components/ConfigReader.component.d.ts +50 -0
  174. package/dist/node/lib/A-Config/components/ConfigReader.component.js +81 -0
  175. package/dist/node/lib/A-Config/components/ConfigReader.component.js.map +1 -0
  176. package/dist/node/lib/A-Config/components/ConfigReader.component.mjs +71 -0
  177. package/dist/node/lib/A-Config/components/ConfigReader.component.mjs.map +1 -0
  178. package/dist/node/lib/A-Config/components/ENVConfigReader.component.d.mts +40 -0
  179. package/dist/node/lib/A-Config/components/ENVConfigReader.component.d.ts +40 -0
  180. package/dist/node/lib/A-Config/components/ENVConfigReader.component.js +69 -0
  181. package/dist/node/lib/A-Config/components/ENVConfigReader.component.js.map +1 -0
  182. package/dist/node/lib/A-Config/components/ENVConfigReader.component.mjs +59 -0
  183. package/dist/node/lib/A-Config/components/ENVConfigReader.component.mjs.map +1 -0
  184. package/dist/node/lib/A-Config/components/FileConfigReader.component.d.mts +40 -0
  185. package/dist/node/lib/A-Config/components/FileConfigReader.component.d.ts +40 -0
  186. package/dist/node/lib/A-Config/components/FileConfigReader.component.js +50 -0
  187. package/dist/node/lib/A-Config/components/FileConfigReader.component.js.map +1 -0
  188. package/dist/node/lib/A-Config/components/FileConfigReader.component.mjs +43 -0
  189. package/dist/node/lib/A-Config/components/FileConfigReader.component.mjs.map +1 -0
  190. package/dist/node/lib/A-Config/index.d.mts +31 -0
  191. package/dist/node/lib/A-Config/index.d.ts +31 -0
  192. package/dist/node/lib/A-Config/index.js +51 -0
  193. package/dist/node/lib/A-Config/index.js.map +1 -0
  194. package/dist/node/lib/A-Config/index.mjs +11 -0
  195. package/dist/node/lib/A-Config/index.mjs.map +1 -0
  196. package/dist/node/lib/A-Execution/A-Execution.context.d.mts +17 -0
  197. package/dist/node/lib/A-Execution/A-Execution.context.d.ts +17 -0
  198. package/dist/node/lib/A-Execution/A-Execution.context.js +63 -0
  199. package/dist/node/lib/A-Execution/A-Execution.context.js.map +1 -0
  200. package/dist/node/lib/A-Execution/A-Execution.context.mjs +56 -0
  201. package/dist/node/lib/A-Execution/A-Execution.context.mjs.map +1 -0
  202. package/dist/node/lib/A-Execution/A-Execution.types.d.mts +2 -0
  203. package/dist/node/lib/A-Execution/A-Execution.types.d.ts +2 -0
  204. package/dist/node/lib/A-Execution/A-Execution.types.js +4 -0
  205. package/dist/node/lib/A-Execution/A-Execution.types.js.map +1 -0
  206. package/dist/node/lib/A-Execution/A-Execution.types.mjs +3 -0
  207. package/dist/node/lib/A-Execution/A-Execution.types.mjs.map +1 -0
  208. package/dist/node/lib/A-Execution/index.d.mts +2 -0
  209. package/dist/node/lib/A-Execution/index.d.ts +2 -0
  210. package/dist/node/lib/A-Execution/index.js +12 -0
  211. package/dist/node/lib/A-Execution/index.js.map +1 -0
  212. package/dist/node/lib/A-Execution/index.mjs +4 -0
  213. package/dist/node/lib/A-Execution/index.mjs.map +1 -0
  214. package/dist/node/lib/A-Logger/A-Logger.component.d.mts +377 -0
  215. package/dist/node/lib/A-Logger/A-Logger.component.d.ts +377 -0
  216. package/dist/node/lib/A-Logger/A-Logger.component.js +623 -0
  217. package/dist/node/lib/A-Logger/A-Logger.component.js.map +1 -0
  218. package/dist/node/lib/A-Logger/A-Logger.component.mjs +615 -0
  219. package/dist/node/lib/A-Logger/A-Logger.component.mjs.map +1 -0
  220. package/dist/node/lib/A-Logger/A-Logger.constants.d.mts +103 -0
  221. package/dist/node/lib/A-Logger/A-Logger.constants.d.ts +103 -0
  222. package/dist/node/lib/A-Logger/A-Logger.constants.js +141 -0
  223. package/dist/node/lib/A-Logger/A-Logger.constants.js.map +1 -0
  224. package/dist/node/lib/A-Logger/A-Logger.constants.mjs +133 -0
  225. package/dist/node/lib/A-Logger/A-Logger.constants.mjs.map +1 -0
  226. package/dist/node/lib/A-Logger/A-Logger.env.d.mts +30 -0
  227. package/dist/node/lib/A-Logger/A-Logger.env.d.ts +30 -0
  228. package/dist/node/lib/A-Logger/A-Logger.env.js +39 -0
  229. package/dist/node/lib/A-Logger/A-Logger.env.js.map +1 -0
  230. package/dist/node/lib/A-Logger/A-Logger.env.mjs +38 -0
  231. package/dist/node/lib/A-Logger/A-Logger.env.mjs.map +1 -0
  232. package/dist/node/lib/A-Logger/A-Logger.types.d.mts +8 -0
  233. package/dist/node/lib/A-Logger/A-Logger.types.d.ts +8 -0
  234. package/dist/node/lib/A-Logger/A-Logger.types.js +4 -0
  235. package/dist/node/lib/A-Logger/A-Logger.types.js.map +1 -0
  236. package/dist/node/lib/A-Logger/A-Logger.types.mjs +3 -0
  237. package/dist/node/lib/A-Logger/A-Logger.types.mjs.map +1 -0
  238. package/dist/node/lib/A-Logger/index.d.mts +9 -0
  239. package/dist/node/lib/A-Logger/index.d.ts +9 -0
  240. package/dist/node/lib/A-Logger/index.js +35 -0
  241. package/dist/node/lib/A-Logger/index.js.map +1 -0
  242. package/dist/node/lib/A-Logger/index.mjs +6 -0
  243. package/dist/node/lib/A-Logger/index.mjs.map +1 -0
  244. package/dist/node/lib/A-Manifest/A-Manifest.context.d.mts +3 -0
  245. package/dist/node/lib/A-Manifest/A-Manifest.context.d.ts +3 -0
  246. package/dist/node/lib/A-Manifest/A-Manifest.context.js +164 -0
  247. package/dist/node/lib/A-Manifest/A-Manifest.context.js.map +1 -0
  248. package/dist/node/lib/A-Manifest/A-Manifest.context.mjs +157 -0
  249. package/dist/node/lib/A-Manifest/A-Manifest.context.mjs.map +1 -0
  250. package/dist/node/lib/A-Manifest/A-Manifest.error.d.mts +7 -0
  251. package/dist/node/lib/A-Manifest/A-Manifest.error.d.ts +7 -0
  252. package/dist/node/lib/A-Manifest/A-Manifest.error.js +11 -0
  253. package/dist/node/lib/A-Manifest/A-Manifest.error.js.map +1 -0
  254. package/dist/node/lib/A-Manifest/A-Manifest.error.mjs +10 -0
  255. package/dist/node/lib/A-Manifest/A-Manifest.error.mjs.map +1 -0
  256. package/dist/node/lib/A-Manifest/A-Manifest.types.d.mts +45 -0
  257. package/dist/node/lib/A-Manifest/A-Manifest.types.d.ts +45 -0
  258. package/dist/node/lib/A-Manifest/A-Manifest.types.js +4 -0
  259. package/dist/node/lib/A-Manifest/A-Manifest.types.js.map +1 -0
  260. package/dist/node/lib/A-Manifest/A-Manifest.types.mjs +3 -0
  261. package/dist/node/lib/A-Manifest/A-Manifest.types.mjs.map +1 -0
  262. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.d.mts +3 -0
  263. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.d.ts +3 -0
  264. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.js +22 -0
  265. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.js.map +1 -0
  266. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.mjs +22 -0
  267. package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.mjs.map +1 -0
  268. package/dist/node/lib/A-Manifest/index.d.mts +4 -0
  269. package/dist/node/lib/A-Manifest/index.d.ts +4 -0
  270. package/dist/node/lib/A-Manifest/index.js +29 -0
  271. package/dist/node/lib/A-Manifest/index.js.map +1 -0
  272. package/dist/node/lib/A-Manifest/index.mjs +7 -0
  273. package/dist/node/lib/A-Manifest/index.mjs.map +1 -0
  274. package/dist/node/lib/A-Memory/A-Memory.component.d.mts +86 -0
  275. package/dist/node/lib/A-Memory/A-Memory.component.d.ts +86 -0
  276. package/dist/node/lib/A-Memory/A-Memory.component.js +335 -0
  277. package/dist/node/lib/A-Memory/A-Memory.component.js.map +1 -0
  278. package/dist/node/lib/A-Memory/A-Memory.component.mjs +325 -0
  279. package/dist/node/lib/A-Memory/A-Memory.component.mjs.map +1 -0
  280. package/dist/node/lib/A-Memory/A-Memory.constants.d.mts +44 -0
  281. package/dist/node/lib/A-Memory/A-Memory.constants.d.ts +44 -0
  282. package/dist/node/lib/A-Memory/A-Memory.constants.js +19 -0
  283. package/dist/node/lib/A-Memory/A-Memory.constants.js.map +1 -0
  284. package/dist/node/lib/A-Memory/A-Memory.constants.mjs +19 -0
  285. package/dist/node/lib/A-Memory/A-Memory.constants.mjs.map +1 -0
  286. package/dist/node/lib/A-Memory/A-Memory.context.d.mts +12 -0
  287. package/dist/node/lib/A-Memory/A-Memory.context.d.ts +12 -0
  288. package/dist/node/lib/A-Memory/A-Memory.context.js +43 -0
  289. package/dist/node/lib/A-Memory/A-Memory.context.js.map +1 -0
  290. package/dist/node/lib/A-Memory/A-Memory.context.mjs +36 -0
  291. package/dist/node/lib/A-Memory/A-Memory.context.mjs.map +1 -0
  292. package/dist/node/lib/A-Memory/A-Memory.error.d.mts +14 -0
  293. package/dist/node/lib/A-Memory/A-Memory.error.d.ts +14 -0
  294. package/dist/node/lib/A-Memory/A-Memory.error.js +18 -0
  295. package/dist/node/lib/A-Memory/A-Memory.error.js.map +1 -0
  296. package/dist/node/lib/A-Memory/A-Memory.error.mjs +17 -0
  297. package/dist/node/lib/A-Memory/A-Memory.error.mjs.map +1 -0
  298. package/dist/node/lib/A-Memory/A-Memory.types.d.mts +24 -0
  299. package/dist/node/lib/A-Memory/A-Memory.types.d.ts +24 -0
  300. package/dist/node/lib/A-Memory/A-Memory.types.js +4 -0
  301. package/dist/node/lib/A-Memory/A-Memory.types.js.map +1 -0
  302. package/dist/node/lib/A-Memory/A-Memory.types.mjs +3 -0
  303. package/dist/node/lib/A-Memory/A-Memory.types.mjs.map +1 -0
  304. package/dist/node/lib/A-Memory/index.d.mts +9 -0
  305. package/dist/node/lib/A-Memory/index.d.ts +9 -0
  306. package/dist/node/lib/A-Memory/index.js +36 -0
  307. package/dist/node/lib/A-Memory/index.js.map +1 -0
  308. package/dist/node/lib/A-Memory/index.mjs +8 -0
  309. package/dist/node/lib/A-Memory/index.mjs.map +1 -0
  310. package/dist/node/lib/A-Operation/A-Operation.context.d.mts +16 -0
  311. package/dist/node/lib/A-Operation/A-Operation.context.d.ts +16 -0
  312. package/dist/node/lib/A-Operation/A-Operation.context.js +55 -0
  313. package/dist/node/lib/A-Operation/A-Operation.context.js.map +1 -0
  314. package/dist/node/lib/A-Operation/A-Operation.context.mjs +48 -0
  315. package/dist/node/lib/A-Operation/A-Operation.context.mjs.map +1 -0
  316. package/dist/node/lib/A-Operation/A-Operation.types.d.mts +40 -0
  317. package/dist/node/lib/A-Operation/A-Operation.types.d.ts +40 -0
  318. package/dist/node/lib/A-Operation/A-Operation.types.js +4 -0
  319. package/dist/node/lib/A-Operation/A-Operation.types.js.map +1 -0
  320. package/dist/node/lib/A-Operation/A-Operation.types.mjs +3 -0
  321. package/dist/node/lib/A-Operation/A-Operation.types.mjs.map +1 -0
  322. package/dist/node/lib/A-Operation/index.d.mts +4 -0
  323. package/dist/node/lib/A-Operation/index.d.ts +4 -0
  324. package/dist/node/lib/A-Operation/index.js +19 -0
  325. package/dist/node/lib/A-Operation/index.js.map +1 -0
  326. package/dist/node/lib/A-Operation/index.mjs +5 -0
  327. package/dist/node/lib/A-Operation/index.mjs.map +1 -0
  328. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.d.mts +108 -0
  329. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.d.ts +108 -0
  330. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.js +163 -0
  331. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.js.map +1 -0
  332. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.mjs +153 -0
  333. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.mjs.map +1 -0
  334. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.d.mts +108 -0
  335. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.d.ts +108 -0
  336. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.js +160 -0
  337. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.js.map +1 -0
  338. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.mjs +150 -0
  339. package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.mjs.map +1 -0
  340. package/dist/node/lib/A-Polyfill/A-Polyfill.types.d.mts +59 -0
  341. package/dist/node/lib/A-Polyfill/A-Polyfill.types.d.ts +59 -0
  342. package/dist/node/lib/A-Polyfill/A-Polyfill.types.js +4 -0
  343. package/dist/node/lib/A-Polyfill/A-Polyfill.types.js.map +1 -0
  344. package/dist/node/lib/A-Polyfill/A-Polyfill.types.mjs +3 -0
  345. package/dist/node/lib/A-Polyfill/A-Polyfill.types.mjs.map +1 -0
  346. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.d.mts +22 -0
  347. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.d.ts +22 -0
  348. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.js +30 -0
  349. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.js.map +1 -0
  350. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.mjs +30 -0
  351. package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.mjs.map +1 -0
  352. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.d.mts +23 -0
  353. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.d.ts +23 -0
  354. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.js +31 -0
  355. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.js.map +1 -0
  356. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.mjs +31 -0
  357. package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.mjs.map +1 -0
  358. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.d.mts +22 -0
  359. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.d.ts +22 -0
  360. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.js +30 -0
  361. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.js.map +1 -0
  362. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.mjs +30 -0
  363. package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.mjs.map +1 -0
  364. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.d.mts +22 -0
  365. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.d.ts +22 -0
  366. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.js +30 -0
  367. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.js.map +1 -0
  368. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.mjs +30 -0
  369. package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.mjs.map +1 -0
  370. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.d.mts +22 -0
  371. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.d.ts +22 -0
  372. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.js +30 -0
  373. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.js.map +1 -0
  374. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.mjs +30 -0
  375. package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.mjs.map +1 -0
  376. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.d.mts +22 -0
  377. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.d.ts +22 -0
  378. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.js +30 -0
  379. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.js.map +1 -0
  380. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.mjs +30 -0
  381. package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.mjs.map +1 -0
  382. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.d.mts +22 -0
  383. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.d.ts +22 -0
  384. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.js +30 -0
  385. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.js.map +1 -0
  386. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.mjs +30 -0
  387. package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.mjs.map +1 -0
  388. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.d.mts +22 -0
  389. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.d.ts +22 -0
  390. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.js +30 -0
  391. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.js.map +1 -0
  392. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.mjs +30 -0
  393. package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.mjs.map +1 -0
  394. package/dist/node/lib/A-Polyfill/base/index.d.mts +17 -0
  395. package/dist/node/lib/A-Polyfill/base/index.d.ts +17 -0
  396. package/dist/node/lib/A-Polyfill/base/index.js +47 -0
  397. package/dist/node/lib/A-Polyfill/base/index.js.map +1 -0
  398. package/dist/node/lib/A-Polyfill/base/index.mjs +11 -0
  399. package/dist/node/lib/A-Polyfill/base/index.mjs.map +1 -0
  400. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.d.mts +17 -0
  401. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.d.ts +17 -0
  402. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.js +46 -0
  403. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.js.map +1 -0
  404. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.mjs +45 -0
  405. package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.mjs.map +1 -0
  406. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.d.mts +17 -0
  407. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.d.ts +17 -0
  408. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.js +36 -0
  409. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.js.map +1 -0
  410. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.mjs +35 -0
  411. package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.mjs.map +1 -0
  412. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.d.mts +17 -0
  413. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.d.ts +17 -0
  414. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.js +29 -0
  415. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.js.map +1 -0
  416. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.mjs +28 -0
  417. package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.mjs.map +1 -0
  418. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.d.mts +18 -0
  419. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.d.ts +18 -0
  420. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.js +58 -0
  421. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.js.map +1 -0
  422. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.mjs +57 -0
  423. package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.mjs.map +1 -0
  424. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.d.mts +18 -0
  425. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.d.ts +18 -0
  426. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.js +58 -0
  427. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.js.map +1 -0
  428. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.mjs +57 -0
  429. package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.mjs.map +1 -0
  430. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.d.mts +17 -0
  431. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.d.ts +17 -0
  432. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.js +64 -0
  433. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.js.map +1 -0
  434. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.mjs +63 -0
  435. package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.mjs.map +1 -0
  436. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.d.mts +17 -0
  437. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.d.ts +17 -0
  438. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.js +33 -0
  439. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.js.map +1 -0
  440. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.mjs +32 -0
  441. package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.mjs.map +1 -0
  442. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.d.mts +17 -0
  443. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.d.ts +17 -0
  444. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.js +50 -0
  445. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.js.map +1 -0
  446. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.mjs +49 -0
  447. package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.mjs.map +1 -0
  448. package/dist/node/lib/A-Polyfill/browser/index.d.mts +23 -0
  449. package/dist/node/lib/A-Polyfill/browser/index.d.ts +23 -0
  450. package/dist/node/lib/A-Polyfill/browser/index.js +56 -0
  451. package/dist/node/lib/A-Polyfill/browser/index.js.map +1 -0
  452. package/dist/node/lib/A-Polyfill/browser/index.mjs +9 -0
  453. package/dist/node/lib/A-Polyfill/browser/index.mjs.map +1 -0
  454. package/dist/node/lib/A-Polyfill/index.browser.d.mts +26 -0
  455. package/dist/node/lib/A-Polyfill/index.browser.d.ts +26 -0
  456. package/dist/node/lib/A-Polyfill/index.browser.js +33 -0
  457. package/dist/node/lib/A-Polyfill/index.browser.js.map +1 -0
  458. package/dist/node/lib/A-Polyfill/index.browser.mjs +7 -0
  459. package/dist/node/lib/A-Polyfill/index.browser.mjs.map +1 -0
  460. package/dist/node/lib/A-Polyfill/index.node.d.mts +26 -0
  461. package/dist/node/lib/A-Polyfill/index.node.d.ts +26 -0
  462. package/dist/node/lib/A-Polyfill/index.node.js +33 -0
  463. package/dist/node/lib/A-Polyfill/index.node.js.map +1 -0
  464. package/dist/node/lib/A-Polyfill/index.node.mjs +7 -0
  465. package/dist/node/lib/A-Polyfill/index.node.mjs.map +1 -0
  466. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.d.mts +17 -0
  467. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.d.ts +17 -0
  468. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.js +27 -0
  469. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.js.map +1 -0
  470. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.mjs +22 -0
  471. package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.mjs.map +1 -0
  472. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.d.mts +17 -0
  473. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.d.ts +17 -0
  474. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.js +39 -0
  475. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.js.map +1 -0
  476. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.mjs +34 -0
  477. package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.mjs.map +1 -0
  478. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.d.mts +17 -0
  479. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.d.ts +17 -0
  480. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.js +21 -0
  481. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.js.map +1 -0
  482. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.mjs +16 -0
  483. package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.mjs.map +1 -0
  484. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.d.mts +17 -0
  485. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.d.ts +17 -0
  486. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.js +25 -0
  487. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.js.map +1 -0
  488. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.mjs +20 -0
  489. package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.mjs.map +1 -0
  490. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.d.mts +17 -0
  491. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.d.ts +17 -0
  492. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.js +25 -0
  493. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.js.map +1 -0
  494. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.mjs +20 -0
  495. package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.mjs.map +1 -0
  496. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.d.mts +17 -0
  497. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.d.ts +17 -0
  498. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.js +34 -0
  499. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.js.map +1 -0
  500. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.mjs +29 -0
  501. package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.mjs.map +1 -0
  502. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.d.mts +17 -0
  503. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.d.ts +17 -0
  504. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.js +25 -0
  505. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.js.map +1 -0
  506. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.mjs +24 -0
  507. package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.mjs.map +1 -0
  508. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.d.mts +17 -0
  509. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.d.ts +17 -0
  510. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.js +27 -0
  511. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.js.map +1 -0
  512. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.mjs +22 -0
  513. package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.mjs.map +1 -0
  514. package/dist/node/lib/A-Polyfill/node/index.d.mts +23 -0
  515. package/dist/node/lib/A-Polyfill/node/index.d.ts +23 -0
  516. package/dist/node/lib/A-Polyfill/node/index.js +56 -0
  517. package/dist/node/lib/A-Polyfill/node/index.js.map +1 -0
  518. package/dist/node/lib/A-Polyfill/node/index.mjs +9 -0
  519. package/dist/node/lib/A-Polyfill/node/index.mjs.map +1 -0
  520. package/dist/node/lib/A-Route/A-Route.entity.d.mts +25 -0
  521. package/dist/node/lib/A-Route/A-Route.entity.d.ts +25 -0
  522. package/dist/node/lib/A-Route/A-Route.entity.js +105 -0
  523. package/dist/node/lib/A-Route/A-Route.entity.js.map +1 -0
  524. package/dist/node/lib/A-Route/A-Route.entity.mjs +98 -0
  525. package/dist/node/lib/A-Route/A-Route.entity.mjs.map +1 -0
  526. package/dist/node/lib/A-Route/A-Route.types.d.mts +2 -0
  527. package/dist/node/lib/A-Route/A-Route.types.d.ts +2 -0
  528. package/dist/node/lib/A-Route/A-Route.types.js +4 -0
  529. package/dist/node/lib/A-Route/A-Route.types.js.map +1 -0
  530. package/dist/node/lib/A-Route/A-Route.types.mjs +3 -0
  531. package/dist/node/lib/A-Route/A-Route.types.mjs.map +1 -0
  532. package/dist/node/lib/A-Route/index.d.mts +2 -0
  533. package/dist/node/lib/A-Route/index.d.ts +2 -0
  534. package/dist/node/lib/A-Route/index.js +12 -0
  535. package/dist/node/lib/A-Route/index.js.map +1 -0
  536. package/dist/node/lib/A-Route/index.mjs +4 -0
  537. package/dist/node/lib/A-Route/index.mjs.map +1 -0
  538. package/dist/node/lib/A-Schedule/A-Deferred.class.d.mts +14 -0
  539. package/dist/node/lib/A-Schedule/A-Deferred.class.d.ts +14 -0
  540. package/dist/node/lib/A-Schedule/A-Deferred.class.js +24 -0
  541. package/dist/node/lib/A-Schedule/A-Deferred.class.js.map +1 -0
  542. package/dist/node/lib/A-Schedule/A-Deferred.class.mjs +24 -0
  543. package/dist/node/lib/A-Schedule/A-Deferred.class.mjs.map +1 -0
  544. package/dist/node/lib/A-Schedule/A-Schedule.component.d.mts +60 -0
  545. package/dist/node/lib/A-Schedule/A-Schedule.component.d.ts +60 -0
  546. package/dist/node/lib/A-Schedule/A-Schedule.component.js +46 -0
  547. package/dist/node/lib/A-Schedule/A-Schedule.component.js.map +1 -0
  548. package/dist/node/lib/A-Schedule/A-Schedule.component.mjs +39 -0
  549. package/dist/node/lib/A-Schedule/A-Schedule.component.mjs.map +1 -0
  550. package/dist/node/lib/A-Schedule/A-Schedule.types.d.mts +12 -0
  551. package/dist/node/lib/A-Schedule/A-Schedule.types.d.ts +12 -0
  552. package/dist/node/lib/A-Schedule/A-Schedule.types.js +4 -0
  553. package/dist/node/lib/A-Schedule/A-Schedule.types.js.map +1 -0
  554. package/dist/node/lib/A-Schedule/A-Schedule.types.mjs +3 -0
  555. package/dist/node/lib/A-Schedule/A-Schedule.types.mjs.map +1 -0
  556. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.d.mts +32 -0
  557. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.d.ts +32 -0
  558. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.js +49 -0
  559. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.js.map +1 -0
  560. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.mjs +48 -0
  561. package/dist/node/lib/A-Schedule/A-ScheduleObject.class.mjs.map +1 -0
  562. package/dist/node/lib/A-Schedule/index.d.mts +5 -0
  563. package/dist/node/lib/A-Schedule/index.d.ts +5 -0
  564. package/dist/node/lib/A-Schedule/index.js +29 -0
  565. package/dist/node/lib/A-Schedule/index.js.map +1 -0
  566. package/dist/node/lib/A-Schedule/index.mjs +7 -0
  567. package/dist/node/lib/A-Schedule/index.mjs.map +1 -0
  568. package/dist/node/lib/A-Service/A-Service.constants.d.mts +14 -0
  569. package/dist/node/lib/A-Service/A-Service.constants.d.ts +14 -0
  570. package/dist/node/lib/A-Service/A-Service.constants.js +19 -0
  571. package/dist/node/lib/A-Service/A-Service.constants.js.map +1 -0
  572. package/dist/node/lib/A-Service/A-Service.constants.mjs +19 -0
  573. package/dist/node/lib/A-Service/A-Service.constants.mjs.map +1 -0
  574. package/dist/node/lib/A-Service/A-Service.container.d.mts +50 -0
  575. package/dist/node/lib/A-Service/A-Service.container.d.ts +50 -0
  576. package/dist/node/lib/A-Service/A-Service.container.js +188 -0
  577. package/dist/node/lib/A-Service/A-Service.container.js.map +1 -0
  578. package/dist/node/lib/A-Service/A-Service.container.mjs +178 -0
  579. package/dist/node/lib/A-Service/A-Service.container.mjs.map +1 -0
  580. package/dist/node/lib/A-Service/A-Service.error.d.mts +9 -0
  581. package/dist/node/lib/A-Service/A-Service.error.d.ts +9 -0
  582. package/dist/node/lib/A-Service/A-Service.error.js +13 -0
  583. package/dist/node/lib/A-Service/A-Service.error.js.map +1 -0
  584. package/dist/node/lib/A-Service/A-Service.error.mjs +12 -0
  585. package/dist/node/lib/A-Service/A-Service.error.mjs.map +1 -0
  586. package/dist/node/lib/A-Service/A-Service.types.d.mts +27 -0
  587. package/dist/node/lib/A-Service/A-Service.types.d.ts +27 -0
  588. package/dist/node/lib/A-Service/A-Service.types.js +16 -0
  589. package/dist/node/lib/A-Service/A-Service.types.js.map +1 -0
  590. package/dist/node/lib/A-Service/A-Service.types.mjs +16 -0
  591. package/dist/node/lib/A-Service/A-Service.types.mjs.map +1 -0
  592. package/dist/node/lib/A-Service/index.d.mts +28 -0
  593. package/dist/node/lib/A-Service/index.d.ts +28 -0
  594. package/dist/node/lib/A-Service/index.js +19 -0
  595. package/dist/node/lib/A-Service/index.js.map +1 -0
  596. package/dist/node/lib/A-Service/index.mjs +5 -0
  597. package/dist/node/lib/A-Service/index.mjs.map +1 -0
  598. package/dist/node/lib/A-Signal/A-Signal.constants.d.mts +2 -0
  599. package/dist/node/lib/A-Signal/A-Signal.constants.d.ts +2 -0
  600. package/dist/node/lib/A-Signal/A-Signal.constants.js +4 -0
  601. package/dist/node/lib/A-Signal/A-Signal.constants.js.map +1 -0
  602. package/dist/node/lib/A-Signal/A-Signal.constants.mjs +3 -0
  603. package/dist/node/lib/A-Signal/A-Signal.constants.mjs.map +1 -0
  604. package/dist/node/lib/A-Signal/A-Signal.error.d.mts +2 -0
  605. package/dist/node/lib/A-Signal/A-Signal.error.d.ts +2 -0
  606. package/dist/node/lib/A-Signal/A-Signal.error.js +4 -0
  607. package/dist/node/lib/A-Signal/A-Signal.error.js.map +1 -0
  608. package/dist/node/lib/A-Signal/A-Signal.error.mjs +3 -0
  609. package/dist/node/lib/A-Signal/A-Signal.error.mjs.map +1 -0
  610. package/dist/node/lib/A-Signal/A-Signal.types.d.mts +2 -0
  611. package/dist/node/lib/A-Signal/A-Signal.types.d.ts +2 -0
  612. package/dist/node/lib/A-Signal/A-Signal.types.js +4 -0
  613. package/dist/node/lib/A-Signal/A-Signal.types.js.map +1 -0
  614. package/dist/node/lib/A-Signal/A-Signal.types.mjs +3 -0
  615. package/dist/node/lib/A-Signal/A-Signal.types.mjs.map +1 -0
  616. package/dist/node/lib/A-Signal/components/A-SignalBus.component.d.mts +44 -0
  617. package/dist/node/lib/A-Signal/components/A-SignalBus.component.d.ts +44 -0
  618. package/dist/node/lib/A-Signal/components/A-SignalBus.component.js +132 -0
  619. package/dist/node/lib/A-Signal/components/A-SignalBus.component.js.map +1 -0
  620. package/dist/node/lib/A-Signal/components/A-SignalBus.component.mjs +122 -0
  621. package/dist/node/lib/A-Signal/components/A-SignalBus.component.mjs.map +1 -0
  622. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.d.mts +7 -0
  623. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.d.ts +7 -0
  624. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.js +12 -0
  625. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.js.map +1 -0
  626. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.mjs +12 -0
  627. package/dist/node/lib/A-Signal/components/A-SignalBus.constants.mjs.map +1 -0
  628. package/dist/node/lib/A-Signal/components/A-SignalBus.error.d.mts +7 -0
  629. package/dist/node/lib/A-Signal/components/A-SignalBus.error.d.ts +7 -0
  630. package/dist/node/lib/A-Signal/components/A-SignalBus.error.js +11 -0
  631. package/dist/node/lib/A-Signal/components/A-SignalBus.error.js.map +1 -0
  632. package/dist/node/lib/A-Signal/components/A-SignalBus.error.mjs +10 -0
  633. package/dist/node/lib/A-Signal/components/A-SignalBus.error.mjs.map +1 -0
  634. package/dist/node/lib/A-Signal/components/A-SignalBus.types.d.mts +2 -0
  635. package/dist/node/lib/A-Signal/components/A-SignalBus.types.d.ts +2 -0
  636. package/dist/node/lib/A-Signal/components/A-SignalBus.types.js +4 -0
  637. package/dist/node/lib/A-Signal/components/A-SignalBus.types.js.map +1 -0
  638. package/dist/node/lib/A-Signal/components/A-SignalBus.types.mjs +3 -0
  639. package/dist/node/lib/A-Signal/components/A-SignalBus.types.mjs.map +1 -0
  640. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.d.mts +36 -0
  641. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.d.ts +36 -0
  642. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.js +68 -0
  643. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.js.map +1 -0
  644. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.mjs +61 -0
  645. package/dist/node/lib/A-Signal/context/A-SignalConfig.context.mjs.map +1 -0
  646. package/dist/node/lib/A-Signal/context/A-SignalState.context.d.mts +111 -0
  647. package/dist/node/lib/A-Signal/context/A-SignalState.context.d.ts +111 -0
  648. package/dist/node/lib/A-Signal/context/A-SignalState.context.js +114 -0
  649. package/dist/node/lib/A-Signal/context/A-SignalState.context.js.map +1 -0
  650. package/dist/node/lib/A-Signal/context/A-SignalState.context.mjs +107 -0
  651. package/dist/node/lib/A-Signal/context/A-SignalState.context.mjs.map +1 -0
  652. package/dist/node/lib/A-Signal/entities/A-Signal.entity.d.mts +2 -0
  653. package/dist/node/lib/A-Signal/entities/A-Signal.entity.d.ts +2 -0
  654. package/dist/node/lib/A-Signal/entities/A-Signal.entity.js +120 -0
  655. package/dist/node/lib/A-Signal/entities/A-Signal.entity.js.map +1 -0
  656. package/dist/node/lib/A-Signal/entities/A-Signal.entity.mjs +113 -0
  657. package/dist/node/lib/A-Signal/entities/A-Signal.entity.mjs.map +1 -0
  658. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.d.mts +113 -0
  659. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.d.ts +113 -0
  660. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.js +217 -0
  661. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.js.map +1 -0
  662. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.mjs +210 -0
  663. package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.mjs.map +1 -0
  664. package/dist/node/lib/A-Signal/index.d.mts +15 -0
  665. package/dist/node/lib/A-Signal/index.d.ts +15 -0
  666. package/dist/node/lib/A-Signal/index.js +51 -0
  667. package/dist/node/lib/A-Signal/index.js.map +1 -0
  668. package/dist/node/lib/A-Signal/index.mjs +11 -0
  669. package/dist/node/lib/A-Signal/index.mjs.map +1 -0
  670. package/dist/node/lib/A-StateMachine/A-StateMachine.component.d.mts +180 -0
  671. package/dist/node/lib/A-StateMachine/A-StateMachine.component.d.ts +180 -0
  672. package/dist/node/lib/A-StateMachine/A-StateMachine.component.js +119 -0
  673. package/dist/node/lib/A-StateMachine/A-StateMachine.component.js.map +1 -0
  674. package/dist/node/lib/A-StateMachine/A-StateMachine.component.mjs +110 -0
  675. package/dist/node/lib/A-StateMachine/A-StateMachine.component.mjs.map +1 -0
  676. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.d.mts +20 -0
  677. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.d.ts +20 -0
  678. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.js +13 -0
  679. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.js.map +1 -0
  680. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.mjs +13 -0
  681. package/dist/node/lib/A-StateMachine/A-StateMachine.constants.mjs.map +1 -0
  682. package/dist/node/lib/A-StateMachine/A-StateMachine.error.d.mts +8 -0
  683. package/dist/node/lib/A-StateMachine/A-StateMachine.error.d.ts +8 -0
  684. package/dist/node/lib/A-StateMachine/A-StateMachine.error.js +12 -0
  685. package/dist/node/lib/A-StateMachine/A-StateMachine.error.js.map +1 -0
  686. package/dist/node/lib/A-StateMachine/A-StateMachine.error.mjs +11 -0
  687. package/dist/node/lib/A-StateMachine/A-StateMachine.error.mjs.map +1 -0
  688. package/dist/node/lib/A-StateMachine/A-StateMachine.types.d.mts +14 -0
  689. package/dist/node/lib/A-StateMachine/A-StateMachine.types.d.ts +14 -0
  690. package/dist/node/lib/A-StateMachine/A-StateMachine.types.js +4 -0
  691. package/dist/node/lib/A-StateMachine/A-StateMachine.types.js.map +1 -0
  692. package/dist/node/lib/A-StateMachine/A-StateMachine.types.mjs +3 -0
  693. package/dist/node/lib/A-StateMachine/A-StateMachine.types.mjs.map +1 -0
  694. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.d.mts +19 -0
  695. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.d.ts +19 -0
  696. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.js +43 -0
  697. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.js.map +1 -0
  698. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.mjs +36 -0
  699. package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.mjs.map +1 -0
  700. package/dist/node/lib/A-StateMachine/index.d.mts +9 -0
  701. package/dist/node/lib/A-StateMachine/index.d.ts +9 -0
  702. package/dist/node/lib/A-StateMachine/index.js +36 -0
  703. package/dist/node/lib/A-StateMachine/index.js.map +1 -0
  704. package/dist/node/lib/A-StateMachine/index.mjs +8 -0
  705. package/dist/node/lib/A-StateMachine/index.mjs.map +1 -0
  706. package/examples/A-Logger-examples.ts +1 -2
  707. package/jest.config.ts +20 -7
  708. package/package.json +232 -15
  709. package/src/lib/A-Channel/A-Channel.component.ts +1 -1
  710. package/src/lib/A-Channel/A-Channel.error.ts +1 -1
  711. package/src/lib/A-Channel/A-Channel.types.ts +0 -3
  712. package/src/lib/A-Channel/A-ChannelRequest.context.ts +1 -1
  713. package/src/lib/A-Channel/index.ts +6 -0
  714. package/src/lib/A-Command/A-Command.entity.ts +3 -5
  715. package/src/lib/A-Command/index.ts +5 -0
  716. package/src/lib/A-Config/A-Config.container.ts +3 -4
  717. package/src/lib/A-Config/A-Config.context.ts +1 -1
  718. package/src/lib/A-Config/components/ConfigReader.component.ts +10 -21
  719. package/src/lib/A-Config/components/ENVConfigReader.component.ts +13 -12
  720. package/src/lib/A-Config/index.ts +9 -0
  721. package/src/lib/A-Execution/index.ts +3 -0
  722. package/src/lib/A-Logger/A-Logger.component.ts +3 -1
  723. package/src/lib/A-Logger/index.ts +5 -0
  724. package/src/lib/A-Manifest/index.ts +5 -0
  725. package/src/lib/A-Memory/A-Memory.component.ts +1 -1
  726. package/src/lib/A-Memory/A-Memory.types.ts +1 -1
  727. package/src/lib/A-Memory/index.ts +6 -0
  728. package/src/lib/A-Operation/A-Operation.context.ts +1 -1
  729. package/src/lib/A-Operation/index.ts +3 -0
  730. package/src/lib/A-Polyfill/{A-Polyfill.component.ts → A-Polyfill.component.env-browser.ts} +26 -27
  731. package/src/lib/A-Polyfill/A-Polyfill.component.env-node.ts +184 -0
  732. package/src/lib/A-Polyfill/base/A-Buffer-Polyfill.base.ts +34 -0
  733. package/src/lib/A-Polyfill/base/A-Crypto-Polyfill.base.ts +36 -0
  734. package/src/lib/A-Polyfill/base/A-FS-Polyfill.base.ts +34 -0
  735. package/src/lib/A-Polyfill/base/A-Http-Polyfill.base.ts +34 -0
  736. package/src/lib/A-Polyfill/base/A-Https-Polyfill.base.ts +34 -0
  737. package/src/lib/A-Polyfill/base/A-Path-Polyfill.base.ts +34 -0
  738. package/src/lib/A-Polyfill/base/A-Process-Polyfill.base.ts +34 -0
  739. package/src/lib/A-Polyfill/base/A-Url-Polyfill.base.ts +34 -0
  740. package/src/lib/A-Polyfill/base/index.ts +9 -0
  741. package/src/lib/A-Polyfill/browser/A-Buffer-Polyfill.ts +42 -0
  742. package/src/lib/A-Polyfill/browser/A-Crypto-Polyfill.ts +32 -0
  743. package/src/lib/A-Polyfill/browser/A-FS-Polyfill.ts +25 -0
  744. package/src/lib/A-Polyfill/{classes/A-Http-Polyfill.class.ts → browser/A-Http-Polyfill.ts} +6 -46
  745. package/src/lib/A-Polyfill/{classes/A-Https-Polyfill.class.ts → browser/A-Https-Polyfill.ts} +6 -46
  746. package/src/lib/A-Polyfill/{classes/A-Path-Polyfill.class.ts → browser/A-Path-Polyfill.ts} +6 -42
  747. package/src/lib/A-Polyfill/browser/A-Process-Polyfill.ts +29 -0
  748. package/src/lib/A-Polyfill/browser/A-Url-Polyfill.ts +46 -0
  749. package/src/lib/A-Polyfill/browser/index.ts +8 -0
  750. package/src/lib/A-Polyfill/index.browser.ts +5 -0
  751. package/src/lib/A-Polyfill/index.node.ts +5 -0
  752. package/src/lib/A-Polyfill/node/A-Buffer-Polyfill.ts +19 -0
  753. package/src/lib/A-Polyfill/node/A-Crypto-Polyfill.ts +31 -0
  754. package/src/lib/A-Polyfill/node/A-FS-Polyfill.ts +14 -0
  755. package/src/lib/A-Polyfill/node/A-Http-Polyfill.ts +17 -0
  756. package/src/lib/A-Polyfill/node/A-Https-Polyfill.ts +18 -0
  757. package/src/lib/A-Polyfill/node/A-Path-Polyfill.ts +27 -0
  758. package/src/lib/A-Polyfill/node/A-Process-Polyfill.ts +21 -0
  759. package/src/lib/A-Polyfill/node/A-Url-Polyfill.ts +19 -0
  760. package/src/lib/A-Polyfill/node/index.ts +8 -0
  761. package/src/lib/A-Route/index.ts +3 -0
  762. package/src/lib/A-Schedule/index.ts +5 -0
  763. package/src/lib/A-Service/A-Service.container.ts +2 -4
  764. package/src/lib/A-Service/index.ts +4 -0
  765. package/src/lib/A-Signal/components/A-SignalBus.component.ts +2 -2
  766. package/src/lib/A-Signal/index.ts +11 -0
  767. package/src/lib/A-StateMachine/A-StateMachine.types.ts +1 -1
  768. package/src/lib/A-StateMachine/A-StateMachineTransition.context.ts +1 -1
  769. package/src/lib/A-StateMachine/index.ts +6 -0
  770. package/tests/A-Channel.test.ts +3 -5
  771. package/tests/A-Command.test.ts +4 -9
  772. package/tests/A-Config.test.ts +8 -7
  773. package/tests/A-Logger.test.ts +1 -3
  774. package/tests/A-Manifest.test.ts +1 -1
  775. package/tests/A-Memory.test.ts +1 -3
  776. package/tests/A-Polyfill.test.ts +2 -2
  777. package/tests/A-Route.test.ts +1 -3
  778. package/tests/A-Schedule.test.ts +1 -1
  779. package/tests/A-Signal.test.ts +1 -5
  780. package/tests/A-StateMachine.test.ts +2 -5
  781. package/tests/main.test.ts +30 -0
  782. package/tsconfig.json +39 -57
  783. package/tsup.config.ts +94 -28
  784. package/dist/index.cjs +0 -35
  785. package/dist/index.cjs.map +0 -1
  786. package/dist/index.d.mts +0 -2976
  787. package/dist/index.d.ts +0 -2976
  788. package/dist/index.mjs +0 -35
  789. package/dist/index.mjs.map +0 -1
  790. package/src/index.ts +0 -124
  791. package/src/lib/A-Polyfill/classes/A-Buffer-Polyfill.class.ts +0 -85
  792. package/src/lib/A-Polyfill/classes/A-Crypto-Polyfill.class.ts +0 -87
  793. package/src/lib/A-Polyfill/classes/A-FS-Polyfill.class.ts +0 -61
  794. package/src/lib/A-Polyfill/classes/A-Process-Polyfill.class.ts +0 -73
  795. package/src/lib/A-Polyfill/classes/A-Url-Polyfill.class.ts +0 -88
@@ -0,0 +1,221 @@
1
+ import { A_Component } from '@adaas/a-concept';
2
+ import { A_Operation_Storage, A_OperationContext } from './a-operation.mjs';
3
+
4
+ declare enum A_StateMachineFeatures {
5
+ /**
6
+ * Allows to extend error handling logic and behavior
7
+ */
8
+ onError = "_A_StateMachine_onError",
9
+ /**
10
+ * Allows to extend initialization logic and behavior
11
+ */
12
+ onInitialize = "_A_StateMachine_onInitialize",
13
+ /**
14
+ * Allows to extend transition validation logic and behavior
15
+ */
16
+ onBeforeTransition = "_A_StateMachine_onBeforeTransition",
17
+ /**
18
+ * Allows to extend post-transition logic and behavior
19
+ */
20
+ onAfterTransition = "_A_StateMachine_onAfterTransition"
21
+ }
22
+
23
+ /**
24
+ * A_StateMachine is a powerful state machine implementation that allows you to define and manage
25
+ * complex state transitions with validation, hooks, and error handling.
26
+ *
27
+ * @template T - A record type defining the state transitions and their associated data types.
28
+ * Each key represents a state name, and the value represents the data type for that state.
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * interface OrderStates {
33
+ * pending: { orderId: string };
34
+ * processing: { orderId: string; processedBy: string };
35
+ * completed: { orderId: string; completedAt: Date };
36
+ * cancelled: { orderId: string; reason: string };
37
+ * }
38
+ *
39
+ * class OrderStateMachine extends A_StateMachine<OrderStates> {
40
+ * // Define custom transition logic
41
+ * async pending_processing(scope: A_Scope) {
42
+ * const operation = scope.resolve(A_StateMachineTransition)!;
43
+ * const { orderId } = operation.props;
44
+ * // Custom validation and business logic
45
+ * }
46
+ * }
47
+ * ```
48
+ */
49
+ declare class A_StateMachine<T extends Record<string, any> = Record<string, any>> extends A_Component {
50
+ /**
51
+ * Internal promise that tracks the initialization state of the state machine.
52
+ * Used to ensure the state machine is properly initialized before allowing transitions.
53
+ */
54
+ protected _initialized?: Promise<void>;
55
+ /**
56
+ * Gets a promise that resolves when the state machine is fully initialized and ready for transitions.
57
+ * This ensures that all initialization hooks have been executed before allowing state transitions.
58
+ *
59
+ * @returns Promise<void> that resolves when initialization is complete
60
+ *
61
+ * @example
62
+ * ```typescript
63
+ * const stateMachine = new MyStateMachine();
64
+ * await stateMachine.ready; // Wait for initialization
65
+ * await stateMachine.transition('idle', 'running');
66
+ * ```
67
+ */
68
+ get ready(): Promise<void>;
69
+ /**
70
+ * Initialization hook that runs when the state machine is first created.
71
+ * This method can be extended to add custom initialization logic.
72
+ *
73
+ * @param args - Variable arguments passed during initialization
74
+ * @returns Promise<void>
75
+ *
76
+ * @example
77
+ * ```typescript
78
+ * class MyStateMachine extends A_StateMachine {
79
+ * @A_Feature.Extend()
80
+ * async [A_StateMachineFeatures.onInitialize]() {
81
+ * // Custom initialization logic
82
+ * console.log('State machine initialized');
83
+ * }
84
+ * }
85
+ * ```
86
+ */
87
+ [A_StateMachineFeatures.onInitialize](...args: any[]): Promise<void>;
88
+ /**
89
+ * Hook that runs before any state transition occurs.
90
+ * Use this to add validation, logging, or preparation logic that should run for all transitions.
91
+ *
92
+ * @param args - Variable arguments, typically includes the transition scope
93
+ * @returns Promise<void>
94
+ *
95
+ * @example
96
+ * ```typescript
97
+ * class MyStateMachine extends A_StateMachine {
98
+ * @A_Feature.Extend()
99
+ * async [A_StateMachineFeatures.onBeforeTransition](scope: A_Scope) {
100
+ * const operation = scope.resolve(A_StateMachineTransition)!;
101
+ * console.log(`Transitioning from ${operation.props.from} to ${operation.props.to}`);
102
+ * }
103
+ * }
104
+ * ```
105
+ */
106
+ [A_StateMachineFeatures.onBeforeTransition](...args: any[]): Promise<void>;
107
+ /**
108
+ * Hook that runs after a successful state transition.
109
+ * Use this to add cleanup, logging, or post-transition logic that should run for all transitions.
110
+ *
111
+ * @param args - Variable arguments, typically includes the transition scope
112
+ * @returns Promise<void>
113
+ *
114
+ * @example
115
+ * ```typescript
116
+ * class MyStateMachine extends A_StateMachine {
117
+ * @A_Feature.Extend()
118
+ * async [A_StateMachineFeatures.onAfterTransition](scope: A_Scope) {
119
+ * const operation = scope.resolve(A_StateMachineTransition)!;
120
+ * console.log(`Successfully transitioned to ${operation.props.to}`);
121
+ * }
122
+ * }
123
+ * ```
124
+ */
125
+ [A_StateMachineFeatures.onAfterTransition](...args: any[]): Promise<void>;
126
+ /**
127
+ * Error handling hook that runs when a transition fails.
128
+ * Use this to add custom error handling, logging, or recovery logic.
129
+ *
130
+ * @param args - Variable arguments, typically includes the error scope
131
+ * @returns Promise<void>
132
+ *
133
+ * @example
134
+ * ```typescript
135
+ * class MyStateMachine extends A_StateMachine {
136
+ * @A_Feature.Extend()
137
+ * async [A_StateMachineFeatures.onError](scope: A_Scope) {
138
+ * const error = scope.resolve(A_StateMachineError);
139
+ * console.error('Transition failed:', error?.message);
140
+ * }
141
+ * }
142
+ * ```
143
+ */
144
+ [A_StateMachineFeatures.onError](...args: any[]): Promise<void>;
145
+ /**
146
+ * Executes a state transition from one state to another.
147
+ * This is the core method of the state machine that handles the complete transition lifecycle.
148
+ *
149
+ * @param from - The state to transition from (must be a key of T)
150
+ * @param to - The state to transition to (must be a key of T)
151
+ * @param props - Optional properties to pass to the transition context (should match T[keyof T])
152
+ * @returns Promise<void> that resolves when the transition is complete
153
+ *
154
+ * @throws {A_StateMachineError} When the transition fails for any reason
155
+ *
156
+ * @example
157
+ * ```typescript
158
+ * interface OrderStates {
159
+ * pending: { orderId: string };
160
+ * processing: { orderId: string; processedBy: string };
161
+ * }
162
+ *
163
+ * const orderMachine = new A_StateMachine<OrderStates>();
164
+ *
165
+ * // Transition with props
166
+ * await orderMachine.transition('pending', 'processing', {
167
+ * orderId: '12345',
168
+ * processedBy: 'user-456'
169
+ * });
170
+ * ```
171
+ *
172
+ * The transition process follows this lifecycle:
173
+ * 1. Wait for state machine initialization (ready)
174
+ * 2. Create transition name in camelCase format (e.g., "pending_processing")
175
+ * 3. Create operation context with transition data
176
+ * 4. Create isolated scope for the transition
177
+ * 5. Call onBeforeTransition hook
178
+ * 6. Execute the specific transition method (if defined)
179
+ * 7. Call onAfterTransition hook
180
+ * 8. Clean up scope and return result
181
+ *
182
+ * If any step fails, the onError hook is called and a wrapped error is thrown.
183
+ */
184
+ transition(
185
+ /**
186
+ * The state to transition from
187
+ */
188
+ from: keyof T,
189
+ /**
190
+ * The state to transition to
191
+ */
192
+ to: keyof T,
193
+ /**
194
+ * Optional properties to pass to the transition context
195
+ */
196
+ props?: T[keyof T]): Promise<void>;
197
+ }
198
+
199
+ type A_StateMachineTransitionParams<T = any> = {
200
+ from: string;
201
+ to: string;
202
+ props?: T;
203
+ };
204
+ type A_StateMachineTransitionStorage<_ResultType extends any = any, _ParamsType extends any = any> = {
205
+ from: string;
206
+ to: string;
207
+ } & A_Operation_Storage<_ResultType, A_StateMachineTransitionParams<_ParamsType>>;
208
+
209
+ declare class A_StateMachineTransition<_ParamsType = any, _ResultType = any> extends A_OperationContext<'a-state-machine-transition', A_StateMachineTransitionParams<_ParamsType>, _ResultType, A_StateMachineTransitionStorage<_ResultType, _ParamsType>> {
210
+ constructor(params: A_StateMachineTransitionParams<_ParamsType>);
211
+ /**
212
+ * The state to transition from
213
+ */
214
+ get from(): string;
215
+ /**
216
+ * The state to transition to
217
+ */
218
+ get to(): string;
219
+ }
220
+
221
+ export { A_StateMachine as A, A_StateMachineFeatures as a, A_StateMachineTransition as b, type A_StateMachineTransitionParams as c, type A_StateMachineTransitionStorage as d };
@@ -0,0 +1,456 @@
1
+ import { A_Component, A_Error } from '@adaas/a-concept';
2
+ import { A_OperationContext } from './a-operation.mjs';
3
+ import './a-execution.mjs';
4
+
5
+ declare enum A_ChannelFeatures {
6
+ /**
7
+ * Allows to extend timeout logic and behavior
8
+ */
9
+ onTimeout = "_A_Channel_onTimeout",
10
+ /**
11
+ * Allows to extend retry logic and behavior
12
+ */
13
+ onRetry = "_A_Channel_onRetry",
14
+ /**
15
+ * Allows to extend circuit breaker logic and behavior
16
+ */
17
+ onCircuitBreakerOpen = "_A_Channel_onCircuitBreakerOpen",
18
+ /**
19
+ * Allows to extend cache logic and behavior
20
+ */
21
+ onCache = "_A_Channel_onCache",
22
+ /**
23
+ * Allows to extend connection logic and behavior
24
+ */
25
+ onConnect = "_A_Channel_onConnect",
26
+ /**
27
+ * Allows to extend disconnection logic and behavior
28
+ */
29
+ onDisconnect = "_A_Channel_onDisconnect",
30
+ /**
31
+ * Allows to extend request preparation logic and behavior
32
+ */
33
+ onBeforeRequest = "_A_Channel_onBeforeRequest",
34
+ /**
35
+ * Allows to extend request sending logic and behavior
36
+ */
37
+ onRequest = "_A_Channel_onRequest",
38
+ /**
39
+ * Allows to extend request post-processing logic and behavior
40
+ */
41
+ onAfterRequest = "_A_Channel_onAfterRequest",
42
+ /**
43
+ * Allows to extend error handling logic and behavior
44
+ *
45
+ * [!] The same approach uses for ALL errors within the channel
46
+ */
47
+ onError = "_A_Channel_onError",
48
+ /**
49
+ * Allows to extend send logic and behavior
50
+ */
51
+ onSend = "_A_Channel_onSend",
52
+ /**
53
+ * Allows to extend consume logic and behavior
54
+ */
55
+ onConsume = "_A_Channel_onConsume"
56
+ }
57
+ declare enum A_ChannelRequestStatuses {
58
+ /**
59
+ * Request is pending
60
+ */
61
+ PENDING = "PENDING",
62
+ /***
63
+ * Request was successful
64
+ */
65
+ SUCCESS = "SUCCESS",
66
+ /**
67
+ * Request failed
68
+ */
69
+ FAILED = "FAILED"
70
+ }
71
+
72
+ declare class A_ChannelRequest<_ParamsType extends Record<string, any> = Record<string, any>, _ResultType extends Record<string, any> = Record<string, any>> extends A_OperationContext<'request', _ParamsType, {
73
+ data?: _ResultType;
74
+ status?: A_ChannelRequestStatuses;
75
+ }> {
76
+ constructor(params?: _ParamsType);
77
+ get status(): A_ChannelRequestStatuses | undefined;
78
+ get data(): _ResultType | undefined;
79
+ succeed(result: _ResultType): void;
80
+ }
81
+
82
+ /**
83
+ * A-Channel - A powerful, extensible communication channel component
84
+ *
85
+ * A-Channel provides a structured approach to implementing various communication patterns
86
+ * such as HTTP clients, WebSocket connections, message queues, and other messaging systems.
87
+ * It offers a complete lifecycle management system with extensible hooks for custom behavior.
88
+ *
89
+ * ## Key Features:
90
+ * - 🔄 **Lifecycle Management** - Complete connection and processing lifecycle with hooks
91
+ * - 📡 **Multiple Communication Patterns** - Request/Response and Fire-and-Forget messaging
92
+ * - 🛡️ **Error Handling** - Comprehensive error capture and management
93
+ * - 🎯 **Type Safety** - Full TypeScript support with generic types
94
+ * - 🔧 **Extensible** - Component-based architecture for custom behavior
95
+ * - ⚡ **Concurrent Processing** - Handle multiple requests simultaneously
96
+ *
97
+ * ## Basic Usage:
98
+ * ```typescript
99
+ * const channel = new A_Channel();
100
+ * A_Context.root.register(channel);
101
+ *
102
+ * // Request/Response pattern
103
+ * const response = await channel.request({ action: 'getData', id: 123 });
104
+ *
105
+ * // Fire-and-forget pattern
106
+ * await channel.send({ type: 'notification', message: 'Hello World' });
107
+ * ```
108
+ *
109
+ * ## Custom Implementation:
110
+ * ```typescript
111
+ * class HttpChannel extends A_Channel {}
112
+ *
113
+ * class HttpProcessor extends A_Component {
114
+ * @A_Feature.Extend({ scope: [HttpChannel] })
115
+ * async [A_ChannelFeatures.onRequest](
116
+ * @A_Inject(A_ChannelRequest) context: A_ChannelRequest
117
+ * ) {
118
+ * const response = await fetch(context.params.url);
119
+ * (context as any)._result = await response.json();
120
+ * }
121
+ * }
122
+ * ```
123
+ *
124
+ * @see {@link ./README.md} For complete documentation and examples
125
+ */
126
+ declare class A_Channel extends A_Component {
127
+ /**
128
+ * Indicates whether the channel is currently processing requests.
129
+ * This flag is managed automatically during request/send operations.
130
+ *
131
+ * @readonly
132
+ */
133
+ protected _processing: boolean;
134
+ /**
135
+ * Promise that resolves when the channel initialization is complete.
136
+ * Ensures that onConnect lifecycle hook has been executed before
137
+ * any communication operations.
138
+ *
139
+ * @private
140
+ */
141
+ protected _initialized?: Promise<void>;
142
+ /**
143
+ * Internal cache storage for channel-specific data.
144
+ * Can be used by custom implementations for caching responses,
145
+ * connection pools, or other channel-specific state.
146
+ *
147
+ * @protected
148
+ */
149
+ protected _cache: Map<string, any>;
150
+ /**
151
+ * Creates a new A_Channel instance.
152
+ *
153
+ * The channel must be registered with A_Context before use:
154
+ * ```typescript
155
+ * const channel = new A_Channel();
156
+ * A_Context.root.register(channel);
157
+ * ```
158
+ */
159
+ constructor();
160
+ /**
161
+ * Indicates whether the channel is currently processing requests.
162
+ *
163
+ * @returns {boolean} True if channel is processing, false otherwise
164
+ */
165
+ get processing(): boolean;
166
+ /**
167
+ * Promise that resolves when the channel is fully initialized.
168
+ *
169
+ * Automatically calls the onConnect lifecycle hook if not already called.
170
+ * This ensures the channel is ready for communication operations.
171
+ *
172
+ * @returns {Promise<void>} Promise that resolves when initialization is complete
173
+ */
174
+ get initialize(): Promise<void>;
175
+ /**
176
+ * Connection lifecycle hook - called during channel initialization.
177
+ *
178
+ * Override this method in custom components to implement connection logic:
179
+ * - Initialize network connections
180
+ * - Load configuration
181
+ * - Validate environment
182
+ * - Set up connection pools
183
+ *
184
+ * @example
185
+ * ```typescript
186
+ * class DatabaseChannel extends A_Channel {}
187
+ *
188
+ * class DatabaseConnector extends A_Component {
189
+ * @A_Feature.Extend({ scope: [DatabaseChannel] })
190
+ * async [A_ChannelFeatures.onConnect]() {
191
+ * await this.initializeDatabase();
192
+ * console.log('Database channel connected');
193
+ * }
194
+ * }
195
+ * ```
196
+ */
197
+ onConnect(...args: any[]): Promise<void>;
198
+ /**
199
+ * Disconnection lifecycle hook - called during channel cleanup.
200
+ *
201
+ * Override this method in custom components to implement cleanup logic:
202
+ * - Close network connections
203
+ * - Save state
204
+ * - Release resources
205
+ * - Clear caches
206
+ *
207
+ * @example
208
+ * ```typescript
209
+ * @A_Feature.Extend({ scope: [DatabaseChannel] })
210
+ * async [A_ChannelFeatures.onDisconnect]() {
211
+ * await this.closeConnections();
212
+ * console.log('Database channel disconnected');
213
+ * }
214
+ * ```
215
+ */
216
+ onDisconnect(...args: any[]): Promise<void>;
217
+ /**
218
+ * Pre-request processing hook - called before main request processing.
219
+ *
220
+ * Use this hook for:
221
+ * - Request validation
222
+ * - Authentication
223
+ * - Rate limiting
224
+ * - Logging
225
+ * - Request transformation
226
+ *
227
+ * @example
228
+ * ```typescript
229
+ * @A_Feature.Extend({ scope: [HttpChannel] })
230
+ * async [A_ChannelFeatures.onBeforeRequest](
231
+ * @A_Inject(A_ChannelRequest) context: A_ChannelRequest
232
+ * ) {
233
+ * // Validate required parameters
234
+ * if (!context.params.url) {
235
+ * throw new Error('URL is required');
236
+ * }
237
+ * }
238
+ * ```
239
+ */
240
+ onBeforeRequest(...args: any[]): Promise<void>;
241
+ /**
242
+ * Main request processing hook - core business logic goes here.
243
+ *
244
+ * This is where the main communication logic should be implemented:
245
+ * - Make HTTP requests
246
+ * - Send messages to queues
247
+ * - Execute database queries
248
+ * - Process business logic
249
+ *
250
+ * Set the result in the context: `(context as any)._result = yourResult;`
251
+ *
252
+ * @example
253
+ * ```typescript
254
+ * @A_Feature.Extend({ scope: [HttpChannel] })
255
+ * async [A_ChannelFeatures.onRequest](
256
+ * @A_Inject(A_ChannelRequest) context: A_ChannelRequest
257
+ * ) {
258
+ * const response = await fetch(context.params.url);
259
+ * (context as any)._result = await response.json();
260
+ * }
261
+ * ```
262
+ */
263
+ onRequest(...args: any[]): Promise<void>;
264
+ /**
265
+ * Post-request processing hook - called after successful request processing.
266
+ *
267
+ * Use this hook for:
268
+ * - Response transformation
269
+ * - Logging
270
+ * - Analytics
271
+ * - Caching results
272
+ * - Cleanup
273
+ *
274
+ * @example
275
+ * ```typescript
276
+ * @A_Feature.Extend({ scope: [HttpChannel] })
277
+ * async [A_ChannelFeatures.onAfterRequest](
278
+ * @A_Inject(A_ChannelRequest) context: A_ChannelRequest
279
+ * ) {
280
+ * console.log(`Request completed in ${Date.now() - context.startTime}ms`);
281
+ * await this.cacheResponse(context.params, context.data);
282
+ * }
283
+ * ```
284
+ */
285
+ onAfterRequest(...args: any[]): Promise<void>;
286
+ /**
287
+ * Error handling hook - called when any operation fails.
288
+ *
289
+ * Use this hook for:
290
+ * - Error logging
291
+ * - Error transformation
292
+ * - Alerting
293
+ * - Retry logic
294
+ * - Fallback mechanisms
295
+ *
296
+ * @example
297
+ * ```typescript
298
+ * @A_Feature.Extend({ scope: [HttpChannel] })
299
+ * async [A_ChannelFeatures.onError](
300
+ * @A_Inject(A_ChannelRequest) context: A_ChannelRequest
301
+ * ) {
302
+ * console.error('Request failed:', context.params, context.failed);
303
+ * await this.logError(context);
304
+ * await this.sendAlert(context);
305
+ * }
306
+ * ```
307
+ */
308
+ onError(...args: any[]): Promise<void>;
309
+ /**
310
+ * Send operation hook - called for fire-and-forget messaging.
311
+ *
312
+ * Use this hook for:
313
+ * - Message broadcasting
314
+ * - Event publishing
315
+ * - Notification sending
316
+ * - Queue operations
317
+ *
318
+ * @example
319
+ * ```typescript
320
+ * @A_Feature.Extend({ scope: [EventChannel] })
321
+ * async [A_ChannelFeatures.onSend](
322
+ * @A_Inject(A_ChannelRequest) context: A_ChannelRequest
323
+ * ) {
324
+ * const { eventType, payload } = context.params;
325
+ * await this.publishEvent(eventType, payload);
326
+ * }
327
+ * ```
328
+ */
329
+ onSend(...args: any[]): Promise<void>;
330
+ /**
331
+ * Initializes the channel by calling the onConnect lifecycle hook.
332
+ *
333
+ * This method is called automatically when accessing the `initialize` property.
334
+ * You can also call it manually if needed.
335
+ *
336
+ * @returns {Promise<void>} Promise that resolves when connection is established
337
+ */
338
+ connect(): Promise<void>;
339
+ /**
340
+ * Disconnects the channel by calling the onDisconnect lifecycle hook.
341
+ *
342
+ * Use this method to properly cleanup resources when the channel is no longer needed.
343
+ *
344
+ * @returns {Promise<void>} Promise that resolves when cleanup is complete
345
+ */
346
+ disconnect(): Promise<void>;
347
+ /**
348
+ * Sends a request and waits for a response (Request/Response pattern).
349
+ *
350
+ * This method follows the complete request lifecycle:
351
+ * 1. Ensures channel is initialized
352
+ * 2. Creates request scope and context
353
+ * 3. Calls onBeforeRequest hook
354
+ * 4. Calls onRequest hook (main processing)
355
+ * 5. Calls onAfterRequest hook
356
+ * 6. Returns the response context
357
+ *
358
+ * If any step fails, the onError hook is called and the error is captured
359
+ * in the returned context.
360
+ *
361
+ * @template _ParamsType The type of request parameters
362
+ * @template _ResultType The type of response data
363
+ * @param params The request parameters
364
+ * @returns {Promise<A_ChannelRequest<_ParamsType, _ResultType>>} Request context with response
365
+ *
366
+ * @example
367
+ * ```typescript
368
+ * // Basic usage
369
+ * const response = await channel.request({ action: 'getData', id: 123 });
370
+ *
371
+ * // Typed usage
372
+ * interface UserRequest { userId: string; }
373
+ * interface UserResponse { name: string; email: string; }
374
+ *
375
+ * const userResponse = await channel.request<UserRequest, UserResponse>({
376
+ * userId: 'user-123'
377
+ * });
378
+ *
379
+ * if (!userResponse.failed) {
380
+ * console.log('User:', userResponse.data.name);
381
+ * }
382
+ * ```
383
+ */
384
+ request<_ParamsType extends Record<string, any> = Record<string, any>, _ResultType extends Record<string, any> = Record<string, any>>(params: _ParamsType): Promise<A_ChannelRequest<_ParamsType, _ResultType>>;
385
+ /**
386
+ * Sends a fire-and-forget message (Send pattern).
387
+ *
388
+ * This method is used for one-way communication where no response is expected:
389
+ * - Event broadcasting
390
+ * - Notification sending
391
+ * - Message queuing
392
+ * - Logging operations
393
+ *
394
+ * The method follows this lifecycle:
395
+ * 1. Ensures channel is initialized
396
+ * 2. Creates send scope and context
397
+ * 3. Calls onSend hook
398
+ * 4. Completes without returning data
399
+ *
400
+ * If the operation fails, the onError hook is called but no error is thrown
401
+ * to the caller (fire-and-forget semantics).
402
+ *
403
+ * @template _ParamsType The type of message parameters
404
+ * @param message The message to send
405
+ * @returns {Promise<void>} Promise that resolves when send is complete
406
+ *
407
+ * @example
408
+ * ```typescript
409
+ * // Send notification
410
+ * await channel.send({
411
+ * type: 'user.login',
412
+ * userId: 'user-123',
413
+ * timestamp: new Date().toISOString()
414
+ * });
415
+ *
416
+ * // Send to message queue
417
+ * await channel.send({
418
+ * queue: 'email-queue',
419
+ * payload: {
420
+ * to: 'user@example.com',
421
+ * subject: 'Welcome!',
422
+ * body: 'Welcome to our service!'
423
+ * }
424
+ * });
425
+ * ```
426
+ */
427
+ send<_ParamsType extends Record<string, any> = Record<string, any>>(message: _ParamsType): Promise<void>;
428
+ /**
429
+ * @deprecated This method is deprecated and will be removed in future versions.
430
+ * Use request() or send() methods instead depending on your communication pattern.
431
+ *
432
+ * For request/response pattern: Use request()
433
+ * For fire-and-forget pattern: Use send()
434
+ * For consumer patterns: Implement custom consumer logic using request() in a loop
435
+ */
436
+ consume<T extends Record<string, any> = Record<string, any>>(): Promise<A_OperationContext<any, T>>;
437
+ }
438
+
439
+ declare class A_ChannelError extends A_Error {
440
+ static readonly MethodNotImplemented = "A-Channel Method Not Implemented";
441
+ protected _context?: A_OperationContext;
442
+ /**
443
+ * Channel Error allows to keep track of errors within a channel if something goes wrong
444
+ *
445
+ *
446
+ * @param originalError
447
+ * @param context
448
+ */
449
+ constructor(originalError: string | A_Error | Error | any, context?: A_OperationContext | string);
450
+ /***
451
+ * Returns Context of the error
452
+ */
453
+ get context(): A_OperationContext | undefined;
454
+ }
455
+
456
+ export { A_Channel, A_ChannelError, A_ChannelFeatures, A_ChannelRequest, A_ChannelRequestStatuses };