@monorise/sst 1.0.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 (710) hide show
  1. package/dist/.sst/platform/src/components/aws/analog.d.ts +423 -0
  2. package/dist/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
  3. package/dist/.sst/platform/src/components/aws/analog.js +118 -0
  4. package/dist/.sst/platform/src/components/aws/analog.js.map +1 -0
  5. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
  6. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
  7. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js +110 -0
  8. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js.map +1 -0
  9. package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
  10. package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
  11. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js +409 -0
  12. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js.map +1 -0
  13. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
  14. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
  15. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js +55 -0
  16. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js.map +1 -0
  17. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
  18. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
  19. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js +110 -0
  20. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js.map +1 -0
  21. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
  22. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
  23. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js +34 -0
  24. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js.map +1 -0
  25. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
  26. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
  27. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js +49 -0
  28. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js.map +1 -0
  29. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
  30. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
  31. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js +85 -0
  32. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js.map +1 -0
  33. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
  34. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
  35. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js +66 -0
  36. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js.map +1 -0
  37. package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
  38. package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
  39. package/dist/.sst/platform/src/components/aws/apigatewayv1.js +749 -0
  40. package/dist/.sst/platform/src/components/aws/apigatewayv1.js.map +1 -0
  41. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
  42. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
  43. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js +98 -0
  44. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js.map +1 -0
  45. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
  46. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
  47. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js +28 -0
  48. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js.map +1 -0
  49. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
  50. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
  51. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js +84 -0
  52. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js.map +1 -0
  53. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
  54. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
  55. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js +55 -0
  56. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js.map +1 -0
  57. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
  58. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
  59. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js +53 -0
  60. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js.map +1 -0
  61. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts +933 -0
  62. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
  63. package/dist/.sst/platform/src/components/aws/apigatewayv2.js +648 -0
  64. package/dist/.sst/platform/src/components/aws/apigatewayv2.js.map +1 -0
  65. package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
  66. package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
  67. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js +208 -0
  68. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js.map +1 -0
  69. package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
  70. package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
  71. package/dist/.sst/platform/src/components/aws/app-sync-function.js +52 -0
  72. package/dist/.sst/platform/src/components/aws/app-sync-function.js.map +1 -0
  73. package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
  74. package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
  75. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js +70 -0
  76. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js.map +1 -0
  77. package/dist/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
  78. package/dist/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
  79. package/dist/.sst/platform/src/components/aws/app-sync.js +330 -0
  80. package/dist/.sst/platform/src/components/aws/app-sync.js.map +1 -0
  81. package/dist/.sst/platform/src/components/aws/astro.d.ts +421 -0
  82. package/dist/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
  83. package/dist/.sst/platform/src/components/aws/astro.js +156 -0
  84. package/dist/.sst/platform/src/components/aws/astro.js.map +1 -0
  85. package/dist/.sst/platform/src/components/aws/aurora.d.ts +702 -0
  86. package/dist/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
  87. package/dist/.sst/platform/src/components/aws/aurora.js +678 -0
  88. package/dist/.sst/platform/src/components/aws/aurora.js.map +1 -0
  89. package/dist/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
  90. package/dist/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
  91. package/dist/.sst/platform/src/components/aws/auth-v1.js +36 -0
  92. package/dist/.sst/platform/src/components/aws/auth-v1.js.map +1 -0
  93. package/dist/.sst/platform/src/components/aws/auth.d.ts +260 -0
  94. package/dist/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
  95. package/dist/.sst/platform/src/components/aws/auth.js +209 -0
  96. package/dist/.sst/platform/src/components/aws/auth.js.map +1 -0
  97. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
  98. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
  99. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js +99 -0
  100. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js.map +1 -0
  101. package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
  102. package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
  103. package/dist/.sst/platform/src/components/aws/bucket-notification.js +170 -0
  104. package/dist/.sst/platform/src/components/aws/bucket-notification.js.map +1 -0
  105. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
  106. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
  107. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js +77 -0
  108. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js.map +1 -0
  109. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
  110. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
  111. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js +99 -0
  112. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js.map +1 -0
  113. package/dist/.sst/platform/src/components/aws/bucket.d.ts +1115 -0
  114. package/dist/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
  115. package/dist/.sst/platform/src/components/aws/bucket.js +754 -0
  116. package/dist/.sst/platform/src/components/aws/bucket.js.map +1 -0
  117. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
  118. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
  119. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js +19 -0
  120. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js.map +1 -0
  121. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
  122. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
  123. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js +81 -0
  124. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js.map +1 -0
  125. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
  126. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
  127. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js +63 -0
  128. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js.map +1 -0
  129. package/dist/.sst/platform/src/components/aws/bus.d.ts +403 -0
  130. package/dist/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
  131. package/dist/.sst/platform/src/components/aws/bus.js +350 -0
  132. package/dist/.sst/platform/src/components/aws/bus.js.map +1 -0
  133. package/dist/.sst/platform/src/components/aws/cdn.d.ts +299 -0
  134. package/dist/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
  135. package/dist/.sst/platform/src/components/aws/cdn.js +234 -0
  136. package/dist/.sst/platform/src/components/aws/cdn.js.map +1 -0
  137. package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
  138. package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
  139. package/dist/.sst/platform/src/components/aws/cluster-v1.js +245 -0
  140. package/dist/.sst/platform/src/components/aws/cluster-v1.js.map +1 -0
  141. package/dist/.sst/platform/src/components/aws/cluster.d.ts +308 -0
  142. package/dist/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
  143. package/dist/.sst/platform/src/components/aws/cluster.js +321 -0
  144. package/dist/.sst/platform/src/components/aws/cluster.js.map +1 -0
  145. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
  146. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
  147. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js +263 -0
  148. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js.map +1 -0
  149. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
  150. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
  151. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js +67 -0
  152. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js.map +1 -0
  153. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
  154. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
  155. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js +81 -0
  156. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js.map +1 -0
  157. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts +599 -0
  158. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
  159. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js +368 -0
  160. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js.map +1 -0
  161. package/dist/.sst/platform/src/components/aws/cron.d.ts +250 -0
  162. package/dist/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
  163. package/dist/.sst/platform/src/components/aws/cron.js +200 -0
  164. package/dist/.sst/platform/src/components/aws/cron.js.map +1 -0
  165. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
  166. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
  167. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js +55 -0
  168. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js.map +1 -0
  169. package/dist/.sst/platform/src/components/aws/dns.d.ts +94 -0
  170. package/dist/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
  171. package/dist/.sst/platform/src/components/aws/dns.js +121 -0
  172. package/dist/.sst/platform/src/components/aws/dns.js.map +1 -0
  173. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
  174. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
  175. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js +79 -0
  176. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js.map +1 -0
  177. package/dist/.sst/platform/src/components/aws/dynamo.d.ts +569 -0
  178. package/dist/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
  179. package/dist/.sst/platform/src/components/aws/dynamo.js +291 -0
  180. package/dist/.sst/platform/src/components/aws/dynamo.js.map +1 -0
  181. package/dist/.sst/platform/src/components/aws/efs.d.ts +217 -0
  182. package/dist/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
  183. package/dist/.sst/platform/src/components/aws/efs.js +241 -0
  184. package/dist/.sst/platform/src/components/aws/efs.js.map +1 -0
  185. package/dist/.sst/platform/src/components/aws/email.d.ts +291 -0
  186. package/dist/.sst/platform/src/components/aws/email.d.ts.map +1 -0
  187. package/dist/.sst/platform/src/components/aws/email.js +276 -0
  188. package/dist/.sst/platform/src/components/aws/email.js.map +1 -0
  189. package/dist/.sst/platform/src/components/aws/fargate.d.ts +769 -0
  190. package/dist/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
  191. package/dist/.sst/platform/src/components/aws/fargate.js +434 -0
  192. package/dist/.sst/platform/src/components/aws/fargate.js.map +1 -0
  193. package/dist/.sst/platform/src/components/aws/function.d.ts +1631 -0
  194. package/dist/.sst/platform/src/components/aws/function.d.ts.map +1 -0
  195. package/dist/.sst/platform/src/components/aws/function.js +1041 -0
  196. package/dist/.sst/platform/src/components/aws/function.js.map +1 -0
  197. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
  198. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
  199. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js +31 -0
  200. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js.map +1 -0
  201. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
  202. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
  203. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js +2 -0
  204. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js.map +1 -0
  205. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts +35 -0
  206. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
  207. package/dist/.sst/platform/src/components/aws/helpers/arn.js +86 -0
  208. package/dist/.sst/platform/src/components/aws/helpers/arn.js.map +1 -0
  209. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
  210. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
  211. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js +7 -0
  212. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js.map +1 -0
  213. package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
  214. package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
  215. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js +27 -0
  216. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js.map +1 -0
  217. package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
  218. package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
  219. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js +51 -0
  220. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js.map +1 -0
  221. package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
  222. package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
  223. package/dist/.sst/platform/src/components/aws/helpers/provider.js +34 -0
  224. package/dist/.sst/platform/src/components/aws/helpers/provider.js.map +1 -0
  225. package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
  226. package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
  227. package/dist/.sst/platform/src/components/aws/helpers/quota.js +20 -0
  228. package/dist/.sst/platform/src/components/aws/helpers/quota.js.map +1 -0
  229. package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
  230. package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
  231. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js +36 -0
  232. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js.map +1 -0
  233. package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
  234. package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
  235. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js +13 -0
  236. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js.map +1 -0
  237. package/dist/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
  238. package/dist/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
  239. package/dist/.sst/platform/src/components/aws/https-redirect.js +124 -0
  240. package/dist/.sst/platform/src/components/aws/https-redirect.js.map +1 -0
  241. package/dist/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
  242. package/dist/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
  243. package/dist/.sst/platform/src/components/aws/iam-edit.js +40 -0
  244. package/dist/.sst/platform/src/components/aws/iam-edit.js.map +1 -0
  245. package/dist/.sst/platform/src/components/aws/index.d.ts +48 -0
  246. package/dist/.sst/platform/src/components/aws/index.d.ts.map +1 -0
  247. package/dist/.sst/platform/src/components/aws/index.js +49 -0
  248. package/dist/.sst/platform/src/components/aws/index.js.map +1 -0
  249. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
  250. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
  251. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js +82 -0
  252. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js.map +1 -0
  253. package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
  254. package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
  255. package/dist/.sst/platform/src/components/aws/kinesis-stream.js +134 -0
  256. package/dist/.sst/platform/src/components/aws/kinesis-stream.js.map +1 -0
  257. package/dist/.sst/platform/src/components/aws/linkable.d.ts +17 -0
  258. package/dist/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
  259. package/dist/.sst/platform/src/components/aws/linkable.js +25 -0
  260. package/dist/.sst/platform/src/components/aws/linkable.js.map +1 -0
  261. package/dist/.sst/platform/src/components/aws/logging.d.ts +26 -0
  262. package/dist/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
  263. package/dist/.sst/platform/src/components/aws/logging.js +26 -0
  264. package/dist/.sst/platform/src/components/aws/logging.js.map +1 -0
  265. package/dist/.sst/platform/src/components/aws/mysql.d.ts +496 -0
  266. package/dist/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
  267. package/dist/.sst/platform/src/components/aws/mysql.js +514 -0
  268. package/dist/.sst/platform/src/components/aws/mysql.js.map +1 -0
  269. package/dist/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
  270. package/dist/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
  271. package/dist/.sst/platform/src/components/aws/nextjs.js +444 -0
  272. package/dist/.sst/platform/src/components/aws/nextjs.js.map +1 -0
  273. package/dist/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
  274. package/dist/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
  275. package/dist/.sst/platform/src/components/aws/nuxt.js +113 -0
  276. package/dist/.sst/platform/src/components/aws/nuxt.js.map +1 -0
  277. package/dist/.sst/platform/src/components/aws/open-search.d.ts +295 -0
  278. package/dist/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
  279. package/dist/.sst/platform/src/components/aws/open-search.js +365 -0
  280. package/dist/.sst/platform/src/components/aws/open-search.js.map +1 -0
  281. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
  282. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
  283. package/dist/.sst/platform/src/components/aws/opencontrol.js +164 -0
  284. package/dist/.sst/platform/src/components/aws/opencontrol.js.map +1 -0
  285. package/dist/.sst/platform/src/components/aws/permission.d.ts +27 -0
  286. package/dist/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
  287. package/dist/.sst/platform/src/components/aws/permission.js +19 -0
  288. package/dist/.sst/platform/src/components/aws/permission.js.map +1 -0
  289. package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
  290. package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
  291. package/dist/.sst/platform/src/components/aws/postgres-v1.js +304 -0
  292. package/dist/.sst/platform/src/components/aws/postgres-v1.js.map +1 -0
  293. package/dist/.sst/platform/src/components/aws/postgres.d.ts +500 -0
  294. package/dist/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
  295. package/dist/.sst/platform/src/components/aws/postgres.js +532 -0
  296. package/dist/.sst/platform/src/components/aws/postgres.js.map +1 -0
  297. package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
  298. package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
  299. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js +8 -0
  300. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js.map +1 -0
  301. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
  302. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
  303. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js +8 -0
  304. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js.map +1 -0
  305. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
  306. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
  307. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js +8 -0
  308. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js.map +1 -0
  309. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
  310. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
  311. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js +18 -0
  312. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js.map +1 -0
  313. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
  314. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
  315. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js +8 -0
  316. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js.map +1 -0
  317. package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
  318. package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
  319. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js +8 -0
  320. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js.map +1 -0
  321. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
  322. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
  323. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js +8 -0
  324. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js.map +1 -0
  325. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
  326. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
  327. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js +8 -0
  328. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js.map +1 -0
  329. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
  330. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
  331. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js +8 -0
  332. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js.map +1 -0
  333. package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
  334. package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
  335. package/dist/.sst/platform/src/components/aws/providers/vector-table.js +8 -0
  336. package/dist/.sst/platform/src/components/aws/providers/vector-table.js.map +1 -0
  337. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
  338. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
  339. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js +81 -0
  340. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js.map +1 -0
  341. package/dist/.sst/platform/src/components/aws/queue.d.ts +485 -0
  342. package/dist/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
  343. package/dist/.sst/platform/src/components/aws/queue.js +322 -0
  344. package/dist/.sst/platform/src/components/aws/queue.js.map +1 -0
  345. package/dist/.sst/platform/src/components/aws/react.d.ts +416 -0
  346. package/dist/.sst/platform/src/components/aws/react.d.ts.map +1 -0
  347. package/dist/.sst/platform/src/components/aws/react.js +157 -0
  348. package/dist/.sst/platform/src/components/aws/react.js.map +1 -0
  349. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
  350. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
  351. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js +78 -0
  352. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js.map +1 -0
  353. package/dist/.sst/platform/src/components/aws/realtime.d.ts +226 -0
  354. package/dist/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
  355. package/dist/.sst/platform/src/components/aws/realtime.js +221 -0
  356. package/dist/.sst/platform/src/components/aws/realtime.js.map +1 -0
  357. package/dist/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
  358. package/dist/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
  359. package/dist/.sst/platform/src/components/aws/redis-v1.js +335 -0
  360. package/dist/.sst/platform/src/components/aws/redis-v1.js.map +1 -0
  361. package/dist/.sst/platform/src/components/aws/redis.d.ts +364 -0
  362. package/dist/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
  363. package/dist/.sst/platform/src/components/aws/redis.js +382 -0
  364. package/dist/.sst/platform/src/components/aws/redis.js.map +1 -0
  365. package/dist/.sst/platform/src/components/aws/remix.d.ts +423 -0
  366. package/dist/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
  367. package/dist/.sst/platform/src/components/aws/remix.js +212 -0
  368. package/dist/.sst/platform/src/components/aws/remix.js.map +1 -0
  369. package/dist/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
  370. package/dist/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
  371. package/dist/.sst/platform/src/components/aws/router-base-route.js +40 -0
  372. package/dist/.sst/platform/src/components/aws/router-base-route.js.map +1 -0
  373. package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
  374. package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
  375. package/dist/.sst/platform/src/components/aws/router-bucket-route.js +40 -0
  376. package/dist/.sst/platform/src/components/aws/router-bucket-route.js.map +1 -0
  377. package/dist/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
  378. package/dist/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
  379. package/dist/.sst/platform/src/components/aws/router-url-route.js +51 -0
  380. package/dist/.sst/platform/src/components/aws/router-url-route.js.map +1 -0
  381. package/dist/.sst/platform/src/components/aws/router.d.ts +1266 -0
  382. package/dist/.sst/platform/src/components/aws/router.d.ts.map +1 -0
  383. package/dist/.sst/platform/src/components/aws/router.js +1156 -0
  384. package/dist/.sst/platform/src/components/aws/router.js.map +1 -0
  385. package/dist/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
  386. package/dist/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
  387. package/dist/.sst/platform/src/components/aws/service-v1.js +606 -0
  388. package/dist/.sst/platform/src/components/aws/service-v1.js.map +1 -0
  389. package/dist/.sst/platform/src/components/aws/service.d.ts +1599 -0
  390. package/dist/.sst/platform/src/components/aws/service.d.ts.map +1 -0
  391. package/dist/.sst/platform/src/components/aws/service.js +924 -0
  392. package/dist/.sst/platform/src/components/aws/service.js.map +1 -0
  393. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
  394. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
  395. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js +75 -0
  396. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js.map +1 -0
  397. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
  398. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
  399. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js +59 -0
  400. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js.map +1 -0
  401. package/dist/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
  402. package/dist/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
  403. package/dist/.sst/platform/src/components/aws/sns-topic.js +233 -0
  404. package/dist/.sst/platform/src/components/aws/sns-topic.js.map +1 -0
  405. package/dist/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
  406. package/dist/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
  407. package/dist/.sst/platform/src/components/aws/solid-start.js +120 -0
  408. package/dist/.sst/platform/src/components/aws/solid-start.js.map +1 -0
  409. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts +494 -0
  410. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
  411. package/dist/.sst/platform/src/components/aws/ssr-site.js +792 -0
  412. package/dist/.sst/platform/src/components/aws/ssr-site.js.map +1 -0
  413. package/dist/.sst/platform/src/components/aws/static-site.d.ts +736 -0
  414. package/dist/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
  415. package/dist/.sst/platform/src/components/aws/static-site.js +583 -0
  416. package/dist/.sst/platform/src/components/aws/static-site.js.map +1 -0
  417. package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
  418. package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
  419. package/dist/.sst/platform/src/components/aws/step-functions/choice.js +98 -0
  420. package/dist/.sst/platform/src/components/aws/step-functions/choice.js.map +1 -0
  421. package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
  422. package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
  423. package/dist/.sst/platform/src/components/aws/step-functions/fail.js +25 -0
  424. package/dist/.sst/platform/src/components/aws/step-functions/fail.js.map +1 -0
  425. package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
  426. package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
  427. package/dist/.sst/platform/src/components/aws/step-functions/map.js +108 -0
  428. package/dist/.sst/platform/src/components/aws/step-functions/map.js.map +1 -0
  429. package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
  430. package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
  431. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js +129 -0
  432. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js.map +1 -0
  433. package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
  434. package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
  435. package/dist/.sst/platform/src/components/aws/step-functions/pass.js +41 -0
  436. package/dist/.sst/platform/src/components/aws/step-functions/pass.js.map +1 -0
  437. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts +197 -0
  438. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
  439. package/dist/.sst/platform/src/components/aws/step-functions/state.js +134 -0
  440. package/dist/.sst/platform/src/components/aws/step-functions/state.js.map +1 -0
  441. package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
  442. package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
  443. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js +25 -0
  444. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js.map +1 -0
  445. package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
  446. package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
  447. package/dist/.sst/platform/src/components/aws/step-functions/task.js +116 -0
  448. package/dist/.sst/platform/src/components/aws/step-functions/task.js.map +1 -0
  449. package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
  450. package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
  451. package/dist/.sst/platform/src/components/aws/step-functions/wait.js +46 -0
  452. package/dist/.sst/platform/src/components/aws/step-functions/wait.js.map +1 -0
  453. package/dist/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
  454. package/dist/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
  455. package/dist/.sst/platform/src/components/aws/step-functions.js +576 -0
  456. package/dist/.sst/platform/src/components/aws/step-functions.js.map +1 -0
  457. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
  458. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
  459. package/dist/.sst/platform/src/components/aws/svelte-kit.js +144 -0
  460. package/dist/.sst/platform/src/components/aws/svelte-kit.js.map +1 -0
  461. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
  462. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
  463. package/dist/.sst/platform/src/components/aws/tan-stack-start.js +143 -0
  464. package/dist/.sst/platform/src/components/aws/tan-stack-start.js.map +1 -0
  465. package/dist/.sst/platform/src/components/aws/task.d.ts +322 -0
  466. package/dist/.sst/platform/src/components/aws/task.d.ts.map +1 -0
  467. package/dist/.sst/platform/src/components/aws/task.js +311 -0
  468. package/dist/.sst/platform/src/components/aws/task.js.map +1 -0
  469. package/dist/.sst/platform/src/components/aws/vector.d.ts +150 -0
  470. package/dist/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
  471. package/dist/.sst/platform/src/components/aws/vector.js +224 -0
  472. package/dist/.sst/platform/src/components/aws/vector.js.map +1 -0
  473. package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
  474. package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
  475. package/dist/.sst/platform/src/components/aws/vpc-v1.js +355 -0
  476. package/dist/.sst/platform/src/components/aws/vpc-v1.js.map +1 -0
  477. package/dist/.sst/platform/src/components/aws/vpc.d.ts +444 -0
  478. package/dist/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
  479. package/dist/.sst/platform/src/components/aws/vpc.js +834 -0
  480. package/dist/.sst/platform/src/components/aws/vpc.js.map +1 -0
  481. package/dist/.sst/platform/src/components/base/base-site.d.ts +53 -0
  482. package/dist/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
  483. package/dist/.sst/platform/src/components/base/base-site.js +47 -0
  484. package/dist/.sst/platform/src/components/base/base-site.js.map +1 -0
  485. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts +111 -0
  486. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
  487. package/dist/.sst/platform/src/components/base/base-ssr-site.js +72 -0
  488. package/dist/.sst/platform/src/components/base/base-ssr-site.js.map +1 -0
  489. package/dist/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
  490. package/dist/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
  491. package/dist/.sst/platform/src/components/base/base-static-site.js +87 -0
  492. package/dist/.sst/platform/src/components/base/base-static-site.js.map +1 -0
  493. package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
  494. package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
  495. package/dist/.sst/platform/src/components/cloudflare/account-id.js +2 -0
  496. package/dist/.sst/platform/src/components/cloudflare/account-id.js.map +1 -0
  497. package/dist/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
  498. package/dist/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
  499. package/dist/.sst/platform/src/components/cloudflare/auth.js +37 -0
  500. package/dist/.sst/platform/src/components/cloudflare/auth.js.map +1 -0
  501. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
  502. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
  503. package/dist/.sst/platform/src/components/cloudflare/binding.js +25 -0
  504. package/dist/.sst/platform/src/components/cloudflare/binding.js.map +1 -0
  505. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts +101 -0
  506. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
  507. package/dist/.sst/platform/src/components/cloudflare/bucket.js +98 -0
  508. package/dist/.sst/platform/src/components/cloudflare/bucket.js.map +1 -0
  509. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
  510. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
  511. package/dist/.sst/platform/src/components/cloudflare/cron.js +86 -0
  512. package/dist/.sst/platform/src/components/cloudflare/cron.js.map +1 -0
  513. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
  514. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
  515. package/dist/.sst/platform/src/components/cloudflare/d1.js +104 -0
  516. package/dist/.sst/platform/src/components/cloudflare/d1.js.map +1 -0
  517. package/dist/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
  518. package/dist/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
  519. package/dist/.sst/platform/src/components/cloudflare/dns.js +138 -0
  520. package/dist/.sst/platform/src/components/cloudflare/dns.js.map +1 -0
  521. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
  522. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
  523. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js +39 -0
  524. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js.map +1 -0
  525. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
  526. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
  527. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js +25 -0
  528. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js.map +1 -0
  529. package/dist/.sst/platform/src/components/cloudflare/index.d.ts +13 -0
  530. package/dist/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
  531. package/dist/.sst/platform/src/components/cloudflare/index.js +13 -0
  532. package/dist/.sst/platform/src/components/cloudflare/index.js.map +1 -0
  533. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts +101 -0
  534. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
  535. package/dist/.sst/platform/src/components/cloudflare/kv.js +98 -0
  536. package/dist/.sst/platform/src/components/cloudflare/kv.js.map +1 -0
  537. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
  538. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
  539. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js +11 -0
  540. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js.map +1 -0
  541. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
  542. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
  543. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js +63 -0
  544. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js.map +1 -0
  545. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
  546. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
  547. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js +83 -0
  548. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js.map +1 -0
  549. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
  550. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
  551. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js +54 -0
  552. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js.map +1 -0
  553. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
  554. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
  555. package/dist/.sst/platform/src/components/cloudflare/queue.js +57 -0
  556. package/dist/.sst/platform/src/components/cloudflare/queue.js.map +1 -0
  557. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts +223 -0
  558. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts.map +1 -0
  559. package/dist/.sst/platform/src/components/cloudflare/remix.js +291 -0
  560. package/dist/.sst/platform/src/components/cloudflare/remix.js.map +1 -0
  561. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts +59 -0
  562. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
  563. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js +177 -0
  564. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js.map +1 -0
  565. package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
  566. package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
  567. package/dist/.sst/platform/src/components/cloudflare/static-site.js +315 -0
  568. package/dist/.sst/platform/src/components/cloudflare/static-site.js.map +1 -0
  569. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts +273 -0
  570. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
  571. package/dist/.sst/platform/src/components/cloudflare/worker.js +326 -0
  572. package/dist/.sst/platform/src/components/cloudflare/worker.js.map +1 -0
  573. package/dist/.sst/platform/src/components/component.d.ts +37 -0
  574. package/dist/.sst/platform/src/components/component.d.ts.map +1 -0
  575. package/dist/.sst/platform/src/components/component.js +395 -0
  576. package/dist/.sst/platform/src/components/component.js.map +1 -0
  577. package/dist/.sst/platform/src/components/cpu.d.ts +3 -0
  578. package/dist/.sst/platform/src/components/cpu.d.ts.map +1 -0
  579. package/dist/.sst/platform/src/components/cpu.js +9 -0
  580. package/dist/.sst/platform/src/components/cpu.js.map +1 -0
  581. package/dist/.sst/platform/src/components/dns.d.ts +59 -0
  582. package/dist/.sst/platform/src/components/dns.d.ts.map +1 -0
  583. package/dist/.sst/platform/src/components/dns.js +7 -0
  584. package/dist/.sst/platform/src/components/dns.js.map +1 -0
  585. package/dist/.sst/platform/src/components/duration.d.ts +6 -0
  586. package/dist/.sst/platform/src/components/duration.d.ts.map +1 -0
  587. package/dist/.sst/platform/src/components/duration.js +19 -0
  588. package/dist/.sst/platform/src/components/duration.js.map +1 -0
  589. package/dist/.sst/platform/src/components/error.d.ts +4 -0
  590. package/dist/.sst/platform/src/components/error.d.ts.map +1 -0
  591. package/dist/.sst/platform/src/components/error.js +6 -0
  592. package/dist/.sst/platform/src/components/error.js.map +1 -0
  593. package/dist/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
  594. package/dist/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
  595. package/dist/.sst/platform/src/components/experimental/dev-command.js +59 -0
  596. package/dist/.sst/platform/src/components/experimental/dev-command.js.map +1 -0
  597. package/dist/.sst/platform/src/components/experimental/index.d.ts +2 -0
  598. package/dist/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
  599. package/dist/.sst/platform/src/components/experimental/index.js +2 -0
  600. package/dist/.sst/platform/src/components/experimental/index.js.map +1 -0
  601. package/dist/.sst/platform/src/components/hint.d.ts +7 -0
  602. package/dist/.sst/platform/src/components/hint.d.ts.map +1 -0
  603. package/dist/.sst/platform/src/components/hint.js +20 -0
  604. package/dist/.sst/platform/src/components/hint.js.map +1 -0
  605. package/dist/.sst/platform/src/components/index.d.ts +16 -0
  606. package/dist/.sst/platform/src/components/index.d.ts.map +1 -0
  607. package/dist/.sst/platform/src/components/index.js +16 -0
  608. package/dist/.sst/platform/src/components/index.js.map +1 -0
  609. package/dist/.sst/platform/src/components/input.d.ts +3 -0
  610. package/dist/.sst/platform/src/components/input.d.ts.map +1 -0
  611. package/dist/.sst/platform/src/components/input.js +2 -0
  612. package/dist/.sst/platform/src/components/input.js.map +1 -0
  613. package/dist/.sst/platform/src/components/link.d.ts +41 -0
  614. package/dist/.sst/platform/src/components/link.d.ts.map +1 -0
  615. package/dist/.sst/platform/src/components/link.js +138 -0
  616. package/dist/.sst/platform/src/components/link.js.map +1 -0
  617. package/dist/.sst/platform/src/components/linkable.d.ts +271 -0
  618. package/dist/.sst/platform/src/components/linkable.d.ts.map +1 -0
  619. package/dist/.sst/platform/src/components/linkable.js +244 -0
  620. package/dist/.sst/platform/src/components/linkable.js.map +1 -0
  621. package/dist/.sst/platform/src/components/naming.d.ts +7 -0
  622. package/dist/.sst/platform/src/components/naming.d.ts.map +1 -0
  623. package/dist/.sst/platform/src/components/naming.js +58 -0
  624. package/dist/.sst/platform/src/components/naming.js.map +1 -0
  625. package/dist/.sst/platform/src/components/path.d.ts +2 -0
  626. package/dist/.sst/platform/src/components/path.d.ts.map +1 -0
  627. package/dist/.sst/platform/src/components/path.js +5 -0
  628. package/dist/.sst/platform/src/components/path.js.map +1 -0
  629. package/dist/.sst/platform/src/components/rpc/rpc.d.ts +18 -0
  630. package/dist/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
  631. package/dist/.sst/platform/src/components/rpc/rpc.js +120 -0
  632. package/dist/.sst/platform/src/components/rpc/rpc.js.map +1 -0
  633. package/dist/.sst/platform/src/components/secret.d.ts +125 -0
  634. package/dist/.sst/platform/src/components/secret.d.ts.map +1 -0
  635. package/dist/.sst/platform/src/components/secret.js +143 -0
  636. package/dist/.sst/platform/src/components/secret.js.map +1 -0
  637. package/dist/.sst/platform/src/components/size.d.ts +5 -0
  638. package/dist/.sst/platform/src/components/size.d.ts.map +1 -0
  639. package/dist/.sst/platform/src/components/size.js +29 -0
  640. package/dist/.sst/platform/src/components/size.js.map +1 -0
  641. package/dist/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
  642. package/dist/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
  643. package/dist/.sst/platform/src/components/vercel/account-id.js +2 -0
  644. package/dist/.sst/platform/src/components/vercel/account-id.js.map +1 -0
  645. package/dist/.sst/platform/src/components/vercel/dns.d.ts +73 -0
  646. package/dist/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
  647. package/dist/.sst/platform/src/components/vercel/dns.js +104 -0
  648. package/dist/.sst/platform/src/components/vercel/dns.js.map +1 -0
  649. package/dist/.sst/platform/src/components/vercel/index.d.ts +3 -0
  650. package/dist/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
  651. package/dist/.sst/platform/src/components/vercel/index.js +3 -0
  652. package/dist/.sst/platform/src/components/vercel/index.js.map +1 -0
  653. package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
  654. package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
  655. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js +8 -0
  656. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js.map +1 -0
  657. package/dist/.sst/platform/src/config.d.ts +1243 -0
  658. package/dist/.sst/platform/src/config.d.ts.map +1 -0
  659. package/dist/.sst/platform/src/config.js +5 -0
  660. package/dist/.sst/platform/src/config.js.map +1 -0
  661. package/dist/.sst/platform/src/util/compare-semver.d.ts +4 -0
  662. package/dist/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
  663. package/dist/.sst/platform/src/util/compare-semver.js +24 -0
  664. package/dist/.sst/platform/src/util/compare-semver.js.map +1 -0
  665. package/dist/.sst/platform/src/util/lazy.d.ts +2 -0
  666. package/dist/.sst/platform/src/util/lazy.d.ts.map +1 -0
  667. package/dist/.sst/platform/src/util/lazy.js +12 -0
  668. package/dist/.sst/platform/src/util/lazy.js.map +1 -0
  669. package/dist/.sst/platform/src/util/path-to-regex.d.ts +128 -0
  670. package/dist/.sst/platform/src/util/path-to-regex.d.ts.map +1 -0
  671. package/dist/.sst/platform/src/util/path-to-regex.js +392 -0
  672. package/dist/.sst/platform/src/util/path-to-regex.js.map +1 -0
  673. package/dist/.sst/platform/src/util/semaphore.d.ts +9 -0
  674. package/dist/.sst/platform/src/util/semaphore.d.ts.map +1 -0
  675. package/dist/.sst/platform/src/util/semaphore.js +36 -0
  676. package/dist/.sst/platform/src/util/semaphore.js.map +1 -0
  677. package/dist/.sst/platform/src/util/warn.d.ts +2 -0
  678. package/dist/.sst/platform/src/util/warn.d.ts.map +1 -0
  679. package/dist/.sst/platform/src/util/warn.js +8 -0
  680. package/dist/.sst/platform/src/util/warn.js.map +1 -0
  681. package/dist/components/monorise-core.d.ts +17 -0
  682. package/dist/components/monorise-core.d.ts.map +1 -0
  683. package/dist/components/monorise-core.js +134 -0
  684. package/dist/components/monorise-core.js.map +1 -0
  685. package/dist/components/q-function.d.ts +17 -0
  686. package/dist/components/q-function.d.ts.map +1 -0
  687. package/dist/components/q-function.js +53 -0
  688. package/dist/components/q-function.js.map +1 -0
  689. package/dist/components/single-table.d.ts +12 -0
  690. package/dist/components/single-table.d.ts.map +1 -0
  691. package/dist/components/single-table.js +71 -0
  692. package/dist/components/single-table.js.map +1 -0
  693. package/dist/constants/event.d.ts +73 -0
  694. package/dist/constants/event.d.ts.map +1 -0
  695. package/dist/constants/event.js +74 -0
  696. package/dist/constants/event.js.map +1 -0
  697. package/dist/constants/table.d.ts +3 -0
  698. package/dist/constants/table.d.ts.map +1 -0
  699. package/dist/constants/table.js +3 -0
  700. package/dist/constants/table.js.map +1 -0
  701. package/dist/index.d.ts +11 -0
  702. package/dist/index.d.ts.map +1 -0
  703. package/dist/index.js +11 -0
  704. package/dist/index.js.map +1 -0
  705. package/dist/sst.config.d.ts +3 -0
  706. package/dist/sst.config.d.ts.map +1 -0
  707. package/dist/sst.config.js +24 -0
  708. package/dist/sst.config.js.map +1 -0
  709. package/dist/tsconfig.tsbuildinfo +1 -0
  710. package/package.json +25 -0
@@ -0,0 +1,57 @@
1
+ import * as cloudflare from "@pulumi/cloudflare";
2
+ import { Component, transform } from "../component";
3
+ import { binding } from "./binding";
4
+ import { DEFAULT_ACCOUNT_ID } from "./account-id";
5
+ /**
6
+ * The `Queue` component lets you add a [Cloudflare Queue](https://developers.cloudflare.com/queues/) to
7
+ * your app.
8
+ */
9
+ export class Queue extends Component {
10
+ constructor(name, args, opts) {
11
+ super(__pulumiType, name, args, opts);
12
+ const parent = this;
13
+ const queue = create();
14
+ this.queue = queue;
15
+ function create() {
16
+ var _a;
17
+ return new cloudflare.Queue(...transform((_a = args === null || args === void 0 ? void 0 : args.transform) === null || _a === void 0 ? void 0 : _a.queue, `${name}Queue`, {
18
+ queueName: "",
19
+ accountId: DEFAULT_ACCOUNT_ID,
20
+ }, { parent }));
21
+ }
22
+ }
23
+ getSSTLink() {
24
+ return {
25
+ properties: {},
26
+ include: [
27
+ binding({
28
+ type: "queueBindings",
29
+ properties: {
30
+ queue: this.queue.queueName,
31
+ },
32
+ }),
33
+ ],
34
+ };
35
+ }
36
+ /**
37
+ * The generated id of the queue
38
+ */
39
+ get id() {
40
+ return this.queue.id;
41
+ }
42
+ /**
43
+ * The underlying [resources](/docs/components/#nodes) this component creates.
44
+ */
45
+ get nodes() {
46
+ return {
47
+ /**
48
+ * The Cloudflare queue.
49
+ */
50
+ queue: this.queue,
51
+ };
52
+ }
53
+ }
54
+ const __pulumiType = "sst:cloudflare:Queue";
55
+ // @ts-expect-error
56
+ Queue.__pulumiType = __pulumiType;
57
+ //# sourceMappingURL=queue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/queue.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MAAM,YAAY,GAAG,sBAAsB,CAAC;AAC5C,mBAAmB;AACnB,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -0,0 +1,223 @@
1
+ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
2
+ import { SsrSiteArgs } from "./ssr-site.js";
3
+ import { Component } from "../component.js";
4
+ import { Link } from "../link.js";
5
+ import { Kv } from "./kv.js";
6
+ import { Worker } from "./worker.js";
7
+ export interface RemixArgs extends SsrSiteArgs {
8
+ /**
9
+ * Configure how the Remix app assets are uploaded to S3.
10
+ *
11
+ * By default, this is set to the following. Read more about these options below.
12
+ * ```js
13
+ * {
14
+ * assets: {
15
+ * textEncoding: "utf-8",
16
+ * versionedFilesCacheHeader: "public,max-age=31536000,immutable",
17
+ * nonVersionedFilesCacheHeader: "public,max-age=0,s-maxage=86400,stale-while-revalidate=8640"
18
+ * }
19
+ * }
20
+ * ```
21
+ */
22
+ assets?: SsrSiteArgs["assets"];
23
+ /**
24
+ * The command used internally to build your Remix app.
25
+ *
26
+ * @default Dynamically determined based on the presence of package manager lock files. If "yarn.lock" is found, defaults to "yarn run build". If "pnpm-lock.yaml" is found, defaults to "pnpm run build". If "bun.lockb" is found, defaults to "bun run build". If "package-lock.json" is found, defaults to "npm run build".
27
+ *
28
+ * @example
29
+ *
30
+ * If you want to use a different build command.
31
+ * ```js
32
+ * {
33
+ * buildCommand: "npm run custom-build"
34
+ * }
35
+ * ```
36
+ */
37
+ buildCommand?: SsrSiteArgs["buildCommand"];
38
+ /**
39
+ * Set a custom domain for your Remix app. Supports domains hosted either on
40
+ * [Route 53](https://aws.amazon.com/route53/) or outside AWS.
41
+ *
42
+ * :::tip
43
+ * You can also migrate an externally hosted domain to Amazon Route 53 by
44
+ * [following this guide](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html).
45
+ * :::
46
+ *
47
+ * @example
48
+ *
49
+ * ```js
50
+ * {
51
+ * domain: "domain.com"
52
+ * }
53
+ * ```
54
+ *
55
+ * Specify a `www.` version of the custom domain.
56
+ *
57
+ * ```js
58
+ * {
59
+ * domain: {
60
+ * name: "domain.com",
61
+ * redirects: ["www.domain.com"]
62
+ * }
63
+ * }
64
+ * ```
65
+ */
66
+ domain?: SsrSiteArgs["domain"];
67
+ /**
68
+ * Set [environment variables](https://remix.run/docs/en/main/guides/envvars) in your Remix app. These are made available:
69
+ *
70
+ * 1. In `remix build`, they are loaded into `process.env`.
71
+ * 2. Locally while running `sst dev remix dev`.
72
+ *
73
+ * :::tip
74
+ * You can also `link` resources to your Remix app and access them in a type-safe way with the [SDK](/docs/reference/sdk/). We recommend linking since it's more secure.
75
+ * :::
76
+ *
77
+ * @example
78
+ * ```js
79
+ * {
80
+ * environment: {
81
+ * API_URL: api.url,
82
+ * STRIPE_PUBLISHABLE_KEY: "pk_test_123"
83
+ * }
84
+ * }
85
+ * ```
86
+ */
87
+ environment?: SsrSiteArgs["environment"];
88
+ /**
89
+ * [Link resources](/docs/linking/) to your Remix app. This will:
90
+ *
91
+ * 1. Grant the permissions needed to access the resources.
92
+ * 2. Allow you to access it in your site using the [SDK](/docs/reference/sdk/).
93
+ *
94
+ * @example
95
+ *
96
+ * Takes a list of resources to link to the function.
97
+ *
98
+ * ```js
99
+ * {
100
+ * link: [bucket, stripeKey]
101
+ * }
102
+ * ```
103
+ */
104
+ link?: SsrSiteArgs["link"];
105
+ /**
106
+ * Path to the directory where your Remix app is located. This path is relative to your `sst.config.ts`.
107
+ *
108
+ * By default it assumes your Remix app is in the root of your SST app.
109
+ * @default `"."`
110
+ *
111
+ * @example
112
+ *
113
+ * If your Remix app is in a package in your monorepo.
114
+ *
115
+ * ```js
116
+ * {
117
+ * path: "packages/web"
118
+ * }
119
+ * ```
120
+ */
121
+ path?: SsrSiteArgs["path"];
122
+ }
123
+ /**
124
+ * The `Remix` component lets you deploy a [Remix](https://remix.run) app to AWS.
125
+ *
126
+ * @example
127
+ *
128
+ * #### Minimal example
129
+ *
130
+ * Deploy a Remix app that's in the project root.
131
+ *
132
+ * ```js
133
+ * new sst.aws.Remix("MyWeb");
134
+ * ```
135
+ *
136
+ * #### Change the path
137
+ *
138
+ * Deploys the Remix app in the `my-remix-app/` directory.
139
+ *
140
+ * ```js {2}
141
+ * new sst.aws.Remix("MyWeb", {
142
+ * path: "my-remix-app/"
143
+ * });
144
+ * ```
145
+ *
146
+ * #### Add a custom domain
147
+ *
148
+ * Set a custom domain for your Remix app.
149
+ *
150
+ * ```js {2}
151
+ * new sst.aws.Remix("MyWeb", {
152
+ * domain: "my-app.com"
153
+ * });
154
+ * ```
155
+ *
156
+ * #### Redirect www to apex domain
157
+ *
158
+ * Redirect `www.my-app.com` to `my-app.com`.
159
+ *
160
+ * ```js {4}
161
+ * new sst.aws.Remix("MyWeb", {
162
+ * domain: {
163
+ * name: "my-app.com",
164
+ * redirects: ["www.my-app.com"]
165
+ * }
166
+ * });
167
+ * ```
168
+ *
169
+ * #### Link resources
170
+ *
171
+ * [Link resources](/docs/linking/) to your Remix app. This will grant permissions
172
+ * to the resources and allow you to access it in your app.
173
+ *
174
+ * ```ts {4}
175
+ * const bucket = new sst.aws.Bucket("MyBucket");
176
+ *
177
+ * new sst.aws.Remix("MyWeb", {
178
+ * link: [bucket]
179
+ * });
180
+ * ```
181
+ *
182
+ * You can use the [SDK](/docs/reference/sdk/) to access the linked resources
183
+ * in your Remix app.
184
+ *
185
+ * ```ts title="app/root.tsx"
186
+ * import { Resource } from "sst";
187
+ *
188
+ * console.log(Resource.MyBucket.name);
189
+ * ```
190
+ */
191
+ export declare class Remix extends Component implements Link.Linkable {
192
+ private assets;
193
+ private router;
194
+ private server;
195
+ constructor(name: string, args?: RemixArgs, opts?: ComponentResourceOptions);
196
+ /**
197
+ * The URL of the Remix app.
198
+ *
199
+ * If the `domain` is set, this is the URL with the custom domain.
200
+ * Otherwise, it's the auto-generated CloudFront URL.
201
+ */
202
+ get url(): Output<string | undefined>;
203
+ /**
204
+ * The underlying [resources](/docs/components/#nodes) this component creates.
205
+ */
206
+ get nodes(): {
207
+ /**
208
+ * The AWS Lambda server function that renders the site.
209
+ */
210
+ server: Output<Worker>;
211
+ /**
212
+ * The Amazon S3 Bucket that stores the assets.
213
+ */
214
+ assets: Kv;
215
+ };
216
+ /** @internal */
217
+ getSSTLink(): {
218
+ properties: {
219
+ url: Output<string | undefined>;
220
+ };
221
+ };
222
+ }
223
+ //# sourceMappingURL=remix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remix.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/remix.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAO,MAAM,gBAAgB,CAAC;AACvE,OAAO,EACL,WAAW,EAKZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAIrC,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACzC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,KAAM,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAC3D,OAAO,CAAC,MAAM,CAAK;IACnB,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,MAAM,CAAiB;gBAG7B,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,SAAc,EACpB,IAAI,GAAE,wBAA6B;IAwNrC;;;;;OAKG;IACH,IAAW,GAAG,+BAEb;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;QAEH;;WAEG;;MAGN;IAED,gBAAgB;IACT,UAAU;;;;;CAOlB"}
@@ -0,0 +1,291 @@
1
+ import fs from "fs";
2
+ import path from "path";
3
+ import { all } from "@pulumi/pulumi";
4
+ import { createKvStorage, createRouter, prepare, validatePlan, } from "./ssr-site.js";
5
+ import { Component } from "../component.js";
6
+ import { Hint } from "../hint.js";
7
+ import { buildApp } from "../base/base-ssr-site.js";
8
+ import { pathToRegexp } from "../../util/path-to-regex.js";
9
+ /**
10
+ * The `Remix` component lets you deploy a [Remix](https://remix.run) app to AWS.
11
+ *
12
+ * @example
13
+ *
14
+ * #### Minimal example
15
+ *
16
+ * Deploy a Remix app that's in the project root.
17
+ *
18
+ * ```js
19
+ * new sst.aws.Remix("MyWeb");
20
+ * ```
21
+ *
22
+ * #### Change the path
23
+ *
24
+ * Deploys the Remix app in the `my-remix-app/` directory.
25
+ *
26
+ * ```js {2}
27
+ * new sst.aws.Remix("MyWeb", {
28
+ * path: "my-remix-app/"
29
+ * });
30
+ * ```
31
+ *
32
+ * #### Add a custom domain
33
+ *
34
+ * Set a custom domain for your Remix app.
35
+ *
36
+ * ```js {2}
37
+ * new sst.aws.Remix("MyWeb", {
38
+ * domain: "my-app.com"
39
+ * });
40
+ * ```
41
+ *
42
+ * #### Redirect www to apex domain
43
+ *
44
+ * Redirect `www.my-app.com` to `my-app.com`.
45
+ *
46
+ * ```js {4}
47
+ * new sst.aws.Remix("MyWeb", {
48
+ * domain: {
49
+ * name: "my-app.com",
50
+ * redirects: ["www.my-app.com"]
51
+ * }
52
+ * });
53
+ * ```
54
+ *
55
+ * #### Link resources
56
+ *
57
+ * [Link resources](/docs/linking/) to your Remix app. This will grant permissions
58
+ * to the resources and allow you to access it in your app.
59
+ *
60
+ * ```ts {4}
61
+ * const bucket = new sst.aws.Bucket("MyBucket");
62
+ *
63
+ * new sst.aws.Remix("MyWeb", {
64
+ * link: [bucket]
65
+ * });
66
+ * ```
67
+ *
68
+ * You can use the [SDK](/docs/reference/sdk/) to access the linked resources
69
+ * in your Remix app.
70
+ *
71
+ * ```ts title="app/root.tsx"
72
+ * import { Resource } from "sst";
73
+ *
74
+ * console.log(Resource.MyBucket.name);
75
+ * ```
76
+ */
77
+ export class Remix extends Component {
78
+ constructor(name, args = {}, opts = {}) {
79
+ super(__pulumiType, name, args, opts);
80
+ const parent = this;
81
+ const { sitePath } = prepare(args);
82
+ const isUsingVite = checkIsUsingVite();
83
+ const storage = createKvStorage(parent, name, args);
84
+ const outputPath = $dev ? sitePath : buildApp(parent, name, args, sitePath);
85
+ const { buildMeta } = loadBuildOutput();
86
+ const plan = buildPlan();
87
+ const { router, server } = createRouter(parent, name, args, outputPath, storage, plan);
88
+ this.assets = storage;
89
+ this.router = router;
90
+ this.server = server;
91
+ if (!$dev) {
92
+ Hint.register(this.urn, this.url);
93
+ }
94
+ this.registerOutputs({
95
+ _metadata: {
96
+ mode: $dev ? "placeholder" : "deployed",
97
+ path: sitePath,
98
+ url: this.url,
99
+ },
100
+ });
101
+ function checkIsUsingVite() {
102
+ return sitePath.apply((sitePath) => fs.existsSync(path.join(sitePath, "vite.config.ts")) ||
103
+ fs.existsSync(path.join(sitePath, "vite.config.js")));
104
+ }
105
+ function loadBuildOutput() {
106
+ return {
107
+ buildMeta: $dev ? loadBuildMetadataPlaceholder() : loadBuildMetadata(),
108
+ };
109
+ }
110
+ function loadBuildMetadata() {
111
+ return all([outputPath, isUsingVite]).apply(([outputPath, isUsingVite]) => {
112
+ // The path for all files that need to be in the "/" directory (static assets)
113
+ // is different when using Vite. These will be located in the "build/client"
114
+ // path of the output. It will be the "public" folder when using remix config.
115
+ const assetsPath = isUsingVite
116
+ ? path.join("build", "client")
117
+ : "public";
118
+ const assetsVersionedSubDir = isUsingVite ? undefined : "build";
119
+ return {
120
+ assetsPath,
121
+ assetsVersionedSubDir,
122
+ // create 1 behaviour for each top level asset file/folder
123
+ staticRoutes: fs
124
+ .readdirSync(path.join(outputPath, assetsPath), {
125
+ withFileTypes: true,
126
+ })
127
+ .map((item) => item.isDirectory() ? `${item.name}/(.*)` : item.name),
128
+ };
129
+ });
130
+ }
131
+ function loadBuildMetadataPlaceholder() {
132
+ return {
133
+ assetsPath: "placeholder",
134
+ assetsVersionedSubDir: undefined,
135
+ staticRoutes: [],
136
+ };
137
+ }
138
+ function buildPlan() {
139
+ return all([isUsingVite, outputPath, buildMeta]).apply(([isUsingVite, outputPath, buildMeta]) => {
140
+ return validatePlan({
141
+ server: createServerLambdaBundle(isUsingVite, outputPath),
142
+ assets: {
143
+ copy: [
144
+ {
145
+ from: buildMeta.assetsPath,
146
+ to: "",
147
+ cached: true,
148
+ versionedSubDir: buildMeta.assetsVersionedSubDir,
149
+ },
150
+ ],
151
+ },
152
+ routes: [
153
+ {
154
+ regex: pathToRegexp(buildMeta.staticRoutes).source,
155
+ origin: "assets",
156
+ },
157
+ {
158
+ regex: pathToRegexp("(.*)").source,
159
+ origin: "server",
160
+ },
161
+ ],
162
+ });
163
+ });
164
+ }
165
+ function createServerLambdaBundle(isUsingVite, outputPath) {
166
+ // Create a Lambda@Edge handler for the Remix server bundle.
167
+ //
168
+ // Note: Remix does perform their own internal ESBuild process, but it
169
+ // doesn't bundle 3rd party dependencies by default. In the interest of
170
+ // keeping deployments seamless for users we will create a server bundle
171
+ // with all dependencies included. We will still need to consider how to
172
+ // address any need for external dependencies, although I think we should
173
+ // possibly consider this at a later date.
174
+ // In this path we are assuming that the Remix build only outputs the
175
+ // "core server build". We can safely assume this as we have guarded the
176
+ // remix.config.js to ensure it matches our expectations for the build
177
+ // configuration.
178
+ // We need to ensure that the "core server build" is wrapped with an
179
+ // appropriate Lambda@Edge handler. We will utilise an internal asset
180
+ // template to create this wrapper within the "core server build" output
181
+ // directory.
182
+ // Ensure build directory exists
183
+ const buildPath = path.join(outputPath, "build");
184
+ fs.mkdirSync(buildPath, { recursive: true });
185
+ // Copy the server lambda handler and pre-append the build injection based
186
+ // on the config file used.
187
+ const content = [
188
+ // When using Vite config, the output build will be "server/index.js"
189
+ // and when using Remix config it will be `server.js`.
190
+ //isUsingVite
191
+ // ? `import * as remixServerBuild from "./server/index.js";`
192
+ // : `import * as remixServerBuild from "./index.js";`,
193
+ //`import { createRequestHandler } from "@remix-run/cloudflare";`,
194
+ //`import * as remixServerBuild from "./server";`,
195
+ //`import { createRequestHandler } from "@remix-run/cloudflare";`,
196
+ //`export default {`,
197
+ //` async fetch(request) {`,
198
+ //` const requestHandler = createRequestHandler(remixServerBuild);`,
199
+ //` return await requestHandler(request);`,
200
+ //` },`,
201
+ //`};`,
202
+ `import { createRequestHandler } from "@remix-run/cloudflare";`,
203
+ `import * as build from "./server/index.js";`,
204
+ `export default {`,
205
+ ` async fetch(request) {`,
206
+ ` console.log("fetch");`,
207
+ ` console.log("build", build);`,
208
+ ` console.log("build mode", build.mode);`,
209
+ ` const handleRequest = createRequestHandler(build);`,
210
+ ` console.log("handleRequest", handleRequest);`,
211
+ ` return await handleRequest(request);`,
212
+ ` },`,
213
+ `};`,
214
+ ].join("\n");
215
+ fs.writeFileSync(path.join(buildPath, "server.ts"), content);
216
+ const nodeBuiltInModulesPlugin = {
217
+ name: "node:built-in:modules",
218
+ setup(build) {
219
+ build.onResolve({ filter: /^(util|stream)$/ }, ({ kind, path }) => {
220
+ // this plugin converts `require("node:*")` calls, those are the only ones that
221
+ // need updating (esm imports to "node:*" are totally valid), so here we tag with the
222
+ // node-buffer namespace only imports that are require calls
223
+ return kind === "require-call"
224
+ ? { path, namespace: "node-built-in-modules" }
225
+ : undefined;
226
+ });
227
+ // we convert the imports we tagged with the node-built-in-modules namespace so that instead of `require("node:*")`
228
+ // they import from `export * from "node:*";`
229
+ build.onLoad({ filter: /.*/, namespace: "node-built-in-modules" }, ({ path }) => {
230
+ return {
231
+ contents: `export * from 'node:${path}'`,
232
+ loader: "js",
233
+ };
234
+ });
235
+ },
236
+ };
237
+ return {
238
+ handler: path.join(buildPath, "server.ts"),
239
+ build: {
240
+ esbuild: {
241
+ define: {
242
+ process: JSON.stringify({
243
+ env: {
244
+ //NODE_ENV: "production",
245
+ NODE_ENV: "development",
246
+ },
247
+ }),
248
+ },
249
+ plugins: [nodeBuiltInModulesPlugin],
250
+ },
251
+ },
252
+ };
253
+ }
254
+ }
255
+ /**
256
+ * The URL of the Remix app.
257
+ *
258
+ * If the `domain` is set, this is the URL with the custom domain.
259
+ * Otherwise, it's the auto-generated CloudFront URL.
260
+ */
261
+ get url() {
262
+ return this.router.url;
263
+ }
264
+ /**
265
+ * The underlying [resources](/docs/components/#nodes) this component creates.
266
+ */
267
+ get nodes() {
268
+ return {
269
+ /**
270
+ * The AWS Lambda server function that renders the site.
271
+ */
272
+ server: this.server,
273
+ /**
274
+ * The Amazon S3 Bucket that stores the assets.
275
+ */
276
+ assets: this.assets,
277
+ };
278
+ }
279
+ /** @internal */
280
+ getSSTLink() {
281
+ return {
282
+ properties: {
283
+ url: this.url,
284
+ },
285
+ };
286
+ }
287
+ }
288
+ const __pulumiType = "sst:cloudflare:Remix";
289
+ // @ts-expect-error
290
+ Remix.__pulumiType = __pulumiType;
291
+ //# sourceMappingURL=remix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remix.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/remix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,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AC;IAED,gBAAgB;IACT,UAAU;QACf,OAAO;YACL,UAAU,EAAE;gBACV,GAAG,EAAE,IAAI,CAAC,GAAG;aACd;SACF,CAAC;IACJ,CAAC;CACF;AACD,MAAM,YAAY,GAAG,sBAAsB,CAAC;AAC5C,mBAAmB;AACnB,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { Output, Unwrap, ComponentResource } from "@pulumi/pulumi";
2
+ import { Input } from "../input.js";
3
+ import { type Transform } from "../component.js";
4
+ import { BaseSsrSiteArgs } from "../base/base-ssr-site.js";
5
+ import { Kv, KvArgs } from "./kv.js";
6
+ import { Worker, WorkerArgs } from "./worker.js";
7
+ type Plan = ReturnType<typeof validatePlan>;
8
+ export interface SsrSiteArgs extends BaseSsrSiteArgs {
9
+ domain?: Input<string>;
10
+ /**
11
+ * [Transform](/docs/components#transform) how this component creates its underlying
12
+ * resources.
13
+ */
14
+ transform?: {
15
+ /**
16
+ * Transform the Kv resource used for uploading the assets.
17
+ */
18
+ assets?: Transform<KvArgs>;
19
+ };
20
+ }
21
+ export declare function prepare(args: SsrSiteArgs): {
22
+ sitePath: Output<string>;
23
+ };
24
+ export declare function createKvStorage(parent: ComponentResource, name: string, args: SsrSiteArgs): Kv;
25
+ export declare function createRouter(parent: ComponentResource, name: string, args: SsrSiteArgs, outputPath: Output<string>, storage: Kv, plan: Input<Plan>): Output<{
26
+ server: Worker;
27
+ router: Worker;
28
+ }>;
29
+ export declare function validatePlan(input: {
30
+ server: Unwrap<WorkerArgs>;
31
+ assets: {
32
+ copy: {
33
+ from: string;
34
+ to: string;
35
+ cached: boolean;
36
+ versionedSubDir?: string;
37
+ }[];
38
+ };
39
+ routes: {
40
+ regex: string;
41
+ origin: "server" | "assets";
42
+ }[];
43
+ }): {
44
+ server: Unwrap<WorkerArgs>;
45
+ assets: {
46
+ copy: {
47
+ from: string;
48
+ to: string;
49
+ cached: boolean;
50
+ versionedSubDir?: string;
51
+ }[];
52
+ };
53
+ routes: {
54
+ regex: string;
55
+ origin: "server" | "assets";
56
+ }[];
57
+ };
58
+ export {};
59
+ //# sourceMappingURL=ssr-site.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ssr-site.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/ssr-site.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAe,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKjD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAC5C,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE;QACV;;WAEG;QACH,MAAM,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;KAC5B,CAAC;CACH;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,WAAW;;EAiBxC;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,iBAAiB,EACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,MAalB;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,iBAAiB,EACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EACjB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAC1B,OAAO,EAAE,EAAE,EACX,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;;;GAyKlB;AAED,wBAAgB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