monorise 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (416) hide show
  1. package/dist/base/index.d.ts +254 -0
  2. package/dist/base/index.js +44 -0
  3. package/dist/base/index.js.map +1 -0
  4. package/dist/cli/cli.d.ts +1 -0
  5. package/dist/cli/cli.js +461 -0
  6. package/dist/cli/cli.js.map +1 -0
  7. package/dist/core/index.d.ts +4767 -0
  8. package/dist/core/index.js +7941 -0
  9. package/dist/core/index.js.map +1 -0
  10. package/dist/index.d.ts +11 -0
  11. package/dist/index.js +11 -0
  12. package/dist/react/actions/app.action.d.ts +46 -0
  13. package/dist/react/actions/app.action.d.ts.map +1 -0
  14. package/dist/react/actions/auth.action.d.ts +24 -0
  15. package/dist/react/actions/auth.action.d.ts.map +1 -0
  16. package/dist/react/actions/config.action.d.ts +10 -0
  17. package/dist/react/actions/config.action.d.ts.map +1 -0
  18. package/dist/react/actions/core.action.d.ts +219 -0
  19. package/dist/react/actions/core.action.d.ts.map +1 -0
  20. package/dist/react/index.d.ts +1093 -0
  21. package/dist/react/index.d.ts.map +1 -0
  22. package/dist/react/index.js +2344 -0
  23. package/dist/react/index.js.map +1 -0
  24. package/dist/react/lib/api.d.ts +38 -0
  25. package/dist/react/lib/api.d.ts.map +1 -0
  26. package/dist/react/lib/constant.d.ts +2 -0
  27. package/dist/react/lib/constant.d.ts.map +1 -0
  28. package/dist/react/lib/entity.d.ts +10 -0
  29. package/dist/react/lib/entity.d.ts.map +1 -0
  30. package/dist/react/lib/utils.d.ts +10 -0
  31. package/dist/react/lib/utils.d.ts.map +1 -0
  32. package/dist/react/services/auth.service.d.ts +21 -0
  33. package/dist/react/services/auth.service.d.ts.map +1 -0
  34. package/dist/react/services/core.service.d.ts +76 -0
  35. package/dist/react/services/core.service.d.ts.map +1 -0
  36. package/dist/react/services/filestore.service.d.ts +22 -0
  37. package/dist/react/services/filestore.service.d.ts.map +1 -0
  38. package/dist/react/store/monorise.store.d.ts +169 -0
  39. package/dist/react/store/monorise.store.d.ts.map +1 -0
  40. package/dist/react/tsup.config.d.ts +3 -0
  41. package/dist/react/tsup.config.d.ts.map +1 -0
  42. package/dist/react/types/api.type.d.ts +30 -0
  43. package/dist/react/types/api.type.d.ts.map +1 -0
  44. package/dist/react/types/axios.type.d.ts +13 -0
  45. package/dist/react/types/axios.type.d.ts.map +1 -0
  46. package/dist/react/types/monorise.type.d.ts +8 -0
  47. package/dist/react/types/monorise.type.d.ts.map +1 -0
  48. package/dist/react/types/mutual.type.d.ts +21 -0
  49. package/dist/react/types/mutual.type.d.ts.map +1 -0
  50. package/dist/sst/.sst/platform/src/components/aws/analog.d.ts +423 -0
  51. package/dist/sst/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
  52. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
  53. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
  54. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
  55. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
  56. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
  57. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
  58. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
  59. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
  60. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
  61. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
  62. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
  63. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
  64. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
  65. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
  66. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
  67. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
  68. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
  69. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
  70. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
  71. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
  72. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
  73. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
  74. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
  75. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
  76. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
  77. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
  78. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
  79. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
  80. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts +931 -0
  81. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
  82. package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
  83. package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
  84. package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
  85. package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
  86. package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
  87. package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
  88. package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
  89. package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
  90. package/dist/sst/.sst/platform/src/components/aws/astro.d.ts +421 -0
  91. package/dist/sst/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
  92. package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts +702 -0
  93. package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
  94. package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
  95. package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
  96. package/dist/sst/.sst/platform/src/components/aws/auth.d.ts +295 -0
  97. package/dist/sst/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
  98. package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
  99. package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
  100. package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
  101. package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
  102. package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
  103. package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
  104. package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
  105. package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
  106. package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts +1216 -0
  107. package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
  108. package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
  109. package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
  110. package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
  111. package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
  112. package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
  113. package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
  114. package/dist/sst/.sst/platform/src/components/aws/bus.d.ts +403 -0
  115. package/dist/sst/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
  116. package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts +299 -0
  117. package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
  118. package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
  119. package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
  120. package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts +306 -0
  121. package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
  122. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
  123. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
  124. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
  125. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
  126. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
  127. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
  128. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts +603 -0
  129. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
  130. package/dist/sst/.sst/platform/src/components/aws/cron.d.ts +250 -0
  131. package/dist/sst/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
  132. package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
  133. package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
  134. package/dist/sst/.sst/platform/src/components/aws/dns.d.ts +94 -0
  135. package/dist/sst/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
  136. package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
  137. package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
  138. package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts +568 -0
  139. package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
  140. package/dist/sst/.sst/platform/src/components/aws/efs.d.ts +217 -0
  141. package/dist/sst/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
  142. package/dist/sst/.sst/platform/src/components/aws/email.d.ts +291 -0
  143. package/dist/sst/.sst/platform/src/components/aws/email.d.ts.map +1 -0
  144. package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts +803 -0
  145. package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
  146. package/dist/sst/.sst/platform/src/components/aws/function.d.ts +1629 -0
  147. package/dist/sst/.sst/platform/src/components/aws/function.d.ts.map +1 -0
  148. package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
  149. package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
  150. package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
  151. package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
  152. package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts +40 -0
  153. package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
  154. package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
  155. package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
  156. package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
  157. package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
  158. package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
  159. package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
  160. package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
  161. package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
  162. package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
  163. package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
  164. package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
  165. package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
  166. package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
  167. package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
  168. package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
  169. package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
  170. package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
  171. package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
  172. package/dist/sst/.sst/platform/src/components/aws/index.d.ts +48 -0
  173. package/dist/sst/.sst/platform/src/components/aws/index.d.ts.map +1 -0
  174. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
  175. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
  176. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
  177. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
  178. package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts +17 -0
  179. package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
  180. package/dist/sst/.sst/platform/src/components/aws/logging.d.ts +26 -0
  181. package/dist/sst/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
  182. package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts +496 -0
  183. package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
  184. package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
  185. package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
  186. package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
  187. package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
  188. package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts +295 -0
  189. package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
  190. package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
  191. package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
  192. package/dist/sst/.sst/platform/src/components/aws/permission.d.ts +40 -0
  193. package/dist/sst/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
  194. package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
  195. package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
  196. package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts +500 -0
  197. package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
  198. package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
  199. package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
  200. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
  201. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
  202. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
  203. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
  204. package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
  205. package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
  206. package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
  207. package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
  208. package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
  209. package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
  210. package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
  211. package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
  212. package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
  213. package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
  214. package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
  215. package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
  216. package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
  217. package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
  218. package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
  219. package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
  220. package/dist/sst/.sst/platform/src/components/aws/queue.d.ts +485 -0
  221. package/dist/sst/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
  222. package/dist/sst/.sst/platform/src/components/aws/react.d.ts +416 -0
  223. package/dist/sst/.sst/platform/src/components/aws/react.d.ts.map +1 -0
  224. package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
  225. package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
  226. package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts +232 -0
  227. package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
  228. package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
  229. package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
  230. package/dist/sst/.sst/platform/src/components/aws/redis.d.ts +364 -0
  231. package/dist/sst/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
  232. package/dist/sst/.sst/platform/src/components/aws/remix.d.ts +423 -0
  233. package/dist/sst/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
  234. package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
  235. package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
  236. package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
  237. package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
  238. package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
  239. package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
  240. package/dist/sst/.sst/platform/src/components/aws/router.d.ts +1272 -0
  241. package/dist/sst/.sst/platform/src/components/aws/router.d.ts.map +1 -0
  242. package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
  243. package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
  244. package/dist/sst/.sst/platform/src/components/aws/service.d.ts +1625 -0
  245. package/dist/sst/.sst/platform/src/components/aws/service.d.ts.map +1 -0
  246. package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
  247. package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
  248. package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
  249. package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
  250. package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
  251. package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
  252. package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
  253. package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
  254. package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts +685 -0
  255. package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
  256. package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts +736 -0
  257. package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
  258. package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
  259. package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
  260. package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
  261. package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
  262. package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
  263. package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
  264. package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
  265. package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
  266. package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
  267. package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
  268. package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts +231 -0
  269. package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
  270. package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
  271. package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
  272. package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
  273. package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
  274. package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
  275. package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
  276. package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
  277. package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
  278. package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
  279. package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
  280. package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
  281. package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
  282. package/dist/sst/.sst/platform/src/components/aws/task.d.ts +322 -0
  283. package/dist/sst/.sst/platform/src/components/aws/task.d.ts.map +1 -0
  284. package/dist/sst/.sst/platform/src/components/aws/vector.d.ts +150 -0
  285. package/dist/sst/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
  286. package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
  287. package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
  288. package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts +444 -0
  289. package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
  290. package/dist/sst/.sst/platform/src/components/base/base-site.d.ts +53 -0
  291. package/dist/sst/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
  292. package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts +13 -0
  293. package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
  294. package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
  295. package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
  296. package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
  297. package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
  298. package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
  299. package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
  300. package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
  301. package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
  302. package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts +103 -0
  303. package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
  304. package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
  305. package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
  306. package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
  307. package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
  308. package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
  309. package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
  310. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts +186 -0
  311. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts.map +1 -0
  312. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts +4 -0
  313. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts.map +1 -0
  314. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts +171 -0
  315. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts.map +1 -0
  316. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts +222 -0
  317. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts.map +1 -0
  318. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
  319. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
  320. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
  321. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
  322. package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts +16 -0
  323. package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
  324. package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts +107 -0
  325. package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
  326. package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
  327. package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
  328. package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
  329. package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
  330. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts +18 -0
  331. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts.map +1 -0
  332. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
  333. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
  334. package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
  335. package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
  336. package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
  337. package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
  338. package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts +51 -0
  339. package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
  340. package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
  341. package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
  342. package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts +295 -0
  343. package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
  344. package/dist/sst/.sst/platform/src/components/component.d.ts +37 -0
  345. package/dist/sst/.sst/platform/src/components/component.d.ts.map +1 -0
  346. package/dist/sst/.sst/platform/src/components/cpu.d.ts +3 -0
  347. package/dist/sst/.sst/platform/src/components/cpu.d.ts.map +1 -0
  348. package/dist/sst/.sst/platform/src/components/dns.d.ts +59 -0
  349. package/dist/sst/.sst/platform/src/components/dns.d.ts.map +1 -0
  350. package/dist/sst/.sst/platform/src/components/duration.d.ts +7 -0
  351. package/dist/sst/.sst/platform/src/components/duration.d.ts.map +1 -0
  352. package/dist/sst/.sst/platform/src/components/error.d.ts +4 -0
  353. package/dist/sst/.sst/platform/src/components/error.d.ts.map +1 -0
  354. package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
  355. package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
  356. package/dist/sst/.sst/platform/src/components/experimental/index.d.ts +2 -0
  357. package/dist/sst/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
  358. package/dist/sst/.sst/platform/src/components/index.d.ts +16 -0
  359. package/dist/sst/.sst/platform/src/components/index.d.ts.map +1 -0
  360. package/dist/sst/.sst/platform/src/components/input.d.ts +3 -0
  361. package/dist/sst/.sst/platform/src/components/input.d.ts.map +1 -0
  362. package/dist/sst/.sst/platform/src/components/link.d.ts +41 -0
  363. package/dist/sst/.sst/platform/src/components/link.d.ts.map +1 -0
  364. package/dist/sst/.sst/platform/src/components/linkable.d.ts +271 -0
  365. package/dist/sst/.sst/platform/src/components/linkable.d.ts.map +1 -0
  366. package/dist/sst/.sst/platform/src/components/naming.d.ts +7 -0
  367. package/dist/sst/.sst/platform/src/components/naming.d.ts.map +1 -0
  368. package/dist/sst/.sst/platform/src/components/path.d.ts +2 -0
  369. package/dist/sst/.sst/platform/src/components/path.d.ts.map +1 -0
  370. package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts +19 -0
  371. package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
  372. package/dist/sst/.sst/platform/src/components/secret.d.ts +125 -0
  373. package/dist/sst/.sst/platform/src/components/secret.d.ts.map +1 -0
  374. package/dist/sst/.sst/platform/src/components/size.d.ts +5 -0
  375. package/dist/sst/.sst/platform/src/components/size.d.ts.map +1 -0
  376. package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
  377. package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
  378. package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts +73 -0
  379. package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
  380. package/dist/sst/.sst/platform/src/components/vercel/index.d.ts +3 -0
  381. package/dist/sst/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
  382. package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
  383. package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
  384. package/dist/sst/.sst/platform/src/config.d.ts +1258 -0
  385. package/dist/sst/.sst/platform/src/config.d.ts.map +1 -0
  386. package/dist/sst/.sst/platform/src/util/compare-semver.d.ts +4 -0
  387. package/dist/sst/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
  388. package/dist/sst/.sst/platform/src/util/fs.d.ts +5 -0
  389. package/dist/sst/.sst/platform/src/util/fs.d.ts.map +1 -0
  390. package/dist/sst/.sst/platform/src/util/lazy.d.ts +2 -0
  391. package/dist/sst/.sst/platform/src/util/lazy.d.ts.map +1 -0
  392. package/dist/sst/.sst/platform/src/util/semaphore.d.ts +9 -0
  393. package/dist/sst/.sst/platform/src/util/semaphore.d.ts.map +1 -0
  394. package/dist/sst/.sst/platform/src/util/warn.d.ts +2 -0
  395. package/dist/sst/.sst/platform/src/util/warn.d.ts.map +1 -0
  396. package/dist/sst/components/dashboard.d.ts +2 -0
  397. package/dist/sst/components/dashboard.d.ts.map +1 -0
  398. package/dist/sst/components/monorise-core.d.ts +18 -0
  399. package/dist/sst/components/monorise-core.d.ts.map +1 -0
  400. package/dist/sst/components/q-function.d.ts +17 -0
  401. package/dist/sst/components/q-function.d.ts.map +1 -0
  402. package/dist/sst/components/single-table.d.ts +14 -0
  403. package/dist/sst/components/single-table.d.ts.map +1 -0
  404. package/dist/sst/constants/event.d.ts +73 -0
  405. package/dist/sst/constants/event.d.ts.map +1 -0
  406. package/dist/sst/constants/table.d.ts +3 -0
  407. package/dist/sst/constants/table.d.ts.map +1 -0
  408. package/dist/sst/index.d.ts +11 -0
  409. package/dist/sst/index.d.ts.map +1 -0
  410. package/dist/sst/index.js +609 -0
  411. package/dist/sst/index.js.map +1 -0
  412. package/dist/sst/sst.config.d.ts +3 -0
  413. package/dist/sst/sst.config.d.ts.map +1 -0
  414. package/dist/sst/tsup.config.d.ts +3 -0
  415. package/dist/sst/tsup.config.d.ts.map +1 -0
  416. package/package.json +83 -0
@@ -0,0 +1,12 @@
1
+ import { CustomResourceOptions, Input, dynamic } from "@pulumi/pulumi";
2
+ export interface PostgresTableInputs {
3
+ clusterArn: Input<string>;
4
+ secretArn: Input<string>;
5
+ databaseName: Input<string>;
6
+ tableName: Input<string>;
7
+ dimension: Input<number>;
8
+ }
9
+ export declare class VectorTable extends dynamic.Resource {
10
+ constructor(name: string, args: PostgresTableInputs, opts?: CustomResourceOptions);
11
+ }
12
+ //# sourceMappingURL=vector-table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vector-table.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/vector-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGvE,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,qBAAa,WAAY,SAAQ,OAAO,CAAC,QAAQ;gBAE7C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,mBAAmB,EACzB,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
@@ -0,0 +1,48 @@
1
+ import { ComponentResourceOptions, Input, Output } from "@pulumi/pulumi";
2
+ import { Component } from "../component";
3
+ import { Function, FunctionArgs } from "./function";
4
+ import { QueueSubscriberArgs } from "./queue";
5
+ export interface Args extends QueueSubscriberArgs {
6
+ /**
7
+ * The queue to use.
8
+ */
9
+ queue: Input<{
10
+ /**
11
+ * The ARN of the queue.
12
+ */
13
+ arn: Input<string>;
14
+ }>;
15
+ /**
16
+ * The subscriber function.
17
+ */
18
+ subscriber: Input<string | FunctionArgs>;
19
+ }
20
+ /**
21
+ * The `QueueLambdaSubscriber` component is internally used by the `Queue` component to
22
+ * add a consumer to [Amazon SQS](https://aws.amazon.com/sqs/).
23
+ *
24
+ * :::note
25
+ * This component is not intended to be created directly.
26
+ * :::
27
+ *
28
+ * You'll find this component returned by the `subscribe` method of the `Queue` component.
29
+ */
30
+ export declare class QueueLambdaSubscriber extends Component {
31
+ private readonly fn;
32
+ private readonly eventSourceMapping;
33
+ constructor(name: string, args: Args, opts?: ComponentResourceOptions);
34
+ /**
35
+ * The underlying [resources](/docs/components/#nodes) this component creates.
36
+ */
37
+ get nodes(): {
38
+ /**
39
+ * The Lambda function that'll be notified.
40
+ */
41
+ readonly function: Output<Function>;
42
+ /**
43
+ * The Lambda event source mapping.
44
+ */
45
+ eventSourceMapping: import("@pulumi/aws/lambda/eventSourceMapping").EventSourceMapping;
46
+ };
47
+ }
48
+ //# sourceMappingURL=queue-lambda-subscriber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/queue-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAM9C,MAAM,WAAW,IAAK,SAAQ,mBAAmB;IAC/C;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;QACX;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,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;IAkErE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;MAGN;CACF"}
@@ -0,0 +1,485 @@
1
+ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
2
+ import { Component, Transform } from "../component";
3
+ import { Link } from "../link";
4
+ import type { Input } from "../input";
5
+ import { FunctionArgs, FunctionArn } from "./function";
6
+ import { QueueLambdaSubscriber } from "./queue-lambda-subscriber";
7
+ import { lambda, sqs } from "@pulumi/aws";
8
+ import { DurationHours, DurationMinutes } from "../duration";
9
+ export interface QueueArgs {
10
+ /**
11
+ * FIFO or _first-in-first-out_ queues are designed to guarantee that messages are processed exactly once and in the order that they are sent.
12
+ *
13
+ * :::caution
14
+ * Changing a standard queue to a FIFO queue (or the other way around) will cause the queue to be destroyed and recreated.
15
+ * :::
16
+ *
17
+ * @default `false`
18
+ * @example
19
+ * ```js
20
+ * {
21
+ * fifo: true
22
+ * }
23
+ * ```
24
+ *
25
+ * By default, content based deduplication is disabled. You can enable it by configuring
26
+ * the `fifo` property.
27
+ *
28
+ * ```js
29
+ * {
30
+ * fifo: {
31
+ * contentBasedDeduplication: true
32
+ * }
33
+ * }
34
+ * ```
35
+ */
36
+ fifo?: Input<boolean | {
37
+ /**
38
+ * Content-based deduplication automatically generates a deduplication ID by hashing
39
+ * the message body to prevent duplicate message delivery.
40
+ *
41
+ * @default `false`
42
+ */
43
+ contentBasedDeduplication?: Input<boolean>;
44
+ }>;
45
+ /**
46
+ * The period of time which the delivery of all messages in the queue is delayed.
47
+ *
48
+ * This can range from 0 seconds to 900 seconds (15 minutes).
49
+ *
50
+ * @default `"0 seconds"`
51
+ * @example
52
+ * ```js
53
+ * {
54
+ * delay: "10 seconds"
55
+ * }
56
+ * ```
57
+ */
58
+ delay?: Input<DurationMinutes>;
59
+ /**
60
+ * Visibility timeout is a period of time during which a message is temporarily
61
+ * invisible to other consumers after a consumer has retrieved it from the queue.
62
+ * This mechanism prevents other consumers from processing the same message
63
+ * concurrently, ensuring that each message is processed only once.
64
+ *
65
+ * This timeout can range from 0 seconds to 12 hours.
66
+ *
67
+ * @default `"30 seconds"`
68
+ * @example
69
+ * ```js
70
+ * {
71
+ * visibilityTimeout: "1 hour"
72
+ * }
73
+ * ```
74
+ */
75
+ visibilityTimeout?: Input<DurationHours>;
76
+ /**
77
+ * Optionally add a dead-letter queue or DLQ for this queue.
78
+ *
79
+ * A dead-letter queue is used to store messages that can't be processed successfully by the
80
+ * subscriber function after the `retry` limit is reached.
81
+ *
82
+ * This takes either the ARN of the dead-letter queue or an object to configure how the
83
+ * dead-letter queue is used.
84
+ *
85
+ * @example
86
+ * For example, here's how you can create a dead-letter queue and link it to the main queue.
87
+ *
88
+ * ```ts title="sst.config.ts" {4}
89
+ * const deadLetterQueue = new sst.aws.Queue("MyDLQ");
90
+ *
91
+ * new sst.aws.Queue("MyQueue", {
92
+ * dlq: deadLetterQueue.arn,
93
+ * });
94
+ * ```
95
+ *
96
+ * By default, the main queue will retry processing the message 3 times before sending it to the dead-letter queue. You can customize this.
97
+ *
98
+ * ```ts title="sst.config.ts" {3}
99
+ * new sst.aws.Queue("MyQueue", {
100
+ * dlq: {
101
+ * retry: 5,
102
+ * queue: deadLetterQueue.arn,
103
+ * }
104
+ * });
105
+ * ```
106
+ */
107
+ dlq?: Input<string | {
108
+ /**
109
+ * The ARN of the dead-letter queue.
110
+ */
111
+ queue: Input<string>;
112
+ /**
113
+ * The number of times the main queue will retry the message before sending it to the dead-letter queue.
114
+ * @default `3`
115
+ */
116
+ retry: Input<number>;
117
+ }>;
118
+ /**
119
+ * [Transform](/docs/components#transform) how this component creates its underlying
120
+ * resources.
121
+ */
122
+ transform?: {
123
+ /**
124
+ * Transform the SQS Queue resource.
125
+ */
126
+ queue?: Transform<sqs.QueueArgs>;
127
+ };
128
+ }
129
+ export interface QueueSubscriberArgs {
130
+ /**
131
+ * Filter the records that'll be processed by the `subscriber` function.
132
+ *
133
+ * :::tip
134
+ * You can pass in up to 5 different filters.
135
+ * :::
136
+ *
137
+ * You can pass in up to 5 different filter policies. These will logically ORed together. Meaning that if any single policy matches, the record will be processed. Learn more about the [filter rule syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax).
138
+ *
139
+ * @example
140
+ * For example, if you Queue contains records in this JSON format.
141
+ * ```js
142
+ * {
143
+ * RecordNumber: 0000,
144
+ * RequestCode: "AAAA",
145
+ * TimeStamp: "yyyy-mm-ddThh:mm:ss"
146
+ * }
147
+ * ```
148
+ *
149
+ * To process only those records where the `RequestCode` is `BBBB`.
150
+
151
+ * ```js
152
+ * {
153
+ * filters: [
154
+ * {
155
+ * body: {
156
+ * RequestCode: ["BBBB"]
157
+ * }
158
+ * }
159
+ * ]
160
+ * }
161
+ * ```
162
+ *
163
+ * And to process only those records where `RecordNumber` greater than `9999`.
164
+ *
165
+ * ```js
166
+ * {
167
+ * filters: [
168
+ * {
169
+ * body: {
170
+ * RecordNumber: [{ numeric: [ ">", 9999 ] }]
171
+ * }
172
+ * }
173
+ * ]
174
+ * }
175
+ * ```
176
+ */
177
+ filters?: Input<Input<Record<string, any>>[]>;
178
+ /**
179
+ * Configure batch processing options for the consumer function.
180
+ * @default `{size: 10, window: "20 seconds", partialResponses: false}`
181
+ */
182
+ batch?: Input<{
183
+ /**
184
+ * The maximum number of events that will be processed together in a single invocation
185
+ * of the consumer function.
186
+ *
187
+ * Value must be between 1 and 10000.
188
+ *
189
+ * :::note
190
+ * When `size` is set to a value greater than 10, `window` must be set to at least `1 second`.
191
+ * :::
192
+ *
193
+ * @default `10`
194
+ * @example
195
+ * Set batch size to 1. This will process events individually.
196
+ * ```js
197
+ * {
198
+ * batch: {
199
+ * size: 1
200
+ * }
201
+ * }
202
+ * ```
203
+ */
204
+ size?: Input<number>;
205
+ /**
206
+ * The maximum amount of time to wait for collecting events before sending the batch to
207
+ * the consumer function, even if the batch size hasn't been reached.
208
+ *
209
+ * Value must be between 0 seconds and 5 minutes (300 seconds).
210
+ * @default `"0 seconds"`
211
+ * @example
212
+ * ```js
213
+ * {
214
+ * batch: {
215
+ * window: "20 seconds"
216
+ * }
217
+ * }
218
+ * ```
219
+ */
220
+ window?: Input<DurationMinutes>;
221
+ /**
222
+ * Whether to return partial successful responses for a batch.
223
+ *
224
+ * Enables reporting of individual message failures in a batch. When enabled, only failed
225
+ * messages become visible in the queue again, preventing unnecessary reprocessing of
226
+ * successful messages.
227
+ *
228
+ * The handler function must return a response with failed message IDs.
229
+ *
230
+ * :::note
231
+ * Ensure your Lambda function is updated to handle `batchItemFailures` responses when
232
+ * enabling this option.
233
+ * :::
234
+ *
235
+ * Read more about [partial batch responses](https://docs.aws.amazon.com/lambda/latest/dg/services-sqs-errorhandling.html#services-sqs-batchfailurereporting).
236
+ * @default `false`
237
+ * @example
238
+ * Enable partial responses.
239
+ * ```js
240
+ * {
241
+ * batch: {
242
+ * partialResponses: true
243
+ * }
244
+ * }
245
+ * ```
246
+ *
247
+ * For a batch of messages (id1, id2, id3, id4, id5), if id2 and id4 fail:
248
+ * ```json
249
+ * {
250
+ * "batchItemFailures": [
251
+ * {
252
+ * "itemIdentifier": "id2"
253
+ * },
254
+ * {
255
+ * "itemIdentifier": "id4"
256
+ * }
257
+ * ]
258
+ * }
259
+ * ```
260
+ *
261
+ * This makes only id2 and id4 visible again in the queue.
262
+ */
263
+ partialResponses?: Input<boolean>;
264
+ }>;
265
+ /**
266
+ * [Transform](/docs/components#transform) how this component creates its underlying
267
+ * resources.
268
+ */
269
+ transform?: {
270
+ /**
271
+ * Transform the Lambda Event Source Mapping resource.
272
+ */
273
+ eventSourceMapping?: Transform<lambda.EventSourceMappingArgs>;
274
+ };
275
+ }
276
+ /**
277
+ * The `Queue` component lets you add a serverless queue to your app. It uses [Amazon SQS](https://aws.amazon.com/sqs/).
278
+ *
279
+ * @example
280
+ *
281
+ * #### Create a queue
282
+ *
283
+ * ```ts title="sst.config.ts"
284
+ * const queue = new sst.aws.Queue("MyQueue");
285
+ * ```
286
+ *
287
+ * #### Make it a FIFO queue
288
+ *
289
+ * You can optionally make it a FIFO queue.
290
+ *
291
+ * ```ts {2} title="sst.config.ts"
292
+ * new sst.aws.Queue("MyQueue", {
293
+ * fifo: true
294
+ * });
295
+ * ```
296
+ *
297
+ * #### Add a subscriber
298
+ *
299
+ * ```ts title="sst.config.ts"
300
+ * queue.subscribe("src/subscriber.handler");
301
+ * ```
302
+ *
303
+ * #### Link the queue to a resource
304
+ *
305
+ * You can link the queue to other resources, like a function or your Next.js app.
306
+ *
307
+ * ```ts title="sst.config.ts"
308
+ * new sst.aws.Nextjs("MyWeb", {
309
+ * link: [queue]
310
+ * });
311
+ * ```
312
+ *
313
+ * Once linked, you can send messages to the queue from your function code.
314
+ *
315
+ * ```ts title="app/page.tsx" {1,7}
316
+ * import { Resource } from "sst";
317
+ * import { SQSClient, SendMessageCommand } from "@aws-sdk/client-sqs";
318
+ *
319
+ * const sqs = new SQSClient({});
320
+ *
321
+ * await sqs.send(new SendMessageCommand({
322
+ * QueueUrl: Resource.MyQueue.url,
323
+ * MessageBody: "Hello from Next.js!"
324
+ * }));
325
+ * ```
326
+ */
327
+ export declare class Queue extends Component implements Link.Linkable {
328
+ private constructorName;
329
+ private constructorOpts;
330
+ private queue;
331
+ private isSubscribed;
332
+ constructor(name: string, args?: QueueArgs, opts?: ComponentResourceOptions);
333
+ /**
334
+ * The ARN of the SQS Queue.
335
+ */
336
+ get arn(): Output<string>;
337
+ /**
338
+ * The SQS Queue URL.
339
+ */
340
+ get url(): Output<string>;
341
+ /**
342
+ * The underlying [resources](/docs/components/#nodes) this component creates.
343
+ */
344
+ get nodes(): {
345
+ /**
346
+ * The Amazon SQS Queue.
347
+ */
348
+ queue: import("@pulumi/aws/sqs/queue").Queue;
349
+ };
350
+ /**
351
+ * Subscribe to this queue.
352
+ *
353
+ * @param subscriber The function that'll be notified.
354
+ * @param args Configure the subscription.
355
+ *
356
+ * @example
357
+ *
358
+ * ```js title="sst.config.ts"
359
+ * queue.subscribe("src/subscriber.handler");
360
+ * ```
361
+ *
362
+ * Add a filter to the subscription.
363
+ *
364
+ * ```js title="sst.config.ts"
365
+ * queue.subscribe("src/subscriber.handler", {
366
+ * filters: [
367
+ * {
368
+ * body: {
369
+ * RequestCode: ["BBBB"]
370
+ * }
371
+ * }
372
+ * ]
373
+ * });
374
+ * ```
375
+ *
376
+ * Customize the subscriber function.
377
+ *
378
+ * ```js title="sst.config.ts"
379
+ * queue.subscribe({
380
+ * handler: "src/subscriber.handler",
381
+ * timeout: "60 seconds"
382
+ * });
383
+ * ```
384
+ *
385
+ * Or pass in the ARN of an existing Lambda function.
386
+ *
387
+ * ```js title="sst.config.ts"
388
+ * queue.subscribe("arn:aws:lambda:us-east-1:123456789012:function:my-function");
389
+ * ```
390
+ */
391
+ subscribe(subscriber: Input<string | FunctionArgs | FunctionArn>, args?: QueueSubscriberArgs, opts?: ComponentResourceOptions): Output<QueueLambdaSubscriber>;
392
+ /**
393
+ * Subscribe to an SQS Queue that was not created in your app.
394
+ *
395
+ * @param queueArn The ARN of the SQS Queue to subscribe to.
396
+ * @param subscriber The function that'll be notified.
397
+ * @param args Configure the subscription.
398
+ *
399
+ * @example
400
+ *
401
+ * For example, let's say you have an existing SQS Queue with the following ARN.
402
+ *
403
+ * ```js title="sst.config.ts"
404
+ * const queueArn = "arn:aws:sqs:us-east-1:123456789012:MyQueue";
405
+ * ```
406
+ *
407
+ * You can subscribe to it by passing in the ARN.
408
+ *
409
+ * ```js title="sst.config.ts"
410
+ * sst.aws.Queue.subscribe(queueArn, "src/subscriber.handler");
411
+ * ```
412
+ *
413
+ * Add a filter to the subscription.
414
+ *
415
+ * ```js title="sst.config.ts"
416
+ * sst.aws.Queue.subscribe(queueArn, "src/subscriber.handler", {
417
+ * filters: [
418
+ * {
419
+ * body: {
420
+ * RequestCode: ["BBBB"]
421
+ * }
422
+ * }
423
+ * ]
424
+ * });
425
+ * ```
426
+ *
427
+ * Customize the subscriber function.
428
+ *
429
+ * ```js title="sst.config.ts"
430
+ * sst.aws.Queue.subscribe(queueArn, {
431
+ * handler: "src/subscriber.handler",
432
+ * timeout: "60 seconds"
433
+ * });
434
+ * ```
435
+ */
436
+ static subscribe(queueArn: Input<string>, subscriber: Input<string | FunctionArgs | FunctionArn>, args?: QueueSubscriberArgs, opts?: ComponentResourceOptions): Output<QueueLambdaSubscriber>;
437
+ private static _subscribeFunction;
438
+ /**
439
+ * Reference an existing SQS Queue with its queue URL. This is useful when you create a
440
+ * queue in one stage and want to share it in another stage. It avoids having to create
441
+ * a new queue in the other stage.
442
+ *
443
+ * :::tip
444
+ * You can use the `static get` method to share SQS queues across stages.
445
+ * :::
446
+ *
447
+ * @param name The name of the component.
448
+ * @param queueUrl The URL of the existing SQS Queue.
449
+ * @param opts? Resource options.
450
+ *
451
+ * @example
452
+ * Imagine you create a queue in the `dev` stage. And in your personal stage `frank`,
453
+ * instead of creating a new queue, you want to share the queue from `dev`.
454
+ *
455
+ * ```ts title="sst.config.ts"
456
+ * const queue = $app.stage === "frank"
457
+ * ? sst.aws.Queue.get("MyQueue", "https://sqs.us-east-1.amazonaws.com/123456789012/MyQueue")
458
+ * : new sst.aws.Queue("MyQueue");
459
+ * ```
460
+ *
461
+ * Here `https://sqs.us-east-1.amazonaws.com/123456789012/MyQueue` is the URL of the queue
462
+ * created in the `dev` stage. You can find this by outputting the queue URL in the `dev`
463
+ * stage.
464
+ *
465
+ * ```ts title="sst.config.ts"
466
+ * return queue.url;
467
+ * ```
468
+ */
469
+ static get(name: string, queueUrl: Input<string>, opts?: ComponentResourceOptions): Queue;
470
+ /** @internal */
471
+ getSSTLink(): {
472
+ properties: {
473
+ url: Output<string>;
474
+ };
475
+ include: {
476
+ effect?: "allow" | "deny" | undefined;
477
+ actions: string[];
478
+ resources: Input<Input<string>[]>;
479
+ type: "aws.permission";
480
+ }[];
481
+ };
482
+ /** @internal */
483
+ static createPolicy(name: string, arn: Output<string>, opts?: ComponentResourceOptions): import("@pulumi/aws/sqs/queuePolicy").QueuePolicy;
484
+ }
485
+ //# sourceMappingURL=queue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/queue.ts"],"names":[],"mappings":"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"}