@geekmidas/constructs 10.0.0-alpha.3 → 10.0.0-alpha.31

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 (341) hide show
  1. package/README.md +52 -3
  2. package/dist/{Construct-Ct8nalEi.d.mts → Construct-DTqYvkPG.d.cts} +11 -13
  3. package/dist/Construct-DTqYvkPG.d.cts.map +1 -0
  4. package/dist/{Construct-BD5neF7w.mjs → Construct-Detz65RA.mjs} +31 -29
  5. package/dist/Construct-Detz65RA.mjs.map +1 -0
  6. package/dist/{Construct-C0ijr2qp.d.cts → Construct-pVadmURD.d.mts} +10 -12
  7. package/dist/Construct-pVadmURD.d.mts.map +1 -0
  8. package/dist/{Construct-CyS3RpTL.cjs → Construct-yG9Sw-5p.cjs} +51 -43
  9. package/dist/Construct-yG9Sw-5p.cjs.map +1 -0
  10. package/dist/{Cron-ByxdOfpE.d.mts → Cron-B_iuyNxr.d.mts} +17 -6
  11. package/dist/Cron-B_iuyNxr.d.mts.map +1 -0
  12. package/dist/{Cron-Wqh464aO.d.cts → Cron-CA2oa2nC.d.cts} +16 -5
  13. package/dist/Cron-CA2oa2nC.d.cts.map +1 -0
  14. package/dist/{CronBuilder-BL0AP6fs.d.mts → CronBuilder-BIKCLWu7.d.mts} +7 -10
  15. package/dist/CronBuilder-BIKCLWu7.d.mts.map +1 -0
  16. package/dist/{CronBuilder-BmABazzH.mjs → CronBuilder-BRkzUOAs.mjs} +35 -17
  17. package/dist/CronBuilder-BRkzUOAs.mjs.map +1 -0
  18. package/dist/{CronBuilder-BqpEzMPQ.d.cts → CronBuilder-B_KqaodP.d.cts} +6 -9
  19. package/dist/CronBuilder-B_KqaodP.d.cts.map +1 -0
  20. package/dist/{CronBuilder-CkXPJiGO.cjs → CronBuilder-BbnT7tqo.cjs} +45 -27
  21. package/dist/CronBuilder-BbnT7tqo.cjs.map +1 -0
  22. package/dist/{Endpoint-2Wg7T7Cq.d.mts → Endpoint-BojvdQoh.d.mts} +63 -84
  23. package/dist/Endpoint-BojvdQoh.d.mts.map +1 -0
  24. package/dist/{Endpoint-VIOpSo0S.mjs → Endpoint-DO332Dnm.mjs} +117 -109
  25. package/dist/Endpoint-DO332Dnm.mjs.map +1 -0
  26. package/dist/{Endpoint-BiaaMEn_.cjs → Endpoint-QKuFg5gs.cjs} +145 -131
  27. package/dist/Endpoint-QKuFg5gs.cjs.map +1 -0
  28. package/dist/{Endpoint-CH9Fn1AD.d.cts → Endpoint-xNGuv2Fq.d.cts} +61 -82
  29. package/dist/Endpoint-xNGuv2Fq.d.cts.map +1 -0
  30. package/dist/{EndpointFactory-DTTCkGEL.mjs → EndpointFactory-B9HAjDAP.mjs} +26 -32
  31. package/dist/EndpointFactory-B9HAjDAP.mjs.map +1 -0
  32. package/dist/{EndpointFactory-ChxLZllA.cjs → EndpointFactory-BmO0WnXE.cjs} +63 -69
  33. package/dist/EndpointFactory-BmO0WnXE.cjs.map +1 -0
  34. package/dist/{index-BxHDdy6a.d.mts → EndpointFactory-CaYTrUOO.d.mts} +12 -92
  35. package/dist/EndpointFactory-CaYTrUOO.d.mts.map +1 -0
  36. package/dist/{index-V2nksZIJ.d.cts → EndpointFactory-DyT1yOJL.d.cts} +10 -90
  37. package/dist/EndpointFactory-DyT1yOJL.d.cts.map +1 -0
  38. package/dist/{HonoEndpointAdaptor-NKQQQbBY.mjs → HonoEndpointAdaptor-CiqAZ5Mt.mjs} +40 -47
  39. package/dist/{HonoEndpointAdaptor-D233Jvpk.cjs.map → HonoEndpointAdaptor-CiqAZ5Mt.mjs.map} +1 -1
  40. package/dist/{HonoEndpointAdaptor-D233Jvpk.cjs → HonoEndpointAdaptor-DoEQdC3r.cjs} +48 -52
  41. package/dist/HonoEndpointAdaptor-DoEQdC3r.cjs.map +1 -0
  42. package/dist/Queue-B7yRXQmL.cjs +124 -0
  43. package/dist/Queue-B7yRXQmL.cjs.map +1 -0
  44. package/dist/{Queue-D7ZuwBhy.d.cts → Queue-Bhzi2WQC.d.cts} +8 -9
  45. package/dist/Queue-Bhzi2WQC.d.cts.map +1 -0
  46. package/dist/{Queue-gVGfi2Yk.d.mts → Queue-BoUA-e83.d.mts} +9 -10
  47. package/dist/Queue-BoUA-e83.d.mts.map +1 -0
  48. package/dist/Queue-DpKTLl6E.mjs +119 -0
  49. package/dist/Queue-DpKTLl6E.mjs.map +1 -0
  50. package/dist/{Subscriber-2mEi0ImH.d.cts → Subscriber-CIO3pwji.d.mts} +7 -8
  51. package/dist/Subscriber-CIO3pwji.d.mts.map +1 -0
  52. package/dist/{Subscriber-xTJ9ayPN.d.mts → Subscriber-DQCaiOXF.d.cts} +7 -8
  53. package/dist/Subscriber-DQCaiOXF.d.cts.map +1 -0
  54. package/dist/{SubscriberBuilder-BjkbeT9l.mjs → SubscriberBuilder-B4YRTBng.mjs} +16 -10
  55. package/dist/SubscriberBuilder-B4YRTBng.mjs.map +1 -0
  56. package/dist/{SubscriberBuilder-Dptmo-1A.d.mts → SubscriberBuilder-C2FRfd26.d.mts} +8 -11
  57. package/dist/SubscriberBuilder-C2FRfd26.d.mts.map +1 -0
  58. package/dist/{SubscriberBuilder-4OPehf2R.cjs → SubscriberBuilder-C2bCOuPT.cjs} +28 -23
  59. package/dist/SubscriberBuilder-C2bCOuPT.cjs.map +1 -0
  60. package/dist/{SubscriberBuilder-waNhzjSM.d.cts → SubscriberBuilder-CjDGSTZc.d.cts} +7 -10
  61. package/dist/SubscriberBuilder-CjDGSTZc.d.cts.map +1 -0
  62. package/dist/Topic-Ct3Le8Wt.mjs +103 -0
  63. package/dist/Topic-Ct3Le8Wt.mjs.map +1 -0
  64. package/dist/Topic-D5rlM9wS.cjs +108 -0
  65. package/dist/Topic-D5rlM9wS.cjs.map +1 -0
  66. package/dist/{Topic-19QeHBIR.d.cts → Topic-D6blllEn.d.cts} +5 -7
  67. package/dist/Topic-D6blllEn.d.cts.map +1 -0
  68. package/dist/{Topic-DuFeqkBh.d.mts → Topic-DVvheJ_-.d.mts} +6 -8
  69. package/dist/Topic-DVvheJ_-.d.mts.map +1 -0
  70. package/dist/adaptors/aws.cjs +87 -106
  71. package/dist/adaptors/aws.cjs.map +1 -1
  72. package/dist/adaptors/aws.d.cts +14 -27
  73. package/dist/adaptors/aws.d.cts.map +1 -1
  74. package/dist/adaptors/aws.d.mts +16 -29
  75. package/dist/adaptors/aws.d.mts.map +1 -1
  76. package/dist/adaptors/aws.mjs +60 -81
  77. package/dist/adaptors/aws.mjs.map +1 -1
  78. package/dist/adaptors/hono.cjs +3 -10
  79. package/dist/adaptors/hono.d.cts +5 -13
  80. package/dist/adaptors/hono.d.cts.map +1 -1
  81. package/dist/adaptors/hono.d.mts +7 -15
  82. package/dist/adaptors/hono.d.mts.map +1 -1
  83. package/dist/adaptors/hono.mjs +2 -10
  84. package/dist/adaptors/testing.cjs +396 -82
  85. package/dist/adaptors/testing.cjs.map +1 -1
  86. package/dist/adaptors/testing.d.cts +150 -33
  87. package/dist/adaptors/testing.d.cts.map +1 -1
  88. package/dist/adaptors/testing.d.mts +151 -34
  89. package/dist/adaptors/testing.d.mts.map +1 -1
  90. package/dist/adaptors/testing.mjs +368 -63
  91. package/dist/adaptors/testing.mjs.map +1 -1
  92. package/dist/auth-Bmo1wSQF.d.cts +177 -0
  93. package/dist/auth-Bmo1wSQF.d.cts.map +1 -0
  94. package/dist/auth-CJ5dp7T7.d.mts +177 -0
  95. package/dist/auth-CJ5dp7T7.d.mts.map +1 -0
  96. package/dist/auth.cjs +113 -28
  97. package/dist/auth.cjs.map +1 -1
  98. package/dist/auth.d.cts +2 -108
  99. package/dist/auth.d.mts +2 -108
  100. package/dist/auth.mjs +103 -20
  101. package/dist/auth.mjs.map +1 -1
  102. package/dist/{cache-BrRz3fEB.d.mts → cache-B2s0b-ss.d.mts} +3 -6
  103. package/dist/cache-B2s0b-ss.d.mts.map +1 -0
  104. package/dist/{cache-BtZY_tHe.d.cts → cache-CYe2Kzjc.d.cts} +3 -6
  105. package/dist/cache-CYe2Kzjc.d.cts.map +1 -0
  106. package/dist/cache.cjs +68 -2
  107. package/dist/cache.cjs.map +1 -0
  108. package/dist/cache.d.cts +1 -2
  109. package/dist/cache.d.mts +1 -2
  110. package/dist/cache.mjs +67 -2
  111. package/dist/cache.mjs.map +1 -0
  112. package/dist/{clone-DblgEZZa.mjs → clone-EKNovYHu.mjs} +3 -3
  113. package/dist/clone-EKNovYHu.mjs.map +1 -0
  114. package/dist/{clone-Dy0cR2SZ.cjs → clone-UGJpvQnL.cjs} +7 -8
  115. package/dist/clone-UGJpvQnL.cjs.map +1 -0
  116. package/dist/{construct-interface-g5GM5pwR.d.mts → construct-interface-D2gesxos.d.mts} +28 -10
  117. package/dist/construct-interface-D2gesxos.d.mts.map +1 -0
  118. package/dist/{construct-interface-D9d4Gm4p.d.cts → construct-interface-DPusCUSQ.d.cts} +28 -10
  119. package/dist/construct-interface-DPusCUSQ.d.cts.map +1 -0
  120. package/dist/construct-interface.cjs +116 -7
  121. package/dist/construct-interface.cjs.map +1 -0
  122. package/dist/construct-interface.d.cts +2 -2
  123. package/dist/construct-interface.d.mts +2 -2
  124. package/dist/construct-interface.mjs +108 -2
  125. package/dist/construct-interface.mjs.map +1 -0
  126. package/dist/credential.cjs +43 -9
  127. package/dist/credential.cjs.map +1 -1
  128. package/dist/credential.d.cts +5 -8
  129. package/dist/credential.d.cts.map +1 -1
  130. package/dist/credential.d.mts +5 -8
  131. package/dist/credential.d.mts.map +1 -1
  132. package/dist/credential.mjs +36 -2
  133. package/dist/credential.mjs.map +1 -1
  134. package/dist/crons/index.cjs +68 -10
  135. package/dist/crons/index.cjs.map +1 -1
  136. package/dist/crons/index.d.cts +32 -14
  137. package/dist/crons/index.d.cts.map +1 -1
  138. package/dist/crons/index.d.mts +32 -14
  139. package/dist/crons/index.d.mts.map +1 -1
  140. package/dist/crons/index.mjs +66 -10
  141. package/dist/crons/index.mjs.map +1 -1
  142. package/dist/database/kysely.cjs +40 -15
  143. package/dist/database/kysely.cjs.map +1 -1
  144. package/dist/database/kysely.d.cts +2 -152
  145. package/dist/database/kysely.d.mts +2 -152
  146. package/dist/database/kysely.mjs +28 -5
  147. package/dist/database/kysely.mjs.map +1 -1
  148. package/dist/email.cjs +25 -12
  149. package/dist/email.cjs.map +1 -1
  150. package/dist/email.d.cts +3 -7
  151. package/dist/email.d.cts.map +1 -1
  152. package/dist/email.d.mts +3 -7
  153. package/dist/email.d.mts.map +1 -1
  154. package/dist/email.mjs +16 -3
  155. package/dist/email.mjs.map +1 -1
  156. package/dist/endpoints/index.cjs +7 -10
  157. package/dist/endpoints/index.d.cts +60 -7
  158. package/dist/endpoints/index.d.cts.map +1 -0
  159. package/dist/endpoints/index.d.mts +60 -7
  160. package/dist/endpoints/index.d.mts.map +1 -0
  161. package/dist/endpoints/index.mjs +5 -10
  162. package/dist/file-server.cjs +42 -10
  163. package/dist/file-server.cjs.map +1 -1
  164. package/dist/file-server.d.cts +6 -10
  165. package/dist/file-server.d.cts.map +1 -1
  166. package/dist/file-server.d.mts +6 -10
  167. package/dist/file-server.d.mts.map +1 -1
  168. package/dist/file-server.mjs +34 -2
  169. package/dist/file-server.mjs.map +1 -1
  170. package/dist/functions/index.cjs +2 -6
  171. package/dist/functions/index.d.cts +2 -4
  172. package/dist/functions/index.d.mts +2 -4
  173. package/dist/functions/index.mjs +2 -6
  174. package/dist/{functions-Bd3TPxid.cjs → functions-DKN6aQWJ.cjs} +325 -268
  175. package/dist/functions-DKN6aQWJ.cjs.map +1 -0
  176. package/dist/{functions-Cxbo-pEd.mjs → functions-DlFm8HmH.mjs} +298 -238
  177. package/dist/functions-DlFm8HmH.mjs.map +1 -0
  178. package/dist/{index-JSf9xNIJ.d.cts → index-BI23K3wy.d.cts} +17 -22
  179. package/dist/index-BI23K3wy.d.cts.map +1 -0
  180. package/dist/index-CeEtxDmK.d.cts +79 -0
  181. package/dist/index-CeEtxDmK.d.cts.map +1 -0
  182. package/dist/index-CeEtxDmK.d.mts +79 -0
  183. package/dist/index-CeEtxDmK.d.mts.map +1 -0
  184. package/dist/index-fnpjXiA-.d.mts +26 -0
  185. package/dist/index-fnpjXiA-.d.mts.map +1 -0
  186. package/dist/index-tE_119SX.d.cts +26 -0
  187. package/dist/index-tE_119SX.d.cts.map +1 -0
  188. package/dist/{index-CubPzHd9.d.mts → index-yb3fXNyH.d.mts} +18 -23
  189. package/dist/index-yb3fXNyH.d.mts.map +1 -0
  190. package/dist/index.cjs +3 -3
  191. package/dist/index.d.cts +4 -4
  192. package/dist/index.d.mts +4 -4
  193. package/dist/index.mjs +2 -3
  194. package/dist/kysely-CEVXacPN.d.cts +159 -0
  195. package/dist/kysely-CEVXacPN.d.cts.map +1 -0
  196. package/dist/kysely-mcTdPNhl.d.mts +159 -0
  197. package/dist/kysely-mcTdPNhl.d.mts.map +1 -0
  198. package/dist/{lazyAccessors-BoJN3SMd.mjs → lazyAccessors-BHtcqgz2.mjs} +22 -25
  199. package/dist/lazyAccessors-BHtcqgz2.mjs.map +1 -0
  200. package/dist/{lazyAccessors-e3j2oE2m.cjs → lazyAccessors-Dx9NLwJZ.cjs} +72 -76
  201. package/dist/lazyAccessors-Dx9NLwJZ.cjs.map +1 -0
  202. package/dist/object-storage.cjs +18 -10
  203. package/dist/object-storage.cjs.map +1 -1
  204. package/dist/object-storage.d.cts +3 -7
  205. package/dist/object-storage.d.cts.map +1 -1
  206. package/dist/object-storage.d.mts +3 -7
  207. package/dist/object-storage.d.mts.map +1 -1
  208. package/dist/object-storage.mjs +11 -3
  209. package/dist/object-storage.mjs.map +1 -1
  210. package/dist/{processAudits-Dmts9H_b.mjs → processAudits-BpRlPQMW.mjs} +16 -19
  211. package/dist/processAudits-BpRlPQMW.mjs.map +1 -0
  212. package/dist/{processAudits-CGqttuXm.cjs → processAudits-D_2W5x8k.cjs} +26 -30
  213. package/dist/processAudits-D_2W5x8k.cjs.map +1 -0
  214. package/dist/queue/index.cjs +9 -118
  215. package/dist/queue/index.cjs.map +1 -1
  216. package/dist/queue/index.d.cts +8 -15
  217. package/dist/queue/index.d.cts.map +1 -1
  218. package/dist/queue/index.d.mts +8 -15
  219. package/dist/queue/index.d.mts.map +1 -1
  220. package/dist/queue/index.mjs +5 -114
  221. package/dist/queue/index.mjs.map +1 -1
  222. package/dist/rest-api.cjs +88 -62
  223. package/dist/rest-api.cjs.map +1 -1
  224. package/dist/rest-api.d.cts +62 -60
  225. package/dist/rest-api.d.cts.map +1 -1
  226. package/dist/rest-api.d.mts +62 -60
  227. package/dist/rest-api.d.mts.map +1 -1
  228. package/dist/rest-api.mjs +80 -54
  229. package/dist/rest-api.mjs.map +1 -1
  230. package/dist/{chunk-DWy1uDak.cjs → rolldown-runtime-y5ARvAq5.cjs} +14 -18
  231. package/dist/site.cjs +33 -9
  232. package/dist/site.cjs.map +1 -1
  233. package/dist/site.d.cts +11 -22
  234. package/dist/site.d.cts.map +1 -1
  235. package/dist/site.d.mts +11 -22
  236. package/dist/site.d.mts.map +1 -1
  237. package/dist/site.mjs +29 -5
  238. package/dist/site.mjs.map +1 -1
  239. package/dist/subscribers/index.cjs +2 -11
  240. package/dist/subscribers/index.d.cts +3 -14
  241. package/dist/subscribers/index.d.mts +3 -14
  242. package/dist/subscribers/index.mjs +2 -11
  243. package/dist/surfaceEnv-CNimK76p.cjs +56 -0
  244. package/dist/surfaceEnv-CNimK76p.cjs.map +1 -0
  245. package/dist/surfaceEnv-wMT5QzgZ.mjs +45 -0
  246. package/dist/surfaceEnv-wMT5QzgZ.mjs.map +1 -0
  247. package/dist/{telemetry-C3L0iS28.d.cts → telemetry-DGcFlVpB.d.cts} +2 -5
  248. package/dist/telemetry-DGcFlVpB.d.cts.map +1 -0
  249. package/dist/{telemetry-D7bVFLGi.d.mts → telemetry-DGcFlVpB.d.mts} +2 -5
  250. package/dist/telemetry-DGcFlVpB.d.mts.map +1 -0
  251. package/dist/topic/index.cjs +8 -107
  252. package/dist/topic/index.cjs.map +1 -1
  253. package/dist/topic/index.d.cts +3 -32
  254. package/dist/topic/index.d.mts +3 -32
  255. package/dist/topic/index.mjs +4 -103
  256. package/dist/topic/index.mjs.map +1 -1
  257. package/dist/{types-BlAkSuGI.d.cts → types-DMuSQeLL.d.cts} +3 -5
  258. package/dist/types-DMuSQeLL.d.cts.map +1 -0
  259. package/dist/{types-aKksMEWL.d.mts → types-DMuSQeLL.d.mts} +3 -5
  260. package/dist/types-DMuSQeLL.d.mts.map +1 -0
  261. package/dist/types.d.cts +1 -1
  262. package/dist/types.d.mts +1 -1
  263. package/dist/types.mjs +1 -0
  264. package/dist/worker.cjs +109 -35
  265. package/dist/worker.cjs.map +1 -1
  266. package/dist/worker.d.cts +87 -42
  267. package/dist/worker.d.cts.map +1 -1
  268. package/dist/worker.d.mts +87 -42
  269. package/dist/worker.d.mts.map +1 -1
  270. package/dist/worker.mjs +104 -30
  271. package/dist/worker.mjs.map +1 -1
  272. package/package.json +59 -55
  273. package/dist/Construct-BD5neF7w.mjs.map +0 -1
  274. package/dist/Construct-C0ijr2qp.d.cts.map +0 -1
  275. package/dist/Construct-Ct8nalEi.d.mts.map +0 -1
  276. package/dist/Construct-CyS3RpTL.cjs.map +0 -1
  277. package/dist/Cron-ByxdOfpE.d.mts.map +0 -1
  278. package/dist/Cron-Wqh464aO.d.cts.map +0 -1
  279. package/dist/CronBuilder-BL0AP6fs.d.mts.map +0 -1
  280. package/dist/CronBuilder-BmABazzH.mjs.map +0 -1
  281. package/dist/CronBuilder-BqpEzMPQ.d.cts.map +0 -1
  282. package/dist/CronBuilder-CkXPJiGO.cjs.map +0 -1
  283. package/dist/Endpoint-2Wg7T7Cq.d.mts.map +0 -1
  284. package/dist/Endpoint-BiaaMEn_.cjs.map +0 -1
  285. package/dist/Endpoint-CH9Fn1AD.d.cts.map +0 -1
  286. package/dist/Endpoint-VIOpSo0S.mjs.map +0 -1
  287. package/dist/EndpointFactory-ChxLZllA.cjs.map +0 -1
  288. package/dist/EndpointFactory-DTTCkGEL.mjs.map +0 -1
  289. package/dist/HonoEndpointAdaptor-NKQQQbBY.mjs.map +0 -1
  290. package/dist/Queue-D7ZuwBhy.d.cts.map +0 -1
  291. package/dist/Queue-gVGfi2Yk.d.mts.map +0 -1
  292. package/dist/Subscriber-2mEi0ImH.d.cts.map +0 -1
  293. package/dist/Subscriber-xTJ9ayPN.d.mts.map +0 -1
  294. package/dist/SubscriberBuilder-4OPehf2R.cjs.map +0 -1
  295. package/dist/SubscriberBuilder-BjkbeT9l.mjs.map +0 -1
  296. package/dist/SubscriberBuilder-Dptmo-1A.d.mts.map +0 -1
  297. package/dist/SubscriberBuilder-waNhzjSM.d.cts.map +0 -1
  298. package/dist/Topic-19QeHBIR.d.cts.map +0 -1
  299. package/dist/Topic-DuFeqkBh.d.mts.map +0 -1
  300. package/dist/auth.d.cts.map +0 -1
  301. package/dist/auth.d.mts.map +0 -1
  302. package/dist/cache-0ANvRQnD.mjs +0 -51
  303. package/dist/cache-0ANvRQnD.mjs.map +0 -1
  304. package/dist/cache-3WSvAulx.cjs +0 -57
  305. package/dist/cache-3WSvAulx.cjs.map +0 -1
  306. package/dist/cache-BrRz3fEB.d.mts.map +0 -1
  307. package/dist/cache-BtZY_tHe.d.cts.map +0 -1
  308. package/dist/clone-DblgEZZa.mjs.map +0 -1
  309. package/dist/clone-Dy0cR2SZ.cjs.map +0 -1
  310. package/dist/construct-interface-BfjcOD_E.cjs +0 -117
  311. package/dist/construct-interface-BfjcOD_E.cjs.map +0 -1
  312. package/dist/construct-interface-D9d4Gm4p.d.cts.map +0 -1
  313. package/dist/construct-interface-Z4CpS8tK.mjs +0 -81
  314. package/dist/construct-interface-Z4CpS8tK.mjs.map +0 -1
  315. package/dist/construct-interface-g5GM5pwR.d.mts.map +0 -1
  316. package/dist/database/kysely.d.cts.map +0 -1
  317. package/dist/database/kysely.d.mts.map +0 -1
  318. package/dist/functions-Bd3TPxid.cjs.map +0 -1
  319. package/dist/functions-Cxbo-pEd.mjs.map +0 -1
  320. package/dist/index-BxHDdy6a.d.mts.map +0 -1
  321. package/dist/index-CubPzHd9.d.mts.map +0 -1
  322. package/dist/index-JSf9xNIJ.d.cts.map +0 -1
  323. package/dist/index-V2nksZIJ.d.cts.map +0 -1
  324. package/dist/lazyAccessors-BoJN3SMd.mjs.map +0 -1
  325. package/dist/lazyAccessors-e3j2oE2m.cjs.map +0 -1
  326. package/dist/processAudits-CGqttuXm.cjs.map +0 -1
  327. package/dist/processAudits-Dmts9H_b.mjs.map +0 -1
  328. package/dist/subscribers/index.cjs.map +0 -1
  329. package/dist/subscribers/index.d.cts.map +0 -1
  330. package/dist/subscribers/index.d.mts.map +0 -1
  331. package/dist/subscribers/index.mjs.map +0 -1
  332. package/dist/surfaceEnv-BFXEms2f.cjs +0 -39
  333. package/dist/surfaceEnv-BFXEms2f.cjs.map +0 -1
  334. package/dist/surfaceEnv-C3Ktahea.mjs +0 -27
  335. package/dist/surfaceEnv-C3Ktahea.mjs.map +0 -1
  336. package/dist/telemetry-C3L0iS28.d.cts.map +0 -1
  337. package/dist/telemetry-D7bVFLGi.d.mts.map +0 -1
  338. package/dist/topic/index.d.cts.map +0 -1
  339. package/dist/topic/index.d.mts.map +0 -1
  340. package/dist/types-BlAkSuGI.d.cts.map +0 -1
  341. package/dist/types-aKksMEWL.d.mts.map +0 -1
@@ -0,0 +1,79 @@
1
+ //#region ../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts
2
+ /** The Standard Typed interface. This is a base type extended by other specs. */
3
+ interface StandardTypedV1<Input = unknown, Output = Input> {
4
+ /** The Standard properties. */
5
+ readonly "~standard": StandardTypedV1.Props<Input, Output>;
6
+ }
7
+ declare namespace StandardTypedV1 {
8
+ /** The Standard Typed properties interface. */
9
+ interface Props<Input = unknown, Output = Input> {
10
+ /** The version number of the standard. */
11
+ readonly version: 1;
12
+ /** The vendor name of the schema library. */
13
+ readonly vendor: string;
14
+ /** Inferred types associated with the schema. */
15
+ readonly types?: Types<Input, Output> | undefined;
16
+ }
17
+ /** The Standard Typed types interface. */
18
+ interface Types<Input = unknown, Output = Input> {
19
+ /** The input type of the schema. */
20
+ readonly input: Input;
21
+ /** The output type of the schema. */
22
+ readonly output: Output;
23
+ }
24
+ /** Infers the input type of a Standard Typed. */
25
+ type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
26
+ /** Infers the output type of a Standard Typed. */
27
+ type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
28
+ }
29
+ /** The Standard Schema interface. */
30
+ interface StandardSchemaV1<Input = unknown, Output = Input> {
31
+ /** The Standard Schema properties. */
32
+ readonly "~standard": StandardSchemaV1.Props<Input, Output>;
33
+ }
34
+ declare namespace StandardSchemaV1 {
35
+ /** The Standard Schema properties interface. */
36
+ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
37
+ /** Validates unknown input values. */
38
+ readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
39
+ }
40
+ /** The result interface of the validate function. */
41
+ type Result<Output> = SuccessResult<Output> | FailureResult;
42
+ /** The result interface if validation succeeds. */
43
+ interface SuccessResult<Output> {
44
+ /** The typed output value. */
45
+ readonly value: Output;
46
+ /** A falsy value for `issues` indicates success. */
47
+ readonly issues?: undefined;
48
+ }
49
+ interface Options {
50
+ /** Explicit support for additional vendor-specific parameters, if needed. */
51
+ readonly libraryOptions?: Record<string, unknown> | undefined;
52
+ }
53
+ /** The result interface if validation fails. */
54
+ interface FailureResult {
55
+ /** The issues of failed validation. */
56
+ readonly issues: ReadonlyArray<Issue>;
57
+ }
58
+ /** The issue interface of the failure output. */
59
+ interface Issue {
60
+ /** The error message of the issue. */
61
+ readonly message: string;
62
+ /** The path of the issue, if any. */
63
+ readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
64
+ }
65
+ /** The path segment interface of the issue. */
66
+ interface PathSegment {
67
+ /** The key representing a path segment. */
68
+ readonly key: PropertyKey;
69
+ }
70
+ /** The Standard types interface. */
71
+ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
72
+ /** Infers the input type of a Standard. */
73
+ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
74
+ /** Infers the output type of a Standard. */
75
+ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
76
+ }
77
+ //#endregion
78
+ export { StandardSchemaV1 as t };
79
+ //# sourceMappingURL=index-CeEtxDmK.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CeEtxDmK.d.mts","names":[],"sources":["../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts"],"x_google_ignoreList":[0],"mappings":";;UACU,gBAAgB,iBAAiB,SAAS;;WAEvC,aAAa,gBAAgB,MAAM,OAAO;;kBAErC;;YAEJ,MAAM,iBAAiB,SAAS;;aAE7B;;aAEA;;aAEA,QAAQ,MAAM,OAAO;;;YAGxB,MAAM,iBAAiB,SAAS;;aAE7B,OAAO;;aAEP,QAAQ;;;OAGhB,WAAW,eAAe,mBAAmB,YAAY;;OAEzD,YAAY,eAAe,mBAAmB,YAAY;;;UAGzD,iBAAiB,iBAAiB,SAAS;;WAExC,aAAa,iBAAiB,MAAM,OAAO;;kBAEtC;;YAEJ,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,WAAW,gBAAgB,UAAU,iBAAiB,wBAAwB,OAAO,UAAU,QAAQ,OAAO;;;OAGtH,OAAO,UAAU,cAAc,UAAU;;YAEpC,cAAc;;aAEX,OAAO;;aAEP;;YAEH;;aAEG,iBAAiB;;;YAGpB;;aAEG,QAAQ,cAAc;;;YAGzB;;aAEG;;aAEA,OAAO,cAAc,cAAc;;;YAGtC;;aAEG,KAAK;;;YAGR,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;OAGjF,WAAW,eAAe,mBAAmB,gBAAgB,WAAW;;OAExE,YAAY,eAAe,mBAAmB,gBAAgB,YAAY"}
@@ -0,0 +1,26 @@
1
+ import { n as TopicEvents, t as Topic } from "./Topic-DVvheJ_-.mjs";
2
+ import { Logger } from "@geekmidas/logger";
3
+ //#region src/topic/TopicBuilder.d.ts
4
+ /**
5
+ * Builds a {@link Topic} — `t.topic('users').events({ 'user.created': schema, … })`.
6
+ * The event map is the topic's contract: it types the derived `topic.publisher`
7
+ * and the subscribers that bind via `s.topic(topic)`.
8
+ */
9
+ declare class TopicBuilder<TName extends string = string, TEvents extends TopicEvents = TopicEvents> {
10
+ private _name?;
11
+ private _logger;
12
+ /** The topic name — drives the infra topic and its `<NAME>_*` env vars. */
13
+ topic<T extends string>(name: T): TopicBuilder<T, TEvents>;
14
+ logger(logger: Logger): this;
15
+ /**
16
+ * The event contract — a map of event type → payload schema. Building the
17
+ * topic requires this; it's what types the publisher and subscribers.
18
+ */
19
+ events<T extends TopicEvents>(events: T): Topic<TName, T>;
20
+ }
21
+ //#endregion
22
+ //#region src/topic/index.d.ts
23
+ export declare const t: TopicBuilder<string, TopicEvents>;
24
+ //#endregion
25
+ export { TopicBuilder as n };
26
+ //# sourceMappingURL=index-fnpjXiA-.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-fnpjXiA-.d.mts","names":["_$__Topic0.TopicEvents"],"sources":["../src/topic/TopicBuilder.ts","../src/topic/index.ts"],"mappings":";;;;;;;;cAUa,aACZ,+BACA,gBAAgB,cAAc;UAEtB;UACA;;EAGR,MAAM,kBAAkB,MAAM,IAAI,aAAa,GAAG;EAOlD,OAAO,QAAQ;;;;;EAQf,OAAO,UAAU,aAAa,QAAQ,IAAI,MAAM,OAAO;;;;qBCvB3C,GAAC,qBAADA"}
@@ -0,0 +1,26 @@
1
+ import { n as TopicEvents, t as Topic } from "./Topic-D6blllEn.cjs";
2
+ import { Logger } from "@geekmidas/logger";
3
+ //#region src/topic/TopicBuilder.d.ts
4
+ /**
5
+ * Builds a {@link Topic} — `t.topic('users').events({ 'user.created': schema, … })`.
6
+ * The event map is the topic's contract: it types the derived `topic.publisher`
7
+ * and the subscribers that bind via `s.topic(topic)`.
8
+ */
9
+ declare class TopicBuilder<TName extends string = string, TEvents extends TopicEvents = TopicEvents> {
10
+ private _name?;
11
+ private _logger;
12
+ /** The topic name — drives the infra topic and its `<NAME>_*` env vars. */
13
+ topic<T extends string>(name: T): TopicBuilder<T, TEvents>;
14
+ logger(logger: Logger): this;
15
+ /**
16
+ * The event contract — a map of event type → payload schema. Building the
17
+ * topic requires this; it's what types the publisher and subscribers.
18
+ */
19
+ events<T extends TopicEvents>(events: T): Topic<TName, T>;
20
+ }
21
+ //#endregion
22
+ //#region src/topic/index.d.ts
23
+ export declare const t: TopicBuilder<string, TopicEvents>;
24
+ //#endregion
25
+ export { TopicBuilder as n };
26
+ //# sourceMappingURL=index-tE_119SX.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-tE_119SX.d.cts","names":["_$__Topic0.TopicEvents"],"sources":["../src/topic/TopicBuilder.ts","../src/topic/index.ts"],"mappings":";;;;;;;;cAUa,aACZ,+BACA,gBAAgB,cAAc;UAEtB;UACA;;EAGR,MAAM,kBAAkB,MAAM,IAAI,aAAa,GAAG;EAOlD,OAAO,QAAQ;;;;;EAQf,OAAO,UAAU,aAAa,QAAQ,IAAI,MAAM,OAAO;;;;qBCvB3C,GAAC,qBAADA"}
@@ -1,21 +1,16 @@
1
- import { Construct, ConstructType } from "./Construct-Ct8nalEi.mjs";
2
- import { Consumable, ServicesOf } from "./construct-interface-g5GM5pwR.mjs";
1
+ import { t as StandardSchemaV1 } from "./index-CeEtxDmK.mjs";
2
+ import { n as ConstructType, t as Construct } from "./Construct-pVadmURD.mjs";
3
+ import { c as ServicesOf, r as Consumable } from "./construct-interface-D2gesxos.mjs";
4
+ import { EventPublisher, MappedEvent } from "@geekmidas/events";
3
5
  import { Service, ServiceRecord } from "@geekmidas/services";
4
- import * as _geekmidas_audit23 from "@geekmidas/audit";
5
6
  import { AuditStorage, AuditableAction, Auditor } from "@geekmidas/audit";
6
- import { EventPublisher, MappedEvent } from "@geekmidas/events";
7
- import * as _geekmidas_logger22 from "@geekmidas/logger";
8
7
  import { Logger } from "@geekmidas/logger";
9
- import * as _geekmidas_schema21 from "@geekmidas/schema";
10
8
  import { ComposableStandardSchema, InferComposableStandardSchema, InferStandardSchema } from "@geekmidas/schema";
11
- import { StandardSchemaV1 } from "@standard-schema/spec";
12
-
13
9
  //#region src/functions/Function.d.ts
14
-
15
10
  declare class Function<TInput extends ComposableStandardSchema | undefined = undefined, TServices extends Service[] = [], TLogger extends Logger = Logger, OutSchema extends StandardSchemaV1 | undefined = undefined, TEventPublisher extends EventPublisher<any> | undefined = undefined, TEventPublisherServiceName extends string = string, TAuditStorage extends AuditStorage | undefined = undefined, TAuditStorageServiceName extends string = string, TDatabase = undefined, TDatabaseServiceName extends string = string, TAuditAction extends AuditableAction<string, unknown> = AuditableAction<string, unknown>, Fn extends FunctionHandler<TInput, TServices, TLogger, OutSchema, TDatabase, TAuditStorage, TAuditAction> = FunctionHandler<TInput, TServices, TLogger, OutSchema, TDatabase, TAuditStorage, TAuditAction>> extends Construct<TLogger, TEventPublisherServiceName, TEventPublisher, OutSchema, TServices, TAuditStorageServiceName, TAuditStorage> {
16
11
  readonly fn: Fn;
17
12
  input?: TInput | undefined;
18
- databaseService?: Service<TDatabaseServiceName, TDatabase> | undefined;
13
+ databaseService?: Service<TDatabaseServiceName, TDatabase>;
19
14
  __IS_FUNCTION__: boolean;
20
15
  static isFunction(obj: any): obj is Function<any, any, any, any, any>;
21
16
  /**
@@ -25,7 +20,7 @@ declare class Function<TInput extends ComposableStandardSchema | undefined = und
25
20
  * @param data - The data to validate
26
21
  * @returns Validation result with value or issues
27
22
  */
28
- static validate<T extends StandardSchemaV1>(schema: T, data: unknown): StandardSchemaV1.Result<unknown> | Promise<StandardSchemaV1.Result<unknown>>;
23
+ static validate<T extends StandardSchemaV1>(schema: T, data: unknown): Promise<StandardSchemaV1.Result<unknown>> | StandardSchemaV1.Result<unknown>;
29
24
  /**
30
25
  * Parses and validates data against a schema, throwing an error if validation fails.
31
26
  *
@@ -43,9 +38,8 @@ declare class Function<TInput extends ComposableStandardSchema | undefined = und
43
38
  * @throws {UnprocessableEntityError} When output validation fails
44
39
  */
45
40
  parseOutput(output: unknown): Promise<InferStandardSchema<OutSchema>>;
46
- constructor(fn: Fn, timeout?: number,
47
- // Default timeout of 30 seconds
48
- type?: ConstructType, input?: TInput | undefined, outputSchema?: OutSchema, services?: TServices, logger?: TLogger, publisherService?: Service<TEventPublisherServiceName, TEventPublisher>, events?: MappedEvent<TEventPublisher, OutSchema>[], memorySize?: number, auditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>, databaseService?: Service<TDatabaseServiceName, TDatabase> | undefined,
41
+ constructor(fn: Fn, timeout?: number // Default timeout of 30 seconds
42
+ , type?: ConstructType, input?: TInput | undefined, outputSchema?: OutSchema, services?: TServices, logger?: TLogger, publisherService?: Service<TEventPublisherServiceName, TEventPublisher>, events?: MappedEvent<TEventPublisher, OutSchema>[], memorySize?: number, auditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>, databaseService?: Service<TDatabaseServiceName, TDatabase>,
49
43
  /**
50
44
  * The construct ids `.dependsOn()` named — last, so no existing positional
51
45
  * argument moves.
@@ -99,6 +93,14 @@ declare abstract class BaseFunctionBuilder<TInput extends ComposableStandardSche
99
93
  * which process runs it without a directory having to imply it.
100
94
  */
101
95
  _owner?: string;
96
+ /**
97
+ * Where a cron built from this factory keeps its schedule.
98
+ *
99
+ * Set by the worker that handed the factory out, the same way the logger
100
+ * and the owner are — so a cron file names a schedule and nothing else.
101
+ * Only a server target reads it; on AWS the schedule is an EventBridge rule.
102
+ */
103
+ _scheduleStore?: unknown;
102
104
  protected _events: MappedEvent<TEventPublisher, OutSchema>[];
103
105
  protected _publisher?: Service<TEventPublisherServiceName, TEventPublisher>;
104
106
  protected _auditorStorage?: Service<TAuditStorageServiceName, TAuditStorage>;
@@ -120,7 +122,6 @@ declare abstract class BaseFunctionBuilder<TInput extends ComposableStandardSche
120
122
  */
121
123
  database<T, TName extends string>(source: Consumable<TName, T> | Service<TName, T>): BaseFunctionBuilder<TInput, OutSchema, TServices, TLogger, TEventPublisher, TEventPublisherServiceName, TAuditStorage, TAuditStorageServiceName, T, TName>;
122
124
  }
123
- //# sourceMappingURL=BaseFunctionBuilder.d.ts.map
124
125
  //#endregion
125
126
  //#region src/functions/FunctionBuilder.d.ts
126
127
  declare class FunctionBuilder<TInput extends ComposableStandardSchema, OutSchema extends StandardSchemaV1 | undefined = undefined, TServices extends Service[] = [], TLogger extends Logger = Logger, TEventPublisher extends EventPublisher<any> | undefined = undefined, TEventPublisherServiceName extends string = string, TAuditStorage extends AuditStorage | undefined = undefined, TAuditStorageServiceName extends string = string, TDatabase = undefined, TDatabaseServiceName extends string = string, TAuditAction extends AuditableAction<string, unknown> = AuditableAction<string, unknown>> extends BaseFunctionBuilder<TInput, OutSchema, TServices, TLogger, TEventPublisher, TEventPublisherServiceName, TAuditStorage, TAuditStorageServiceName, TDatabase, TDatabaseServiceName> {
@@ -159,12 +160,6 @@ declare class FunctionBuilder<TInput extends ComposableStandardSchema, OutSchema
159
160
  database<T, TName extends string>(source: Consumable<TName, T> | Service<TName, T>): FunctionBuilder<TInput, OutSchema, TServices, TLogger, TEventPublisher, TEventPublisherServiceName, TAuditStorage, TAuditStorageServiceName, T, TName, TAuditAction>;
160
161
  handle(fn: FunctionHandler<TInput, TServices, TLogger, OutSchema, TDatabase, TAuditStorage, TAuditAction>): Function<TInput, TServices, TLogger, OutSchema, TEventPublisher, TEventPublisherServiceName, TAuditStorage, TAuditStorageServiceName, TDatabase, TDatabaseServiceName, TAuditAction, FunctionHandler<TInput, TServices, TLogger, OutSchema, TDatabase, TAuditStorage, TAuditAction>>;
161
162
  }
162
- //# sourceMappingURL=FunctionBuilder.d.ts.map
163
- //#endregion
164
- //#region src/functions/index.d.ts
165
- declare const f: FunctionBuilder<_geekmidas_schema21.ComposableStandardSchema, undefined, [], _geekmidas_logger22.Logger, undefined, string, undefined, string, undefined, string, _geekmidas_audit23.AuditableAction<string, unknown>>;
166
- //# sourceMappingURL=index.d.ts.map
167
-
168
163
  //#endregion
169
- export { BaseFunctionBuilder, Function, FunctionBuilder, FunctionContext, FunctionHandler, f };
170
- //# sourceMappingURL=index-CubPzHd9.d.mts.map
164
+ export { FunctionHandler as a, FunctionContext as i, BaseFunctionBuilder as n, Function as r, FunctionBuilder as t };
165
+ //# sourceMappingURL=index-yb3fXNyH.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-yb3fXNyH.d.mts","names":[],"sources":["../src/functions/Function.ts","../src/functions/BaseFunctionBuilder.ts","../src/functions/FunctionBuilder.ts"],"mappings":"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Cf,QAAQ,IACN,gBACF,GACA,WACA,WACA,SACA,iBACA,4BACA,eACA,0BACA,WACA,sBACA;;;;;;;;;;;;EA8BD,gBAAgB,mBAAmB,cAClC,YAAY,IACV,gBACF,QACA,eACI,cAAc,WAAW,KAC7B,SACA,iBACA,4BACA,eACA,0BACA,WACA,sBACA;EAgCD,SAAS,UAAU,WAClB,UAAU,IACR,gBACF,QACA,eACI,cAAc,IAClB,SACA,iBACA,4BACA,eACA,0BACA,WACA,sBACA;EAsBD,OAAO,UAAU,QAChB,QAAQ,IACN,gBACF,QACA,WACA,WACA,GACA,iBACA,4BACA,eACA,0BACA,WACA,sBACA;EAmBQ,UAAU,UAAU,qBAAqB,sBACjD,WAAW,QAAQ,OAAO,KACxB,gBACF,QACA,WACA,WACA,SACA,GACA,OACA,eACA,0BACA,WACA,sBACA;EAwBQ,QAAQ,UAAU,cAAc,sBACxC,SAAS,QAAQ,OAAO,KACtB,gBACF,QACA,WACA,WACA,SACA,iBACA,4BACA,GACA,OACA,WACA,sBACA;;;;;EA0BD,QAAQ,UAAU,qCAAqC,gBACtD,QACA,WACA,WACA,SACA,iBACA,4BACA,eACA,0BACA,WACA,sBACA;;;;;EAqBQ,SAAS,GAAG,sBACpB,QAAQ,WAAW,OAAO,KAAK,QAAQ,OAAO,KAC5C,gBACF,QACA,WACA,WACA,SACA,iBACA,4BACA,eACA,0BACA,GACA,OACA;EA4BD,OACC,IAAI,gBACH,QACA,WACA,SACA,WACA,WACA,eACA,gBAEC,SACF,QACA,WACA,SACA,WACA,iBACA,4BACA,eACA,0BACA,WACA,sBACA,cACA,gBACC,QACA,WACA,SACA,WACA,WACA,eACA"}
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
- const require_Construct = require('./Construct-CyS3RpTL.cjs');
2
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_Construct = require("./Construct-yG9Sw-5p.cjs");
3
3
  exports.Construct = require_Construct.Construct;
4
4
  exports.ConstructType = require_Construct.ConstructType;
5
5
  exports.sniffService = require_Construct.sniffService;
6
- exports.snifferContext = require_Construct.snifferContext;
6
+ exports.snifferContext = require_Construct.snifferContext;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { Construct, ConstructType, sniffService, snifferContext } from "./Construct-C0ijr2qp.cjs";
2
- import { HttpMethod, LowerHttpMethod, RemoveUndefined } from "./types-BlAkSuGI.cjs";
3
- import { Telemetry, TelemetryContext, TelemetryRequest, TelemetryResponse } from "./telemetry-C3L0iS28.cjs";
1
+ import { i as snifferContext, n as ConstructType, r as sniffService, t as Construct } from "./Construct-DTqYvkPG.cjs";
2
+ import { n as LowerHttpMethod, r as RemoveUndefined, t as HttpMethod } from "./types-DMuSQeLL.cjs";
3
+ import { i as TelemetryResponse, n as TelemetryContext, r as TelemetryRequest, t as Telemetry } from "./telemetry-DGcFlVpB.cjs";
4
4
  import { Service, ServiceRecord } from "@geekmidas/services";
5
- export { Construct, ConstructType, HttpMethod, LowerHttpMethod, RemoveUndefined, Service, ServiceRecord, Telemetry, TelemetryContext, TelemetryRequest, TelemetryResponse, sniffService, snifferContext };
5
+ export { Construct, ConstructType, type HttpMethod, type LowerHttpMethod, type RemoveUndefined, type Service, type ServiceRecord, type Telemetry, type TelemetryContext, type TelemetryRequest, type TelemetryResponse, sniffService, snifferContext };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { Construct, ConstructType, sniffService, snifferContext } from "./Construct-Ct8nalEi.mjs";
2
- import { HttpMethod, LowerHttpMethod, RemoveUndefined } from "./types-aKksMEWL.mjs";
3
- import { Telemetry, TelemetryContext, TelemetryRequest, TelemetryResponse } from "./telemetry-D7bVFLGi.mjs";
1
+ import { i as snifferContext, n as ConstructType, r as sniffService, t as Construct } from "./Construct-pVadmURD.mjs";
2
+ import { n as LowerHttpMethod, r as RemoveUndefined, t as HttpMethod } from "./types-DMuSQeLL.mjs";
3
+ import { i as TelemetryResponse, n as TelemetryContext, r as TelemetryRequest, t as Telemetry } from "./telemetry-DGcFlVpB.mjs";
4
4
  import { Service, ServiceRecord } from "@geekmidas/services";
5
- export { Construct, ConstructType, HttpMethod, LowerHttpMethod, RemoveUndefined, Service, ServiceRecord, Telemetry, TelemetryContext, TelemetryRequest, TelemetryResponse, sniffService, snifferContext };
5
+ export { Construct, ConstructType, type HttpMethod, type LowerHttpMethod, type RemoveUndefined, type Service, type ServiceRecord, type Telemetry, type TelemetryContext, type TelemetryRequest, type TelemetryResponse, sniffService, snifferContext };
package/dist/index.mjs CHANGED
@@ -1,3 +1,2 @@
1
- import { Construct, ConstructType, sniffService, snifferContext } from "./Construct-BD5neF7w.mjs";
2
-
3
- export { Construct, ConstructType, sniffService, snifferContext };
1
+ import { i as snifferContext, n as ConstructType, r as sniffService, t as Construct } from "./Construct-Detz65RA.mjs";
2
+ export { Construct, ConstructType, sniffService, snifferContext };
@@ -0,0 +1,159 @@
1
+ import { n as Construct } from "./construct-interface-DPusCUSQ.cjs";
2
+ import { t as Cache } from "./cache-CYe2Kzjc.cjs";
3
+ import { Service } from "@geekmidas/services";
4
+ import { ConstructName, Declaration, PostgresVersion } from "@geekmidas/manifest";
5
+ import { Kysely, KyselyConfig } from "kysely";
6
+ //#region src/database/kysely.d.ts
7
+ /**
8
+ * Everything Kysely takes, plus what this construct declares.
9
+ *
10
+ * `dialect` is omitted because the construct owns it — it is built from the one
11
+ * URL the adapter supplied, which is the whole point of the construct. The rest
12
+ * of `KyselyConfig` (`plugins`, `log`) is the app's business and passes
13
+ * straight through, so anything Kysely adds later arrives without being
14
+ * tracked here.
15
+ */
16
+ interface KyselyDatabaseOptions extends Omit<KyselyConfig, 'dialect'> {
17
+ /**
18
+ * The schema, pinned on both roles' `search_path`.
19
+ *
20
+ * Defaults to `app` — the role the schema plays, rather than a restatement
21
+ * of the database's own name, which reads correctly beside `auth` and
22
+ * `pgboss` and keeps the application off `public`.
23
+ */
24
+ schema?: string;
25
+ /**
26
+ * Provision the owner/runtime role split. Defaults to on.
27
+ *
28
+ * Off falls back to the cluster's master credential in both URLs, giving up
29
+ * the DDL/DML split and putting credentials that can drop a table into the
30
+ * function's environment. A deliberate downgrade, not a default.
31
+ */
32
+ roles?: boolean;
33
+ /**
34
+ * The Postgres major version to provision.
35
+ *
36
+ * Declared here so one statement reaches both targets. It was previously
37
+ * set in two unrelated places — a container tag locally, nothing at all on
38
+ * AWS (so Aurora chose) — which is how local came to run 18 while deployed
39
+ * ran 17.7 with nothing recording the difference.
40
+ *
41
+ * Defaults to {@link DEFAULT_POSTGRES_VERSION}.
42
+ */
43
+ version?: PostgresVersion;
44
+ }
45
+ /** What makes a construct derived rather than a database in its own right. */
46
+ interface DerivedFrom {
47
+ kind: 'database-reader' | 'database-schema';
48
+ of: string;
49
+ schema?: string;
50
+ }
51
+ /**
52
+ * @typeParam DB - the database's schema.
53
+ * @typeParam TName - the canonical id. TypeScript has no partial
54
+ * type-argument inference, so `new KyselyDatabase<OrdersDB>('orders')` leaves
55
+ * this at its default and the service key widens to `string`. `db` still types
56
+ * through `.database()`, which infers from the service.
57
+ */
58
+ declare class KyselyDatabase<DB = unknown, TName extends string = string> implements Construct<TName, Kysely<DB>> {
59
+ private readonly options;
60
+ readonly id: TName;
61
+ readonly service: Service<Uncapitalize<TName>, Kysely<DB>>;
62
+ /**
63
+ * Declared once and read by both `declare()` and `connect()`, so the key the
64
+ * build publishes and the key the client reads cannot drift.
65
+ */
66
+ private readonly config;
67
+ private readonly schemaName;
68
+ private readonly roles;
69
+ private readonly version;
70
+ private readonly derivedFrom?;
71
+ constructor(id: ConstructName<TName>, options?: KyselyDatabaseOptions, derivedFrom?: DerivedFrom);
72
+ declare(): Declaration[];
73
+ /**
74
+ * A read-only endpoint on this database.
75
+ *
76
+ * Read-only is enforced by the reader role's grants rather than by which
77
+ * endpoint it resolves to, so falling back to the writer where no replica
78
+ * exists is safe rather than a silently writable connection behind a name
79
+ * that says reader. There is no `writer()`: the database *is* the writer, so
80
+ * a replica can never be reached by accident.
81
+ *
82
+ * The return type is narrower than this class on purpose — see
83
+ * {@link ReadOnlyDatabase}.
84
+ */
85
+ reader(): ReadOnlyDatabase<DB, `${TName}Reader`>;
86
+ /**
87
+ * A cache that lives in this database.
88
+ *
89
+ * The same strengthening `schema()` is over a second database: `new
90
+ * Cache('Sessions')` says the app caches and leaves where to the deployment,
91
+ * while this says it caches *here* — which is a fact about the application
92
+ * and so belongs in its code.
93
+ *
94
+ * What it buys beyond being explicit: the table's schema and the role that
95
+ * reaches it come from this database rather than from a second convention,
96
+ * and the backend no longer has to guess which database "the database" meant
97
+ * when an app declares two.
98
+ *
99
+ * A cache is not a `KyselyDatabase`, so this returns a `Cache` — the client
100
+ * is a key/value store, not a query builder, and typing it as the parent
101
+ * would be a convenience that lies.
102
+ */
103
+ cache<TCache extends string = `${TName}Cache`>(id?: ConstructName<TCache>, options?: {
104
+ table?: string;
105
+ }): Cache<TCache>;
106
+ /**
107
+ * A second schema in this database, with its own role(s) and its own URL —
108
+ * so this database's role holds no grant on those tables at all.
109
+ *
110
+ * Typed separately because a tenant has its own tables: the point is that
111
+ * `auth.selectFrom('sessions')` type-checks and
112
+ * `orders.selectFrom('sessions')` does not.
113
+ */
114
+ schema<TenantDB, TTenant extends string>(id: ConstructName<TTenant>, options?: KyselyDatabaseOptions): KyselyDatabase<TenantDB, TTenant>;
115
+ /**
116
+ * A connection as the *owner* role — the one that may create, alter and drop.
117
+ *
118
+ * A `Service` rather than part of the construct, and deliberately so: a
119
+ * construct is what `.dependsOn()` accepts, and nothing should be able to
120
+ * depend on this. A migrator asks for it by name; a handler cannot ask at
121
+ * all, which is the security property the role split exists for.
122
+ *
123
+ * Falls back to the runtime URL where no owner URL was published — the
124
+ * `roles: false` downgrade, where there is only one credential and it is the
125
+ * cluster master's.
126
+ */
127
+ get owner(): Service<`${Uncapitalize<TName>}Owner`, Kysely<DB>>;
128
+ /**
129
+ * What this database's clients are built with besides a dialect — the
130
+ * plugins and logging it was declared with.
131
+ *
132
+ * Public so that whatever opens a connection to it outside \`connect()\` —
133
+ * a test's transaction — builds the same client. A test that dropped the
134
+ * plugins would write \`createdAt\` where production writes \`created_at\`.
135
+ */
136
+ get clientConfig(): Omit<KyselyConfig, 'dialect'>;
137
+ private connect;
138
+ }
139
+ /**
140
+ * A database you may read through, and derive nothing from.
141
+ *
142
+ * A reader is terminal in the graph, and this is that fact in the type system.
143
+ * `DERIVES_FROM` gives `cache` and `database-schema` no `database-reader`
144
+ * parent, and there is no reader of a reader — so `orders.reader().cache(…)`
145
+ * has always been illegal, but it type-checked and failed later at
146
+ * `assertDerivations`. That is a long way round to learn that a read-only
147
+ * endpoint cannot own a table something writes to.
148
+ *
149
+ * Omitting the three deriving methods rather than making them throw keeps the
150
+ * failure where it costs least: the editor, on the line that wrote it.
151
+ *
152
+ * The result is deliberately not assignable back to `KyselyDatabase` — a
153
+ * reader is not one, and anything that genuinely needs the writer should say
154
+ * so.
155
+ */
156
+ type ReadOnlyDatabase<DB, TName extends string> = Omit<KyselyDatabase<DB, TName>, 'reader' | 'cache' | 'schema'>;
157
+ //#endregion
158
+ export { KyselyDatabaseOptions as n, ReadOnlyDatabase as r, KyselyDatabase as t };
159
+ //# sourceMappingURL=kysely-CEVXacPN.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kysely-CEVXacPN.d.cts","names":[],"sources":["../src/database/kysely.ts"],"mappings":";;;;;;;;;;;;;;;UAwCiB,8BAA8B,KAAK;;;;;;;;EAQnD;;;;;;;;EAQA;;;;;;;;;;;EAWA,UAAU;;;UAID;EACT;EACA;EACA;;;;;;;;;cAUY,eAAe,cAAc,0CAC9B,UAAU,OAAO,OAAO;mBAiBjB;WAfT,IAAI;WACJ,SAAS,QAAQ,aAAa,QAAQ,OAAO;;;;;mBAMrC;mBACA;mBACA;mBACA;mBACA;EAEjB,YACC,IAAI,cAAc,QACD,UAAS,uBAC1B,cAAc;EAyBf,WAAW;;;;;;;;;;;;;EAqDX,UAAU,iBAAiB,OAAO;;;;;;;;;;;;;;;;;;EAyBlC,MAAM,2BAA2B,cAChC,KAAI,cAAc,SAClB;IAAW;MACT,MAAM;;;;;;;;;EAeT,OAAO,UAAU,wBAChB,IAAI,cAAc,UAClB,UAAS,wBACP,eAAe,UAAU;;;;;;;;;;;;;MAoBxB,SAAS,WAAW,aAAa,eAAe,OAAO;;;;;;;;;MAgBvD,gBAAgB,KAAK;UAaX;;;;;;;;;;;;;;;;;;;KA6DH,iBAAiB,IAAI,wBAAwB,KACxD,eAAe,IAAI"}
@@ -0,0 +1,159 @@
1
+ import { n as Construct } from "./construct-interface-D2gesxos.mjs";
2
+ import { t as Cache } from "./cache-B2s0b-ss.mjs";
3
+ import { ConstructName, Declaration, PostgresVersion } from "@geekmidas/manifest";
4
+ import { Kysely, KyselyConfig } from "kysely";
5
+ import { Service } from "@geekmidas/services";
6
+ //#region src/database/kysely.d.ts
7
+ /**
8
+ * Everything Kysely takes, plus what this construct declares.
9
+ *
10
+ * `dialect` is omitted because the construct owns it — it is built from the one
11
+ * URL the adapter supplied, which is the whole point of the construct. The rest
12
+ * of `KyselyConfig` (`plugins`, `log`) is the app's business and passes
13
+ * straight through, so anything Kysely adds later arrives without being
14
+ * tracked here.
15
+ */
16
+ interface KyselyDatabaseOptions extends Omit<KyselyConfig, 'dialect'> {
17
+ /**
18
+ * The schema, pinned on both roles' `search_path`.
19
+ *
20
+ * Defaults to `app` — the role the schema plays, rather than a restatement
21
+ * of the database's own name, which reads correctly beside `auth` and
22
+ * `pgboss` and keeps the application off `public`.
23
+ */
24
+ schema?: string;
25
+ /**
26
+ * Provision the owner/runtime role split. Defaults to on.
27
+ *
28
+ * Off falls back to the cluster's master credential in both URLs, giving up
29
+ * the DDL/DML split and putting credentials that can drop a table into the
30
+ * function's environment. A deliberate downgrade, not a default.
31
+ */
32
+ roles?: boolean;
33
+ /**
34
+ * The Postgres major version to provision.
35
+ *
36
+ * Declared here so one statement reaches both targets. It was previously
37
+ * set in two unrelated places — a container tag locally, nothing at all on
38
+ * AWS (so Aurora chose) — which is how local came to run 18 while deployed
39
+ * ran 17.7 with nothing recording the difference.
40
+ *
41
+ * Defaults to {@link DEFAULT_POSTGRES_VERSION}.
42
+ */
43
+ version?: PostgresVersion;
44
+ }
45
+ /** What makes a construct derived rather than a database in its own right. */
46
+ interface DerivedFrom {
47
+ kind: 'database-reader' | 'database-schema';
48
+ of: string;
49
+ schema?: string;
50
+ }
51
+ /**
52
+ * @typeParam DB - the database's schema.
53
+ * @typeParam TName - the canonical id. TypeScript has no partial
54
+ * type-argument inference, so `new KyselyDatabase<OrdersDB>('orders')` leaves
55
+ * this at its default and the service key widens to `string`. `db` still types
56
+ * through `.database()`, which infers from the service.
57
+ */
58
+ declare class KyselyDatabase<DB = unknown, TName extends string = string> implements Construct<TName, Kysely<DB>> {
59
+ private readonly options;
60
+ readonly id: TName;
61
+ readonly service: Service<Uncapitalize<TName>, Kysely<DB>>;
62
+ /**
63
+ * Declared once and read by both `declare()` and `connect()`, so the key the
64
+ * build publishes and the key the client reads cannot drift.
65
+ */
66
+ private readonly config;
67
+ private readonly schemaName;
68
+ private readonly roles;
69
+ private readonly version;
70
+ private readonly derivedFrom?;
71
+ constructor(id: ConstructName<TName>, options?: KyselyDatabaseOptions, derivedFrom?: DerivedFrom);
72
+ declare(): Declaration[];
73
+ /**
74
+ * A read-only endpoint on this database.
75
+ *
76
+ * Read-only is enforced by the reader role's grants rather than by which
77
+ * endpoint it resolves to, so falling back to the writer where no replica
78
+ * exists is safe rather than a silently writable connection behind a name
79
+ * that says reader. There is no `writer()`: the database *is* the writer, so
80
+ * a replica can never be reached by accident.
81
+ *
82
+ * The return type is narrower than this class on purpose — see
83
+ * {@link ReadOnlyDatabase}.
84
+ */
85
+ reader(): ReadOnlyDatabase<DB, `${TName}Reader`>;
86
+ /**
87
+ * A cache that lives in this database.
88
+ *
89
+ * The same strengthening `schema()` is over a second database: `new
90
+ * Cache('Sessions')` says the app caches and leaves where to the deployment,
91
+ * while this says it caches *here* — which is a fact about the application
92
+ * and so belongs in its code.
93
+ *
94
+ * What it buys beyond being explicit: the table's schema and the role that
95
+ * reaches it come from this database rather than from a second convention,
96
+ * and the backend no longer has to guess which database "the database" meant
97
+ * when an app declares two.
98
+ *
99
+ * A cache is not a `KyselyDatabase`, so this returns a `Cache` — the client
100
+ * is a key/value store, not a query builder, and typing it as the parent
101
+ * would be a convenience that lies.
102
+ */
103
+ cache<TCache extends string = `${TName}Cache`>(id?: ConstructName<TCache>, options?: {
104
+ table?: string;
105
+ }): Cache<TCache>;
106
+ /**
107
+ * A second schema in this database, with its own role(s) and its own URL —
108
+ * so this database's role holds no grant on those tables at all.
109
+ *
110
+ * Typed separately because a tenant has its own tables: the point is that
111
+ * `auth.selectFrom('sessions')` type-checks and
112
+ * `orders.selectFrom('sessions')` does not.
113
+ */
114
+ schema<TenantDB, TTenant extends string>(id: ConstructName<TTenant>, options?: KyselyDatabaseOptions): KyselyDatabase<TenantDB, TTenant>;
115
+ /**
116
+ * A connection as the *owner* role — the one that may create, alter and drop.
117
+ *
118
+ * A `Service` rather than part of the construct, and deliberately so: a
119
+ * construct is what `.dependsOn()` accepts, and nothing should be able to
120
+ * depend on this. A migrator asks for it by name; a handler cannot ask at
121
+ * all, which is the security property the role split exists for.
122
+ *
123
+ * Falls back to the runtime URL where no owner URL was published — the
124
+ * `roles: false` downgrade, where there is only one credential and it is the
125
+ * cluster master's.
126
+ */
127
+ get owner(): Service<`${Uncapitalize<TName>}Owner`, Kysely<DB>>;
128
+ /**
129
+ * What this database's clients are built with besides a dialect — the
130
+ * plugins and logging it was declared with.
131
+ *
132
+ * Public so that whatever opens a connection to it outside \`connect()\` —
133
+ * a test's transaction — builds the same client. A test that dropped the
134
+ * plugins would write \`createdAt\` where production writes \`created_at\`.
135
+ */
136
+ get clientConfig(): Omit<KyselyConfig, 'dialect'>;
137
+ private connect;
138
+ }
139
+ /**
140
+ * A database you may read through, and derive nothing from.
141
+ *
142
+ * A reader is terminal in the graph, and this is that fact in the type system.
143
+ * `DERIVES_FROM` gives `cache` and `database-schema` no `database-reader`
144
+ * parent, and there is no reader of a reader — so `orders.reader().cache(…)`
145
+ * has always been illegal, but it type-checked and failed later at
146
+ * `assertDerivations`. That is a long way round to learn that a read-only
147
+ * endpoint cannot own a table something writes to.
148
+ *
149
+ * Omitting the three deriving methods rather than making them throw keeps the
150
+ * failure where it costs least: the editor, on the line that wrote it.
151
+ *
152
+ * The result is deliberately not assignable back to `KyselyDatabase` — a
153
+ * reader is not one, and anything that genuinely needs the writer should say
154
+ * so.
155
+ */
156
+ type ReadOnlyDatabase<DB, TName extends string> = Omit<KyselyDatabase<DB, TName>, 'reader' | 'cache' | 'schema'>;
157
+ //#endregion
158
+ export { KyselyDatabaseOptions as n, ReadOnlyDatabase as r, KyselyDatabase as t };
159
+ //# sourceMappingURL=kysely-mcTdPNhl.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kysely-mcTdPNhl.d.mts","names":[],"sources":["../src/database/kysely.ts"],"mappings":";;;;;;;;;;;;;;;UAwCiB,8BAA8B,KAAK;;;;;;;;EAQnD;;;;;;;;EAQA;;;;;;;;;;;EAWA,UAAU;;;UAID;EACT;EACA;EACA;;;;;;;;;cAUY,eAAe,cAAc,0CAC9B,UAAU,OAAO,OAAO;mBAiBjB;WAfT,IAAI;WACJ,SAAS,QAAQ,aAAa,QAAQ,OAAO;;;;;mBAMrC;mBACA;mBACA;mBACA;mBACA;EAEjB,YACC,IAAI,cAAc,QACD,UAAS,uBAC1B,cAAc;EAyBf,WAAW;;;;;;;;;;;;;EAqDX,UAAU,iBAAiB,OAAO;;;;;;;;;;;;;;;;;;EAyBlC,MAAM,2BAA2B,cAChC,KAAI,cAAc,SAClB;IAAW;MACT,MAAM;;;;;;;;;EAeT,OAAO,UAAU,wBAChB,IAAI,cAAc,UAClB,UAAS,wBACP,eAAe,UAAU;;;;;;;;;;;;;MAoBxB,SAAS,WAAW,aAAa,eAAe,OAAO;;;;;;;;;MAgBvD,gBAAgB,KAAK;UAaX;;;;;;;;;;;;;;;;;;;KA6DH,iBAAiB,IAAI,wBAAwB,KACxD,eAAe,IAAI"}