@geekmidas/cli 10.0.0-alpha.139 → 10.0.0-alpha.140

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 (221) hide show
  1. package/dist/{EndpointGenerator-DDfPq2AZ.mjs → EndpointGenerator-BMRL04ic.mjs} +2 -2
  2. package/dist/{EndpointGenerator-DDfPq2AZ.mjs.map → EndpointGenerator-BMRL04ic.mjs.map} +1 -1
  3. package/dist/{EndpointGenerator-BGKb_Ie6.cjs → EndpointGenerator-ePscnbwB.cjs} +2 -2
  4. package/dist/{EndpointGenerator-BGKb_Ie6.cjs.map → EndpointGenerator-ePscnbwB.cjs.map} +1 -1
  5. package/dist/{GoDaddyProvider-baMIwhIy.mjs → GoDaddyProvider-BgY6mqoH.mjs} +42 -17
  6. package/dist/GoDaddyProvider-BgY6mqoH.mjs.map +1 -0
  7. package/dist/{GoDaddyProvider-DA0rzRQt.cjs → GoDaddyProvider-C-rs22Zv.cjs} +42 -17
  8. package/dist/GoDaddyProvider-C-rs22Zv.cjs.map +1 -0
  9. package/dist/{HostingerProvider-Cjh_2Ml6.mjs → HostingerProvider-CgMuKgO_.mjs} +13 -4
  10. package/dist/HostingerProvider-CgMuKgO_.mjs.map +1 -0
  11. package/dist/{HostingerProvider-OdQmKXE3.cjs → HostingerProvider-DEqpvoiD.cjs} +13 -4
  12. package/dist/HostingerProvider-DEqpvoiD.cjs.map +1 -0
  13. package/dist/{LegacyStateStore-h1u5xlpb.cjs → LegacyStateStore-6xskEtld.cjs} +3 -3
  14. package/dist/{LegacyStateStore-h1u5xlpb.cjs.map → LegacyStateStore-6xskEtld.cjs.map} +1 -1
  15. package/dist/{LegacyStateStore-BSrw1yNS.mjs → LegacyStateStore-Dx65SWE9.mjs} +3 -3
  16. package/dist/{LegacyStateStore-BSrw1yNS.mjs.map → LegacyStateStore-Dx65SWE9.mjs.map} +1 -1
  17. package/dist/{LocalStateStore-HmKqUWkF.cjs → LocalStateStore-DFtTtHty.cjs} +2 -2
  18. package/dist/{LocalStateStore-HmKqUWkF.cjs.map → LocalStateStore-DFtTtHty.cjs.map} +1 -1
  19. package/dist/{LocalStateStore-BlH6Eanc.mjs → LocalStateStore-Dto39TCx.mjs} +2 -2
  20. package/dist/{LocalStateStore-BlH6Eanc.mjs.map → LocalStateStore-Dto39TCx.mjs.map} +1 -1
  21. package/dist/{OpenApiTsGenerator-DSy2gbfi.mjs → OpenApiTsGenerator-B-PQLx8X.mjs} +2 -2
  22. package/dist/{OpenApiTsGenerator-DSy2gbfi.mjs.map → OpenApiTsGenerator-B-PQLx8X.mjs.map} +1 -1
  23. package/dist/{OpenApiTsGenerator-B33Y_6oe.cjs → OpenApiTsGenerator-BvacdbiG.cjs} +2 -2
  24. package/dist/{OpenApiTsGenerator-B33Y_6oe.cjs.map → OpenApiTsGenerator-BvacdbiG.cjs.map} +1 -1
  25. package/dist/{S3StateStore-Ccz7J7Cf.cjs → S3StateStore-B-9ea-sX.cjs} +2 -2
  26. package/dist/{S3StateStore-Ccz7J7Cf.cjs.map → S3StateStore-B-9ea-sX.cjs.map} +1 -1
  27. package/dist/{S3StateStore-CwVWjNXJ.mjs → S3StateStore-C01zMOYm.mjs} +2 -2
  28. package/dist/{S3StateStore-CwVWjNXJ.mjs.map → S3StateStore-C01zMOYm.mjs.map} +1 -1
  29. package/dist/{SSMStateStore-CAxcx0U2.cjs → SSMStateStore-CKArcPUh.cjs} +2 -2
  30. package/dist/{SSMStateStore-CAxcx0U2.cjs.map → SSMStateStore-CKArcPUh.cjs.map} +1 -1
  31. package/dist/{SSMStateStore-CASt-lob.mjs → SSMStateStore-k-4XM7mb.mjs} +2 -2
  32. package/dist/{SSMStateStore-CASt-lob.mjs.map → SSMStateStore-k-4XM7mb.mjs.map} +1 -1
  33. package/dist/{SubscriberGenerator-zUd87wvg.mjs → SubscriberGenerator-DLPH-ynS.mjs} +148 -11
  34. package/dist/SubscriberGenerator-DLPH-ynS.mjs.map +1 -0
  35. package/dist/{SubscriberGenerator-DDCqRTbq.cjs → SubscriberGenerator-DR4Y7ihK.cjs} +170 -9
  36. package/dist/SubscriberGenerator-DR4Y7ihK.cjs.map +1 -0
  37. package/dist/{add-Cq7B_VSJ.cjs → add-BgzsYxUq.cjs} +6 -6
  38. package/dist/{add-Cq7B_VSJ.cjs.map → add-BgzsYxUq.cjs.map} +1 -1
  39. package/dist/{add-6tyL4tWq.mjs → add-CiIrpOb9.mjs} +6 -6
  40. package/dist/{add-6tyL4tWq.mjs.map → add-CiIrpOb9.mjs.map} +1 -1
  41. package/dist/{bundler-CXuVyqXY.mjs → bundler-C4uMSy8e.mjs} +5 -5
  42. package/dist/{bundler-CXuVyqXY.mjs.map → bundler-C4uMSy8e.mjs.map} +1 -1
  43. package/dist/{bundler-DRmdcbXx.cjs → bundler-DKxuDoVL.cjs} +5 -5
  44. package/dist/{bundler-DRmdcbXx.cjs.map → bundler-DKxuDoVL.cjs.map} +1 -1
  45. package/dist/{cli-DxtrQdRa.mjs → cli-Bm2is6R_.mjs} +3 -3
  46. package/dist/{cli-DxtrQdRa.mjs.map → cli-Bm2is6R_.mjs.map} +1 -1
  47. package/dist/{cli-DYru-gjk.cjs → cli-na0npMhC.cjs} +3 -3
  48. package/dist/{cli-DYru-gjk.cjs.map → cli-na0npMhC.cjs.map} +1 -1
  49. package/dist/{compose-Bdx2rqtO.mjs → compose-CVatM7Cl.mjs} +31 -7
  50. package/dist/compose-CVatM7Cl.mjs.map +1 -0
  51. package/dist/{compose-DJMHSSDI.cjs → compose-D8U9ygdm.cjs} +31 -7
  52. package/dist/compose-D8U9ygdm.cjs.map +1 -0
  53. package/dist/{config-B7HaIfYM.d.mts → config-BbivVpq0.d.mts} +3 -3
  54. package/dist/{config-B7HaIfYM.d.mts.map → config-BbivVpq0.d.mts.map} +1 -1
  55. package/dist/{config-DySjXKd2.d.cts → config-BcL1Fojs.d.cts} +3 -3
  56. package/dist/{config-DySjXKd2.d.cts.map → config-BcL1Fojs.d.cts.map} +1 -1
  57. package/dist/config.cjs +2 -2
  58. package/dist/config.d.cts +3 -3
  59. package/dist/config.d.mts +3 -3
  60. package/dist/config.mjs +2 -2
  61. package/dist/{credentialSchemas-DYzO2_yG.mjs → credentialSchemas-DUCSYl9a.mjs} +2 -2
  62. package/dist/{credentialSchemas-DYzO2_yG.mjs.map → credentialSchemas-DUCSYl9a.mjs.map} +1 -1
  63. package/dist/{credentialSchemas-BJMvQlks.cjs → credentialSchemas-DZ2Nh5li.cjs} +2 -2
  64. package/dist/{credentialSchemas-BJMvQlks.cjs.map → credentialSchemas-DZ2Nh5li.cjs.map} +1 -1
  65. package/dist/deploy/public.cjs +8 -8
  66. package/dist/deploy/public.d.cts +3 -8
  67. package/dist/deploy/public.d.cts.map +1 -1
  68. package/dist/deploy/public.d.mts +3 -8
  69. package/dist/deploy/public.d.mts.map +1 -1
  70. package/dist/deploy/public.mjs +8 -8
  71. package/dist/{deploy-o5n6l4MO.mjs → deploy-CDcO08Xz.mjs} +457 -47
  72. package/dist/deploy-CDcO08Xz.mjs.map +1 -0
  73. package/dist/{deploy-88E_1bHW.cjs → deploy-DrQB7ytj.cjs} +457 -46
  74. package/dist/deploy-DrQB7ytj.cjs.map +1 -0
  75. package/dist/{discover-DWtHjc1x.mjs → discover-B2m8ytyq.mjs} +2 -2
  76. package/dist/{discover-DWtHjc1x.mjs.map → discover-B2m8ytyq.mjs.map} +1 -1
  77. package/dist/{discover-B3G8eyWX.cjs → discover-yqeJ2Bx7.cjs} +2 -2
  78. package/dist/{discover-B3G8eyWX.cjs.map → discover-yqeJ2Bx7.cjs.map} +1 -1
  79. package/dist/{dokploy-al6V2P9s.cjs → dokploy-BKjPDvSN.cjs} +2 -2
  80. package/dist/{dokploy-al6V2P9s.cjs.map → dokploy-BKjPDvSN.cjs.map} +1 -1
  81. package/dist/{dokploy-C1QCPJ1t.mjs → dokploy-k4_ZN8zN.mjs} +2 -2
  82. package/dist/{dokploy-C1QCPJ1t.mjs.map → dokploy-k4_ZN8zN.mjs.map} +1 -1
  83. package/dist/{eas-D0jmXv7F.mjs → eas-B1wBvwPH.mjs} +2 -2
  84. package/dist/{eas-D0jmXv7F.mjs.map → eas-B1wBvwPH.mjs.map} +1 -1
  85. package/dist/{eas-DAsdU35R.cjs → eas-Bg4dI6n2.cjs} +2 -2
  86. package/dist/{eas-DAsdU35R.cjs.map → eas-Bg4dI6n2.cjs.map} +1 -1
  87. package/dist/{encryption-G8Ouiy55.mjs → encryption-Bve0PVOo.mjs} +3 -3
  88. package/dist/{encryption-G8Ouiy55.mjs.map → encryption-Bve0PVOo.mjs.map} +1 -1
  89. package/dist/{encryption-C5c50qvt.cjs → encryption-DL_y8t6V.cjs} +3 -3
  90. package/dist/{encryption-C5c50qvt.cjs.map → encryption-DL_y8t6V.cjs.map} +1 -1
  91. package/dist/{engine-9C68_A78.cjs → engine-BhR5lt_V.cjs} +5 -5
  92. package/dist/{engine-9C68_A78.cjs.map → engine-BhR5lt_V.cjs.map} +1 -1
  93. package/dist/{engine-bEuItjJN.mjs → engine-HMLf20iZ.mjs} +5 -5
  94. package/dist/{engine-bEuItjJN.mjs.map → engine-HMLf20iZ.mjs.map} +1 -1
  95. package/dist/{github-R-Pot7QV.cjs → github-B2hJVl-n.cjs} +6 -6
  96. package/dist/{github-R-Pot7QV.cjs.map → github-B2hJVl-n.cjs.map} +1 -1
  97. package/dist/{github-Buh2ldNN.mjs → github-DKn9ACi2.mjs} +6 -6
  98. package/dist/{github-Buh2ldNN.mjs.map → github-DKn9ACi2.mjs.map} +1 -1
  99. package/dist/{googlePlay-B_X_DJp0.mjs → googlePlay-CWq7ND_X.mjs} +3 -3
  100. package/dist/{googlePlay-B_X_DJp0.mjs.map → googlePlay-CWq7ND_X.mjs.map} +1 -1
  101. package/dist/{googlePlay-Bi5qneXA.cjs → googlePlay-DtuN0-7D.cjs} +3 -3
  102. package/dist/{googlePlay-Bi5qneXA.cjs.map → googlePlay-DtuN0-7D.cjs.map} +1 -1
  103. package/dist/{index-CTKfBwU3.d.cts → index-BZZeEWug.d.mts} +2 -2
  104. package/dist/{index-BymyHYdL.d.mts.map → index-BZZeEWug.d.mts.map} +1 -1
  105. package/dist/{index-BymyHYdL.d.mts → index-C1jffZ5_.d.cts} +2 -2
  106. package/dist/{index-CTKfBwU3.d.cts.map → index-C1jffZ5_.d.cts.map} +1 -1
  107. package/dist/index.cjs +61 -61
  108. package/dist/index.cjs.map +1 -1
  109. package/dist/index.mjs +61 -61
  110. package/dist/index.mjs.map +1 -1
  111. package/dist/{migrate-DjCvZL4P.cjs → migrate-BLVZqHtN.cjs} +3 -3
  112. package/dist/{migrate-DjCvZL4P.cjs.map → migrate-BLVZqHtN.cjs.map} +1 -1
  113. package/dist/{migrate-WkC0pay4.mjs → migrate-DCvD4RJW.mjs} +4 -4
  114. package/dist/{migrate-WkC0pay4.mjs.map → migrate-DCvD4RJW.mjs.map} +1 -1
  115. package/dist/{migrate-C9abovJK.mjs → migrate-W0ruUNb9.mjs} +3 -3
  116. package/dist/{migrate-C9abovJK.mjs.map → migrate-W0ruUNb9.mjs.map} +1 -1
  117. package/dist/{migrate-Bv4AqxYP.cjs → migrate-iUui7B4q.cjs} +4 -4
  118. package/dist/{migrate-Bv4AqxYP.cjs.map → migrate-iUui7B4q.cjs.map} +1 -1
  119. package/dist/openapi.cjs +3 -3
  120. package/dist/openapi.d.cts +1 -1
  121. package/dist/openapi.d.mts +1 -1
  122. package/dist/openapi.mjs +3 -3
  123. package/dist/{publish-BbJ7Ols2.cjs → publish-CqvDA5ry.cjs} +2 -2
  124. package/dist/{publish-BbJ7Ols2.cjs.map → publish-CqvDA5ry.cjs.map} +1 -1
  125. package/dist/{publish-BVsLFs-n.mjs → publish-CxIBBD3b.mjs} +2 -2
  126. package/dist/{publish-BVsLFs-n.mjs.map → publish-CxIBBD3b.mjs.map} +1 -1
  127. package/dist/{ready-B_to-BSY.mjs → ready-CGqJ74Kt.mjs} +5 -5
  128. package/dist/{ready-B_to-BSY.mjs.map → ready-CGqJ74Kt.mjs.map} +1 -1
  129. package/dist/{ready-C-nMK_FB.cjs → ready-DuU0FXSj.cjs} +5 -5
  130. package/dist/{ready-C-nMK_FB.cjs.map → ready-DuU0FXSj.cjs.map} +1 -1
  131. package/dist/reconcile/public.cjs +1 -1
  132. package/dist/reconcile/public.d.cts +1 -1
  133. package/dist/reconcile/public.d.mts +1 -1
  134. package/dist/reconcile/public.mjs +1 -1
  135. package/dist/{resolve-CBEFNYca.cjs → resolve-BEVVvi13.cjs} +3 -3
  136. package/dist/{resolve-CBEFNYca.cjs.map → resolve-BEVVvi13.cjs.map} +1 -1
  137. package/dist/{resolve-CTYtfl0x.mjs → resolve-CMC0MI0Z.mjs} +3 -3
  138. package/dist/{resolve-CTYtfl0x.mjs.map → resolve-CMC0MI0Z.mjs.map} +1 -1
  139. package/dist/{rollback-BT6oPcnZ.mjs → rollback-CZiQkukY.mjs} +5 -5
  140. package/dist/{rollback-BT6oPcnZ.mjs.map → rollback-CZiQkukY.mjs.map} +1 -1
  141. package/dist/{rollback-RzUJ728z.cjs → rollback-e0zGkaBx.cjs} +5 -5
  142. package/dist/{rollback-RzUJ728z.cjs.map → rollback-e0zGkaBx.cjs.map} +1 -1
  143. package/dist/{runtime-mR2O0z64.d.mts → runtime-Bvgyxm88.d.cts} +2 -2
  144. package/dist/{runtime-Dl601UcU.d.cts.map → runtime-Bvgyxm88.d.cts.map} +1 -1
  145. package/dist/{runtime-Dl601UcU.d.cts → runtime-CeAt1IJd.d.mts} +2 -2
  146. package/dist/{runtime-mR2O0z64.d.mts.map → runtime-CeAt1IJd.d.mts.map} +1 -1
  147. package/dist/{s3-BUkV5_fV.cjs → s3-BKnL6YGQ.cjs} +2 -2
  148. package/dist/{s3-BUkV5_fV.cjs.map → s3-BKnL6YGQ.cjs.map} +1 -1
  149. package/dist/{s3-VpdagzYE.mjs → s3-DW7SLsb8.mjs} +2 -2
  150. package/dist/{s3-VpdagzYE.mjs.map → s3-DW7SLsb8.mjs.map} +1 -1
  151. package/dist/sandbox/credentials-worker.cjs +2 -2
  152. package/dist/sandbox/credentials-worker.mjs +2 -2
  153. package/dist/sandbox/discover-worker.cjs +1 -1
  154. package/dist/sandbox/discover-worker.mjs +1 -1
  155. package/dist/sandbox/migrate-worker.cjs +1 -1
  156. package/dist/sandbox/migrate-worker.mjs +1 -1
  157. package/dist/{seeds-CcK_C30B.cjs → seeds-BR_7hJTw.cjs} +122 -13
  158. package/dist/seeds-BR_7hJTw.cjs.map +1 -0
  159. package/dist/{seeds-CSNYLc4p.mjs → seeds-nCxxlP5h.mjs} +111 -14
  160. package/dist/seeds-nCxxlP5h.mjs.map +1 -0
  161. package/dist/{serverSetup-DiJPhPOz.mjs → serverSetup-C3Tt9X1R.mjs} +6 -6
  162. package/dist/{serverSetup-DiJPhPOz.mjs.map → serverSetup-C3Tt9X1R.mjs.map} +1 -1
  163. package/dist/{serverSetup-C2U4-2i0.cjs → serverSetup-D2Xzsp2t.cjs} +6 -6
  164. package/dist/{serverSetup-C2U4-2i0.cjs.map → serverSetup-D2Xzsp2t.cjs.map} +1 -1
  165. package/dist/{sniffer-B1iineXX.cjs → sniffer-BWgXPFAt.cjs} +8 -8
  166. package/dist/{sniffer-B1iineXX.cjs.map → sniffer-BWgXPFAt.cjs.map} +1 -1
  167. package/dist/{sniffer-z-p2lTtc.mjs → sniffer-eEF_fIId.mjs} +8 -8
  168. package/dist/{sniffer-z-p2lTtc.mjs.map → sniffer-eEF_fIId.mjs.map} +1 -1
  169. package/dist/{snsSubscriptions-CYy7Faid.mjs → snsSubscriptions-BSoqUgsq.mjs} +28 -13
  170. package/dist/snsSubscriptions-BSoqUgsq.mjs.map +1 -0
  171. package/dist/{snsSubscriptions-C7wClS6U.cjs → snsSubscriptions-Y9declDd.cjs} +28 -13
  172. package/dist/snsSubscriptions-Y9declDd.cjs.map +1 -0
  173. package/dist/{stage-Cn3EEIB9.cjs → stage-BEcxppsu.cjs} +6 -6
  174. package/dist/{stage-Cn3EEIB9.cjs.map → stage-BEcxppsu.cjs.map} +1 -1
  175. package/dist/{stage-Cx1KKX_o.mjs → stage-DhcbcAar.mjs} +6 -6
  176. package/dist/{stage-Cx1KKX_o.mjs.map → stage-DhcbcAar.mjs.map} +1 -1
  177. package/dist/{stages-CuV3zh-h.cjs → stages--icWbhPy.cjs} +2 -2
  178. package/dist/{stages-CuV3zh-h.cjs.map → stages--icWbhPy.cjs.map} +1 -1
  179. package/dist/{stages-COSKjrfd.mjs → stages-CUwSy39f.mjs} +2 -2
  180. package/dist/{stages-COSKjrfd.mjs.map → stages-CUwSy39f.mjs.map} +1 -1
  181. package/dist/target/public.cjs +1 -1
  182. package/dist/target/public.d.cts +2 -2
  183. package/dist/target/public.d.mts +2 -2
  184. package/dist/target/public.mjs +1 -1
  185. package/dist/{terminal-BIZRxV-e.cjs → terminal-DURcYlVX.cjs} +2 -2
  186. package/dist/{terminal-BIZRxV-e.cjs.map → terminal-DURcYlVX.cjs.map} +1 -1
  187. package/dist/{terminal-PEvt24kO.mjs → terminal-yOZ7kKF9.mjs} +2 -2
  188. package/dist/{terminal-PEvt24kO.mjs.map → terminal-yOZ7kKF9.mjs.map} +1 -1
  189. package/dist/{types-DOYYfQme.d.cts → types-C6hDCkV2.d.mts} +168 -129
  190. package/dist/types-C6hDCkV2.d.mts.map +1 -0
  191. package/dist/{types-C-uwKr3O.d.mts → types-Dy1eV7yc.d.cts} +169 -128
  192. package/dist/types-Dy1eV7yc.d.cts.map +1 -0
  193. package/dist/vitest.cjs +1 -1
  194. package/dist/vitest.mjs +1 -1
  195. package/dist/workspace/index.cjs +1 -1
  196. package/dist/workspace/index.d.cts +2 -2
  197. package/dist/workspace/index.d.mts +2 -2
  198. package/dist/workspace/index.mjs +1 -1
  199. package/dist/{workspace-aiDQZMje.mjs → workspace-BbfBFtjn.mjs} +95 -10
  200. package/dist/workspace-BbfBFtjn.mjs.map +1 -0
  201. package/dist/{workspace-secxwA6K.cjs → workspace-Dkm3HL9e.cjs} +118 -9
  202. package/dist/workspace-Dkm3HL9e.cjs.map +1 -0
  203. package/package.json +16 -15
  204. package/dist/GoDaddyProvider-DA0rzRQt.cjs.map +0 -1
  205. package/dist/GoDaddyProvider-baMIwhIy.mjs.map +0 -1
  206. package/dist/HostingerProvider-Cjh_2Ml6.mjs.map +0 -1
  207. package/dist/HostingerProvider-OdQmKXE3.cjs.map +0 -1
  208. package/dist/SubscriberGenerator-DDCqRTbq.cjs.map +0 -1
  209. package/dist/SubscriberGenerator-zUd87wvg.mjs.map +0 -1
  210. package/dist/compose-Bdx2rqtO.mjs.map +0 -1
  211. package/dist/compose-DJMHSSDI.cjs.map +0 -1
  212. package/dist/deploy-88E_1bHW.cjs.map +0 -1
  213. package/dist/deploy-o5n6l4MO.mjs.map +0 -1
  214. package/dist/seeds-CSNYLc4p.mjs.map +0 -1
  215. package/dist/seeds-CcK_C30B.cjs.map +0 -1
  216. package/dist/snsSubscriptions-C7wClS6U.cjs.map +0 -1
  217. package/dist/snsSubscriptions-CYy7Faid.mjs.map +0 -1
  218. package/dist/types-C-uwKr3O.d.mts.map +0 -1
  219. package/dist/types-DOYYfQme.d.cts.map +0 -1
  220. package/dist/workspace-aiDQZMje.mjs.map +0 -1
  221. package/dist/workspace-secxwA6K.cjs.map +0 -1
@@ -1,15 +1,15 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
2
2
  const require_errors = require("./errors-DMC4Umsb.cjs");
3
3
  const require_credentials = require("./credentials-D7XJypNd.cjs");
4
- const require_workspace = require("./workspace-secxwA6K.cjs");
4
+ const require_workspace = require("./workspace-Dkm3HL9e.cjs");
5
+ const require_SubscriberGenerator = require("./SubscriberGenerator-DR4Y7ihK.cjs");
5
6
  const require_derive = require("./derive-CgZfoBU2.cjs");
6
7
  const require_drivers = require("./drivers-C47nm-wB.cjs");
7
8
  const require_identity = require("./identity-CbLfgQNT.cjs");
8
- const require_EndpointGenerator = require("./EndpointGenerator-BGKb_Ie6.cjs");
9
- const require_discover = require("./discover-B3G8eyWX.cjs");
9
+ const require_EndpointGenerator = require("./EndpointGenerator-ePscnbwB.cjs");
10
+ const require_discover = require("./discover-yqeJ2Bx7.cjs");
10
11
  const require_config = require("./config.cjs");
11
- const require_SubscriberGenerator = require("./SubscriberGenerator-DDCqRTbq.cjs");
12
- const require_resolve = require("./resolve-CBEFNYca.cjs");
12
+ const require_resolve = require("./resolve-BEVVvi13.cjs");
13
13
  let node_path = require("node:path");
14
14
  let node_fs = require("node:fs");
15
15
  let node_fs_promises = require("node:fs/promises");
@@ -1049,6 +1049,7 @@ const CONTAINERS = {
1049
1049
  objects: "minio",
1050
1050
  "file-server": "caddy",
1051
1051
  email: "mailpit",
1052
+ inbox: "mailpit",
1052
1053
  "websocket-api": "redis"
1053
1054
  };
1054
1055
  /**
@@ -1237,6 +1238,11 @@ function planFor(manifest, stage, order, options = {}) {
1237
1238
  } : {},
1238
1239
  ...declaration.kind === "file-server" && declaration.open?.length ? { open: declaration.open } : {},
1239
1240
  ...declaration.kind === "file-server" && declaration.processors?.length ? { processors: [...new Set(declaration.processors.map((p) => p.prefix))].sort() } : {},
1241
+ ...declaration.kind === "inbox" ? { inbox: {
1242
+ addresses: declaration.addresses,
1243
+ subdomains: declaration.subdomains === true,
1244
+ topic: declaration.topic
1245
+ } } : {},
1240
1246
  ...declaration.kind === "objects" && (0, _geekmidas_manifest.bucketExpiry)(manifest, id) ? { expire: (0, _geekmidas_manifest.bucketExpiry)(manifest, id) } : {},
1241
1247
  ...(declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site") && declaration.subdomain ? { subdomain: declaration.subdomain } : {},
1242
1248
  ...(0, _geekmidas_manifest.isWildcardSite)(declaration) ? {
@@ -1457,6 +1463,17 @@ function envFor(plan, options) {
1457
1463
  headers: otlpHeaders(login.email, login.password)
1458
1464
  }, 1));
1459
1465
  }
1466
+ if (resource.kind === "inbox" && url) {
1467
+ const base = resource.id.toLowerCase();
1468
+ const stage = resource.name === base ? void 0 : resource.name.slice(base.length + 1);
1469
+ env[(0, _geekmidas_manifest.provideKey)(resource.id, "domain")] = [
1470
+ stage,
1471
+ options.project,
1472
+ LOCAL_HOST
1473
+ ].filter(Boolean).join(".");
1474
+ const smtp = options.ports[primaryPortKey("mailpit")];
1475
+ if (smtp !== void 0) env[(0, _geekmidas_manifest.provideKey)(resource.id, "smtpUrl")] = `smtp://${LOCAL_HOST}:${smtp}`;
1476
+ }
1460
1477
  if (resource.kind === "email" && url) {
1461
1478
  env[(0, _geekmidas_manifest.provideKey)(resource.id, "from")] = options.mailFrom ?? `noreply@${LOCAL_HOST}`;
1462
1479
  const inbox = options.ports[MAILPIT_INBOX_PORT];
@@ -1473,6 +1490,7 @@ function envFor(plan, options) {
1473
1490
  env[(0, _geekmidas_manifest.provideKey)(resource.id, "eventsConnectionString")] = relay;
1474
1491
  env[(0, _geekmidas_manifest.provideKey)(resource.id, "eventsToken")] = objectsWebhookToken(options.project ?? "", resource.id, credential.seed);
1475
1492
  }
1493
+ if (plan.resources.some((r) => r.kind === "inbox" && env[r.envKey])) env[require_SubscriberGenerator.INBOX_RELAY_TOKEN_KEY] = require_SubscriberGenerator.inboxRelayToken(options.project ?? "", credential.seed);
1476
1494
  if (plan.resources.some((r) => r.kind === "objects" && env[r.envKey])) Object.assign(env, storageCredentials(options.credentials));
1477
1495
  return env;
1478
1496
  }
@@ -1690,6 +1708,10 @@ function urlFor(resource, plan, ports, project, addresses, credential, lan) {
1690
1708
  }
1691
1709
  case "telemetry": return `http://${LOCAL_HOST}:${port}/api/${LOGS_ORG}`;
1692
1710
  case "email": return `smtp://${LOCAL_HOST}:${port}`;
1711
+ case "inbox": {
1712
+ const api = ports[MAILPIT_INBOX_PORT];
1713
+ return api === void 0 ? void 0 : `http://${LOCAL_HOST}:${api}`;
1714
+ }
1693
1715
  case "objects": return `s3://${resource.name}?region=${LOCAL_REGION}&endpoint=http://${lan ?? LOCAL_HOST}:${port}&forcePathStyle=true`;
1694
1716
  case "file-server": {
1695
1717
  const origin = plan.resources.find((r) => r.id === resource.of);
@@ -4363,7 +4385,7 @@ async function storeFromConfig(workspace, config, options = {}) {
4363
4385
  const profile = options.profile ? { profile: options.profile } : {};
4364
4386
  switch (config.provider) {
4365
4387
  case "s3": {
4366
- const { S3SecretsStore } = await Promise.resolve().then(() => require("./s3-BUkV5_fV.cjs"));
4388
+ const { S3SecretsStore } = await Promise.resolve().then(() => require("./s3-BKnL6YGQ.cjs"));
4367
4389
  const { deployIdentity } = await Promise.resolve().then(() => require("./identity-CbLfgQNT.cjs")).then((n) => n.identity_exports);
4368
4390
  const location = require_workspace.s3SecretsLocation(config, workspace.state);
4369
4391
  return new S3SecretsStore({
@@ -4745,6 +4767,14 @@ function composeFor(plan, options) {
4745
4767
  };
4746
4768
  if (options.objectWebhooks.some((hook) => hook.endpoint.includes(`//host.docker.internal:`))) minio.extra_hosts = [`${HOST_GATEWAY}:host-gateway`];
4747
4769
  }
4770
+ const mailpit = services.mailpit;
4771
+ if (mailpit && options.inboxRelay) {
4772
+ mailpit.environment = {
4773
+ ...mailpit.environment,
4774
+ MP_WEBHOOK_URL: options.inboxRelay
4775
+ };
4776
+ if (options.inboxRelay.includes(`//host.docker.internal:`)) mailpit.extra_hosts = [`${HOST_GATEWAY}:host-gateway`];
4777
+ }
4748
4778
  return {
4749
4779
  name: options.project,
4750
4780
  services: {
@@ -5966,7 +5996,8 @@ async function reconcile(options) {
5966
5996
  ports,
5967
5997
  credentials: options.credentials,
5968
5998
  ...options.apps ? { apps: options.apps(plan.containers) } : {},
5969
- ...options.objectWebhooks?.length ? { objectWebhooks: options.objectWebhooks } : {}
5999
+ ...options.objectWebhooks?.length ? { objectWebhooks: options.objectWebhooks } : {},
6000
+ ...options.inboxRelay ? { inboxRelay: options.inboxRelay } : {}
5970
6001
  });
5971
6002
  const caddyfile = toCaddyfile(sitesFor(plan, project, options.addresses, options.processorAddresses));
5972
6003
  const hash = planHash(plan, compose, {
@@ -6145,6 +6176,7 @@ var workspace_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
6145
6176
  constructGlobs: () => constructGlobs,
6146
6177
  derivedContainers: () => derivedContainers,
6147
6178
  fakesApply: () => fakesApply,
6179
+ localInboxWebhook: () => localInboxWebhook,
6148
6180
  localObjectWebhooks: () => localObjectWebhooks,
6149
6181
  metroPorts: () => metroPorts,
6150
6182
  processorAddresses: () => processorAddresses,
@@ -6227,6 +6259,11 @@ async function reconcileWorkspace(workspace, options) {
6227
6259
  subscribers,
6228
6260
  seed: credentials.seed
6229
6261
  });
6262
+ const inboxRelay = localInboxWebhook(workspace, manifest, {
6263
+ background,
6264
+ subscribers,
6265
+ seed: credentials.seed
6266
+ });
6230
6267
  const result = await reconcile({
6231
6268
  credentials,
6232
6269
  root: workspace.root,
@@ -6243,6 +6280,7 @@ async function reconcileWorkspace(workspace, options) {
6243
6280
  fakes,
6244
6281
  credentialFakes,
6245
6282
  ...objectWebhooks.length > 0 ? { objectWebhooks } : {},
6283
+ ...inboxRelay ? { inboxRelay } : {},
6246
6284
  apps: (containers) => appServices(workspace, manifest, containers, credentials, fakes, credentialFakes),
6247
6285
  ...options.start === void 0 ? {} : { start: options.start },
6248
6286
  ...options.progress ? { progress: options.progress } : {}
@@ -6291,6 +6329,27 @@ function localObjectWebhooks(workspace, manifest, options) {
6291
6329
  return hooks;
6292
6330
  }
6293
6331
  /**
6332
+ * Where Mailpit posts each message it receives, locally: the relay route on
6333
+ * the dev server of the app that builds the worker running the inbox
6334
+ * subscribers, through the host's gateway — as MinIO reaches a bucket's
6335
+ * subscribers. `undefined` with no inbox subscriber, or none an app builds.
6336
+ */
6337
+ function localInboxWebhook(workspace, manifest, options) {
6338
+ const worker = require_SubscriberGenerator.inboxRelayWorker(manifest, options.subscribers);
6339
+ if (!worker) return void 0;
6340
+ let units;
6341
+ try {
6342
+ units = workerUnits(workspace, manifest, options.background);
6343
+ } catch (error) {
6344
+ if (error instanceof WorkerHasNoApp) return void 0;
6345
+ throw error;
6346
+ }
6347
+ const app = units.find((unit) => unit.id === worker)?.app;
6348
+ const port = app ? workspace.apps[app]?.port : void 0;
6349
+ if (!port) return void 0;
6350
+ return require_SubscriberGenerator.inboxWebhookUrl(`http://${HOST_GATEWAY}:${port}`, require_SubscriberGenerator.inboxRelayToken(workspace.name, options.seed));
6351
+ }
6352
+ /**
6294
6353
  * Where each mobile app's Metro runs: its app's port, which `gkm exec` hands
6295
6354
  * Expo as `RCT_METRO_PORT`. Kept apart from the surfaces' addresses — a phone
6296
6355
  * reaches Metro by `exp://`, not through the edge.
@@ -6530,6 +6589,7 @@ function addEdgeKeys(manifest, edges, keys, client = false) {
6530
6589
  continue;
6531
6590
  }
6532
6591
  for (const key of target.provides ?? []) keys.add(key);
6592
+ if (target.kind === "inbox") keys.add(require_SubscriberGenerator.INBOX_RELAY_TOKEN_KEY);
6533
6593
  if (target.kind === "queue" || target.kind === "topic") keys.add("EVENT_PUBLISHER_CONNECTION_STRING");
6534
6594
  if (target.kind === "objects") {
6535
6595
  for (const other of Object.values(manifest)) if (other.kind === "file-server" && other.of === id) for (const key of other.provides ?? []) keys.add(key);
@@ -7863,6 +7923,8 @@ async function answers(connection: unknown): Promise<boolean> {
7863
7923
  export interface WorkerRequest {
7864
7924
  headers: Record<string, string | string[] | undefined>;
7865
7925
  body: string;
7926
+ /** The request's query — Mailpit's webhook carries its token there. */
7927
+ query?: URLSearchParams;
7866
7928
  }
7867
7929
  export interface WorkerAnswer {
7868
7930
  status: number;
@@ -7887,6 +7949,7 @@ async function route(path: string, request: WorkerRequest): Promise<WorkerAnswer
7887
7949
  const c = {
7888
7950
  req: {
7889
7951
  text: async () => request.body,
7952
+ query: (name: string) => request.query?.get(name) ?? undefined,
7890
7953
  header: (name: string) => {
7891
7954
  const value = request.headers[name.toLowerCase()];
7892
7955
  return Array.isArray(value) ? value[0] : value;
@@ -7977,7 +8040,9 @@ let worker: Awaited<ReturnType<typeof startWorker>> | undefined;
7977
8040
  let stopping = false;
7978
8041
 
7979
8042
  const server = createServer((req, res) => {
7980
- const path = (req.url ?? '/').split('?')[0] ?? '/';
8043
+ // Parsed once: the path routes, the query goes to the route.
8044
+ const url = new URL(req.url ?? '/', 'http://localhost');
8045
+ const path = url.pathname;
7981
8046
  const answer = (status: number, body: unknown) => {
7982
8047
  res.writeHead(status, { 'content-type': 'application/json' });
7983
8048
  res.end(JSON.stringify(body));
@@ -7995,7 +8060,7 @@ const server = createServer((req, res) => {
7995
8060
  req.on('end', () => {
7996
8061
  if (stopping) return answer(503, { status: 'stopping' });
7997
8062
  if (!worker) return answer(503, { status: 'starting' });
7998
- worker.route(path, { headers: req.headers, body }).then(
8063
+ worker.route(path, { headers: req.headers, body, query: url.searchParams }).then(
7999
8064
  (routed) => (routed ? answer(routed.status, routed.body) : answer(404, { status: 'not found' })),
8000
8065
  (error) => {
8001
8066
  logger.error({ err: error, path }, 'Route failed');
@@ -8371,7 +8436,7 @@ function printRunInstructions(workspace) {
8371
8436
  //#endregion
8372
8437
  //#region src/providers/types.ts
8373
8438
  /** The manifest kinds a stage can name a provider for. */
8374
- const PROVIDER_KINDS = ["objects"];
8439
+ const PROVIDER_KINDS = ["objects", "inbox"];
8375
8440
  //#endregion
8376
8441
  //#region src/providers/notes.ts
8377
8442
  /** The constructs of a kind: `objects` is every bucket. */
@@ -8617,6 +8682,38 @@ function setPostgresBackupId(state, backupId) {
8617
8682
  //#endregion
8618
8683
  //#region src/target/dokploy/dns/DnsProvider.ts
8619
8684
  /**
8685
+ * An MX record's value as every provider here reads and writes it — the zone
8686
+ * file's `<priority> <host>`, which is what Route53 and Hostinger take as is.
8687
+ * A provider whose API keeps the priority apart (GoDaddy) splits it with
8688
+ * {@link parseMxValue}.
8689
+ */
8690
+ function mxValue(priority, host) {
8691
+ return `${priority} ${host.trim().replace(/\.$/, "")}`;
8692
+ }
8693
+ /** An MX value that is not `<priority> <host>`. */
8694
+ var MxValueInvalid = class extends require_errors.GkmError {
8695
+ value;
8696
+ constructor(value) {
8697
+ super(`'${value}' is not an MX record's value: it is written '<priority> <host>', like '10 inbound-smtp.eu-west-1.amazonaws.com'. Build it with mxValue(priority, host).`);
8698
+ this.value = value;
8699
+ this.name = "MxValueInvalid";
8700
+ }
8701
+ };
8702
+ /**
8703
+ * The priority and host of an MX value.
8704
+ *
8705
+ * @throws {MxValueInvalid} for a value that is not `<priority> <host>`
8706
+ */
8707
+ function parseMxValue(value) {
8708
+ const match = value.trim().match(/^(\d{1,5})\s+(\S+)$/);
8709
+ const priority = match ? Number(match[1]) : NaN;
8710
+ if (!match || priority > 65535) throw new MxValueInvalid(value);
8711
+ return {
8712
+ priority,
8713
+ host: match[2].replace(/\.$/, "")
8714
+ };
8715
+ }
8716
+ /**
8620
8717
  * Check if value is a DnsProvider implementation.
8621
8718
  */
8622
8719
  function isDnsProvider(value) {
@@ -8637,7 +8734,7 @@ async function createDnsProvider(options) {
8637
8734
  if (isDnsProvider(config.provider)) return config.provider;
8638
8735
  const provider = config.provider;
8639
8736
  if (provider === "hostinger") {
8640
- const { HostingerProvider } = await Promise.resolve().then(() => require("./HostingerProvider-OdQmKXE3.cjs"));
8737
+ const { HostingerProvider } = await Promise.resolve().then(() => require("./HostingerProvider-DEqpvoiD.cjs"));
8641
8738
  return new HostingerProvider(options.hostinger);
8642
8739
  }
8643
8740
  if (provider === "route53") {
@@ -8650,7 +8747,7 @@ async function createDnsProvider(options) {
8650
8747
  });
8651
8748
  }
8652
8749
  if (provider === "godaddy") {
8653
- const { GoDaddyProvider } = await Promise.resolve().then(() => require("./GoDaddyProvider-DA0rzRQt.cjs"));
8750
+ const { GoDaddyProvider } = await Promise.resolve().then(() => require("./GoDaddyProvider-C-rs22Zv.cjs"));
8654
8751
  return new GoDaddyProvider(options.godaddy ?? {});
8655
8752
  }
8656
8753
  if (provider === "cloudflare") throw new DnsProviderNotImplemented("cloudflare");
@@ -9966,6 +10063,12 @@ Object.defineProperty(exports, "minioWebhookEnv", {
9966
10063
  return minioWebhookEnv;
9967
10064
  }
9968
10065
  });
10066
+ Object.defineProperty(exports, "mxValue", {
10067
+ enumerable: true,
10068
+ get: function() {
10069
+ return mxValue;
10070
+ }
10071
+ });
9969
10072
  Object.defineProperty(exports, "networkEnv", {
9970
10073
  enumerable: true,
9971
10074
  get: function() {
@@ -9996,6 +10099,12 @@ Object.defineProperty(exports, "originSecretKey", {
9996
10099
  return originSecretKey;
9997
10100
  }
9998
10101
  });
10102
+ Object.defineProperty(exports, "parseMxValue", {
10103
+ enumerable: true,
10104
+ get: function() {
10105
+ return parseMxValue;
10106
+ }
10107
+ });
9999
10108
  Object.defineProperty(exports, "pgClient", {
10000
10109
  enumerable: true,
10001
10110
  get: function() {
@@ -10429,4 +10538,4 @@ Object.defineProperty(exports, "workspace_exports", {
10429
10538
  }
10430
10539
  });
10431
10540
 
10432
- //# sourceMappingURL=seeds-CcK_C30B.cjs.map
10541
+ //# sourceMappingURL=seeds-BR_7hJTw.cjs.map