monorise 0.1.0 → 1.1.0-dev.0

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 (275) hide show
  1. package/dist/base/index.d.ts +90 -5
  2. package/dist/base/index.js.map +1 -1
  3. package/dist/cli/cli.js +6 -0
  4. package/dist/cli/cli.js.map +1 -1
  5. package/dist/core/chunk-QV4Q5377.js +76 -0
  6. package/dist/core/chunk-QV4Q5377.js.map +1 -0
  7. package/dist/core/index.d.ts +187 -19
  8. package/dist/core/index.js +1583 -85
  9. package/dist/core/index.js.map +1 -1
  10. package/dist/core/service.config-ZJEZ6EKA.js +13 -0
  11. package/dist/core/service.config-ZJEZ6EKA.js.map +1 -0
  12. package/dist/proxy/index.d.ts +35 -0
  13. package/dist/proxy/index.js +75 -0
  14. package/dist/proxy/index.js.map +1 -0
  15. package/dist/react/actions/websocket.action.d.ts +71 -0
  16. package/dist/react/actions/websocket.action.d.ts.map +1 -0
  17. package/dist/react/chunk-4D22OCZG.js +65 -0
  18. package/dist/react/chunk-4D22OCZG.js.map +1 -0
  19. package/dist/react/chunk-4N3P4ONH.js +588 -0
  20. package/dist/react/chunk-4N3P4ONH.js.map +1 -0
  21. package/dist/react/chunk-4Y4KWGJD.js +182 -0
  22. package/dist/react/chunk-4Y4KWGJD.js.map +1 -0
  23. package/dist/react/chunk-757E5UYA.js +893 -0
  24. package/dist/react/chunk-757E5UYA.js.map +1 -0
  25. package/dist/react/chunk-A5TI2FW3.js +13 -0
  26. package/dist/react/chunk-A5TI2FW3.js.map +1 -0
  27. package/dist/react/chunk-B3XDGUFO.js +489 -0
  28. package/dist/react/chunk-B3XDGUFO.js.map +1 -0
  29. package/dist/react/chunk-BPBCUO2Z.js +248 -0
  30. package/dist/react/chunk-BPBCUO2Z.js.map +1 -0
  31. package/dist/react/chunk-CQBOIXWK.js +142 -0
  32. package/dist/react/chunk-CQBOIXWK.js.map +1 -0
  33. package/dist/react/chunk-DRH2BB7I.js +383 -0
  34. package/dist/react/chunk-DRH2BB7I.js.map +1 -0
  35. package/dist/react/chunk-EQ3PKQ2S.js +402 -0
  36. package/dist/react/chunk-EQ3PKQ2S.js.map +1 -0
  37. package/dist/react/chunk-H64MMAL7.js +245 -0
  38. package/dist/react/chunk-H64MMAL7.js.map +1 -0
  39. package/dist/react/chunk-KJX5LOMN.js +43 -0
  40. package/dist/react/chunk-KJX5LOMN.js.map +1 -0
  41. package/dist/react/chunk-MO35V2Y7.js +172 -0
  42. package/dist/react/chunk-MO35V2Y7.js.map +1 -0
  43. package/dist/react/chunk-UC3E72G7.js +73 -0
  44. package/dist/react/chunk-UC3E72G7.js.map +1 -0
  45. package/dist/react/chunk-UHMKB3OR.js +5568 -0
  46. package/dist/react/chunk-UHMKB3OR.js.map +1 -0
  47. package/dist/react/chunk-UQPQBWEQ.js +54 -0
  48. package/dist/react/chunk-UQPQBWEQ.js.map +1 -0
  49. package/dist/react/chunk-XCDCVRJR.js +43 -0
  50. package/dist/react/chunk-XCDCVRJR.js.map +1 -0
  51. package/dist/react/chunk-XOYAZDIH.js +47 -0
  52. package/dist/react/chunk-XOYAZDIH.js.map +1 -0
  53. package/dist/react/chunk-YNFQEPO5.js +29 -0
  54. package/dist/react/chunk-YNFQEPO5.js.map +1 -0
  55. package/dist/react/dist-es-35AO47NO.js +90 -0
  56. package/dist/react/dist-es-35AO47NO.js.map +1 -0
  57. package/dist/react/dist-es-5GDBXNKQ.js +333 -0
  58. package/dist/react/dist-es-5GDBXNKQ.js.map +1 -0
  59. package/dist/react/dist-es-B3JDGWY6.js +71 -0
  60. package/dist/react/dist-es-B3JDGWY6.js.map +1 -0
  61. package/dist/react/dist-es-IWIE5JLA.js +169 -0
  62. package/dist/react/dist-es-IWIE5JLA.js.map +1 -0
  63. package/dist/react/dist-es-NRIS3TYJ.js +494 -0
  64. package/dist/react/dist-es-NRIS3TYJ.js.map +1 -0
  65. package/dist/react/dist-es-VCXAEYYN.js +22 -0
  66. package/dist/react/dist-es-VCXAEYYN.js.map +1 -0
  67. package/dist/react/dist-es-VU33JFTZ.js +379 -0
  68. package/dist/react/dist-es-VU33JFTZ.js.map +1 -0
  69. package/dist/react/event-streams-OSOTOTTP.js +277 -0
  70. package/dist/react/event-streams-OSOTOTTP.js.map +1 -0
  71. package/dist/react/index.d.ts +53 -4
  72. package/dist/react/index.d.ts.map +1 -1
  73. package/dist/react/index.js +10948 -190
  74. package/dist/react/index.js.map +1 -1
  75. package/dist/react/loadSso-ME7MKAM3.js +556 -0
  76. package/dist/react/loadSso-ME7MKAM3.js.map +1 -0
  77. package/dist/react/service.config-ZJEZ6EKA-FC2TR3GH.js +14 -0
  78. package/dist/react/service.config-ZJEZ6EKA-FC2TR3GH.js.map +1 -0
  79. package/dist/react/services/core.service.d.ts +11 -1
  80. package/dist/react/services/core.service.d.ts.map +1 -1
  81. package/dist/react/signin-LOXYIE5I.js +653 -0
  82. package/dist/react/signin-LOXYIE5I.js.map +1 -0
  83. package/dist/react/sso-oidc-X63KRRLO.js +786 -0
  84. package/dist/react/sso-oidc-X63KRRLO.js.map +1 -0
  85. package/dist/react/sts-OXBEY7HY.js +3948 -0
  86. package/dist/react/sts-OXBEY7HY.js.map +1 -0
  87. package/dist/react/websocket/WebSocketManager.d.ts +68 -0
  88. package/dist/react/websocket/WebSocketManager.d.ts.map +1 -0
  89. package/dist/react/websocket/index.d.ts +3 -0
  90. package/dist/react/websocket/index.d.ts.map +1 -0
  91. package/dist/react/websocket/optimistic.d.ts +51 -0
  92. package/dist/react/websocket/optimistic.d.ts.map +1 -0
  93. package/dist/react/websocket-QHA7SQXG.js +10 -0
  94. package/dist/react/websocket-QHA7SQXG.js.map +1 -0
  95. package/dist/sst/.sst/platform/src/components/aws/alb.d.ts +280 -0
  96. package/dist/sst/.sst/platform/src/components/aws/alb.d.ts.map +1 -0
  97. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +1 -1
  98. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -1
  99. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts +13 -2
  100. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -1
  101. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -1
  102. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +1 -1
  103. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -1
  104. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts +93 -83
  105. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -1
  106. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -1
  107. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +1 -1
  108. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -1
  109. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts +8 -2
  110. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -1
  111. package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts +1 -1
  112. package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -1
  113. package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts +1 -1
  114. package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -1
  115. package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts +18 -0
  116. package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts.map +1 -1
  117. package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts +1 -1
  118. package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -1
  119. package/dist/sst/.sst/platform/src/components/aws/auth.d.ts.map +1 -1
  120. package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +1 -1
  121. package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -1
  122. package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -1
  123. package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts +13 -8
  124. package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts.map +1 -1
  125. package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +3 -2
  126. package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -1
  127. package/dist/sst/.sst/platform/src/components/aws/bus.d.ts +34 -3
  128. package/dist/sst/.sst/platform/src/components/aws/bus.d.ts.map +1 -1
  129. package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts +11 -0
  130. package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts.map +1 -1
  131. package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts +59 -1
  132. package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts.map +1 -1
  133. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +5 -0
  134. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -1
  135. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts +100 -0
  136. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -1
  137. package/dist/sst/.sst/platform/src/components/aws/cron-v2.d.ts +325 -0
  138. package/dist/sst/.sst/platform/src/components/aws/cron-v2.d.ts.map +1 -0
  139. package/dist/sst/.sst/platform/src/components/aws/cron.d.ts +15 -6
  140. package/dist/sst/.sst/platform/src/components/aws/cron.d.ts.map +1 -1
  141. package/dist/sst/.sst/platform/src/components/aws/dsql.d.ts +369 -0
  142. package/dist/sst/.sst/platform/src/components/aws/dsql.d.ts.map +1 -0
  143. package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +1 -1
  144. package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -1
  145. package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts +63 -3
  146. package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -1
  147. package/dist/sst/.sst/platform/src/components/aws/email.d.ts +5 -0
  148. package/dist/sst/.sst/platform/src/components/aws/email.d.ts.map +1 -1
  149. package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts +95 -4
  150. package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts.map +1 -1
  151. package/dist/sst/.sst/platform/src/components/aws/function.d.ts +121 -21
  152. package/dist/sst/.sst/platform/src/components/aws/function.d.ts.map +1 -1
  153. package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts +11 -0
  154. package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -1
  155. package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -1
  156. package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts +7 -3
  157. package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -1
  158. package/dist/sst/.sst/platform/src/components/aws/helpers/load-balancer.d.ts +9 -0
  159. package/dist/sst/.sst/platform/src/components/aws/helpers/load-balancer.d.ts.map +1 -0
  160. package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts +2 -2
  161. package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -1
  162. package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts +1 -1
  163. package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -1
  164. package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts +1 -1
  165. package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -1
  166. package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -1
  167. package/dist/sst/.sst/platform/src/components/aws/index.d.ts +4 -0
  168. package/dist/sst/.sst/platform/src/components/aws/index.d.ts.map +1 -1
  169. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -1
  170. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts +8 -3
  171. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -1
  172. package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts +1 -1
  173. package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts.map +1 -1
  174. package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts +34 -5
  175. package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts.map +1 -1
  176. package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts +39 -5
  177. package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -1
  178. package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -1
  179. package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts +12 -1
  180. package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts.map +1 -1
  181. package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts +7 -3
  182. package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -1
  183. package/dist/sst/.sst/platform/src/components/aws/permission.d.ts +5 -0
  184. package/dist/sst/.sst/platform/src/components/aws/permission.d.ts.map +1 -1
  185. package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts +13 -2
  186. package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -1
  187. package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts +34 -5
  188. package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts.map +1 -1
  189. package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +6 -1
  190. package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -1
  191. package/dist/sst/.sst/platform/src/components/aws/queue.d.ts +10 -1
  192. package/dist/sst/.sst/platform/src/components/aws/queue.d.ts.map +1 -1
  193. package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +1 -1
  194. package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -1
  195. package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts +6 -1
  196. package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts.map +1 -1
  197. package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts +10 -0
  198. package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -1
  199. package/dist/sst/.sst/platform/src/components/aws/redis.d.ts +14 -0
  200. package/dist/sst/.sst/platform/src/components/aws/redis.d.ts.map +1 -1
  201. package/dist/sst/.sst/platform/src/components/aws/router.d.ts +482 -2
  202. package/dist/sst/.sst/platform/src/components/aws/router.d.ts.map +1 -1
  203. package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -1
  204. package/dist/sst/.sst/platform/src/components/aws/service.d.ts +125 -0
  205. package/dist/sst/.sst/platform/src/components/aws/service.d.ts.map +1 -1
  206. package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +1 -1
  207. package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -1
  208. package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts +6 -1
  209. package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -1
  210. package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts +7 -7
  211. package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -1
  212. package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts.map +1 -1
  213. package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts +1 -1
  214. package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -1
  215. package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts +10 -2
  216. package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -1
  217. package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts +5 -0
  218. package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -1
  219. package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts +20 -6
  220. package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -1
  221. package/dist/sst/.sst/platform/src/components/aws/task.d.ts +35 -15
  222. package/dist/sst/.sst/platform/src/components/aws/task.d.ts.map +1 -1
  223. package/dist/sst/.sst/platform/src/components/aws/vector.d.ts +5 -0
  224. package/dist/sst/.sst/platform/src/components/aws/vector.d.ts.map +1 -1
  225. package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts +51 -4
  226. package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts.map +1 -1
  227. package/dist/sst/.sst/platform/src/components/aws/workflow.d.ts +331 -0
  228. package/dist/sst/.sst/platform/src/components/aws/workflow.d.ts.map +1 -0
  229. package/dist/sst/.sst/platform/src/components/cloudflare/ai.d.ts +82 -0
  230. package/dist/sst/.sst/platform/src/components/cloudflare/ai.d.ts.map +1 -0
  231. package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts +15 -1
  232. package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -1
  233. package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts +4 -2
  234. package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -1
  235. package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts +29 -5
  236. package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -1
  237. package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts +37 -2
  238. package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -1
  239. package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts +1 -0
  240. package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -1
  241. package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts +36 -2
  242. package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -1
  243. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-placement.d.ts +27 -0
  244. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-placement.d.ts.map +1 -0
  245. package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -1
  246. package/dist/sst/.sst/platform/src/components/cloudflare/queue-worker-subscriber.d.ts +116 -0
  247. package/dist/sst/.sst/platform/src/components/cloudflare/queue-worker-subscriber.d.ts.map +1 -0
  248. package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts +186 -3
  249. package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -1
  250. package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts +2 -2
  251. package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -1
  252. package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts +39 -5
  253. package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -1
  254. package/dist/sst/.sst/platform/src/components/component.d.ts.map +1 -1
  255. package/dist/sst/.sst/platform/src/components/duration.d.ts +2 -0
  256. package/dist/sst/.sst/platform/src/components/duration.d.ts.map +1 -1
  257. package/dist/sst/.sst/platform/src/components/esbuild.d.ts +3 -0
  258. package/dist/sst/.sst/platform/src/components/esbuild.d.ts.map +1 -0
  259. package/dist/sst/.sst/platform/src/components/link.d.ts +2 -2
  260. package/dist/sst/.sst/platform/src/components/link.d.ts.map +1 -1
  261. package/dist/sst/.sst/platform/src/components/linkable.d.ts +32 -2
  262. package/dist/sst/.sst/platform/src/components/linkable.d.ts.map +1 -1
  263. package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -1
  264. package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts +2 -2
  265. package/dist/sst/.sst/platform/src/util/minify.d.ts +2 -0
  266. package/dist/sst/.sst/platform/src/util/minify.d.ts.map +1 -0
  267. package/dist/sst/components/monorise-core.d.ts +10 -0
  268. package/dist/sst/components/monorise-core.d.ts.map +1 -1
  269. package/dist/sst/components/q-function.d.ts +2 -3
  270. package/dist/sst/components/q-function.d.ts.map +1 -1
  271. package/dist/sst/index.js +75 -12
  272. package/dist/sst/index.js.map +1 -1
  273. package/package.json +10 -2
  274. package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts +0 -7
  275. package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts.map +0 -1
@@ -0,0 +1,369 @@
1
+ import { ComponentResourceOptions } from "@pulumi/pulumi";
2
+ import { Component, Transform } from "../component";
3
+ import { type DurationDays } from "../duration";
4
+ import { Link } from "../link";
5
+ import { backup, dsql, ec2 } from "@pulumi/aws";
6
+ import { Vpc } from "./vpc";
7
+ import type { Input } from "../input";
8
+ export interface DsqlArgs {
9
+ /**
10
+ * Configure multi-region cluster peering.
11
+ *
12
+ * Creates a cluster in the current region and a peer cluster in another region,
13
+ * linked via a witness region. The witness must differ from both cluster regions.
14
+ *
15
+ * Learn more about [AWS DSQL regions](https://docs.aws.amazon.com/aurora-dsql/latest/userguide/what-is-aurora-dsql.html#region-availability).
16
+ *
17
+ * @example
18
+ *
19
+ * ```ts
20
+ * const cluster = new sst.aws.Dsql("MyCluster", {
21
+ * regions: {
22
+ * witness: "us-west-2",
23
+ * peer: "us-east-2"
24
+ * }
25
+ * });
26
+ * ```
27
+ */
28
+ regions?: {
29
+ /** The witness region. Must differ from both cluster regions. */
30
+ witness: Input<string>;
31
+ /** The AWS region for the peer cluster. */
32
+ peer: Input<string>;
33
+ };
34
+ /**
35
+ * Configure automatic backups for the cluster using AWS Backup.
36
+ *
37
+ * Set to `true` to use the defaults, or pass an object to customize the schedule and retention.
38
+ *
39
+ * :::tip
40
+ * If multi-region is enabled, backups are scheduled in the current region and
41
+ * copied to the peer region.
42
+ * :::
43
+ *
44
+ * Omit or set to `false` to skip backup creation entirely.
45
+ *
46
+ * @example
47
+ * Enable with defaults (daily at 5 AM UTC, 7-day retention).
48
+ * ```ts title="sst.config.ts"
49
+ * const cluster = new sst.aws.Dsql("MyCluster", {
50
+ * backup: true
51
+ * });
52
+ * ```
53
+ *
54
+ * Custom schedule and retention.
55
+ * ```ts title="sst.config.ts"
56
+ * const cluster = new sst.aws.Dsql("MyCluster", {
57
+ * backup: {
58
+ * schedule: "cron(0 2 ? * * *)",
59
+ * retention: "90 days"
60
+ * }
61
+ * });
62
+ * ```
63
+ */
64
+ backup?: boolean | {
65
+ /**
66
+ * The schedule for the backups as an [AWS Backup cron expression](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupRule.html).
67
+ *
68
+ * This uses the same 6-field `cron(...)` format as EventBridge and is evaluated in UTC.
69
+ *
70
+ * @default `"cron(0 5 ? * * *)"`
71
+ * @example
72
+ * Back up every day at midnight UTC.
73
+ * ```ts
74
+ * schedule: "cron(0 0 ? * * *)"
75
+ * ```
76
+ *
77
+ * Back up every Monday at 3 AM UTC.
78
+ * ```ts
79
+ * schedule: "cron(0 3 ? * MON *)"
80
+ * ```
81
+ */
82
+ schedule?: Input<string>;
83
+ /**
84
+ * How long to retain backups. Use a day duration like `"7 days"`.
85
+ * @default `"7 days"`
86
+ */
87
+ retention?: Input<DurationDays>;
88
+ };
89
+ /**
90
+ *
91
+ * Create AWS PrivateLink interface endpoints in a VPC for private connectivity.
92
+ * This allows lambdas placed inside a VPC without NAT gateways to connect to the DSQL instance.
93
+ *
94
+ * :::note
95
+ * Currently only single region VPC is supported.
96
+ * :::
97
+ *
98
+ * @example
99
+ *
100
+ * ```ts title="sst.config.ts"
101
+ * const myVpc = new sst.aws.Vpc("MyVpc");
102
+ *
103
+ * const cluster = new sst.aws.Dsql("MyCluster", {
104
+ * vpc: myVpc
105
+ * });
106
+ * ```
107
+ *
108
+ * #### Customize VPC endpoints
109
+ *
110
+ * ```ts title="sst.config.ts"
111
+ * const myVpc = new sst.aws.Vpc("MyVpc");
112
+ *
113
+ * const cluster = new sst.aws.Dsql("MyCluster", {
114
+ * vpc: {
115
+ * instance: vpc,
116
+ * endpoints: {
117
+ * management: true,
118
+ * connection: true,
119
+ * }
120
+ * }
121
+ * });
122
+ * ```
123
+ */
124
+ vpc?: Vpc | {
125
+ instance: Vpc;
126
+ endpoints?: {
127
+ /**
128
+ * Endpoint for control plane ops (create, get, update, delete clusters).
129
+ *
130
+ * @default `false`
131
+ */
132
+ management?: boolean;
133
+ /**
134
+ * Endpoint for PostgreSQL client connections.
135
+ *
136
+ * @default `true`
137
+ */
138
+ connection?: boolean;
139
+ };
140
+ };
141
+ /**
142
+ * [Transform](/docs/components#transform) how this component creates its underlying
143
+ * resources.
144
+ */
145
+ transform?: {
146
+ /**
147
+ * Transform the DSQL cluster resource.
148
+ */
149
+ cluster?: Transform<dsql.ClusterArgs>;
150
+ /**
151
+ * Transform the peer DSQL cluster resource.
152
+ */
153
+ peerCluster?: Transform<dsql.ClusterArgs>;
154
+ /**
155
+ * Transform the EC2 security group resource for the DSQL VPC endpoints.
156
+ */
157
+ endpointSecurityGroup?: Transform<ec2.SecurityGroupArgs>;
158
+ /**
159
+ * Transform the EC2 VPC endpoint resource for DSQL management operations.
160
+ */
161
+ managementEndpoint?: Transform<ec2.VpcEndpointArgs>;
162
+ /**
163
+ * Transform the EC2 VPC endpoint resource for DSQL connections.
164
+ */
165
+ connectionEndpoint?: Transform<ec2.VpcEndpointArgs>;
166
+ /**
167
+ * Transform the AWS Backup vault resource.
168
+ */
169
+ backupVault?: Transform<backup.VaultArgs>;
170
+ /**
171
+ * Transform the AWS Backup plan resource.
172
+ */
173
+ backupPlan?: Transform<backup.PlanArgs>;
174
+ /**
175
+ * Transform the AWS Backup selection resource.
176
+ */
177
+ backupSelection?: Transform<backup.SelectionArgs>;
178
+ };
179
+ }
180
+ /**
181
+ * The `Dsql` component lets you add an [Amazon Aurora DSQL](https://aws.amazon.com/rds/aurora/dsql/) cluster to your app.
182
+ *
183
+ * @example
184
+ *
185
+ * #### Single-region cluster
186
+ *
187
+ * ```ts title="sst.config.ts"
188
+ * const cluster = new sst.aws.Dsql("MyCluster");
189
+ * ```
190
+ *
191
+ * Once linked, you can connect to it from your function code.
192
+ *
193
+ * ```ts title="src/lambda.ts"
194
+ * import { Resource } from "sst";
195
+ * import { AuroraDSQLClient } from "@aws/aurora-dsql-node-postgres-connector";
196
+ *
197
+ * const client = new AuroraDSQLClient({
198
+ * host: Resource.MyCluster.endpoint,
199
+ * user: "admin",
200
+ * });
201
+ *
202
+ * await client.connect();
203
+ * const result = await client.query("SELECT NOW() as now");
204
+ * await client.end();
205
+ * ```
206
+ *
207
+ * #### Multi-region cluster
208
+ *
209
+ * ```ts title="sst.config.ts"
210
+ * const cluster = new sst.aws.Dsql("MyCluster", {
211
+ * regions: {
212
+ * witness: "us-west-2",
213
+ * peer: "us-east-2"
214
+ * }
215
+ * });
216
+ * ```
217
+ *
218
+ * [Check out the full example](/docs/examples/#aws-dsql-multiregion).
219
+ *
220
+ * #### With private VPC endpoints
221
+ *
222
+ * ```ts title="sst.config.ts"
223
+ * const vpc = new sst.aws.Vpc("MyVpc");
224
+ *
225
+ * const cluster = new sst.aws.Dsql("MyCluster", {
226
+ * vpc: {
227
+ * instance: vpc,
228
+ * endpoints: { connection: true }
229
+ * }
230
+ * });
231
+ * ```
232
+ *
233
+ * [Check out the full example](/docs/examples/#aws-dsql-vpc).
234
+ *
235
+ * #### With backups
236
+ *
237
+ * ```ts title="sst.config.ts"
238
+ * const cluster = new sst.aws.Dsql("MyCluster", {
239
+ * backup: true
240
+ * });
241
+ * ```
242
+ *
243
+ * #### Link to a function
244
+ *
245
+ * ```ts title="sst.config.ts"
246
+ * new sst.aws.Function("MyFunction", {
247
+ * handler: "src/lambda.handler",
248
+ * link: [cluster]
249
+ * });
250
+ * ```
251
+ *
252
+ * You can also use Drizzle ORM to query your DSQL cluster.
253
+ * [Check out the Drizzle example](/docs/examples/#aws-dsql-drizzle).
254
+ *
255
+ * ---
256
+ *
257
+ * ### Cost
258
+ *
259
+ * Aurora DSQL is serverless and uses a pay-per-use pricing model. You are charged for
260
+ * database activity measured in _Distributed Processing Units_ (DPUs) at $8 per million
261
+ * DPUs, and storage at $0.33 per GB-month. When idle, usage scales to zero and you incur
262
+ * no DPU charges.
263
+ *
264
+ * There is a free tier of 100,000 DPUs and 1 GB of storage per month.
265
+ *
266
+ * For example, a single-region cluster averaging 1.3M DPUs per month with 15 GB of storage
267
+ * costs roughly 1.3 x $8 + 15 x $0.33 or **$15 per month**.
268
+ *
269
+ * Check out the [Aurora DSQL pricing](https://aws.amazon.com/rds/aurora/dsql/pricing/) for more details.
270
+ *
271
+ */
272
+ export declare class Dsql extends Component implements Link.Linkable {
273
+ private cluster;
274
+ private peerCluster;
275
+ private connectionEndpoint;
276
+ private constructorName;
277
+ constructor(name: string, args?: DsqlArgs, opts?: ComponentResourceOptions);
278
+ /** The region of the cluster. */
279
+ get region(): $util.Output<string>;
280
+ /** The endpoint of the cluster. */
281
+ get endpoint(): $util.Output<string>;
282
+ /**
283
+ * The peer cluster info. Only available for multi-region clusters.
284
+ *
285
+ * @example
286
+ * ```ts title="sst.config.ts"
287
+ * const cluster = new sst.aws.Dsql("MyCluster", {
288
+ * regions: { peer: "us-east-2" },
289
+ * });
290
+ *
291
+ * return {
292
+ * peerRegion: cluster.peer.region,
293
+ * peerEndpoint: cluster.peer.endpoint,
294
+ * };
295
+ * ```
296
+ */
297
+ get peer(): {
298
+ /** The region of the peer cluster. */
299
+ region: $util.Output<string>;
300
+ /** The endpoint of the peer cluster. */
301
+ endpoint: $util.Output<string>;
302
+ };
303
+ /** The underlying [resources](/docs/components/#nodes) this component creates. */
304
+ get nodes(): {
305
+ /** The DSQL cluster. */
306
+ cluster: import("@pulumi/aws/dsql/cluster").Cluster;
307
+ /** The peer DSQL cluster (multi-region only). */
308
+ peerCluster: import("@pulumi/aws/dsql/cluster").Cluster | undefined;
309
+ };
310
+ /**
311
+ * Reference an existing DSQL cluster by identifier. Useful for sharing a cluster
312
+ * across stages without creating a new one.
313
+ *
314
+ * :::tip
315
+ * You can use the `static get` method to share a cluster across stages.
316
+ * :::
317
+ *
318
+ * @example
319
+ *
320
+ * #### Single-region cluster
321
+ *
322
+ * ```ts title="sst.config.ts"
323
+ * const cluster = $app.stage === "frank"
324
+ * ? sst.aws.Dsql.get("MyCluster", { id: "kzttrvbdg4k2o5ze2m2rrwdj7u" })
325
+ * : new sst.aws.Dsql("MyCluster");
326
+ * ```
327
+ * #### Multi-region cluster
328
+ *
329
+ * ```ts title="sst.config.ts"
330
+ * const cluster = sst.aws.Dsql.get("MyCluster", {
331
+ * id: "app-dev-mycluster",
332
+ * peer: {
333
+ * id: "kzttrvbdg4k2o5ze2m2rrwdj7u",
334
+ * region: "us-east-2",
335
+ * }
336
+ * });
337
+ * ```
338
+ */
339
+ static get(name: string, args: {
340
+ id: Input<string>;
341
+ peer?: {
342
+ id: string;
343
+ region: string;
344
+ };
345
+ }, opts?: ComponentResourceOptions): Dsql;
346
+ /** @internal */
347
+ getSSTLink(): {
348
+ properties: {
349
+ region: $util.Output<string>;
350
+ endpoint: $util.Output<string>;
351
+ peer: {
352
+ region: $util.Output<string>;
353
+ endpoint: $util.Output<string>;
354
+ } | undefined;
355
+ };
356
+ include: {
357
+ effect?: "allow" | "deny" | undefined;
358
+ actions: string[];
359
+ resources: Input<Input<string>[]>;
360
+ conditions?: Input<Input<{
361
+ test: Input<string>;
362
+ variable: Input<string>;
363
+ values: Input<Input<string>[]>;
364
+ }>[]> | undefined;
365
+ type: "aws.permission";
366
+ }[];
367
+ };
368
+ }
369
+ //# sourceMappingURL=dsql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dsql.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/dsql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,wBAAwB,EAAU,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAa,SAAS,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AACxD,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AAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,EACD,IAAI,CAAC,EAAE,wBAAwB;IA2BjC,gBAAgB;IACT,UAAU;;;;;;;;;;;;;;;;;;;;;CAsBlB"}
@@ -1,6 +1,6 @@
1
1
  import { ComponentResourceOptions, Input } from "@pulumi/pulumi";
2
2
  import { Component } from "../component";
3
- import { FunctionArgs } from "./function";
3
+ import { FunctionArgs } from "./function.js";
4
4
  import { DynamoSubscriberArgs } from "./dynamo";
5
5
  export interface Args extends DynamoSubscriberArgs {
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"dynamo-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/dynamo-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAU,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAKhD,MAAM,WAAW,IAAK,SAAQ,oBAAoB;IAChD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KAC1B,CAAC,CAAC;IACH;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,qBAAa,sBAAuB,SAAQ,SAAS;IACnD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAkB;IACrC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA4B;gBAEnD,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IA2DrE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;MAGN;CACF"}
1
+ {"version":3,"file":"dynamo-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/dynamo-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAU,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAIhD,MAAM,WAAW,IAAK,SAAQ,oBAAoB;IAChD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KAC1B,CAAC,CAAC;IACH;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,qBAAa,sBAAuB,SAAQ,SAAS;IACnD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAkB;IACrC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA4B;gBAEnD,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAyDrE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;MAGN;CACF"}
@@ -2,7 +2,7 @@ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
2
2
  import { Component, Transform } from "../component";
3
3
  import { Link } from "../link";
4
4
  import type { Input } from "../input";
5
- import { FunctionArgs, FunctionArn } from "./function";
5
+ import { FunctionArgs, FunctionArn } from "./function.js";
6
6
  import { DynamoLambdaSubscriber } from "./dynamo-lambda-subscriber";
7
7
  import { dynamodb, lambda } from "@pulumi/aws";
8
8
  export interface DynamoArgs {
@@ -64,16 +64,49 @@ export interface DynamoArgs {
64
64
  * }
65
65
  * }
66
66
  * ```
67
+ *
68
+ * Use an array to create a composite key with multiple attributes.
69
+ *
70
+ * ```js
71
+ * {
72
+ * globalIndexes: {
73
+ * RegionCategoryIndex: {
74
+ * hashKey: ["region", "category"],
75
+ * rangeKey: "createdAt"
76
+ * }
77
+ * }
78
+ * }
79
+ * ```
67
80
  */
68
81
  globalIndexes?: Input<Record<string, Input<{
69
82
  /**
70
83
  * The hash key field of the index. This field needs to be defined in the `fields`.
84
+ *
85
+ * You can also pass in an array of field names to create a composite key with
86
+ * up to 4 attributes using the [multi-attribute keys](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.DesignPattern.MultiAttributeKeys.html) pattern.
87
+ *
88
+ * @example
89
+ * ```js
90
+ * {
91
+ * hashKey: ["region", "category"]
92
+ * }
93
+ * ```
71
94
  */
72
- hashKey: Input<string>;
95
+ hashKey: Input<string | string[]>;
73
96
  /**
74
97
  * The range key field of the index. This field needs to be defined in the `fields`.
98
+ *
99
+ * You can also pass in an array of field names to create a composite key with
100
+ * up to 4 attributes using the [multi-attribute keys](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.DesignPattern.MultiAttributeKeys.html) pattern.
101
+ *
102
+ * @example
103
+ * ```js
104
+ * {
105
+ * rangeKey: ["createdAt", "status"]
106
+ * }
107
+ * ```
75
108
  */
76
- rangeKey?: Input<string>;
109
+ rangeKey?: Input<string | string[]>;
77
110
  /**
78
111
  * The fields to project into the index.
79
112
  * @default `"all"`
@@ -316,6 +349,28 @@ export interface DynamoSubscriberArgs {
316
349
  * });
317
350
  * ```
318
351
  *
352
+ * #### Add a composite key global index
353
+ *
354
+ * Use multi-attribute composite keys in a global index. This is useful when you want
355
+ * to combine multiple attributes into a single partition or sort key.
356
+ *
357
+ * ```ts {8-12} title="sst.config.ts"
358
+ * new sst.aws.Dynamo("MyTable", {
359
+ * fields: {
360
+ * region: "string",
361
+ * category: "string",
362
+ * createdAt: "number",
363
+ * },
364
+ * primaryIndex: { hashKey: "region", rangeKey: "createdAt" },
365
+ * globalIndexes: {
366
+ * RegionCategoryIndex: {
367
+ * hashKey: ["region", "category"],
368
+ * rangeKey: "createdAt"
369
+ * }
370
+ * }
371
+ * });
372
+ * ```
373
+ *
319
374
  * #### Add a local index
320
375
  *
321
376
  * Optionally add a local index to the table.
@@ -561,6 +616,11 @@ export declare class Dynamo extends Component implements Link.Linkable {
561
616
  effect?: "allow" | "deny" | undefined;
562
617
  actions: string[];
563
618
  resources: Input<Input<string>[]>;
619
+ conditions?: Input<Input<{
620
+ test: Input<string>;
621
+ variable: Input<string>;
622
+ values: Input<Input<string>[]>;
623
+ }>[]> | undefined;
564
624
  type: "aws.permission";
565
625
  }[];
566
626
  };
@@ -1 +1 @@
1
- {"version":3,"file":"dynamo.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/dynamo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,MAAM,EAIP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAY,SAAS,EAAa,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI/C,MAAM,WAAW,UAAU;IACzB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC;IAC9D;;;;;;;;;OASG;IACH,YAAY,EAAE,KAAK,CAAC;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
@@ -261,6 +261,11 @@ export declare class Email extends Component implements Link.Linkable {
261
261
  effect?: "allow" | "deny" | undefined;
262
262
  actions: string[];
263
263
  resources: Input<Input<string>[]>;
264
+ conditions?: Input<Input<{
265
+ test: Input<string>;
266
+ variable: Input<string>;
267
+ values: Input<Input<string>[]>;
268
+ }>[]> | undefined;
264
269
  type: "aws.permission";
265
270
  }[];
266
271
  };
@@ -1 +1 @@
1
- {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/email.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,MAAM,EAIP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,OAAO,EAAO,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,UAAU,MAAM;IACd;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,KAAK,CACV,KAAK,CACD,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,UAAU,GACV,gBAAgB,GAChB,mBAAmB,GACnB,cAAc,GACd,MAAM,GACN,OAAO,CACV,EAAE,CACJ,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,SAAS;IACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;;;;;;;;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