@logixjs/core 0.0.1 → 0.0.2

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 (300) hide show
  1. package/LICENSE +201 -0
  2. package/dist/{Bound-BN1DQ_lM.d.ts → Bound-CEa1ihvH.d.ts} +2 -2
  3. package/dist/{Bound-BPIfH9SS.d.cts → Bound-CNLNkC7c.d.cts} +2 -2
  4. package/dist/Bound.cjs +620 -163
  5. package/dist/Bound.cjs.map +1 -1
  6. package/dist/Bound.d.cts +3 -3
  7. package/dist/Bound.d.ts +3 -3
  8. package/dist/Bound.js +14 -14
  9. package/dist/{Debug-Bq8Sqjcr.d.cts → Debug-BhMYr-1i.d.cts} +3 -3
  10. package/dist/{Debug-B5q5Bkzx.d.ts → Debug-ByM7m4Ft.d.ts} +3 -3
  11. package/dist/Debug.cjs +553 -32
  12. package/dist/Debug.cjs.map +1 -1
  13. package/dist/Debug.d.cts +10 -8
  14. package/dist/Debug.d.ts +10 -8
  15. package/dist/Debug.js +12 -10
  16. package/dist/EffectOp.cjs.map +1 -1
  17. package/dist/EffectOp.js +2 -3
  18. package/dist/EffectOp.js.map +1 -1
  19. package/dist/Env.cjs +664 -6
  20. package/dist/Env.cjs.map +1 -1
  21. package/dist/Env.js +5 -2
  22. package/dist/ExternalStore-BAz83PVq.d.cts +60 -0
  23. package/dist/ExternalStore-BYWPbYs8.d.ts +60 -0
  24. package/dist/ExternalStore.cjs +746 -0
  25. package/dist/ExternalStore.cjs.map +1 -0
  26. package/dist/ExternalStore.d.cts +4 -0
  27. package/dist/ExternalStore.d.ts +4 -0
  28. package/dist/ExternalStore.js +19 -0
  29. package/dist/ExternalStore.js.map +1 -0
  30. package/dist/{Flow-1fZT8MpX.d.cts → Flow-BlSoMmhV.d.cts} +2 -2
  31. package/dist/{Flow-BhpjE22E.d.ts → Flow-CQSGve5c.d.ts} +2 -2
  32. package/dist/Flow.cjs +2 -2
  33. package/dist/Flow.cjs.map +1 -1
  34. package/dist/Flow.d.cts +4 -4
  35. package/dist/Flow.d.ts +4 -4
  36. package/dist/Flow.js +7 -8
  37. package/dist/{Handle-D_cLW1Z3.d.ts → Handle-B7PSmsrY.d.ts} +1 -1
  38. package/dist/{Handle-D8D1zPb_.d.cts → Handle-ByovhL-c.d.cts} +1 -1
  39. package/dist/Handle.d.cts +3 -3
  40. package/dist/Handle.d.ts +3 -3
  41. package/dist/{Kernel-CnGE1Fyk.d.ts → Kernel-DGSpS4GM.d.ts} +2 -2
  42. package/dist/{Kernel-8kC-jOda.d.cts → Kernel-DZAk-Mrn.d.cts} +2 -2
  43. package/dist/Kernel.cjs +680 -22
  44. package/dist/Kernel.cjs.map +1 -1
  45. package/dist/Kernel.d.cts +10 -8
  46. package/dist/Kernel.d.ts +10 -8
  47. package/dist/Kernel.js +7 -4
  48. package/dist/{Link-Db7975nU.d.ts → Link-Cm4eR9n0.d.ts} +10 -3
  49. package/dist/{Link-fX8x1eCK.d.cts → Link-DF8i8iWR.d.cts} +10 -3
  50. package/dist/Link.cjs +1128 -86
  51. package/dist/Link.cjs.map +1 -1
  52. package/dist/Link.d.cts +3 -3
  53. package/dist/Link.d.ts +3 -3
  54. package/dist/Link.js +30 -25
  55. package/dist/{Logic-DRh4sDZj.d.cts → Logic-BcQA0AvE.d.cts} +1 -1
  56. package/dist/{Logic-BRjEMr-W.d.ts → Logic-OotSE1xw.d.ts} +1 -1
  57. package/dist/Logic.d.cts +3 -3
  58. package/dist/Logic.d.ts +3 -3
  59. package/dist/{MatchBuilder-CJk5oCkR.d.cts → MatchBuilder-BNDJ8waF.d.ts} +1 -1
  60. package/dist/{MatchBuilder-0QOc-nlU.d.ts → MatchBuilder-CvZ5WY1B.d.cts} +1 -1
  61. package/dist/MatchBuilder.d.cts +4 -4
  62. package/dist/MatchBuilder.d.ts +4 -4
  63. package/dist/Middleware-D8tUDLv_.d.cts +100 -0
  64. package/dist/Middleware-DS7CbTTN.d.ts +100 -0
  65. package/dist/Middleware.cjs +461 -13
  66. package/dist/Middleware.cjs.map +1 -1
  67. package/dist/Middleware.d.cts +2 -86
  68. package/dist/Middleware.d.ts +2 -86
  69. package/dist/Middleware.js +13 -11
  70. package/dist/{Module-DnzluX2J.d.ts → Module-CFj0I2yE.d.ts} +45 -18
  71. package/dist/{Module-B_0xRDMR.d.cts → Module-DpXPW9EQ.d.cts} +45 -18
  72. package/dist/Module.cjs +8583 -5741
  73. package/dist/Module.cjs.map +1 -1
  74. package/dist/Module.d.cts +5 -4
  75. package/dist/Module.d.ts +5 -4
  76. package/dist/Module.js +32 -27
  77. package/dist/ModuleTag-BcVF6z7B.d.ts +113 -0
  78. package/dist/ModuleTag-DuZXo_NS.d.cts +113 -0
  79. package/dist/ModuleTag.cjs +2609 -1232
  80. package/dist/ModuleTag.cjs.map +1 -1
  81. package/dist/ModuleTag.d.cts +4 -4
  82. package/dist/ModuleTag.d.ts +4 -4
  83. package/dist/ModuleTag.js +28 -25
  84. package/dist/{Observability-cY4kLn0S.d.ts → Observability-D-ZWeEVb.d.ts} +22 -15
  85. package/dist/{Observability-COqEvp2C.d.cts → Observability-V7sRMYTh.d.cts} +22 -15
  86. package/dist/Observability.cjs +1938 -640
  87. package/dist/Observability.cjs.map +1 -1
  88. package/dist/Observability.d.cts +4 -4
  89. package/dist/Observability.d.ts +4 -4
  90. package/dist/Observability.js +21 -19
  91. package/dist/{Process-mL8fHDSB.d.cts → Process-B55aJMFk.d.cts} +29 -4
  92. package/dist/{Process-CM9xbMdP.d.ts → Process-DvhFEwUS.d.ts} +29 -4
  93. package/dist/Process.cjs +1122 -85
  94. package/dist/Process.cjs.map +1 -1
  95. package/dist/Process.d.cts +4 -3
  96. package/dist/Process.d.ts +4 -3
  97. package/dist/Process.js +27 -22
  98. package/dist/{ReadQuery-BlMwhe-F.d.ts → ReadQuery-C4vZ8Prc.d.ts} +2 -2
  99. package/dist/{ReadQuery-SinbStGF.d.ts → ReadQuery-CafjlJQo.d.cts} +1 -1
  100. package/dist/{ReadQuery-SinbStGF.d.cts → ReadQuery-CafjlJQo.d.ts} +1 -1
  101. package/dist/{ReadQuery-CL5XlXts.d.cts → ReadQuery-mc0NgrFV.d.cts} +2 -2
  102. package/dist/ReadQuery.cjs +3 -3
  103. package/dist/ReadQuery.cjs.map +1 -1
  104. package/dist/ReadQuery.d.cts +2 -2
  105. package/dist/ReadQuery.d.ts +2 -2
  106. package/dist/ReadQuery.js +3 -3
  107. package/dist/{Reflection-CQnKwPXj.d.ts → Reflection-C8xZ267q.d.ts} +88 -7
  108. package/dist/{Reflection-Kabo1mlU.d.cts → Reflection-DP7Vsv3f.d.cts} +88 -7
  109. package/dist/Reflection.cjs +2934 -1553
  110. package/dist/Reflection.cjs.map +1 -1
  111. package/dist/Reflection.d.cts +14 -11
  112. package/dist/Reflection.d.ts +14 -11
  113. package/dist/Reflection.js +26 -21
  114. package/dist/Resource.cjs +670 -12
  115. package/dist/Resource.cjs.map +1 -1
  116. package/dist/Resource.js +6 -3
  117. package/dist/Root.cjs +675 -17
  118. package/dist/Root.cjs.map +1 -1
  119. package/dist/Root.js +7 -3
  120. package/dist/{Runtime-CtyzZG4i.d.ts → Runtime-BWc9YfUB.d.ts} +37 -7
  121. package/dist/{Runtime-B-aL-f29.d.cts → Runtime-PShIC4DW.d.cts} +37 -7
  122. package/dist/Runtime.cjs +1899 -809
  123. package/dist/Runtime.cjs.map +1 -1
  124. package/dist/Runtime.d.cts +14 -11
  125. package/dist/Runtime.d.ts +14 -11
  126. package/dist/Runtime.js +33 -28
  127. package/dist/ScopeRegistry.cjs +668 -10
  128. package/dist/ScopeRegistry.cjs.map +1 -1
  129. package/dist/ScopeRegistry.js +6 -3
  130. package/dist/{StateTrait-OWhbj12c.d.cts → StateTrait-CQsDlXJm.d.cts} +23 -6
  131. package/dist/{StateTrait-BGsZghTz.d.ts → StateTrait-YvJzVDKl.d.ts} +23 -6
  132. package/dist/StateTrait.cjs +1475 -370
  133. package/dist/StateTrait.cjs.map +1 -1
  134. package/dist/StateTrait.d.cts +7 -5
  135. package/dist/StateTrait.d.ts +7 -5
  136. package/dist/StateTrait.js +17 -14
  137. package/dist/{TraitLifecycle-LdIWmKlg.d.ts → TraitLifecycle-CjIBICAA.d.ts} +2 -2
  138. package/dist/{TraitLifecycle-CwV5WPFX.d.cts → TraitLifecycle-NmqGiXPC.d.cts} +2 -2
  139. package/dist/TraitLifecycle.cjs +489 -32
  140. package/dist/TraitLifecycle.cjs.map +1 -1
  141. package/dist/TraitLifecycle.d.cts +4 -4
  142. package/dist/TraitLifecycle.d.ts +4 -4
  143. package/dist/TraitLifecycle.js +7 -7
  144. package/dist/Workflow-BlFG_20_.d.cts +414 -0
  145. package/dist/Workflow-CW9S_aAP.d.ts +414 -0
  146. package/dist/Workflow.cjs +2977 -0
  147. package/dist/Workflow.cjs.map +1 -0
  148. package/dist/Workflow.d.cts +7 -0
  149. package/dist/Workflow.d.ts +7 -0
  150. package/dist/Workflow.js +55 -0
  151. package/dist/Workflow.js.map +1 -0
  152. package/dist/{chunk-G5ZBFPNU.js → chunk-2A4UKO2D.js} +2 -2
  153. package/dist/chunk-2DE6D42I.js +248 -0
  154. package/dist/chunk-2DE6D42I.js.map +1 -0
  155. package/dist/{chunk-ANLBCBDC.js → chunk-2DVLMSOE.js} +6 -6
  156. package/dist/{chunk-BE3HW4FY.js → chunk-34CF6OGE.js} +14 -16
  157. package/dist/chunk-34CF6OGE.js.map +1 -0
  158. package/dist/{chunk-ZFY7U2FR.js → chunk-3LPIXG56.js} +43 -3
  159. package/dist/chunk-3LPIXG56.js.map +1 -0
  160. package/dist/chunk-3VZYDNXZ.js +10 -0
  161. package/dist/chunk-3VZYDNXZ.js.map +1 -0
  162. package/dist/{chunk-3TMODYZV.js → chunk-3XO4HR6V.js} +2 -2
  163. package/dist/chunk-46FGVWRF.js +817 -0
  164. package/dist/chunk-46FGVWRF.js.map +1 -0
  165. package/dist/chunk-4LODUXFI.js +288 -0
  166. package/dist/chunk-4LODUXFI.js.map +1 -0
  167. package/dist/{chunk-GMPEOUP2.js → chunk-4MZ7BT3R.js} +2 -2
  168. package/dist/chunk-4MZ7BT3R.js.map +1 -0
  169. package/dist/{chunk-TKZ7MEIA.js → chunk-53GVPGSM.js} +2 -2
  170. package/dist/{chunk-KP7MUZNX.js → chunk-5W2V2NVJ.js} +2 -2
  171. package/dist/chunk-5W2V2NVJ.js.map +1 -0
  172. package/dist/chunk-6DACKW3D.js +613 -0
  173. package/dist/chunk-6DACKW3D.js.map +1 -0
  174. package/dist/chunk-AQ7L2QZ5.js +1395 -0
  175. package/dist/chunk-AQ7L2QZ5.js.map +1 -0
  176. package/dist/{chunk-NZJKFF45.js → chunk-C2UZZQ76.js} +2 -2
  177. package/dist/chunk-CCKP5Z6F.js +701 -0
  178. package/dist/chunk-CCKP5Z6F.js.map +1 -0
  179. package/dist/chunk-CUKM2XUW.js +27 -0
  180. package/dist/{chunk-QCHIQWAJ.js.map → chunk-CUKM2XUW.js.map} +1 -1
  181. package/dist/{chunk-M2RGJPXX.js → chunk-DBD6Q6JH.js} +3 -3
  182. package/dist/{chunk-ZGDVUPTM.js → chunk-EB4RGQO3.js} +2 -2
  183. package/dist/{chunk-PAYXCY6A.js → chunk-G7ESIQTI.js} +12 -14
  184. package/dist/chunk-G7ESIQTI.js.map +1 -0
  185. package/dist/chunk-GPBAZQ23.js +348 -0
  186. package/dist/chunk-GPBAZQ23.js.map +1 -0
  187. package/dist/{chunk-OFADUJWJ.js → chunk-I4LCE5OY.js} +3 -5
  188. package/dist/{chunk-OFADUJWJ.js.map → chunk-I4LCE5OY.js.map} +1 -1
  189. package/dist/{chunk-DFNM3WX2.js → chunk-IMCC6TBN.js} +158 -39
  190. package/dist/chunk-IMCC6TBN.js.map +1 -0
  191. package/dist/{chunk-76WT3HOR.js → chunk-IROZNQAF.js} +22 -21
  192. package/dist/chunk-IROZNQAF.js.map +1 -0
  193. package/dist/{chunk-TAAPQVZN.js → chunk-ISKNULNH.js} +2 -2
  194. package/dist/chunk-J3CWXIPV.js +242 -0
  195. package/dist/chunk-J3CWXIPV.js.map +1 -0
  196. package/dist/{chunk-PYOE4VSI.js → chunk-JBKYRTCS.js} +224 -161
  197. package/dist/chunk-JBKYRTCS.js.map +1 -0
  198. package/dist/{chunk-66ALHVEX.js → chunk-KKIAYH4X.js} +3 -3
  199. package/dist/{chunk-3RMKLXHX.js → chunk-KLDVG3SY.js} +2 -2
  200. package/dist/{chunk-BABLDP24.js → chunk-KSZQYSEH.js} +3 -3
  201. package/dist/chunk-KSZQYSEH.js.map +1 -0
  202. package/dist/{chunk-CW6T36TN.js → chunk-M3M7JFAH.js} +4 -4
  203. package/dist/chunk-M3M7JFAH.js.map +1 -0
  204. package/dist/{chunk-THATMZXD.js → chunk-MLB253V2.js} +2 -2
  205. package/dist/{chunk-THATMZXD.js.map → chunk-MLB253V2.js.map} +1 -1
  206. package/dist/{chunk-JGIWG6SR.js → chunk-MS77U77X.js} +664 -550
  207. package/dist/chunk-MS77U77X.js.map +1 -0
  208. package/dist/chunk-MW4FA3MW.js +23 -0
  209. package/dist/chunk-MW4FA3MW.js.map +1 -0
  210. package/dist/chunk-MYKNINNN.js +228 -0
  211. package/dist/chunk-MYKNINNN.js.map +1 -0
  212. package/dist/{chunk-4CQAV7YB.js → chunk-O6TTQXTY.js} +2 -2
  213. package/dist/{chunk-NBD3KUOZ.js → chunk-OJDJ4VDQ.js} +35 -24
  214. package/dist/chunk-OJDJ4VDQ.js.map +1 -0
  215. package/dist/{chunk-NQZ2OSGR.js → chunk-PVZEMNJY.js} +9 -9
  216. package/dist/chunk-PVZEMNJY.js.map +1 -0
  217. package/dist/chunk-RN26DV2M.js +271 -0
  218. package/dist/chunk-RN26DV2M.js.map +1 -0
  219. package/dist/{chunk-JCXGZRMU.js → chunk-RQQW3IQC.js} +3 -3
  220. package/dist/chunk-RQQW3IQC.js.map +1 -0
  221. package/dist/{chunk-24VULZ7A.js → chunk-TKOGZDD6.js} +3 -3
  222. package/dist/{chunk-EGK3KN7B.js → chunk-TQYLVXGY.js} +70 -39
  223. package/dist/chunk-TQYLVXGY.js.map +1 -0
  224. package/dist/{chunk-QMM6O4CD.js → chunk-UACD2CL2.js} +15 -3
  225. package/dist/{chunk-QMM6O4CD.js.map → chunk-UACD2CL2.js.map} +1 -1
  226. package/dist/{chunk-M3WTHJHJ.js → chunk-VH575UTV.js} +30 -34
  227. package/dist/chunk-VH575UTV.js.map +1 -0
  228. package/dist/{chunk-AUIR5O6W.js → chunk-WWBMC24F.js} +9 -15
  229. package/dist/chunk-WWBMC24F.js.map +1 -0
  230. package/dist/{chunk-JWOYLO27.js → chunk-WYJUJV4L.js} +80 -7
  231. package/dist/chunk-WYJUJV4L.js.map +1 -0
  232. package/dist/{chunk-EY4NZKDR.js → chunk-XFMMPYNU.js} +2 -2
  233. package/dist/chunk-Y4VRBIS6.js +35 -0
  234. package/dist/chunk-Y4VRBIS6.js.map +1 -0
  235. package/dist/{chunk-DMBALCE2.js → chunk-ZC7MSQ5U.js} +77 -4
  236. package/dist/chunk-ZC7MSQ5U.js.map +1 -0
  237. package/dist/{chunk-OGWBVHB3.js → chunk-ZCK6SCOE.js} +67 -8
  238. package/dist/chunk-ZCK6SCOE.js.map +1 -0
  239. package/dist/{chunk-IHVBV5C2.js → chunk-ZTFTABXV.js} +2 -1
  240. package/dist/chunk-ZTFTABXV.js.map +1 -0
  241. package/dist/index.cjs +9532 -5017
  242. package/dist/index.cjs.map +1 -1
  243. package/dist/index.d.cts +163 -27
  244. package/dist/index.d.ts +163 -27
  245. package/dist/index.js +119 -56
  246. package/dist/index.js.map +1 -1
  247. package/dist/{ir-BMP7yxJJ.d.cts → ir-C-Zm_GlZ.d.cts} +1 -1
  248. package/dist/{ir-DUOz6H-5.d.ts → ir-DGyGiwVe.d.ts} +1 -1
  249. package/dist/{module-k7m3txak.d.ts → module-DqQ1U-Me.d.ts} +129 -100
  250. package/dist/{module-B8CBqIZ_.d.cts → module-doenaCsZ.d.cts} +129 -100
  251. package/package.json +12 -1
  252. package/dist/ModuleTag-C8FHY_sY.d.ts +0 -93
  253. package/dist/ModuleTag-EGbgBMpZ.d.cts +0 -93
  254. package/dist/chunk-3QMIVH35.js +0 -43
  255. package/dist/chunk-3QMIVH35.js.map +0 -1
  256. package/dist/chunk-76WT3HOR.js.map +0 -1
  257. package/dist/chunk-AUIR5O6W.js.map +0 -1
  258. package/dist/chunk-BABLDP24.js.map +0 -1
  259. package/dist/chunk-BE3HW4FY.js.map +0 -1
  260. package/dist/chunk-CW6T36TN.js.map +0 -1
  261. package/dist/chunk-DFNM3WX2.js.map +0 -1
  262. package/dist/chunk-DMBALCE2.js.map +0 -1
  263. package/dist/chunk-EGK3KN7B.js.map +0 -1
  264. package/dist/chunk-GMPEOUP2.js.map +0 -1
  265. package/dist/chunk-IHVBV5C2.js.map +0 -1
  266. package/dist/chunk-JCXGZRMU.js.map +0 -1
  267. package/dist/chunk-JGIWG6SR.js.map +0 -1
  268. package/dist/chunk-JWOYLO27.js.map +0 -1
  269. package/dist/chunk-KIXAU3GM.js +0 -137
  270. package/dist/chunk-KIXAU3GM.js.map +0 -1
  271. package/dist/chunk-KP7MUZNX.js.map +0 -1
  272. package/dist/chunk-M3WTHJHJ.js.map +0 -1
  273. package/dist/chunk-M7IYCTJV.js +0 -79
  274. package/dist/chunk-M7IYCTJV.js.map +0 -1
  275. package/dist/chunk-NBD3KUOZ.js.map +0 -1
  276. package/dist/chunk-NQZ2OSGR.js.map +0 -1
  277. package/dist/chunk-OGWBVHB3.js.map +0 -1
  278. package/dist/chunk-PAYXCY6A.js.map +0 -1
  279. package/dist/chunk-PYOE4VSI.js.map +0 -1
  280. package/dist/chunk-QCHIQWAJ.js +0 -21
  281. package/dist/chunk-VZB726PE.js +0 -93
  282. package/dist/chunk-VZB726PE.js.map +0 -1
  283. package/dist/chunk-W3TEWHLO.js +0 -568
  284. package/dist/chunk-W3TEWHLO.js.map +0 -1
  285. package/dist/chunk-ZFLHVFUC.js +0 -192
  286. package/dist/chunk-ZFLHVFUC.js.map +0 -1
  287. package/dist/chunk-ZFY7U2FR.js.map +0 -1
  288. /package/dist/{chunk-G5ZBFPNU.js.map → chunk-2A4UKO2D.js.map} +0 -0
  289. /package/dist/{chunk-ANLBCBDC.js.map → chunk-2DVLMSOE.js.map} +0 -0
  290. /package/dist/{chunk-3TMODYZV.js.map → chunk-3XO4HR6V.js.map} +0 -0
  291. /package/dist/{chunk-TKZ7MEIA.js.map → chunk-53GVPGSM.js.map} +0 -0
  292. /package/dist/{chunk-NZJKFF45.js.map → chunk-C2UZZQ76.js.map} +0 -0
  293. /package/dist/{chunk-M2RGJPXX.js.map → chunk-DBD6Q6JH.js.map} +0 -0
  294. /package/dist/{chunk-ZGDVUPTM.js.map → chunk-EB4RGQO3.js.map} +0 -0
  295. /package/dist/{chunk-TAAPQVZN.js.map → chunk-ISKNULNH.js.map} +0 -0
  296. /package/dist/{chunk-66ALHVEX.js.map → chunk-KKIAYH4X.js.map} +0 -0
  297. /package/dist/{chunk-3RMKLXHX.js.map → chunk-KLDVG3SY.js.map} +0 -0
  298. /package/dist/{chunk-4CQAV7YB.js.map → chunk-O6TTQXTY.js.map} +0 -0
  299. /package/dist/{chunk-24VULZ7A.js.map → chunk-TKOGZDD6.js.map} +0 -0
  300. /package/dist/{chunk-EY4NZKDR.js.map → chunk-XFMMPYNU.js.map} +0 -0
@@ -1,88 +1,4 @@
1
- import { Middleware as Middleware$1, MiddlewareStack as MiddlewareStack$1, EffectOp } from './EffectOp.cjs';
1
+ import './EffectOp.cjs';
2
+ export { c as DebugLoggerConfig, D as DebugObserverConfig, a as Middleware, b as MiddlewareStack, W as WithDebugOptions, d as applyDebug, f as applyDebugObserver, m as makeDebugLogger, e as makeDebugObserver, w as withDebug } from './Middleware-D8tUDLv_.cjs';
2
3
  import 'effect/Effect';
3
4
  import 'effect';
4
-
5
- type Middleware = Middleware$1;
6
- type MiddlewareStack = MiddlewareStack$1;
7
- interface DebugLoggerConfig {
8
- /**
9
- * Optional: custom logger function (useful for capturing calls in tests).
10
- *
11
- * - When omitted, defaults to Effect.logDebug.
12
- */
13
- readonly logger?: (op: EffectOp<any, any, any>) => void;
14
- }
15
- /**
16
- * Creates a simple debug logger middleware.
17
- *
18
- * - Logs once before executing the Effect.
19
- * - Does not change success/error semantics.
20
- */
21
- declare const makeDebugLogger: (config?: DebugLoggerConfig) => Middleware;
22
- /**
23
- * applyDebug:
24
- * - Appends a DebugLogger middleware to the end of an existing MiddlewareStack.
25
- * - Returns a new stack; does not mutate the input array.
26
- */
27
- declare const applyDebug: (stack: MiddlewareStack, config?: DebugLoggerConfig) => MiddlewareStack;
28
- /**
29
- * DebugObserverConfig:
30
- * - Optional filter: select which EffectOps to observe (by module / kind / name, etc.).
31
- */
32
- interface DebugObserverConfig {
33
- readonly filter?: (op: EffectOp<any, any, any>) => boolean;
34
- }
35
- /**
36
- * makeDebugObserver:
37
- * - Funnels EffectOp events into DebugSink (EffectOp → Debug.Event).
38
- * - Uses `trace:*` events to forward a slim view of EffectOp into the Debug stream (must not carry effect closures):
39
- * - type: 'trace:effectop'
40
- * - moduleId: from op.meta?.moduleId (when present)
41
- * - data: { id, kind, name, payload, meta }
42
- *
43
- * Notes:
44
- * - Does not change the underlying Effect behavior; only adds Debug-side observation.
45
- * - Devtools / Timeline UIs can rebuild an EffectOp timeline from `trace:effectop` events.
46
- */
47
- declare const makeDebugObserver: (config?: DebugObserverConfig) => Middleware;
48
- /**
49
- * applyDebugObserver:
50
- * - Appends a DebugObserver middleware to the end of an existing MiddlewareStack.
51
- * - Returns a new stack; does not mutate the input array.
52
- */
53
- declare const applyDebugObserver: (stack: MiddlewareStack, config?: DebugObserverConfig) => MiddlewareStack;
54
- /**
55
- * WithDebugOptions:
56
- * - High-level composition options for adding Debug capabilities onto an existing MiddlewareStack.
57
- *
58
- * Conventions:
59
- * - logger:
60
- * - undefined: enable the default DebugLogger (Effect.logDebug).
61
- * - function: use a custom logger(op) instead of the default.
62
- * - false: do not add DebugLogger middleware.
63
- * - observer:
64
- * - undefined: enable DebugObserver with default config.
65
- * - DebugObserverConfig: enable DebugObserver with the given config.
66
- * - false: do not add DebugObserver middleware.
67
- */
68
- interface WithDebugOptions {
69
- readonly logger?: DebugLoggerConfig['logger'] | false;
70
- readonly observer?: DebugObserverConfig | false;
71
- }
72
- /**
73
- * withDebug:
74
- * - Appends DebugLogger + DebugObserver presets onto an existing MiddlewareStack.
75
- * - Allows enabling/disabling logger/observer and configuring them via options.
76
- * - Returns a new stack; does not mutate the input array.
77
- *
78
- * @example
79
- *
80
- * let stack: MiddlewareStack = [metrics, timing]
81
- * stack = Middleware.withDebug(stack, {
82
- * logger: (op) => console.log(op.kind, op.name),
83
- * observer: { filter: (op) => op.kind !== 'service' },
84
- * })
85
- */
86
- declare const withDebug: (stack: MiddlewareStack, options?: WithDebugOptions) => MiddlewareStack;
87
-
88
- export { type DebugLoggerConfig, type DebugObserverConfig, type Middleware, type MiddlewareStack, type WithDebugOptions, applyDebug, applyDebugObserver, makeDebugLogger, makeDebugObserver, withDebug };
@@ -1,88 +1,4 @@
1
- import { Middleware as Middleware$1, MiddlewareStack as MiddlewareStack$1, EffectOp } from './EffectOp.js';
1
+ import './EffectOp.js';
2
+ export { c as DebugLoggerConfig, D as DebugObserverConfig, a as Middleware, b as MiddlewareStack, W as WithDebugOptions, d as applyDebug, f as applyDebugObserver, m as makeDebugLogger, e as makeDebugObserver, w as withDebug } from './Middleware-DS7CbTTN.js';
2
3
  import 'effect/Effect';
3
4
  import 'effect';
4
-
5
- type Middleware = Middleware$1;
6
- type MiddlewareStack = MiddlewareStack$1;
7
- interface DebugLoggerConfig {
8
- /**
9
- * Optional: custom logger function (useful for capturing calls in tests).
10
- *
11
- * - When omitted, defaults to Effect.logDebug.
12
- */
13
- readonly logger?: (op: EffectOp<any, any, any>) => void;
14
- }
15
- /**
16
- * Creates a simple debug logger middleware.
17
- *
18
- * - Logs once before executing the Effect.
19
- * - Does not change success/error semantics.
20
- */
21
- declare const makeDebugLogger: (config?: DebugLoggerConfig) => Middleware;
22
- /**
23
- * applyDebug:
24
- * - Appends a DebugLogger middleware to the end of an existing MiddlewareStack.
25
- * - Returns a new stack; does not mutate the input array.
26
- */
27
- declare const applyDebug: (stack: MiddlewareStack, config?: DebugLoggerConfig) => MiddlewareStack;
28
- /**
29
- * DebugObserverConfig:
30
- * - Optional filter: select which EffectOps to observe (by module / kind / name, etc.).
31
- */
32
- interface DebugObserverConfig {
33
- readonly filter?: (op: EffectOp<any, any, any>) => boolean;
34
- }
35
- /**
36
- * makeDebugObserver:
37
- * - Funnels EffectOp events into DebugSink (EffectOp → Debug.Event).
38
- * - Uses `trace:*` events to forward a slim view of EffectOp into the Debug stream (must not carry effect closures):
39
- * - type: 'trace:effectop'
40
- * - moduleId: from op.meta?.moduleId (when present)
41
- * - data: { id, kind, name, payload, meta }
42
- *
43
- * Notes:
44
- * - Does not change the underlying Effect behavior; only adds Debug-side observation.
45
- * - Devtools / Timeline UIs can rebuild an EffectOp timeline from `trace:effectop` events.
46
- */
47
- declare const makeDebugObserver: (config?: DebugObserverConfig) => Middleware;
48
- /**
49
- * applyDebugObserver:
50
- * - Appends a DebugObserver middleware to the end of an existing MiddlewareStack.
51
- * - Returns a new stack; does not mutate the input array.
52
- */
53
- declare const applyDebugObserver: (stack: MiddlewareStack, config?: DebugObserverConfig) => MiddlewareStack;
54
- /**
55
- * WithDebugOptions:
56
- * - High-level composition options for adding Debug capabilities onto an existing MiddlewareStack.
57
- *
58
- * Conventions:
59
- * - logger:
60
- * - undefined: enable the default DebugLogger (Effect.logDebug).
61
- * - function: use a custom logger(op) instead of the default.
62
- * - false: do not add DebugLogger middleware.
63
- * - observer:
64
- * - undefined: enable DebugObserver with default config.
65
- * - DebugObserverConfig: enable DebugObserver with the given config.
66
- * - false: do not add DebugObserver middleware.
67
- */
68
- interface WithDebugOptions {
69
- readonly logger?: DebugLoggerConfig['logger'] | false;
70
- readonly observer?: DebugObserverConfig | false;
71
- }
72
- /**
73
- * withDebug:
74
- * - Appends DebugLogger + DebugObserver presets onto an existing MiddlewareStack.
75
- * - Allows enabling/disabling logger/observer and configuring them via options.
76
- * - Returns a new stack; does not mutate the input array.
77
- *
78
- * @example
79
- *
80
- * let stack: MiddlewareStack = [metrics, timing]
81
- * stack = Middleware.withDebug(stack, {
82
- * logger: (op) => console.log(op.kind, op.name),
83
- * observer: { filter: (op) => op.kind !== 'service' },
84
- * })
85
- */
86
- declare const withDebug: (stack: MiddlewareStack, options?: WithDebugOptions) => MiddlewareStack;
87
-
88
- export { type DebugLoggerConfig, type DebugObserverConfig, type Middleware, type MiddlewareStack, type WithDebugOptions, applyDebug, applyDebugObserver, makeDebugLogger, makeDebugObserver, withDebug };
@@ -4,18 +4,20 @@ import {
4
4
  makeDebugLogger,
5
5
  makeDebugObserver,
6
6
  withDebug
7
- } from "./chunk-QMM6O4CD.js";
8
- import "./chunk-W3TEWHLO.js";
9
- import "./chunk-66ALHVEX.js";
10
- import "./chunk-ZFY7U2FR.js";
7
+ } from "./chunk-UACD2CL2.js";
8
+ import "./chunk-4LODUXFI.js";
9
+ import "./chunk-KKIAYH4X.js";
10
+ import "./chunk-3LPIXG56.js";
11
11
  import "./chunk-M3BFQ7HK.js";
12
- import "./chunk-IHVBV5C2.js";
13
- import "./chunk-3RMKLXHX.js";
14
- import "./chunk-3QMIVH35.js";
15
- import "./chunk-DMBALCE2.js";
16
- import "./chunk-GMPEOUP2.js";
17
- import "./chunk-M7IYCTJV.js";
18
- import "./chunk-JWOYLO27.js";
12
+ import "./chunk-J3CWXIPV.js";
13
+ import "./chunk-ZTFTABXV.js";
14
+ import "./chunk-KLDVG3SY.js";
15
+ import "./chunk-AQ7L2QZ5.js";
16
+ import "./chunk-MW4FA3MW.js";
17
+ import "./chunk-MYKNINNN.js";
18
+ import "./chunk-ZC7MSQ5U.js";
19
+ import "./chunk-WYJUJV4L.js";
20
+ import "./chunk-4MZ7BT3R.js";
19
21
  import "./chunk-PZ5AY32C.js";
20
22
  export {
21
23
  applyDebug,
@@ -1,6 +1,7 @@
1
- import { h as AnyModuleShape, l as ModuleRuntime, o as StateOf, p as ActionOf, m as ModuleHandle, M as ModuleTag, k as ModuleImpl, A as AnySchema, z as ModuleLike, R as ReducersFromMap, j as ModuleLogic, B as BoundApi, O as ModuleImplementStateTransactionOptions, r as MutatorsFromMap, F as FieldPath, i as ModuleShape, q as ActionsFromMap, v as StateChangeWithMeta, u as StateCommitMeta, s as StateCommitMode, t as StateCommitPriority } from './module-k7m3txak.js';
1
+ import { Y as JsonValue, j as AnyModuleShape, p as ModuleRuntimeOfShape, q as ModuleHandle, L as LogicEffect, B as BoundApi, M as ModuleTag, m as ModuleImpl, A as AnySchema, W as ModuleLike, R as ReducersFromMap, r as StateOf, l as ModuleLogic, a5 as ModuleImplementStateTransactionOptions, o as ModuleRuntime, u as MutatorsFromMap, F as FieldPath, t as ActionsFromMap, k as ModuleShape, w as ActionForTag, s as ActionOf, E as BoundApiDispatchApi, z as BoundApiDispatchersApi, G as BoundApiLifecycleApi, J as BoundApiReducerApi, x as BoundApiRootApi, y as BoundApiStateApi, I as BoundApiTraitsApi, H as BoundApiUseApi, v as DispatchEffect, N as StateChangeWithMeta, a as StateCommitMeta, K as StateCommitMode, S as StateCommitPriority } from './module-DqQ1U-Me.js';
2
2
  import { Context, Layer, Effect, Schema } from 'effect';
3
- import { O as Of, D as Draft } from './Logic-BRjEMr-W.js';
3
+ import { D as Draft } from './Logic-OotSE1xw.js';
4
+ import { b as Workflow } from './Workflow-CW9S_aAP.js';
4
5
  import { b as ActionDefs, a as ActionToken, N as NormalizedActionTokens } from './action-DiMDD_0v.js';
5
6
 
6
7
  interface DevSource {
@@ -30,10 +31,14 @@ interface ModuleDescriptor {
30
31
  readonly actionKeys: ReadonlyArray<string>;
31
32
  readonly logicUnits: ReadonlyArray<MountedLogicUnitSummary>;
32
33
  readonly schemaKeys?: ReadonlyArray<string>;
33
- readonly meta?: Record<string, unknown>;
34
+ readonly meta?: Record<string, JsonValue>;
34
35
  readonly source?: DevSource;
35
36
  }
36
- type HandleExtendFn<Sh extends AnyModuleShape, Ext extends object> = (runtime: ModuleRuntime<StateOf<Sh>, ActionOf<Sh>>, base: ModuleHandle<Sh>) => Ext | (ModuleHandle<Sh> & Ext) | null | undefined;
37
+ type HandleExtendFn<Sh extends AnyModuleShape, Ext extends object> = (runtime: ModuleRuntimeOfShape<Sh>, base: ModuleHandle<Sh>) => Ext | (ModuleHandle<Sh> & Ext) | null | undefined;
38
+ type ModuleSelfHandleEffect<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = LogicEffect<Sh, R, ModuleHandle<Sh> & Ext, never>;
39
+ type ModuleLogicApi<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = BoundApi<Sh, R> & {
40
+ readonly self: ModuleSelfHandleEffect<Sh, R, Ext>;
41
+ };
37
42
  type NoInfer_<T> = [T][T extends any ? 0 : never];
38
43
  type ModuleDefBase<Id extends string = string, Sh extends AnyModuleShape = AnyModuleShape, Ext extends object = {}> = ModuleLike<Id, Sh, Ext> & {
39
44
  readonly shape: Sh;
@@ -49,14 +54,12 @@ type ModuleDefBase<Id extends string = string, Sh extends AnyModuleShape = AnyMo
49
54
  * - Mainly for DX/reflection; runtime normalizes them into primary reducers inside ModuleTag/ModuleFactory.
50
55
  */
51
56
  readonly reducers?: ReducersFromMap<Sh['stateSchema'], Sh['actionMap']>;
52
- readonly live: <R = never, E = never>(initial: StateOf<Sh>, ...logics: Array<ModuleLogic<Sh, R, E>>) => Layer.Layer<ModuleRuntime<StateOf<Sh>, ActionOf<Sh>>, E, R>;
57
+ readonly live: <R = never, E = never>(initial: StateOf<Sh>, ...logics: Array<ModuleLogic<Sh, R, E>>) => Layer.Layer<ModuleRuntimeOfShape<Sh>, E, R>;
53
58
  readonly schemas?: Record<string, unknown>;
54
- readonly meta?: Record<string, unknown>;
59
+ readonly meta?: Record<string, JsonValue>;
55
60
  readonly services?: Record<string, Context.Tag<any, any>>;
56
61
  readonly dev?: ModuleDev;
57
- readonly logic: <R = never, E = unknown>(build: (api: BoundApi<Sh, R> & {
58
- readonly self: Of<Sh, R, ModuleHandle<Sh> & Ext, never>;
59
- }) => ModuleLogic<Sh, R, E>, options?: LogicUnitOptions) => ModuleLogic<Sh, R, E>;
62
+ readonly logic: <R = never, E = unknown>(build: (api: ModuleLogicApi<Sh, R, Ext>) => ModuleLogic<Sh, R, E>, options?: LogicUnitOptions) => ModuleLogic<Sh, R, E>;
60
63
  };
61
64
  type AnyModule = {
62
65
  readonly _kind: 'Module';
@@ -66,7 +69,7 @@ type AnyModule = {
66
69
  readonly actions: Record<string, AnySchema>;
67
70
  readonly reducers?: Record<string, unknown>;
68
71
  readonly schemas?: Record<string, unknown>;
69
- readonly meta?: Record<string, unknown>;
72
+ readonly meta?: Record<string, JsonValue>;
70
73
  readonly services?: Record<string, Context.Tag<any, any>>;
71
74
  readonly dev?: ModuleDev;
72
75
  };
@@ -75,11 +78,15 @@ type Module<Id extends string, Sh extends AnyModuleShape, Ext extends object = {
75
78
  readonly impl: ModuleImpl<Id, Sh, R>;
76
79
  readonly withLogic: (logic: ModuleLogic<Sh, any, any>, options?: LogicUnitOptions) => Module<Id, Sh, Ext, R>;
77
80
  readonly withLogics: (...inputs: ReadonlyArray<MountInput<Sh>>) => Module<Id, Sh, Ext, R>;
81
+ readonly withWorkflow: (workflow: Workflow) => Module<Id, Sh, Ext, R>;
82
+ readonly withWorkflows: (workflows: ReadonlyArray<Workflow>) => Module<Id, Sh, Ext, R>;
78
83
  readonly withLayer: (layer: Layer.Layer<any, never, any>) => Module<Id, Sh, Ext, R>;
79
84
  readonly withLayers: (...layers: ReadonlyArray<Layer.Layer<any, never, any>>) => Module<Id, Sh, Ext, R>;
80
85
  };
81
86
  type ModuleDef<Id extends string, Sh extends AnyModuleShape, Ext extends object = {}> = ModuleDefBase<Id, Sh, Ext> & {
82
87
  readonly _kind: 'ModuleDef';
88
+ readonly withWorkflow: (workflow: Workflow) => ModuleDef<Id, Sh, Ext>;
89
+ readonly withWorkflows: (workflows: ReadonlyArray<Workflow>) => ModuleDef<Id, Sh, Ext>;
83
90
  readonly implement: <R = never>(config: {
84
91
  readonly initial: StateOf<Sh>;
85
92
  readonly logics?: Array<ModuleLogic<Sh, R, any>>;
@@ -105,7 +112,7 @@ type MakeDef<Id extends string, SSchema extends AnySchema, AMap extends ActionDe
105
112
  readonly effects?: EffectsFromMap<NoInfer_<AMap>>;
106
113
  readonly traits?: unknown;
107
114
  readonly schemas?: Record<string, unknown>;
108
- readonly meta?: Record<string, unknown>;
115
+ readonly meta?: Record<string, JsonValue>;
109
116
  readonly services?: Record<string, Context.Tag<any, any>>;
110
117
  readonly dev?: ModuleDev;
111
118
  };
@@ -132,7 +139,7 @@ type MakeExtendDef<SSchema extends AnySchema, BaseActions extends AnyActionMap,
132
139
  readonly immerReducers?: MutatorsFromMap<SSchema, MergeActionMap<BaseActions, ExtActions>>;
133
140
  readonly effects?: EffectsFromMap<MergeActionMap<BaseActions, ExtActions>>;
134
141
  readonly schemas?: Record<string, unknown>;
135
- readonly meta?: Record<string, unknown>;
142
+ readonly meta?: Record<string, JsonValue>;
136
143
  readonly services?: Record<string, Context.Tag<any, any>>;
137
144
  readonly dev?: ModuleDev;
138
145
  };
@@ -146,9 +153,12 @@ declare const Reducer: {
146
153
  readonly payload?: infer P;
147
154
  } ? P | undefined : never) => void; }) => R;
148
155
  };
149
- type Shape<S extends AnySchema, M extends ActionDefs> = ModuleShape<S, Schema.Schema<ActionsFromMap<NormalizedActionTokens<M>>>, NormalizedActionTokens<M>>;
150
- declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}>(id: Id, def: MakeDef<Id, SSchema, AMap>): ModuleDef<Id, ModuleShape<SSchema, Schema.Schema<ActionsFromMap<NormalizedActionTokens<AMap>>>, NormalizedActionTokens<AMap>>, Ext>;
151
- declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}, ExtActions extends ActionDefs = EmptyActionMap>(id: Id, def: MakeDef<Id, SSchema, AMap>, extend: MakeExtendDef<SSchema, NoInfer_<AMap>, ExtActions>): ModuleDef<Id, ModuleShape<SSchema, Schema.Schema<ActionsFromMap<NormalizedActionTokens<MergeActionMap<AMap, ExtActions>>>>, NormalizedActionTokens<MergeActionMap<AMap, ExtActions>>>, Ext>;
156
+ type ActionTokenMap<ADefs extends ActionDefs> = NormalizedActionTokens<ADefs>;
157
+ type ActionUnionOf<ADefs extends ActionDefs> = ActionsFromMap<ActionTokenMap<ADefs>>;
158
+ type ActionSchemaOf<ADefs extends ActionDefs> = Schema.Schema<ActionUnionOf<ADefs>>;
159
+ type Shape<SSchema extends AnySchema, ADefs extends ActionDefs> = ModuleShape<SSchema, ActionSchemaOf<ADefs>, ActionTokenMap<ADefs>>;
160
+ declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}>(id: Id, def: MakeDef<Id, SSchema, AMap>): ModuleDef<Id, Shape<SSchema, AMap>, Ext>;
161
+ declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}, ExtActions extends ActionDefs = EmptyActionMap>(id: Id, def: MakeDef<Id, SSchema, AMap>, extend: MakeExtendDef<SSchema, NoInfer_<AMap>, ExtActions>): ModuleDef<Id, Shape<SSchema, MergeActionMap<AMap, ExtActions>>, Ext>;
152
162
  declare const Manage: {
153
163
  readonly make: <D extends (...args: any[]) => AnyModule>(config: {
154
164
  readonly kind?: string;
@@ -159,14 +169,28 @@ declare const Manage: {
159
169
  };
160
170
  };
161
171
 
172
+ declare const Module$1_ActionForTag: typeof ActionForTag;
162
173
  declare const Module$1_ActionOf: typeof ActionOf;
174
+ type Module$1_ActionSchemaOf<ADefs extends ActionDefs> = ActionSchemaOf<ADefs>;
175
+ type Module$1_ActionTokenMap<ADefs extends ActionDefs> = ActionTokenMap<ADefs>;
176
+ type Module$1_ActionUnionOf<ADefs extends ActionDefs> = ActionUnionOf<ADefs>;
163
177
  declare const Module$1_ActionsFromMap: typeof ActionsFromMap;
164
178
  type Module$1_AnyModule = AnyModule;
165
179
  declare const Module$1_AnyModuleShape: typeof AnyModuleShape;
166
180
  declare const Module$1_AnySchema: typeof AnySchema;
167
181
  declare const Module$1_BoundApi: typeof BoundApi;
182
+ declare const Module$1_BoundApiDispatchApi: typeof BoundApiDispatchApi;
183
+ declare const Module$1_BoundApiDispatchersApi: typeof BoundApiDispatchersApi;
184
+ declare const Module$1_BoundApiLifecycleApi: typeof BoundApiLifecycleApi;
185
+ declare const Module$1_BoundApiReducerApi: typeof BoundApiReducerApi;
186
+ declare const Module$1_BoundApiRootApi: typeof BoundApiRootApi;
187
+ declare const Module$1_BoundApiStateApi: typeof BoundApiStateApi;
188
+ declare const Module$1_BoundApiTraitsApi: typeof BoundApiTraitsApi;
189
+ declare const Module$1_BoundApiUseApi: typeof BoundApiUseApi;
168
190
  type Module$1_DevSource = DevSource;
191
+ declare const Module$1_DispatchEffect: typeof DispatchEffect;
169
192
  type Module$1_HandleExtendFn<Sh extends AnyModuleShape, Ext extends object> = HandleExtendFn<Sh, Ext>;
193
+ declare const Module$1_LogicEffect: typeof LogicEffect;
170
194
  type Module$1_LogicUnitOptions = LogicUnitOptions;
171
195
  type Module$1_MakeExtendDef<SSchema extends AnySchema, BaseActions extends AnyActionMap, ExtActions extends AnyActionMap = EmptyActionMap> = MakeExtendDef<SSchema, BaseActions, ExtActions>;
172
196
  declare const Module$1_Manage: typeof Manage;
@@ -177,14 +201,17 @@ type Module$1_ModuleDev = ModuleDev;
177
201
  declare const Module$1_ModuleHandle: typeof ModuleHandle;
178
202
  declare const Module$1_ModuleImpl: typeof ModuleImpl;
179
203
  declare const Module$1_ModuleLogic: typeof ModuleLogic;
204
+ type Module$1_ModuleLogicApi<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = ModuleLogicApi<Sh, R, Ext>;
180
205
  declare const Module$1_ModuleRuntime: typeof ModuleRuntime;
206
+ declare const Module$1_ModuleRuntimeOfShape: typeof ModuleRuntimeOfShape;
207
+ type Module$1_ModuleSelfHandleEffect<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = ModuleSelfHandleEffect<Sh, R, Ext>;
181
208
  declare const Module$1_ModuleShape: typeof ModuleShape;
182
209
  declare const Module$1_ModuleTag: typeof ModuleTag;
183
210
  type Module$1_MountedLogicUnitSummary = MountedLogicUnitSummary;
184
211
  declare const Module$1_MutatorsFromMap: typeof MutatorsFromMap;
185
212
  declare const Module$1_Reducer: typeof Reducer;
186
213
  declare const Module$1_ReducersFromMap: typeof ReducersFromMap;
187
- type Module$1_Shape<S extends AnySchema, M extends ActionDefs> = Shape<S, M>;
214
+ type Module$1_Shape<SSchema extends AnySchema, ADefs extends ActionDefs> = Shape<SSchema, ADefs>;
188
215
  declare const Module$1_StateChangeWithMeta: typeof StateChangeWithMeta;
189
216
  declare const Module$1_StateCommitMeta: typeof StateCommitMeta;
190
217
  declare const Module$1_StateCommitMode: typeof StateCommitMode;
@@ -197,7 +224,7 @@ declare const Module$1_make: typeof make;
197
224
  declare const Module$1_unwrapImpl: typeof unwrapImpl;
198
225
  declare const Module$1_unwrapTag: typeof unwrapTag;
199
226
  declare namespace Module$1 {
200
- export { Module$1_ActionOf as ActionOf, Module$1_ActionsFromMap as ActionsFromMap, type Module$1_AnyModule as AnyModule, Module$1_AnyModuleShape as AnyModuleShape, Module$1_AnySchema as AnySchema, Module$1_BoundApi as BoundApi, type Module$1_DevSource as DevSource, type Module$1_HandleExtendFn as HandleExtendFn, type Module$1_LogicUnitOptions as LogicUnitOptions, type Module$1_MakeExtendDef as MakeExtendDef, Module$1_Manage as Manage, type Module$1_Module as Module, type Module$1_ModuleDef as ModuleDef, type Module$1_ModuleDescriptor as ModuleDescriptor, type Module$1_ModuleDev as ModuleDev, Module$1_ModuleHandle as ModuleHandle, Module$1_ModuleImpl as ModuleImpl, Module$1_ModuleLogic as ModuleLogic, Module$1_ModuleRuntime as ModuleRuntime, Module$1_ModuleShape as ModuleShape, Module$1_ModuleTag as ModuleTag, type Module$1_MountedLogicUnitSummary as MountedLogicUnitSummary, Module$1_MutatorsFromMap as MutatorsFromMap, Module$1_Reducer as Reducer, Module$1_ReducersFromMap as ReducersFromMap, type Module$1_Shape as Shape, Module$1_StateChangeWithMeta as StateChangeWithMeta, Module$1_StateCommitMeta as StateCommitMeta, Module$1_StateCommitMode as StateCommitMode, Module$1_StateCommitPriority as StateCommitPriority, Module$1_StateOf as StateOf, Module$1_descriptor as descriptor, Module$1_hasImpl as hasImpl, Module$1_is as is, Module$1_make as make, Module$1_unwrapImpl as unwrapImpl, Module$1_unwrapTag as unwrapTag };
227
+ export { Module$1_ActionForTag as ActionForTag, Module$1_ActionOf as ActionOf, type Module$1_ActionSchemaOf as ActionSchemaOf, type Module$1_ActionTokenMap as ActionTokenMap, type Module$1_ActionUnionOf as ActionUnionOf, Module$1_ActionsFromMap as ActionsFromMap, type Module$1_AnyModule as AnyModule, Module$1_AnyModuleShape as AnyModuleShape, Module$1_AnySchema as AnySchema, Module$1_BoundApi as BoundApi, Module$1_BoundApiDispatchApi as BoundApiDispatchApi, Module$1_BoundApiDispatchersApi as BoundApiDispatchersApi, Module$1_BoundApiLifecycleApi as BoundApiLifecycleApi, Module$1_BoundApiReducerApi as BoundApiReducerApi, Module$1_BoundApiRootApi as BoundApiRootApi, Module$1_BoundApiStateApi as BoundApiStateApi, Module$1_BoundApiTraitsApi as BoundApiTraitsApi, Module$1_BoundApiUseApi as BoundApiUseApi, type Module$1_DevSource as DevSource, Module$1_DispatchEffect as DispatchEffect, type Module$1_HandleExtendFn as HandleExtendFn, Module$1_LogicEffect as LogicEffect, type Module$1_LogicUnitOptions as LogicUnitOptions, type Module$1_MakeExtendDef as MakeExtendDef, Module$1_Manage as Manage, type Module$1_Module as Module, type Module$1_ModuleDef as ModuleDef, type Module$1_ModuleDescriptor as ModuleDescriptor, type Module$1_ModuleDev as ModuleDev, Module$1_ModuleHandle as ModuleHandle, Module$1_ModuleImpl as ModuleImpl, Module$1_ModuleLogic as ModuleLogic, type Module$1_ModuleLogicApi as ModuleLogicApi, Module$1_ModuleRuntime as ModuleRuntime, Module$1_ModuleRuntimeOfShape as ModuleRuntimeOfShape, type Module$1_ModuleSelfHandleEffect as ModuleSelfHandleEffect, Module$1_ModuleShape as ModuleShape, Module$1_ModuleTag as ModuleTag, type Module$1_MountedLogicUnitSummary as MountedLogicUnitSummary, Module$1_MutatorsFromMap as MutatorsFromMap, Module$1_Reducer as Reducer, Module$1_ReducersFromMap as ReducersFromMap, type Module$1_Shape as Shape, Module$1_StateChangeWithMeta as StateChangeWithMeta, Module$1_StateCommitMeta as StateCommitMeta, Module$1_StateCommitMode as StateCommitMode, Module$1_StateCommitPriority as StateCommitPriority, Module$1_StateOf as StateOf, Module$1_descriptor as descriptor, Module$1_hasImpl as hasImpl, Module$1_is as is, Module$1_make as make, Module$1_unwrapImpl as unwrapImpl, Module$1_unwrapTag as unwrapTag };
201
228
  }
202
229
 
203
- export { type AnyModule as A, type DevSource as D, type HandleExtendFn as H, type LogicUnitOptions as L, Module$1 as M, Reducer as R, type Shape as S, type ModuleDev as a, type MountedLogicUnitSummary as b, type ModuleDescriptor as c, type ModuleDef as d, unwrapImpl as e, descriptor as f, type MakeExtendDef as g, hasImpl as h, is as i, Manage as j, type Module as k, make as m, unwrapTag as u };
230
+ export { type AnyModule as A, type DevSource as D, type HandleExtendFn as H, type LogicUnitOptions as L, Module$1 as M, Reducer as R, type Shape as S, type ModuleDev as a, type MountedLogicUnitSummary as b, type ModuleDescriptor as c, type ModuleSelfHandleEffect as d, type ModuleLogicApi as e, type ModuleDef as f, unwrapImpl as g, hasImpl as h, is as i, descriptor as j, type MakeExtendDef as k, type ActionTokenMap as l, type ActionUnionOf as m, type ActionSchemaOf as n, make as o, Manage as p, type Module as q, unwrapTag as u };
@@ -1,6 +1,7 @@
1
- import { h as AnyModuleShape, l as ModuleRuntime, o as StateOf, p as ActionOf, m as ModuleHandle, M as ModuleTag, k as ModuleImpl, A as AnySchema, z as ModuleLike, R as ReducersFromMap, j as ModuleLogic, B as BoundApi, O as ModuleImplementStateTransactionOptions, r as MutatorsFromMap, F as FieldPath, i as ModuleShape, q as ActionsFromMap, v as StateChangeWithMeta, u as StateCommitMeta, s as StateCommitMode, t as StateCommitPriority } from './module-B8CBqIZ_.cjs';
1
+ import { Y as JsonValue, j as AnyModuleShape, p as ModuleRuntimeOfShape, q as ModuleHandle, L as LogicEffect, B as BoundApi, M as ModuleTag, m as ModuleImpl, A as AnySchema, W as ModuleLike, R as ReducersFromMap, r as StateOf, l as ModuleLogic, a5 as ModuleImplementStateTransactionOptions, o as ModuleRuntime, u as MutatorsFromMap, F as FieldPath, t as ActionsFromMap, k as ModuleShape, w as ActionForTag, s as ActionOf, E as BoundApiDispatchApi, z as BoundApiDispatchersApi, G as BoundApiLifecycleApi, J as BoundApiReducerApi, x as BoundApiRootApi, y as BoundApiStateApi, I as BoundApiTraitsApi, H as BoundApiUseApi, v as DispatchEffect, N as StateChangeWithMeta, a as StateCommitMeta, K as StateCommitMode, S as StateCommitPriority } from './module-doenaCsZ.cjs';
2
2
  import { Context, Layer, Effect, Schema } from 'effect';
3
- import { O as Of, D as Draft } from './Logic-DRh4sDZj.cjs';
3
+ import { D as Draft } from './Logic-BcQA0AvE.cjs';
4
+ import { b as Workflow } from './Workflow-BlFG_20_.cjs';
4
5
  import { b as ActionDefs, a as ActionToken, N as NormalizedActionTokens } from './action-DiMDD_0v.cjs';
5
6
 
6
7
  interface DevSource {
@@ -30,10 +31,14 @@ interface ModuleDescriptor {
30
31
  readonly actionKeys: ReadonlyArray<string>;
31
32
  readonly logicUnits: ReadonlyArray<MountedLogicUnitSummary>;
32
33
  readonly schemaKeys?: ReadonlyArray<string>;
33
- readonly meta?: Record<string, unknown>;
34
+ readonly meta?: Record<string, JsonValue>;
34
35
  readonly source?: DevSource;
35
36
  }
36
- type HandleExtendFn<Sh extends AnyModuleShape, Ext extends object> = (runtime: ModuleRuntime<StateOf<Sh>, ActionOf<Sh>>, base: ModuleHandle<Sh>) => Ext | (ModuleHandle<Sh> & Ext) | null | undefined;
37
+ type HandleExtendFn<Sh extends AnyModuleShape, Ext extends object> = (runtime: ModuleRuntimeOfShape<Sh>, base: ModuleHandle<Sh>) => Ext | (ModuleHandle<Sh> & Ext) | null | undefined;
38
+ type ModuleSelfHandleEffect<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = LogicEffect<Sh, R, ModuleHandle<Sh> & Ext, never>;
39
+ type ModuleLogicApi<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = BoundApi<Sh, R> & {
40
+ readonly self: ModuleSelfHandleEffect<Sh, R, Ext>;
41
+ };
37
42
  type NoInfer_<T> = [T][T extends any ? 0 : never];
38
43
  type ModuleDefBase<Id extends string = string, Sh extends AnyModuleShape = AnyModuleShape, Ext extends object = {}> = ModuleLike<Id, Sh, Ext> & {
39
44
  readonly shape: Sh;
@@ -49,14 +54,12 @@ type ModuleDefBase<Id extends string = string, Sh extends AnyModuleShape = AnyMo
49
54
  * - Mainly for DX/reflection; runtime normalizes them into primary reducers inside ModuleTag/ModuleFactory.
50
55
  */
51
56
  readonly reducers?: ReducersFromMap<Sh['stateSchema'], Sh['actionMap']>;
52
- readonly live: <R = never, E = never>(initial: StateOf<Sh>, ...logics: Array<ModuleLogic<Sh, R, E>>) => Layer.Layer<ModuleRuntime<StateOf<Sh>, ActionOf<Sh>>, E, R>;
57
+ readonly live: <R = never, E = never>(initial: StateOf<Sh>, ...logics: Array<ModuleLogic<Sh, R, E>>) => Layer.Layer<ModuleRuntimeOfShape<Sh>, E, R>;
53
58
  readonly schemas?: Record<string, unknown>;
54
- readonly meta?: Record<string, unknown>;
59
+ readonly meta?: Record<string, JsonValue>;
55
60
  readonly services?: Record<string, Context.Tag<any, any>>;
56
61
  readonly dev?: ModuleDev;
57
- readonly logic: <R = never, E = unknown>(build: (api: BoundApi<Sh, R> & {
58
- readonly self: Of<Sh, R, ModuleHandle<Sh> & Ext, never>;
59
- }) => ModuleLogic<Sh, R, E>, options?: LogicUnitOptions) => ModuleLogic<Sh, R, E>;
62
+ readonly logic: <R = never, E = unknown>(build: (api: ModuleLogicApi<Sh, R, Ext>) => ModuleLogic<Sh, R, E>, options?: LogicUnitOptions) => ModuleLogic<Sh, R, E>;
60
63
  };
61
64
  type AnyModule = {
62
65
  readonly _kind: 'Module';
@@ -66,7 +69,7 @@ type AnyModule = {
66
69
  readonly actions: Record<string, AnySchema>;
67
70
  readonly reducers?: Record<string, unknown>;
68
71
  readonly schemas?: Record<string, unknown>;
69
- readonly meta?: Record<string, unknown>;
72
+ readonly meta?: Record<string, JsonValue>;
70
73
  readonly services?: Record<string, Context.Tag<any, any>>;
71
74
  readonly dev?: ModuleDev;
72
75
  };
@@ -75,11 +78,15 @@ type Module<Id extends string, Sh extends AnyModuleShape, Ext extends object = {
75
78
  readonly impl: ModuleImpl<Id, Sh, R>;
76
79
  readonly withLogic: (logic: ModuleLogic<Sh, any, any>, options?: LogicUnitOptions) => Module<Id, Sh, Ext, R>;
77
80
  readonly withLogics: (...inputs: ReadonlyArray<MountInput<Sh>>) => Module<Id, Sh, Ext, R>;
81
+ readonly withWorkflow: (workflow: Workflow) => Module<Id, Sh, Ext, R>;
82
+ readonly withWorkflows: (workflows: ReadonlyArray<Workflow>) => Module<Id, Sh, Ext, R>;
78
83
  readonly withLayer: (layer: Layer.Layer<any, never, any>) => Module<Id, Sh, Ext, R>;
79
84
  readonly withLayers: (...layers: ReadonlyArray<Layer.Layer<any, never, any>>) => Module<Id, Sh, Ext, R>;
80
85
  };
81
86
  type ModuleDef<Id extends string, Sh extends AnyModuleShape, Ext extends object = {}> = ModuleDefBase<Id, Sh, Ext> & {
82
87
  readonly _kind: 'ModuleDef';
88
+ readonly withWorkflow: (workflow: Workflow) => ModuleDef<Id, Sh, Ext>;
89
+ readonly withWorkflows: (workflows: ReadonlyArray<Workflow>) => ModuleDef<Id, Sh, Ext>;
83
90
  readonly implement: <R = never>(config: {
84
91
  readonly initial: StateOf<Sh>;
85
92
  readonly logics?: Array<ModuleLogic<Sh, R, any>>;
@@ -105,7 +112,7 @@ type MakeDef<Id extends string, SSchema extends AnySchema, AMap extends ActionDe
105
112
  readonly effects?: EffectsFromMap<NoInfer_<AMap>>;
106
113
  readonly traits?: unknown;
107
114
  readonly schemas?: Record<string, unknown>;
108
- readonly meta?: Record<string, unknown>;
115
+ readonly meta?: Record<string, JsonValue>;
109
116
  readonly services?: Record<string, Context.Tag<any, any>>;
110
117
  readonly dev?: ModuleDev;
111
118
  };
@@ -132,7 +139,7 @@ type MakeExtendDef<SSchema extends AnySchema, BaseActions extends AnyActionMap,
132
139
  readonly immerReducers?: MutatorsFromMap<SSchema, MergeActionMap<BaseActions, ExtActions>>;
133
140
  readonly effects?: EffectsFromMap<MergeActionMap<BaseActions, ExtActions>>;
134
141
  readonly schemas?: Record<string, unknown>;
135
- readonly meta?: Record<string, unknown>;
142
+ readonly meta?: Record<string, JsonValue>;
136
143
  readonly services?: Record<string, Context.Tag<any, any>>;
137
144
  readonly dev?: ModuleDev;
138
145
  };
@@ -146,9 +153,12 @@ declare const Reducer: {
146
153
  readonly payload?: infer P;
147
154
  } ? P | undefined : never) => void; }) => R;
148
155
  };
149
- type Shape<S extends AnySchema, M extends ActionDefs> = ModuleShape<S, Schema.Schema<ActionsFromMap<NormalizedActionTokens<M>>>, NormalizedActionTokens<M>>;
150
- declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}>(id: Id, def: MakeDef<Id, SSchema, AMap>): ModuleDef<Id, ModuleShape<SSchema, Schema.Schema<ActionsFromMap<NormalizedActionTokens<AMap>>>, NormalizedActionTokens<AMap>>, Ext>;
151
- declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}, ExtActions extends ActionDefs = EmptyActionMap>(id: Id, def: MakeDef<Id, SSchema, AMap>, extend: MakeExtendDef<SSchema, NoInfer_<AMap>, ExtActions>): ModuleDef<Id, ModuleShape<SSchema, Schema.Schema<ActionsFromMap<NormalizedActionTokens<MergeActionMap<AMap, ExtActions>>>>, NormalizedActionTokens<MergeActionMap<AMap, ExtActions>>>, Ext>;
156
+ type ActionTokenMap<ADefs extends ActionDefs> = NormalizedActionTokens<ADefs>;
157
+ type ActionUnionOf<ADefs extends ActionDefs> = ActionsFromMap<ActionTokenMap<ADefs>>;
158
+ type ActionSchemaOf<ADefs extends ActionDefs> = Schema.Schema<ActionUnionOf<ADefs>>;
159
+ type Shape<SSchema extends AnySchema, ADefs extends ActionDefs> = ModuleShape<SSchema, ActionSchemaOf<ADefs>, ActionTokenMap<ADefs>>;
160
+ declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}>(id: Id, def: MakeDef<Id, SSchema, AMap>): ModuleDef<Id, Shape<SSchema, AMap>, Ext>;
161
+ declare function make<Id extends string, SSchema extends AnySchema, AMap extends ActionDefs, Ext extends object = {}, ExtActions extends ActionDefs = EmptyActionMap>(id: Id, def: MakeDef<Id, SSchema, AMap>, extend: MakeExtendDef<SSchema, NoInfer_<AMap>, ExtActions>): ModuleDef<Id, Shape<SSchema, MergeActionMap<AMap, ExtActions>>, Ext>;
152
162
  declare const Manage: {
153
163
  readonly make: <D extends (...args: any[]) => AnyModule>(config: {
154
164
  readonly kind?: string;
@@ -159,14 +169,28 @@ declare const Manage: {
159
169
  };
160
170
  };
161
171
 
172
+ declare const Module$1_ActionForTag: typeof ActionForTag;
162
173
  declare const Module$1_ActionOf: typeof ActionOf;
174
+ type Module$1_ActionSchemaOf<ADefs extends ActionDefs> = ActionSchemaOf<ADefs>;
175
+ type Module$1_ActionTokenMap<ADefs extends ActionDefs> = ActionTokenMap<ADefs>;
176
+ type Module$1_ActionUnionOf<ADefs extends ActionDefs> = ActionUnionOf<ADefs>;
163
177
  declare const Module$1_ActionsFromMap: typeof ActionsFromMap;
164
178
  type Module$1_AnyModule = AnyModule;
165
179
  declare const Module$1_AnyModuleShape: typeof AnyModuleShape;
166
180
  declare const Module$1_AnySchema: typeof AnySchema;
167
181
  declare const Module$1_BoundApi: typeof BoundApi;
182
+ declare const Module$1_BoundApiDispatchApi: typeof BoundApiDispatchApi;
183
+ declare const Module$1_BoundApiDispatchersApi: typeof BoundApiDispatchersApi;
184
+ declare const Module$1_BoundApiLifecycleApi: typeof BoundApiLifecycleApi;
185
+ declare const Module$1_BoundApiReducerApi: typeof BoundApiReducerApi;
186
+ declare const Module$1_BoundApiRootApi: typeof BoundApiRootApi;
187
+ declare const Module$1_BoundApiStateApi: typeof BoundApiStateApi;
188
+ declare const Module$1_BoundApiTraitsApi: typeof BoundApiTraitsApi;
189
+ declare const Module$1_BoundApiUseApi: typeof BoundApiUseApi;
168
190
  type Module$1_DevSource = DevSource;
191
+ declare const Module$1_DispatchEffect: typeof DispatchEffect;
169
192
  type Module$1_HandleExtendFn<Sh extends AnyModuleShape, Ext extends object> = HandleExtendFn<Sh, Ext>;
193
+ declare const Module$1_LogicEffect: typeof LogicEffect;
170
194
  type Module$1_LogicUnitOptions = LogicUnitOptions;
171
195
  type Module$1_MakeExtendDef<SSchema extends AnySchema, BaseActions extends AnyActionMap, ExtActions extends AnyActionMap = EmptyActionMap> = MakeExtendDef<SSchema, BaseActions, ExtActions>;
172
196
  declare const Module$1_Manage: typeof Manage;
@@ -177,14 +201,17 @@ type Module$1_ModuleDev = ModuleDev;
177
201
  declare const Module$1_ModuleHandle: typeof ModuleHandle;
178
202
  declare const Module$1_ModuleImpl: typeof ModuleImpl;
179
203
  declare const Module$1_ModuleLogic: typeof ModuleLogic;
204
+ type Module$1_ModuleLogicApi<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = ModuleLogicApi<Sh, R, Ext>;
180
205
  declare const Module$1_ModuleRuntime: typeof ModuleRuntime;
206
+ declare const Module$1_ModuleRuntimeOfShape: typeof ModuleRuntimeOfShape;
207
+ type Module$1_ModuleSelfHandleEffect<Sh extends AnyModuleShape, R = never, Ext extends object = {}> = ModuleSelfHandleEffect<Sh, R, Ext>;
181
208
  declare const Module$1_ModuleShape: typeof ModuleShape;
182
209
  declare const Module$1_ModuleTag: typeof ModuleTag;
183
210
  type Module$1_MountedLogicUnitSummary = MountedLogicUnitSummary;
184
211
  declare const Module$1_MutatorsFromMap: typeof MutatorsFromMap;
185
212
  declare const Module$1_Reducer: typeof Reducer;
186
213
  declare const Module$1_ReducersFromMap: typeof ReducersFromMap;
187
- type Module$1_Shape<S extends AnySchema, M extends ActionDefs> = Shape<S, M>;
214
+ type Module$1_Shape<SSchema extends AnySchema, ADefs extends ActionDefs> = Shape<SSchema, ADefs>;
188
215
  declare const Module$1_StateChangeWithMeta: typeof StateChangeWithMeta;
189
216
  declare const Module$1_StateCommitMeta: typeof StateCommitMeta;
190
217
  declare const Module$1_StateCommitMode: typeof StateCommitMode;
@@ -197,7 +224,7 @@ declare const Module$1_make: typeof make;
197
224
  declare const Module$1_unwrapImpl: typeof unwrapImpl;
198
225
  declare const Module$1_unwrapTag: typeof unwrapTag;
199
226
  declare namespace Module$1 {
200
- export { Module$1_ActionOf as ActionOf, Module$1_ActionsFromMap as ActionsFromMap, type Module$1_AnyModule as AnyModule, Module$1_AnyModuleShape as AnyModuleShape, Module$1_AnySchema as AnySchema, Module$1_BoundApi as BoundApi, type Module$1_DevSource as DevSource, type Module$1_HandleExtendFn as HandleExtendFn, type Module$1_LogicUnitOptions as LogicUnitOptions, type Module$1_MakeExtendDef as MakeExtendDef, Module$1_Manage as Manage, type Module$1_Module as Module, type Module$1_ModuleDef as ModuleDef, type Module$1_ModuleDescriptor as ModuleDescriptor, type Module$1_ModuleDev as ModuleDev, Module$1_ModuleHandle as ModuleHandle, Module$1_ModuleImpl as ModuleImpl, Module$1_ModuleLogic as ModuleLogic, Module$1_ModuleRuntime as ModuleRuntime, Module$1_ModuleShape as ModuleShape, Module$1_ModuleTag as ModuleTag, type Module$1_MountedLogicUnitSummary as MountedLogicUnitSummary, Module$1_MutatorsFromMap as MutatorsFromMap, Module$1_Reducer as Reducer, Module$1_ReducersFromMap as ReducersFromMap, type Module$1_Shape as Shape, Module$1_StateChangeWithMeta as StateChangeWithMeta, Module$1_StateCommitMeta as StateCommitMeta, Module$1_StateCommitMode as StateCommitMode, Module$1_StateCommitPriority as StateCommitPriority, Module$1_StateOf as StateOf, Module$1_descriptor as descriptor, Module$1_hasImpl as hasImpl, Module$1_is as is, Module$1_make as make, Module$1_unwrapImpl as unwrapImpl, Module$1_unwrapTag as unwrapTag };
227
+ export { Module$1_ActionForTag as ActionForTag, Module$1_ActionOf as ActionOf, type Module$1_ActionSchemaOf as ActionSchemaOf, type Module$1_ActionTokenMap as ActionTokenMap, type Module$1_ActionUnionOf as ActionUnionOf, Module$1_ActionsFromMap as ActionsFromMap, type Module$1_AnyModule as AnyModule, Module$1_AnyModuleShape as AnyModuleShape, Module$1_AnySchema as AnySchema, Module$1_BoundApi as BoundApi, Module$1_BoundApiDispatchApi as BoundApiDispatchApi, Module$1_BoundApiDispatchersApi as BoundApiDispatchersApi, Module$1_BoundApiLifecycleApi as BoundApiLifecycleApi, Module$1_BoundApiReducerApi as BoundApiReducerApi, Module$1_BoundApiRootApi as BoundApiRootApi, Module$1_BoundApiStateApi as BoundApiStateApi, Module$1_BoundApiTraitsApi as BoundApiTraitsApi, Module$1_BoundApiUseApi as BoundApiUseApi, type Module$1_DevSource as DevSource, Module$1_DispatchEffect as DispatchEffect, type Module$1_HandleExtendFn as HandleExtendFn, Module$1_LogicEffect as LogicEffect, type Module$1_LogicUnitOptions as LogicUnitOptions, type Module$1_MakeExtendDef as MakeExtendDef, Module$1_Manage as Manage, type Module$1_Module as Module, type Module$1_ModuleDef as ModuleDef, type Module$1_ModuleDescriptor as ModuleDescriptor, type Module$1_ModuleDev as ModuleDev, Module$1_ModuleHandle as ModuleHandle, Module$1_ModuleImpl as ModuleImpl, Module$1_ModuleLogic as ModuleLogic, type Module$1_ModuleLogicApi as ModuleLogicApi, Module$1_ModuleRuntime as ModuleRuntime, Module$1_ModuleRuntimeOfShape as ModuleRuntimeOfShape, type Module$1_ModuleSelfHandleEffect as ModuleSelfHandleEffect, Module$1_ModuleShape as ModuleShape, Module$1_ModuleTag as ModuleTag, type Module$1_MountedLogicUnitSummary as MountedLogicUnitSummary, Module$1_MutatorsFromMap as MutatorsFromMap, Module$1_Reducer as Reducer, Module$1_ReducersFromMap as ReducersFromMap, type Module$1_Shape as Shape, Module$1_StateChangeWithMeta as StateChangeWithMeta, Module$1_StateCommitMeta as StateCommitMeta, Module$1_StateCommitMode as StateCommitMode, Module$1_StateCommitPriority as StateCommitPriority, Module$1_StateOf as StateOf, Module$1_descriptor as descriptor, Module$1_hasImpl as hasImpl, Module$1_is as is, Module$1_make as make, Module$1_unwrapImpl as unwrapImpl, Module$1_unwrapTag as unwrapTag };
201
228
  }
202
229
 
203
- export { type AnyModule as A, type DevSource as D, type HandleExtendFn as H, type LogicUnitOptions as L, Module$1 as M, Reducer as R, type Shape as S, type ModuleDev as a, type MountedLogicUnitSummary as b, type ModuleDescriptor as c, type ModuleDef as d, unwrapImpl as e, descriptor as f, type MakeExtendDef as g, hasImpl as h, is as i, Manage as j, type Module as k, make as m, unwrapTag as u };
230
+ export { type AnyModule as A, type DevSource as D, type HandleExtendFn as H, type LogicUnitOptions as L, Module$1 as M, Reducer as R, type Shape as S, type ModuleDev as a, type MountedLogicUnitSummary as b, type ModuleDescriptor as c, type ModuleSelfHandleEffect as d, type ModuleLogicApi as e, type ModuleDef as f, unwrapImpl as g, hasImpl as h, is as i, descriptor as j, type MakeExtendDef as k, type ActionTokenMap as l, type ActionUnionOf as m, type ActionSchemaOf as n, make as o, Manage as p, type Module as q, unwrapTag as u };